@ckeditor/ckeditor5-real-time-collaboration 47.7.2 → 47.7.3-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 +2 -2
- 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 +15 -15
- 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
|
+
function _0x4960(_0x5c0e93,_0x41708c){const _0x1e95a0=_0x1e95();return _0x4960=function(_0x4960e9,_0x3d1f28){_0x4960e9=_0x4960e9-0x111;let _0x26cb3e=_0x1e95a0[_0x4960e9];return _0x26cb3e;},_0x4960(_0x5c0e93,_0x41708c);}const _0x54e248=_0x4960;function _0x1e95(){const _0x4871e1=['connection','plugins','error','constructor','connected','has','21PwZkhr','delete','define','from','code','56470HamxVP','websocketgateway-missing-websocket-url','pluginName','disconnect','config','CONNECTING','connect','context','showWarning','stopListening','776853gBiIhf','_domEmitter','CONNECTED','websocketgateway-missing-token','addToReconnectionStack','all','5342yIBPIj','isOfficialPlugin','set','get','isInReconnectionStack','initialReconnectionInterval','add','477jMcWPu','change:me','token','requires','Connected\x20users\x20limit\x20exceeded','_isBrowserOffline','webSocketUrl','websocketgateway-plugin-already-registered','online','listenTo','cloudServices.connectionTimeout','cloudServices.requestTimeout','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.','382508SRvhaf','catch','state','then','limitExceeded','bind','_reconnectionStack','_reconnect','removeFromReconnectionStack','DISCONNECTED','cloudservices-init','108162RXlSfD','reconnect','2017935chkusW','cloudservices-reconnection-error','2262088QHGmPG','_shouldPluginsReconnect','WebSocketGateway','offline','real-time-collaboration','init','isPremiumPlugin','CloudServices','function','2ljfukt','websocketgateway-invalid-plugin-interface','destroy'];_0x1e95=function(){return _0x4871e1;};return _0x1e95();}(function(_0xdd5245,_0x366a0f){const _0x179ff5=_0x4960,_0x4f40a4=_0xdd5245();while(!![]){try{const _0x1c0d0a=parseInt(_0x179ff5(0x157))/0x1*(parseInt(_0x179ff5(0x12b))/0x2)+parseInt(_0x179ff5(0x125))/0x3+-parseInt(_0x179ff5(0x13f))/0x4+-parseInt(_0x179ff5(0x14c))/0x5+parseInt(_0x179ff5(0x14a))/0x6*(-parseInt(_0x179ff5(0x116))/0x7)+parseInt(_0x179ff5(0x14e))/0x8+parseInt(_0x179ff5(0x132))/0x9*(parseInt(_0x179ff5(0x11b))/0xa);if(_0x1c0d0a===_0x366a0f)break;else _0x4f40a4['push'](_0x4f40a4['shift']());}catch(_0x2e7b05){_0x4f40a4['push'](_0x4f40a4['shift']());}}}(_0x1e95,0x478ba));import{ContextPlugin as _0x3853e6}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x108885,CKEditorError as _0x5db633}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x16d074,WEB_SOCKET_GATEWAY_STATES as _0x1e350f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x136db0}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x3853e6{static [_0x54e248(0x150)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x16d074)());static [_0x54e248(0x130)]=0x3e8;[_0x54e248(0x15a)];[_0x54e248(0x145)];[_0x54e248(0x14f)];[_0x54e248(0x126)];static get[_0x54e248(0x135)](){const _0x582fa7=_0x54e248;return[_0x582fa7(0x155),_0x136db0];}static get[_0x54e248(0x11d)](){const _0x5d7538=_0x54e248;return _0x5d7538(0x150);}static get[_0x54e248(0x12c)](){return!0x0;}static get[_0x54e248(0x154)](){return!0x0;}constructor(_0x6f5491){const _0x216e39=_0x54e248;super(_0x6f5491),this[_0x216e39(0x12d)](_0x216e39(0x141),_0x1e350f[_0x216e39(0x127)]),this[_0x216e39(0x12d)](_0x216e39(0x137),!0x1),this[_0x216e39(0x145)]=new Set(),this[_0x216e39(0x14f)]=!0x1,this[_0x216e39(0x126)]=new(_0x108885())();}[_0x54e248(0x153)](){const _0xe47ecc=_0x54e248,_0xf95911=this[_0xe47ecc(0x122)],_0x382c0d=_0xf95911[_0xe47ecc(0x111)][_0xe47ecc(0x12e)](_0xe47ecc(0x155)),_0xa5bf93=_0xf95911[_0xe47ecc(0x111)][_0xe47ecc(0x12e)](_0x136db0);if(!_0x382c0d[_0xe47ecc(0x134)])throw new _0x5db633(_0xe47ecc(0x128),this);if(!_0x382c0d[_0xe47ecc(0x138)])throw new _0x5db633(_0xe47ecc(0x11c),this);return this[_0xe47ecc(0x126)][_0xe47ecc(0x13b)](window,_0xe47ecc(0x151),()=>this[_0xe47ecc(0x137)]=!0x0),this[_0xe47ecc(0x126)][_0xe47ecc(0x13b)](window,_0xe47ecc(0x13a),()=>this[_0xe47ecc(0x137)]=!0x1),this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x118)](_0xe47ecc(0x13c),0xa),this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x118)](_0xe47ecc(0x13d),0x14),WebSocketGateway[_0xe47ecc(0x150)][_0xe47ecc(0x121)](_0x382c0d[_0xe47ecc(0x134)],_0x382c0d[_0xe47ecc(0x138)],{'timeout':0x3e8*this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x12e)](_0xe47ecc(0x13c)),'requestTimeout':0x3e8*this[_0xe47ecc(0x122)][_0xe47ecc(0x11f)][_0xe47ecc(0x12e)](_0xe47ecc(0x13d))})[_0xe47ecc(0x142)](_0x140d2a=>{const _0x3bd9d4=_0xe47ecc;if(this[_0x3bd9d4(0x15a)]=_0x140d2a,this[_0x3bd9d4(0x144)](_0x3bd9d4(0x141))['to'](_0x140d2a,_0x3bd9d4(0x141),this,_0x3bd9d4(0x137),(_0x4aef2c,_0x29e8d3)=>(_0x3bd9d4(0x114)!==_0x4aef2c&&(this[_0x3bd9d4(0x14f)]=!0x0),_0x29e8d3||_0x4aef2c!==_0x1e350f[_0x3bd9d4(0x127)]?_0x1e350f[_0x3bd9d4(0x148)]:this[_0x3bd9d4(0x141)]==_0x1e350f[_0x3bd9d4(0x148)]&&this[_0x3bd9d4(0x14f)]?(this[_0x3bd9d4(0x14f)]=!0x1,this[_0x3bd9d4(0x146)](),_0x1e350f[_0x3bd9d4(0x120)]):_0x1e350f[_0x3bd9d4(0x127)])),this[_0x3bd9d4(0x15a)]['on'](_0x3bd9d4(0x112),(_0x552cae,_0x2a16e7)=>{const _0x35cc6e=_0x3bd9d4;if(_0x35cc6e(0x143)!==_0x2a16e7[_0x35cc6e(0x11a)])throw console[_0x35cc6e(0x112)](_0x2a16e7),new _0x5db633(_0x35cc6e(0x149),null,{'originalError':_0x2a16e7});_0xa5bf93[_0x35cc6e(0x123)](_0x35cc6e(0x13e),{'title':_0x35cc6e(0x136),'namespace':_0x35cc6e(0x152)});}),!_0x140d2a['me'])return new Promise(_0x53c7ff=>_0x140d2a['on'](_0x3bd9d4(0x133),_0x53c7ff));})[_0xe47ecc(0x140)](_0xd7370c=>{const _0x5dad3b=_0xe47ecc;throw console[_0x5dad3b(0x112)](_0xd7370c),new _0x5db633(_0x5dad3b(0x149),null,{'originalError':_0xd7370c});});}[_0x54e248(0x129)](_0x531285){const _0x378bdb=_0x54e248;if(_0x378bdb(0x156)!=typeof _0x531285[_0x378bdb(0x14b)])throw new _0x5db633(_0x378bdb(0x158),this);if(this[_0x378bdb(0x12f)](_0x531285))throw new _0x5db633(_0x378bdb(0x139),this,{'name':_0x531285[_0x378bdb(0x113)][_0x378bdb(0x11d)]});this[_0x378bdb(0x145)][_0x378bdb(0x131)](_0x531285);}[_0x54e248(0x147)](_0x32794a){const _0x158c0e=_0x54e248;this[_0x158c0e(0x145)][_0x158c0e(0x117)](_0x32794a);}[_0x54e248(0x12f)](_0x14b9ad){const _0x3be4b6=_0x54e248;return this[_0x3be4b6(0x145)][_0x3be4b6(0x115)](_0x14b9ad);}[_0x54e248(0x146)](){const _0x5a2c80=_0x54e248;return this[_0x5a2c80(0x15a)][_0x5a2c80(0x14b)]()[_0x5a2c80(0x142)](()=>Promise[_0x5a2c80(0x12a)](Array[_0x5a2c80(0x119)](this[_0x5a2c80(0x145)],_0x5e4c24=>_0x5e4c24[_0x5a2c80(0x14b)]())))[_0x5a2c80(0x142)](()=>this[_0x5a2c80(0x141)]=_0x1e350f[_0x5a2c80(0x127)])[_0x5a2c80(0x140)](_0x2fb636=>{const _0x47c892=_0x5a2c80;throw console[_0x47c892(0x112)](_0x2fb636),new _0x5db633(_0x47c892(0x14d),this[_0x47c892(0x122)]);});}[_0x54e248(0x11e)](){const _0x3f305a=_0x54e248;this[_0x3f305a(0x15a)]&&this[_0x3f305a(0x15a)][_0x3f305a(0x11e)](),this[_0x3f305a(0x141)]=_0x1e350f[_0x3f305a(0x148)],this[_0x3f305a(0x126)][_0x3f305a(0x124)]();}[_0x54e248(0x159)](){const _0x3b1108=_0x54e248;this[_0x3b1108(0x11e)](),super[_0x3b1108(0x159)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3974(){var _0x235675=['748000HdHquP','2700177ZMTVYS','3379002qtXncN','isOfficialPlugin','7XVFrjb','requires','pluginName','3144712nJDnwI','22274152XVIXWm','isPremiumPlugin','1588315YLCqnx','RealTimeCollaborativeEditing','812066AwCmLd'];_0x3974=function(){return _0x235675;};return _0x3974();}var _0x3ff7f0=_0x141c;(function(_0x13fa7a,_0x2d241e){var _0x403339=_0x141c,_0x110044=_0x13fa7a();while(!![]){try{var _0x531ffe=-parseInt(_0x403339(0x157))/0x1+parseInt(_0x403339(0x156))/0x2+-parseInt(_0x403339(0x158))/0x3+-parseInt(_0x403339(0x15e))/0x4+parseInt(_0x403339(0x154))/0x5+parseInt(_0x403339(0x159))/0x6*(-parseInt(_0x403339(0x15b))/0x7)+parseInt(_0x403339(0x152))/0x8;if(_0x531ffe===_0x2d241e)break;else _0x110044['push'](_0x110044['shift']());}catch(_0x197b6e){_0x110044['push'](_0x110044['shift']());}}}(_0x3974,0x7ca61));function _0x141c(_0x47b43a,_0x157b91){var _0x397403=_0x3974();return _0x141c=function(_0x141cb3,_0x488a51){_0x141cb3=_0x141cb3-0x152;var _0x48608a=_0x397403[_0x141cb3];return _0x48608a;},_0x141c(_0x47b43a,_0x157b91);}import{Plugin as _0x2d028e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4c3ff0}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x2d028e{static get[_0x3ff7f0(0x15c)](){return[_0x4c3ff0];}static get[_0x3ff7f0(0x15d)](){var _0x4385bf=_0x3ff7f0;return _0x4385bf(0x155);}static get[_0x3ff7f0(0x15a)](){return!0x0;}static get[_0x3ff7f0(0x153)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x53f529)());[_0x23be42(0x119)];[_0x23be42(0x118)];[_0x23be42(0xfa)];[_0x23be42(0xef)];static get[_0x23be42(0xf7)](){const _0x197792=_0x23be42;return[_0x162c95,_0x2cff4b,_0x197792(0xe0),_0x2ce73f,_0x100d9e];}static get[_0x23be42(0x11d)](){const _0x19a17d=_0x23be42;return _0x19a17d(0xfd);}static get[_0x23be42(0x104)](){return!0x0;}static get[_0x23be42(0x127)](){return!0x0;}constructor(_0x122fc5){const _0x1081ba=_0x23be42;super(_0x122fc5);const _0x1ac606=this[_0x1081ba(0x12f)][_0x1081ba(0x11e)][_0x1081ba(0x136)](_0x1081ba(0xdd));this[_0x1081ba(0x119)]=null,this[_0x1081ba(0x118)]=this[_0x1081ba(0x12f)][_0x1081ba(0x10f)][_0x1081ba(0x136)](_0x1081ba(0x11b)),this[_0x1081ba(0xfa)]=new CloudServicesRevisionHistoryAdapter[(_0x1081ba(0xcf))](_0x1ac606);}async[_0x23be42(0x105)](){const _0x58784e=_0x23be42,_0x4c05fe=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x2cff4b),_0x2fde7b=_0x4c05fe[_0x58784e(0xfe)],_0x25bd56=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x162c95);this[_0x58784e(0x118)][_0x58784e(0x10b)]({'history':_0x2fde7b,'getLatestVersion':()=>this[_0x58784e(0x107)](),'getCurrentRevisionId':()=>_0x4c05fe[_0x58784e(0x115)]});const _0x11223d=this[_0x58784e(0x12f)][_0x58784e(0x11e)][_0x58784e(0x136)](_0x58784e(0xce))||_0x7e2be6,_0xafc5df=await _0x625a4d[_0x58784e(0xfb)](_0x25bd56[_0x58784e(0xdc)],_0x11223d);this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x58784e(0xe0))[_0x58784e(0x137)]={'getRevision':async({revisionId:_0x17d2e7})=>(await this[_0x58784e(0xd4)](),await this[_0x58784e(0xfa)][_0x58784e(0xcc)](_0x17d2e7)),'updateRevisions':async _0x152a03=>{const _0xd7c43f=_0x58784e;await this[_0xd7c43f(0xd4)]();const _0xb841e8=this[_0xd7c43f(0x118)][_0xd7c43f(0xd1)];if(_0xafc5df&&0x1===_0x152a03[_0xd7c43f(0xd8)]&&_0x152a03[0x0]['id']===_0xb841e8['id'])return _0x152a03;for(const _0x1ecb16 of _0x152a03)_0x1ecb16['id']===_0xb841e8['id']&&(_0x1ecb16[_0xd7c43f(0x12e)]=_0x1ecb16[_0xd7c43f(0xe5)]===_0x1ecb16[_0xd7c43f(0x13e)]);return this[_0xd7c43f(0xfa)][_0xd7c43f(0x110)](_0x152a03,this[_0xd7c43f(0x119)])[_0xd7c43f(0x129)](_0x23ed4d=>(this[_0xd7c43f(0x119)]=_0x23ed4d,_0x152a03))[_0xd7c43f(0xe4)](_0x1a9f73=>{const _0x367f0a=_0xd7c43f;if(I(_0x1a9f73)||_0x367f0a(0xd5)===_0x1a9f73[_0x367f0a(0x120)]&&void 0x0!==_0x1a9f73[_0x367f0a(0xec)][_0x367f0a(0x133)]){for(const _0x5e5fc0 of _0x152a03){!this[_0x367f0a(0x118)][_0x367f0a(0x114)][_0x367f0a(0xcc)](_0x5e5fc0['id'])||this[_0x367f0a(0x118)][_0x367f0a(0xf5)](_0x5e5fc0['id'],_0x5e5fc0,!0x1);}if(I(_0x1a9f73))throw _0x1a9f73;return _0x152a03;}throw _0x1a9f73;});}},this[_0x58784e(0xf0)](this[_0x58784e(0xfa)],_0x58784e(0xe3),(_0x270cde,{revisionsData:_0x265f90,requestId:_0x1d29c7})=>{const _0x3cc221=_0x58784e;Math[_0x3cc221(0xd9)](..._0x265f90[_0x3cc221(0xdb)](_0x450aa9=>_0x450aa9[_0x3cc221(0x13e)]))>this[_0x3cc221(0xfc)]()-0x1?this[_0x3cc221(0x107)]()[_0x3cc221(0x129)](()=>{const _0x3184b5=_0x3cc221;this[_0x3184b5(0x113)](_0x265f90,_0x1d29c7);}):this[_0x3cc221(0x113)](_0x265f90,_0x1d29c7);});const {revisions:_0x3907d7,requestId:_0x2f75c6}=await this[_0x58784e(0xfa)][_0x58784e(0x132)](_0x25bd56[_0x58784e(0xdc)]);_0x25bd56[_0x58784e(0xd3)](this),this[_0x58784e(0x119)]=_0x2f75c6,await this[_0x58784e(0x124)](_0x3907d7);for(const _0x178aaa of _0x3907d7)this[_0x58784e(0x118)][_0x58784e(0x139)](_0x178aaa);this[_0x58784e(0xf0)](_0x4c05fe,_0x58784e(0x112),(_0x181616,_0x291a2f,_0x5ce55c)=>{const _0x11f49e=_0x58784e;_0x5ce55c&&(this[_0x11f49e(0xef)]=_0x4c05fe[_0x11f49e(0x135)],_0x181616[_0x11f49e(0xf1)]());}),this[_0x58784e(0x118)][_0x58784e(0x100)](_0x58784e(0x12d))['to'](_0x25bd56,_0x58784e(0xf4),_0x11ae52=>_0x11ae52===_0x3c72ab[_0x58784e(0x121)]);}async[_0x23be42(0x126)](){const _0xc972e=_0x23be42,_0x5a9dad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x162c95),_0x4683ad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x2cff4b),_0x3a5ca1=async()=>{const _0x590095=_0xc972e,_0x2b08b4=this[_0x590095(0x118)][_0x590095(0xd1)],_0x82ecfc=_0x2b08b4['id'],_0x567688=_0x82ecfc!==_0x4683ad[_0x590095(0x115)];if(_0x567688){const _0x85cde9=_0x4683ad[_0x590095(0x135)]-this[_0x590095(0xef)],_0x3e8786=this[_0x590095(0xfc)]();this[_0x590095(0x118)][_0x590095(0x11c)][_0x590095(0xe7)]();if(_0x2b08b4[_0x590095(0x13e)]+_0x85cde9!==_0x3e8786){const _0x590587=_0x2b08b4[_0x590095(0xe5)]+_0x85cde9,_0x17b9d5=this[_0x590095(0x12f)][_0x590095(0x10f)][_0x590095(0x136)](_0x100d9e),_0x545004=this[_0x590095(0x118)][_0x590095(0x108)]({'revision':_0x2b08b4,'from':_0x590587,'to':_0x3e8786});_0x545004['id']=_0x2b08b4['id'];const _0x7f2bb7=_0x545004[_0x590095(0xee)][_0x590095(0xdb)](_0x597f7c=>_0x17b9d5[_0x590095(0x125)](_0x597f7c));_0x2b08b4[_0x590095(0xe6)]({..._0x545004,'authors':_0x7f2bb7},!0x0),this[_0x590095(0x118)][_0x590095(0xf5)](_0x2b08b4['id'],_0x545004,!0x0);}this[_0x590095(0x118)][_0x590095(0x11f)]=_0x3e8786,(_0x2b08b4[_0x590095(0x13e)]===_0x2b08b4[_0x590095(0xe5)]&&!this[_0x590095(0x118)][_0x590095(0x101)][_0x590095(0xff)](_0x82ecfc)&&this[_0x590095(0x118)][_0x590095(0x114)][_0x590095(0xeb)][_0x590095(0x102)](_0x82ecfc),this[_0x590095(0x118)][_0x590095(0x111)](_0x3e8786));}const {revisions:_0x1adda3,requestId:_0x592b3e}=await this[_0x590095(0xfa)][_0x590095(0x126)](_0x5a9dad[_0x590095(0xdc)],this[_0x590095(0x119)]);_0x567688&&_0x1adda3[_0x590095(0xd8)]>0x0?_0x4683ad[_0x590095(0xed)]():(await this[_0x590095(0x124)](_0x1adda3),this[_0x590095(0x113)](_0x1adda3,_0x592b3e),this[_0x590095(0x118)][_0x590095(0xd2)]());};return _0x4683ad[_0xc972e(0x10c)]?_0x3a5ca1():new Promise((_0x5b12f1,_0x4869c1)=>{const _0x578060=_0xc972e;_0x4683ad[_0x578060(0xd6)](_0x578060(0x112),()=>{const _0x3f40bc=_0x578060;_0x3a5ca1()[_0x3f40bc(0x129)](_0x5b12f1)[_0x3f40bc(0xe4)](_0x4869c1);});});}[_0x23be42(0x131)](){const _0x3f8777=_0x23be42;super[_0x3f8777(0x131)]();}async[_0x23be42(0xd4)](){const _0x19f343=_0x23be42;this[_0x19f343(0xfa)][_0x19f343(0xf6)]||await new Promise(_0x24b652=>{const _0x76408a=_0x19f343;this[_0x76408a(0xf0)](this[_0x76408a(0xfa)],_0x76408a(0x12c),_0x5c8147=>{const _0x28c99f=_0x76408a;_0x5c8147[_0x28c99f(0xf1)](),_0x24b652();});});}[_0x23be42(0xfc)](){const _0x5b7103=_0x23be42,_0x2ceac2=this[_0x5b7103(0x12f)][_0x5b7103(0x10f)][_0x5b7103(0x136)](_0x2cff4b)[_0x5b7103(0xfe)][_0x5b7103(0x109)]()[_0x5b7103(0x13c)]();for(const _0x55adde of _0x2ceac2)if(_0x5b7103(0x117)!==_0x55adde[_0x5b7103(0xe2)]||_0x55adde[_0x5b7103(0x128)])return _0x55adde[_0x5b7103(0xcd)]+0x1;}[_0x23be42(0x107)](){const _0x17f0af=_0x23be42,_0x1ddf8d=this[_0x17f0af(0x12f)][_0x17f0af(0x10f)][_0x17f0af(0x136)](_0x2cff4b);return new Promise(_0x1961aa=>{const _0x195d8e=_0x17f0af;_0x1ddf8d[_0x195d8e(0xea)]?_0x1ddf8d[_0x195d8e(0xd6)](_0x195d8e(0x116),()=>{const _0x2827d7=_0x195d8e;_0x1961aa(this[_0x2827d7(0xfc)]());}):_0x1961aa(this[_0x195d8e(0xfc)]());});}[_0x23be42(0x113)](_0x6846ab,_0x460a78){const _0x18b527=_0x23be42,_0x398869=this[_0x18b527(0x118)][_0x18b527(0x114)];this[_0x18b527(0x119)]=_0x460a78;for(const _0x37b022 of _0x6846ab){const _0x12a83b=_0x398869[_0x18b527(0xcc)](_0x37b022['id']);if(_0x12a83b){if((_0x37b022[_0x18b527(0xe5)]||_0x37b022[_0x18b527(0x13e)])&&(_0x37b022[_0x18b527(0xd7)]=null),_0x12a83b===this[_0x18b527(0x118)][_0x18b527(0xd1)]){const _0x5957cf=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0x13e)],_0x37b022[_0x18b527(0x13e)]),_0x1e3b6b=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0xe5)],_0x37b022[_0x18b527(0xe5)]);let _0x321839;_0x12a83b[_0x18b527(0x13e)]===_0x37b022[_0x18b527(0x13e)]&&_0x12a83b[_0x18b527(0xe5)]===_0x37b022[_0x18b527(0xe5)]?(_0x321839=!0x0,this[_0x18b527(0xd0)](_0x37b022)):_0x37b022[_0x18b527(0x13e)]===_0x5957cf&&_0x37b022[_0x18b527(0xe5)]===_0x1e3b6b?_0x321839=!0x1:(_0x12a83b[_0x18b527(0x13e)]===_0x5957cf&&_0x12a83b[_0x18b527(0xe5)]===_0x1e3b6b||this[_0x18b527(0x13b)]({'revision':_0x12a83b,'from':_0x1e3b6b,'to':_0x5957cf}),_0x321839=!0x0),_0x321839&&(delete _0x37b022[_0x18b527(0xe5)],delete _0x37b022[_0x18b527(0x13e)],delete _0x37b022[_0x18b527(0xd7)],delete _0x37b022[_0x18b527(0x10d)],delete _0x37b022[_0x18b527(0xee)]);}this[_0x18b527(0x118)][_0x18b527(0x103)](_0x37b022),this[_0x18b527(0xd0)](_0x37b022);}else this[_0x18b527(0x118)][_0x18b527(0x139)](_0x37b022);}const _0xb95af1=_0x398869[_0x18b527(0x13d)]();_0xb95af1[_0x18b527(0x13c)]();for(let _0x307bb5=0x0;_0x307bb5<_0xb95af1[_0x18b527(0xd8)]-0x1;_0x307bb5++){const _0x4c8bb1=_0xb95af1[_0x307bb5],_0x1f7586=_0xb95af1[_0x307bb5+0x1];if(_0x4c8bb1[_0x18b527(0xe5)]<_0x1f7586[_0x18b527(0x13e)]){const _0x456782=_0x1f7586[_0x18b527(0x13e)],_0x4a3cfd=Math[_0x18b527(0xd9)](_0x456782,_0x4c8bb1[_0x18b527(0x13e)]);this[_0x18b527(0x13b)]({'revision':_0x4c8bb1,'from':_0x456782,'to':_0x4a3cfd});}}}[_0x23be42(0x13b)]({revision:_0x4c4a87,from:_0x24f465,to:_0x453d64}={}){const _0x37a1e9=_0x23be42,_0x11e2c2=this[_0x37a1e9(0x12f)][_0x37a1e9(0x10f)][_0x37a1e9(0x136)](_0x100d9e),_0x426871=this[_0x37a1e9(0x118)][_0x37a1e9(0x108)]({'revision':_0x4c4a87,'from':_0x24f465,'to':_0x453d64});_0x426871[_0x37a1e9(0x106)]=_0x426871[_0x37a1e9(0xee)][_0x37a1e9(0xdb)](_0x1bb8a2=>_0x11e2c2[_0x37a1e9(0x125)](_0x1bb8a2)),_0x4c4a87[_0x37a1e9(0xe6)](_0x426871);}[_0x23be42(0xd0)](_0x276bc5){const _0x578c5e=_0x23be42,_0x21555d={};_0x21555d['id']=_0x276bc5['id'];for(const _0x4f57b8 of Object[_0x578c5e(0xf9)](_0x276bc5))'id'!==_0x4f57b8&&(_0x21555d[_0x4f57b8]=void 0x0);this[_0x578c5e(0x118)][_0x578c5e(0xf5)](_0x21555d['id'],_0x21555d,!0x0);}async[_0x23be42(0x124)](_0x49c0ba){const _0x475301=_0x23be42,_0x418db7=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x100d9e),{connection:_0x360f93}=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x162c95),_0x44c90a=new Set();for(const _0x4ced7f of _0x49c0ba){for(const _0x1ed355 of _0x4ced7f[_0x475301(0xee)])_0x108da7(_0x1ed355);_0x4ced7f[_0x475301(0x10e)]&&_0x108da7(_0x4ced7f[_0x475301(0x10e)]);}if(0x0===_0x44c90a[_0x475301(0xdf)])return;const _0xb9d596=await _0x7d71a0[_0x475301(0x134)](_0x360f93,Array[_0x475301(0x11a)](_0x44c90a));for(const _0x48f1c0 of _0xb9d596)_0x418db7[_0x475301(0x125)](_0x48f1c0['id'])||_0x418db7[_0x475301(0xf8)](_0x48f1c0);function _0x108da7(_0x57e61e){const _0x2407cd=_0x475301;_0x418db7[_0x2407cd(0x125)](_0x57e61e)||_0x44c90a[_0x2407cd(0xda)](_0x57e61e);}}}function I(_0x22a500){const _0x15253c=_0x23be42;return _0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xde))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xf3))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0x10a));}
|
|
23
|
+
const _0x3707a9=_0x1055;(function(_0x42c95f,_0x499a6e){const _0x344203=_0x1055,_0x3b23e2=_0x42c95f();while(!![]){try{const _0x7cb84e=-parseInt(_0x344203(0x21c))/0x1*(parseInt(_0x344203(0x1da))/0x2)+parseInt(_0x344203(0x1e4))/0x3+-parseInt(_0x344203(0x218))/0x4+-parseInt(_0x344203(0x1e3))/0x5*(parseInt(_0x344203(0x24d))/0x6)+-parseInt(_0x344203(0x231))/0x7+-parseInt(_0x344203(0x245))/0x8*(parseInt(_0x344203(0x1ff))/0x9)+parseInt(_0x344203(0x222))/0xa;if(_0x7cb84e===_0x499a6e)break;else _0x3b23e2['push'](_0x3b23e2['shift']());}catch(_0x30b971){_0x3b23e2['push'](_0x3b23e2['shift']());}}}(_0x3f08,0xe6bbd));import{Plugin as _0x5968cd}from'ckeditor5/src/core.js';import{version as _0x3cf82a}from'ckeditor5/src/utils.js';import{Users as _0x5c3dd1}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4c538c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5605e7}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3f08(){const _0x4ad8cd=['_isConnected','getMany','baseVersion','3139885zgTrtK','authors','repository','change:_isPendingUpdate','creatorId','_isPendingUpdate','_revisionHistoryService','state','_handleRevisionsUpdate','400','_fetchMissingUsers','max','pluginName','size','listenTo','_fixRevision','connection','startsWith','CloudServicesRevisionHistoryAdapter','collaboration.channelId','2056yBeQYZ','_preventResendingRevisionData','marker','getOperations','type','serverHistory','addToReconnectionStack','isOfficialPlugin','36mJmWDk','66870TQHODm','code','setRevisionData','init','_lastRequestId','diffData','_revisionDataBuilder','_createCurrentRevision','setSource','371460QjfFyc','5004366FtEDav','connect','getUser','addUser','adapter','catch','RevisionHistoryService','cloudServices.bundleVersion','isPremiumPlugin','_bufferUpdate','bind','buildRevisionData','get','editor','authorsIds','config','destroy','isConnected','revisionsUpdated','_bufferedUpdates','currentRevision','_oldOffset','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','then','off','getRevisions','remove','6471MlBTIp','requires','_revisions','toVersion','cloud-services-internal-error:\x20Not\x20connected.','sendBufferedUpdates','_waitForServiceReady','once','data','isEmptyCurrent','reverse','getRevision','isBundleUploaded','addRevisionData','CONNECTED','sessionId','_offset','from','add','_revisionTracker','_update','reInit','fromVersion','message','RevisionHistory','7230800hdejGw','has','length','connected','30aNiLDJ','plugins','keys','updateRevisions','affectsData','_handleReconnectionError','31668030sSikbc','isEnabled','createdAt','_startingVersion','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','RevisionTracker','wrongRequestId','_getLatestVersionFromServerOperations','map','_getLatestVersion'];_0x3f08=function(){return _0x4ad8cd;};return _0x3f08();}function _0x1055(_0x21b903,_0x5560e9){const _0x3f0837=_0x3f08();return _0x1055=function(_0x105536,_0x49bd45){_0x105536=_0x105536-0x1da;let _0xb72658=_0x3f0837[_0x105536];return _0xb72658;},_0x1055(_0x21b903,_0x5560e9);}import{Sessions as _0x27665a}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x538cc4,RevisionHistoryService as _0x7e46d4,User as _0x579d3a,WEB_SOCKET_GATEWAY_STATES as _0x27c565}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5968cd{static [_0x3707a9(0x1ea)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x7e46d4)());[_0x3707a9(0x1de)];[_0x3707a9(0x212)];[_0x3707a9(0x237)];[_0x3707a9(0x1f9)];static get[_0x3707a9(0x200)](){const _0x16dcbf=_0x3707a9;return[_0x5605e7,_0x4c538c,_0x16dcbf(0x217),_0x27665a,_0x5c3dd1];}static get[_0x3707a9(0x23d)](){const _0x4a9fb0=_0x3707a9;return _0x4a9fb0(0x243);}static get[_0x3707a9(0x24c)](){return!0x0;}static get[_0x3707a9(0x1ec)](){return!0x0;}constructor(_0x5bda7a){const _0x154b7b=_0x3707a9;super(_0x5bda7a);const _0x16f9ea=this[_0x154b7b(0x1f1)][_0x154b7b(0x1f3)][_0x154b7b(0x1f0)](_0x154b7b(0x244));this[_0x154b7b(0x1de)]=null,this[_0x154b7b(0x212)]=this[_0x154b7b(0x1f1)][_0x154b7b(0x21d)][_0x154b7b(0x1f0)](_0x154b7b(0x229)),this[_0x154b7b(0x237)]=new CloudServicesRevisionHistoryAdapter[(_0x154b7b(0x1ea))](_0x16f9ea);}async[_0x3707a9(0x1dd)](){const _0x2a4c55=_0x3707a9,_0x5dd87c=this[_0x2a4c55(0x1f1)][_0x2a4c55(0x21d)][_0x2a4c55(0x1f0)](_0x4c538c),_0x1b57d2=_0x5dd87c[_0x2a4c55(0x24a)],_0x4418fd=this[_0x2a4c55(0x1f1)][_0x2a4c55(0x21d)][_0x2a4c55(0x1f0)](_0x5605e7);this[_0x2a4c55(0x212)][_0x2a4c55(0x1e2)]({'history':_0x1b57d2,'getLatestVersion':()=>this[_0x2a4c55(0x22d)](),'getCurrentRevisionId':()=>_0x5dd87c[_0x2a4c55(0x20e)]});const _0x28bff8=this[_0x2a4c55(0x1f1)][_0x2a4c55(0x1f3)][_0x2a4c55(0x1f0)](_0x2a4c55(0x1eb))||_0x3cf82a,_0x50baed=await _0x538cc4[_0x2a4c55(0x20b)](_0x4418fd[_0x2a4c55(0x241)],_0x28bff8);this[_0x2a4c55(0x1f1)][_0x2a4c55(0x21d)][_0x2a4c55(0x1f0)](_0x2a4c55(0x217))[_0x2a4c55(0x1e8)]={'getRevision':async({revisionId:_0x4153ba})=>(await this[_0x2a4c55(0x205)](),await this[_0x2a4c55(0x237)][_0x2a4c55(0x20a)](_0x4153ba)),'updateRevisions':async _0x31ad3e=>{const _0x37bca1=_0x2a4c55;await this[_0x37bca1(0x205)]();const _0x4ba529=this[_0x37bca1(0x212)][_0x37bca1(0x1f8)];if(_0x50baed&&0x1===_0x31ad3e[_0x37bca1(0x21a)]&&_0x31ad3e[0x0]['id']===_0x4ba529['id'])return _0x31ad3e;for(const _0xbe0820 of _0x31ad3e)_0xbe0820['id']===_0x4ba529['id']&&(_0xbe0820[_0x37bca1(0x208)]=_0xbe0820[_0x37bca1(0x215)]===_0xbe0820[_0x37bca1(0x202)]);return this[_0x37bca1(0x237)][_0x37bca1(0x21f)](_0x31ad3e,this[_0x37bca1(0x1de)])[_0x37bca1(0x1fb)](_0x1c4b7d=>(this[_0x37bca1(0x1de)]=_0x1c4b7d,_0x31ad3e))[_0x37bca1(0x1e9)](_0x5d3a13=>{const _0x104795=_0x37bca1;if(q(_0x5d3a13)||_0x104795(0x23a)===_0x5d3a13[_0x104795(0x1db)]&&void 0x0!==_0x5d3a13[_0x104795(0x207)][_0x104795(0x22a)]){for(const _0x5d5f1c of _0x31ad3e){!this[_0x104795(0x212)][_0x104795(0x233)][_0x104795(0x20a)](_0x5d5f1c['id'])||this[_0x104795(0x212)][_0x104795(0x1ed)](_0x5d5f1c['id'],_0x5d5f1c,!0x1);}if(q(_0x5d3a13))throw _0x5d3a13;return _0x31ad3e;}throw _0x5d3a13;});}},this[_0x2a4c55(0x23f)](this[_0x2a4c55(0x237)],_0x2a4c55(0x1f6),(_0x145e64,{revisionsData:_0x32c599,requestId:_0x267181})=>{const _0x3f3ad4=_0x2a4c55;Math[_0x3f3ad4(0x23c)](..._0x32c599[_0x3f3ad4(0x22c)](_0x2e1891=>_0x2e1891[_0x3f3ad4(0x202)]))>this[_0x3f3ad4(0x22b)]()-0x1?this[_0x3f3ad4(0x22d)]()[_0x3f3ad4(0x1fb)](()=>{const _0x345f3c=_0x3f3ad4;this[_0x345f3c(0x239)](_0x32c599,_0x267181);}):this[_0x3f3ad4(0x239)](_0x32c599,_0x267181);});const {revisions:_0x4e38af,requestId:_0x3068ab}=await this[_0x2a4c55(0x237)][_0x2a4c55(0x1e5)](_0x4418fd[_0x2a4c55(0x241)]);_0x4418fd[_0x2a4c55(0x24b)](this),this[_0x2a4c55(0x1de)]=_0x3068ab,await this[_0x2a4c55(0x23b)](_0x4e38af);for(const _0x336aa8 of _0x4e38af)this[_0x2a4c55(0x212)][_0x2a4c55(0x20c)](_0x336aa8);this[_0x2a4c55(0x23f)](_0x5dd87c,_0x2a4c55(0x226),(_0x28c4a6,_0x33f3b6,_0xe53380)=>{const _0x2b7b0a=_0x2a4c55;_0xe53380&&(this[_0x2b7b0a(0x1f9)]=_0x5dd87c[_0x2b7b0a(0x20f)],_0x28c4a6[_0x2b7b0a(0x1fc)]());}),this[_0x2a4c55(0x212)][_0x2a4c55(0x1ee)](_0x2a4c55(0x223))['to'](_0x4418fd,_0x2a4c55(0x238),_0xf622bf=>_0xf622bf===_0x27c565[_0x2a4c55(0x20d)]);}async[_0x3707a9(0x228)](){const _0x2c2bf5=_0x3707a9,_0x4518a3=this[_0x2c2bf5(0x1f1)][_0x2c2bf5(0x21d)][_0x2c2bf5(0x1f0)](_0x5605e7),_0x471752=this[_0x2c2bf5(0x1f1)][_0x2c2bf5(0x21d)][_0x2c2bf5(0x1f0)](_0x4c538c),_0xc03ca2=async()=>{const _0x3ed117=_0x2c2bf5,_0x2c1efc=this[_0x3ed117(0x212)][_0x3ed117(0x1f8)],_0x2cbe16=_0x2c1efc['id'],_0x341c80=_0x2cbe16!==_0x471752[_0x3ed117(0x20e)];if(_0x341c80){const _0x3016a3=_0x471752[_0x3ed117(0x20f)]-this[_0x3ed117(0x1f9)],_0x5d4d14=this[_0x3ed117(0x22b)]();this[_0x3ed117(0x212)][_0x3ed117(0x1e0)][_0x3ed117(0x214)]();if(_0x2c1efc[_0x3ed117(0x202)]+_0x3016a3!==_0x5d4d14){const _0x457d28=_0x2c1efc[_0x3ed117(0x215)]+_0x3016a3,_0x95a133=this[_0x3ed117(0x1f1)][_0x3ed117(0x21d)][_0x3ed117(0x1f0)](_0x5c3dd1),_0x66bc0=this[_0x3ed117(0x212)][_0x3ed117(0x1ef)]({'revision':_0x2c1efc,'from':_0x457d28,'to':_0x5d4d14});_0x66bc0['id']=_0x2c1efc['id'];const _0x5b7846=_0x66bc0[_0x3ed117(0x1f2)][_0x3ed117(0x22c)](_0x58cc21=>_0x95a133[_0x3ed117(0x1e6)](_0x58cc21));_0x2c1efc[_0x3ed117(0x213)]({..._0x66bc0,'authors':_0x5b7846},!0x0),this[_0x3ed117(0x212)][_0x3ed117(0x1ed)](_0x2c1efc['id'],_0x66bc0,!0x0);}this[_0x3ed117(0x212)][_0x3ed117(0x225)]=_0x5d4d14,(_0x2c1efc[_0x3ed117(0x202)]===_0x2c1efc[_0x3ed117(0x215)]&&!this[_0x3ed117(0x212)][_0x3ed117(0x1f7)][_0x3ed117(0x219)](_0x2cbe16)&&this[_0x3ed117(0x212)][_0x3ed117(0x233)][_0x3ed117(0x201)][_0x3ed117(0x1fe)](_0x2cbe16),this[_0x3ed117(0x212)][_0x3ed117(0x1e1)](_0x5d4d14));}const {revisions:_0xca7302,requestId:_0x24565d}=await this[_0x3ed117(0x237)][_0x3ed117(0x228)](_0x4518a3[_0x3ed117(0x241)],this[_0x3ed117(0x1de)]);_0x341c80&&_0xca7302[_0x3ed117(0x21a)]>0x0?_0x471752[_0x3ed117(0x221)]():(await this[_0x3ed117(0x23b)](_0xca7302),this[_0x3ed117(0x239)](_0xca7302,_0x24565d),this[_0x3ed117(0x212)][_0x3ed117(0x204)]());};return _0x471752[_0x2c2bf5(0x22e)]?_0xc03ca2():new Promise((_0x253d10,_0x2c4564)=>{const _0x381ec8=_0x2c2bf5;_0x471752[_0x381ec8(0x206)](_0x381ec8(0x226),()=>{const _0x151a29=_0x381ec8;_0xc03ca2()[_0x151a29(0x1fb)](_0x253d10)[_0x151a29(0x1e9)](_0x2c4564);});});}[_0x3707a9(0x1f4)](){const _0x5b8d9d=_0x3707a9;super[_0x5b8d9d(0x1f4)]();}async[_0x3707a9(0x205)](){const _0x560ef7=_0x3707a9;this[_0x560ef7(0x237)][_0x560ef7(0x1f5)]||await new Promise(_0x3c2a6f=>{const _0x327097=_0x560ef7;this[_0x327097(0x23f)](this[_0x327097(0x237)],_0x327097(0x21b),_0x16724f=>{const _0x19f0bd=_0x327097;_0x16724f[_0x19f0bd(0x1fc)](),_0x3c2a6f();});});}[_0x3707a9(0x22b)](){const _0x47bf11=_0x3707a9,_0x20cb1c=this[_0x47bf11(0x1f1)][_0x47bf11(0x21d)][_0x47bf11(0x1f0)](_0x4c538c)[_0x47bf11(0x24a)][_0x47bf11(0x248)]()[_0x47bf11(0x209)]();for(const _0x2343d4 of _0x20cb1c)if(_0x47bf11(0x247)!==_0x2343d4[_0x47bf11(0x249)]||_0x2343d4[_0x47bf11(0x220)])return _0x2343d4[_0x47bf11(0x230)]+0x1;}[_0x3707a9(0x22d)](){const _0x5b0742=_0x3707a9,_0x4c5cf1=this[_0x5b0742(0x1f1)][_0x5b0742(0x21d)][_0x5b0742(0x1f0)](_0x4c538c);return new Promise(_0x522a5e=>{const _0x1d99bf=_0x5b0742;_0x4c5cf1[_0x1d99bf(0x236)]?_0x4c5cf1[_0x1d99bf(0x206)](_0x1d99bf(0x234),()=>{const _0xc6db07=_0x1d99bf;_0x522a5e(this[_0xc6db07(0x22b)]());}):_0x522a5e(this[_0x1d99bf(0x22b)]());});}[_0x3707a9(0x239)](_0x671f83,_0x3f945b){const _0x5ec7b0=_0x3707a9,_0xef3126=this[_0x5ec7b0(0x212)][_0x5ec7b0(0x233)];this[_0x5ec7b0(0x1de)]=_0x3f945b;for(const _0x5c4928 of _0x671f83){const _0x1ba8a2=_0xef3126[_0x5ec7b0(0x20a)](_0x5c4928['id']);if(_0x1ba8a2){if((_0x5c4928[_0x5ec7b0(0x215)]||_0x5c4928[_0x5ec7b0(0x202)])&&(_0x5c4928[_0x5ec7b0(0x1df)]=null),_0x1ba8a2===this[_0x5ec7b0(0x212)][_0x5ec7b0(0x1f8)]){const _0x1341ee=Math[_0x5ec7b0(0x23c)](_0x1ba8a2[_0x5ec7b0(0x202)],_0x5c4928[_0x5ec7b0(0x202)]),_0x259698=Math[_0x5ec7b0(0x23c)](_0x1ba8a2[_0x5ec7b0(0x215)],_0x5c4928[_0x5ec7b0(0x215)]);let _0x322988;_0x1ba8a2[_0x5ec7b0(0x202)]===_0x5c4928[_0x5ec7b0(0x202)]&&_0x1ba8a2[_0x5ec7b0(0x215)]===_0x5c4928[_0x5ec7b0(0x215)]?(_0x322988=!0x0,this[_0x5ec7b0(0x246)](_0x5c4928)):_0x5c4928[_0x5ec7b0(0x202)]===_0x1341ee&&_0x5c4928[_0x5ec7b0(0x215)]===_0x259698?_0x322988=!0x1:(_0x1ba8a2[_0x5ec7b0(0x202)]===_0x1341ee&&_0x1ba8a2[_0x5ec7b0(0x215)]===_0x259698||this[_0x5ec7b0(0x240)]({'revision':_0x1ba8a2,'from':_0x259698,'to':_0x1341ee}),_0x322988=!0x0),_0x322988&&(delete _0x5c4928[_0x5ec7b0(0x215)],delete _0x5c4928[_0x5ec7b0(0x202)],delete _0x5c4928[_0x5ec7b0(0x1df)],delete _0x5c4928[_0x5ec7b0(0x224)],delete _0x5c4928[_0x5ec7b0(0x1f2)]);}this[_0x5ec7b0(0x212)][_0x5ec7b0(0x1dc)](_0x5c4928),this[_0x5ec7b0(0x246)](_0x5c4928);}else this[_0x5ec7b0(0x212)][_0x5ec7b0(0x20c)](_0x5c4928);}const _0x260399=_0xef3126[_0x5ec7b0(0x1fd)]();_0x260399[_0x5ec7b0(0x209)]();for(let _0x384afd=0x0;_0x384afd<_0x260399[_0x5ec7b0(0x21a)]-0x1;_0x384afd++){const _0x34b9de=_0x260399[_0x384afd],_0x3605f=_0x260399[_0x384afd+0x1];if(_0x34b9de[_0x5ec7b0(0x215)]<_0x3605f[_0x5ec7b0(0x202)]){const _0x38a127=_0x3605f[_0x5ec7b0(0x202)],_0x19db51=Math[_0x5ec7b0(0x23c)](_0x38a127,_0x34b9de[_0x5ec7b0(0x202)]);this[_0x5ec7b0(0x240)]({'revision':_0x34b9de,'from':_0x38a127,'to':_0x19db51});}}}[_0x3707a9(0x240)]({revision:_0x4ff3b5,from:_0x28c917,to:_0x55076e}={}){const _0x330dd4=_0x3707a9,_0x21715e=this[_0x330dd4(0x1f1)][_0x330dd4(0x21d)][_0x330dd4(0x1f0)](_0x5c3dd1),_0x4ffecc=this[_0x330dd4(0x212)][_0x330dd4(0x1ef)]({'revision':_0x4ff3b5,'from':_0x28c917,'to':_0x55076e});_0x4ffecc[_0x330dd4(0x232)]=_0x4ffecc[_0x330dd4(0x1f2)][_0x330dd4(0x22c)](_0x12032a=>_0x21715e[_0x330dd4(0x1e6)](_0x12032a)),_0x4ff3b5[_0x330dd4(0x213)](_0x4ffecc);}[_0x3707a9(0x246)](_0x1f6254){const _0x2a801c=_0x3707a9,_0x56a2fb={};_0x56a2fb['id']=_0x1f6254['id'];for(const _0x287485 of Object[_0x2a801c(0x21e)](_0x1f6254))'id'!==_0x287485&&(_0x56a2fb[_0x287485]=void 0x0);this[_0x2a801c(0x212)][_0x2a801c(0x1ed)](_0x56a2fb['id'],_0x56a2fb,!0x0);}async[_0x3707a9(0x23b)](_0x4417c3){const _0x458b59=_0x3707a9,_0x215b71=this[_0x458b59(0x1f1)][_0x458b59(0x21d)][_0x458b59(0x1f0)](_0x5c3dd1),{connection:_0x2c479b}=this[_0x458b59(0x1f1)][_0x458b59(0x21d)][_0x458b59(0x1f0)](_0x5605e7),_0x5c91e2=new Set();for(const _0x4e85a6 of _0x4417c3){for(const _0x165cd4 of _0x4e85a6[_0x458b59(0x1f2)])_0x387c40(_0x165cd4);_0x4e85a6[_0x458b59(0x235)]&&_0x387c40(_0x4e85a6[_0x458b59(0x235)]);}if(0x0===_0x5c91e2[_0x458b59(0x23e)])return;const _0x195c18=await _0x579d3a[_0x458b59(0x22f)](_0x2c479b,Array[_0x458b59(0x210)](_0x5c91e2));for(const _0x2f62ee of _0x195c18)_0x215b71[_0x458b59(0x1e6)](_0x2f62ee['id'])||_0x215b71[_0x458b59(0x1e7)](_0x2f62ee);function _0x387c40(_0x58dd5a){const _0x5173e7=_0x458b59;_0x215b71[_0x5173e7(0x1e6)](_0x58dd5a)||_0x5c91e2[_0x5173e7(0x211)](_0x58dd5a);}}}function q(_0x1f73ee){const _0x1ae172=_0x3707a9;return _0x1f73ee[_0x1ae172(0x216)][_0x1ae172(0x242)](_0x1ae172(0x1fa))||_0x1f73ee[_0x1ae172(0x216)][_0x1ae172(0x242)](_0x1ae172(0x203))||_0x1f73ee[_0x1ae172(0x216)][_0x1ae172(0x242)](_0x1ae172(0x227));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2a6b8a=_0x14e4;(function(_0x5ba134,_0x2106fd){var _0x538df1=_0x14e4,_0x3fb906=_0x5ba134();while(!![]){try{var _0x35b755=parseInt(_0x538df1(0x1e7))/0x1+parseInt(_0x538df1(0x1e6))/0x2*(parseInt(_0x538df1(0x1ea))/0x3)+parseInt(_0x538df1(0x1ef))/0x4*(-parseInt(_0x538df1(0x1ee))/0x5)+-parseInt(_0x538df1(0x1ec))/0x6+-parseInt(_0x538df1(0x1e5))/0x7*(-parseInt(_0x538df1(0x1de))/0x8)+parseInt(_0x538df1(0x1ed))/0x9*(parseInt(_0x538df1(0x1e1))/0xa)+-parseInt(_0x538df1(0x1e4))/0xb*(parseInt(_0x538df1(0x1e0))/0xc);if(_0x35b755===_0x2106fd)break;else _0x3fb906['push'](_0x3fb906['shift']());}catch(_0xfb74e){_0x3fb906['push'](_0x3fb906['shift']());}}}(_0x3cae,0x6e864));function _0x14e4(_0x2abf3c,_0x577e27){var _0x3cae6d=_0x3cae();return _0x14e4=function(_0x14e42d,_0xdee6c4){_0x14e42d=_0x14e42d-0x1de;var _0x5ed80b=_0x3cae6d[_0x14e42d];return _0x5ed80b;},_0x14e4(_0x2abf3c,_0x577e27);}import{Plugin as _0x533b46}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x51153e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3cae(){var _0x5a2fe4=['10ZCtAnP','139036twtfHh','376dqKQIV','pluginName','13956BtLWGE','1336430aTikwk','RevisionHistory','RealTimeCollaborativeRevisionHistory','605WSdlcH','33446krfwrU','1804402EGZyRV','90786ndSEXj','requires','isPremiumPlugin','3nyFrxa','isOfficialPlugin','5391888XSARaM','18zkvBuD'];_0x3cae=function(){return _0x5a2fe4;};return _0x3cae();}import{RealTimeCollaborativeEditing as _0x4bb37f}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x533b46{static get[_0x2a6b8a(0x1e8)](){var _0x4c47dd=_0x2a6b8a;return[_0x4c47dd(0x1e2),_0x51153e,_0x4bb37f];}static get[_0x2a6b8a(0x1df)](){var _0x4d6c54=_0x2a6b8a;return _0x4d6c54(0x1e3);}static get[_0x2a6b8a(0x1eb)](){return!0x0;}static get[_0x2a6b8a(0x1e9)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x6968ce=_0x34bd;(function(_0x48b356,_0x300418){const _0x260ad2=_0x34bd,_0x93ab50=_0x48b356();while(!![]){try{const _0x3fbbd1=parseInt(_0x260ad2(0x1e1))/0x1*(parseInt(_0x260ad2(0x1ed))/0x2)+parseInt(_0x260ad2(0x20d))/0x3*(-parseInt(_0x260ad2(0x1e2))/0x4)+parseInt(_0x260ad2(0x200))/0x5+parseInt(_0x260ad2(0x1ff))/0x6+parseInt(_0x260ad2(0x1e4))/0x7*(parseInt(_0x260ad2(0x21b))/0x8)+-parseInt(_0x260ad2(0x1fd))/0x9+-parseInt(_0x260ad2(0x213))/0xa;if(_0x3fbbd1===_0x300418)break;else _0x93ab50['push'](_0x93ab50['shift']());}catch(_0x3a3b55){_0x93ab50['push'](_0x93ab50['shift']());}}}(_0x3e4c,0xece9a));import{Plugin as _0xe97a1}from'ckeditor5/src/core.js';import{User as _0x1489d4,TrackChangesService as _0x5150f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4a34a4}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xd0bb08}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3e4c(){const _0x2ef72a=['startsWith','originalSuggestionId','from','pluginName','isConnected','cloud-services-internal-error:\x20Not\x20connected.','suggestionUpdated','isOfficialPlugin','off','_saved','connection','TrackChangesService','8893980dBzMhY','editor','1241088ZTivaJ','217170UEzQxn','getSuggestion','get','size','data','_waitForServiceReady','open','CloudServicesTrackChangesAdapter','type','collaboration.channelId','TrackChangesEditing','delete','values','78OksJVj','add','config','getUser','reconnect','connect','12884920GcaLTQ','isPremiumPlugin','adapter','addToReconnectionStack','init','getMany','state','addUser','3192Oryqhz','connected','then','plugins','cloud-services-internal-error:\x20Request\x20timeout.','update','128515KVsSZT','24772sHquhJ','_fetchMissingUsersForThreads','21581DGfiMy','addSuggestionData','requires','message','_trackChangesService','catch','attributes','find','listenTo','30FisirB','hasSuggestion','_bufferedRequests','set'];_0x3e4c=function(){return _0x2ef72a;};return _0x3e4c();}function _0x34bd(_0x1d5663,_0x248acb){const _0x3e4cd9=_0x3e4c();return _0x34bd=function(_0x34bdcc,_0x3c1d92){_0x34bdcc=_0x34bdcc-0x1e1;let _0x1669a4=_0x3e4cd9[_0x34bdcc];return _0x1669a4;},_0x34bd(_0x1d5663,_0x248acb);}import{Users as _0x319ff5}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0xe97a1{static [_0x6968ce(0x1fc)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5150f1)());[_0x6968ce(0x1ef)];[_0x6968ce(0x1e8)];static get[_0x6968ce(0x1e6)](){const _0x27b9b3=_0x6968ce;return[_0xd0bb08,_0x27b9b3(0x20a),_0x4a34a4];}static get[_0x6968ce(0x1f4)](){const _0x39cfb2=_0x6968ce;return _0x39cfb2(0x207);}static get[_0x6968ce(0x1f8)](){return!0x0;}static get[_0x6968ce(0x214)](){return!0x0;}constructor(_0xf061ab){const _0x23de2d=_0x6968ce;super(_0xf061ab);const _0x1171a0=this[_0x23de2d(0x1fe)][_0x23de2d(0x20f)][_0x23de2d(0x202)](_0x23de2d(0x209));this[_0x23de2d(0x1ef)]=new Map(),this[_0x23de2d(0x1e8)]=new CloudServicesTrackChangesAdapter[(_0x23de2d(0x1fc))](_0x1171a0);}[_0x6968ce(0x217)](){const _0x28bbcf=_0x6968ce,_0x113e01=this[_0x28bbcf(0x1fe)][_0x28bbcf(0x21e)][_0x28bbcf(0x202)](_0x4a34a4),_0x224042=this[_0x28bbcf(0x1fe)][_0x28bbcf(0x21e)][_0x28bbcf(0x202)](_0x28bbcf(0x20a));return _0x224042[_0x28bbcf(0x215)]={'getSuggestion':async _0x55f201=>{const _0x162894=_0x28bbcf;await this[_0x162894(0x205)]();const _0x1ba56c=await this[_0x162894(0x1e8)][_0x162894(0x202)](_0x55f201)[_0x162894(0x1e9)](k);return await this[_0x162894(0x1e3)]([_0x1ba56c]),_0x1ba56c;},'addSuggestion':async({id:_0x52c91d,type:_0x3510b5,data:_0x2673e3,originalSuggestionId:_0x2de184,attributes:_0x5624ca})=>{const _0x3bfeaa=_0x28bbcf;await this[_0x3bfeaa(0x205)]();const _0x768bd1={'id':_0x52c91d,'type':_0x3510b5,'data':_0x2673e3,'originalSuggestionId':_0x2de184,'attributes':_0x5624ca},_0x5d16c3=await this[_0x3bfeaa(0x1e8)][_0x3bfeaa(0x20e)](_0x52c91d,_0x3510b5,_0x2673e3,_0x2de184,_0x5624ca)[_0x3bfeaa(0x1e9)](_0x172122=>{if(q(_0x172122))return new Promise(_0x58f880=>{const _0x5f14af=_0x34bd;this[_0x5f14af(0x1ef)][_0x5f14af(0x1f0)](_0x52c91d,{'resolve':_0x58f880,'suggestionData':_0x768bd1});});throw _0x172122;});return this[_0x3bfeaa(0x1ef)][_0x3bfeaa(0x20b)](_0x52c91d),_0x5d16c3;},'updateSuggestion':async(_0x488300,_0x3c7466)=>{const _0x493d6e=_0x28bbcf;if(await this[_0x493d6e(0x205)](),_0x493d6e(0x206)!==_0x3c7466[_0x493d6e(0x219)])return this[_0x493d6e(0x1e8)][_0x493d6e(0x220)](_0x488300,_0x3c7466)[_0x493d6e(0x1e9)](k);}},this[_0x28bbcf(0x1ec)](this[_0x28bbcf(0x1e8)],_0x28bbcf(0x1f7),(_0x42765f,_0x26dfa3)=>{const _0x37eb4b=_0x28bbcf;_0x224042[_0x37eb4b(0x1ee)](_0x26dfa3['id'])&&(_0x224042[_0x37eb4b(0x201)](_0x26dfa3['id'])[_0x37eb4b(0x1ea)]=_0x26dfa3[_0x37eb4b(0x1ea)]);}),this[_0x28bbcf(0x1e8)][_0x28bbcf(0x212)](_0x113e01[_0x28bbcf(0x1fb)])[_0x28bbcf(0x21d)](_0x16029f=>(_0x113e01[_0x28bbcf(0x216)](this),this[_0x28bbcf(0x1e3)](_0x16029f)[_0x28bbcf(0x21d)](()=>{const _0x231004=_0x28bbcf;for(const _0x5d3cf7 of _0x16029f){_0x224042[_0x231004(0x1e5)](_0x5d3cf7)[_0x231004(0x1fa)]=!0x0;}})));}async[_0x6968ce(0x211)](){const _0x470dd2=_0x6968ce,_0x3d9e49=this[_0x470dd2(0x1fe)][_0x470dd2(0x21e)][_0x470dd2(0x202)](_0x470dd2(0x20a)),{connection:_0x1b56a7}=this[_0x470dd2(0x1fe)][_0x470dd2(0x21e)][_0x470dd2(0x202)](_0x4a34a4),_0x3ebadd=await this[_0x470dd2(0x1e8)][_0x470dd2(0x212)](_0x1b56a7);await this[_0x470dd2(0x1e3)](_0x3ebadd);for(const {suggestionData:_0x374fa3,resolve:_0x5847a6}of this[_0x470dd2(0x1ef)][_0x470dd2(0x20c)]()){let _0x20d41c=_0x3ebadd[_0x470dd2(0x1eb)](_0x3673e8=>_0x3673e8['id']===_0x374fa3['id']);_0x20d41c||(_0x20d41c=await this[_0x470dd2(0x1e8)][_0x470dd2(0x20e)](_0x374fa3['id'],_0x374fa3[_0x470dd2(0x208)],_0x374fa3[_0x470dd2(0x204)],_0x374fa3[_0x470dd2(0x1f2)])),_0x5847a6(_0x20d41c);}for(const _0x33edc6 of _0x3ebadd)_0x3d9e49[_0x470dd2(0x1ee)](_0x33edc6['id'])||_0x3d9e49[_0x470dd2(0x1e5)](_0x33edc6);}async[_0x6968ce(0x205)](){const _0x4781b5=_0x6968ce;this[_0x4781b5(0x1e8)][_0x4781b5(0x1f5)]||await new Promise(_0x14afb8=>{const _0x2b8963=_0x4781b5;this[_0x2b8963(0x1ec)](this[_0x2b8963(0x1e8)],_0x2b8963(0x21c),_0x1c9ca6=>{const _0xe819fd=_0x2b8963;_0x1c9ca6[_0xe819fd(0x1f9)](),_0x14afb8();});});}async[_0x6968ce(0x1e3)](_0x396374){const _0x4e3c95=_0x6968ce,_0x17c7c9=this[_0x4e3c95(0x1fe)][_0x4e3c95(0x21e)][_0x4e3c95(0x202)](_0x319ff5),{connection:_0x5b457e}=this[_0x4e3c95(0x1fe)][_0x4e3c95(0x21e)][_0x4e3c95(0x202)](_0x4a34a4),_0x286e2a=new Set();for(const {authorId:_0x3f6c27}of _0x396374)_0x17c7c9[_0x4e3c95(0x210)](_0x3f6c27)||_0x286e2a[_0x4e3c95(0x20e)](_0x3f6c27);if(0x0===_0x286e2a[_0x4e3c95(0x203)])return;const _0x3800c8=await _0x1489d4[_0x4e3c95(0x218)](_0x5b457e,Array[_0x4e3c95(0x1f3)](_0x286e2a));for(const _0x8ea871 of _0x3800c8)_0x17c7c9[_0x4e3c95(0x210)](_0x8ea871['id'])||_0x17c7c9[_0x4e3c95(0x21a)](_0x8ea871);}}function k(_0x2b55d3){if(q(_0x2b55d3))return new Promise(()=>{});throw _0x2b55d3;}function q(_0x6276f5){const _0x1085dc=_0x6968ce;return _0x6276f5[_0x1085dc(0x1e7)][_0x1085dc(0x1f1)](_0x1085dc(0x1f6))||_0x6276f5[_0x1085dc(0x1e7)][_0x1085dc(0x1f1)](_0x1085dc(0x21f));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1a82ae=_0x22ce;function _0x5561(){var _0x4be370=['15346100LfIWjP','4akLLTd','2942202TbguBm','4674471pgDbPQ','30249DuxrZF','1330qBjZJZ','TrackChanges','232fvbtpV','pluginName','4llLTtY','7705780xZJFmG','isOfficialPlugin','requires','267365FKJihj','isPremiumPlugin','484762NSNlNI','RealTimeCollaborativeTrackChanges'];_0x5561=function(){return _0x4be370;};return _0x5561();}(function(_0x44d293,_0x34c8a0){var _0x52f427=_0x22ce,_0x5dd2e5=_0x44d293();while(!![]){try{var _0x50743c=parseInt(_0x52f427(0x1bb))/0x1*(-parseInt(_0x52f427(0x1be))/0x2)+parseInt(_0x52f427(0x1c0))/0x3+-parseInt(_0x52f427(0x1c6))/0x4*(-parseInt(_0x52f427(0x1c7))/0x5)+-parseInt(_0x52f427(0x1bf))/0x6+parseInt(_0x52f427(0x1b9))/0x7*(parseInt(_0x52f427(0x1c4))/0x8)+-parseInt(_0x52f427(0x1c1))/0x9*(parseInt(_0x52f427(0x1c2))/0xa)+-parseInt(_0x52f427(0x1bd))/0xb;if(_0x50743c===_0x34c8a0)break;else _0x5dd2e5['push'](_0x5dd2e5['shift']());}catch(_0x3319bd){_0x5dd2e5['push'](_0x5dd2e5['shift']());}}}(_0x5561,0xdcf04));import{Plugin as _0x2aec04}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x1abdaf}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x22ce(_0x7b3251,_0x485fd1){var _0x55619d=_0x5561();return _0x22ce=function(_0x22cec5,_0x5c91c5){_0x22cec5=_0x22cec5-0x1b9;var _0x24e1a1=_0x55619d[_0x22cec5];return _0x24e1a1;},_0x22ce(_0x7b3251,_0x485fd1);}import{RealTimeCollaborativeComments as _0xb09866}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2aec04{static get[_0x1a82ae(0x1c9)](){var _0x4edd6a=_0x1a82ae;return[_0xb09866,_0x1abdaf,_0x4edd6a(0x1c3)];}static get[_0x1a82ae(0x1c5)](){var _0x1c0ad7=_0x1a82ae;return _0x1c0ad7(0x1bc);}static get[_0x1a82ae(0x1c8)](){return!0x0;}static get[_0x1a82ae(0x1ba)](){return!0x0;}}
|