@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.4 → 46.0.1-alpha.5
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/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xb02b3b=_0x368b;function _0x368b(_0x317745,_0x52b1a5){const _0x551a32=_0x551a();return _0x368b=function(_0x368ba1,_0x2e99f2){_0x368ba1=_0x368ba1-0xb8;let _0x2df8e2=_0x551a32[_0x368ba1];return _0x2df8e2;},_0x368b(_0x317745,_0x52b1a5);}function _0x551a(){const _0x3b4c07=['7MsLArx','forEach','getUser','get','328xZLrQY','channelSessions','addUser','_handleSessionAdd','channelConnectedUsers','state','sessions-unregister-not-exist','getUserBySessionId','_users','47133KEpwTV','188262GEjekl','_handleSessionRemove','delete','has','context','_uniqueUsersCount','role','remove','Sessions','mySessionId','fire','pluginName','stopListening','111918uNhZDB','2274180ZdrXGB','init','listenTo','change:state','unregister','sessions-register-already-registered','user','connected','connection','orderNumber','add','plugins','values','2377095EanHqY','_registeredSessions','size','getUserRole','defineMe','sessionAdd:','isPremiumPlugin','requires','1383782XZCMCk','clear','sessionId','_createUser','getUserSessions','allConnectedUsers','isMe','set','3ZlQSSa','register','2224288YuLwXY','assign','isOfficialPlugin'];_0x551a=function(){return _0x3b4c07;};return _0x551a();}(function(_0x2bc713,_0x5d260d){const _0x15e8c5=_0x368b,_0x1b19a5=_0x2bc713();while(!![]){try{const _0x3f468a=parseInt(_0x15e8c5(0xce))/0x1+parseInt(_0x15e8c5(0xf1))/0x2*(parseInt(_0x15e8c5(0xbb))/0x3)+-parseInt(_0x15e8c5(0xbd))/0x4+parseInt(_0x15e8c5(0xe9))/0x5+parseInt(_0x15e8c5(0xdb))/0x6*(parseInt(_0x15e8c5(0xc0))/0x7)+-parseInt(_0x15e8c5(0xc4))/0x8*(parseInt(_0x15e8c5(0xcd))/0x9)+-parseInt(_0x15e8c5(0xdc))/0xa;if(_0x3f468a===_0x5d260d)break;else _0x1b19a5['push'](_0x1b19a5['shift']());}catch(_0x16419a){_0x1b19a5['push'](_0x1b19a5['shift']());}}}(_0x551a,0x5bcd2));import{ContextPlugin as _0x4677d8}from'ckeditor5/src/core.js';import{Collection as _0x21ee6b,CKEditorError as _0x4112d1}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4a2495}from'./websocketgateway.js';import{Users as _0x35d405}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4677d8{[_0xb02b3b(0xc5)];[_0xb02b3b(0xc8)];[_0xb02b3b(0xb8)];[_0xb02b3b(0xea)];[_0xb02b3b(0xd3)];[_0xb02b3b(0xcc)];static get[_0xb02b3b(0xd9)](){const _0x48ddee=_0xb02b3b;return _0x48ddee(0xd6);}static get[_0xb02b3b(0xbf)](){return!0x0;}static get[_0xb02b3b(0xef)](){return!0x0;}static get[_0xb02b3b(0xf0)](){return[_0x4a2495,_0x35d405];}constructor(_0x2c2ab6){const _0x11c871=_0xb02b3b;super(_0x2c2ab6),this[_0x11c871(0xc5)]=new Map(),this[_0x11c871(0xc8)]=new Map(),this[_0x11c871(0xb8)]=new _0x21ee6b(),this[_0x11c871(0xea)]=new Map(),this[_0x11c871(0xd3)]=0x0,this[_0x11c871(0xcc)]=this[_0x11c871(0xd2)][_0x11c871(0xe7)][_0x11c871(0xc3)](_0x35d405);}[_0xb02b3b(0xdd)](){const _0x4e3da4=_0xb02b3b,_0x5e9a55=this[_0x4e3da4(0xd2)][_0x4e3da4(0xe7)][_0x4e3da4(0xc3)](_0x4a2495);this[_0x4e3da4(0xde)](_0x5e9a55,_0x4e3da4(0xdf),(_0x3d1d1e,_0x595e5e,_0x14ec4a)=>{const _0x25e607=_0x4e3da4;if(_0x25e607(0xe3)!==_0x14ec4a)this[_0x25e607(0xc5)][_0x25e607(0xc1)](_0x23fee0=>_0x23fee0[_0x25e607(0xf2)]()),this[_0x25e607(0xc8)][_0x25e607(0xc1)](_0x79fbcb=>_0x79fbcb[_0x25e607(0xf2)]()),this[_0x25e607(0xb8)][_0x25e607(0xf2)]();else{for(const [_0x3c34cd,_0x52abf6]of this[_0x25e607(0xea)])for(const _0x182974 of _0x52abf6)this[_0x25e607(0xc7)](_0x3c34cd,_0x182974);}}),this[_0x4e3da4(0xf4)](_0x5e9a55[_0x4e3da4(0xe4)]['me'],!0x0);}[_0xb02b3b(0xbc)](_0x556bd1,_0x20c9ff){const _0x7fe2f=_0xb02b3b;if(this[_0x7fe2f(0xea)][_0x7fe2f(0xd1)](_0x556bd1))throw new _0x4112d1(_0x7fe2f(0xe1),null,{'channelId':_0x556bd1});this[_0x7fe2f(0xea)][_0x7fe2f(0xba)](_0x556bd1,_0x20c9ff),this[_0x7fe2f(0xc5)][_0x7fe2f(0xba)](_0x556bd1,new _0x21ee6b()),this[_0x7fe2f(0xc8)][_0x7fe2f(0xba)](_0x556bd1,new _0x21ee6b()),this[_0x7fe2f(0xde)](_0x20c9ff,_0x7fe2f(0xe6),(_0x3de380,_0x522f92)=>this[_0x7fe2f(0xc7)](_0x556bd1,_0x522f92)),this[_0x7fe2f(0xde)](_0x20c9ff,_0x7fe2f(0xd5),(_0xada425,_0x3281f2)=>this[_0x7fe2f(0xcf)](_0x556bd1,_0x3281f2));for(const _0x3e41f3 of _0x20c9ff)this[_0x7fe2f(0xc7)](_0x556bd1,_0x3e41f3);}[_0xb02b3b(0xe0)](_0x36df6f){const _0x264e3b=_0xb02b3b;if(!this[_0x264e3b(0xea)][_0x264e3b(0xd1)](_0x36df6f))throw new _0x4112d1(_0x264e3b(0xca),null,{'channelId':_0x36df6f});const _0x5cd39b=this[_0x264e3b(0xea)][_0x264e3b(0xc3)](_0x36df6f);this[_0x264e3b(0xda)](_0x5cd39b);for(const _0x164809 of _0x5cd39b)_0x264e3b(0xe3)===this[_0x264e3b(0xd2)][_0x264e3b(0xe7)][_0x264e3b(0xc3)](_0x4a2495)[_0x264e3b(0xc9)]&&this[_0x264e3b(0xcf)](_0x36df6f,_0x164809);this[_0x264e3b(0xea)][_0x264e3b(0xd0)](_0x36df6f),this[_0x264e3b(0xc5)][_0x264e3b(0xd0)](_0x36df6f),this[_0x264e3b(0xc8)][_0x264e3b(0xd0)](_0x36df6f);}get[_0xb02b3b(0xd7)](){const _0x1c1910=_0xb02b3b;return this[_0x1c1910(0xd2)][_0x1c1910(0xe7)][_0x1c1910(0xc3)](_0x4a2495)[_0x1c1910(0xe4)][_0x1c1910(0xf3)];}[_0xb02b3b(0xcb)](_0x47e79e){const _0x46f4bf=_0xb02b3b;for(const _0x15b833 of this[_0x46f4bf(0xc5)][_0x46f4bf(0xe8)]())for(const _0x4e3734 of _0x15b833)if(_0x4e3734['id']===_0x47e79e)return _0x4e3734[_0x46f4bf(0xe2)];}[_0xb02b3b(0xf5)](_0x45576e,_0x2c4f1b){const _0x5568e5=_0xb02b3b,_0x449ae0=_0x2c4f1b?[this[_0x5568e5(0xc5)][_0x5568e5(0xc3)](_0x2c4f1b)]:this[_0x5568e5(0xc5)][_0x5568e5(0xe8)](),_0x59ad33=new Set();for(const _0x12b742 of _0x449ae0)for(const _0x2be9b2 of _0x12b742)_0x2be9b2[_0x5568e5(0xe2)]['id']===_0x45576e['id']&&_0x59ad33[_0x5568e5(0xe6)](_0x2be9b2['id']);return _0x59ad33;}[_0xb02b3b(0xec)](_0x507a61){const _0x2f96a2=_0xb02b3b;for(const _0x4fd1ff of this[_0x2f96a2(0xc5)][_0x2f96a2(0xe8)]())for(const _0x47bc06 of _0x4fd1ff)if(_0x47bc06[_0x2f96a2(0xe2)]===_0x507a61)return _0x47bc06[_0x2f96a2(0xd4)];}[_0xb02b3b(0xc7)](_0xf9feba,_0x1170bb){const _0x2bbfeb=_0xb02b3b;if(_0x2bbfeb(0xe3)!==this[_0x2bbfeb(0xd2)][_0x2bbfeb(0xe7)][_0x2bbfeb(0xc3)](_0x4a2495)[_0x2bbfeb(0xc9)])return;const _0x490650=_0x1170bb[_0x2bbfeb(0xe2)],_0x4ca7ba=this[_0x2bbfeb(0xcc)][_0x2bbfeb(0xc2)](_0x490650['id'])||this[_0x2bbfeb(0xf4)](_0x490650),_0x2c4e8d=Object[_0x2bbfeb(0xbe)]({},_0x1170bb,{'user':_0x4ca7ba});this[_0x2bbfeb(0xc5)][_0x2bbfeb(0xc3)](_0xf9feba)[_0x2bbfeb(0xe6)](_0x2c4e8d);const _0x582cdd=this[_0x2bbfeb(0xc8)][_0x2bbfeb(0xc3)](_0xf9feba);_0x582cdd[_0x2bbfeb(0xd1)](_0x4ca7ba['id'])||_0x582cdd[_0x2bbfeb(0xe6)](_0x4ca7ba),this[_0x2bbfeb(0xb8)][_0x2bbfeb(0xd1)](_0x4ca7ba['id'])||this[_0x2bbfeb(0xb8)][_0x2bbfeb(0xe6)](_0x4ca7ba,_0x4ca7ba[_0x2bbfeb(0xb9)]?0x0:void 0x0),this[_0x2bbfeb(0xd8)](_0x2bbfeb(0xee)+_0xf9feba,{'channelId':_0xf9feba,'session':_0x2c4e8d});}[_0xb02b3b(0xcf)](_0x5a876a,_0x2aa195){const _0x22e4f5=_0xb02b3b;if(_0x22e4f5(0xe3)!==this[_0x22e4f5(0xd2)][_0x22e4f5(0xe7)][_0x22e4f5(0xc3)](_0x4a2495)[_0x22e4f5(0xc9)])return;const _0x14d6bf=this[_0x22e4f5(0xc8)][_0x22e4f5(0xc3)](_0x5a876a),_0x22c05f=_0x2aa195[_0x22e4f5(0xe2)];_0x22c05f['id']&&(this[_0x22e4f5(0xc5)][_0x22e4f5(0xc3)](_0x5a876a)[_0x22e4f5(0xd5)](_0x2aa195['id']),_0x14d6bf[_0x22e4f5(0xd1)](_0x22c05f['id'])&&!this[_0x22e4f5(0xf5)](_0x22c05f,_0x5a876a)[_0x22e4f5(0xeb)]&&_0x14d6bf[_0x22e4f5(0xd5)](_0x22c05f['id']),this[_0x22e4f5(0xb8)][_0x22e4f5(0xc3)](_0x22c05f['id'])&&!this[_0x22e4f5(0xf5)](_0x22c05f)[_0x22e4f5(0xeb)]&&this[_0x22e4f5(0xb8)][_0x22e4f5(0xd5)](_0x22c05f['id']));}[_0xb02b3b(0xf4)](_0x43be70,_0xd67e6){const _0x5c6176=_0xb02b3b,_0xd0bfa2=this[_0x5c6176(0xcc)][_0x5c6176(0xc6)](_0x43be70);return _0xd67e6&&this[_0x5c6176(0xcc)][_0x5c6176(0xed)](_0x43be70['id']),_0xd0bfa2[_0x5c6176(0xe5)]=this[_0x5c6176(0xd3)]++,_0xd0bfa2;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x2b8571=_0x16df;function _0x5242(){const _0x3c5fa6=['online','506IHfOBV','3494rcRvSg','6CfHTkY','9OXdyMi','set','removeFromReconnectionStack','code','from','addToReconnectionStack','add','context','get','_reconnect','_isBrowserOffline','listenTo','isInReconnectionStack','connection','cloudservices-reconnection-error','limitExceeded','CloudServices','config','real-time-collaboration','114891hjVTTV','DISCONNECTED','change:me','WebSocketGateway','showWarning','reconnect','_shouldPluginsReconnect','39910xyOMQj','initialReconnectionInterval','destroy','function','then','bind','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.','pluginName','offline','cloudServices.requestTimeout','isOfficialPlugin','797350wKNTMv','init','connected','state','cloudServices.connectionTimeout','define','requires','1172460xNEIHm','websocketgateway-invalid-plugin-interface','71AhGsuz','stopListening','_domEmitter','token','166088BVentm','catch','disconnect','CONNECTED','websocketgateway-missing-websocket-url','delete','_reconnectionStack','websocketgateway-plugin-already-registered','websocketgateway-missing-token','connect','cloudservices-init','3tVideb','583384oGsoEv','plugins','webSocketUrl','CONNECTING','Connected\x20users\x20limit\x20exceeded','has','all','constructor','error','isPremiumPlugin'];_0x5242=function(){return _0x3c5fa6;};return _0x5242();}(function(_0x3a1abd,_0x250e94){const _0x55d6f9=_0x16df,_0x999049=_0x3a1abd();while(!![]){try{const _0x5c9457=parseInt(_0x55d6f9(0xfa))/0x1*(-parseInt(_0x55d6f9(0x116))/0x2)+parseInt(_0x55d6f9(0x109))/0x3*(parseInt(_0x55d6f9(0xfe))/0x4)+parseInt(_0x55d6f9(0x13d))/0x5+parseInt(_0x55d6f9(0x117))/0x6*(parseInt(_0x55d6f9(0x12b))/0x7)+parseInt(_0x55d6f9(0x10a))/0x8*(-parseInt(_0x55d6f9(0x118))/0x9)+-parseInt(_0x55d6f9(0x132))/0xa*(-parseInt(_0x55d6f9(0x115))/0xb)+-parseInt(_0x55d6f9(0xf8))/0xc;if(_0x5c9457===_0x250e94)break;else _0x999049['push'](_0x999049['shift']());}catch(_0x111edc){_0x999049['push'](_0x999049['shift']());}}}(_0x5242,0x19f56));import{ContextPlugin as _0x2bd3f5}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2db65e,CKEditorError as _0x56ee40}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2bbdd4,WEB_SOCKET_GATEWAY_STATES as _0xa8c997}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16df(_0x351db9,_0x58a1cd){const _0x52427e=_0x5242();return _0x16df=function(_0x16df23,_0x2b613b){_0x16df23=_0x16df23-0xf5;let _0x5061f3=_0x52427e[_0x16df23];return _0x5061f3;},_0x16df(_0x351db9,_0x58a1cd);}import{Notification as _0x407806}from'ckeditor5/src/ui.js';class n extends _0x2bd3f5{static [_0x2b8571(0x12e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2bbdd4)());static [_0x2b8571(0x133)]=0x3e8;[_0x2b8571(0x125)];[_0x2b8571(0x104)];[_0x2b8571(0x131)];[_0x2b8571(0xfc)];static get[_0x2b8571(0xf7)](){const _0x5d6280=_0x2b8571;return[_0x5d6280(0x128),_0x407806];}static get[_0x2b8571(0x139)](){const _0x2bc21b=_0x2b8571;return _0x2bc21b(0x12e);}static get[_0x2b8571(0x13c)](){return!0x0;}static get[_0x2b8571(0x113)](){return!0x0;}constructor(_0x3e6f06){const _0x4431e3=_0x2b8571;super(_0x3e6f06),this[_0x4431e3(0x119)](_0x4431e3(0x140),_0xa8c997[_0x4431e3(0x101)]),this[_0x4431e3(0x119)](_0x4431e3(0x122),!0x1),this[_0x4431e3(0x104)]=new Set(),this[_0x4431e3(0x131)]=!0x1,this[_0x4431e3(0xfc)]=new(_0x2db65e())();}[_0x2b8571(0x13e)](){const _0x1a2fa0=_0x2b8571,_0x410f83=this[_0x1a2fa0(0x11f)],_0x23dc00=_0x410f83[_0x1a2fa0(0x10b)][_0x1a2fa0(0x120)](_0x1a2fa0(0x128)),_0x4b988d=_0x410f83[_0x1a2fa0(0x10b)][_0x1a2fa0(0x120)](_0x407806);if(!_0x23dc00[_0x1a2fa0(0xfd)])throw new _0x56ee40(_0x1a2fa0(0x106),this);if(!_0x23dc00[_0x1a2fa0(0x10c)])throw new _0x56ee40(_0x1a2fa0(0x102),this);return this[_0x1a2fa0(0xfc)][_0x1a2fa0(0x123)](window,_0x1a2fa0(0x13a),()=>this[_0x1a2fa0(0x122)]=!0x0),this[_0x1a2fa0(0xfc)][_0x1a2fa0(0x123)](window,_0x1a2fa0(0x114),()=>this[_0x1a2fa0(0x122)]=!0x1),this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0xf6)](_0x1a2fa0(0xf5),0xa),this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0xf6)](_0x1a2fa0(0x13b),0x14),n[_0x1a2fa0(0x12e)][_0x1a2fa0(0x107)](_0x23dc00[_0x1a2fa0(0xfd)],_0x23dc00[_0x1a2fa0(0x10c)],{'timeout':0x3e8*this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0x120)](_0x1a2fa0(0xf5)),'requestTimeout':0x3e8*this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0x120)](_0x1a2fa0(0x13b))})[_0x1a2fa0(0x136)](_0x226a9e=>{const _0x523654=_0x1a2fa0;if(this[_0x523654(0x125)]=_0x226a9e,this[_0x523654(0x137)](_0x523654(0x140))['to'](_0x226a9e,_0x523654(0x140),this,_0x523654(0x122),(_0x4d46da,_0x2a34df)=>(_0x523654(0x13f)!==_0x4d46da&&(this[_0x523654(0x131)]=!0x0),_0x2a34df||_0x4d46da!==_0xa8c997[_0x523654(0x101)]?_0xa8c997[_0x523654(0x12c)]:this[_0x523654(0x140)]==_0xa8c997[_0x523654(0x12c)]&&this[_0x523654(0x131)]?(this[_0x523654(0x131)]=!0x1,this[_0x523654(0x121)](),_0xa8c997[_0x523654(0x10d)]):_0xa8c997[_0x523654(0x101)])),this[_0x523654(0x125)]['on'](_0x523654(0x112),(_0xa71318,_0x36b3dd)=>{const _0x19d01e=_0x523654;if(_0x19d01e(0x127)!==_0x36b3dd[_0x19d01e(0x11b)])throw console[_0x19d01e(0x112)](_0x36b3dd),new _0x56ee40(_0x19d01e(0x108),null,{'originalError':_0x36b3dd});_0x4b988d[_0x19d01e(0x12f)](_0x19d01e(0x138),{'title':_0x19d01e(0x10e),'namespace':_0x19d01e(0x12a)});}),!_0x226a9e['me'])return new Promise(_0x2fa051=>_0x226a9e['on'](_0x523654(0x12d),_0x2fa051));})[_0x1a2fa0(0xff)](_0x1961d2=>{const _0x401dca=_0x1a2fa0;throw console[_0x401dca(0x112)](_0x1961d2),new _0x56ee40(_0x401dca(0x108),null,{'originalError':_0x1961d2});});}[_0x2b8571(0x11d)](_0x50896a){const _0x238109=_0x2b8571;if(_0x238109(0x135)!=typeof _0x50896a[_0x238109(0x130)])throw new _0x56ee40(_0x238109(0xf9),this);if(this[_0x238109(0x124)](_0x50896a))throw new _0x56ee40(_0x238109(0x105),this,{'name':_0x50896a[_0x238109(0x111)][_0x238109(0x139)]});this[_0x238109(0x104)][_0x238109(0x11e)](_0x50896a);}[_0x2b8571(0x11a)](_0x402262){const _0x3dde78=_0x2b8571;this[_0x3dde78(0x104)][_0x3dde78(0x103)](_0x402262);}[_0x2b8571(0x124)](_0x470158){const _0x5d9ca6=_0x2b8571;return this[_0x5d9ca6(0x104)][_0x5d9ca6(0x10f)](_0x470158);}[_0x2b8571(0x121)](){const _0x1f9b90=_0x2b8571;return this[_0x1f9b90(0x125)][_0x1f9b90(0x130)]()[_0x1f9b90(0x136)](()=>Promise[_0x1f9b90(0x110)](Array[_0x1f9b90(0x11c)](this[_0x1f9b90(0x104)],_0x3d0836=>_0x3d0836[_0x1f9b90(0x130)]())))[_0x1f9b90(0x136)](()=>this[_0x1f9b90(0x140)]=_0xa8c997[_0x1f9b90(0x101)])[_0x1f9b90(0xff)](_0x4afc09=>{const _0x391391=_0x1f9b90;throw console[_0x391391(0x112)](_0x4afc09),new _0x56ee40(_0x391391(0x126),this[_0x391391(0x11f)]);});}[_0x2b8571(0x100)](){const _0x221cdd=_0x2b8571;this[_0x221cdd(0x125)]&&this[_0x221cdd(0x125)][_0x221cdd(0x100)](),this[_0x221cdd(0x140)]=_0xa8c997[_0x221cdd(0x12c)],this[_0x221cdd(0xfc)][_0x221cdd(0xfb)]();}[_0x2b8571(0x134)](){const _0x52b6a8=_0x2b8571;this[_0x52b6a8(0x100)](),super[_0x52b6a8(0x134)]();}}export{n as WebSocketGateway};
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x122830)());[_0x129bee(0x104)];[_0x129bee(0xae)];[_0x129bee(0xde)];[_0x129bee(0xeb)];static get[_0x129bee(0xfa)](){const _0x139bcc=_0x129bee;return[_0x4efb77,_0x1f3569,_0x139bcc(0x10b),_0x52f0fd,_0x2b6994];}static get[_0x129bee(0xb4)](){const _0x359f7e=_0x129bee;return _0x359f7e(0xab);}static get[_0x129bee(0xd5)](){return!0x0;}static get[_0x129bee(0xfb)](){return!0x0;}constructor(_0x36bad4){const _0x5e1c19=_0x129bee;super(_0x36bad4);const _0x400766=this[_0x5e1c19(0xf5)][_0x5e1c19(0xb1)][_0x5e1c19(0xc7)](_0x5e1c19(0xcd));this[_0x5e1c19(0x104)]=null,this[_0x5e1c19(0xae)]=this[_0x5e1c19(0xf5)][_0x5e1c19(0x10a)][_0x5e1c19(0xc7)](_0x5e1c19(0x106)),this[_0x5e1c19(0xde)]=new c[(_0x5e1c19(0xed))](_0x400766);}async[_0x129bee(0x109)](){const _0x1690e1=_0x129bee,_0x3a1963=this[_0x1690e1(0xf5)][_0x1690e1(0x10a)][_0x1690e1(0xc7)](_0x1f3569),_0x360cee=_0x3a1963[_0x1690e1(0x111)],_0x566dd3=this[_0x1690e1(0xf5)][_0x1690e1(0x10a)][_0x1690e1(0xc7)](_0x4efb77);this[_0x1690e1(0xae)][_0x1690e1(0xc9)]({'history':_0x360cee,'getLatestVersion':()=>this[_0x1690e1(0xf9)](),'getCurrentRevisionId':()=>_0x3a1963[_0x1690e1(0xe8)]});const _0x25aebd=this[_0x1690e1(0xf5)][_0x1690e1(0xb1)][_0x1690e1(0xc7)](_0x1690e1(0x114))||_0x5991de,_0xfcca8f=await _0x2b3d2c[_0x1690e1(0xa4)](_0x566dd3[_0x1690e1(0xdb)],_0x25aebd);this[_0x1690e1(0xf5)][_0x1690e1(0x10a)][_0x1690e1(0xc7)](_0x1690e1(0x10b))[_0x1690e1(0xda)]={'getRevision':async({revisionId:_0x3fbd0c})=>(await this[_0x1690e1(0xf1)](),await this[_0x1690e1(0xde)][_0x1690e1(0xee)](_0x3fbd0c)),'updateRevisions':async _0x50b194=>{const _0x527cae=_0x1690e1;await this[_0x527cae(0xf1)]();const _0x5d042e=this[_0x527cae(0xae)][_0x527cae(0xa7)];if(_0xfcca8f&&0x1===_0x50b194[_0x527cae(0xd8)]&&_0x50b194[0x0]['id']===_0x5d042e['id'])return _0x50b194;for(const _0x277df0 of _0x50b194)_0x277df0['id']===_0x5d042e['id']&&(_0x277df0[_0x527cae(0xca)]=_0x277df0[_0x527cae(0xcc)]===_0x277df0[_0x527cae(0xd0)]);return this[_0x527cae(0xde)][_0x527cae(0xc0)](_0x50b194,this[_0x527cae(0x104)])[_0x527cae(0xd2)](_0x343d2c=>(this[_0x527cae(0x104)]=_0x343d2c,_0x50b194))[_0x527cae(0xc1)](_0xcacad8=>{const _0x28e0d8=_0x527cae;if(P(_0xcacad8)||_0x28e0d8(0xb9)===_0xcacad8[_0x28e0d8(0xfe)]&&void 0x0!==_0xcacad8[_0x28e0d8(0xba)][_0x28e0d8(0xe4)]){for(const _0x1a977b of _0x50b194){!this[_0x28e0d8(0xae)][_0x28e0d8(0xce)][_0x28e0d8(0xee)](_0x1a977b['id'])||this[_0x28e0d8(0xae)][_0x28e0d8(0xd4)](_0x1a977b['id'],_0x1a977b,!0x1);}if(P(_0xcacad8))throw _0xcacad8;return _0x50b194;}throw _0xcacad8;});}},this[_0x1690e1(0xc8)](this[_0x1690e1(0xde)],_0x1690e1(0x107),(_0x494dcd,{revisionsData:_0x1b88fb,requestId:_0x270b2b})=>{const _0x1916b2=_0x1690e1;Math[_0x1916b2(0xfd)](..._0x1b88fb[_0x1916b2(0xaf)](_0x54186d=>_0x54186d[_0x1916b2(0xd0)]))>this[_0x1916b2(0x116)]()-0x1?this[_0x1916b2(0xf9)]()[_0x1916b2(0xd2)](()=>{const _0x6ba1a4=_0x1916b2;this[_0x6ba1a4(0x102)](_0x1b88fb,_0x270b2b);}):this[_0x1916b2(0x102)](_0x1b88fb,_0x270b2b);});const {revisions:_0x5688fc,requestId:_0x344619}=await this[_0x1690e1(0xde)][_0x1690e1(0x10d)](_0x566dd3[_0x1690e1(0xdb)]);_0x566dd3[_0x1690e1(0xe2)](this),this[_0x1690e1(0x104)]=_0x344619,await this[_0x1690e1(0xd1)](_0x5688fc);for(const _0x36b56b of _0x5688fc)this[_0x1690e1(0xae)][_0x1690e1(0x108)](_0x36b56b);this[_0x1690e1(0xc8)](_0x3a1963,_0x1690e1(0xbf),(_0x2bb482,_0x30d32e,_0x41f86e)=>{const _0x39e937=_0x1690e1;_0x41f86e&&(this[_0x39e937(0xeb)]=_0x3a1963[_0x39e937(0x10f)],_0x2bb482[_0x39e937(0xf6)]());}),this[_0x1690e1(0xae)][_0x1690e1(0xdf)](_0x1690e1(0xbe))['to'](_0x566dd3,_0x1690e1(0x10e),_0x158649=>_0x158649===_0x4b7d98[_0x1690e1(0xb7)]);}async[_0x129bee(0xef)](){const _0x5153f5=_0x129bee,_0x2d6b66=this[_0x5153f5(0xf5)][_0x5153f5(0x10a)][_0x5153f5(0xc7)](_0x4efb77),_0x276700=this[_0x5153f5(0xf5)][_0x5153f5(0x10a)][_0x5153f5(0xc7)](_0x1f3569),_0x549834=async()=>{const _0x3a4aea=_0x5153f5,_0x4084fd=this[_0x3a4aea(0xae)][_0x3a4aea(0xa7)],_0xb01262=_0x4084fd['id'],_0x2786d7=_0xb01262!==_0x276700[_0x3a4aea(0xe8)];if(_0x2786d7){const _0x3c4c52=_0x276700[_0x3a4aea(0x10f)]-this[_0x3a4aea(0xeb)],_0x29e69e=this[_0x3a4aea(0x116)]();this[_0x3a4aea(0xae)][_0x3a4aea(0xf7)][_0x3a4aea(0xd6)]();if(_0x4084fd[_0x3a4aea(0xd0)]+_0x3c4c52!==_0x29e69e){const _0x1aa245=_0x4084fd[_0x3a4aea(0xcc)]+_0x3c4c52,_0x5aae88=this[_0x3a4aea(0xf5)][_0x3a4aea(0x10a)][_0x3a4aea(0xc7)](_0x2b6994),_0x2caf8e=this[_0x3a4aea(0xae)][_0x3a4aea(0xdc)]({'revision':_0x4084fd,'from':_0x1aa245,'to':_0x29e69e});_0x2caf8e['id']=_0x4084fd['id'];const _0x1df79f=_0x2caf8e[_0x3a4aea(0xe3)][_0x3a4aea(0xaf)](_0x57683f=>_0x5aae88[_0x3a4aea(0x101)](_0x57683f));_0x4084fd[_0x3a4aea(0xc3)]({..._0x2caf8e,'authors':_0x1df79f},!0x0),this[_0x3a4aea(0xae)][_0x3a4aea(0xd4)](_0x4084fd['id'],_0x2caf8e,!0x0);}this[_0x3a4aea(0xae)][_0x3a4aea(0xea)]=_0x29e69e,(_0x4084fd[_0x3a4aea(0xd0)]===_0x4084fd[_0x3a4aea(0xcc)]&&!this[_0x3a4aea(0xae)][_0x3a4aea(0x115)][_0x3a4aea(0x110)](_0xb01262)&&this[_0x3a4aea(0xae)][_0x3a4aea(0xce)][_0x3a4aea(0xb0)][_0x3a4aea(0xac)](_0xb01262),this[_0x3a4aea(0xae)][_0x3a4aea(0xc5)](_0x29e69e));}const {revisions:_0x617c6e,requestId:_0x30d39c}=await this[_0x3a4aea(0xde)][_0x3a4aea(0xef)](_0x2d6b66[_0x3a4aea(0xdb)],this[_0x3a4aea(0x104)]);_0x2786d7&&_0x617c6e[_0x3a4aea(0xd8)]>0x0?_0x276700[_0x3a4aea(0xd9)]():(await this[_0x3a4aea(0xd1)](_0x617c6e),this[_0x3a4aea(0x102)](_0x617c6e,_0x30d39c),this[_0x3a4aea(0xae)][_0x3a4aea(0xad)]());};return _0x276700[_0x5153f5(0xbb)]?_0x549834():new Promise((_0x5470bf,_0x499439)=>{const _0x176de4=_0x5153f5;_0x276700[_0x176de4(0xf3)](_0x176de4(0xbf),()=>{const _0xa8da6c=_0x176de4;_0x549834()[_0xa8da6c(0xd2)](_0x5470bf)[_0xa8da6c(0xc1)](_0x499439);});});}[_0x129bee(0xe9)](){const _0xea5bb7=_0x129bee;super[_0xea5bb7(0xe9)]();}async[_0x129bee(0xf1)](){const _0xf92684=_0x129bee;this[_0xf92684(0xde)][_0xf92684(0xf8)]||await new Promise(_0x5debc4=>{const _0x1cb659=_0xf92684;this[_0x1cb659(0xc8)](this[_0x1cb659(0xde)],_0x1cb659(0xb6),_0x24d5b5=>{const _0x3c5ccb=_0x1cb659;_0x24d5b5[_0x3c5ccb(0xf6)](),_0x5debc4();});});}[_0x129bee(0x116)](){const _0x21fa53=_0x129bee,_0x2b472a=this[_0x21fa53(0xf5)][_0x21fa53(0x10a)][_0x21fa53(0xc7)](_0x1f3569)[_0x21fa53(0x111)][_0x21fa53(0xb5)]()[_0x21fa53(0x10c)]();for(const _0x3c4b2e of _0x2b472a)if(_0x21fa53(0xb2)!==_0x3c4b2e[_0x21fa53(0xe1)]||_0x3c4b2e[_0x21fa53(0xb3)])return _0x3c4b2e[_0x21fa53(0xe7)]+0x1;}[_0x129bee(0xf9)](){const _0x224874=_0x129bee,_0x3d374c=this[_0x224874(0xf5)][_0x224874(0x10a)][_0x224874(0xc7)](_0x1f3569);return new Promise(_0xd6e66=>{const _0x1c1b42=_0x224874;_0x3d374c[_0x1c1b42(0xe5)]?_0x3d374c[_0x1c1b42(0xf3)](_0x1c1b42(0x105),()=>{const _0x28a008=_0x1c1b42;_0xd6e66(this[_0x28a008(0x116)]());}):_0xd6e66(this[_0x1c1b42(0x116)]());});}[_0x129bee(0x102)](_0x400a02,_0x27044c){const _0x23c7a0=_0x129bee,_0x17315a=this[_0x23c7a0(0xae)][_0x23c7a0(0xce)];this[_0x23c7a0(0x104)]=_0x27044c;for(const _0xe14885 of _0x400a02){const _0x55a7fd=_0x17315a[_0x23c7a0(0xee)](_0xe14885['id']);if(_0x55a7fd){if((_0xe14885[_0x23c7a0(0xcc)]||_0xe14885[_0x23c7a0(0xd0)])&&(_0xe14885[_0x23c7a0(0xf2)]=null),_0x55a7fd===this[_0x23c7a0(0xae)][_0x23c7a0(0xa7)]){const _0x5441eb=Math[_0x23c7a0(0xfd)](_0x55a7fd[_0x23c7a0(0xd0)],_0xe14885[_0x23c7a0(0xd0)]),_0x18d3f9=Math[_0x23c7a0(0xfd)](_0x55a7fd[_0x23c7a0(0xcc)],_0xe14885[_0x23c7a0(0xcc)]);let _0x4439ab;_0x55a7fd[_0x23c7a0(0xd0)]===_0xe14885[_0x23c7a0(0xd0)]&&_0x55a7fd[_0x23c7a0(0xcc)]===_0xe14885[_0x23c7a0(0xcc)]?(_0x4439ab=!0x0,this[_0x23c7a0(0xa9)](_0xe14885)):_0xe14885[_0x23c7a0(0xd0)]===_0x5441eb&&_0xe14885[_0x23c7a0(0xcc)]===_0x18d3f9?_0x4439ab=!0x1:(_0x55a7fd[_0x23c7a0(0xd0)]===_0x5441eb&&_0x55a7fd[_0x23c7a0(0xcc)]===_0x18d3f9||this[_0x23c7a0(0xa8)]({'revision':_0x55a7fd,'from':_0x18d3f9,'to':_0x5441eb}),_0x4439ab=!0x0),_0x4439ab&&(delete _0xe14885[_0x23c7a0(0xcc)],delete _0xe14885[_0x23c7a0(0xd0)],delete _0xe14885[_0x23c7a0(0xf2)],delete _0xe14885[_0x23c7a0(0xa5)],delete _0xe14885[_0x23c7a0(0xe3)]);}this[_0x23c7a0(0xae)][_0x23c7a0(0xf4)](_0xe14885),this[_0x23c7a0(0xa9)](_0xe14885);}else this[_0x23c7a0(0xae)][_0x23c7a0(0x108)](_0xe14885);}const _0x3acd36=_0x17315a[_0x23c7a0(0xc4)]();_0x3acd36[_0x23c7a0(0x10c)]();for(let _0x1fa485=0x0;_0x1fa485<_0x3acd36[_0x23c7a0(0xd8)]-0x1;_0x1fa485++){const _0x25f880=_0x3acd36[_0x1fa485],_0x4446ff=_0x3acd36[_0x1fa485+0x1];if(_0x25f880[_0x23c7a0(0xcc)]<_0x4446ff[_0x23c7a0(0xd0)]){const _0x1f1477=_0x4446ff[_0x23c7a0(0xd0)],_0xbb5e6c=Math[_0x23c7a0(0xfd)](_0x1f1477,_0x25f880[_0x23c7a0(0xd0)]);this[_0x23c7a0(0xa8)]({'revision':_0x25f880,'from':_0x1f1477,'to':_0xbb5e6c});}}}[_0x129bee(0xa8)]({revision:_0x36e36d,from:_0x1bac63,to:_0x357abb}={}){const _0x57b5ca=_0x129bee,_0x2aabe5=this[_0x57b5ca(0xf5)][_0x57b5ca(0x10a)][_0x57b5ca(0xc7)](_0x2b6994),_0x119d87=this[_0x57b5ca(0xae)][_0x57b5ca(0xdc)]({'revision':_0x36e36d,'from':_0x1bac63,'to':_0x357abb});_0x119d87[_0x57b5ca(0x103)]=_0x119d87[_0x57b5ca(0xe3)][_0x57b5ca(0xaf)](_0x108b04=>_0x2aabe5[_0x57b5ca(0x101)](_0x108b04)),_0x36e36d[_0x57b5ca(0xc3)](_0x119d87);}[_0x129bee(0xa9)](_0xdeebe0){const _0x125db6=_0x129bee,_0x1facb8={};_0x1facb8['id']=_0xdeebe0['id'];for(const _0xd3a0b4 of Object[_0x125db6(0xbd)](_0xdeebe0))'id'!==_0xd3a0b4&&(_0x1facb8[_0xd3a0b4]=void 0x0);this[_0x125db6(0xae)][_0x125db6(0xd4)](_0x1facb8['id'],_0x1facb8,!0x0);}async[_0x129bee(0xd1)](_0x3d66ed){const _0x903b0=_0x129bee,_0x1afdfe=this[_0x903b0(0xf5)][_0x903b0(0x10a)][_0x903b0(0xc7)](_0x2b6994),{connection:_0xb835d2}=this[_0x903b0(0xf5)][_0x903b0(0x10a)][_0x903b0(0xc7)](_0x4efb77),_0x2ac1c9=new Set();for(const _0x2524ea of _0x3d66ed){for(const _0x1d1641 of _0x2524ea[_0x903b0(0xe3)])_0x4a0b21(_0x1d1641);_0x2524ea[_0x903b0(0x112)]&&_0x4a0b21(_0x2524ea[_0x903b0(0x112)]);}if(0x0===_0x2ac1c9[_0x903b0(0xcf)])return;const _0x321f5b=await _0x59a201[_0x903b0(0xaa)](_0xb835d2,Array[_0x903b0(0xf0)](_0x2ac1c9));for(const _0x53de54 of _0x321f5b)_0x1afdfe[_0x903b0(0x101)](_0x53de54['id'])||_0x1afdfe[_0x903b0(0xbc)](_0x53de54);function _0x4a0b21(_0x515974){const _0x24ea95=_0x903b0;_0x1afdfe[_0x24ea95(0x101)](_0x515974)||_0x2ac1c9[_0x24ea95(0xc2)](_0x515974);}}}export{c as CloudServicesRevisionHistoryAdapter};function P(_0x4c511f){const _0x1f9eb1=_0x129bee;return _0x4c511f[_0x1f9eb1(0xc6)][_0x1f9eb1(0xcb)](_0x1f9eb1(0xec))||_0x4c511f[_0x1f9eb1(0xc6)][_0x1f9eb1(0xcb)](_0x1f9eb1(0xff))||_0x4c511f[_0x1f9eb1(0xc6)][_0x1f9eb1(0xcb)](_0x1f9eb1(0xfc));}
|
|
23
|
+
const _0x229557=_0x4799;(function(_0x2ecc49,_0x2791a9){const _0x4c183a=_0x4799,_0x307ff7=_0x2ecc49();while(!![]){try{const _0xb6d5c6=-parseInt(_0x4c183a(0x18b))/0x1*(parseInt(_0x4c183a(0x18f))/0x2)+parseInt(_0x4c183a(0x141))/0x3*(parseInt(_0x4c183a(0x174))/0x4)+-parseInt(_0x4c183a(0x132))/0x5+-parseInt(_0x4c183a(0x12d))/0x6*(parseInt(_0x4c183a(0x122))/0x7)+parseInt(_0x4c183a(0x170))/0x8+-parseInt(_0x4c183a(0x166))/0x9+parseInt(_0x4c183a(0x126))/0xa;if(_0xb6d5c6===_0x2791a9)break;else _0x307ff7['push'](_0x307ff7['shift']());}catch(_0x3fd0b4){_0x307ff7['push'](_0x307ff7['shift']());}}}(_0x371b,0x293b7));import{Plugin as _0x34e3ff}from'ckeditor5/src/core.js';function _0x4799(_0xb10541,_0x5b0657){const _0x371b8b=_0x371b();return _0x4799=function(_0x479937,_0x1f5f8f){_0x479937=_0x479937-0x11f;let _0x21585a=_0x371b8b[_0x479937];return _0x21585a;},_0x4799(_0xb10541,_0x5b0657);}import{version as _0x494685}from'ckeditor5/src/utils.js';import{Users as _0x1572e6}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x49f82d}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3ba156}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1f7a71}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3196fa,RevisionHistoryService as _0x21d66b,User as _0x3f4fad,WEB_SOCKET_GATEWAY_STATES as _0x51622d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x34e3ff{static [_0x229557(0x14b)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x21d66b)());[_0x229557(0x16f)];[_0x229557(0x168)];[_0x229557(0x12a)];[_0x229557(0x175)];static get[_0x229557(0x177)](){const _0x1c4400=_0x229557;return[_0x3ba156,_0x49f82d,_0x1c4400(0x13f),_0x1f7a71,_0x1572e6];}static get[_0x229557(0x14f)](){const _0x44f29a=_0x229557;return _0x44f29a(0x12e);}static get[_0x229557(0x167)](){return!0x0;}static get[_0x229557(0x18a)](){return!0x0;}constructor(_0x1d17ea){const _0x279cb9=_0x229557;super(_0x1d17ea);const _0x5ed839=this[_0x279cb9(0x184)][_0x279cb9(0x134)][_0x279cb9(0x14c)](_0x279cb9(0x152));this[_0x279cb9(0x16f)]=null,this[_0x279cb9(0x168)]=this[_0x279cb9(0x184)][_0x279cb9(0x147)][_0x279cb9(0x14c)](_0x279cb9(0x155)),this[_0x279cb9(0x12a)]=new c[(_0x279cb9(0x14b))](_0x5ed839);}async[_0x229557(0x181)](){const _0x5df2fc=_0x229557,_0x1dd356=this[_0x5df2fc(0x184)][_0x5df2fc(0x147)][_0x5df2fc(0x14c)](_0x49f82d),_0x5f3930=_0x1dd356[_0x5df2fc(0x189)],_0x3e85bc=this[_0x5df2fc(0x184)][_0x5df2fc(0x147)][_0x5df2fc(0x14c)](_0x3ba156);this[_0x5df2fc(0x168)][_0x5df2fc(0x131)]({'history':_0x5f3930,'getLatestVersion':()=>this[_0x5df2fc(0x183)](),'getCurrentRevisionId':()=>_0x1dd356[_0x5df2fc(0x180)]});const _0xce8b37=this[_0x5df2fc(0x184)][_0x5df2fc(0x134)][_0x5df2fc(0x14c)](_0x5df2fc(0x16b))||_0x494685,_0x5a4b62=await _0x3196fa[_0x5df2fc(0x120)](_0x3e85bc[_0x5df2fc(0x18e)],_0xce8b37);this[_0x5df2fc(0x184)][_0x5df2fc(0x147)][_0x5df2fc(0x14c)](_0x5df2fc(0x13f))[_0x5df2fc(0x145)]={'getRevision':async({revisionId:_0x46c282})=>(await this[_0x5df2fc(0x139)](),await this[_0x5df2fc(0x12a)][_0x5df2fc(0x14d)](_0x46c282)),'updateRevisions':async _0x3f3ae7=>{const _0xfadfb5=_0x5df2fc;await this[_0xfadfb5(0x139)]();const _0x1f6e9b=this[_0xfadfb5(0x168)][_0xfadfb5(0x16c)];if(_0x5a4b62&&0x1===_0x3f3ae7[_0xfadfb5(0x185)]&&_0x3f3ae7[0x0]['id']===_0x1f6e9b['id'])return _0x3f3ae7;for(const _0x3626c4 of _0x3f3ae7)_0x3626c4['id']===_0x1f6e9b['id']&&(_0x3626c4[_0xfadfb5(0x137)]=_0x3626c4[_0xfadfb5(0x178)]===_0x3626c4[_0xfadfb5(0x11f)]);return this[_0xfadfb5(0x12a)][_0xfadfb5(0x163)](_0x3f3ae7,this[_0xfadfb5(0x16f)])[_0xfadfb5(0x12c)](_0x1399b9=>(this[_0xfadfb5(0x16f)]=_0x1399b9,_0x3f3ae7))[_0xfadfb5(0x16a)](_0x597af7=>{const _0x11c3a7=_0xfadfb5;if(M(_0x597af7)||_0x11c3a7(0x13d)===_0x597af7[_0x11c3a7(0x15b)]&&void 0x0!==_0x597af7[_0x11c3a7(0x128)][_0x11c3a7(0x191)]){for(const _0x39a0d9 of _0x3f3ae7){!this[_0x11c3a7(0x168)][_0x11c3a7(0x164)][_0x11c3a7(0x14d)](_0x39a0d9['id'])||this[_0x11c3a7(0x168)][_0x11c3a7(0x133)](_0x39a0d9['id'],_0x39a0d9,!0x1);}if(M(_0x597af7))throw _0x597af7;return _0x3f3ae7;}throw _0x597af7;});}},this[_0x5df2fc(0x124)](this[_0x5df2fc(0x12a)],_0x5df2fc(0x15e),(_0x47f833,{revisionsData:_0xf4f459,requestId:_0x250449})=>{const _0xccba28=_0x5df2fc;Math[_0xccba28(0x15d)](..._0xf4f459[_0xccba28(0x192)](_0x3230d5=>_0x3230d5[_0xccba28(0x11f)]))>this[_0xccba28(0x12b)]()-0x1?this[_0xccba28(0x183)]()[_0xccba28(0x12c)](()=>{const _0x208101=_0xccba28;this[_0x208101(0x143)](_0xf4f459,_0x250449);}):this[_0xccba28(0x143)](_0xf4f459,_0x250449);});const {revisions:_0x2d6450,requestId:_0x5c07cd}=await this[_0x5df2fc(0x12a)][_0x5df2fc(0x17d)](_0x3e85bc[_0x5df2fc(0x18e)]);_0x3e85bc[_0x5df2fc(0x127)](this),this[_0x5df2fc(0x16f)]=_0x5c07cd,await this[_0x5df2fc(0x121)](_0x2d6450);for(const _0x2423b8 of _0x2d6450)this[_0x5df2fc(0x168)][_0x5df2fc(0x18c)](_0x2423b8);this[_0x5df2fc(0x124)](_0x1dd356,_0x5df2fc(0x138),(_0x28c032,_0x3a67a5,_0x308f91)=>{const _0x32b56c=_0x5df2fc;_0x308f91&&(this[_0x32b56c(0x175)]=_0x1dd356[_0x32b56c(0x158)],_0x28c032[_0x32b56c(0x15c)]());}),this[_0x5df2fc(0x168)][_0x5df2fc(0x17c)](_0x5df2fc(0x161))['to'](_0x3e85bc,_0x5df2fc(0x149),_0x1e983a=>_0x1e983a===_0x51622d[_0x5df2fc(0x159)]);}async[_0x229557(0x125)](){const _0x5960f5=_0x229557,_0x1dcc0e=this[_0x5960f5(0x184)][_0x5960f5(0x147)][_0x5960f5(0x14c)](_0x3ba156),_0x991512=this[_0x5960f5(0x184)][_0x5960f5(0x147)][_0x5960f5(0x14c)](_0x49f82d),_0x232c4c=async()=>{const _0x164e23=_0x5960f5,_0x48a038=this[_0x164e23(0x168)][_0x164e23(0x16c)],_0x31ac8b=_0x48a038['id'],_0x1e4259=_0x31ac8b!==_0x991512[_0x164e23(0x180)];if(_0x1e4259){const _0x5f4f5e=_0x991512[_0x164e23(0x158)]-this[_0x164e23(0x175)],_0x5c235c=this[_0x164e23(0x12b)]();this[_0x164e23(0x168)][_0x164e23(0x14e)][_0x164e23(0x188)]();if(_0x48a038[_0x164e23(0x11f)]+_0x5f4f5e!==_0x5c235c){const _0x45b983=_0x48a038[_0x164e23(0x178)]+_0x5f4f5e,_0x20257a=this[_0x164e23(0x184)][_0x164e23(0x147)][_0x164e23(0x14c)](_0x1572e6),_0x4e6499=this[_0x164e23(0x168)][_0x164e23(0x182)]({'revision':_0x48a038,'from':_0x45b983,'to':_0x5c235c});_0x4e6499['id']=_0x48a038['id'];const _0x50411c=_0x4e6499[_0x164e23(0x14a)][_0x164e23(0x192)](_0x3c8a4f=>_0x20257a[_0x164e23(0x129)](_0x3c8a4f));_0x48a038[_0x164e23(0x160)]({..._0x4e6499,'authors':_0x50411c},!0x0),this[_0x164e23(0x168)][_0x164e23(0x133)](_0x48a038['id'],_0x4e6499,!0x0);}this[_0x164e23(0x168)][_0x164e23(0x17f)]=_0x5c235c,(_0x48a038[_0x164e23(0x11f)]===_0x48a038[_0x164e23(0x178)]&&!this[_0x164e23(0x168)][_0x164e23(0x151)][_0x164e23(0x169)](_0x31ac8b)&&this[_0x164e23(0x168)][_0x164e23(0x164)][_0x164e23(0x172)][_0x164e23(0x135)](_0x31ac8b),this[_0x164e23(0x168)][_0x164e23(0x13c)](_0x5c235c));}const {revisions:_0x164d92,requestId:_0x2cbec0}=await this[_0x164e23(0x12a)][_0x164e23(0x125)](_0x1dcc0e[_0x164e23(0x18e)],this[_0x164e23(0x16f)]);_0x1e4259&&_0x164d92[_0x164e23(0x185)]>0x0?_0x991512[_0x164e23(0x190)]():(await this[_0x164e23(0x121)](_0x164d92),this[_0x164e23(0x143)](_0x164d92,_0x2cbec0),this[_0x164e23(0x168)][_0x164e23(0x146)]());};return _0x991512[_0x5960f5(0x165)]?_0x232c4c():new Promise((_0x5bcfd8,_0x1dac7f)=>{const _0x4ae009=_0x5960f5;_0x991512[_0x4ae009(0x187)](_0x4ae009(0x138),()=>{const _0x5d877c=_0x4ae009;_0x232c4c()[_0x5d877c(0x12c)](_0x5bcfd8)[_0x5d877c(0x16a)](_0x1dac7f);});});}[_0x229557(0x162)](){const _0x35c2f2=_0x229557;super[_0x35c2f2(0x162)]();}async[_0x229557(0x139)](){const _0xff709b=_0x229557;this[_0xff709b(0x12a)][_0xff709b(0x173)]||await new Promise(_0x1cf526=>{const _0x446b01=_0xff709b;this[_0x446b01(0x124)](this[_0x446b01(0x12a)],_0x446b01(0x142),_0x1bf424=>{const _0xd2a7c0=_0x446b01;_0x1bf424[_0xd2a7c0(0x15c)](),_0x1cf526();});});}[_0x229557(0x12b)](){const _0x2b78ec=_0x229557,_0x3ea99a=this[_0x2b78ec(0x184)][_0x2b78ec(0x147)][_0x2b78ec(0x14c)](_0x49f82d)[_0x2b78ec(0x189)][_0x2b78ec(0x154)]()[_0x2b78ec(0x157)]();for(const _0x3439b9 of _0x3ea99a)if(_0x2b78ec(0x140)!==_0x3439b9[_0x2b78ec(0x150)]||_0x3439b9[_0x2b78ec(0x15f)])return _0x3439b9[_0x2b78ec(0x186)]+0x1;}[_0x229557(0x183)](){const _0x2538e0=_0x229557,_0x4c4bdd=this[_0x2538e0(0x184)][_0x2538e0(0x147)][_0x2538e0(0x14c)](_0x49f82d);return new Promise(_0x48ec4f=>{const _0x5edb46=_0x2538e0;_0x4c4bdd[_0x5edb46(0x18d)]?_0x4c4bdd[_0x5edb46(0x187)](_0x5edb46(0x130),()=>{const _0x2c9a01=_0x5edb46;_0x48ec4f(this[_0x2c9a01(0x12b)]());}):_0x48ec4f(this[_0x5edb46(0x12b)]());});}[_0x229557(0x143)](_0x1587b1,_0x1a10a6){const _0x773847=_0x229557,_0x2f1356=this[_0x773847(0x168)][_0x773847(0x164)];this[_0x773847(0x16f)]=_0x1a10a6;for(const _0x57f98e of _0x1587b1){const _0x4d65e1=_0x2f1356[_0x773847(0x14d)](_0x57f98e['id']);if(_0x4d65e1){if((_0x57f98e[_0x773847(0x178)]||_0x57f98e[_0x773847(0x11f)])&&(_0x57f98e[_0x773847(0x123)]=null),_0x4d65e1===this[_0x773847(0x168)][_0x773847(0x16c)]){const _0x5c2976=Math[_0x773847(0x15d)](_0x4d65e1[_0x773847(0x11f)],_0x57f98e[_0x773847(0x11f)]),_0x473bd5=Math[_0x773847(0x15d)](_0x4d65e1[_0x773847(0x178)],_0x57f98e[_0x773847(0x178)]);let _0x27c09c;_0x4d65e1[_0x773847(0x11f)]===_0x57f98e[_0x773847(0x11f)]&&_0x4d65e1[_0x773847(0x178)]===_0x57f98e[_0x773847(0x178)]?(_0x27c09c=!0x0,this[_0x773847(0x136)](_0x57f98e)):_0x57f98e[_0x773847(0x11f)]===_0x5c2976&&_0x57f98e[_0x773847(0x178)]===_0x473bd5?_0x27c09c=!0x1:(_0x4d65e1[_0x773847(0x11f)]===_0x5c2976&&_0x4d65e1[_0x773847(0x178)]===_0x473bd5||this[_0x773847(0x13e)]({'revision':_0x4d65e1,'from':_0x473bd5,'to':_0x5c2976}),_0x27c09c=!0x0),_0x27c09c&&(delete _0x57f98e[_0x773847(0x178)],delete _0x57f98e[_0x773847(0x11f)],delete _0x57f98e[_0x773847(0x123)],delete _0x57f98e[_0x773847(0x12f)],delete _0x57f98e[_0x773847(0x14a)]);}this[_0x773847(0x168)][_0x773847(0x17a)](_0x57f98e),this[_0x773847(0x136)](_0x57f98e);}else this[_0x773847(0x168)][_0x773847(0x18c)](_0x57f98e);}const _0x61f603=_0x2f1356[_0x773847(0x176)]();_0x61f603[_0x773847(0x157)]();for(let _0x12d613=0x0;_0x12d613<_0x61f603[_0x773847(0x185)]-0x1;_0x12d613++){const _0x4973a7=_0x61f603[_0x12d613],_0x35fc54=_0x61f603[_0x12d613+0x1];if(_0x4973a7[_0x773847(0x178)]<_0x35fc54[_0x773847(0x11f)]){const _0x5f19b4=_0x35fc54[_0x773847(0x11f)],_0x10c04b=Math[_0x773847(0x15d)](_0x5f19b4,_0x4973a7[_0x773847(0x11f)]);this[_0x773847(0x13e)]({'revision':_0x4973a7,'from':_0x5f19b4,'to':_0x10c04b});}}}[_0x229557(0x13e)]({revision:_0xf8a238,from:_0x3b51b4,to:_0x3b98c2}={}){const _0x580aa9=_0x229557,_0x3655a2=this[_0x580aa9(0x184)][_0x580aa9(0x147)][_0x580aa9(0x14c)](_0x1572e6),_0x4fbb54=this[_0x580aa9(0x168)][_0x580aa9(0x182)]({'revision':_0xf8a238,'from':_0x3b51b4,'to':_0x3b98c2});_0x4fbb54[_0x580aa9(0x13a)]=_0x4fbb54[_0x580aa9(0x14a)][_0x580aa9(0x192)](_0x2a2cd9=>_0x3655a2[_0x580aa9(0x129)](_0x2a2cd9)),_0xf8a238[_0x580aa9(0x160)](_0x4fbb54);}[_0x229557(0x136)](_0x2f8ce7){const _0x12eddc=_0x229557,_0x3143c9={};_0x3143c9['id']=_0x2f8ce7['id'];for(const _0x581911 of Object[_0x12eddc(0x179)](_0x2f8ce7))'id'!==_0x581911&&(_0x3143c9[_0x581911]=void 0x0);this[_0x12eddc(0x168)][_0x12eddc(0x133)](_0x3143c9['id'],_0x3143c9,!0x0);}async[_0x229557(0x121)](_0x1f0a40){const _0x540c96=_0x229557,_0x5ec3ce=this[_0x540c96(0x184)][_0x540c96(0x147)][_0x540c96(0x14c)](_0x1572e6),{connection:_0x21816d}=this[_0x540c96(0x184)][_0x540c96(0x147)][_0x540c96(0x14c)](_0x3ba156),_0xfb9aa4=new Set();for(const _0x305365 of _0x1f0a40){for(const _0x52b4a7 of _0x305365[_0x540c96(0x14a)])_0x22da62(_0x52b4a7);_0x305365[_0x540c96(0x17e)]&&_0x22da62(_0x305365[_0x540c96(0x17e)]);}if(0x0===_0xfb9aa4[_0x540c96(0x148)])return;const _0x326d84=await _0x3f4fad[_0x540c96(0x13b)](_0x21816d,Array[_0x540c96(0x156)](_0xfb9aa4));for(const _0x51df66 of _0x326d84)_0x5ec3ce[_0x540c96(0x129)](_0x51df66['id'])||_0x5ec3ce[_0x540c96(0x144)](_0x51df66);function _0x22da62(_0x205339){const _0x5a0bcb=_0x540c96;_0x5ec3ce[_0x5a0bcb(0x129)](_0x205339)||_0xfb9aa4[_0x5a0bcb(0x17b)](_0x205339);}}}function _0x371b(){const _0x57dfc1=['_isPendingUpdate','connection','42Cxuaym','_handleReconnectionError','wrongRequestId','map','toVersion','isBundleUploaded','_fetchMissingUsers','110131wPFeDe','diffData','listenTo','reconnect','6969250UqJaRK','addToReconnectionStack','data','getUser','_revisionHistoryService','_getLatestVersionFromServerOperations','then','102PkOcWw','CloudServicesRevisionHistoryAdapter','createdAt','change:_isPendingUpdate','setSource','764875vriAyX','_bufferUpdate','config','remove','_preventResendingRevisionData','isEmptyCurrent','change:_isConnected','_waitForServiceReady','authors','getMany','_createCurrentRevision','400','_fixRevision','RevisionHistory','marker','84wCEWCy','connected','_handleRevisionsUpdate','addUser','adapter','sendBufferedUpdates','plugins','size','state','authorsIds','RevisionHistoryService','get','getRevision','_revisionDataBuilder','pluginName','type','_bufferedUpdates','collaboration.channelId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','getOperations','RevisionTracker','from','reverse','_offset','CONNECTED','startsWith','code','off','max','revisionsUpdated','affectsData','_update','isEnabled','destroy','updateRevisions','repository','_isConnected','1265328PShqfH','isOfficialPlugin','_revisionTracker','has','catch','cloudServices.bundleVersion','currentRevision','cloud-services-internal-error:\x20Not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','_lastRequestId','922984WalGvd','message','_revisions','isConnected','27900iAHyFT','_oldOffset','getRevisions','requires','fromVersion','keys','setRevisionData','add','bind','connect','creatorId','_startingVersion','sessionId','init','buildRevisionData','_getLatestVersion','editor','length','baseVersion','once','reInit','serverHistory','isPremiumPlugin','13223oVxasS','addRevisionData'];_0x371b=function(){return _0x57dfc1;};return _0x371b();}export{c as CloudServicesRevisionHistoryAdapter};function M(_0x3653f3){const _0x3f4b90=_0x229557;return _0x3653f3[_0x3f4b90(0x171)][_0x3f4b90(0x15a)](_0x3f4b90(0x153))||_0x3653f3[_0x3f4b90(0x171)][_0x3f4b90(0x15a)](_0x3f4b90(0x16d))||_0x3653f3[_0x3f4b90(0x171)][_0x3f4b90(0x15a)](_0x3f4b90(0x16e));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x313b(){const _0x18b1d9=['editor','state','set','message','add','pluginName','data','requires','attributes','reconnect','open','isPremiumPlugin','150GJlDhg','CloudServicesTrackChangesAdapter','originalSuggestionId','TrackChangesEditing','init','12228rcXkEM','catch','then','29609866MfAhoB','find','isConnected','hasSuggestion','6UiMLZx','addToReconnectionStack','911574SfBAfI','getSuggestion','size','collaboration.channelId','adapter','listenTo','connection','isOfficialPlugin','connected','getUser','addUser','_fetchMissingUsersForThreads','7QWKSvN','off','config','_waitForServiceReady','connect','values','_bufferedRequests','TrackChangesService','delete','833575carekT','_trackChangesService','addSuggestionData','plugins','suggestionUpdated','cloud-services-internal-error:\x20Request\x20timeout.','type','cloud-services-internal-error:\x20Not\x20connected.','from','809272OaAPla','_saved','351171CxvYSh','248097MjLTvO','get','getMany','744CYnAhd','update','startsWith'];_0x313b=function(){return _0x18b1d9;};return _0x313b();}const _0x2d5c5d=_0x2255;(function(_0xc75ad1,_0x511dd1){const _0xd235af=_0x2255,_0x1f0942=_0xc75ad1();while(!![]){try{const _0x1e468d=parseInt(_0xd235af(0x1b5))/0x1*(-parseInt(_0xd235af(0x1d3))/0x2)+-parseInt(_0xd235af(0x1cc))/0x3*(parseInt(_0xd235af(0x1b8))/0x4)+parseInt(_0xd235af(0x1a9))/0x5+-parseInt(_0xd235af(0x1d5))/0x6+-parseInt(_0xd235af(0x1a0))/0x7*(parseInt(_0xd235af(0x1b2))/0x8)+parseInt(_0xd235af(0x1b4))/0x9*(-parseInt(_0xd235af(0x1c7))/0xa)+parseInt(_0xd235af(0x1cf))/0xb;if(_0x1e468d===_0x511dd1)break;else _0x1f0942['push'](_0x1f0942['shift']());}catch(_0x549b2f){_0x1f0942['push'](_0x1f0942['shift']());}}}(_0x313b,0x7e659));function _0x2255(_0x2c3249,_0x1fc619){const _0x313b3e=_0x313b();return _0x2255=function(_0x225591,_0x2ccb7a){_0x225591=_0x225591-0x19b;let _0xdf8214=_0x313b3e[_0x225591];return _0xdf8214;},_0x2255(_0x2c3249,_0x1fc619);}import{Plugin as _0x56d77d}from'ckeditor5/src/core.js';import{User as _0xc93293,TrackChangesService as _0x1c6294}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x563e06}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x158c9e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x39a25a}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x56d77d{static [_0x2d5c5d(0x1a7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1c6294)());[_0x2d5c5d(0x1a6)];[_0x2d5c5d(0x1aa)];static get[_0x2d5c5d(0x1c2)](){const _0x311c3d=_0x2d5c5d;return[_0x158c9e,_0x311c3d(0x1ca),_0x563e06];}static get[_0x2d5c5d(0x1c0)](){const _0x17f8ae=_0x2d5c5d;return _0x17f8ae(0x1c8);}static get[_0x2d5c5d(0x19b)](){return!0x0;}static get[_0x2d5c5d(0x1c6)](){return!0x0;}constructor(_0x5a609a){const _0x433d06=_0x2d5c5d;super(_0x5a609a);const _0xab68c1=this[_0x433d06(0x1bb)][_0x433d06(0x1a2)][_0x433d06(0x1b6)](_0x433d06(0x1d8));this[_0x433d06(0x1a6)]=new Map(),this[_0x433d06(0x1aa)]=new m[(_0x433d06(0x1a7))](_0xab68c1);}[_0x2d5c5d(0x1cb)](){const _0x135f36=_0x2d5c5d,_0xdb8bc5=this[_0x135f36(0x1bb)][_0x135f36(0x1ac)][_0x135f36(0x1b6)](_0x563e06),_0x5b86be=this[_0x135f36(0x1bb)][_0x135f36(0x1ac)][_0x135f36(0x1b6)](_0x135f36(0x1ca));return _0x5b86be[_0x135f36(0x1d9)]={'getSuggestion':async _0x435b80=>{const _0x527a4b=_0x135f36;await this[_0x527a4b(0x1a3)]();const _0x18b32b=await this[_0x527a4b(0x1aa)][_0x527a4b(0x1b6)](_0x435b80)[_0x527a4b(0x1cd)](A);return await this[_0x527a4b(0x19f)]([_0x18b32b]),_0x18b32b;},'addSuggestion':async({id:_0x4f4e4d,type:_0x406cdf,data:_0x21a6e6,originalSuggestionId:_0x2a3499,attributes:_0xa85048})=>{const _0x169284=_0x135f36;await this[_0x169284(0x1a3)]();const _0x32ac37={'id':_0x4f4e4d,'type':_0x406cdf,'data':_0x21a6e6,'originalSuggestionId':_0x2a3499,'attributes':_0xa85048},_0x89d547=await this[_0x169284(0x1aa)][_0x169284(0x1bf)](_0x4f4e4d,_0x406cdf,_0x21a6e6,_0x2a3499,_0xa85048)[_0x169284(0x1cd)](_0x44cb14=>{if(M(_0x44cb14))return new Promise(_0x540a3d=>{const _0x56131a=_0x2255;this[_0x56131a(0x1a6)][_0x56131a(0x1bd)](_0x4f4e4d,{'resolve':_0x540a3d,'suggestionData':_0x32ac37});});throw _0x44cb14;});return this[_0x169284(0x1a6)][_0x169284(0x1a8)](_0x4f4e4d),_0x89d547;},'updateSuggestion':async(_0x4685ba,_0xcb4e79)=>{const _0x1c9d79=_0x135f36;if(await this[_0x1c9d79(0x1a3)](),_0x1c9d79(0x1c5)!==_0xcb4e79[_0x1c9d79(0x1bc)])return this[_0x1c9d79(0x1aa)][_0x1c9d79(0x1b9)](_0x4685ba,_0xcb4e79)[_0x1c9d79(0x1cd)](A);}},this[_0x135f36(0x1da)](this[_0x135f36(0x1aa)],_0x135f36(0x1ad),(_0x153db7,_0xb53318)=>{const _0x5bdedf=_0x135f36;_0x5b86be[_0x5bdedf(0x1d2)](_0xb53318['id'])&&(_0x5b86be[_0x5bdedf(0x1d6)](_0xb53318['id'])[_0x5bdedf(0x1c3)]=_0xb53318[_0x5bdedf(0x1c3)]);}),this[_0x135f36(0x1aa)][_0x135f36(0x1a4)](_0xdb8bc5[_0x135f36(0x1db)])[_0x135f36(0x1ce)](_0x49b448=>(_0xdb8bc5[_0x135f36(0x1d4)](this),this[_0x135f36(0x19f)](_0x49b448)[_0x135f36(0x1ce)](()=>{const _0x134ea7=_0x135f36;for(const _0x4b7298 of _0x49b448){_0x5b86be[_0x134ea7(0x1ab)](_0x4b7298)[_0x134ea7(0x1b3)]=!0x0;}})));}async[_0x2d5c5d(0x1c4)](){const _0xef8b0e=_0x2d5c5d,_0x1bd921=this[_0xef8b0e(0x1bb)][_0xef8b0e(0x1ac)][_0xef8b0e(0x1b6)](_0xef8b0e(0x1ca)),{connection:_0x337c71}=this[_0xef8b0e(0x1bb)][_0xef8b0e(0x1ac)][_0xef8b0e(0x1b6)](_0x563e06),_0x1def87=await this[_0xef8b0e(0x1aa)][_0xef8b0e(0x1a4)](_0x337c71);await this[_0xef8b0e(0x19f)](_0x1def87);for(const {suggestionData:_0x1f2d79,resolve:_0x409fdf}of this[_0xef8b0e(0x1a6)][_0xef8b0e(0x1a5)]()){let _0x564436=_0x1def87[_0xef8b0e(0x1d0)](_0x17bf1a=>_0x17bf1a['id']===_0x1f2d79['id']);_0x564436||(_0x564436=await this[_0xef8b0e(0x1aa)][_0xef8b0e(0x1bf)](_0x1f2d79['id'],_0x1f2d79[_0xef8b0e(0x1af)],_0x1f2d79[_0xef8b0e(0x1c1)],_0x1f2d79[_0xef8b0e(0x1c9)])),_0x409fdf(_0x564436);}for(const _0x5ab029 of _0x1def87)_0x1bd921[_0xef8b0e(0x1d2)](_0x5ab029['id'])||_0x1bd921[_0xef8b0e(0x1ab)](_0x5ab029);}async[_0x2d5c5d(0x1a3)](){const _0x31cbfe=_0x2d5c5d;this[_0x31cbfe(0x1aa)][_0x31cbfe(0x1d1)]||await new Promise(_0x2948b1=>{const _0x298548=_0x31cbfe;this[_0x298548(0x1da)](this[_0x298548(0x1aa)],_0x298548(0x19c),_0x413aa9=>{const _0x42999d=_0x298548;_0x413aa9[_0x42999d(0x1a1)](),_0x2948b1();});});}async[_0x2d5c5d(0x19f)](_0xef3e78){const _0x5d665d=_0x2d5c5d,_0x223718=this[_0x5d665d(0x1bb)][_0x5d665d(0x1ac)][_0x5d665d(0x1b6)](_0x39a25a),{connection:_0x1c6b05}=this[_0x5d665d(0x1bb)][_0x5d665d(0x1ac)][_0x5d665d(0x1b6)](_0x563e06),_0xa5930b=new Set();for(const {authorId:_0x18dec6}of _0xef3e78)_0x223718[_0x5d665d(0x19d)](_0x18dec6)||_0xa5930b[_0x5d665d(0x1bf)](_0x18dec6);if(0x0===_0xa5930b[_0x5d665d(0x1d7)])return;const _0xeb78ac=await _0xc93293[_0x5d665d(0x1b7)](_0x1c6b05,Array[_0x5d665d(0x1b1)](_0xa5930b));for(const _0x4c590e of _0xeb78ac)_0x223718[_0x5d665d(0x19d)](_0x4c590e['id'])||_0x223718[_0x5d665d(0x19e)](_0x4c590e);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x437577){if(M(_0x437577))return new Promise(()=>{});throw _0x437577;}function M(_0x391a3c){const _0x2fa9de=_0x2d5c5d;return _0x391a3c[_0x2fa9de(0x1be)][_0x2fa9de(0x1ba)](_0x2fa9de(0x1b0))||_0x391a3c[_0x2fa9de(0x1be)][_0x2fa9de(0x1ba)](_0x2fa9de(0x1ae));}
|