@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.4 → 47.3.0-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 _0x2d21bb=_0x1d49;function _0x1d49(_0x38c5f3,_0x4482e1){const _0x431793=_0x4317();return _0x1d49=function(_0x1d4907,_0x5c34e2){_0x1d4907=_0x1d4907-0x110;let _0xa66f3b=_0x431793[_0x1d4907];return _0xa66f3b;},_0x1d49(_0x38c5f3,_0x4482e1);}(function(_0x5b9950,_0x141888){const _0x2a2bf1=_0x1d49,_0x46664e=_0x5b9950();while(!![]){try{const _0x391465=parseInt(_0x2a2bf1(0x148))/0x1+parseInt(_0x2a2bf1(0x128))/0x2+parseInt(_0x2a2bf1(0x118))/0x3+parseInt(_0x2a2bf1(0x119))/0x4*(parseInt(_0x2a2bf1(0x14c))/0x5)+parseInt(_0x2a2bf1(0x13e))/0x6*(parseInt(_0x2a2bf1(0x131))/0x7)+-parseInt(_0x2a2bf1(0x149))/0x8*(-parseInt(_0x2a2bf1(0x14e))/0x9)+parseInt(_0x2a2bf1(0x12b))/0xa*(-parseInt(_0x2a2bf1(0x154))/0xb);if(_0x391465===_0x141888)break;else _0x46664e['push'](_0x46664e['shift']());}catch(_0xa4b1ee){_0x46664e['push'](_0x46664e['shift']());}}}(_0x4317,0x80b7a));function _0x4317(){const _0x44e59f=['online','all','get','removeFromReconnectionStack','98007uxOtuC','destroy','token','websocketgateway-plugin-already-registered','cloudservices-init','from','_reconnectionStack','set','error','showWarning','isOfficialPlugin','state','code','234yJdgrC','init','real-time-collaboration','isPremiumPlugin','connected','_reconnect','pluginName','cloudServices.requestTimeout','add','change:me','616539Fnnjsb','1712QkjTXy','limitExceeded','addToReconnectionStack','5105WFijOn','CONNECTING','27558gEhrAu','reconnect','define','config','_shouldPluginsReconnect','initialReconnectionInterval','11gUnXmq','function','context','_domEmitter','connect','stopListening','websocketgateway-missing-token','listenTo','DISCONNECTED','catch','has','webSocketUrl','cloudservices-reconnection-error','websocketgateway-invalid-plugin-interface','delete','2010924xRsXIm','380RRAKSH','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.','Connected\x20users\x20limit\x20exceeded','plugins','disconnect','CloudServices','requires','_isBrowserOffline','isInReconnectionStack','WebSocketGateway','cloudServices.connectionTimeout','CONNECTED','websocketgateway-missing-websocket-url','bind','connection','1531830QKZknH','offline','then','28238380fZqkBr','constructor'];_0x4317=function(){return _0x44e59f;};return _0x4317();}import{ContextPlugin as _0x4a03c6}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2868ac,CKEditorError as _0x46fce8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x40fb9d,WEB_SOCKET_GATEWAY_STATES as _0x2c523b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x197922}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4a03c6{static [_0x2d21bb(0x122)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x40fb9d)());static [_0x2d21bb(0x153)]=0x3e8;[_0x2d21bb(0x127)];[_0x2d21bb(0x137)];[_0x2d21bb(0x152)];[_0x2d21bb(0x157)];static get[_0x2d21bb(0x11f)](){const _0x9992fd=_0x2d21bb;return[_0x9992fd(0x11e),_0x197922];}static get[_0x2d21bb(0x144)](){const _0x388555=_0x2d21bb;return _0x388555(0x122);}static get[_0x2d21bb(0x13b)](){return!0x0;}static get[_0x2d21bb(0x141)](){return!0x0;}constructor(_0x1bc636){const _0x2fc60b=_0x2d21bb;super(_0x1bc636),this[_0x2fc60b(0x138)](_0x2fc60b(0x13c),_0x2c523b[_0x2fc60b(0x124)]),this[_0x2fc60b(0x138)](_0x2fc60b(0x120),!0x1),this[_0x2fc60b(0x137)]=new Set(),this[_0x2fc60b(0x152)]=!0x1,this[_0x2fc60b(0x157)]=new(_0x2868ac())();}[_0x2d21bb(0x13f)](){const _0x316615=_0x2d21bb,_0x3b41bb=this[_0x316615(0x156)],_0x184270=_0x3b41bb[_0x316615(0x11c)][_0x316615(0x12f)](_0x316615(0x11e)),_0x187db4=_0x3b41bb[_0x316615(0x11c)][_0x316615(0x12f)](_0x197922);if(!_0x184270[_0x316615(0x133)])throw new _0x46fce8(_0x316615(0x15a),this);if(!_0x184270[_0x316615(0x114)])throw new _0x46fce8(_0x316615(0x125),this);return this[_0x316615(0x157)][_0x316615(0x110)](window,_0x316615(0x129),()=>this[_0x316615(0x120)]=!0x0),this[_0x316615(0x157)][_0x316615(0x110)](window,_0x316615(0x12d),()=>this[_0x316615(0x120)]=!0x1),this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x150)](_0x316615(0x123),0xa),this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x150)](_0x316615(0x145),0x14),WebSocketGateway[_0x316615(0x122)][_0x316615(0x158)](_0x184270[_0x316615(0x133)],_0x184270[_0x316615(0x114)],{'timeout':0x3e8*this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x12f)](_0x316615(0x123)),'requestTimeout':0x3e8*this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x12f)](_0x316615(0x145))})[_0x316615(0x12a)](_0x2b3f34=>{const _0x50270c=_0x316615;if(this[_0x50270c(0x127)]=_0x2b3f34,this[_0x50270c(0x126)](_0x50270c(0x13c))['to'](_0x2b3f34,_0x50270c(0x13c),this,_0x50270c(0x120),(_0x437b5b,_0xde88cf)=>(_0x50270c(0x142)!==_0x437b5b&&(this[_0x50270c(0x152)]=!0x0),_0xde88cf||_0x437b5b!==_0x2c523b[_0x50270c(0x124)]?_0x2c523b[_0x50270c(0x111)]:this[_0x50270c(0x13c)]==_0x2c523b[_0x50270c(0x111)]&&this[_0x50270c(0x152)]?(this[_0x50270c(0x152)]=!0x1,this[_0x50270c(0x143)](),_0x2c523b[_0x50270c(0x14d)]):_0x2c523b[_0x50270c(0x124)])),this[_0x50270c(0x127)]['on'](_0x50270c(0x139),(_0x2c227d,_0x3f9c65)=>{const _0xa4885=_0x50270c;if(_0xa4885(0x14a)!==_0x3f9c65[_0xa4885(0x13d)])throw console[_0xa4885(0x139)](_0x3f9c65),new _0x46fce8(_0xa4885(0x135),null,{'originalError':_0x3f9c65});_0x187db4[_0xa4885(0x13a)](_0xa4885(0x11a),{'title':_0xa4885(0x11b),'namespace':_0xa4885(0x140)});}),!_0x2b3f34['me'])return new Promise(_0x77f5d9=>_0x2b3f34['on'](_0x50270c(0x147),_0x77f5d9));})[_0x316615(0x112)](_0x4919e4=>{const _0x315041=_0x316615;throw console[_0x315041(0x139)](_0x4919e4),new _0x46fce8(_0x315041(0x135),null,{'originalError':_0x4919e4});});}[_0x2d21bb(0x14b)](_0x24ec1d){const _0x3dfe88=_0x2d21bb;if(_0x3dfe88(0x155)!=typeof _0x24ec1d[_0x3dfe88(0x14f)])throw new _0x46fce8(_0x3dfe88(0x116),this);if(this[_0x3dfe88(0x121)](_0x24ec1d))throw new _0x46fce8(_0x3dfe88(0x134),this,{'name':_0x24ec1d[_0x3dfe88(0x12c)][_0x3dfe88(0x144)]});this[_0x3dfe88(0x137)][_0x3dfe88(0x146)](_0x24ec1d);}[_0x2d21bb(0x130)](_0x250ae1){const _0x33d6a9=_0x2d21bb;this[_0x33d6a9(0x137)][_0x33d6a9(0x117)](_0x250ae1);}[_0x2d21bb(0x121)](_0x567e69){const _0x542db3=_0x2d21bb;return this[_0x542db3(0x137)][_0x542db3(0x113)](_0x567e69);}[_0x2d21bb(0x143)](){const _0x28f6c4=_0x2d21bb;return this[_0x28f6c4(0x127)][_0x28f6c4(0x14f)]()[_0x28f6c4(0x12a)](()=>Promise[_0x28f6c4(0x12e)](Array[_0x28f6c4(0x136)](this[_0x28f6c4(0x137)],_0x520fae=>_0x520fae[_0x28f6c4(0x14f)]())))[_0x28f6c4(0x12a)](()=>this[_0x28f6c4(0x13c)]=_0x2c523b[_0x28f6c4(0x124)])[_0x28f6c4(0x112)](_0x4a9972=>{const _0x588e6e=_0x28f6c4;throw console[_0x588e6e(0x139)](_0x4a9972),new _0x46fce8(_0x588e6e(0x115),this[_0x588e6e(0x156)]);});}[_0x2d21bb(0x11d)](){const _0x3bf38c=_0x2d21bb;this[_0x3bf38c(0x127)]&&this[_0x3bf38c(0x127)][_0x3bf38c(0x11d)](),this[_0x3bf38c(0x13c)]=_0x2c523b[_0x3bf38c(0x111)],this[_0x3bf38c(0x157)][_0x3bf38c(0x159)]();}[_0x2d21bb(0x132)](){const _0x1ee63b=_0x2d21bb;this[_0x1ee63b(0x11d)](),super[_0x1ee63b(0x132)]();}}
23
+ const _0x2ca671=_0x3ea4;(function(_0xae5436,_0x698f65){const _0x48e7d5=_0x3ea4,_0x30cd42=_0xae5436();while(!![]){try{const _0x25e2a4=-parseInt(_0x48e7d5(0x186))/0x1+parseInt(_0x48e7d5(0x187))/0x2*(-parseInt(_0x48e7d5(0x14f))/0x3)+-parseInt(_0x48e7d5(0x147))/0x4*(-parseInt(_0x48e7d5(0x17e))/0x5)+parseInt(_0x48e7d5(0x162))/0x6*(parseInt(_0x48e7d5(0x172))/0x7)+-parseInt(_0x48e7d5(0x160))/0x8*(parseInt(_0x48e7d5(0x173))/0x9)+-parseInt(_0x48e7d5(0x16c))/0xa+parseInt(_0x48e7d5(0x18a))/0xb*(parseInt(_0x48e7d5(0x148))/0xc);if(_0x25e2a4===_0x698f65)break;else _0x30cd42['push'](_0x30cd42['shift']());}catch(_0x5bbf81){_0x30cd42['push'](_0x30cd42['shift']());}}}(_0x3afc,0xdf7b4));function _0x3ea4(_0x293113,_0xc8d36e){const _0x3afcf2=_0x3afc();return _0x3ea4=function(_0x3ea49e,_0x14ee9a){_0x3ea49e=_0x3ea49e-0x145;let _0x13ddd4=_0x3afcf2[_0x3ea49e];return _0x13ddd4;},_0x3ea4(_0x293113,_0xc8d36e);}import{ContextPlugin as _0x12f3cd}from'ckeditor5/src/core.js';function _0x3afc(){const _0x41c6f4=['_reconnect','listenTo','bind','cloudServices.connectionTimeout','426344RPVWAn','1942134LOLscY','websocketgateway-missing-websocket-url','showWarning','33JLbrOj','websocketgateway-invalid-plugin-interface','DISCONNECTED','webSocketUrl','function','change:me','delete','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.','config','1636SUjdZg','9872868CqgbUJ','define','init','plugins','addToReconnectionStack','requires','from','3eIxjmQ','pluginName','constructor','context','connection','_domEmitter','websocketgateway-missing-token','initialReconnectionInterval','limitExceeded','cloudServices.requestTimeout','_isBrowserOffline','isInReconnectionStack','websocketgateway-plugin-already-registered','offline','Connected\x20users\x20limit\x20exceeded','state','isOfficialPlugin','464EqvbNy','CloudServices','22818VOYTBG','isPremiumPlugin','CONNECTED','set','get','connected','WebSocketGateway','has','connect','token','2421630QooFhv','CONNECTING','_shouldPluginsReconnect','reconnect','add','real-time-collaboration','49aftCFO','196173jUatqs','online','destroy','_reconnectionStack','catch','removeFromReconnectionStack','code','all','then','stopListening','error','16190YwyOPq','cloudservices-init','cloudservices-reconnection-error','disconnect'];_0x3afc=function(){return _0x41c6f4;};return _0x3afc();}import{DomEmitterMixin as _0x2b6e6d,CKEditorError as _0x4640fd}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5a6495,WEB_SOCKET_GATEWAY_STATES as _0x5e3c2b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x513eec}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x12f3cd{static [_0x2ca671(0x168)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5a6495)());static [_0x2ca671(0x156)]=0x3e8;[_0x2ca671(0x153)];[_0x2ca671(0x176)];[_0x2ca671(0x16e)];[_0x2ca671(0x154)];static get[_0x2ca671(0x14d)](){const _0x2256d1=_0x2ca671;return[_0x2256d1(0x161),_0x513eec];}static get[_0x2ca671(0x150)](){const _0x407043=_0x2ca671;return _0x407043(0x168);}static get[_0x2ca671(0x15f)](){return!0x0;}static get[_0x2ca671(0x163)](){return!0x0;}constructor(_0x168dad){const _0x368daf=_0x2ca671;super(_0x168dad),this[_0x368daf(0x165)](_0x368daf(0x15e),_0x5e3c2b[_0x368daf(0x164)]),this[_0x368daf(0x165)](_0x368daf(0x159),!0x1),this[_0x368daf(0x176)]=new Set(),this[_0x368daf(0x16e)]=!0x1,this[_0x368daf(0x154)]=new(_0x2b6e6d())();}[_0x2ca671(0x14a)](){const _0x2945e2=_0x2ca671,_0x3d4a8b=this[_0x2945e2(0x152)],_0x28c171=_0x3d4a8b[_0x2945e2(0x14b)][_0x2945e2(0x166)](_0x2945e2(0x161)),_0x2592b8=_0x3d4a8b[_0x2945e2(0x14b)][_0x2945e2(0x166)](_0x513eec);if(!_0x28c171[_0x2945e2(0x16b)])throw new _0x4640fd(_0x2945e2(0x155),this);if(!_0x28c171[_0x2945e2(0x18d)])throw new _0x4640fd(_0x2945e2(0x188),this);return this[_0x2945e2(0x154)][_0x2945e2(0x183)](window,_0x2945e2(0x15c),()=>this[_0x2945e2(0x159)]=!0x0),this[_0x2945e2(0x154)][_0x2945e2(0x183)](window,_0x2945e2(0x174),()=>this[_0x2945e2(0x159)]=!0x1),this[_0x2945e2(0x152)][_0x2945e2(0x146)][_0x2945e2(0x149)](_0x2945e2(0x185),0xa),this[_0x2945e2(0x152)][_0x2945e2(0x146)][_0x2945e2(0x149)](_0x2945e2(0x158),0x14),WebSocketGateway[_0x2945e2(0x168)][_0x2945e2(0x16a)](_0x28c171[_0x2945e2(0x16b)],_0x28c171[_0x2945e2(0x18d)],{'timeout':0x3e8*this[_0x2945e2(0x152)][_0x2945e2(0x146)][_0x2945e2(0x166)](_0x2945e2(0x185)),'requestTimeout':0x3e8*this[_0x2945e2(0x152)][_0x2945e2(0x146)][_0x2945e2(0x166)](_0x2945e2(0x158))})[_0x2945e2(0x17b)](_0x44aefb=>{const _0x4699bc=_0x2945e2;if(this[_0x4699bc(0x153)]=_0x44aefb,this[_0x4699bc(0x184)](_0x4699bc(0x15e))['to'](_0x44aefb,_0x4699bc(0x15e),this,_0x4699bc(0x159),(_0x41036e,_0x4ccee8)=>(_0x4699bc(0x167)!==_0x41036e&&(this[_0x4699bc(0x16e)]=!0x0),_0x4ccee8||_0x41036e!==_0x5e3c2b[_0x4699bc(0x164)]?_0x5e3c2b[_0x4699bc(0x18c)]:this[_0x4699bc(0x15e)]==_0x5e3c2b[_0x4699bc(0x18c)]&&this[_0x4699bc(0x16e)]?(this[_0x4699bc(0x16e)]=!0x1,this[_0x4699bc(0x182)](),_0x5e3c2b[_0x4699bc(0x16d)]):_0x5e3c2b[_0x4699bc(0x164)])),this[_0x4699bc(0x153)]['on'](_0x4699bc(0x17d),(_0x37d5d4,_0x75fd48)=>{const _0x2f89d7=_0x4699bc;if(_0x2f89d7(0x157)!==_0x75fd48[_0x2f89d7(0x179)])throw console[_0x2f89d7(0x17d)](_0x75fd48),new _0x4640fd(_0x2f89d7(0x17f),null,{'originalError':_0x75fd48});_0x2592b8[_0x2f89d7(0x189)](_0x2f89d7(0x145),{'title':_0x2f89d7(0x15d),'namespace':_0x2f89d7(0x171)});}),!_0x44aefb['me'])return new Promise(_0x5d98f8=>_0x44aefb['on'](_0x4699bc(0x18f),_0x5d98f8));})[_0x2945e2(0x177)](_0x124340=>{const _0x2d76bb=_0x2945e2;throw console[_0x2d76bb(0x17d)](_0x124340),new _0x4640fd(_0x2d76bb(0x17f),null,{'originalError':_0x124340});});}[_0x2ca671(0x14c)](_0x5e02d6){const _0xfb2fb0=_0x2ca671;if(_0xfb2fb0(0x18e)!=typeof _0x5e02d6[_0xfb2fb0(0x16f)])throw new _0x4640fd(_0xfb2fb0(0x18b),this);if(this[_0xfb2fb0(0x15a)](_0x5e02d6))throw new _0x4640fd(_0xfb2fb0(0x15b),this,{'name':_0x5e02d6[_0xfb2fb0(0x151)][_0xfb2fb0(0x150)]});this[_0xfb2fb0(0x176)][_0xfb2fb0(0x170)](_0x5e02d6);}[_0x2ca671(0x178)](_0x439da8){const _0x4c5f67=_0x2ca671;this[_0x4c5f67(0x176)][_0x4c5f67(0x190)](_0x439da8);}[_0x2ca671(0x15a)](_0x492a5c){const _0x51a29b=_0x2ca671;return this[_0x51a29b(0x176)][_0x51a29b(0x169)](_0x492a5c);}[_0x2ca671(0x182)](){const _0x85c74a=_0x2ca671;return this[_0x85c74a(0x153)][_0x85c74a(0x16f)]()[_0x85c74a(0x17b)](()=>Promise[_0x85c74a(0x17a)](Array[_0x85c74a(0x14e)](this[_0x85c74a(0x176)],_0x1d12b0=>_0x1d12b0[_0x85c74a(0x16f)]())))[_0x85c74a(0x17b)](()=>this[_0x85c74a(0x15e)]=_0x5e3c2b[_0x85c74a(0x164)])[_0x85c74a(0x177)](_0x1e9b77=>{const _0x317e81=_0x85c74a;throw console[_0x317e81(0x17d)](_0x1e9b77),new _0x4640fd(_0x317e81(0x180),this[_0x317e81(0x152)]);});}[_0x2ca671(0x181)](){const _0xe8c551=_0x2ca671;this[_0xe8c551(0x153)]&&this[_0xe8c551(0x153)][_0xe8c551(0x181)](),this[_0xe8c551(0x15e)]=_0x5e3c2b[_0xe8c551(0x18c)],this[_0xe8c551(0x154)][_0xe8c551(0x17c)]();}[_0x2ca671(0x175)](){const _0x58e5e7=_0x2ca671;this[_0x58e5e7(0x181)](),super[_0x58e5e7(0x175)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb1efb9=_0x5774;(function(_0x21f737,_0x49e35d){var _0x2d8da0=_0x5774,_0x4b9389=_0x21f737();while(!![]){try{var _0x12ed25=-parseInt(_0x2d8da0(0x168))/0x1*(parseInt(_0x2d8da0(0x16d))/0x2)+parseInt(_0x2d8da0(0x172))/0x3*(parseInt(_0x2d8da0(0x174))/0x4)+parseInt(_0x2d8da0(0x16f))/0x5+-parseInt(_0x2d8da0(0x16e))/0x6+parseInt(_0x2d8da0(0x16b))/0x7*(-parseInt(_0x2d8da0(0x175))/0x8)+parseInt(_0x2d8da0(0x170))/0x9+parseInt(_0x2d8da0(0x169))/0xa;if(_0x12ed25===_0x49e35d)break;else _0x4b9389['push'](_0x4b9389['shift']());}catch(_0xbe5d2f){_0x4b9389['push'](_0x4b9389['shift']());}}}(_0x1557,0xb76bc));import{Plugin as _0x57ff32}from'ckeditor5/src/core.js';function _0x1557(){var _0x1b9433=['1649035ZehJpL','9079641BbtzpO','requires','72093rEoQsM','isPremiumPlugin','184kXGFqv','8GYGfBE','pluginName','750251yLprWB','7349560QHcgWV','isOfficialPlugin','9235821GSElkj','RealTimeCollaborativeEditing','2aKovJu','2148552AMwKfH'];_0x1557=function(){return _0x1b9433;};return _0x1557();}function _0x5774(_0x482f25,_0x12d04a){var _0x1557bd=_0x1557();return _0x5774=function(_0x577476,_0x5e987d){_0x577476=_0x577476-0x167;var _0x5072c1=_0x1557bd[_0x577476];return _0x5072c1;},_0x5774(_0x482f25,_0x12d04a);}import{RealTimeCollaborationClient as _0x43e8f3}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x57ff32{static get[_0xb1efb9(0x171)](){return[_0x43e8f3];}static get[_0xb1efb9(0x167)](){var _0x460b35=_0xb1efb9;return _0x460b35(0x16c);}static get[_0xb1efb9(0x16a)](){return!0x0;}static get[_0xb1efb9(0x173)](){return!0x0;}}
23
+ var _0x58cf74=_0x5a0c;function _0x145d(){var _0x1a1034=['3WQKSiH','393014PvGRox','2919550JVitHd','1328530JAuYqh','2975512RlMVpX','RealTimeCollaborativeEditing','6294KMxeSS','pluginName','1506HcAjFW','9sLtGlB','14826LboZGY','requires','1168BsTpwM','isOfficialPlugin','2904187Kbyohk','isPremiumPlugin'];_0x145d=function(){return _0x1a1034;};return _0x145d();}(function(_0x2d49cc,_0x1feb9a){var _0x498fa6=_0x5a0c,_0xf9efcf=_0x2d49cc();while(!![]){try{var _0x271fd0=parseInt(_0x498fa6(0x172))/0x1*(-parseInt(_0x498fa6(0x163))/0x2)+parseInt(_0x498fa6(0x168))/0x3*(parseInt(_0x498fa6(0x16e))/0x4)+parseInt(_0x498fa6(0x164))/0x5+parseInt(_0x498fa6(0x16a))/0x6*(-parseInt(_0x498fa6(0x16c))/0x7)+parseInt(_0x498fa6(0x166))/0x8*(parseInt(_0x498fa6(0x16b))/0x9)+parseInt(_0x498fa6(0x165))/0xa+-parseInt(_0x498fa6(0x170))/0xb;if(_0x271fd0===_0x1feb9a)break;else _0xf9efcf['push'](_0xf9efcf['shift']());}catch(_0x294650){_0xf9efcf['push'](_0xf9efcf['shift']());}}}(_0x145d,0x4d302));import{Plugin as _0x329978}from'ckeditor5/src/core.js';function _0x5a0c(_0x35519b,_0x3600e1){var _0x145dd9=_0x145d();return _0x5a0c=function(_0x5a0c1a,_0x636c80){_0x5a0c1a=_0x5a0c1a-0x163;var _0xb5c15e=_0x145dd9[_0x5a0c1a];return _0xb5c15e;},_0x5a0c(_0x35519b,_0x3600e1);}import{RealTimeCollaborationClient as _0x30a481}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x329978{static get[_0x58cf74(0x16d)](){return[_0x30a481];}static get[_0x58cf74(0x169)](){var _0x88b486=_0x58cf74;return _0x88b486(0x167);}static get[_0x58cf74(0x16f)](){return!0x0;}static get[_0x58cf74(0x171)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365893=_0xb9d5;(function(_0x40f827,_0x39d692){const _0x3dca3e=_0xb9d5,_0x547e83=_0x40f827();while(!![]){try{const _0x4963e0=parseInt(_0x3dca3e(0xf1))/0x1*(parseInt(_0x3dca3e(0xd4))/0x2)+-parseInt(_0x3dca3e(0xd5))/0x3*(parseInt(_0x3dca3e(0xc9))/0x4)+-parseInt(_0x3dca3e(0xbd))/0x5+parseInt(_0x3dca3e(0x11d))/0x6+-parseInt(_0x3dca3e(0xef))/0x7+-parseInt(_0x3dca3e(0x101))/0x8*(parseInt(_0x3dca3e(0xe4))/0x9)+-parseInt(_0x3dca3e(0xf0))/0xa*(-parseInt(_0x3dca3e(0xcd))/0xb);if(_0x4963e0===_0x39d692)break;else _0x547e83['push'](_0x547e83['shift']());}catch(_0xd42353){_0x547e83['push'](_0x547e83['shift']());}}}(_0x3bb9,0xb017c));import{Plugin as _0x5c2c99}from'ckeditor5/src/core.js';import{version as _0x331c85}from'ckeditor5/src/utils.js';import{Users as _0x14a78d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x589bda}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x1ced0b}from'../realtimecollaborativeediting/websocketgateway.js';function _0xb9d5(_0x26cc25,_0x1f04ec){const _0x3bb9ca=_0x3bb9();return _0xb9d5=function(_0xb9d5b6,_0x42c536){_0xb9d5b6=_0xb9d5b6-0xbc;let _0x34bfc3=_0x3bb9ca[_0xb9d5b6];return _0x34bfc3;},_0xb9d5(_0x26cc25,_0x1f04ec);}import{Sessions as _0x38cdb0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x34662b,RevisionHistoryService as _0x49e3dd,User as _0x4c0d81,WEB_SOCKET_GATEWAY_STATES as _0x3e6032}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5c2c99{static [_0x365893(0xea)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x49e3dd)());[_0x365893(0xdc)];[_0x365893(0xe7)];[_0x365893(0x105)];[_0x365893(0x12f)];static get[_0x365893(0xd1)](){const _0x20c6ed=_0x365893;return[_0x1ced0b,_0x589bda,_0x20c6ed(0xe0),_0x38cdb0,_0x14a78d];}static get[_0x365893(0xcf)](){const _0x1adbc8=_0x365893;return _0x1adbc8(0xee);}static get[_0x365893(0x10f)](){return!0x0;}static get[_0x365893(0x125)](){return!0x0;}constructor(_0x1c6564){const _0x4b76e2=_0x365893;super(_0x1c6564);const _0x1ad15d=this[_0x4b76e2(0xbc)][_0x4b76e2(0xfd)][_0x4b76e2(0xf4)](_0x4b76e2(0x128));this[_0x4b76e2(0xdc)]=null,this[_0x4b76e2(0xe7)]=this[_0x4b76e2(0xbc)][_0x4b76e2(0x10b)][_0x4b76e2(0xf4)](_0x4b76e2(0xec)),this[_0x4b76e2(0x105)]=new CloudServicesRevisionHistoryAdapter[(_0x4b76e2(0xea))](_0x1ad15d);}async[_0x365893(0xbf)](){const _0x39f429=_0x365893,_0x407b36=this[_0x39f429(0xbc)][_0x39f429(0x10b)][_0x39f429(0xf4)](_0x589bda),_0x144a46=_0x407b36[_0x39f429(0x111)],_0x38ba61=this[_0x39f429(0xbc)][_0x39f429(0x10b)][_0x39f429(0xf4)](_0x1ced0b);this[_0x39f429(0xe7)][_0x39f429(0xf6)]({'history':_0x144a46,'getLatestVersion':()=>this[_0x39f429(0xc1)](),'getCurrentRevisionId':()=>_0x407b36[_0x39f429(0x10d)]});const _0x6c0532=this[_0x39f429(0xbc)][_0x39f429(0xfd)][_0x39f429(0xf4)](_0x39f429(0x114))||_0x331c85,_0x14a4b5=await _0x34662b[_0x39f429(0xda)](_0x38ba61[_0x39f429(0xed)],_0x6c0532);this[_0x39f429(0xbc)][_0x39f429(0x10b)][_0x39f429(0xf4)](_0x39f429(0xe0))[_0x39f429(0x11e)]={'getRevision':async({revisionId:_0x1512e5})=>(await this[_0x39f429(0xde)](),await this[_0x39f429(0x105)][_0x39f429(0x127)](_0x1512e5)),'updateRevisions':async _0x9abf7d=>{const _0x3146ac=_0x39f429;await this[_0x3146ac(0xde)]();const _0x53b441=this[_0x3146ac(0xe7)][_0x3146ac(0xd3)];if(_0x14a4b5&&0x1===_0x9abf7d[_0x3146ac(0xf9)]&&_0x9abf7d[0x0]['id']===_0x53b441['id'])return _0x9abf7d;for(const _0xee758a of _0x9abf7d)_0xee758a['id']===_0x53b441['id']&&(_0xee758a[_0x3146ac(0x118)]=_0xee758a[_0x3146ac(0x129)]===_0xee758a[_0x3146ac(0xcb)]);return this[_0x3146ac(0x105)][_0x3146ac(0x103)](_0x9abf7d,this[_0x3146ac(0xdc)])[_0x3146ac(0xd8)](_0x34e61f=>(this[_0x3146ac(0xdc)]=_0x34e61f,_0x9abf7d))[_0x3146ac(0xd7)](_0x3e6b93=>{const _0x433e10=_0x3146ac;if(ot(_0x3e6b93)||_0x433e10(0xc2)===_0x3e6b93[_0x433e10(0x124)]&&void 0x0!==_0x3e6b93[_0x433e10(0x107)][_0x433e10(0x119)]){for(const _0xc167c0 of _0x9abf7d){!this[_0x433e10(0xe7)][_0x433e10(0xc8)][_0x433e10(0x127)](_0xc167c0['id'])||this[_0x433e10(0xe7)][_0x433e10(0x100)](_0xc167c0['id'],_0xc167c0,!0x1);}if(ot(_0x3e6b93))throw _0x3e6b93;return _0x9abf7d;}throw _0x3e6b93;});}},this[_0x39f429(0xf2)](this[_0x39f429(0x105)],_0x39f429(0xd6),(_0x5a6795,{revisionsData:_0xc55acb,requestId:_0x113e42})=>{const _0x789130=_0x39f429;Math[_0x789130(0x113)](..._0xc55acb[_0x789130(0x12d)](_0x42d901=>_0x42d901[_0x789130(0xcb)]))>this[_0x789130(0xdf)]()-0x1?this[_0x789130(0xc1)]()[_0x789130(0xd8)](()=>{const _0x1860ae=_0x789130;this[_0x1860ae(0xc3)](_0xc55acb,_0x113e42);}):this[_0x789130(0xc3)](_0xc55acb,_0x113e42);});const {revisions:_0x49b287,requestId:_0x57479e}=await this[_0x39f429(0x105)][_0x39f429(0xd2)](_0x38ba61[_0x39f429(0xed)]);_0x38ba61[_0x39f429(0xbe)](this),this[_0x39f429(0xdc)]=_0x57479e,await this[_0x39f429(0xfb)](_0x49b287);for(const _0x49d024 of _0x49b287)this[_0x39f429(0xe7)][_0x39f429(0x12b)](_0x49d024);this[_0x39f429(0xf2)](_0x407b36,_0x39f429(0x117),(_0x746feb,_0x4e49aa,_0x4f6819)=>{const _0x101e41=_0x39f429;_0x4f6819&&(this[_0x101e41(0x12f)]=_0x407b36[_0x101e41(0xcc)],_0x746feb[_0x101e41(0xc6)]());}),this[_0x39f429(0xe7)][_0x39f429(0x10a)](_0x39f429(0x121))['to'](_0x38ba61,_0x39f429(0x116),_0xa9d0f1=>_0xa9d0f1===_0x3e6032[_0x39f429(0xe9)]);}async[_0x365893(0xe8)](){const _0x10d41c=_0x365893,_0x4a2222=this[_0x10d41c(0xbc)][_0x10d41c(0x10b)][_0x10d41c(0xf4)](_0x1ced0b),_0x2967d0=this[_0x10d41c(0xbc)][_0x10d41c(0x10b)][_0x10d41c(0xf4)](_0x589bda),_0x403da3=async()=>{const _0x342857=_0x10d41c,_0x36e087=this[_0x342857(0xe7)][_0x342857(0xd3)],_0x48f229=_0x36e087['id'],_0x29d1c0=_0x48f229!==_0x2967d0[_0x342857(0x10d)];if(_0x29d1c0){const _0x38132e=_0x2967d0[_0x342857(0xcc)]-this[_0x342857(0x12f)],_0x2f8917=this[_0x342857(0xdf)]();this[_0x342857(0xe7)][_0x342857(0x104)][_0x342857(0x110)]();if(_0x36e087[_0x342857(0xcb)]+_0x38132e!==_0x2f8917){const _0x591e36=_0x36e087[_0x342857(0x129)]+_0x38132e,_0x4a6835=this[_0x342857(0xbc)][_0x342857(0x10b)][_0x342857(0xf4)](_0x14a78d),_0x16c7d0=this[_0x342857(0xe7)][_0x342857(0x112)]({'revision':_0x36e087,'from':_0x591e36,'to':_0x2f8917});_0x16c7d0['id']=_0x36e087['id'];const _0x58c4fe=_0x16c7d0[_0x342857(0xf3)][_0x342857(0x12d)](_0x2510fa=>_0x4a6835[_0x342857(0xf8)](_0x2510fa));_0x36e087[_0x342857(0x102)]({..._0x16c7d0,'authors':_0x58c4fe},!0x0),this[_0x342857(0xe7)][_0x342857(0x100)](_0x36e087['id'],_0x16c7d0,!0x0);}this[_0x342857(0xe7)][_0x342857(0xd9)]=_0x2f8917,(_0x36e087[_0x342857(0xcb)]===_0x36e087[_0x342857(0x129)]&&!this[_0x342857(0xe7)][_0x342857(0xdd)][_0x342857(0x108)](_0x48f229)&&this[_0x342857(0xe7)][_0x342857(0xc8)][_0x342857(0xe2)][_0x342857(0xfc)](_0x48f229),this[_0x342857(0xe7)][_0x342857(0xe3)](_0x2f8917));}const {revisions:_0x10ddd9,requestId:_0x18f31}=await this[_0x342857(0x105)][_0x342857(0xe8)](_0x4a2222[_0x342857(0xed)],this[_0x342857(0xdc)]);_0x29d1c0&&_0x10ddd9[_0x342857(0xf9)]>0x0?_0x2967d0[_0x342857(0xfe)]():(await this[_0x342857(0xfb)](_0x10ddd9),this[_0x342857(0xc3)](_0x10ddd9,_0x18f31),this[_0x342857(0xe7)][_0x342857(0x10e)]());};return _0x2967d0[_0x10d41c(0x130)]?_0x403da3():new Promise((_0x3999a8,_0x4fb85b)=>{const _0x4a2ca5=_0x10d41c;_0x2967d0[_0x4a2ca5(0xe6)](_0x4a2ca5(0x117),()=>{const _0x1d37d0=_0x4a2ca5;_0x403da3()[_0x1d37d0(0xd8)](_0x3999a8)[_0x1d37d0(0xd7)](_0x4fb85b);});});}[_0x365893(0xc5)](){const _0x4bd82b=_0x365893;super[_0x4bd82b(0xc5)]();}async[_0x365893(0xde)](){const _0x212bcc=_0x365893;this[_0x212bcc(0x105)][_0x212bcc(0xe5)]||await new Promise(_0x1923c4=>{const _0x12f3e9=_0x212bcc;this[_0x12f3e9(0xf2)](this[_0x12f3e9(0x105)],_0x12f3e9(0xca),_0x5009e5=>{const _0x462132=_0x12f3e9;_0x5009e5[_0x462132(0xc6)](),_0x1923c4();});});}[_0x365893(0xdf)](){const _0x369774=_0x365893,_0x404402=this[_0x369774(0xbc)][_0x369774(0x10b)][_0x369774(0xf4)](_0x589bda)[_0x369774(0x111)][_0x369774(0x120)]()[_0x369774(0x126)]();for(const _0x7ea528 of _0x404402)if(_0x369774(0x109)!==_0x7ea528[_0x369774(0xc7)]||_0x7ea528[_0x369774(0xf7)])return _0x7ea528[_0x369774(0x115)]+0x1;}[_0x365893(0xc1)](){const _0x4a27e2=_0x365893,_0x5e4de6=this[_0x4a27e2(0xbc)][_0x4a27e2(0x10b)][_0x4a27e2(0xf4)](_0x589bda);return new Promise(_0x4a4ce7=>{const _0x21ca45=_0x4a27e2;_0x5e4de6[_0x21ca45(0x12c)]?_0x5e4de6[_0x21ca45(0xe6)](_0x21ca45(0xc0),()=>{const _0x4b6698=_0x21ca45;_0x4a4ce7(this[_0x4b6698(0xdf)]());}):_0x4a4ce7(this[_0x21ca45(0xdf)]());});}[_0x365893(0xc3)](_0x3d7953,_0x551633){const _0x22f267=_0x365893,_0x51dc5a=this[_0x22f267(0xe7)][_0x22f267(0xc8)];this[_0x22f267(0xdc)]=_0x551633;for(const _0x206207 of _0x3d7953){const _0x5b5c98=_0x51dc5a[_0x22f267(0x127)](_0x206207['id']);if(_0x5b5c98){if((_0x206207[_0x22f267(0x129)]||_0x206207[_0x22f267(0xcb)])&&(_0x206207[_0x22f267(0xeb)]=null),_0x5b5c98===this[_0x22f267(0xe7)][_0x22f267(0xd3)]){const _0x498f43=Math[_0x22f267(0x113)](_0x5b5c98[_0x22f267(0xcb)],_0x206207[_0x22f267(0xcb)]),_0x53423b=Math[_0x22f267(0x113)](_0x5b5c98[_0x22f267(0x129)],_0x206207[_0x22f267(0x129)]);let _0x4e9876;_0x5b5c98[_0x22f267(0xcb)]===_0x206207[_0x22f267(0xcb)]&&_0x5b5c98[_0x22f267(0x129)]===_0x206207[_0x22f267(0x129)]?(_0x4e9876=!0x0,this[_0x22f267(0x11f)](_0x206207)):_0x206207[_0x22f267(0xcb)]===_0x498f43&&_0x206207[_0x22f267(0x129)]===_0x53423b?_0x4e9876=!0x1:(_0x5b5c98[_0x22f267(0xcb)]===_0x498f43&&_0x5b5c98[_0x22f267(0x129)]===_0x53423b||this[_0x22f267(0xdb)]({'revision':_0x5b5c98,'from':_0x53423b,'to':_0x498f43}),_0x4e9876=!0x0),_0x4e9876&&(delete _0x206207[_0x22f267(0x129)],delete _0x206207[_0x22f267(0xcb)],delete _0x206207[_0x22f267(0xeb)],delete _0x206207[_0x22f267(0x106)],delete _0x206207[_0x22f267(0xf3)]);}this[_0x22f267(0xe7)][_0x22f267(0xe1)](_0x206207),this[_0x22f267(0x11f)](_0x206207);}else this[_0x22f267(0xe7)][_0x22f267(0x12b)](_0x206207);}const _0x3eb51c=_0x51dc5a[_0x22f267(0x11a)]();_0x3eb51c[_0x22f267(0x126)]();for(let _0x2a2404=0x0;_0x2a2404<_0x3eb51c[_0x22f267(0xf9)]-0x1;_0x2a2404++){const _0x4fd620=_0x3eb51c[_0x2a2404],_0x2534ad=_0x3eb51c[_0x2a2404+0x1];if(_0x4fd620[_0x22f267(0x129)]<_0x2534ad[_0x22f267(0xcb)]){const _0x44fc61=_0x2534ad[_0x22f267(0xcb)],_0x117ad7=Math[_0x22f267(0x113)](_0x44fc61,_0x4fd620[_0x22f267(0xcb)]);this[_0x22f267(0xdb)]({'revision':_0x4fd620,'from':_0x44fc61,'to':_0x117ad7});}}}[_0x365893(0xdb)]({revision:_0x143eb7,from:_0x52268c,to:_0x1aad7a}={}){const _0x23115b=_0x365893,_0x24a937=this[_0x23115b(0xbc)][_0x23115b(0x10b)][_0x23115b(0xf4)](_0x14a78d),_0x247484=this[_0x23115b(0xe7)][_0x23115b(0x112)]({'revision':_0x143eb7,'from':_0x52268c,'to':_0x1aad7a});_0x247484[_0x23115b(0x123)]=_0x247484[_0x23115b(0xf3)][_0x23115b(0x12d)](_0x42efd8=>_0x24a937[_0x23115b(0xf8)](_0x42efd8)),_0x143eb7[_0x23115b(0x102)](_0x247484);}[_0x365893(0x11f)](_0x580290){const _0x1f4ee1=_0x365893,_0x23cf86={};_0x23cf86['id']=_0x580290['id'];for(const _0x4a1013 of Object[_0x1f4ee1(0x11b)](_0x580290))'id'!==_0x4a1013&&(_0x23cf86[_0x4a1013]=void 0x0);this[_0x1f4ee1(0xe7)][_0x1f4ee1(0x100)](_0x23cf86['id'],_0x23cf86,!0x0);}async[_0x365893(0xfb)](_0x5b8f3b){const _0x104724=_0x365893,_0xe700ea=this[_0x104724(0xbc)][_0x104724(0x10b)][_0x104724(0xf4)](_0x14a78d),{connection:_0x2679d1}=this[_0x104724(0xbc)][_0x104724(0x10b)][_0x104724(0xf4)](_0x1ced0b),_0x3f9814=new Set();for(const _0x8c42e4 of _0x5b8f3b){for(const _0x3a2818 of _0x8c42e4[_0x104724(0xf3)])_0x54cd33(_0x3a2818);_0x8c42e4[_0x104724(0x10c)]&&_0x54cd33(_0x8c42e4[_0x104724(0x10c)]);}if(0x0===_0x3f9814[_0x104724(0xf5)])return;const _0x5d8291=await _0x4c0d81[_0x104724(0xfa)](_0x2679d1,Array[_0x104724(0xd0)](_0x3f9814));for(const _0x1543a4 of _0x5d8291)_0xe700ea[_0x104724(0xf8)](_0x1543a4['id'])||_0xe700ea[_0x104724(0xce)](_0x1543a4);function _0x54cd33(_0x1edfef){const _0x21fabc=_0x104724;_0xe700ea[_0x21fabc(0xf8)](_0x1edfef)||_0x3f9814[_0x21fabc(0xc4)](_0x1edfef);}}}function ot(_0x435e6c){const _0x48ac70=_0x365893;return _0x435e6c[_0x48ac70(0xff)][_0x48ac70(0x122)](_0x48ac70(0x11c))||_0x435e6c[_0x48ac70(0xff)][_0x48ac70(0x122)](_0x48ac70(0x12e))||_0x435e6c[_0x48ac70(0xff)][_0x48ac70(0x122)](_0x48ac70(0x12a));}function _0x3bb9(){const _0x17569c=['_revisionTracker','reconnect','CONNECTED','RevisionHistoryService','diffData','RevisionTracker','connection','CloudServicesRevisionHistoryAdapter','5876710QIajob','39671340yhYXxX','162824qdmTRw','listenTo','authorsIds','get','size','setSource','affectsData','getUser','length','getMany','_fetchMissingUsers','remove','config','_handleReconnectionError','message','_bufferUpdate','21832LCIPvD','_update','updateRevisions','_revisionDataBuilder','_revisionHistoryService','createdAt','data','has','marker','bind','plugins','creatorId','sessionId','sendBufferedUpdates','isOfficialPlugin','reInit','serverHistory','buildRevisionData','max','cloudServices.bundleVersion','baseVersion','state','change:_isConnected','isEmptyCurrent','wrongRequestId','getRevisions','keys','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','2501778plSvVV','adapter','_preventResendingRevisionData','getOperations','isEnabled','startsWith','authors','code','isPremiumPlugin','reverse','getRevision','collaboration.channelId','fromVersion','cloud-services-internal-error:\x20Request\x20timeout.','addRevisionData','_isPendingUpdate','map','cloud-services-internal-error:\x20Not\x20connected.','_oldOffset','_isConnected','editor','4867425prWhXR','addToReconnectionStack','init','change:_isPendingUpdate','_getLatestVersion','400','_handleRevisionsUpdate','add','destroy','off','type','repository','12IQtYur','connected','toVersion','_offset','11dLoKbo','addUser','pluginName','from','requires','connect','currentRevision','4BCLMuW','966507EHSDad','revisionsUpdated','catch','then','_startingVersion','isBundleUploaded','_fixRevision','_lastRequestId','_bufferedUpdates','_waitForServiceReady','_getLatestVersionFromServerOperations','RevisionHistory','setRevisionData','_revisions','_createCurrentRevision','3987uKEVKO','isConnected','once'];_0x3bb9=function(){return _0x17569c;};return _0x3bb9();}
23
+ function _0x1241(_0x21b012,_0x4f911b){const _0x40a813=_0x40a8();return _0x1241=function(_0x12412d,_0x571aad){_0x12412d=_0x12412d-0xd1;let _0x4847cd=_0x40a813[_0x12412d];return _0x4847cd;},_0x1241(_0x21b012,_0x4f911b);}const _0x150dde=_0x1241;(function(_0x431b7a,_0x20d253){const _0x68bebf=_0x1241,_0x49376b=_0x431b7a();while(!![]){try{const _0x174b55=parseInt(_0x68bebf(0xeb))/0x1*(parseInt(_0x68bebf(0xe1))/0x2)+parseInt(_0x68bebf(0xfe))/0x3*(parseInt(_0x68bebf(0x10a))/0x4)+-parseInt(_0x68bebf(0x13a))/0x5*(-parseInt(_0x68bebf(0x135))/0x6)+-parseInt(_0x68bebf(0xe8))/0x7+-parseInt(_0x68bebf(0x126))/0x8*(parseInt(_0x68bebf(0xe9))/0x9)+parseInt(_0x68bebf(0xd6))/0xa+parseInt(_0x68bebf(0x12d))/0xb*(-parseInt(_0x68bebf(0x134))/0xc);if(_0x174b55===_0x20d253)break;else _0x49376b['push'](_0x49376b['shift']());}catch(_0x16b772){_0x49376b['push'](_0x49376b['shift']());}}}(_0x40a8,0x1efcb));import{Plugin as _0x37cb14}from'ckeditor5/src/core.js';function _0x40a8(){const _0x31890b=['_revisions','addToReconnectionStack','toVersion','keys','1479110MGvQWN','authors','change:_isConnected','_bufferedUpdates','wrongRequestId','RevisionTracker','creatorId','isEnabled','requires','_revisionTracker','length','110672oCajFg','getRevisions','max','connect','reconnect','editor','_startingVersion','1467697cCCeDo','1341mFoVaC','has','4UcFbUm','affectsData','catch','repository','data','serverHistory','pluginName','_handleRevisionsUpdate','size','_revisionHistoryService','CloudServicesRevisionHistoryAdapter','reverse','config','change:_isPendingUpdate','currentRevision','from','revisionsUpdated','connection','connected','21OWASVJ','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_handleReconnectionError','message','400','_bufferUpdate','_getLatestVersion','startsWith','setSource','get','remove','cloud-services-internal-error:\x20Request\x20timeout.','17080lgcdxA','type','sessionId','collaboration.channelId','getUser','_waitForServiceReady','authorsIds','isOfficialPlugin','isEmptyCurrent','addUser','_fetchMissingUsers','once','off','cloudServices.bundleVersion','CONNECTED','diffData','plugins','_isPendingUpdate','getOperations','add','_fixRevision','reInit','sendBufferedUpdates','setRevisionData','marker','_revisionDataBuilder','code','destroy','472mvhXXg','map','_offset','init','getRevision','_update','RevisionHistoryService','44ZeGJXe','buildRevisionData','_isConnected','adapter','cloud-services-internal-error:\x20Not\x20connected.','_preventResendingRevisionData','isBundleUploaded','842760zRCAxe','720NYSFSa','updateRevisions','fromVersion','_oldOffset','_lastRequestId','9465bILsFh','bind','state','_createCurrentRevision','_getLatestVersionFromServerOperations','baseVersion','listenTo','then','createdAt','addRevisionData','isConnected','RevisionHistory','isPremiumPlugin','getMany'];_0x40a8=function(){return _0x31890b;};return _0x40a8();}import{version as _0x17dc4b}from'ckeditor5/src/utils.js';import{Users as _0x9264a2}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x29b833}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2cecbc}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2a2394}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x339f90,RevisionHistoryService as _0x134823,User as _0x46bc7b,WEB_SOCKET_GATEWAY_STATES as _0x531251}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x37cb14{static [_0x150dde(0x12c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x134823)());[_0x150dde(0x139)];[_0x150dde(0xdf)];[_0x150dde(0xf4)];[_0x150dde(0x138)];static get[_0x150dde(0xde)](){const _0xbb99e=_0x150dde;return[_0x2cecbc,_0x29b833,_0xbb99e(0x145),_0x2a2394,_0x9264a2];}static get[_0x150dde(0xf1)](){const _0x16ef17=_0x150dde;return _0x16ef17(0xf5);}static get[_0x150dde(0x111)](){return!0x0;}static get[_0x150dde(0x146)](){return!0x0;}constructor(_0x5d2db0){const _0x44603b=_0x150dde;super(_0x5d2db0);const _0x1c7071=this[_0x44603b(0xe6)][_0x44603b(0xf7)][_0x44603b(0x107)](_0x44603b(0x10d));this[_0x44603b(0x139)]=null,this[_0x44603b(0xdf)]=this[_0x44603b(0xe6)][_0x44603b(0x11a)][_0x44603b(0x107)](_0x44603b(0xdb)),this[_0x44603b(0xf4)]=new CloudServicesRevisionHistoryAdapter[(_0x44603b(0x12c))](_0x1c7071);}async[_0x150dde(0x129)](){const _0xc26752=_0x150dde,_0x3e82f1=this[_0xc26752(0xe6)][_0xc26752(0x11a)][_0xc26752(0x107)](_0x29b833),_0x215961=_0x3e82f1[_0xc26752(0xf0)],_0xcc2c3=this[_0xc26752(0xe6)][_0xc26752(0x11a)][_0xc26752(0x107)](_0x2cecbc);this[_0xc26752(0xdf)][_0xc26752(0x106)]({'history':_0x215961,'getLatestVersion':()=>this[_0xc26752(0x104)](),'getCurrentRevisionId':()=>_0x3e82f1[_0xc26752(0x10c)]});const _0xbd6fec=this[_0xc26752(0xe6)][_0xc26752(0xf7)][_0xc26752(0x107)](_0xc26752(0x117))||_0x17dc4b,_0x188c0e=await _0x339f90[_0xc26752(0x133)](_0xcc2c3[_0xc26752(0xfc)],_0xbd6fec);this[_0xc26752(0xe6)][_0xc26752(0x11a)][_0xc26752(0x107)](_0xc26752(0x145))[_0xc26752(0x130)]={'getRevision':async({revisionId:_0x3684af})=>(await this[_0xc26752(0x10f)](),await this[_0xc26752(0xf4)][_0xc26752(0x12a)](_0x3684af)),'updateRevisions':async _0x2e6667=>{const _0x2ce85a=_0xc26752;await this[_0x2ce85a(0x10f)]();const _0x55856e=this[_0x2ce85a(0xdf)][_0x2ce85a(0xf9)];if(_0x188c0e&&0x1===_0x2e6667[_0x2ce85a(0xe0)]&&_0x2e6667[0x0]['id']===_0x55856e['id'])return _0x2e6667;for(const _0x1a2d8b of _0x2e6667)_0x1a2d8b['id']===_0x55856e['id']&&(_0x1a2d8b[_0x2ce85a(0x112)]=_0x1a2d8b[_0x2ce85a(0x137)]===_0x1a2d8b[_0x2ce85a(0xd4)]);return this[_0x2ce85a(0xf4)][_0x2ce85a(0x136)](_0x2e6667,this[_0x2ce85a(0x139)])[_0x2ce85a(0x141)](_0x3c98d5=>(this[_0x2ce85a(0x139)]=_0x3c98d5,_0x2e6667))[_0x2ce85a(0xed)](_0x365468=>{const _0x26f876=_0x2ce85a;if(I(_0x365468)||_0x26f876(0x102)===_0x365468[_0x26f876(0x124)]&&void 0x0!==_0x365468[_0x26f876(0xef)][_0x26f876(0xda)]){for(const _0x30299e of _0x2e6667){!this[_0x26f876(0xdf)][_0x26f876(0xee)][_0x26f876(0x12a)](_0x30299e['id'])||this[_0x26f876(0xdf)][_0x26f876(0x103)](_0x30299e['id'],_0x30299e,!0x1);}if(I(_0x365468))throw _0x365468;return _0x2e6667;}throw _0x365468;});}},this[_0xc26752(0x140)](this[_0xc26752(0xf4)],_0xc26752(0xfb),(_0x4c58f5,{revisionsData:_0x3e8eaf,requestId:_0x54b313})=>{const _0x4d035b=_0xc26752;Math[_0x4d035b(0xe3)](..._0x3e8eaf[_0x4d035b(0x127)](_0x4aabe8=>_0x4aabe8[_0x4d035b(0xd4)]))>this[_0x4d035b(0x13e)]()-0x1?this[_0x4d035b(0x104)]()[_0x4d035b(0x141)](()=>{const _0x4f6952=_0x4d035b;this[_0x4f6952(0xf2)](_0x3e8eaf,_0x54b313);}):this[_0x4d035b(0xf2)](_0x3e8eaf,_0x54b313);});const {revisions:_0x10884a,requestId:_0x4557ed}=await this[_0xc26752(0xf4)][_0xc26752(0xe4)](_0xcc2c3[_0xc26752(0xfc)]);_0xcc2c3[_0xc26752(0xd3)](this),this[_0xc26752(0x139)]=_0x4557ed,await this[_0xc26752(0x114)](_0x10884a);for(const _0x43e94b of _0x10884a)this[_0xc26752(0xdf)][_0xc26752(0x143)](_0x43e94b);this[_0xc26752(0x140)](_0x3e82f1,_0xc26752(0xd8),(_0x202342,_0x4ef57e,_0x15f238)=>{const _0x233ba6=_0xc26752;_0x15f238&&(this[_0x233ba6(0x138)]=_0x3e82f1[_0x233ba6(0x128)],_0x202342[_0x233ba6(0x116)]());}),this[_0xc26752(0xdf)][_0xc26752(0x13b)](_0xc26752(0xdd))['to'](_0xcc2c3,_0xc26752(0x13c),_0x1766e7=>_0x1766e7===_0x531251[_0xc26752(0x118)]);}async[_0x150dde(0xe5)](){const _0x1edc26=_0x150dde,_0x4cd581=this[_0x1edc26(0xe6)][_0x1edc26(0x11a)][_0x1edc26(0x107)](_0x2cecbc),_0x33e4b4=this[_0x1edc26(0xe6)][_0x1edc26(0x11a)][_0x1edc26(0x107)](_0x29b833),_0x5930f4=async()=>{const _0x60d91=_0x1edc26,_0x4ae1ac=this[_0x60d91(0xdf)][_0x60d91(0xf9)],_0x34b3ff=_0x4ae1ac['id'],_0x1afb30=_0x34b3ff!==_0x33e4b4[_0x60d91(0x10c)];if(_0x1afb30){const _0x5aba31=_0x33e4b4[_0x60d91(0x128)]-this[_0x60d91(0x138)],_0x411820=this[_0x60d91(0x13e)]();this[_0x60d91(0xdf)][_0x60d91(0x123)][_0x60d91(0x11f)]();if(_0x4ae1ac[_0x60d91(0xd4)]+_0x5aba31!==_0x411820){const _0x3357f0=_0x4ae1ac[_0x60d91(0x137)]+_0x5aba31,_0x4f9207=this[_0x60d91(0xe6)][_0x60d91(0x11a)][_0x60d91(0x107)](_0x9264a2),_0x38c9f5=this[_0x60d91(0xdf)][_0x60d91(0x12e)]({'revision':_0x4ae1ac,'from':_0x3357f0,'to':_0x411820});_0x38c9f5['id']=_0x4ae1ac['id'];const _0x407f32=_0x38c9f5[_0x60d91(0x110)][_0x60d91(0x127)](_0x2e46bc=>_0x4f9207[_0x60d91(0x10e)](_0x2e46bc));_0x4ae1ac[_0x60d91(0x12b)]({..._0x38c9f5,'authors':_0x407f32},!0x0),this[_0x60d91(0xdf)][_0x60d91(0x103)](_0x4ae1ac['id'],_0x38c9f5,!0x0);}this[_0x60d91(0xdf)][_0x60d91(0xe7)]=_0x411820,(_0x4ae1ac[_0x60d91(0xd4)]===_0x4ae1ac[_0x60d91(0x137)]&&!this[_0x60d91(0xdf)][_0x60d91(0xd9)][_0x60d91(0xea)](_0x34b3ff)&&this[_0x60d91(0xdf)][_0x60d91(0xee)][_0x60d91(0xd2)][_0x60d91(0x108)](_0x34b3ff),this[_0x60d91(0xdf)][_0x60d91(0x13d)](_0x411820));}const {revisions:_0xac1e52,requestId:_0x26b001}=await this[_0x60d91(0xf4)][_0x60d91(0xe5)](_0x4cd581[_0x60d91(0xfc)],this[_0x60d91(0x139)]);_0x1afb30&&_0xac1e52[_0x60d91(0xe0)]>0x0?_0x33e4b4[_0x60d91(0x100)]():(await this[_0x60d91(0x114)](_0xac1e52),this[_0x60d91(0xf2)](_0xac1e52,_0x26b001),this[_0x60d91(0xdf)][_0x60d91(0x120)]());};return _0x33e4b4[_0x1edc26(0x12f)]?_0x5930f4():new Promise((_0x85061f,_0x297539)=>{const _0x4cddb7=_0x1edc26;_0x33e4b4[_0x4cddb7(0x115)](_0x4cddb7(0xd8),()=>{const _0x43ee3e=_0x4cddb7;_0x5930f4()[_0x43ee3e(0x141)](_0x85061f)[_0x43ee3e(0xed)](_0x297539);});});}[_0x150dde(0x125)](){const _0x5ef8df=_0x150dde;super[_0x5ef8df(0x125)]();}async[_0x150dde(0x10f)](){const _0x552920=_0x150dde;this[_0x552920(0xf4)][_0x552920(0x144)]||await new Promise(_0x59e701=>{const _0xa4310c=_0x552920;this[_0xa4310c(0x140)](this[_0xa4310c(0xf4)],_0xa4310c(0xfd),_0x3b9904=>{const _0x2570d9=_0xa4310c;_0x3b9904[_0x2570d9(0x116)](),_0x59e701();});});}[_0x150dde(0x13e)](){const _0x41f468=_0x150dde,_0x5ed2ff=this[_0x41f468(0xe6)][_0x41f468(0x11a)][_0x41f468(0x107)](_0x29b833)[_0x41f468(0xf0)][_0x41f468(0x11c)]()[_0x41f468(0xf6)]();for(const _0x17fbbe of _0x5ed2ff)if(_0x41f468(0x122)!==_0x17fbbe[_0x41f468(0x10b)]||_0x17fbbe[_0x41f468(0xec)])return _0x17fbbe[_0x41f468(0x13f)]+0x1;}[_0x150dde(0x104)](){const _0x2fa470=_0x150dde,_0x205f9f=this[_0x2fa470(0xe6)][_0x2fa470(0x11a)][_0x2fa470(0x107)](_0x29b833);return new Promise(_0x457336=>{const _0x3875cb=_0x2fa470;_0x205f9f[_0x3875cb(0x11b)]?_0x205f9f[_0x3875cb(0x115)](_0x3875cb(0xf8),()=>{const _0x5a4c0e=_0x3875cb;_0x457336(this[_0x5a4c0e(0x13e)]());}):_0x457336(this[_0x3875cb(0x13e)]());});}[_0x150dde(0xf2)](_0x2930d7,_0x1ff603){const _0x2f12a2=_0x150dde,_0x334d50=this[_0x2f12a2(0xdf)][_0x2f12a2(0xee)];this[_0x2f12a2(0x139)]=_0x1ff603;for(const _0x5a58d3 of _0x2930d7){const _0xebe0ad=_0x334d50[_0x2f12a2(0x12a)](_0x5a58d3['id']);if(_0xebe0ad){if((_0x5a58d3[_0x2f12a2(0x137)]||_0x5a58d3[_0x2f12a2(0xd4)])&&(_0x5a58d3[_0x2f12a2(0x119)]=null),_0xebe0ad===this[_0x2f12a2(0xdf)][_0x2f12a2(0xf9)]){const _0x4cc2d2=Math[_0x2f12a2(0xe3)](_0xebe0ad[_0x2f12a2(0xd4)],_0x5a58d3[_0x2f12a2(0xd4)]),_0x458779=Math[_0x2f12a2(0xe3)](_0xebe0ad[_0x2f12a2(0x137)],_0x5a58d3[_0x2f12a2(0x137)]);let _0x179d4a;_0xebe0ad[_0x2f12a2(0xd4)]===_0x5a58d3[_0x2f12a2(0xd4)]&&_0xebe0ad[_0x2f12a2(0x137)]===_0x5a58d3[_0x2f12a2(0x137)]?(_0x179d4a=!0x0,this[_0x2f12a2(0x132)](_0x5a58d3)):_0x5a58d3[_0x2f12a2(0xd4)]===_0x4cc2d2&&_0x5a58d3[_0x2f12a2(0x137)]===_0x458779?_0x179d4a=!0x1:(_0xebe0ad[_0x2f12a2(0xd4)]===_0x4cc2d2&&_0xebe0ad[_0x2f12a2(0x137)]===_0x458779||this[_0x2f12a2(0x11e)]({'revision':_0xebe0ad,'from':_0x458779,'to':_0x4cc2d2}),_0x179d4a=!0x0),_0x179d4a&&(delete _0x5a58d3[_0x2f12a2(0x137)],delete _0x5a58d3[_0x2f12a2(0xd4)],delete _0x5a58d3[_0x2f12a2(0x119)],delete _0x5a58d3[_0x2f12a2(0x142)],delete _0x5a58d3[_0x2f12a2(0x110)]);}this[_0x2f12a2(0xdf)][_0x2f12a2(0x121)](_0x5a58d3),this[_0x2f12a2(0x132)](_0x5a58d3);}else this[_0x2f12a2(0xdf)][_0x2f12a2(0x143)](_0x5a58d3);}const _0x56a118=_0x334d50[_0x2f12a2(0xe2)]();_0x56a118[_0x2f12a2(0xf6)]();for(let _0x1c5e18=0x0;_0x1c5e18<_0x56a118[_0x2f12a2(0xe0)]-0x1;_0x1c5e18++){const _0x4d128f=_0x56a118[_0x1c5e18],_0x55d9c7=_0x56a118[_0x1c5e18+0x1];if(_0x4d128f[_0x2f12a2(0x137)]<_0x55d9c7[_0x2f12a2(0xd4)]){const _0x570932=_0x55d9c7[_0x2f12a2(0xd4)],_0x3ba931=Math[_0x2f12a2(0xe3)](_0x570932,_0x4d128f[_0x2f12a2(0xd4)]);this[_0x2f12a2(0x11e)]({'revision':_0x4d128f,'from':_0x570932,'to':_0x3ba931});}}}[_0x150dde(0x11e)]({revision:_0x1ae954,from:_0x11f6ab,to:_0x38a275}={}){const _0x53e1f7=_0x150dde,_0x2fdbeb=this[_0x53e1f7(0xe6)][_0x53e1f7(0x11a)][_0x53e1f7(0x107)](_0x9264a2),_0x5a413d=this[_0x53e1f7(0xdf)][_0x53e1f7(0x12e)]({'revision':_0x1ae954,'from':_0x11f6ab,'to':_0x38a275});_0x5a413d[_0x53e1f7(0xd7)]=_0x5a413d[_0x53e1f7(0x110)][_0x53e1f7(0x127)](_0x2145b4=>_0x2fdbeb[_0x53e1f7(0x10e)](_0x2145b4)),_0x1ae954[_0x53e1f7(0x12b)](_0x5a413d);}[_0x150dde(0x132)](_0xa2d60d){const _0x2c0786=_0x150dde,_0x8a41be={};_0x8a41be['id']=_0xa2d60d['id'];for(const _0x2ac4ac of Object[_0x2c0786(0xd5)](_0xa2d60d))'id'!==_0x2ac4ac&&(_0x8a41be[_0x2ac4ac]=void 0x0);this[_0x2c0786(0xdf)][_0x2c0786(0x103)](_0x8a41be['id'],_0x8a41be,!0x0);}async[_0x150dde(0x114)](_0x484d9c){const _0x10f9f8=_0x150dde,_0x4a4cba=this[_0x10f9f8(0xe6)][_0x10f9f8(0x11a)][_0x10f9f8(0x107)](_0x9264a2),{connection:_0x3d95c5}=this[_0x10f9f8(0xe6)][_0x10f9f8(0x11a)][_0x10f9f8(0x107)](_0x2cecbc),_0x5a6277=new Set();for(const _0x4e0847 of _0x484d9c){for(const _0x4d2eba of _0x4e0847[_0x10f9f8(0x110)])_0x2351ac(_0x4d2eba);_0x4e0847[_0x10f9f8(0xdc)]&&_0x2351ac(_0x4e0847[_0x10f9f8(0xdc)]);}if(0x0===_0x5a6277[_0x10f9f8(0xf3)])return;const _0x3efc99=await _0x46bc7b[_0x10f9f8(0xd1)](_0x3d95c5,Array[_0x10f9f8(0xfa)](_0x5a6277));for(const _0x125fd6 of _0x3efc99)_0x4a4cba[_0x10f9f8(0x10e)](_0x125fd6['id'])||_0x4a4cba[_0x10f9f8(0x113)](_0x125fd6);function _0x2351ac(_0x324e31){const _0x24da50=_0x10f9f8;_0x4a4cba[_0x24da50(0x10e)](_0x324e31)||_0x5a6277[_0x24da50(0x11d)](_0x324e31);}}}function I(_0x4e6650){const _0x3e8c71=_0x150dde;return _0x4e6650[_0x3e8c71(0x101)][_0x3e8c71(0x105)](_0x3e8c71(0xff))||_0x4e6650[_0x3e8c71(0x101)][_0x3e8c71(0x105)](_0x3e8c71(0x131))||_0x4e6650[_0x3e8c71(0x101)][_0x3e8c71(0x105)](_0x3e8c71(0x109));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x26908b=_0x26af;(function(_0x57652f,_0x538f53){var _0x459eee=_0x26af,_0x2b2323=_0x57652f();while(!![]){try{var _0x1ffd82=-parseInt(_0x459eee(0x149))/0x1+-parseInt(_0x459eee(0x141))/0x2*(parseInt(_0x459eee(0x147))/0x3)+parseInt(_0x459eee(0x13f))/0x4+-parseInt(_0x459eee(0x143))/0x5+-parseInt(_0x459eee(0x13d))/0x6*(-parseInt(_0x459eee(0x13b))/0x7)+-parseInt(_0x459eee(0x146))/0x8*(-parseInt(_0x459eee(0x142))/0x9)+-parseInt(_0x459eee(0x13e))/0xa*(-parseInt(_0x459eee(0x13c))/0xb);if(_0x1ffd82===_0x538f53)break;else _0x2b2323['push'](_0x2b2323['shift']());}catch(_0x161ec7){_0x2b2323['push'](_0x2b2323['shift']());}}}(_0x3b58,0x7ef0c));function _0x3b58(){var _0x59cdc9=['991492DllvLz','765nJPkaI','2120230SbkULi','RevisionHistory','RealTimeCollaborativeRevisionHistory','29896xEMLPT','3ynVXKv','pluginName','933287aoIftw','requires','isPremiumPlugin','7SREcPt','11hZEIYm','1421274vbRIgg','8381040YjoSGa','3921596eIEwCs','isOfficialPlugin'];_0x3b58=function(){return _0x59cdc9;};return _0x3b58();}import{Plugin as _0x206bb2}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x59457a}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x26af(_0x45a1a0,_0xab5ccf){var _0x3b580d=_0x3b58();return _0x26af=function(_0x26afd9,_0x4e7bfe){_0x26afd9=_0x26afd9-0x13a;var _0x3d4c55=_0x3b580d[_0x26afd9];return _0x3d4c55;},_0x26af(_0x45a1a0,_0xab5ccf);}import{RealTimeCollaborativeEditing as _0xa56c7a}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x206bb2{static get[_0x26908b(0x14a)](){var _0x5525a4=_0x26908b;return[_0x5525a4(0x144),_0x59457a,_0xa56c7a];}static get[_0x26908b(0x148)](){var _0x558c76=_0x26908b;return _0x558c76(0x145);}static get[_0x26908b(0x140)](){return!0x0;}static get[_0x26908b(0x13a)](){return!0x0;}}
23
+ var _0x20a300=_0x5b25;(function(_0x55205d,_0x59dd6b){var _0x285409=_0x5b25,_0x131c41=_0x55205d();while(!![]){try{var _0x1dcfec=parseInt(_0x285409(0xc2))/0x1+parseInt(_0x285409(0xc1))/0x2*(-parseInt(_0x285409(0xc9))/0x3)+-parseInt(_0x285409(0xbb))/0x4*(-parseInt(_0x285409(0xb9))/0x5)+-parseInt(_0x285409(0xc8))/0x6*(-parseInt(_0x285409(0xc4))/0x7)+parseInt(_0x285409(0xba))/0x8*(-parseInt(_0x285409(0xbd))/0x9)+parseInt(_0x285409(0xc7))/0xa+parseInt(_0x285409(0xc0))/0xb;if(_0x1dcfec===_0x59dd6b)break;else _0x131c41['push'](_0x131c41['shift']());}catch(_0x31ab5a){_0x131c41['push'](_0x131c41['shift']());}}}(_0x5943,0x1acba));function _0x5943(){var _0x4ab6d8=['596248iaNtab','pluginName','1413MUuEcI','isPremiumPlugin','RealTimeCollaborativeRevisionHistory','565675NrtpcT','2CuAgrX','64330JssTZv','isOfficialPlugin','327901LvSfoy','requires','RevisionHistory','998430vHlIns','6jZuUwC','439899BOjYPe','5kOdxBG','7904iONUeh'];_0x5943=function(){return _0x4ab6d8;};return _0x5943();}import{Plugin as _0x53c883}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x7ff8c3}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x5b25(_0x349338,_0x221958){var _0x594398=_0x5943();return _0x5b25=function(_0x5b2597,_0x4f25d8){_0x5b2597=_0x5b2597-0xb9;var _0x521f7f=_0x594398[_0x5b2597];return _0x521f7f;},_0x5b25(_0x349338,_0x221958);}import{RealTimeCollaborativeEditing as _0x20f12c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x53c883{static get[_0x20a300(0xc5)](){var _0x24eb91=_0x20a300;return[_0x24eb91(0xc6),_0x7ff8c3,_0x20f12c];}static get[_0x20a300(0xbc)](){var _0x761963=_0x20a300;return _0x761963(0xbf);}static get[_0x20a300(0xc3)](){return!0x0;}static get[_0x20a300(0xbe)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106d92=_0x2864;(function(_0x4a6209,_0x25ff16){const _0x389d45=_0x2864,_0x33f689=_0x4a6209();while(!![]){try{const _0x4c776c=-parseInt(_0x389d45(0x21b))/0x1+-parseInt(_0x389d45(0x1f5))/0x2*(parseInt(_0x389d45(0x1f9))/0x3)+parseInt(_0x389d45(0x218))/0x4+parseInt(_0x389d45(0x20b))/0x5+-parseInt(_0x389d45(0x1f6))/0x6+-parseInt(_0x389d45(0x22e))/0x7+-parseInt(_0x389d45(0x203))/0x8*(-parseInt(_0x389d45(0x1f4))/0x9);if(_0x4c776c===_0x25ff16)break;else _0x33f689['push'](_0x33f689['shift']());}catch(_0x2da946){_0x33f689['push'](_0x33f689['shift']());}}}(_0x5653,0xaf452));import{Plugin as _0x4f3d5e}from'ckeditor5/src/core.js';function _0x2864(_0x1a7af8,_0x430141){const _0x56539a=_0x5653();return _0x2864=function(_0x28644d,_0x452746){_0x28644d=_0x28644d-0x1f4;let _0xd8579c=_0x56539a[_0x28644d];return _0xd8579c;},_0x2864(_0x1a7af8,_0x430141);}import{User as _0x489bea,TrackChangesService as _0xa51a7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x55d916}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x54d4bd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5b0206}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x4f3d5e{static [_0x106d92(0x22a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xa51a7)());[_0x106d92(0x230)];[_0x106d92(0x20c)];static get[_0x106d92(0x21f)](){const _0x31fa1c=_0x106d92;return[_0x54d4bd,_0x31fa1c(0x220),_0x55d916];}static get[_0x106d92(0x1f7)](){const _0x14d480=_0x106d92;return _0x14d480(0x20e);}static get[_0x106d92(0x21a)](){return!0x0;}static get[_0x106d92(0x222)](){return!0x0;}constructor(_0x12a670){const _0x457b08=_0x106d92;super(_0x12a670);const _0x21e18a=this[_0x457b08(0x1fe)][_0x457b08(0x20d)][_0x457b08(0x213)](_0x457b08(0x228));this[_0x457b08(0x230)]=new Map(),this[_0x457b08(0x20c)]=new CloudServicesTrackChangesAdapter[(_0x457b08(0x22a))](_0x21e18a);}[_0x106d92(0x20a)](){const _0x5a1ef4=_0x106d92,_0x340449=this[_0x5a1ef4(0x1fe)][_0x5a1ef4(0x21e)][_0x5a1ef4(0x213)](_0x55d916),_0x261587=this[_0x5a1ef4(0x1fe)][_0x5a1ef4(0x21e)][_0x5a1ef4(0x213)](_0x5a1ef4(0x220));return _0x261587[_0x5a1ef4(0x211)]={'getSuggestion':async _0x3f07bf=>{const _0x545634=_0x5a1ef4;await this[_0x545634(0x216)]();const _0x561bd0=await this[_0x545634(0x20c)][_0x545634(0x213)](_0x3f07bf)[_0x545634(0x22d)](A);return await this[_0x545634(0x209)]([_0x561bd0]),_0x561bd0;},'addSuggestion':async({id:_0x284e41,type:_0x3e4c62,data:_0x59622b,originalSuggestionId:_0x15f44e,attributes:_0x448eec})=>{const _0x544346=_0x5a1ef4;await this[_0x544346(0x216)]();const _0x4e54b8={'id':_0x284e41,'type':_0x3e4c62,'data':_0x59622b,'originalSuggestionId':_0x15f44e,'attributes':_0x448eec},_0x3924e3=await this[_0x544346(0x20c)][_0x544346(0x214)](_0x284e41,_0x3e4c62,_0x59622b,_0x15f44e,_0x448eec)[_0x544346(0x22d)](_0x307821=>{if(ot(_0x307821))return new Promise(_0x25cc18=>{const _0x565872=_0x2864;this[_0x565872(0x230)][_0x565872(0x232)](_0x284e41,{'resolve':_0x25cc18,'suggestionData':_0x4e54b8});});throw _0x307821;});return this[_0x544346(0x230)][_0x544346(0x224)](_0x284e41),_0x3924e3;},'updateSuggestion':async(_0x3c5f7c,_0x4182c2)=>{const _0x5b96d2=_0x5a1ef4;if(await this[_0x5b96d2(0x216)](),_0x5b96d2(0x207)!==_0x4182c2[_0x5b96d2(0x21c)])return this[_0x5b96d2(0x20c)][_0x5b96d2(0x219)](_0x3c5f7c,_0x4182c2)[_0x5b96d2(0x22d)](A);}},this[_0x5a1ef4(0x206)](this[_0x5a1ef4(0x20c)],_0x5a1ef4(0x1fa),(_0x403653,_0x19b17e)=>{const _0x17988b=_0x5a1ef4;_0x261587[_0x17988b(0x225)](_0x19b17e['id'])&&(_0x261587[_0x17988b(0x22b)](_0x19b17e['id'])[_0x17988b(0x210)]=_0x19b17e[_0x17988b(0x210)]);}),this[_0x5a1ef4(0x20c)][_0x5a1ef4(0x227)](_0x340449[_0x5a1ef4(0x215)])[_0x5a1ef4(0x21d)](_0xf7149c=>(_0x340449[_0x5a1ef4(0x205)](this),this[_0x5a1ef4(0x209)](_0xf7149c)[_0x5a1ef4(0x21d)](()=>{const _0x2c51fa=_0x5a1ef4;for(const _0x223b54 of _0xf7149c){_0x261587[_0x2c51fa(0x22f)](_0x223b54)[_0x2c51fa(0x22c)]=!0x0;}})));}async[_0x106d92(0x1ff)](){const _0x34844e=_0x106d92,_0x12b5ea=this[_0x34844e(0x1fe)][_0x34844e(0x21e)][_0x34844e(0x213)](_0x34844e(0x220)),{connection:_0x2913e3}=this[_0x34844e(0x1fe)][_0x34844e(0x21e)][_0x34844e(0x213)](_0x55d916),_0x5110f1=await this[_0x34844e(0x20c)][_0x34844e(0x227)](_0x2913e3);await this[_0x34844e(0x209)](_0x5110f1);for(const {suggestionData:_0x51ee56,resolve:_0x2d51ee}of this[_0x34844e(0x230)][_0x34844e(0x1fb)]()){let _0x2a948b=_0x5110f1[_0x34844e(0x226)](_0x4ee4a6=>_0x4ee4a6['id']===_0x51ee56['id']);_0x2a948b||(_0x2a948b=await this[_0x34844e(0x20c)][_0x34844e(0x214)](_0x51ee56['id'],_0x51ee56[_0x34844e(0x201)],_0x51ee56[_0x34844e(0x223)],_0x51ee56[_0x34844e(0x212)])),_0x2d51ee(_0x2a948b);}for(const _0x117076 of _0x5110f1)_0x12b5ea[_0x34844e(0x225)](_0x117076['id'])||_0x12b5ea[_0x34844e(0x22f)](_0x117076);}async[_0x106d92(0x216)](){const _0x56c645=_0x106d92;this[_0x56c645(0x20c)][_0x56c645(0x1f8)]||await new Promise(_0x572455=>{const _0x5867ea=_0x56c645;this[_0x5867ea(0x206)](this[_0x5867ea(0x20c)],_0x5867ea(0x217),_0x564926=>{const _0x3027a7=_0x5867ea;_0x564926[_0x3027a7(0x231)](),_0x572455();});});}async[_0x106d92(0x209)](_0x25cac5){const _0x2c31c4=_0x106d92,_0x2f4477=this[_0x2c31c4(0x1fe)][_0x2c31c4(0x21e)][_0x2c31c4(0x213)](_0x5b0206),{connection:_0x12a10e}=this[_0x2c31c4(0x1fe)][_0x2c31c4(0x21e)][_0x2c31c4(0x213)](_0x55d916),_0x18f6d1=new Set();for(const {authorId:_0x5a5f6d}of _0x25cac5)_0x2f4477[_0x2c31c4(0x229)](_0x5a5f6d)||_0x18f6d1[_0x2c31c4(0x214)](_0x5a5f6d);if(0x0===_0x18f6d1[_0x2c31c4(0x202)])return;const _0x24a8fd=await _0x489bea[_0x2c31c4(0x204)](_0x12a10e,Array[_0x2c31c4(0x200)](_0x18f6d1));for(const _0x4d03ae of _0x24a8fd)_0x2f4477[_0x2c31c4(0x229)](_0x4d03ae['id'])||_0x2f4477[_0x2c31c4(0x20f)](_0x4d03ae);}}function _0x5653(){const _0x4f81f7=['_bufferedRequests','off','set','27rfBtOL','76qHOfev','6277980rhYmhc','pluginName','isConnected','82695OZZqrN','suggestionUpdated','values','message','cloud-services-internal-error:\x20Not\x20connected.','editor','reconnect','from','type','size','7767264hiAotV','getMany','addToReconnectionStack','listenTo','open','startsWith','_fetchMissingUsersForThreads','init','1982350TpuArX','_trackChangesService','config','CloudServicesTrackChangesAdapter','addUser','attributes','adapter','originalSuggestionId','get','add','connection','_waitForServiceReady','connected','5542096NXgcVT','update','isOfficialPlugin','779803ewczeJ','state','then','plugins','requires','TrackChangesEditing','cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','data','delete','hasSuggestion','find','connect','collaboration.channelId','getUser','TrackChangesService','getSuggestion','_saved','catch','7722463NevPTk','addSuggestionData'];_0x5653=function(){return _0x4f81f7;};return _0x5653();}function A(_0x953e89){if(ot(_0x953e89))return new Promise(()=>{});throw _0x953e89;}function ot(_0x24d582){const _0x4e3b79=_0x106d92;return _0x24d582[_0x4e3b79(0x1fc)][_0x4e3b79(0x208)](_0x4e3b79(0x1fd))||_0x24d582[_0x4e3b79(0x1fc)][_0x4e3b79(0x208)](_0x4e3b79(0x221));}
23
+ function _0x1907(){const _0x5c46ba=['getMany','set','3036075BqIYXo','message','hasSuggestion','values','open','connected','off','4832152VwsZmD','CloudServicesTrackChangesAdapter','listenTo','then','requires','isConnected','config','isPremiumPlugin','delete','add','_waitForServiceReady','get','init','reconnect','connection','startsWith','find','type','update','plugins','_bufferedRequests','connect','isOfficialPlugin','catch','2853200AsrHpg','3GDRNKj','data','addUser','_trackChangesService','cloud-services-internal-error:\x20Not\x20connected.','getSuggestion','editor','suggestionUpdated','addToReconnectionStack','getUser','state','_saved','_fetchMissingUsersForThreads','906840EDjEbY','size','cloud-services-internal-error:\x20Request\x20timeout.','addSuggestionData','TrackChangesService','originalSuggestionId','from','2303628hPTYrE','TrackChangesEditing','956616QSsndL','adapter','pluginName','203124oxWCmQ','attributes','collaboration.channelId'];_0x1907=function(){return _0x5c46ba;};return _0x1907();}const _0x42b2a3=_0x4692;(function(_0x221fc4,_0x1f170d){const _0x13ae25=_0x4692,_0x3ee35a=_0x221fc4();while(!![]){try{const _0xe4f7e3=parseInt(_0x13ae25(0x94))/0x1*(parseInt(_0x13ae25(0xad))/0x2)+-parseInt(_0x13ae25(0xaa))/0x3+-parseInt(_0x13ae25(0xa8))/0x4+parseInt(_0x13ae25(0x93))/0x5+parseInt(_0x13ae25(0xa1))/0x6+-parseInt(_0x13ae25(0xb2))/0x7+parseInt(_0x13ae25(0xb9))/0x8;if(_0xe4f7e3===_0x1f170d)break;else _0x3ee35a['push'](_0x3ee35a['shift']());}catch(_0x51a879){_0x3ee35a['push'](_0x3ee35a['shift']());}}}(_0x1907,0x49b9d));function _0x4692(_0x8002be,_0xec5fdc){const _0x1907c7=_0x1907();return _0x4692=function(_0x46926f,_0x2b2967){_0x46926f=_0x46926f-0x8d;let _0x4c9096=_0x1907c7[_0x46926f];return _0x4c9096;},_0x4692(_0x8002be,_0xec5fdc);}import{Plugin as _0x777d81}from'ckeditor5/src/core.js';import{User as _0x2e56e0,TrackChangesService as _0x2b8286}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xd6acf2}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xcc81c}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xfdfc7d}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x777d81{static [_0x42b2a3(0xa5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2b8286)());[_0x42b2a3(0x8f)];[_0x42b2a3(0x97)];static get[_0x42b2a3(0xbd)](){const _0x200eba=_0x42b2a3;return[_0xcc81c,_0x200eba(0xa9),_0xd6acf2];}static get[_0x42b2a3(0xac)](){const _0x532d0d=_0x42b2a3;return _0x532d0d(0xba);}static get[_0x42b2a3(0x91)](){return!0x0;}static get[_0x42b2a3(0xc0)](){return!0x0;}constructor(_0x3f986a){const _0x54d767=_0x42b2a3;super(_0x3f986a);const _0x463f51=this[_0x54d767(0x9a)][_0x54d767(0xbf)][_0x54d767(0xc4)](_0x54d767(0xaf));this[_0x54d767(0x8f)]=new Map(),this[_0x54d767(0x97)]=new CloudServicesTrackChangesAdapter[(_0x54d767(0xa5))](_0x463f51);}[_0x42b2a3(0xc5)](){const _0x1d6f36=_0x42b2a3,_0x322793=this[_0x1d6f36(0x9a)][_0x1d6f36(0x8e)][_0x1d6f36(0xc4)](_0xd6acf2),_0x94c647=this[_0x1d6f36(0x9a)][_0x1d6f36(0x8e)][_0x1d6f36(0xc4)](_0x1d6f36(0xa9));return _0x94c647[_0x1d6f36(0xab)]={'getSuggestion':async _0x55ed25=>{const _0xf82860=_0x1d6f36;await this[_0xf82860(0xc3)]();const _0x52bf76=await this[_0xf82860(0x97)][_0xf82860(0xc4)](_0x55ed25)[_0xf82860(0x92)](T);return await this[_0xf82860(0xa0)]([_0x52bf76]),_0x52bf76;},'addSuggestion':async({id:_0xca7ded,type:_0x19a153,data:_0x46ebb4,originalSuggestionId:_0x5aa62d,attributes:_0x4d9c89})=>{const _0x103140=_0x1d6f36;await this[_0x103140(0xc3)]();const _0x340b12={'id':_0xca7ded,'type':_0x19a153,'data':_0x46ebb4,'originalSuggestionId':_0x5aa62d,'attributes':_0x4d9c89},_0x203e66=await this[_0x103140(0x97)][_0x103140(0xc2)](_0xca7ded,_0x19a153,_0x46ebb4,_0x5aa62d,_0x4d9c89)[_0x103140(0x92)](_0x3a34b5=>{if(I(_0x3a34b5))return new Promise(_0x5d0be5=>{const _0x574a41=_0x4692;this[_0x574a41(0x8f)][_0x574a41(0xb1)](_0xca7ded,{'resolve':_0x5d0be5,'suggestionData':_0x340b12});});throw _0x3a34b5;});return this[_0x103140(0x8f)][_0x103140(0xc1)](_0xca7ded),_0x203e66;},'updateSuggestion':async(_0x26ebb4,_0x4f9585)=>{const _0x7d6311=_0x1d6f36;if(await this[_0x7d6311(0xc3)](),_0x7d6311(0xb6)!==_0x4f9585[_0x7d6311(0x9e)])return this[_0x7d6311(0x97)][_0x7d6311(0x8d)](_0x26ebb4,_0x4f9585)[_0x7d6311(0x92)](T);}},this[_0x1d6f36(0xbb)](this[_0x1d6f36(0x97)],_0x1d6f36(0x9b),(_0x5a0c5b,_0x1c3d19)=>{const _0x41cb28=_0x1d6f36;_0x94c647[_0x41cb28(0xb4)](_0x1c3d19['id'])&&(_0x94c647[_0x41cb28(0x99)](_0x1c3d19['id'])[_0x41cb28(0xae)]=_0x1c3d19[_0x41cb28(0xae)]);}),this[_0x1d6f36(0x97)][_0x1d6f36(0x90)](_0x322793[_0x1d6f36(0xc7)])[_0x1d6f36(0xbc)](_0x11b090=>(_0x322793[_0x1d6f36(0x9c)](this),this[_0x1d6f36(0xa0)](_0x11b090)[_0x1d6f36(0xbc)](()=>{const _0x48e5eb=_0x1d6f36;for(const _0x1dfe93 of _0x11b090){_0x94c647[_0x48e5eb(0xa4)](_0x1dfe93)[_0x48e5eb(0x9f)]=!0x0;}})));}async[_0x42b2a3(0xc6)](){const _0x361abe=_0x42b2a3,_0x5b8a3b=this[_0x361abe(0x9a)][_0x361abe(0x8e)][_0x361abe(0xc4)](_0x361abe(0xa9)),{connection:_0x243958}=this[_0x361abe(0x9a)][_0x361abe(0x8e)][_0x361abe(0xc4)](_0xd6acf2),_0x22394e=await this[_0x361abe(0x97)][_0x361abe(0x90)](_0x243958);await this[_0x361abe(0xa0)](_0x22394e);for(const {suggestionData:_0x4a3116,resolve:_0x3edea3}of this[_0x361abe(0x8f)][_0x361abe(0xb5)]()){let _0x41b61d=_0x22394e[_0x361abe(0xc9)](_0x52bc59=>_0x52bc59['id']===_0x4a3116['id']);_0x41b61d||(_0x41b61d=await this[_0x361abe(0x97)][_0x361abe(0xc2)](_0x4a3116['id'],_0x4a3116[_0x361abe(0xca)],_0x4a3116[_0x361abe(0x95)],_0x4a3116[_0x361abe(0xa6)])),_0x3edea3(_0x41b61d);}for(const _0x459d1e of _0x22394e)_0x5b8a3b[_0x361abe(0xb4)](_0x459d1e['id'])||_0x5b8a3b[_0x361abe(0xa4)](_0x459d1e);}async[_0x42b2a3(0xc3)](){const _0x5c079b=_0x42b2a3;this[_0x5c079b(0x97)][_0x5c079b(0xbe)]||await new Promise(_0x460dbf=>{const _0xfa6dd5=_0x5c079b;this[_0xfa6dd5(0xbb)](this[_0xfa6dd5(0x97)],_0xfa6dd5(0xb7),_0x2d855e=>{const _0x3091de=_0xfa6dd5;_0x2d855e[_0x3091de(0xb8)](),_0x460dbf();});});}async[_0x42b2a3(0xa0)](_0x52f910){const _0x395fd3=_0x42b2a3,_0x5dcc6d=this[_0x395fd3(0x9a)][_0x395fd3(0x8e)][_0x395fd3(0xc4)](_0xfdfc7d),{connection:_0x59d0a6}=this[_0x395fd3(0x9a)][_0x395fd3(0x8e)][_0x395fd3(0xc4)](_0xd6acf2),_0x166076=new Set();for(const {authorId:_0x45b711}of _0x52f910)_0x5dcc6d[_0x395fd3(0x9d)](_0x45b711)||_0x166076[_0x395fd3(0xc2)](_0x45b711);if(0x0===_0x166076[_0x395fd3(0xa2)])return;const _0x25db7b=await _0x2e56e0[_0x395fd3(0xb0)](_0x59d0a6,Array[_0x395fd3(0xa7)](_0x166076));for(const _0x3a1957 of _0x25db7b)_0x5dcc6d[_0x395fd3(0x9d)](_0x3a1957['id'])||_0x5dcc6d[_0x395fd3(0x96)](_0x3a1957);}}function T(_0x5545f4){if(I(_0x5545f4))return new Promise(()=>{});throw _0x5545f4;}function I(_0x584f0f){const _0x164b39=_0x42b2a3;return _0x584f0f[_0x164b39(0xb3)][_0x164b39(0xc8)](_0x164b39(0x98))||_0x584f0f[_0x164b39(0xb3)][_0x164b39(0xc8)](_0x164b39(0xa3));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4598(){var _0x4e6545=['1048yhnfSk','30ddDvWU','273357yuhcIL','1687354sKNxZY','336AadBHs','17177643kqSadX','4745330rMjCBl','pluginName','175532zgsZCk','requires','isOfficialPlugin','TrackChanges','12469888HzTgmo','isPremiumPlugin','34090qnmxlo','RealTimeCollaborativeTrackChanges'];_0x4598=function(){return _0x4e6545;};return _0x4598();}var _0x510d81=_0x2f95;(function(_0x38caf2,_0x544554){var _0x1c35d5=_0x2f95,_0x353167=_0x38caf2();while(!![]){try{var _0x7dd320=-parseInt(_0x1c35d5(0x1a9))/0x1+-parseInt(_0x1c35d5(0x1b7))/0x2*(parseInt(_0x1c35d5(0x1a8))/0x3)+-parseInt(_0x1c35d5(0x1b6))/0x4*(-parseInt(_0x1c35d5(0x1b4))/0x5)+-parseInt(_0x1c35d5(0x1aa))/0x6*(-parseInt(_0x1c35d5(0x1ae))/0x7)+-parseInt(_0x1c35d5(0x1b2))/0x8+parseInt(_0x1c35d5(0x1ab))/0x9+parseInt(_0x1c35d5(0x1ac))/0xa;if(_0x7dd320===_0x544554)break;else _0x353167['push'](_0x353167['shift']());}catch(_0x1785c2){_0x353167['push'](_0x353167['shift']());}}}(_0x4598,0xea959));import{Plugin as _0x525f77}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0xaa137c}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x2f95(_0x4eebd3,_0xf7e9e1){var _0x4598d7=_0x4598();return _0x2f95=function(_0x2f958d,_0x44e29d){_0x2f958d=_0x2f958d-0x1a8;var _0x443fc8=_0x4598d7[_0x2f958d];return _0x443fc8;},_0x2f95(_0x4eebd3,_0xf7e9e1);}import{RealTimeCollaborativeComments as _0x29fd89}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x525f77{static get[_0x510d81(0x1af)](){var _0x564dd9=_0x510d81;return[_0x29fd89,_0xaa137c,_0x564dd9(0x1b1)];}static get[_0x510d81(0x1ad)](){var _0x50a850=_0x510d81;return _0x50a850(0x1b5);}static get[_0x510d81(0x1b0)](){return!0x0;}static get[_0x510d81(0x1b3)](){return!0x0;}}
23
+ var _0xffaa5e=_0x4c91;(function(_0x33fd71,_0x5badb4){var _0x358a8f=_0x4c91,_0x1c01c1=_0x33fd71();while(!![]){try{var _0x1002fe=-parseInt(_0x358a8f(0x83))/0x1+-parseInt(_0x358a8f(0x7e))/0x2+parseInt(_0x358a8f(0x88))/0x3+-parseInt(_0x358a8f(0x7c))/0x4*(-parseInt(_0x358a8f(0x85))/0x5)+parseInt(_0x358a8f(0x7a))/0x6+parseInt(_0x358a8f(0x81))/0x7*(parseInt(_0x358a8f(0x82))/0x8)+-parseInt(_0x358a8f(0x80))/0x9*(-parseInt(_0x358a8f(0x89))/0xa);if(_0x1002fe===_0x5badb4)break;else _0x1c01c1['push'](_0x1c01c1['shift']());}catch(_0x1ffc63){_0x1c01c1['push'](_0x1c01c1['shift']());}}}(_0x16f8,0x1fbef));import{Plugin as _0x27b6f7}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x141a14}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x16f8(){var _0x3666a7=['784693NTBYNH','8GhVnrq','107882OgnBTA','isPremiumPlugin','8185dBSnBb','RealTimeCollaborativeTrackChanges','isOfficialPlugin','424425LsbHwi','10qvkeEn','9138okNRqP','pluginName','100xmdCLi','requires','284108VMDxeH','TrackChanges','755505LobSUj'];_0x16f8=function(){return _0x3666a7;};return _0x16f8();}function _0x4c91(_0x3d4ed2,_0x423f9f){var _0x16f8d6=_0x16f8();return _0x4c91=function(_0x4c9113,_0x37ab14){_0x4c9113=_0x4c9113-0x7a;var _0x542763=_0x16f8d6[_0x4c9113];return _0x542763;},_0x4c91(_0x3d4ed2,_0x423f9f);}import{RealTimeCollaborativeComments as _0x394f27}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x27b6f7{static get[_0xffaa5e(0x7d)](){var _0x265a97=_0xffaa5e;return[_0x394f27,_0x141a14,_0x265a97(0x7f)];}static get[_0xffaa5e(0x7b)](){var _0x56868c=_0xffaa5e;return _0x56868c(0x86);}static get[_0xffaa5e(0x87)](){return!0x0;}static get[_0xffaa5e(0x84)](){return!0x0;}}