@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.2 → 47.0.0-alpha.3

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 _0x5857d1=_0x3edb;(function(_0x2aae03,_0x10277e){const _0x232f00=_0x3edb,_0x339882=_0x2aae03();while(!![]){try{const _0x4c8b75=parseInt(_0x232f00(0x80))/0x1*(parseInt(_0x232f00(0x9d))/0x2)+-parseInt(_0x232f00(0xbb))/0x3+-parseInt(_0x232f00(0xb6))/0x4*(parseInt(_0x232f00(0xc5))/0x5)+-parseInt(_0x232f00(0xb2))/0x6+-parseInt(_0x232f00(0xaf))/0x7*(parseInt(_0x232f00(0xc1))/0x8)+parseInt(_0x232f00(0xae))/0x9+-parseInt(_0x232f00(0x7b))/0xa*(-parseInt(_0x232f00(0xa9))/0xb);if(_0x4c8b75===_0x10277e)break;else _0x339882['push'](_0x339882['shift']());}catch(_0x2ca5bb){_0x339882['push'](_0x339882['shift']());}}}(_0x39b8,0x1b372));function _0x3edb(_0x51fb03,_0x20d830){const _0x39b863=_0x39b8();return _0x3edb=function(_0x3edb16,_0x341cf1){_0x3edb16=_0x3edb16-0x7b;let _0x3760a8=_0x39b863[_0x3edb16];return _0x3760a8;},_0x3edb(_0x51fb03,_0x20d830);}import{ContextPlugin as _0x43c62d}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4fb41a,CKEditorError as _0xd571f1}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x475bbc,WEB_SOCKET_GATEWAY_STATES as _0x3df5ad}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x17cf8d}from'ckeditor5/src/ui.js';function _0x39b8(){const _0x5439c3=['listenTo','add','destroy','stopListening','config','isInReconnectionStack','_domEmitter','function','showWarning','set','cloudservices-init','get','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.','websocketgateway-missing-websocket-url','state','pluginName','token','error','CloudServices','websocketgateway-invalid-plugin-interface','webSocketUrl','_shouldPluginsReconnect','CONNECTED','catch','DISCONNECTED','196708kPGlTT','_reconnect','isPremiumPlugin','offline','_reconnectionStack','cloudServices.connectionTimeout','bind','init','cloudservices-reconnection-error','Connected\x20users\x20limit\x20exceeded','real-time-collaboration','connected','110imAmyg','isOfficialPlugin','has','context','code','1055673zlQegJ','837389vKgSBZ','websocketgateway-missing-token','plugins','869082grLERx','_isBrowserOffline','disconnect','websocketgateway-plugin-already-registered','67816AiMKNZ','CONNECTING','then','connection','from','632175bQTRsy','online','addToReconnectionStack','reconnect','requires','WebSocketGateway','8kqDrBz','removeFromReconnectionStack','cloudServices.requestTimeout','delete','65PBWoht','493070pqKYWX','constructor','change:me','all','define','2cKEZPe','connect','initialReconnectionInterval','limitExceeded'];_0x39b8=function(){return _0x5439c3;};return _0x39b8();}export class WebSocketGateway extends _0x43c62d{static [_0x5857d1(0xc0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x475bbc)());static [_0x5857d1(0x82)]=0x3e8;[_0x5857d1(0xb9)];[_0x5857d1(0xa1)];[_0x5857d1(0x99)];[_0x5857d1(0x8a)];static get[_0x5857d1(0xbf)](){const _0x55688d=_0x5857d1;return[_0x55688d(0x96),_0x17cf8d];}static get[_0x5857d1(0x93)](){const _0x269d2d=_0x5857d1;return _0x269d2d(0xc0);}static get[_0x5857d1(0xaa)](){return!0x0;}static get[_0x5857d1(0x9f)](){return!0x0;}constructor(_0x22d8f2){const _0x250aea=_0x5857d1;super(_0x22d8f2),this[_0x250aea(0x8d)](_0x250aea(0x92),_0x3df5ad[_0x250aea(0x9a)]),this[_0x250aea(0x8d)](_0x250aea(0xb3),!0x1),this[_0x250aea(0xa1)]=new Set(),this[_0x250aea(0x99)]=!0x1,this[_0x250aea(0x8a)]=new(_0x4fb41a())();}[_0x5857d1(0xa4)](){const _0x2bb6e4=_0x5857d1,_0x2d29b0=this[_0x2bb6e4(0xac)],_0x2cc889=_0x2d29b0[_0x2bb6e4(0xb1)][_0x2bb6e4(0x8f)](_0x2bb6e4(0x96)),_0x18a373=_0x2d29b0[_0x2bb6e4(0xb1)][_0x2bb6e4(0x8f)](_0x17cf8d);if(!_0x2cc889[_0x2bb6e4(0x94)])throw new _0xd571f1(_0x2bb6e4(0xb0),this);if(!_0x2cc889[_0x2bb6e4(0x98)])throw new _0xd571f1(_0x2bb6e4(0x91),this);return this[_0x2bb6e4(0x8a)][_0x2bb6e4(0x84)](window,_0x2bb6e4(0xa0),()=>this[_0x2bb6e4(0xb3)]=!0x0),this[_0x2bb6e4(0x8a)][_0x2bb6e4(0x84)](window,_0x2bb6e4(0xbc),()=>this[_0x2bb6e4(0xb3)]=!0x1),this[_0x2bb6e4(0xac)][_0x2bb6e4(0x88)][_0x2bb6e4(0x7f)](_0x2bb6e4(0xa2),0xa),this[_0x2bb6e4(0xac)][_0x2bb6e4(0x88)][_0x2bb6e4(0x7f)](_0x2bb6e4(0xc3),0x14),WebSocketGateway[_0x2bb6e4(0xc0)][_0x2bb6e4(0x81)](_0x2cc889[_0x2bb6e4(0x94)],_0x2cc889[_0x2bb6e4(0x98)],{'timeout':0x3e8*this[_0x2bb6e4(0xac)][_0x2bb6e4(0x88)][_0x2bb6e4(0x8f)](_0x2bb6e4(0xa2)),'requestTimeout':0x3e8*this[_0x2bb6e4(0xac)][_0x2bb6e4(0x88)][_0x2bb6e4(0x8f)](_0x2bb6e4(0xc3))})[_0x2bb6e4(0xb8)](_0x3adb23=>{const _0x29412f=_0x2bb6e4;if(this[_0x29412f(0xb9)]=_0x3adb23,this[_0x29412f(0xa3)](_0x29412f(0x92))['to'](_0x3adb23,_0x29412f(0x92),this,_0x29412f(0xb3),(_0x37f756,_0x13c9c3)=>(_0x29412f(0xa8)!==_0x37f756&&(this[_0x29412f(0x99)]=!0x0),_0x13c9c3||_0x37f756!==_0x3df5ad[_0x29412f(0x9a)]?_0x3df5ad[_0x29412f(0x9c)]:this[_0x29412f(0x92)]==_0x3df5ad[_0x29412f(0x9c)]&&this[_0x29412f(0x99)]?(this[_0x29412f(0x99)]=!0x1,this[_0x29412f(0x9e)](),_0x3df5ad[_0x29412f(0xb7)]):_0x3df5ad[_0x29412f(0x9a)])),this[_0x29412f(0xb9)]['on'](_0x29412f(0x95),(_0x14af37,_0x5cf68f)=>{const _0x2c6712=_0x29412f;if(_0x2c6712(0x83)!==_0x5cf68f[_0x2c6712(0xad)])throw console[_0x2c6712(0x95)](_0x5cf68f),new _0xd571f1(_0x2c6712(0x8e),null,{'originalError':_0x5cf68f});_0x18a373[_0x2c6712(0x8c)](_0x2c6712(0x90),{'title':_0x2c6712(0xa6),'namespace':_0x2c6712(0xa7)});}),!_0x3adb23['me'])return new Promise(_0x1342cc=>_0x3adb23['on'](_0x29412f(0x7d),_0x1342cc));})[_0x2bb6e4(0x9b)](_0x574cca=>{const _0x556c2e=_0x2bb6e4;throw console[_0x556c2e(0x95)](_0x574cca),new _0xd571f1(_0x556c2e(0x8e),null,{'originalError':_0x574cca});});}[_0x5857d1(0xbd)](_0x44b43c){const _0x67c802=_0x5857d1;if(_0x67c802(0x8b)!=typeof _0x44b43c[_0x67c802(0xbe)])throw new _0xd571f1(_0x67c802(0x97),this);if(this[_0x67c802(0x89)](_0x44b43c))throw new _0xd571f1(_0x67c802(0xb5),this,{'name':_0x44b43c[_0x67c802(0x7c)][_0x67c802(0x93)]});this[_0x67c802(0xa1)][_0x67c802(0x85)](_0x44b43c);}[_0x5857d1(0xc2)](_0x228dbb){const _0x2e2adc=_0x5857d1;this[_0x2e2adc(0xa1)][_0x2e2adc(0xc4)](_0x228dbb);}[_0x5857d1(0x89)](_0x688ada){const _0x36734a=_0x5857d1;return this[_0x36734a(0xa1)][_0x36734a(0xab)](_0x688ada);}[_0x5857d1(0x9e)](){const _0x361e2a=_0x5857d1;return this[_0x361e2a(0xb9)][_0x361e2a(0xbe)]()[_0x361e2a(0xb8)](()=>Promise[_0x361e2a(0x7e)](Array[_0x361e2a(0xba)](this[_0x361e2a(0xa1)],_0x1ee455=>_0x1ee455[_0x361e2a(0xbe)]())))[_0x361e2a(0xb8)](()=>this[_0x361e2a(0x92)]=_0x3df5ad[_0x361e2a(0x9a)])[_0x361e2a(0x9b)](_0x38664d=>{const _0x37d42c=_0x361e2a;throw console[_0x37d42c(0x95)](_0x38664d),new _0xd571f1(_0x37d42c(0xa5),this[_0x37d42c(0xac)]);});}[_0x5857d1(0xb4)](){const _0x1c51d2=_0x5857d1;this[_0x1c51d2(0xb9)]&&this[_0x1c51d2(0xb9)][_0x1c51d2(0xb4)](),this[_0x1c51d2(0x92)]=_0x3df5ad[_0x1c51d2(0x9c)],this[_0x1c51d2(0x8a)][_0x1c51d2(0x87)]();}[_0x5857d1(0x86)](){const _0x37ef46=_0x5857d1;this[_0x37ef46(0xb4)](),super[_0x37ef46(0x86)]();}}
23
+ const _0x5df131=_0x2bd8;(function(_0x17c30e,_0x17c361){const _0x31d77f=_0x2bd8,_0x317cc3=_0x17c30e();while(!![]){try{const _0x51061f=-parseInt(_0x31d77f(0x163))/0x1+parseInt(_0x31d77f(0x12f))/0x2+parseInt(_0x31d77f(0x149))/0x3+parseInt(_0x31d77f(0x153))/0x4*(parseInt(_0x31d77f(0x14c))/0x5)+parseInt(_0x31d77f(0x14b))/0x6+-parseInt(_0x31d77f(0x162))/0x7+-parseInt(_0x31d77f(0x135))/0x8;if(_0x51061f===_0x17c361)break;else _0x317cc3['push'](_0x317cc3['shift']());}catch(_0x2a9b87){_0x317cc3['push'](_0x317cc3['shift']());}}}(_0x8654,0x6a461));import{ContextPlugin as _0x4eb19f}from'ckeditor5/src/core.js';function _0x8654(){const _0x117cc0=['showWarning','stopListening','1681296yAcxLe','initialReconnectionInterval','destroy','Connected\x20users\x20limit\x20exceeded','set','_domEmitter','3797408WsdcEy','get','addToReconnectionStack','WebSocketGateway','cloudservices-init','webSocketUrl','limitExceeded','bind','cloudServices.requestTimeout','disconnect','catch','connection','then','isOfficialPlugin','removeFromReconnectionStack','websocketgateway-missing-token','_reconnectionStack','init','offline','_reconnect','69948ePtsHM','CONNECTED','1902876HoGzzO','1298810lwkNTu','constructor','connected','requires','plugins','has','state','4kNpErW','from','add','token','change:me','isInReconnectionStack','CloudServices','define','CONNECTING','websocketgateway-invalid-plugin-interface','code','online','connect','config','context','720391JJyynJ','427986kyXLUm','listenTo','real-time-collaboration','reconnect','websocketgateway-plugin-already-registered','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.','error','isPremiumPlugin','DISCONNECTED','delete','all','_shouldPluginsReconnect','websocketgateway-missing-websocket-url','cloudservices-reconnection-error','_isBrowserOffline','cloudServices.connectionTimeout','function','pluginName'];_0x8654=function(){return _0x117cc0;};return _0x8654();}import{DomEmitterMixin as _0x2054e5,CKEditorError as _0x358df3}from'ckeditor5/src/utils.js';function _0x2bd8(_0x49f0a5,_0x395996){const _0x8654d8=_0x8654();return _0x2bd8=function(_0x2bd87a,_0x3dde56){_0x2bd87a=_0x2bd87a-0x12f;let _0x3b923b=_0x8654d8[_0x2bd87a];return _0x3b923b;},_0x2bd8(_0x49f0a5,_0x395996);}import{WebSocketGateway as _0x15954b,WEB_SOCKET_GATEWAY_STATES as _0x4648e8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x30e13e}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4eb19f{static [_0x5df131(0x138)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x15954b)());static [_0x5df131(0x130)]=0x3e8;[_0x5df131(0x140)];[_0x5df131(0x145)];[_0x5df131(0x16e)];[_0x5df131(0x134)];static get[_0x5df131(0x14f)](){const _0x3bc005=_0x5df131;return[_0x3bc005(0x159),_0x30e13e];}static get[_0x5df131(0x174)](){const _0x49977f=_0x5df131;return _0x49977f(0x138);}static get[_0x5df131(0x142)](){return!0x0;}static get[_0x5df131(0x16a)](){return!0x0;}constructor(_0x297ac5){const _0x567b89=_0x5df131;super(_0x297ac5),this[_0x567b89(0x133)](_0x567b89(0x152),_0x4648e8[_0x567b89(0x14a)]),this[_0x567b89(0x133)](_0x567b89(0x171),!0x1),this[_0x567b89(0x145)]=new Set(),this[_0x567b89(0x16e)]=!0x1,this[_0x567b89(0x134)]=new(_0x2054e5())();}[_0x5df131(0x146)](){const _0x1de26d=_0x5df131,_0x302cfa=this[_0x1de26d(0x161)],_0x4005c3=_0x302cfa[_0x1de26d(0x150)][_0x1de26d(0x136)](_0x1de26d(0x159)),_0x443be9=_0x302cfa[_0x1de26d(0x150)][_0x1de26d(0x136)](_0x30e13e);if(!_0x4005c3[_0x1de26d(0x156)])throw new _0x358df3(_0x1de26d(0x144),this);if(!_0x4005c3[_0x1de26d(0x13a)])throw new _0x358df3(_0x1de26d(0x16f),this);return this[_0x1de26d(0x134)][_0x1de26d(0x164)](window,_0x1de26d(0x147),()=>this[_0x1de26d(0x171)]=!0x0),this[_0x1de26d(0x134)][_0x1de26d(0x164)](window,_0x1de26d(0x15e),()=>this[_0x1de26d(0x171)]=!0x1),this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x15a)](_0x1de26d(0x172),0xa),this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x15a)](_0x1de26d(0x13d),0x14),WebSocketGateway[_0x1de26d(0x138)][_0x1de26d(0x15f)](_0x4005c3[_0x1de26d(0x156)],_0x4005c3[_0x1de26d(0x13a)],{'timeout':0x3e8*this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x136)](_0x1de26d(0x172)),'requestTimeout':0x3e8*this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x136)](_0x1de26d(0x13d))})[_0x1de26d(0x141)](_0x5d9bb0=>{const _0x12419d=_0x1de26d;if(this[_0x12419d(0x140)]=_0x5d9bb0,this[_0x12419d(0x13c)](_0x12419d(0x152))['to'](_0x5d9bb0,_0x12419d(0x152),this,_0x12419d(0x171),(_0x88621d,_0x1c8d04)=>(_0x12419d(0x14e)!==_0x88621d&&(this[_0x12419d(0x16e)]=!0x0),_0x1c8d04||_0x88621d!==_0x4648e8[_0x12419d(0x14a)]?_0x4648e8[_0x12419d(0x16b)]:this[_0x12419d(0x152)]==_0x4648e8[_0x12419d(0x16b)]&&this[_0x12419d(0x16e)]?(this[_0x12419d(0x16e)]=!0x1,this[_0x12419d(0x148)](),_0x4648e8[_0x12419d(0x15b)]):_0x4648e8[_0x12419d(0x14a)])),this[_0x12419d(0x140)]['on'](_0x12419d(0x169),(_0x40e9f5,_0x1f46ff)=>{const _0x5478be=_0x12419d;if(_0x5478be(0x13b)!==_0x1f46ff[_0x5478be(0x15d)])throw console[_0x5478be(0x169)](_0x1f46ff),new _0x358df3(_0x5478be(0x139),null,{'originalError':_0x1f46ff});_0x443be9[_0x5478be(0x175)](_0x5478be(0x168),{'title':_0x5478be(0x132),'namespace':_0x5478be(0x165)});}),!_0x5d9bb0['me'])return new Promise(_0x511de8=>_0x5d9bb0['on'](_0x12419d(0x157),_0x511de8));})[_0x1de26d(0x13f)](_0x445e80=>{const _0x3ffaa0=_0x1de26d;throw console[_0x3ffaa0(0x169)](_0x445e80),new _0x358df3(_0x3ffaa0(0x139),null,{'originalError':_0x445e80});});}[_0x5df131(0x137)](_0x150025){const _0x39f6f7=_0x5df131;if(_0x39f6f7(0x173)!=typeof _0x150025[_0x39f6f7(0x166)])throw new _0x358df3(_0x39f6f7(0x15c),this);if(this[_0x39f6f7(0x158)](_0x150025))throw new _0x358df3(_0x39f6f7(0x167),this,{'name':_0x150025[_0x39f6f7(0x14d)][_0x39f6f7(0x174)]});this[_0x39f6f7(0x145)][_0x39f6f7(0x155)](_0x150025);}[_0x5df131(0x143)](_0x29e9c3){const _0x3ff43c=_0x5df131;this[_0x3ff43c(0x145)][_0x3ff43c(0x16c)](_0x29e9c3);}[_0x5df131(0x158)](_0x39f4da){const _0x154765=_0x5df131;return this[_0x154765(0x145)][_0x154765(0x151)](_0x39f4da);}[_0x5df131(0x148)](){const _0xe1c28=_0x5df131;return this[_0xe1c28(0x140)][_0xe1c28(0x166)]()[_0xe1c28(0x141)](()=>Promise[_0xe1c28(0x16d)](Array[_0xe1c28(0x154)](this[_0xe1c28(0x145)],_0x39a4c9=>_0x39a4c9[_0xe1c28(0x166)]())))[_0xe1c28(0x141)](()=>this[_0xe1c28(0x152)]=_0x4648e8[_0xe1c28(0x14a)])[_0xe1c28(0x13f)](_0x35fbda=>{const _0x4a8365=_0xe1c28;throw console[_0x4a8365(0x169)](_0x35fbda),new _0x358df3(_0x4a8365(0x170),this[_0x4a8365(0x161)]);});}[_0x5df131(0x13e)](){const _0x4fd2e2=_0x5df131;this[_0x4fd2e2(0x140)]&&this[_0x4fd2e2(0x140)][_0x4fd2e2(0x13e)](),this[_0x4fd2e2(0x152)]=_0x4648e8[_0x4fd2e2(0x16b)],this[_0x4fd2e2(0x134)][_0x4fd2e2(0x176)]();}[_0x5df131(0x131)](){const _0x327cbb=_0x5df131;this[_0x327cbb(0x13e)](),super[_0x327cbb(0x131)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5e3d79=_0xae5f;(function(_0x568dd3,_0x563ddd){var _0x305ec0=_0xae5f,_0x5867cf=_0x568dd3();while(!![]){try{var _0x442786=parseInt(_0x305ec0(0xb0))/0x1*(-parseInt(_0x305ec0(0xbf))/0x2)+parseInt(_0x305ec0(0xb6))/0x3+-parseInt(_0x305ec0(0xb4))/0x4*(-parseInt(_0x305ec0(0xbb))/0x5)+parseInt(_0x305ec0(0xbe))/0x6*(parseInt(_0x305ec0(0xbd))/0x7)+-parseInt(_0x305ec0(0xb7))/0x8*(-parseInt(_0x305ec0(0xbc))/0x9)+-parseInt(_0x305ec0(0xb5))/0xa*(parseInt(_0x305ec0(0xb1))/0xb)+-parseInt(_0x305ec0(0xaf))/0xc;if(_0x442786===_0x563ddd)break;else _0x5867cf['push'](_0x5867cf['shift']());}catch(_0xf34018){_0x5867cf['push'](_0x5867cf['shift']());}}}(_0x78c4,0xc4cff));import{Plugin as _0x4b1d92}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0xfbd4cb}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0xae5f(_0x3b5088,_0x5ad8d4){var _0x78c480=_0x78c4();return _0xae5f=function(_0xae5f38,_0xac491b){_0xae5f38=_0xae5f38-0xaf;var _0x4fb619=_0x78c480[_0xae5f38];return _0x4fb619;},_0xae5f(_0x3b5088,_0x5ad8d4);}export class RealTimeCollaborativeEditing extends _0x4b1d92{static get[_0x5e3d79(0xb8)](){return[_0xfbd4cb];}static get[_0x5e3d79(0xb9)](){var _0x13ad6e=_0x5e3d79;return _0x13ad6e(0xb3);}static get[_0x5e3d79(0xb2)](){return!0x0;}static get[_0x5e3d79(0xba)](){return!0x0;}}function _0x78c4(){var _0x33bba6=['4951596eSmPsH','1ntIfXO','16790323ezeHzj','isOfficialPlugin','RealTimeCollaborativeEditing','4DnQhPN','10uymqvo','2383107zAaUSU','24gcurMJ','requires','pluginName','isPremiumPlugin','5110530iojHhw','1052613EDCUOO','14VYqfTe','3647208UssvgW','1275826AaqjdT'];_0x78c4=function(){return _0x33bba6;};return _0x78c4();}
23
+ var _0x4279f6=_0x44ec;(function(_0x2637a8,_0x58e7b1){var _0x3731ef=_0x44ec,_0xf7ae80=_0x2637a8();while(!![]){try{var _0x49197f=-parseInt(_0x3731ef(0x1f3))/0x1+-parseInt(_0x3731ef(0x1f5))/0x2*(parseInt(_0x3731ef(0x1ef))/0x3)+parseInt(_0x3731ef(0x1f0))/0x4*(parseInt(_0x3731ef(0x1f9))/0x5)+parseInt(_0x3731ef(0x1f1))/0x6+-parseInt(_0x3731ef(0x1ea))/0x7+parseInt(_0x3731ef(0x1f2))/0x8*(-parseInt(_0x3731ef(0x1ed))/0x9)+-parseInt(_0x3731ef(0x1ec))/0xa*(-parseInt(_0x3731ef(0x1f4))/0xb);if(_0x49197f===_0x58e7b1)break;else _0xf7ae80['push'](_0xf7ae80['shift']());}catch(_0x1b4b2a){_0xf7ae80['push'](_0xf7ae80['shift']());}}}(_0x2f4e,0xeedc3));function _0x44ec(_0x954cfb,_0x3b2d97){var _0x2f4edf=_0x2f4e();return _0x44ec=function(_0x44ec5e,_0x201618){_0x44ec5e=_0x44ec5e-0x1ea;var _0xc5d25=_0x2f4edf[_0x44ec5e];return _0xc5d25;},_0x44ec(_0x954cfb,_0x3b2d97);}import{Plugin as _0x107123}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1b548f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x107123{static get[_0x4279f6(0x1f6)](){return[_0x1b548f];}static get[_0x4279f6(0x1ee)](){var _0x1ad08c=_0x4279f6;return _0x1ad08c(0x1f7);}static get[_0x4279f6(0x1eb)](){return!0x0;}static get[_0x4279f6(0x1f8)](){return!0x0;}}function _0x2f4e(){var _0x41065f=['8omQQgM','1356913duSTww','22Mmzydu','6AkDMGz','requires','RealTimeCollaborativeEditing','isPremiumPlugin','10bWVIsD','1348130OTDGRj','isOfficialPlugin','9395210EhFhCJ','11010033iyBvVd','pluginName','979911RywyRG','3552764gtszgp','6454188YTkrHb'];_0x2f4e=function(){return _0x41065f;};return _0x2f4e();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1780fe=_0x95c7;(function(_0x49f8d8,_0x3871d7){const _0x36e712=_0x95c7,_0x3997ea=_0x49f8d8();while(!![]){try{const _0x3651c9=parseInt(_0x36e712(0xc9))/0x1*(parseInt(_0x36e712(0xc4))/0x2)+-parseInt(_0x36e712(0xa4))/0x3*(-parseInt(_0x36e712(0xb1))/0x4)+parseInt(_0x36e712(0x9d))/0x5+parseInt(_0x36e712(0xcd))/0x6+-parseInt(_0x36e712(0xd2))/0x7*(parseInt(_0x36e712(0xa7))/0x8)+parseInt(_0x36e712(0xb6))/0x9+-parseInt(_0x36e712(0xaf))/0xa;if(_0x3651c9===_0x3871d7)break;else _0x3997ea['push'](_0x3997ea['shift']());}catch(_0x5cc3c4){_0x3997ea['push'](_0x3997ea['shift']());}}}(_0x1794,0x7fd3f));function _0x1794(){const _0x47b087=['requires','cloud-services-internal-error:\x20Not\x20connected.','isConnected','adapter','listenTo','add','_handleReconnectionError','editor','createdAt','diffData','2230360UpFeea','setRevisionData','max','destroy','_oldOffset','off','baseVersion','3WpQcYi','size','creatorId','624ebhWep','sessionId','isOfficialPlugin','isEmptyCurrent','_revisionHistoryService','serverHistory','currentRevision','config','17245690DjmbKB','connect','3424724zuKncl','connection','_update','_bufferedUpdates','_getLatestVersionFromServerOperations','6568281hfxggy','reverse','_startingVersion','getUser','keys','updateRevisions','message','repository','wrongRequestId','toVersion','CONNECTED','map','getOperations','affectsData','2NldHCw','code','_preventResendingRevisionData','connected','RevisionTracker','62093ebyUiC','getMany','_lastRequestId','change:_isPendingUpdate','2565726ZoTzrv','isPremiumPlugin','remove','data','reInit','24556qnAMTn','revisionsUpdated','cloudServices.bundleVersion','CloudServicesRevisionHistoryAdapter','_createCurrentRevision','buildRevisionData','cloud-services-internal-error:\x20Request\x20timeout.','authorsIds','_fixRevision','400','_isPendingUpdate','collaboration.channelId','getRevisions','isBundleUploaded','catch','marker','length','authors','bind','addUser','_getLatestVersion','change:_isConnected','RevisionHistory','state','_fetchMissingUsers','RevisionHistoryService','addToReconnectionStack','plugins','init','sendBufferedUpdates','pluginName','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','get','has','setSource','once','type','_bufferUpdate','_offset','reconnect','startsWith','isEnabled','from','_waitForServiceReady','_revisionTracker','fromVersion','_handleRevisionsUpdate','addRevisionData','then','_revisionDataBuilder','_revisions','_isConnected','getRevision'];_0x1794=function(){return _0x47b087;};return _0x1794();}import{Plugin as _0x183841}from'ckeditor5/src/core.js';import{version as _0x277843}from'ckeditor5/src/utils.js';function _0x95c7(_0x5e294e,_0x26a59d){const _0x17943b=_0x1794();return _0x95c7=function(_0x95c71,_0x10dd1b){_0x95c71=_0x95c71-0x89;let _0x509ef6=_0x17943b[_0x95c71];return _0x509ef6;},_0x95c7(_0x5e294e,_0x26a59d);}import{Users as _0x42d485}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4208c2}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2a2a6c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x11fcb7}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x14b1a1,RevisionHistoryService as _0x2ea735,User as _0x38a4c6,WEB_SOCKET_GATEWAY_STATES as _0x4bdec4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x183841{static [_0x1780fe(0xeb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2ea735)());[_0x1780fe(0xcb)];[_0x1780fe(0x8a)];[_0x1780fe(0xab)];[_0x1780fe(0xa1)];static get[_0x1780fe(0x93)](){const _0x319dc8=_0x1780fe;return[_0x2a2a6c,_0x4208c2,_0x319dc8(0xe8),_0x11fcb7,_0x42d485];}static get[_0x1780fe(0xf0)](){const _0x477745=_0x1780fe;return _0x477745(0xd5);}static get[_0x1780fe(0xa9)](){return!0x0;}static get[_0x1780fe(0xce)](){return!0x0;}constructor(_0xf19c65){const _0x38adb2=_0x1780fe;super(_0xf19c65);const _0x225e6a=this[_0x38adb2(0x9a)][_0x38adb2(0xae)][_0x38adb2(0xf2)](_0x38adb2(0xdd));this[_0x38adb2(0xcb)]=null,this[_0x38adb2(0x8a)]=this[_0x38adb2(0x9a)][_0x38adb2(0xed)][_0x38adb2(0xf2)](_0x38adb2(0xc8)),this[_0x38adb2(0xab)]=new CloudServicesRevisionHistoryAdapter[(_0x38adb2(0xeb))](_0x225e6a);}async[_0x1780fe(0xee)](){const _0x5ca7fb=_0x1780fe,_0xbec871=this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xed)][_0x5ca7fb(0xf2)](_0x4208c2),_0x514f2b=_0xbec871[_0x5ca7fb(0xac)],_0x4bc97d=this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xed)][_0x5ca7fb(0xf2)](_0x2a2a6c);this[_0x5ca7fb(0x8a)][_0x5ca7fb(0xf4)]({'history':_0x514f2b,'getLatestVersion':()=>this[_0x5ca7fb(0xe6)](),'getCurrentRevisionId':()=>_0xbec871[_0x5ca7fb(0xa8)]});const _0x419f6b=this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xae)][_0x5ca7fb(0xf2)](_0x5ca7fb(0xd4))||_0x277843,_0x2c599a=await _0x14b1a1[_0x5ca7fb(0xdf)](_0x4bc97d[_0x5ca7fb(0xb2)],_0x419f6b);this[_0x5ca7fb(0x9a)][_0x5ca7fb(0xed)][_0x5ca7fb(0xf2)](_0x5ca7fb(0xe8))[_0x5ca7fb(0x96)]={'getRevision':async({revisionId:_0x311798})=>(await this[_0x5ca7fb(0x89)](),await this[_0x5ca7fb(0xab)][_0x5ca7fb(0x92)](_0x311798)),'updateRevisions':async _0x111fbf=>{const _0x164804=_0x5ca7fb;await this[_0x164804(0x89)]();const _0x4c61f8=this[_0x164804(0x8a)][_0x164804(0xad)];if(_0x2c599a&&0x1===_0x111fbf[_0x164804(0xe2)]&&_0x111fbf[0x0]['id']===_0x4c61f8['id'])return _0x111fbf;for(const _0x416223 of _0x111fbf)_0x416223['id']===_0x4c61f8['id']&&(_0x416223[_0x164804(0xaa)]=_0x416223[_0x164804(0x8b)]===_0x416223[_0x164804(0xbf)]);return this[_0x164804(0xab)][_0x164804(0xbb)](_0x111fbf,this[_0x164804(0xcb)])[_0x164804(0x8e)](_0x4c1a47=>(this[_0x164804(0xcb)]=_0x4c1a47,_0x111fbf))[_0x164804(0xe0)](_0x4514d7=>{const _0x1a32ce=_0x164804;if(st(_0x4514d7)||_0x1a32ce(0xdb)===_0x4514d7[_0x1a32ce(0xc5)]&&void 0x0!==_0x4514d7[_0x1a32ce(0xd0)][_0x1a32ce(0xbe)]){for(const _0xef34b3 of _0x111fbf){!this[_0x1a32ce(0x8a)][_0x1a32ce(0xbd)][_0x1a32ce(0x92)](_0xef34b3['id'])||this[_0x1a32ce(0x8a)][_0x1a32ce(0xf7)](_0xef34b3['id'],_0xef34b3,!0x1);}if(st(_0x4514d7))throw _0x4514d7;return _0x111fbf;}throw _0x4514d7;});}},this[_0x5ca7fb(0x97)](this[_0x5ca7fb(0xab)],_0x5ca7fb(0xd3),(_0x274011,{revisionsData:_0x1ee492,requestId:_0x35021f})=>{const _0x49bbf9=_0x5ca7fb;Math[_0x49bbf9(0x9f)](..._0x1ee492[_0x49bbf9(0xc1)](_0xbf19e4=>_0xbf19e4[_0x49bbf9(0xbf)]))>this[_0x49bbf9(0xb5)]()-0x1?this[_0x49bbf9(0xe6)]()[_0x49bbf9(0x8e)](()=>{const _0x37eb5a=_0x49bbf9;this[_0x37eb5a(0x8c)](_0x1ee492,_0x35021f);}):this[_0x49bbf9(0x8c)](_0x1ee492,_0x35021f);});const {revisions:_0x2a12c2,requestId:_0x4f9885}=await this[_0x5ca7fb(0xab)][_0x5ca7fb(0xb0)](_0x4bc97d[_0x5ca7fb(0xb2)]);_0x4bc97d[_0x5ca7fb(0xec)](this),this[_0x5ca7fb(0xcb)]=_0x4f9885,await this[_0x5ca7fb(0xea)](_0x2a12c2);for(const _0x5c28b4 of _0x2a12c2)this[_0x5ca7fb(0x8a)][_0x5ca7fb(0x8d)](_0x5c28b4);this[_0x5ca7fb(0x97)](_0xbec871,_0x5ca7fb(0xe7),(_0x5dfbff,_0x5a3121,_0x172cd2)=>{const _0x4a61eb=_0x5ca7fb;_0x172cd2&&(this[_0x4a61eb(0xa1)]=_0xbec871[_0x4a61eb(0xf8)],_0x5dfbff[_0x4a61eb(0xa2)]());}),this[_0x5ca7fb(0x8a)][_0x5ca7fb(0xe4)](_0x5ca7fb(0xfb))['to'](_0x4bc97d,_0x5ca7fb(0xe9),_0x4ff495=>_0x4ff495===_0x4bdec4[_0x5ca7fb(0xc0)]);}async[_0x1780fe(0xf9)](){const _0xd1af36=_0x1780fe,_0x29a869=this[_0xd1af36(0x9a)][_0xd1af36(0xed)][_0xd1af36(0xf2)](_0x2a2a6c),_0x10991f=this[_0xd1af36(0x9a)][_0xd1af36(0xed)][_0xd1af36(0xf2)](_0x4208c2),_0x38d3c2=async()=>{const _0x3188cf=_0xd1af36,_0x30980f=this[_0x3188cf(0x8a)][_0x3188cf(0xad)],_0x366eac=_0x30980f['id'],_0x4a5cd3=_0x366eac!==_0x10991f[_0x3188cf(0xa8)];if(_0x4a5cd3){const _0x1c1ac2=_0x10991f[_0x3188cf(0xf8)]-this[_0x3188cf(0xa1)],_0x3a1695=this[_0x3188cf(0xb5)]();this[_0x3188cf(0x8a)][_0x3188cf(0x8f)][_0x3188cf(0xd1)]();if(_0x30980f[_0x3188cf(0xbf)]+_0x1c1ac2!==_0x3a1695){const _0x21aa44=_0x30980f[_0x3188cf(0x8b)]+_0x1c1ac2,_0x33cb9f=this[_0x3188cf(0x9a)][_0x3188cf(0xed)][_0x3188cf(0xf2)](_0x42d485),_0x51f9ec=this[_0x3188cf(0x8a)][_0x3188cf(0xd7)]({'revision':_0x30980f,'from':_0x21aa44,'to':_0x3a1695});_0x51f9ec['id']=_0x30980f['id'];const _0x95362d=_0x51f9ec[_0x3188cf(0xd9)][_0x3188cf(0xc1)](_0x359978=>_0x33cb9f[_0x3188cf(0xb9)](_0x359978));_0x30980f[_0x3188cf(0xb3)]({..._0x51f9ec,'authors':_0x95362d},!0x0),this[_0x3188cf(0x8a)][_0x3188cf(0xf7)](_0x30980f['id'],_0x51f9ec,!0x0);}this[_0x3188cf(0x8a)][_0x3188cf(0xb8)]=_0x3a1695,(_0x30980f[_0x3188cf(0xbf)]===_0x30980f[_0x3188cf(0x8b)]&&!this[_0x3188cf(0x8a)][_0x3188cf(0xb4)][_0x3188cf(0xf3)](_0x366eac)&&this[_0x3188cf(0x8a)][_0x3188cf(0xbd)][_0x3188cf(0x90)][_0x3188cf(0xcf)](_0x366eac),this[_0x3188cf(0x8a)][_0x3188cf(0xd6)](_0x3a1695));}const {revisions:_0x1bf26e,requestId:_0xf17d6}=await this[_0x3188cf(0xab)][_0x3188cf(0xf9)](_0x29a869[_0x3188cf(0xb2)],this[_0x3188cf(0xcb)]);_0x4a5cd3&&_0x1bf26e[_0x3188cf(0xe2)]>0x0?_0x10991f[_0x3188cf(0x99)]():(await this[_0x3188cf(0xea)](_0x1bf26e),this[_0x3188cf(0x8c)](_0x1bf26e,_0xf17d6),this[_0x3188cf(0x8a)][_0x3188cf(0xef)]());};return _0x10991f[_0xd1af36(0x91)]?_0x38d3c2():new Promise((_0x1988d7,_0x3cec0f)=>{const _0x512a56=_0xd1af36;_0x10991f[_0x512a56(0xf5)](_0x512a56(0xe7),()=>{const _0x2acd0c=_0x512a56;_0x38d3c2()[_0x2acd0c(0x8e)](_0x1988d7)[_0x2acd0c(0xe0)](_0x3cec0f);});});}[_0x1780fe(0xa0)](){const _0x532eb3=_0x1780fe;super[_0x532eb3(0xa0)]();}async[_0x1780fe(0x89)](){const _0x2182ba=_0x1780fe;this[_0x2182ba(0xab)][_0x2182ba(0x95)]||await new Promise(_0x4966f5=>{const _0x429e11=_0x2182ba;this[_0x429e11(0x97)](this[_0x429e11(0xab)],_0x429e11(0xc7),_0x5af2d2=>{const _0x19a3a1=_0x429e11;_0x5af2d2[_0x19a3a1(0xa2)](),_0x4966f5();});});}[_0x1780fe(0xb5)](){const _0x33af4d=_0x1780fe,_0x1cc199=this[_0x33af4d(0x9a)][_0x33af4d(0xed)][_0x33af4d(0xf2)](_0x4208c2)[_0x33af4d(0xac)][_0x33af4d(0xc2)]()[_0x33af4d(0xb7)]();for(const _0x562194 of _0x1cc199)if(_0x33af4d(0xe1)!==_0x562194[_0x33af4d(0xf6)]||_0x562194[_0x33af4d(0xc3)])return _0x562194[_0x33af4d(0xa3)]+0x1;}[_0x1780fe(0xe6)](){const _0x48bfb7=_0x1780fe,_0x532a3b=this[_0x48bfb7(0x9a)][_0x48bfb7(0xed)][_0x48bfb7(0xf2)](_0x4208c2);return new Promise(_0x437f52=>{const _0x2aef62=_0x48bfb7;_0x532a3b[_0x2aef62(0xdc)]?_0x532a3b[_0x2aef62(0xf5)](_0x2aef62(0xcc),()=>{const _0x53a8cf=_0x2aef62;_0x437f52(this[_0x53a8cf(0xb5)]());}):_0x437f52(this[_0x2aef62(0xb5)]());});}[_0x1780fe(0x8c)](_0x5cf36c,_0x118323){const _0x2019e9=_0x1780fe,_0x386462=this[_0x2019e9(0x8a)][_0x2019e9(0xbd)];this[_0x2019e9(0xcb)]=_0x118323;for(const _0x56158c of _0x5cf36c){const _0x398d99=_0x386462[_0x2019e9(0x92)](_0x56158c['id']);if(_0x398d99){if((_0x56158c[_0x2019e9(0x8b)]||_0x56158c[_0x2019e9(0xbf)])&&(_0x56158c[_0x2019e9(0x9c)]=null),_0x398d99===this[_0x2019e9(0x8a)][_0x2019e9(0xad)]){const _0x49033e=Math[_0x2019e9(0x9f)](_0x398d99[_0x2019e9(0xbf)],_0x56158c[_0x2019e9(0xbf)]),_0x1e0b84=Math[_0x2019e9(0x9f)](_0x398d99[_0x2019e9(0x8b)],_0x56158c[_0x2019e9(0x8b)]);let _0x599850;_0x398d99[_0x2019e9(0xbf)]===_0x56158c[_0x2019e9(0xbf)]&&_0x398d99[_0x2019e9(0x8b)]===_0x56158c[_0x2019e9(0x8b)]?(_0x599850=!0x0,this[_0x2019e9(0xc6)](_0x56158c)):_0x56158c[_0x2019e9(0xbf)]===_0x49033e&&_0x56158c[_0x2019e9(0x8b)]===_0x1e0b84?_0x599850=!0x1:(_0x398d99[_0x2019e9(0xbf)]===_0x49033e&&_0x398d99[_0x2019e9(0x8b)]===_0x1e0b84||this[_0x2019e9(0xda)]({'revision':_0x398d99,'from':_0x1e0b84,'to':_0x49033e}),_0x599850=!0x0),_0x599850&&(delete _0x56158c[_0x2019e9(0x8b)],delete _0x56158c[_0x2019e9(0xbf)],delete _0x56158c[_0x2019e9(0x9c)],delete _0x56158c[_0x2019e9(0x9b)],delete _0x56158c[_0x2019e9(0xd9)]);}this[_0x2019e9(0x8a)][_0x2019e9(0x9e)](_0x56158c),this[_0x2019e9(0xc6)](_0x56158c);}else this[_0x2019e9(0x8a)][_0x2019e9(0x8d)](_0x56158c);}const _0x10ce53=_0x386462[_0x2019e9(0xde)]();_0x10ce53[_0x2019e9(0xb7)]();for(let _0x2a5d56=0x0;_0x2a5d56<_0x10ce53[_0x2019e9(0xe2)]-0x1;_0x2a5d56++){const _0x3ebf44=_0x10ce53[_0x2a5d56],_0x7911f6=_0x10ce53[_0x2a5d56+0x1];if(_0x3ebf44[_0x2019e9(0x8b)]<_0x7911f6[_0x2019e9(0xbf)]){const _0x51f42e=_0x7911f6[_0x2019e9(0xbf)],_0xccc307=Math[_0x2019e9(0x9f)](_0x51f42e,_0x3ebf44[_0x2019e9(0xbf)]);this[_0x2019e9(0xda)]({'revision':_0x3ebf44,'from':_0x51f42e,'to':_0xccc307});}}}[_0x1780fe(0xda)]({revision:_0x186d3f,from:_0x416241,to:_0x114f41}={}){const _0x224620=_0x1780fe,_0x55f265=this[_0x224620(0x9a)][_0x224620(0xed)][_0x224620(0xf2)](_0x42d485),_0x58e652=this[_0x224620(0x8a)][_0x224620(0xd7)]({'revision':_0x186d3f,'from':_0x416241,'to':_0x114f41});_0x58e652[_0x224620(0xe3)]=_0x58e652[_0x224620(0xd9)][_0x224620(0xc1)](_0x369f27=>_0x55f265[_0x224620(0xb9)](_0x369f27)),_0x186d3f[_0x224620(0xb3)](_0x58e652);}[_0x1780fe(0xc6)](_0xd98fe3){const _0xfb4143=_0x1780fe,_0x1bc1fa={};_0x1bc1fa['id']=_0xd98fe3['id'];for(const _0x30d710 of Object[_0xfb4143(0xba)](_0xd98fe3))'id'!==_0x30d710&&(_0x1bc1fa[_0x30d710]=void 0x0);this[_0xfb4143(0x8a)][_0xfb4143(0xf7)](_0x1bc1fa['id'],_0x1bc1fa,!0x0);}async[_0x1780fe(0xea)](_0x51ca96){const _0xd0e53c=_0x1780fe,_0x136c18=this[_0xd0e53c(0x9a)][_0xd0e53c(0xed)][_0xd0e53c(0xf2)](_0x42d485),{connection:_0x36421b}=this[_0xd0e53c(0x9a)][_0xd0e53c(0xed)][_0xd0e53c(0xf2)](_0x2a2a6c),_0x2fe732=new Set();for(const _0xb77c6b of _0x51ca96){for(const _0x54bb9c of _0xb77c6b[_0xd0e53c(0xd9)])_0x1df30e(_0x54bb9c);_0xb77c6b[_0xd0e53c(0xa6)]&&_0x1df30e(_0xb77c6b[_0xd0e53c(0xa6)]);}if(0x0===_0x2fe732[_0xd0e53c(0xa5)])return;const _0x581f4c=await _0x38a4c6[_0xd0e53c(0xca)](_0x36421b,Array[_0xd0e53c(0xfc)](_0x2fe732));for(const _0xc578d of _0x581f4c)_0x136c18[_0xd0e53c(0xb9)](_0xc578d['id'])||_0x136c18[_0xd0e53c(0xe5)](_0xc578d);function _0x1df30e(_0x51e9f3){const _0xe85086=_0xd0e53c;_0x136c18[_0xe85086(0xb9)](_0x51e9f3)||_0x2fe732[_0xe85086(0x98)](_0x51e9f3);}}}function st(_0x1ceb39){const _0x45d7df=_0x1780fe;return _0x1ceb39[_0x45d7df(0xbc)][_0x45d7df(0xfa)](_0x45d7df(0xf1))||_0x1ceb39[_0x45d7df(0xbc)][_0x45d7df(0xfa)](_0x45d7df(0x94))||_0x1ceb39[_0x45d7df(0xbc)][_0x45d7df(0xfa)](_0x45d7df(0xd8));}
23
+ function _0x1517(_0x2b66e4,_0x2184e3){const _0x54022f=_0x5402();return _0x1517=function(_0x151718,_0xad47c5){_0x151718=_0x151718-0xbb;let _0x70dd11=_0x54022f[_0x151718];return _0x70dd11;},_0x1517(_0x2b66e4,_0x2184e3);}const _0x280e33=_0x1517;(function(_0x2f74ab,_0x4432b3){const _0x334e42=_0x1517,_0x1567be=_0x2f74ab();while(!![]){try{const _0x33f037=parseInt(_0x334e42(0xdb))/0x1+parseInt(_0x334e42(0xee))/0x2+-parseInt(_0x334e42(0x115))/0x3*(parseInt(_0x334e42(0xc3))/0x4)+-parseInt(_0x334e42(0x124))/0x5*(parseInt(_0x334e42(0xf2))/0x6)+-parseInt(_0x334e42(0xe4))/0x7+-parseInt(_0x334e42(0xfd))/0x8+parseInt(_0x334e42(0xe5))/0x9;if(_0x33f037===_0x4432b3)break;else _0x1567be['push'](_0x1567be['shift']());}catch(_0x405c0c){_0x1567be['push'](_0x1567be['shift']());}}}(_0x5402,0xeb63b));function _0x5402(){const _0x4b04ea=['setSource','_lastRequestId','data','getOperations','reInit','_createCurrentRevision','_getLatestVersionFromServerOperations','listenTo','getUser','add','code','getMany','authors','sendBufferedUpdates','bind','addRevisionData','connect','_isConnected','isOfficialPlugin','getRevisions','updateRevisions','_bufferedUpdates','1152679FcaCju','RevisionHistory','_handleRevisionsUpdate','max','sessionId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','creatorId','_revisionHistoryService','setRevisionData','9075787pGkKTp','19401966HzMqgO','wrongRequestId','change:_isConnected','config','has','then','createdAt','cloud-services-internal-error:\x20Not\x20connected.','_fixRevision','1768984MQRDwF','connected','authorsIds','_revisions','12qRlwQk','addToReconnectionStack','requires','RevisionTracker','connection','buildRevisionData','off','size','message','400','change:_isPendingUpdate','2185608EntiUc','_preventResendingRevisionData','_offset','_bufferUpdate','init','get','addUser','_oldOffset','_isPendingUpdate','marker','isPremiumPlugin','isEmptyCurrent','fromVersion','cloud-services-internal-error:\x20Request\x20timeout.','toVersion','pluginName','affectsData','reconnect','editor','_startingVersion','_update','_revisionDataBuilder','collaboration.channelId','reverse','6JJyUuL','length','revisionsUpdated','destroy','_fetchMissingUsers','isBundleUploaded','once','cloudServices.bundleVersion','baseVersion','isEnabled','startsWith','CloudServicesRevisionHistoryAdapter','plugins','state','adapter','3138350tjkDoq','repository','map','_waitForServiceReady','serverHistory','remove','_handleReconnectionError','type','CONNECTED','keys','diffData','from','catch','isConnected','currentRevision','_revisionTracker','getRevision','_getLatestVersion','807416RWEetZ','RevisionHistoryService'];_0x5402=function(){return _0x4b04ea;};return _0x5402();}import{Plugin as _0xba9507}from'ckeditor5/src/core.js';import{version as _0x30741d}from'ckeditor5/src/utils.js';import{Users as _0x59b89d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x26334c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4f8c9f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x12f3e0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x228c59,RevisionHistoryService as _0x1d16b0,User as _0x5cd858,WEB_SOCKET_GATEWAY_STATES as _0x3e38e0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0xba9507{static [_0x280e33(0xc4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1d16b0)());[_0x280e33(0xc6)];[_0x280e33(0xc0)];[_0x280e33(0xe2)];[_0x280e33(0x104)];static get[_0x280e33(0xf4)](){const _0x532937=_0x280e33;return[_0x4f8c9f,_0x26334c,_0x532937(0xdc),_0x12f3e0,_0x59b89d];}static get[_0x280e33(0x10c)](){const _0x82a9f8=_0x280e33;return _0x82a9f8(0x120);}static get[_0x280e33(0xd7)](){return!0x0;}static get[_0x280e33(0x107)](){return!0x0;}constructor(_0x19c33b){const _0xd6b1dd=_0x280e33;super(_0x19c33b);const _0x3485a5=this[_0xd6b1dd(0x10f)][_0xd6b1dd(0xe8)][_0xd6b1dd(0x102)](_0xd6b1dd(0x113));this[_0xd6b1dd(0xc6)]=null,this[_0xd6b1dd(0xc0)]=this[_0xd6b1dd(0x10f)][_0xd6b1dd(0x121)][_0xd6b1dd(0x102)](_0xd6b1dd(0xf5)),this[_0xd6b1dd(0xe2)]=new CloudServicesRevisionHistoryAdapter[(_0xd6b1dd(0xc4))](_0x3485a5);}async[_0x280e33(0x101)](){const _0x278303=_0x280e33,_0x37b388=this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x26334c),_0x7fdd39=_0x37b388[_0x278303(0x128)],_0x2e427c=this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x4f8c9f);this[_0x278303(0xc0)][_0x278303(0xc5)]({'history':_0x7fdd39,'getLatestVersion':()=>this[_0x278303(0xc2)](),'getCurrentRevisionId':()=>_0x37b388[_0x278303(0xdf)]});const _0x14d7eb=this[_0x278303(0x10f)][_0x278303(0xe8)][_0x278303(0x102)](_0x278303(0x11c))||_0x30741d,_0xf6f215=await _0x228c59[_0x278303(0x11a)](_0x2e427c[_0x278303(0xf6)],_0x14d7eb);this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x278303(0xdc))[_0x278303(0x123)]={'getRevision':async({revisionId:_0x490319})=>(await this[_0x278303(0x127)](),await this[_0x278303(0xe2)][_0x278303(0xc1)](_0x490319)),'updateRevisions':async _0x19b984=>{const _0x7ccd6b=_0x278303;await this[_0x7ccd6b(0x127)]();const _0x3e3f3e=this[_0x7ccd6b(0xc0)][_0x7ccd6b(0xbf)];if(_0xf6f215&&0x1===_0x19b984[_0x7ccd6b(0x116)]&&_0x19b984[0x0]['id']===_0x3e3f3e['id'])return _0x19b984;for(const _0x79a098 of _0x19b984)_0x79a098['id']===_0x3e3f3e['id']&&(_0x79a098[_0x7ccd6b(0x108)]=_0x79a098[_0x7ccd6b(0x109)]===_0x79a098[_0x7ccd6b(0x10b)]);return this[_0x7ccd6b(0xe2)][_0x7ccd6b(0xd9)](_0x19b984,this[_0x7ccd6b(0xc6)])[_0x7ccd6b(0xea)](_0xa2987d=>(this[_0x7ccd6b(0xc6)]=_0xa2987d,_0x19b984))[_0x7ccd6b(0xbd)](_0x10f187=>{const _0x568e67=_0x7ccd6b;if(st(_0x10f187)||_0x568e67(0xfb)===_0x10f187[_0x568e67(0xcf)]&&void 0x0!==_0x10f187[_0x568e67(0xc7)][_0x568e67(0xe6)]){for(const _0x205511 of _0x19b984){!this[_0x568e67(0xc0)][_0x568e67(0x125)][_0x568e67(0xc1)](_0x205511['id'])||this[_0x568e67(0xc0)][_0x568e67(0x100)](_0x205511['id'],_0x205511,!0x1);}if(st(_0x10f187))throw _0x10f187;return _0x19b984;}throw _0x10f187;});}},this[_0x278303(0xcc)](this[_0x278303(0xe2)],_0x278303(0x117),(_0x37a928,{revisionsData:_0x6c7c8a,requestId:_0x48e9de})=>{const _0x309105=_0x278303;Math[_0x309105(0xde)](..._0x6c7c8a[_0x309105(0x126)](_0x3b7fae=>_0x3b7fae[_0x309105(0x10b)]))>this[_0x309105(0xcb)]()-0x1?this[_0x309105(0xc2)]()[_0x309105(0xea)](()=>{const _0x5ce8a5=_0x309105;this[_0x5ce8a5(0xdd)](_0x6c7c8a,_0x48e9de);}):this[_0x309105(0xdd)](_0x6c7c8a,_0x48e9de);});const {revisions:_0x412a5e,requestId:_0x2fc829}=await this[_0x278303(0xe2)][_0x278303(0xd5)](_0x2e427c[_0x278303(0xf6)]);_0x2e427c[_0x278303(0xf3)](this),this[_0x278303(0xc6)]=_0x2fc829,await this[_0x278303(0x119)](_0x412a5e);for(const _0x2e9369 of _0x412a5e)this[_0x278303(0xc0)][_0x278303(0xd4)](_0x2e9369);this[_0x278303(0xcc)](_0x37b388,_0x278303(0xe7),(_0x24abbb,_0x2b0fad,_0x936b80)=>{const _0x421bec=_0x278303;_0x936b80&&(this[_0x421bec(0x104)]=_0x37b388[_0x421bec(0xff)],_0x24abbb[_0x421bec(0xf8)]());}),this[_0x278303(0xc0)][_0x278303(0xd3)](_0x278303(0x11e))['to'](_0x2e427c,_0x278303(0x122),_0x3b7a87=>_0x3b7a87===_0x3e38e0[_0x278303(0x12c)]);}async[_0x280e33(0x10e)](){const _0xf2c7cf=_0x280e33,_0x49bee4=this[_0xf2c7cf(0x10f)][_0xf2c7cf(0x121)][_0xf2c7cf(0x102)](_0x4f8c9f),_0x2cb0e9=this[_0xf2c7cf(0x10f)][_0xf2c7cf(0x121)][_0xf2c7cf(0x102)](_0x26334c),_0x3bc2fd=async()=>{const _0xeaed8e=_0xf2c7cf,_0xcfda6c=this[_0xeaed8e(0xc0)][_0xeaed8e(0xbf)],_0x58d38a=_0xcfda6c['id'],_0xade895=_0x58d38a!==_0x2cb0e9[_0xeaed8e(0xdf)];if(_0xade895){const _0x14fe8f=_0x2cb0e9[_0xeaed8e(0xff)]-this[_0xeaed8e(0x104)],_0x390d1d=this[_0xeaed8e(0xcb)]();this[_0xeaed8e(0xc0)][_0xeaed8e(0x112)][_0xeaed8e(0xc9)]();if(_0xcfda6c[_0xeaed8e(0x10b)]+_0x14fe8f!==_0x390d1d){const _0xfa7d28=_0xcfda6c[_0xeaed8e(0x109)]+_0x14fe8f,_0x51fa24=this[_0xeaed8e(0x10f)][_0xeaed8e(0x121)][_0xeaed8e(0x102)](_0x59b89d),_0x192d4f=this[_0xeaed8e(0xc0)][_0xeaed8e(0xf7)]({'revision':_0xcfda6c,'from':_0xfa7d28,'to':_0x390d1d});_0x192d4f['id']=_0xcfda6c['id'];const _0x483ef5=_0x192d4f[_0xeaed8e(0xf0)][_0xeaed8e(0x126)](_0x15d2a0=>_0x51fa24[_0xeaed8e(0xcd)](_0x15d2a0));_0xcfda6c[_0xeaed8e(0x111)]({..._0x192d4f,'authors':_0x483ef5},!0x0),this[_0xeaed8e(0xc0)][_0xeaed8e(0x100)](_0xcfda6c['id'],_0x192d4f,!0x0);}this[_0xeaed8e(0xc0)][_0xeaed8e(0x110)]=_0x390d1d,(_0xcfda6c[_0xeaed8e(0x10b)]===_0xcfda6c[_0xeaed8e(0x109)]&&!this[_0xeaed8e(0xc0)][_0xeaed8e(0xda)][_0xeaed8e(0xe9)](_0x58d38a)&&this[_0xeaed8e(0xc0)][_0xeaed8e(0x125)][_0xeaed8e(0xf1)][_0xeaed8e(0x129)](_0x58d38a),this[_0xeaed8e(0xc0)][_0xeaed8e(0xca)](_0x390d1d));}const {revisions:_0x429db5,requestId:_0x5a7211}=await this[_0xeaed8e(0xe2)][_0xeaed8e(0x10e)](_0x49bee4[_0xeaed8e(0xf6)],this[_0xeaed8e(0xc6)]);_0xade895&&_0x429db5[_0xeaed8e(0x116)]>0x0?_0x2cb0e9[_0xeaed8e(0x12a)]():(await this[_0xeaed8e(0x119)](_0x429db5),this[_0xeaed8e(0xdd)](_0x429db5,_0x5a7211),this[_0xeaed8e(0xc0)][_0xeaed8e(0xd2)]());};return _0x2cb0e9[_0xf2c7cf(0xd6)]?_0x3bc2fd():new Promise((_0x4afc8f,_0x5105ed)=>{const _0x3f43b6=_0xf2c7cf;_0x2cb0e9[_0x3f43b6(0x11b)](_0x3f43b6(0xe7),()=>{const _0x176905=_0x3f43b6;_0x3bc2fd()[_0x176905(0xea)](_0x4afc8f)[_0x176905(0xbd)](_0x5105ed);});});}[_0x280e33(0x118)](){const _0x65b56e=_0x280e33;super[_0x65b56e(0x118)]();}async[_0x280e33(0x127)](){const _0x524a73=_0x280e33;this[_0x524a73(0xe2)][_0x524a73(0xbe)]||await new Promise(_0x58b2c2=>{const _0x5a0b17=_0x524a73;this[_0x5a0b17(0xcc)](this[_0x5a0b17(0xe2)],_0x5a0b17(0xef),_0x280873=>{const _0x5bae81=_0x5a0b17;_0x280873[_0x5bae81(0xf8)](),_0x58b2c2();});});}[_0x280e33(0xcb)](){const _0x1075d5=_0x280e33,_0x45d41d=this[_0x1075d5(0x10f)][_0x1075d5(0x121)][_0x1075d5(0x102)](_0x26334c)[_0x1075d5(0x128)][_0x1075d5(0xc8)]()[_0x1075d5(0x114)]();for(const _0x27b46e of _0x45d41d)if(_0x1075d5(0x106)!==_0x27b46e[_0x1075d5(0x12b)]||_0x27b46e[_0x1075d5(0x10d)])return _0x27b46e[_0x1075d5(0x11d)]+0x1;}[_0x280e33(0xc2)](){const _0x398c82=_0x280e33,_0x183ede=this[_0x398c82(0x10f)][_0x398c82(0x121)][_0x398c82(0x102)](_0x26334c);return new Promise(_0x10fb1c=>{const _0x2e8333=_0x398c82;_0x183ede[_0x2e8333(0x105)]?_0x183ede[_0x2e8333(0x11b)](_0x2e8333(0xfc),()=>{const _0x19421d=_0x2e8333;_0x10fb1c(this[_0x19421d(0xcb)]());}):_0x10fb1c(this[_0x2e8333(0xcb)]());});}[_0x280e33(0xdd)](_0x3236b3,_0x38a6a9){const _0x2d55c0=_0x280e33,_0x1ca8ae=this[_0x2d55c0(0xc0)][_0x2d55c0(0x125)];this[_0x2d55c0(0xc6)]=_0x38a6a9;for(const _0x5e4d95 of _0x3236b3){const _0x50c4ca=_0x1ca8ae[_0x2d55c0(0xc1)](_0x5e4d95['id']);if(_0x50c4ca){if((_0x5e4d95[_0x2d55c0(0x109)]||_0x5e4d95[_0x2d55c0(0x10b)])&&(_0x5e4d95[_0x2d55c0(0xbb)]=null),_0x50c4ca===this[_0x2d55c0(0xc0)][_0x2d55c0(0xbf)]){const _0x92f083=Math[_0x2d55c0(0xde)](_0x50c4ca[_0x2d55c0(0x10b)],_0x5e4d95[_0x2d55c0(0x10b)]),_0x33b955=Math[_0x2d55c0(0xde)](_0x50c4ca[_0x2d55c0(0x109)],_0x5e4d95[_0x2d55c0(0x109)]);let _0x132015;_0x50c4ca[_0x2d55c0(0x10b)]===_0x5e4d95[_0x2d55c0(0x10b)]&&_0x50c4ca[_0x2d55c0(0x109)]===_0x5e4d95[_0x2d55c0(0x109)]?(_0x132015=!0x0,this[_0x2d55c0(0xfe)](_0x5e4d95)):_0x5e4d95[_0x2d55c0(0x10b)]===_0x92f083&&_0x5e4d95[_0x2d55c0(0x109)]===_0x33b955?_0x132015=!0x1:(_0x50c4ca[_0x2d55c0(0x10b)]===_0x92f083&&_0x50c4ca[_0x2d55c0(0x109)]===_0x33b955||this[_0x2d55c0(0xed)]({'revision':_0x50c4ca,'from':_0x33b955,'to':_0x92f083}),_0x132015=!0x0),_0x132015&&(delete _0x5e4d95[_0x2d55c0(0x109)],delete _0x5e4d95[_0x2d55c0(0x10b)],delete _0x5e4d95[_0x2d55c0(0xbb)],delete _0x5e4d95[_0x2d55c0(0xeb)],delete _0x5e4d95[_0x2d55c0(0xf0)]);}this[_0x2d55c0(0xc0)][_0x2d55c0(0xe3)](_0x5e4d95),this[_0x2d55c0(0xfe)](_0x5e4d95);}else this[_0x2d55c0(0xc0)][_0x2d55c0(0xd4)](_0x5e4d95);}const _0xf8a473=_0x1ca8ae[_0x2d55c0(0xd8)]();_0xf8a473[_0x2d55c0(0x114)]();for(let _0x421448=0x0;_0x421448<_0xf8a473[_0x2d55c0(0x116)]-0x1;_0x421448++){const _0xc04f58=_0xf8a473[_0x421448],_0x17348d=_0xf8a473[_0x421448+0x1];if(_0xc04f58[_0x2d55c0(0x109)]<_0x17348d[_0x2d55c0(0x10b)]){const _0x43343f=_0x17348d[_0x2d55c0(0x10b)],_0x50b5d0=Math[_0x2d55c0(0xde)](_0x43343f,_0xc04f58[_0x2d55c0(0x10b)]);this[_0x2d55c0(0xed)]({'revision':_0xc04f58,'from':_0x43343f,'to':_0x50b5d0});}}}[_0x280e33(0xed)]({revision:_0x3d4d98,from:_0x424128,to:_0x19b4a4}={}){const _0x4ed023=_0x280e33,_0xd884ce=this[_0x4ed023(0x10f)][_0x4ed023(0x121)][_0x4ed023(0x102)](_0x59b89d),_0x2504d1=this[_0x4ed023(0xc0)][_0x4ed023(0xf7)]({'revision':_0x3d4d98,'from':_0x424128,'to':_0x19b4a4});_0x2504d1[_0x4ed023(0xd1)]=_0x2504d1[_0x4ed023(0xf0)][_0x4ed023(0x126)](_0x350227=>_0xd884ce[_0x4ed023(0xcd)](_0x350227)),_0x3d4d98[_0x4ed023(0x111)](_0x2504d1);}[_0x280e33(0xfe)](_0x425861){const _0x42f7e7=_0x280e33,_0x34727c={};_0x34727c['id']=_0x425861['id'];for(const _0x22bbdb of Object[_0x42f7e7(0x12d)](_0x425861))'id'!==_0x22bbdb&&(_0x34727c[_0x22bbdb]=void 0x0);this[_0x42f7e7(0xc0)][_0x42f7e7(0x100)](_0x34727c['id'],_0x34727c,!0x0);}async[_0x280e33(0x119)](_0x51cc67){const _0x2a3bbc=_0x280e33,_0x2c900f=this[_0x2a3bbc(0x10f)][_0x2a3bbc(0x121)][_0x2a3bbc(0x102)](_0x59b89d),{connection:_0x5a5e4f}=this[_0x2a3bbc(0x10f)][_0x2a3bbc(0x121)][_0x2a3bbc(0x102)](_0x4f8c9f),_0x27b501=new Set();for(const _0x3a3206 of _0x51cc67){for(const _0x13d094 of _0x3a3206[_0x2a3bbc(0xf0)])_0x268317(_0x13d094);_0x3a3206[_0x2a3bbc(0xe1)]&&_0x268317(_0x3a3206[_0x2a3bbc(0xe1)]);}if(0x0===_0x27b501[_0x2a3bbc(0xf9)])return;const _0x540582=await _0x5cd858[_0x2a3bbc(0xd0)](_0x5a5e4f,Array[_0x2a3bbc(0xbc)](_0x27b501));for(const _0x4c344b of _0x540582)_0x2c900f[_0x2a3bbc(0xcd)](_0x4c344b['id'])||_0x2c900f[_0x2a3bbc(0x103)](_0x4c344b);function _0x268317(_0x1d7d2e){const _0x13eefa=_0x2a3bbc;_0x2c900f[_0x13eefa(0xcd)](_0x1d7d2e)||_0x27b501[_0x13eefa(0xce)](_0x1d7d2e);}}}function st(_0x4022e7){const _0x4c20d4=_0x280e33;return _0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0xe0))||_0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0xec))||_0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0x10a));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e8b38=_0x50ac;(function(_0x499694,_0x159b2e){var _0x5885f6=_0x50ac,_0x183e50=_0x499694();while(!![]){try{var _0x4402df=-parseInt(_0x5885f6(0xaf))/0x1+parseInt(_0x5885f6(0xb9))/0x2*(-parseInt(_0x5885f6(0xb7))/0x3)+parseInt(_0x5885f6(0xb2))/0x4+-parseInt(_0x5885f6(0xb8))/0x5*(-parseInt(_0x5885f6(0xbc))/0x6)+parseInt(_0x5885f6(0xb5))/0x7+parseInt(_0x5885f6(0xb0))/0x8+parseInt(_0x5885f6(0xbd))/0x9;if(_0x4402df===_0x159b2e)break;else _0x183e50['push'](_0x183e50['shift']());}catch(_0x90b7db){_0x183e50['push'](_0x183e50['shift']());}}}(_0x321c,0x61ac0));import{Plugin as _0x2721b2}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x150659}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x243b3b}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x2721b2{static get[_0x4e8b38(0xb4)](){var _0x298b10=_0x4e8b38;return[_0x298b10(0xb1),_0x150659,_0x243b3b];}static get[_0x4e8b38(0xb6)](){var _0x3eb6ea=_0x4e8b38;return _0x3eb6ea(0xba);}static get[_0x4e8b38(0xb3)](){return!0x0;}static get[_0x4e8b38(0xbb)](){return!0x0;}}function _0x50ac(_0x47f206,_0x5ef142){var _0x321c1a=_0x321c();return _0x50ac=function(_0x50ac20,_0x208230){_0x50ac20=_0x50ac20-0xaf;var _0xf332e6=_0x321c1a[_0x50ac20];return _0xf332e6;},_0x50ac(_0x47f206,_0x5ef142);}function _0x321c(){var _0xebc30=['570756bMtmWV','9419958izBuKH','769781JlBvtL','704848aEHQoj','RevisionHistory','695736gEkkGy','isOfficialPlugin','requires','857465cQKgzs','pluginName','3vhxHQF','5ZpeQZe','712956EwSiSz','RealTimeCollaborativeRevisionHistory','isPremiumPlugin'];_0x321c=function(){return _0xebc30;};return _0x321c();}
23
+ var _0x1fcfe1=_0x3426;(function(_0x107d5b,_0x497cce){var _0x48794a=_0x3426,_0x2953cb=_0x107d5b();while(!![]){try{var _0x41c57f=-parseInt(_0x48794a(0x12d))/0x1+-parseInt(_0x48794a(0x130))/0x2+-parseInt(_0x48794a(0x12f))/0x3*(-parseInt(_0x48794a(0x13a))/0x4)+parseInt(_0x48794a(0x132))/0x5+-parseInt(_0x48794a(0x12e))/0x6*(-parseInt(_0x48794a(0x138))/0x7)+parseInt(_0x48794a(0x12c))/0x8+parseInt(_0x48794a(0x139))/0x9*(-parseInt(_0x48794a(0x133))/0xa);if(_0x41c57f===_0x497cce)break;else _0x2953cb['push'](_0x2953cb['shift']());}catch(_0xe923f){_0x2953cb['push'](_0x2953cb['shift']());}}}(_0x7fda,0x7994e));import{Plugin as _0x20ea72}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x55050f}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3426(_0x4e4010,_0x59eb57){var _0x7fdaa7=_0x7fda();return _0x3426=function(_0x342610,_0x51feeb){_0x342610=_0x342610-0x12b;var _0x41be45=_0x7fdaa7[_0x342610];return _0x41be45;},_0x3426(_0x4e4010,_0x59eb57);}import{RealTimeCollaborativeEditing as _0x125fa5}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20ea72{static get[_0x1fcfe1(0x131)](){var _0xef7bd=_0x1fcfe1;return[_0xef7bd(0x12b),_0x55050f,_0x125fa5];}static get[_0x1fcfe1(0x135)](){var _0x1e54b9=_0x1fcfe1;return _0x1e54b9(0x137);}static get[_0x1fcfe1(0x136)](){return!0x0;}static get[_0x1fcfe1(0x134)](){return!0x0;}}function _0x7fda(){var _0x4c06d7=['isOfficialPlugin','RealTimeCollaborativeRevisionHistory','7FRzWaJ','386874FTrAnn','4jgIkNN','RevisionHistory','3299624KkurMr','546781xfwdDJ','4615074fNQQSB','756996FAiCPo','863542cSQFqx','requires','3866740NGuYjf','170GVRBiV','isPremiumPlugin','pluginName'];_0x7fda=function(){return _0x4c06d7;};return _0x7fda();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5db3(_0x5274ab,_0x4ed4ff){const _0x263655=_0x2636();return _0x5db3=function(_0x5db36d,_0x555c27){_0x5db36d=_0x5db36d-0xe1;let _0x3e8c7d=_0x263655[_0x5db36d];return _0x3e8c7d;},_0x5db3(_0x5274ab,_0x4ed4ff);}const _0x2763a4=_0x5db3;(function(_0x16529e,_0x41472c){const _0x5491f4=_0x5db3,_0x146789=_0x16529e();while(!![]){try{const _0x130a34=-parseInt(_0x5491f4(0xef))/0x1*(parseInt(_0x5491f4(0xe3))/0x2)+parseInt(_0x5491f4(0xf1))/0x3+-parseInt(_0x5491f4(0x112))/0x4*(-parseInt(_0x5491f4(0xec))/0x5)+parseInt(_0x5491f4(0x11b))/0x6*(-parseInt(_0x5491f4(0xe5))/0x7)+-parseInt(_0x5491f4(0x120))/0x8+parseInt(_0x5491f4(0xf6))/0x9*(parseInt(_0x5491f4(0xeb))/0xa)+parseInt(_0x5491f4(0x102))/0xb;if(_0x130a34===_0x41472c)break;else _0x146789['push'](_0x146789['shift']());}catch(_0x5015e9){_0x146789['push'](_0x146789['shift']());}}}(_0x2636,0xd1a99));import{Plugin as _0x38ec8a}from'ckeditor5/src/core.js';import{User as _0x5db313,TrackChangesService as _0x5689ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2636(){const _0x26516f=['addUser','attributes','34vKMLhK','_waitForServiceReady','112TIKQDH','isPremiumPlugin','_saved','delete','hasSuggestion','getUser','41250DorKtB','40fSfOXh','set','size','15361PLEOiq','connect','3039057fCWWqE','catch','editor','message','getSuggestion','720nEqmdy','addSuggestionData','reconnect','plugins','cloud-services-internal-error:\x20Not\x20connected.','state','listenTo','CloudServicesTrackChangesAdapter','requires','adapter','originalSuggestionId','_bufferedRequests','18444360qgFcbL','off','connected','TrackChangesService','then','update','collaboration.channelId','startsWith','addToReconnectionStack','cloud-services-internal-error:\x20Request\x20timeout.','connection','_trackChangesService','values','suggestionUpdated','isConnected','from','303928DrumSr','TrackChangesEditing','add','getMany','config','type','open','get','init','418458EHpbHa','data','isOfficialPlugin','_fetchMissingUsersForThreads','find','11134664wfgrwk','pluginName'];_0x2636=function(){return _0x26516f;};return _0x2636();}import{WebSocketGateway as _0x574a90}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1aceff}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3acfd6}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x38ec8a{static [_0x2763a4(0x105)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5689ec)());[_0x2763a4(0x101)];[_0x2763a4(0x10d)];static get[_0x2763a4(0xfe)](){const _0x18dffd=_0x2763a4;return[_0x1aceff,_0x18dffd(0x113),_0x574a90];}static get[_0x2763a4(0x121)](){const _0x42023d=_0x2763a4;return _0x42023d(0xfd);}static get[_0x2763a4(0x11d)](){return!0x0;}static get[_0x2763a4(0xe6)](){return!0x0;}constructor(_0x4e4bba){const _0x4e8193=_0x2763a4;super(_0x4e4bba);const _0x4996d1=this[_0x4e8193(0xf3)][_0x4e8193(0x116)][_0x4e8193(0x119)](_0x4e8193(0x108));this[_0x4e8193(0x101)]=new Map(),this[_0x4e8193(0x10d)]=new CloudServicesTrackChangesAdapter[(_0x4e8193(0x105))](_0x4996d1);}[_0x2763a4(0x11a)](){const _0x40e14f=_0x2763a4,_0xc1a5e0=this[_0x40e14f(0xf3)][_0x40e14f(0xf9)][_0x40e14f(0x119)](_0x574a90),_0x322af3=this[_0x40e14f(0xf3)][_0x40e14f(0xf9)][_0x40e14f(0x119)](_0x40e14f(0x113));return _0x322af3[_0x40e14f(0xff)]={'getSuggestion':async _0x470173=>{const _0x27efbd=_0x40e14f;await this[_0x27efbd(0xe4)]();const _0x448469=await this[_0x27efbd(0x10d)][_0x27efbd(0x119)](_0x470173)[_0x27efbd(0xf2)](A);return await this[_0x27efbd(0x11e)]([_0x448469]),_0x448469;},'addSuggestion':async({id:_0x1c65c0,type:_0x394080,data:_0x3513e0,originalSuggestionId:_0x18e093,attributes:_0x1abe9f})=>{const _0x2faf1a=_0x40e14f;await this[_0x2faf1a(0xe4)]();const _0x159ff0={'id':_0x1c65c0,'type':_0x394080,'data':_0x3513e0,'originalSuggestionId':_0x18e093,'attributes':_0x1abe9f},_0x4bf44e=await this[_0x2faf1a(0x10d)][_0x2faf1a(0x114)](_0x1c65c0,_0x394080,_0x3513e0,_0x18e093,_0x1abe9f)[_0x2faf1a(0xf2)](_0x4cc487=>{if(st(_0x4cc487))return new Promise(_0x3f1d4d=>{const _0x37aa70=_0x5db3;this[_0x37aa70(0x101)][_0x37aa70(0xed)](_0x1c65c0,{'resolve':_0x3f1d4d,'suggestionData':_0x159ff0});});throw _0x4cc487;});return this[_0x2faf1a(0x101)][_0x2faf1a(0xe8)](_0x1c65c0),_0x4bf44e;},'updateSuggestion':async(_0x511587,_0x5a5a8c)=>{const _0x29ee10=_0x40e14f;if(await this[_0x29ee10(0xe4)](),_0x29ee10(0x118)!==_0x5a5a8c[_0x29ee10(0xfb)])return this[_0x29ee10(0x10d)][_0x29ee10(0x107)](_0x511587,_0x5a5a8c)[_0x29ee10(0xf2)](A);}},this[_0x40e14f(0xfc)](this[_0x40e14f(0x10d)],_0x40e14f(0x10f),(_0x5c21d6,_0x24c7d4)=>{const _0xafc516=_0x40e14f;_0x322af3[_0xafc516(0xe9)](_0x24c7d4['id'])&&(_0x322af3[_0xafc516(0xf5)](_0x24c7d4['id'])[_0xafc516(0xe2)]=_0x24c7d4[_0xafc516(0xe2)]);}),this[_0x40e14f(0x10d)][_0x40e14f(0xf0)](_0xc1a5e0[_0x40e14f(0x10c)])[_0x40e14f(0x106)](_0x4e52b7=>(_0xc1a5e0[_0x40e14f(0x10a)](this),this[_0x40e14f(0x11e)](_0x4e52b7)[_0x40e14f(0x106)](()=>{const _0x3f4c5d=_0x40e14f;for(const _0x100b51 of _0x4e52b7){_0x322af3[_0x3f4c5d(0xf7)](_0x100b51)[_0x3f4c5d(0xe7)]=!0x0;}})));}async[_0x2763a4(0xf8)](){const _0x2cf091=_0x2763a4,_0x59cd2a=this[_0x2cf091(0xf3)][_0x2cf091(0xf9)][_0x2cf091(0x119)](_0x2cf091(0x113)),{connection:_0x472e8a}=this[_0x2cf091(0xf3)][_0x2cf091(0xf9)][_0x2cf091(0x119)](_0x574a90),_0x26261a=await this[_0x2cf091(0x10d)][_0x2cf091(0xf0)](_0x472e8a);await this[_0x2cf091(0x11e)](_0x26261a);for(const {suggestionData:_0x3b61ea,resolve:_0x106182}of this[_0x2cf091(0x101)][_0x2cf091(0x10e)]()){let _0x50bcf8=_0x26261a[_0x2cf091(0x11f)](_0x462b8c=>_0x462b8c['id']===_0x3b61ea['id']);_0x50bcf8||(_0x50bcf8=await this[_0x2cf091(0x10d)][_0x2cf091(0x114)](_0x3b61ea['id'],_0x3b61ea[_0x2cf091(0x117)],_0x3b61ea[_0x2cf091(0x11c)],_0x3b61ea[_0x2cf091(0x100)])),_0x106182(_0x50bcf8);}for(const _0x421e16 of _0x26261a)_0x59cd2a[_0x2cf091(0xe9)](_0x421e16['id'])||_0x59cd2a[_0x2cf091(0xf7)](_0x421e16);}async[_0x2763a4(0xe4)](){const _0xd10454=_0x2763a4;this[_0xd10454(0x10d)][_0xd10454(0x110)]||await new Promise(_0x52ac03=>{const _0x4747ee=_0xd10454;this[_0x4747ee(0xfc)](this[_0x4747ee(0x10d)],_0x4747ee(0x104),_0x3cb1c6=>{const _0xc43856=_0x4747ee;_0x3cb1c6[_0xc43856(0x103)](),_0x52ac03();});});}async[_0x2763a4(0x11e)](_0x599496){const _0x43b911=_0x2763a4,_0x52c680=this[_0x43b911(0xf3)][_0x43b911(0xf9)][_0x43b911(0x119)](_0x3acfd6),{connection:_0x37f4db}=this[_0x43b911(0xf3)][_0x43b911(0xf9)][_0x43b911(0x119)](_0x574a90),_0x494f8e=new Set();for(const {authorId:_0x189f3a}of _0x599496)_0x52c680[_0x43b911(0xea)](_0x189f3a)||_0x494f8e[_0x43b911(0x114)](_0x189f3a);if(0x0===_0x494f8e[_0x43b911(0xee)])return;const _0x25a1c9=await _0x5db313[_0x43b911(0x115)](_0x37f4db,Array[_0x43b911(0x111)](_0x494f8e));for(const _0x291e9a of _0x25a1c9)_0x52c680[_0x43b911(0xea)](_0x291e9a['id'])||_0x52c680[_0x43b911(0xe1)](_0x291e9a);}}function A(_0x5ce7fe){if(st(_0x5ce7fe))return new Promise(()=>{});throw _0x5ce7fe;}function st(_0x3fe7ee){const _0x3df6e2=_0x2763a4;return _0x3fe7ee[_0x3df6e2(0xf4)][_0x3df6e2(0x109)](_0x3df6e2(0xfa))||_0x3fe7ee[_0x3df6e2(0xf4)][_0x3df6e2(0x109)](_0x3df6e2(0x10b));}
23
+ const _0x4210dd=_0x5d7e;(function(_0x36e21f,_0x339fd1){const _0x108f10=_0x5d7e,_0xa458ca=_0x36e21f();while(!![]){try{const _0x10cb93=parseInt(_0x108f10(0x1c1))/0x1+parseInt(_0x108f10(0x1ac))/0x2*(parseInt(_0x108f10(0x1a5))/0x3)+parseInt(_0x108f10(0x1c6))/0x4*(parseInt(_0x108f10(0x1b6))/0x5)+-parseInt(_0x108f10(0x192))/0x6+-parseInt(_0x108f10(0x1a1))/0x7*(-parseInt(_0x108f10(0x1a4))/0x8)+-parseInt(_0x108f10(0x1c3))/0x9+-parseInt(_0x108f10(0x1b0))/0xa*(parseInt(_0x108f10(0x1a0))/0xb);if(_0x10cb93===_0x339fd1)break;else _0xa458ca['push'](_0xa458ca['shift']());}catch(_0x15dad2){_0xa458ca['push'](_0xa458ca['shift']());}}}(_0x2261,0xef2f7));import{Plugin as _0x18be06}from'ckeditor5/src/core.js';import{User as _0x4605c9,TrackChangesService as _0x3d5fea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x286e78}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x22355b}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x2261(){const _0x1774ba=['1708669KluEwx','delete','1919961HSTzRQ','from','suggestionUpdated','13036isUtXd','TrackChangesEditing','originalSuggestionId','catch','type','requires','update','connected','data','_bufferedRequests','startsWith','reconnect','editor','4594260tUtofV','cloud-services-internal-error:\x20Not\x20connected.','then','_fetchMissingUsersForThreads','attributes','pluginName','isOfficialPlugin','_saved','collaboration.channelId','isConnected','get','init','connection','cloud-services-internal-error:\x20Request\x20timeout.','77QAwrnM','7hyOXcO','plugins','addUser','14669096ghaiwT','1954338jFwmsv','listenTo','addSuggestionData','adapter','_waitForServiceReady','getMany','find','6aymyDZ','addToReconnectionStack','values','getSuggestion','5440570grKFUm','off','connect','state','isPremiumPlugin','open','415XEZUAD','hasSuggestion','message','getUser','set','CloudServicesTrackChangesAdapter','add','size','_trackChangesService','config','TrackChangesService'];_0x2261=function(){return _0x1774ba;};return _0x2261();}import{Users as _0x51b572}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x18be06{static [_0x4210dd(0x1c0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3d5fea)());[_0x4210dd(0x18e)];[_0x4210dd(0x1be)];static get[_0x4210dd(0x18a)](){const _0x18e458=_0x4210dd;return[_0x22355b,_0x18e458(0x1c7),_0x286e78];}static get[_0x4210dd(0x197)](){const _0x807ea4=_0x4210dd;return _0x807ea4(0x1bb);}static get[_0x4210dd(0x198)](){return!0x0;}static get[_0x4210dd(0x1b4)](){return!0x0;}constructor(_0x1202a7){const _0x24e6bb=_0x4210dd;super(_0x1202a7);const _0x208c68=this[_0x24e6bb(0x191)][_0x24e6bb(0x1bf)][_0x24e6bb(0x19c)](_0x24e6bb(0x19a));this[_0x24e6bb(0x18e)]=new Map(),this[_0x24e6bb(0x1be)]=new CloudServicesTrackChangesAdapter[(_0x24e6bb(0x1c0))](_0x208c68);}[_0x4210dd(0x19d)](){const _0x4311a9=_0x4210dd,_0x3cb912=this[_0x4311a9(0x191)][_0x4311a9(0x1a2)][_0x4311a9(0x19c)](_0x286e78),_0x131800=this[_0x4311a9(0x191)][_0x4311a9(0x1a2)][_0x4311a9(0x19c)](_0x4311a9(0x1c7));return _0x131800[_0x4311a9(0x1a8)]={'getSuggestion':async _0x4d753a=>{const _0x29935d=_0x4311a9;await this[_0x29935d(0x1a9)]();const _0x1f7b8c=await this[_0x29935d(0x1be)][_0x29935d(0x19c)](_0x4d753a)[_0x29935d(0x1c9)](A);return await this[_0x29935d(0x195)]([_0x1f7b8c]),_0x1f7b8c;},'addSuggestion':async({id:_0xb9396f,type:_0x34a5a2,data:_0x502bb5,originalSuggestionId:_0x28ab9d,attributes:_0x10118e})=>{const _0x33aca2=_0x4311a9;await this[_0x33aca2(0x1a9)]();const _0x2dbf39={'id':_0xb9396f,'type':_0x34a5a2,'data':_0x502bb5,'originalSuggestionId':_0x28ab9d,'attributes':_0x10118e},_0xfb6a23=await this[_0x33aca2(0x1be)][_0x33aca2(0x1bc)](_0xb9396f,_0x34a5a2,_0x502bb5,_0x28ab9d,_0x10118e)[_0x33aca2(0x1c9)](_0x5166bb=>{if(st(_0x5166bb))return new Promise(_0x56b993=>{const _0x120d6d=_0x5d7e;this[_0x120d6d(0x18e)][_0x120d6d(0x1ba)](_0xb9396f,{'resolve':_0x56b993,'suggestionData':_0x2dbf39});});throw _0x5166bb;});return this[_0x33aca2(0x18e)][_0x33aca2(0x1c2)](_0xb9396f),_0xfb6a23;},'updateSuggestion':async(_0x45523c,_0x1f6300)=>{const _0x316b18=_0x4311a9;if(await this[_0x316b18(0x1a9)](),_0x316b18(0x1b5)!==_0x1f6300[_0x316b18(0x1b3)])return this[_0x316b18(0x1be)][_0x316b18(0x18b)](_0x45523c,_0x1f6300)[_0x316b18(0x1c9)](A);}},this[_0x4311a9(0x1a6)](this[_0x4311a9(0x1be)],_0x4311a9(0x1c5),(_0x4e06bc,_0x2e0ada)=>{const _0x3528c9=_0x4311a9;_0x131800[_0x3528c9(0x1b7)](_0x2e0ada['id'])&&(_0x131800[_0x3528c9(0x1af)](_0x2e0ada['id'])[_0x3528c9(0x196)]=_0x2e0ada[_0x3528c9(0x196)]);}),this[_0x4311a9(0x1be)][_0x4311a9(0x1b2)](_0x3cb912[_0x4311a9(0x19e)])[_0x4311a9(0x194)](_0x28267a=>(_0x3cb912[_0x4311a9(0x1ad)](this),this[_0x4311a9(0x195)](_0x28267a)[_0x4311a9(0x194)](()=>{const _0x2deb3d=_0x4311a9;for(const _0xe28c4d of _0x28267a){_0x131800[_0x2deb3d(0x1a7)](_0xe28c4d)[_0x2deb3d(0x199)]=!0x0;}})));}async[_0x4210dd(0x190)](){const _0xb50a38=_0x4210dd,_0x4c4d20=this[_0xb50a38(0x191)][_0xb50a38(0x1a2)][_0xb50a38(0x19c)](_0xb50a38(0x1c7)),{connection:_0xbf2b6e}=this[_0xb50a38(0x191)][_0xb50a38(0x1a2)][_0xb50a38(0x19c)](_0x286e78),_0xe3523b=await this[_0xb50a38(0x1be)][_0xb50a38(0x1b2)](_0xbf2b6e);await this[_0xb50a38(0x195)](_0xe3523b);for(const {suggestionData:_0x152361,resolve:_0x3f0068}of this[_0xb50a38(0x18e)][_0xb50a38(0x1ae)]()){let _0xb8cf0a=_0xe3523b[_0xb50a38(0x1ab)](_0x2686a9=>_0x2686a9['id']===_0x152361['id']);_0xb8cf0a||(_0xb8cf0a=await this[_0xb50a38(0x1be)][_0xb50a38(0x1bc)](_0x152361['id'],_0x152361[_0xb50a38(0x189)],_0x152361[_0xb50a38(0x18d)],_0x152361[_0xb50a38(0x1c8)])),_0x3f0068(_0xb8cf0a);}for(const _0x208782 of _0xe3523b)_0x4c4d20[_0xb50a38(0x1b7)](_0x208782['id'])||_0x4c4d20[_0xb50a38(0x1a7)](_0x208782);}async[_0x4210dd(0x1a9)](){const _0x4b3a6c=_0x4210dd;this[_0x4b3a6c(0x1be)][_0x4b3a6c(0x19b)]||await new Promise(_0x3d0391=>{const _0x34e836=_0x4b3a6c;this[_0x34e836(0x1a6)](this[_0x34e836(0x1be)],_0x34e836(0x18c),_0x25f4fe=>{const _0x75e75e=_0x34e836;_0x25f4fe[_0x75e75e(0x1b1)](),_0x3d0391();});});}async[_0x4210dd(0x195)](_0x18dc0e){const _0x55e879=_0x4210dd,_0xefcc46=this[_0x55e879(0x191)][_0x55e879(0x1a2)][_0x55e879(0x19c)](_0x51b572),{connection:_0x16bd75}=this[_0x55e879(0x191)][_0x55e879(0x1a2)][_0x55e879(0x19c)](_0x286e78),_0x2bf968=new Set();for(const {authorId:_0x45db25}of _0x18dc0e)_0xefcc46[_0x55e879(0x1b9)](_0x45db25)||_0x2bf968[_0x55e879(0x1bc)](_0x45db25);if(0x0===_0x2bf968[_0x55e879(0x1bd)])return;const _0x13d0f5=await _0x4605c9[_0x55e879(0x1aa)](_0x16bd75,Array[_0x55e879(0x1c4)](_0x2bf968));for(const _0x1d92ab of _0x13d0f5)_0xefcc46[_0x55e879(0x1b9)](_0x1d92ab['id'])||_0xefcc46[_0x55e879(0x1a3)](_0x1d92ab);}}function _0x5d7e(_0x55ae76,_0x31d130){const _0x226160=_0x2261();return _0x5d7e=function(_0x5d7e68,_0x56f372){_0x5d7e68=_0x5d7e68-0x189;let _0x7564df=_0x226160[_0x5d7e68];return _0x7564df;},_0x5d7e(_0x55ae76,_0x31d130);}function A(_0x1cf491){if(st(_0x1cf491))return new Promise(()=>{});throw _0x1cf491;}function st(_0x1b4718){const _0x3b9c31=_0x4210dd;return _0x1b4718[_0x3b9c31(0x1b8)][_0x3b9c31(0x18f)](_0x3b9c31(0x193))||_0x1b4718[_0x3b9c31(0x1b8)][_0x3b9c31(0x18f)](_0x3b9c31(0x19f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x41e2(_0x268ccb,_0x4220a9){var _0xf930ec=_0xf930();return _0x41e2=function(_0x41e24c,_0x5c3997){_0x41e24c=_0x41e24c-0x121;var _0x181742=_0xf930ec[_0x41e24c];return _0x181742;},_0x41e2(_0x268ccb,_0x4220a9);}var _0x22f6bd=_0x41e2;(function(_0x27309c,_0x4c8406){var _0x4d772b=_0x41e2,_0x15a64d=_0x27309c();while(!![]){try{var _0x3c3fdb=parseInt(_0x4d772b(0x130))/0x1*(parseInt(_0x4d772b(0x12f))/0x2)+-parseInt(_0x4d772b(0x12d))/0x3*(parseInt(_0x4d772b(0x12e))/0x4)+-parseInt(_0x4d772b(0x124))/0x5*(parseInt(_0x4d772b(0x131))/0x6)+-parseInt(_0x4d772b(0x12c))/0x7*(-parseInt(_0x4d772b(0x125))/0x8)+parseInt(_0x4d772b(0x121))/0x9+parseInt(_0x4d772b(0x12b))/0xa*(parseInt(_0x4d772b(0x127))/0xb)+-parseInt(_0x4d772b(0x126))/0xc;if(_0x3c3fdb===_0x4c8406)break;else _0x15a64d['push'](_0x15a64d['shift']());}catch(_0x1c8f63){_0x15a64d['push'](_0x15a64d['shift']());}}}(_0xf930,0x8ea42));import{Plugin as _0x2d6693}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x53cb84}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x87f611}from'./realtimecollaborativecomments.js';function _0xf930(){var _0x133b8b=['876492APzuPl','requires','TrackChanges','357845mfAbrM','2187112yRsTwe','3620256tSPwKT','44srbBUg','pluginName','isOfficialPlugin','isPremiumPlugin','300110FVtsmH','28hxFEkL','537kXsuvM','5848kItGhj','675278odRwqc','1gyGexq','42XlTXAl','RealTimeCollaborativeTrackChanges'];_0xf930=function(){return _0x133b8b;};return _0xf930();}export class RealTimeCollaborativeTrackChanges extends _0x2d6693{static get[_0x22f6bd(0x122)](){var _0x4de21c=_0x22f6bd;return[_0x87f611,_0x53cb84,_0x4de21c(0x123)];}static get[_0x22f6bd(0x128)](){var _0x3a3d9d=_0x22f6bd;return _0x3a3d9d(0x132);}static get[_0x22f6bd(0x129)](){return!0x0;}static get[_0x22f6bd(0x12a)](){return!0x0;}}
23
+ var _0x306030=_0x2f93;(function(_0x4e528d,_0x3df349){var _0x5451f5=_0x2f93,_0x1543df=_0x4e528d();while(!![]){try{var _0x50cfb7=parseInt(_0x5451f5(0x123))/0x1+parseInt(_0x5451f5(0x12c))/0x2+-parseInt(_0x5451f5(0x122))/0x3*(-parseInt(_0x5451f5(0x128))/0x4)+parseInt(_0x5451f5(0x12d))/0x5*(-parseInt(_0x5451f5(0x12a))/0x6)+-parseInt(_0x5451f5(0x121))/0x7+parseInt(_0x5451f5(0x125))/0x8+-parseInt(_0x5451f5(0x129))/0x9;if(_0x50cfb7===_0x3df349)break;else _0x1543df['push'](_0x1543df['shift']());}catch(_0xf4baa9){_0x1543df['push'](_0x1543df['shift']());}}}(_0x4afa,0x73f2a));function _0x4afa(){var _0x56add1=['TrackChanges','4955992rIIxty','RealTimeCollaborativeTrackChanges','pluginName','332UruTGD','9733797hWRejY','1569822uUCgRI','isPremiumPlugin','595942OxYrav','5TArtTm','isOfficialPlugin','requires','218778RXHwaq','12399Vhvkgw','588837BSdsFu'];_0x4afa=function(){return _0x56add1;};return _0x4afa();}function _0x2f93(_0x7bfcf,_0x3b926f){var _0x4afa55=_0x4afa();return _0x2f93=function(_0x2f9315,_0x2b53e3){_0x2f9315=_0x2f9315-0x11f;var _0x3bb12b=_0x4afa55[_0x2f9315];return _0x3bb12b;},_0x2f93(_0x7bfcf,_0x3b926f);}import{Plugin as _0x201a4a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3faed7}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x165d38}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x201a4a{static get[_0x306030(0x120)](){var _0x5cbc3c=_0x306030;return[_0x165d38,_0x3faed7,_0x5cbc3c(0x124)];}static get[_0x306030(0x127)](){var _0x263279=_0x306030;return _0x263279(0x126);}static get[_0x306030(0x11f)](){return!0x0;}static get[_0x306030(0x12b)](){return!0x0;}}