@ckeditor/ckeditor5-real-time-collaboration 46.1.1 → 47.0.0-alpha.0
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.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x550a9c=_0xb24d;(function(_0x5d17f4,_0x410b6c){const _0x526ee2=_0xb24d,_0xfacfa4=_0x5d17f4();while(!![]){try{const _0x5e87e5=parseInt(_0x526ee2(0xe3))/0x1*(parseInt(_0x526ee2(0xff))/0x2)+-parseInt(_0x526ee2(0x11a))/0x3+parseInt(_0x526ee2(0x111))/0x4*(parseInt(_0x526ee2(0xef))/0x5)+parseInt(_0x526ee2(0x119))/0x6*(parseInt(_0x526ee2(0x124))/0x7)+parseInt(_0x526ee2(0xee))/0x8+-parseInt(_0x526ee2(0x117))/0x9+parseInt(_0x526ee2(0xec))/0xa*(-parseInt(_0x526ee2(0x10b))/0xb);if(_0x5e87e5===_0x410b6c)break;else _0xfacfa4['push'](_0xfacfa4['shift']());}catch(_0x52ecad){_0xfacfa4['push'](_0xfacfa4['shift']());}}}(_0x181e,0xd3e09));import{ContextPlugin as _0x2693c2}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x45470a,CKEditorError as _0x406b5c}from'ckeditor5/src/utils.js';function _0xb24d(_0x54129a,_0x17b7c4){const _0x181e2e=_0x181e();return _0xb24d=function(_0xb24d9f,_0x4eda13){_0xb24d9f=_0xb24d9f-0xe0;let _0xc4fd40=_0x181e2e[_0xb24d9f];return _0xc4fd40;},_0xb24d(_0x54129a,_0x17b7c4);}import{WebSocketGateway as _0x3d97a4,WEB_SOCKET_GATEWAY_STATES as _0x2301d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5431fc}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x2693c2{static [_0x550a9c(0xf0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3d97a4)());static [_0x550a9c(0x10f)]=0x3e8;[_0x550a9c(0x112)];[_0x550a9c(0x105)];[_0x550a9c(0x11e)];[_0x550a9c(0xe6)];static get[_0x550a9c(0xfe)](){const _0x4081ec=_0x550a9c;return[_0x4081ec(0xe2),_0x5431fc];}static get[_0x550a9c(0x122)](){const _0x58d479=_0x550a9c;return _0x58d479(0xf0);}static get[_0x550a9c(0x100)](){return!0x0;}static get[_0x550a9c(0xf3)](){return!0x0;}constructor(_0x27389c){const _0x451a2d=_0x550a9c;super(_0x27389c),this[_0x451a2d(0x125)](_0x451a2d(0x103),_0x2301d3[_0x451a2d(0x101)]),this[_0x451a2d(0x125)](_0x451a2d(0xfd),!0x1),this[_0x451a2d(0x105)]=new Set(),this[_0x451a2d(0x11e)]=!0x1,this[_0x451a2d(0xe6)]=new(_0x45470a())();}[_0x550a9c(0x129)](){const _0x43f91f=_0x550a9c,_0x594aea=this[_0x43f91f(0x11b)],_0x5944c8=_0x594aea[_0x43f91f(0xfc)][_0x43f91f(0xed)](_0x43f91f(0xe2)),_0x225e0e=_0x594aea[_0x43f91f(0xfc)][_0x43f91f(0xed)](_0x5431fc);if(!_0x5944c8[_0x43f91f(0x11c)])throw new _0x406b5c(_0x43f91f(0xe7),this);if(!_0x5944c8[_0x43f91f(0x10c)])throw new _0x406b5c(_0x43f91f(0x104),this);return this[_0x43f91f(0xe6)][_0x43f91f(0xfb)](window,_0x43f91f(0xf9),()=>this[_0x43f91f(0xfd)]=!0x0),this[_0x43f91f(0xe6)][_0x43f91f(0xfb)](window,_0x43f91f(0xe8),()=>this[_0x43f91f(0xfd)]=!0x1),this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xe5)](_0x43f91f(0xe4),0xa),this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xe5)](_0x43f91f(0x107),0x14),WebSocketGateway[_0x43f91f(0xf0)][_0x43f91f(0x110)](_0x5944c8[_0x43f91f(0x11c)],_0x5944c8[_0x43f91f(0x10c)],{'timeout':0x3e8*this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xed)](_0x43f91f(0xe4)),'requestTimeout':0x3e8*this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xed)](_0x43f91f(0x107))})[_0x43f91f(0x109)](_0x5efc79=>{const _0x2a6c9f=_0x43f91f;if(this[_0x2a6c9f(0x112)]=_0x5efc79,this[_0x2a6c9f(0x121)](_0x2a6c9f(0x103))['to'](_0x5efc79,_0x2a6c9f(0x103),this,_0x2a6c9f(0xfd),(_0x23a297,_0x572f58)=>(_0x2a6c9f(0x118)!==_0x23a297&&(this[_0x2a6c9f(0x11e)]=!0x0),_0x572f58||_0x23a297!==_0x2301d3[_0x2a6c9f(0x101)]?_0x2301d3[_0x2a6c9f(0x126)]:this[_0x2a6c9f(0x103)]==_0x2301d3[_0x2a6c9f(0x126)]&&this[_0x2a6c9f(0x11e)]?(this[_0x2a6c9f(0x11e)]=!0x1,this[_0x2a6c9f(0x114)](),_0x2301d3[_0x2a6c9f(0x128)]):_0x2301d3[_0x2a6c9f(0x101)])),this[_0x2a6c9f(0x112)]['on'](_0x2a6c9f(0x116),(_0x595e71,_0x41b573)=>{const _0x15f94a=_0x2a6c9f;if(_0x15f94a(0xfa)!==_0x41b573[_0x15f94a(0xf4)])throw console[_0x15f94a(0x116)](_0x41b573),new _0x406b5c(_0x15f94a(0x115),null,{'originalError':_0x41b573});_0x225e0e[_0x15f94a(0x123)](_0x15f94a(0xf7),{'title':_0x15f94a(0xf6),'namespace':_0x15f94a(0xf2)});}),!_0x5efc79['me'])return new Promise(_0x3d0737=>_0x5efc79['on'](_0x2a6c9f(0xe1),_0x3d0737));})[_0x43f91f(0x102)](_0x502017=>{const _0x3491c8=_0x43f91f;throw console[_0x3491c8(0x116)](_0x502017),new _0x406b5c(_0x3491c8(0x115),null,{'originalError':_0x502017});});}[_0x550a9c(0xeb)](_0x17a612){const _0x39ae0f=_0x550a9c;if(_0x39ae0f(0xe0)!=typeof _0x17a612[_0x39ae0f(0x12a)])throw new _0x406b5c(_0x39ae0f(0xf5),this);if(this[_0x39ae0f(0xe9)](_0x17a612))throw new _0x406b5c(_0x39ae0f(0xea),this,{'name':_0x17a612[_0x39ae0f(0x106)][_0x39ae0f(0x122)]});this[_0x39ae0f(0x105)][_0x39ae0f(0x11f)](_0x17a612);}[_0x550a9c(0xf8)](_0x5ebc91){const _0x156479=_0x550a9c;this[_0x156479(0x105)][_0x156479(0x10d)](_0x5ebc91);}[_0x550a9c(0xe9)](_0x1e2239){const _0x66742b=_0x550a9c;return this[_0x66742b(0x105)][_0x66742b(0x113)](_0x1e2239);}[_0x550a9c(0x114)](){const _0x545e5a=_0x550a9c;return this[_0x545e5a(0x112)][_0x545e5a(0x12a)]()[_0x545e5a(0x109)](()=>Promise[_0x545e5a(0x127)](Array[_0x545e5a(0xf1)](this[_0x545e5a(0x105)],_0x4cdabd=>_0x4cdabd[_0x545e5a(0x12a)]())))[_0x545e5a(0x109)](()=>this[_0x545e5a(0x103)]=_0x2301d3[_0x545e5a(0x101)])[_0x545e5a(0x102)](_0x3981a4=>{const _0x421cba=_0x545e5a;throw console[_0x421cba(0x116)](_0x3981a4),new _0x406b5c(_0x421cba(0x10e),this[_0x421cba(0x11b)]);});}[_0x550a9c(0x10a)](){const _0xa6fb28=_0x550a9c;this[_0xa6fb28(0x112)]&&this[_0xa6fb28(0x112)][_0xa6fb28(0x10a)](),this[_0xa6fb28(0x103)]=_0x2301d3[_0xa6fb28(0x126)],this[_0xa6fb28(0xe6)][_0xa6fb28(0x120)]();}[_0x550a9c(0x11d)](){const _0x1fc7bb=_0x550a9c;this[_0x1fc7bb(0x10a)](),super[_0x1fc7bb(0x11d)]();}}function _0x181e(){const _0x235f7b=['delete','cloudservices-reconnection-error','initialReconnectionInterval','connect','854800ujoYXY','connection','has','_reconnect','cloudservices-init','error','5082363MlgIKr','connected','6SCtDXu','3772623forkXu','context','token','destroy','_shouldPluginsReconnect','add','stopListening','bind','pluginName','showWarning','973672NVBlgj','set','DISCONNECTED','all','CONNECTING','init','reconnect','function','change:me','CloudServices','29462hIciBd','cloudServices.connectionTimeout','define','_domEmitter','websocketgateway-missing-token','online','isInReconnectionStack','websocketgateway-plugin-already-registered','addToReconnectionStack','500XwrcIK','get','7676584iGmwXU','30kTSxNw','WebSocketGateway','from','real-time-collaboration','isPremiumPlugin','code','websocketgateway-invalid-plugin-interface','Connected\x20users\x20limit\x20exceeded','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.','removeFromReconnectionStack','offline','limitExceeded','listenTo','plugins','_isBrowserOffline','requires','88PQAGvg','isOfficialPlugin','CONNECTED','catch','state','websocketgateway-missing-websocket-url','_reconnectionStack','constructor','cloudServices.requestTimeout','config','then','disconnect','217162yjQsiC','webSocketUrl'];_0x181e=function(){return _0x235f7b;};return _0x181e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x536357=_0x135e;(function(_0x31e234,_0x1d5e63){var _0x1641f5=_0x135e,_0x1a39a8=_0x31e234();while(!![]){try{var _0x2a6ba3=-parseInt(_0x1641f5(0x77))/0x1+-parseInt(_0x1641f5(0x6f))/0x2*(-parseInt(_0x1641f5(0x72))/0x3)+-parseInt(_0x1641f5(0x75))/0x4*(-parseInt(_0x1641f5(0x78))/0x5)+-parseInt(_0x1641f5(0x73))/0x6*(-parseInt(_0x1641f5(0x79))/0x7)+-parseInt(_0x1641f5(0x74))/0x8*(-parseInt(_0x1641f5(0x7a))/0x9)+parseInt(_0x1641f5(0x6e))/0xa+-parseInt(_0x1641f5(0x6c))/0xb;if(_0x2a6ba3===_0x1d5e63)break;else _0x1a39a8['push'](_0x1a39a8['shift']());}catch(_0x5dcc9e){_0x1a39a8['push'](_0x1a39a8['shift']());}}}(_0x3ec8,0x6140d));function _0x135e(_0x259a26,_0x3df92e){var _0x3ec8fc=_0x3ec8();return _0x135e=function(_0x135e9a,_0x1e2e6c){_0x135e9a=_0x135e9a-0x6c;var _0x3941d8=_0x3ec8fc[_0x135e9a];return _0x3941d8;},_0x135e(_0x259a26,_0x3df92e);}import{Plugin as _0x4c84a1}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2737bd}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3ec8(){var _0x1ba79e=['26166vAxmCj','10072ZnexlG','7836aPdMZD','RealTimeCollaborativeEditing','405558YHhVWZ','95NyZtAV','455HwysXp','2043TyHiCr','pluginName','3124605VFSMcX','isOfficialPlugin','1338020QFGaRj','23978CsaMeO','requires','isPremiumPlugin','87IRUVMK'];_0x3ec8=function(){return _0x1ba79e;};return _0x3ec8();}export class RealTimeCollaborativeEditing extends _0x4c84a1{static get[_0x536357(0x70)](){return[_0x2737bd];}static get[_0x536357(0x7b)](){var _0xb48555=_0x536357;return _0xb48555(0x76);}static get[_0x536357(0x6d)](){return!0x0;}static get[_0x536357(0x71)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x199c23)());[_0x14bcb4(0x79)];[_0x14bcb4(0xcb)];[_0x14bcb4(0xbb)];[_0x14bcb4(0xe0)];static get[_0x14bcb4(0x87)](){const _0x11160d=_0x14bcb4;return[_0x26094b,_0x4eca43,_0x11160d(0xa0),_0x1a7ec0,_0x4ed5ac];}static get[_0x14bcb4(0x82)](){const _0x481afa=_0x14bcb4;return _0x481afa(0xd8);}static get[_0x14bcb4(0xca)](){return!0x0;}static get[_0x14bcb4(0xdd)](){return!0x0;}constructor(_0x3574aa){const _0x384f49=_0x14bcb4;super(_0x3574aa);const _0x5d26ce=this[_0x384f49(0x92)][_0x384f49(0xd3)][_0x384f49(0x93)](_0x384f49(0x83));this[_0x384f49(0x79)]=null,this[_0x384f49(0xcb)]=this[_0x384f49(0x92)][_0x384f49(0x97)][_0x384f49(0x93)](_0x384f49(0xc5)),this[_0x384f49(0xbb)]=new c[(_0x384f49(0xc2))](_0x5d26ce);}async[_0x14bcb4(0xc9)](){const _0x16ef5f=_0x14bcb4,_0xf9fd0e=this[_0x16ef5f(0x92)][_0x16ef5f(0x97)][_0x16ef5f(0x93)](_0x4eca43),_0x53fea3=_0xf9fd0e[_0x16ef5f(0x8c)],_0x30d4fd=this[_0x16ef5f(0x92)][_0x16ef5f(0x97)][_0x16ef5f(0x93)](_0x26094b);this[_0x16ef5f(0xcb)][_0x16ef5f(0x95)]({'history':_0x53fea3,'getLatestVersion':()=>this[_0x16ef5f(0x9b)](),'getCurrentRevisionId':()=>_0xf9fd0e[_0x16ef5f(0xa5)]});const _0x1b473d=this[_0x16ef5f(0x92)][_0x16ef5f(0xd3)][_0x16ef5f(0x93)](_0x16ef5f(0xc1))||_0xf6e2f0,_0x1e1fb2=await _0x50f236[_0x16ef5f(0xa3)](_0x30d4fd[_0x16ef5f(0xc4)],_0x1b473d);this[_0x16ef5f(0x92)][_0x16ef5f(0x97)][_0x16ef5f(0x93)](_0x16ef5f(0xa0))[_0x16ef5f(0xbc)]={'getRevision':async({revisionId:_0x53e659})=>(await this[_0x16ef5f(0x84)](),await this[_0x16ef5f(0xbb)][_0x16ef5f(0xbe)](_0x53e659)),'updateRevisions':async _0x4d99be=>{const _0x2220aa=_0x16ef5f;await this[_0x2220aa(0x84)]();const _0x1cec1b=this[_0x2220aa(0xcb)][_0x2220aa(0x86)];if(_0x1e1fb2&&0x1===_0x4d99be[_0x2220aa(0x77)]&&_0x4d99be[0x0]['id']===_0x1cec1b['id'])return _0x4d99be;for(const _0x4db5ca of _0x4d99be)_0x4db5ca['id']===_0x1cec1b['id']&&(_0x4db5ca[_0x2220aa(0xa8)]=_0x4db5ca[_0x2220aa(0x6d)]===_0x4db5ca[_0x2220aa(0x6f)]);return this[_0x2220aa(0xbb)][_0x2220aa(0xdb)](_0x4d99be,this[_0x2220aa(0x79)])[_0x2220aa(0x8f)](_0x29e00e=>(this[_0x2220aa(0x79)]=_0x29e00e,_0x4d99be))[_0x2220aa(0xd2)](_0x5d0679=>{const _0x380b4f=_0x2220aa;if(Z(_0x5d0679)||_0x380b4f(0xb7)===_0x5d0679[_0x380b4f(0x7a)]&&void 0x0!==_0x5d0679[_0x380b4f(0xcf)][_0x380b4f(0xb1)]){for(const _0x2beece of _0x4d99be){!this[_0x380b4f(0xcb)][_0x380b4f(0xc3)][_0x380b4f(0xbe)](_0x2beece['id'])||this[_0x380b4f(0xcb)][_0x380b4f(0xb5)](_0x2beece['id'],_0x2beece,!0x1);}if(Z(_0x5d0679))throw _0x5d0679;return _0x4d99be;}throw _0x5d0679;});}},this[_0x16ef5f(0xaa)](this[_0x16ef5f(0xbb)],_0x16ef5f(0xde),(_0x713d6b,{revisionsData:_0x5f3ed1,requestId:_0x243748})=>{const _0xb80c35=_0x16ef5f;Math[_0xb80c35(0xce)](..._0x5f3ed1[_0xb80c35(0xc0)](_0x317401=>_0x317401[_0xb80c35(0x6f)]))>this[_0xb80c35(0x98)]()-0x1?this[_0xb80c35(0x9b)]()[_0xb80c35(0x8f)](()=>{const _0x57208e=_0xb80c35;this[_0x57208e(0xb8)](_0x5f3ed1,_0x243748);}):this[_0xb80c35(0xb8)](_0x5f3ed1,_0x243748);});const {revisions:_0x30110a,requestId:_0xbd08a9}=await this[_0x16ef5f(0xbb)][_0x16ef5f(0x9f)](_0x30d4fd[_0x16ef5f(0xc4)]);_0x30d4fd[_0x16ef5f(0x91)](this),this[_0x16ef5f(0x79)]=_0xbd08a9,await this[_0x16ef5f(0x9a)](_0x30110a);for(const _0x513dd5 of _0x30110a)this[_0x16ef5f(0xcb)][_0x16ef5f(0xb6)](_0x513dd5);this[_0x16ef5f(0xaa)](_0xf9fd0e,_0x16ef5f(0xd5),(_0x51b663,_0x2c48ff,_0x34640e)=>{const _0x3d4a7d=_0x16ef5f;_0x34640e&&(this[_0x3d4a7d(0xe0)]=_0xf9fd0e[_0x3d4a7d(0x7c)],_0x51b663[_0x3d4a7d(0x80)]());}),this[_0x16ef5f(0xcb)][_0x16ef5f(0xd9)](_0x16ef5f(0xb2))['to'](_0x30d4fd,_0x16ef5f(0xb4),_0x57df7a=>_0x57df7a===_0x10a8dd[_0x16ef5f(0xab)]);}async[_0x14bcb4(0xad)](){const _0x150f86=_0x14bcb4,_0x4d3c09=this[_0x150f86(0x92)][_0x150f86(0x97)][_0x150f86(0x93)](_0x26094b),_0x40f6c2=this[_0x150f86(0x92)][_0x150f86(0x97)][_0x150f86(0x93)](_0x4eca43),_0x533b8d=async()=>{const _0x930c4e=_0x150f86,_0x579dcb=this[_0x930c4e(0xcb)][_0x930c4e(0x86)],_0x58e1b2=_0x579dcb['id'],_0xb34718=_0x58e1b2!==_0x40f6c2[_0x930c4e(0xa5)];if(_0xb34718){const _0x4ae55a=_0x40f6c2[_0x930c4e(0x7c)]-this[_0x930c4e(0xe0)],_0x23825=this[_0x930c4e(0x98)]();this[_0x930c4e(0xcb)][_0x930c4e(0x6e)][_0x930c4e(0x99)]();if(_0x579dcb[_0x930c4e(0x6f)]+_0x4ae55a!==_0x23825){const _0x371952=_0x579dcb[_0x930c4e(0x6d)]+_0x4ae55a,_0x513478=this[_0x930c4e(0x92)][_0x930c4e(0x97)][_0x930c4e(0x93)](_0x4ed5ac),_0x182f8e=this[_0x930c4e(0xcb)][_0x930c4e(0x88)]({'revision':_0x579dcb,'from':_0x371952,'to':_0x23825});_0x182f8e['id']=_0x579dcb['id'];const _0x40ccf0=_0x182f8e[_0x930c4e(0x85)][_0x930c4e(0xc0)](_0x4ddb00=>_0x513478[_0x930c4e(0xbf)](_0x4ddb00));_0x579dcb[_0x930c4e(0xcc)]({..._0x182f8e,'authors':_0x40ccf0},!0x0),this[_0x930c4e(0xcb)][_0x930c4e(0xb5)](_0x579dcb['id'],_0x182f8e,!0x0);}this[_0x930c4e(0xcb)][_0x930c4e(0x96)]=_0x23825,(_0x579dcb[_0x930c4e(0x6f)]===_0x579dcb[_0x930c4e(0x6d)]&&!this[_0x930c4e(0xcb)][_0x930c4e(0xc7)][_0x930c4e(0x7d)](_0x58e1b2)&&this[_0x930c4e(0xcb)][_0x930c4e(0xc3)][_0x930c4e(0x70)][_0x930c4e(0x9e)](_0x58e1b2),this[_0x930c4e(0xcb)][_0x930c4e(0xba)](_0x23825));}const {revisions:_0x1db07f,requestId:_0x1c1ef9}=await this[_0x930c4e(0xbb)][_0x930c4e(0xad)](_0x4d3c09[_0x930c4e(0xc4)],this[_0x930c4e(0x79)]);_0xb34718&&_0x1db07f[_0x930c4e(0x77)]>0x0?_0x40f6c2[_0x930c4e(0xd7)]():(await this[_0x930c4e(0x9a)](_0x1db07f),this[_0x930c4e(0xb8)](_0x1db07f,_0x1c1ef9),this[_0x930c4e(0xcb)][_0x930c4e(0x73)]());};return _0x40f6c2[_0x150f86(0x75)]?_0x533b8d():new Promise((_0x283cbd,_0x19f449)=>{const _0x4ffd73=_0x150f86;_0x40f6c2[_0x4ffd73(0x76)](_0x4ffd73(0xd5),()=>{const _0x13ca23=_0x4ffd73;_0x533b8d()[_0x13ca23(0x8f)](_0x283cbd)[_0x13ca23(0xd2)](_0x19f449);});});}[_0x14bcb4(0xa1)](){const _0x5b9eb6=_0x14bcb4;super[_0x5b9eb6(0xa1)]();}async[_0x14bcb4(0x84)](){const _0x48e89b=_0x14bcb4;this[_0x48e89b(0xbb)][_0x48e89b(0xa2)]||await new Promise(_0x12692e=>{const _0x13e4b7=_0x48e89b;this[_0x13e4b7(0xaa)](this[_0x13e4b7(0xbb)],_0x13e4b7(0xda),_0x4b0b9a=>{const _0x1b5085=_0x13e4b7;_0x4b0b9a[_0x1b5085(0x80)](),_0x12692e();});});}[_0x14bcb4(0x98)](){const _0x51d5c7=_0x14bcb4,_0x25c039=this[_0x51d5c7(0x92)][_0x51d5c7(0x97)][_0x51d5c7(0x93)](_0x4eca43)[_0x51d5c7(0x8c)][_0x51d5c7(0xb0)]()[_0x51d5c7(0xac)]();for(const _0x595499 of _0x25c039)if(_0x51d5c7(0x8a)!==_0x595499[_0x51d5c7(0xa6)]||_0x595499[_0x51d5c7(0x72)])return _0x595499[_0x51d5c7(0x7f)]+0x1;}[_0x14bcb4(0x9b)](){const _0x3278ed=_0x14bcb4,_0x1fbc7e=this[_0x3278ed(0x92)][_0x3278ed(0x97)][_0x3278ed(0x93)](_0x4eca43);return new Promise(_0x4d7473=>{const _0x409173=_0x3278ed;_0x1fbc7e[_0x409173(0xd1)]?_0x1fbc7e[_0x409173(0x76)](_0x409173(0xaf),()=>{const _0x2006fe=_0x409173;_0x4d7473(this[_0x2006fe(0x98)]());}):_0x4d7473(this[_0x409173(0x98)]());});}[_0x14bcb4(0xb8)](_0x2af6d6,_0x2f2f6e){const _0x44166b=_0x14bcb4,_0x4a9796=this[_0x44166b(0xcb)][_0x44166b(0xc3)];this[_0x44166b(0x79)]=_0x2f2f6e;for(const _0x43f982 of _0x2af6d6){const _0x4453c3=_0x4a9796[_0x44166b(0xbe)](_0x43f982['id']);if(_0x4453c3){if((_0x43f982[_0x44166b(0x6d)]||_0x43f982[_0x44166b(0x6f)])&&(_0x43f982[_0x44166b(0x71)]=null),_0x4453c3===this[_0x44166b(0xcb)][_0x44166b(0x86)]){const _0x398426=Math[_0x44166b(0xce)](_0x4453c3[_0x44166b(0x6f)],_0x43f982[_0x44166b(0x6f)]),_0xf261=Math[_0x44166b(0xce)](_0x4453c3[_0x44166b(0x6d)],_0x43f982[_0x44166b(0x6d)]);let _0x67c45e;_0x4453c3[_0x44166b(0x6f)]===_0x43f982[_0x44166b(0x6f)]&&_0x4453c3[_0x44166b(0x6d)]===_0x43f982[_0x44166b(0x6d)]?(_0x67c45e=!0x0,this[_0x44166b(0x7e)](_0x43f982)):_0x43f982[_0x44166b(0x6f)]===_0x398426&&_0x43f982[_0x44166b(0x6d)]===_0xf261?_0x67c45e=!0x1:(_0x4453c3[_0x44166b(0x6f)]===_0x398426&&_0x4453c3[_0x44166b(0x6d)]===_0xf261||this[_0x44166b(0x89)]({'revision':_0x4453c3,'from':_0xf261,'to':_0x398426}),_0x67c45e=!0x0),_0x67c45e&&(delete _0x43f982[_0x44166b(0x6d)],delete _0x43f982[_0x44166b(0x6f)],delete _0x43f982[_0x44166b(0x71)],delete _0x43f982[_0x44166b(0xae)],delete _0x43f982[_0x44166b(0x85)]);}this[_0x44166b(0xcb)][_0x44166b(0xa7)](_0x43f982),this[_0x44166b(0x7e)](_0x43f982);}else this[_0x44166b(0xcb)][_0x44166b(0xb6)](_0x43f982);}const _0x5e8947=_0x4a9796[_0x44166b(0x94)]();_0x5e8947[_0x44166b(0xac)]();for(let _0x395eb4=0x0;_0x395eb4<_0x5e8947[_0x44166b(0x77)]-0x1;_0x395eb4++){const _0x59911e=_0x5e8947[_0x395eb4],_0x16ed08=_0x5e8947[_0x395eb4+0x1];if(_0x59911e[_0x44166b(0x6d)]<_0x16ed08[_0x44166b(0x6f)]){const _0xf144f9=_0x16ed08[_0x44166b(0x6f)],_0x4530e4=Math[_0x44166b(0xce)](_0xf144f9,_0x59911e[_0x44166b(0x6f)]);this[_0x44166b(0x89)]({'revision':_0x59911e,'from':_0xf144f9,'to':_0x4530e4});}}}[_0x14bcb4(0x89)]({revision:_0x51cd90,from:_0x3a676c,to:_0x3e72a2}={}){const _0x41307d=_0x14bcb4,_0x53193c=this[_0x41307d(0x92)][_0x41307d(0x97)][_0x41307d(0x93)](_0x4ed5ac),_0x53a33c=this[_0x41307d(0xcb)][_0x41307d(0x88)]({'revision':_0x51cd90,'from':_0x3a676c,'to':_0x3e72a2});_0x53a33c[_0x41307d(0x9c)]=_0x53a33c[_0x41307d(0x85)][_0x41307d(0xc0)](_0x55772f=>_0x53193c[_0x41307d(0xbf)](_0x55772f)),_0x51cd90[_0x41307d(0xcc)](_0x53a33c);}[_0x14bcb4(0x7e)](_0x4117a0){const _0x27e921=_0x14bcb4,_0x231af7={};_0x231af7['id']=_0x4117a0['id'];for(const _0x485b04 of Object[_0x27e921(0x81)](_0x4117a0))'id'!==_0x485b04&&(_0x231af7[_0x485b04]=void 0x0);this[_0x27e921(0xcb)][_0x27e921(0xb5)](_0x231af7['id'],_0x231af7,!0x0);}async[_0x14bcb4(0x9a)](_0x2220e9){const _0x217d07=_0x14bcb4,_0x548d52=this[_0x217d07(0x92)][_0x217d07(0x97)][_0x217d07(0x93)](_0x4ed5ac),{connection:_0x5082b0}=this[_0x217d07(0x92)][_0x217d07(0x97)][_0x217d07(0x93)](_0x26094b),_0x124f12=new Set();for(const _0x37393a of _0x2220e9){for(const _0x2f537e of _0x37393a[_0x217d07(0x85)])_0x9ceea7(_0x2f537e);_0x37393a[_0x217d07(0xdc)]&&_0x9ceea7(_0x37393a[_0x217d07(0xdc)]);}if(0x0===_0x124f12[_0x217d07(0x8b)])return;const _0x2205ac=await _0xb7f53e[_0x217d07(0xb3)](_0x5082b0,Array[_0x217d07(0xc8)](_0x124f12));for(const _0x3a9c66 of _0x2205ac)_0x548d52[_0x217d07(0xbf)](_0x3a9c66['id'])||_0x548d52[_0x217d07(0xdf)](_0x3a9c66);function _0x9ceea7(_0x17a951){const _0x5dabb8=_0x217d07;_0x548d52[_0x5dabb8(0xbf)](_0x17a951)||_0x124f12[_0x5dabb8(0xd0)](_0x17a951);}}}export{c as CloudServicesRevisionHistoryAdapter};function Z(_0x1583a9){const _0x50680f=_0x14bcb4;return _0x1583a9[_0x50680f(0x9d)][_0x50680f(0x90)](_0x50680f(0x8d))||_0x1583a9[_0x50680f(0x9d)][_0x50680f(0x90)](_0x50680f(0xd4))||_0x1583a9[_0x50680f(0x9d)][_0x50680f(0x90)](_0x50680f(0xcd));}
|
|
23
|
+
const _0x4c59e6=_0x4cca;(function(_0x388eaf,_0x42e1fd){const _0x5404bd=_0x4cca,_0x5712d2=_0x388eaf();while(!![]){try{const _0xbcdc0d=-parseInt(_0x5404bd(0x18b))/0x1*(parseInt(_0x5404bd(0x15a))/0x2)+-parseInt(_0x5404bd(0x13a))/0x3*(parseInt(_0x5404bd(0x173))/0x4)+parseInt(_0x5404bd(0x157))/0x5*(parseInt(_0x5404bd(0x134))/0x6)+-parseInt(_0x5404bd(0x183))/0x7*(-parseInt(_0x5404bd(0x172))/0x8)+parseInt(_0x5404bd(0x156))/0x9+parseInt(_0x5404bd(0x198))/0xa+-parseInt(_0x5404bd(0x177))/0xb;if(_0xbcdc0d===_0x42e1fd)break;else _0x5712d2['push'](_0x5712d2['shift']());}catch(_0x3ea892){_0x5712d2['push'](_0x5712d2['shift']());}}}(_0x338f,0xa7181));import{Plugin as _0x1c20eb}from'ckeditor5/src/core.js';import{version as _0x5b0072}from'ckeditor5/src/utils.js';import{Users as _0x5cc4bb}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2799a2}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x338f(){const _0x39f49a=['isEnabled','keys','_startingVersion','cloud-services-internal-error:\x20Request\x20timeout.','connection','97FIcPpl','sessionId','buildRevisionData','collaboration.channelId','authors','isEmptyCurrent','_preventResendingRevisionData','pluginName','_oldOffset','_isPendingUpdate','type','cloudServices.bundleVersion','addRevisionData','8401240qxIqMp','startsWith','_getLatestVersion','CONNECTED','listenTo','_fetchMissingUsers','isBundleUploaded','remove','authorsIds','reconnect','_bufferedUpdates','getOperations','_getLatestVersionFromServerOperations','addToReconnectionStack','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','adapter','change:_isConnected','3844398RbdQzs','reInit','_createCurrentRevision','state','connected','getUser','10365iRvomQ','off','reverse','requires','setSource','RevisionTracker','updateRevisions','_offset','_revisions','400','init','addUser','catch','message','setRevisionData','CloudServicesRevisionHistoryAdapter','creatorId','change:_isPendingUpdate','has','length','sendBufferedUpdates','_waitForServiceReady','once','getRevision','RevisionHistory','marker','then','isConnected','2445021uyEIHE','5VoDDBE','_revisionDataBuilder','serverHistory','4966wcphHh','_isConnected','getMany','config','add','_bufferUpdate','data','_update','_handleReconnectionError','_fixRevision','RevisionHistoryService','size','isPremiumPlugin','_revisionHistoryService','fromVersion','map','_revisionTracker','get','editor','toVersion','affectsData','cloud-services-internal-error:\x20Not\x20connected.','bind','diffData','5080DBHdxM','328tkBZNV','repository','isOfficialPlugin','wrongRequestId','9406078NUIuTP','plugins','_handleRevisionsUpdate','max','connect','destroy','baseVersion','revisionsUpdated','currentRevision','createdAt','_lastRequestId','code','3430NNzcUr','getRevisions','from'];_0x338f=function(){return _0x39f49a;};return _0x338f();}import{WebSocketGateway as _0x34a304}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4cca(_0x46cfb8,_0x259a51){const _0x338f59=_0x338f();return _0x4cca=function(_0x4cca9e,_0x15e271){_0x4cca9e=_0x4cca9e-0x126;let _0x39716b=_0x338f59[_0x4cca9e];return _0x39716b;},_0x4cca(_0x46cfb8,_0x259a51);}import{Sessions as _0x1f0b32}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x483693,RevisionHistoryService as _0x4e02a8,User as _0x1acfa0,WEB_SOCKET_GATEWAY_STATES as _0x3e77cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x1c20eb{static [_0x4c59e6(0x164)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4e02a8)());[_0x4c59e6(0x181)];[_0x4c59e6(0x16a)];[_0x4c59e6(0x167)];[_0x4c59e6(0x193)];static get[_0x4c59e6(0x13d)](){const _0x1fe59e=_0x4c59e6;return[_0x34a304,_0x2799a2,_0x1fe59e(0x152),_0x1f0b32,_0x5cc4bb];}static get[_0x4c59e6(0x192)](){const _0x4aafa9=_0x4c59e6;return _0x4aafa9(0x149);}static get[_0x4c59e6(0x175)](){return!0x0;}static get[_0x4c59e6(0x166)](){return!0x0;}constructor(_0x542674){const _0x427a06=_0x4c59e6;super(_0x542674);const _0x2a3f78=this[_0x427a06(0x16c)][_0x427a06(0x15d)][_0x427a06(0x16b)](_0x427a06(0x18e));this[_0x427a06(0x181)]=null,this[_0x427a06(0x16a)]=this[_0x427a06(0x16c)][_0x427a06(0x178)][_0x427a06(0x16b)](_0x427a06(0x13f)),this[_0x427a06(0x167)]=new CloudServicesRevisionHistoryAdapter[(_0x427a06(0x164))](_0x2a3f78);}async[_0x4c59e6(0x144)](){const _0x19f698=_0x4c59e6,_0x54681f=this[_0x19f698(0x16c)][_0x19f698(0x178)][_0x19f698(0x16b)](_0x2799a2),_0x7d3b8a=_0x54681f[_0x19f698(0x159)],_0x303c7b=this[_0x19f698(0x16c)][_0x19f698(0x178)][_0x19f698(0x16b)](_0x34a304);this[_0x19f698(0x16a)][_0x19f698(0x13e)]({'history':_0x7d3b8a,'getLatestVersion':()=>this[_0x19f698(0x19a)](),'getCurrentRevisionId':()=>_0x54681f[_0x19f698(0x18c)]});const _0xb9f6b4=this[_0x19f698(0x16c)][_0x19f698(0x15d)][_0x19f698(0x16b)](_0x19f698(0x196))||_0x5b0072,_0x40d7fb=await _0x483693[_0x19f698(0x129)](_0x303c7b[_0x19f698(0x18a)],_0xb9f6b4);this[_0x19f698(0x16c)][_0x19f698(0x178)][_0x19f698(0x16b)](_0x19f698(0x152))[_0x19f698(0x132)]={'getRevision':async({revisionId:_0xb7edba})=>(await this[_0x19f698(0x14f)](),await this[_0x19f698(0x167)][_0x19f698(0x151)](_0xb7edba)),'updateRevisions':async _0x2a5fa1=>{const _0x164869=_0x19f698;await this[_0x164869(0x14f)]();const _0x457ea7=this[_0x164869(0x16a)][_0x164869(0x17f)];if(_0x40d7fb&&0x1===_0x2a5fa1[_0x164869(0x14d)]&&_0x2a5fa1[0x0]['id']===_0x457ea7['id'])return _0x2a5fa1;for(const _0x216dbb of _0x2a5fa1)_0x216dbb['id']===_0x457ea7['id']&&(_0x216dbb[_0x164869(0x190)]=_0x216dbb[_0x164869(0x168)]===_0x216dbb[_0x164869(0x16d)]);return this[_0x164869(0x167)][_0x164869(0x140)](_0x2a5fa1,this[_0x164869(0x181)])[_0x164869(0x154)](_0x268ce8=>(this[_0x164869(0x181)]=_0x268ce8,_0x2a5fa1))[_0x164869(0x146)](_0x4ac576=>{const _0x3bef58=_0x164869;if(q(_0x4ac576)||_0x3bef58(0x143)===_0x4ac576[_0x3bef58(0x182)]&&void 0x0!==_0x4ac576[_0x3bef58(0x160)][_0x3bef58(0x176)]){for(const _0xf74628 of _0x2a5fa1){!this[_0x3bef58(0x16a)][_0x3bef58(0x174)][_0x3bef58(0x151)](_0xf74628['id'])||this[_0x3bef58(0x16a)][_0x3bef58(0x15f)](_0xf74628['id'],_0xf74628,!0x1);}if(q(_0x4ac576))throw _0x4ac576;return _0x2a5fa1;}throw _0x4ac576;});}},this[_0x19f698(0x127)](this[_0x19f698(0x167)],_0x19f698(0x17e),(_0x334161,{revisionsData:_0x14426f,requestId:_0xa308cb})=>{const _0x23b5f4=_0x19f698;Math[_0x23b5f4(0x17a)](..._0x14426f[_0x23b5f4(0x169)](_0x91b41a=>_0x91b41a[_0x23b5f4(0x16d)]))>this[_0x23b5f4(0x12f)]()-0x1?this[_0x23b5f4(0x19a)]()[_0x23b5f4(0x154)](()=>{const _0x4e9c09=_0x23b5f4;this[_0x4e9c09(0x179)](_0x14426f,_0xa308cb);}):this[_0x23b5f4(0x179)](_0x14426f,_0xa308cb);});const {revisions:_0x3730f7,requestId:_0x11342a}=await this[_0x19f698(0x167)][_0x19f698(0x17b)](_0x303c7b[_0x19f698(0x18a)]);_0x303c7b[_0x19f698(0x130)](this),this[_0x19f698(0x181)]=_0x11342a,await this[_0x19f698(0x128)](_0x3730f7);for(const _0x549ed9 of _0x3730f7)this[_0x19f698(0x16a)][_0x19f698(0x197)](_0x549ed9);this[_0x19f698(0x127)](_0x54681f,_0x19f698(0x133),(_0x523a5f,_0x3785ab,_0xeaa623)=>{const _0x125802=_0x19f698;_0xeaa623&&(this[_0x125802(0x193)]=_0x54681f[_0x125802(0x141)],_0x523a5f[_0x125802(0x13b)]());}),this[_0x19f698(0x16a)][_0x19f698(0x170)](_0x19f698(0x186))['to'](_0x303c7b,_0x19f698(0x137),_0x179a7d=>_0x179a7d===_0x3e77cb[_0x19f698(0x126)]);}async[_0x4c59e6(0x12c)](){const _0x705e5d=_0x4c59e6,_0x89ffbe=this[_0x705e5d(0x16c)][_0x705e5d(0x178)][_0x705e5d(0x16b)](_0x34a304),_0x471024=this[_0x705e5d(0x16c)][_0x705e5d(0x178)][_0x705e5d(0x16b)](_0x2799a2),_0x39449d=async()=>{const _0x43af7c=_0x705e5d,_0x4fd439=this[_0x43af7c(0x16a)][_0x43af7c(0x17f)],_0x39df87=_0x4fd439['id'],_0x3b04ec=_0x39df87!==_0x471024[_0x43af7c(0x18c)];if(_0x3b04ec){const _0x3935fe=_0x471024[_0x43af7c(0x141)]-this[_0x43af7c(0x193)],_0x203954=this[_0x43af7c(0x12f)]();this[_0x43af7c(0x16a)][_0x43af7c(0x158)][_0x43af7c(0x135)]();if(_0x4fd439[_0x43af7c(0x16d)]+_0x3935fe!==_0x203954){const _0x91ad96=_0x4fd439[_0x43af7c(0x168)]+_0x3935fe,_0x41d930=this[_0x43af7c(0x16c)][_0x43af7c(0x178)][_0x43af7c(0x16b)](_0x5cc4bb),_0x1f71a8=this[_0x43af7c(0x16a)][_0x43af7c(0x18d)]({'revision':_0x4fd439,'from':_0x91ad96,'to':_0x203954});_0x1f71a8['id']=_0x4fd439['id'];const _0x40e27a=_0x1f71a8[_0x43af7c(0x12b)][_0x43af7c(0x169)](_0x44f9ec=>_0x41d930[_0x43af7c(0x139)](_0x44f9ec));_0x4fd439[_0x43af7c(0x161)]({..._0x1f71a8,'authors':_0x40e27a},!0x0),this[_0x43af7c(0x16a)][_0x43af7c(0x15f)](_0x4fd439['id'],_0x1f71a8,!0x0);}this[_0x43af7c(0x16a)][_0x43af7c(0x188)]=_0x203954,(_0x4fd439[_0x43af7c(0x16d)]===_0x4fd439[_0x43af7c(0x168)]&&!this[_0x43af7c(0x16a)][_0x43af7c(0x12d)][_0x43af7c(0x14c)](_0x39df87)&&this[_0x43af7c(0x16a)][_0x43af7c(0x174)][_0x43af7c(0x142)][_0x43af7c(0x12a)](_0x39df87),this[_0x43af7c(0x16a)][_0x43af7c(0x136)](_0x203954));}const {revisions:_0x493717,requestId:_0x6ff17f}=await this[_0x43af7c(0x167)][_0x43af7c(0x12c)](_0x89ffbe[_0x43af7c(0x18a)],this[_0x43af7c(0x181)]);_0x3b04ec&&_0x493717[_0x43af7c(0x14d)]>0x0?_0x471024[_0x43af7c(0x162)]():(await this[_0x43af7c(0x128)](_0x493717),this[_0x43af7c(0x179)](_0x493717,_0x6ff17f),this[_0x43af7c(0x16a)][_0x43af7c(0x14e)]());};return _0x471024[_0x705e5d(0x15b)]?_0x39449d():new Promise((_0x57b5b3,_0x53e5d7)=>{const _0x1dfcad=_0x705e5d;_0x471024[_0x1dfcad(0x150)](_0x1dfcad(0x133),()=>{const _0x29aabb=_0x1dfcad;_0x39449d()[_0x29aabb(0x154)](_0x57b5b3)[_0x29aabb(0x146)](_0x53e5d7);});});}[_0x4c59e6(0x17c)](){const _0x57c8da=_0x4c59e6;super[_0x57c8da(0x17c)]();}async[_0x4c59e6(0x14f)](){const _0x31848b=_0x4c59e6;this[_0x31848b(0x167)][_0x31848b(0x155)]||await new Promise(_0x539647=>{const _0x5988b7=_0x31848b;this[_0x5988b7(0x127)](this[_0x5988b7(0x167)],_0x5988b7(0x138),_0x5dc300=>{const _0x2efbf3=_0x5988b7;_0x5dc300[_0x2efbf3(0x13b)](),_0x539647();});});}[_0x4c59e6(0x12f)](){const _0x1ce833=_0x4c59e6,_0x1cefa9=this[_0x1ce833(0x16c)][_0x1ce833(0x178)][_0x1ce833(0x16b)](_0x2799a2)[_0x1ce833(0x159)][_0x1ce833(0x12e)]()[_0x1ce833(0x13c)]();for(const _0x4ca703 of _0x1cefa9)if(_0x1ce833(0x153)!==_0x4ca703[_0x1ce833(0x195)]||_0x4ca703[_0x1ce833(0x16e)])return _0x4ca703[_0x1ce833(0x17d)]+0x1;}[_0x4c59e6(0x19a)](){const _0x12caca=_0x4c59e6,_0x2dabdf=this[_0x12caca(0x16c)][_0x12caca(0x178)][_0x12caca(0x16b)](_0x2799a2);return new Promise(_0x2b0ec8=>{const _0xec1973=_0x12caca;_0x2dabdf[_0xec1973(0x194)]?_0x2dabdf[_0xec1973(0x150)](_0xec1973(0x14b),()=>{const _0x890513=_0xec1973;_0x2b0ec8(this[_0x890513(0x12f)]());}):_0x2b0ec8(this[_0xec1973(0x12f)]());});}[_0x4c59e6(0x179)](_0x41a4c8,_0x22230e){const _0x7ca82d=_0x4c59e6,_0x1f355b=this[_0x7ca82d(0x16a)][_0x7ca82d(0x174)];this[_0x7ca82d(0x181)]=_0x22230e;for(const _0xd3f6f4 of _0x41a4c8){const _0x495e20=_0x1f355b[_0x7ca82d(0x151)](_0xd3f6f4['id']);if(_0x495e20){if((_0xd3f6f4[_0x7ca82d(0x168)]||_0xd3f6f4[_0x7ca82d(0x16d)])&&(_0xd3f6f4[_0x7ca82d(0x171)]=null),_0x495e20===this[_0x7ca82d(0x16a)][_0x7ca82d(0x17f)]){const _0x444586=Math[_0x7ca82d(0x17a)](_0x495e20[_0x7ca82d(0x16d)],_0xd3f6f4[_0x7ca82d(0x16d)]),_0x2aeb4d=Math[_0x7ca82d(0x17a)](_0x495e20[_0x7ca82d(0x168)],_0xd3f6f4[_0x7ca82d(0x168)]);let _0xf3a5f2;_0x495e20[_0x7ca82d(0x16d)]===_0xd3f6f4[_0x7ca82d(0x16d)]&&_0x495e20[_0x7ca82d(0x168)]===_0xd3f6f4[_0x7ca82d(0x168)]?(_0xf3a5f2=!0x0,this[_0x7ca82d(0x191)](_0xd3f6f4)):_0xd3f6f4[_0x7ca82d(0x16d)]===_0x444586&&_0xd3f6f4[_0x7ca82d(0x168)]===_0x2aeb4d?_0xf3a5f2=!0x1:(_0x495e20[_0x7ca82d(0x16d)]===_0x444586&&_0x495e20[_0x7ca82d(0x168)]===_0x2aeb4d||this[_0x7ca82d(0x163)]({'revision':_0x495e20,'from':_0x2aeb4d,'to':_0x444586}),_0xf3a5f2=!0x0),_0xf3a5f2&&(delete _0xd3f6f4[_0x7ca82d(0x168)],delete _0xd3f6f4[_0x7ca82d(0x16d)],delete _0xd3f6f4[_0x7ca82d(0x171)],delete _0xd3f6f4[_0x7ca82d(0x180)],delete _0xd3f6f4[_0x7ca82d(0x12b)]);}this[_0x7ca82d(0x16a)][_0x7ca82d(0x148)](_0xd3f6f4),this[_0x7ca82d(0x191)](_0xd3f6f4);}else this[_0x7ca82d(0x16a)][_0x7ca82d(0x197)](_0xd3f6f4);}const _0x2ff79f=_0x1f355b[_0x7ca82d(0x184)]();_0x2ff79f[_0x7ca82d(0x13c)]();for(let _0x4ce395=0x0;_0x4ce395<_0x2ff79f[_0x7ca82d(0x14d)]-0x1;_0x4ce395++){const _0x13ab05=_0x2ff79f[_0x4ce395],_0x2e3c24=_0x2ff79f[_0x4ce395+0x1];if(_0x13ab05[_0x7ca82d(0x168)]<_0x2e3c24[_0x7ca82d(0x16d)]){const _0x1bab5a=_0x2e3c24[_0x7ca82d(0x16d)],_0x4a420d=Math[_0x7ca82d(0x17a)](_0x1bab5a,_0x13ab05[_0x7ca82d(0x16d)]);this[_0x7ca82d(0x163)]({'revision':_0x13ab05,'from':_0x1bab5a,'to':_0x4a420d});}}}[_0x4c59e6(0x163)]({revision:_0x2dab1e,from:_0x3e18dd,to:_0x17b40a}={}){const _0x122e18=_0x4c59e6,_0x54776d=this[_0x122e18(0x16c)][_0x122e18(0x178)][_0x122e18(0x16b)](_0x5cc4bb),_0x3842ad=this[_0x122e18(0x16a)][_0x122e18(0x18d)]({'revision':_0x2dab1e,'from':_0x3e18dd,'to':_0x17b40a});_0x3842ad[_0x122e18(0x18f)]=_0x3842ad[_0x122e18(0x12b)][_0x122e18(0x169)](_0x5a406c=>_0x54776d[_0x122e18(0x139)](_0x5a406c)),_0x2dab1e[_0x122e18(0x161)](_0x3842ad);}[_0x4c59e6(0x191)](_0x419cd6){const _0x2ff46b=_0x4c59e6,_0x432975={};_0x432975['id']=_0x419cd6['id'];for(const _0x3aa2bb of Object[_0x2ff46b(0x187)](_0x419cd6))'id'!==_0x3aa2bb&&(_0x432975[_0x3aa2bb]=void 0x0);this[_0x2ff46b(0x16a)][_0x2ff46b(0x15f)](_0x432975['id'],_0x432975,!0x0);}async[_0x4c59e6(0x128)](_0x8b71a){const _0x34bed7=_0x4c59e6,_0x3aa3c1=this[_0x34bed7(0x16c)][_0x34bed7(0x178)][_0x34bed7(0x16b)](_0x5cc4bb),{connection:_0x42f3f2}=this[_0x34bed7(0x16c)][_0x34bed7(0x178)][_0x34bed7(0x16b)](_0x34a304),_0x20ce7e=new Set();for(const _0xfec4a7 of _0x8b71a){for(const _0x320c39 of _0xfec4a7[_0x34bed7(0x12b)])_0x4a04db(_0x320c39);_0xfec4a7[_0x34bed7(0x14a)]&&_0x4a04db(_0xfec4a7[_0x34bed7(0x14a)]);}if(0x0===_0x20ce7e[_0x34bed7(0x165)])return;const _0x262886=await _0x1acfa0[_0x34bed7(0x15c)](_0x42f3f2,Array[_0x34bed7(0x185)](_0x20ce7e));for(const _0x2b22a0 of _0x262886)_0x3aa3c1[_0x34bed7(0x139)](_0x2b22a0['id'])||_0x3aa3c1[_0x34bed7(0x145)](_0x2b22a0);function _0x4a04db(_0x59b551){const _0x5f2160=_0x34bed7;_0x3aa3c1[_0x5f2160(0x139)](_0x59b551)||_0x20ce7e[_0x5f2160(0x15e)](_0x59b551);}}}function q(_0x310744){const _0x3794a9=_0x4c59e6;return _0x310744[_0x3794a9(0x147)][_0x3794a9(0x199)](_0x3794a9(0x131))||_0x310744[_0x3794a9(0x147)][_0x3794a9(0x199)](_0x3794a9(0x16f))||_0x310744[_0x3794a9(0x147)][_0x3794a9(0x199)](_0x3794a9(0x189));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x440ba2=_0x14a4;(function(_0x175525,_0x4f9f18){var _0x17837b=_0x14a4,_0x147779=_0x175525();while(!![]){try{var _0x414780=-parseInt(_0x17837b(0x95))/0x1*(parseInt(_0x17837b(0x9b))/0x2)+parseInt(_0x17837b(0x91))/0x3*(-parseInt(_0x17837b(0x9e))/0x4)+-parseInt(_0x17837b(0x93))/0x5+parseInt(_0x17837b(0x98))/0x6*(parseInt(_0x17837b(0xa0))/0x7)+parseInt(_0x17837b(0x8f))/0x8+-parseInt(_0x17837b(0x90))/0x9*(parseInt(_0x17837b(0x97))/0xa)+parseInt(_0x17837b(0x9c))/0xb*(parseInt(_0x17837b(0x9d))/0xc);if(_0x414780===_0x4f9f18)break;else _0x147779['push'](_0x147779['shift']());}catch(_0x3ffaba){_0x147779['push'](_0x147779['shift']());}}}(_0x573b,0x3fb9d));import{Plugin as _0x5dc113}from'ckeditor5/src/core.js';function _0x14a4(_0x3a831e,_0x322cb1){var _0x573bb0=_0x573b();return _0x14a4=function(_0x14a4d6,_0x22673a){_0x14a4d6=_0x14a4d6-0x8f;var _0x4e06e9=_0x573bb0[_0x14a4d6];return _0x4e06e9;},_0x14a4(_0x3a831e,_0x322cb1);}import{CloudServicesRevisionHistoryAdapter as _0x4854f8}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x21351f}from'./realtimecollaborativeediting.js';function _0x573b(){var _0x399ecf=['isPremiumPlugin','3130grZuND','12RjHHCt','pluginName','requires','8yhgTSO','500951baWPGd','36YHMMsJ','114780jsOUIT','isOfficialPlugin','787507voxIqv','3661144cXOGjF','6228FzmUgv','3nzeCvW','RevisionHistory','1420840vaVZEd','RealTimeCollaborativeRevisionHistory','7197QeusYG'];_0x573b=function(){return _0x399ecf;};return _0x573b();}export class RealTimeCollaborativeRevisionHistory extends _0x5dc113{static get[_0x440ba2(0x9a)](){var _0xe4a398=_0x440ba2;return[_0xe4a398(0x92),_0x4854f8,_0x21351f];}static get[_0x440ba2(0x99)](){var _0x26c06e=_0x440ba2;return _0x26c06e(0x94);}static get[_0x440ba2(0x9f)](){return!0x0;}static get[_0x440ba2(0x96)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x29c2a5=_0x6292;(function(_0x38609a,_0x33b9d6){const _0x5212d0=_0x6292,_0x38fc16=_0x38609a();while(!![]){try{const _0x524be5=parseInt(_0x5212d0(0xaa))/0x1+parseInt(_0x5212d0(0xa2))/0x2+parseInt(_0x5212d0(0xa1))/0x3+-parseInt(_0x5212d0(0x99))/0x4*(-parseInt(_0x5212d0(0xa3))/0x5)+parseInt(_0x5212d0(0x81))/0x6+-parseInt(_0x5212d0(0x82))/0x7+parseInt(_0x5212d0(0x7b))/0x8*(-parseInt(_0x5212d0(0xa5))/0x9);if(_0x524be5===_0x33b9d6)break;else _0x38fc16['push'](_0x38fc16['shift']());}catch(_0x5554e6){_0x38fc16['push'](_0x38fc16['shift']());}}}(_0x3ad7,0x7d8f3));import{Plugin as _0x10e64f}from'ckeditor5/src/core.js';function _0x6292(_0x5352ab,_0x1c6015){const _0x3ad705=_0x3ad7();return _0x6292=function(_0x62928,_0x336f5f){_0x62928=_0x62928-0x77;let _0x213882=_0x3ad705[_0x62928];return _0x213882;},_0x6292(_0x5352ab,_0x1c6015);}function _0x3ad7(){const _0x2fa878=['_bufferedRequests','data','connect','cloud-services-internal-error:\x20Not\x20connected.','277555PcZYwp','add','CloudServicesTrackChangesAdapter','_saved','hasSuggestion','_waitForServiceReady','isOfficialPlugin','requires','delete','editor','update','open','init','isPremiumPlugin','from','_fetchMissingUsersForThreads','12838456NpcEjL','listenTo','then','plugins','find','pluginName','1352406QLBQNr','3985422Ghoyre','TrackChangesEditing','suggestionUpdated','getSuggestion','TrackChangesService','config','cloud-services-internal-error:\x20Request\x20timeout.','addSuggestionData','values','connected','get','reconnect','_trackChangesService','off','addToReconnectionStack','addUser','adapter','isConnected','getMany','set','state','attributes','originalSuggestionId','44xOmWLf','connection','getUser','message','startsWith','collaboration.channelId','type','size','2807052gTczFL','555402UIBKFP','441865vbWYEV','catch','9UpHSuU'];_0x3ad7=function(){return _0x2fa878;};return _0x3ad7();}import{User as _0x4a32ba,TrackChangesService as _0x51bf7c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x105038}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x22370a}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x266cf8}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x10e64f{static [_0x29c2a5(0x86)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x51bf7c)());[_0x29c2a5(0xa6)];[_0x29c2a5(0x8e)];static get[_0x29c2a5(0xb1)](){const _0x535d16=_0x29c2a5;return[_0x22370a,_0x535d16(0x83),_0x105038];}static get[_0x29c2a5(0x80)](){const _0x38b0a9=_0x29c2a5;return _0x38b0a9(0xac);}static get[_0x29c2a5(0xb0)](){return!0x0;}static get[_0x29c2a5(0x78)](){return!0x0;}constructor(_0x307bad){const _0x4fe853=_0x29c2a5;super(_0x307bad);const _0x144e97=this[_0x4fe853(0xb3)][_0x4fe853(0x87)][_0x4fe853(0x8c)](_0x4fe853(0x9e));this[_0x4fe853(0xa6)]=new Map(),this[_0x4fe853(0x8e)]=new CloudServicesTrackChangesAdapter[(_0x4fe853(0x86))](_0x144e97);}[_0x29c2a5(0x77)](){const _0x507497=_0x29c2a5,_0x4fbf5e=this[_0x507497(0xb3)][_0x507497(0x7e)][_0x507497(0x8c)](_0x105038),_0x6afac7=this[_0x507497(0xb3)][_0x507497(0x7e)][_0x507497(0x8c)](_0x507497(0x83));return _0x6afac7[_0x507497(0x92)]={'getSuggestion':async _0x24d135=>{const _0x1a9797=_0x507497;await this[_0x1a9797(0xaf)]();const _0x391331=await this[_0x1a9797(0x8e)][_0x1a9797(0x8c)](_0x24d135)[_0x1a9797(0xa4)](k);return await this[_0x1a9797(0x7a)]([_0x391331]),_0x391331;},'addSuggestion':async({id:_0x459741,type:_0x2ec1ac,data:_0x2b7c93,originalSuggestionId:_0x1ebbea,attributes:_0x1676f0})=>{const _0xc3c804=_0x507497;await this[_0xc3c804(0xaf)]();const _0x12d3d4={'id':_0x459741,'type':_0x2ec1ac,'data':_0x2b7c93,'originalSuggestionId':_0x1ebbea,'attributes':_0x1676f0},_0x501e6a=await this[_0xc3c804(0x8e)][_0xc3c804(0xab)](_0x459741,_0x2ec1ac,_0x2b7c93,_0x1ebbea,_0x1676f0)[_0xc3c804(0xa4)](_0x291c1a=>{if(q(_0x291c1a))return new Promise(_0x42f4bb=>{const _0x171406=_0x6292;this[_0x171406(0xa6)][_0x171406(0x95)](_0x459741,{'resolve':_0x42f4bb,'suggestionData':_0x12d3d4});});throw _0x291c1a;});return this[_0xc3c804(0xa6)][_0xc3c804(0xb2)](_0x459741),_0x501e6a;},'updateSuggestion':async(_0x52e3c0,_0x48ec2d)=>{const _0x3bdb9a=_0x507497;if(await this[_0x3bdb9a(0xaf)](),_0x3bdb9a(0xb5)!==_0x48ec2d[_0x3bdb9a(0x96)])return this[_0x3bdb9a(0x8e)][_0x3bdb9a(0xb4)](_0x52e3c0,_0x48ec2d)[_0x3bdb9a(0xa4)](k);}},this[_0x507497(0x7c)](this[_0x507497(0x8e)],_0x507497(0x84),(_0x326274,_0x57eba2)=>{const _0x2d87ab=_0x507497;_0x6afac7[_0x2d87ab(0xae)](_0x57eba2['id'])&&(_0x6afac7[_0x2d87ab(0x85)](_0x57eba2['id'])[_0x2d87ab(0x97)]=_0x57eba2[_0x2d87ab(0x97)]);}),this[_0x507497(0x8e)][_0x507497(0xa8)](_0x4fbf5e[_0x507497(0x9a)])[_0x507497(0x7d)](_0x33809f=>(_0x4fbf5e[_0x507497(0x90)](this),this[_0x507497(0x7a)](_0x33809f)[_0x507497(0x7d)](()=>{const _0x55c3f2=_0x507497;for(const _0x471b84 of _0x33809f){_0x6afac7[_0x55c3f2(0x89)](_0x471b84)[_0x55c3f2(0xad)]=!0x0;}})));}async[_0x29c2a5(0x8d)](){const _0x105af4=_0x29c2a5,_0x904d1a=this[_0x105af4(0xb3)][_0x105af4(0x7e)][_0x105af4(0x8c)](_0x105af4(0x83)),{connection:_0xe7c4f2}=this[_0x105af4(0xb3)][_0x105af4(0x7e)][_0x105af4(0x8c)](_0x105038),_0x159204=await this[_0x105af4(0x8e)][_0x105af4(0xa8)](_0xe7c4f2);await this[_0x105af4(0x7a)](_0x159204);for(const {suggestionData:_0x41af0b,resolve:_0x3b88d6}of this[_0x105af4(0xa6)][_0x105af4(0x8a)]()){let _0x351a19=_0x159204[_0x105af4(0x7f)](_0x13b1ad=>_0x13b1ad['id']===_0x41af0b['id']);_0x351a19||(_0x351a19=await this[_0x105af4(0x8e)][_0x105af4(0xab)](_0x41af0b['id'],_0x41af0b[_0x105af4(0x9f)],_0x41af0b[_0x105af4(0xa7)],_0x41af0b[_0x105af4(0x98)])),_0x3b88d6(_0x351a19);}for(const _0x73744f of _0x159204)_0x904d1a[_0x105af4(0xae)](_0x73744f['id'])||_0x904d1a[_0x105af4(0x89)](_0x73744f);}async[_0x29c2a5(0xaf)](){const _0x50b1da=_0x29c2a5;this[_0x50b1da(0x8e)][_0x50b1da(0x93)]||await new Promise(_0x52ffde=>{const _0x1b6881=_0x50b1da;this[_0x1b6881(0x7c)](this[_0x1b6881(0x8e)],_0x1b6881(0x8b),_0x4f6fc4=>{const _0x2ea419=_0x1b6881;_0x4f6fc4[_0x2ea419(0x8f)](),_0x52ffde();});});}async[_0x29c2a5(0x7a)](_0xd506fc){const _0x4565d8=_0x29c2a5,_0x14ed15=this[_0x4565d8(0xb3)][_0x4565d8(0x7e)][_0x4565d8(0x8c)](_0x266cf8),{connection:_0x5aa5ad}=this[_0x4565d8(0xb3)][_0x4565d8(0x7e)][_0x4565d8(0x8c)](_0x105038),_0x1a7ee4=new Set();for(const {authorId:_0xdf248b}of _0xd506fc)_0x14ed15[_0x4565d8(0x9b)](_0xdf248b)||_0x1a7ee4[_0x4565d8(0xab)](_0xdf248b);if(0x0===_0x1a7ee4[_0x4565d8(0xa0)])return;const _0x2d43e7=await _0x4a32ba[_0x4565d8(0x94)](_0x5aa5ad,Array[_0x4565d8(0x79)](_0x1a7ee4));for(const _0x281aed of _0x2d43e7)_0x14ed15[_0x4565d8(0x9b)](_0x281aed['id'])||_0x14ed15[_0x4565d8(0x91)](_0x281aed);}}function k(_0x3807f1){if(q(_0x3807f1))return new Promise(()=>{});throw _0x3807f1;}function q(_0x48ace8){const _0x8cc761=_0x29c2a5;return _0x48ace8[_0x8cc761(0x9c)][_0x8cc761(0x9d)](_0x8cc761(0xa9))||_0x48ace8[_0x8cc761(0x9c)][_0x8cc761(0x9d)](_0x8cc761(0x88));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf4bb63=_0x2328;(function(_0x95605c,_0x1c0d7e){var _0x3a1049=_0x2328,_0x28610e=_0x95605c();while(!![]){try{var _0x550d01=parseInt(_0x3a1049(0x10b))/0x1*(-parseInt(_0x3a1049(0x108))/0x2)+parseInt(_0x3a1049(0x10c))/0x3*(parseInt(_0x3a1049(0xfc))/0x4)+-parseInt(_0x3a1049(0x10a))/0x5+-parseInt(_0x3a1049(0x100))/0x6+parseInt(_0x3a1049(0x103))/0x7+parseInt(_0x3a1049(0x101))/0x8*(parseInt(_0x3a1049(0x102))/0x9)+parseInt(_0x3a1049(0xff))/0xa*(-parseInt(_0x3a1049(0xfe))/0xb);if(_0x550d01===_0x1c0d7e)break;else _0x28610e['push'](_0x28610e['shift']());}catch(_0xe79f52){_0x28610e['push'](_0x28610e['shift']());}}}(_0x3cff,0x9e22d));function _0x2328(_0x213f12,_0x471d8a){var _0x3cff58=_0x3cff();return _0x2328=function(_0x232895,_0x26419a){_0x232895=_0x232895-0xfc;var _0x27aa7f=_0x3cff58[_0x232895];return _0x27aa7f;},_0x2328(_0x213f12,_0x471d8a);}import{Plugin as _0x57e4ad}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2b15c9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x54f76c}from'./realtimecollaborativecomments.js';function _0x3cff(){var _0xbc60bd=['1106991pABzPN','5110434qlOhfh','TrackChanges','isPremiumPlugin','requires','RealTimeCollaborativeTrackChanges','74662WJyjlX','pluginName','1020815RvRzux','16WHyQBG','194676iKqtaY','4cEeZoI','isOfficialPlugin','33xjklak','269490pMXIdl','2969478IVSmrm','80hqBlzO'];_0x3cff=function(){return _0xbc60bd;};return _0x3cff();}export class RealTimeCollaborativeTrackChanges extends _0x57e4ad{static get[_0xf4bb63(0x106)](){var _0x434083=_0xf4bb63;return[_0x54f76c,_0x2b15c9,_0x434083(0x104)];}static get[_0xf4bb63(0x109)](){var _0x51a557=_0xf4bb63;return _0x51a557(0x107);}static get[_0xf4bb63(0xfd)](){return!0x0;}static get[_0xf4bb63(0x105)](){return!0x0;}}
|