@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.7 → 47.0.0-alpha.8
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
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x51cfe2=_0x54b8;(function(_0x3acd0b,_0x540cd5){const _0x2e9c05=_0x54b8,_0x556bee=_0x3acd0b();while(!![]){try{const _0x5627ac=-parseInt(_0x2e9c05(0x1f9))/0x1+parseInt(_0x2e9c05(0x222))/0x2+parseInt(_0x2e9c05(0x1f3))/0x3+-parseInt(_0x2e9c05(0x210))/0x4+-parseInt(_0x2e9c05(0x203))/0x5*(parseInt(_0x2e9c05(0x1fb))/0x6)+parseInt(_0x2e9c05(0x232))/0x7*(parseInt(_0x2e9c05(0x22e))/0x8)+parseInt(_0x2e9c05(0x219))/0x9*(-parseInt(_0x2e9c05(0x21e))/0xa);if(_0x5627ac===_0x540cd5)break;else _0x556bee['push'](_0x556bee['shift']());}catch(_0x34dea4){_0x556bee['push'](_0x556bee['shift']());}}}(_0x2655,0x69b38));import{ContextPlugin as _0x3e4e2e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4b14c8,CKEditorError as _0x4a1381}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3d09a9,WEB_SOCKET_GATEWAY_STATES as _0x108494}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2655(){const _0x41f69b=['48xtheYw','config','connected','cloudservices-reconnection-error','975569dvrFMX','isPremiumPlugin','isOfficialPlugin','catch','CONNECTED','change:me','code','connect','init','isInReconnectionStack','CloudServices','2438127rkTaUm','from','WebSocketGateway','connection','websocketgateway-invalid-plugin-interface','showWarning','385225QhkygV','error','24618rCcCna','add','context','removeFromReconnectionStack','DISCONNECTED','state','offline','delete','290YEdMMZ','_domEmitter','websocketgateway-missing-websocket-url','then','cloudservices-init','websocketgateway-plugin-already-registered','real-time-collaboration','constructor','stopListening','pluginName','cloudServices.connectionTimeout','get','initialReconnectionInterval','2242984XwpHqf','has','websocketgateway-missing-token','online','listenTo','cloudServices.requestTimeout','limitExceeded','_reconnect','requires','452997lAJSFB','reconnect','addToReconnectionStack','set','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.','170vhiIsO','function','webSocketUrl','all','1647294hnMHtX','_reconnectionStack','_isBrowserOffline','bind','_shouldPluginsReconnect','plugins','define','Connected\x20users\x20limit\x20exceeded','token','CONNECTING','disconnect','destroy'];_0x2655=function(){return _0x41f69b;};return _0x2655();}import{Notification as _0x37a30e}from'ckeditor5/src/ui.js';function _0x54b8(_0x1dfd93,_0x1b2501){const _0x265590=_0x2655();return _0x54b8=function(_0x54b88f,_0x17c375){_0x54b88f=_0x54b88f-0x1f0;let _0x33f258=_0x265590[_0x54b88f];return _0x33f258;},_0x54b8(_0x1dfd93,_0x1b2501);}export class WebSocketGateway extends _0x3e4e2e{static [_0x51cfe2(0x1f5)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3d09a9)());static [_0x51cfe2(0x20f)]=0x3e8;[_0x51cfe2(0x1f6)];[_0x51cfe2(0x223)];[_0x51cfe2(0x226)];[_0x51cfe2(0x204)];static get[_0x51cfe2(0x218)](){const _0xf63d9a=_0x51cfe2;return[_0xf63d9a(0x1f2),_0x37a30e];}static get[_0x51cfe2(0x20c)](){const _0x298b65=_0x51cfe2;return _0x298b65(0x1f5);}static get[_0x51cfe2(0x234)](){return!0x0;}static get[_0x51cfe2(0x233)](){return!0x0;}constructor(_0x18f65b){const _0x1be61e=_0x51cfe2;super(_0x18f65b),this[_0x1be61e(0x21c)](_0x1be61e(0x200),_0x108494[_0x1be61e(0x236)]),this[_0x1be61e(0x21c)](_0x1be61e(0x224),!0x1),this[_0x1be61e(0x223)]=new Set(),this[_0x1be61e(0x226)]=!0x1,this[_0x1be61e(0x204)]=new(_0x4b14c8())();}[_0x51cfe2(0x1f0)](){const _0x4c172e=_0x51cfe2,_0x16ab44=this[_0x4c172e(0x1fd)],_0x5c1485=_0x16ab44[_0x4c172e(0x227)][_0x4c172e(0x20e)](_0x4c172e(0x1f2)),_0x28d3f4=_0x16ab44[_0x4c172e(0x227)][_0x4c172e(0x20e)](_0x37a30e);if(!_0x5c1485[_0x4c172e(0x22a)])throw new _0x4a1381(_0x4c172e(0x212),this);if(!_0x5c1485[_0x4c172e(0x220)])throw new _0x4a1381(_0x4c172e(0x205),this);return this[_0x4c172e(0x204)][_0x4c172e(0x214)](window,_0x4c172e(0x201),()=>this[_0x4c172e(0x224)]=!0x0),this[_0x4c172e(0x204)][_0x4c172e(0x214)](window,_0x4c172e(0x213),()=>this[_0x4c172e(0x224)]=!0x1),this[_0x4c172e(0x1fd)][_0x4c172e(0x22f)][_0x4c172e(0x228)](_0x4c172e(0x20d),0xa),this[_0x4c172e(0x1fd)][_0x4c172e(0x22f)][_0x4c172e(0x228)](_0x4c172e(0x215),0x14),WebSocketGateway[_0x4c172e(0x1f5)][_0x4c172e(0x239)](_0x5c1485[_0x4c172e(0x22a)],_0x5c1485[_0x4c172e(0x220)],{'timeout':0x3e8*this[_0x4c172e(0x1fd)][_0x4c172e(0x22f)][_0x4c172e(0x20e)](_0x4c172e(0x20d)),'requestTimeout':0x3e8*this[_0x4c172e(0x1fd)][_0x4c172e(0x22f)][_0x4c172e(0x20e)](_0x4c172e(0x215))})[_0x4c172e(0x206)](_0x1c900c=>{const _0x45d018=_0x4c172e;if(this[_0x45d018(0x1f6)]=_0x1c900c,this[_0x45d018(0x225)](_0x45d018(0x200))['to'](_0x1c900c,_0x45d018(0x200),this,_0x45d018(0x224),(_0x31a110,_0x13a717)=>(_0x45d018(0x230)!==_0x31a110&&(this[_0x45d018(0x226)]=!0x0),_0x13a717||_0x31a110!==_0x108494[_0x45d018(0x236)]?_0x108494[_0x45d018(0x1ff)]:this[_0x45d018(0x200)]==_0x108494[_0x45d018(0x1ff)]&&this[_0x45d018(0x226)]?(this[_0x45d018(0x226)]=!0x1,this[_0x45d018(0x217)](),_0x108494[_0x45d018(0x22b)]):_0x108494[_0x45d018(0x236)])),this[_0x45d018(0x1f6)]['on'](_0x45d018(0x1fa),(_0x5defa7,_0x2382ef)=>{const _0x4eef88=_0x45d018;if(_0x4eef88(0x216)!==_0x2382ef[_0x4eef88(0x238)])throw console[_0x4eef88(0x1fa)](_0x2382ef),new _0x4a1381(_0x4eef88(0x207),null,{'originalError':_0x2382ef});_0x28d3f4[_0x4eef88(0x1f8)](_0x4eef88(0x21d),{'title':_0x4eef88(0x229),'namespace':_0x4eef88(0x209)});}),!_0x1c900c['me'])return new Promise(_0x472f1a=>_0x1c900c['on'](_0x45d018(0x237),_0x472f1a));})[_0x4c172e(0x235)](_0x58642a=>{const _0x4fe2ba=_0x4c172e;throw console[_0x4fe2ba(0x1fa)](_0x58642a),new _0x4a1381(_0x4fe2ba(0x207),null,{'originalError':_0x58642a});});}[_0x51cfe2(0x21b)](_0xfc7ab8){const _0x1e77b2=_0x51cfe2;if(_0x1e77b2(0x21f)!=typeof _0xfc7ab8[_0x1e77b2(0x21a)])throw new _0x4a1381(_0x1e77b2(0x1f7),this);if(this[_0x1e77b2(0x1f1)](_0xfc7ab8))throw new _0x4a1381(_0x1e77b2(0x208),this,{'name':_0xfc7ab8[_0x1e77b2(0x20a)][_0x1e77b2(0x20c)]});this[_0x1e77b2(0x223)][_0x1e77b2(0x1fc)](_0xfc7ab8);}[_0x51cfe2(0x1fe)](_0x3ccda0){const _0x309876=_0x51cfe2;this[_0x309876(0x223)][_0x309876(0x202)](_0x3ccda0);}[_0x51cfe2(0x1f1)](_0x56fd66){const _0x1e83aa=_0x51cfe2;return this[_0x1e83aa(0x223)][_0x1e83aa(0x211)](_0x56fd66);}[_0x51cfe2(0x217)](){const _0x3d0152=_0x51cfe2;return this[_0x3d0152(0x1f6)][_0x3d0152(0x21a)]()[_0x3d0152(0x206)](()=>Promise[_0x3d0152(0x221)](Array[_0x3d0152(0x1f4)](this[_0x3d0152(0x223)],_0x37a23d=>_0x37a23d[_0x3d0152(0x21a)]())))[_0x3d0152(0x206)](()=>this[_0x3d0152(0x200)]=_0x108494[_0x3d0152(0x236)])[_0x3d0152(0x235)](_0xef1435=>{const _0x4ec78e=_0x3d0152;throw console[_0x4ec78e(0x1fa)](_0xef1435),new _0x4a1381(_0x4ec78e(0x231),this[_0x4ec78e(0x1fd)]);});}[_0x51cfe2(0x22c)](){const _0x4044a6=_0x51cfe2;this[_0x4044a6(0x1f6)]&&this[_0x4044a6(0x1f6)][_0x4044a6(0x22c)](),this[_0x4044a6(0x200)]=_0x108494[_0x4044a6(0x1ff)],this[_0x4044a6(0x204)][_0x4044a6(0x20b)]();}[_0x51cfe2(0x22d)](){const _0x4d2c0e=_0x51cfe2;this[_0x4d2c0e(0x22c)](),super[_0x4d2c0e(0x22d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e4427=_0x4b2d;function _0x2b6d(){var _0x3c065c=['5547288paAhRk','1016844pyYTXd','pluginName','isOfficialPlugin','307656wcerSD','5107683NLwezG','requires','246kLbMEe','26534214qsiHYI','400725VPpJxK','18HrvFPp','isPremiumPlugin','10706HMBOXR','RealTimeCollaborativeEditing'];_0x2b6d=function(){return _0x3c065c;};return _0x2b6d();}function _0x4b2d(_0x54155c,_0xa1edd9){var _0x2b6d16=_0x2b6d();return _0x4b2d=function(_0x4b2dcd,_0x3d9a37){_0x4b2dcd=_0x4b2dcd-0x65;var _0x3543b9=_0x2b6d16[_0x4b2dcd];return _0x3543b9;},_0x4b2d(_0x54155c,_0xa1edd9);}(function(_0x51b41b,_0x4abf36){var _0x4f2e50=_0x4b2d,_0xbed0df=_0x51b41b();while(!![]){try{var _0x5ce270=parseInt(_0x4f2e50(0x71))/0x1*(parseInt(_0x4f2e50(0x6c))/0x2)+parseInt(_0x4f2e50(0x65))/0x3+-parseInt(_0x4f2e50(0x66))/0x4+parseInt(_0x4f2e50(0x6e))/0x5*(parseInt(_0x4f2e50(0x6f))/0x6)+parseInt(_0x4f2e50(0x6a))/0x7+parseInt(_0x4f2e50(0x69))/0x8+-parseInt(_0x4f2e50(0x6d))/0x9;if(_0x5ce270===_0x4abf36)break;else _0xbed0df['push'](_0xbed0df['shift']());}catch(_0x101c45){_0xbed0df['push'](_0xbed0df['shift']());}}}(_0x2b6d,0xed506));import{Plugin as _0xda1fd5}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x465914}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0xda1fd5{static get[_0x4e4427(0x6b)](){return[_0x465914];}static get[_0x4e4427(0x67)](){var _0x5be2f0=_0x4e4427;return _0x5be2f0(0x72);}static get[_0x4e4427(0x68)](){return!0x0;}static get[_0x4e4427(0x70)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x46ea2f)());[_0x1573de(0x97)];[_0x1573de(0x7d)];[_0x1573de(0xd4)];[_0x1573de(0x94)];static get[_0x1573de(0xb4)](){const _0x297569=_0x1573de;return[_0x34ffa3,_0x60edef,_0x297569(0x88),_0x1ca201,_0x1ca4c8];}static get[_0x1573de(0xc4)](){const _0x2bb3ef=_0x1573de;return _0x2bb3ef(0xce);}static get[_0x1573de(0xc9)](){return!0x0;}static get[_0x1573de(0xb7)](){return!0x0;}constructor(_0x10c613){const _0x51e693=_0x1573de;super(_0x10c613);const _0x2c786e=this[_0x51e693(0xd0)][_0x51e693(0xdf)][_0x51e693(0xd5)](_0x51e693(0x98));this[_0x51e693(0x97)]=null,this[_0x51e693(0x7d)]=this[_0x51e693(0xd0)][_0x51e693(0xad)][_0x51e693(0xd5)](_0x51e693(0xb9)),this[_0x51e693(0xd4)]=new CloudServicesRevisionHistoryAdapter[(_0x51e693(0xdc))](_0x2c786e);}async[_0x1573de(0xa7)](){const _0x2b9318=_0x1573de,_0x38e891=this[_0x2b9318(0xd0)][_0x2b9318(0xad)][_0x2b9318(0xd5)](_0x60edef),_0x329aed=_0x38e891[_0x2b9318(0x84)],_0x153ec8=this[_0x2b9318(0xd0)][_0x2b9318(0xad)][_0x2b9318(0xd5)](_0x34ffa3);this[_0x2b9318(0x7d)][_0x2b9318(0xa6)]({'history':_0x329aed,'getLatestVersion':()=>this[_0x2b9318(0xe1)](),'getCurrentRevisionId':()=>_0x38e891[_0x2b9318(0xcf)]});const _0x1cd12e=this[_0x2b9318(0xd0)][_0x2b9318(0xdf)][_0x2b9318(0xd5)](_0x2b9318(0xe5))||_0x4b9bfa,_0x52f7f0=await _0x3424ce[_0x2b9318(0x96)](_0x153ec8[_0x2b9318(0xca)],_0x1cd12e);this[_0x2b9318(0xd0)][_0x2b9318(0xad)][_0x2b9318(0xd5)](_0x2b9318(0x88))[_0x2b9318(0xbd)]={'getRevision':async({revisionId:_0x997143})=>(await this[_0x2b9318(0xe3)](),await this[_0x2b9318(0xd4)][_0x2b9318(0x9f)](_0x997143)),'updateRevisions':async _0x49d2b2=>{const _0xcf8622=_0x2b9318;await this[_0xcf8622(0xe3)]();const _0x303d52=this[_0xcf8622(0x7d)][_0xcf8622(0xe2)];if(_0x52f7f0&&0x1===_0x49d2b2[_0xcf8622(0xc1)]&&_0x49d2b2[0x0]['id']===_0x303d52['id'])return _0x49d2b2;for(const _0x555c3a of _0x49d2b2)_0x555c3a['id']===_0x303d52['id']&&(_0x555c3a[_0xcf8622(0x9c)]=_0x555c3a[_0xcf8622(0x87)]===_0x555c3a[_0xcf8622(0xa8)]);return this[_0xcf8622(0xd4)][_0xcf8622(0xd9)](_0x49d2b2,this[_0xcf8622(0x97)])[_0xcf8622(0xcc)](_0x2b5951=>(this[_0xcf8622(0x97)]=_0x2b5951,_0x49d2b2))[_0xcf8622(0x81)](_0x430f0e=>{const _0x2a073f=_0xcf8622;if(it(_0x430f0e)||_0x2a073f(0xc5)===_0x430f0e[_0x2a073f(0xbf)]&&void 0x0!==_0x430f0e[_0x2a073f(0xdb)][_0x2a073f(0xd6)]){for(const _0x451519 of _0x49d2b2){!this[_0x2a073f(0x7d)][_0x2a073f(0x7f)][_0x2a073f(0x9f)](_0x451519['id'])||this[_0x2a073f(0x7d)][_0x2a073f(0xda)](_0x451519['id'],_0x451519,!0x1);}if(it(_0x430f0e))throw _0x430f0e;return _0x49d2b2;}throw _0x430f0e;});}},this[_0x2b9318(0xa4)](this[_0x2b9318(0xd4)],_0x2b9318(0xe6),(_0xbef0a0,{revisionsData:_0x398482,requestId:_0x2af4ac})=>{const _0x37fd1f=_0x2b9318;Math[_0x37fd1f(0x83)](..._0x398482[_0x37fd1f(0x85)](_0x2ef6e0=>_0x2ef6e0[_0x37fd1f(0xa8)]))>this[_0x37fd1f(0xab)]()-0x1?this[_0x37fd1f(0xe1)]()[_0x37fd1f(0xcc)](()=>{const _0x3e9dc6=_0x37fd1f;this[_0x3e9dc6(0xef)](_0x398482,_0x2af4ac);}):this[_0x37fd1f(0xef)](_0x398482,_0x2af4ac);});const {revisions:_0x64bb3,requestId:_0xb9f3c9}=await this[_0x2b9318(0xd4)][_0x2b9318(0xb2)](_0x153ec8[_0x2b9318(0xca)]);_0x153ec8[_0x2b9318(0x92)](this),this[_0x2b9318(0x97)]=_0xb9f3c9,await this[_0x2b9318(0xa0)](_0x64bb3);for(const _0xa74015 of _0x64bb3)this[_0x2b9318(0x7d)][_0x2b9318(0xd1)](_0xa74015);this[_0x2b9318(0xa4)](_0x38e891,_0x2b9318(0xdd),(_0x419dc2,_0x444f85,_0x5287ad)=>{const _0x1030d1=_0x2b9318;_0x5287ad&&(this[_0x1030d1(0x94)]=_0x38e891[_0x1030d1(0xc8)],_0x419dc2[_0x1030d1(0x8b)]());}),this[_0x2b9318(0x7d)][_0x2b9318(0x8c)](_0x2b9318(0x90))['to'](_0x153ec8,_0x2b9318(0xae),_0x44c118=>_0x44c118===_0x253d80[_0x2b9318(0xd8)]);}async[_0x1573de(0xd7)](){const _0x4a0fdb=_0x1573de,_0x27b14f=this[_0x4a0fdb(0xd0)][_0x4a0fdb(0xad)][_0x4a0fdb(0xd5)](_0x34ffa3),_0xd8f4ab=this[_0x4a0fdb(0xd0)][_0x4a0fdb(0xad)][_0x4a0fdb(0xd5)](_0x60edef),_0x1ccd85=async()=>{const _0x379f45=_0x4a0fdb,_0x273dc8=this[_0x379f45(0x7d)][_0x379f45(0xe2)],_0x2cba3b=_0x273dc8['id'],_0x44c687=_0x2cba3b!==_0xd8f4ab[_0x379f45(0xcf)];if(_0x44c687){const _0x2ecc9d=_0xd8f4ab[_0x379f45(0xc8)]-this[_0x379f45(0x94)],_0x292dd6=this[_0x379f45(0xab)]();this[_0x379f45(0x7d)][_0x379f45(0x80)][_0x379f45(0xa5)]();if(_0x273dc8[_0x379f45(0xa8)]+_0x2ecc9d!==_0x292dd6){const _0x203f95=_0x273dc8[_0x379f45(0x87)]+_0x2ecc9d,_0xcdcf7f=this[_0x379f45(0xd0)][_0x379f45(0xad)][_0x379f45(0xd5)](_0x1ca4c8),_0x5149a6=this[_0x379f45(0x7d)][_0x379f45(0xe9)]({'revision':_0x273dc8,'from':_0x203f95,'to':_0x292dd6});_0x5149a6['id']=_0x273dc8['id'];const _0x16300c=_0x5149a6[_0x379f45(0xbc)][_0x379f45(0x85)](_0x131a5f=>_0xcdcf7f[_0x379f45(0xaf)](_0x131a5f));_0x273dc8[_0x379f45(0xb5)]({..._0x5149a6,'authors':_0x16300c},!0x0),this[_0x379f45(0x7d)][_0x379f45(0xda)](_0x273dc8['id'],_0x5149a6,!0x0);}this[_0x379f45(0x7d)][_0x379f45(0xed)]=_0x292dd6,(_0x273dc8[_0x379f45(0xa8)]===_0x273dc8[_0x379f45(0x87)]&&!this[_0x379f45(0x7d)][_0x379f45(0x7e)][_0x379f45(0xac)](_0x2cba3b)&&this[_0x379f45(0x7d)][_0x379f45(0x7f)][_0x379f45(0x86)][_0x379f45(0x9d)](_0x2cba3b),this[_0x379f45(0x7d)][_0x379f45(0x91)](_0x292dd6));}const {revisions:_0x1092b8,requestId:_0x478d1c}=await this[_0x379f45(0xd4)][_0x379f45(0xd7)](_0x27b14f[_0x379f45(0xca)],this[_0x379f45(0x97)]);_0x44c687&&_0x1092b8[_0x379f45(0xc1)]>0x0?_0xd8f4ab[_0x379f45(0x9b)]():(await this[_0x379f45(0xa0)](_0x1092b8),this[_0x379f45(0xef)](_0x1092b8,_0x478d1c),this[_0x379f45(0x7d)][_0x379f45(0xe0)]());};return _0xd8f4ab[_0x4a0fdb(0xc7)]?_0x1ccd85():new Promise((_0x2abd67,_0x2667b6)=>{const _0x597362=_0x4a0fdb;_0xd8f4ab[_0x597362(0x8d)](_0x597362(0xdd),()=>{const _0x1a71cd=_0x597362;_0x1ccd85()[_0x1a71cd(0xcc)](_0x2abd67)[_0x1a71cd(0x81)](_0x2667b6);});});}[_0x1573de(0xbb)](){const _0x43356d=_0x1573de;super[_0x43356d(0xbb)]();}async[_0x1573de(0xe3)](){const _0x584c64=_0x1573de;this[_0x584c64(0xd4)][_0x584c64(0x99)]||await new Promise(_0x5992b5=>{const _0x5f5caa=_0x584c64;this[_0x5f5caa(0xa4)](this[_0x5f5caa(0xd4)],_0x5f5caa(0xee),_0x3481ea=>{const _0x11e643=_0x5f5caa;_0x3481ea[_0x11e643(0x8b)](),_0x5992b5();});});}[_0x1573de(0xab)](){const _0x481be6=_0x1573de,_0x3d3e24=this[_0x481be6(0xd0)][_0x481be6(0xad)][_0x481be6(0xd5)](_0x60edef)[_0x481be6(0x84)][_0x481be6(0xbe)]()[_0x481be6(0x9e)]();for(const _0x25afe5 of _0x3d3e24)if(_0x481be6(0xc0)!==_0x25afe5[_0x481be6(0xea)]||_0x25afe5[_0x481be6(0xa1)])return _0x25afe5[_0x481be6(0xc6)]+0x1;}[_0x1573de(0xe1)](){const _0x5eb568=_0x1573de,_0x206648=this[_0x5eb568(0xd0)][_0x5eb568(0xad)][_0x5eb568(0xd5)](_0x60edef);return new Promise(_0x45b7a6=>{const _0x3cdc59=_0x5eb568;_0x206648[_0x3cdc59(0x89)]?_0x206648[_0x3cdc59(0x8d)](_0x3cdc59(0x9a),()=>{const _0xc44181=_0x3cdc59;_0x45b7a6(this[_0xc44181(0xab)]());}):_0x45b7a6(this[_0x3cdc59(0xab)]());});}[_0x1573de(0xef)](_0x12750e,_0x38aa45){const _0x12c21c=_0x1573de,_0x369351=this[_0x12c21c(0x7d)][_0x12c21c(0x7f)];this[_0x12c21c(0x97)]=_0x38aa45;for(const _0x340254 of _0x12750e){const _0x5f1f64=_0x369351[_0x12c21c(0x9f)](_0x340254['id']);if(_0x5f1f64){if((_0x340254[_0x12c21c(0x87)]||_0x340254[_0x12c21c(0xa8)])&&(_0x340254[_0x12c21c(0xde)]=null),_0x5f1f64===this[_0x12c21c(0x7d)][_0x12c21c(0xe2)]){const _0x16ba16=Math[_0x12c21c(0x83)](_0x5f1f64[_0x12c21c(0xa8)],_0x340254[_0x12c21c(0xa8)]),_0x39e94a=Math[_0x12c21c(0x83)](_0x5f1f64[_0x12c21c(0x87)],_0x340254[_0x12c21c(0x87)]);let _0xcb132b;_0x5f1f64[_0x12c21c(0xa8)]===_0x340254[_0x12c21c(0xa8)]&&_0x5f1f64[_0x12c21c(0x87)]===_0x340254[_0x12c21c(0x87)]?(_0xcb132b=!0x0,this[_0x12c21c(0xd2)](_0x340254)):_0x340254[_0x12c21c(0xa8)]===_0x16ba16&&_0x340254[_0x12c21c(0x87)]===_0x39e94a?_0xcb132b=!0x1:(_0x5f1f64[_0x12c21c(0xa8)]===_0x16ba16&&_0x5f1f64[_0x12c21c(0x87)]===_0x39e94a||this[_0x12c21c(0x8f)]({'revision':_0x5f1f64,'from':_0x39e94a,'to':_0x16ba16}),_0xcb132b=!0x0),_0xcb132b&&(delete _0x340254[_0x12c21c(0x87)],delete _0x340254[_0x12c21c(0xa8)],delete _0x340254[_0x12c21c(0xde)],delete _0x340254[_0x12c21c(0xcb)],delete _0x340254[_0x12c21c(0xbc)]);}this[_0x12c21c(0x7d)][_0x12c21c(0x82)](_0x340254),this[_0x12c21c(0xd2)](_0x340254);}else this[_0x12c21c(0x7d)][_0x12c21c(0xd1)](_0x340254);}const _0x1014c0=_0x369351[_0x12c21c(0x8e)]();_0x1014c0[_0x12c21c(0x9e)]();for(let _0x350a92=0x0;_0x350a92<_0x1014c0[_0x12c21c(0xc1)]-0x1;_0x350a92++){const _0x404e8e=_0x1014c0[_0x350a92],_0x16247b=_0x1014c0[_0x350a92+0x1];if(_0x404e8e[_0x12c21c(0x87)]<_0x16247b[_0x12c21c(0xa8)]){const _0x2fa9d7=_0x16247b[_0x12c21c(0xa8)],_0x29609a=Math[_0x12c21c(0x83)](_0x2fa9d7,_0x404e8e[_0x12c21c(0xa8)]);this[_0x12c21c(0x8f)]({'revision':_0x404e8e,'from':_0x2fa9d7,'to':_0x29609a});}}}[_0x1573de(0x8f)]({revision:_0x7e96f5,from:_0x2facf5,to:_0x11f839}={}){const _0x1e3b23=_0x1573de,_0xc033e2=this[_0x1e3b23(0xd0)][_0x1e3b23(0xad)][_0x1e3b23(0xd5)](_0x1ca4c8),_0x23810e=this[_0x1e3b23(0x7d)][_0x1e3b23(0xe9)]({'revision':_0x7e96f5,'from':_0x2facf5,'to':_0x11f839});_0x23810e[_0x1e3b23(0x93)]=_0x23810e[_0x1e3b23(0xbc)][_0x1e3b23(0x85)](_0x520226=>_0xc033e2[_0x1e3b23(0xaf)](_0x520226)),_0x7e96f5[_0x1e3b23(0xb5)](_0x23810e);}[_0x1573de(0xd2)](_0x3fe10d){const _0x5eb48c=_0x1573de,_0x34117c={};_0x34117c['id']=_0x3fe10d['id'];for(const _0x46b4b0 of Object[_0x5eb48c(0x8a)](_0x3fe10d))'id'!==_0x46b4b0&&(_0x34117c[_0x46b4b0]=void 0x0);this[_0x5eb48c(0x7d)][_0x5eb48c(0xda)](_0x34117c['id'],_0x34117c,!0x0);}async[_0x1573de(0xa0)](_0x56539c){const _0x4a22b4=_0x1573de,_0x489c4b=this[_0x4a22b4(0xd0)][_0x4a22b4(0xad)][_0x4a22b4(0xd5)](_0x1ca4c8),{connection:_0x56042b}=this[_0x4a22b4(0xd0)][_0x4a22b4(0xad)][_0x4a22b4(0xd5)](_0x34ffa3),_0x570460=new Set();for(const _0x291b65 of _0x56539c){for(const _0x5a3d79 of _0x291b65[_0x4a22b4(0xbc)])_0x1dd6b6(_0x5a3d79);_0x291b65[_0x4a22b4(0xa9)]&&_0x1dd6b6(_0x291b65[_0x4a22b4(0xa9)]);}if(0x0===_0x570460[_0x4a22b4(0xd3)])return;const _0x2d6fc5=await _0x16eb2f[_0x4a22b4(0xeb)](_0x56042b,Array[_0x4a22b4(0xaa)](_0x570460));for(const _0x3d0363 of _0x2d6fc5)_0x489c4b[_0x4a22b4(0xaf)](_0x3d0363['id'])||_0x489c4b[_0x4a22b4(0xec)](_0x3d0363);function _0x1dd6b6(_0x3dc446){const _0x52df07=_0x4a22b4;_0x489c4b[_0x52df07(0xaf)](_0x3dc446)||_0x570460[_0x52df07(0xe7)](_0x3dc446);}}}function it(_0x5b7f65){const _0x11e34e=_0x1573de;return _0x5b7f65[_0x11e34e(0xba)][_0x11e34e(0xa2)](_0x11e34e(0xc2))||_0x5b7f65[_0x11e34e(0xba)][_0x11e34e(0xa2)](_0x11e34e(0xe8))||_0x5b7f65[_0x11e34e(0xba)][_0x11e34e(0xa2)](_0x11e34e(0xc3));}function _0x53a4(){const _0x2a848e=['setRevisionData','max','serverHistory','map','_revisions','fromVersion','RevisionHistory','_isPendingUpdate','keys','off','bind','once','getRevisions','_fixRevision','isEnabled','_createCurrentRevision','addToReconnectionStack','authors','_oldOffset','277437TsQgQq','isBundleUploaded','_lastRequestId','collaboration.channelId','isConnected','change:_isPendingUpdate','_handleReconnectionError','isEmptyCurrent','remove','reverse','getRevision','_fetchMissingUsers','affectsData','startsWith','233528yyesBR','listenTo','reInit','setSource','init','toVersion','creatorId','from','_getLatestVersionFromServerOperations','has','plugins','state','getUser','1435812QnybAh','4CXypsN','connect','4654485bVOHpf','requires','_update','5181370JLBtzf','isPremiumPlugin','793404uwMcEO','RevisionTracker','message','destroy','authorsIds','adapter','getOperations','code','marker','length','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','400','baseVersion','_isConnected','_offset','isOfficialPlugin','connection','createdAt','then','8036756HkOawo','CloudServicesRevisionHistoryAdapter','sessionId','editor','addRevisionData','_preventResendingRevisionData','size','_revisionHistoryService','get','wrongRequestId','reconnect','CONNECTED','updateRevisions','_bufferUpdate','data','RevisionHistoryService','change:_isConnected','diffData','config','sendBufferedUpdates','_getLatestVersion','currentRevision','_waitForServiceReady','22eaydMT','cloudServices.bundleVersion','revisionsUpdated','add','cloud-services-internal-error:\x20Not\x20connected.','buildRevisionData','type','getMany','addUser','_startingVersion','connected','_handleRevisionsUpdate','_revisionTracker','_bufferedUpdates','repository','_revisionDataBuilder','catch'];_0x53a4=function(){return _0x2a848e;};return _0x53a4();}
|
|
23
|
+
const _0x1e0b0=_0x3f37;(function(_0x540c26,_0x4bf830){const _0x273539=_0x3f37,_0x924832=_0x540c26();while(!![]){try{const _0x2c76fa=parseInt(_0x273539(0x129))/0x1+-parseInt(_0x273539(0xfc))/0x2+parseInt(_0x273539(0x10a))/0x3+-parseInt(_0x273539(0x158))/0x4+-parseInt(_0x273539(0x10f))/0x5*(-parseInt(_0x273539(0x13d))/0x6)+-parseInt(_0x273539(0x120))/0x7*(-parseInt(_0x273539(0x125))/0x8)+parseInt(_0x273539(0x106))/0x9;if(_0x2c76fa===_0x4bf830)break;else _0x924832['push'](_0x924832['shift']());}catch(_0x1241e0){_0x924832['push'](_0x924832['shift']());}}}(_0x5c85,0x6ea26));import{Plugin as _0x3d6779}from'ckeditor5/src/core.js';import{version as _0x38b8f8}from'ckeditor5/src/utils.js';import{Users as _0x3232c3}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3a97e4}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x53438b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2a1c8a}from'../realtimecollaborativeediting/sessions.js';function _0x3f37(_0x5d6a87,_0x2aba5b){const _0x5c859e=_0x5c85();return _0x3f37=function(_0x3f370e,_0x28b47a){_0x3f370e=_0x3f370e-0xf6;let _0x8763f2=_0x5c859e[_0x3f370e];return _0x8763f2;},_0x3f37(_0x5d6a87,_0x2aba5b);}import{EditorService as _0x264431,RevisionHistoryService as _0x25ca42,User as _0x3406d0,WEB_SOCKET_GATEWAY_STATES as _0x1a66f7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x3d6779{static [_0x1e0b0(0x141)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x25ca42)());[_0x1e0b0(0x11a)];[_0x1e0b0(0x145)];[_0x1e0b0(0xf7)];[_0x1e0b0(0x123)];static get[_0x1e0b0(0x14a)](){const _0x212561=_0x1e0b0;return[_0x53438b,_0x3a97e4,_0x212561(0x159),_0x2a1c8a,_0x3232c3];}static get[_0x1e0b0(0x109)](){const _0x2485ad=_0x1e0b0;return _0x2485ad(0xff);}static get[_0x1e0b0(0x101)](){return!0x0;}static get[_0x1e0b0(0x14d)](){return!0x0;}constructor(_0x2216e6){const _0x6597bc=_0x1e0b0;super(_0x2216e6);const _0x5be1c4=this[_0x6597bc(0x164)][_0x6597bc(0x132)][_0x6597bc(0x104)](_0x6597bc(0x15a));this[_0x6597bc(0x11a)]=null,this[_0x6597bc(0x145)]=this[_0x6597bc(0x164)][_0x6597bc(0x103)][_0x6597bc(0x104)](_0x6597bc(0x155)),this[_0x6597bc(0xf7)]=new CloudServicesRevisionHistoryAdapter[(_0x6597bc(0x141))](_0x5be1c4);}async[_0x1e0b0(0x133)](){const _0xe3057d=_0x1e0b0,_0x22ecae=this[_0xe3057d(0x164)][_0xe3057d(0x103)][_0xe3057d(0x104)](_0x3a97e4),_0x378129=_0x22ecae[_0xe3057d(0x154)],_0x21634a=this[_0xe3057d(0x164)][_0xe3057d(0x103)][_0xe3057d(0x104)](_0x53438b);this[_0xe3057d(0x145)][_0xe3057d(0x14e)]({'history':_0x378129,'getLatestVersion':()=>this[_0xe3057d(0x134)](),'getCurrentRevisionId':()=>_0x22ecae[_0xe3057d(0x107)]});const _0x5bdfa6=this[_0xe3057d(0x164)][_0xe3057d(0x132)][_0xe3057d(0x104)](_0xe3057d(0x116))||_0x38b8f8,_0x5a72c2=await _0x264431[_0xe3057d(0x11b)](_0x21634a[_0xe3057d(0x13c)],_0x5bdfa6);this[_0xe3057d(0x164)][_0xe3057d(0x103)][_0xe3057d(0x104)](_0xe3057d(0x159))[_0xe3057d(0x140)]={'getRevision':async({revisionId:_0x573340})=>(await this[_0xe3057d(0x160)](),await this[_0xe3057d(0xf7)][_0xe3057d(0x148)](_0x573340)),'updateRevisions':async _0x387a22=>{const _0x1e244a=_0xe3057d;await this[_0x1e244a(0x160)]();const _0x1b837c=this[_0x1e244a(0x145)][_0x1e244a(0x15b)];if(_0x5a72c2&&0x1===_0x387a22[_0x1e244a(0x15e)]&&_0x387a22[0x0]['id']===_0x1b837c['id'])return _0x387a22;for(const _0x4bd660 of _0x387a22)_0x4bd660['id']===_0x1b837c['id']&&(_0x4bd660[_0x1e244a(0x15c)]=_0x4bd660[_0x1e244a(0x130)]===_0x4bd660[_0x1e244a(0x151)]);return this[_0x1e244a(0xf7)][_0x1e244a(0x143)](_0x387a22,this[_0x1e244a(0x11a)])[_0x1e244a(0xfa)](_0x57447f=>(this[_0x1e244a(0x11a)]=_0x57447f,_0x387a22))[_0x1e244a(0x136)](_0x545d89=>{const _0x46ed9b=_0x1e244a;if(b(_0x545d89)||_0x46ed9b(0x13b)===_0x545d89[_0x46ed9b(0x118)]&&void 0x0!==_0x545d89[_0x46ed9b(0x12a)][_0x46ed9b(0x13a)]){for(const _0x17f100 of _0x387a22){!this[_0x46ed9b(0x145)][_0x46ed9b(0x15f)][_0x46ed9b(0x148)](_0x17f100['id'])||this[_0x46ed9b(0x145)][_0x46ed9b(0x162)](_0x17f100['id'],_0x17f100,!0x1);}if(b(_0x545d89))throw _0x545d89;return _0x387a22;}throw _0x545d89;});}},this[_0xe3057d(0x124)](this[_0xe3057d(0xf7)],_0xe3057d(0x135),(_0xef2ca1,{revisionsData:_0x41061a,requestId:_0x18fe39})=>{const _0x7dfbb1=_0xe3057d;Math[_0x7dfbb1(0x10b)](..._0x41061a[_0x7dfbb1(0x157)](_0x53a11b=>_0x53a11b[_0x7dfbb1(0x151)]))>this[_0x7dfbb1(0x12c)]()-0x1?this[_0x7dfbb1(0x134)]()[_0x7dfbb1(0xfa)](()=>{const _0x191cda=_0x7dfbb1;this[_0x191cda(0x126)](_0x41061a,_0x18fe39);}):this[_0x7dfbb1(0x126)](_0x41061a,_0x18fe39);});const {revisions:_0x3c08b3,requestId:_0x3359ce}=await this[_0xe3057d(0xf7)][_0xe3057d(0x142)](_0x21634a[_0xe3057d(0x13c)]);_0x21634a[_0xe3057d(0x12e)](this),this[_0xe3057d(0x11a)]=_0x3359ce,await this[_0xe3057d(0x122)](_0x3c08b3);for(const _0x4aa999 of _0x3c08b3)this[_0xe3057d(0x145)][_0xe3057d(0xf9)](_0x4aa999);this[_0xe3057d(0x124)](_0x22ecae,_0xe3057d(0x108),(_0x49fd24,_0x2b738c,_0x52f882)=>{const _0x4ef6df=_0xe3057d;_0x52f882&&(this[_0x4ef6df(0x123)]=_0x22ecae[_0x4ef6df(0x138)],_0x49fd24[_0x4ef6df(0x115)]());}),this[_0xe3057d(0x145)][_0xe3057d(0xf6)](_0xe3057d(0xfd))['to'](_0x21634a,_0xe3057d(0x100),_0x3add82=>_0x3add82===_0x1a66f7[_0xe3057d(0x167)]);}async[_0x1e0b0(0x105)](){const _0x417df9=_0x1e0b0,_0x5f4f5e=this[_0x417df9(0x164)][_0x417df9(0x103)][_0x417df9(0x104)](_0x53438b),_0x46f5c3=this[_0x417df9(0x164)][_0x417df9(0x103)][_0x417df9(0x104)](_0x3a97e4),_0x2eb1be=async()=>{const _0x12688d=_0x417df9,_0x4d88f6=this[_0x12688d(0x145)][_0x12688d(0x15b)],_0x4a4ff5=_0x4d88f6['id'],_0x44464f=_0x4a4ff5!==_0x46f5c3[_0x12688d(0x107)];if(_0x44464f){const _0x567273=_0x46f5c3[_0x12688d(0x138)]-this[_0x12688d(0x123)],_0x2f081f=this[_0x12688d(0x12c)]();this[_0x12688d(0x145)][_0x12688d(0x102)][_0x12688d(0x10e)]();if(_0x4d88f6[_0x12688d(0x151)]+_0x567273!==_0x2f081f){const _0xf91857=_0x4d88f6[_0x12688d(0x130)]+_0x567273,_0x27aed6=this[_0x12688d(0x164)][_0x12688d(0x103)][_0x12688d(0x104)](_0x3232c3),_0xa95531=this[_0x12688d(0x145)][_0x12688d(0x10c)]({'revision':_0x4d88f6,'from':_0xf91857,'to':_0x2f081f});_0xa95531['id']=_0x4d88f6['id'];const _0x32785a=_0xa95531[_0x12688d(0x111)][_0x12688d(0x157)](_0x9c5718=>_0x27aed6[_0x12688d(0x119)](_0x9c5718));_0x4d88f6[_0x12688d(0x10d)]({..._0xa95531,'authors':_0x32785a},!0x0),this[_0x12688d(0x145)][_0x12688d(0x162)](_0x4d88f6['id'],_0xa95531,!0x0);}this[_0x12688d(0x145)][_0x12688d(0x12d)]=_0x2f081f,(_0x4d88f6[_0x12688d(0x151)]===_0x4d88f6[_0x12688d(0x130)]&&!this[_0x12688d(0x145)][_0x12688d(0x146)][_0x12688d(0x152)](_0x4a4ff5)&&this[_0x12688d(0x145)][_0x12688d(0x15f)][_0x12688d(0x11c)][_0x12688d(0x114)](_0x4a4ff5),this[_0x12688d(0x145)][_0x12688d(0xfe)](_0x2f081f));}const {revisions:_0x12788d,requestId:_0x4da6e4}=await this[_0x12688d(0xf7)][_0x12688d(0x105)](_0x5f4f5e[_0x12688d(0x13c)],this[_0x12688d(0x11a)]);_0x44464f&&_0x12788d[_0x12688d(0x15e)]>0x0?_0x46f5c3[_0x12688d(0x13f)]():(await this[_0x12688d(0x122)](_0x12788d),this[_0x12688d(0x126)](_0x12788d,_0x4da6e4),this[_0x12688d(0x145)][_0x12688d(0x117)]());};return _0x46f5c3[_0x417df9(0x166)]?_0x2eb1be():new Promise((_0x20098f,_0x3bef44)=>{const _0x523284=_0x417df9;_0x46f5c3[_0x523284(0x139)](_0x523284(0x108),()=>{const _0x2128bc=_0x523284;_0x2eb1be()[_0x2128bc(0xfa)](_0x20098f)[_0x2128bc(0x136)](_0x3bef44);});});}[_0x1e0b0(0x131)](){const _0x26fb43=_0x1e0b0;super[_0x26fb43(0x131)]();}async[_0x1e0b0(0x160)](){const _0x259353=_0x1e0b0;this[_0x259353(0xf7)][_0x259353(0x112)]||await new Promise(_0x1998a0=>{const _0x570d8f=_0x259353;this[_0x570d8f(0x124)](this[_0x570d8f(0xf7)],_0x570d8f(0x12f),_0x26342d=>{const _0x5e1175=_0x570d8f;_0x26342d[_0x5e1175(0x115)](),_0x1998a0();});});}[_0x1e0b0(0x12c)](){const _0x1e816c=_0x1e0b0,_0x461c1d=this[_0x1e816c(0x164)][_0x1e816c(0x103)][_0x1e816c(0x104)](_0x3a97e4)[_0x1e816c(0x154)][_0x1e816c(0x14f)]()[_0x1e816c(0x113)]();for(const _0x1655e3 of _0x461c1d)if(_0x1e816c(0x11d)!==_0x1655e3[_0x1e816c(0x14b)]||_0x1655e3[_0x1e816c(0x163)])return _0x1655e3[_0x1e816c(0x11e)]+0x1;}[_0x1e0b0(0x134)](){const _0x12e348=_0x1e0b0,_0x149383=this[_0x12e348(0x164)][_0x12e348(0x103)][_0x12e348(0x104)](_0x3a97e4);return new Promise(_0x1ecbf8=>{const _0x222599=_0x12e348;_0x149383[_0x222599(0x149)]?_0x149383[_0x222599(0x139)](_0x222599(0x161),()=>{const _0x2728e1=_0x222599;_0x1ecbf8(this[_0x2728e1(0x12c)]());}):_0x1ecbf8(this[_0x222599(0x12c)]());});}[_0x1e0b0(0x126)](_0x39b83d,_0x5469e0){const _0x547d0d=_0x1e0b0,_0x3b5ead=this[_0x547d0d(0x145)][_0x547d0d(0x15f)];this[_0x547d0d(0x11a)]=_0x5469e0;for(const _0x50b534 of _0x39b83d){const _0x3d09bc=_0x3b5ead[_0x547d0d(0x148)](_0x50b534['id']);if(_0x3d09bc){if((_0x50b534[_0x547d0d(0x130)]||_0x50b534[_0x547d0d(0x151)])&&(_0x50b534[_0x547d0d(0x110)]=null),_0x3d09bc===this[_0x547d0d(0x145)][_0x547d0d(0x15b)]){const _0x5dbdb7=Math[_0x547d0d(0x10b)](_0x3d09bc[_0x547d0d(0x151)],_0x50b534[_0x547d0d(0x151)]),_0x510ea4=Math[_0x547d0d(0x10b)](_0x3d09bc[_0x547d0d(0x130)],_0x50b534[_0x547d0d(0x130)]);let _0x94fd52;_0x3d09bc[_0x547d0d(0x151)]===_0x50b534[_0x547d0d(0x151)]&&_0x3d09bc[_0x547d0d(0x130)]===_0x50b534[_0x547d0d(0x130)]?(_0x94fd52=!0x0,this[_0x547d0d(0x15d)](_0x50b534)):_0x50b534[_0x547d0d(0x151)]===_0x5dbdb7&&_0x50b534[_0x547d0d(0x130)]===_0x510ea4?_0x94fd52=!0x1:(_0x3d09bc[_0x547d0d(0x151)]===_0x5dbdb7&&_0x3d09bc[_0x547d0d(0x130)]===_0x510ea4||this[_0x547d0d(0x156)]({'revision':_0x3d09bc,'from':_0x510ea4,'to':_0x5dbdb7}),_0x94fd52=!0x0),_0x94fd52&&(delete _0x50b534[_0x547d0d(0x130)],delete _0x50b534[_0x547d0d(0x151)],delete _0x50b534[_0x547d0d(0x110)],delete _0x50b534[_0x547d0d(0xfb)],delete _0x50b534[_0x547d0d(0x111)]);}this[_0x547d0d(0x145)][_0x547d0d(0x137)](_0x50b534),this[_0x547d0d(0x15d)](_0x50b534);}else this[_0x547d0d(0x145)][_0x547d0d(0xf9)](_0x50b534);}const _0x53fbcc=_0x3b5ead[_0x547d0d(0x14c)]();_0x53fbcc[_0x547d0d(0x113)]();for(let _0x1cac19=0x0;_0x1cac19<_0x53fbcc[_0x547d0d(0x15e)]-0x1;_0x1cac19++){const _0x469f35=_0x53fbcc[_0x1cac19],_0x298fdb=_0x53fbcc[_0x1cac19+0x1];if(_0x469f35[_0x547d0d(0x130)]<_0x298fdb[_0x547d0d(0x151)]){const _0x258c71=_0x298fdb[_0x547d0d(0x151)],_0x16e5d5=Math[_0x547d0d(0x10b)](_0x258c71,_0x469f35[_0x547d0d(0x151)]);this[_0x547d0d(0x156)]({'revision':_0x469f35,'from':_0x258c71,'to':_0x16e5d5});}}}[_0x1e0b0(0x156)]({revision:_0x1f6845,from:_0x329a2c,to:_0xdeaec3}={}){const _0x203ed3=_0x1e0b0,_0x5e02a4=this[_0x203ed3(0x164)][_0x203ed3(0x103)][_0x203ed3(0x104)](_0x3232c3),_0x337644=this[_0x203ed3(0x145)][_0x203ed3(0x10c)]({'revision':_0x1f6845,'from':_0x329a2c,'to':_0xdeaec3});_0x337644[_0x203ed3(0x128)]=_0x337644[_0x203ed3(0x111)][_0x203ed3(0x157)](_0x198860=>_0x5e02a4[_0x203ed3(0x119)](_0x198860)),_0x1f6845[_0x203ed3(0x10d)](_0x337644);}[_0x1e0b0(0x15d)](_0x49c588){const _0x210d43=_0x1e0b0,_0x9cc0c7={};_0x9cc0c7['id']=_0x49c588['id'];for(const _0x483509 of Object[_0x210d43(0x13e)](_0x49c588))'id'!==_0x483509&&(_0x9cc0c7[_0x483509]=void 0x0);this[_0x210d43(0x145)][_0x210d43(0x162)](_0x9cc0c7['id'],_0x9cc0c7,!0x0);}async[_0x1e0b0(0x122)](_0x5a9d0d){const _0x27e921=_0x1e0b0,_0x552a84=this[_0x27e921(0x164)][_0x27e921(0x103)][_0x27e921(0x104)](_0x3232c3),{connection:_0x4fd8bc}=this[_0x27e921(0x164)][_0x27e921(0x103)][_0x27e921(0x104)](_0x53438b),_0xe9642e=new Set();for(const _0x54234d of _0x5a9d0d){for(const _0x365a19 of _0x54234d[_0x27e921(0x111)])_0x3f7372(_0x365a19);_0x54234d[_0x27e921(0x11f)]&&_0x3f7372(_0x54234d[_0x27e921(0x11f)]);}if(0x0===_0xe9642e[_0x27e921(0x121)])return;const _0x3c8ad6=await _0x3406d0[_0x27e921(0x168)](_0x4fd8bc,Array[_0x27e921(0x127)](_0xe9642e));for(const _0x5c3cdc of _0x3c8ad6)_0x552a84[_0x27e921(0x119)](_0x5c3cdc['id'])||_0x552a84[_0x27e921(0x144)](_0x5c3cdc);function _0x3f7372(_0x514a14){const _0x44c919=_0x27e921;_0x552a84[_0x44c919(0x119)](_0x514a14)||_0xe9642e[_0x44c919(0x147)](_0x514a14);}}}function _0x5c85(){const _0x52080b=['authorsIds','isConnected','reverse','remove','off','cloudServices.bundleVersion','sendBufferedUpdates','code','getUser','_lastRequestId','isBundleUploaded','_revisions','marker','baseVersion','creatorId','7WjijaD','size','_fetchMissingUsers','_oldOffset','listenTo','450664lAJRfr','_handleRevisionsUpdate','from','authors','226872obZsNX','data','cloud-services-internal-error:\x20Not\x20connected.','_getLatestVersionFromServerOperations','_startingVersion','addToReconnectionStack','connected','fromVersion','destroy','config','init','_getLatestVersion','revisionsUpdated','catch','setRevisionData','_offset','once','wrongRequestId','400','connection','126IuYkIw','keys','_handleReconnectionError','adapter','RevisionHistoryService','connect','updateRevisions','addUser','_revisionTracker','_bufferedUpdates','add','getRevision','_isPendingUpdate','requires','type','getRevisions','isPremiumPlugin','setSource','getOperations','startsWith','toVersion','has','cloud-services-internal-error:\x20Request\x20timeout.','serverHistory','RevisionTracker','_fixRevision','map','3594636QbWNAs','RevisionHistory','collaboration.channelId','currentRevision','isEmptyCurrent','_preventResendingRevisionData','length','repository','_waitForServiceReady','change:_isPendingUpdate','_bufferUpdate','affectsData','editor','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isConnected','CONNECTED','getMany','bind','_revisionHistoryService','message','addRevisionData','then','createdAt','1265024irdnGd','isEnabled','_createCurrentRevision','CloudServicesRevisionHistoryAdapter','state','isOfficialPlugin','_revisionDataBuilder','plugins','get','reconnect','11756187NWJpFc','sessionId','change:_isConnected','pluginName','143505WIWHGs','max','buildRevisionData','_update','reInit','82630jqZwWW','diffData'];_0x5c85=function(){return _0x52080b;};return _0x5c85();}function b(_0x4d928b){const _0x52858b=_0x1e0b0;return _0x4d928b[_0x52858b(0xf8)][_0x52858b(0x150)](_0x52858b(0x165))||_0x4d928b[_0x52858b(0xf8)][_0x52858b(0x150)](_0x52858b(0x12b))||_0x4d928b[_0x52858b(0xf8)][_0x52858b(0x150)](_0x52858b(0x153));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4920ae=_0x56da;(function(_0x8bb322,_0x804711){var _0x51cd34=_0x56da,_0x257bd3=_0x8bb322();while(!![]){try{var _0x1ea1ec=parseInt(_0x51cd34(0xc2))/0x1*(-parseInt(_0x51cd34(0xba))/0x2)+-parseInt(_0x51cd34(0xc3))/0x3+parseInt(_0x51cd34(0xb6))/0x4*(parseInt(_0x51cd34(0xc1))/0x5)+-parseInt(_0x51cd34(0xb7))/0x6+-parseInt(_0x51cd34(0xb5))/0x7+-parseInt(_0x51cd34(0xbb))/0x8*(-parseInt(_0x51cd34(0xbf))/0x9)+parseInt(_0x51cd34(0xbd))/0xa;if(_0x1ea1ec===_0x804711)break;else _0x257bd3['push'](_0x257bd3['shift']());}catch(_0x5ab9c1){_0x257bd3['push'](_0x257bd3['shift']());}}}(_0x54dd,0x267f0));import{Plugin as _0x27953f}from'ckeditor5/src/core.js';function _0x56da(_0x2a31dc,_0x3cde56){var _0x54ddcb=_0x54dd();return _0x56da=function(_0x56da10,_0x12c0d4){_0x56da10=_0x56da10-0xb4;var _0x6f6ec5=_0x54ddcb[_0x56da10];return _0x6f6ec5;},_0x56da(_0x2a31dc,_0x3cde56);}import{CloudServicesRevisionHistoryAdapter as _0x643efb}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x3872f1}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x27953f{static get[_0x4920ae(0xb4)](){var _0x1e92a9=_0x4920ae;return[_0x1e92a9(0xb8),_0x643efb,_0x3872f1];}static get[_0x4920ae(0xbe)](){var _0x596bde=_0x4920ae;return _0x596bde(0xc0);}static get[_0x4920ae(0xbc)](){return!0x0;}static get[_0x4920ae(0xb9)](){return!0x0;}}function _0x54dd(){var _0x4c79cf=['879615QsAdNW','requires','1161146zUYNMD','24LlRIeb','1552134NwssYK','RevisionHistory','isPremiumPlugin','32042kxhdJR','64sMcnVz','isOfficialPlugin','6711490CdohTc','pluginName','38385mBAQKv','RealTimeCollaborativeRevisionHistory','235275iZtmcO','7cZlhAn'];_0x54dd=function(){return _0x4c79cf;};return _0x54dd();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
const _0xfb6319=_0x4238;(function(_0x5b48f4,_0x299734){const _0x527ed0=_0x4238,_0x3e3681=_0x5b48f4();while(!![]){try{const _0x52caf6=parseInt(_0x527ed0(0x1a3))/0x1*(parseInt(_0x527ed0(0x1a0))/0x2)+-parseInt(_0x527ed0(0x1a4))/0x3+parseInt(_0x527ed0(0x18a))/0x4*(-parseInt(_0x527ed0(0x1b1))/0x5)+-parseInt(_0x527ed0(0x1c3))/0x6*(parseInt(_0x527ed0(0x197))/0x7)+-parseInt(_0x527ed0(0x1c6))/0x8*(parseInt(_0x527ed0(0x19e))/0x9)+parseInt(_0x527ed0(0x1b5))/0xa+parseInt(_0x527ed0(0x19d))/0xb;if(_0x52caf6===_0x299734)break;else _0x3e3681['push'](_0x3e3681['shift']());}catch(_0x1a4739){_0x3e3681['push'](_0x3e3681['shift']());}}}(_0x12bf,0x7aa5f));import{Plugin as _0x58a816}from'ckeditor5/src/core.js';function _0x4238(_0x55ca7a,_0x1022c0){const _0x12bf56=_0x12bf();return _0x4238=function(_0x423835,_0x254210){_0x423835=_0x423835-0x186;let _0x56f903=_0x12bf56[_0x423835];return _0x56f903;},_0x4238(_0x55ca7a,_0x1022c0);}import{User as _0x14bd0b,TrackChangesService as _0x3693d8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x30eec4}from'../realtimecollaborativeediting/websocketgateway.js';function _0x12bf(){const _0x13cf15=['data','getMany','set','config','listenTo','getSuggestion','then','connected','266sOYWel','_saved','TrackChangesService','type','state','adapter','7247999mxMUlx','963yxEGDp','connect','184kPmeiB','startsWith','hasSuggestion','8471UVWnVE','289422RZxBVn','suggestionUpdated','getUser','TrackChangesEditing','_bufferedRequests','cloud-services-internal-error:\x20Not\x20connected.','find','collaboration.channelId','values','requires','addUser','isOfficialPlugin','message','15GkvOIB','off','reconnect','addSuggestionData','8956570bKMCCl','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesTrackChangesAdapter','_fetchMissingUsersForThreads','get','plugins','editor','init','catch','pluginName','originalSuggestionId','isPremiumPlugin','size','from','91824ZgeBCG','_trackChangesService','isConnected','12968yitzjC','delete','addToReconnectionStack','attributes','_waitForServiceReady','1306744sGkaxE','connection','add','update','open'];_0x12bf=function(){return _0x13cf15;};return _0x12bf();}import{CloudServicesCommentsAdapter as _0x2213ef}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x22954b}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x58a816{static [_0xfb6319(0x199)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3693d8)());[_0xfb6319(0x1a8)];[_0xfb6319(0x1c4)];static get[_0xfb6319(0x1ad)](){const _0x51222e=_0xfb6319;return[_0x2213ef,_0x51222e(0x1a7),_0x30eec4];}static get[_0xfb6319(0x1be)](){const _0xac1591=_0xfb6319;return _0xac1591(0x1b7);}static get[_0xfb6319(0x1af)](){return!0x0;}static get[_0xfb6319(0x1c0)](){return!0x0;}constructor(_0x2dd827){const _0x56e108=_0xfb6319;super(_0x2dd827);const _0x3c2584=this[_0x56e108(0x1bb)][_0x56e108(0x192)][_0x56e108(0x1b9)](_0x56e108(0x1ab));this[_0x56e108(0x1a8)]=new Map(),this[_0x56e108(0x1c4)]=new CloudServicesTrackChangesAdapter[(_0x56e108(0x199))](_0x3c2584);}[_0xfb6319(0x1bc)](){const _0x1f8f9d=_0xfb6319,_0x1b77b5=this[_0x1f8f9d(0x1bb)][_0x1f8f9d(0x1ba)][_0x1f8f9d(0x1b9)](_0x30eec4),_0x17f84f=this[_0x1f8f9d(0x1bb)][_0x1f8f9d(0x1ba)][_0x1f8f9d(0x1b9)](_0x1f8f9d(0x1a7));return _0x17f84f[_0x1f8f9d(0x19c)]={'getSuggestion':async _0x3e47a7=>{const _0xdd17e1=_0x1f8f9d;await this[_0xdd17e1(0x189)]();const _0x4abf90=await this[_0xdd17e1(0x1c4)][_0xdd17e1(0x1b9)](_0x3e47a7)[_0xdd17e1(0x1bd)](A);return await this[_0xdd17e1(0x1b8)]([_0x4abf90]),_0x4abf90;},'addSuggestion':async({id:_0x302e45,type:_0x2a3f22,data:_0x3aed86,originalSuggestionId:_0x4ede9f,attributes:_0x4e6952})=>{const _0x419327=_0x1f8f9d;await this[_0x419327(0x189)]();const _0x24e6eb={'id':_0x302e45,'type':_0x2a3f22,'data':_0x3aed86,'originalSuggestionId':_0x4ede9f,'attributes':_0x4e6952},_0x5bcb3a=await this[_0x419327(0x1c4)][_0x419327(0x18c)](_0x302e45,_0x2a3f22,_0x3aed86,_0x4ede9f,_0x4e6952)[_0x419327(0x1bd)](_0x1099da=>{if(b(_0x1099da))return new Promise(_0x36bbd6=>{const _0x28c966=_0x4238;this[_0x28c966(0x1a8)][_0x28c966(0x191)](_0x302e45,{'resolve':_0x36bbd6,'suggestionData':_0x24e6eb});});throw _0x1099da;});return this[_0x419327(0x1a8)][_0x419327(0x186)](_0x302e45),_0x5bcb3a;},'updateSuggestion':async(_0x168573,_0x6ee6e5)=>{const _0x379322=_0x1f8f9d;if(await this[_0x379322(0x189)](),_0x379322(0x18e)!==_0x6ee6e5[_0x379322(0x19b)])return this[_0x379322(0x1c4)][_0x379322(0x18d)](_0x168573,_0x6ee6e5)[_0x379322(0x1bd)](A);}},this[_0x1f8f9d(0x193)](this[_0x1f8f9d(0x1c4)],_0x1f8f9d(0x1a5),(_0x10bf8b,_0x44d5cc)=>{const _0x129231=_0x1f8f9d;_0x17f84f[_0x129231(0x1a2)](_0x44d5cc['id'])&&(_0x17f84f[_0x129231(0x194)](_0x44d5cc['id'])[_0x129231(0x188)]=_0x44d5cc[_0x129231(0x188)]);}),this[_0x1f8f9d(0x1c4)][_0x1f8f9d(0x19f)](_0x1b77b5[_0x1f8f9d(0x18b)])[_0x1f8f9d(0x195)](_0x511021=>(_0x1b77b5[_0x1f8f9d(0x187)](this),this[_0x1f8f9d(0x1b8)](_0x511021)[_0x1f8f9d(0x195)](()=>{const _0x1bc95f=_0x1f8f9d;for(const _0x7ac86c of _0x511021){_0x17f84f[_0x1bc95f(0x1b4)](_0x7ac86c)[_0x1bc95f(0x198)]=!0x0;}})));}async[_0xfb6319(0x1b3)](){const _0x4a98a7=_0xfb6319,_0x4e8be9=this[_0x4a98a7(0x1bb)][_0x4a98a7(0x1ba)][_0x4a98a7(0x1b9)](_0x4a98a7(0x1a7)),{connection:_0x1dc2fd}=this[_0x4a98a7(0x1bb)][_0x4a98a7(0x1ba)][_0x4a98a7(0x1b9)](_0x30eec4),_0x1ad7ec=await this[_0x4a98a7(0x1c4)][_0x4a98a7(0x19f)](_0x1dc2fd);await this[_0x4a98a7(0x1b8)](_0x1ad7ec);for(const {suggestionData:_0x51bcf6,resolve:_0xa1c618}of this[_0x4a98a7(0x1a8)][_0x4a98a7(0x1ac)]()){let _0x4de181=_0x1ad7ec[_0x4a98a7(0x1aa)](_0x1bfd4d=>_0x1bfd4d['id']===_0x51bcf6['id']);_0x4de181||(_0x4de181=await this[_0x4a98a7(0x1c4)][_0x4a98a7(0x18c)](_0x51bcf6['id'],_0x51bcf6[_0x4a98a7(0x19a)],_0x51bcf6[_0x4a98a7(0x18f)],_0x51bcf6[_0x4a98a7(0x1bf)])),_0xa1c618(_0x4de181);}for(const _0x467816 of _0x1ad7ec)_0x4e8be9[_0x4a98a7(0x1a2)](_0x467816['id'])||_0x4e8be9[_0x4a98a7(0x1b4)](_0x467816);}async[_0xfb6319(0x189)](){const _0x304eed=_0xfb6319;this[_0x304eed(0x1c4)][_0x304eed(0x1c5)]||await new Promise(_0x1e6832=>{const _0x94f7cd=_0x304eed;this[_0x94f7cd(0x193)](this[_0x94f7cd(0x1c4)],_0x94f7cd(0x196),_0x48f8cd=>{const _0x5fade9=_0x94f7cd;_0x48f8cd[_0x5fade9(0x1b2)](),_0x1e6832();});});}async[_0xfb6319(0x1b8)](_0x3f6d5d){const _0x5c43ae=_0xfb6319,_0x208249=this[_0x5c43ae(0x1bb)][_0x5c43ae(0x1ba)][_0x5c43ae(0x1b9)](_0x22954b),{connection:_0x440559}=this[_0x5c43ae(0x1bb)][_0x5c43ae(0x1ba)][_0x5c43ae(0x1b9)](_0x30eec4),_0x4775ce=new Set();for(const {authorId:_0x5de3cb}of _0x3f6d5d)_0x208249[_0x5c43ae(0x1a6)](_0x5de3cb)||_0x4775ce[_0x5c43ae(0x18c)](_0x5de3cb);if(0x0===_0x4775ce[_0x5c43ae(0x1c1)])return;const _0x23b32c=await _0x14bd0b[_0x5c43ae(0x190)](_0x440559,Array[_0x5c43ae(0x1c2)](_0x4775ce));for(const _0xf2207b of _0x23b32c)_0x208249[_0x5c43ae(0x1a6)](_0xf2207b['id'])||_0x208249[_0x5c43ae(0x1ae)](_0xf2207b);}}function A(_0x490f93){if(b(_0x490f93))return new Promise(()=>{});throw _0x490f93;}function b(_0x426872){const _0x35dd15=_0xfb6319;return _0x426872[_0x35dd15(0x1b0)][_0x35dd15(0x1a1)](_0x35dd15(0x1a9))||_0x426872[_0x35dd15(0x1b0)][_0x35dd15(0x1a1)](_0x35dd15(0x1b6));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x54cc48=_0x315c;(function(_0xddf3e2,_0x584d90){var _0x595cf8=_0x315c,_0xcc6eb6=_0xddf3e2();while(!![]){try{var _0x36570a=parseInt(_0x595cf8(0x168))/0x1+parseInt(_0x595cf8(0x16e))/0x2+parseInt(_0x595cf8(0x16f))/0x3*(parseInt(_0x595cf8(0x174))/0x4)+-parseInt(_0x595cf8(0x172))/0x5+-parseInt(_0x595cf8(0x169))/0x6+parseInt(_0x595cf8(0x167))/0x7+parseInt(_0x595cf8(0x16d))/0x8*(parseInt(_0x595cf8(0x16c))/0x9);if(_0x36570a===_0x584d90)break;else _0xcc6eb6['push'](_0xcc6eb6['shift']());}catch(_0x1f770e){_0xcc6eb6['push'](_0xcc6eb6['shift']());}}}(_0x1ac7,0xc4acd));function _0x315c(_0x36669b,_0xbfbe5f){var _0x1ac712=_0x1ac7();return _0x315c=function(_0x315cd7,_0x55aac0){_0x315cd7=_0x315cd7-0x167;var _0x108f19=_0x1ac712[_0x315cd7];return _0x108f19;},_0x315c(_0x36669b,_0xbfbe5f);}import{Plugin as _0xdbbe54}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x5c536c}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x1ac7(){var _0x36996a=['240qmJpaN','pluginName','3831548WlvZsV','15742FkHPCR','6042612AFmwwO','requires','isPremiumPlugin','18ohLurs','1859688MyszAn','751388QJUOfm','69681OFOThO','TrackChanges','isOfficialPlugin','4923295AnrCNf','RealTimeCollaborativeTrackChanges'];_0x1ac7=function(){return _0x36996a;};return _0x1ac7();}import{RealTimeCollaborativeComments as _0xd9691}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0xdbbe54{static get[_0x54cc48(0x16a)](){var _0x991c3e=_0x54cc48;return[_0xd9691,_0x5c536c,_0x991c3e(0x170)];}static get[_0x54cc48(0x175)](){var _0x31b426=_0x54cc48;return _0x31b426(0x173);}static get[_0x54cc48(0x171)](){return!0x0;}static get[_0x54cc48(0x16b)](){return!0x0;}}
|