@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.3 → 47.4.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 +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x360d87=_0x22a7;(function(_0x5f58ee,_0x340578){const _0x54f085=_0x22a7,_0x323bcd=_0x5f58ee();while(!![]){try{const _0x22e0be=-parseInt(_0x54f085(0x16d))/0x1+-parseInt(_0x54f085(0x169))/0x2*(-parseInt(_0x54f085(0x1aa))/0x3)+-parseInt(_0x54f085(0x182))/0x4*(-parseInt(_0x54f085(0x18b))/0x5)+parseInt(_0x54f085(0x18d))/0x6*(parseInt(_0x54f085(0x19a))/0x7)+parseInt(_0x54f085(0x1a9))/0x8+-parseInt(_0x54f085(0x1a3))/0x9+parseInt(_0x54f085(0x18c))/0xa*(-parseInt(_0x54f085(0x173))/0xb);if(_0x22e0be===_0x340578)break;else _0x323bcd['push'](_0x323bcd['shift']());}catch(_0x183a88){_0x323bcd['push'](_0x323bcd['shift']());}}}(_0x55b9,0x8518d));import{ContextPlugin as _0x281355}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x210b1d,CKEditorError as _0x1401dc}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x38b0b6,WEB_SOCKET_GATEWAY_STATES as _0x4d7d1a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x22a7(_0x2a6518,_0x55bda5){const _0x55b9a7=_0x55b9();return _0x22a7=function(_0x22a792,_0x4bf747){_0x22a792=_0x22a792-0x165;let _0x25d15a=_0x55b9a7[_0x22a792];return _0x25d15a;},_0x22a7(_0x2a6518,_0x55bda5);}function _0x55b9(){const _0x5c01b2=['connected','DISCONNECTED','all','833IBZNUS','plugins','add','_shouldPluginsReconnect','webSocketUrl','websocketgateway-plugin-already-registered','function','context','_domEmitter','5753322WBvrEp','set','init','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.','stopListening','offline','8251256oGVxVR','93GJDJKr','reconnect','destroy','CONNECTED','delete','_reconnectionStack','showWarning','code','error','WebSocketGateway','22970WNQfof','state','cloudServices.connectionTimeout','CloudServices','931886XtcRur','initialReconnectionInterval','Connected\x20users\x20limit\x20exceeded','pluginName','online','websocketgateway-invalid-plugin-interface','939774DIydJH','removeFromReconnectionStack','requires','cloudservices-reconnection-error','config','limitExceeded','isInReconnectionStack','connect','websocketgateway-missing-token','bind','addToReconnectionStack','then','isOfficialPlugin','get','change:me','391684jUeams','websocketgateway-missing-websocket-url','listenTo','from','constructor','connection','has','isPremiumPlugin','disconnect','5OWHnfL','10pyesDI','36120gsqhBY','_isBrowserOffline','_reconnect','cloudServices.requestTimeout','cloudservices-init','catch','real-time-collaboration','define','token','CONNECTING'];_0x55b9=function(){return _0x5c01b2;};return _0x55b9();}import{Notification as _0x552a43}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x281355{static [_0x360d87(0x168)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x38b0b6)());static [_0x360d87(0x16e)]=0x3e8;[_0x360d87(0x187)];[_0x360d87(0x1af)];[_0x360d87(0x19d)];[_0x360d87(0x1a2)];static get[_0x360d87(0x175)](){const _0x268101=_0x360d87;return[_0x268101(0x16c),_0x552a43];}static get[_0x360d87(0x170)](){const _0x5dc906=_0x360d87;return _0x5dc906(0x168);}static get[_0x360d87(0x17f)](){return!0x0;}static get[_0x360d87(0x189)](){return!0x0;}constructor(_0x3b9220){const _0x1813a3=_0x360d87;super(_0x3b9220),this[_0x1813a3(0x1a4)](_0x1813a3(0x16a),_0x4d7d1a[_0x1813a3(0x1ad)]),this[_0x1813a3(0x1a4)](_0x1813a3(0x18e),!0x1),this[_0x1813a3(0x1af)]=new Set(),this[_0x1813a3(0x19d)]=!0x1,this[_0x1813a3(0x1a2)]=new(_0x210b1d())();}[_0x360d87(0x1a5)](){const _0x45596f=_0x360d87,_0x5c65cc=this[_0x45596f(0x1a1)],_0x43d94e=_0x5c65cc[_0x45596f(0x19b)][_0x45596f(0x180)](_0x45596f(0x16c)),_0x467c2c=_0x5c65cc[_0x45596f(0x19b)][_0x45596f(0x180)](_0x552a43);if(!_0x43d94e[_0x45596f(0x195)])throw new _0x1401dc(_0x45596f(0x17b),this);if(!_0x43d94e[_0x45596f(0x19e)])throw new _0x1401dc(_0x45596f(0x183),this);return this[_0x45596f(0x1a2)][_0x45596f(0x184)](window,_0x45596f(0x1a8),()=>this[_0x45596f(0x18e)]=!0x0),this[_0x45596f(0x1a2)][_0x45596f(0x184)](window,_0x45596f(0x171),()=>this[_0x45596f(0x18e)]=!0x1),this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x194)](_0x45596f(0x16b),0xa),this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x194)](_0x45596f(0x190),0x14),WebSocketGateway[_0x45596f(0x168)][_0x45596f(0x17a)](_0x43d94e[_0x45596f(0x195)],_0x43d94e[_0x45596f(0x19e)],{'timeout':0x3e8*this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x180)](_0x45596f(0x16b)),'requestTimeout':0x3e8*this[_0x45596f(0x1a1)][_0x45596f(0x177)][_0x45596f(0x180)](_0x45596f(0x190))})[_0x45596f(0x17e)](_0xd48e2b=>{const _0x197d3e=_0x45596f;if(this[_0x197d3e(0x187)]=_0xd48e2b,this[_0x197d3e(0x17c)](_0x197d3e(0x16a))['to'](_0xd48e2b,_0x197d3e(0x16a),this,_0x197d3e(0x18e),(_0x53f9e3,_0x5836ec)=>(_0x197d3e(0x197)!==_0x53f9e3&&(this[_0x197d3e(0x19d)]=!0x0),_0x5836ec||_0x53f9e3!==_0x4d7d1a[_0x197d3e(0x1ad)]?_0x4d7d1a[_0x197d3e(0x198)]:this[_0x197d3e(0x16a)]==_0x4d7d1a[_0x197d3e(0x198)]&&this[_0x197d3e(0x19d)]?(this[_0x197d3e(0x19d)]=!0x1,this[_0x197d3e(0x18f)](),_0x4d7d1a[_0x197d3e(0x196)]):_0x4d7d1a[_0x197d3e(0x1ad)])),this[_0x197d3e(0x187)]['on'](_0x197d3e(0x167),(_0x4746c8,_0x278e4e)=>{const _0x56ebad=_0x197d3e;if(_0x56ebad(0x178)!==_0x278e4e[_0x56ebad(0x166)])throw console[_0x56ebad(0x167)](_0x278e4e),new _0x1401dc(_0x56ebad(0x191),null,{'originalError':_0x278e4e});_0x467c2c[_0x56ebad(0x165)](_0x56ebad(0x1a6),{'title':_0x56ebad(0x16f),'namespace':_0x56ebad(0x193)});}),!_0xd48e2b['me'])return new Promise(_0x14d3f7=>_0xd48e2b['on'](_0x197d3e(0x181),_0x14d3f7));})[_0x45596f(0x192)](_0x38320d=>{const _0x39396a=_0x45596f;throw console[_0x39396a(0x167)](_0x38320d),new _0x1401dc(_0x39396a(0x191),null,{'originalError':_0x38320d});});}[_0x360d87(0x17d)](_0x16dd46){const _0x336484=_0x360d87;if(_0x336484(0x1a0)!=typeof _0x16dd46[_0x336484(0x1ab)])throw new _0x1401dc(_0x336484(0x172),this);if(this[_0x336484(0x179)](_0x16dd46))throw new _0x1401dc(_0x336484(0x19f),this,{'name':_0x16dd46[_0x336484(0x186)][_0x336484(0x170)]});this[_0x336484(0x1af)][_0x336484(0x19c)](_0x16dd46);}[_0x360d87(0x174)](_0x40034e){const _0x468c42=_0x360d87;this[_0x468c42(0x1af)][_0x468c42(0x1ae)](_0x40034e);}[_0x360d87(0x179)](_0x1743d4){const _0xc780b8=_0x360d87;return this[_0xc780b8(0x1af)][_0xc780b8(0x188)](_0x1743d4);}[_0x360d87(0x18f)](){const _0x4ff5cd=_0x360d87;return this[_0x4ff5cd(0x187)][_0x4ff5cd(0x1ab)]()[_0x4ff5cd(0x17e)](()=>Promise[_0x4ff5cd(0x199)](Array[_0x4ff5cd(0x185)](this[_0x4ff5cd(0x1af)],_0x5d9bf1=>_0x5d9bf1[_0x4ff5cd(0x1ab)]())))[_0x4ff5cd(0x17e)](()=>this[_0x4ff5cd(0x16a)]=_0x4d7d1a[_0x4ff5cd(0x1ad)])[_0x4ff5cd(0x192)](_0x2232f3=>{const _0x540197=_0x4ff5cd;throw console[_0x540197(0x167)](_0x2232f3),new _0x1401dc(_0x540197(0x176),this[_0x540197(0x1a1)]);});}[_0x360d87(0x18a)](){const _0x42b739=_0x360d87;this[_0x42b739(0x187)]&&this[_0x42b739(0x187)][_0x42b739(0x18a)](),this[_0x42b739(0x16a)]=_0x4d7d1a[_0x42b739(0x198)],this[_0x42b739(0x1a2)][_0x42b739(0x1a7)]();}[_0x360d87(0x1ac)](){const _0x554eba=_0x360d87;this[_0x554eba(0x18a)](),super[_0x554eba(0x1ac)]();}}
23
+ function _0x2809(){const _0x454583=['get','5PlDKBs','cloudservices-init','showWarning','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','9219644VwsTtV','listenTo','context','cloudServices.connectionTimeout','stopListening','add','bind','WebSocketGateway','51921576EaqTYb','then','1474568GHrneB','_shouldPluginsReconnect','DISCONNECTED','connected','init','CloudServices','pluginName','websocketgateway-plugin-already-registered','config','5448290gVVzeO','removeFromReconnectionStack','function','disconnect','1940463sZFvsv','all','real-time-collaboration','12KfHTFc','reconnect','delete','_reconnect','destroy','cloudservices-reconnection-error','webSocketUrl','connect','plugins','40aCmpqs','11hnJWjI','isOfficialPlugin','websocketgateway-invalid-plugin-interface','connection','code','addToReconnectionStack','change:me','14UUxsVo','initialReconnectionInterval','error','isPremiumPlugin','has','CONNECTING','requires','limitExceeded','catch','state','token','websocketgateway-missing-websocket-url','_domEmitter','cloudServices.requestTimeout','define','websocketgateway-missing-token','offline','constructor','_isBrowserOffline','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.','online','263543MjIZIP','set','4592334MWExwy','isInReconnectionStack','CONNECTED','from'];_0x2809=function(){return _0x454583;};return _0x2809();}function _0x12fa(_0x50de43,_0x32f8e5){const _0x280975=_0x2809();return _0x12fa=function(_0x12fa2c,_0x1f7e06){_0x12fa2c=_0x12fa2c-0x1c1;let _0x3e3919=_0x280975[_0x12fa2c];return _0x3e3919;},_0x12fa(_0x50de43,_0x32f8e5);}const _0x3644cd=_0x12fa;(function(_0x37fb1a,_0x1b2d57){const _0x5353eb=_0x12fa,_0x18e35=_0x37fb1a();while(!![]){try{const _0x475c7b=-parseInt(_0x5353eb(0x1c5))/0x1*(-parseInt(_0x5353eb(0x1fc))/0x2)+parseInt(_0x5353eb(0x1eb))/0x3*(-parseInt(_0x5353eb(0x1db))/0x4)+-parseInt(_0x5353eb(0x1cc))/0x5*(parseInt(_0x5353eb(0x1c7))/0x6)+-parseInt(_0x5353eb(0x1d1))/0x7+-parseInt(_0x5353eb(0x1f4))/0x8*(parseInt(_0x5353eb(0x1e8))/0x9)+-parseInt(_0x5353eb(0x1e4))/0xa*(parseInt(_0x5353eb(0x1f5))/0xb)+parseInt(_0x5353eb(0x1d9))/0xc;if(_0x475c7b===_0x1b2d57)break;else _0x18e35['push'](_0x18e35['shift']());}catch(_0x4ae7bb){_0x18e35['push'](_0x18e35['shift']());}}}(_0x2809,0xf21c6));import{ContextPlugin as _0x149130}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x1290d3,CKEditorError as _0x10478a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3dae0f,WEB_SOCKET_GATEWAY_STATES as _0x23e18a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4cd162}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x149130{static [_0x3644cd(0x1d8)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3dae0f)());static [_0x3644cd(0x1fd)]=0x3e8;[_0x3644cd(0x1f8)];[_0x3644cd(0x1cf)];[_0x3644cd(0x1dc)];[_0x3644cd(0x208)];static get[_0x3644cd(0x202)](){const _0x3f088a=_0x3644cd;return[_0x3f088a(0x1e0),_0x4cd162];}static get[_0x3644cd(0x1e1)](){const _0x69da8a=_0x3644cd;return _0x69da8a(0x1d8);}static get[_0x3644cd(0x1f6)](){return!0x0;}static get[_0x3644cd(0x1ff)](){return!0x0;}constructor(_0x3ad4c6){const _0x3612a6=_0x3644cd;super(_0x3ad4c6),this[_0x3612a6(0x1c6)](_0x3612a6(0x205),_0x23e18a[_0x3612a6(0x1c9)]),this[_0x3612a6(0x1c6)](_0x3612a6(0x1c2),!0x1),this[_0x3612a6(0x1cf)]=new Set(),this[_0x3612a6(0x1dc)]=!0x1,this[_0x3612a6(0x208)]=new(_0x1290d3())();}[_0x3644cd(0x1df)](){const _0x142cae=_0x3644cd,_0x5cbf89=this[_0x142cae(0x1d3)],_0x3c0fb2=_0x5cbf89[_0x142cae(0x1f3)][_0x142cae(0x1cb)](_0x142cae(0x1e0)),_0x48fff6=_0x5cbf89[_0x142cae(0x1f3)][_0x142cae(0x1cb)](_0x4cd162);if(!_0x3c0fb2[_0x142cae(0x206)])throw new _0x10478a(_0x142cae(0x20b),this);if(!_0x3c0fb2[_0x142cae(0x1f1)])throw new _0x10478a(_0x142cae(0x207),this);return this[_0x142cae(0x208)][_0x142cae(0x1d2)](window,_0x142cae(0x20c),()=>this[_0x142cae(0x1c2)]=!0x0),this[_0x142cae(0x208)][_0x142cae(0x1d2)](window,_0x142cae(0x1c4),()=>this[_0x142cae(0x1c2)]=!0x1),this[_0x142cae(0x1d3)][_0x142cae(0x1e3)][_0x142cae(0x20a)](_0x142cae(0x1d4),0xa),this[_0x142cae(0x1d3)][_0x142cae(0x1e3)][_0x142cae(0x20a)](_0x142cae(0x209),0x14),WebSocketGateway[_0x142cae(0x1d8)][_0x142cae(0x1f2)](_0x3c0fb2[_0x142cae(0x206)],_0x3c0fb2[_0x142cae(0x1f1)],{'timeout':0x3e8*this[_0x142cae(0x1d3)][_0x142cae(0x1e3)][_0x142cae(0x1cb)](_0x142cae(0x1d4)),'requestTimeout':0x3e8*this[_0x142cae(0x1d3)][_0x142cae(0x1e3)][_0x142cae(0x1cb)](_0x142cae(0x209))})[_0x142cae(0x1da)](_0x458091=>{const _0x2933e6=_0x142cae;if(this[_0x2933e6(0x1f8)]=_0x458091,this[_0x2933e6(0x1d7)](_0x2933e6(0x205))['to'](_0x458091,_0x2933e6(0x205),this,_0x2933e6(0x1c2),(_0x1ee57c,_0x94349a)=>(_0x2933e6(0x1de)!==_0x1ee57c&&(this[_0x2933e6(0x1dc)]=!0x0),_0x94349a||_0x1ee57c!==_0x23e18a[_0x2933e6(0x1c9)]?_0x23e18a[_0x2933e6(0x1dd)]:this[_0x2933e6(0x205)]==_0x23e18a[_0x2933e6(0x1dd)]&&this[_0x2933e6(0x1dc)]?(this[_0x2933e6(0x1dc)]=!0x1,this[_0x2933e6(0x1ee)](),_0x23e18a[_0x2933e6(0x201)]):_0x23e18a[_0x2933e6(0x1c9)])),this[_0x2933e6(0x1f8)]['on'](_0x2933e6(0x1fe),(_0x8ac7b0,_0x14a8fa)=>{const _0xf47939=_0x2933e6;if(_0xf47939(0x203)!==_0x14a8fa[_0xf47939(0x1f9)])throw console[_0xf47939(0x1fe)](_0x14a8fa),new _0x10478a(_0xf47939(0x1cd),null,{'originalError':_0x14a8fa});_0x48fff6[_0xf47939(0x1ce)](_0xf47939(0x1c3),{'title':_0xf47939(0x1d0),'namespace':_0xf47939(0x1ea)});}),!_0x458091['me'])return new Promise(_0x157634=>_0x458091['on'](_0x2933e6(0x1fb),_0x157634));})[_0x142cae(0x204)](_0x150ca3=>{const _0x1efd6c=_0x142cae;throw console[_0x1efd6c(0x1fe)](_0x150ca3),new _0x10478a(_0x1efd6c(0x1cd),null,{'originalError':_0x150ca3});});}[_0x3644cd(0x1fa)](_0x11b605){const _0x1a8568=_0x3644cd;if(_0x1a8568(0x1e6)!=typeof _0x11b605[_0x1a8568(0x1ec)])throw new _0x10478a(_0x1a8568(0x1f7),this);if(this[_0x1a8568(0x1c8)](_0x11b605))throw new _0x10478a(_0x1a8568(0x1e2),this,{'name':_0x11b605[_0x1a8568(0x1c1)][_0x1a8568(0x1e1)]});this[_0x1a8568(0x1cf)][_0x1a8568(0x1d6)](_0x11b605);}[_0x3644cd(0x1e5)](_0x41dd75){const _0x5b383c=_0x3644cd;this[_0x5b383c(0x1cf)][_0x5b383c(0x1ed)](_0x41dd75);}[_0x3644cd(0x1c8)](_0x1c99ad){const _0xd2428=_0x3644cd;return this[_0xd2428(0x1cf)][_0xd2428(0x200)](_0x1c99ad);}[_0x3644cd(0x1ee)](){const _0x3429ed=_0x3644cd;return this[_0x3429ed(0x1f8)][_0x3429ed(0x1ec)]()[_0x3429ed(0x1da)](()=>Promise[_0x3429ed(0x1e9)](Array[_0x3429ed(0x1ca)](this[_0x3429ed(0x1cf)],_0x3cd77c=>_0x3cd77c[_0x3429ed(0x1ec)]())))[_0x3429ed(0x1da)](()=>this[_0x3429ed(0x205)]=_0x23e18a[_0x3429ed(0x1c9)])[_0x3429ed(0x204)](_0x1911a2=>{const _0xab999=_0x3429ed;throw console[_0xab999(0x1fe)](_0x1911a2),new _0x10478a(_0xab999(0x1f0),this[_0xab999(0x1d3)]);});}[_0x3644cd(0x1e7)](){const _0x3c19cc=_0x3644cd;this[_0x3c19cc(0x1f8)]&&this[_0x3c19cc(0x1f8)][_0x3c19cc(0x1e7)](),this[_0x3c19cc(0x205)]=_0x23e18a[_0x3c19cc(0x1dd)],this[_0x3c19cc(0x208)][_0x3c19cc(0x1d5)]();}[_0x3644cd(0x1ef)](){const _0x1fbd38=_0x3644cd;this[_0x1fbd38(0x1e7)](),super[_0x1fbd38(0x1ef)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8a9fc4=_0xfb67;(function(_0x11c7d2,_0x5c78ee){var _0x12acb6=_0xfb67,_0x5062bb=_0x11c7d2();while(!![]){try{var _0x273ae4=-parseInt(_0x12acb6(0xea))/0x1*(parseInt(_0x12acb6(0xe6))/0x2)+parseInt(_0x12acb6(0xe4))/0x3+-parseInt(_0x12acb6(0xdf))/0x4+-parseInt(_0x12acb6(0xe1))/0x5+-parseInt(_0x12acb6(0xe8))/0x6*(parseInt(_0x12acb6(0xe9))/0x7)+-parseInt(_0x12acb6(0xe7))/0x8*(-parseInt(_0x12acb6(0xde))/0x9)+parseInt(_0x12acb6(0xe3))/0xa*(parseInt(_0x12acb6(0xe0))/0xb);if(_0x273ae4===_0x5c78ee)break;else _0x5062bb['push'](_0x5062bb['shift']());}catch(_0x40a67c){_0x5062bb['push'](_0x5062bb['shift']());}}}(_0x20b6,0xc3e81));import{Plugin as _0x3fdb6e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2c1019}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0xfb67(_0x477367,_0xd6af93){var _0x20b66a=_0x20b6();return _0xfb67=function(_0xfb675b,_0x936150){_0xfb675b=_0xfb675b-0xdb;var _0xe76c=_0x20b66a[_0xfb675b];return _0xe76c;},_0xfb67(_0x477367,_0xd6af93);}function _0x20b6(){var _0x5cdf7f=['4129FXvmsU','isOfficialPlugin','isPremiumPlugin','pluginName','18HOKAWM','4402068AQVBdZ','22dEwTMw','684640SplDXc','RealTimeCollaborativeEditing','8531980qujbQv','1814898jPTVZS','requires','274EYNPmO','1825592SMEeIR','6XDCYOg','1135463tuItsM'];_0x20b6=function(){return _0x5cdf7f;};return _0x20b6();}export class RealTimeCollaborativeEditing extends _0x3fdb6e{static get[_0x8a9fc4(0xe5)](){return[_0x2c1019];}static get[_0x8a9fc4(0xdd)](){var _0x16746e=_0x8a9fc4;return _0x16746e(0xe2);}static get[_0x8a9fc4(0xdb)](){return!0x0;}static get[_0x8a9fc4(0xdc)](){return!0x0;}}
23
+ var _0x4418b6=_0xf4ed;(function(_0x3f0aa7,_0x2dd433){var _0x39ba76=_0xf4ed,_0x52483a=_0x3f0aa7();while(!![]){try{var _0x10ef65=parseInt(_0x39ba76(0x1c1))/0x1*(parseInt(_0x39ba76(0x1c9))/0x2)+-parseInt(_0x39ba76(0x1bc))/0x3*(parseInt(_0x39ba76(0x1c3))/0x4)+-parseInt(_0x39ba76(0x1c7))/0x5*(-parseInt(_0x39ba76(0x1bf))/0x6)+-parseInt(_0x39ba76(0x1bb))/0x7+-parseInt(_0x39ba76(0x1c6))/0x8+-parseInt(_0x39ba76(0x1c0))/0x9*(-parseInt(_0x39ba76(0x1c4))/0xa)+parseInt(_0x39ba76(0x1c2))/0xb;if(_0x10ef65===_0x2dd433)break;else _0x52483a['push'](_0x52483a['shift']());}catch(_0x1c34a6){_0x52483a['push'](_0x52483a['shift']());}}}(_0x310e,0x3628e));import{Plugin as _0x302b2d}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x24c430}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x302b2d{static get[_0x4418b6(0x1c5)](){return[_0x24c430];}static get[_0x4418b6(0x1bd)](){var _0x2628a9=_0x4418b6;return _0x2628a9(0x1ca);}static get[_0x4418b6(0x1c8)](){return!0x0;}static get[_0x4418b6(0x1be)](){return!0x0;}}function _0xf4ed(_0x242491,_0x2684d5){var _0x310ece=_0x310e();return _0xf4ed=function(_0xf4ed48,_0x4d05c5){_0xf4ed48=_0xf4ed48-0x1bb;var _0x29ee78=_0x310ece[_0xf4ed48];return _0x29ee78;},_0xf4ed(_0x242491,_0x2684d5);}function _0x310e(){var _0xcf1cb4=['604YBILzG','RealTimeCollaborativeEditing','1604099qFJRtb','21999donDsH','pluginName','isPremiumPlugin','482442zNNauQ','2839419dRtVRa','87HOBThc','1589940EKMcfb','100cIuJqc','10FQtRYy','requires','2032160bKRzoy','25oQrfNv','isOfficialPlugin'];_0x310e=function(){return _0xcf1cb4;};return _0x310e();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa353a0=_0x2a1c;function _0x2a1c(_0x45b943,_0x4a73b4){const _0x1bb6a4=_0x1bb6();return _0x2a1c=function(_0x2a1c64,_0x24e488){_0x2a1c64=_0x2a1c64-0x1e4;let _0x1d1fb9=_0x1bb6a4[_0x2a1c64];return _0x1d1fb9;},_0x2a1c(_0x45b943,_0x4a73b4);}(function(_0x15a0de,_0x51be96){const _0x2d8c25=_0x2a1c,_0x3754bc=_0x15a0de();while(!![]){try{const _0x3de78f=parseInt(_0x2d8c25(0x24e))/0x1+parseInt(_0x2d8c25(0x23d))/0x2*(parseInt(_0x2d8c25(0x21f))/0x3)+parseInt(_0x2d8c25(0x234))/0x4*(-parseInt(_0x2d8c25(0x223))/0x5)+-parseInt(_0x2d8c25(0x22f))/0x6+parseInt(_0x2d8c25(0x255))/0x7*(-parseInt(_0x2d8c25(0x212))/0x8)+parseInt(_0x2d8c25(0x1f8))/0x9*(-parseInt(_0x2d8c25(0x1ed))/0xa)+parseInt(_0x2d8c25(0x247))/0xb*(parseInt(_0x2d8c25(0x213))/0xc);if(_0x3de78f===_0x51be96)break;else _0x3754bc['push'](_0x3754bc['shift']());}catch(_0x386f9d){_0x3754bc['push'](_0x3754bc['shift']());}}}(_0x1bb6,0x807b9));import{Plugin as _0x4a458f}from'ckeditor5/src/core.js';import{version as _0x25758e}from'ckeditor5/src/utils.js';import{Users as _0x6463e9}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2ecfbf}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x41e8ef}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x387a66}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x105ea0,RevisionHistoryService as _0x1b016c,User as _0xd1d97,WEB_SOCKET_GATEWAY_STATES as _0x2f5d6b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4a458f{static [_0xa353a0(0x251)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1b016c)());[_0xa353a0(0x1f9)];[_0xa353a0(0x211)];[_0xa353a0(0x239)];[_0xa353a0(0x1e7)];static get[_0xa353a0(0x204)](){const _0x14670b=_0xa353a0;return[_0x41e8ef,_0x2ecfbf,_0x14670b(0x23e),_0x387a66,_0x6463e9];}static get[_0xa353a0(0x21d)](){const _0x4cec05=_0xa353a0;return _0x4cec05(0x248);}static get[_0xa353a0(0x236)](){return!0x0;}static get[_0xa353a0(0x217)](){return!0x0;}constructor(_0x27d526){const _0x5cd64f=_0xa353a0;super(_0x27d526);const _0xc64116=this[_0x5cd64f(0x1f7)][_0x5cd64f(0x1e4)][_0x5cd64f(0x21c)](_0x5cd64f(0x224));this[_0x5cd64f(0x1f9)]=null,this[_0x5cd64f(0x211)]=this[_0x5cd64f(0x1f7)][_0x5cd64f(0x23f)][_0x5cd64f(0x21c)](_0x5cd64f(0x22c)),this[_0x5cd64f(0x239)]=new CloudServicesRevisionHistoryAdapter[(_0x5cd64f(0x251))](_0xc64116);}async[_0xa353a0(0x23b)](){const _0x1505f6=_0xa353a0,_0x229043=this[_0x1505f6(0x1f7)][_0x1505f6(0x23f)][_0x1505f6(0x21c)](_0x2ecfbf),_0x2cc154=_0x229043[_0x1505f6(0x1ff)],_0x524644=this[_0x1505f6(0x1f7)][_0x1505f6(0x23f)][_0x1505f6(0x21c)](_0x41e8ef);this[_0x1505f6(0x211)][_0x1505f6(0x1fe)]({'history':_0x2cc154,'getLatestVersion':()=>this[_0x1505f6(0x202)](),'getCurrentRevisionId':()=>_0x229043[_0x1505f6(0x215)]});const _0x1aef29=this[_0x1505f6(0x1f7)][_0x1505f6(0x1e4)][_0x1505f6(0x21c)](_0x1505f6(0x1f5))||_0x25758e,_0x27b001=await _0x105ea0[_0x1505f6(0x23c)](_0x524644[_0x1505f6(0x241)],_0x1aef29);this[_0x1505f6(0x1f7)][_0x1505f6(0x23f)][_0x1505f6(0x21c)](_0x1505f6(0x23e))[_0x1505f6(0x254)]={'getRevision':async({revisionId:_0x28590d})=>(await this[_0x1505f6(0x20d)](),await this[_0x1505f6(0x239)][_0x1505f6(0x20b)](_0x28590d)),'updateRevisions':async _0x3cf466=>{const _0x4744bd=_0x1505f6;await this[_0x4744bd(0x20d)]();const _0x156436=this[_0x4744bd(0x211)][_0x4744bd(0x24b)];if(_0x27b001&&0x1===_0x3cf466[_0x4744bd(0x1ef)]&&_0x3cf466[0x0]['id']===_0x156436['id'])return _0x3cf466;for(const _0xae38d2 of _0x3cf466)_0xae38d2['id']===_0x156436['id']&&(_0xae38d2[_0x4744bd(0x1f6)]=_0xae38d2[_0x4744bd(0x209)]===_0xae38d2[_0x4744bd(0x22a)]);return this[_0x4744bd(0x239)][_0x4744bd(0x250)](_0x3cf466,this[_0x4744bd(0x1f9)])[_0x4744bd(0x22e)](_0x17e2b2=>(this[_0x4744bd(0x1f9)]=_0x17e2b2,_0x3cf466))[_0x4744bd(0x21a)](_0x38ed9d=>{const _0x536574=_0x4744bd;if(st(_0x38ed9d)||_0x536574(0x242)===_0x38ed9d[_0x536574(0x238)]&&void 0x0!==_0x38ed9d[_0x536574(0x24a)][_0x536574(0x1f2)]){for(const _0x2a9348 of _0x3cf466){!this[_0x536574(0x211)][_0x536574(0x216)][_0x536574(0x20b)](_0x2a9348['id'])||this[_0x536574(0x211)][_0x536574(0x243)](_0x2a9348['id'],_0x2a9348,!0x1);}if(st(_0x38ed9d))throw _0x38ed9d;return _0x3cf466;}throw _0x38ed9d;});}},this[_0x1505f6(0x227)](this[_0x1505f6(0x239)],_0x1505f6(0x222),(_0x2d4a15,{revisionsData:_0x3e1639,requestId:_0x4ed75a})=>{const _0x3ae281=_0x1505f6;Math[_0x3ae281(0x226)](..._0x3e1639[_0x3ae281(0x230)](_0x3f5d3b=>_0x3f5d3b[_0x3ae281(0x22a)]))>this[_0x3ae281(0x219)]()-0x1?this[_0x3ae281(0x202)]()[_0x3ae281(0x22e)](()=>{const _0x1bd2fa=_0x3ae281;this[_0x1bd2fa(0x258)](_0x3e1639,_0x4ed75a);}):this[_0x3ae281(0x258)](_0x3e1639,_0x4ed75a);});const {revisions:_0x31130,requestId:_0x396f83}=await this[_0x1505f6(0x239)][_0x1505f6(0x201)](_0x524644[_0x1505f6(0x241)]);_0x524644[_0x1505f6(0x21b)](this),this[_0x1505f6(0x1f9)]=_0x396f83,await this[_0x1505f6(0x252)](_0x31130);for(const _0x36091d of _0x31130)this[_0x1505f6(0x211)][_0x1505f6(0x259)](_0x36091d);this[_0x1505f6(0x227)](_0x229043,_0x1505f6(0x245),(_0x451c9c,_0x4ed97b,_0x572f80)=>{const _0x1cec8f=_0x1505f6;_0x572f80&&(this[_0x1cec8f(0x1e7)]=_0x229043[_0x1cec8f(0x208)],_0x451c9c[_0x1cec8f(0x1f3)]());}),this[_0x1505f6(0x211)][_0x1505f6(0x253)](_0x1505f6(0x235))['to'](_0x524644,_0x1505f6(0x210),_0x14ed35=>_0x14ed35===_0x2f5d6b[_0x1505f6(0x203)]);}async[_0xa353a0(0x205)](){const _0x366c97=_0xa353a0,_0x3f3ff5=this[_0x366c97(0x1f7)][_0x366c97(0x23f)][_0x366c97(0x21c)](_0x41e8ef),_0x51e4db=this[_0x366c97(0x1f7)][_0x366c97(0x23f)][_0x366c97(0x21c)](_0x2ecfbf),_0x477ba7=async()=>{const _0x11f637=_0x366c97,_0x2bcaa1=this[_0x11f637(0x211)][_0x11f637(0x24b)],_0x19a0b4=_0x2bcaa1['id'],_0x217945=_0x19a0b4!==_0x51e4db[_0x11f637(0x215)];if(_0x217945){const _0x460daa=_0x51e4db[_0x11f637(0x208)]-this[_0x11f637(0x1e7)],_0x1b9f2e=this[_0x11f637(0x219)]();this[_0x11f637(0x211)][_0x11f637(0x1e6)][_0x11f637(0x23a)]();if(_0x2bcaa1[_0x11f637(0x22a)]+_0x460daa!==_0x1b9f2e){const _0x3c7ff2=_0x2bcaa1[_0x11f637(0x209)]+_0x460daa,_0x4518ba=this[_0x11f637(0x1f7)][_0x11f637(0x23f)][_0x11f637(0x21c)](_0x6463e9),_0x530962=this[_0x11f637(0x211)][_0x11f637(0x218)]({'revision':_0x2bcaa1,'from':_0x3c7ff2,'to':_0x1b9f2e});_0x530962['id']=_0x2bcaa1['id'];const _0x1d2c5c=_0x530962[_0x11f637(0x249)][_0x11f637(0x230)](_0x275570=>_0x4518ba[_0x11f637(0x240)](_0x275570));_0x2bcaa1[_0x11f637(0x1fa)]({..._0x530962,'authors':_0x1d2c5c},!0x0),this[_0x11f637(0x211)][_0x11f637(0x243)](_0x2bcaa1['id'],_0x530962,!0x0);}this[_0x11f637(0x211)][_0x11f637(0x1fc)]=_0x1b9f2e,(_0x2bcaa1[_0x11f637(0x22a)]===_0x2bcaa1[_0x11f637(0x209)]&&!this[_0x11f637(0x211)][_0x11f637(0x20e)][_0x11f637(0x221)](_0x19a0b4)&&this[_0x11f637(0x211)][_0x11f637(0x216)][_0x11f637(0x244)][_0x11f637(0x231)](_0x19a0b4),this[_0x11f637(0x211)][_0x11f637(0x256)](_0x1b9f2e));}const {revisions:_0x26a939,requestId:_0x544cf2}=await this[_0x11f637(0x239)][_0x11f637(0x205)](_0x3f3ff5[_0x11f637(0x241)],this[_0x11f637(0x1f9)]);_0x217945&&_0x26a939[_0x11f637(0x1ef)]>0x0?_0x51e4db[_0x11f637(0x20a)]():(await this[_0x11f637(0x252)](_0x26a939),this[_0x11f637(0x258)](_0x26a939,_0x544cf2),this[_0x11f637(0x211)][_0x11f637(0x1f4)]());};return _0x51e4db[_0x366c97(0x246)]?_0x477ba7():new Promise((_0x34df76,_0x5123f5)=>{const _0x358f77=_0x366c97;_0x51e4db[_0x358f77(0x1ee)](_0x358f77(0x245),()=>{const _0x29ed44=_0x358f77;_0x477ba7()[_0x29ed44(0x22e)](_0x34df76)[_0x29ed44(0x21a)](_0x5123f5);});});}[_0xa353a0(0x20f)](){const _0x28be97=_0xa353a0;super[_0x28be97(0x20f)]();}async[_0xa353a0(0x20d)](){const _0x4853fa=_0xa353a0;this[_0x4853fa(0x239)][_0x4853fa(0x229)]||await new Promise(_0x4909d1=>{const _0x4b9f14=_0x4853fa;this[_0x4b9f14(0x227)](this[_0x4b9f14(0x239)],_0x4b9f14(0x228),_0x20aba9=>{const _0x488d48=_0x4b9f14;_0x20aba9[_0x488d48(0x1f3)](),_0x4909d1();});});}[_0xa353a0(0x219)](){const _0x50d695=_0xa353a0,_0x5dc308=this[_0x50d695(0x1f7)][_0x50d695(0x23f)][_0x50d695(0x21c)](_0x2ecfbf)[_0x50d695(0x1ff)][_0x50d695(0x22d)]()[_0x50d695(0x20c)]();for(const _0x2dfc3b of _0x5dc308)if(_0x50d695(0x257)!==_0x2dfc3b[_0x50d695(0x1e5)]||_0x2dfc3b[_0x50d695(0x1fd)])return _0x2dfc3b[_0x50d695(0x200)]+0x1;}[_0xa353a0(0x202)](){const _0x4bd211=_0xa353a0,_0x126a6e=this[_0x4bd211(0x1f7)][_0x4bd211(0x23f)][_0x4bd211(0x21c)](_0x2ecfbf);return new Promise(_0x7c13f=>{const _0x3693c7=_0x4bd211;_0x126a6e[_0x3693c7(0x225)]?_0x126a6e[_0x3693c7(0x1ee)](_0x3693c7(0x24c),()=>{const _0xa5aacc=_0x3693c7;_0x7c13f(this[_0xa5aacc(0x219)]());}):_0x7c13f(this[_0x3693c7(0x219)]());});}[_0xa353a0(0x258)](_0xa32daa,_0x242b13){const _0x1722ec=_0xa353a0,_0x4ab437=this[_0x1722ec(0x211)][_0x1722ec(0x216)];this[_0x1722ec(0x1f9)]=_0x242b13;for(const _0x4cb5b1 of _0xa32daa){const _0x475c34=_0x4ab437[_0x1722ec(0x20b)](_0x4cb5b1['id']);if(_0x475c34){if((_0x4cb5b1[_0x1722ec(0x209)]||_0x4cb5b1[_0x1722ec(0x22a)])&&(_0x4cb5b1[_0x1722ec(0x207)]=null),_0x475c34===this[_0x1722ec(0x211)][_0x1722ec(0x24b)]){const _0x4bb03b=Math[_0x1722ec(0x226)](_0x475c34[_0x1722ec(0x22a)],_0x4cb5b1[_0x1722ec(0x22a)]),_0xff1217=Math[_0x1722ec(0x226)](_0x475c34[_0x1722ec(0x209)],_0x4cb5b1[_0x1722ec(0x209)]);let _0x19b31c;_0x475c34[_0x1722ec(0x22a)]===_0x4cb5b1[_0x1722ec(0x22a)]&&_0x475c34[_0x1722ec(0x209)]===_0x4cb5b1[_0x1722ec(0x209)]?(_0x19b31c=!0x0,this[_0x1722ec(0x1f0)](_0x4cb5b1)):_0x4cb5b1[_0x1722ec(0x22a)]===_0x4bb03b&&_0x4cb5b1[_0x1722ec(0x209)]===_0xff1217?_0x19b31c=!0x1:(_0x475c34[_0x1722ec(0x22a)]===_0x4bb03b&&_0x475c34[_0x1722ec(0x209)]===_0xff1217||this[_0x1722ec(0x22b)]({'revision':_0x475c34,'from':_0xff1217,'to':_0x4bb03b}),_0x19b31c=!0x0),_0x19b31c&&(delete _0x4cb5b1[_0x1722ec(0x209)],delete _0x4cb5b1[_0x1722ec(0x22a)],delete _0x4cb5b1[_0x1722ec(0x207)],delete _0x4cb5b1[_0x1722ec(0x232)],delete _0x4cb5b1[_0x1722ec(0x249)]);}this[_0x1722ec(0x211)][_0x1722ec(0x1f1)](_0x4cb5b1),this[_0x1722ec(0x1f0)](_0x4cb5b1);}else this[_0x1722ec(0x211)][_0x1722ec(0x259)](_0x4cb5b1);}const _0x1ec2d3=_0x4ab437[_0x1722ec(0x214)]();_0x1ec2d3[_0x1722ec(0x20c)]();for(let _0x4d038c=0x0;_0x4d038c<_0x1ec2d3[_0x1722ec(0x1ef)]-0x1;_0x4d038c++){const _0x572630=_0x1ec2d3[_0x4d038c],_0x47c19a=_0x1ec2d3[_0x4d038c+0x1];if(_0x572630[_0x1722ec(0x209)]<_0x47c19a[_0x1722ec(0x22a)]){const _0x292af8=_0x47c19a[_0x1722ec(0x22a)],_0x54f091=Math[_0x1722ec(0x226)](_0x292af8,_0x572630[_0x1722ec(0x22a)]);this[_0x1722ec(0x22b)]({'revision':_0x572630,'from':_0x292af8,'to':_0x54f091});}}}[_0xa353a0(0x22b)]({revision:_0x57f2f8,from:_0x471bb0,to:_0x3f26a7}={}){const _0x5370cb=_0xa353a0,_0x2aceb0=this[_0x5370cb(0x1f7)][_0x5370cb(0x23f)][_0x5370cb(0x21c)](_0x6463e9),_0x2f5982=this[_0x5370cb(0x211)][_0x5370cb(0x218)]({'revision':_0x57f2f8,'from':_0x471bb0,'to':_0x3f26a7});_0x2f5982[_0x5370cb(0x1ec)]=_0x2f5982[_0x5370cb(0x249)][_0x5370cb(0x230)](_0xdafd45=>_0x2aceb0[_0x5370cb(0x240)](_0xdafd45)),_0x57f2f8[_0x5370cb(0x1fa)](_0x2f5982);}[_0xa353a0(0x1f0)](_0x3dd903){const _0x18e2e1=_0xa353a0,_0x46dde3={};_0x46dde3['id']=_0x3dd903['id'];for(const _0x3eb108 of Object[_0x18e2e1(0x220)](_0x3dd903))'id'!==_0x3eb108&&(_0x46dde3[_0x3eb108]=void 0x0);this[_0x18e2e1(0x211)][_0x18e2e1(0x243)](_0x46dde3['id'],_0x46dde3,!0x0);}async[_0xa353a0(0x252)](_0xeaf4a4){const _0x1d9083=_0xa353a0,_0x49ab3d=this[_0x1d9083(0x1f7)][_0x1d9083(0x23f)][_0x1d9083(0x21c)](_0x6463e9),{connection:_0x392de7}=this[_0x1d9083(0x1f7)][_0x1d9083(0x23f)][_0x1d9083(0x21c)](_0x41e8ef),_0x486845=new Set();for(const _0x206402 of _0xeaf4a4){for(const _0x3263f1 of _0x206402[_0x1d9083(0x249)])_0x3cc9b9(_0x3263f1);_0x206402[_0x1d9083(0x1ea)]&&_0x3cc9b9(_0x206402[_0x1d9083(0x1ea)]);}if(0x0===_0x486845[_0x1d9083(0x206)])return;const _0x404a03=await _0xd1d97[_0x1d9083(0x1e8)](_0x392de7,Array[_0x1d9083(0x1eb)](_0x486845));for(const _0xc345e3 of _0x404a03)_0x49ab3d[_0x1d9083(0x240)](_0xc345e3['id'])||_0x49ab3d[_0x1d9083(0x237)](_0xc345e3);function _0x3cc9b9(_0x40d6da){const _0xf4f262=_0x1d9083;_0x49ab3d[_0xf4f262(0x240)](_0x40d6da)||_0x486845[_0xf4f262(0x1fb)](_0x40d6da);}}}function _0x1bb6(){const _0x2b5c13=['message','512218WJVIsc','cloud-services-internal-error:\x20Request\x20timeout.','updateRevisions','RevisionHistoryService','_fetchMissingUsers','bind','adapter','105FOLLhY','_createCurrentRevision','marker','_handleRevisionsUpdate','addRevisionData','config','type','_revisionDataBuilder','_oldOffset','getMany','cloud-services-internal-error:\x20Not\x20connected.','creatorId','from','authors','1070eHMbbI','once','length','_preventResendingRevisionData','setRevisionData','wrongRequestId','off','sendBufferedUpdates','cloudServices.bundleVersion','isEmptyCurrent','editor','38061VmqEOr','_lastRequestId','_update','add','_startingVersion','affectsData','setSource','serverHistory','baseVersion','connect','_getLatestVersion','CONNECTED','requires','reconnect','size','diffData','_offset','fromVersion','_handleReconnectionError','getRevision','reverse','_waitForServiceReady','_bufferedUpdates','destroy','state','_revisionTracker','483288mOHPke','12612beNhxP','getRevisions','sessionId','repository','isPremiumPlugin','buildRevisionData','_getLatestVersionFromServerOperations','catch','addToReconnectionStack','get','pluginName','startsWith','3AaigFC','keys','has','revisionsUpdated','45aTYKus','collaboration.channelId','_isPendingUpdate','max','listenTo','connected','isConnected','toVersion','_fixRevision','RevisionTracker','getOperations','then','3048948VHrliX','map','remove','createdAt','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','444732HJQyPS','isEnabled','isOfficialPlugin','addUser','code','_revisionHistoryService','reInit','init','isBundleUploaded','829646vEpvMV','RevisionHistory','plugins','getUser','connection','400','_bufferUpdate','_revisions','change:_isConnected','_isConnected','25817hHoias','CloudServicesRevisionHistoryAdapter','authorsIds','data','currentRevision','change:_isPendingUpdate'];_0x1bb6=function(){return _0x2b5c13;};return _0x1bb6();}function st(_0x4369a2){const _0x192b66=_0xa353a0;return _0x4369a2[_0x192b66(0x24d)][_0x192b66(0x21e)](_0x192b66(0x233))||_0x4369a2[_0x192b66(0x24d)][_0x192b66(0x21e)](_0x192b66(0x1e9))||_0x4369a2[_0x192b66(0x24d)][_0x192b66(0x21e)](_0x192b66(0x24f));}
23
+ const _0x4abc12=_0x23c6;(function(_0x1c6607,_0x42a1ed){const _0x1f9beb=_0x23c6,_0xe7bc0a=_0x1c6607();while(!![]){try{const _0x40491f=-parseInt(_0x1f9beb(0x18d))/0x1+-parseInt(_0x1f9beb(0x174))/0x2*(parseInt(_0x1f9beb(0x186))/0x3)+-parseInt(_0x1f9beb(0x173))/0x4*(parseInt(_0x1f9beb(0x18f))/0x5)+-parseInt(_0x1f9beb(0x140))/0x6*(parseInt(_0x1f9beb(0x13c))/0x7)+-parseInt(_0x1f9beb(0x189))/0x8*(-parseInt(_0x1f9beb(0x14b))/0x9)+parseInt(_0x1f9beb(0x151))/0xa*(-parseInt(_0x1f9beb(0x150))/0xb)+parseInt(_0x1f9beb(0x13d))/0xc;if(_0x40491f===_0x42a1ed)break;else _0xe7bc0a['push'](_0xe7bc0a['shift']());}catch(_0x87be90){_0xe7bc0a['push'](_0xe7bc0a['shift']());}}}(_0x5558,0xc7afc));function _0x5558(){const _0x33c4ea=['code','plugins','1677639qOVhQU','marker','length','7780304WmqZRM','reverse','getMany','RevisionTracker','943632mktvZG','then','487735seaszP','_getLatestVersionFromServerOperations','change:_isConnected','RevisionHistory','buildRevisionData','map','message','wrongRequestId','_revisions','_update','_offset','editor','_fixRevision','_isPendingUpdate','diffData','isConnected','getOperations','_revisionHistoryService','state','_isConnected','affectsData','isEmptyCurrent','data','max','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','type','CloudServicesRevisionHistoryAdapter','remove','_getLatestVersion','adapter','has','get','repository','addUser','546630uyNWZm','43518552eItwxA','sendBufferedUpdates','400','30ymSJuk','_bufferUpdate','_preventResendingRevisionData','toVersion','setSource','sessionId','cloudServices.bundleVersion','creatorId','pluginName','from','bind','9ujFHKf','startsWith','_handleRevisionsUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','fromVersion','13145MluXvQ','4370wVzmAt','connection','size','off','revisionsUpdated','_waitForServiceReady','createdAt','getRevisions','isEnabled','RevisionHistoryService','reconnect','catch','authorsIds','init','currentRevision','once','requires','addToReconnectionStack','add','_revisionDataBuilder','serverHistory','getRevision','updateRevisions','_lastRequestId','_fetchMissingUsers','collaboration.channelId','connect','_oldOffset','isOfficialPlugin','connected','authors','config','_revisionTracker','setRevisionData','56lmQMtd','2ISSyNR','isBundleUploaded','_createCurrentRevision','_bufferedUpdates','cloud-services-internal-error:\x20Not\x20connected.','reInit','change:_isPendingUpdate','CONNECTED','getUser','keys','isPremiumPlugin','listenTo','baseVersion','destroy','addRevisionData','_startingVersion'];_0x5558=function(){return _0x33c4ea;};return _0x5558();}import{Plugin as _0x4f8775}from'ckeditor5/src/core.js';function _0x23c6(_0x5d01d1,_0xf30deb){const _0x5558a5=_0x5558();return _0x23c6=function(_0x23c616,_0x1ced81){_0x23c616=_0x23c616-0x125;let _0x295e43=_0x5558a5[_0x23c616];return _0x295e43;},_0x23c6(_0x5d01d1,_0xf30deb);}import{version as _0x202d4f}from'ckeditor5/src/utils.js';import{Users as _0x55a398}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x27f9b7}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5ac8cc}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x60f7c6}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4cb801,RevisionHistoryService as _0x46ea87,User as _0xbf68f0,WEB_SOCKET_GATEWAY_STATES as _0x3d54ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4f8775{static [_0x4abc12(0x15a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x46ea87)());[_0x4abc12(0x168)];[_0x4abc12(0x171)];[_0x4abc12(0x12a)];[_0x4abc12(0x16c)];static get[_0x4abc12(0x161)](){const _0x344a81=_0x4abc12;return[_0x5ac8cc,_0x27f9b7,_0x344a81(0x192),_0x60f7c6,_0x55a398];}static get[_0x4abc12(0x148)](){const _0x7fce80=_0x4abc12;return _0x7fce80(0x134);}static get[_0x4abc12(0x16d)](){return!0x0;}static get[_0x4abc12(0x17e)](){return!0x0;}constructor(_0x567e87){const _0x48675a=_0x4abc12;super(_0x567e87);const _0x15257b=this[_0x48675a(0x19a)][_0x48675a(0x170)][_0x48675a(0x139)](_0x48675a(0x16a));this[_0x48675a(0x168)]=null,this[_0x48675a(0x171)]=this[_0x48675a(0x19a)][_0x48675a(0x185)][_0x48675a(0x139)](_0x48675a(0x18c)),this[_0x48675a(0x12a)]=new CloudServicesRevisionHistoryAdapter[(_0x48675a(0x15a))](_0x15257b);}async[_0x4abc12(0x15e)](){const _0x5c0c02=_0x4abc12,_0x333cf8=this[_0x5c0c02(0x19a)][_0x5c0c02(0x185)][_0x5c0c02(0x139)](_0x27f9b7),_0x17480a=_0x333cf8[_0x5c0c02(0x165)],_0x28b077=this[_0x5c0c02(0x19a)][_0x5c0c02(0x185)][_0x5c0c02(0x139)](_0x5ac8cc);this[_0x5c0c02(0x171)][_0x5c0c02(0x144)]({'history':_0x17480a,'getLatestVersion':()=>this[_0x5c0c02(0x136)](),'getCurrentRevisionId':()=>_0x333cf8[_0x5c0c02(0x145)]});const _0x2e0187=this[_0x5c0c02(0x19a)][_0x5c0c02(0x170)][_0x5c0c02(0x139)](_0x5c0c02(0x146))||_0x202d4f,_0x58c8e5=await _0x4cb801[_0x5c0c02(0x175)](_0x28b077[_0x5c0c02(0x152)],_0x2e0187);this[_0x5c0c02(0x19a)][_0x5c0c02(0x185)][_0x5c0c02(0x139)](_0x5c0c02(0x192))[_0x5c0c02(0x137)]={'getRevision':async({revisionId:_0xfcb5b6})=>(await this[_0x5c0c02(0x156)](),await this[_0x5c0c02(0x12a)][_0x5c0c02(0x166)](_0xfcb5b6)),'updateRevisions':async _0x128a24=>{const _0x46169f=_0x5c0c02;await this[_0x46169f(0x156)]();const _0x2f828d=this[_0x46169f(0x171)][_0x46169f(0x15f)];if(_0x58c8e5&&0x1===_0x128a24[_0x46169f(0x188)]&&_0x128a24[0x0]['id']===_0x2f828d['id'])return _0x128a24;for(const _0x440f71 of _0x128a24)_0x440f71['id']===_0x2f828d['id']&&(_0x440f71[_0x46169f(0x12e)]=_0x440f71[_0x46169f(0x14f)]===_0x440f71[_0x46169f(0x143)]);return this[_0x46169f(0x12a)][_0x46169f(0x167)](_0x128a24,this[_0x46169f(0x168)])[_0x46169f(0x18e)](_0x149066=>(this[_0x46169f(0x168)]=_0x149066,_0x128a24))[_0x46169f(0x15c)](_0x55b510=>{const _0x4c4805=_0x46169f;if(_(_0x55b510)||_0x4c4805(0x13f)===_0x55b510[_0x4c4805(0x184)]&&void 0x0!==_0x55b510[_0x4c4805(0x12f)][_0x4c4805(0x196)]){for(const _0x1b2dfe of _0x128a24){!this[_0x4c4805(0x171)][_0x4c4805(0x13a)][_0x4c4805(0x166)](_0x1b2dfe['id'])||this[_0x4c4805(0x171)][_0x4c4805(0x141)](_0x1b2dfe['id'],_0x1b2dfe,!0x1);}if(_(_0x55b510))throw _0x55b510;return _0x128a24;}throw _0x55b510;});}},this[_0x5c0c02(0x17f)](this[_0x5c0c02(0x12a)],_0x5c0c02(0x155),(_0x98a65b,{revisionsData:_0xc55a82,requestId:_0x2f157a})=>{const _0x17ff65=_0x5c0c02;Math[_0x17ff65(0x130)](..._0xc55a82[_0x17ff65(0x194)](_0x1d4595=>_0x1d4595[_0x17ff65(0x143)]))>this[_0x17ff65(0x190)]()-0x1?this[_0x17ff65(0x136)]()[_0x17ff65(0x18e)](()=>{const _0x3cbfa0=_0x17ff65;this[_0x3cbfa0(0x14d)](_0xc55a82,_0x2f157a);}):this[_0x17ff65(0x14d)](_0xc55a82,_0x2f157a);});const {revisions:_0x3ac8a3,requestId:_0x4f9c53}=await this[_0x5c0c02(0x12a)][_0x5c0c02(0x16b)](_0x28b077[_0x5c0c02(0x152)]);_0x28b077[_0x5c0c02(0x162)](this),this[_0x5c0c02(0x168)]=_0x4f9c53,await this[_0x5c0c02(0x169)](_0x3ac8a3);for(const _0xb5ffa of _0x3ac8a3)this[_0x5c0c02(0x171)][_0x5c0c02(0x182)](_0xb5ffa);this[_0x5c0c02(0x17f)](_0x333cf8,_0x5c0c02(0x191),(_0x74637a,_0x5314f5,_0x15839f)=>{const _0x352682=_0x5c0c02;_0x15839f&&(this[_0x352682(0x16c)]=_0x333cf8[_0x352682(0x199)],_0x74637a[_0x352682(0x154)]());}),this[_0x5c0c02(0x171)][_0x5c0c02(0x14a)](_0x5c0c02(0x159))['to'](_0x28b077,_0x5c0c02(0x12b),_0x5afa35=>_0x5afa35===_0x3d54ec[_0x5c0c02(0x17b)]);}async[_0x4abc12(0x15b)](){const _0x49268a=_0x4abc12,_0x103d63=this[_0x49268a(0x19a)][_0x49268a(0x185)][_0x49268a(0x139)](_0x5ac8cc),_0x18ca1a=this[_0x49268a(0x19a)][_0x49268a(0x185)][_0x49268a(0x139)](_0x27f9b7),_0x38b3d6=async()=>{const _0x4d2b62=_0x49268a,_0x106ff2=this[_0x4d2b62(0x171)][_0x4d2b62(0x15f)],_0xd2a9d8=_0x106ff2['id'],_0x3636ba=_0xd2a9d8!==_0x18ca1a[_0x4d2b62(0x145)];if(_0x3636ba){const _0x3179b=_0x18ca1a[_0x4d2b62(0x199)]-this[_0x4d2b62(0x16c)],_0x1027ff=this[_0x4d2b62(0x190)]();this[_0x4d2b62(0x171)][_0x4d2b62(0x164)][_0x4d2b62(0x179)]();if(_0x106ff2[_0x4d2b62(0x143)]+_0x3179b!==_0x1027ff){const _0xaf251=_0x106ff2[_0x4d2b62(0x14f)]+_0x3179b,_0x10eb51=this[_0x4d2b62(0x19a)][_0x4d2b62(0x185)][_0x4d2b62(0x139)](_0x55a398),_0x4e5ccb=this[_0x4d2b62(0x171)][_0x4d2b62(0x193)]({'revision':_0x106ff2,'from':_0xaf251,'to':_0x1027ff});_0x4e5ccb['id']=_0x106ff2['id'];const _0x5cc2d7=_0x4e5ccb[_0x4d2b62(0x15d)][_0x4d2b62(0x194)](_0x45e036=>_0x10eb51[_0x4d2b62(0x17c)](_0x45e036));_0x106ff2[_0x4d2b62(0x198)]({..._0x4e5ccb,'authors':_0x5cc2d7},!0x0),this[_0x4d2b62(0x171)][_0x4d2b62(0x141)](_0x106ff2['id'],_0x4e5ccb,!0x0);}this[_0x4d2b62(0x171)][_0x4d2b62(0x183)]=_0x1027ff,(_0x106ff2[_0x4d2b62(0x143)]===_0x106ff2[_0x4d2b62(0x14f)]&&!this[_0x4d2b62(0x171)][_0x4d2b62(0x177)][_0x4d2b62(0x138)](_0xd2a9d8)&&this[_0x4d2b62(0x171)][_0x4d2b62(0x13a)][_0x4d2b62(0x197)][_0x4d2b62(0x135)](_0xd2a9d8),this[_0x4d2b62(0x171)][_0x4d2b62(0x176)](_0x1027ff));}const {revisions:_0x4f6cd9,requestId:_0x49051c}=await this[_0x4d2b62(0x12a)][_0x4d2b62(0x15b)](_0x103d63[_0x4d2b62(0x152)],this[_0x4d2b62(0x168)]);_0x3636ba&&_0x4f6cd9[_0x4d2b62(0x188)]>0x0?_0x18ca1a[_0x4d2b62(0x131)]():(await this[_0x4d2b62(0x169)](_0x4f6cd9),this[_0x4d2b62(0x14d)](_0x4f6cd9,_0x49051c),this[_0x4d2b62(0x171)][_0x4d2b62(0x13e)]());};return _0x18ca1a[_0x49268a(0x12c)]?_0x38b3d6():new Promise((_0x392d8e,_0x2a442a)=>{const _0x49e264=_0x49268a;_0x18ca1a[_0x49e264(0x160)](_0x49e264(0x191),()=>{const _0x41cfb5=_0x49e264;_0x38b3d6()[_0x41cfb5(0x18e)](_0x392d8e)[_0x41cfb5(0x15c)](_0x2a442a);});});}[_0x4abc12(0x181)](){const _0x5ed8fa=_0x4abc12;super[_0x5ed8fa(0x181)]();}async[_0x4abc12(0x156)](){const _0x36fdad=_0x4abc12;this[_0x36fdad(0x12a)][_0x36fdad(0x128)]||await new Promise(_0x1b8cdd=>{const _0xd2467f=_0x36fdad;this[_0xd2467f(0x17f)](this[_0xd2467f(0x12a)],_0xd2467f(0x16e),_0xa1a291=>{const _0x164969=_0xd2467f;_0xa1a291[_0x164969(0x154)](),_0x1b8cdd();});});}[_0x4abc12(0x190)](){const _0x1a915a=_0x4abc12,_0x18385d=this[_0x1a915a(0x19a)][_0x1a915a(0x185)][_0x1a915a(0x139)](_0x27f9b7)[_0x1a915a(0x165)][_0x1a915a(0x129)]()[_0x1a915a(0x18a)]();for(const _0x3686ac of _0x18385d)if(_0x1a915a(0x187)!==_0x3686ac[_0x1a915a(0x133)]||_0x3686ac[_0x1a915a(0x12d)])return _0x3686ac[_0x1a915a(0x180)]+0x1;}[_0x4abc12(0x136)](){const _0x517b65=_0x4abc12,_0xa0dee8=this[_0x517b65(0x19a)][_0x517b65(0x185)][_0x517b65(0x139)](_0x27f9b7);return new Promise(_0x53f7cb=>{const _0x477a1d=_0x517b65;_0xa0dee8[_0x477a1d(0x126)]?_0xa0dee8[_0x477a1d(0x160)](_0x477a1d(0x17a),()=>{const _0x1291e0=_0x477a1d;_0x53f7cb(this[_0x1291e0(0x190)]());}):_0x53f7cb(this[_0x477a1d(0x190)]());});}[_0x4abc12(0x14d)](_0x19250c,_0x53883b){const _0x3d5bae=_0x4abc12,_0x59bdd4=this[_0x3d5bae(0x171)][_0x3d5bae(0x13a)];this[_0x3d5bae(0x168)]=_0x53883b;for(const _0x1e8149 of _0x19250c){const _0x40746b=_0x59bdd4[_0x3d5bae(0x166)](_0x1e8149['id']);if(_0x40746b){if((_0x1e8149[_0x3d5bae(0x14f)]||_0x1e8149[_0x3d5bae(0x143)])&&(_0x1e8149[_0x3d5bae(0x127)]=null),_0x40746b===this[_0x3d5bae(0x171)][_0x3d5bae(0x15f)]){const _0x513bb0=Math[_0x3d5bae(0x130)](_0x40746b[_0x3d5bae(0x143)],_0x1e8149[_0x3d5bae(0x143)]),_0x4c3854=Math[_0x3d5bae(0x130)](_0x40746b[_0x3d5bae(0x14f)],_0x1e8149[_0x3d5bae(0x14f)]);let _0x58f759;_0x40746b[_0x3d5bae(0x143)]===_0x1e8149[_0x3d5bae(0x143)]&&_0x40746b[_0x3d5bae(0x14f)]===_0x1e8149[_0x3d5bae(0x14f)]?(_0x58f759=!0x0,this[_0x3d5bae(0x142)](_0x1e8149)):_0x1e8149[_0x3d5bae(0x143)]===_0x513bb0&&_0x1e8149[_0x3d5bae(0x14f)]===_0x4c3854?_0x58f759=!0x1:(_0x40746b[_0x3d5bae(0x143)]===_0x513bb0&&_0x40746b[_0x3d5bae(0x14f)]===_0x4c3854||this[_0x3d5bae(0x125)]({'revision':_0x40746b,'from':_0x4c3854,'to':_0x513bb0}),_0x58f759=!0x0),_0x58f759&&(delete _0x1e8149[_0x3d5bae(0x14f)],delete _0x1e8149[_0x3d5bae(0x143)],delete _0x1e8149[_0x3d5bae(0x127)],delete _0x1e8149[_0x3d5bae(0x157)],delete _0x1e8149[_0x3d5bae(0x15d)]);}this[_0x3d5bae(0x171)][_0x3d5bae(0x172)](_0x1e8149),this[_0x3d5bae(0x142)](_0x1e8149);}else this[_0x3d5bae(0x171)][_0x3d5bae(0x182)](_0x1e8149);}const _0x4d00e8=_0x59bdd4[_0x3d5bae(0x158)]();_0x4d00e8[_0x3d5bae(0x18a)]();for(let _0xb10bbf=0x0;_0xb10bbf<_0x4d00e8[_0x3d5bae(0x188)]-0x1;_0xb10bbf++){const _0x1be422=_0x4d00e8[_0xb10bbf],_0xc444ec=_0x4d00e8[_0xb10bbf+0x1];if(_0x1be422[_0x3d5bae(0x14f)]<_0xc444ec[_0x3d5bae(0x143)]){const _0x40ac1f=_0xc444ec[_0x3d5bae(0x143)],_0x3d3d83=Math[_0x3d5bae(0x130)](_0x40ac1f,_0x1be422[_0x3d5bae(0x143)]);this[_0x3d5bae(0x125)]({'revision':_0x1be422,'from':_0x40ac1f,'to':_0x3d3d83});}}}[_0x4abc12(0x125)]({revision:_0x528795,from:_0x5d91e4,to:_0x57e184}={}){const _0x4f3dea=_0x4abc12,_0x33527b=this[_0x4f3dea(0x19a)][_0x4f3dea(0x185)][_0x4f3dea(0x139)](_0x55a398),_0x392d27=this[_0x4f3dea(0x171)][_0x4f3dea(0x193)]({'revision':_0x528795,'from':_0x5d91e4,'to':_0x57e184});_0x392d27[_0x4f3dea(0x16f)]=_0x392d27[_0x4f3dea(0x15d)][_0x4f3dea(0x194)](_0x39e1b9=>_0x33527b[_0x4f3dea(0x17c)](_0x39e1b9)),_0x528795[_0x4f3dea(0x198)](_0x392d27);}[_0x4abc12(0x142)](_0x103c25){const _0x4f613b=_0x4abc12,_0x1505f3={};_0x1505f3['id']=_0x103c25['id'];for(const _0x455825 of Object[_0x4f613b(0x17d)](_0x103c25))'id'!==_0x455825&&(_0x1505f3[_0x455825]=void 0x0);this[_0x4f613b(0x171)][_0x4f613b(0x141)](_0x1505f3['id'],_0x1505f3,!0x0);}async[_0x4abc12(0x169)](_0x36e577){const _0x3e108a=_0x4abc12,_0x16c3d2=this[_0x3e108a(0x19a)][_0x3e108a(0x185)][_0x3e108a(0x139)](_0x55a398),{connection:_0x25746e}=this[_0x3e108a(0x19a)][_0x3e108a(0x185)][_0x3e108a(0x139)](_0x5ac8cc),_0x41863d=new Set();for(const _0x195379 of _0x36e577){for(const _0x1f3927 of _0x195379[_0x3e108a(0x15d)])_0x1d84ea(_0x1f3927);_0x195379[_0x3e108a(0x147)]&&_0x1d84ea(_0x195379[_0x3e108a(0x147)]);}if(0x0===_0x41863d[_0x3e108a(0x153)])return;const _0x1f1604=await _0xbf68f0[_0x3e108a(0x18b)](_0x25746e,Array[_0x3e108a(0x149)](_0x41863d));for(const _0x5e0cf5 of _0x1f1604)_0x16c3d2[_0x3e108a(0x17c)](_0x5e0cf5['id'])||_0x16c3d2[_0x3e108a(0x13b)](_0x5e0cf5);function _0x1d84ea(_0x4ffd21){const _0x231091=_0x3e108a;_0x16c3d2[_0x231091(0x17c)](_0x4ffd21)||_0x41863d[_0x231091(0x163)](_0x4ffd21);}}}function _(_0x432450){const _0x2b6055=_0x4abc12;return _0x432450[_0x2b6055(0x195)][_0x2b6055(0x14c)](_0x2b6055(0x14e))||_0x432450[_0x2b6055(0x195)][_0x2b6055(0x14c)](_0x2b6055(0x178))||_0x432450[_0x2b6055(0x195)][_0x2b6055(0x14c)](_0x2b6055(0x132));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xea365=_0x41c8;function _0x41c8(_0x5eeb0c,_0x5de23b){var _0x519d75=_0x519d();return _0x41c8=function(_0x41c869,_0x2665e2){_0x41c869=_0x41c869-0xb7;var _0x519b87=_0x519d75[_0x41c869];return _0x519b87;},_0x41c8(_0x5eeb0c,_0x5de23b);}(function(_0x206eb1,_0x540ae0){var _0x5617fa=_0x41c8,_0x4183cb=_0x206eb1();while(!![]){try{var _0x45ae75=-parseInt(_0x5617fa(0xbd))/0x1+parseInt(_0x5617fa(0xc1))/0x2*(-parseInt(_0x5617fa(0xc6))/0x3)+parseInt(_0x5617fa(0xbe))/0x4+-parseInt(_0x5617fa(0xbb))/0x5*(-parseInt(_0x5617fa(0xbf))/0x6)+parseInt(_0x5617fa(0xb8))/0x7*(parseInt(_0x5617fa(0xc7))/0x8)+-parseInt(_0x5617fa(0xb7))/0x9*(-parseInt(_0x5617fa(0xc2))/0xa)+-parseInt(_0x5617fa(0xb9))/0xb;if(_0x45ae75===_0x540ae0)break;else _0x4183cb['push'](_0x4183cb['shift']());}catch(_0x40c8df){_0x4183cb['push'](_0x4183cb['shift']());}}}(_0x519d,0x61511));import{Plugin as _0x1c937f}from'ckeditor5/src/core.js';function _0x519d(){var _0x56eeef=['RevisionHistory','38AtwFKy','70mlwnnJ','RealTimeCollaborativeRevisionHistory','requires','isOfficialPlugin','29745aupued','40XOvCnJ','112833dCVDMa','669802pPCqxS','553960fjIdAV','isPremiumPlugin','1632385OGtdQx','pluginName','725999ZdsSOS','576840zvMQtd','12QZoKHj'];_0x519d=function(){return _0x56eeef;};return _0x519d();}import{CloudServicesRevisionHistoryAdapter as _0x114257}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x6bf9c3}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x1c937f{static get[_0xea365(0xc4)](){var _0xa415a4=_0xea365;return[_0xa415a4(0xc0),_0x114257,_0x6bf9c3];}static get[_0xea365(0xbc)](){var _0x4c9276=_0xea365;return _0x4c9276(0xc3);}static get[_0xea365(0xc5)](){return!0x0;}static get[_0xea365(0xba)](){return!0x0;}}
23
+ var _0x187a5f=_0x5bad;function _0x5bad(_0x6ac78e,_0x4e4b2d){var _0x297216=_0x2972();return _0x5bad=function(_0x5bada8,_0x291665){_0x5bada8=_0x5bada8-0x183;var _0x1c9a95=_0x297216[_0x5bada8];return _0x1c9a95;},_0x5bad(_0x6ac78e,_0x4e4b2d);}(function(_0x2b7bde,_0x5c92c6){var _0x3ce32a=_0x5bad,_0x4c6a3b=_0x2b7bde();while(!![]){try{var _0x4248b4=-parseInt(_0x3ce32a(0x18d))/0x1+parseInt(_0x3ce32a(0x18b))/0x2+parseInt(_0x3ce32a(0x187))/0x3+parseInt(_0x3ce32a(0x185))/0x4+-parseInt(_0x3ce32a(0x189))/0x5*(-parseInt(_0x3ce32a(0x18f))/0x6)+parseInt(_0x3ce32a(0x18e))/0x7*(-parseInt(_0x3ce32a(0x184))/0x8)+-parseInt(_0x3ce32a(0x188))/0x9;if(_0x4248b4===_0x5c92c6)break;else _0x4c6a3b['push'](_0x4c6a3b['shift']());}catch(_0x237b66){_0x4c6a3b['push'](_0x4c6a3b['shift']());}}}(_0x2972,0xe235c));import{Plugin as _0xb2eca9}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x56058e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x2972(){var _0x2b9d42=['18417zMKlLN','12MfOukg','isPremiumPlugin','RevisionHistory','RealTimeCollaborativeRevisionHistory','2384Fwvmuq','7343240JZdqpv','requires','2775456BRfRBD','12624003LJEcIl','1053055tLcgCj','isOfficialPlugin','3557636BxTDBT','pluginName','1847741ScRljq'];_0x2972=function(){return _0x2b9d42;};return _0x2972();}import{RealTimeCollaborativeEditing as _0xa6903e}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0xb2eca9{static get[_0x187a5f(0x186)](){var _0x41d203=_0x187a5f;return[_0x41d203(0x191),_0x56058e,_0xa6903e];}static get[_0x187a5f(0x18c)](){var _0x22e906=_0x187a5f;return _0x22e906(0x183);}static get[_0x187a5f(0x18a)](){return!0x0;}static get[_0x187a5f(0x190)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x587d07=_0x26eb;(function(_0x3179b0,_0x269959){const _0x4dc8b9=_0x26eb,_0x387f9c=_0x3179b0();while(!![]){try{const _0x2bfcb4=parseInt(_0x4dc8b9(0xb4))/0x1+parseInt(_0x4dc8b9(0xe8))/0x2*(-parseInt(_0x4dc8b9(0xc8))/0x3)+-parseInt(_0x4dc8b9(0xb8))/0x4+-parseInt(_0x4dc8b9(0xd2))/0x5+-parseInt(_0x4dc8b9(0xea))/0x6+parseInt(_0x4dc8b9(0xe1))/0x7*(parseInt(_0x4dc8b9(0xc1))/0x8)+parseInt(_0x4dc8b9(0xde))/0x9;if(_0x2bfcb4===_0x269959)break;else _0x387f9c['push'](_0x387f9c['shift']());}catch(_0x2a188d){_0x387f9c['push'](_0x387f9c['shift']());}}}(_0x5c69,0xe4c69));import{Plugin as _0x27826d}from'ckeditor5/src/core.js';import{User as _0x53c945,TrackChangesService as _0x2999cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x184f2e}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x540019}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xc0a90e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5c69(){const _0x13d925=['hasSuggestion','add','connected','delete','reconnect','_saved','_bufferedRequests','7778550YJGCoz','_fetchMissingUsersForThreads','data','isOfficialPlugin','_waitForServiceReady','editor','getMany','init','TrackChangesEditing','collaboration.channelId','addUser','config','50505444wfhRWx','values','startsWith','3800965oVxWDL','catch','update','suggestionUpdated','addToReconnectionStack','state','pluginName','16hhnfmU','cloud-services-internal-error:\x20Request\x20timeout.','9358020ImmjSy','requires','attributes','set','message','isPremiumPlugin','getSuggestion','type','then','1223511HufrnT','_trackChangesService','isConnected','addSuggestionData','6596452OwHRkL','plugins','cloud-services-internal-error:\x20Not\x20connected.','find','listenTo','get','open','getUser','originalSuggestionId','8WBEVsP','TrackChangesService','connect','CloudServicesTrackChangesAdapter','from','connection','size','628749BEwDmE','off','adapter'];_0x5c69=function(){return _0x13d925;};return _0x5c69();}export class CloudServicesTrackChangesAdapter extends _0x27826d{static [_0x587d07(0xc2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2999cb)());[_0x587d07(0xd1)];[_0x587d07(0xb5)];static get[_0x587d07(0xeb)](){const _0x1b4d28=_0x587d07;return[_0x540019,_0x1b4d28(0xda),_0x184f2e];}static get[_0x587d07(0xe7)](){const _0x20ac68=_0x587d07;return _0x20ac68(0xc4);}static get[_0x587d07(0xd5)](){return!0x0;}static get[_0x587d07(0xb0)](){return!0x0;}constructor(_0x4fa5d7){const _0x56287c=_0x587d07;super(_0x4fa5d7);const _0x50591f=this[_0x56287c(0xd7)][_0x56287c(0xdd)][_0x56287c(0xbd)](_0x56287c(0xdb));this[_0x56287c(0xd1)]=new Map(),this[_0x56287c(0xb5)]=new CloudServicesTrackChangesAdapter[(_0x56287c(0xc2))](_0x50591f);}[_0x587d07(0xd9)](){const _0x38bfe4=_0x587d07,_0x382569=this[_0x38bfe4(0xd7)][_0x38bfe4(0xb9)][_0x38bfe4(0xbd)](_0x184f2e),_0x38483e=this[_0x38bfe4(0xd7)][_0x38bfe4(0xb9)][_0x38bfe4(0xbd)](_0x38bfe4(0xda));return _0x38483e[_0x38bfe4(0xca)]={'getSuggestion':async _0x1cf7c2=>{const _0x498e79=_0x38bfe4;await this[_0x498e79(0xd6)]();const _0x26dfbb=await this[_0x498e79(0xb5)][_0x498e79(0xbd)](_0x1cf7c2)[_0x498e79(0xe2)](k);return await this[_0x498e79(0xd3)]([_0x26dfbb]),_0x26dfbb;},'addSuggestion':async({id:_0x20d9c9,type:_0x3ebb7d,data:_0x3446f,originalSuggestionId:_0xb0fccf,attributes:_0x2ee59a})=>{const _0x47f13e=_0x38bfe4;await this[_0x47f13e(0xd6)]();const _0x5d38ce={'id':_0x20d9c9,'type':_0x3ebb7d,'data':_0x3446f,'originalSuggestionId':_0xb0fccf,'attributes':_0x2ee59a},_0x56a934=await this[_0x47f13e(0xb5)][_0x47f13e(0xcc)](_0x20d9c9,_0x3ebb7d,_0x3446f,_0xb0fccf,_0x2ee59a)[_0x47f13e(0xe2)](_0x2b7361=>{if(st(_0x2b7361))return new Promise(_0x158b89=>{const _0x500e6f=_0x26eb;this[_0x500e6f(0xd1)][_0x500e6f(0xae)](_0x20d9c9,{'resolve':_0x158b89,'suggestionData':_0x5d38ce});});throw _0x2b7361;});return this[_0x47f13e(0xd1)][_0x47f13e(0xce)](_0x20d9c9),_0x56a934;},'updateSuggestion':async(_0x303d16,_0x3d14b1)=>{const _0x53ef74=_0x38bfe4;if(await this[_0x53ef74(0xd6)](),_0x53ef74(0xbe)!==_0x3d14b1[_0x53ef74(0xe6)])return this[_0x53ef74(0xb5)][_0x53ef74(0xe3)](_0x303d16,_0x3d14b1)[_0x53ef74(0xe2)](k);}},this[_0x38bfe4(0xbc)](this[_0x38bfe4(0xb5)],_0x38bfe4(0xe4),(_0x5786e2,_0x35abcd)=>{const _0x9b51fb=_0x38bfe4;_0x38483e[_0x9b51fb(0xcb)](_0x35abcd['id'])&&(_0x38483e[_0x9b51fb(0xb1)](_0x35abcd['id'])[_0x9b51fb(0xec)]=_0x35abcd[_0x9b51fb(0xec)]);}),this[_0x38bfe4(0xb5)][_0x38bfe4(0xc3)](_0x382569[_0x38bfe4(0xc6)])[_0x38bfe4(0xb3)](_0x372f15=>(_0x382569[_0x38bfe4(0xe5)](this),this[_0x38bfe4(0xd3)](_0x372f15)[_0x38bfe4(0xb3)](()=>{const _0x475ebb=_0x38bfe4;for(const _0x3a485b of _0x372f15){_0x38483e[_0x475ebb(0xb7)](_0x3a485b)[_0x475ebb(0xd0)]=!0x0;}})));}async[_0x587d07(0xcf)](){const _0x168bb8=_0x587d07,_0xebc6f6=this[_0x168bb8(0xd7)][_0x168bb8(0xb9)][_0x168bb8(0xbd)](_0x168bb8(0xda)),{connection:_0x21a6a9}=this[_0x168bb8(0xd7)][_0x168bb8(0xb9)][_0x168bb8(0xbd)](_0x184f2e),_0x34064b=await this[_0x168bb8(0xb5)][_0x168bb8(0xc3)](_0x21a6a9);await this[_0x168bb8(0xd3)](_0x34064b);for(const {suggestionData:_0x5a9ca5,resolve:_0x212b00}of this[_0x168bb8(0xd1)][_0x168bb8(0xdf)]()){let _0x79bc19=_0x34064b[_0x168bb8(0xbb)](_0x2f614c=>_0x2f614c['id']===_0x5a9ca5['id']);_0x79bc19||(_0x79bc19=await this[_0x168bb8(0xb5)][_0x168bb8(0xcc)](_0x5a9ca5['id'],_0x5a9ca5[_0x168bb8(0xb2)],_0x5a9ca5[_0x168bb8(0xd4)],_0x5a9ca5[_0x168bb8(0xc0)])),_0x212b00(_0x79bc19);}for(const _0x4c33d3 of _0x34064b)_0xebc6f6[_0x168bb8(0xcb)](_0x4c33d3['id'])||_0xebc6f6[_0x168bb8(0xb7)](_0x4c33d3);}async[_0x587d07(0xd6)](){const _0x51e021=_0x587d07;this[_0x51e021(0xb5)][_0x51e021(0xb6)]||await new Promise(_0xab06fb=>{const _0x2eadae=_0x51e021;this[_0x2eadae(0xbc)](this[_0x2eadae(0xb5)],_0x2eadae(0xcd),_0x5e0e25=>{const _0x3deeab=_0x2eadae;_0x5e0e25[_0x3deeab(0xc9)](),_0xab06fb();});});}async[_0x587d07(0xd3)](_0x1a7261){const _0x25fcce=_0x587d07,_0x124cd2=this[_0x25fcce(0xd7)][_0x25fcce(0xb9)][_0x25fcce(0xbd)](_0xc0a90e),{connection:_0x46cda8}=this[_0x25fcce(0xd7)][_0x25fcce(0xb9)][_0x25fcce(0xbd)](_0x184f2e),_0x2ef8f7=new Set();for(const {authorId:_0x15f8e1}of _0x1a7261)_0x124cd2[_0x25fcce(0xbf)](_0x15f8e1)||_0x2ef8f7[_0x25fcce(0xcc)](_0x15f8e1);if(0x0===_0x2ef8f7[_0x25fcce(0xc7)])return;const _0x5f793b=await _0x53c945[_0x25fcce(0xd8)](_0x46cda8,Array[_0x25fcce(0xc5)](_0x2ef8f7));for(const _0x59cf4b of _0x5f793b)_0x124cd2[_0x25fcce(0xbf)](_0x59cf4b['id'])||_0x124cd2[_0x25fcce(0xdc)](_0x59cf4b);}}function k(_0xa6560d){if(st(_0xa6560d))return new Promise(()=>{});throw _0xa6560d;}function _0x26eb(_0x1aa836,_0xe48718){const _0x5c691c=_0x5c69();return _0x26eb=function(_0x26eb92,_0x5b89ba){_0x26eb92=_0x26eb92-0xae;let _0xe0c567=_0x5c691c[_0x26eb92];return _0xe0c567;},_0x26eb(_0x1aa836,_0xe48718);}function st(_0x1896b3){const _0x254635=_0x587d07;return _0x1896b3[_0x254635(0xaf)][_0x254635(0xe0)](_0x254635(0xba))||_0x1896b3[_0x254635(0xaf)][_0x254635(0xe0)](_0x254635(0xe9));}
23
+ const _0x4cbf72=_0x76a1;(function(_0x3bebb8,_0x7e58c4){const _0x35e256=_0x76a1,_0x53a001=_0x3bebb8();while(!![]){try{const _0x455491=parseInt(_0x35e256(0x11f))/0x1*(parseInt(_0x35e256(0x107))/0x2)+-parseInt(_0x35e256(0x103))/0x3*(parseInt(_0x35e256(0x109))/0x4)+-parseInt(_0x35e256(0x111))/0x5+-parseInt(_0x35e256(0x133))/0x6*(-parseInt(_0x35e256(0xf9))/0x7)+parseInt(_0x35e256(0x102))/0x8+parseInt(_0x35e256(0x125))/0x9+parseInt(_0x35e256(0x110))/0xa*(parseInt(_0x35e256(0x12d))/0xb);if(_0x455491===_0x7e58c4)break;else _0x53a001['push'](_0x53a001['shift']());}catch(_0x323dfc){_0x53a001['push'](_0x53a001['shift']());}}}(_0x3ae0,0x50266));function _0x3ae0(){const _0x2c6e6b=['connected','get','getMany','CloudServicesTrackChangesAdapter','message','pluginName','then','_bufferedRequests','addUser','editor','open','from','startsWith','953dbxJxU','_trackChangesService','set','delete','TrackChangesService','addToReconnectionStack','1904148HZhNuy','_fetchMissingUsersForThreads','isPremiumPlugin','suggestionUpdated','getUser','originalSuggestionId','listenTo','connect','22vxbQjI','reconnect','config','isConnected','data','requires','6icuAHL','find','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','collaboration.channelId','_waitForServiceReady','hasSuggestion','299873JcsnLB','catch','getSuggestion','state','values','update','attributes','type','cloud-services-internal-error:\x20Not\x20connected.','2805496YrAyZr','57qxsyPo','off','add','connection','178nwagyh','plugins','98664Tlmyqt','init','_saved','adapter','TrackChangesEditing','addSuggestionData','size','1593010QooymZ','1057845plSWYp'];_0x3ae0=function(){return _0x2c6e6b;};return _0x3ae0();}import{Plugin as _0x10d891}from'ckeditor5/src/core.js';import{User as _0xb4f6a0,TrackChangesService as _0x224b98}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3456bd}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x32c5ea}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x76a1(_0x535ace,_0x4dadf9){const _0x3ae09e=_0x3ae0();return _0x76a1=function(_0x76a1a6,_0xac170f){_0x76a1a6=_0x76a1a6-0xf3;let _0x286f3b=_0x3ae09e[_0x76a1a6];return _0x286f3b;},_0x76a1(_0x535ace,_0x4dadf9);}import{Users as _0x2021b7}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x10d891{static [_0x4cbf72(0x123)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x224b98)());[_0x4cbf72(0x119)];[_0x4cbf72(0x120)];static get[_0x4cbf72(0x132)](){const _0x1db372=_0x4cbf72;return[_0x32c5ea,_0x1db372(0x10d),_0x3456bd];}static get[_0x4cbf72(0x117)](){const _0x3e125c=_0x4cbf72;return _0x3e125c(0x115);}static get[_0x4cbf72(0xf5)](){return!0x0;}static get[_0x4cbf72(0x127)](){return!0x0;}constructor(_0x405127){const _0x4a938a=_0x4cbf72;super(_0x405127);const _0x1b2211=this[_0x4a938a(0x11b)][_0x4a938a(0x12f)][_0x4a938a(0x113)](_0x4a938a(0xf6));this[_0x4a938a(0x119)]=new Map(),this[_0x4a938a(0x120)]=new CloudServicesTrackChangesAdapter[(_0x4a938a(0x123))](_0x1b2211);}[_0x4cbf72(0x10a)](){const _0x39102c=_0x4cbf72,_0x525d13=this[_0x39102c(0x11b)][_0x39102c(0x108)][_0x39102c(0x113)](_0x3456bd),_0x1b9763=this[_0x39102c(0x11b)][_0x39102c(0x108)][_0x39102c(0x113)](_0x39102c(0x10d));return _0x1b9763[_0x39102c(0x10c)]={'getSuggestion':async _0x3023bb=>{const _0x4b1f94=_0x39102c;await this[_0x4b1f94(0xf7)]();const _0x1dec1d=await this[_0x4b1f94(0x120)][_0x4b1f94(0x113)](_0x3023bb)[_0x4b1f94(0xfa)](k);return await this[_0x4b1f94(0x126)]([_0x1dec1d]),_0x1dec1d;},'addSuggestion':async({id:_0x2fa27c,type:_0x5b7e22,data:_0x4d1c48,originalSuggestionId:_0xaa0801,attributes:_0x4a8911})=>{const _0x302785=_0x39102c;await this[_0x302785(0xf7)]();const _0x3e913d={'id':_0x2fa27c,'type':_0x5b7e22,'data':_0x4d1c48,'originalSuggestionId':_0xaa0801,'attributes':_0x4a8911},_0x55e7f0=await this[_0x302785(0x120)][_0x302785(0x105)](_0x2fa27c,_0x5b7e22,_0x4d1c48,_0xaa0801,_0x4a8911)[_0x302785(0xfa)](_0x4c10b0=>{if(_(_0x4c10b0))return new Promise(_0xe1cef=>{const _0x394d27=_0x76a1;this[_0x394d27(0x119)][_0x394d27(0x121)](_0x2fa27c,{'resolve':_0xe1cef,'suggestionData':_0x3e913d});});throw _0x4c10b0;});return this[_0x302785(0x119)][_0x302785(0x122)](_0x2fa27c),_0x55e7f0;},'updateSuggestion':async(_0x3870dc,_0x189168)=>{const _0x1346ba=_0x39102c;if(await this[_0x1346ba(0xf7)](),_0x1346ba(0x11c)!==_0x189168[_0x1346ba(0xfc)])return this[_0x1346ba(0x120)][_0x1346ba(0xfe)](_0x3870dc,_0x189168)[_0x1346ba(0xfa)](k);}},this[_0x39102c(0x12b)](this[_0x39102c(0x120)],_0x39102c(0x128),(_0x2d092b,_0xbdc2af)=>{const _0x10d2ae=_0x39102c;_0x1b9763[_0x10d2ae(0xf8)](_0xbdc2af['id'])&&(_0x1b9763[_0x10d2ae(0xfb)](_0xbdc2af['id'])[_0x10d2ae(0xff)]=_0xbdc2af[_0x10d2ae(0xff)]);}),this[_0x39102c(0x120)][_0x39102c(0x12c)](_0x525d13[_0x39102c(0x106)])[_0x39102c(0x118)](_0x54efd8=>(_0x525d13[_0x39102c(0x124)](this),this[_0x39102c(0x126)](_0x54efd8)[_0x39102c(0x118)](()=>{const _0x4b1f47=_0x39102c;for(const _0x4f5814 of _0x54efd8){_0x1b9763[_0x4b1f47(0x10e)](_0x4f5814)[_0x4b1f47(0x10b)]=!0x0;}})));}async[_0x4cbf72(0x12e)](){const _0x4123a1=_0x4cbf72,_0x3900ce=this[_0x4123a1(0x11b)][_0x4123a1(0x108)][_0x4123a1(0x113)](_0x4123a1(0x10d)),{connection:_0xee8bac}=this[_0x4123a1(0x11b)][_0x4123a1(0x108)][_0x4123a1(0x113)](_0x3456bd),_0x8eba9=await this[_0x4123a1(0x120)][_0x4123a1(0x12c)](_0xee8bac);await this[_0x4123a1(0x126)](_0x8eba9);for(const {suggestionData:_0x2bf645,resolve:_0x3208e0}of this[_0x4123a1(0x119)][_0x4123a1(0xfd)]()){let _0x3c406c=_0x8eba9[_0x4123a1(0xf3)](_0x27de27=>_0x27de27['id']===_0x2bf645['id']);_0x3c406c||(_0x3c406c=await this[_0x4123a1(0x120)][_0x4123a1(0x105)](_0x2bf645['id'],_0x2bf645[_0x4123a1(0x100)],_0x2bf645[_0x4123a1(0x131)],_0x2bf645[_0x4123a1(0x12a)])),_0x3208e0(_0x3c406c);}for(const _0x458d05 of _0x8eba9)_0x3900ce[_0x4123a1(0xf8)](_0x458d05['id'])||_0x3900ce[_0x4123a1(0x10e)](_0x458d05);}async[_0x4cbf72(0xf7)](){const _0x20eef7=_0x4cbf72;this[_0x20eef7(0x120)][_0x20eef7(0x130)]||await new Promise(_0x5e9d90=>{const _0x199a77=_0x20eef7;this[_0x199a77(0x12b)](this[_0x199a77(0x120)],_0x199a77(0x112),_0x4a50e4=>{const _0x4a3cfc=_0x199a77;_0x4a50e4[_0x4a3cfc(0x104)](),_0x5e9d90();});});}async[_0x4cbf72(0x126)](_0x1f4be2){const _0x5c2f3f=_0x4cbf72,_0x5d973f=this[_0x5c2f3f(0x11b)][_0x5c2f3f(0x108)][_0x5c2f3f(0x113)](_0x2021b7),{connection:_0x18149c}=this[_0x5c2f3f(0x11b)][_0x5c2f3f(0x108)][_0x5c2f3f(0x113)](_0x3456bd),_0x522fd3=new Set();for(const {authorId:_0x1ff704}of _0x1f4be2)_0x5d973f[_0x5c2f3f(0x129)](_0x1ff704)||_0x522fd3[_0x5c2f3f(0x105)](_0x1ff704);if(0x0===_0x522fd3[_0x5c2f3f(0x10f)])return;const _0x3e4068=await _0xb4f6a0[_0x5c2f3f(0x114)](_0x18149c,Array[_0x5c2f3f(0x11d)](_0x522fd3));for(const _0x1a5c9d of _0x3e4068)_0x5d973f[_0x5c2f3f(0x129)](_0x1a5c9d['id'])||_0x5d973f[_0x5c2f3f(0x11a)](_0x1a5c9d);}}function k(_0x3a4bc9){if(_(_0x3a4bc9))return new Promise(()=>{});throw _0x3a4bc9;}function _(_0x1c5493){const _0x4ed979=_0x4cbf72;return _0x1c5493[_0x4ed979(0x116)][_0x4ed979(0x11e)](_0x4ed979(0x101))||_0x1c5493[_0x4ed979(0x116)][_0x4ed979(0x11e)](_0x4ed979(0xf4));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x55757b=_0x212f;function _0x212f(_0x15314e,_0x2a6670){var _0x47cabc=_0x47ca();return _0x212f=function(_0x212ff4,_0x3c5c82){_0x212ff4=_0x212ff4-0x131;var _0xc21b0a=_0x47cabc[_0x212ff4];return _0xc21b0a;},_0x212f(_0x15314e,_0x2a6670);}(function(_0x64df52,_0x38c091){var _0x1691b6=_0x212f,_0x3b3750=_0x64df52();while(!![]){try{var _0x219d68=-parseInt(_0x1691b6(0x13c))/0x1+-parseInt(_0x1691b6(0x132))/0x2+-parseInt(_0x1691b6(0x135))/0x3*(-parseInt(_0x1691b6(0x13d))/0x4)+-parseInt(_0x1691b6(0x139))/0x5*(-parseInt(_0x1691b6(0x137))/0x6)+-parseInt(_0x1691b6(0x13b))/0x7+parseInt(_0x1691b6(0x13e))/0x8+parseInt(_0x1691b6(0x13a))/0x9;if(_0x219d68===_0x38c091)break;else _0x3b3750['push'](_0x3b3750['shift']());}catch(_0x27dee8){_0x3b3750['push'](_0x3b3750['shift']());}}}(_0x47ca,0x867b9));import{Plugin as _0x28b5fe}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x191992}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3a65f6}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x28b5fe{static get[_0x55757b(0x131)](){var _0x540397=_0x55757b;return[_0x3a65f6,_0x191992,_0x540397(0x136)];}static get[_0x55757b(0x138)](){var _0x78d352=_0x55757b;return _0x78d352(0x13f);}static get[_0x55757b(0x133)](){return!0x0;}static get[_0x55757b(0x134)](){return!0x0;}}function _0x47ca(){var _0x1d7b58=['RealTimeCollaborativeTrackChanges','requires','1329478WWjeCM','isOfficialPlugin','isPremiumPlugin','636ZqtfeZ','TrackChanges','241134KkkYsj','pluginName','65UUKGci','9706158SGhKPX','3124604wwSWmT','869542bHcnky','8060URCCDQ','4027160RxgLcw'];_0x47ca=function(){return _0x1d7b58;};return _0x47ca();}
23
+ function _0x17b5(){var _0x3551c0=['808416ziwdIM','240273FHqWLI','7JeNXFc','isPremiumPlugin','4215768CHqjQw','RealTimeCollaborativeTrackChanges','214740NwCppk','TrackChanges','159624UhdPWT','pluginName','requires','isOfficialPlugin','236329ypslBE','266254rDmDXt'];_0x17b5=function(){return _0x3551c0;};return _0x17b5();}function _0x44bd(_0x5bd6d8,_0x2023dd){var _0x17b54d=_0x17b5();return _0x44bd=function(_0x44bd55,_0x4de178){_0x44bd55=_0x44bd55-0x192;var _0x43269e=_0x17b54d[_0x44bd55];return _0x43269e;},_0x44bd(_0x5bd6d8,_0x2023dd);}var _0x3aeb0e=_0x44bd;(function(_0x1dd831,_0x532e62){var _0x104e71=_0x44bd,_0x34a01d=_0x1dd831();while(!![]){try{var _0x3b7b4b=-parseInt(_0x104e71(0x19f))/0x1+parseInt(_0x104e71(0x192))/0x2+-parseInt(_0x104e71(0x194))/0x3+-parseInt(_0x104e71(0x193))/0x4+parseInt(_0x104e71(0x199))/0x5+-parseInt(_0x104e71(0x19b))/0x6+parseInt(_0x104e71(0x195))/0x7*(parseInt(_0x104e71(0x197))/0x8);if(_0x3b7b4b===_0x532e62)break;else _0x34a01d['push'](_0x34a01d['shift']());}catch(_0x11b9ea){_0x34a01d['push'](_0x34a01d['shift']());}}}(_0x17b5,0x268de));import{Plugin as _0x50194b}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3a681b}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5b859f}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x50194b{static get[_0x3aeb0e(0x19d)](){var _0x5eb2be=_0x3aeb0e;return[_0x5b859f,_0x3a681b,_0x5eb2be(0x19a)];}static get[_0x3aeb0e(0x19c)](){var _0x414695=_0x3aeb0e;return _0x414695(0x198);}static get[_0x3aeb0e(0x19e)](){return!0x0;}static get[_0x3aeb0e(0x196)](){return!0x0;}}