@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.6 → 47.3.0-alpha.7

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 _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)]();}}
23
+ function _0x4efa(_0xa71360,_0x107e8b){const _0x2120f1=_0x2120();return _0x4efa=function(_0x4efaba,_0x51b66b){_0x4efaba=_0x4efaba-0x12e;let _0x54926c=_0x2120f1[_0x4efaba];return _0x54926c;},_0x4efa(_0xa71360,_0x107e8b);}const _0x5d02a8=_0x4efa;(function(_0x10cf9c,_0x3d1c12){const _0x1140d0=_0x4efa,_0x40d468=_0x10cf9c();while(!![]){try{const _0x2973db=-parseInt(_0x1140d0(0x172))/0x1+parseInt(_0x1140d0(0x169))/0x2+-parseInt(_0x1140d0(0x148))/0x3+parseInt(_0x1140d0(0x163))/0x4*(-parseInt(_0x1140d0(0x137))/0x5)+-parseInt(_0x1140d0(0x161))/0x6*(parseInt(_0x1140d0(0x165))/0x7)+parseInt(_0x1140d0(0x166))/0x8*(-parseInt(_0x1140d0(0x15e))/0x9)+parseInt(_0x1140d0(0x155))/0xa;if(_0x2973db===_0x3d1c12)break;else _0x40d468['push'](_0x40d468['shift']());}catch(_0x477f01){_0x40d468['push'](_0x40d468['shift']());}}}(_0x2120,0x5c908));function _0x2120(){const _0x1ec3a5=['connect','websocketgateway-missing-token','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.','_isBrowserOffline','state','connected','1320564qorFDA','WebSocketGateway','destroy','delete','cloudServices.requestTimeout','initialReconnectionInterval','config','init','showWarning','listenTo','real-time-collaboration','cloudservices-reconnection-error','_domEmitter','21339110CBjOol','disconnect','CONNECTING','limitExceeded','add','removeFromReconnectionStack','code','addToReconnectionStack','isOfficialPlugin','38034TCfMkX','context','token','336138nAGhto','websocketgateway-plugin-already-registered','9320LCXPPB','bind','84rpNSrP','424OwNDsR','set','offline','1211964COuimw','all','DISCONNECTED','change:me','reconnect','Connected\x20users\x20limit\x20exceeded','CloudServices','define','cloudServices.connectionTimeout','514037dppXgD','webSocketUrl','isInReconnectionStack','constructor','_reconnectionStack','has','websocketgateway-invalid-plugin-interface','from','online','_reconnect','pluginName','connection','websocketgateway-missing-websocket-url','cloudservices-init','then','1095ZtGeJD','stopListening','CONNECTED','catch','isPremiumPlugin','function','error','get','_shouldPluginsReconnect','requires','plugins'];_0x2120=function(){return _0x1ec3a5;};return _0x2120();}import{ContextPlugin as _0x14e89a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3e4bd5,CKEditorError as _0x384baa}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x332b10,WEB_SOCKET_GATEWAY_STATES as _0xcf0e52}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2e1237}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x14e89a{static [_0x5d02a8(0x149)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x332b10)());static [_0x5d02a8(0x14d)]=0x3e8;[_0x5d02a8(0x133)];[_0x5d02a8(0x176)];[_0x5d02a8(0x13f)];[_0x5d02a8(0x154)];static get[_0x5d02a8(0x140)](){const _0x45dfdb=_0x5d02a8;return[_0x45dfdb(0x16f),_0x2e1237];}static get[_0x5d02a8(0x132)](){const _0x3ea3a4=_0x5d02a8;return _0x3ea3a4(0x149);}static get[_0x5d02a8(0x15d)](){return!0x0;}static get[_0x5d02a8(0x13b)](){return!0x0;}constructor(_0x197e88){const _0x226045=_0x5d02a8;super(_0x197e88),this[_0x226045(0x167)](_0x226045(0x146),_0xcf0e52[_0x226045(0x139)]),this[_0x226045(0x167)](_0x226045(0x145),!0x1),this[_0x226045(0x176)]=new Set(),this[_0x226045(0x13f)]=!0x1,this[_0x226045(0x154)]=new(_0x3e4bd5())();}[_0x5d02a8(0x14f)](){const _0x3e131f=_0x5d02a8,_0x4afde7=this[_0x3e131f(0x15f)],_0x3984a9=_0x4afde7[_0x3e131f(0x141)][_0x3e131f(0x13e)](_0x3e131f(0x16f)),_0x2fc5a4=_0x4afde7[_0x3e131f(0x141)][_0x3e131f(0x13e)](_0x2e1237);if(!_0x3984a9[_0x3e131f(0x160)])throw new _0x384baa(_0x3e131f(0x143),this);if(!_0x3984a9[_0x3e131f(0x173)])throw new _0x384baa(_0x3e131f(0x134),this);return this[_0x3e131f(0x154)][_0x3e131f(0x151)](window,_0x3e131f(0x168),()=>this[_0x3e131f(0x145)]=!0x0),this[_0x3e131f(0x154)][_0x3e131f(0x151)](window,_0x3e131f(0x130),()=>this[_0x3e131f(0x145)]=!0x1),this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x170)](_0x3e131f(0x171),0xa),this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x170)](_0x3e131f(0x14c),0x14),WebSocketGateway[_0x3e131f(0x149)][_0x3e131f(0x142)](_0x3984a9[_0x3e131f(0x160)],_0x3984a9[_0x3e131f(0x173)],{'timeout':0x3e8*this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x13e)](_0x3e131f(0x171)),'requestTimeout':0x3e8*this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x13e)](_0x3e131f(0x14c))})[_0x3e131f(0x136)](_0x104818=>{const _0x52aeda=_0x3e131f;if(this[_0x52aeda(0x133)]=_0x104818,this[_0x52aeda(0x164)](_0x52aeda(0x146))['to'](_0x104818,_0x52aeda(0x146),this,_0x52aeda(0x145),(_0x2f0b93,_0x22355d)=>(_0x52aeda(0x147)!==_0x2f0b93&&(this[_0x52aeda(0x13f)]=!0x0),_0x22355d||_0x2f0b93!==_0xcf0e52[_0x52aeda(0x139)]?_0xcf0e52[_0x52aeda(0x16b)]:this[_0x52aeda(0x146)]==_0xcf0e52[_0x52aeda(0x16b)]&&this[_0x52aeda(0x13f)]?(this[_0x52aeda(0x13f)]=!0x1,this[_0x52aeda(0x131)](),_0xcf0e52[_0x52aeda(0x157)]):_0xcf0e52[_0x52aeda(0x139)])),this[_0x52aeda(0x133)]['on'](_0x52aeda(0x13d),(_0x5a7677,_0x2096aa)=>{const _0x43af2e=_0x52aeda;if(_0x43af2e(0x158)!==_0x2096aa[_0x43af2e(0x15b)])throw console[_0x43af2e(0x13d)](_0x2096aa),new _0x384baa(_0x43af2e(0x135),null,{'originalError':_0x2096aa});_0x2fc5a4[_0x43af2e(0x150)](_0x43af2e(0x144),{'title':_0x43af2e(0x16e),'namespace':_0x43af2e(0x152)});}),!_0x104818['me'])return new Promise(_0x1e4fd3=>_0x104818['on'](_0x52aeda(0x16c),_0x1e4fd3));})[_0x3e131f(0x13a)](_0x3e2346=>{const _0x2dca71=_0x3e131f;throw console[_0x2dca71(0x13d)](_0x3e2346),new _0x384baa(_0x2dca71(0x135),null,{'originalError':_0x3e2346});});}[_0x5d02a8(0x15c)](_0x3a1d55){const _0x37c07b=_0x5d02a8;if(_0x37c07b(0x13c)!=typeof _0x3a1d55[_0x37c07b(0x16d)])throw new _0x384baa(_0x37c07b(0x12e),this);if(this[_0x37c07b(0x174)](_0x3a1d55))throw new _0x384baa(_0x37c07b(0x162),this,{'name':_0x3a1d55[_0x37c07b(0x175)][_0x37c07b(0x132)]});this[_0x37c07b(0x176)][_0x37c07b(0x159)](_0x3a1d55);}[_0x5d02a8(0x15a)](_0x4077fc){const _0x4836b4=_0x5d02a8;this[_0x4836b4(0x176)][_0x4836b4(0x14b)](_0x4077fc);}[_0x5d02a8(0x174)](_0x4fe1a4){const _0x4203a2=_0x5d02a8;return this[_0x4203a2(0x176)][_0x4203a2(0x177)](_0x4fe1a4);}[_0x5d02a8(0x131)](){const _0x14ede2=_0x5d02a8;return this[_0x14ede2(0x133)][_0x14ede2(0x16d)]()[_0x14ede2(0x136)](()=>Promise[_0x14ede2(0x16a)](Array[_0x14ede2(0x12f)](this[_0x14ede2(0x176)],_0x2579c1=>_0x2579c1[_0x14ede2(0x16d)]())))[_0x14ede2(0x136)](()=>this[_0x14ede2(0x146)]=_0xcf0e52[_0x14ede2(0x139)])[_0x14ede2(0x13a)](_0x500343=>{const _0x269d7e=_0x14ede2;throw console[_0x269d7e(0x13d)](_0x500343),new _0x384baa(_0x269d7e(0x153),this[_0x269d7e(0x15f)]);});}[_0x5d02a8(0x156)](){const _0x512982=_0x5d02a8;this[_0x512982(0x133)]&&this[_0x512982(0x133)][_0x512982(0x156)](),this[_0x512982(0x146)]=_0xcf0e52[_0x512982(0x16b)],this[_0x512982(0x154)][_0x512982(0x138)]();}[_0x5d02a8(0x14a)](){const _0x4a6ba3=_0x5d02a8;this[_0x4a6ba3(0x156)](),super[_0x4a6ba3(0x14a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x3606e8=_0x4e70;(function(_0x3ac1c1,_0x1a3859){var _0x413d8e=_0x4e70,_0x45d0b8=_0x3ac1c1();while(!![]){try{var _0x26e0aa=parseInt(_0x413d8e(0x114))/0x1*(parseInt(_0x413d8e(0x10d))/0x2)+parseInt(_0x413d8e(0x10c))/0x3+parseInt(_0x413d8e(0x113))/0x4*(parseInt(_0x413d8e(0x10a))/0x5)+parseInt(_0x413d8e(0x10f))/0x6+-parseInt(_0x413d8e(0x115))/0x7+parseInt(_0x413d8e(0x109))/0x8+-parseInt(_0x413d8e(0x10e))/0x9;if(_0x26e0aa===_0x1a3859)break;else _0x45d0b8['push'](_0x45d0b8['shift']());}catch(_0x579f2a){_0x45d0b8['push'](_0x45d0b8['shift']());}}}(_0x1880,0xe4ad7));import{Plugin as _0x50e259}from'ckeditor5/src/core.js';function _0x4e70(_0x40153a,_0xa51920){var _0x188023=_0x1880();return _0x4e70=function(_0x4e701b,_0xdabe03){_0x4e701b=_0x4e701b-0x108;var _0x4903a5=_0x188023[_0x4e701b];return _0x4903a5;},_0x4e70(_0x40153a,_0xa51920);}import{RealTimeCollaborationClient as _0xededa8}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x50e259{static get[_0x3606e8(0x10b)](){return[_0xededa8];}static get[_0x3606e8(0x108)](){var _0x3e10b0=_0x3606e8;return _0x3e10b0(0x111);}static get[_0x3606e8(0x110)](){return!0x0;}static get[_0x3606e8(0x112)](){return!0x0;}}function _0x1880(){var _0x24b8d1=['isPremiumPlugin','378344mghpHi','1pBCqFI','143038LsyzhY','pluginName','11365752hYnWBJ','85dFodvP','requires','3760977ptWobD','747446ttebsA','36409518PdEngJ','2079216GfMslG','isOfficialPlugin','RealTimeCollaborativeEditing'];_0x1880=function(){return _0x24b8d1;};return _0x1880();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
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));}
23
+ const _0x669d2d=_0x2a60;(function(_0x556e56,_0x3a3ab7){const _0x171de0=_0x2a60,_0x2720b1=_0x556e56();while(!![]){try{const _0x46ded1=-parseInt(_0x171de0(0x15a))/0x1+parseInt(_0x171de0(0x17c))/0x2+-parseInt(_0x171de0(0x16f))/0x3*(parseInt(_0x171de0(0x1b1))/0x4)+parseInt(_0x171de0(0x1b4))/0x5*(-parseInt(_0x171de0(0x175))/0x6)+parseInt(_0x171de0(0x190))/0x7*(-parseInt(_0x171de0(0x173))/0x8)+parseInt(_0x171de0(0x1b5))/0x9*(parseInt(_0x171de0(0x15f))/0xa)+parseInt(_0x171de0(0x1ad))/0xb;if(_0x46ded1===_0x3a3ab7)break;else _0x2720b1['push'](_0x2720b1['shift']());}catch(_0x3667a0){_0x2720b1['push'](_0x2720b1['shift']());}}}(_0x1596,0x48704));import{Plugin as _0x46265d}from'ckeditor5/src/core.js';function _0x2a60(_0x4de842,_0xc7de41){const _0x159654=_0x1596();return _0x2a60=function(_0x2a6036,_0x2b06d2){_0x2a6036=_0x2a6036-0x149;let _0x454cff=_0x159654[_0x2a6036];return _0x454cff;},_0x2a60(_0x4de842,_0xc7de41);}import{version as _0x60b3f1}from'ckeditor5/src/utils.js';import{Users as _0x2c6d6a}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2d600c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1596(){const _0x31a1a1=['_revisionDataBuilder','marker','setSource','RevisionTracker','code','RevisionHistoryService','CloudServicesRevisionHistoryAdapter','authorsIds','bind','_revisionTracker','config','editor','_bufferUpdate','_oldOffset','_isConnected','reverse','cloud-services-internal-error:\x20Not\x20connected.','baseVersion','_lastRequestId','16758RHhOdl','_isPendingUpdate','diffData','fromVersion','off','collaboration.channelId','length','repository','_fixRevision','getUser','isEmptyCurrent','buildRevisionData','get','_revisionHistoryService','message','addUser','_handleReconnectionError','type','_createCurrentRevision','CONNECTED','getRevision','startsWith','_handleRevisionsUpdate','getRevisions','_preventResendingRevisionData','addRevisionData','requires','affectsData','_fetchMissingUsers','8273760RlMZZO','sendBufferedUpdates','isOfficialPlugin','cloudServices.bundleVersion','302108MJGzCj','isConnected','setRevisionData','165UTlbQS','333hYsqFK','isPremiumPlugin','size','isEnabled','once','updateRevisions','sessionId','_revisions','_getLatestVersion','addToReconnectionStack','connected','adapter','listenTo','400','keys','isBundleUploaded','reInit','_offset','currentRevision','pluginName','connect','_bufferedUpdates','change:_isConnected','state','catch','revisionsUpdated','191286RTUxiV','connection','RevisionHistory','creatorId','authors','32990gtwdmy','_update','getMany','map','data','_getLatestVersionFromServerOperations','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','then','wrongRequestId','_waitForServiceReady','toVersion','destroy','createdAt','has','9bWzqFu','getOperations','cloud-services-internal-error:\x20Request\x20timeout.','change:_isPendingUpdate','608xTfyth','serverHistory','91446xeOfNW','init','from','remove','reconnect','max','plugins','1050498ytYHhN'];_0x1596=function(){return _0x31a1a1;};return _0x1596();}import{WebSocketGateway as _0xf21e9c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x37faca}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x382d55,RevisionHistoryService as _0xd69165,User as _0x59023e,WEB_SOCKET_GATEWAY_STATES as _0x3aa09e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x46265d{static [_0x669d2d(0x182)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xd69165)());[_0x669d2d(0x18f)];[_0x669d2d(0x186)];[_0x669d2d(0x19d)];[_0x669d2d(0x18a)];static get[_0x669d2d(0x1aa)](){const _0x4c8886=_0x669d2d;return[_0xf21e9c,_0x2d600c,_0x4c8886(0x15c),_0x37faca,_0x2c6d6a];}static get[_0x669d2d(0x153)](){const _0x553b96=_0x669d2d;return _0x553b96(0x183);}static get[_0x669d2d(0x1af)](){return!0x0;}static get[_0x669d2d(0x1b6)](){return!0x0;}constructor(_0x1aa26f){const _0xb61d91=_0x669d2d;super(_0x1aa26f);const _0x491cdc=this[_0xb61d91(0x188)][_0xb61d91(0x187)][_0xb61d91(0x19c)](_0xb61d91(0x195));this[_0xb61d91(0x18f)]=null,this[_0xb61d91(0x186)]=this[_0xb61d91(0x188)][_0xb61d91(0x17b)][_0xb61d91(0x19c)](_0xb61d91(0x180)),this[_0xb61d91(0x19d)]=new CloudServicesRevisionHistoryAdapter[(_0xb61d91(0x182))](_0x491cdc);}async[_0x669d2d(0x176)](){const _0x571303=_0x669d2d,_0x4a372f=this[_0x571303(0x188)][_0x571303(0x17b)][_0x571303(0x19c)](_0x2d600c),_0x787247=_0x4a372f[_0x571303(0x174)],_0x584c5c=this[_0x571303(0x188)][_0x571303(0x17b)][_0x571303(0x19c)](_0xf21e9c);this[_0x571303(0x186)][_0x571303(0x17f)]({'history':_0x787247,'getLatestVersion':()=>this[_0x571303(0x1bd)](),'getCurrentRevisionId':()=>_0x4a372f[_0x571303(0x1bb)]});const _0xb21c74=this[_0x571303(0x188)][_0x571303(0x187)][_0x571303(0x19c)](_0x571303(0x1b0))||_0x60b3f1,_0x135a93=await _0x382d55[_0x571303(0x14f)](_0x584c5c[_0x571303(0x15b)],_0xb21c74);this[_0x571303(0x188)][_0x571303(0x17b)][_0x571303(0x19c)](_0x571303(0x15c))[_0x571303(0x14b)]={'getRevision':async({revisionId:_0x279003})=>(await this[_0x571303(0x16a)](),await this[_0x571303(0x19d)][_0x571303(0x1a4)](_0x279003)),'updateRevisions':async _0x4df327=>{const _0x552163=_0x571303;await this[_0x552163(0x16a)]();const _0xd2ed59=this[_0x552163(0x186)][_0x552163(0x152)];if(_0x135a93&&0x1===_0x4df327[_0x552163(0x196)]&&_0x4df327[0x0]['id']===_0xd2ed59['id'])return _0x4df327;for(const _0x1e21b1 of _0x4df327)_0x1e21b1['id']===_0xd2ed59['id']&&(_0x1e21b1[_0x552163(0x19a)]=_0x1e21b1[_0x552163(0x193)]===_0x1e21b1[_0x552163(0x16b)]);return this[_0x552163(0x19d)][_0x552163(0x1ba)](_0x4df327,this[_0x552163(0x18f)])[_0x552163(0x168)](_0x56218b=>(this[_0x552163(0x18f)]=_0x56218b,_0x4df327))[_0x552163(0x158)](_0xfe2fba=>{const _0x1b5516=_0x552163;if(st(_0xfe2fba)||_0x1b5516(0x14d)===_0xfe2fba[_0x1b5516(0x181)]&&void 0x0!==_0xfe2fba[_0x1b5516(0x163)][_0x1b5516(0x169)]){for(const _0x4b79d2 of _0x4df327){!this[_0x1b5516(0x186)][_0x1b5516(0x197)][_0x1b5516(0x1a4)](_0x4b79d2['id'])||this[_0x1b5516(0x186)][_0x1b5516(0x189)](_0x4b79d2['id'],_0x4b79d2,!0x1);}if(st(_0xfe2fba))throw _0xfe2fba;return _0x4df327;}throw _0xfe2fba;});}},this[_0x571303(0x14c)](this[_0x571303(0x19d)],_0x571303(0x159),(_0x17b5ba,{revisionsData:_0x1362b6,requestId:_0x2aff49})=>{const _0x51a92d=_0x571303;Math[_0x51a92d(0x17a)](..._0x1362b6[_0x51a92d(0x162)](_0x1ccf9d=>_0x1ccf9d[_0x51a92d(0x16b)]))>this[_0x51a92d(0x164)]()-0x1?this[_0x51a92d(0x1bd)]()[_0x51a92d(0x168)](()=>{const _0x5a2cc1=_0x51a92d;this[_0x5a2cc1(0x1a6)](_0x1362b6,_0x2aff49);}):this[_0x51a92d(0x1a6)](_0x1362b6,_0x2aff49);});const {revisions:_0xd944f8,requestId:_0xc235fb}=await this[_0x571303(0x19d)][_0x571303(0x154)](_0x584c5c[_0x571303(0x15b)]);_0x584c5c[_0x571303(0x149)](this),this[_0x571303(0x18f)]=_0xc235fb,await this[_0x571303(0x1ac)](_0xd944f8);for(const _0x96b840 of _0xd944f8)this[_0x571303(0x186)][_0x571303(0x1a9)](_0x96b840);this[_0x571303(0x14c)](_0x4a372f,_0x571303(0x156),(_0x45e4ef,_0x49dcf5,_0x3d207f)=>{const _0x315fac=_0x571303;_0x3d207f&&(this[_0x315fac(0x18a)]=_0x4a372f[_0x315fac(0x151)],_0x45e4ef[_0x315fac(0x194)]());}),this[_0x571303(0x186)][_0x571303(0x185)](_0x571303(0x1b8))['to'](_0x584c5c,_0x571303(0x157),_0x4c0fbd=>_0x4c0fbd===_0x3aa09e[_0x571303(0x1a3)]);}async[_0x669d2d(0x179)](){const _0x4f099c=_0x669d2d,_0x38f597=this[_0x4f099c(0x188)][_0x4f099c(0x17b)][_0x4f099c(0x19c)](_0xf21e9c),_0x501fca=this[_0x4f099c(0x188)][_0x4f099c(0x17b)][_0x4f099c(0x19c)](_0x2d600c),_0x51424b=async()=>{const _0x21c32e=_0x4f099c,_0x11b177=this[_0x21c32e(0x186)][_0x21c32e(0x152)],_0x38903c=_0x11b177['id'],_0x4a2f11=_0x38903c!==_0x501fca[_0x21c32e(0x1bb)];if(_0x4a2f11){const _0x5580b2=_0x501fca[_0x21c32e(0x151)]-this[_0x21c32e(0x18a)],_0x286752=this[_0x21c32e(0x164)]();this[_0x21c32e(0x186)][_0x21c32e(0x17d)][_0x21c32e(0x150)]();if(_0x11b177[_0x21c32e(0x16b)]+_0x5580b2!==_0x286752){const _0x42bac3=_0x11b177[_0x21c32e(0x193)]+_0x5580b2,_0x38fb53=this[_0x21c32e(0x188)][_0x21c32e(0x17b)][_0x21c32e(0x19c)](_0x2c6d6a),_0xc972a1=this[_0x21c32e(0x186)][_0x21c32e(0x19b)]({'revision':_0x11b177,'from':_0x42bac3,'to':_0x286752});_0xc972a1['id']=_0x11b177['id'];const _0xd61143=_0xc972a1[_0x21c32e(0x184)][_0x21c32e(0x162)](_0x842c19=>_0x38fb53[_0x21c32e(0x199)](_0x842c19));_0x11b177[_0x21c32e(0x160)]({..._0xc972a1,'authors':_0xd61143},!0x0),this[_0x21c32e(0x186)][_0x21c32e(0x189)](_0x11b177['id'],_0xc972a1,!0x0);}this[_0x21c32e(0x186)][_0x21c32e(0x165)]=_0x286752,(_0x11b177[_0x21c32e(0x16b)]===_0x11b177[_0x21c32e(0x193)]&&!this[_0x21c32e(0x186)][_0x21c32e(0x155)][_0x21c32e(0x16e)](_0x38903c)&&this[_0x21c32e(0x186)][_0x21c32e(0x197)][_0x21c32e(0x1bc)][_0x21c32e(0x178)](_0x38903c),this[_0x21c32e(0x186)][_0x21c32e(0x1a2)](_0x286752));}const {revisions:_0x33439c,requestId:_0x40fda5}=await this[_0x21c32e(0x19d)][_0x21c32e(0x179)](_0x38f597[_0x21c32e(0x15b)],this[_0x21c32e(0x18f)]);_0x4a2f11&&_0x33439c[_0x21c32e(0x196)]>0x0?_0x501fca[_0x21c32e(0x1a0)]():(await this[_0x21c32e(0x1ac)](_0x33439c),this[_0x21c32e(0x1a6)](_0x33439c,_0x40fda5),this[_0x21c32e(0x186)][_0x21c32e(0x1ae)]());};return _0x501fca[_0x4f099c(0x18b)]?_0x51424b():new Promise((_0x148158,_0x1eee76)=>{const _0x2999f3=_0x4f099c;_0x501fca[_0x2999f3(0x1b9)](_0x2999f3(0x156),()=>{const _0x2428c2=_0x2999f3;_0x51424b()[_0x2428c2(0x168)](_0x148158)[_0x2428c2(0x158)](_0x1eee76);});});}[_0x669d2d(0x16c)](){const _0x59163c=_0x669d2d;super[_0x59163c(0x16c)]();}async[_0x669d2d(0x16a)](){const _0x167569=_0x669d2d;this[_0x167569(0x19d)][_0x167569(0x1b2)]||await new Promise(_0x2bb860=>{const _0x1ee107=_0x167569;this[_0x1ee107(0x14c)](this[_0x1ee107(0x19d)],_0x1ee107(0x14a),_0x239772=>{const _0x2bcabe=_0x1ee107;_0x239772[_0x2bcabe(0x194)](),_0x2bb860();});});}[_0x669d2d(0x164)](){const _0x4f294c=_0x669d2d,_0x39e24c=this[_0x4f294c(0x188)][_0x4f294c(0x17b)][_0x4f294c(0x19c)](_0x2d600c)[_0x4f294c(0x174)][_0x4f294c(0x170)]()[_0x4f294c(0x18c)]();for(const _0x4d6f55 of _0x39e24c)if(_0x4f294c(0x17e)!==_0x4d6f55[_0x4f294c(0x1a1)]||_0x4d6f55[_0x4f294c(0x1ab)])return _0x4d6f55[_0x4f294c(0x18e)]+0x1;}[_0x669d2d(0x1bd)](){const _0x51d00d=_0x669d2d,_0x479ff3=this[_0x51d00d(0x188)][_0x51d00d(0x17b)][_0x51d00d(0x19c)](_0x2d600c);return new Promise(_0x1ce600=>{const _0x55a012=_0x51d00d;_0x479ff3[_0x55a012(0x191)]?_0x479ff3[_0x55a012(0x1b9)](_0x55a012(0x172),()=>{const _0x2c7d0f=_0x55a012;_0x1ce600(this[_0x2c7d0f(0x164)]());}):_0x1ce600(this[_0x55a012(0x164)]());});}[_0x669d2d(0x1a6)](_0x1d69b2,_0xce2ff6){const _0x223dae=_0x669d2d,_0x17c434=this[_0x223dae(0x186)][_0x223dae(0x197)];this[_0x223dae(0x18f)]=_0xce2ff6;for(const _0xda7903 of _0x1d69b2){const _0xf9cab7=_0x17c434[_0x223dae(0x1a4)](_0xda7903['id']);if(_0xf9cab7){if((_0xda7903[_0x223dae(0x193)]||_0xda7903[_0x223dae(0x16b)])&&(_0xda7903[_0x223dae(0x192)]=null),_0xf9cab7===this[_0x223dae(0x186)][_0x223dae(0x152)]){const _0x3afc7f=Math[_0x223dae(0x17a)](_0xf9cab7[_0x223dae(0x16b)],_0xda7903[_0x223dae(0x16b)]),_0x42cc7a=Math[_0x223dae(0x17a)](_0xf9cab7[_0x223dae(0x193)],_0xda7903[_0x223dae(0x193)]);let _0x444eaf;_0xf9cab7[_0x223dae(0x16b)]===_0xda7903[_0x223dae(0x16b)]&&_0xf9cab7[_0x223dae(0x193)]===_0xda7903[_0x223dae(0x193)]?(_0x444eaf=!0x0,this[_0x223dae(0x1a8)](_0xda7903)):_0xda7903[_0x223dae(0x16b)]===_0x3afc7f&&_0xda7903[_0x223dae(0x193)]===_0x42cc7a?_0x444eaf=!0x1:(_0xf9cab7[_0x223dae(0x16b)]===_0x3afc7f&&_0xf9cab7[_0x223dae(0x193)]===_0x42cc7a||this[_0x223dae(0x198)]({'revision':_0xf9cab7,'from':_0x42cc7a,'to':_0x3afc7f}),_0x444eaf=!0x0),_0x444eaf&&(delete _0xda7903[_0x223dae(0x193)],delete _0xda7903[_0x223dae(0x16b)],delete _0xda7903[_0x223dae(0x192)],delete _0xda7903[_0x223dae(0x16d)],delete _0xda7903[_0x223dae(0x184)]);}this[_0x223dae(0x186)][_0x223dae(0x1b3)](_0xda7903),this[_0x223dae(0x1a8)](_0xda7903);}else this[_0x223dae(0x186)][_0x223dae(0x1a9)](_0xda7903);}const _0x4454d2=_0x17c434[_0x223dae(0x1a7)]();_0x4454d2[_0x223dae(0x18c)]();for(let _0x4d5dfa=0x0;_0x4d5dfa<_0x4454d2[_0x223dae(0x196)]-0x1;_0x4d5dfa++){const _0x5b0f62=_0x4454d2[_0x4d5dfa],_0x170dff=_0x4454d2[_0x4d5dfa+0x1];if(_0x5b0f62[_0x223dae(0x193)]<_0x170dff[_0x223dae(0x16b)]){const _0x277cd5=_0x170dff[_0x223dae(0x16b)],_0x589fd2=Math[_0x223dae(0x17a)](_0x277cd5,_0x5b0f62[_0x223dae(0x16b)]);this[_0x223dae(0x198)]({'revision':_0x5b0f62,'from':_0x277cd5,'to':_0x589fd2});}}}[_0x669d2d(0x198)]({revision:_0x5b6df8,from:_0x49e95a,to:_0x1bd24f}={}){const _0xee90a8=_0x669d2d,_0x753f8d=this[_0xee90a8(0x188)][_0xee90a8(0x17b)][_0xee90a8(0x19c)](_0x2c6d6a),_0x4d2966=this[_0xee90a8(0x186)][_0xee90a8(0x19b)]({'revision':_0x5b6df8,'from':_0x49e95a,'to':_0x1bd24f});_0x4d2966[_0xee90a8(0x15e)]=_0x4d2966[_0xee90a8(0x184)][_0xee90a8(0x162)](_0xc3a518=>_0x753f8d[_0xee90a8(0x199)](_0xc3a518)),_0x5b6df8[_0xee90a8(0x160)](_0x4d2966);}[_0x669d2d(0x1a8)](_0x2fe5d3){const _0x16c900=_0x669d2d,_0x2c4b9c={};_0x2c4b9c['id']=_0x2fe5d3['id'];for(const _0x1dd60c of Object[_0x16c900(0x14e)](_0x2fe5d3))'id'!==_0x1dd60c&&(_0x2c4b9c[_0x1dd60c]=void 0x0);this[_0x16c900(0x186)][_0x16c900(0x189)](_0x2c4b9c['id'],_0x2c4b9c,!0x0);}async[_0x669d2d(0x1ac)](_0x54dbc9){const _0x5879a8=_0x669d2d,_0x1cfd7c=this[_0x5879a8(0x188)][_0x5879a8(0x17b)][_0x5879a8(0x19c)](_0x2c6d6a),{connection:_0x9b29d3}=this[_0x5879a8(0x188)][_0x5879a8(0x17b)][_0x5879a8(0x19c)](_0xf21e9c),_0x19f110=new Set();for(const _0x3323e of _0x54dbc9){for(const _0xa3bfe3 of _0x3323e[_0x5879a8(0x184)])_0x1955ba(_0xa3bfe3);_0x3323e[_0x5879a8(0x15d)]&&_0x1955ba(_0x3323e[_0x5879a8(0x15d)]);}if(0x0===_0x19f110[_0x5879a8(0x1b7)])return;const _0x2b8d01=await _0x59023e[_0x5879a8(0x161)](_0x9b29d3,Array[_0x5879a8(0x177)](_0x19f110));for(const _0x330ddc of _0x2b8d01)_0x1cfd7c[_0x5879a8(0x199)](_0x330ddc['id'])||_0x1cfd7c[_0x5879a8(0x19f)](_0x330ddc);function _0x1955ba(_0x48f862){const _0x2aa0e1=_0x5879a8;_0x1cfd7c[_0x2aa0e1(0x199)](_0x48f862)||_0x19f110[_0x2aa0e1(0x167)](_0x48f862);}}}function st(_0x2acfc2){const _0x35b280=_0x669d2d;return _0x2acfc2[_0x35b280(0x19e)][_0x35b280(0x1a5)](_0x35b280(0x166))||_0x2acfc2[_0x35b280(0x19e)][_0x35b280(0x1a5)](_0x35b280(0x18d))||_0x2acfc2[_0x35b280(0x19e)][_0x35b280(0x1a5)](_0x35b280(0x171));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x3289be=_0x4a06;(function(_0x61d2be,_0x30db7f){var _0x32d6a5=_0x4a06,_0x3014f5=_0x61d2be();while(!![]){try{var _0x35bed2=parseInt(_0x32d6a5(0xeb))/0x1+-parseInt(_0x32d6a5(0xe1))/0x2+-parseInt(_0x32d6a5(0xe2))/0x3*(parseInt(_0x32d6a5(0xe9))/0x4)+-parseInt(_0x32d6a5(0xe6))/0x5+-parseInt(_0x32d6a5(0xee))/0x6*(parseInt(_0x32d6a5(0xe0))/0x7)+parseInt(_0x32d6a5(0xe4))/0x8*(parseInt(_0x32d6a5(0xec))/0x9)+-parseInt(_0x32d6a5(0xe5))/0xa*(-parseInt(_0x32d6a5(0xea))/0xb);if(_0x35bed2===_0x30db7f)break;else _0x3014f5['push'](_0x3014f5['shift']());}catch(_0x4de3e4){_0x3014f5['push'](_0x3014f5['shift']());}}}(_0xbfa6,0x8d71c));import{Plugin as _0x2256dd}from'ckeditor5/src/core.js';function _0xbfa6(){var _0x484ae8=['35mwksBn','376028HBSazb','1303035KKslUM','isOfficialPlugin','32wkAYek','10cPixPO','3747980dBuoFO','RevisionHistory','isPremiumPlugin','4woXApA','10875986wttENP','541078zeYgMq','1371087VlDAqo','pluginName','225438XYRSex','requires','RealTimeCollaborativeRevisionHistory'];_0xbfa6=function(){return _0x484ae8;};return _0xbfa6();}import{CloudServicesRevisionHistoryAdapter as _0x5f35e9}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x4a06(_0x32fc91,_0x20f2a0){var _0xbfa63a=_0xbfa6();return _0x4a06=function(_0x4a0650,_0x4e4283){_0x4a0650=_0x4a0650-0xdf;var _0x120f1f=_0xbfa63a[_0x4a0650];return _0x120f1f;},_0x4a06(_0x32fc91,_0x20f2a0);}import{RealTimeCollaborativeEditing as _0x54841b}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x2256dd{static get[_0x3289be(0xef)](){var _0x3e9e2e=_0x3289be;return[_0x3e9e2e(0xe7),_0x5f35e9,_0x54841b];}static get[_0x3289be(0xed)](){var _0x11dd98=_0x3289be;return _0x11dd98(0xdf);}static get[_0x3289be(0xe3)](){return!0x0;}static get[_0x3289be(0xe8)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
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));}
23
+ const _0x218a95=_0x383d;function _0x276f(){const _0x2075c5=['getSuggestion','isConnected','10zLUmIg','isOfficialPlugin','suggestionUpdated','connect','addSuggestionData','22996HxxEUO','off','message','set','69qFvNtN','originalSuggestionId','cloud-services-internal-error:\x20Not\x20connected.','data','type','values','_trackChangesService','_waitForServiceReady','get','listenTo','1213580RxUozP','addUser','pluginName','attributes','adapter','isPremiumPlugin','reconnect','config','_bufferedRequests','157556frllVt','editor','hasSuggestion','11AFdMPd','init','156JDmLre','113596YvQoeD','10874470mUEBRC','size','add','update','_fetchMissingUsersForThreads','startsWith','connection','requires','then','catch','3745629sIjWlm','collaboration.channelId','from','TrackChangesEditing','open','connected','_saved','381568tYsJDC','addToReconnectionStack','getUser','plugins','find','delete','getMany','TrackChangesService','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesTrackChangesAdapter','state'];_0x276f=function(){return _0x2075c5;};return _0x276f();}(function(_0x41bca2,_0x3ff23d){const _0x379f80=_0x383d,_0x515f30=_0x41bca2();while(!![]){try{const _0x1c7b1c=parseInt(_0x379f80(0x9a))/0x1*(parseInt(_0x379f80(0xbc))/0x2)+-parseInt(_0x379f80(0xa3))/0x3*(parseInt(_0x379f80(0x9f))/0x4)+-parseInt(_0x379f80(0xad))/0x5+-parseInt(_0x379f80(0xbb))/0x6*(parseInt(_0x379f80(0xb6))/0x7)+parseInt(_0x379f80(0x8d))/0x8+-parseInt(_0x379f80(0x86))/0x9+-parseInt(_0x379f80(0xbd))/0xa*(-parseInt(_0x379f80(0xb9))/0xb);if(_0x1c7b1c===_0x3ff23d)break;else _0x515f30['push'](_0x515f30['shift']());}catch(_0x2ee302){_0x515f30['push'](_0x515f30['shift']());}}}(_0x276f,0x4fc87));import{Plugin as _0x365af0}from'ckeditor5/src/core.js';import{User as _0xf863dd,TrackChangesService as _0x21c3ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x19a1df}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1fc21d}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3e3448}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x365af0{static [_0x218a95(0x94)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x21c3ab)());[_0x218a95(0xb5)];[_0x218a95(0xa9)];static get[_0x218a95(0x83)](){const _0x31ba97=_0x218a95;return[_0x1fc21d,_0x31ba97(0x89),_0x19a1df];}static get[_0x218a95(0xaf)](){const _0x52592b=_0x218a95;return _0x52592b(0x96);}static get[_0x218a95(0x9b)](){return!0x0;}static get[_0x218a95(0xb2)](){return!0x0;}constructor(_0x2b3f2d){const _0x166dc6=_0x218a95;super(_0x2b3f2d);const _0x3eae5e=this[_0x166dc6(0xb7)][_0x166dc6(0xb4)][_0x166dc6(0xab)](_0x166dc6(0x87));this[_0x166dc6(0xb5)]=new Map(),this[_0x166dc6(0xa9)]=new CloudServicesTrackChangesAdapter[(_0x166dc6(0x94))](_0x3eae5e);}[_0x218a95(0xba)](){const _0x2db928=_0x218a95,_0x5f2347=this[_0x2db928(0xb7)][_0x2db928(0x90)][_0x2db928(0xab)](_0x19a1df),_0x38e828=this[_0x2db928(0xb7)][_0x2db928(0x90)][_0x2db928(0xab)](_0x2db928(0x89));return _0x38e828[_0x2db928(0xb1)]={'getSuggestion':async _0x47d1b3=>{const _0x22bbb=_0x2db928;await this[_0x22bbb(0xaa)]();const _0xbbb758=await this[_0x22bbb(0xa9)][_0x22bbb(0xab)](_0x47d1b3)[_0x22bbb(0x85)](k);return await this[_0x22bbb(0xc1)]([_0xbbb758]),_0xbbb758;},'addSuggestion':async({id:_0x24d11b,type:_0x1f12e2,data:_0x5afffc,originalSuggestionId:_0x14255f,attributes:_0x4e254b})=>{const _0x392d12=_0x2db928;await this[_0x392d12(0xaa)]();const _0x4921a4={'id':_0x24d11b,'type':_0x1f12e2,'data':_0x5afffc,'originalSuggestionId':_0x14255f,'attributes':_0x4e254b},_0x2b705c=await this[_0x392d12(0xa9)][_0x392d12(0xbf)](_0x24d11b,_0x1f12e2,_0x5afffc,_0x14255f,_0x4e254b)[_0x392d12(0x85)](_0x2eb45e=>{if(st(_0x2eb45e))return new Promise(_0x370fc6=>{const _0x1a9e69=_0x383d;this[_0x1a9e69(0xb5)][_0x1a9e69(0xa2)](_0x24d11b,{'resolve':_0x370fc6,'suggestionData':_0x4921a4});});throw _0x2eb45e;});return this[_0x392d12(0xb5)][_0x392d12(0x92)](_0x24d11b),_0x2b705c;},'updateSuggestion':async(_0x438c4a,_0x592e2e)=>{const _0x3d688f=_0x2db928;if(await this[_0x3d688f(0xaa)](),_0x3d688f(0x8a)!==_0x592e2e[_0x3d688f(0x97)])return this[_0x3d688f(0xa9)][_0x3d688f(0xc0)](_0x438c4a,_0x592e2e)[_0x3d688f(0x85)](k);}},this[_0x2db928(0xac)](this[_0x2db928(0xa9)],_0x2db928(0x9c),(_0x525f75,_0x41fea6)=>{const _0x3792f2=_0x2db928;_0x38e828[_0x3792f2(0xb8)](_0x41fea6['id'])&&(_0x38e828[_0x3792f2(0x98)](_0x41fea6['id'])[_0x3792f2(0xb0)]=_0x41fea6[_0x3792f2(0xb0)]);}),this[_0x2db928(0xa9)][_0x2db928(0x9d)](_0x5f2347[_0x2db928(0x82)])[_0x2db928(0x84)](_0x547a81=>(_0x5f2347[_0x2db928(0x8e)](this),this[_0x2db928(0xc1)](_0x547a81)[_0x2db928(0x84)](()=>{const _0x23efc6=_0x2db928;for(const _0x3bdfce of _0x547a81){_0x38e828[_0x23efc6(0x9e)](_0x3bdfce)[_0x23efc6(0x8c)]=!0x0;}})));}async[_0x218a95(0xb3)](){const _0x2c1712=_0x218a95,_0x171f88=this[_0x2c1712(0xb7)][_0x2c1712(0x90)][_0x2c1712(0xab)](_0x2c1712(0x89)),{connection:_0x2b183a}=this[_0x2c1712(0xb7)][_0x2c1712(0x90)][_0x2c1712(0xab)](_0x19a1df),_0x1a5335=await this[_0x2c1712(0xa9)][_0x2c1712(0x9d)](_0x2b183a);await this[_0x2c1712(0xc1)](_0x1a5335);for(const {suggestionData:_0x2033eb,resolve:_0x54a7d1}of this[_0x2c1712(0xb5)][_0x2c1712(0xa8)]()){let _0x5a8fb4=_0x1a5335[_0x2c1712(0x91)](_0x2c52e9=>_0x2c52e9['id']===_0x2033eb['id']);_0x5a8fb4||(_0x5a8fb4=await this[_0x2c1712(0xa9)][_0x2c1712(0xbf)](_0x2033eb['id'],_0x2033eb[_0x2c1712(0xa7)],_0x2033eb[_0x2c1712(0xa6)],_0x2033eb[_0x2c1712(0xa4)])),_0x54a7d1(_0x5a8fb4);}for(const _0x215dea of _0x1a5335)_0x171f88[_0x2c1712(0xb8)](_0x215dea['id'])||_0x171f88[_0x2c1712(0x9e)](_0x215dea);}async[_0x218a95(0xaa)](){const _0xf3b158=_0x218a95;this[_0xf3b158(0xa9)][_0xf3b158(0x99)]||await new Promise(_0x155b5d=>{const _0x2771a8=_0xf3b158;this[_0x2771a8(0xac)](this[_0x2771a8(0xa9)],_0x2771a8(0x8b),_0x565216=>{const _0x2962ea=_0x2771a8;_0x565216[_0x2962ea(0xa0)](),_0x155b5d();});});}async[_0x218a95(0xc1)](_0x3cb7b5){const _0x946359=_0x218a95,_0x874ae8=this[_0x946359(0xb7)][_0x946359(0x90)][_0x946359(0xab)](_0x3e3448),{connection:_0x4e2403}=this[_0x946359(0xb7)][_0x946359(0x90)][_0x946359(0xab)](_0x19a1df),_0x56c538=new Set();for(const {authorId:_0x4fa412}of _0x3cb7b5)_0x874ae8[_0x946359(0x8f)](_0x4fa412)||_0x56c538[_0x946359(0xbf)](_0x4fa412);if(0x0===_0x56c538[_0x946359(0xbe)])return;const _0x58f0c8=await _0xf863dd[_0x946359(0x93)](_0x4e2403,Array[_0x946359(0x88)](_0x56c538));for(const _0x437503 of _0x58f0c8)_0x874ae8[_0x946359(0x8f)](_0x437503['id'])||_0x874ae8[_0x946359(0xae)](_0x437503);}}function _0x383d(_0x591d4f,_0xc1e7dc){const _0x276f45=_0x276f();return _0x383d=function(_0x383dc1,_0x8a5905){_0x383dc1=_0x383dc1-0x82;let _0x79787b=_0x276f45[_0x383dc1];return _0x79787b;},_0x383d(_0x591d4f,_0xc1e7dc);}function k(_0x3eff11){if(st(_0x3eff11))return new Promise(()=>{});throw _0x3eff11;}function st(_0x353474){const _0x3fa5a2=_0x218a95;return _0x353474[_0x3fa5a2(0xa1)][_0x3fa5a2(0xc2)](_0x3fa5a2(0xa5))||_0x353474[_0x3fa5a2(0xa1)][_0x3fa5a2(0xc2)](_0x3fa5a2(0x95));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x4bfd9f=_0x39e2;(function(_0x4000ca,_0x460acf){var _0x54a2a5=_0x39e2,_0xad8af8=_0x4000ca();while(!![]){try{var _0x44a182=parseInt(_0x54a2a5(0xe9))/0x1*(-parseInt(_0x54a2a5(0xf4))/0x2)+-parseInt(_0x54a2a5(0xf6))/0x3*(-parseInt(_0x54a2a5(0xf1))/0x4)+-parseInt(_0x54a2a5(0xf7))/0x5*(-parseInt(_0x54a2a5(0xf2))/0x6)+-parseInt(_0x54a2a5(0xe8))/0x7*(-parseInt(_0x54a2a5(0xee))/0x8)+parseInt(_0x54a2a5(0xeb))/0x9+parseInt(_0x54a2a5(0xf3))/0xa*(parseInt(_0x54a2a5(0xe6))/0xb)+parseInt(_0x54a2a5(0xec))/0xc*(parseInt(_0x54a2a5(0xef))/0xd);if(_0x44a182===_0x460acf)break;else _0xad8af8['push'](_0xad8af8['shift']());}catch(_0x3cb390){_0xad8af8['push'](_0xad8af8['shift']());}}}(_0x40dc,0x3d508));import{Plugin as _0x76583d}from'ckeditor5/src/core.js';function _0x39e2(_0x27c82e,_0x4f2797){var _0x40dc87=_0x40dc();return _0x39e2=function(_0x39e25f,_0x2485c5){_0x39e25f=_0x39e25f-0xe6;var _0x3c043d=_0x40dc87[_0x39e25f];return _0x3c043d;},_0x39e2(_0x27c82e,_0x4f2797);}function _0x40dc(){var _0x33d7ce=['RealTimeCollaborativeTrackChanges','318IzryKT','5IRjFXm','isPremiumPlugin','22iGwYdH','requires','1058855FqRFmm','124527UlatBg','TrackChanges','479439sazUHP','717996cloTbD','pluginName','8JMMUAf','26ZZWfXT','isOfficialPlugin','3428TkTTAg','89484fBljnX','1596470ZkZVwK','8LCnSlW'];_0x40dc=function(){return _0x33d7ce;};return _0x40dc();}import{CloudServicesTrackChangesAdapter as _0x1192a4}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5a0cc9}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x76583d{static get[_0x4bfd9f(0xe7)](){var _0xa752bb=_0x4bfd9f;return[_0x5a0cc9,_0x1192a4,_0xa752bb(0xea)];}static get[_0x4bfd9f(0xed)](){var _0x366e2d=_0x4bfd9f;return _0x366e2d(0xf5);}static get[_0x4bfd9f(0xf0)](){return!0x0;}static get[_0x4bfd9f(0xf8)](){return!0x0;}}