@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.4 → 46.0.1-alpha.6

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 _0x39e3ae=_0x5c80;function _0x29ff(){const _0x1fada0=['_domEmitter','addToReconnectionStack','connected','initialReconnectionInterval','9518vNiQhA','plugins','CONNECTED','context','websocketgateway-invalid-plugin-interface','Connected\x20users\x20limit\x20exceeded','removeFromReconnectionStack','define','showWarning','3554159ZpkrIo','limitExceeded','isInReconnectionStack','websocketgateway-plugin-already-registered','token','bind','offline','1038426QYSbsd','change:me','reconnect','_shouldPluginsReconnect','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.','pluginName','cloudServices.connectionTimeout','_isBrowserOffline','all','CloudServices','listenTo','code','WebSocketGateway','CONNECTING','webSocketUrl','connection','4242855ZwCSAP','then','disconnect','real-time-collaboration','3132MwdSZj','cloudservices-init','error','destroy','config','set','websocketgateway-missing-websocket-url','function','state','1958696lHhXds','stopListening','isPremiumPlugin','get','delete','isOfficialPlugin','cloudServices.requestTimeout','cloudservices-reconnection-error','_reconnect','from','catch','4559094gpfufV','has','requires','init','_reconnectionStack','711WQybSR','add','DISCONNECTED','websocketgateway-missing-token','online','20152xjdOqn','connect','constructor'];_0x29ff=function(){return _0x1fada0;};return _0x29ff();}(function(_0x3448f7,_0x5b0094){const _0x627821=_0x5c80,_0x1747ef=_0x3448f7();while(!![]){try{const _0x4f4695=-parseInt(_0x627821(0x13a))/0x1+parseInt(_0x627821(0x173))/0x2*(parseInt(_0x627821(0x167))/0x3)+-parseInt(_0x627821(0x157))/0x4+parseInt(_0x627821(0x14a))/0x5+parseInt(_0x627821(0x162))/0x6+parseInt(_0x627821(0x17c))/0x7+-parseInt(_0x627821(0x16c))/0x8*(parseInt(_0x627821(0x14e))/0x9);if(_0x4f4695===_0x5b0094)break;else _0x1747ef['push'](_0x1747ef['shift']());}catch(_0x4e2f7a){_0x1747ef['push'](_0x1747ef['shift']());}}}(_0x29ff,0xccea0));import{ContextPlugin as _0x865b20}from'ckeditor5/src/core.js';function _0x5c80(_0x429d40,_0x5c02fd){const _0x29ff55=_0x29ff();return _0x5c80=function(_0x5c800a,_0x478ff8){_0x5c800a=_0x5c800a-0x13a;let _0x34219e=_0x29ff55[_0x5c800a];return _0x34219e;},_0x5c80(_0x429d40,_0x5c02fd);}import{DomEmitterMixin as _0x880c6e,CKEditorError as _0xa543cb}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3fc0b3,WEB_SOCKET_GATEWAY_STATES as _0x535b12}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0xab25fe}from'ckeditor5/src/ui.js';class n extends _0x865b20{static [_0x39e3ae(0x146)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3fc0b3)());static [_0x39e3ae(0x172)]=0x3e8;[_0x39e3ae(0x149)];[_0x39e3ae(0x166)];[_0x39e3ae(0x13d)];[_0x39e3ae(0x16f)];static get[_0x39e3ae(0x164)](){const _0xe01175=_0x39e3ae;return[_0xe01175(0x143),_0xab25fe];}static get[_0x39e3ae(0x13f)](){const _0x225e7c=_0x39e3ae;return _0x225e7c(0x146);}static get[_0x39e3ae(0x15c)](){return!0x0;}static get[_0x39e3ae(0x159)](){return!0x0;}constructor(_0xbbcbed){const _0xf2d87e=_0x39e3ae;super(_0xbbcbed),this[_0xf2d87e(0x153)](_0xf2d87e(0x156),_0x535b12[_0xf2d87e(0x175)]),this[_0xf2d87e(0x153)](_0xf2d87e(0x141),!0x1),this[_0xf2d87e(0x166)]=new Set(),this[_0xf2d87e(0x13d)]=!0x1,this[_0xf2d87e(0x16f)]=new(_0x880c6e())();}[_0x39e3ae(0x165)](){const _0x23efe1=_0x39e3ae,_0x3f11bb=this[_0x23efe1(0x176)],_0x56f269=_0x3f11bb[_0x23efe1(0x174)][_0x23efe1(0x15a)](_0x23efe1(0x143)),_0x16fd4a=_0x3f11bb[_0x23efe1(0x174)][_0x23efe1(0x15a)](_0xab25fe);if(!_0x56f269[_0x23efe1(0x180)])throw new _0xa543cb(_0x23efe1(0x16a),this);if(!_0x56f269[_0x23efe1(0x148)])throw new _0xa543cb(_0x23efe1(0x154),this);return this[_0x23efe1(0x16f)][_0x23efe1(0x144)](window,_0x23efe1(0x182),()=>this[_0x23efe1(0x141)]=!0x0),this[_0x23efe1(0x16f)][_0x23efe1(0x144)](window,_0x23efe1(0x16b),()=>this[_0x23efe1(0x141)]=!0x1),this[_0x23efe1(0x176)][_0x23efe1(0x152)][_0x23efe1(0x17a)](_0x23efe1(0x140),0xa),this[_0x23efe1(0x176)][_0x23efe1(0x152)][_0x23efe1(0x17a)](_0x23efe1(0x15d),0x14),n[_0x23efe1(0x146)][_0x23efe1(0x16d)](_0x56f269[_0x23efe1(0x180)],_0x56f269[_0x23efe1(0x148)],{'timeout':0x3e8*this[_0x23efe1(0x176)][_0x23efe1(0x152)][_0x23efe1(0x15a)](_0x23efe1(0x140)),'requestTimeout':0x3e8*this[_0x23efe1(0x176)][_0x23efe1(0x152)][_0x23efe1(0x15a)](_0x23efe1(0x15d))})[_0x23efe1(0x14b)](_0x2cc235=>{const _0x442d36=_0x23efe1;if(this[_0x442d36(0x149)]=_0x2cc235,this[_0x442d36(0x181)](_0x442d36(0x156))['to'](_0x2cc235,_0x442d36(0x156),this,_0x442d36(0x141),(_0x166c58,_0x574073)=>(_0x442d36(0x171)!==_0x166c58&&(this[_0x442d36(0x13d)]=!0x0),_0x574073||_0x166c58!==_0x535b12[_0x442d36(0x175)]?_0x535b12[_0x442d36(0x169)]:this[_0x442d36(0x156)]==_0x535b12[_0x442d36(0x169)]&&this[_0x442d36(0x13d)]?(this[_0x442d36(0x13d)]=!0x1,this[_0x442d36(0x15f)](),_0x535b12[_0x442d36(0x147)]):_0x535b12[_0x442d36(0x175)])),this[_0x442d36(0x149)]['on'](_0x442d36(0x150),(_0x5349b9,_0x42bdfb)=>{const _0x66233a=_0x442d36;if(_0x66233a(0x17d)!==_0x42bdfb[_0x66233a(0x145)])throw console[_0x66233a(0x150)](_0x42bdfb),new _0xa543cb(_0x66233a(0x14f),null,{'originalError':_0x42bdfb});_0x16fd4a[_0x66233a(0x17b)](_0x66233a(0x13e),{'title':_0x66233a(0x178),'namespace':_0x66233a(0x14d)});}),!_0x2cc235['me'])return new Promise(_0xbb51a1=>_0x2cc235['on'](_0x442d36(0x13b),_0xbb51a1));})[_0x23efe1(0x161)](_0xc00411=>{const _0x881b4e=_0x23efe1;throw console[_0x881b4e(0x150)](_0xc00411),new _0xa543cb(_0x881b4e(0x14f),null,{'originalError':_0xc00411});});}[_0x39e3ae(0x170)](_0x2c2b4d){const _0x396337=_0x39e3ae;if(_0x396337(0x155)!=typeof _0x2c2b4d[_0x396337(0x13c)])throw new _0xa543cb(_0x396337(0x177),this);if(this[_0x396337(0x17e)](_0x2c2b4d))throw new _0xa543cb(_0x396337(0x17f),this,{'name':_0x2c2b4d[_0x396337(0x16e)][_0x396337(0x13f)]});this[_0x396337(0x166)][_0x396337(0x168)](_0x2c2b4d);}[_0x39e3ae(0x179)](_0x375de1){const _0x2754ac=_0x39e3ae;this[_0x2754ac(0x166)][_0x2754ac(0x15b)](_0x375de1);}[_0x39e3ae(0x17e)](_0x3e6eaf){const _0x5e6038=_0x39e3ae;return this[_0x5e6038(0x166)][_0x5e6038(0x163)](_0x3e6eaf);}[_0x39e3ae(0x15f)](){const _0x480c2=_0x39e3ae;return this[_0x480c2(0x149)][_0x480c2(0x13c)]()[_0x480c2(0x14b)](()=>Promise[_0x480c2(0x142)](Array[_0x480c2(0x160)](this[_0x480c2(0x166)],_0x44aee7=>_0x44aee7[_0x480c2(0x13c)]())))[_0x480c2(0x14b)](()=>this[_0x480c2(0x156)]=_0x535b12[_0x480c2(0x175)])[_0x480c2(0x161)](_0x57e20e=>{const _0x164ac3=_0x480c2;throw console[_0x164ac3(0x150)](_0x57e20e),new _0xa543cb(_0x164ac3(0x15e),this[_0x164ac3(0x176)]);});}[_0x39e3ae(0x14c)](){const _0xf9cb56=_0x39e3ae;this[_0xf9cb56(0x149)]&&this[_0xf9cb56(0x149)][_0xf9cb56(0x14c)](),this[_0xf9cb56(0x156)]=_0x535b12[_0xf9cb56(0x169)],this[_0xf9cb56(0x16f)][_0xf9cb56(0x158)]();}[_0x39e3ae(0x151)](){const _0x548fea=_0x39e3ae;this[_0x548fea(0x14c)](),super[_0x548fea(0x151)]();}}export{n as WebSocketGateway};
23
+ function _0x1122(_0x104ba4,_0x132d81){const _0x4f2151=_0x4f21();return _0x1122=function(_0x11229b,_0x507b4e){_0x11229b=_0x11229b-0x1b7;let _0x199714=_0x4f2151[_0x11229b];return _0x199714;},_0x1122(_0x104ba4,_0x132d81);}const _0x49ca4b=_0x1122;(function(_0x150894,_0xf02e57){const _0x3eba87=_0x1122,_0x431b78=_0x150894();while(!![]){try{const _0x5ce65c=parseInt(_0x3eba87(0x1e0))/0x1+parseInt(_0x3eba87(0x1e6))/0x2*(parseInt(_0x3eba87(0x1fd))/0x3)+-parseInt(_0x3eba87(0x1c1))/0x4*(parseInt(_0x3eba87(0x1d4))/0x5)+parseInt(_0x3eba87(0x1f5))/0x6*(-parseInt(_0x3eba87(0x1cc))/0x7)+-parseInt(_0x3eba87(0x1e9))/0x8+-parseInt(_0x3eba87(0x1ff))/0x9+parseInt(_0x3eba87(0x1dd))/0xa;if(_0x5ce65c===_0xf02e57)break;else _0x431b78['push'](_0x431b78['shift']());}catch(_0x2717c3){_0x431b78['push'](_0x431b78['shift']());}}}(_0x4f21,0x6292e));import{ContextPlugin as _0x2676ec}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x42b9ea,CKEditorError as _0x23e694}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1bf3c8,WEB_SOCKET_GATEWAY_STATES as _0x1b181c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x344ece}from'ckeditor5/src/ui.js';class n extends _0x2676ec{static [_0x49ca4b(0x1f9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1bf3c8)());static [_0x49ca4b(0x1c0)]=0x3e8;[_0x49ca4b(0x1e7)];[_0x49ca4b(0x1f3)];[_0x49ca4b(0x1d8)];[_0x49ca4b(0x1d9)];static get[_0x49ca4b(0x1c8)](){const _0x1af973=_0x49ca4b;return[_0x1af973(0x1f8),_0x344ece];}static get[_0x49ca4b(0x1c6)](){const _0x4fe0fc=_0x49ca4b;return _0x4fe0fc(0x1f9);}static get[_0x49ca4b(0x1eb)](){return!0x0;}static get[_0x49ca4b(0x1d5)](){return!0x0;}constructor(_0x3c5f3e){const _0x57b28e=_0x49ca4b;super(_0x3c5f3e),this[_0x57b28e(0x1fb)](_0x57b28e(0x1f4),_0x1b181c[_0x57b28e(0x1d7)]),this[_0x57b28e(0x1fb)](_0x57b28e(0x1c5),!0x1),this[_0x57b28e(0x1f3)]=new Set(),this[_0x57b28e(0x1d8)]=!0x1,this[_0x57b28e(0x1d9)]=new(_0x42b9ea())();}[_0x49ca4b(0x1db)](){const _0x3c8540=_0x49ca4b,_0x5bc161=this[_0x3c8540(0x1e3)],_0x1f6f9e=_0x5bc161[_0x3c8540(0x1da)][_0x3c8540(0x1e5)](_0x3c8540(0x1f8)),_0x5e5cae=_0x5bc161[_0x3c8540(0x1da)][_0x3c8540(0x1e5)](_0x344ece);if(!_0x1f6f9e[_0x3c8540(0x1d1)])throw new _0x23e694(_0x3c8540(0x1c7),this);if(!_0x1f6f9e[_0x3c8540(0x1e8)])throw new _0x23e694(_0x3c8540(0x1b8),this);return this[_0x3c8540(0x1d9)][_0x3c8540(0x1d2)](window,_0x3c8540(0x1c4),()=>this[_0x3c8540(0x1c5)]=!0x0),this[_0x3c8540(0x1d9)][_0x3c8540(0x1d2)](window,_0x3c8540(0x1ea),()=>this[_0x3c8540(0x1c5)]=!0x1),this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1c2)](_0x3c8540(0x1b7),0xa),this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1c2)](_0x3c8540(0x1d3),0x14),n[_0x3c8540(0x1f9)][_0x3c8540(0x1dc)](_0x1f6f9e[_0x3c8540(0x1d1)],_0x1f6f9e[_0x3c8540(0x1e8)],{'timeout':0x3e8*this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1e5)](_0x3c8540(0x1b7)),'requestTimeout':0x3e8*this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1e5)](_0x3c8540(0x1d3))})[_0x3c8540(0x1d0)](_0x32e08b=>{const _0x3adada=_0x3c8540;if(this[_0x3adada(0x1e7)]=_0x32e08b,this[_0x3adada(0x1f0)](_0x3adada(0x1f4))['to'](_0x32e08b,_0x3adada(0x1f4),this,_0x3adada(0x1c5),(_0x26dcca,_0x42771c)=>(_0x3adada(0x1df)!==_0x26dcca&&(this[_0x3adada(0x1d8)]=!0x0),_0x42771c||_0x26dcca!==_0x1b181c[_0x3adada(0x1d7)]?_0x1b181c[_0x3adada(0x1b9)]:this[_0x3adada(0x1f4)]==_0x1b181c[_0x3adada(0x1b9)]&&this[_0x3adada(0x1d8)]?(this[_0x3adada(0x1d8)]=!0x1,this[_0x3adada(0x1ec)](),_0x1b181c[_0x3adada(0x1f1)]):_0x1b181c[_0x3adada(0x1d7)])),this[_0x3adada(0x1e7)]['on'](_0x3adada(0x1ca),(_0x4d228d,_0x144eee)=>{const _0x3852f8=_0x3adada;if(_0x3852f8(0x1ce)!==_0x144eee[_0x3852f8(0x1c3)])throw console[_0x3852f8(0x1ca)](_0x144eee),new _0x23e694(_0x3852f8(0x1cf),null,{'originalError':_0x144eee});_0x5e5cae[_0x3852f8(0x200)](_0x3852f8(0x1fe),{'title':_0x3852f8(0x1bf),'namespace':_0x3852f8(0x1e2)});}),!_0x32e08b['me'])return new Promise(_0x33c4fc=>_0x32e08b['on'](_0x3adada(0x1fc),_0x33c4fc));})[_0x3c8540(0x1ef)](_0x3d1d31=>{const _0x13e91a=_0x3c8540;throw console[_0x13e91a(0x1ca)](_0x3d1d31),new _0x23e694(_0x13e91a(0x1cf),null,{'originalError':_0x3d1d31});});}[_0x49ca4b(0x1c9)](_0x272a10){const _0x1df838=_0x49ca4b;if(_0x1df838(0x1ba)!=typeof _0x272a10[_0x1df838(0x1f2)])throw new _0x23e694(_0x1df838(0x1f6),this);if(this[_0x1df838(0x1be)](_0x272a10))throw new _0x23e694(_0x1df838(0x1f7),this,{'name':_0x272a10[_0x1df838(0x1ed)][_0x1df838(0x1c6)]});this[_0x1df838(0x1f3)][_0x1df838(0x1bd)](_0x272a10);}[_0x49ca4b(0x1cb)](_0x12c6bb){const _0x25f665=_0x49ca4b;this[_0x25f665(0x1f3)][_0x25f665(0x1ee)](_0x12c6bb);}[_0x49ca4b(0x1be)](_0x59f791){const _0x285e47=_0x49ca4b;return this[_0x285e47(0x1f3)][_0x285e47(0x1fa)](_0x59f791);}[_0x49ca4b(0x1ec)](){const _0x25e407=_0x49ca4b;return this[_0x25e407(0x1e7)][_0x25e407(0x1f2)]()[_0x25e407(0x1d0)](()=>Promise[_0x25e407(0x1e1)](Array[_0x25e407(0x1e4)](this[_0x25e407(0x1f3)],_0x563761=>_0x563761[_0x25e407(0x1f2)]())))[_0x25e407(0x1d0)](()=>this[_0x25e407(0x1f4)]=_0x1b181c[_0x25e407(0x1d7)])[_0x25e407(0x1ef)](_0x22ddd8=>{const _0x264a7e=_0x25e407;throw console[_0x264a7e(0x1ca)](_0x22ddd8),new _0x23e694(_0x264a7e(0x1bb),this[_0x264a7e(0x1e3)]);});}[_0x49ca4b(0x1de)](){const _0x513896=_0x49ca4b;this[_0x513896(0x1e7)]&&this[_0x513896(0x1e7)][_0x513896(0x1de)](),this[_0x513896(0x1f4)]=_0x1b181c[_0x513896(0x1b9)],this[_0x513896(0x1d9)][_0x513896(0x1bc)]();}[_0x49ca4b(0x1d6)](){const _0x544833=_0x49ca4b;this[_0x544833(0x1de)](),super[_0x544833(0x1d6)]();}}function _0x4f21(){const _0x11b4ea=['has','set','change:me','3210mLokov','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.','5317776ivoNmj','showWarning','cloudServices.connectionTimeout','websocketgateway-missing-websocket-url','DISCONNECTED','function','cloudservices-reconnection-error','stopListening','add','isInReconnectionStack','Connected\x20users\x20limit\x20exceeded','initialReconnectionInterval','8noiVvh','define','code','offline','_isBrowserOffline','pluginName','websocketgateway-missing-token','requires','addToReconnectionStack','error','removeFromReconnectionStack','239008ueDiSZ','config','limitExceeded','cloudservices-init','then','token','listenTo','cloudServices.requestTimeout','771730DfVIpS','isPremiumPlugin','destroy','CONNECTED','_shouldPluginsReconnect','_domEmitter','plugins','init','connect','12752900rLnsHl','disconnect','connected','363724PmqNwk','all','real-time-collaboration','context','from','get','452cLfsFa','connection','webSocketUrl','2708096YRVLAJ','online','isOfficialPlugin','_reconnect','constructor','delete','catch','bind','CONNECTING','reconnect','_reconnectionStack','state','42FvtUmi','websocketgateway-invalid-plugin-interface','websocketgateway-plugin-already-registered','CloudServices','WebSocketGateway'];_0x4f21=function(){return _0x11b4ea;};return _0x4f21();}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4f284d=_0x1ec5;(function(_0x3119cf,_0x416bd9){var _0x38730d=_0x1ec5,_0x29299a=_0x3119cf();while(!![]){try{var _0x4b5571=parseInt(_0x38730d(0x80))/0x1+parseInt(_0x38730d(0x77))/0x2*(parseInt(_0x38730d(0x7d))/0x3)+-parseInt(_0x38730d(0x78))/0x4*(parseInt(_0x38730d(0x7b))/0x5)+-parseInt(_0x38730d(0x7c))/0x6+parseInt(_0x38730d(0x75))/0x7+-parseInt(_0x38730d(0x76))/0x8+parseInt(_0x38730d(0x7e))/0x9*(parseInt(_0x38730d(0x81))/0xa);if(_0x4b5571===_0x416bd9)break;else _0x29299a['push'](_0x29299a['shift']());}catch(_0x2c9bd3){_0x29299a['push'](_0x29299a['shift']());}}}(_0x4446,0x90b01));import{Plugin as _0x336f42}from'ckeditor5/src/core.js';function _0x4446(){var _0x37084c=['8406656gdDQEP','9406VMHtiC','1435268OuQmKQ','isOfficialPlugin','pluginName','10QUOdxj','6899214QtpAQV','672DvJjVV','9CWohnN','RealTimeCollaborativeEditing','404440uBwMQd','10388030yFrjCV','requires','isPremiumPlugin','7099827BokVEg'];_0x4446=function(){return _0x37084c;};return _0x4446();}import{RealTimeCollaborationClient as _0x29c35f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1ec5(_0x54ae60,_0x230115){var _0x444670=_0x4446();return _0x1ec5=function(_0x1ec50c,_0xda9b0c){_0x1ec50c=_0x1ec50c-0x73;var _0xe9b51b=_0x444670[_0x1ec50c];return _0xe9b51b;},_0x1ec5(_0x54ae60,_0x230115);}export class RealTimeCollaborativeEditing extends _0x336f42{static get[_0x4f284d(0x73)](){return[_0x29c35f];}static get[_0x4f284d(0x7a)](){var _0xb427b8=_0x4f284d;return _0xb427b8(0x7f);}static get[_0x4f284d(0x79)](){return!0x0;}static get[_0x4f284d(0x74)](){return!0x0;}}
23
+ function _0x1710(){var _0x240897=['pluginName','371xKCOqA','RealTimeCollaborativeEditing','799574kyiXQG','5862uDdoAs','isPremiumPlugin','769945WgxRmw','15496SXGgyd','1XXMSdI','359628vuKBWK','5938449uAiCIG','1548LWLcnb','isOfficialPlugin','requires','4tMQHsc','3772690xCqqLM'];_0x1710=function(){return _0x240897;};return _0x1710();}var _0x13023d=_0x3ccb;function _0x3ccb(_0x4fd0eb,_0x490cca){var _0x171012=_0x1710();return _0x3ccb=function(_0x3ccb39,_0x158c6a){_0x3ccb39=_0x3ccb39-0x1b1;var _0x126a1e=_0x171012[_0x3ccb39];return _0x126a1e;},_0x3ccb(_0x4fd0eb,_0x490cca);}(function(_0x521df8,_0x3055bf){var _0x4a2cb2=_0x3ccb,_0x3c86cb=_0x521df8();while(!![]){try{var _0x3e41d9=parseInt(_0x4a2cb2(0x1bd))/0x1*(parseInt(_0x4a2cb2(0x1b8))/0x2)+-parseInt(_0x4a2cb2(0x1be))/0x3*(parseInt(_0x4a2cb2(0x1b3))/0x4)+-parseInt(_0x4a2cb2(0x1bb))/0x5+parseInt(_0x4a2cb2(0x1b9))/0x6*(parseInt(_0x4a2cb2(0x1b6))/0x7)+parseInt(_0x4a2cb2(0x1bc))/0x8*(parseInt(_0x4a2cb2(0x1c0))/0x9)+parseInt(_0x4a2cb2(0x1b4))/0xa+-parseInt(_0x4a2cb2(0x1bf))/0xb;if(_0x3e41d9===_0x3055bf)break;else _0x3c86cb['push'](_0x3c86cb['shift']());}catch(_0x2d87db){_0x3c86cb['push'](_0x3c86cb['shift']());}}}(_0x1710,0x55075));import{Plugin as _0x18ac9b}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x44ed9e}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x18ac9b{static get[_0x13023d(0x1b2)](){return[_0x44ed9e];}static get[_0x13023d(0x1b5)](){var _0x29a482=_0x13023d;return _0x29a482(0x1b7);}static get[_0x13023d(0x1b1)](){return!0x0;}static get[_0x13023d(0x1ba)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x129bee=_0x1929;(function(_0x3b9658,_0x42dc0f){const _0x4d3200=_0x1929,_0x34d9a1=_0x3b9658();while(!![]){try{const _0x46372e=-parseInt(_0x4d3200(0xe0))/0x1+-parseInt(_0x4d3200(0x100))/0x2+parseInt(_0x4d3200(0xdd))/0x3*(-parseInt(_0x4d3200(0xb8))/0x4)+-parseInt(_0x4d3200(0xa6))/0x5+-parseInt(_0x4d3200(0xd3))/0x6+-parseInt(_0x4d3200(0xe6))/0x7*(-parseInt(_0x4d3200(0xd7))/0x8)+parseInt(_0x4d3200(0x113))/0x9;if(_0x46372e===_0x42dc0f)break;else _0x34d9a1['push'](_0x34d9a1['shift']());}catch(_0x376728){_0x34d9a1['push'](_0x34d9a1['shift']());}}}(_0xf074,0x7d765));import{Plugin as _0x3fb36d}from'ckeditor5/src/core.js';import{version as _0x5991de}from'ckeditor5/src/utils.js';function _0xf074(){const _0x4d0d76=['isPremiumPlugin','cloud-services-internal-error:\x20Request\x20timeout.','max','code','cloud-services-internal-error:\x20Not\x20connected.','1649244dLrIyj','getUser','_handleRevisionsUpdate','authors','_lastRequestId','change:_isPendingUpdate','RevisionTracker','revisionsUpdated','addRevisionData','init','plugins','RevisionHistory','reverse','connect','state','_offset','has','serverHistory','creatorId','24257988mJbFqj','cloudServices.bundleVersion','_bufferedUpdates','_getLatestVersionFromServerOperations','isBundleUploaded','createdAt','711170OZrmTi','currentRevision','_fixRevision','_preventResendingRevisionData','getMany','CloudServicesRevisionHistoryAdapter','remove','sendBufferedUpdates','_revisionTracker','map','_revisions','config','marker','affectsData','pluginName','getOperations','connected','CONNECTED','163384VzfaVV','400','data','_isConnected','addUser','keys','isEnabled','change:_isConnected','updateRevisions','catch','add','_update','getRevisions','_createCurrentRevision','message','get','listenTo','setSource','isEmptyCurrent','startsWith','fromVersion','collaboration.channelId','repository','size','toVersion','_fetchMissingUsers','then','2954172eZGJos','_bufferUpdate','isOfficialPlugin','reInit','1223568yQpCjw','length','_handleReconnectionError','adapter','connection','buildRevisionData','24lkYgfm','_revisionHistoryService','bind','1007237PusWCe','type','addToReconnectionStack','authorsIds','wrongRequestId','_isPendingUpdate','28NMxVJF','baseVersion','sessionId','destroy','_startingVersion','_oldOffset','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionHistoryService','getRevision','reconnect','from','_waitForServiceReady','diffData','once','setRevisionData','editor','off','_revisionDataBuilder','isConnected','_getLatestVersion','requires'];_0xf074=function(){return _0x4d0d76;};return _0xf074();}import{Users as _0x2b6994}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1929(_0x308d69,_0x30d226){const _0xf0749f=_0xf074();return _0x1929=function(_0x1929be,_0x80a68a){_0x1929be=_0x1929be-0xa4;let _0x308133=_0xf0749f[_0x1929be];return _0x308133;},_0x1929(_0x308d69,_0x30d226);}import{RealTimeCollaborationClient as _0x1f3569}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4efb77}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x52f0fd}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2b3d2c,RevisionHistoryService as _0x122830,User as _0x59a201,WEB_SOCKET_GATEWAY_STATES as _0x4b7d98}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x3fb36d{static [_0x129bee(0xed)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x122830)());[_0x129bee(0x104)];[_0x129bee(0xae)];[_0x129bee(0xde)];[_0x129bee(0xeb)];static get[_0x129bee(0xfa)](){const _0x139bcc=_0x129bee;return[_0x4efb77,_0x1f3569,_0x139bcc(0x10b),_0x52f0fd,_0x2b6994];}static get[_0x129bee(0xb4)](){const _0x359f7e=_0x129bee;return _0x359f7e(0xab);}static get[_0x129bee(0xd5)](){return!0x0;}static get[_0x129bee(0xfb)](){return!0x0;}constructor(_0x36bad4){const _0x5e1c19=_0x129bee;super(_0x36bad4);const _0x400766=this[_0x5e1c19(0xf5)][_0x5e1c19(0xb1)][_0x5e1c19(0xc7)](_0x5e1c19(0xcd));this[_0x5e1c19(0x104)]=null,this[_0x5e1c19(0xae)]=this[_0x5e1c19(0xf5)][_0x5e1c19(0x10a)][_0x5e1c19(0xc7)](_0x5e1c19(0x106)),this[_0x5e1c19(0xde)]=new c[(_0x5e1c19(0xed))](_0x400766);}async[_0x129bee(0x109)](){const _0x1690e1=_0x129bee,_0x3a1963=this[_0x1690e1(0xf5)][_0x1690e1(0x10a)][_0x1690e1(0xc7)](_0x1f3569),_0x360cee=_0x3a1963[_0x1690e1(0x111)],_0x566dd3=this[_0x1690e1(0xf5)][_0x1690e1(0x10a)][_0x1690e1(0xc7)](_0x4efb77);this[_0x1690e1(0xae)][_0x1690e1(0xc9)]({'history':_0x360cee,'getLatestVersion':()=>this[_0x1690e1(0xf9)](),'getCurrentRevisionId':()=>_0x3a1963[_0x1690e1(0xe8)]});const _0x25aebd=this[_0x1690e1(0xf5)][_0x1690e1(0xb1)][_0x1690e1(0xc7)](_0x1690e1(0x114))||_0x5991de,_0xfcca8f=await _0x2b3d2c[_0x1690e1(0xa4)](_0x566dd3[_0x1690e1(0xdb)],_0x25aebd);this[_0x1690e1(0xf5)][_0x1690e1(0x10a)][_0x1690e1(0xc7)](_0x1690e1(0x10b))[_0x1690e1(0xda)]={'getRevision':async({revisionId:_0x3fbd0c})=>(await this[_0x1690e1(0xf1)](),await this[_0x1690e1(0xde)][_0x1690e1(0xee)](_0x3fbd0c)),'updateRevisions':async _0x50b194=>{const _0x527cae=_0x1690e1;await this[_0x527cae(0xf1)]();const _0x5d042e=this[_0x527cae(0xae)][_0x527cae(0xa7)];if(_0xfcca8f&&0x1===_0x50b194[_0x527cae(0xd8)]&&_0x50b194[0x0]['id']===_0x5d042e['id'])return _0x50b194;for(const _0x277df0 of _0x50b194)_0x277df0['id']===_0x5d042e['id']&&(_0x277df0[_0x527cae(0xca)]=_0x277df0[_0x527cae(0xcc)]===_0x277df0[_0x527cae(0xd0)]);return this[_0x527cae(0xde)][_0x527cae(0xc0)](_0x50b194,this[_0x527cae(0x104)])[_0x527cae(0xd2)](_0x343d2c=>(this[_0x527cae(0x104)]=_0x343d2c,_0x50b194))[_0x527cae(0xc1)](_0xcacad8=>{const _0x28e0d8=_0x527cae;if(P(_0xcacad8)||_0x28e0d8(0xb9)===_0xcacad8[_0x28e0d8(0xfe)]&&void 0x0!==_0xcacad8[_0x28e0d8(0xba)][_0x28e0d8(0xe4)]){for(const _0x1a977b of _0x50b194){!this[_0x28e0d8(0xae)][_0x28e0d8(0xce)][_0x28e0d8(0xee)](_0x1a977b['id'])||this[_0x28e0d8(0xae)][_0x28e0d8(0xd4)](_0x1a977b['id'],_0x1a977b,!0x1);}if(P(_0xcacad8))throw _0xcacad8;return _0x50b194;}throw _0xcacad8;});}},this[_0x1690e1(0xc8)](this[_0x1690e1(0xde)],_0x1690e1(0x107),(_0x494dcd,{revisionsData:_0x1b88fb,requestId:_0x270b2b})=>{const _0x1916b2=_0x1690e1;Math[_0x1916b2(0xfd)](..._0x1b88fb[_0x1916b2(0xaf)](_0x54186d=>_0x54186d[_0x1916b2(0xd0)]))>this[_0x1916b2(0x116)]()-0x1?this[_0x1916b2(0xf9)]()[_0x1916b2(0xd2)](()=>{const _0x6ba1a4=_0x1916b2;this[_0x6ba1a4(0x102)](_0x1b88fb,_0x270b2b);}):this[_0x1916b2(0x102)](_0x1b88fb,_0x270b2b);});const {revisions:_0x5688fc,requestId:_0x344619}=await this[_0x1690e1(0xde)][_0x1690e1(0x10d)](_0x566dd3[_0x1690e1(0xdb)]);_0x566dd3[_0x1690e1(0xe2)](this),this[_0x1690e1(0x104)]=_0x344619,await this[_0x1690e1(0xd1)](_0x5688fc);for(const _0x36b56b of _0x5688fc)this[_0x1690e1(0xae)][_0x1690e1(0x108)](_0x36b56b);this[_0x1690e1(0xc8)](_0x3a1963,_0x1690e1(0xbf),(_0x2bb482,_0x30d32e,_0x41f86e)=>{const _0x39e937=_0x1690e1;_0x41f86e&&(this[_0x39e937(0xeb)]=_0x3a1963[_0x39e937(0x10f)],_0x2bb482[_0x39e937(0xf6)]());}),this[_0x1690e1(0xae)][_0x1690e1(0xdf)](_0x1690e1(0xbe))['to'](_0x566dd3,_0x1690e1(0x10e),_0x158649=>_0x158649===_0x4b7d98[_0x1690e1(0xb7)]);}async[_0x129bee(0xef)](){const _0x5153f5=_0x129bee,_0x2d6b66=this[_0x5153f5(0xf5)][_0x5153f5(0x10a)][_0x5153f5(0xc7)](_0x4efb77),_0x276700=this[_0x5153f5(0xf5)][_0x5153f5(0x10a)][_0x5153f5(0xc7)](_0x1f3569),_0x549834=async()=>{const _0x3a4aea=_0x5153f5,_0x4084fd=this[_0x3a4aea(0xae)][_0x3a4aea(0xa7)],_0xb01262=_0x4084fd['id'],_0x2786d7=_0xb01262!==_0x276700[_0x3a4aea(0xe8)];if(_0x2786d7){const _0x3c4c52=_0x276700[_0x3a4aea(0x10f)]-this[_0x3a4aea(0xeb)],_0x29e69e=this[_0x3a4aea(0x116)]();this[_0x3a4aea(0xae)][_0x3a4aea(0xf7)][_0x3a4aea(0xd6)]();if(_0x4084fd[_0x3a4aea(0xd0)]+_0x3c4c52!==_0x29e69e){const _0x1aa245=_0x4084fd[_0x3a4aea(0xcc)]+_0x3c4c52,_0x5aae88=this[_0x3a4aea(0xf5)][_0x3a4aea(0x10a)][_0x3a4aea(0xc7)](_0x2b6994),_0x2caf8e=this[_0x3a4aea(0xae)][_0x3a4aea(0xdc)]({'revision':_0x4084fd,'from':_0x1aa245,'to':_0x29e69e});_0x2caf8e['id']=_0x4084fd['id'];const _0x1df79f=_0x2caf8e[_0x3a4aea(0xe3)][_0x3a4aea(0xaf)](_0x57683f=>_0x5aae88[_0x3a4aea(0x101)](_0x57683f));_0x4084fd[_0x3a4aea(0xc3)]({..._0x2caf8e,'authors':_0x1df79f},!0x0),this[_0x3a4aea(0xae)][_0x3a4aea(0xd4)](_0x4084fd['id'],_0x2caf8e,!0x0);}this[_0x3a4aea(0xae)][_0x3a4aea(0xea)]=_0x29e69e,(_0x4084fd[_0x3a4aea(0xd0)]===_0x4084fd[_0x3a4aea(0xcc)]&&!this[_0x3a4aea(0xae)][_0x3a4aea(0x115)][_0x3a4aea(0x110)](_0xb01262)&&this[_0x3a4aea(0xae)][_0x3a4aea(0xce)][_0x3a4aea(0xb0)][_0x3a4aea(0xac)](_0xb01262),this[_0x3a4aea(0xae)][_0x3a4aea(0xc5)](_0x29e69e));}const {revisions:_0x617c6e,requestId:_0x30d39c}=await this[_0x3a4aea(0xde)][_0x3a4aea(0xef)](_0x2d6b66[_0x3a4aea(0xdb)],this[_0x3a4aea(0x104)]);_0x2786d7&&_0x617c6e[_0x3a4aea(0xd8)]>0x0?_0x276700[_0x3a4aea(0xd9)]():(await this[_0x3a4aea(0xd1)](_0x617c6e),this[_0x3a4aea(0x102)](_0x617c6e,_0x30d39c),this[_0x3a4aea(0xae)][_0x3a4aea(0xad)]());};return _0x276700[_0x5153f5(0xbb)]?_0x549834():new Promise((_0x5470bf,_0x499439)=>{const _0x176de4=_0x5153f5;_0x276700[_0x176de4(0xf3)](_0x176de4(0xbf),()=>{const _0xa8da6c=_0x176de4;_0x549834()[_0xa8da6c(0xd2)](_0x5470bf)[_0xa8da6c(0xc1)](_0x499439);});});}[_0x129bee(0xe9)](){const _0xea5bb7=_0x129bee;super[_0xea5bb7(0xe9)]();}async[_0x129bee(0xf1)](){const _0xf92684=_0x129bee;this[_0xf92684(0xde)][_0xf92684(0xf8)]||await new Promise(_0x5debc4=>{const _0x1cb659=_0xf92684;this[_0x1cb659(0xc8)](this[_0x1cb659(0xde)],_0x1cb659(0xb6),_0x24d5b5=>{const _0x3c5ccb=_0x1cb659;_0x24d5b5[_0x3c5ccb(0xf6)](),_0x5debc4();});});}[_0x129bee(0x116)](){const _0x21fa53=_0x129bee,_0x2b472a=this[_0x21fa53(0xf5)][_0x21fa53(0x10a)][_0x21fa53(0xc7)](_0x1f3569)[_0x21fa53(0x111)][_0x21fa53(0xb5)]()[_0x21fa53(0x10c)]();for(const _0x3c4b2e of _0x2b472a)if(_0x21fa53(0xb2)!==_0x3c4b2e[_0x21fa53(0xe1)]||_0x3c4b2e[_0x21fa53(0xb3)])return _0x3c4b2e[_0x21fa53(0xe7)]+0x1;}[_0x129bee(0xf9)](){const _0x224874=_0x129bee,_0x3d374c=this[_0x224874(0xf5)][_0x224874(0x10a)][_0x224874(0xc7)](_0x1f3569);return new Promise(_0xd6e66=>{const _0x1c1b42=_0x224874;_0x3d374c[_0x1c1b42(0xe5)]?_0x3d374c[_0x1c1b42(0xf3)](_0x1c1b42(0x105),()=>{const _0x28a008=_0x1c1b42;_0xd6e66(this[_0x28a008(0x116)]());}):_0xd6e66(this[_0x1c1b42(0x116)]());});}[_0x129bee(0x102)](_0x400a02,_0x27044c){const _0x23c7a0=_0x129bee,_0x17315a=this[_0x23c7a0(0xae)][_0x23c7a0(0xce)];this[_0x23c7a0(0x104)]=_0x27044c;for(const _0xe14885 of _0x400a02){const _0x55a7fd=_0x17315a[_0x23c7a0(0xee)](_0xe14885['id']);if(_0x55a7fd){if((_0xe14885[_0x23c7a0(0xcc)]||_0xe14885[_0x23c7a0(0xd0)])&&(_0xe14885[_0x23c7a0(0xf2)]=null),_0x55a7fd===this[_0x23c7a0(0xae)][_0x23c7a0(0xa7)]){const _0x5441eb=Math[_0x23c7a0(0xfd)](_0x55a7fd[_0x23c7a0(0xd0)],_0xe14885[_0x23c7a0(0xd0)]),_0x18d3f9=Math[_0x23c7a0(0xfd)](_0x55a7fd[_0x23c7a0(0xcc)],_0xe14885[_0x23c7a0(0xcc)]);let _0x4439ab;_0x55a7fd[_0x23c7a0(0xd0)]===_0xe14885[_0x23c7a0(0xd0)]&&_0x55a7fd[_0x23c7a0(0xcc)]===_0xe14885[_0x23c7a0(0xcc)]?(_0x4439ab=!0x0,this[_0x23c7a0(0xa9)](_0xe14885)):_0xe14885[_0x23c7a0(0xd0)]===_0x5441eb&&_0xe14885[_0x23c7a0(0xcc)]===_0x18d3f9?_0x4439ab=!0x1:(_0x55a7fd[_0x23c7a0(0xd0)]===_0x5441eb&&_0x55a7fd[_0x23c7a0(0xcc)]===_0x18d3f9||this[_0x23c7a0(0xa8)]({'revision':_0x55a7fd,'from':_0x18d3f9,'to':_0x5441eb}),_0x4439ab=!0x0),_0x4439ab&&(delete _0xe14885[_0x23c7a0(0xcc)],delete _0xe14885[_0x23c7a0(0xd0)],delete _0xe14885[_0x23c7a0(0xf2)],delete _0xe14885[_0x23c7a0(0xa5)],delete _0xe14885[_0x23c7a0(0xe3)]);}this[_0x23c7a0(0xae)][_0x23c7a0(0xf4)](_0xe14885),this[_0x23c7a0(0xa9)](_0xe14885);}else this[_0x23c7a0(0xae)][_0x23c7a0(0x108)](_0xe14885);}const _0x3acd36=_0x17315a[_0x23c7a0(0xc4)]();_0x3acd36[_0x23c7a0(0x10c)]();for(let _0x1fa485=0x0;_0x1fa485<_0x3acd36[_0x23c7a0(0xd8)]-0x1;_0x1fa485++){const _0x25f880=_0x3acd36[_0x1fa485],_0x4446ff=_0x3acd36[_0x1fa485+0x1];if(_0x25f880[_0x23c7a0(0xcc)]<_0x4446ff[_0x23c7a0(0xd0)]){const _0x1f1477=_0x4446ff[_0x23c7a0(0xd0)],_0xbb5e6c=Math[_0x23c7a0(0xfd)](_0x1f1477,_0x25f880[_0x23c7a0(0xd0)]);this[_0x23c7a0(0xa8)]({'revision':_0x25f880,'from':_0x1f1477,'to':_0xbb5e6c});}}}[_0x129bee(0xa8)]({revision:_0x36e36d,from:_0x1bac63,to:_0x357abb}={}){const _0x57b5ca=_0x129bee,_0x2aabe5=this[_0x57b5ca(0xf5)][_0x57b5ca(0x10a)][_0x57b5ca(0xc7)](_0x2b6994),_0x119d87=this[_0x57b5ca(0xae)][_0x57b5ca(0xdc)]({'revision':_0x36e36d,'from':_0x1bac63,'to':_0x357abb});_0x119d87[_0x57b5ca(0x103)]=_0x119d87[_0x57b5ca(0xe3)][_0x57b5ca(0xaf)](_0x108b04=>_0x2aabe5[_0x57b5ca(0x101)](_0x108b04)),_0x36e36d[_0x57b5ca(0xc3)](_0x119d87);}[_0x129bee(0xa9)](_0xdeebe0){const _0x125db6=_0x129bee,_0x1facb8={};_0x1facb8['id']=_0xdeebe0['id'];for(const _0xd3a0b4 of Object[_0x125db6(0xbd)](_0xdeebe0))'id'!==_0xd3a0b4&&(_0x1facb8[_0xd3a0b4]=void 0x0);this[_0x125db6(0xae)][_0x125db6(0xd4)](_0x1facb8['id'],_0x1facb8,!0x0);}async[_0x129bee(0xd1)](_0x3d66ed){const _0x903b0=_0x129bee,_0x1afdfe=this[_0x903b0(0xf5)][_0x903b0(0x10a)][_0x903b0(0xc7)](_0x2b6994),{connection:_0xb835d2}=this[_0x903b0(0xf5)][_0x903b0(0x10a)][_0x903b0(0xc7)](_0x4efb77),_0x2ac1c9=new Set();for(const _0x2524ea of _0x3d66ed){for(const _0x1d1641 of _0x2524ea[_0x903b0(0xe3)])_0x4a0b21(_0x1d1641);_0x2524ea[_0x903b0(0x112)]&&_0x4a0b21(_0x2524ea[_0x903b0(0x112)]);}if(0x0===_0x2ac1c9[_0x903b0(0xcf)])return;const _0x321f5b=await _0x59a201[_0x903b0(0xaa)](_0xb835d2,Array[_0x903b0(0xf0)](_0x2ac1c9));for(const _0x53de54 of _0x321f5b)_0x1afdfe[_0x903b0(0x101)](_0x53de54['id'])||_0x1afdfe[_0x903b0(0xbc)](_0x53de54);function _0x4a0b21(_0x515974){const _0x24ea95=_0x903b0;_0x1afdfe[_0x24ea95(0x101)](_0x515974)||_0x2ac1c9[_0x24ea95(0xc2)](_0x515974);}}}export{c as CloudServicesRevisionHistoryAdapter};function P(_0x4c511f){const _0x1f9eb1=_0x129bee;return _0x4c511f[_0x1f9eb1(0xc6)][_0x1f9eb1(0xcb)](_0x1f9eb1(0xec))||_0x4c511f[_0x1f9eb1(0xc6)][_0x1f9eb1(0xcb)](_0x1f9eb1(0xff))||_0x4c511f[_0x1f9eb1(0xc6)][_0x1f9eb1(0xcb)](_0x1f9eb1(0xfc));}
23
+ const _0xec21e7=_0xf41e;(function(_0x1e8db8,_0x26691a){const _0x39a794=_0xf41e,_0x540c46=_0x1e8db8();while(!![]){try{const _0x15333e=parseInt(_0x39a794(0xa3))/0x1*(parseInt(_0x39a794(0xb7))/0x2)+-parseInt(_0x39a794(0x9f))/0x3*(-parseInt(_0x39a794(0xba))/0x4)+-parseInt(_0x39a794(0xdc))/0x5+-parseInt(_0x39a794(0x102))/0x6*(-parseInt(_0x39a794(0xa7))/0x7)+parseInt(_0x39a794(0xd0))/0x8*(parseInt(_0x39a794(0xb0))/0x9)+parseInt(_0x39a794(0xcd))/0xa+parseInt(_0x39a794(0xd4))/0xb*(-parseInt(_0x39a794(0xef))/0xc);if(_0x15333e===_0x26691a)break;else _0x540c46['push'](_0x540c46['shift']());}catch(_0x767a0){_0x540c46['push'](_0x540c46['shift']());}}}(_0x24e1,0xcd17a));import{Plugin as _0xd40577}from'ckeditor5/src/core.js';function _0xf41e(_0x32ec19,_0x28e6c2){const _0x24e1af=_0x24e1();return _0xf41e=function(_0xf41ee3,_0x50001a){_0xf41ee3=_0xf41ee3-0x9c;let _0x43b4d5=_0x24e1af[_0xf41ee3];return _0x43b4d5;},_0xf41e(_0x32ec19,_0x28e6c2);}import{version as _0x3e3d9e}from'ckeditor5/src/utils.js';function _0x24e1(){const _0x4ed4fc=['add','bind','fromVersion','map','reconnect','marker','_update','plugins','addToReconnectionStack','message','getMany','pluginName','then','isEmptyCurrent','buildRevisionData','connection','code','max','2269548AGdWjm','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','once','keys','currentRevision','cloud-services-internal-error:\x20Request\x20timeout.','length','isPremiumPlugin','connected','reverse','cloudServices.bundleVersion','_revisionHistoryService','toVersion','listenTo','isEnabled','_revisionDataBuilder','state','wrongRequestId','_revisionTracker','594XdTHQP','remove','editor','RevisionHistory','revisionsUpdated','change:_isPendingUpdate','setSource','sessionId','_getLatestVersion','CONNECTED','_bufferUpdate','_getLatestVersionFromServerOperations','config','getOperations','addRevisionData','_createCurrentRevision','400','authorsIds','isConnected','1728555LoFHak','isBundleUploaded','collaboration.channelId','destroy','82847ehQrUQ','reInit','_lastRequestId','_startingVersion','111482VJGmQK','baseVersion','_oldOffset','get','CloudServicesRevisionHistoryAdapter','off','_preventResendingRevisionData','getRevision','startsWith','26667devCNH','_fixRevision','_isPendingUpdate','createdAt','type','_revisions','creatorId','28QQlfsb','_bufferedUpdates','adapter','8zMFcVb','_waitForServiceReady','affectsData','_handleReconnectionError','_isConnected','addUser','RevisionHistoryService','getUser','serverHistory','data','RevisionTracker','diffData','isOfficialPlugin','repository','setRevisionData','init','requires','authors','_handleRevisionsUpdate','1331880IWmUOH','_offset','getRevisions','3176Ztotwx','cloud-services-internal-error:\x20Not\x20connected.','sendBufferedUpdates','_fetchMissingUsers','253HhkHuD','catch','size','updateRevisions','from','change:_isConnected','connect','has','41880oUGwmq'];_0x24e1=function(){return _0x4ed4fc;};return _0x24e1();}import{Users as _0xb0d2c1}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x48ca4f}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x48ebca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5ad687}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x49e9b7,RevisionHistoryService as _0x3ba420,User as _0x4a0716,WEB_SOCKET_GATEWAY_STATES as _0x28efe0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0xd40577{static [_0xec21e7(0xc0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3ba420)());[_0xec21e7(0xa5)];[_0xec21e7(0x101)];[_0xec21e7(0xfa)];[_0xec21e7(0xa9)];static get[_0xec21e7(0xca)](){const _0x4d2f3b=_0xec21e7;return[_0x48ebca,_0x48ca4f,_0x4d2f3b(0x105),_0x5ad687,_0xb0d2c1];}static get[_0xec21e7(0xe8)](){const _0x21871c=_0xec21e7;return _0x21871c(0xab);}static get[_0xec21e7(0xc6)](){return!0x0;}static get[_0xec21e7(0xf6)](){return!0x0;}constructor(_0x108701){const _0x164a84=_0xec21e7;super(_0x108701);const _0x57be35=this[_0x164a84(0x104)][_0x164a84(0x10e)][_0x164a84(0xaa)](_0x164a84(0xa1));this[_0x164a84(0xa5)]=null,this[_0x164a84(0x101)]=this[_0x164a84(0x104)][_0x164a84(0xe4)][_0x164a84(0xaa)](_0x164a84(0xc4)),this[_0x164a84(0xfa)]=new c[(_0x164a84(0xc0))](_0x57be35);}async[_0xec21e7(0xc9)](){const _0x24ea1e=_0xec21e7,_0x53bb55=this[_0x24ea1e(0x104)][_0x24ea1e(0xe4)][_0x24ea1e(0xaa)](_0x48ca4f),_0x4a1bcc=_0x53bb55[_0x24ea1e(0xc2)],_0x5cc730=this[_0x24ea1e(0x104)][_0x24ea1e(0xe4)][_0x24ea1e(0xaa)](_0x48ebca);this[_0x24ea1e(0x101)][_0x24ea1e(0x108)]({'history':_0x4a1bcc,'getLatestVersion':()=>this[_0x24ea1e(0x10a)](),'getCurrentRevisionId':()=>_0x53bb55[_0x24ea1e(0x109)]});const _0x51ec1c=this[_0x24ea1e(0x104)][_0x24ea1e(0x10e)][_0x24ea1e(0xaa)](_0x24ea1e(0xf9))||_0x3e3d9e,_0x3282ab=await _0x49e9b7[_0x24ea1e(0xa0)](_0x5cc730[_0x24ea1e(0xec)],_0x51ec1c);this[_0x24ea1e(0x104)][_0x24ea1e(0xe4)][_0x24ea1e(0xaa)](_0x24ea1e(0x105))[_0x24ea1e(0xb9)]={'getRevision':async({revisionId:_0xf11b88})=>(await this[_0x24ea1e(0xbb)](),await this[_0x24ea1e(0xfa)][_0x24ea1e(0xae)](_0xf11b88)),'updateRevisions':async _0x11cc90=>{const _0x3a5d1c=_0x24ea1e;await this[_0x3a5d1c(0xbb)]();const _0x26a737=this[_0x3a5d1c(0x101)][_0x3a5d1c(0xf3)];if(_0x3282ab&&0x1===_0x11cc90[_0x3a5d1c(0xf5)]&&_0x11cc90[0x0]['id']===_0x26a737['id'])return _0x11cc90;for(const _0x554fd9 of _0x11cc90)_0x554fd9['id']===_0x26a737['id']&&(_0x554fd9[_0x3a5d1c(0xea)]=_0x554fd9[_0x3a5d1c(0xdf)]===_0x554fd9[_0x3a5d1c(0xfb)]);return this[_0x3a5d1c(0xfa)][_0x3a5d1c(0xd7)](_0x11cc90,this[_0x3a5d1c(0xa5)])[_0x3a5d1c(0xe9)](_0x5d9260=>(this[_0x3a5d1c(0xa5)]=_0x5d9260,_0x11cc90))[_0x3a5d1c(0xd5)](_0x1d783a=>{const _0x222781=_0x3a5d1c;if(b(_0x1d783a)||_0x222781(0x9c)===_0x1d783a[_0x222781(0xed)]&&void 0x0!==_0x1d783a[_0x222781(0xc3)][_0x222781(0x100)]){for(const _0x3f26a9 of _0x11cc90){!this[_0x222781(0x101)][_0x222781(0xc7)][_0x222781(0xae)](_0x3f26a9['id'])||this[_0x222781(0x101)][_0x222781(0x10c)](_0x3f26a9['id'],_0x3f26a9,!0x1);}if(b(_0x1d783a))throw _0x1d783a;return _0x11cc90;}throw _0x1d783a;});}},this[_0x24ea1e(0xfc)](this[_0x24ea1e(0xfa)],_0x24ea1e(0x106),(_0x2a0b98,{revisionsData:_0xd30113,requestId:_0x29a0c9})=>{const _0x2004e0=_0x24ea1e;Math[_0x2004e0(0xee)](..._0xd30113[_0x2004e0(0xe0)](_0x1e20a0=>_0x1e20a0[_0x2004e0(0xfb)]))>this[_0x2004e0(0x10d)]()-0x1?this[_0x2004e0(0x10a)]()[_0x2004e0(0xe9)](()=>{const _0x55e4e7=_0x2004e0;this[_0x55e4e7(0xcc)](_0xd30113,_0x29a0c9);}):this[_0x2004e0(0xcc)](_0xd30113,_0x29a0c9);});const {revisions:_0x659ecb,requestId:_0x59e6f1}=await this[_0x24ea1e(0xfa)][_0x24ea1e(0xda)](_0x5cc730[_0x24ea1e(0xec)]);_0x5cc730[_0x24ea1e(0xe5)](this),this[_0x24ea1e(0xa5)]=_0x59e6f1,await this[_0x24ea1e(0xd3)](_0x659ecb);for(const _0x29d781 of _0x659ecb)this[_0x24ea1e(0x101)][_0x24ea1e(0x110)](_0x29d781);this[_0x24ea1e(0xfc)](_0x53bb55,_0x24ea1e(0xd9),(_0x56ebaf,_0x4f541a,_0xddcfb)=>{const _0x51740b=_0x24ea1e;_0xddcfb&&(this[_0x51740b(0xa9)]=_0x53bb55[_0x51740b(0xce)],_0x56ebaf[_0x51740b(0xac)]());}),this[_0x24ea1e(0x101)][_0x24ea1e(0xde)](_0x24ea1e(0xfd))['to'](_0x5cc730,_0x24ea1e(0xff),_0x296904=>_0x296904===_0x28efe0[_0x24ea1e(0x10b)]);}async[_0xec21e7(0xe1)](){const _0x1a8dd4=_0xec21e7,_0x1e3e41=this[_0x1a8dd4(0x104)][_0x1a8dd4(0xe4)][_0x1a8dd4(0xaa)](_0x48ebca),_0x4df73f=this[_0x1a8dd4(0x104)][_0x1a8dd4(0xe4)][_0x1a8dd4(0xaa)](_0x48ca4f),_0x14eafe=async()=>{const _0x8b1b6e=_0x1a8dd4,_0x40ed80=this[_0x8b1b6e(0x101)][_0x8b1b6e(0xf3)],_0x3fa089=_0x40ed80['id'],_0x398ee0=_0x3fa089!==_0x4df73f[_0x8b1b6e(0x109)];if(_0x398ee0){const _0x4242df=_0x4df73f[_0x8b1b6e(0xce)]-this[_0x8b1b6e(0xa9)],_0x4dcf6c=this[_0x8b1b6e(0x10d)]();this[_0x8b1b6e(0x101)][_0x8b1b6e(0xfe)][_0x8b1b6e(0xa4)]();if(_0x40ed80[_0x8b1b6e(0xfb)]+_0x4242df!==_0x4dcf6c){const _0x48431e=_0x40ed80[_0x8b1b6e(0xdf)]+_0x4242df,_0x223ebb=this[_0x8b1b6e(0x104)][_0x8b1b6e(0xe4)][_0x8b1b6e(0xaa)](_0xb0d2c1),_0x47ccd2=this[_0x8b1b6e(0x101)][_0x8b1b6e(0xeb)]({'revision':_0x40ed80,'from':_0x48431e,'to':_0x4dcf6c});_0x47ccd2['id']=_0x40ed80['id'];const _0x46bec8=_0x47ccd2[_0x8b1b6e(0x9d)][_0x8b1b6e(0xe0)](_0x2d91ce=>_0x223ebb[_0x8b1b6e(0xc1)](_0x2d91ce));_0x40ed80[_0x8b1b6e(0xe3)]({..._0x47ccd2,'authors':_0x46bec8},!0x0),this[_0x8b1b6e(0x101)][_0x8b1b6e(0x10c)](_0x40ed80['id'],_0x47ccd2,!0x0);}this[_0x8b1b6e(0x101)][_0x8b1b6e(0xa6)]=_0x4dcf6c,(_0x40ed80[_0x8b1b6e(0xfb)]===_0x40ed80[_0x8b1b6e(0xdf)]&&!this[_0x8b1b6e(0x101)][_0x8b1b6e(0xb8)][_0x8b1b6e(0xdb)](_0x3fa089)&&this[_0x8b1b6e(0x101)][_0x8b1b6e(0xc7)][_0x8b1b6e(0xb5)][_0x8b1b6e(0x103)](_0x3fa089),this[_0x8b1b6e(0x101)][_0x8b1b6e(0x111)](_0x4dcf6c));}const {revisions:_0x37e510,requestId:_0x49b381}=await this[_0x8b1b6e(0xfa)][_0x8b1b6e(0xe1)](_0x1e3e41[_0x8b1b6e(0xec)],this[_0x8b1b6e(0xa5)]);_0x398ee0&&_0x37e510[_0x8b1b6e(0xf5)]>0x0?_0x4df73f[_0x8b1b6e(0xbd)]():(await this[_0x8b1b6e(0xd3)](_0x37e510),this[_0x8b1b6e(0xcc)](_0x37e510,_0x49b381),this[_0x8b1b6e(0x101)][_0x8b1b6e(0xd2)]());};return _0x4df73f[_0x1a8dd4(0xbe)]?_0x14eafe():new Promise((_0x9c3f40,_0x3fda05)=>{const _0x237f13=_0x1a8dd4;_0x4df73f[_0x237f13(0xf1)](_0x237f13(0xd9),()=>{const _0xfb5894=_0x237f13;_0x14eafe()[_0xfb5894(0xe9)](_0x9c3f40)[_0xfb5894(0xd5)](_0x3fda05);});});}[_0xec21e7(0xa2)](){const _0xcdd3dd=_0xec21e7;super[_0xcdd3dd(0xa2)]();}async[_0xec21e7(0xbb)](){const _0x5cff0e=_0xec21e7;this[_0x5cff0e(0xfa)][_0x5cff0e(0x9e)]||await new Promise(_0x16f3da=>{const _0xdf98bf=_0x5cff0e;this[_0xdf98bf(0xfc)](this[_0xdf98bf(0xfa)],_0xdf98bf(0xf7),_0x5a7a34=>{const _0x106927=_0xdf98bf;_0x5a7a34[_0x106927(0xac)](),_0x16f3da();});});}[_0xec21e7(0x10d)](){const _0x62d3eb=_0xec21e7,_0x313240=this[_0x62d3eb(0x104)][_0x62d3eb(0xe4)][_0x62d3eb(0xaa)](_0x48ca4f)[_0x62d3eb(0xc2)][_0x62d3eb(0x10f)]()[_0x62d3eb(0xf8)]();for(const _0x20f1a5 of _0x313240)if(_0x62d3eb(0xe2)!==_0x20f1a5[_0x62d3eb(0xb4)]||_0x20f1a5[_0x62d3eb(0xbc)])return _0x20f1a5[_0x62d3eb(0xa8)]+0x1;}[_0xec21e7(0x10a)](){const _0x3593e6=_0xec21e7,_0x39a5ac=this[_0x3593e6(0x104)][_0x3593e6(0xe4)][_0x3593e6(0xaa)](_0x48ca4f);return new Promise(_0x2e8d92=>{const _0x19fadc=_0x3593e6;_0x39a5ac[_0x19fadc(0xb2)]?_0x39a5ac[_0x19fadc(0xf1)](_0x19fadc(0x107),()=>{const _0x3af881=_0x19fadc;_0x2e8d92(this[_0x3af881(0x10d)]());}):_0x2e8d92(this[_0x19fadc(0x10d)]());});}[_0xec21e7(0xcc)](_0xf8f87a,_0x2ab973){const _0x2d99f0=_0xec21e7,_0x4f7098=this[_0x2d99f0(0x101)][_0x2d99f0(0xc7)];this[_0x2d99f0(0xa5)]=_0x2ab973;for(const _0x1b04b0 of _0xf8f87a){const _0x1f4737=_0x4f7098[_0x2d99f0(0xae)](_0x1b04b0['id']);if(_0x1f4737){if((_0x1b04b0[_0x2d99f0(0xdf)]||_0x1b04b0[_0x2d99f0(0xfb)])&&(_0x1b04b0[_0x2d99f0(0xc5)]=null),_0x1f4737===this[_0x2d99f0(0x101)][_0x2d99f0(0xf3)]){const _0x446128=Math[_0x2d99f0(0xee)](_0x1f4737[_0x2d99f0(0xfb)],_0x1b04b0[_0x2d99f0(0xfb)]),_0x1b7109=Math[_0x2d99f0(0xee)](_0x1f4737[_0x2d99f0(0xdf)],_0x1b04b0[_0x2d99f0(0xdf)]);let _0x1990b3;_0x1f4737[_0x2d99f0(0xfb)]===_0x1b04b0[_0x2d99f0(0xfb)]&&_0x1f4737[_0x2d99f0(0xdf)]===_0x1b04b0[_0x2d99f0(0xdf)]?(_0x1990b3=!0x0,this[_0x2d99f0(0xad)](_0x1b04b0)):_0x1b04b0[_0x2d99f0(0xfb)]===_0x446128&&_0x1b04b0[_0x2d99f0(0xdf)]===_0x1b7109?_0x1990b3=!0x1:(_0x1f4737[_0x2d99f0(0xfb)]===_0x446128&&_0x1f4737[_0x2d99f0(0xdf)]===_0x1b7109||this[_0x2d99f0(0xb1)]({'revision':_0x1f4737,'from':_0x1b7109,'to':_0x446128}),_0x1990b3=!0x0),_0x1990b3&&(delete _0x1b04b0[_0x2d99f0(0xdf)],delete _0x1b04b0[_0x2d99f0(0xfb)],delete _0x1b04b0[_0x2d99f0(0xc5)],delete _0x1b04b0[_0x2d99f0(0xb3)],delete _0x1b04b0[_0x2d99f0(0x9d)]);}this[_0x2d99f0(0x101)][_0x2d99f0(0xc8)](_0x1b04b0),this[_0x2d99f0(0xad)](_0x1b04b0);}else this[_0x2d99f0(0x101)][_0x2d99f0(0x110)](_0x1b04b0);}const _0x504cee=_0x4f7098[_0x2d99f0(0xcf)]();_0x504cee[_0x2d99f0(0xf8)]();for(let _0x3f6ae1=0x0;_0x3f6ae1<_0x504cee[_0x2d99f0(0xf5)]-0x1;_0x3f6ae1++){const _0x362039=_0x504cee[_0x3f6ae1],_0x373895=_0x504cee[_0x3f6ae1+0x1];if(_0x362039[_0x2d99f0(0xdf)]<_0x373895[_0x2d99f0(0xfb)]){const _0x26c79c=_0x373895[_0x2d99f0(0xfb)],_0xbfafb2=Math[_0x2d99f0(0xee)](_0x26c79c,_0x362039[_0x2d99f0(0xfb)]);this[_0x2d99f0(0xb1)]({'revision':_0x362039,'from':_0x26c79c,'to':_0xbfafb2});}}}[_0xec21e7(0xb1)]({revision:_0xce2089,from:_0x219201,to:_0x2cda14}={}){const _0x21514f=_0xec21e7,_0x1e1173=this[_0x21514f(0x104)][_0x21514f(0xe4)][_0x21514f(0xaa)](_0xb0d2c1),_0x311ced=this[_0x21514f(0x101)][_0x21514f(0xeb)]({'revision':_0xce2089,'from':_0x219201,'to':_0x2cda14});_0x311ced[_0x21514f(0xcb)]=_0x311ced[_0x21514f(0x9d)][_0x21514f(0xe0)](_0x5da33d=>_0x1e1173[_0x21514f(0xc1)](_0x5da33d)),_0xce2089[_0x21514f(0xe3)](_0x311ced);}[_0xec21e7(0xad)](_0x2e6ba6){const _0x28331f=_0xec21e7,_0x48f883={};_0x48f883['id']=_0x2e6ba6['id'];for(const _0x26f9be of Object[_0x28331f(0xf2)](_0x2e6ba6))'id'!==_0x26f9be&&(_0x48f883[_0x26f9be]=void 0x0);this[_0x28331f(0x101)][_0x28331f(0x10c)](_0x48f883['id'],_0x48f883,!0x0);}async[_0xec21e7(0xd3)](_0x244351){const _0x1f58b0=_0xec21e7,_0x52b771=this[_0x1f58b0(0x104)][_0x1f58b0(0xe4)][_0x1f58b0(0xaa)](_0xb0d2c1),{connection:_0x431d36}=this[_0x1f58b0(0x104)][_0x1f58b0(0xe4)][_0x1f58b0(0xaa)](_0x48ebca),_0x4a51e1=new Set();for(const _0x54b43a of _0x244351){for(const _0x25d6c5 of _0x54b43a[_0x1f58b0(0x9d)])_0x5e57dd(_0x25d6c5);_0x54b43a[_0x1f58b0(0xb6)]&&_0x5e57dd(_0x54b43a[_0x1f58b0(0xb6)]);}if(0x0===_0x4a51e1[_0x1f58b0(0xd6)])return;const _0x4061ea=await _0x4a0716[_0x1f58b0(0xe7)](_0x431d36,Array[_0x1f58b0(0xd8)](_0x4a51e1));for(const _0x29d23a of _0x4061ea)_0x52b771[_0x1f58b0(0xc1)](_0x29d23a['id'])||_0x52b771[_0x1f58b0(0xbf)](_0x29d23a);function _0x5e57dd(_0x1ba880){const _0x553703=_0x1f58b0;_0x52b771[_0x553703(0xc1)](_0x1ba880)||_0x4a51e1[_0x553703(0xdd)](_0x1ba880);}}}export{c as CloudServicesRevisionHistoryAdapter};function b(_0x47d002){const _0x70ed5c=_0xec21e7;return _0x47d002[_0x70ed5c(0xe6)][_0x70ed5c(0xaf)](_0x70ed5c(0xf0))||_0x47d002[_0x70ed5c(0xe6)][_0x70ed5c(0xaf)](_0x70ed5c(0xd1))||_0x47d002[_0x70ed5c(0xe6)][_0x70ed5c(0xaf)](_0x70ed5c(0xf4));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46354e=_0x2105;(function(_0x496993,_0xb5667f){var _0x737176=_0x2105,_0x5582f9=_0x496993();while(!![]){try{var _0x1ef3b4=parseInt(_0x737176(0x1b1))/0x1+-parseInt(_0x737176(0x1b0))/0x2+-parseInt(_0x737176(0x1ae))/0x3+-parseInt(_0x737176(0x1b3))/0x4*(parseInt(_0x737176(0x1b5))/0x5)+parseInt(_0x737176(0x1ba))/0x6+parseInt(_0x737176(0x1b8))/0x7+parseInt(_0x737176(0x1b7))/0x8;if(_0x1ef3b4===_0xb5667f)break;else _0x5582f9['push'](_0x5582f9['shift']());}catch(_0x171e06){_0x5582f9['push'](_0x5582f9['shift']());}}}(_0x8614,0x32a33));function _0x8614(){var _0x1a274d=['RealTimeCollaborativeRevisionHistory','700502FQRrkJ','206048MDdCQQ','isOfficialPlugin','5516vGVHQp','requires','85WWpBaJ','isPremiumPlugin','870496WUamSn','806890gYsuIv','pluginName','947892oCLCQa','RevisionHistory','21021MdYwOe'];_0x8614=function(){return _0x1a274d;};return _0x8614();}import{Plugin as _0x43d832}from'ckeditor5/src/core.js';function _0x2105(_0xd0b113,_0x2b45dd){var _0x86142=_0x8614();return _0x2105=function(_0x210516,_0x3a0d95){_0x210516=_0x210516-0x1ae;var _0x4943ff=_0x86142[_0x210516];return _0x4943ff;},_0x2105(_0xd0b113,_0x2b45dd);}import{CloudServicesRevisionHistoryAdapter as _0x2a1def}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0xad7b3a}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x43d832{static get[_0x46354e(0x1b4)](){var _0x59548a=_0x46354e;return[_0x59548a(0x1bb),_0x2a1def,_0xad7b3a];}static get[_0x46354e(0x1b9)](){var _0x44409c=_0x46354e;return _0x44409c(0x1af);}static get[_0x46354e(0x1b2)](){return!0x0;}static get[_0x46354e(0x1b6)](){return!0x0;}}
23
+ function _0x3754(){var _0x17e3d1=['5oyNCmd','isOfficialPlugin','requires','pluginName','3453288TizTrO','10TooUsF','RealTimeCollaborativeRevisionHistory','5259330HkwWOi','1193478lPnJmi','12891fljMNA','266112VyUyoV','isPremiumPlugin','138HaZndI','RevisionHistory','3909150vRjckL','167364XhUazi'];_0x3754=function(){return _0x17e3d1;};return _0x3754();}function _0x18b0(_0x1f693a,_0x3ad582){var _0x375413=_0x3754();return _0x18b0=function(_0x18b0b8,_0xbb1911){_0x18b0b8=_0x18b0b8-0x8f;var _0x3e51d4=_0x375413[_0x18b0b8];return _0x3e51d4;},_0x18b0(_0x1f693a,_0x3ad582);}var _0x5a4fc8=_0x18b0;(function(_0x458aac,_0x39c6ec){var _0xd2b623=_0x18b0,_0x47e4c0=_0x458aac();while(!![]){try{var _0x2792a2=parseInt(_0xd2b623(0x98))/0x1+-parseInt(_0xd2b623(0x95))/0x2*(-parseInt(_0xd2b623(0x92))/0x3)+parseInt(_0xd2b623(0x93))/0x4+parseInt(_0xd2b623(0x99))/0x5*(parseInt(_0xd2b623(0x91))/0x6)+-parseInt(_0xd2b623(0x97))/0x7+-parseInt(_0xd2b623(0x9d))/0x8+parseInt(_0xd2b623(0x90))/0x9*(parseInt(_0xd2b623(0x9e))/0xa);if(_0x2792a2===_0x39c6ec)break;else _0x47e4c0['push'](_0x47e4c0['shift']());}catch(_0x9df770){_0x47e4c0['push'](_0x47e4c0['shift']());}}}(_0x3754,0x4efe5));import{Plugin as _0x5210de}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x16ee7e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x54718c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5210de{static get[_0x5a4fc8(0x9b)](){var _0x5eecc0=_0x5a4fc8;return[_0x5eecc0(0x96),_0x16ee7e,_0x54718c];}static get[_0x5a4fc8(0x9c)](){var _0x2845e7=_0x5a4fc8;return _0x2845e7(0x8f);}static get[_0x5a4fc8(0x9a)](){return!0x0;}static get[_0x5a4fc8(0x94)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x514acd=_0x3d6a;(function(_0x3144e3,_0x3ec5c2){const _0x35041b=_0x3d6a,_0x2ba013=_0x3144e3();while(!![]){try{const _0x3e90ce=-parseInt(_0x35041b(0x165))/0x1*(-parseInt(_0x35041b(0x186))/0x2)+parseInt(_0x35041b(0x169))/0x3*(parseInt(_0x35041b(0x185))/0x4)+-parseInt(_0x35041b(0x160))/0x5*(-parseInt(_0x35041b(0x194))/0x6)+parseInt(_0x35041b(0x16f))/0x7+-parseInt(_0x35041b(0x174))/0x8*(-parseInt(_0x35041b(0x18f))/0x9)+-parseInt(_0x35041b(0x189))/0xa*(parseInt(_0x35041b(0x179))/0xb)+-parseInt(_0x35041b(0x193))/0xc;if(_0x3e90ce===_0x3ec5c2)break;else _0x2ba013['push'](_0x2ba013['shift']());}catch(_0xd9cc6b){_0x2ba013['push'](_0x2ba013['shift']());}}}(_0x12b3,0x465d3));import{Plugin as _0x236088}from'ckeditor5/src/core.js';function _0x12b3(){const _0x51d372=['addSuggestionData','data','70820ZIlwqC','update','cloud-services-internal-error:\x20Not\x20connected.','requires','TrackChangesEditing','set','841401lSvNoE','then','size','plugins','9374820zuTSJK','1476ZZjdJY','state','getMany','hasSuggestion','connected','adapter','addToReconnectionStack','getUser','message','originalSuggestionId','CloudServicesTrackChangesAdapter','isPremiumPlugin','_trackChangesService','cloud-services-internal-error:\x20Request\x20timeout.','9615CdGXia','get','TrackChangesService','collaboration.channelId','_saved','28KGboeB','startsWith','pluginName','_waitForServiceReady','3PwDEvX','isConnected','listenTo','type','from','catch','1426327JTnnka','off','add','getSuggestion','attributes','8gKQiug','_bufferedRequests','open','connect','editor','418aAxmJn','isOfficialPlugin','addUser','connection','init','config','reconnect','find','suggestionUpdated','_fetchMissingUsersForThreads','delete','values','1580968FbBOha','12358nfIukR'];_0x12b3=function(){return _0x51d372;};return _0x12b3();}function _0x3d6a(_0x1f75b7,_0x345c93){const _0x12b348=_0x12b3();return _0x3d6a=function(_0x3d6ad5,_0x367328){_0x3d6ad5=_0x3d6ad5-0x155;let _0x3ee292=_0x12b348[_0x3d6ad5];return _0x3ee292;},_0x3d6a(_0x1f75b7,_0x345c93);}import{User as _0x3350b4,TrackChangesService as _0x1636b8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5d73d0}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x511642}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x14cb53}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x236088{static [_0x514acd(0x162)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1636b8)());[_0x514acd(0x175)];[_0x514acd(0x15e)];static get[_0x514acd(0x18c)](){const _0x457550=_0x514acd;return[_0x511642,_0x457550(0x18d),_0x5d73d0];}static get[_0x514acd(0x167)](){const _0x4990fb=_0x514acd;return _0x4990fb(0x15c);}static get[_0x514acd(0x17a)](){return!0x0;}static get[_0x514acd(0x15d)](){return!0x0;}constructor(_0x1d5fd1){const _0x4507b9=_0x514acd;super(_0x1d5fd1);const _0x5378f6=this[_0x4507b9(0x178)][_0x4507b9(0x17e)][_0x4507b9(0x161)](_0x4507b9(0x163));this[_0x4507b9(0x175)]=new Map(),this[_0x4507b9(0x15e)]=new m[(_0x4507b9(0x162))](_0x5378f6);}[_0x514acd(0x17d)](){const _0xdccaae=_0x514acd,_0x294c6b=this[_0xdccaae(0x178)][_0xdccaae(0x192)][_0xdccaae(0x161)](_0x5d73d0),_0xa6c6ad=this[_0xdccaae(0x178)][_0xdccaae(0x192)][_0xdccaae(0x161)](_0xdccaae(0x18d));return _0xa6c6ad[_0xdccaae(0x157)]={'getSuggestion':async _0x57a446=>{const _0x31ef01=_0xdccaae;await this[_0x31ef01(0x168)]();const _0x54d367=await this[_0x31ef01(0x15e)][_0x31ef01(0x161)](_0x57a446)[_0x31ef01(0x16e)](B);return await this[_0x31ef01(0x182)]([_0x54d367]),_0x54d367;},'addSuggestion':async({id:_0x596acf,type:_0x49f77e,data:_0x4eede0,originalSuggestionId:_0x3ca69e,attributes:_0x1de694})=>{const _0x371650=_0xdccaae;await this[_0x371650(0x168)]();const _0x3654b5={'id':_0x596acf,'type':_0x49f77e,'data':_0x4eede0,'originalSuggestionId':_0x3ca69e,'attributes':_0x1de694},_0x4b3c6f=await this[_0x371650(0x15e)][_0x371650(0x171)](_0x596acf,_0x49f77e,_0x4eede0,_0x3ca69e,_0x1de694)[_0x371650(0x16e)](_0x5a419a=>{if(P(_0x5a419a))return new Promise(_0x32e692=>{const _0x5944d9=_0x3d6a;this[_0x5944d9(0x175)][_0x5944d9(0x18e)](_0x596acf,{'resolve':_0x32e692,'suggestionData':_0x3654b5});});throw _0x5a419a;});return this[_0x371650(0x175)][_0x371650(0x183)](_0x596acf),_0x4b3c6f;},'updateSuggestion':async(_0x32acac,_0x57a3b8)=>{const _0x43b4a3=_0xdccaae;if(await this[_0x43b4a3(0x168)](),_0x43b4a3(0x176)!==_0x57a3b8[_0x43b4a3(0x195)])return this[_0x43b4a3(0x15e)][_0x43b4a3(0x18a)](_0x32acac,_0x57a3b8)[_0x43b4a3(0x16e)](B);}},this[_0xdccaae(0x16b)](this[_0xdccaae(0x15e)],_0xdccaae(0x181),(_0xdb5d24,_0x1d7906)=>{const _0x5007fd=_0xdccaae;_0xa6c6ad[_0x5007fd(0x155)](_0x1d7906['id'])&&(_0xa6c6ad[_0x5007fd(0x172)](_0x1d7906['id'])[_0x5007fd(0x173)]=_0x1d7906[_0x5007fd(0x173)]);}),this[_0xdccaae(0x15e)][_0xdccaae(0x177)](_0x294c6b[_0xdccaae(0x17c)])[_0xdccaae(0x190)](_0x348e42=>(_0x294c6b[_0xdccaae(0x158)](this),this[_0xdccaae(0x182)](_0x348e42)[_0xdccaae(0x190)](()=>{const _0x31cc62=_0xdccaae;for(const _0x462d05 of _0x348e42){_0xa6c6ad[_0x31cc62(0x187)](_0x462d05)[_0x31cc62(0x164)]=!0x0;}})));}async[_0x514acd(0x17f)](){const _0x322c98=_0x514acd,_0x451ce8=this[_0x322c98(0x178)][_0x322c98(0x192)][_0x322c98(0x161)](_0x322c98(0x18d)),{connection:_0x5b933c}=this[_0x322c98(0x178)][_0x322c98(0x192)][_0x322c98(0x161)](_0x5d73d0),_0x5a038d=await this[_0x322c98(0x15e)][_0x322c98(0x177)](_0x5b933c);await this[_0x322c98(0x182)](_0x5a038d);for(const {suggestionData:_0xc652ff,resolve:_0x5ea92a}of this[_0x322c98(0x175)][_0x322c98(0x184)]()){let _0x2291e2=_0x5a038d[_0x322c98(0x180)](_0x136f55=>_0x136f55['id']===_0xc652ff['id']);_0x2291e2||(_0x2291e2=await this[_0x322c98(0x15e)][_0x322c98(0x171)](_0xc652ff['id'],_0xc652ff[_0x322c98(0x16c)],_0xc652ff[_0x322c98(0x188)],_0xc652ff[_0x322c98(0x15b)])),_0x5ea92a(_0x2291e2);}for(const _0x6e5c12 of _0x5a038d)_0x451ce8[_0x322c98(0x155)](_0x6e5c12['id'])||_0x451ce8[_0x322c98(0x187)](_0x6e5c12);}async[_0x514acd(0x168)](){const _0x5fd040=_0x514acd;this[_0x5fd040(0x15e)][_0x5fd040(0x16a)]||await new Promise(_0x506d2d=>{const _0x3ff857=_0x5fd040;this[_0x3ff857(0x16b)](this[_0x3ff857(0x15e)],_0x3ff857(0x156),_0x34ecc8=>{const _0x53c31d=_0x3ff857;_0x34ecc8[_0x53c31d(0x170)](),_0x506d2d();});});}async[_0x514acd(0x182)](_0x44ab97){const _0xb8f153=_0x514acd,_0x2b0b2b=this[_0xb8f153(0x178)][_0xb8f153(0x192)][_0xb8f153(0x161)](_0x14cb53),{connection:_0x394dfb}=this[_0xb8f153(0x178)][_0xb8f153(0x192)][_0xb8f153(0x161)](_0x5d73d0),_0x4bfcb9=new Set();for(const {authorId:_0x7830df}of _0x44ab97)_0x2b0b2b[_0xb8f153(0x159)](_0x7830df)||_0x4bfcb9[_0xb8f153(0x171)](_0x7830df);if(0x0===_0x4bfcb9[_0xb8f153(0x191)])return;const _0x8921f=await _0x3350b4[_0xb8f153(0x196)](_0x394dfb,Array[_0xb8f153(0x16d)](_0x4bfcb9));for(const _0x52b55d of _0x8921f)_0x2b0b2b[_0xb8f153(0x159)](_0x52b55d['id'])||_0x2b0b2b[_0xb8f153(0x17b)](_0x52b55d);}}export{m as CloudServicesTrackChangesAdapter};function B(_0x2346dc){if(P(_0x2346dc))return new Promise(()=>{});throw _0x2346dc;}function P(_0x312b6a){const _0x4c2d07=_0x514acd;return _0x312b6a[_0x4c2d07(0x15a)][_0x4c2d07(0x166)](_0x4c2d07(0x18b))||_0x312b6a[_0x4c2d07(0x15a)][_0x4c2d07(0x166)](_0x4c2d07(0x15f));}
23
+ const _0x4b7b6b=_0x2e3a;(function(_0x3ae696,_0x524f1e){const _0x5935e7=_0x2e3a,_0x599a5e=_0x3ae696();while(!![]){try{const _0x52058b=-parseInt(_0x5935e7(0x1d9))/0x1*(-parseInt(_0x5935e7(0x1f3))/0x2)+-parseInt(_0x5935e7(0x1d2))/0x3*(-parseInt(_0x5935e7(0x1d4))/0x4)+parseInt(_0x5935e7(0x1d5))/0x5+-parseInt(_0x5935e7(0x1d8))/0x6*(parseInt(_0x5935e7(0x1ec))/0x7)+parseInt(_0x5935e7(0x1ed))/0x8*(-parseInt(_0x5935e7(0x1cb))/0x9)+parseInt(_0x5935e7(0x1d1))/0xa*(parseInt(_0x5935e7(0x1c7))/0xb)+-parseInt(_0x5935e7(0x1c9))/0xc*(parseInt(_0x5935e7(0x202))/0xd);if(_0x52058b===_0x524f1e)break;else _0x599a5e['push'](_0x599a5e['shift']());}catch(_0x128f2b){_0x599a5e['push'](_0x599a5e['shift']());}}}(_0x3f6d,0xadfd8));function _0x2e3a(_0x1b9f93,_0x19fd9d){const _0x3f6dca=_0x3f6d();return _0x2e3a=function(_0x2e3aca,_0x4142ac){_0x2e3aca=_0x2e3aca-0x1c3;let _0x3b9760=_0x3f6dca[_0x2e3aca];return _0x3b9760;},_0x2e3a(_0x1b9f93,_0x19fd9d);}import{Plugin as _0x58deb7}from'ckeditor5/src/core.js';import{User as _0x171faa,TrackChangesService as _0x5dfe77}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x657bd6}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x395d89}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1f439f}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x58deb7{static [_0x4b7b6b(0x1cc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5dfe77)());[_0x4b7b6b(0x1c4)];[_0x4b7b6b(0x1e7)];static get[_0x4b7b6b(0x1d7)](){const _0x31a757=_0x4b7b6b;return[_0x395d89,_0x31a757(0x200),_0x657bd6];}static get[_0x4b7b6b(0x1dd)](){const _0x22e259=_0x4b7b6b;return _0x22e259(0x1f5);}static get[_0x4b7b6b(0x1f6)](){return!0x0;}static get[_0x4b7b6b(0x1fa)](){return!0x0;}constructor(_0x4def3a){const _0x1fd2bd=_0x4b7b6b;super(_0x4def3a);const _0x2f00ea=this[_0x1fd2bd(0x1eb)][_0x1fd2bd(0x1e0)][_0x1fd2bd(0x1ea)](_0x1fd2bd(0x1e5));this[_0x1fd2bd(0x1c4)]=new Map(),this[_0x1fd2bd(0x1e7)]=new m[(_0x1fd2bd(0x1cc))](_0x2f00ea);}[_0x4b7b6b(0x1c3)](){const _0x107eb3=_0x4b7b6b,_0x4ae525=this[_0x107eb3(0x1eb)][_0x107eb3(0x1fe)][_0x107eb3(0x1ea)](_0x657bd6),_0x9a7743=this[_0x107eb3(0x1eb)][_0x107eb3(0x1fe)][_0x107eb3(0x1ea)](_0x107eb3(0x200));return _0x9a7743[_0x107eb3(0x1e6)]={'getSuggestion':async _0x57cecf=>{const _0x51937b=_0x107eb3;await this[_0x51937b(0x201)]();const _0x2bd566=await this[_0x51937b(0x1e7)][_0x51937b(0x1ea)](_0x57cecf)[_0x51937b(0x1f0)](A);return await this[_0x51937b(0x1ce)]([_0x2bd566]),_0x2bd566;},'addSuggestion':async({id:_0x2bbf4c,type:_0x228b5f,data:_0x1b7765,originalSuggestionId:_0x4b7b23,attributes:_0x4a3e35})=>{const _0x174605=_0x107eb3;await this[_0x174605(0x201)]();const _0x467df1={'id':_0x2bbf4c,'type':_0x228b5f,'data':_0x1b7765,'originalSuggestionId':_0x4b7b23,'attributes':_0x4a3e35},_0x2db87c=await this[_0x174605(0x1e7)][_0x174605(0x1cf)](_0x2bbf4c,_0x228b5f,_0x1b7765,_0x4b7b23,_0x4a3e35)[_0x174605(0x1f0)](_0x40ca73=>{if(b(_0x40ca73))return new Promise(_0x2fa1f1=>{const _0x491540=_0x2e3a;this[_0x491540(0x1c4)][_0x491540(0x1ee)](_0x2bbf4c,{'resolve':_0x2fa1f1,'suggestionData':_0x467df1});});throw _0x40ca73;});return this[_0x174605(0x1c4)][_0x174605(0x1fd)](_0x2bbf4c),_0x2db87c;},'updateSuggestion':async(_0x39b9f0,_0x33e44b)=>{const _0x5af36f=_0x107eb3;if(await this[_0x5af36f(0x201)](),_0x5af36f(0x1e9)!==_0x33e44b[_0x5af36f(0x1df)])return this[_0x5af36f(0x1e7)][_0x5af36f(0x1c6)](_0x39b9f0,_0x33e44b)[_0x5af36f(0x1f0)](A);}},this[_0x107eb3(0x1f8)](this[_0x107eb3(0x1e7)],_0x107eb3(0x203),(_0xb46cd0,_0x2d64b7)=>{const _0x709e9e=_0x107eb3;_0x9a7743[_0x709e9e(0x1f4)](_0x2d64b7['id'])&&(_0x9a7743[_0x709e9e(0x1fc)](_0x2d64b7['id'])[_0x709e9e(0x1db)]=_0x2d64b7[_0x709e9e(0x1db)]);}),this[_0x107eb3(0x1e7)][_0x107eb3(0x1c5)](_0x4ae525[_0x107eb3(0x1ff)])[_0x107eb3(0x1de)](_0x399e9a=>(_0x4ae525[_0x107eb3(0x1f2)](this),this[_0x107eb3(0x1ce)](_0x399e9a)[_0x107eb3(0x1de)](()=>{const _0x10b8de=_0x107eb3;for(const _0x2f2105 of _0x399e9a){_0x9a7743[_0x10b8de(0x1d6)](_0x2f2105)[_0x10b8de(0x1f9)]=!0x0;}})));}async[_0x4b7b6b(0x1da)](){const _0x36a08b=_0x4b7b6b,_0x5bfa15=this[_0x36a08b(0x1eb)][_0x36a08b(0x1fe)][_0x36a08b(0x1ea)](_0x36a08b(0x200)),{connection:_0x5cd9a3}=this[_0x36a08b(0x1eb)][_0x36a08b(0x1fe)][_0x36a08b(0x1ea)](_0x657bd6),_0x2b884f=await this[_0x36a08b(0x1e7)][_0x36a08b(0x1c5)](_0x5cd9a3);await this[_0x36a08b(0x1ce)](_0x2b884f);for(const {suggestionData:_0x121e48,resolve:_0x36985e}of this[_0x36a08b(0x1c4)][_0x36a08b(0x1f1)]()){let _0x353585=_0x2b884f[_0x36a08b(0x1ca)](_0x1a135d=>_0x1a135d['id']===_0x121e48['id']);_0x353585||(_0x353585=await this[_0x36a08b(0x1e7)][_0x36a08b(0x1cf)](_0x121e48['id'],_0x121e48[_0x36a08b(0x1e2)],_0x121e48[_0x36a08b(0x1dc)],_0x121e48[_0x36a08b(0x1e8)])),_0x36985e(_0x353585);}for(const _0x52e91a of _0x2b884f)_0x5bfa15[_0x36a08b(0x1f4)](_0x52e91a['id'])||_0x5bfa15[_0x36a08b(0x1d6)](_0x52e91a);}async[_0x4b7b6b(0x201)](){const _0x4a33e4=_0x4b7b6b;this[_0x4a33e4(0x1e7)][_0x4a33e4(0x1cd)]||await new Promise(_0x1d4663=>{const _0xc7a125=_0x4a33e4;this[_0xc7a125(0x1f8)](this[_0xc7a125(0x1e7)],_0xc7a125(0x1ef),_0x4cda68=>{const _0x1537fb=_0xc7a125;_0x4cda68[_0x1537fb(0x1c8)](),_0x1d4663();});});}async[_0x4b7b6b(0x1ce)](_0x40cd11){const _0x5010a4=_0x4b7b6b,_0xcde9b4=this[_0x5010a4(0x1eb)][_0x5010a4(0x1fe)][_0x5010a4(0x1ea)](_0x1f439f),{connection:_0x539ffa}=this[_0x5010a4(0x1eb)][_0x5010a4(0x1fe)][_0x5010a4(0x1ea)](_0x657bd6),_0x2e0011=new Set();for(const {authorId:_0x2573ae}of _0x40cd11)_0xcde9b4[_0x5010a4(0x1fb)](_0x2573ae)||_0x2e0011[_0x5010a4(0x1cf)](_0x2573ae);if(0x0===_0x2e0011[_0x5010a4(0x1f7)])return;const _0x10e988=await _0x171faa[_0x5010a4(0x1d0)](_0x539ffa,Array[_0x5010a4(0x1d3)](_0x2e0011));for(const _0xbc8c55 of _0x10e988)_0xcde9b4[_0x5010a4(0x1fb)](_0xbc8c55['id'])||_0xcde9b4[_0x5010a4(0x1e4)](_0xbc8c55);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x4a842d){if(b(_0x4a842d))return new Promise(()=>{});throw _0x4a842d;}function _0x3f6d(){const _0x428f61=['update','83171VExeff','off','59016PUqBlv','find','289584rgiTCh','TrackChangesService','isConnected','_fetchMissingUsersForThreads','add','getMany','1750TBMJpX','85449SOqNwW','from','140dTiZzO','5438260hzzYFn','addSuggestionData','requires','954ypjQCF','1SDrRta','reconnect','attributes','data','pluginName','then','state','config','cloud-services-internal-error:\x20Not\x20connected.','type','startsWith','addUser','collaboration.channelId','adapter','_trackChangesService','originalSuggestionId','open','get','editor','15365cPNyPj','56PnfGNz','set','connected','catch','values','addToReconnectionStack','1502562xOKstf','hasSuggestion','CloudServicesTrackChangesAdapter','isOfficialPlugin','size','listenTo','_saved','isPremiumPlugin','getUser','getSuggestion','delete','plugins','connection','TrackChangesEditing','_waitForServiceReady','7592OYUEiB','suggestionUpdated','message','cloud-services-internal-error:\x20Request\x20timeout.','init','_bufferedRequests','connect'];_0x3f6d=function(){return _0x428f61;};return _0x3f6d();}function b(_0x3943b4){const _0x2b412d=_0x4b7b6b;return _0x3943b4[_0x2b412d(0x204)][_0x2b412d(0x1e3)](_0x2b412d(0x1e1))||_0x3943b4[_0x2b412d(0x204)][_0x2b412d(0x1e3)](_0x2b412d(0x205));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b0679=_0x94ad;function _0x94ad(_0x37f50b,_0x30a4ae){var _0x42cf8d=_0x42cf();return _0x94ad=function(_0x94ad9d,_0xfd43f8){_0x94ad9d=_0x94ad9d-0x19a;var _0xec91e9=_0x42cf8d[_0x94ad9d];return _0xec91e9;},_0x94ad(_0x37f50b,_0x30a4ae);}(function(_0x38af0f,_0x1d0a80){var _0x1c3a5a=_0x94ad,_0x40b650=_0x38af0f();while(!![]){try{var _0x366680=-parseInt(_0x1c3a5a(0x1a7))/0x1+parseInt(_0x1c3a5a(0x1a5))/0x2*(parseInt(_0x1c3a5a(0x19a))/0x3)+parseInt(_0x1c3a5a(0x1a0))/0x4*(-parseInt(_0x1c3a5a(0x1a6))/0x5)+-parseInt(_0x1c3a5a(0x19f))/0x6+-parseInt(_0x1c3a5a(0x19b))/0x7*(-parseInt(_0x1c3a5a(0x19d))/0x8)+parseInt(_0x1c3a5a(0x19c))/0x9+-parseInt(_0x1c3a5a(0x1aa))/0xa*(-parseInt(_0x1c3a5a(0x1a9))/0xb);if(_0x366680===_0x1d0a80)break;else _0x40b650['push'](_0x40b650['shift']());}catch(_0xe18769){_0x40b650['push'](_0x40b650['shift']());}}}(_0x42cf,0x36a96));import{Plugin as _0x2a9f49}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x174642}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x4648c8}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2a9f49{static get[_0x2b0679(0x1a1)](){var _0x49933e=_0x2b0679;return[_0x4648c8,_0x174642,_0x49933e(0x19e)];}static get[_0x2b0679(0x1a2)](){var _0x18c498=_0x2b0679;return _0x18c498(0x1a8);}static get[_0x2b0679(0x1a4)](){return!0x0;}static get[_0x2b0679(0x1a3)](){return!0x0;}}function _0x42cf(){var _0x227db4=['315165iVHbcV','158809QhDGla','1745307DTVjHp','24dBtAyu','TrackChanges','890718gKvjmQ','40CHIXZn','requires','pluginName','isPremiumPlugin','isOfficialPlugin','4ZzaGXw','24760YUVOgb','207088ljHCyK','RealTimeCollaborativeTrackChanges','1725471JWmPQe','10tgGgYD'];_0x42cf=function(){return _0x227db4;};return _0x42cf();}
23
+ var _0x28db08=_0x4c69;function _0x4c69(_0x366032,_0x40f99a){var _0x2c004a=_0x2c00();return _0x4c69=function(_0x4c69b1,_0x20d5bf){_0x4c69b1=_0x4c69b1-0x108;var _0x469afb=_0x2c004a[_0x4c69b1];return _0x469afb;},_0x4c69(_0x366032,_0x40f99a);}(function(_0x5a0b7e,_0xa8722b){var _0x6410c6=_0x4c69,_0x1be7ed=_0x5a0b7e();while(!![]){try{var _0x50468b=-parseInt(_0x6410c6(0x109))/0x1+parseInt(_0x6410c6(0x108))/0x2+parseInt(_0x6410c6(0x10a))/0x3+-parseInt(_0x6410c6(0x10d))/0x4+parseInt(_0x6410c6(0x10f))/0x5*(-parseInt(_0x6410c6(0x116))/0x6)+parseInt(_0x6410c6(0x111))/0x7*(-parseInt(_0x6410c6(0x10c))/0x8)+parseInt(_0x6410c6(0x10e))/0x9;if(_0x50468b===_0xa8722b)break;else _0x1be7ed['push'](_0x1be7ed['shift']());}catch(_0x5e45fc){_0x1be7ed['push'](_0x1be7ed['shift']());}}}(_0x2c00,0x9f8ad));import{Plugin as _0x3b646d}from'ckeditor5/src/core.js';function _0x2c00(){var _0x3a5168=['1400592XzkLBU','937071McAEuo','24201EHTOlg','pluginName','8kwkwEl','522912LmzVOt','19101573EqbfWY','5253285Rvrjik','isOfficialPlugin','411733zGGSol','isPremiumPlugin','requires','TrackChanges','RealTimeCollaborativeTrackChanges','6nzUtjT'];_0x2c00=function(){return _0x3a5168;};return _0x2c00();}import{CloudServicesTrackChangesAdapter as _0x91e8fb}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x287388}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3b646d{static get[_0x28db08(0x113)](){var _0x2f75aa=_0x28db08;return[_0x287388,_0x91e8fb,_0x2f75aa(0x114)];}static get[_0x28db08(0x10b)](){var _0x417a01=_0x28db08;return _0x417a01(0x115);}static get[_0x28db08(0x110)](){return!0x0;}static get[_0x28db08(0x112)](){return!0x0;}}