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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26ae82=_0x5a64;function _0x2ab4(){const _0x26540e=['user','_users','remove','getUserBySessionId','_createUser','isPremiumPlugin','connection','size','register','defineMe','9233kdmfZB','sessions-unregister-not-exist','3143992yPPXhz','getUserSessions','_handleSessionRemove','_registeredSessions','add','channelConnectedUsers','Sessions','_uniqueUsersCount','9GigPaW','sessionId','has','mySessionId','sessions-register-already-registered','get','unregister','3151072TnkEXi','getUser','channelSessions','assign','pluginName','isOfficialPlugin','requires','sessionAdd:','forEach','isMe','state','change:state','clear','addUser','plugins','2742zDvgtA','connected','listenTo','stopListening','14611410VUocee','values','allConnectedUsers','init','delete','621582XrCwea','185739GnfjYL','orderNumber','26GFPDwr','getUserRole','context','fire','_handleSessionAdd','hiddenInPresenceList','role','1490425PXtHxz','set'];_0x2ab4=function(){return _0x26540e;};return _0x2ab4();}(function(_0xe11518,_0x3174b1){const _0x5a5759=_0x5a64,_0x57a1cf=_0xe11518();while(!![]){try{const _0x1c7c5e=parseInt(_0x5a5759(0x12e))/0x1+parseInt(_0x5a5759(0x131))/0x2*(parseInt(_0x5a5759(0x12f))/0x3)+-parseInt(_0x5a5759(0x155))/0x4+parseInt(_0x5a5759(0x138))/0x5+-parseInt(_0x5a5759(0x164))/0x6*(-parseInt(_0x5a5759(0x144))/0x7)+parseInt(_0x5a5759(0x146))/0x8+-parseInt(_0x5a5759(0x14e))/0x9*(parseInt(_0x5a5759(0x129))/0xa);if(_0x1c7c5e===_0x3174b1)break;else _0x57a1cf['push'](_0x57a1cf['shift']());}catch(_0x27c675){_0x57a1cf['push'](_0x57a1cf['shift']());}}}(_0x2ab4,0x73171));import{ContextPlugin as _0x397c45}from'ckeditor5/src/core.js';import{Collection as _0x2599eb,CKEditorError as _0x3c3f73}from'ckeditor5/src/utils.js';function _0x5a64(_0x3bd090,_0x17dff2){const _0x2ab4df=_0x2ab4();return _0x5a64=function(_0x5a6400,_0x93f2e9){_0x5a6400=_0x5a6400-0x127;let _0x138b07=_0x2ab4df[_0x5a6400];return _0x138b07;},_0x5a64(_0x3bd090,_0x17dff2);}import{WebSocketGateway as _0x5aad5b}from'./websocketgateway.js';import{Users as _0xd1470e}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x397c45{[_0x26ae82(0x157)];[_0x26ae82(0x14b)];[_0x26ae82(0x12b)];[_0x26ae82(0x149)];[_0x26ae82(0x14d)];[_0x26ae82(0x13b)];static get[_0x26ae82(0x159)](){const _0x171a7f=_0x26ae82;return _0x171a7f(0x14c);}static get[_0x26ae82(0x15a)](){return!0x0;}static get[_0x26ae82(0x13f)](){return!0x0;}static get[_0x26ae82(0x15b)](){return[_0x5aad5b,_0xd1470e];}constructor(_0x41a051){const _0x1b3ade=_0x26ae82;super(_0x41a051),this[_0x1b3ade(0x157)]=new Map(),this[_0x1b3ade(0x14b)]=new Map(),this[_0x1b3ade(0x12b)]=new _0x2599eb(),this[_0x1b3ade(0x149)]=new Map(),this[_0x1b3ade(0x14d)]=0x0,this[_0x1b3ade(0x13b)]=this[_0x1b3ade(0x133)][_0x1b3ade(0x163)][_0x1b3ade(0x153)](_0xd1470e);}[_0x26ae82(0x12c)](){const _0x59eb0e=_0x26ae82,_0x5922be=this[_0x59eb0e(0x133)][_0x59eb0e(0x163)][_0x59eb0e(0x153)](_0x5aad5b);this[_0x59eb0e(0x127)](_0x5922be,_0x59eb0e(0x160),(_0x131f3d,_0x5c66f9,_0x2e938d)=>{const _0x1f9b16=_0x59eb0e;if(_0x1f9b16(0x165)!==_0x2e938d)this[_0x1f9b16(0x157)][_0x1f9b16(0x15d)](_0x14ba2c=>_0x14ba2c[_0x1f9b16(0x161)]()),this[_0x1f9b16(0x14b)][_0x1f9b16(0x15d)](_0x2d1279=>_0x2d1279[_0x1f9b16(0x161)]()),this[_0x1f9b16(0x12b)][_0x1f9b16(0x161)]();else{for(const [_0x508f45,_0x327166]of this[_0x1f9b16(0x149)])for(const _0x51aaeb of _0x327166)this[_0x1f9b16(0x135)](_0x508f45,_0x51aaeb);}}),this[_0x59eb0e(0x13e)](_0x5922be[_0x59eb0e(0x140)]['me'],!0x0);}[_0x26ae82(0x142)](_0x5d1753,_0x29e385){const _0x8f89a4=_0x26ae82;if(this[_0x8f89a4(0x149)][_0x8f89a4(0x150)](_0x5d1753))throw new _0x3c3f73(_0x8f89a4(0x152),null,{'channelId':_0x5d1753});this[_0x8f89a4(0x149)][_0x8f89a4(0x139)](_0x5d1753,_0x29e385),this[_0x8f89a4(0x157)][_0x8f89a4(0x139)](_0x5d1753,new _0x2599eb()),this[_0x8f89a4(0x14b)][_0x8f89a4(0x139)](_0x5d1753,new _0x2599eb()),this[_0x8f89a4(0x127)](_0x29e385,_0x8f89a4(0x14a),(_0x4daf66,_0x30bbb9)=>this[_0x8f89a4(0x135)](_0x5d1753,_0x30bbb9)),this[_0x8f89a4(0x127)](_0x29e385,_0x8f89a4(0x13c),(_0x4d46f5,_0x1e9d01)=>this[_0x8f89a4(0x148)](_0x5d1753,_0x1e9d01));for(const _0x4666e5 of _0x29e385)this[_0x8f89a4(0x135)](_0x5d1753,_0x4666e5);}[_0x26ae82(0x154)](_0x21ca93){const _0x2fe088=_0x26ae82;if(!this[_0x2fe088(0x149)][_0x2fe088(0x150)](_0x21ca93))throw new _0x3c3f73(_0x2fe088(0x145),null,{'channelId':_0x21ca93});const _0x3af432=this[_0x2fe088(0x149)][_0x2fe088(0x153)](_0x21ca93);this[_0x2fe088(0x128)](_0x3af432);for(const _0x4320b4 of _0x3af432)_0x2fe088(0x165)===this[_0x2fe088(0x133)][_0x2fe088(0x163)][_0x2fe088(0x153)](_0x5aad5b)[_0x2fe088(0x15f)]&&this[_0x2fe088(0x148)](_0x21ca93,_0x4320b4);this[_0x2fe088(0x149)][_0x2fe088(0x12d)](_0x21ca93),this[_0x2fe088(0x157)][_0x2fe088(0x12d)](_0x21ca93),this[_0x2fe088(0x14b)][_0x2fe088(0x12d)](_0x21ca93);}get[_0x26ae82(0x151)](){const _0x102dd9=_0x26ae82;return this[_0x102dd9(0x133)][_0x102dd9(0x163)][_0x102dd9(0x153)](_0x5aad5b)[_0x102dd9(0x140)][_0x102dd9(0x14f)];}[_0x26ae82(0x13d)](_0x57e91b){const _0x4f2fd8=_0x26ae82;for(const _0x5e1729 of this[_0x4f2fd8(0x157)][_0x4f2fd8(0x12a)]())for(const _0x3275e3 of _0x5e1729)if(_0x3275e3['id']===_0x57e91b)return _0x3275e3[_0x4f2fd8(0x13a)];}[_0x26ae82(0x147)](_0x46867f,_0x206f2e){const _0x53e574=_0x26ae82,_0x10b69f=_0x206f2e?[this[_0x53e574(0x157)][_0x53e574(0x153)](_0x206f2e)]:this[_0x53e574(0x157)][_0x53e574(0x12a)](),_0x27f38d=new Set();for(const _0x5755b4 of _0x10b69f)for(const _0x4bc497 of _0x5755b4)_0x4bc497[_0x53e574(0x13a)]['id']===_0x46867f['id']&&_0x27f38d[_0x53e574(0x14a)](_0x4bc497['id']);return _0x27f38d;}[_0x26ae82(0x132)](_0x43df6e){const _0x23e93b=_0x26ae82;for(const _0x2d78d3 of this[_0x23e93b(0x157)][_0x23e93b(0x12a)]())for(const _0x14b3ea of _0x2d78d3)if(_0x14b3ea[_0x23e93b(0x13a)]===_0x43df6e)return _0x14b3ea[_0x23e93b(0x137)];}[_0x26ae82(0x135)](_0x3a45ea,_0x46257f){const _0xce6eb3=_0x26ae82;if(_0xce6eb3(0x165)!==this[_0xce6eb3(0x133)][_0xce6eb3(0x163)][_0xce6eb3(0x153)](_0x5aad5b)[_0xce6eb3(0x15f)])return;const _0x4ba6f2=_0x46257f[_0xce6eb3(0x13a)],_0x419903=this[_0xce6eb3(0x13b)][_0xce6eb3(0x156)](_0x4ba6f2['id'])||this[_0xce6eb3(0x13e)](_0x4ba6f2),_0x9f4e9c=Object[_0xce6eb3(0x158)]({},_0x46257f,{'user':_0x419903});if(this[_0xce6eb3(0x157)][_0xce6eb3(0x153)](_0x3a45ea)[_0xce6eb3(0x14a)](_0x9f4e9c),!_0x4ba6f2[_0xce6eb3(0x136)]){const _0x21b9a3=this[_0xce6eb3(0x14b)][_0xce6eb3(0x153)](_0x3a45ea);_0x21b9a3[_0xce6eb3(0x150)](_0x419903['id'])||_0x21b9a3[_0xce6eb3(0x14a)](_0x419903),this[_0xce6eb3(0x12b)][_0xce6eb3(0x150)](_0x419903['id'])||_0x4ba6f2[_0xce6eb3(0x136)]||this[_0xce6eb3(0x12b)][_0xce6eb3(0x14a)](_0x419903,_0x419903[_0xce6eb3(0x15e)]?0x0:void 0x0);}this[_0xce6eb3(0x134)](_0xce6eb3(0x15c)+_0x3a45ea,{'channelId':_0x3a45ea,'session':_0x9f4e9c});}[_0x26ae82(0x148)](_0x1ec854,_0x3955a4){const _0x3a3dbc=_0x26ae82;if(_0x3a3dbc(0x165)!==this[_0x3a3dbc(0x133)][_0x3a3dbc(0x163)][_0x3a3dbc(0x153)](_0x5aad5b)[_0x3a3dbc(0x15f)])return;const _0x330ceb=this[_0x3a3dbc(0x14b)][_0x3a3dbc(0x153)](_0x1ec854),_0x5a7547=_0x3955a4[_0x3a3dbc(0x13a)];_0x5a7547['id']&&(this[_0x3a3dbc(0x157)][_0x3a3dbc(0x153)](_0x1ec854)[_0x3a3dbc(0x13c)](_0x3955a4['id']),_0x330ceb[_0x3a3dbc(0x150)](_0x5a7547['id'])&&!this[_0x3a3dbc(0x147)](_0x5a7547,_0x1ec854)[_0x3a3dbc(0x141)]&&_0x330ceb[_0x3a3dbc(0x13c)](_0x5a7547['id']),this[_0x3a3dbc(0x12b)][_0x3a3dbc(0x153)](_0x5a7547['id'])&&!this[_0x3a3dbc(0x147)](_0x5a7547)[_0x3a3dbc(0x141)]&&this[_0x3a3dbc(0x12b)][_0x3a3dbc(0x13c)](_0x5a7547['id']));}[_0x26ae82(0x13e)](_0x5258eb,_0x368aba){const _0x191a56=_0x26ae82,_0x3c0d93=this[_0x191a56(0x13b)][_0x191a56(0x162)](_0x5258eb);return _0x368aba&&this[_0x191a56(0x13b)][_0x191a56(0x143)](_0x5258eb['id']),_0x3c0d93[_0x191a56(0x130)]=this[_0x191a56(0x14d)]++,_0x3c0d93;}}
23
+ const _0x1dfd64=_0x577e;(function(_0x529360,_0x3df802){const _0x27e6dc=_0x577e,_0x5a9eab=_0x529360();while(!![]){try{const _0x49bf9a=parseInt(_0x27e6dc(0x128))/0x1*(parseInt(_0x27e6dc(0x144))/0x2)+-parseInt(_0x27e6dc(0x150))/0x3+-parseInt(_0x27e6dc(0x14a))/0x4*(parseInt(_0x27e6dc(0x13d))/0x5)+-parseInt(_0x27e6dc(0x142))/0x6*(parseInt(_0x27e6dc(0x14f))/0x7)+parseInt(_0x27e6dc(0x134))/0x8*(parseInt(_0x27e6dc(0x15b))/0x9)+parseInt(_0x27e6dc(0x155))/0xa+parseInt(_0x27e6dc(0x141))/0xb*(parseInt(_0x27e6dc(0x139))/0xc);if(_0x49bf9a===_0x3df802)break;else _0x5a9eab['push'](_0x5a9eab['shift']());}catch(_0x186f42){_0x5a9eab['push'](_0x5a9eab['shift']());}}}(_0x5d17,0x4b399));import{ContextPlugin as _0x3c7fe7}from'ckeditor5/src/core.js';import{Collection as _0x221599,CKEditorError as _0xe0839e}from'ckeditor5/src/utils.js';function _0x577e(_0x5789ff,_0x2efbce){const _0x5d174c=_0x5d17();return _0x577e=function(_0x577e83,_0x27b53c){_0x577e83=_0x577e83-0x122;let _0x26db98=_0x5d174c[_0x577e83];return _0x26db98;},_0x577e(_0x5789ff,_0x2efbce);}import{WebSocketGateway as _0x43a7aa}from'./websocketgateway.js';import{Users as _0x235893}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3c7fe7{[_0x1dfd64(0x13a)];[_0x1dfd64(0x14d)];[_0x1dfd64(0x15d)];[_0x1dfd64(0x12d)];[_0x1dfd64(0x14e)];[_0x1dfd64(0x152)];static get[_0x1dfd64(0x12a)](){const _0x54d85a=_0x1dfd64;return _0x54d85a(0x129);}static get[_0x1dfd64(0x162)](){return!0x0;}static get[_0x1dfd64(0x13e)](){return!0x0;}static get[_0x1dfd64(0x145)](){return[_0x43a7aa,_0x235893];}constructor(_0x3c1f80){const _0x58c5f2=_0x1dfd64;super(_0x3c1f80),this[_0x58c5f2(0x13a)]=new Map(),this[_0x58c5f2(0x14d)]=new Map(),this[_0x58c5f2(0x15d)]=new _0x221599(),this[_0x58c5f2(0x12d)]=new Map(),this[_0x58c5f2(0x14e)]=0x0,this[_0x58c5f2(0x152)]=this[_0x58c5f2(0x12c)][_0x58c5f2(0x14c)][_0x58c5f2(0x137)](_0x235893);}[_0x1dfd64(0x147)](){const _0x2f0c99=_0x1dfd64,_0x1f8ccd=this[_0x2f0c99(0x12c)][_0x2f0c99(0x14c)][_0x2f0c99(0x137)](_0x43a7aa);this[_0x2f0c99(0x122)](_0x1f8ccd,_0x2f0c99(0x136),(_0x24d3f0,_0x27837a,_0x1a64f1)=>{const _0x4a6f40=_0x2f0c99;if(_0x4a6f40(0x157)!==_0x1a64f1)this[_0x4a6f40(0x13a)][_0x4a6f40(0x149)](_0x1df177=>_0x1df177[_0x4a6f40(0x127)]()),this[_0x4a6f40(0x14d)][_0x4a6f40(0x149)](_0x1063d0=>_0x1063d0[_0x4a6f40(0x127)]()),this[_0x4a6f40(0x15d)][_0x4a6f40(0x127)]();else{for(const [_0x24ed37,_0x5b803e]of this[_0x4a6f40(0x12d)])for(const _0x589895 of _0x5b803e)this[_0x4a6f40(0x159)](_0x24ed37,_0x589895);}}),this[_0x2f0c99(0x146)](_0x1f8ccd[_0x2f0c99(0x153)]['me'],!0x0);}[_0x1dfd64(0x161)](_0x55cae5,_0x336947){const _0x22cf2c=_0x1dfd64;if(this[_0x22cf2c(0x12d)][_0x22cf2c(0x12b)](_0x55cae5))throw new _0xe0839e(_0x22cf2c(0x15e),null,{'channelId':_0x55cae5});this[_0x22cf2c(0x12d)][_0x22cf2c(0x130)](_0x55cae5,_0x336947),this[_0x22cf2c(0x13a)][_0x22cf2c(0x130)](_0x55cae5,new _0x221599()),this[_0x22cf2c(0x14d)][_0x22cf2c(0x130)](_0x55cae5,new _0x221599()),this[_0x22cf2c(0x122)](_0x336947,_0x22cf2c(0x160),(_0x2abb50,_0x2231bd)=>this[_0x22cf2c(0x159)](_0x55cae5,_0x2231bd)),this[_0x22cf2c(0x122)](_0x336947,_0x22cf2c(0x13f),(_0x4d287b,_0x5577c1)=>this[_0x22cf2c(0x15c)](_0x55cae5,_0x5577c1));for(const _0x4e3130 of _0x336947)this[_0x22cf2c(0x159)](_0x55cae5,_0x4e3130);}[_0x1dfd64(0x124)](_0xe50ba1){const _0x353f1e=_0x1dfd64;if(!this[_0x353f1e(0x12d)][_0x353f1e(0x12b)](_0xe50ba1))throw new _0xe0839e(_0x353f1e(0x151),null,{'channelId':_0xe50ba1});const _0x3923ef=this[_0x353f1e(0x12d)][_0x353f1e(0x137)](_0xe50ba1);this[_0x353f1e(0x154)](_0x3923ef);for(const _0x22dc88 of _0x3923ef)_0x353f1e(0x157)===this[_0x353f1e(0x12c)][_0x353f1e(0x14c)][_0x353f1e(0x137)](_0x43a7aa)[_0x353f1e(0x12e)]&&this[_0x353f1e(0x15c)](_0xe50ba1,_0x22dc88);this[_0x353f1e(0x12d)][_0x353f1e(0x12f)](_0xe50ba1),this[_0x353f1e(0x13a)][_0x353f1e(0x12f)](_0xe50ba1),this[_0x353f1e(0x14d)][_0x353f1e(0x12f)](_0xe50ba1);}get[_0x1dfd64(0x133)](){const _0x7803bf=_0x1dfd64;return this[_0x7803bf(0x12c)][_0x7803bf(0x14c)][_0x7803bf(0x137)](_0x43a7aa)[_0x7803bf(0x153)][_0x7803bf(0x123)];}[_0x1dfd64(0x131)](_0x47e383){const _0x13f46c=_0x1dfd64;for(const _0x19bd0a of this[_0x13f46c(0x13a)][_0x13f46c(0x143)]())for(const _0x2553dc of _0x19bd0a)if(_0x2553dc['id']===_0x47e383)return _0x2553dc[_0x13f46c(0x15f)];}[_0x1dfd64(0x125)](_0xb07a0c,_0x41af36){const _0x6137f6=_0x1dfd64,_0x31fb92=_0x41af36?[this[_0x6137f6(0x13a)][_0x6137f6(0x137)](_0x41af36)]:this[_0x6137f6(0x13a)][_0x6137f6(0x143)](),_0x2919ef=new Set();for(const _0x4d6c8f of _0x31fb92)for(const _0x39cbc3 of _0x4d6c8f)_0x39cbc3[_0x6137f6(0x15f)]['id']===_0xb07a0c['id']&&_0x2919ef[_0x6137f6(0x160)](_0x39cbc3['id']);return _0x2919ef;}[_0x1dfd64(0x140)](_0x380b8d){const _0x222c68=_0x1dfd64;for(const _0x450eba of this[_0x222c68(0x13a)][_0x222c68(0x143)]())for(const _0x4d3275 of _0x450eba)if(_0x4d3275[_0x222c68(0x15f)]===_0x380b8d)return _0x4d3275[_0x222c68(0x126)];}[_0x1dfd64(0x159)](_0x19fac0,_0x30c022){const _0x4a92a6=_0x1dfd64;if(_0x4a92a6(0x157)!==this[_0x4a92a6(0x12c)][_0x4a92a6(0x14c)][_0x4a92a6(0x137)](_0x43a7aa)[_0x4a92a6(0x12e)])return;const _0x2584c4=_0x30c022[_0x4a92a6(0x15f)],_0x4b4ae5=this[_0x4a92a6(0x152)][_0x4a92a6(0x13c)](_0x2584c4['id'])||this[_0x4a92a6(0x146)](_0x2584c4),_0x38dc5b=Object[_0x4a92a6(0x13b)]({},_0x30c022,{'user':_0x4b4ae5});if(this[_0x4a92a6(0x13a)][_0x4a92a6(0x137)](_0x19fac0)[_0x4a92a6(0x160)](_0x38dc5b),!_0x2584c4[_0x4a92a6(0x132)]){const _0x5c6694=this[_0x4a92a6(0x14d)][_0x4a92a6(0x137)](_0x19fac0);_0x5c6694[_0x4a92a6(0x12b)](_0x4b4ae5['id'])||_0x5c6694[_0x4a92a6(0x160)](_0x4b4ae5),this[_0x4a92a6(0x15d)][_0x4a92a6(0x12b)](_0x4b4ae5['id'])||_0x2584c4[_0x4a92a6(0x132)]||this[_0x4a92a6(0x15d)][_0x4a92a6(0x160)](_0x4b4ae5,_0x4b4ae5[_0x4a92a6(0x148)]?0x0:void 0x0);}this[_0x4a92a6(0x15a)](_0x4a92a6(0x156)+_0x19fac0,{'channelId':_0x19fac0,'session':_0x38dc5b});}[_0x1dfd64(0x15c)](_0x5b837c,_0x7e3016){const _0x2b01c1=_0x1dfd64;if(_0x2b01c1(0x157)!==this[_0x2b01c1(0x12c)][_0x2b01c1(0x14c)][_0x2b01c1(0x137)](_0x43a7aa)[_0x2b01c1(0x12e)])return;const _0x144395=this[_0x2b01c1(0x14d)][_0x2b01c1(0x137)](_0x5b837c),_0x374845=_0x7e3016[_0x2b01c1(0x15f)];_0x374845['id']&&(this[_0x2b01c1(0x13a)][_0x2b01c1(0x137)](_0x5b837c)[_0x2b01c1(0x13f)](_0x7e3016['id']),_0x144395[_0x2b01c1(0x12b)](_0x374845['id'])&&!this[_0x2b01c1(0x125)](_0x374845,_0x5b837c)[_0x2b01c1(0x158)]&&_0x144395[_0x2b01c1(0x13f)](_0x374845['id']),this[_0x2b01c1(0x15d)][_0x2b01c1(0x137)](_0x374845['id'])&&!this[_0x2b01c1(0x125)](_0x374845)[_0x2b01c1(0x158)]&&this[_0x2b01c1(0x15d)][_0x2b01c1(0x13f)](_0x374845['id']));}[_0x1dfd64(0x146)](_0x2ef7e3,_0x205513){const _0x4e6903=_0x1dfd64,_0x1646af=this[_0x4e6903(0x152)][_0x4e6903(0x14b)](_0x2ef7e3);return _0x205513&&this[_0x4e6903(0x152)][_0x4e6903(0x138)](_0x2ef7e3['id']),_0x1646af[_0x4e6903(0x135)]=this[_0x4e6903(0x14e)]++,_0x1646af;}}function _0x5d17(){const _0x2fdbb6=['sessions-register-already-registered','user','add','register','isOfficialPlugin','listenTo','sessionId','unregister','getUserSessions','role','clear','14106FGYQOc','Sessions','pluginName','has','context','_registeredSessions','state','delete','set','getUserBySessionId','hiddenInPresenceList','mySessionId','730024ratInE','orderNumber','change:state','get','defineMe','93684iCkCPn','channelSessions','assign','getUser','798725iQfJVL','isPremiumPlugin','remove','getUserRole','143XiYZYp','4326dXKlAx','values','46leJIuh','requires','_createUser','init','isMe','forEach','8qoYyiq','addUser','plugins','channelConnectedUsers','_uniqueUsersCount','98LxAbMk','1525398qjuJbD','sessions-unregister-not-exist','_users','connection','stopListening','2639770SaRESd','sessionAdd:','connected','size','_handleSessionAdd','fire','45tPhxEk','_handleSessionRemove','allConnectedUsers'];_0x5d17=function(){return _0x2fdbb6;};return _0x5d17();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9837(){const _0x507529=['user:range','batch','markerName','start','getFirstRange','tableCell','oldRange','isSimilar','editing','document','hasDomSelection','applyOperation','add','textContent','enqueueChange','isCollapsed','getStart','conversion','10fVjVoJ','addEventListener','false','147124tZTRqY','change:range','clear','classList','mouseleave','ck-user__selection','set','isLimit','7044RKZPYS','editingDowncast','user:','view','type','markers','18577pPcVZz','_createdBatches','4935708yudRrg','toDomElement','ck-user__marker_hovered','$text','user:position:','newRange','isDocumentOperation','userPositionMarker','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','UserMarkers','color','1603596XhdNBU','checkChild','element','end','change','render','getSelectionClass','500rTTQzM','markerNameToElements','isPremiumPlugin','mapper','detach','fromRange','isObject','remove','user:position','afterInit','mySessionId','listenTo','span','getAttribute','deletionPosition','size','10tzHxtp','updateMarker','keydown','orderNumber','markerRange','model','markerToElement','selection','delete','getNearestSelectionRange','nodeAfter','highest','root','user:range:','getCustomProperty','undo','toRange','_domEmitter','editor','addMarker','innerHTML','stopListening','setCustomProperty','4562261HIzSLP','createUserMarkerOperations','contenteditable','getPositions','createUIElement','has','spellcheck','requires','getRange','869491lwfWaM','reconvertMarker','marker','data-session-id','hasContent','39usuJiI','getContainedElement','init','Escape','$graveyard','startsWith','getUserBySessionId','for','removeMarker','split','outerHTML','pluginName','plugins','update:user:range','createRange','getMarkerClass','setAttribute','rootName','isInline','markerToHighlight','name','isOfficialPlugin','mouseenter','commands','parent','createElement','get','8FojGbc','schema','destroy','ck-user__marker\x20','removeClass','1852aMCSxZ'];_0x9837=function(){return _0x507529;};return _0x9837();}const _0x1338c4=_0xad16;(function(_0x219e24,_0x5f5c25){const _0x43c155=_0xad16,_0xa07d09=_0x219e24();while(!![]){try{const _0x109e0b=-parseInt(_0x43c155(0x1f5))/0x1*(parseInt(_0x43c155(0x24a))/0x2)+-parseInt(_0x43c155(0x22a))/0x3*(-parseInt(_0x43c155(0x1d2))/0x4)+parseInt(_0x43c155(0x205))/0x5*(-parseInt(_0x43c155(0x1ee))/0x6)+parseInt(_0x43c155(0x225))/0x7*(parseInt(_0x43c155(0x245))/0x8)+-parseInt(_0x43c155(0x1e2))/0x9+parseInt(_0x43c155(0x1cf))/0xa*(parseInt(_0x43c155(0x21c))/0xb)+-parseInt(_0x43c155(0x1da))/0xc*(-parseInt(_0x43c155(0x1e0))/0xd);if(_0x109e0b===_0x5f5c25)break;else _0xa07d09['push'](_0xa07d09['shift']());}catch(_0x3c59a8){_0xa07d09['push'](_0xa07d09['shift']());}}}(_0x9837,0x4baec));import{Plugin as _0x2627f2}from'ckeditor5/src/core.js';import{global as _0x591881,DomEmitterMixin as _0x2dac41}from'ckeditor5/src/utils.js';import{Sessions as _0x2177b9}from'./sessions.js';import{ModelLiveRange as _0x871040}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0xad16(_0x105c70,_0x8ad3ea){const _0x9837ce=_0x9837();return _0xad16=function(_0xad166a,_0x127bb8){_0xad166a=_0xad166a-0x1c9;let _0x3a9d71=_0x9837ce[_0xad166a];return _0x3a9d71;},_0xad16(_0x105c70,_0x8ad3ea);}export class UserMarkers extends _0x2627f2{[_0x1338c4(0x216)]=new(_0x2dac41())();static get[_0x1338c4(0x223)](){return[_0x2177b9];}static get[_0x1338c4(0x235)](){const _0x29918a=_0x1338c4;return _0x29918a(0x1ec);}static get[_0x1338c4(0x23f)](){return!0x0;}static get[_0x1338c4(0x1f7)](){return!0x0;}[_0x1338c4(0x22c)](){const _0xc8c100=_0x1338c4,_0x2ea0b7=this[_0xc8c100(0x217)],_0x113f3a=_0x2ea0b7[_0xc8c100(0x236)][_0xc8c100(0x244)](_0x2177b9);_0x2ea0b7[_0xc8c100(0x1ce)][_0xc8c100(0x231)](_0xc8c100(0x1db))[_0xc8c100(0x20b)]({'model':_0xc8c100(0x1fd),'view':(_0x2cff37,{writer:_0x182fc1})=>function(_0x5379b1,_0x481bb8,_0x248f69,_0x3e6d57){const _0x50ac1c=_0xc8c100,_0x553f80=_0x5379b1[_0x50ac1c(0x24d)][_0x50ac1c(0x233)](':')[0x2],_0x51d80b=_0x248f69[_0x50ac1c(0x230)](_0x553f80);if(!_0x51d80b||_0x553f80===_0x248f69[_0x50ac1c(0x1ff)])return;if(!_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x246)][_0x50ac1c(0x1ef)](_0x5379b1[_0x50ac1c(0x209)][_0x50ac1c(0x24e)],_0x50ac1c(0x1e5)))return;const _0x586f84={'class':_0x50ac1c(0x248)+_0x51d80b[_0x50ac1c(0x1ed)][_0x50ac1c(0x239)](),'data-name':_0x51d80b[_0x50ac1c(0x23e)],'data-session-id':_0x553f80},_0xbb435b=_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x1df)][_0x50ac1c(0x244)](_0x5379b1[_0x50ac1c(0x24d)]),_0x42ada6=_0xbb435b[_0x50ac1c(0x1cd)](),_0x1e0f92=_0x42ada6[_0x50ac1c(0x20f)],_0x3e4436=_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x246)];if(_0x1e0f92&&_0x3e4436[_0x50ac1c(0x1fb)](_0x1e0f92)&&_0x3e4436[_0x50ac1c(0x23c)](_0x1e0f92)&&!_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x1df)][_0x50ac1c(0x244)](_0x50ac1c(0x212)+_0x553f80)[_0x50ac1c(0x224)]()[_0x50ac1c(0x1cc)])return;const _0x4ebc94=_0x42ada6[_0x50ac1c(0x242)];return _0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x246)][_0x50ac1c(0x1d9)](_0x4ebc94)&&!_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x229)](_0x4ebc94)&&(_0x586f84[_0x50ac1c(0x21e)]=!0x1),function(_0x1adf7f,_0x11abfa,_0x1d05ce){const _0x3698e3=_0x50ac1c,_0x27bee2=_0x1adf7f[_0x3698e3(0x220)](_0x3698e3(0x201),_0x11abfa);return _0x1adf7f[_0x3698e3(0x21b)](_0x3698e3(0x1e9),!0x0,_0x27bee2),_0x27bee2[_0x3698e3(0x1f3)]=function(_0x4c88f4){const _0x48cb2d=_0x3698e3,_0x3aa139=this[_0x48cb2d(0x1e3)](_0x4c88f4),_0x2d26c5=document[_0x48cb2d(0x243)](_0x48cb2d(0x201));return _0x2d26c5[_0x48cb2d(0x1d5)][_0x48cb2d(0x1c9)](_0x48cb2d(0x1eb)),_0x2d26c5[_0x48cb2d(0x23a)](_0x48cb2d(0x21e),_0x48cb2d(0x1d1)),_0x2d26c5[_0x48cb2d(0x23a)](_0x48cb2d(0x222),_0x48cb2d(0x1d1)),_0x2d26c5[_0x48cb2d(0x1ca)]=_0x1d05ce[_0x48cb2d(0x23e)],_0x3aa139[_0x48cb2d(0x219)]=_0x48cb2d(0x1ea)+_0x2d26c5[_0x48cb2d(0x234)]+'⁠',_0x3aa139[_0x48cb2d(0x1d0)](_0x48cb2d(0x240),()=>{const _0x14b328=_0x48cb2d;_0x3aa139[_0x14b328(0x1d5)][_0x14b328(0x1c9)](_0x14b328(0x1e4));}),_0x3aa139[_0x48cb2d(0x1d0)](_0x48cb2d(0x1d6),()=>{const _0x4b5172=_0x48cb2d;_0x3aa139[_0x4b5172(0x1d5)][_0x4b5172(0x1fc)](_0x4b5172(0x1e4));}),_0x3aa139;},_0x27bee2[_0x3698e3(0x252)]=function(_0x2dbf6b){const _0x144505=_0x3698e3;return!(!this[_0x144505(0x213)](_0x144505(0x1e9))||!_0x2dbf6b[_0x144505(0x213)](_0x144505(0x1e9))||this[_0x144505(0x202)](_0x144505(0x228))!=_0x2dbf6b[_0x144505(0x202)](_0x144505(0x228)));},_0x27bee2;}(_0x481bb8,_0x586f84,_0x51d80b);}(_0x2cff37,_0x182fc1,_0x113f3a,_0x2ea0b7)}),_0x2ea0b7[_0xc8c100(0x1ce)][_0xc8c100(0x231)](_0xc8c100(0x1db))[_0xc8c100(0x23d)]({'model':_0xc8c100(0x24b),'view':_0x5e4aee=>function(_0x2abeea,_0x4c725){const _0x17c440=_0xc8c100,_0x249ded=_0x2abeea[_0x17c440(0x24d)][_0x17c440(0x233)](':')[0x2];if(_0x249ded===_0x4c725[_0x17c440(0x1ff)])return null;const _0x314364=_0x4c725[_0x17c440(0x230)](_0x249ded);if(!_0x314364)return{'id':_0x249ded,'classes':[]};return{'id':_0x249ded,'classes':[_0x17c440(0x1d7),_0x314364[_0x17c440(0x1ed)][_0x17c440(0x1f4)]()],'attributes':{'data-session-id':_0x249ded},'priority':0x7d0+_0x314364[_0x17c440(0x208)]};}(_0x5e4aee,_0x113f3a)}),function(_0x50a840){const _0x3ccfd1=_0xc8c100,_0x9b2c8a=_0x50a840[_0x3ccfd1(0x20a)],_0x95e969=new Map(),_0xe2f7f2=_0x50a840[_0x3ccfd1(0x236)][_0x3ccfd1(0x244)](_0x2177b9);_0x9b2c8a[_0x3ccfd1(0x1df)]['on'](_0x3ccfd1(0x237),(_0x48b4e0,_0x4cc8e1,_0xee3ec7,_0x1686bb)=>{const _0x19b907=_0x3ccfd1;if(!_0x1686bb&&_0x95e969[_0x19b907(0x244)](_0x4cc8e1[_0x19b907(0x23e)]))return _0x95e969[_0x19b907(0x244)](_0x4cc8e1[_0x19b907(0x23e)])[_0x19b907(0x1f9)](),void _0x95e969[_0x19b907(0x20d)](_0x4cc8e1[_0x19b907(0x23e)]);const _0x3d47f1=_0x4cc8e1[_0x19b907(0x23e)][_0x19b907(0x233)](':')[0x2];if(_0x3d47f1===_0xe2f7f2[_0x19b907(0x1ff)])return;const _0x61ac0d=_0x19b907(0x1e6)+_0x3d47f1;_0x9b2c8a[_0x19b907(0x1df)][_0x19b907(0x221)](_0x61ac0d)&&_0x50a840[_0x19b907(0x253)][_0x19b907(0x226)](_0x61ac0d),_0x4cc8e1['on'](_0x19b907(0x1d3),(_0x1623d4,_0x2c65dc,_0x4ea7bb)=>{const _0x32c446=_0x19b907;if(_0x32c446(0x22e)!=_0x2c65dc[_0x32c446(0x211)][_0x32c446(0x23b)]&&_0x32c446(0x22e)==_0x4cc8e1[_0x32c446(0x224)]()[_0x32c446(0x211)][_0x32c446(0x23b)]&&!_0x95e969[_0x32c446(0x221)](_0x4cc8e1[_0x32c446(0x23e)])){const _0x1c2bc2=_0x9b2c8a[_0x32c446(0x246)][_0x32c446(0x20e)](_0x4ea7bb[_0x32c446(0x203)]);if(_0x1c2bc2){const _0x4af9dc=_0x871040[_0x32c446(0x1fa)](_0x1c2bc2);_0x95e969[_0x32c446(0x1d8)](_0x4cc8e1[_0x32c446(0x23e)],_0x4af9dc),_0x4af9dc['on'](_0x32c446(0x1d3),(_0x3e0003,_0x121cdb,_0x1b614e)=>{const _0x1085b5=_0x32c446;if(_0x1085b5(0x22e)==_0x4af9dc[_0x1085b5(0x211)][_0x1085b5(0x23b)]){const _0x18c871=_0x9b2c8a[_0x1085b5(0x246)][_0x1085b5(0x20e)](_0x1b614e[_0x1085b5(0x203)]);_0x18c871?(_0x4af9dc[_0x1085b5(0x24e)]=_0x18c871[_0x1085b5(0x24e)],_0x4af9dc[_0x1085b5(0x1f1)]=_0x18c871[_0x1085b5(0x1f1)]):(_0x95e969[_0x1085b5(0x20d)](_0x4cc8e1[_0x1085b5(0x23e)]),_0x4af9dc[_0x1085b5(0x1f9)]());}});}}});}),_0x9b2c8a[_0x3ccfd1(0x254)]['on'](_0x3ccfd1(0x1f2),()=>{const _0x35affe=_0x3ccfd1;_0x95e969[_0x35affe(0x204)]>0x0&&_0x9b2c8a[_0x35affe(0x1cb)]({'isUndoable':!0x1},_0x41c167=>{const _0x16090d=_0x35affe;for(const [_0xa102c3,_0x4e1cc4]of _0x95e969)_0x16090d(0x22e)==_0x9b2c8a[_0x16090d(0x1df)][_0x16090d(0x244)](_0xa102c3)[_0x16090d(0x224)]()[_0x16090d(0x211)][_0x16090d(0x23b)]&&(G(_0xa102c3[_0x16090d(0x233)](':')[0x2],_0x4e1cc4[_0x16090d(0x215)](),_0x9b2c8a,_0x41c167),_0x4e1cc4[_0x16090d(0x1f9)]());_0x95e969[_0x16090d(0x1d4)]();});});}(_0x2ea0b7),this[_0xc8c100(0x216)][_0xc8c100(0x200)](_0x591881[_0xc8c100(0x254)],_0xc8c100(0x207),(_0x376be2,{key:_0x59e60c})=>{const _0x1feaae=_0xc8c100;_0x1feaae(0x22d)===_0x59e60c&&function(_0x4cc45b){const _0x1f1203=_0x1feaae;_0x4cc45b[_0x1f1203(0x253)][_0x1f1203(0x1dd)][_0x1f1203(0x1f2)](_0x4cae0d=>{const _0x64e7b3=_0x1f1203;for(const _0x1df9c8 of _0x4cc45b[_0x64e7b3(0x20a)][_0x64e7b3(0x1df)]){if(!_0x1df9c8[_0x64e7b3(0x23e)][_0x64e7b3(0x22f)](_0x64e7b3(0x1fd)))continue;const _0x3679cd=_0x4cc45b[_0x64e7b3(0x253)][_0x64e7b3(0x1f8)][_0x64e7b3(0x1f6)](_0x1df9c8[_0x64e7b3(0x23e)]);if(_0x3679cd){for(const _0x4a3579 of _0x3679cd)_0x4cae0d[_0x64e7b3(0x249)](_0x64e7b3(0x1e4),_0x4a3579);}}});}(_0x2ea0b7);},{'useCapture':!0x0});}[_0x1338c4(0x1fe)](){const _0x5c8e65=_0x1338c4,_0x45dae9=this[_0x5c8e65(0x217)],_0x381fc5=_0x45dae9[_0x5c8e65(0x241)][_0x5c8e65(0x244)](_0x5c8e65(0x214));_0x381fc5&&_0x45dae9[_0x5c8e65(0x20a)]['on'](_0x5c8e65(0x256),(_0x585bfc,_0x2e986c)=>{const _0x853047=_0x5c8e65,_0xcf4764=_0x2e986c[0x0];if(!_0xcf4764[_0x853047(0x1e8)])return;if(_0x853047(0x227)!=_0xcf4764[_0x853047(0x1de)]||!_0xcf4764[_0x853047(0x23e)][_0x853047(0x22f)](_0x853047(0x1dc)))return;const _0xc8ceec=_0xcf4764[_0x853047(0x24c)];_0x381fc5[_0x853047(0x1e1)][_0x853047(0x221)](_0xc8ceec)&&(_0xcf4764[_0x853047(0x1e7)]=_0xcf4764[_0x853047(0x251)]?_0x45dae9[_0x853047(0x20a)][_0x853047(0x238)](_0xcf4764[_0x853047(0x251)][_0x853047(0x24e)],_0xcf4764[_0x853047(0x251)][_0x853047(0x1f1)]):null);},{'priority':_0x5c8e65(0x210)});}[_0x1338c4(0x247)](){const _0x2f1bef=_0x1338c4;return this[_0x2f1bef(0x216)][_0x2f1bef(0x21a)](),super[_0x2f1bef(0x247)]();}[_0x1338c4(0x21d)](){const _0x524e91=_0x1338c4,_0x136f86=this[_0x524e91(0x217)],_0x4b23d0=_0x136f86[_0x524e91(0x20a)][_0x524e91(0x254)],_0x433bea=_0x136f86[_0x524e91(0x236)][_0x524e91(0x244)](_0x2177b9);_0x136f86[_0x524e91(0x20a)][_0x524e91(0x1cb)]({'isUndoable':!0x1},_0x2610f0=>{const _0x4073ad=_0x524e91,_0x3c8ffc=_0x4073ad(0x212)+_0x433bea[_0x4073ad(0x1ff)],_0xe0d888=_0x4073ad(0x1e6)+_0x433bea[_0x4073ad(0x1ff)],_0xf016f5=_0x136f86[_0x4073ad(0x20a)][_0x4073ad(0x1df)][_0x4073ad(0x221)](_0x3c8ffc);_0x136f86[_0x4073ad(0x253)][_0x4073ad(0x1dd)][_0x4073ad(0x255)]?G(_0x433bea[_0x4073ad(0x1ff)],_0x4b23d0[_0x4073ad(0x20c)][_0x4073ad(0x24f)](),_0x136f86[_0x4073ad(0x20a)],_0x2610f0):_0xf016f5&&(_0x2610f0[_0x4073ad(0x232)](_0x3c8ffc),_0x2610f0[_0x4073ad(0x232)](_0xe0d888));});}}function G(_0x5c8735,_0x3eeb41,_0x31dd58,_0x44b116){const _0x54072d=_0x1338c4,_0x26b4b2=_0x54072d(0x212)+_0x5c8735,_0x5bc861=_0x54072d(0x1e6)+_0x5c8735,_0x532e6a=_0x3eeb41[_0x54072d(0x22b)]();let _0x3ea391=_0x3eeb41[_0x54072d(0x24e)];if(_0x532e6a&&_0x532e6a['is'](_0x54072d(0x1f0),_0x54072d(0x250))){const _0x4332fb=function(_0x5482d4,_0x3ef9ea){const _0x34a26d=_0x54072d;for(const _0x500f3a of _0x5482d4[_0x34a26d(0x21f)]())if(_0x3ef9ea[_0x34a26d(0x246)][_0x34a26d(0x1ef)](_0x500f3a,_0x34a26d(0x1e5)))return _0x500f3a;}(_0x3eeb41,_0x31dd58);_0x4332fb&&(_0x3ea391=_0x4332fb,_0x3eeb41=_0x44b116[_0x54072d(0x238)](_0x3ea391));}const _0x404e52=_0x44b116[_0x54072d(0x238)](_0x3ea391);_0x31dd58[_0x54072d(0x1df)][_0x54072d(0x221)](_0x26b4b2)?(_0x44b116[_0x54072d(0x206)](_0x26b4b2,{'range':_0x3eeb41}),_0x44b116[_0x54072d(0x206)](_0x5bc861,{'range':_0x404e52})):(_0x44b116[_0x54072d(0x218)](_0x26b4b2,{'range':_0x3eeb41,'usingOperation':!0x0}),_0x44b116[_0x54072d(0x218)](_0x5bc861,{'range':_0x404e52,'usingOperation':!0x0}));}
23
+ const _0x41045c=_0x5615;(function(_0x490164,_0x329e38){const _0x1ef2e0=_0x5615,_0x6a3379=_0x490164();while(!![]){try{const _0x58babf=parseInt(_0x1ef2e0(0x107))/0x1*(parseInt(_0x1ef2e0(0x175))/0x2)+-parseInt(_0x1ef2e0(0x13a))/0x3*(-parseInt(_0x1ef2e0(0x135))/0x4)+-parseInt(_0x1ef2e0(0x146))/0x5*(-parseInt(_0x1ef2e0(0xfc))/0x6)+parseInt(_0x1ef2e0(0x162))/0x7+-parseInt(_0x1ef2e0(0x147))/0x8+-parseInt(_0x1ef2e0(0x150))/0x9+-parseInt(_0x1ef2e0(0x102))/0xa;if(_0x58babf===_0x329e38)break;else _0x6a3379['push'](_0x6a3379['shift']());}catch(_0x4ae49e){_0x6a3379['push'](_0x6a3379['shift']());}}}(_0x926b,0xa6f99));function _0x926b(){const _0x2695f5=['hasDomSelection','model','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','addMarker','createElement','color','ck-user__selection','highest','5274143zeilDJ','updateMarker','name','change:range','getCustomProperty','isInline','init','user:position','user:','isPremiumPlugin','userPositionMarker','textContent','Escape','createUserMarkerOperations','getUserBySessionId','for','fromRange','ck-user__marker\x20','marker','2IyjyPM','isDocumentOperation','afterInit','outerHTML','getPositions','selection','createRange','requires','UserMarkers','pluginName','user:range','rootName','markerNameToElements','mouseleave','oldRange','toRange','user:position:','contenteditable','30wijniJ','enqueueChange','getRange','user:range:','getContainedElement','editing','6720220lOaFVS','parent','commands','addEventListener','markerToHighlight','957826ninwpT','view','isOfficialPlugin','render','has','ck-user__marker_hovered','isObject','getNearestSelectionRange','split','element','markerName','detach','editingDowncast','keydown','getFirstRange','orderNumber','batch','nodeAfter','plugins','set','_createdBatches','removeMarker','document','schema','editor','isLimit','mapper','markerRange','mySessionId','classList','tableCell','toDomElement','startsWith','checkChild','type','conversion','end','getSelectionClass','false','destroy','mouseenter','span','reconvertMarker','markerToElement','listenTo','spellcheck','196ZMrAKb','add','innerHTML','_domEmitter','isSimilar','20247oGOjGJ','setCustomProperty','remove','deletionPosition','getMarkerClass','getStart','hasContent','undo','newRange','data-session-id','getAttribute','change','736765lrkoYk','2466792OoJZVj','$text','stopListening','size','isCollapsed','get','removeClass','$graveyard','root','10029969GDDaVE','createUIElement','start','setAttribute','ck-user__marker-tooltip','update:user:range','applyOperation','delete','markers','clear'];_0x926b=function(){return _0x2695f5;};return _0x926b();}import{Plugin as _0x30d2dc}from'ckeditor5/src/core.js';function _0x5615(_0x2d1492,_0xd89d5a){const _0x926b05=_0x926b();return _0x5615=function(_0x561598,_0x1b6de9){_0x561598=_0x561598-0xf6;let _0x1d578b=_0x926b05[_0x561598];return _0x1d578b;},_0x5615(_0x2d1492,_0xd89d5a);}import{global as _0x40f9bf,DomEmitterMixin as _0x162eb1}from'ckeditor5/src/utils.js';import{Sessions as _0x5bb0f6}from'./sessions.js';import{ModelLiveRange as _0x5db343}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30d2dc{[_0x41045c(0x138)]=new(_0x162eb1())();static get[_0x41045c(0x17c)](){return[_0x5bb0f6];}static get[_0x41045c(0x17e)](){const _0x8f4915=_0x41045c;return _0x8f4915(0x17d);}static get[_0x41045c(0x109)](){return!0x0;}static get[_0x41045c(0x16b)](){return!0x0;}[_0x41045c(0x168)](){const _0x502dfb=_0x41045c,_0xa82cff=this[_0x502dfb(0x11f)],_0x5170bd=_0xa82cff[_0x502dfb(0x119)][_0x502dfb(0x14c)](_0x5bb0f6);_0xa82cff[_0x502dfb(0x12a)][_0x502dfb(0x171)](_0x502dfb(0x113))[_0x502dfb(0x132)]({'model':_0x502dfb(0x169),'view':(_0x5cbc27,{writer:_0x567419})=>function(_0x3f7f9f,_0x3a6aa8,_0x57c642,_0x2c37ed){const _0x4286cb=_0x502dfb,_0x2ff89b=_0x3f7f9f[_0x4286cb(0x111)][_0x4286cb(0x10f)](':')[0x2],_0x84c864=_0x57c642[_0x4286cb(0x170)](_0x2ff89b);if(!_0x84c864||_0x2ff89b===_0x57c642[_0x4286cb(0x123)])return;if(!_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x11e)][_0x4286cb(0x128)](_0x3f7f9f[_0x4286cb(0x122)][_0x4286cb(0x152)],_0x4286cb(0x148)))return;const _0x15c062={'class':_0x4286cb(0x173)+_0x84c864[_0x4286cb(0x15f)][_0x4286cb(0x13e)](),'data-name':_0x84c864[_0x4286cb(0x164)],'data-session-id':_0x2ff89b},_0x3279af=_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x158)][_0x4286cb(0x14c)](_0x3f7f9f[_0x4286cb(0x111)]),_0x318272=_0x3279af[_0x4286cb(0x13f)](),_0x3885c4=_0x318272[_0x4286cb(0x118)],_0x10654d=_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x11e)];if(_0x3885c4&&_0x10654d[_0x4286cb(0x10d)](_0x3885c4)&&_0x10654d[_0x4286cb(0x167)](_0x3885c4)&&!_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x158)][_0x4286cb(0x14c)](_0x4286cb(0xff)+_0x2ff89b)[_0x4286cb(0xfe)]()[_0x4286cb(0x14b)])return;const _0x28c653=_0x318272[_0x4286cb(0x103)];return _0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x11e)][_0x4286cb(0x120)](_0x28c653)&&!_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x140)](_0x28c653)&&(_0x15c062[_0x4286cb(0xfb)]=!0x1),function(_0x39f3df,_0x43aad0,_0x95bdc6){const _0x4407e6=_0x4286cb,_0x4a682d=_0x39f3df[_0x4407e6(0x151)](_0x4407e6(0x130),_0x43aad0);return _0x39f3df[_0x4407e6(0x13b)](_0x4407e6(0x16c),!0x0,_0x4a682d),_0x4a682d[_0x4407e6(0x10a)]=function(_0x23e60f){const _0x52ee57=_0x4407e6,_0x22fbcb=this[_0x52ee57(0x126)](_0x23e60f),_0x431285=document[_0x52ee57(0x15e)](_0x52ee57(0x130));return _0x431285[_0x52ee57(0x124)][_0x52ee57(0x136)](_0x52ee57(0x154)),_0x431285[_0x52ee57(0x153)](_0x52ee57(0xfb),_0x52ee57(0x12d)),_0x431285[_0x52ee57(0x153)](_0x52ee57(0x134),_0x52ee57(0x12d)),_0x431285[_0x52ee57(0x16d)]=_0x95bdc6[_0x52ee57(0x164)],_0x22fbcb[_0x52ee57(0x137)]=_0x52ee57(0x15c)+_0x431285[_0x52ee57(0x178)]+'⁠',_0x22fbcb[_0x52ee57(0x105)](_0x52ee57(0x12f),()=>{const _0x13203d=_0x52ee57;_0x22fbcb[_0x13203d(0x124)][_0x13203d(0x136)](_0x13203d(0x10c));}),_0x22fbcb[_0x52ee57(0x105)](_0x52ee57(0xf7),()=>{const _0x34b831=_0x52ee57;_0x22fbcb[_0x34b831(0x124)][_0x34b831(0x13c)](_0x34b831(0x10c));}),_0x22fbcb;},_0x4a682d[_0x4407e6(0x139)]=function(_0x3e65da){const _0x14bf35=_0x4407e6;return!(!this[_0x14bf35(0x166)](_0x14bf35(0x16c))||!_0x3e65da[_0x14bf35(0x166)](_0x14bf35(0x16c))||this[_0x14bf35(0x144)](_0x14bf35(0x143))!=_0x3e65da[_0x14bf35(0x144)](_0x14bf35(0x143)));},_0x4a682d;}(_0x3a6aa8,_0x15c062,_0x84c864);}(_0x5cbc27,_0x567419,_0x5170bd,_0xa82cff)}),_0xa82cff[_0x502dfb(0x12a)][_0x502dfb(0x171)](_0x502dfb(0x113))[_0x502dfb(0x106)]({'model':_0x502dfb(0x17f),'view':_0x473c26=>function(_0x5bc825,_0x5d8cfa){const _0x477d09=_0x502dfb,_0x2d8d51=_0x5bc825[_0x477d09(0x111)][_0x477d09(0x10f)](':')[0x2];if(_0x2d8d51===_0x5d8cfa[_0x477d09(0x123)])return null;const _0x1d59ba=_0x5d8cfa[_0x477d09(0x170)](_0x2d8d51);if(!_0x1d59ba)return{'id':_0x2d8d51,'classes':[]};return{'id':_0x2d8d51,'classes':[_0x477d09(0x160),_0x1d59ba[_0x477d09(0x15f)][_0x477d09(0x12c)]()],'attributes':{'data-session-id':_0x2d8d51},'priority':0x7d0+_0x1d59ba[_0x477d09(0x116)]};}(_0x473c26,_0x5170bd)}),function(_0x90e03c){const _0x533c64=_0x502dfb,_0x161698=_0x90e03c[_0x533c64(0x15b)],_0x3399bc=new Map(),_0x166d6d=_0x90e03c[_0x533c64(0x119)][_0x533c64(0x14c)](_0x5bb0f6);_0x161698[_0x533c64(0x158)]['on'](_0x533c64(0x155),(_0x55aad2,_0x249b30,_0x5dee04,_0x25fe93)=>{const _0xe7e16c=_0x533c64;if(!_0x25fe93&&_0x3399bc[_0xe7e16c(0x14c)](_0x249b30[_0xe7e16c(0x164)]))return _0x3399bc[_0xe7e16c(0x14c)](_0x249b30[_0xe7e16c(0x164)])[_0xe7e16c(0x112)](),void _0x3399bc[_0xe7e16c(0x157)](_0x249b30[_0xe7e16c(0x164)]);const _0x45f510=_0x249b30[_0xe7e16c(0x164)][_0xe7e16c(0x10f)](':')[0x2];if(_0x45f510===_0x166d6d[_0xe7e16c(0x123)])return;const _0x139728=_0xe7e16c(0xfa)+_0x45f510;_0x161698[_0xe7e16c(0x158)][_0xe7e16c(0x10b)](_0x139728)&&_0x90e03c[_0xe7e16c(0x101)][_0xe7e16c(0x131)](_0x139728),_0x249b30['on'](_0xe7e16c(0x165),(_0x24f42d,_0x312a8a,_0x476a46)=>{const _0x234398=_0xe7e16c;if(_0x234398(0x14e)!=_0x312a8a[_0x234398(0x14f)][_0x234398(0x180)]&&_0x234398(0x14e)==_0x249b30[_0x234398(0xfe)]()[_0x234398(0x14f)][_0x234398(0x180)]&&!_0x3399bc[_0x234398(0x10b)](_0x249b30[_0x234398(0x164)])){const _0x246a67=_0x161698[_0x234398(0x11e)][_0x234398(0x10e)](_0x476a46[_0x234398(0x13d)]);if(_0x246a67){const _0x58a38b=_0x5db343[_0x234398(0x172)](_0x246a67);_0x3399bc[_0x234398(0x11a)](_0x249b30[_0x234398(0x164)],_0x58a38b),_0x58a38b['on'](_0x234398(0x165),(_0x5cbf86,_0x180c59,_0x4a0e45)=>{const _0x380667=_0x234398;if(_0x380667(0x14e)==_0x58a38b[_0x380667(0x14f)][_0x380667(0x180)]){const _0x3111df=_0x161698[_0x380667(0x11e)][_0x380667(0x10e)](_0x4a0e45[_0x380667(0x13d)]);_0x3111df?(_0x58a38b[_0x380667(0x152)]=_0x3111df[_0x380667(0x152)],_0x58a38b[_0x380667(0x12b)]=_0x3111df[_0x380667(0x12b)]):(_0x3399bc[_0x380667(0x157)](_0x249b30[_0x380667(0x164)]),_0x58a38b[_0x380667(0x112)]());}});}}});}),_0x161698[_0x533c64(0x11d)]['on'](_0x533c64(0x145),()=>{const _0x373d14=_0x533c64;_0x3399bc[_0x373d14(0x14a)]>0x0&&_0x161698[_0x373d14(0xfd)]({'isUndoable':!0x1},_0xe92d63=>{const _0x151db6=_0x373d14;for(const [_0xc3f6c5,_0xf4d780]of _0x3399bc)_0x151db6(0x14e)==_0x161698[_0x151db6(0x158)][_0x151db6(0x14c)](_0xc3f6c5)[_0x151db6(0xfe)]()[_0x151db6(0x14f)][_0x151db6(0x180)]&&(Z(_0xc3f6c5[_0x151db6(0x10f)](':')[0x2],_0xf4d780[_0x151db6(0xf9)](),_0x161698,_0xe92d63),_0xf4d780[_0x151db6(0x112)]());_0x3399bc[_0x151db6(0x159)]();});});}(_0xa82cff),this[_0x502dfb(0x138)][_0x502dfb(0x133)](_0x40f9bf[_0x502dfb(0x11d)],_0x502dfb(0x114),(_0x509d35,{key:_0x3fa476})=>{const _0x3d92f8=_0x502dfb;_0x3d92f8(0x16e)===_0x3fa476&&function(_0x476800){const _0x1bda50=_0x3d92f8;_0x476800[_0x1bda50(0x101)][_0x1bda50(0x108)][_0x1bda50(0x145)](_0x371cb6=>{const _0x49d83c=_0x1bda50;for(const _0x91e41 of _0x476800[_0x49d83c(0x15b)][_0x49d83c(0x158)]){if(!_0x91e41[_0x49d83c(0x164)][_0x49d83c(0x127)](_0x49d83c(0x169)))continue;const _0x53a2f5=_0x476800[_0x49d83c(0x101)][_0x49d83c(0x121)][_0x49d83c(0xf6)](_0x91e41[_0x49d83c(0x164)]);if(_0x53a2f5){for(const _0xb56b57 of _0x53a2f5)_0x371cb6[_0x49d83c(0x14d)](_0x49d83c(0x10c),_0xb56b57);}}});}(_0xa82cff);},{'useCapture':!0x0});}[_0x41045c(0x177)](){const _0x423b9a=_0x41045c,_0x524e12=this[_0x423b9a(0x11f)],_0x52b4c3=_0x524e12[_0x423b9a(0x104)][_0x423b9a(0x14c)](_0x423b9a(0x141));_0x52b4c3&&_0x524e12[_0x423b9a(0x15b)]['on'](_0x423b9a(0x156),(_0x539643,_0x13a249)=>{const _0x534f43=_0x423b9a,_0x17437e=_0x13a249[0x0];if(!_0x17437e[_0x534f43(0x176)])return;if(_0x534f43(0x174)!=_0x17437e[_0x534f43(0x129)]||!_0x17437e[_0x534f43(0x164)][_0x534f43(0x127)](_0x534f43(0x16a)))return;const _0x3976a3=_0x17437e[_0x534f43(0x117)];_0x52b4c3[_0x534f43(0x11b)][_0x534f43(0x10b)](_0x3976a3)&&(_0x17437e[_0x534f43(0x142)]=_0x17437e[_0x534f43(0xf8)]?_0x524e12[_0x534f43(0x15b)][_0x534f43(0x17b)](_0x17437e[_0x534f43(0xf8)][_0x534f43(0x152)],_0x17437e[_0x534f43(0xf8)][_0x534f43(0x12b)]):null);},{'priority':_0x423b9a(0x161)});}[_0x41045c(0x12e)](){const _0x2ff764=_0x41045c;return this[_0x2ff764(0x138)][_0x2ff764(0x149)](),super[_0x2ff764(0x12e)]();}[_0x41045c(0x16f)](){const _0x2392c7=_0x41045c,_0x5be4f7=this[_0x2392c7(0x11f)],_0x413fa4=_0x5be4f7[_0x2392c7(0x15b)][_0x2392c7(0x11d)],_0x187f0a=_0x5be4f7[_0x2392c7(0x119)][_0x2392c7(0x14c)](_0x5bb0f6);_0x5be4f7[_0x2392c7(0x15b)][_0x2392c7(0xfd)]({'isUndoable':!0x1},_0x1f1194=>{const _0x49a45f=_0x2392c7,_0x5651ed=_0x49a45f(0xff)+_0x187f0a[_0x49a45f(0x123)],_0x3a96eb=_0x49a45f(0xfa)+_0x187f0a[_0x49a45f(0x123)],_0x128305=_0x5be4f7[_0x49a45f(0x15b)][_0x49a45f(0x158)][_0x49a45f(0x10b)](_0x5651ed);_0x5be4f7[_0x49a45f(0x101)][_0x49a45f(0x108)][_0x49a45f(0x15a)]?Z(_0x187f0a[_0x49a45f(0x123)],_0x413fa4[_0x49a45f(0x17a)][_0x49a45f(0x115)](),_0x5be4f7[_0x49a45f(0x15b)],_0x1f1194):_0x128305&&(_0x1f1194[_0x49a45f(0x11c)](_0x5651ed),_0x1f1194[_0x49a45f(0x11c)](_0x3a96eb));});}}function Z(_0x3df63b,_0x416b5a,_0x2b3386,_0x36fbea){const _0x3592be=_0x41045c,_0x577c6a=_0x3592be(0xff)+_0x3df63b,_0x58f0ac=_0x3592be(0xfa)+_0x3df63b,_0x5d3704=_0x416b5a[_0x3592be(0x100)]();let _0x5cc1cf=_0x416b5a[_0x3592be(0x152)];if(_0x5d3704&&_0x5d3704['is'](_0x3592be(0x110),_0x3592be(0x125))){const _0x3359df=function(_0x2012dc,_0x5d7320){const _0x3c9b67=_0x3592be;for(const _0x501639 of _0x2012dc[_0x3c9b67(0x179)]())if(_0x5d7320[_0x3c9b67(0x11e)][_0x3c9b67(0x128)](_0x501639,_0x3c9b67(0x148)))return _0x501639;}(_0x416b5a,_0x2b3386);_0x3359df&&(_0x5cc1cf=_0x3359df,_0x416b5a=_0x36fbea[_0x3592be(0x17b)](_0x5cc1cf));}const _0x325529=_0x36fbea[_0x3592be(0x17b)](_0x5cc1cf);_0x2b3386[_0x3592be(0x158)][_0x3592be(0x10b)](_0x577c6a)?(_0x36fbea[_0x3592be(0x163)](_0x577c6a,{'range':_0x416b5a}),_0x36fbea[_0x3592be(0x163)](_0x58f0ac,{'range':_0x325529})):(_0x36fbea[_0x3592be(0x15d)](_0x577c6a,{'range':_0x416b5a,'usingOperation':!0x0}),_0x36fbea[_0x3592be(0x15d)](_0x58f0ac,{'range':_0x325529,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3771ac=_0x2b86;(function(_0x5bc58e,_0x49fd38){const _0x59f910=_0x2b86,_0x590331=_0x5bc58e();while(!![]){try{const _0x3fb726=-parseInt(_0x59f910(0x1c5))/0x1+-parseInt(_0x59f910(0x1d0))/0x2*(-parseInt(_0x59f910(0x1f1))/0x3)+-parseInt(_0x59f910(0x1f4))/0x4+-parseInt(_0x59f910(0x1c0))/0x5*(parseInt(_0x59f910(0x1f6))/0x6)+parseInt(_0x59f910(0x1c1))/0x7*(parseInt(_0x59f910(0x1d7))/0x8)+-parseInt(_0x59f910(0x1cc))/0x9+parseInt(_0x59f910(0x1ce))/0xa*(parseInt(_0x59f910(0x1b3))/0xb);if(_0x3fb726===_0x49fd38)break;else _0x590331['push'](_0x590331['shift']());}catch(_0x2319a3){_0x590331['push'](_0x590331['shift']());}}}(_0x1ea9,0x5fcc5));import{ContextPlugin as _0x21c6b6}from'ckeditor5/src/core.js';function _0x1ea9(){const _0x193bf4=['websocketgateway-plugin-already-registered','cloudServices.connectionTimeout','destroy','online','_isBrowserOffline','Connected\x20users\x20limit\x20exceeded','has','limitExceeded','initialReconnectionInterval','add','reconnect','listenTo','delete','constructor','connect','get','CONNECTED','connected','CloudServices','config','isPremiumPlugin','websocketgateway-missing-websocket-url','DISCONNECTED','pluginName','token','107001DXTrzj','init','bind','957124yxbKww','offline','30LSQrdS','_shouldPluginsReconnect','websocketgateway-missing-token','connection','_reconnect','isOfficialPlugin','WebSocketGateway','set','12795585gzFRBA','catch','plugins','code','addToReconnectionStack','cloudservices-reconnection-error','showWarning','cloudServices.requestTimeout','isInReconnectionStack','function','CONNECTING','stopListening','define','208805SIljvl','60627DhrGij','cloudservices-init','webSocketUrl','all','644974ntFgQB','removeFromReconnectionStack','change:me','_domEmitter','requires','then','disconnect','4799232CtyQpS','from','10oYbdfP','error','30rIdjab','context','websocketgateway-invalid-plugin-interface','state','_reconnectionStack','real-time-collaboration','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.','296Qlvfib'];_0x1ea9=function(){return _0x193bf4;};return _0x1ea9();}function _0x2b86(_0x4115ab,_0x13d64b){const _0x1ea914=_0x1ea9();return _0x2b86=function(_0x2b869b,_0x588b49){_0x2b869b=_0x2b869b-0x1ad;let _0x1c1f46=_0x1ea914[_0x2b869b];return _0x1c1f46;},_0x2b86(_0x4115ab,_0x13d64b);}import{DomEmitterMixin as _0x23d68f,CKEditorError as _0x11c385}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2e62fa,WEB_SOCKET_GATEWAY_STATES as _0x160d01}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5dce80}from'ckeditor5/src/ui.js';class n extends _0x21c6b6{static [_0x3771ac(0x1b1)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2e62fa)());static [_0x3771ac(0x1e0)]=0x3e8;[_0x3771ac(0x1ae)];[_0x3771ac(0x1d4)];[_0x3771ac(0x1f7)];[_0x3771ac(0x1c8)];static get[_0x3771ac(0x1c9)](){const _0xe38ddf=_0x3771ac;return[_0xe38ddf(0x1ea),_0x5dce80];}static get[_0x3771ac(0x1ef)](){const _0x4b8834=_0x3771ac;return _0x4b8834(0x1b1);}static get[_0x3771ac(0x1b0)](){return!0x0;}static get[_0x3771ac(0x1ec)](){return!0x0;}constructor(_0x18295f){const _0x5d556d=_0x3771ac;super(_0x18295f),this[_0x5d556d(0x1b2)](_0x5d556d(0x1d3),_0x160d01[_0x5d556d(0x1e8)]),this[_0x5d556d(0x1b2)](_0x5d556d(0x1dc),!0x1),this[_0x5d556d(0x1d4)]=new Set(),this[_0x5d556d(0x1f7)]=!0x1,this[_0x5d556d(0x1c8)]=new(_0x23d68f())();}[_0x3771ac(0x1f2)](){const _0x3d26db=_0x3771ac,_0x30c651=this[_0x3d26db(0x1d1)],_0x4594ff=_0x30c651[_0x3d26db(0x1b5)][_0x3d26db(0x1e7)](_0x3d26db(0x1ea)),_0x57730c=_0x30c651[_0x3d26db(0x1b5)][_0x3d26db(0x1e7)](_0x5dce80);if(!_0x4594ff[_0x3d26db(0x1f0)])throw new _0x11c385(_0x3d26db(0x1ad),this);if(!_0x4594ff[_0x3d26db(0x1c3)])throw new _0x11c385(_0x3d26db(0x1ed),this);return this[_0x3d26db(0x1c8)][_0x3d26db(0x1e3)](window,_0x3d26db(0x1f5),()=>this[_0x3d26db(0x1dc)]=!0x0),this[_0x3d26db(0x1c8)][_0x3d26db(0x1e3)](window,_0x3d26db(0x1db),()=>this[_0x3d26db(0x1dc)]=!0x1),this[_0x3d26db(0x1d1)][_0x3d26db(0x1eb)][_0x3d26db(0x1bf)](_0x3d26db(0x1d9),0xa),this[_0x3d26db(0x1d1)][_0x3d26db(0x1eb)][_0x3d26db(0x1bf)](_0x3d26db(0x1ba),0x14),n[_0x3d26db(0x1b1)][_0x3d26db(0x1e6)](_0x4594ff[_0x3d26db(0x1f0)],_0x4594ff[_0x3d26db(0x1c3)],{'timeout':0x3e8*this[_0x3d26db(0x1d1)][_0x3d26db(0x1eb)][_0x3d26db(0x1e7)](_0x3d26db(0x1d9)),'requestTimeout':0x3e8*this[_0x3d26db(0x1d1)][_0x3d26db(0x1eb)][_0x3d26db(0x1e7)](_0x3d26db(0x1ba))})[_0x3d26db(0x1ca)](_0x5daa5a=>{const _0x538b64=_0x3d26db;if(this[_0x538b64(0x1ae)]=_0x5daa5a,this[_0x538b64(0x1f3)](_0x538b64(0x1d3))['to'](_0x5daa5a,_0x538b64(0x1d3),this,_0x538b64(0x1dc),(_0x16115f,_0x23dbe7)=>(_0x538b64(0x1e9)!==_0x16115f&&(this[_0x538b64(0x1f7)]=!0x0),_0x23dbe7||_0x16115f!==_0x160d01[_0x538b64(0x1e8)]?_0x160d01[_0x538b64(0x1ee)]:this[_0x538b64(0x1d3)]==_0x160d01[_0x538b64(0x1ee)]&&this[_0x538b64(0x1f7)]?(this[_0x538b64(0x1f7)]=!0x1,this[_0x538b64(0x1af)](),_0x160d01[_0x538b64(0x1bd)]):_0x160d01[_0x538b64(0x1e8)])),this[_0x538b64(0x1ae)]['on'](_0x538b64(0x1cf),(_0x125c93,_0x2a31bc)=>{const _0x3d4bac=_0x538b64;if(_0x3d4bac(0x1df)!==_0x2a31bc[_0x3d4bac(0x1b6)])throw console[_0x3d4bac(0x1cf)](_0x2a31bc),new _0x11c385(_0x3d4bac(0x1c2),null,{'originalError':_0x2a31bc});_0x57730c[_0x3d4bac(0x1b9)](_0x3d4bac(0x1d6),{'title':_0x3d4bac(0x1dd),'namespace':_0x3d4bac(0x1d5)});}),!_0x5daa5a['me'])return new Promise(_0x14b9dd=>_0x5daa5a['on'](_0x538b64(0x1c7),_0x14b9dd));})[_0x3d26db(0x1b4)](_0x54ed38=>{const _0x2acc4a=_0x3d26db;throw console[_0x2acc4a(0x1cf)](_0x54ed38),new _0x11c385(_0x2acc4a(0x1c2),null,{'originalError':_0x54ed38});});}[_0x3771ac(0x1b7)](_0x12d8b5){const _0x3b1102=_0x3771ac;if(_0x3b1102(0x1bc)!=typeof _0x12d8b5[_0x3b1102(0x1e2)])throw new _0x11c385(_0x3b1102(0x1d2),this);if(this[_0x3b1102(0x1bb)](_0x12d8b5))throw new _0x11c385(_0x3b1102(0x1d8),this,{'name':_0x12d8b5[_0x3b1102(0x1e5)][_0x3b1102(0x1ef)]});this[_0x3b1102(0x1d4)][_0x3b1102(0x1e1)](_0x12d8b5);}[_0x3771ac(0x1c6)](_0x19afb1){const _0x339748=_0x3771ac;this[_0x339748(0x1d4)][_0x339748(0x1e4)](_0x19afb1);}[_0x3771ac(0x1bb)](_0x4e505e){const _0x163ec9=_0x3771ac;return this[_0x163ec9(0x1d4)][_0x163ec9(0x1de)](_0x4e505e);}[_0x3771ac(0x1af)](){const _0x1445ea=_0x3771ac;return this[_0x1445ea(0x1ae)][_0x1445ea(0x1e2)]()[_0x1445ea(0x1ca)](()=>Promise[_0x1445ea(0x1c4)](Array[_0x1445ea(0x1cd)](this[_0x1445ea(0x1d4)],_0x12a8d1=>_0x12a8d1[_0x1445ea(0x1e2)]())))[_0x1445ea(0x1ca)](()=>this[_0x1445ea(0x1d3)]=_0x160d01[_0x1445ea(0x1e8)])[_0x1445ea(0x1b4)](_0x2356e6=>{const _0x2c4b22=_0x1445ea;throw console[_0x2c4b22(0x1cf)](_0x2356e6),new _0x11c385(_0x2c4b22(0x1b8),this[_0x2c4b22(0x1d1)]);});}[_0x3771ac(0x1cb)](){const _0x46645c=_0x3771ac;this[_0x46645c(0x1ae)]&&this[_0x46645c(0x1ae)][_0x46645c(0x1cb)](),this[_0x46645c(0x1d3)]=_0x160d01[_0x46645c(0x1ee)],this[_0x46645c(0x1c8)][_0x46645c(0x1be)]();}[_0x3771ac(0x1da)](){const _0x3a5edd=_0x3771ac;this[_0x3a5edd(0x1cb)](),super[_0x3a5edd(0x1da)]();}}export{n as WebSocketGateway};
23
+ const _0x8f477f=_0x19d1;(function(_0x4efe17,_0x13598f){const _0x3b37ee=_0x19d1,_0x579fa1=_0x4efe17();while(!![]){try{const _0xe6cbaf=-parseInt(_0x3b37ee(0x12c))/0x1+-parseInt(_0x3b37ee(0x13b))/0x2*(parseInt(_0x3b37ee(0x148))/0x3)+-parseInt(_0x3b37ee(0x11f))/0x4*(-parseInt(_0x3b37ee(0x11d))/0x5)+parseInt(_0x3b37ee(0x117))/0x6*(-parseInt(_0x3b37ee(0x13f))/0x7)+-parseInt(_0x3b37ee(0x14f))/0x8+-parseInt(_0x3b37ee(0x144))/0x9*(-parseInt(_0x3b37ee(0x134))/0xa)+parseInt(_0x3b37ee(0x115))/0xb;if(_0xe6cbaf===_0x13598f)break;else _0x579fa1['push'](_0x579fa1['shift']());}catch(_0x389ba5){_0x579fa1['push'](_0x579fa1['shift']());}}}(_0x33cb,0xd9551));import{ContextPlugin as _0x5c4ac7}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5a1146,CKEditorError as _0x289be0}from'ckeditor5/src/utils.js';function _0x19d1(_0x81bca7,_0x30ef39){const _0x33cb7b=_0x33cb();return _0x19d1=function(_0x19d144,_0x459428){_0x19d144=_0x19d144-0x114;let _0x3937c1=_0x33cb7b[_0x19d144];return _0x3937c1;},_0x19d1(_0x81bca7,_0x30ef39);}import{WebSocketGateway as _0x9d1670,WEB_SOCKET_GATEWAY_STATES as _0x574688}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0xf8277a}from'ckeditor5/src/ui.js';class n extends _0x5c4ac7{static [_0x8f477f(0x12b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x9d1670)());static [_0x8f477f(0x12a)]=0x3e8;[_0x8f477f(0x119)];[_0x8f477f(0x125)];[_0x8f477f(0x15c)];[_0x8f477f(0x156)];static get[_0x8f477f(0x14a)](){const _0xb02380=_0x8f477f;return[_0xb02380(0x13c),_0xf8277a];}static get[_0x8f477f(0x12d)](){const _0x33e352=_0x8f477f;return _0x33e352(0x12b);}static get[_0x8f477f(0x124)](){return!0x0;}static get[_0x8f477f(0x154)](){return!0x0;}constructor(_0x163ac2){const _0x4ee394=_0x8f477f;super(_0x163ac2),this[_0x4ee394(0x130)](_0x4ee394(0x147),_0x574688[_0x4ee394(0x138)]),this[_0x4ee394(0x130)](_0x4ee394(0x157),!0x1),this[_0x4ee394(0x125)]=new Set(),this[_0x4ee394(0x15c)]=!0x1,this[_0x4ee394(0x156)]=new(_0x5a1146())();}[_0x8f477f(0x116)](){const _0xe357c9=_0x8f477f,_0x562c97=this[_0xe357c9(0x159)],_0x1d796b=_0x562c97[_0xe357c9(0x14e)][_0xe357c9(0x12f)](_0xe357c9(0x13c)),_0x5ef2b3=_0x562c97[_0xe357c9(0x14e)][_0xe357c9(0x12f)](_0xf8277a);if(!_0x1d796b[_0xe357c9(0x146)])throw new _0x289be0(_0xe357c9(0x137),this);if(!_0x1d796b[_0xe357c9(0x139)])throw new _0x289be0(_0xe357c9(0x122),this);return this[_0xe357c9(0x156)][_0xe357c9(0x135)](window,_0xe357c9(0x120),()=>this[_0xe357c9(0x157)]=!0x0),this[_0xe357c9(0x156)][_0xe357c9(0x135)](window,_0xe357c9(0x14b),()=>this[_0xe357c9(0x157)]=!0x1),this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x15d)](_0xe357c9(0x143),0xa),this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x15d)](_0xe357c9(0x136),0x14),n[_0xe357c9(0x12b)][_0xe357c9(0x151)](_0x1d796b[_0xe357c9(0x146)],_0x1d796b[_0xe357c9(0x139)],{'timeout':0x3e8*this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x12f)](_0xe357c9(0x143)),'requestTimeout':0x3e8*this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x12f)](_0xe357c9(0x136))})[_0xe357c9(0x141)](_0x59991f=>{const _0x10e1f4=_0xe357c9;if(this[_0x10e1f4(0x119)]=_0x59991f,this[_0x10e1f4(0x11e)](_0x10e1f4(0x147))['to'](_0x59991f,_0x10e1f4(0x147),this,_0x10e1f4(0x157),(_0x5ea6eb,_0x5eac63)=>(_0x10e1f4(0x132)!==_0x5ea6eb&&(this[_0x10e1f4(0x15c)]=!0x0),_0x5eac63||_0x5ea6eb!==_0x574688[_0x10e1f4(0x138)]?_0x574688[_0x10e1f4(0x128)]:this[_0x10e1f4(0x147)]==_0x574688[_0x10e1f4(0x128)]&&this[_0x10e1f4(0x15c)]?(this[_0x10e1f4(0x15c)]=!0x1,this[_0x10e1f4(0x12e)](),_0x574688[_0x10e1f4(0x133)]):_0x574688[_0x10e1f4(0x138)])),this[_0x10e1f4(0x119)]['on'](_0x10e1f4(0x118),(_0x53e156,_0x2b267d)=>{const _0x26bbf1=_0x10e1f4;if(_0x26bbf1(0x127)!==_0x2b267d[_0x26bbf1(0x153)])throw console[_0x26bbf1(0x118)](_0x2b267d),new _0x289be0(_0x26bbf1(0x114),null,{'originalError':_0x2b267d});_0x5ef2b3[_0x26bbf1(0x126)](_0x26bbf1(0x145),{'title':_0x26bbf1(0x15a),'namespace':_0x26bbf1(0x14d)});}),!_0x59991f['me'])return new Promise(_0x2d9992=>_0x59991f['on'](_0x10e1f4(0x121),_0x2d9992));})[_0xe357c9(0x11c)](_0x49bb94=>{const _0x4b1493=_0xe357c9;throw console[_0x4b1493(0x118)](_0x49bb94),new _0x289be0(_0x4b1493(0x114),null,{'originalError':_0x49bb94});});}[_0x8f477f(0x11a)](_0x2fdfd6){const _0x53ef31=_0x8f477f;if(_0x53ef31(0x11b)!=typeof _0x2fdfd6[_0x53ef31(0x149)])throw new _0x289be0(_0x53ef31(0x150),this);if(this[_0x53ef31(0x131)](_0x2fdfd6))throw new _0x289be0(_0x53ef31(0x13d),this,{'name':_0x2fdfd6[_0x53ef31(0x142)][_0x53ef31(0x12d)]});this[_0x53ef31(0x125)][_0x53ef31(0x13a)](_0x2fdfd6);}[_0x8f477f(0x15e)](_0x5da2cf){const _0x538291=_0x8f477f;this[_0x538291(0x125)][_0x538291(0x13e)](_0x5da2cf);}[_0x8f477f(0x131)](_0x463568){const _0x52c7fc=_0x8f477f;return this[_0x52c7fc(0x125)][_0x52c7fc(0x123)](_0x463568);}[_0x8f477f(0x12e)](){const _0x41b6c3=_0x8f477f;return this[_0x41b6c3(0x119)][_0x41b6c3(0x149)]()[_0x41b6c3(0x141)](()=>Promise[_0x41b6c3(0x155)](Array[_0x41b6c3(0x14c)](this[_0x41b6c3(0x125)],_0x2d2ce8=>_0x2d2ce8[_0x41b6c3(0x149)]())))[_0x41b6c3(0x141)](()=>this[_0x41b6c3(0x147)]=_0x574688[_0x41b6c3(0x138)])[_0x41b6c3(0x11c)](_0x428167=>{const _0x3688c0=_0x41b6c3;throw console[_0x3688c0(0x118)](_0x428167),new _0x289be0(_0x3688c0(0x158),this[_0x3688c0(0x159)]);});}[_0x8f477f(0x152)](){const _0x23d769=_0x8f477f;this[_0x23d769(0x119)]&&this[_0x23d769(0x119)][_0x23d769(0x152)](),this[_0x23d769(0x147)]=_0x574688[_0x23d769(0x128)],this[_0x23d769(0x156)][_0x23d769(0x140)]();}[_0x8f477f(0x15b)](){const _0x5a64eb=_0x8f477f;this[_0x5a64eb(0x152)](),super[_0x5a64eb(0x15b)]();}}export{n as WebSocketGateway};function _0x33cb(){const _0x51156a=['context','Connected\x20users\x20limit\x20exceeded','destroy','_shouldPluginsReconnect','define','removeFromReconnectionStack','cloudservices-init','41117274JyRcMc','init','4917918UsijBy','error','connection','addToReconnectionStack','function','catch','4080185jYXsIK','bind','4JsOXUx','offline','change:me','websocketgateway-missing-websocket-url','has','isOfficialPlugin','_reconnectionStack','showWarning','limitExceeded','DISCONNECTED','config','initialReconnectionInterval','WebSocketGateway','1711627DmoUiu','pluginName','_reconnect','get','set','isInReconnectionStack','connected','CONNECTING','7390etsWnR','listenTo','cloudServices.requestTimeout','websocketgateway-missing-token','CONNECTED','webSocketUrl','add','2IwSfKQ','CloudServices','websocketgateway-plugin-already-registered','delete','7oWBIZx','stopListening','then','constructor','cloudServices.connectionTimeout','3843rVenYh','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.','token','state','1894845ntSLUD','reconnect','requires','online','from','real-time-collaboration','plugins','6531488svLzJi','websocketgateway-invalid-plugin-interface','connect','disconnect','code','isPremiumPlugin','all','_domEmitter','_isBrowserOffline','cloudservices-reconnection-error'];_0x33cb=function(){return _0x51156a;};return _0x33cb();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46f8(){const _0x2ba759=['buildRevisionData','RevisionTracker','createdAt','_fixRevision','keys','off','bind','once','code','1791858OzIVYK','serverHistory','getUser','has','get','isPremiumPlugin','_oldOffset','400','_offset','_lastRequestId','cloud-services-internal-error:\x20Request\x20timeout.','then','16223390PogSgn','currentRevision','max','type','editor','_startingVersion','_revisions','CONNECTED','marker','isBundleUploaded','getOperations','updateRevisions','config','wrongRequestId','13177791wTBvDP','connect','affectsData','getRevision','cloud-services-internal-error:\x20Not\x20connected.','reInit','reverse','sessionId','data','plugins','280eupKWi','collaboration.channelId','isEmptyCurrent','length','_preventResendingRevisionData','isConnected','4081DAMIgg','pluginName','add','setRevisionData','_createCurrentRevision','creatorId','state','message','setSource','_handleRevisionsUpdate','RevisionHistoryService','listenTo','_fetchMissingUsers','startsWith','CloudServicesRevisionHistoryAdapter','adapter','_bufferedUpdates','_getLatestVersion','_revisionHistoryService','baseVersion','fromVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','cloudServices.bundleVersion','requires','_waitForServiceReady','_bufferUpdate','map','remove','8vmhlkN','connected','from','destroy','getMany','addToReconnectionStack','2130UucVMl','addUser','isOfficialPlugin','change:_isConnected','getRevisions','1366529reXSmU','_isConnected','sendBufferedUpdates','_handleReconnectionError','toVersion','_getLatestVersionFromServerOperations','3832dhLYyv','init','isEnabled','authors','change:_isPendingUpdate','_revisionTracker','authorsIds','connection','reconnect','RevisionHistory','addRevisionData','_update','repository','diffData','_isPendingUpdate','revisionsUpdated','catch','size','_revisionDataBuilder','330810sdxgoR'];_0x46f8=function(){return _0x2ba759;};return _0x46f8();}const _0xf5547e=_0x127a;(function(_0x5ef7ad,_0x171854){const _0x51d778=_0x127a,_0x502ba8=_0x5ef7ad();while(!![]){try{const _0x457237=-parseInt(_0x51d778(0x154))/0x1+parseInt(_0x51d778(0x16d))/0x2+parseInt(_0x51d778(0x177))/0x3*(-parseInt(_0x51d778(0x149))/0x4)+-parseInt(_0x51d778(0x19b))/0x5*(-parseInt(_0x51d778(0x14f))/0x6)+parseInt(_0x51d778(0x1a1))/0x7*(parseInt(_0x51d778(0x15a))/0x8)+parseInt(_0x51d778(0x191))/0x9+parseInt(_0x51d778(0x183))/0xa;if(_0x457237===_0x171854)break;else _0x502ba8['push'](_0x502ba8['shift']());}catch(_0x2685ab){_0x502ba8['push'](_0x502ba8['shift']());}}}(_0x46f8,0xf1b1b));import{Plugin as _0x2aea87}from'ckeditor5/src/core.js';import{version as _0x53ba24}from'ckeditor5/src/utils.js';import{Users as _0x341a77}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4fa7fc}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x818f3f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4bccc1}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4c4be3,RevisionHistoryService as _0x5a893c,User as _0x3160c3,WEB_SOCKET_GATEWAY_STATES as _0x1125a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x127a(_0x5b6e36,_0x16dcd9){const _0x46f82d=_0x46f8();return _0x127a=function(_0x127a3a,_0x2a1ac1){_0x127a3a=_0x127a3a-0x142;let _0x4afcff=_0x46f82d[_0x127a3a];return _0x4afcff;},_0x127a(_0x5b6e36,_0x16dcd9);}class c extends _0x2aea87{static [_0xf5547e(0x1ab)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5a893c)());[_0xf5547e(0x180)];[_0xf5547e(0x15f)];[_0xf5547e(0x1b3)];[_0xf5547e(0x17d)];static get[_0xf5547e(0x144)](){const _0x4a7e65=_0xf5547e;return[_0x818f3f,_0x4fa7fc,_0x4a7e65(0x163),_0x4bccc1,_0x341a77];}static get[_0xf5547e(0x1a2)](){const _0x1177bd=_0xf5547e;return _0x1177bd(0x1af);}static get[_0xf5547e(0x151)](){return!0x0;}static get[_0xf5547e(0x17c)](){return!0x0;}constructor(_0x1fec85){const _0x51ab6f=_0xf5547e;super(_0x1fec85);const _0x180828=this[_0x51ab6f(0x187)][_0x51ab6f(0x18f)][_0x51ab6f(0x17b)](_0x51ab6f(0x19c));this[_0x51ab6f(0x180)]=null,this[_0x51ab6f(0x15f)]=this[_0x51ab6f(0x187)][_0x51ab6f(0x19a)][_0x51ab6f(0x17b)](_0x51ab6f(0x16f)),this[_0x51ab6f(0x1b3)]=new c[(_0x51ab6f(0x1ab))](_0x180828);}async[_0xf5547e(0x15b)](){const _0xbdb78=_0xf5547e,_0x463491=this[_0xbdb78(0x187)][_0xbdb78(0x19a)][_0xbdb78(0x17b)](_0x4fa7fc),_0x49de4d=_0x463491[_0xbdb78(0x178)],_0x4abfe0=this[_0xbdb78(0x187)][_0xbdb78(0x19a)][_0xbdb78(0x17b)](_0x818f3f);this[_0xbdb78(0x15f)][_0xbdb78(0x1a9)]({'history':_0x49de4d,'getLatestVersion':()=>this[_0xbdb78(0x1b2)](),'getCurrentRevisionId':()=>_0x463491[_0xbdb78(0x198)]});const _0x5b5b0b=this[_0xbdb78(0x187)][_0xbdb78(0x18f)][_0xbdb78(0x17b)](_0xbdb78(0x143))||_0x53ba24,_0x5d8d9c=await _0x4c4be3[_0xbdb78(0x18c)](_0x4abfe0[_0xbdb78(0x161)],_0x5b5b0b);this[_0xbdb78(0x187)][_0xbdb78(0x19a)][_0xbdb78(0x17b)](_0xbdb78(0x163))[_0xbdb78(0x1b0)]={'getRevision':async({revisionId:_0x572fe7})=>(await this[_0xbdb78(0x145)](),await this[_0xbdb78(0x1b3)][_0xbdb78(0x194)](_0x572fe7)),'updateRevisions':async _0x5f49af=>{const _0x422d50=_0xbdb78;await this[_0x422d50(0x145)]();const _0x1018b6=this[_0x422d50(0x15f)][_0x422d50(0x184)];if(_0x5d8d9c&&0x1===_0x5f49af[_0x422d50(0x19e)]&&_0x5f49af[0x0]['id']===_0x1018b6['id'])return _0x5f49af;for(const _0x5e2b1e of _0x5f49af)_0x5e2b1e['id']===_0x1018b6['id']&&(_0x5e2b1e[_0x422d50(0x19d)]=_0x5e2b1e[_0x422d50(0x1b5)]===_0x5e2b1e[_0x422d50(0x158)]);return this[_0x422d50(0x1b3)][_0x422d50(0x18e)](_0x5f49af,this[_0x422d50(0x180)])[_0x422d50(0x182)](_0x43cbaa=>(this[_0x422d50(0x180)]=_0x43cbaa,_0x5f49af))[_0x422d50(0x16a)](_0x20a016=>{const _0x448540=_0x422d50;if(et(_0x20a016)||_0x448540(0x17e)===_0x20a016[_0x448540(0x176)]&&void 0x0!==_0x20a016[_0x448540(0x199)][_0x448540(0x190)]){for(const _0x5d86ef of _0x5f49af){!this[_0x448540(0x15f)][_0x448540(0x166)][_0x448540(0x194)](_0x5d86ef['id'])||this[_0x448540(0x15f)][_0x448540(0x146)](_0x5d86ef['id'],_0x5d86ef,!0x1);}if(et(_0x20a016))throw _0x20a016;return _0x5f49af;}throw _0x20a016;});}},this[_0xbdb78(0x1ac)](this[_0xbdb78(0x1b3)],_0xbdb78(0x169),(_0x31fe5d,{revisionsData:_0x46def7,requestId:_0x3159e0})=>{const _0x1c179a=_0xbdb78;Math[_0x1c179a(0x185)](..._0x46def7[_0x1c179a(0x147)](_0x122dd2=>_0x122dd2[_0x1c179a(0x158)]))>this[_0x1c179a(0x159)]()-0x1?this[_0x1c179a(0x1b2)]()[_0x1c179a(0x182)](()=>{const _0x281689=_0x1c179a;this[_0x281689(0x1aa)](_0x46def7,_0x3159e0);}):this[_0x1c179a(0x1aa)](_0x46def7,_0x3159e0);});const {revisions:_0x4016a4,requestId:_0x21a5bd}=await this[_0xbdb78(0x1b3)][_0xbdb78(0x192)](_0x4abfe0[_0xbdb78(0x161)]);_0x4abfe0[_0xbdb78(0x14e)](this),this[_0xbdb78(0x180)]=_0x21a5bd,await this[_0xbdb78(0x1ad)](_0x4016a4);for(const _0x34e2a2 of _0x4016a4)this[_0xbdb78(0x15f)][_0xbdb78(0x164)](_0x34e2a2);this[_0xbdb78(0x1ac)](_0x463491,_0xbdb78(0x152),(_0x3564cf,_0x28aa2a,_0x28bb00)=>{const _0x3bcc91=_0xbdb78;_0x28bb00&&(this[_0x3bcc91(0x17d)]=_0x463491[_0x3bcc91(0x17f)],_0x3564cf[_0x3bcc91(0x173)]());}),this[_0xbdb78(0x15f)][_0xbdb78(0x174)](_0xbdb78(0x15c))['to'](_0x4abfe0,_0xbdb78(0x1a7),_0x450881=>_0x450881===_0x1125a8[_0xbdb78(0x18a)]);}async[_0xf5547e(0x162)](){const _0x30f0a9=_0xf5547e,_0x1216a2=this[_0x30f0a9(0x187)][_0x30f0a9(0x19a)][_0x30f0a9(0x17b)](_0x818f3f),_0x1e470a=this[_0x30f0a9(0x187)][_0x30f0a9(0x19a)][_0x30f0a9(0x17b)](_0x4fa7fc),_0x23270f=async()=>{const _0xcc8243=_0x30f0a9,_0x2b4831=this[_0xcc8243(0x15f)][_0xcc8243(0x184)],_0x28d891=_0x2b4831['id'],_0x267067=_0x28d891!==_0x1e470a[_0xcc8243(0x198)];if(_0x267067){const _0x11dd64=_0x1e470a[_0xcc8243(0x17f)]-this[_0xcc8243(0x17d)],_0x71c1d6=this[_0xcc8243(0x159)]();this[_0xcc8243(0x15f)][_0xcc8243(0x16c)][_0xcc8243(0x196)]();if(_0x2b4831[_0xcc8243(0x158)]+_0x11dd64!==_0x71c1d6){const _0x402bd2=_0x2b4831[_0xcc8243(0x1b5)]+_0x11dd64,_0x29cc7b=this[_0xcc8243(0x187)][_0xcc8243(0x19a)][_0xcc8243(0x17b)](_0x341a77),_0x51f2de=this[_0xcc8243(0x15f)][_0xcc8243(0x16e)]({'revision':_0x2b4831,'from':_0x402bd2,'to':_0x71c1d6});_0x51f2de['id']=_0x2b4831['id'];const _0x1a2ae3=_0x51f2de[_0xcc8243(0x160)][_0xcc8243(0x147)](_0x298a67=>_0x29cc7b[_0xcc8243(0x179)](_0x298a67));_0x2b4831[_0xcc8243(0x165)]({..._0x51f2de,'authors':_0x1a2ae3},!0x0),this[_0xcc8243(0x15f)][_0xcc8243(0x146)](_0x2b4831['id'],_0x51f2de,!0x0);}this[_0xcc8243(0x15f)][_0xcc8243(0x188)]=_0x71c1d6,(_0x2b4831[_0xcc8243(0x158)]===_0x2b4831[_0xcc8243(0x1b5)]&&!this[_0xcc8243(0x15f)][_0xcc8243(0x1b1)][_0xcc8243(0x17a)](_0x28d891)&&this[_0xcc8243(0x15f)][_0xcc8243(0x166)][_0xcc8243(0x189)][_0xcc8243(0x148)](_0x28d891),this[_0xcc8243(0x15f)][_0xcc8243(0x1a5)](_0x71c1d6));}const {revisions:_0x1c2037,requestId:_0x4c7757}=await this[_0xcc8243(0x1b3)][_0xcc8243(0x162)](_0x1216a2[_0xcc8243(0x161)],this[_0xcc8243(0x180)]);_0x267067&&_0x1c2037[_0xcc8243(0x19e)]>0x0?_0x1e470a[_0xcc8243(0x157)]():(await this[_0xcc8243(0x1ad)](_0x1c2037),this[_0xcc8243(0x1aa)](_0x1c2037,_0x4c7757),this[_0xcc8243(0x15f)][_0xcc8243(0x156)]());};return _0x1e470a[_0x30f0a9(0x155)]?_0x23270f():new Promise((_0x215b3b,_0x1c9dad)=>{const _0x320f86=_0x30f0a9;_0x1e470a[_0x320f86(0x175)](_0x320f86(0x152),()=>{const _0x498f19=_0x320f86;_0x23270f()[_0x498f19(0x182)](_0x215b3b)[_0x498f19(0x16a)](_0x1c9dad);});});}[_0xf5547e(0x14c)](){const _0x58d810=_0xf5547e;super[_0x58d810(0x14c)]();}async[_0xf5547e(0x145)](){const _0x5be70d=_0xf5547e;this[_0x5be70d(0x1b3)][_0x5be70d(0x1a0)]||await new Promise(_0x50c843=>{const _0x5686e2=_0x5be70d;this[_0x5686e2(0x1ac)](this[_0x5686e2(0x1b3)],_0x5686e2(0x14a),_0x4b157b=>{const _0x45d631=_0x5686e2;_0x4b157b[_0x45d631(0x173)](),_0x50c843();});});}[_0xf5547e(0x159)](){const _0x5c3891=_0xf5547e,_0x5dc7a4=this[_0x5c3891(0x187)][_0x5c3891(0x19a)][_0x5c3891(0x17b)](_0x4fa7fc)[_0x5c3891(0x178)][_0x5c3891(0x18d)]()[_0x5c3891(0x197)]();for(const _0x434f1b of _0x5dc7a4)if(_0x5c3891(0x18b)!==_0x434f1b[_0x5c3891(0x186)]||_0x434f1b[_0x5c3891(0x193)])return _0x434f1b[_0x5c3891(0x1b4)]+0x1;}[_0xf5547e(0x1b2)](){const _0x4c0b29=_0xf5547e,_0x3125ee=this[_0x4c0b29(0x187)][_0x4c0b29(0x19a)][_0x4c0b29(0x17b)](_0x4fa7fc);return new Promise(_0xa737f5=>{const _0x26d1f8=_0x4c0b29;_0x3125ee[_0x26d1f8(0x168)]?_0x3125ee[_0x26d1f8(0x175)](_0x26d1f8(0x15e),()=>{const _0x205874=_0x26d1f8;_0xa737f5(this[_0x205874(0x159)]());}):_0xa737f5(this[_0x26d1f8(0x159)]());});}[_0xf5547e(0x1aa)](_0x496a00,_0x5882b1){const _0x530f12=_0xf5547e,_0x120b1a=this[_0x530f12(0x15f)][_0x530f12(0x166)];this[_0x530f12(0x180)]=_0x5882b1;for(const _0x5673f4 of _0x496a00){const _0x4640a8=_0x120b1a[_0x530f12(0x194)](_0x5673f4['id']);if(_0x4640a8){if((_0x5673f4[_0x530f12(0x1b5)]||_0x5673f4[_0x530f12(0x158)])&&(_0x5673f4[_0x530f12(0x167)]=null),_0x4640a8===this[_0x530f12(0x15f)][_0x530f12(0x184)]){const _0x1620e7=Math[_0x530f12(0x185)](_0x4640a8[_0x530f12(0x158)],_0x5673f4[_0x530f12(0x158)]),_0x39c5a7=Math[_0x530f12(0x185)](_0x4640a8[_0x530f12(0x1b5)],_0x5673f4[_0x530f12(0x1b5)]);let _0x2029aa;_0x4640a8[_0x530f12(0x158)]===_0x5673f4[_0x530f12(0x158)]&&_0x4640a8[_0x530f12(0x1b5)]===_0x5673f4[_0x530f12(0x1b5)]?(_0x2029aa=!0x0,this[_0x530f12(0x19f)](_0x5673f4)):_0x5673f4[_0x530f12(0x158)]===_0x1620e7&&_0x5673f4[_0x530f12(0x1b5)]===_0x39c5a7?_0x2029aa=!0x1:(_0x4640a8[_0x530f12(0x158)]===_0x1620e7&&_0x4640a8[_0x530f12(0x1b5)]===_0x39c5a7||this[_0x530f12(0x171)]({'revision':_0x4640a8,'from':_0x39c5a7,'to':_0x1620e7}),_0x2029aa=!0x0),_0x2029aa&&(delete _0x5673f4[_0x530f12(0x1b5)],delete _0x5673f4[_0x530f12(0x158)],delete _0x5673f4[_0x530f12(0x167)],delete _0x5673f4[_0x530f12(0x170)],delete _0x5673f4[_0x530f12(0x160)]);}this[_0x530f12(0x15f)][_0x530f12(0x1a4)](_0x5673f4),this[_0x530f12(0x19f)](_0x5673f4);}else this[_0x530f12(0x15f)][_0x530f12(0x164)](_0x5673f4);}const _0x215a5d=_0x120b1a[_0x530f12(0x153)]();_0x215a5d[_0x530f12(0x197)]();for(let _0x3f5d83=0x0;_0x3f5d83<_0x215a5d[_0x530f12(0x19e)]-0x1;_0x3f5d83++){const _0xeaaeb9=_0x215a5d[_0x3f5d83],_0x11124c=_0x215a5d[_0x3f5d83+0x1];if(_0xeaaeb9[_0x530f12(0x1b5)]<_0x11124c[_0x530f12(0x158)]){const _0x248ded=_0x11124c[_0x530f12(0x158)],_0x2c985b=Math[_0x530f12(0x185)](_0x248ded,_0xeaaeb9[_0x530f12(0x158)]);this[_0x530f12(0x171)]({'revision':_0xeaaeb9,'from':_0x248ded,'to':_0x2c985b});}}}[_0xf5547e(0x171)]({revision:_0x2c1f36,from:_0x39876c,to:_0x1cd208}={}){const _0x5a1aa1=_0xf5547e,_0x1bed95=this[_0x5a1aa1(0x187)][_0x5a1aa1(0x19a)][_0x5a1aa1(0x17b)](_0x341a77),_0x571ee6=this[_0x5a1aa1(0x15f)][_0x5a1aa1(0x16e)]({'revision':_0x2c1f36,'from':_0x39876c,'to':_0x1cd208});_0x571ee6[_0x5a1aa1(0x15d)]=_0x571ee6[_0x5a1aa1(0x160)][_0x5a1aa1(0x147)](_0x379152=>_0x1bed95[_0x5a1aa1(0x179)](_0x379152)),_0x2c1f36[_0x5a1aa1(0x165)](_0x571ee6);}[_0xf5547e(0x19f)](_0x280a55){const _0x231b0a=_0xf5547e,_0x487ff7={};_0x487ff7['id']=_0x280a55['id'];for(const _0x4560aa of Object[_0x231b0a(0x172)](_0x280a55))'id'!==_0x4560aa&&(_0x487ff7[_0x4560aa]=void 0x0);this[_0x231b0a(0x15f)][_0x231b0a(0x146)](_0x487ff7['id'],_0x487ff7,!0x0);}async[_0xf5547e(0x1ad)](_0x3dd45f){const _0x55ea80=_0xf5547e,_0xf41dbe=this[_0x55ea80(0x187)][_0x55ea80(0x19a)][_0x55ea80(0x17b)](_0x341a77),{connection:_0x3a1b50}=this[_0x55ea80(0x187)][_0x55ea80(0x19a)][_0x55ea80(0x17b)](_0x818f3f),_0x4c1a0b=new Set();for(const _0x3f8781 of _0x3dd45f){for(const _0x5a1270 of _0x3f8781[_0x55ea80(0x160)])_0x472261(_0x5a1270);_0x3f8781[_0x55ea80(0x1a6)]&&_0x472261(_0x3f8781[_0x55ea80(0x1a6)]);}if(0x0===_0x4c1a0b[_0x55ea80(0x16b)])return;const _0x125402=await _0x3160c3[_0x55ea80(0x14d)](_0x3a1b50,Array[_0x55ea80(0x14b)](_0x4c1a0b));for(const _0x270ad4 of _0x125402)_0xf41dbe[_0x55ea80(0x179)](_0x270ad4['id'])||_0xf41dbe[_0x55ea80(0x150)](_0x270ad4);function _0x472261(_0x51feb8){const _0x21a5cf=_0x55ea80;_0xf41dbe[_0x21a5cf(0x179)](_0x51feb8)||_0x4c1a0b[_0x21a5cf(0x1a3)](_0x51feb8);}}}export{c as CloudServicesRevisionHistoryAdapter};function et(_0x33f7e7){const _0x39b2b9=_0xf5547e;return _0x33f7e7[_0x39b2b9(0x1a8)][_0x39b2b9(0x1ae)](_0x39b2b9(0x142))||_0x33f7e7[_0x39b2b9(0x1a8)][_0x39b2b9(0x1ae)](_0x39b2b9(0x195))||_0x33f7e7[_0x39b2b9(0x1a8)][_0x39b2b9(0x1ae)](_0x39b2b9(0x181));}
23
+ const _0x1b0b12=_0x36a9;(function(_0x5b3b37,_0x520f43){const _0x5e5080=_0x36a9,_0x4d4b20=_0x5b3b37();while(!![]){try{const _0x2f2ab0=parseInt(_0x5e5080(0x233))/0x1+-parseInt(_0x5e5080(0x238))/0x2*(-parseInt(_0x5e5080(0x22b))/0x3)+-parseInt(_0x5e5080(0x22d))/0x4*(parseInt(_0x5e5080(0x1e5))/0x5)+parseInt(_0x5e5080(0x1fe))/0x6+-parseInt(_0x5e5080(0x208))/0x7+parseInt(_0x5e5080(0x1fb))/0x8+parseInt(_0x5e5080(0x219))/0x9*(-parseInt(_0x5e5080(0x216))/0xa);if(_0x2f2ab0===_0x520f43)break;else _0x4d4b20['push'](_0x4d4b20['shift']());}catch(_0x2b22b1){_0x4d4b20['push'](_0x4d4b20['shift']());}}}(_0x111e,0x7a913));import{Plugin as _0x337306}from'ckeditor5/src/core.js';function _0x111e(){const _0x5376fc=['addToReconnectionStack','_createCurrentRevision','_revisionTracker','get','_isPendingUpdate','connect','isEnabled','isConnected','_oldOffset','_handleReconnectionError','state','once','plugins','RevisionHistoryService','bind','_handleRevisionsUpdate','65PFJTri','_bufferUpdate','toVersion','add','serverHistory','change:_isConnected','setSource','buildRevisionData','type','creatorId','message','isPremiumPlugin','authorsIds','_isConnected','fromVersion','startsWith','setRevisionData','addUser','connected','marker','CONNECTED','reverse','3472032qKgQYm','then','keys','2937252EeLRYU','listenTo','authors','collaboration.channelId','isBundleUploaded','getRevision','off','_revisionDataBuilder','init','_preventResendingRevisionData','1090551soiObq','size','RevisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','max','map','RevisionHistory','reconnect','getUser','affectsData','_fixRevision','cloudServices.bundleVersion','_waitForServiceReady','baseVersion','110LQvXZa','_fetchMissingUsers','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','433746bKdyhx','editor','getMany','revisionsUpdated','data','length','sendBufferedUpdates','has','CloudServicesRevisionHistoryAdapter','requires','createdAt','updateRevisions','change:_isPendingUpdate','_update','_offset','isOfficialPlugin','_bufferedUpdates','400','59253WGmHBT','pluginName','64084YsSEYX','wrongRequestId','addRevisionData','repository','_getLatestVersionFromServerOperations','sessionId','235677NoNnXO','_startingVersion','getRevisions','remove','adapter','24KnsOBD','config','code','getOperations','diffData','reInit','catch','connection','_getLatestVersion','_revisions','destroy','_revisionHistoryService','from','isEmptyCurrent','_lastRequestId','cloud-services-internal-error:\x20Not\x20connected.','currentRevision'];_0x111e=function(){return _0x5376fc;};return _0x111e();}import{version as _0x836337}from'ckeditor5/src/utils.js';import{Users as _0x421c3c}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0xa8159a}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x45d406}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5dabc2}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5d8d26,RevisionHistoryService as _0x774685,User as _0x443252,WEB_SOCKET_GATEWAY_STATES as _0xb7c369}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x337306{static [_0x1b0b12(0x1e2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x774685)());[_0x1b0b12(0x246)];[_0x1b0b12(0x1d7)];[_0x1b0b12(0x243)];[_0x1b0b12(0x1dd)];static get[_0x1b0b12(0x222)](){const _0x1e23f7=_0x1b0b12;return[_0x45d406,_0xa8159a,_0x1e23f7(0x20e),_0x5dabc2,_0x421c3c];}static get[_0x1b0b12(0x22c)](){const _0x545cbb=_0x1b0b12;return _0x545cbb(0x221);}static get[_0x1b0b12(0x228)](){return!0x0;}static get[_0x1b0b12(0x1f0)](){return!0x0;}constructor(_0x1ec47a){const _0x4fecdd=_0x1b0b12;super(_0x1ec47a);const _0x11715c=this[_0x4fecdd(0x21a)][_0x4fecdd(0x239)][_0x4fecdd(0x1d8)](_0x4fecdd(0x201));this[_0x4fecdd(0x246)]=null,this[_0x4fecdd(0x1d7)]=this[_0x4fecdd(0x21a)][_0x4fecdd(0x1e1)][_0x4fecdd(0x1d8)](_0x4fecdd(0x20a)),this[_0x4fecdd(0x243)]=new c[(_0x4fecdd(0x1e2))](_0x11715c);}async[_0x1b0b12(0x206)](){const _0x432602=_0x1b0b12,_0x368802=this[_0x432602(0x21a)][_0x432602(0x1e1)][_0x432602(0x1d8)](_0xa8159a),_0x10b7c7=_0x368802[_0x432602(0x1e9)],_0x2cdb20=this[_0x432602(0x21a)][_0x432602(0x1e1)][_0x432602(0x1d8)](_0x45d406);this[_0x432602(0x1d7)][_0x432602(0x1eb)]({'history':_0x10b7c7,'getLatestVersion':()=>this[_0x432602(0x240)](),'getCurrentRevisionId':()=>_0x368802[_0x432602(0x232)]});const _0x5b273a=this[_0x432602(0x21a)][_0x432602(0x239)][_0x432602(0x1d8)](_0x432602(0x213))||_0x836337,_0x5a1a87=await _0x5d8d26[_0x432602(0x202)](_0x2cdb20[_0x432602(0x23f)],_0x5b273a);this[_0x432602(0x21a)][_0x432602(0x1e1)][_0x432602(0x1d8)](_0x432602(0x20e))[_0x432602(0x237)]={'getRevision':async({revisionId:_0x304ce5})=>(await this[_0x432602(0x214)](),await this[_0x432602(0x243)][_0x432602(0x203)](_0x304ce5)),'updateRevisions':async _0x122ae1=>{const _0x550b10=_0x432602;await this[_0x550b10(0x214)]();const _0x1e8aa5=this[_0x550b10(0x1d7)][_0x550b10(0x248)];if(_0x5a1a87&&0x1===_0x122ae1[_0x550b10(0x21e)]&&_0x122ae1[0x0]['id']===_0x1e8aa5['id'])return _0x122ae1;for(const _0x5b5cdd of _0x122ae1)_0x5b5cdd['id']===_0x1e8aa5['id']&&(_0x5b5cdd[_0x550b10(0x245)]=_0x5b5cdd[_0x550b10(0x1f3)]===_0x5b5cdd[_0x550b10(0x1e7)]);return this[_0x550b10(0x243)][_0x550b10(0x224)](_0x122ae1,this[_0x550b10(0x246)])[_0x550b10(0x1fc)](_0x503b89=>(this[_0x550b10(0x246)]=_0x503b89,_0x122ae1))[_0x550b10(0x23e)](_0xfc7ee1=>{const _0x389dfe=_0x550b10;if(st(_0xfc7ee1)||_0x389dfe(0x22a)===_0xfc7ee1[_0x389dfe(0x23a)]&&void 0x0!==_0xfc7ee1[_0x389dfe(0x21d)][_0x389dfe(0x22e)]){for(const _0x578165 of _0x122ae1){!this[_0x389dfe(0x1d7)][_0x389dfe(0x230)][_0x389dfe(0x203)](_0x578165['id'])||this[_0x389dfe(0x1d7)][_0x389dfe(0x1e6)](_0x578165['id'],_0x578165,!0x1);}if(st(_0xfc7ee1))throw _0xfc7ee1;return _0x122ae1;}throw _0xfc7ee1;});}},this[_0x432602(0x1ff)](this[_0x432602(0x243)],_0x432602(0x21c),(_0xe81e46,{revisionsData:_0xcbf612,requestId:_0x24c8d9})=>{const _0x64b199=_0x432602;Math[_0x64b199(0x20c)](..._0xcbf612[_0x64b199(0x20d)](_0x2e9962=>_0x2e9962[_0x64b199(0x1e7)]))>this[_0x64b199(0x231)]()-0x1?this[_0x64b199(0x240)]()[_0x64b199(0x1fc)](()=>{const _0x339bc5=_0x64b199;this[_0x339bc5(0x1e4)](_0xcbf612,_0x24c8d9);}):this[_0x64b199(0x1e4)](_0xcbf612,_0x24c8d9);});const {revisions:_0xd3d95,requestId:_0x13dee1}=await this[_0x432602(0x243)][_0x432602(0x1da)](_0x2cdb20[_0x432602(0x23f)]);_0x2cdb20[_0x432602(0x1d5)](this),this[_0x432602(0x246)]=_0x13dee1,await this[_0x432602(0x217)](_0xd3d95);for(const _0x959d49 of _0xd3d95)this[_0x432602(0x1d7)][_0x432602(0x22f)](_0x959d49);this[_0x432602(0x1ff)](_0x368802,_0x432602(0x1ea),(_0x16b112,_0x38d687,_0x365b30)=>{const _0x115260=_0x432602;_0x365b30&&(this[_0x115260(0x1dd)]=_0x368802[_0x115260(0x227)],_0x16b112[_0x115260(0x204)]());}),this[_0x432602(0x1d7)][_0x432602(0x1e3)](_0x432602(0x1db))['to'](_0x2cdb20,_0x432602(0x1df),_0x2ae1a9=>_0x2ae1a9===_0xb7c369[_0x432602(0x1f9)]);}async[_0x1b0b12(0x20f)](){const _0x11bf41=_0x1b0b12,_0x1306b2=this[_0x11bf41(0x21a)][_0x11bf41(0x1e1)][_0x11bf41(0x1d8)](_0x45d406),_0x53709b=this[_0x11bf41(0x21a)][_0x11bf41(0x1e1)][_0x11bf41(0x1d8)](_0xa8159a),_0x5731e0=async()=>{const _0x140b5e=_0x11bf41,_0x4a2792=this[_0x140b5e(0x1d7)][_0x140b5e(0x248)],_0x95e8ae=_0x4a2792['id'],_0x26e33e=_0x95e8ae!==_0x53709b[_0x140b5e(0x232)];if(_0x26e33e){const _0x5e5533=_0x53709b[_0x140b5e(0x227)]-this[_0x140b5e(0x1dd)],_0x5ce242=this[_0x140b5e(0x231)]();this[_0x140b5e(0x1d7)][_0x140b5e(0x205)][_0x140b5e(0x23d)]();if(_0x4a2792[_0x140b5e(0x1e7)]+_0x5e5533!==_0x5ce242){const _0x3d1c8a=_0x4a2792[_0x140b5e(0x1f3)]+_0x5e5533,_0x3d0e5f=this[_0x140b5e(0x21a)][_0x140b5e(0x1e1)][_0x140b5e(0x1d8)](_0x421c3c),_0xecff16=this[_0x140b5e(0x1d7)][_0x140b5e(0x1ec)]({'revision':_0x4a2792,'from':_0x3d1c8a,'to':_0x5ce242});_0xecff16['id']=_0x4a2792['id'];const _0x5857a0=_0xecff16[_0x140b5e(0x1f1)][_0x140b5e(0x20d)](_0xb3b64=>_0x3d0e5f[_0x140b5e(0x210)](_0xb3b64));_0x4a2792[_0x140b5e(0x226)]({..._0xecff16,'authors':_0x5857a0},!0x0),this[_0x140b5e(0x1d7)][_0x140b5e(0x1e6)](_0x4a2792['id'],_0xecff16,!0x0);}this[_0x140b5e(0x1d7)][_0x140b5e(0x234)]=_0x5ce242,(_0x4a2792[_0x140b5e(0x1e7)]===_0x4a2792[_0x140b5e(0x1f3)]&&!this[_0x140b5e(0x1d7)][_0x140b5e(0x229)][_0x140b5e(0x220)](_0x95e8ae)&&this[_0x140b5e(0x1d7)][_0x140b5e(0x230)][_0x140b5e(0x241)][_0x140b5e(0x236)](_0x95e8ae),this[_0x140b5e(0x1d7)][_0x140b5e(0x1d6)](_0x5ce242));}const {revisions:_0x3098c1,requestId:_0x2c0248}=await this[_0x140b5e(0x243)][_0x140b5e(0x20f)](_0x1306b2[_0x140b5e(0x23f)],this[_0x140b5e(0x246)]);_0x26e33e&&_0x3098c1[_0x140b5e(0x21e)]>0x0?_0x53709b[_0x140b5e(0x1de)]():(await this[_0x140b5e(0x217)](_0x3098c1),this[_0x140b5e(0x1e4)](_0x3098c1,_0x2c0248),this[_0x140b5e(0x1d7)][_0x140b5e(0x21f)]());};return _0x53709b[_0x11bf41(0x1f2)]?_0x5731e0():new Promise((_0x1eb4d2,_0x1b7fdd)=>{const _0x4d3cfd=_0x11bf41;_0x53709b[_0x4d3cfd(0x1e0)](_0x4d3cfd(0x1ea),()=>{const _0x593725=_0x4d3cfd;_0x5731e0()[_0x593725(0x1fc)](_0x1eb4d2)[_0x593725(0x23e)](_0x1b7fdd);});});}[_0x1b0b12(0x242)](){const _0x118d54=_0x1b0b12;super[_0x118d54(0x242)]();}async[_0x1b0b12(0x214)](){const _0x35420d=_0x1b0b12;this[_0x35420d(0x243)][_0x35420d(0x1dc)]||await new Promise(_0x415ba8=>{const _0x3e404d=_0x35420d;this[_0x3e404d(0x1ff)](this[_0x3e404d(0x243)],_0x3e404d(0x1f7),_0x526479=>{const _0x41ff42=_0x3e404d;_0x526479[_0x41ff42(0x204)](),_0x415ba8();});});}[_0x1b0b12(0x231)](){const _0xbf076=_0x1b0b12,_0x47782d=this[_0xbf076(0x21a)][_0xbf076(0x1e1)][_0xbf076(0x1d8)](_0xa8159a)[_0xbf076(0x1e9)][_0xbf076(0x23b)]()[_0xbf076(0x1fa)]();for(const _0x54eb3a of _0x47782d)if(_0xbf076(0x1f8)!==_0x54eb3a[_0xbf076(0x1ed)]||_0x54eb3a[_0xbf076(0x211)])return _0x54eb3a[_0xbf076(0x215)]+0x1;}[_0x1b0b12(0x240)](){const _0x9babbc=_0x1b0b12,_0x56cd00=this[_0x9babbc(0x21a)][_0x9babbc(0x1e1)][_0x9babbc(0x1d8)](_0xa8159a);return new Promise(_0x32a58d=>{const _0x1fd7fa=_0x9babbc;_0x56cd00[_0x1fd7fa(0x1d9)]?_0x56cd00[_0x1fd7fa(0x1e0)](_0x1fd7fa(0x225),()=>{const _0x3ec7ae=_0x1fd7fa;_0x32a58d(this[_0x3ec7ae(0x231)]());}):_0x32a58d(this[_0x1fd7fa(0x231)]());});}[_0x1b0b12(0x1e4)](_0x98432a,_0x1a0342){const _0x29af21=_0x1b0b12,_0x3941d7=this[_0x29af21(0x1d7)][_0x29af21(0x230)];this[_0x29af21(0x246)]=_0x1a0342;for(const _0x4a9c8f of _0x98432a){const _0x39130a=_0x3941d7[_0x29af21(0x203)](_0x4a9c8f['id']);if(_0x39130a){if((_0x4a9c8f[_0x29af21(0x1f3)]||_0x4a9c8f[_0x29af21(0x1e7)])&&(_0x4a9c8f[_0x29af21(0x23c)]=null),_0x39130a===this[_0x29af21(0x1d7)][_0x29af21(0x248)]){const _0x2daf31=Math[_0x29af21(0x20c)](_0x39130a[_0x29af21(0x1e7)],_0x4a9c8f[_0x29af21(0x1e7)]),_0x35f45a=Math[_0x29af21(0x20c)](_0x39130a[_0x29af21(0x1f3)],_0x4a9c8f[_0x29af21(0x1f3)]);let _0x5eaee4;_0x39130a[_0x29af21(0x1e7)]===_0x4a9c8f[_0x29af21(0x1e7)]&&_0x39130a[_0x29af21(0x1f3)]===_0x4a9c8f[_0x29af21(0x1f3)]?(_0x5eaee4=!0x0,this[_0x29af21(0x207)](_0x4a9c8f)):_0x4a9c8f[_0x29af21(0x1e7)]===_0x2daf31&&_0x4a9c8f[_0x29af21(0x1f3)]===_0x35f45a?_0x5eaee4=!0x1:(_0x39130a[_0x29af21(0x1e7)]===_0x2daf31&&_0x39130a[_0x29af21(0x1f3)]===_0x35f45a||this[_0x29af21(0x212)]({'revision':_0x39130a,'from':_0x35f45a,'to':_0x2daf31}),_0x5eaee4=!0x0),_0x5eaee4&&(delete _0x4a9c8f[_0x29af21(0x1f3)],delete _0x4a9c8f[_0x29af21(0x1e7)],delete _0x4a9c8f[_0x29af21(0x23c)],delete _0x4a9c8f[_0x29af21(0x223)],delete _0x4a9c8f[_0x29af21(0x1f1)]);}this[_0x29af21(0x1d7)][_0x29af21(0x1f5)](_0x4a9c8f),this[_0x29af21(0x207)](_0x4a9c8f);}else this[_0x29af21(0x1d7)][_0x29af21(0x22f)](_0x4a9c8f);}const _0x10a0a6=_0x3941d7[_0x29af21(0x235)]();_0x10a0a6[_0x29af21(0x1fa)]();for(let _0x1fb27b=0x0;_0x1fb27b<_0x10a0a6[_0x29af21(0x21e)]-0x1;_0x1fb27b++){const _0x580adc=_0x10a0a6[_0x1fb27b],_0x809348=_0x10a0a6[_0x1fb27b+0x1];if(_0x580adc[_0x29af21(0x1f3)]<_0x809348[_0x29af21(0x1e7)]){const _0x17d689=_0x809348[_0x29af21(0x1e7)],_0x257196=Math[_0x29af21(0x20c)](_0x17d689,_0x580adc[_0x29af21(0x1e7)]);this[_0x29af21(0x212)]({'revision':_0x580adc,'from':_0x17d689,'to':_0x257196});}}}[_0x1b0b12(0x212)]({revision:_0x7a6d3f,from:_0x4bc882,to:_0x432b0a}={}){const _0x4bdef8=_0x1b0b12,_0x17e7bc=this[_0x4bdef8(0x21a)][_0x4bdef8(0x1e1)][_0x4bdef8(0x1d8)](_0x421c3c),_0x43e25d=this[_0x4bdef8(0x1d7)][_0x4bdef8(0x1ec)]({'revision':_0x7a6d3f,'from':_0x4bc882,'to':_0x432b0a});_0x43e25d[_0x4bdef8(0x200)]=_0x43e25d[_0x4bdef8(0x1f1)][_0x4bdef8(0x20d)](_0x12f61a=>_0x17e7bc[_0x4bdef8(0x210)](_0x12f61a)),_0x7a6d3f[_0x4bdef8(0x226)](_0x43e25d);}[_0x1b0b12(0x207)](_0x9632c9){const _0x5055ee=_0x1b0b12,_0x16382e={};_0x16382e['id']=_0x9632c9['id'];for(const _0x4d95af of Object[_0x5055ee(0x1fd)](_0x9632c9))'id'!==_0x4d95af&&(_0x16382e[_0x4d95af]=void 0x0);this[_0x5055ee(0x1d7)][_0x5055ee(0x1e6)](_0x16382e['id'],_0x16382e,!0x0);}async[_0x1b0b12(0x217)](_0x1fbf34){const _0x44b08e=_0x1b0b12,_0x4d99cf=this[_0x44b08e(0x21a)][_0x44b08e(0x1e1)][_0x44b08e(0x1d8)](_0x421c3c),{connection:_0x30f71d}=this[_0x44b08e(0x21a)][_0x44b08e(0x1e1)][_0x44b08e(0x1d8)](_0x45d406),_0xa013cd=new Set();for(const _0x3ace30 of _0x1fbf34){for(const _0x1d7c08 of _0x3ace30[_0x44b08e(0x1f1)])_0x13f2ab(_0x1d7c08);_0x3ace30[_0x44b08e(0x1ee)]&&_0x13f2ab(_0x3ace30[_0x44b08e(0x1ee)]);}if(0x0===_0xa013cd[_0x44b08e(0x209)])return;const _0x29e8bc=await _0x443252[_0x44b08e(0x21b)](_0x30f71d,Array[_0x44b08e(0x244)](_0xa013cd));for(const _0x4f5c55 of _0x29e8bc)_0x4d99cf[_0x44b08e(0x210)](_0x4f5c55['id'])||_0x4d99cf[_0x44b08e(0x1f6)](_0x4f5c55);function _0x13f2ab(_0xac8336){const _0x3cdda7=_0x44b08e;_0x4d99cf[_0x3cdda7(0x210)](_0xac8336)||_0xa013cd[_0x3cdda7(0x1e8)](_0xac8336);}}}export{c as CloudServicesRevisionHistoryAdapter};function _0x36a9(_0x3b0a42,_0x383a53){const _0x111e97=_0x111e();return _0x36a9=function(_0x36a96f,_0x29513d){_0x36a96f=_0x36a96f-0x1d5;let _0x5c1345=_0x111e97[_0x36a96f];return _0x5c1345;},_0x36a9(_0x3b0a42,_0x383a53);}function st(_0x20f930){const _0x57efea=_0x1b0b12;return _0x20f930[_0x57efea(0x1ef)][_0x57efea(0x1f4)](_0x57efea(0x218))||_0x20f930[_0x57efea(0x1ef)][_0x57efea(0x1f4)](_0x57efea(0x247))||_0x20f930[_0x57efea(0x1ef)][_0x57efea(0x1f4)](_0x57efea(0x20b));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10035a=_0x282a;function _0x5dc3(){const _0x2bcc34=['417210fpQCDM','getMany','init','addSuggestionData','28FNbCoU','TrackChangesEditing','addUser','listenTo','get','update','originalSuggestionId','103215XXERwx','addToReconnectionStack','_bufferedRequests','add','1422022WtAvbR','then','pluginName','values','startsWith','isPremiumPlugin','reconnect','cloud-services-internal-error:\x20Not\x20connected.','message','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','TrackChangesService','collaboration.channelId','from','requires','2816264HfEHJN','isConnected','18EqThDP','adapter','find','connect','size','editor','suggestionUpdated','getSuggestion','data','isOfficialPlugin','310980ZWHLnz','18jsjJpL','_fetchMissingUsersForThreads','connection','off','attributes','hasSuggestion','connected','_trackChangesService','delete','set','config','catch','CloudServicesTrackChangesAdapter','getUser','type','_saved','25376820jvfwvb','state','1732731ODSUCF','open','plugins'];_0x5dc3=function(){return _0x2bcc34;};return _0x5dc3();}(function(_0x4e16ec,_0x4425d0){const _0x58acd3=_0x282a,_0x48b92d=_0x4e16ec();while(!![]){try{const _0x468e46=-parseInt(_0x58acd3(0x152))/0x1+parseInt(_0x58acd3(0x12d))/0x2+parseInt(_0x58acd3(0x143))/0x3*(-parseInt(_0x58acd3(0x147))/0x4)+parseInt(_0x58acd3(0x14e))/0x5*(parseInt(_0x58acd3(0x12e))/0x6)+-parseInt(_0x58acd3(0x140))/0x7+-parseInt(_0x58acd3(0x121))/0x8*(-parseInt(_0x58acd3(0x123))/0x9)+parseInt(_0x58acd3(0x13e))/0xa;if(_0x468e46===_0x4425d0)break;else _0x48b92d['push'](_0x48b92d['shift']());}catch(_0x1d5a2b){_0x48b92d['push'](_0x48b92d['shift']());}}}(_0x5dc3,0xc73fa));import{Plugin as _0xe529ec}from'ckeditor5/src/core.js';import{User as _0x13b551,TrackChangesService as _0x469b7e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x175bbb}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x28bc1b}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2fa966}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x282a(_0x3400ad,_0x4b65cd){const _0x5dc37d=_0x5dc3();return _0x282a=function(_0x282a50,_0x160444){_0x282a50=_0x282a50-0x120;let _0x2c79b6=_0x5dc37d[_0x282a50];return _0x2c79b6;},_0x282a(_0x3400ad,_0x4b65cd);}class m extends _0xe529ec{static [_0x10035a(0x15d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x469b7e)());[_0x10035a(0x150)];[_0x10035a(0x135)];static get[_0x10035a(0x120)](){const _0x233822=_0x10035a;return[_0x28bc1b,_0x233822(0x148),_0x175bbb];}static get[_0x10035a(0x154)](){const _0x48b62d=_0x10035a;return _0x48b62d(0x13a);}static get[_0x10035a(0x12c)](){return!0x0;}static get[_0x10035a(0x157)](){return!0x0;}constructor(_0x4e7deb){const _0x1a405e=_0x10035a;super(_0x4e7deb);const _0x4f12e5=this[_0x1a405e(0x128)][_0x1a405e(0x138)][_0x1a405e(0x14b)](_0x1a405e(0x15e));this[_0x1a405e(0x150)]=new Map(),this[_0x1a405e(0x135)]=new m[(_0x1a405e(0x15d))](_0x4f12e5);}[_0x10035a(0x145)](){const _0x33679a=_0x10035a,_0x44dd01=this[_0x33679a(0x128)][_0x33679a(0x142)][_0x33679a(0x14b)](_0x175bbb),_0x5ab0f1=this[_0x33679a(0x128)][_0x33679a(0x142)][_0x33679a(0x14b)](_0x33679a(0x148));return _0x5ab0f1[_0x33679a(0x124)]={'getSuggestion':async _0x3e7765=>{const _0x2bd8f1=_0x33679a;await this[_0x2bd8f1(0x15b)]();const _0x6358d4=await this[_0x2bd8f1(0x135)][_0x2bd8f1(0x14b)](_0x3e7765)[_0x2bd8f1(0x139)](A);return await this[_0x2bd8f1(0x12f)]([_0x6358d4]),_0x6358d4;},'addSuggestion':async({id:_0x117734,type:_0x559bba,data:_0x4c5c20,originalSuggestionId:_0xc9c92c,attributes:_0x2e3bb0})=>{const _0x4ce867=_0x33679a;await this[_0x4ce867(0x15b)]();const _0x554272={'id':_0x117734,'type':_0x559bba,'data':_0x4c5c20,'originalSuggestionId':_0xc9c92c,'attributes':_0x2e3bb0},_0x2d0da3=await this[_0x4ce867(0x135)][_0x4ce867(0x151)](_0x117734,_0x559bba,_0x4c5c20,_0xc9c92c,_0x2e3bb0)[_0x4ce867(0x139)](_0x59dd05=>{if(et(_0x59dd05))return new Promise(_0x5a84b8=>{const _0x1e7205=_0x282a;this[_0x1e7205(0x150)][_0x1e7205(0x137)](_0x117734,{'resolve':_0x5a84b8,'suggestionData':_0x554272});});throw _0x59dd05;});return this[_0x4ce867(0x150)][_0x4ce867(0x136)](_0x117734),_0x2d0da3;},'updateSuggestion':async(_0xc068d8,_0xc36589)=>{const _0x534283=_0x33679a;if(await this[_0x534283(0x15b)](),_0x534283(0x141)!==_0xc36589[_0x534283(0x13f)])return this[_0x534283(0x135)][_0x534283(0x14c)](_0xc068d8,_0xc36589)[_0x534283(0x139)](A);}},this[_0x33679a(0x14a)](this[_0x33679a(0x135)],_0x33679a(0x129),(_0x1fbbb5,_0x33e626)=>{const _0x213c62=_0x33679a;_0x5ab0f1[_0x213c62(0x133)](_0x33e626['id'])&&(_0x5ab0f1[_0x213c62(0x12a)](_0x33e626['id'])[_0x213c62(0x132)]=_0x33e626[_0x213c62(0x132)]);}),this[_0x33679a(0x135)][_0x33679a(0x126)](_0x44dd01[_0x33679a(0x130)])[_0x33679a(0x153)](_0x240db9=>(_0x44dd01[_0x33679a(0x14f)](this),this[_0x33679a(0x12f)](_0x240db9)[_0x33679a(0x153)](()=>{const _0x55dd8e=_0x33679a;for(const _0x51bf2c of _0x240db9){_0x5ab0f1[_0x55dd8e(0x146)](_0x51bf2c)[_0x55dd8e(0x13d)]=!0x0;}})));}async[_0x10035a(0x158)](){const _0x9da87=_0x10035a,_0xf54522=this[_0x9da87(0x128)][_0x9da87(0x142)][_0x9da87(0x14b)](_0x9da87(0x148)),{connection:_0x162885}=this[_0x9da87(0x128)][_0x9da87(0x142)][_0x9da87(0x14b)](_0x175bbb),_0x19cf09=await this[_0x9da87(0x135)][_0x9da87(0x126)](_0x162885);await this[_0x9da87(0x12f)](_0x19cf09);for(const {suggestionData:_0x1681f2,resolve:_0x5eec8f}of this[_0x9da87(0x150)][_0x9da87(0x155)]()){let _0x6f9d99=_0x19cf09[_0x9da87(0x125)](_0x5b1567=>_0x5b1567['id']===_0x1681f2['id']);_0x6f9d99||(_0x6f9d99=await this[_0x9da87(0x135)][_0x9da87(0x151)](_0x1681f2['id'],_0x1681f2[_0x9da87(0x13c)],_0x1681f2[_0x9da87(0x12b)],_0x1681f2[_0x9da87(0x14d)])),_0x5eec8f(_0x6f9d99);}for(const _0x3c2960 of _0x19cf09)_0xf54522[_0x9da87(0x133)](_0x3c2960['id'])||_0xf54522[_0x9da87(0x146)](_0x3c2960);}async[_0x10035a(0x15b)](){const _0xa2ca7f=_0x10035a;this[_0xa2ca7f(0x135)][_0xa2ca7f(0x122)]||await new Promise(_0x1e7d75=>{const _0x1a80cd=_0xa2ca7f;this[_0x1a80cd(0x14a)](this[_0x1a80cd(0x135)],_0x1a80cd(0x134),_0x3828a7=>{const _0x3d1eff=_0x1a80cd;_0x3828a7[_0x3d1eff(0x131)](),_0x1e7d75();});});}async[_0x10035a(0x12f)](_0x45ec87){const _0x737960=_0x10035a,_0x36ed00=this[_0x737960(0x128)][_0x737960(0x142)][_0x737960(0x14b)](_0x2fa966),{connection:_0x2c478f}=this[_0x737960(0x128)][_0x737960(0x142)][_0x737960(0x14b)](_0x175bbb),_0x5e9dd3=new Set();for(const {authorId:_0x4f58d6}of _0x45ec87)_0x36ed00[_0x737960(0x13b)](_0x4f58d6)||_0x5e9dd3[_0x737960(0x151)](_0x4f58d6);if(0x0===_0x5e9dd3[_0x737960(0x127)])return;const _0x11277f=await _0x13b551[_0x737960(0x144)](_0x2c478f,Array[_0x737960(0x15f)](_0x5e9dd3));for(const _0x177957 of _0x11277f)_0x36ed00[_0x737960(0x13b)](_0x177957['id'])||_0x36ed00[_0x737960(0x149)](_0x177957);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x471098){if(et(_0x471098))return new Promise(()=>{});throw _0x471098;}function et(_0x4d592c){const _0x5af2e5=_0x10035a;return _0x4d592c[_0x5af2e5(0x15a)][_0x5af2e5(0x156)](_0x5af2e5(0x159))||_0x4d592c[_0x5af2e5(0x15a)][_0x5af2e5(0x156)](_0x5af2e5(0x15c));}
23
+ function _0x2c6b(){const _0x4b9369=['TrackChangesService','21xyZgHy','open','addUser','_fetchMissingUsersForThreads','get','set','8321139ugCnhE','reconnect','attributes','isConnected','895400qkGLqe','148766chjbQf','getUser','catch','message','CloudServicesTrackChangesAdapter','addToReconnectionStack','off','startsWith','2502860mSHHIx','1376545OyYSLv','init','suggestionUpdated','getSuggestion','then','state','find','update','_trackChangesService','isOfficialPlugin','connected','originalSuggestionId','from','plugins','pluginName','hasSuggestion','addSuggestionData','collaboration.channelId','_waitForServiceReady','add','size','data','21UblPNn','15EzqOUD','_bufferedRequests','getMany','cloud-services-internal-error:\x20Request\x20timeout.','delete','TrackChangesEditing','requires','connect','values','config','596396ToGPgR','isPremiumPlugin','1467125qiJQec','connection','cloud-services-internal-error:\x20Not\x20connected.','adapter','listenTo','_saved','editor','type','12MxBtUj'];_0x2c6b=function(){return _0x4b9369;};return _0x2c6b();}const _0x2f3dd6=_0x3987;(function(_0x3a851c,_0x5ea6db){const _0x5e700c=_0x3987,_0x1a629c=_0x3a851c();while(!![]){try{const _0x20149b=-parseInt(_0x5e700c(0xe0))/0x1*(-parseInt(_0x5e700c(0x101))/0x2)+-parseInt(_0x5e700c(0xf6))/0x3*(parseInt(_0x5e700c(0xea))/0x4)+-parseInt(_0x5e700c(0x10a))/0x5*(parseInt(_0x5e700c(0xf4))/0x6)+parseInt(_0x5e700c(0xdf))/0x7*(parseInt(_0x5e700c(0x100))/0x8)+parseInt(_0x5e700c(0xfc))/0x9+-parseInt(_0x5e700c(0x109))/0xa+parseInt(_0x5e700c(0xec))/0xb;if(_0x20149b===_0x5ea6db)break;else _0x1a629c['push'](_0x1a629c['shift']());}catch(_0x946b40){_0x1a629c['push'](_0x1a629c['shift']());}}}(_0x2c6b,0xa2525));import{Plugin as _0x52eb33}from'ckeditor5/src/core.js';import{User as _0x248659,TrackChangesService as _0x357112}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1ed95f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x45a52e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3ef7e6}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x52eb33{static [_0x2f3dd6(0xf5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x357112)());[_0x2f3dd6(0xe1)];[_0x2f3dd6(0x112)];static get[_0x2f3dd6(0xe6)](){const _0xbc8f51=_0x2f3dd6;return[_0x45a52e,_0xbc8f51(0xe5),_0x1ed95f];}static get[_0x2f3dd6(0x118)](){const _0x45f8cf=_0x2f3dd6;return _0x45f8cf(0x105);}static get[_0x2f3dd6(0x113)](){return!0x0;}static get[_0x2f3dd6(0xeb)](){return!0x0;}constructor(_0x21bae4){const _0x1e591c=_0x2f3dd6;super(_0x21bae4);const _0x499529=this[_0x1e591c(0xf2)][_0x1e591c(0xe9)][_0x1e591c(0xfa)](_0x1e591c(0x11b));this[_0x1e591c(0xe1)]=new Map(),this[_0x1e591c(0x112)]=new m[(_0x1e591c(0xf5))](_0x499529);}[_0x2f3dd6(0x10b)](){const _0x5b6caf=_0x2f3dd6,_0x1c6f3f=this[_0x5b6caf(0xf2)][_0x5b6caf(0x117)][_0x5b6caf(0xfa)](_0x1ed95f),_0x279e84=this[_0x5b6caf(0xf2)][_0x5b6caf(0x117)][_0x5b6caf(0xfa)](_0x5b6caf(0xe5));return _0x279e84[_0x5b6caf(0xef)]={'getSuggestion':async _0x1ccca1=>{const _0x1b7dfb=_0x5b6caf;await this[_0x1b7dfb(0x11c)]();const _0x32f919=await this[_0x1b7dfb(0x112)][_0x1b7dfb(0xfa)](_0x1ccca1)[_0x1b7dfb(0x103)](k);return await this[_0x1b7dfb(0xf9)]([_0x32f919]),_0x32f919;},'addSuggestion':async({id:_0x4bce42,type:_0x1094aa,data:_0x16e3ec,originalSuggestionId:_0x7951bb,attributes:_0x1cebdd})=>{const _0x17d881=_0x5b6caf;await this[_0x17d881(0x11c)]();const _0x2c68a2={'id':_0x4bce42,'type':_0x1094aa,'data':_0x16e3ec,'originalSuggestionId':_0x7951bb,'attributes':_0x1cebdd},_0x156db4=await this[_0x17d881(0x112)][_0x17d881(0x11d)](_0x4bce42,_0x1094aa,_0x16e3ec,_0x7951bb,_0x1cebdd)[_0x17d881(0x103)](_0x51e65d=>{if(st(_0x51e65d))return new Promise(_0x271f64=>{const _0x2a982b=_0x3987;this[_0x2a982b(0xe1)][_0x2a982b(0xfb)](_0x4bce42,{'resolve':_0x271f64,'suggestionData':_0x2c68a2});});throw _0x51e65d;});return this[_0x17d881(0xe1)][_0x17d881(0xe4)](_0x4bce42),_0x156db4;},'updateSuggestion':async(_0x290c2b,_0x3124f3)=>{const _0x41cd35=_0x5b6caf;if(await this[_0x41cd35(0x11c)](),_0x41cd35(0xf7)!==_0x3124f3[_0x41cd35(0x10f)])return this[_0x41cd35(0x112)][_0x41cd35(0x111)](_0x290c2b,_0x3124f3)[_0x41cd35(0x103)](k);}},this[_0x5b6caf(0xf0)](this[_0x5b6caf(0x112)],_0x5b6caf(0x10c),(_0x3d87ed,_0x2ede13)=>{const _0x339c70=_0x5b6caf;_0x279e84[_0x339c70(0x119)](_0x2ede13['id'])&&(_0x279e84[_0x339c70(0x10d)](_0x2ede13['id'])[_0x339c70(0xfe)]=_0x2ede13[_0x339c70(0xfe)]);}),this[_0x5b6caf(0x112)][_0x5b6caf(0xe7)](_0x1c6f3f[_0x5b6caf(0xed)])[_0x5b6caf(0x10e)](_0xfa1767=>(_0x1c6f3f[_0x5b6caf(0x106)](this),this[_0x5b6caf(0xf9)](_0xfa1767)[_0x5b6caf(0x10e)](()=>{const _0xc1a2ff=_0x5b6caf;for(const _0x280807 of _0xfa1767){_0x279e84[_0xc1a2ff(0x11a)](_0x280807)[_0xc1a2ff(0xf1)]=!0x0;}})));}async[_0x2f3dd6(0xfd)](){const _0x506522=_0x2f3dd6,_0x452dd7=this[_0x506522(0xf2)][_0x506522(0x117)][_0x506522(0xfa)](_0x506522(0xe5)),{connection:_0xac849}=this[_0x506522(0xf2)][_0x506522(0x117)][_0x506522(0xfa)](_0x1ed95f),_0x1d870b=await this[_0x506522(0x112)][_0x506522(0xe7)](_0xac849);await this[_0x506522(0xf9)](_0x1d870b);for(const {suggestionData:_0x5d6716,resolve:_0x411f0a}of this[_0x506522(0xe1)][_0x506522(0xe8)]()){let _0x42cf4d=_0x1d870b[_0x506522(0x110)](_0x3bc945=>_0x3bc945['id']===_0x5d6716['id']);_0x42cf4d||(_0x42cf4d=await this[_0x506522(0x112)][_0x506522(0x11d)](_0x5d6716['id'],_0x5d6716[_0x506522(0xf3)],_0x5d6716[_0x506522(0xde)],_0x5d6716[_0x506522(0x115)])),_0x411f0a(_0x42cf4d);}for(const _0x5d0278 of _0x1d870b)_0x452dd7[_0x506522(0x119)](_0x5d0278['id'])||_0x452dd7[_0x506522(0x11a)](_0x5d0278);}async[_0x2f3dd6(0x11c)](){const _0x14de1a=_0x2f3dd6;this[_0x14de1a(0x112)][_0x14de1a(0xff)]||await new Promise(_0x8c6b89=>{const _0x5e3483=_0x14de1a;this[_0x5e3483(0xf0)](this[_0x5e3483(0x112)],_0x5e3483(0x114),_0x5cb863=>{const _0x4584df=_0x5e3483;_0x5cb863[_0x4584df(0x107)](),_0x8c6b89();});});}async[_0x2f3dd6(0xf9)](_0x42b967){const _0x61aaf7=_0x2f3dd6,_0x5e6e87=this[_0x61aaf7(0xf2)][_0x61aaf7(0x117)][_0x61aaf7(0xfa)](_0x3ef7e6),{connection:_0x13cb0f}=this[_0x61aaf7(0xf2)][_0x61aaf7(0x117)][_0x61aaf7(0xfa)](_0x1ed95f),_0x2706f2=new Set();for(const {authorId:_0x29de62}of _0x42b967)_0x5e6e87[_0x61aaf7(0x102)](_0x29de62)||_0x2706f2[_0x61aaf7(0x11d)](_0x29de62);if(0x0===_0x2706f2[_0x61aaf7(0xdd)])return;const _0x523751=await _0x248659[_0x61aaf7(0xe2)](_0x13cb0f,Array[_0x61aaf7(0x116)](_0x2706f2));for(const _0x28a23e of _0x523751)_0x5e6e87[_0x61aaf7(0x102)](_0x28a23e['id'])||_0x5e6e87[_0x61aaf7(0xf8)](_0x28a23e);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x3f9f5e){if(st(_0x3f9f5e))return new Promise(()=>{});throw _0x3f9f5e;}function _0x3987(_0x241813,_0x53deb7){const _0x2c6b24=_0x2c6b();return _0x3987=function(_0x398778,_0x116ae2){_0x398778=_0x398778-0xdd;let _0x2e8e8c=_0x2c6b24[_0x398778];return _0x2e8e8c;},_0x3987(_0x241813,_0x53deb7);}function st(_0x341e3a){const _0x598574=_0x2f3dd6;return _0x341e3a[_0x598574(0x104)][_0x598574(0x108)](_0x598574(0xee))||_0x341e3a[_0x598574(0x104)][_0x598574(0x108)](_0x598574(0xe3));}