@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.1 → 47.1.0-alpha.2

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
- function _0x171e(){const _0x226bf8=['constructor','343731EukTCB','751797mbKCSE','connected','DISCONNECTED','requires','has','offline','disconnect','limitExceeded','_shouldPluginsReconnect','showWarning','8SeOuid','238658Gydwpj','reconnect','from','add','code','all','websocketgateway-plugin-already-registered','websocketgateway-missing-token','Connected\x20users\x20limit\x20exceeded','config','WebSocketGateway','delete','connect','pluginName','get','cloudServices.requestTimeout','removeFromReconnectionStack','isOfficialPlugin','websocketgateway-invalid-plugin-interface','2zQsRkZ','33QtXWzO','addToReconnectionStack','cloudservices-reconnection-error','104zwuPkC','then','websocketgateway-missing-websocket-url','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.','198648ChSTBH','change:me','init','130cIjLTR','bind','context','state','set','listenTo','function','_reconnectionStack','_domEmitter','isInReconnectionStack','error','6743796rgrehy','initialReconnectionInterval','2414438QKbWTT','cloudservices-init','catch','cloudServices.connectionTimeout','online','plugins','define','webSocketUrl','160XlHPYo','CONNECTED','_reconnect','CloudServices','_isBrowserOffline','isPremiumPlugin','CONNECTING','stopListening','real-time-collaboration','destroy','token','908060VKAROD','connection'];_0x171e=function(){return _0x226bf8;};return _0x171e();}const _0x353845=_0x2164;function _0x2164(_0x374172,_0x3b551e){const _0x171e88=_0x171e();return _0x2164=function(_0x2164a7,_0x41b330){_0x2164a7=_0x2164a7-0x81;let _0x160332=_0x171e88[_0x2164a7];return _0x160332;},_0x2164(_0x374172,_0x3b551e);}(function(_0x3c3977,_0x1a86ad){const _0x4ff33c=_0x2164,_0x1a9e5c=_0x3c3977();while(!![]){try{const _0x258b59=-parseInt(_0x4ff33c(0xbb))/0x1*(parseInt(_0x4ff33c(0x99))/0x2)+parseInt(_0x4ff33c(0x9c))/0x3*(parseInt(_0x4ff33c(0xa7))/0x4)+parseInt(_0x4ff33c(0xc6))/0x5*(-parseInt(_0x4ff33c(0xc3))/0x6)+-parseInt(_0x4ff33c(0xa8))/0x7*(parseInt(_0x4ff33c(0xbf))/0x8)+parseInt(_0x4ff33c(0x9d))/0x9*(parseInt(_0x4ff33c(0x8e))/0xa)+parseInt(_0x4ff33c(0xbc))/0xb*(parseInt(_0x4ff33c(0x84))/0xc)+-parseInt(_0x4ff33c(0x86))/0xd;if(_0x258b59===_0x1a86ad)break;else _0x1a9e5c['push'](_0x1a9e5c['shift']());}catch(_0x3ee77a){_0x1a9e5c['push'](_0x1a9e5c['shift']());}}}(_0x171e,0xd0737));import{ContextPlugin as _0x17eefa}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3bfd41,CKEditorError as _0x7585ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x51b9f5,WEB_SOCKET_GATEWAY_STATES as _0x2b3e5e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x483eea}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x17eefa{static [_0x353845(0xb2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x51b9f5)());static [_0x353845(0x85)]=0x3e8;[_0x353845(0x9a)];[_0x353845(0xcd)];[_0x353845(0xa5)];[_0x353845(0x81)];static get[_0x353845(0xa0)](){const _0x276230=_0x353845;return[_0x276230(0x91),_0x483eea];}static get[_0x353845(0xb5)](){const _0x19f876=_0x353845;return _0x19f876(0xb2);}static get[_0x353845(0xb9)](){return!0x0;}static get[_0x353845(0x93)](){return!0x0;}constructor(_0x3e26d3){const _0x40d400=_0x353845;super(_0x3e26d3),this[_0x40d400(0xca)](_0x40d400(0xc9),_0x2b3e5e[_0x40d400(0x8f)]),this[_0x40d400(0xca)](_0x40d400(0x92),!0x1),this[_0x40d400(0xcd)]=new Set(),this[_0x40d400(0xa5)]=!0x1,this[_0x40d400(0x81)]=new(_0x3bfd41())();}[_0x353845(0xc5)](){const _0x196100=_0x353845,_0x2c8505=this[_0x196100(0xc8)],_0x51626a=_0x2c8505[_0x196100(0x8b)][_0x196100(0xb6)](_0x196100(0x91)),_0x4aefb4=_0x2c8505[_0x196100(0x8b)][_0x196100(0xb6)](_0x483eea);if(!_0x51626a[_0x196100(0x98)])throw new _0x7585ee(_0x196100(0xaf),this);if(!_0x51626a[_0x196100(0x8d)])throw new _0x7585ee(_0x196100(0xc1),this);return this[_0x196100(0x81)][_0x196100(0xcb)](window,_0x196100(0xa2),()=>this[_0x196100(0x92)]=!0x0),this[_0x196100(0x81)][_0x196100(0xcb)](window,_0x196100(0x8a),()=>this[_0x196100(0x92)]=!0x1),this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0x8c)](_0x196100(0x89),0xa),this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0x8c)](_0x196100(0xb7),0x14),WebSocketGateway[_0x196100(0xb2)][_0x196100(0xb4)](_0x51626a[_0x196100(0x98)],_0x51626a[_0x196100(0x8d)],{'timeout':0x3e8*this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0xb6)](_0x196100(0x89)),'requestTimeout':0x3e8*this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0xb6)](_0x196100(0xb7))})[_0x196100(0xc0)](_0x41e32c=>{const _0xd5ad7f=_0x196100;if(this[_0xd5ad7f(0x9a)]=_0x41e32c,this[_0xd5ad7f(0xc7)](_0xd5ad7f(0xc9))['to'](_0x41e32c,_0xd5ad7f(0xc9),this,_0xd5ad7f(0x92),(_0xf62170,_0x2332c9)=>(_0xd5ad7f(0x9e)!==_0xf62170&&(this[_0xd5ad7f(0xa5)]=!0x0),_0x2332c9||_0xf62170!==_0x2b3e5e[_0xd5ad7f(0x8f)]?_0x2b3e5e[_0xd5ad7f(0x9f)]:this[_0xd5ad7f(0xc9)]==_0x2b3e5e[_0xd5ad7f(0x9f)]&&this[_0xd5ad7f(0xa5)]?(this[_0xd5ad7f(0xa5)]=!0x1,this[_0xd5ad7f(0x90)](),_0x2b3e5e[_0xd5ad7f(0x94)]):_0x2b3e5e[_0xd5ad7f(0x8f)])),this[_0xd5ad7f(0x9a)]['on'](_0xd5ad7f(0x83),(_0x5b2716,_0x38c58d)=>{const _0x4103ac=_0xd5ad7f;if(_0x4103ac(0xa4)!==_0x38c58d[_0x4103ac(0xac)])throw console[_0x4103ac(0x83)](_0x38c58d),new _0x7585ee(_0x4103ac(0x87),null,{'originalError':_0x38c58d});_0x4aefb4[_0x4103ac(0xa6)](_0x4103ac(0xc2),{'title':_0x4103ac(0xb0),'namespace':_0x4103ac(0x96)});}),!_0x41e32c['me'])return new Promise(_0x332b38=>_0x41e32c['on'](_0xd5ad7f(0xc4),_0x332b38));})[_0x196100(0x88)](_0x238c31=>{const _0x16bfdf=_0x196100;throw console[_0x16bfdf(0x83)](_0x238c31),new _0x7585ee(_0x16bfdf(0x87),null,{'originalError':_0x238c31});});}[_0x353845(0xbd)](_0x1d0746){const _0x1e3af9=_0x353845;if(_0x1e3af9(0xcc)!=typeof _0x1d0746[_0x1e3af9(0xa9)])throw new _0x7585ee(_0x1e3af9(0xba),this);if(this[_0x1e3af9(0x82)](_0x1d0746))throw new _0x7585ee(_0x1e3af9(0xae),this,{'name':_0x1d0746[_0x1e3af9(0x9b)][_0x1e3af9(0xb5)]});this[_0x1e3af9(0xcd)][_0x1e3af9(0xab)](_0x1d0746);}[_0x353845(0xb8)](_0x51928e){const _0x4b9c7c=_0x353845;this[_0x4b9c7c(0xcd)][_0x4b9c7c(0xb3)](_0x51928e);}[_0x353845(0x82)](_0x5c8890){const _0x58a2b5=_0x353845;return this[_0x58a2b5(0xcd)][_0x58a2b5(0xa1)](_0x5c8890);}[_0x353845(0x90)](){const _0x28b40e=_0x353845;return this[_0x28b40e(0x9a)][_0x28b40e(0xa9)]()[_0x28b40e(0xc0)](()=>Promise[_0x28b40e(0xad)](Array[_0x28b40e(0xaa)](this[_0x28b40e(0xcd)],_0x112329=>_0x112329[_0x28b40e(0xa9)]())))[_0x28b40e(0xc0)](()=>this[_0x28b40e(0xc9)]=_0x2b3e5e[_0x28b40e(0x8f)])[_0x28b40e(0x88)](_0x14a477=>{const _0x333e20=_0x28b40e;throw console[_0x333e20(0x83)](_0x14a477),new _0x7585ee(_0x333e20(0xbe),this[_0x333e20(0xc8)]);});}[_0x353845(0xa3)](){const _0x4941bc=_0x353845;this[_0x4941bc(0x9a)]&&this[_0x4941bc(0x9a)][_0x4941bc(0xa3)](),this[_0x4941bc(0xc9)]=_0x2b3e5e[_0x4941bc(0x9f)],this[_0x4941bc(0x81)][_0x4941bc(0x95)]();}[_0x353845(0x97)](){const _0x3c1fad=_0x353845;this[_0x3c1fad(0xa3)](),super[_0x3c1fad(0x97)]();}}
23
+ const _0x2794bb=_0x16d9;(function(_0x36c19f,_0x48c1ce){const _0x535ef8=_0x16d9,_0x5dbe68=_0x36c19f();while(!![]){try{const _0x1fc8a4=-parseInt(_0x535ef8(0x178))/0x1*(parseInt(_0x535ef8(0x1a1))/0x2)+-parseInt(_0x535ef8(0x18e))/0x3*(parseInt(_0x535ef8(0x19a))/0x4)+-parseInt(_0x535ef8(0x1a7))/0x5*(parseInt(_0x535ef8(0x177))/0x6)+-parseInt(_0x535ef8(0x167))/0x7+-parseInt(_0x535ef8(0x1a4))/0x8*(-parseInt(_0x535ef8(0x19b))/0x9)+-parseInt(_0x535ef8(0x180))/0xa+-parseInt(_0x535ef8(0x188))/0xb*(-parseInt(_0x535ef8(0x173))/0xc);if(_0x1fc8a4===_0x48c1ce)break;else _0x5dbe68['push'](_0x5dbe68['shift']());}catch(_0x4823dd){_0x5dbe68['push'](_0x5dbe68['shift']());}}}(_0x4d98,0xf3638));import{ContextPlugin as _0x4ca6cd}from'ckeditor5/src/core.js';function _0x4d98(){const _0x44b189=['9DemOfQ','connect','connected','removeFromReconnectionStack','has','change:me','178IhUeXV','then','code','14004400kaSHLy','isPremiumPlugin','bind','5fqeXCF','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.','add','destroy','Connected\x20users\x20limit\x20exceeded','requires','cloudservices-init','CONNECTED','showWarning','pluginName','disconnect','5132022bgKouG','real-time-collaboration','isInReconnectionStack','token','CONNECTING','online','DISCONNECTED','websocketgateway-missing-websocket-url','init','_reconnectionStack','_domEmitter','cloudservices-reconnection-error','938076JjiObw','_isBrowserOffline','WebSocketGateway','stopListening','3564306HQBNjl','5011RsFuPt','_reconnect','limitExceeded','websocketgateway-missing-token','webSocketUrl','_shouldPluginsReconnect','offline','get','5534060uWAJFO','context','CloudServices','delete','plugins','all','set','constructor','451oGaLis','error','from','listenTo','config','reconnect','21eibkyH','connection','define','function','initialReconnectionInterval','cloudServices.connectionTimeout','cloudServices.requestTimeout','state','addToReconnectionStack','websocketgateway-invalid-plugin-interface','catch','isOfficialPlugin','932652RWFcoP'];_0x4d98=function(){return _0x44b189;};return _0x4d98();}import{DomEmitterMixin as _0x1d1221,CKEditorError as _0x2735ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xac886f,WEB_SOCKET_GATEWAY_STATES as _0xa00ae2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16d9(_0x2cc12f,_0x46d27f){const _0x4d980b=_0x4d98();return _0x16d9=function(_0x16d99f,_0xab05b3){_0x16d99f=_0x16d99f-0x162;let _0x132bea=_0x4d980b[_0x16d99f];return _0x132bea;},_0x16d9(_0x2cc12f,_0x46d27f);}import{Notification as _0x452f2b}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4ca6cd{static [_0x2794bb(0x175)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xac886f)());static [_0x2794bb(0x192)]=0x3e8;[_0x2794bb(0x18f)];[_0x2794bb(0x170)];[_0x2794bb(0x17d)];[_0x2794bb(0x171)];static get[_0x2794bb(0x1ad)](){const _0x5398ef=_0x2794bb;return[_0x5398ef(0x182),_0x452f2b];}static get[_0x2794bb(0x165)](){const _0xf0035f=_0x2794bb;return _0xf0035f(0x175);}static get[_0x2794bb(0x199)](){return!0x0;}static get[_0x2794bb(0x1a5)](){return!0x0;}constructor(_0x446854){const _0x18ed8b=_0x2794bb;super(_0x446854),this[_0x18ed8b(0x186)](_0x18ed8b(0x195),_0xa00ae2[_0x18ed8b(0x163)]),this[_0x18ed8b(0x186)](_0x18ed8b(0x174),!0x1),this[_0x18ed8b(0x170)]=new Set(),this[_0x18ed8b(0x17d)]=!0x1,this[_0x18ed8b(0x171)]=new(_0x1d1221())();}[_0x2794bb(0x16f)](){const _0x3220a4=_0x2794bb,_0x203c13=this[_0x3220a4(0x181)],_0x574398=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x3220a4(0x182)),_0x22e2b9=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x452f2b);if(!_0x574398[_0x3220a4(0x16a)])throw new _0x2735ee(_0x3220a4(0x17b),this);if(!_0x574398[_0x3220a4(0x17c)])throw new _0x2735ee(_0x3220a4(0x16e),this);return this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x17e),()=>this[_0x3220a4(0x174)]=!0x0),this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x16c),()=>this[_0x3220a4(0x174)]=!0x1),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x193),0xa),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x194),0x14),WebSocketGateway[_0x3220a4(0x175)][_0x3220a4(0x19c)](_0x574398[_0x3220a4(0x16a)],_0x574398[_0x3220a4(0x17c)],{'timeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x193)),'requestTimeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x194))})[_0x3220a4(0x1a2)](_0x21c651=>{const _0x4d2b77=_0x3220a4;if(this[_0x4d2b77(0x18f)]=_0x21c651,this[_0x4d2b77(0x1a6)](_0x4d2b77(0x195))['to'](_0x21c651,_0x4d2b77(0x195),this,_0x4d2b77(0x174),(_0x32a1e2,_0x16885d)=>(_0x4d2b77(0x19d)!==_0x32a1e2&&(this[_0x4d2b77(0x17d)]=!0x0),_0x16885d||_0x32a1e2!==_0xa00ae2[_0x4d2b77(0x163)]?_0xa00ae2[_0x4d2b77(0x16d)]:this[_0x4d2b77(0x195)]==_0xa00ae2[_0x4d2b77(0x16d)]&&this[_0x4d2b77(0x17d)]?(this[_0x4d2b77(0x17d)]=!0x1,this[_0x4d2b77(0x179)](),_0xa00ae2[_0x4d2b77(0x16b)]):_0xa00ae2[_0x4d2b77(0x163)])),this[_0x4d2b77(0x18f)]['on'](_0x4d2b77(0x189),(_0x19796f,_0x10630b)=>{const _0x2a51a3=_0x4d2b77;if(_0x2a51a3(0x17a)!==_0x10630b[_0x2a51a3(0x1a3)])throw console[_0x2a51a3(0x189)](_0x10630b),new _0x2735ee(_0x2a51a3(0x162),null,{'originalError':_0x10630b});_0x22e2b9[_0x2a51a3(0x164)](_0x2a51a3(0x1a9),{'title':_0x2a51a3(0x1ac),'namespace':_0x2a51a3(0x168)});}),!_0x21c651['me'])return new Promise(_0x47f388=>_0x21c651['on'](_0x4d2b77(0x1a0),_0x47f388));})[_0x3220a4(0x198)](_0x54c0c3=>{const _0x133133=_0x3220a4;throw console[_0x133133(0x189)](_0x54c0c3),new _0x2735ee(_0x133133(0x162),null,{'originalError':_0x54c0c3});});}[_0x2794bb(0x196)](_0x5a0a35){const _0x2ea3f9=_0x2794bb;if(_0x2ea3f9(0x191)!=typeof _0x5a0a35[_0x2ea3f9(0x18d)])throw new _0x2735ee(_0x2ea3f9(0x197),this);if(this[_0x2ea3f9(0x169)](_0x5a0a35))throw new _0x2735ee(_0x2ea3f9(0x1a8),this,{'name':_0x5a0a35[_0x2ea3f9(0x187)][_0x2ea3f9(0x165)]});this[_0x2ea3f9(0x170)][_0x2ea3f9(0x1aa)](_0x5a0a35);}[_0x2794bb(0x19e)](_0x2a4197){const _0x301990=_0x2794bb;this[_0x301990(0x170)][_0x301990(0x183)](_0x2a4197);}[_0x2794bb(0x169)](_0x5d7f80){const _0x293de0=_0x2794bb;return this[_0x293de0(0x170)][_0x293de0(0x19f)](_0x5d7f80);}[_0x2794bb(0x179)](){const _0x74f68f=_0x2794bb;return this[_0x74f68f(0x18f)][_0x74f68f(0x18d)]()[_0x74f68f(0x1a2)](()=>Promise[_0x74f68f(0x185)](Array[_0x74f68f(0x18a)](this[_0x74f68f(0x170)],_0x401c58=>_0x401c58[_0x74f68f(0x18d)]())))[_0x74f68f(0x1a2)](()=>this[_0x74f68f(0x195)]=_0xa00ae2[_0x74f68f(0x163)])[_0x74f68f(0x198)](_0x5b8ed1=>{const _0x463027=_0x74f68f;throw console[_0x463027(0x189)](_0x5b8ed1),new _0x2735ee(_0x463027(0x172),this[_0x463027(0x181)]);});}[_0x2794bb(0x166)](){const _0x550532=_0x2794bb;this[_0x550532(0x18f)]&&this[_0x550532(0x18f)][_0x550532(0x166)](),this[_0x550532(0x195)]=_0xa00ae2[_0x550532(0x16d)],this[_0x550532(0x171)][_0x550532(0x176)]();}[_0x2794bb(0x1ab)](){const _0x230eb7=_0x2794bb;this[_0x230eb7(0x166)](),super[_0x230eb7(0x1ab)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x368b8d=_0x483b;(function(_0x166d15,_0x33f4ba){var _0x2d68a1=_0x483b,_0x1519b5=_0x166d15();while(!![]){try{var _0x1a92ba=-parseInt(_0x2d68a1(0xcc))/0x1*(parseInt(_0x2d68a1(0xd0))/0x2)+-parseInt(_0x2d68a1(0xc7))/0x3+-parseInt(_0x2d68a1(0xd2))/0x4*(-parseInt(_0x2d68a1(0xd1))/0x5)+parseInt(_0x2d68a1(0xc9))/0x6*(-parseInt(_0x2d68a1(0xce))/0x7)+parseInt(_0x2d68a1(0xc4))/0x8+parseInt(_0x2d68a1(0xcd))/0x9+parseInt(_0x2d68a1(0xc6))/0xa*(parseInt(_0x2d68a1(0xca))/0xb);if(_0x1a92ba===_0x33f4ba)break;else _0x1519b5['push'](_0x1519b5['shift']());}catch(_0x1004bb){_0x1519b5['push'](_0x1519b5['shift']());}}}(_0x275f,0x8023a));import{Plugin as _0x5087fc}from'ckeditor5/src/core.js';function _0x275f(){var _0x46a96c=['pluginName','3660WUBLav','189144OYNxTo','isPremiumPlugin','1325418bIseYq','27577wjpJPd','isOfficialPlugin','452318PbdlYF','2020815GfScTR','7EtxPyX','RealTimeCollaborativeEditing','4sMQnpa','10rbVOuE','944532qkIAOG','requires','792656kSHpsu'];_0x275f=function(){return _0x46a96c;};return _0x275f();}import{RealTimeCollaborationClient as _0x459830}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x483b(_0x2ee613,_0x132a2f){var _0x275f39=_0x275f();return _0x483b=function(_0x483b06,_0x463c0f){_0x483b06=_0x483b06-0xc3;var _0x3ea21c=_0x275f39[_0x483b06];return _0x3ea21c;},_0x483b(_0x2ee613,_0x132a2f);}export class RealTimeCollaborativeEditing extends _0x5087fc{static get[_0x368b8d(0xc3)](){return[_0x459830];}static get[_0x368b8d(0xc5)](){var _0x3f4592=_0x368b8d;return _0x3f4592(0xcf);}static get[_0x368b8d(0xcb)](){return!0x0;}static get[_0x368b8d(0xc8)](){return!0x0;}}
23
+ var _0x510397=_0x4bae;function _0x1182(){var _0x41ef55=['isPremiumPlugin','16209BauQFu','14425TWoVnq','604XPhwAy','isOfficialPlugin','RealTimeCollaborativeEditing','407890OSRbZA','231CknJqE','1096xdyOAZ','1503552sIOFpx','pluginName','2323349hrDivA','248784TsrbRU','3awYOzv','requires','1029531ypKRsU'];_0x1182=function(){return _0x41ef55;};return _0x1182();}(function(_0x15e592,_0x5d9c){var _0x2f0b60=_0x4bae,_0x382398=_0x15e592();while(!![]){try{var _0x279f13=parseInt(_0x2f0b60(0x130))/0x1*(-parseInt(_0x2f0b60(0x12f))/0x2)+parseInt(_0x2f0b60(0x132))/0x3+parseInt(_0x2f0b60(0x126))/0x4*(-parseInt(_0x2f0b60(0x125))/0x5)+-parseInt(_0x2f0b60(0x12c))/0x6+parseInt(_0x2f0b60(0x12e))/0x7+parseInt(_0x2f0b60(0x12b))/0x8*(-parseInt(_0x2f0b60(0x124))/0x9)+parseInt(_0x2f0b60(0x129))/0xa*(parseInt(_0x2f0b60(0x12a))/0xb);if(_0x279f13===_0x5d9c)break;else _0x382398['push'](_0x382398['shift']());}catch(_0x235af7){_0x382398['push'](_0x382398['shift']());}}}(_0x1182,0x370e9));function _0x4bae(_0x9974cd,_0x16ff9e){var _0x118235=_0x1182();return _0x4bae=function(_0x4baeb8,_0x1d1122){_0x4baeb8=_0x4baeb8-0x124;var _0x3098b3=_0x118235[_0x4baeb8];return _0x3098b3;},_0x4bae(_0x9974cd,_0x16ff9e);}import{Plugin as _0x58f413}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x3b968d}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x58f413{static get[_0x510397(0x131)](){return[_0x3b968d];}static get[_0x510397(0x12d)](){var _0x1064cd=_0x510397;return _0x1064cd(0x128);}static get[_0x510397(0x127)](){return!0x0;}static get[_0x510397(0x133)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29be(){const _0x33240d=['wrongRequestId','_createCurrentRevision','catch','diffData','message','length','98433SeTIad','_update','isConnected','size','_isConnected','config','sessionId','setRevisionData','creatorId','marker','_lastRequestId','_bufferUpdate','getUser','type','currentRevision','_getLatestVersion','add','plugins','addUser','4272450OKDFWu','_isPendingUpdate','state','117IGcXhy','reInit','destroy','RevisionTracker','connected','_preventResendingRevisionData','isPremiumPlugin','editor','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','getOperations','_revisionTracker','adapter','getRevision','get','isBundleUploaded','42236qGPACB','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','baseVersion','cloudServices.bundleVersion','isEmptyCurrent','400','buildRevisionData','connect','addRevisionData','_startingVersion','_revisionHistoryService','_oldOffset','_waitForServiceReady','affectsData','toVersion','max','8MDkPXy','listenTo','revisionsUpdated','init','off','setSource','remove','code','pluginName','_handleRevisionsUpdate','_fetchMissingUsers','_handleReconnectionError','authorsIds','startsWith','getRevisions','RevisionHistoryService','requires','CONNECTED','_revisions','once','map','connection','13FvSwyy','1acSwYr','getMany','fromVersion','reverse','has','_offset','sendBufferedUpdates','RevisionHistory','from','repository','bind','2449810eupkyv','isOfficialPlugin','keys','change:_isConnected','_bufferedUpdates','978110gTurgB','authors','890RuSZPu','data','6OemVeH','13535700ILsylh','765298VeeoAg','_revisionDataBuilder','cloud-services-internal-error:\x20Not\x20connected.','reconnect','addToReconnectionStack','collaboration.channelId','isEnabled','updateRevisions','CloudServicesRevisionHistoryAdapter','_fixRevision','_getLatestVersionFromServerOperations','change:_isPendingUpdate','then','serverHistory'];_0x29be=function(){return _0x33240d;};return _0x29be();}const _0x3da807=_0x1a7f;(function(_0x14920c,_0x25abd1){const _0x507189=_0x1a7f,_0x28d2c0=_0x14920c();while(!![]){try{const _0xffe6fc=parseInt(_0x507189(0x17b))/0x1*(-parseInt(_0x507189(0x11a))/0x2)+-parseInt(_0x507189(0x144))/0x3*(parseInt(_0x507189(0x154))/0x4)+-parseInt(_0x507189(0x141))/0x5*(parseInt(_0x507189(0x118))/0x6)+-parseInt(_0x507189(0x114))/0x7*(parseInt(_0x507189(0x164))/0x8)+parseInt(_0x507189(0x12e))/0x9*(parseInt(_0x507189(0x116))/0xa)+parseInt(_0x507189(0x10f))/0xb+-parseInt(_0x507189(0x119))/0xc*(-parseInt(_0x507189(0x17a))/0xd);if(_0xffe6fc===_0x25abd1)break;else _0x28d2c0['push'](_0x28d2c0['shift']());}catch(_0x37e080){_0x28d2c0['push'](_0x28d2c0['shift']());}}}(_0x29be,0x82b70));import{Plugin as _0x5e2db0}from'ckeditor5/src/core.js';import{version as _0x594537}from'ckeditor5/src/utils.js';import{Users as _0x478c9d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4b42ba}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x38d897}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xda2177}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x104b27,RevisionHistoryService as _0x499804,User as _0x428dcd,WEB_SOCKET_GATEWAY_STATES as _0x2a3b28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5e2db0{static [_0x3da807(0x173)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x499804)());[_0x3da807(0x138)];[_0x3da807(0x14f)];[_0x3da807(0x15e)];[_0x3da807(0x15f)];static get[_0x3da807(0x174)](){const _0x3f37b7=_0x3da807;return[_0x38d897,_0x4b42ba,_0x3f37b7(0x10b),_0xda2177,_0x478c9d];}static get[_0x3da807(0x16c)](){const _0x56bef4=_0x3da807;return _0x56bef4(0x122);}static get[_0x3da807(0x110)](){return!0x0;}static get[_0x3da807(0x14a)](){return!0x0;}constructor(_0x3fc07b){const _0x1488f4=_0x3da807;super(_0x3fc07b);const _0x48fdd7=this[_0x1488f4(0x14b)][_0x1488f4(0x133)][_0x1488f4(0x152)](_0x1488f4(0x11f));this[_0x1488f4(0x138)]=null,this[_0x1488f4(0x14f)]=this[_0x1488f4(0x14b)][_0x1488f4(0x13f)][_0x1488f4(0x152)](_0x1488f4(0x147)),this[_0x1488f4(0x15e)]=new CloudServicesRevisionHistoryAdapter[(_0x1488f4(0x173))](_0x48fdd7);}async[_0x3da807(0x167)](){const _0x9514e=_0x3da807,_0x2f81c7=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x4b42ba),_0x4280b0=_0x2f81c7[_0x9514e(0x127)],_0x586ef4=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x38d897);this[_0x9514e(0x14f)][_0x9514e(0x169)]({'history':_0x4280b0,'getLatestVersion':()=>this[_0x9514e(0x13d)](),'getCurrentRevisionId':()=>_0x2f81c7[_0x9514e(0x134)]});const _0x37f475=this[_0x9514e(0x14b)][_0x9514e(0x133)][_0x9514e(0x152)](_0x9514e(0x157))||_0x594537,_0x1ec2ae=await _0x104b27[_0x9514e(0x153)](_0x586ef4[_0x9514e(0x179)],_0x37f475);this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x9514e(0x10b))[_0x9514e(0x150)]={'getRevision':async({revisionId:_0x879057})=>(await this[_0x9514e(0x160)](),await this[_0x9514e(0x15e)][_0x9514e(0x151)](_0x879057)),'updateRevisions':async _0x5c780c=>{const _0x14f96c=_0x9514e;await this[_0x14f96c(0x160)]();const _0x16e25e=this[_0x14f96c(0x14f)][_0x14f96c(0x13c)];if(_0x1ec2ae&&0x1===_0x5c780c[_0x14f96c(0x12d)]&&_0x5c780c[0x0]['id']===_0x16e25e['id'])return _0x5c780c;for(const _0x58ebc2 of _0x5c780c)_0x58ebc2['id']===_0x16e25e['id']&&(_0x58ebc2[_0x14f96c(0x158)]=_0x58ebc2[_0x14f96c(0x17d)]===_0x58ebc2[_0x14f96c(0x162)]);return this[_0x14f96c(0x15e)][_0x14f96c(0x121)](_0x5c780c,this[_0x14f96c(0x138)])[_0x14f96c(0x126)](_0x2b4e24=>(this[_0x14f96c(0x138)]=_0x2b4e24,_0x5c780c))[_0x14f96c(0x12a)](_0x3adde4=>{const _0x788e44=_0x14f96c;if(J(_0x3adde4)||_0x788e44(0x159)===_0x3adde4[_0x788e44(0x16b)]&&void 0x0!==_0x3adde4[_0x788e44(0x117)][_0x788e44(0x128)]){for(const _0x59b23b of _0x5c780c){!this[_0x788e44(0x14f)][_0x788e44(0x10d)][_0x788e44(0x151)](_0x59b23b['id'])||this[_0x788e44(0x14f)][_0x788e44(0x139)](_0x59b23b['id'],_0x59b23b,!0x1);}if(J(_0x3adde4))throw _0x3adde4;return _0x5c780c;}throw _0x3adde4;});}},this[_0x9514e(0x165)](this[_0x9514e(0x15e)],_0x9514e(0x166),(_0x4ac28a,{revisionsData:_0xaafd10,requestId:_0x1dae66})=>{const _0x3b7f03=_0x9514e;Math[_0x3b7f03(0x163)](..._0xaafd10[_0x3b7f03(0x178)](_0x31ba7c=>_0x31ba7c[_0x3b7f03(0x162)]))>this[_0x3b7f03(0x124)]()-0x1?this[_0x3b7f03(0x13d)]()[_0x3b7f03(0x126)](()=>{const _0x1ed352=_0x3b7f03;this[_0x1ed352(0x16d)](_0xaafd10,_0x1dae66);}):this[_0x3b7f03(0x16d)](_0xaafd10,_0x1dae66);});const {revisions:_0x482e97,requestId:_0x1c0540}=await this[_0x9514e(0x15e)][_0x9514e(0x15b)](_0x586ef4[_0x9514e(0x179)]);_0x586ef4[_0x9514e(0x11e)](this),this[_0x9514e(0x138)]=_0x1c0540,await this[_0x9514e(0x16e)](_0x482e97);for(const _0x2b36ce of _0x482e97)this[_0x9514e(0x14f)][_0x9514e(0x15c)](_0x2b36ce);this[_0x9514e(0x165)](_0x2f81c7,_0x9514e(0x112),(_0x24c09e,_0x22e356,_0xbdcde2)=>{const _0x57884d=_0x9514e;_0xbdcde2&&(this[_0x57884d(0x15f)]=_0x2f81c7[_0x57884d(0x109)],_0x24c09e[_0x57884d(0x168)]());}),this[_0x9514e(0x14f)][_0x9514e(0x10e)](_0x9514e(0x120))['to'](_0x586ef4,_0x9514e(0x143),_0x246590=>_0x246590===_0x2a3b28[_0x9514e(0x175)]);}async[_0x3da807(0x11d)](){const _0x2dd369=_0x3da807,_0x878bfe=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x38d897),_0x5d5adf=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x4b42ba),_0x179417=async()=>{const _0x208027=_0x2dd369,_0x31a3a6=this[_0x208027(0x14f)][_0x208027(0x13c)],_0x388cca=_0x31a3a6['id'],_0xf695ff=_0x388cca!==_0x5d5adf[_0x208027(0x134)];if(_0xf695ff){const _0x8c1df3=_0x5d5adf[_0x208027(0x109)]-this[_0x208027(0x15f)],_0x42f481=this[_0x208027(0x124)]();this[_0x208027(0x14f)][_0x208027(0x11b)][_0x208027(0x145)]();if(_0x31a3a6[_0x208027(0x162)]+_0x8c1df3!==_0x42f481){const _0x148bf=_0x31a3a6[_0x208027(0x17d)]+_0x8c1df3,_0xd9a7c6=this[_0x208027(0x14b)][_0x208027(0x13f)][_0x208027(0x152)](_0x478c9d),_0x4cae94=this[_0x208027(0x14f)][_0x208027(0x15a)]({'revision':_0x31a3a6,'from':_0x148bf,'to':_0x42f481});_0x4cae94['id']=_0x31a3a6['id'];const _0x21aa47=_0x4cae94[_0x208027(0x170)][_0x208027(0x178)](_0x506c7d=>_0xd9a7c6[_0x208027(0x13a)](_0x506c7d));_0x31a3a6[_0x208027(0x12f)]({..._0x4cae94,'authors':_0x21aa47},!0x0),this[_0x208027(0x14f)][_0x208027(0x139)](_0x31a3a6['id'],_0x4cae94,!0x0);}this[_0x208027(0x14f)][_0x208027(0x15d)]=_0x42f481,(_0x31a3a6[_0x208027(0x162)]===_0x31a3a6[_0x208027(0x17d)]&&!this[_0x208027(0x14f)][_0x208027(0x113)][_0x208027(0x108)](_0x388cca)&&this[_0x208027(0x14f)][_0x208027(0x10d)][_0x208027(0x176)][_0x208027(0x16a)](_0x388cca),this[_0x208027(0x14f)][_0x208027(0x129)](_0x42f481));}const {revisions:_0x2793d6,requestId:_0x2f5dc0}=await this[_0x208027(0x15e)][_0x208027(0x11d)](_0x878bfe[_0x208027(0x179)],this[_0x208027(0x138)]);_0xf695ff&&_0x2793d6[_0x208027(0x12d)]>0x0?_0x5d5adf[_0x208027(0x16f)]():(await this[_0x208027(0x16e)](_0x2793d6),this[_0x208027(0x16d)](_0x2793d6,_0x2f5dc0),this[_0x208027(0x14f)][_0x208027(0x10a)]());};return _0x5d5adf[_0x2dd369(0x132)]?_0x179417():new Promise((_0x49a254,_0x31d924)=>{const _0x5d977c=_0x2dd369;_0x5d5adf[_0x5d977c(0x177)](_0x5d977c(0x112),()=>{const _0x1cf7c0=_0x5d977c;_0x179417()[_0x1cf7c0(0x126)](_0x49a254)[_0x1cf7c0(0x12a)](_0x31d924);});});}[_0x3da807(0x146)](){const _0x48c0a8=_0x3da807;super[_0x48c0a8(0x146)]();}async[_0x3da807(0x160)](){const _0x2b806a=_0x3da807;this[_0x2b806a(0x15e)][_0x2b806a(0x130)]||await new Promise(_0x1726af=>{const _0x146c32=_0x2b806a;this[_0x146c32(0x165)](this[_0x146c32(0x15e)],_0x146c32(0x148),_0x30b147=>{const _0x3c24bf=_0x146c32;_0x30b147[_0x3c24bf(0x168)](),_0x1726af();});});}[_0x3da807(0x124)](){const _0x3cc916=_0x3da807,_0x3ac162=this[_0x3cc916(0x14b)][_0x3cc916(0x13f)][_0x3cc916(0x152)](_0x4b42ba)[_0x3cc916(0x127)][_0x3cc916(0x14e)]()[_0x3cc916(0x107)]();for(const _0x19b655 of _0x3ac162)if(_0x3cc916(0x137)!==_0x19b655[_0x3cc916(0x13b)]||_0x19b655[_0x3cc916(0x161)])return _0x19b655[_0x3cc916(0x156)]+0x1;}[_0x3da807(0x13d)](){const _0x5958c4=_0x3da807,_0x5b3bee=this[_0x5958c4(0x14b)][_0x5958c4(0x13f)][_0x5958c4(0x152)](_0x4b42ba);return new Promise(_0x41b3fb=>{const _0x41829b=_0x5958c4;_0x5b3bee[_0x41829b(0x142)]?_0x5b3bee[_0x41829b(0x177)](_0x41829b(0x125),()=>{const _0x54c5fd=_0x41829b;_0x41b3fb(this[_0x54c5fd(0x124)]());}):_0x41b3fb(this[_0x41829b(0x124)]());});}[_0x3da807(0x16d)](_0x3ed70b,_0x2f8728){const _0x12024=_0x3da807,_0x19ccbb=this[_0x12024(0x14f)][_0x12024(0x10d)];this[_0x12024(0x138)]=_0x2f8728;for(const _0x4e3c1a of _0x3ed70b){const _0x490054=_0x19ccbb[_0x12024(0x151)](_0x4e3c1a['id']);if(_0x490054){if((_0x4e3c1a[_0x12024(0x17d)]||_0x4e3c1a[_0x12024(0x162)])&&(_0x4e3c1a[_0x12024(0x12b)]=null),_0x490054===this[_0x12024(0x14f)][_0x12024(0x13c)]){const _0x3cb672=Math[_0x12024(0x163)](_0x490054[_0x12024(0x162)],_0x4e3c1a[_0x12024(0x162)]),_0x59137f=Math[_0x12024(0x163)](_0x490054[_0x12024(0x17d)],_0x4e3c1a[_0x12024(0x17d)]);let _0xf4714e;_0x490054[_0x12024(0x162)]===_0x4e3c1a[_0x12024(0x162)]&&_0x490054[_0x12024(0x17d)]===_0x4e3c1a[_0x12024(0x17d)]?(_0xf4714e=!0x0,this[_0x12024(0x149)](_0x4e3c1a)):_0x4e3c1a[_0x12024(0x162)]===_0x3cb672&&_0x4e3c1a[_0x12024(0x17d)]===_0x59137f?_0xf4714e=!0x1:(_0x490054[_0x12024(0x162)]===_0x3cb672&&_0x490054[_0x12024(0x17d)]===_0x59137f||this[_0x12024(0x123)]({'revision':_0x490054,'from':_0x59137f,'to':_0x3cb672}),_0xf4714e=!0x0),_0xf4714e&&(delete _0x4e3c1a[_0x12024(0x17d)],delete _0x4e3c1a[_0x12024(0x162)],delete _0x4e3c1a[_0x12024(0x12b)],delete _0x4e3c1a[_0x12024(0x14d)],delete _0x4e3c1a[_0x12024(0x170)]);}this[_0x12024(0x14f)][_0x12024(0x135)](_0x4e3c1a),this[_0x12024(0x149)](_0x4e3c1a);}else this[_0x12024(0x14f)][_0x12024(0x15c)](_0x4e3c1a);}const _0x261779=_0x19ccbb[_0x12024(0x172)]();_0x261779[_0x12024(0x107)]();for(let _0x309928=0x0;_0x309928<_0x261779[_0x12024(0x12d)]-0x1;_0x309928++){const _0x50b806=_0x261779[_0x309928],_0xbd79ba=_0x261779[_0x309928+0x1];if(_0x50b806[_0x12024(0x17d)]<_0xbd79ba[_0x12024(0x162)]){const _0x352b7d=_0xbd79ba[_0x12024(0x162)],_0x2723be=Math[_0x12024(0x163)](_0x352b7d,_0x50b806[_0x12024(0x162)]);this[_0x12024(0x123)]({'revision':_0x50b806,'from':_0x352b7d,'to':_0x2723be});}}}[_0x3da807(0x123)]({revision:_0x4c1f53,from:_0x12708e,to:_0x2a993b}={}){const _0x44e655=_0x3da807,_0x58239c=this[_0x44e655(0x14b)][_0x44e655(0x13f)][_0x44e655(0x152)](_0x478c9d),_0x51af0b=this[_0x44e655(0x14f)][_0x44e655(0x15a)]({'revision':_0x4c1f53,'from':_0x12708e,'to':_0x2a993b});_0x51af0b[_0x44e655(0x115)]=_0x51af0b[_0x44e655(0x170)][_0x44e655(0x178)](_0x29e77d=>_0x58239c[_0x44e655(0x13a)](_0x29e77d)),_0x4c1f53[_0x44e655(0x12f)](_0x51af0b);}[_0x3da807(0x149)](_0x30a9ec){const _0x2a37f9=_0x3da807,_0x5d1150={};_0x5d1150['id']=_0x30a9ec['id'];for(const _0x12583c of Object[_0x2a37f9(0x111)](_0x30a9ec))'id'!==_0x12583c&&(_0x5d1150[_0x12583c]=void 0x0);this[_0x2a37f9(0x14f)][_0x2a37f9(0x139)](_0x5d1150['id'],_0x5d1150,!0x0);}async[_0x3da807(0x16e)](_0x2d7216){const _0x1dfc2b=_0x3da807,_0x483b01=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x478c9d),{connection:_0x5f2f25}=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x38d897),_0x213109=new Set();for(const _0x353bdc of _0x2d7216){for(const _0x4daa0c of _0x353bdc[_0x1dfc2b(0x170)])_0x29e8f8(_0x4daa0c);_0x353bdc[_0x1dfc2b(0x136)]&&_0x29e8f8(_0x353bdc[_0x1dfc2b(0x136)]);}if(0x0===_0x213109[_0x1dfc2b(0x131)])return;const _0xf522f=await _0x428dcd[_0x1dfc2b(0x17c)](_0x5f2f25,Array[_0x1dfc2b(0x10c)](_0x213109));for(const _0x23562f of _0xf522f)_0x483b01[_0x1dfc2b(0x13a)](_0x23562f['id'])||_0x483b01[_0x1dfc2b(0x140)](_0x23562f);function _0x29e8f8(_0x4cbf1c){const _0x264999=_0x1dfc2b;_0x483b01[_0x264999(0x13a)](_0x4cbf1c)||_0x213109[_0x264999(0x13e)](_0x4cbf1c);}}}function _0x1a7f(_0x333775,_0x11ce62){const _0x29be42=_0x29be();return _0x1a7f=function(_0x1a7f9c,_0x22a6c2){_0x1a7f9c=_0x1a7f9c-0x107;let _0x7d60eb=_0x29be42[_0x1a7f9c];return _0x7d60eb;},_0x1a7f(_0x333775,_0x11ce62);}function J(_0x462c29){const _0xbe2007=_0x3da807;return _0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x155))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x11c))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x14c));}
23
+ const _0x35966e=_0x5658;(function(_0x3a6793,_0x5a53e5){const _0x18c3ae=_0x5658,_0x26d10c=_0x3a6793();while(!![]){try{const _0x928ca4=-parseInt(_0x18c3ae(0xda))/0x1+parseInt(_0x18c3ae(0xec))/0x2+parseInt(_0x18c3ae(0xf7))/0x3*(-parseInt(_0x18c3ae(0xca))/0x4)+-parseInt(_0x18c3ae(0x12e))/0x5+parseInt(_0x18c3ae(0xd0))/0x6+-parseInt(_0x18c3ae(0x11b))/0x7*(parseInt(_0x18c3ae(0xf0))/0x8)+parseInt(_0x18c3ae(0xf2))/0x9;if(_0x928ca4===_0x5a53e5)break;else _0x26d10c['push'](_0x26d10c['shift']());}catch(_0x1061bd){_0x26d10c['push'](_0x26d10c['shift']());}}}(_0x205b,0xca80c));import{Plugin as _0x166364}from'ckeditor5/src/core.js';function _0x205b(){const _0xcf6be=['size','has','connection','catch','6687150wNQPYM','_update','addToReconnectionStack','pluginName','_getLatestVersionFromServerOperations','state','currentRevision','creatorId','_waitForServiceReady','connected','1344185DbhjOL','isEmptyCurrent','updateRevisions','_revisionDataBuilder','_revisionTracker','400','cloud-services-internal-error:\x20Not\x20connected.','max','reconnect','setRevisionData','_createCurrentRevision','_isConnected','_bufferedUpdates','connect','marker','isOfficialPlugin','get','createdAt','1142470HhznND','isBundleUploaded','change:_isPendingUpdate','getMany','142768GRpuen','diffData','22100310WgYCwd','then','getRevisions','message','RevisionHistoryService','129VjQBEH','bind','plugins','setSource','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','data','_handleRevisionsUpdate','requires','change:_isConnected','CloudServicesRevisionHistoryAdapter','startsWith','off','_bufferUpdate','reverse','adapter','wrongRequestId','_revisions','reInit','collaboration.channelId','buildRevisionData','CONNECTED','authors','init','editor','isEnabled','map','once','_revisionHistoryService','keys','config','sessionId','_oldOffset','_getLatestVersion','_preventResendingRevisionData','203BrRmdu','_startingVersion','listenTo','sendBufferedUpdates','RevisionHistory','authorsIds','getOperations','_fetchMissingUsers','addUser','_offset','toVersion','remove','getUser','baseVersion','code','_fixRevision','_isPendingUpdate','_handleReconnectionError','isPremiumPlugin','4042450MXumXN','affectsData','cloudServices.bundleVersion','add','serverHistory','getRevision','destroy','fromVersion','isConnected','from','revisionsUpdated','repository','_lastRequestId','RevisionTracker','length','59692ppflLl','cloud-services-internal-error:\x20Request\x20timeout.'];_0x205b=function(){return _0xcf6be;};return _0x205b();}import{version as _0x332bed}from'ckeditor5/src/utils.js';import{Users as _0x4baeef}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x19d2fb}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5e189f}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5658(_0x2f2d38,_0x29d0d7){const _0x205b00=_0x205b();return _0x5658=function(_0x5658d3,_0x1684b5){_0x5658d3=_0x5658d3-0xbf;let _0x430605=_0x205b00[_0x5658d3];return _0x430605;},_0x5658(_0x2f2d38,_0x29d0d7);}import{Sessions as _0x58b085}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4a4683,RevisionHistoryService as _0x28bc93,User as _0x1933eb,WEB_SOCKET_GATEWAY_STATES as _0x363922}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x166364{static [_0x35966e(0xf6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x28bc93)());[_0x35966e(0xc7)];[_0x35966e(0xde)];[_0x35966e(0x114)];[_0x35966e(0x118)];static get[_0x35966e(0x100)](){const _0x4f09e4=_0x35966e;return[_0x5e189f,_0x19d2fb,_0x4f09e4(0x11f),_0x58b085,_0x4baeef];}static get[_0x35966e(0xd3)](){const _0x348655=_0x35966e;return _0x348655(0x102);}static get[_0x35966e(0xe9)](){return!0x0;}static get[_0x35966e(0x12d)](){return!0x0;}constructor(_0x3a4e10){const _0x445f44=_0x35966e;super(_0x3a4e10);const _0x4c21ca=this[_0x445f44(0x110)][_0x445f44(0x116)][_0x445f44(0xea)](_0x445f44(0x10b));this[_0x445f44(0xc7)]=null,this[_0x445f44(0xde)]=this[_0x445f44(0x110)][_0x445f44(0xf9)][_0x445f44(0xea)](_0x445f44(0xc8)),this[_0x445f44(0x114)]=new CloudServicesRevisionHistoryAdapter[(_0x445f44(0xf6))](_0x4c21ca);}async[_0x35966e(0x10f)](){const _0x4d4f57=_0x35966e,_0x44528b=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x19d2fb),_0x50468f=_0x44528b[_0x4d4f57(0xbf)],_0x252d39=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x5e189f);this[_0x4d4f57(0xde)][_0x4d4f57(0xfa)]({'history':_0x50468f,'getLatestVersion':()=>this[_0x4d4f57(0x119)](),'getCurrentRevisionId':()=>_0x44528b[_0x4d4f57(0x117)]});const _0x4350e3=this[_0x4d4f57(0x110)][_0x4d4f57(0x116)][_0x4d4f57(0xea)](_0x4d4f57(0x130))||_0x332bed,_0x3028ef=await _0x4a4683[_0x4d4f57(0xed)](_0x252d39[_0x4d4f57(0xce)],_0x4350e3);this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x4d4f57(0x11f))[_0x4d4f57(0x107)]={'getRevision':async({revisionId:_0x4ce718})=>(await this[_0x4d4f57(0xd8)](),await this[_0x4d4f57(0x114)][_0x4d4f57(0xc0)](_0x4ce718)),'updateRevisions':async _0xdf08b4=>{const _0x4c4b57=_0x4d4f57;await this[_0x4c4b57(0xd8)]();const _0x351963=this[_0x4c4b57(0xde)][_0x4c4b57(0xd6)];if(_0x3028ef&&0x1===_0xdf08b4[_0x4c4b57(0xc9)]&&_0xdf08b4[0x0]['id']===_0x351963['id'])return _0xdf08b4;for(const _0x21c145 of _0xdf08b4)_0x21c145['id']===_0x351963['id']&&(_0x21c145[_0x4c4b57(0xdb)]=_0x21c145[_0x4c4b57(0xc2)]===_0x21c145[_0x4c4b57(0x125)]);return this[_0x4c4b57(0x114)][_0x4c4b57(0xdc)](_0xdf08b4,this[_0x4c4b57(0xc7)])[_0x4c4b57(0xf3)](_0x126d76=>(this[_0x4c4b57(0xc7)]=_0x126d76,_0xdf08b4))[_0x4c4b57(0xcf)](_0xc837d1=>{const _0x4dd616=_0x4c4b57;if(Z(_0xc837d1)||_0x4dd616(0xdf)===_0xc837d1[_0x4dd616(0x129)]&&void 0x0!==_0xc837d1[_0x4dd616(0xfe)][_0x4dd616(0x108)]){for(const _0x1186cf of _0xdf08b4){!this[_0x4dd616(0xde)][_0x4dd616(0xc6)][_0x4dd616(0xc0)](_0x1186cf['id'])||this[_0x4dd616(0xde)][_0x4dd616(0x105)](_0x1186cf['id'],_0x1186cf,!0x1);}if(Z(_0xc837d1))throw _0xc837d1;return _0xdf08b4;}throw _0xc837d1;});}},this[_0x4d4f57(0x11d)](this[_0x4d4f57(0x114)],_0x4d4f57(0xc5),(_0x15a6ef,{revisionsData:_0xdbb832,requestId:_0x4c222f})=>{const _0x412944=_0x4d4f57;Math[_0x412944(0xe1)](..._0xdbb832[_0x412944(0x112)](_0x1078ca=>_0x1078ca[_0x412944(0x125)]))>this[_0x412944(0xd4)]()-0x1?this[_0x412944(0x119)]()[_0x412944(0xf3)](()=>{const _0x4d59dd=_0x412944;this[_0x4d59dd(0xff)](_0xdbb832,_0x4c222f);}):this[_0x412944(0xff)](_0xdbb832,_0x4c222f);});const {revisions:_0x20d5b8,requestId:_0x3f9855}=await this[_0x4d4f57(0x114)][_0x4d4f57(0xe7)](_0x252d39[_0x4d4f57(0xce)]);_0x252d39[_0x4d4f57(0xd2)](this),this[_0x4d4f57(0xc7)]=_0x3f9855,await this[_0x4d4f57(0x122)](_0x20d5b8);for(const _0x1fae20 of _0x20d5b8)this[_0x4d4f57(0xde)][_0x4d4f57(0xfd)](_0x1fae20);this[_0x4d4f57(0x11d)](_0x44528b,_0x4d4f57(0x101),(_0x5398a8,_0x2b323b,_0x3edc48)=>{const _0x1690a6=_0x4d4f57;_0x3edc48&&(this[_0x1690a6(0x118)]=_0x44528b[_0x1690a6(0x124)],_0x5398a8[_0x1690a6(0x104)]());}),this[_0x4d4f57(0xde)][_0x4d4f57(0xf8)](_0x4d4f57(0x111))['to'](_0x252d39,_0x4d4f57(0xd5),_0x2a727e=>_0x2a727e===_0x363922[_0x4d4f57(0x10d)]);}async[_0x35966e(0xe2)](){const _0x184eed=_0x35966e,_0x403f63=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x5e189f),_0x3637b5=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x19d2fb),_0x51964e=async()=>{const _0x9b9d70=_0x184eed,_0x5d8dd=this[_0x9b9d70(0xde)][_0x9b9d70(0xd6)],_0x3dacd9=_0x5d8dd['id'],_0x3b0c98=_0x3dacd9!==_0x3637b5[_0x9b9d70(0x117)];if(_0x3b0c98){const _0x11b520=_0x3637b5[_0x9b9d70(0x124)]-this[_0x9b9d70(0x118)],_0x18fbdc=this[_0x9b9d70(0xd4)]();this[_0x9b9d70(0xde)][_0x9b9d70(0xdd)][_0x9b9d70(0x10a)]();if(_0x5d8dd[_0x9b9d70(0x125)]+_0x11b520!==_0x18fbdc){const _0x292b1d=_0x5d8dd[_0x9b9d70(0xc2)]+_0x11b520,_0x5abf1c=this[_0x9b9d70(0x110)][_0x9b9d70(0xf9)][_0x9b9d70(0xea)](_0x4baeef),_0x2c2203=this[_0x9b9d70(0xde)][_0x9b9d70(0x10c)]({'revision':_0x5d8dd,'from':_0x292b1d,'to':_0x18fbdc});_0x2c2203['id']=_0x5d8dd['id'];const _0x205aa2=_0x2c2203[_0x9b9d70(0x120)][_0x9b9d70(0x112)](_0x271a18=>_0x5abf1c[_0x9b9d70(0x127)](_0x271a18));_0x5d8dd[_0x9b9d70(0xd1)]({..._0x2c2203,'authors':_0x205aa2},!0x0),this[_0x9b9d70(0xde)][_0x9b9d70(0x105)](_0x5d8dd['id'],_0x2c2203,!0x0);}this[_0x9b9d70(0xde)][_0x9b9d70(0x11c)]=_0x18fbdc,(_0x5d8dd[_0x9b9d70(0x125)]===_0x5d8dd[_0x9b9d70(0xc2)]&&!this[_0x9b9d70(0xde)][_0x9b9d70(0xe6)][_0x9b9d70(0xcd)](_0x3dacd9)&&this[_0x9b9d70(0xde)][_0x9b9d70(0xc6)][_0x9b9d70(0x109)][_0x9b9d70(0x126)](_0x3dacd9),this[_0x9b9d70(0xde)][_0x9b9d70(0xe4)](_0x18fbdc));}const {revisions:_0x3f6b6c,requestId:_0x153c29}=await this[_0x9b9d70(0x114)][_0x9b9d70(0xe2)](_0x403f63[_0x9b9d70(0xce)],this[_0x9b9d70(0xc7)]);_0x3b0c98&&_0x3f6b6c[_0x9b9d70(0xc9)]>0x0?_0x3637b5[_0x9b9d70(0x12c)]():(await this[_0x9b9d70(0x122)](_0x3f6b6c),this[_0x9b9d70(0xff)](_0x3f6b6c,_0x153c29),this[_0x9b9d70(0xde)][_0x9b9d70(0x11e)]());};return _0x3637b5[_0x184eed(0xe5)]?_0x51964e():new Promise((_0x532284,_0x5af37a)=>{const _0x1feeaa=_0x184eed;_0x3637b5[_0x1feeaa(0x113)](_0x1feeaa(0x101),()=>{const _0x58411d=_0x1feeaa;_0x51964e()[_0x58411d(0xf3)](_0x532284)[_0x58411d(0xcf)](_0x5af37a);});});}[_0x35966e(0xc1)](){const _0xc9fdea=_0x35966e;super[_0xc9fdea(0xc1)]();}async[_0x35966e(0xd8)](){const _0x1ffb56=_0x35966e;this[_0x1ffb56(0x114)][_0x1ffb56(0xc3)]||await new Promise(_0x3934ff=>{const _0x1ef136=_0x1ffb56;this[_0x1ef136(0x11d)](this[_0x1ef136(0x114)],_0x1ef136(0xd9),_0x554851=>{const _0x21f1f8=_0x1ef136;_0x554851[_0x21f1f8(0x104)](),_0x3934ff();});});}[_0x35966e(0xd4)](){const _0x3c4c7f=_0x35966e,_0x56a6a0=this[_0x3c4c7f(0x110)][_0x3c4c7f(0xf9)][_0x3c4c7f(0xea)](_0x19d2fb)[_0x3c4c7f(0xbf)][_0x3c4c7f(0x121)]()[_0x3c4c7f(0x106)]();for(const _0x293134 of _0x56a6a0)if(_0x3c4c7f(0xe8)!==_0x293134[_0x3c4c7f(0xfb)]||_0x293134[_0x3c4c7f(0x12f)])return _0x293134[_0x3c4c7f(0x128)]+0x1;}[_0x35966e(0x119)](){const _0x3c6350=_0x35966e,_0x2babf9=this[_0x3c6350(0x110)][_0x3c6350(0xf9)][_0x3c6350(0xea)](_0x19d2fb);return new Promise(_0x5b2201=>{const _0x18d050=_0x3c6350;_0x2babf9[_0x18d050(0x12b)]?_0x2babf9[_0x18d050(0x113)](_0x18d050(0xee),()=>{const _0x46b1a7=_0x18d050;_0x5b2201(this[_0x46b1a7(0xd4)]());}):_0x5b2201(this[_0x18d050(0xd4)]());});}[_0x35966e(0xff)](_0x231e7f,_0x1dec14){const _0x490718=_0x35966e,_0x200790=this[_0x490718(0xde)][_0x490718(0xc6)];this[_0x490718(0xc7)]=_0x1dec14;for(const _0x182f76 of _0x231e7f){const _0xb1dc0a=_0x200790[_0x490718(0xc0)](_0x182f76['id']);if(_0xb1dc0a){if((_0x182f76[_0x490718(0xc2)]||_0x182f76[_0x490718(0x125)])&&(_0x182f76[_0x490718(0xf1)]=null),_0xb1dc0a===this[_0x490718(0xde)][_0x490718(0xd6)]){const _0x4afc8f=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0x125)],_0x182f76[_0x490718(0x125)]),_0x11148b=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0xc2)],_0x182f76[_0x490718(0xc2)]);let _0x3328f3;_0xb1dc0a[_0x490718(0x125)]===_0x182f76[_0x490718(0x125)]&&_0xb1dc0a[_0x490718(0xc2)]===_0x182f76[_0x490718(0xc2)]?(_0x3328f3=!0x0,this[_0x490718(0x11a)](_0x182f76)):_0x182f76[_0x490718(0x125)]===_0x4afc8f&&_0x182f76[_0x490718(0xc2)]===_0x11148b?_0x3328f3=!0x1:(_0xb1dc0a[_0x490718(0x125)]===_0x4afc8f&&_0xb1dc0a[_0x490718(0xc2)]===_0x11148b||this[_0x490718(0x12a)]({'revision':_0xb1dc0a,'from':_0x11148b,'to':_0x4afc8f}),_0x3328f3=!0x0),_0x3328f3&&(delete _0x182f76[_0x490718(0xc2)],delete _0x182f76[_0x490718(0x125)],delete _0x182f76[_0x490718(0xf1)],delete _0x182f76[_0x490718(0xeb)],delete _0x182f76[_0x490718(0x120)]);}this[_0x490718(0xde)][_0x490718(0xe3)](_0x182f76),this[_0x490718(0x11a)](_0x182f76);}else this[_0x490718(0xde)][_0x490718(0xfd)](_0x182f76);}const _0x4371a5=_0x200790[_0x490718(0xf4)]();_0x4371a5[_0x490718(0x106)]();for(let _0x711062=0x0;_0x711062<_0x4371a5[_0x490718(0xc9)]-0x1;_0x711062++){const _0xa5471a=_0x4371a5[_0x711062],_0x53f3c9=_0x4371a5[_0x711062+0x1];if(_0xa5471a[_0x490718(0xc2)]<_0x53f3c9[_0x490718(0x125)]){const _0x2abfbe=_0x53f3c9[_0x490718(0x125)],_0x1e0d6d=Math[_0x490718(0xe1)](_0x2abfbe,_0xa5471a[_0x490718(0x125)]);this[_0x490718(0x12a)]({'revision':_0xa5471a,'from':_0x2abfbe,'to':_0x1e0d6d});}}}[_0x35966e(0x12a)]({revision:_0x2b8a2c,from:_0x49dc15,to:_0x34f03a}={}){const _0x4130ef=_0x35966e,_0x1e819e=this[_0x4130ef(0x110)][_0x4130ef(0xf9)][_0x4130ef(0xea)](_0x4baeef),_0x3bd9da=this[_0x4130ef(0xde)][_0x4130ef(0x10c)]({'revision':_0x2b8a2c,'from':_0x49dc15,'to':_0x34f03a});_0x3bd9da[_0x4130ef(0x10e)]=_0x3bd9da[_0x4130ef(0x120)][_0x4130ef(0x112)](_0x1643c6=>_0x1e819e[_0x4130ef(0x127)](_0x1643c6)),_0x2b8a2c[_0x4130ef(0xd1)](_0x3bd9da);}[_0x35966e(0x11a)](_0x1a3834){const _0x4719cc=_0x35966e,_0x5e152a={};_0x5e152a['id']=_0x1a3834['id'];for(const _0x238d59 of Object[_0x4719cc(0x115)](_0x1a3834))'id'!==_0x238d59&&(_0x5e152a[_0x238d59]=void 0x0);this[_0x4719cc(0xde)][_0x4719cc(0x105)](_0x5e152a['id'],_0x5e152a,!0x0);}async[_0x35966e(0x122)](_0x77a1b3){const _0x138da3=_0x35966e,_0x177117=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x4baeef),{connection:_0x7870fa}=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x5e189f),_0x424653=new Set();for(const _0xb4495a of _0x77a1b3){for(const _0x37b61a of _0xb4495a[_0x138da3(0x120)])_0x337a4d(_0x37b61a);_0xb4495a[_0x138da3(0xd7)]&&_0x337a4d(_0xb4495a[_0x138da3(0xd7)]);}if(0x0===_0x424653[_0x138da3(0xcc)])return;const _0x1dde50=await _0x1933eb[_0x138da3(0xef)](_0x7870fa,Array[_0x138da3(0xc4)](_0x424653));for(const _0x12da4e of _0x1dde50)_0x177117[_0x138da3(0x127)](_0x12da4e['id'])||_0x177117[_0x138da3(0x123)](_0x12da4e);function _0x337a4d(_0x323755){const _0x289558=_0x138da3;_0x177117[_0x289558(0x127)](_0x323755)||_0x424653[_0x289558(0x131)](_0x323755);}}}function Z(_0x510308){const _0x5279ed=_0x35966e;return _0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xfc))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xe0))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xcb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x32f8(_0x2313a5,_0x1acb24){var _0x4e72d8=_0x4e72();return _0x32f8=function(_0x32f86b,_0x1610cf){_0x32f86b=_0x32f86b-0x9c;var _0x3650a4=_0x4e72d8[_0x32f86b];return _0x3650a4;},_0x32f8(_0x2313a5,_0x1acb24);}function _0x4e72(){var _0x3030c3=['1831520eYWBlD','RevisionHistory','isPremiumPlugin','RealTimeCollaborativeRevisionHistory','790qUQqrq','945504yqeMzd','90684CKZFRg','2857428lmygFV','66120JMiuzw','requires','7azESwY','4PtVCfH','isOfficialPlugin','41632qZcCEE','26TlBKgu','pluginName','1481589oEuigm'];_0x4e72=function(){return _0x3030c3;};return _0x4e72();}var _0x2ae03f=_0x32f8;(function(_0x41dd95,_0x408fa5){var _0x549117=_0x32f8,_0x52fbf7=_0x41dd95();while(!![]){try{var _0x3c3ccd=-parseInt(_0x549117(0xab))/0x1*(parseInt(_0x549117(0xaa))/0x2)+-parseInt(_0x549117(0x9c))/0x3*(parseInt(_0x549117(0xa8))/0x4)+-parseInt(_0x549117(0xa5))/0x5+parseInt(_0x549117(0xa2))/0x6+-parseInt(_0x549117(0xa7))/0x7*(-parseInt(_0x549117(0x9d))/0x8)+parseInt(_0x549117(0xa4))/0x9+parseInt(_0x549117(0xa1))/0xa*(parseInt(_0x549117(0xa3))/0xb);if(_0x3c3ccd===_0x408fa5)break;else _0x52fbf7['push'](_0x52fbf7['shift']());}catch(_0x3338a0){_0x52fbf7['push'](_0x52fbf7['shift']());}}}(_0x4e72,0x4af2d));import{Plugin as _0x2793c4}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x57e8a0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x3cdc45}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x2793c4{static get[_0x2ae03f(0xa6)](){var _0x58d5a4=_0x2ae03f;return[_0x58d5a4(0x9e),_0x57e8a0,_0x3cdc45];}static get[_0x2ae03f(0xac)](){var _0x4d597f=_0x2ae03f;return _0x4d597f(0xa0);}static get[_0x2ae03f(0xa9)](){return!0x0;}static get[_0x2ae03f(0x9f)](){return!0x0;}}
23
+ var _0x399547=_0x2293;(function(_0x231cbe,_0x4e367c){var _0x3087d4=_0x2293,_0x19a7b8=_0x231cbe();while(!![]){try{var _0x389f15=-parseInt(_0x3087d4(0x77))/0x1*(-parseInt(_0x3087d4(0x85))/0x2)+parseInt(_0x3087d4(0x82))/0x3+parseInt(_0x3087d4(0x7b))/0x4*(-parseInt(_0x3087d4(0x7f))/0x5)+-parseInt(_0x3087d4(0x7d))/0x6+parseInt(_0x3087d4(0x84))/0x7*(-parseInt(_0x3087d4(0x81))/0x8)+parseInt(_0x3087d4(0x7e))/0x9*(-parseInt(_0x3087d4(0x78))/0xa)+parseInt(_0x3087d4(0x7c))/0xb*(parseInt(_0x3087d4(0x80))/0xc);if(_0x389f15===_0x4e367c)break;else _0x19a7b8['push'](_0x19a7b8['shift']());}catch(_0x5efa92){_0x19a7b8['push'](_0x19a7b8['shift']());}}}(_0x5df5,0x4e2bb));function _0x2293(_0x52a94c,_0x4cc1ec){var _0x5df58a=_0x5df5();return _0x2293=function(_0x229398,_0x360ec6){_0x229398=_0x229398-0x76;var _0x261b2c=_0x5df58a[_0x229398];return _0x261b2c;},_0x2293(_0x52a94c,_0x4cc1ec);}function _0x5df5(){var _0x28a8e5=['requires','RevisionHistory','4ElMSBE','317845QtVXbb','1878036PtvFMO','198XAupIy','1192535TlnBYO','408YkhCjm','1110392YnNoGg','1171884fFvNTw','isPremiumPlugin','7rZQuar','15434GlapeD','pluginName','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','35DceaYS','287570xibdlw'];_0x5df5=function(){return _0x28a8e5;};return _0x5df5();}import{Plugin as _0x395b1e}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2e78e0}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x488652}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x395b1e{static get[_0x399547(0x79)](){var _0xb5b397=_0x399547;return[_0xb5b397(0x7a),_0x2e78e0,_0x488652];}static get[_0x399547(0x86)](){var _0x3aa7d1=_0x399547;return _0x3aa7d1(0x76);}static get[_0x399547(0x87)](){return!0x0;}static get[_0x399547(0x83)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b2352=_0x5617;(function(_0x330b29,_0x26d8e3){const _0x360c95=_0x5617,_0x11c1d8=_0x330b29();while(!![]){try{const _0x59a7f3=-parseInt(_0x360c95(0x173))/0x1+-parseInt(_0x360c95(0x1aa))/0x2+-parseInt(_0x360c95(0x17d))/0x3+parseInt(_0x360c95(0x19b))/0x4+-parseInt(_0x360c95(0x18b))/0x5*(-parseInt(_0x360c95(0x172))/0x6)+parseInt(_0x360c95(0x1a2))/0x7+parseInt(_0x360c95(0x198))/0x8;if(_0x59a7f3===_0x26d8e3)break;else _0x11c1d8['push'](_0x11c1d8['shift']());}catch(_0x461d2f){_0x11c1d8['push'](_0x11c1d8['shift']());}}}(_0x1498,0xac51f));import{Plugin as _0x2137e0}from'ckeditor5/src/core.js';function _0x5617(_0x3002c7,_0x14532f){const _0x1498f9=_0x1498();return _0x5617=function(_0x5617eb,_0x364e41){_0x5617eb=_0x5617eb-0x16f;let _0x2fa5af=_0x1498f9[_0x5617eb];return _0x2fa5af;},_0x5617(_0x3002c7,_0x14532f);}import{User as _0x5b6fe9,TrackChangesService as _0x4f0465}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1497ba}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2e8c96}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5eb681}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2137e0{static [_0x4b2352(0x1a6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4f0465)());[_0x4b2352(0x180)];[_0x4b2352(0x193)];static get[_0x4b2352(0x17b)](){const _0x189aee=_0x4b2352;return[_0x2e8c96,_0x189aee(0x18d),_0x1497ba];}static get[_0x4b2352(0x189)](){const _0xeb764d=_0x4b2352;return _0xeb764d(0x174);}static get[_0x4b2352(0x18f)](){return!0x0;}static get[_0x4b2352(0x177)](){return!0x0;}constructor(_0x5bacf1){const _0x179fe1=_0x4b2352;super(_0x5bacf1);const _0x3f0f63=this[_0x179fe1(0x178)][_0x179fe1(0x184)][_0x179fe1(0x1a7)](_0x179fe1(0x1a5));this[_0x179fe1(0x180)]=new Map(),this[_0x179fe1(0x193)]=new CloudServicesTrackChangesAdapter[(_0x179fe1(0x1a6))](_0x3f0f63);}[_0x4b2352(0x183)](){const _0x17ff24=_0x4b2352,_0x1f49b9=this[_0x17ff24(0x178)][_0x17ff24(0x194)][_0x17ff24(0x1a7)](_0x1497ba),_0x208418=this[_0x17ff24(0x178)][_0x17ff24(0x194)][_0x17ff24(0x1a7)](_0x17ff24(0x18d));return _0x208418[_0x17ff24(0x17a)]={'getSuggestion':async _0x22ccff=>{const _0x293311=_0x17ff24;await this[_0x293311(0x1a3)]();const _0x28177d=await this[_0x293311(0x193)][_0x293311(0x1a7)](_0x22ccff)[_0x293311(0x185)](A);return await this[_0x293311(0x1a9)]([_0x28177d]),_0x28177d;},'addSuggestion':async({id:_0x204d1a,type:_0x2315d0,data:_0x1ac401,originalSuggestionId:_0x3ce9e4,attributes:_0x282b82})=>{const _0x3be4f5=_0x17ff24;await this[_0x3be4f5(0x1a3)]();const _0x521761={'id':_0x204d1a,'type':_0x2315d0,'data':_0x1ac401,'originalSuggestionId':_0x3ce9e4,'attributes':_0x282b82},_0x1786f2=await this[_0x3be4f5(0x193)][_0x3be4f5(0x170)](_0x204d1a,_0x2315d0,_0x1ac401,_0x3ce9e4,_0x282b82)[_0x3be4f5(0x185)](_0xf3b5a8=>{if(J(_0xf3b5a8))return new Promise(_0x242ecc=>{const _0x97d1f0=_0x5617;this[_0x97d1f0(0x180)][_0x97d1f0(0x176)](_0x204d1a,{'resolve':_0x242ecc,'suggestionData':_0x521761});});throw _0xf3b5a8;});return this[_0x3be4f5(0x180)][_0x3be4f5(0x18c)](_0x204d1a),_0x1786f2;},'updateSuggestion':async(_0x2df471,_0x22c8f8)=>{const _0x529af1=_0x17ff24;if(await this[_0x529af1(0x1a3)](),_0x529af1(0x18a)!==_0x22c8f8[_0x529af1(0x19f)])return this[_0x529af1(0x193)][_0x529af1(0x195)](_0x2df471,_0x22c8f8)[_0x529af1(0x185)](A);}},this[_0x17ff24(0x179)](this[_0x17ff24(0x193)],_0x17ff24(0x1a4),(_0x1bc1b0,_0x840bbe)=>{const _0x4596ec=_0x17ff24;_0x208418[_0x4596ec(0x182)](_0x840bbe['id'])&&(_0x208418[_0x4596ec(0x19e)](_0x840bbe['id'])[_0x4596ec(0x18e)]=_0x840bbe[_0x4596ec(0x18e)]);}),this[_0x17ff24(0x193)][_0x17ff24(0x1ab)](_0x1f49b9[_0x17ff24(0x1ac)])[_0x17ff24(0x190)](_0x56684e=>(_0x1f49b9[_0x17ff24(0x191)](this),this[_0x17ff24(0x1a9)](_0x56684e)[_0x17ff24(0x190)](()=>{const _0x30df0c=_0x17ff24;for(const _0x1ee2e6 of _0x56684e){_0x208418[_0x30df0c(0x19c)](_0x1ee2e6)[_0x30df0c(0x19d)]=!0x0;}})));}async[_0x4b2352(0x196)](){const _0x232bef=_0x4b2352,_0x92f426=this[_0x232bef(0x178)][_0x232bef(0x194)][_0x232bef(0x1a7)](_0x232bef(0x18d)),{connection:_0xe30ba2}=this[_0x232bef(0x178)][_0x232bef(0x194)][_0x232bef(0x1a7)](_0x1497ba),_0x4e9fa8=await this[_0x232bef(0x193)][_0x232bef(0x1ab)](_0xe30ba2);await this[_0x232bef(0x1a9)](_0x4e9fa8);for(const {suggestionData:_0x21b8b6,resolve:_0x25da04}of this[_0x232bef(0x180)][_0x232bef(0x16f)]()){let _0xde841a=_0x4e9fa8[_0x232bef(0x192)](_0x33f159=>_0x33f159['id']===_0x21b8b6['id']);_0xde841a||(_0xde841a=await this[_0x232bef(0x193)][_0x232bef(0x170)](_0x21b8b6['id'],_0x21b8b6[_0x232bef(0x197)],_0x21b8b6[_0x232bef(0x175)],_0x21b8b6[_0x232bef(0x186)])),_0x25da04(_0xde841a);}for(const _0x3e1123 of _0x4e9fa8)_0x92f426[_0x232bef(0x182)](_0x3e1123['id'])||_0x92f426[_0x232bef(0x19c)](_0x3e1123);}async[_0x4b2352(0x1a3)](){const _0x56db2c=_0x4b2352;this[_0x56db2c(0x193)][_0x56db2c(0x187)]||await new Promise(_0x2caf23=>{const _0x1ca361=_0x56db2c;this[_0x1ca361(0x179)](this[_0x1ca361(0x193)],_0x1ca361(0x199),_0x2c5cf5=>{const _0x2374d9=_0x1ca361;_0x2c5cf5[_0x2374d9(0x188)](),_0x2caf23();});});}async[_0x4b2352(0x1a9)](_0x395406){const _0x37d485=_0x4b2352,_0x36fd25=this[_0x37d485(0x178)][_0x37d485(0x194)][_0x37d485(0x1a7)](_0x5eb681),{connection:_0x403bc2}=this[_0x37d485(0x178)][_0x37d485(0x194)][_0x37d485(0x1a7)](_0x1497ba),_0x31da3e=new Set();for(const {authorId:_0x5a1f1f}of _0x395406)_0x36fd25[_0x37d485(0x17e)](_0x5a1f1f)||_0x31da3e[_0x37d485(0x170)](_0x5a1f1f);if(0x0===_0x31da3e[_0x37d485(0x1a8)])return;const _0x4872e3=await _0x5b6fe9[_0x37d485(0x19a)](_0x403bc2,Array[_0x37d485(0x17c)](_0x31da3e));for(const _0x2a0147 of _0x4872e3)_0x36fd25[_0x37d485(0x17e)](_0x2a0147['id'])||_0x36fd25[_0x37d485(0x171)](_0x2a0147);}}function _0x1498(){const _0x10b033=['then','addToReconnectionStack','find','_trackChangesService','plugins','update','reconnect','type','8138832jwJlWG','connected','getMany','2003036DELAMB','addSuggestionData','_saved','getSuggestion','state','message','cloud-services-internal-error:\x20Not\x20connected.','9602887PpuDtl','_waitForServiceReady','suggestionUpdated','collaboration.channelId','TrackChangesService','get','size','_fetchMissingUsersForThreads','84754ZTPryE','connect','connection','values','add','addUser','3198fHPMMm','1178415BJAeVy','CloudServicesTrackChangesAdapter','data','set','isPremiumPlugin','editor','listenTo','adapter','requires','from','3427281iHfbFh','getUser','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedRequests','startsWith','hasSuggestion','init','config','catch','originalSuggestionId','isConnected','off','pluginName','open','1680UAAGUl','delete','TrackChangesEditing','attributes','isOfficialPlugin'];_0x1498=function(){return _0x10b033;};return _0x1498();}function A(_0x1dd968){if(J(_0x1dd968))return new Promise(()=>{});throw _0x1dd968;}function J(_0x2c809c){const _0x2546c4=_0x4b2352;return _0x2c809c[_0x2546c4(0x1a0)][_0x2546c4(0x181)](_0x2546c4(0x1a1))||_0x2c809c[_0x2546c4(0x1a0)][_0x2546c4(0x181)](_0x2546c4(0x17f));}
23
+ function _0x4d11(){const _0x107a59=['startsWith','3216hxQIpq','reconnect','isOfficialPlugin','hasSuggestion','getSuggestion','CloudServicesTrackChangesAdapter','delete','2080HCkLWq','_fetchMissingUsersForThreads','connected','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','110granDL','getMany','suggestionUpdated','from','addUser','catch','message','64264FPCIbV','set','_waitForServiceReady','63typKbp','233717MStKeY','off','size','data','getUser','then','collaboration.channelId','TrackChangesService','plugins','find','404055JsLYUW','requires','connect','update','adapter','302214tcDper','attributes','cloud-services-internal-error:\x20Not\x20connected.','editor','listenTo','get','init','isPremiumPlugin','open','addSuggestionData','136FXBTma','305508RVLxCX','values','config','add','originalSuggestionId','_trackChangesService','isConnected','state','1611CfJjqR','addToReconnectionStack','type','TrackChangesEditing','1034sKXYUq','connection','350xkhWdm','_bufferedRequests','_saved'];_0x4d11=function(){return _0x107a59;};return _0x4d11();}function _0x1257(_0x3a7f79,_0x584f9a){const _0x4d114b=_0x4d11();return _0x1257=function(_0x125736,_0x39ab55){_0x125736=_0x125736-0x159;let _0x277ed7=_0x4d114b[_0x125736];return _0x277ed7;},_0x1257(_0x3a7f79,_0x584f9a);}const _0x1bb9a4=_0x1257;(function(_0x160fd9,_0x5aae7a){const _0x43e53c=_0x1257,_0x3276cc=_0x160fd9();while(!![]){try{const _0xd9bc9a=parseInt(_0x43e53c(0x193))/0x1+parseInt(_0x43e53c(0x15c))/0x2*(parseInt(_0x43e53c(0x19b))/0x3)+-parseInt(_0x43e53c(0x175))/0x4*(-parseInt(_0x43e53c(0x16e))/0x5)+-parseInt(_0x43e53c(0x188))/0x6*(parseInt(_0x43e53c(0x178))/0x7)+-parseInt(_0x43e53c(0x192))/0x8*(parseInt(_0x43e53c(0x183))/0x9)+parseInt(_0x43e53c(0x15e))/0xa*(parseInt(_0x43e53c(0x179))/0xb)+-parseInt(_0x43e53c(0x162))/0xc*(parseInt(_0x43e53c(0x169))/0xd);if(_0xd9bc9a===_0x5aae7a)break;else _0x3276cc['push'](_0x3276cc['shift']());}catch(_0x1da156){_0x3276cc['push'](_0x3276cc['shift']());}}}(_0x4d11,0x66bd2));import{Plugin as _0x2d4d2c}from'ckeditor5/src/core.js';import{User as _0x5df011,TrackChangesService as _0x37e6eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x14a365}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x433194}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x12026a}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2d4d2c{static [_0x1bb9a4(0x180)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x37e6eb)());[_0x1bb9a4(0x15f)];[_0x1bb9a4(0x198)];static get[_0x1bb9a4(0x184)](){const _0x465eec=_0x1bb9a4;return[_0x433194,_0x465eec(0x15b),_0x14a365];}static get[_0x1bb9a4(0x16d)](){const _0x26b9b3=_0x1bb9a4;return _0x26b9b3(0x167);}static get[_0x1bb9a4(0x164)](){return!0x0;}static get[_0x1bb9a4(0x18f)](){return!0x0;}constructor(_0x2f4f2f){const _0x10ef2e=_0x1bb9a4;super(_0x2f4f2f);const _0x6b507b=this[_0x10ef2e(0x18b)][_0x10ef2e(0x195)][_0x10ef2e(0x18d)](_0x10ef2e(0x17f));this[_0x10ef2e(0x15f)]=new Map(),this[_0x10ef2e(0x198)]=new CloudServicesTrackChangesAdapter[(_0x10ef2e(0x180))](_0x6b507b);}[_0x1bb9a4(0x18e)](){const _0x35e02f=_0x1bb9a4,_0x558614=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x14a365),_0xfd41fd=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x35e02f(0x15b));return _0xfd41fd[_0x35e02f(0x187)]={'getSuggestion':async _0x562ef5=>{const _0x1cb1ee=_0x35e02f;await this[_0x1cb1ee(0x177)]();const _0xd92382=await this[_0x1cb1ee(0x198)][_0x1cb1ee(0x18d)](_0x562ef5)[_0x1cb1ee(0x173)](et);return await this[_0x1cb1ee(0x16a)]([_0xd92382]),_0xd92382;},'addSuggestion':async({id:_0x36aab5,type:_0x2c55e4,data:_0x50ed2e,originalSuggestionId:_0x7e29fd,attributes:_0x42a8de})=>{const _0x44aa13=_0x35e02f;await this[_0x44aa13(0x177)]();const _0x164f30={'id':_0x36aab5,'type':_0x2c55e4,'data':_0x50ed2e,'originalSuggestionId':_0x7e29fd,'attributes':_0x42a8de},_0x1f59e8=await this[_0x44aa13(0x198)][_0x44aa13(0x196)](_0x36aab5,_0x2c55e4,_0x50ed2e,_0x7e29fd,_0x42a8de)[_0x44aa13(0x173)](_0x392f39=>{if(Z(_0x392f39))return new Promise(_0x1ce9e2=>{const _0x27ea00=_0x1257;this[_0x27ea00(0x15f)][_0x27ea00(0x176)](_0x36aab5,{'resolve':_0x1ce9e2,'suggestionData':_0x164f30});});throw _0x392f39;});return this[_0x44aa13(0x15f)][_0x44aa13(0x168)](_0x36aab5),_0x1f59e8;},'updateSuggestion':async(_0x1b6ca2,_0xe2c592)=>{const _0xcb6a8f=_0x35e02f;if(await this[_0xcb6a8f(0x177)](),_0xcb6a8f(0x190)!==_0xe2c592[_0xcb6a8f(0x19a)])return this[_0xcb6a8f(0x198)][_0xcb6a8f(0x186)](_0x1b6ca2,_0xe2c592)[_0xcb6a8f(0x173)](et);}},this[_0x35e02f(0x18c)](this[_0x35e02f(0x198)],_0x35e02f(0x170),(_0x3a7ad2,_0xe0f7d7)=>{const _0x157f5b=_0x35e02f;_0xfd41fd[_0x157f5b(0x165)](_0xe0f7d7['id'])&&(_0xfd41fd[_0x157f5b(0x166)](_0xe0f7d7['id'])[_0x157f5b(0x189)]=_0xe0f7d7[_0x157f5b(0x189)]);}),this[_0x35e02f(0x198)][_0x35e02f(0x185)](_0x558614[_0x35e02f(0x15d)])[_0x35e02f(0x17e)](_0x564c62=>(_0x558614[_0x35e02f(0x159)](this),this[_0x35e02f(0x16a)](_0x564c62)[_0x35e02f(0x17e)](()=>{const _0x4a59d5=_0x35e02f;for(const _0x1ca559 of _0x564c62){_0xfd41fd[_0x4a59d5(0x191)](_0x1ca559)[_0x4a59d5(0x160)]=!0x0;}})));}async[_0x1bb9a4(0x163)](){const _0x747c18=_0x1bb9a4,_0x5ad9e6=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x747c18(0x15b)),{connection:_0x387985}=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x14a365),_0x43438d=await this[_0x747c18(0x198)][_0x747c18(0x185)](_0x387985);await this[_0x747c18(0x16a)](_0x43438d);for(const {suggestionData:_0x2eb212,resolve:_0x3c2d7d}of this[_0x747c18(0x15f)][_0x747c18(0x194)]()){let _0x482dbd=_0x43438d[_0x747c18(0x182)](_0x448d5a=>_0x448d5a['id']===_0x2eb212['id']);_0x482dbd||(_0x482dbd=await this[_0x747c18(0x198)][_0x747c18(0x196)](_0x2eb212['id'],_0x2eb212[_0x747c18(0x15a)],_0x2eb212[_0x747c18(0x17c)],_0x2eb212[_0x747c18(0x197)])),_0x3c2d7d(_0x482dbd);}for(const _0x175bf6 of _0x43438d)_0x5ad9e6[_0x747c18(0x165)](_0x175bf6['id'])||_0x5ad9e6[_0x747c18(0x191)](_0x175bf6);}async[_0x1bb9a4(0x177)](){const _0x35deb2=_0x1bb9a4;this[_0x35deb2(0x198)][_0x35deb2(0x199)]||await new Promise(_0x5528a1=>{const _0x8b7c8b=_0x35deb2;this[_0x8b7c8b(0x18c)](this[_0x8b7c8b(0x198)],_0x8b7c8b(0x16b),_0x8f0f=>{const _0x4ffaba=_0x8b7c8b;_0x8f0f[_0x4ffaba(0x17a)](),_0x5528a1();});});}async[_0x1bb9a4(0x16a)](_0x98e317){const _0x2a260a=_0x1bb9a4,_0xb906cc=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x12026a),{connection:_0x5bee5d}=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x14a365),_0x3ee0cd=new Set();for(const {authorId:_0xf592a7}of _0x98e317)_0xb906cc[_0x2a260a(0x17d)](_0xf592a7)||_0x3ee0cd[_0x2a260a(0x196)](_0xf592a7);if(0x0===_0x3ee0cd[_0x2a260a(0x17b)])return;const _0x1a8d1b=await _0x5df011[_0x2a260a(0x16f)](_0x5bee5d,Array[_0x2a260a(0x171)](_0x3ee0cd));for(const _0x228c1d of _0x1a8d1b)_0xb906cc[_0x2a260a(0x17d)](_0x228c1d['id'])||_0xb906cc[_0x2a260a(0x172)](_0x228c1d);}}function et(_0x2ede32){if(Z(_0x2ede32))return new Promise(()=>{});throw _0x2ede32;}function Z(_0x4c8c3a){const _0x5552a2=_0x1bb9a4;return _0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x18a))||_0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x16c));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x481340=_0x4e66;(function(_0x293cf0,_0x3046fd){var _0x3cc9da=_0x4e66,_0x542970=_0x293cf0();while(!![]){try{var _0x5bb750=-parseInt(_0x3cc9da(0x19e))/0x1*(parseInt(_0x3cc9da(0x1a3))/0x2)+parseInt(_0x3cc9da(0x193))/0x3*(-parseInt(_0x3cc9da(0x1a2))/0x4)+-parseInt(_0x3cc9da(0x195))/0x5*(-parseInt(_0x3cc9da(0x19a))/0x6)+-parseInt(_0x3cc9da(0x194))/0x7*(parseInt(_0x3cc9da(0x1a0))/0x8)+-parseInt(_0x3cc9da(0x19f))/0x9+parseInt(_0x3cc9da(0x196))/0xa+-parseInt(_0x3cc9da(0x19b))/0xb*(-parseInt(_0x3cc9da(0x1a1))/0xc);if(_0x5bb750===_0x3046fd)break;else _0x542970['push'](_0x542970['shift']());}catch(_0x1a6a9f){_0x542970['push'](_0x542970['shift']());}}}(_0x4426,0x4fde9));function _0x4426(){var _0x59dd02=['TrackChanges','21hKubkv','14kRNYit','920wlAqVO','2463790fSWCxJ','RealTimeCollaborativeTrackChanges','pluginName','isPremiumPlugin','15108tcbZQS','220gbkykv','requires','isOfficialPlugin','364478EnZUdP','771705YDhQtA','501416jnDGma','188592mtxYnI','69308wnjFjE','2goAQwI'];_0x4426=function(){return _0x59dd02;};return _0x4426();}import{Plugin as _0x226d4e}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x18213a}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x4e66(_0x3d4e2a,_0x597731){var _0x4426ae=_0x4426();return _0x4e66=function(_0x4e66c6,_0x30dd4c){_0x4e66c6=_0x4e66c6-0x193;var _0x491023=_0x4426ae[_0x4e66c6];return _0x491023;},_0x4e66(_0x3d4e2a,_0x597731);}import{RealTimeCollaborativeComments as _0x16b608}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x226d4e{static get[_0x481340(0x19c)](){var _0x1dc3ad=_0x481340;return[_0x16b608,_0x18213a,_0x1dc3ad(0x1a4)];}static get[_0x481340(0x198)](){var _0x4b2707=_0x481340;return _0x4b2707(0x197);}static get[_0x481340(0x19d)](){return!0x0;}static get[_0x481340(0x199)](){return!0x0;}}
23
+ var _0x169836=_0x27fb;(function(_0x449f03,_0x90b421){var _0x4e91e7=_0x27fb,_0x12ba17=_0x449f03();while(!![]){try{var _0x29331f=-parseInt(_0x4e91e7(0x72))/0x1*(-parseInt(_0x4e91e7(0x67))/0x2)+-parseInt(_0x4e91e7(0x75))/0x3*(parseInt(_0x4e91e7(0x6c))/0x4)+parseInt(_0x4e91e7(0x6a))/0x5+-parseInt(_0x4e91e7(0x6b))/0x6+parseInt(_0x4e91e7(0x6d))/0x7*(parseInt(_0x4e91e7(0x70))/0x8)+parseInt(_0x4e91e7(0x66))/0x9+parseInt(_0x4e91e7(0x74))/0xa;if(_0x29331f===_0x90b421)break;else _0x12ba17['push'](_0x12ba17['shift']());}catch(_0x2e9c74){_0x12ba17['push'](_0x12ba17['shift']());}}}(_0xda25,0x342bf));import{Plugin as _0x3c9de0}from'ckeditor5/src/core.js';function _0x27fb(_0x1fdeee,_0x56ead2){var _0xda25cb=_0xda25();return _0x27fb=function(_0x27fb95,_0x47c5b8){_0x27fb95=_0x27fb95-0x66;var _0x51c2b1=_0xda25cb[_0x27fb95];return _0x51c2b1;},_0x27fb(_0x1fdeee,_0x56ead2);}function _0xda25(){var _0x4ba147=['1PvbspX','isOfficialPlugin','1279280mhWiDl','3450hiulpH','814851pLIvQC','758462jflXfc','RealTimeCollaborativeTrackChanges','isPremiumPlugin','53390XPCCRX','2434776vsRmIt','388ApXrDZ','858655XXhRxW','TrackChanges','pluginName','8pkXZyq','requires'];_0xda25=function(){return _0x4ba147;};return _0xda25();}import{CloudServicesTrackChangesAdapter as _0x2cf5cd}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x124360}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3c9de0{static get[_0x169836(0x71)](){var _0x2ea416=_0x169836;return[_0x124360,_0x2cf5cd,_0x2ea416(0x6e)];}static get[_0x169836(0x6f)](){var _0x437f99=_0x169836;return _0x437f99(0x68);}static get[_0x169836(0x73)](){return!0x0;}static get[_0x169836(0x69)](){return!0x0;}}