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

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
+ function _0x3178(){const _0x1a3c0f=['channelSessions','context','state','isPremiumPlugin','listenTo','allConnectedUsers','_createUser','2PTJzHL','unregister','connected','forEach','change:state','add','orderNumber','hiddenInPresenceList','_registeredSessions','sessionId','role','isMe','pluginName','clear','232okxJuj','20MLdRir','sessions-unregister-not-exist','sessionAdd:','stopListening','_uniqueUsersCount','values','4490046eYHsPV','get','addUser','_handleSessionRemove','694866BDzGZu','has','plugins','242773xUAgtS','Sessions','remove','assign','getUserRole','isOfficialPlugin','set','user','fire','sessions-register-already-registered','326080ySAQqV','channelConnectedUsers','2054724GPbXaY','size','requires','defineMe','register','connection','_users','init','delete','getUserBySessionId','1245MvNadG','_handleSessionAdd','getUser','4574330DlbZnd','mySessionId','getUserSessions'];_0x3178=function(){return _0x1a3c0f;};return _0x3178();}const _0x1c44b4=_0x59b4;(function(_0x26c260,_0x40bad5){const _0x25d868=_0x59b4,_0xfc3a21=_0x26c260();while(!![]){try{const _0x5e9a2e=parseInt(_0x25d868(0x88))/0x1*(parseInt(_0x25d868(0xab))/0x2)+-parseInt(_0x25d868(0x9e))/0x3*(-parseInt(_0x25d868(0x7a))/0x4)+-parseInt(_0x25d868(0x7b))/0x5*(parseInt(_0x25d868(0x85))/0x6)+-parseInt(_0x25d868(0x94))/0x7+-parseInt(_0x25d868(0x92))/0x8+parseInt(_0x25d868(0x81))/0x9+parseInt(_0x25d868(0xa1))/0xa;if(_0x5e9a2e===_0x40bad5)break;else _0xfc3a21['push'](_0xfc3a21['shift']());}catch(_0x11502e){_0xfc3a21['push'](_0xfc3a21['shift']());}}}(_0x3178,0x67ea2));function _0x59b4(_0x48ebfc,_0x22c48c){const _0x3178f0=_0x3178();return _0x59b4=function(_0x59b41a,_0x1df8b9){_0x59b41a=_0x59b41a-0x79;let _0x16db18=_0x3178f0[_0x59b41a];return _0x16db18;},_0x59b4(_0x48ebfc,_0x22c48c);}import{ContextPlugin as _0x12e7f5}from'ckeditor5/src/core.js';import{Collection as _0x550342,CKEditorError as _0x47088f}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3a0655}from'./websocketgateway.js';import{Users as _0x3d30c0}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x12e7f5{[_0x1c44b4(0xa4)];[_0x1c44b4(0x93)];[_0x1c44b4(0xa9)];[_0x1c44b4(0xb3)];[_0x1c44b4(0x7f)];[_0x1c44b4(0x9a)];static get[_0x1c44b4(0xb7)](){const _0x33d35b=_0x1c44b4;return _0x33d35b(0x89);}static get[_0x1c44b4(0x8d)](){return!0x0;}static get[_0x1c44b4(0xa7)](){return!0x0;}static get[_0x1c44b4(0x96)](){return[_0x3a0655,_0x3d30c0];}constructor(_0x1842dd){const _0xa9c010=_0x1c44b4;super(_0x1842dd),this[_0xa9c010(0xa4)]=new Map(),this[_0xa9c010(0x93)]=new Map(),this[_0xa9c010(0xa9)]=new _0x550342(),this[_0xa9c010(0xb3)]=new Map(),this[_0xa9c010(0x7f)]=0x0,this[_0xa9c010(0x9a)]=this[_0xa9c010(0xa5)][_0xa9c010(0x87)][_0xa9c010(0x82)](_0x3d30c0);}[_0x1c44b4(0x9b)](){const _0x2a7950=_0x1c44b4,_0x4abfa0=this[_0x2a7950(0xa5)][_0x2a7950(0x87)][_0x2a7950(0x82)](_0x3a0655);this[_0x2a7950(0xa8)](_0x4abfa0,_0x2a7950(0xaf),(_0x209fb6,_0xb6de8b,_0x4cb053)=>{const _0x1201ca=_0x2a7950;if(_0x1201ca(0xad)!==_0x4cb053)this[_0x1201ca(0xa4)][_0x1201ca(0xae)](_0x399fa9=>_0x399fa9[_0x1201ca(0x79)]()),this[_0x1201ca(0x93)][_0x1201ca(0xae)](_0x59be98=>_0x59be98[_0x1201ca(0x79)]()),this[_0x1201ca(0xa9)][_0x1201ca(0x79)]();else{for(const [_0x8e9361,_0x24633c]of this[_0x1201ca(0xb3)])for(const _0x5c5bcb of _0x24633c)this[_0x1201ca(0x9f)](_0x8e9361,_0x5c5bcb);}}),this[_0x2a7950(0xaa)](_0x4abfa0[_0x2a7950(0x99)]['me'],!0x0);}[_0x1c44b4(0x98)](_0x4929ed,_0x20d415){const _0x3766e3=_0x1c44b4;if(this[_0x3766e3(0xb3)][_0x3766e3(0x86)](_0x4929ed))throw new _0x47088f(_0x3766e3(0x91),null,{'channelId':_0x4929ed});this[_0x3766e3(0xb3)][_0x3766e3(0x8e)](_0x4929ed,_0x20d415),this[_0x3766e3(0xa4)][_0x3766e3(0x8e)](_0x4929ed,new _0x550342()),this[_0x3766e3(0x93)][_0x3766e3(0x8e)](_0x4929ed,new _0x550342()),this[_0x3766e3(0xa8)](_0x20d415,_0x3766e3(0xb0),(_0x273bec,_0x531b86)=>this[_0x3766e3(0x9f)](_0x4929ed,_0x531b86)),this[_0x3766e3(0xa8)](_0x20d415,_0x3766e3(0x8a),(_0x5b210b,_0xceacbc)=>this[_0x3766e3(0x84)](_0x4929ed,_0xceacbc));for(const _0x51c83f of _0x20d415)this[_0x3766e3(0x9f)](_0x4929ed,_0x51c83f);}[_0x1c44b4(0xac)](_0x4cdfd5){const _0x43d0b1=_0x1c44b4;if(!this[_0x43d0b1(0xb3)][_0x43d0b1(0x86)](_0x4cdfd5))throw new _0x47088f(_0x43d0b1(0x7c),null,{'channelId':_0x4cdfd5});const _0x2a6b00=this[_0x43d0b1(0xb3)][_0x43d0b1(0x82)](_0x4cdfd5);this[_0x43d0b1(0x7e)](_0x2a6b00);for(const _0x2e9673 of _0x2a6b00)_0x43d0b1(0xad)===this[_0x43d0b1(0xa5)][_0x43d0b1(0x87)][_0x43d0b1(0x82)](_0x3a0655)[_0x43d0b1(0xa6)]&&this[_0x43d0b1(0x84)](_0x4cdfd5,_0x2e9673);this[_0x43d0b1(0xb3)][_0x43d0b1(0x9c)](_0x4cdfd5),this[_0x43d0b1(0xa4)][_0x43d0b1(0x9c)](_0x4cdfd5),this[_0x43d0b1(0x93)][_0x43d0b1(0x9c)](_0x4cdfd5);}get[_0x1c44b4(0xa2)](){const _0xf78f9f=_0x1c44b4;return this[_0xf78f9f(0xa5)][_0xf78f9f(0x87)][_0xf78f9f(0x82)](_0x3a0655)[_0xf78f9f(0x99)][_0xf78f9f(0xb4)];}[_0x1c44b4(0x9d)](_0x4444b8){const _0x2a099b=_0x1c44b4;for(const _0x45012d of this[_0x2a099b(0xa4)][_0x2a099b(0x80)]())for(const _0x31788b of _0x45012d)if(_0x31788b['id']===_0x4444b8)return _0x31788b[_0x2a099b(0x8f)];}[_0x1c44b4(0xa3)](_0x35b8f1,_0x2c1ce3){const _0x4a243c=_0x1c44b4,_0x361852=_0x2c1ce3?[this[_0x4a243c(0xa4)][_0x4a243c(0x82)](_0x2c1ce3)]:this[_0x4a243c(0xa4)][_0x4a243c(0x80)](),_0x3a0b2a=new Set();for(const _0x4c524b of _0x361852)for(const _0x20c1cc of _0x4c524b)_0x20c1cc[_0x4a243c(0x8f)]['id']===_0x35b8f1['id']&&_0x3a0b2a[_0x4a243c(0xb0)](_0x20c1cc['id']);return _0x3a0b2a;}[_0x1c44b4(0x8c)](_0x302dd8){const _0x510f7c=_0x1c44b4;for(const _0x5e1182 of this[_0x510f7c(0xa4)][_0x510f7c(0x80)]())for(const _0x11b7c0 of _0x5e1182)if(_0x11b7c0[_0x510f7c(0x8f)]===_0x302dd8)return _0x11b7c0[_0x510f7c(0xb5)];}[_0x1c44b4(0x9f)](_0x8c26b,_0x3a2480){const _0xa98e6f=_0x1c44b4;if(_0xa98e6f(0xad)!==this[_0xa98e6f(0xa5)][_0xa98e6f(0x87)][_0xa98e6f(0x82)](_0x3a0655)[_0xa98e6f(0xa6)])return;const _0x4227af=_0x3a2480[_0xa98e6f(0x8f)],_0x3180ce=this[_0xa98e6f(0x9a)][_0xa98e6f(0xa0)](_0x4227af['id'])||this[_0xa98e6f(0xaa)](_0x4227af),_0x4b49f5=Object[_0xa98e6f(0x8b)]({},_0x3a2480,{'user':_0x3180ce});if(this[_0xa98e6f(0xa4)][_0xa98e6f(0x82)](_0x8c26b)[_0xa98e6f(0xb0)](_0x4b49f5),!_0x4227af[_0xa98e6f(0xb2)]){const _0x36e891=this[_0xa98e6f(0x93)][_0xa98e6f(0x82)](_0x8c26b);_0x36e891[_0xa98e6f(0x86)](_0x3180ce['id'])||_0x36e891[_0xa98e6f(0xb0)](_0x3180ce),this[_0xa98e6f(0xa9)][_0xa98e6f(0x86)](_0x3180ce['id'])||_0x4227af[_0xa98e6f(0xb2)]||this[_0xa98e6f(0xa9)][_0xa98e6f(0xb0)](_0x3180ce,_0x3180ce[_0xa98e6f(0xb6)]?0x0:void 0x0);}this[_0xa98e6f(0x90)](_0xa98e6f(0x7d)+_0x8c26b,{'channelId':_0x8c26b,'session':_0x4b49f5});}[_0x1c44b4(0x84)](_0x56571c,_0x1a7397){const _0x643303=_0x1c44b4;if(_0x643303(0xad)!==this[_0x643303(0xa5)][_0x643303(0x87)][_0x643303(0x82)](_0x3a0655)[_0x643303(0xa6)])return;const _0x5d7ae7=this[_0x643303(0x93)][_0x643303(0x82)](_0x56571c),_0x1e11b6=_0x1a7397[_0x643303(0x8f)];_0x1e11b6['id']&&(this[_0x643303(0xa4)][_0x643303(0x82)](_0x56571c)[_0x643303(0x8a)](_0x1a7397['id']),_0x5d7ae7[_0x643303(0x86)](_0x1e11b6['id'])&&!this[_0x643303(0xa3)](_0x1e11b6,_0x56571c)[_0x643303(0x95)]&&_0x5d7ae7[_0x643303(0x8a)](_0x1e11b6['id']),this[_0x643303(0xa9)][_0x643303(0x82)](_0x1e11b6['id'])&&!this[_0x643303(0xa3)](_0x1e11b6)[_0x643303(0x95)]&&this[_0x643303(0xa9)][_0x643303(0x8a)](_0x1e11b6['id']));}[_0x1c44b4(0xaa)](_0x3f867a,_0x1b0fc1){const _0x760b8f=_0x1c44b4,_0x17fa5f=this[_0x760b8f(0x9a)][_0x760b8f(0x83)](_0x3f867a);return _0x1b0fc1&&this[_0x760b8f(0x9a)][_0x760b8f(0x97)](_0x3f867a['id']),_0x17fa5f[_0x760b8f(0xb1)]=this[_0x760b8f(0x7f)]++,_0x17fa5f;}}
@@ -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 _0x5b775e=_0x10d4;(function(_0x26775d,_0x1b36b5){const _0x5b0ecd=_0x10d4,_0x29491f=_0x26775d();while(!![]){try{const _0x15221f=parseInt(_0x5b0ecd(0x174))/0x1*(parseInt(_0x5b0ecd(0x184))/0x2)+parseInt(_0x5b0ecd(0x188))/0x3+-parseInt(_0x5b0ecd(0x17f))/0x4+parseInt(_0x5b0ecd(0x16a))/0x5+-parseInt(_0x5b0ecd(0x177))/0x6*(parseInt(_0x5b0ecd(0x161))/0x7)+parseInt(_0x5b0ecd(0x15d))/0x8+-parseInt(_0x5b0ecd(0x164))/0x9*(parseInt(_0x5b0ecd(0x16f))/0xa);if(_0x15221f===_0x1b36b5)break;else _0x29491f['push'](_0x29491f['shift']());}catch(_0x5a27d6){_0x29491f['push'](_0x29491f['shift']());}}}(_0x329d,0x489d3));import{Plugin as _0x10ceb2}from'ckeditor5/src/core.js';import{global as _0x2d29e6,DomEmitterMixin as _0x4f7d4a}from'ckeditor5/src/utils.js';import{Sessions as _0x4ac4b7}from'./sessions.js';import{ModelLiveRange as _0x31555d}from'ckeditor5/src/engine.js';function _0x329d(){const _0x1a3ac2=['classList','tableCell','editing','updateMarker','markerRange','name','render','marker','_domEmitter','user:position','enqueueChange','isSimilar','set','$text','isDocumentOperation','checkChild','element','setCustomProperty','user:range:','end','reconvertMarker','afterInit','createRange','nodeAfter','parent','add','change','rootName','newRange','mapper','2487352rlVjRh','markerNameToElements','getSelectionClass','createUIElement','104363TRipwo','undo','userPositionMarker','2531511UmcPXN','hasContent','change:range','destroy','addMarker','getContainedElement','1109335fDVuwf','editor','split','ck-user__selection','user:position:','10KDZTxO','model','isCollapsed','detach','span','311ryxOmx','Escape','markerToElement','60KjGcFs','createElement','getFirstRange','ck-user__marker\x20','spellcheck','false','init','removeClass','1364568JFAVkt','color','conversion','markers','for','3134OhVWMm','fromRange','mySessionId','getAttribute','146445MemYyC','listenTo','deletionPosition','document','startsWith','getPositions','getRange','isOfficialPlugin','getCustomProperty','get','$graveyard','size','getMarkerClass','mouseenter','user:','mouseleave','UserMarkers','textContent','batch','ck-user__marker_hovered','editingDowncast','oldRange','remove','contenteditable','highest','createUserMarkerOperations','user:range','requires','type','setAttribute','view','markerName','isInline','stopListening','removeMarker','delete','clear','isObject','pluginName','start','keydown','addEventListener','toDomElement','innerHTML','ck-user__marker-tooltip','data-session-id','getUserBySessionId','orderNumber','toRange','getNearestSelectionRange','plugins','isPremiumPlugin','root','_createdBatches','outerHTML','getStart','update:user:range','has','applyOperation','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerToHighlight','selection','commands','hasDomSelection','schema','isLimit'];_0x329d=function(){return _0x1a3ac2;};return _0x329d();}function _0x10d4(_0x1f2f2e,_0x3d7556){const _0x329dfd=_0x329d();return _0x10d4=function(_0x10d4c3,_0x39d821){_0x10d4c3=_0x10d4c3-0x112;let _0x4efb12=_0x329dfd[_0x10d4c3];return _0x4efb12;},_0x10d4(_0x1f2f2e,_0x3d7556);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x10ceb2{[_0x5b775e(0x147)]=new(_0x4f7d4a())();static get[_0x5b775e(0x118)](){return[_0x4ac4b7];}static get[_0x5b775e(0x123)](){const _0x547bcb=_0x5b775e;return _0x547bcb(0x198);}static get[_0x5b775e(0x18f)](){return!0x0;}static get[_0x5b775e(0x130)](){return!0x0;}[_0x5b775e(0x17d)](){const _0x1c7ed9=_0x5b775e,_0x3a9774=this[_0x1c7ed9(0x16b)],_0x418000=_0x3a9774[_0x1c7ed9(0x12f)][_0x1c7ed9(0x191)](_0x4ac4b7);_0x3a9774[_0x1c7ed9(0x181)][_0x1c7ed9(0x183)](_0x1c7ed9(0x19c))[_0x1c7ed9(0x176)]({'model':_0x1c7ed9(0x148),'view':(_0x461c25,{writer:_0x52f944})=>function(_0x3f3d26,_0xabf3e2,_0x1db32a,_0x10e7e7){const _0x4ece79=_0x1c7ed9,_0x27c4bc=_0x3f3d26[_0x4ece79(0x11c)][_0x4ece79(0x16c)](':')[0x2],_0x327b46=_0x1db32a[_0x4ece79(0x12b)](_0x27c4bc);if(!_0x327b46||_0x27c4bc===_0x1db32a[_0x4ece79(0x186)])return;if(!_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x13d)][_0x4ece79(0x14e)](_0x3f3d26[_0x4ece79(0x143)][_0x4ece79(0x124)],_0x4ece79(0x14c)))return;const _0x16cf9a={'class':_0x4ece79(0x17a)+_0x327b46[_0x4ece79(0x180)][_0x4ece79(0x194)](),'data-name':_0x327b46[_0x4ece79(0x144)],'data-session-id':_0x27c4bc},_0x3fbb4d=_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x182)][_0x4ece79(0x191)](_0x3f3d26[_0x4ece79(0x11c)]),_0x7afb9c=_0x3fbb4d[_0x4ece79(0x134)](),_0x309ffe=_0x7afb9c[_0x4ece79(0x156)],_0x5cbd57=_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x13d)];if(_0x309ffe&&_0x5cbd57[_0x4ece79(0x122)](_0x309ffe)&&_0x5cbd57[_0x4ece79(0x11d)](_0x309ffe)&&!_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x182)][_0x4ece79(0x191)](_0x4ece79(0x151)+_0x27c4bc)[_0x4ece79(0x18e)]()[_0x4ece79(0x171)])return;const _0x372391=_0x7afb9c[_0x4ece79(0x157)];return _0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x13d)][_0x4ece79(0x13e)](_0x372391)&&!_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x165)](_0x372391)&&(_0x16cf9a[_0x4ece79(0x114)]=!0x1),function(_0x30bd35,_0x2af5b8,_0x8e6741){const _0x545a9d=_0x4ece79,_0x4d0d5e=_0x30bd35[_0x545a9d(0x160)](_0x545a9d(0x173),_0x2af5b8);return _0x30bd35[_0x545a9d(0x150)](_0x545a9d(0x163),!0x0,_0x4d0d5e),_0x4d0d5e[_0x545a9d(0x145)]=function(_0x2743cd){const _0x38bc52=_0x545a9d,_0x509048=this[_0x38bc52(0x127)](_0x2743cd),_0x4f9b9a=document[_0x38bc52(0x178)](_0x38bc52(0x173));return _0x4f9b9a[_0x38bc52(0x13f)][_0x38bc52(0x158)](_0x38bc52(0x129)),_0x4f9b9a[_0x38bc52(0x11a)](_0x38bc52(0x114),_0x38bc52(0x17c)),_0x4f9b9a[_0x38bc52(0x11a)](_0x38bc52(0x17b),_0x38bc52(0x17c)),_0x4f9b9a[_0x38bc52(0x199)]=_0x8e6741[_0x38bc52(0x144)],_0x509048[_0x38bc52(0x128)]=_0x38bc52(0x138)+_0x4f9b9a[_0x38bc52(0x133)]+'⁠',_0x509048[_0x38bc52(0x126)](_0x38bc52(0x195),()=>{const _0x7aaf99=_0x38bc52;_0x509048[_0x7aaf99(0x13f)][_0x7aaf99(0x158)](_0x7aaf99(0x19b));}),_0x509048[_0x38bc52(0x126)](_0x38bc52(0x197),()=>{const _0x111a5a=_0x38bc52;_0x509048[_0x111a5a(0x13f)][_0x111a5a(0x113)](_0x111a5a(0x19b));}),_0x509048;},_0x4d0d5e[_0x545a9d(0x14a)]=function(_0x40b78c){const _0x512d1a=_0x545a9d;return!(!this[_0x512d1a(0x190)](_0x512d1a(0x163))||!_0x40b78c[_0x512d1a(0x190)](_0x512d1a(0x163))||this[_0x512d1a(0x187)](_0x512d1a(0x12a))!=_0x40b78c[_0x512d1a(0x187)](_0x512d1a(0x12a)));},_0x4d0d5e;}(_0xabf3e2,_0x16cf9a,_0x327b46);}(_0x461c25,_0x52f944,_0x418000,_0x3a9774)}),_0x3a9774[_0x1c7ed9(0x181)][_0x1c7ed9(0x183)](_0x1c7ed9(0x19c))[_0x1c7ed9(0x139)]({'model':_0x1c7ed9(0x117),'view':_0x138a68=>function(_0x4ace0a,_0x1c541a){const _0x44cb64=_0x1c7ed9,_0x5ee89e=_0x4ace0a[_0x44cb64(0x11c)][_0x44cb64(0x16c)](':')[0x2];if(_0x5ee89e===_0x1c541a[_0x44cb64(0x186)])return null;const _0x4a645a=_0x1c541a[_0x44cb64(0x12b)](_0x5ee89e);if(!_0x4a645a)return{'id':_0x5ee89e,'classes':[]};return{'id':_0x5ee89e,'classes':[_0x44cb64(0x16d),_0x4a645a[_0x44cb64(0x180)][_0x44cb64(0x15f)]()],'attributes':{'data-session-id':_0x5ee89e},'priority':0x7d0+_0x4a645a[_0x44cb64(0x12c)]};}(_0x138a68,_0x418000)}),function(_0x480e13){const _0x5a6746=_0x1c7ed9,_0xad99d4=_0x480e13[_0x5a6746(0x170)],_0x3f96ef=new Map(),_0x106cf9=_0x480e13[_0x5a6746(0x12f)][_0x5a6746(0x191)](_0x4ac4b7);_0xad99d4[_0x5a6746(0x182)]['on'](_0x5a6746(0x135),(_0x58783e,_0x3f737b,_0x30e45f,_0x3afb19)=>{const _0x38f926=_0x5a6746;if(!_0x3afb19&&_0x3f96ef[_0x38f926(0x191)](_0x3f737b[_0x38f926(0x144)]))return _0x3f96ef[_0x38f926(0x191)](_0x3f737b[_0x38f926(0x144)])[_0x38f926(0x172)](),void _0x3f96ef[_0x38f926(0x120)](_0x3f737b[_0x38f926(0x144)]);const _0x16ca16=_0x3f737b[_0x38f926(0x144)][_0x38f926(0x16c)](':')[0x2];if(_0x16ca16===_0x106cf9[_0x38f926(0x186)])return;const _0x29af53=_0x38f926(0x16e)+_0x16ca16;_0xad99d4[_0x38f926(0x182)][_0x38f926(0x136)](_0x29af53)&&_0x480e13[_0x38f926(0x141)][_0x38f926(0x153)](_0x29af53),_0x3f737b['on'](_0x38f926(0x166),(_0x436123,_0x1580c0,_0x12cd04)=>{const _0x333be2=_0x38f926;if(_0x333be2(0x192)!=_0x1580c0[_0x333be2(0x131)][_0x333be2(0x15a)]&&_0x333be2(0x192)==_0x3f737b[_0x333be2(0x18e)]()[_0x333be2(0x131)][_0x333be2(0x15a)]&&!_0x3f96ef[_0x333be2(0x136)](_0x3f737b[_0x333be2(0x144)])){const _0x56f203=_0xad99d4[_0x333be2(0x13d)][_0x333be2(0x12e)](_0x12cd04[_0x333be2(0x18a)]);if(_0x56f203){const _0x4cfbf4=_0x31555d[_0x333be2(0x185)](_0x56f203);_0x3f96ef[_0x333be2(0x14b)](_0x3f737b[_0x333be2(0x144)],_0x4cfbf4),_0x4cfbf4['on'](_0x333be2(0x166),(_0x40b56d,_0x35cf6e,_0x493735)=>{const _0x42f8e9=_0x333be2;if(_0x42f8e9(0x192)==_0x4cfbf4[_0x42f8e9(0x131)][_0x42f8e9(0x15a)]){const _0x56d59b=_0xad99d4[_0x42f8e9(0x13d)][_0x42f8e9(0x12e)](_0x493735[_0x42f8e9(0x18a)]);_0x56d59b?(_0x4cfbf4[_0x42f8e9(0x124)]=_0x56d59b[_0x42f8e9(0x124)],_0x4cfbf4[_0x42f8e9(0x152)]=_0x56d59b[_0x42f8e9(0x152)]):(_0x3f96ef[_0x42f8e9(0x120)](_0x3f737b[_0x42f8e9(0x144)]),_0x4cfbf4[_0x42f8e9(0x172)]());}});}}});}),_0xad99d4[_0x5a6746(0x18b)]['on'](_0x5a6746(0x159),()=>{const _0x5c24b1=_0x5a6746;_0x3f96ef[_0x5c24b1(0x193)]>0x0&&_0xad99d4[_0x5c24b1(0x149)]({'isUndoable':!0x1},_0x3999da=>{const _0x13399d=_0x5c24b1;for(const [_0x36d2a2,_0x6fde53]of _0x3f96ef)_0x13399d(0x192)==_0xad99d4[_0x13399d(0x182)][_0x13399d(0x191)](_0x36d2a2)[_0x13399d(0x18e)]()[_0x13399d(0x131)][_0x13399d(0x15a)]&&(Y(_0x36d2a2[_0x13399d(0x16c)](':')[0x2],_0x6fde53[_0x13399d(0x12d)](),_0xad99d4,_0x3999da),_0x6fde53[_0x13399d(0x172)]());_0x3f96ef[_0x13399d(0x121)]();});});}(_0x3a9774),this[_0x1c7ed9(0x147)][_0x1c7ed9(0x189)](_0x2d29e6[_0x1c7ed9(0x18b)],_0x1c7ed9(0x125),(_0x32e288,{key:_0x51a2f6})=>{const _0x460d49=_0x1c7ed9;_0x460d49(0x175)===_0x51a2f6&&function(_0x1d1b54){const _0x176003=_0x460d49;_0x1d1b54[_0x176003(0x141)][_0x176003(0x11b)][_0x176003(0x159)](_0x50e9a7=>{const _0x26397b=_0x176003;for(const _0x58abb8 of _0x1d1b54[_0x26397b(0x170)][_0x26397b(0x182)]){if(!_0x58abb8[_0x26397b(0x144)][_0x26397b(0x18c)](_0x26397b(0x148)))continue;const _0x1f7d9a=_0x1d1b54[_0x26397b(0x141)][_0x26397b(0x15c)][_0x26397b(0x15e)](_0x58abb8[_0x26397b(0x144)]);if(_0x1f7d9a){for(const _0xd950e7 of _0x1f7d9a)_0x50e9a7[_0x26397b(0x17e)](_0x26397b(0x19b),_0xd950e7);}}});}(_0x3a9774);},{'useCapture':!0x0});}[_0x5b775e(0x154)](){const _0x18b304=_0x5b775e,_0x1e9fc3=this[_0x18b304(0x16b)],_0x429b97=_0x1e9fc3[_0x18b304(0x13b)][_0x18b304(0x191)](_0x18b304(0x162));_0x429b97&&_0x1e9fc3[_0x18b304(0x170)]['on'](_0x18b304(0x137),(_0x33cfe0,_0x1d7aee)=>{const _0x3bb507=_0x18b304,_0x26f33c=_0x1d7aee[0x0];if(!_0x26f33c[_0x3bb507(0x14d)])return;if(_0x3bb507(0x146)!=_0x26f33c[_0x3bb507(0x119)]||!_0x26f33c[_0x3bb507(0x144)][_0x3bb507(0x18c)](_0x3bb507(0x196)))return;const _0xdcfd2e=_0x26f33c[_0x3bb507(0x19a)];_0x429b97[_0x3bb507(0x132)][_0x3bb507(0x136)](_0xdcfd2e)&&(_0x26f33c[_0x3bb507(0x15b)]=_0x26f33c[_0x3bb507(0x112)]?_0x1e9fc3[_0x3bb507(0x170)][_0x3bb507(0x155)](_0x26f33c[_0x3bb507(0x112)][_0x3bb507(0x124)],_0x26f33c[_0x3bb507(0x112)][_0x3bb507(0x152)]):null);},{'priority':_0x18b304(0x115)});}[_0x5b775e(0x167)](){const _0x32374f=_0x5b775e;return this[_0x32374f(0x147)][_0x32374f(0x11e)](),super[_0x32374f(0x167)]();}[_0x5b775e(0x116)](){const _0x24142b=_0x5b775e,_0x1db336=this[_0x24142b(0x16b)],_0x326e7e=_0x1db336[_0x24142b(0x170)][_0x24142b(0x18b)],_0x4bfe25=_0x1db336[_0x24142b(0x12f)][_0x24142b(0x191)](_0x4ac4b7);_0x1db336[_0x24142b(0x170)][_0x24142b(0x149)]({'isUndoable':!0x1},_0x26c1be=>{const _0x2dbdd8=_0x24142b,_0x261a66=_0x2dbdd8(0x151)+_0x4bfe25[_0x2dbdd8(0x186)],_0x1ecd42=_0x2dbdd8(0x16e)+_0x4bfe25[_0x2dbdd8(0x186)],_0x4d4424=_0x1db336[_0x2dbdd8(0x170)][_0x2dbdd8(0x182)][_0x2dbdd8(0x136)](_0x261a66);_0x1db336[_0x2dbdd8(0x141)][_0x2dbdd8(0x11b)][_0x2dbdd8(0x13c)]?Y(_0x4bfe25[_0x2dbdd8(0x186)],_0x326e7e[_0x2dbdd8(0x13a)][_0x2dbdd8(0x179)](),_0x1db336[_0x2dbdd8(0x170)],_0x26c1be):_0x4d4424&&(_0x26c1be[_0x2dbdd8(0x11f)](_0x261a66),_0x26c1be[_0x2dbdd8(0x11f)](_0x1ecd42));});}}function Y(_0x117269,_0x2ab5a0,_0x30b270,_0x1757af){const _0x10c92d=_0x5b775e,_0x7ec184=_0x10c92d(0x151)+_0x117269,_0x573447=_0x10c92d(0x16e)+_0x117269,_0x23776d=_0x2ab5a0[_0x10c92d(0x169)]();let _0x159970=_0x2ab5a0[_0x10c92d(0x124)];if(_0x23776d&&_0x23776d['is'](_0x10c92d(0x14f),_0x10c92d(0x140))){const _0x2d1dca=function(_0x407142,_0x3b1644){const _0x5475f3=_0x10c92d;for(const _0x3563de of _0x407142[_0x5475f3(0x18d)]())if(_0x3b1644[_0x5475f3(0x13d)][_0x5475f3(0x14e)](_0x3563de,_0x5475f3(0x14c)))return _0x3563de;}(_0x2ab5a0,_0x30b270);_0x2d1dca&&(_0x159970=_0x2d1dca,_0x2ab5a0=_0x1757af[_0x10c92d(0x155)](_0x159970));}const _0x4ce950=_0x1757af[_0x10c92d(0x155)](_0x159970);_0x30b270[_0x10c92d(0x182)][_0x10c92d(0x136)](_0x7ec184)?(_0x1757af[_0x10c92d(0x142)](_0x7ec184,{'range':_0x2ab5a0}),_0x1757af[_0x10c92d(0x142)](_0x573447,{'range':_0x4ce950})):(_0x1757af[_0x10c92d(0x168)](_0x7ec184,{'range':_0x2ab5a0,'usingOperation':!0x0}),_0x1757af[_0x10c92d(0x168)](_0x573447,{'range':_0x4ce950,'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 _0x5f44aa=_0x4842;function _0x3543(){const _0x4edd29=['reconnect','init','plugins','define','isPremiumPlugin','connection','DISCONNECTED','35296qXkvLL','listenTo','code','delete','get','context','pluginName','WebSocketGateway','_shouldPluginsReconnect','_domEmitter','_reconnect','bind','websocketgateway-plugin-already-registered','showWarning','state','CONNECTING','token','1162716trCiyG','cloudservices-init','online','connect','_reconnectionStack','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.','config','cloudServices.requestTimeout','addToReconnectionStack','Connected\x20users\x20limit\x20exceeded','161EctgII','6cXkYOI','limitExceeded','add','27SKBXbI','websocketgateway-missing-token','904971CbIgJm','2627746fLrrvp','websocketgateway-invalid-plugin-interface','cloudServices.connectionTimeout','error','offline','stopListening','1703630hbabpo','destroy','_isBrowserOffline','4pQUYTL','real-time-collaboration','all','requires','catch','12dVWhju','221bTCleg','263342iLIito','CloudServices','has','websocketgateway-missing-websocket-url','disconnect','connected','function','constructor','from','isInReconnectionStack','change:me','set','removeFromReconnectionStack','cloudservices-reconnection-error','isOfficialPlugin','initialReconnectionInterval','CONNECTED','webSocketUrl','952825NpayCX','then'];_0x3543=function(){return _0x4edd29;};return _0x3543();}(function(_0x201c91,_0x26c7ea){const _0x42950a=_0x4842,_0x4365fb=_0x201c91();while(!![]){try{const _0x3efbaa=-parseInt(_0x42950a(0xb9))/0x1*(parseInt(_0x42950a(0xcf))/0x2)+-parseInt(_0x42950a(0xbe))/0x3*(-parseInt(_0x42950a(0xc8))/0x4)+parseInt(_0x42950a(0x94))/0x5*(-parseInt(_0x42950a(0xcd))/0x6)+parseInt(_0x42950a(0xb8))/0x7*(-parseInt(_0x42950a(0x9d))/0x8)+-parseInt(_0x42950a(0xbc))/0x9*(parseInt(_0x42950a(0xc5))/0xa)+parseInt(_0x42950a(0xbf))/0xb+parseInt(_0x42950a(0xae))/0xc*(parseInt(_0x42950a(0xce))/0xd);if(_0x3efbaa===_0x26c7ea)break;else _0x4365fb['push'](_0x4365fb['shift']());}catch(_0x450867){_0x4365fb['push'](_0x4365fb['shift']());}}}(_0x3543,0x62a23));import{ContextPlugin as _0xe51f22}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x14582d,CKEditorError as _0x45a5e3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x13e8e9,WEB_SOCKET_GATEWAY_STATES as _0x50be6f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5712c6}from'ckeditor5/src/ui.js';class n extends _0xe51f22{static [_0x5f44aa(0xa4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x13e8e9)());static [_0x5f44aa(0x91)]=0x3e8;[_0x5f44aa(0x9b)];[_0x5f44aa(0xb2)];[_0x5f44aa(0xa5)];[_0x5f44aa(0xa6)];static get[_0x5f44aa(0xcb)](){const _0x547722=_0x5f44aa;return[_0x547722(0xd0),_0x5712c6];}static get[_0x5f44aa(0xa3)](){const _0x83067e=_0x5f44aa;return _0x83067e(0xa4);}static get[_0x5f44aa(0x90)](){return!0x0;}static get[_0x5f44aa(0x9a)](){return!0x0;}constructor(_0x38b745){const _0x14000b=_0x5f44aa;super(_0x38b745),this[_0x14000b(0x8d)](_0x14000b(0xab),_0x50be6f[_0x14000b(0x92)]),this[_0x14000b(0x8d)](_0x14000b(0xc7),!0x1),this[_0x14000b(0xb2)]=new Set(),this[_0x14000b(0xa5)]=!0x1,this[_0x14000b(0xa6)]=new(_0x14582d())();}[_0x5f44aa(0x97)](){const _0x4963d4=_0x5f44aa,_0x21390f=this[_0x4963d4(0xa2)],_0x38efb1=_0x21390f[_0x4963d4(0x98)][_0x4963d4(0xa1)](_0x4963d4(0xd0)),_0x4ae16b=_0x21390f[_0x4963d4(0x98)][_0x4963d4(0xa1)](_0x5712c6);if(!_0x38efb1[_0x4963d4(0xad)])throw new _0x45a5e3(_0x4963d4(0xbd),this);if(!_0x38efb1[_0x4963d4(0x93)])throw new _0x45a5e3(_0x4963d4(0xd2),this);return this[_0x4963d4(0xa6)][_0x4963d4(0x9e)](window,_0x4963d4(0xc3),()=>this[_0x4963d4(0xc7)]=!0x0),this[_0x4963d4(0xa6)][_0x4963d4(0x9e)](window,_0x4963d4(0xb0),()=>this[_0x4963d4(0xc7)]=!0x1),this[_0x4963d4(0xa2)][_0x4963d4(0xb4)][_0x4963d4(0x99)](_0x4963d4(0xc1),0xa),this[_0x4963d4(0xa2)][_0x4963d4(0xb4)][_0x4963d4(0x99)](_0x4963d4(0xb5),0x14),n[_0x4963d4(0xa4)][_0x4963d4(0xb1)](_0x38efb1[_0x4963d4(0xad)],_0x38efb1[_0x4963d4(0x93)],{'timeout':0x3e8*this[_0x4963d4(0xa2)][_0x4963d4(0xb4)][_0x4963d4(0xa1)](_0x4963d4(0xc1)),'requestTimeout':0x3e8*this[_0x4963d4(0xa2)][_0x4963d4(0xb4)][_0x4963d4(0xa1)](_0x4963d4(0xb5))})[_0x4963d4(0x95)](_0x58e29a=>{const _0x32e944=_0x4963d4;if(this[_0x32e944(0x9b)]=_0x58e29a,this[_0x32e944(0xa8)](_0x32e944(0xab))['to'](_0x58e29a,_0x32e944(0xab),this,_0x32e944(0xc7),(_0xb6ee2c,_0x21e533)=>(_0x32e944(0xd4)!==_0xb6ee2c&&(this[_0x32e944(0xa5)]=!0x0),_0x21e533||_0xb6ee2c!==_0x50be6f[_0x32e944(0x92)]?_0x50be6f[_0x32e944(0x9c)]:this[_0x32e944(0xab)]==_0x50be6f[_0x32e944(0x9c)]&&this[_0x32e944(0xa5)]?(this[_0x32e944(0xa5)]=!0x1,this[_0x32e944(0xa7)](),_0x50be6f[_0x32e944(0xac)]):_0x50be6f[_0x32e944(0x92)])),this[_0x32e944(0x9b)]['on'](_0x32e944(0xc2),(_0x4a1b2d,_0x662c3f)=>{const _0x2c1e57=_0x32e944;if(_0x2c1e57(0xba)!==_0x662c3f[_0x2c1e57(0x9f)])throw console[_0x2c1e57(0xc2)](_0x662c3f),new _0x45a5e3(_0x2c1e57(0xaf),null,{'originalError':_0x662c3f});_0x4ae16b[_0x2c1e57(0xaa)](_0x2c1e57(0xb3),{'title':_0x2c1e57(0xb7),'namespace':_0x2c1e57(0xc9)});}),!_0x58e29a['me'])return new Promise(_0x40b15f=>_0x58e29a['on'](_0x32e944(0x8c),_0x40b15f));})[_0x4963d4(0xcc)](_0xb94753=>{const _0x3b65b8=_0x4963d4;throw console[_0x3b65b8(0xc2)](_0xb94753),new _0x45a5e3(_0x3b65b8(0xaf),null,{'originalError':_0xb94753});});}[_0x5f44aa(0xb6)](_0x6c5905){const _0x46f512=_0x5f44aa;if(_0x46f512(0x88)!=typeof _0x6c5905[_0x46f512(0x96)])throw new _0x45a5e3(_0x46f512(0xc0),this);if(this[_0x46f512(0x8b)](_0x6c5905))throw new _0x45a5e3(_0x46f512(0xa9),this,{'name':_0x6c5905[_0x46f512(0x89)][_0x46f512(0xa3)]});this[_0x46f512(0xb2)][_0x46f512(0xbb)](_0x6c5905);}[_0x5f44aa(0x8e)](_0x11f610){const _0x18304b=_0x5f44aa;this[_0x18304b(0xb2)][_0x18304b(0xa0)](_0x11f610);}[_0x5f44aa(0x8b)](_0x3e85df){const _0x130213=_0x5f44aa;return this[_0x130213(0xb2)][_0x130213(0xd1)](_0x3e85df);}[_0x5f44aa(0xa7)](){const _0x5b31e7=_0x5f44aa;return this[_0x5b31e7(0x9b)][_0x5b31e7(0x96)]()[_0x5b31e7(0x95)](()=>Promise[_0x5b31e7(0xca)](Array[_0x5b31e7(0x8a)](this[_0x5b31e7(0xb2)],_0x19a54e=>_0x19a54e[_0x5b31e7(0x96)]())))[_0x5b31e7(0x95)](()=>this[_0x5b31e7(0xab)]=_0x50be6f[_0x5b31e7(0x92)])[_0x5b31e7(0xcc)](_0xbd4c04=>{const _0x14f153=_0x5b31e7;throw console[_0x14f153(0xc2)](_0xbd4c04),new _0x45a5e3(_0x14f153(0x8f),this[_0x14f153(0xa2)]);});}[_0x5f44aa(0xd3)](){const _0x5aa65b=_0x5f44aa;this[_0x5aa65b(0x9b)]&&this[_0x5aa65b(0x9b)][_0x5aa65b(0xd3)](),this[_0x5aa65b(0xab)]=_0x50be6f[_0x5aa65b(0x9c)],this[_0x5aa65b(0xa6)][_0x5aa65b(0xc4)]();}[_0x5f44aa(0xc6)](){const _0x6a7294=_0x5f44aa;this[_0x6a7294(0xd3)](),super[_0x6a7294(0xc6)]();}}function _0x4842(_0x8c6101,_0x10e839){const _0x354302=_0x3543();return _0x4842=function(_0x48428d,_0x4ae9f9){_0x48428d=_0x48428d-0x88;let _0x348087=_0x354302[_0x48428d];return _0x348087;},_0x4842(_0x8c6101,_0x10e839);}export{n as WebSocketGateway};
@@ -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 _0x1f17ad=_0x1a85;(function(_0x5e7f27,_0x17d6ac){const _0x395a48=_0x1a85,_0x408eda=_0x5e7f27();while(!![]){try{const _0x24220e=-parseInt(_0x395a48(0xcb))/0x1*(-parseInt(_0x395a48(0xa9))/0x2)+-parseInt(_0x395a48(0xd8))/0x3*(-parseInt(_0x395a48(0xb6))/0x4)+parseInt(_0x395a48(0xb1))/0x5+-parseInt(_0x395a48(0xe9))/0x6*(-parseInt(_0x395a48(0x9e))/0x7)+parseInt(_0x395a48(0xca))/0x8+-parseInt(_0x395a48(0xed))/0x9+-parseInt(_0x395a48(0xe8))/0xa;if(_0x24220e===_0x17d6ac)break;else _0x408eda['push'](_0x408eda['shift']());}catch(_0x9793e6){_0x408eda['push'](_0x408eda['shift']());}}}(_0x3e53,0xac1ab));import{Plugin as _0x4d0fe2}from'ckeditor5/src/core.js';import{version as _0x484167}from'ckeditor5/src/utils.js';import{Users as _0x206eec}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x57d0f4}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2dd616}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x59a59d}from'../realtimecollaborativeediting/sessions.js';function _0x1a85(_0x14c46d,_0x3a71d5){const _0x3e532e=_0x3e53();return _0x1a85=function(_0x1a85f1,_0x31b06f){_0x1a85f1=_0x1a85f1-0x8c;let _0x1e9bf0=_0x3e532e[_0x1a85f1];return _0x1e9bf0;},_0x1a85(_0x14c46d,_0x3a71d5);}function _0x3e53(){const _0x375584=['fromVersion','_createCurrentRevision','cloud-services-internal-error:\x20Request\x20timeout.','connection','get','bind','connected','updateRevisions','37723080HPfKXQ','996TtNRWp','add','wrongRequestId','cloudServices.bundleVersion','3495969nOLHiW','state','connect','_waitForServiceReady','_fetchMissingUsers','CloudServicesRevisionHistoryAdapter','currentRevision','reInit','createdAt','addRevisionData','keys','setSource','RevisionHistoryService','CONNECTED','_bufferedUpdates','diffData','isOfficialPlugin','_revisions','destroy','getRevisions','map','plugins','addToReconnectionStack','startsWith','_revisionDataBuilder','affectsData','catch','change:_isConnected','adapter','_revisionTracker','_oldOffset','_handleReconnectionError','from','_isPendingUpdate','marker','sessionId','_bufferUpdate','41909hgulGr','then','init','getUser','revisionsUpdated','addUser','once','sendBufferedUpdates','code','remove','_isConnected','62lyAfCj','_offset','400','isEmptyCurrent','change:_isPendingUpdate','data','reverse','_lastRequestId','3240555DqVTgf','reconnect','requires','cloud-services-internal-error:\x20Not\x20connected.','baseVersion','879828wCFbOU','collaboration.channelId','isEnabled','authorsIds','isBundleUploaded','setRevisionData','isPremiumPlugin','repository','has','off','buildRevisionData','editor','config','isConnected','_getLatestVersionFromServerOperations','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','size','_preventResendingRevisionData','authors','7430112dyrjNZ','31459OjbIyp','listenTo','_update','message','_fixRevision','serverHistory','_handleRevisionsUpdate','_getLatestVersion','type','length','toVersion','max','getRevision','18tvfatW','RevisionHistory','RevisionTracker','getOperations','_revisionHistoryService','creatorId','pluginName','getMany'];_0x3e53=function(){return _0x375584;};return _0x3e53();}import{EditorService as _0x2c671d,RevisionHistoryService as _0x118ca6,User as _0x3d8ba3,WEB_SOCKET_GATEWAY_STATES as _0x4cf39f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x4d0fe2{static [_0x1f17ad(0xf9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x118ca6)());[_0x1f17ad(0xb0)];[_0x1f17ad(0x96)];[_0x1f17ad(0xdc)];[_0x1f17ad(0x97)];static get[_0x1f17ad(0xb3)](){const _0x901571=_0x1f17ad;return[_0x2dd616,_0x57d0f4,_0x901571(0xd9),_0x59a59d,_0x206eec];}static get[_0x1f17ad(0xde)](){const _0x2368e6=_0x1f17ad;return _0x2368e6(0xf2);}static get[_0x1f17ad(0xfd)](){return!0x0;}static get[_0x1f17ad(0xbc)](){return!0x0;}constructor(_0x3df59e){const _0x9fdffd=_0x1f17ad;super(_0x3df59e);const _0x498a60=this[_0x9fdffd(0xc1)][_0x9fdffd(0xc2)][_0x9fdffd(0xe4)](_0x9fdffd(0xb7));this[_0x9fdffd(0xb0)]=null,this[_0x9fdffd(0x96)]=this[_0x9fdffd(0xc1)][_0x9fdffd(0x8e)][_0x9fdffd(0xe4)](_0x9fdffd(0xda)),this[_0x9fdffd(0xdc)]=new c[(_0x9fdffd(0xf9))](_0x498a60);}async[_0x1f17ad(0xa0)](){const _0x6c0f7e=_0x1f17ad,_0x298565=this[_0x6c0f7e(0xc1)][_0x6c0f7e(0x8e)][_0x6c0f7e(0xe4)](_0x57d0f4),_0x2b1dc5=_0x298565[_0x6c0f7e(0xd0)],_0x5e8469=this[_0x6c0f7e(0xc1)][_0x6c0f7e(0x8e)][_0x6c0f7e(0xe4)](_0x2dd616);this[_0x6c0f7e(0x96)][_0x6c0f7e(0xf8)]({'history':_0x2b1dc5,'getLatestVersion':()=>this[_0x6c0f7e(0xd2)](),'getCurrentRevisionId':()=>_0x298565[_0x6c0f7e(0x9c)]});const _0x1861c4=this[_0x6c0f7e(0xc1)][_0x6c0f7e(0xc2)][_0x6c0f7e(0xe4)](_0x6c0f7e(0xec))||_0x484167,_0x5b4a05=await _0x2c671d[_0x6c0f7e(0xba)](_0x5e8469[_0x6c0f7e(0xe3)],_0x1861c4);this[_0x6c0f7e(0xc1)][_0x6c0f7e(0x8e)][_0x6c0f7e(0xe4)](_0x6c0f7e(0xd9))[_0x6c0f7e(0x95)]={'getRevision':async({revisionId:_0x508ff9})=>(await this[_0x6c0f7e(0xf0)](),await this[_0x6c0f7e(0xdc)][_0x6c0f7e(0xd7)](_0x508ff9)),'updateRevisions':async _0x400e85=>{const _0xa32d86=_0x6c0f7e;await this[_0xa32d86(0xf0)]();const _0x5a573b=this[_0xa32d86(0x96)][_0xa32d86(0xf3)];if(_0x5b4a05&&0x1===_0x400e85[_0xa32d86(0xd4)]&&_0x400e85[0x0]['id']===_0x5a573b['id'])return _0x400e85;for(const _0x44f391 of _0x400e85)_0x44f391['id']===_0x5a573b['id']&&(_0x44f391[_0xa32d86(0xac)]=_0x44f391[_0xa32d86(0xe0)]===_0x44f391[_0xa32d86(0xd5)]);return this[_0xa32d86(0xdc)][_0xa32d86(0xe7)](_0x400e85,this[_0xa32d86(0xb0)])[_0xa32d86(0x9f)](_0x5aab35=>(this[_0xa32d86(0xb0)]=_0x5aab35,_0x400e85))[_0xa32d86(0x93)](_0x1730d6=>{const _0x6514ce=_0xa32d86;if(P(_0x1730d6)||_0x6514ce(0xab)===_0x1730d6[_0x6514ce(0xa6)]&&void 0x0!==_0x1730d6[_0x6514ce(0xae)][_0x6514ce(0xeb)]){for(const _0x11857c of _0x400e85){!this[_0x6514ce(0x96)][_0x6514ce(0xbd)][_0x6514ce(0xd7)](_0x11857c['id'])||this[_0x6514ce(0x96)][_0x6514ce(0x9d)](_0x11857c['id'],_0x11857c,!0x1);}if(P(_0x1730d6))throw _0x1730d6;return _0x400e85;}throw _0x1730d6;});}},this[_0x6c0f7e(0xcc)](this[_0x6c0f7e(0xdc)],_0x6c0f7e(0xa2),(_0x479b99,{revisionsData:_0x18b416,requestId:_0x43275b})=>{const _0x3bc74d=_0x6c0f7e;Math[_0x3bc74d(0xd6)](..._0x18b416[_0x3bc74d(0x8d)](_0x585572=>_0x585572[_0x3bc74d(0xd5)]))>this[_0x3bc74d(0xc4)]()-0x1?this[_0x3bc74d(0xd2)]()[_0x3bc74d(0x9f)](()=>{const _0x215dd7=_0x3bc74d;this[_0x215dd7(0xd1)](_0x18b416,_0x43275b);}):this[_0x3bc74d(0xd1)](_0x18b416,_0x43275b);});const {revisions:_0xd8d3fe,requestId:_0x5a50c0}=await this[_0x6c0f7e(0xdc)][_0x6c0f7e(0xef)](_0x5e8469[_0x6c0f7e(0xe3)]);_0x5e8469[_0x6c0f7e(0x8f)](this),this[_0x6c0f7e(0xb0)]=_0x5a50c0,await this[_0x6c0f7e(0xf1)](_0xd8d3fe);for(const _0xaaab5c of _0xd8d3fe)this[_0x6c0f7e(0x96)][_0x6c0f7e(0xf6)](_0xaaab5c);this[_0x6c0f7e(0xcc)](_0x298565,_0x6c0f7e(0x94),(_0x56958e,_0x4eef5b,_0x266e0a)=>{const _0x333e48=_0x6c0f7e;_0x266e0a&&(this[_0x333e48(0x97)]=_0x298565[_0x333e48(0xaa)],_0x56958e[_0x333e48(0xbf)]());}),this[_0x6c0f7e(0x96)][_0x6c0f7e(0xe5)](_0x6c0f7e(0xb8))['to'](_0x5e8469,_0x6c0f7e(0xee),_0x41ef40=>_0x41ef40===_0x4cf39f[_0x6c0f7e(0xfa)]);}async[_0x1f17ad(0xb2)](){const _0x10eca6=_0x1f17ad,_0x5d18c6=this[_0x10eca6(0xc1)][_0x10eca6(0x8e)][_0x10eca6(0xe4)](_0x2dd616),_0x4e36d2=this[_0x10eca6(0xc1)][_0x10eca6(0x8e)][_0x10eca6(0xe4)](_0x57d0f4),_0x33afd9=async()=>{const _0x2261a3=_0x10eca6,_0x4813a6=this[_0x2261a3(0x96)][_0x2261a3(0xf3)],_0x1abea9=_0x4813a6['id'],_0x37b292=_0x1abea9!==_0x4e36d2[_0x2261a3(0x9c)];if(_0x37b292){const _0x4f0ffe=_0x4e36d2[_0x2261a3(0xaa)]-this[_0x2261a3(0x97)],_0x3a6dbe=this[_0x2261a3(0xc4)]();this[_0x2261a3(0x96)][_0x2261a3(0x91)][_0x2261a3(0xf4)]();if(_0x4813a6[_0x2261a3(0xd5)]+_0x4f0ffe!==_0x3a6dbe){const _0x1a044b=_0x4813a6[_0x2261a3(0xe0)]+_0x4f0ffe,_0x12c520=this[_0x2261a3(0xc1)][_0x2261a3(0x8e)][_0x2261a3(0xe4)](_0x206eec),_0x3fceff=this[_0x2261a3(0x96)][_0x2261a3(0xc0)]({'revision':_0x4813a6,'from':_0x1a044b,'to':_0x3a6dbe});_0x3fceff['id']=_0x4813a6['id'];const _0x19418c=_0x3fceff[_0x2261a3(0xb9)][_0x2261a3(0x8d)](_0x2d4084=>_0x12c520[_0x2261a3(0xa1)](_0x2d4084));_0x4813a6[_0x2261a3(0xcd)]({..._0x3fceff,'authors':_0x19418c},!0x0),this[_0x2261a3(0x96)][_0x2261a3(0x9d)](_0x4813a6['id'],_0x3fceff,!0x0);}this[_0x2261a3(0x96)][_0x2261a3(0xc5)]=_0x3a6dbe,(_0x4813a6[_0x2261a3(0xd5)]===_0x4813a6[_0x2261a3(0xe0)]&&!this[_0x2261a3(0x96)][_0x2261a3(0xfb)][_0x2261a3(0xbe)](_0x1abea9)&&this[_0x2261a3(0x96)][_0x2261a3(0xbd)][_0x2261a3(0xfe)][_0x2261a3(0xa7)](_0x1abea9),this[_0x2261a3(0x96)][_0x2261a3(0xe1)](_0x3a6dbe));}const {revisions:_0x1a1b9d,requestId:_0xc7efe7}=await this[_0x2261a3(0xdc)][_0x2261a3(0xb2)](_0x5d18c6[_0x2261a3(0xe3)],this[_0x2261a3(0xb0)]);_0x37b292&&_0x1a1b9d[_0x2261a3(0xd4)]>0x0?_0x4e36d2[_0x2261a3(0x98)]():(await this[_0x2261a3(0xf1)](_0x1a1b9d),this[_0x2261a3(0xd1)](_0x1a1b9d,_0xc7efe7),this[_0x2261a3(0x96)][_0x2261a3(0xa5)]());};return _0x4e36d2[_0x10eca6(0xa8)]?_0x33afd9():new Promise((_0x3254fc,_0xfd3803)=>{const _0x132416=_0x10eca6;_0x4e36d2[_0x132416(0xa4)](_0x132416(0x94),()=>{const _0x185bb7=_0x132416;_0x33afd9()[_0x185bb7(0x9f)](_0x3254fc)[_0x185bb7(0x93)](_0xfd3803);});});}[_0x1f17ad(0xff)](){const _0x2f8ada=_0x1f17ad;super[_0x2f8ada(0xff)]();}async[_0x1f17ad(0xf0)](){const _0x58cfde=_0x1f17ad;this[_0x58cfde(0xdc)][_0x58cfde(0xc3)]||await new Promise(_0x5f1cea=>{const _0x53d99e=_0x58cfde;this[_0x53d99e(0xcc)](this[_0x53d99e(0xdc)],_0x53d99e(0xe6),_0x55f190=>{const _0x6e9656=_0x53d99e;_0x55f190[_0x6e9656(0xbf)](),_0x5f1cea();});});}[_0x1f17ad(0xc4)](){const _0x29b7c3=_0x1f17ad,_0x12506c=this[_0x29b7c3(0xc1)][_0x29b7c3(0x8e)][_0x29b7c3(0xe4)](_0x57d0f4)[_0x29b7c3(0xd0)][_0x29b7c3(0xdb)]()[_0x29b7c3(0xaf)]();for(const _0x3a5d8c of _0x12506c)if(_0x29b7c3(0x9b)!==_0x3a5d8c[_0x29b7c3(0xd3)]||_0x3a5d8c[_0x29b7c3(0x92)])return _0x3a5d8c[_0x29b7c3(0xb5)]+0x1;}[_0x1f17ad(0xd2)](){const _0x364610=_0x1f17ad,_0x25d3aa=this[_0x364610(0xc1)][_0x364610(0x8e)][_0x364610(0xe4)](_0x57d0f4);return new Promise(_0x1150c4=>{const _0x1ea00a=_0x364610;_0x25d3aa[_0x1ea00a(0x9a)]?_0x25d3aa[_0x1ea00a(0xa4)](_0x1ea00a(0xad),()=>{const _0x3b9359=_0x1ea00a;_0x1150c4(this[_0x3b9359(0xc4)]());}):_0x1150c4(this[_0x1ea00a(0xc4)]());});}[_0x1f17ad(0xd1)](_0x37b7d2,_0x409d51){const _0x212c2d=_0x1f17ad,_0x4f582=this[_0x212c2d(0x96)][_0x212c2d(0xbd)];this[_0x212c2d(0xb0)]=_0x409d51;for(const _0x13dbe0 of _0x37b7d2){const _0x439d37=_0x4f582[_0x212c2d(0xd7)](_0x13dbe0['id']);if(_0x439d37){if((_0x13dbe0[_0x212c2d(0xe0)]||_0x13dbe0[_0x212c2d(0xd5)])&&(_0x13dbe0[_0x212c2d(0xfc)]=null),_0x439d37===this[_0x212c2d(0x96)][_0x212c2d(0xf3)]){const _0x727508=Math[_0x212c2d(0xd6)](_0x439d37[_0x212c2d(0xd5)],_0x13dbe0[_0x212c2d(0xd5)]),_0x4ff173=Math[_0x212c2d(0xd6)](_0x439d37[_0x212c2d(0xe0)],_0x13dbe0[_0x212c2d(0xe0)]);let _0x194c22;_0x439d37[_0x212c2d(0xd5)]===_0x13dbe0[_0x212c2d(0xd5)]&&_0x439d37[_0x212c2d(0xe0)]===_0x13dbe0[_0x212c2d(0xe0)]?(_0x194c22=!0x0,this[_0x212c2d(0xc8)](_0x13dbe0)):_0x13dbe0[_0x212c2d(0xd5)]===_0x727508&&_0x13dbe0[_0x212c2d(0xe0)]===_0x4ff173?_0x194c22=!0x1:(_0x439d37[_0x212c2d(0xd5)]===_0x727508&&_0x439d37[_0x212c2d(0xe0)]===_0x4ff173||this[_0x212c2d(0xcf)]({'revision':_0x439d37,'from':_0x4ff173,'to':_0x727508}),_0x194c22=!0x0),_0x194c22&&(delete _0x13dbe0[_0x212c2d(0xe0)],delete _0x13dbe0[_0x212c2d(0xd5)],delete _0x13dbe0[_0x212c2d(0xfc)],delete _0x13dbe0[_0x212c2d(0xf5)],delete _0x13dbe0[_0x212c2d(0xb9)]);}this[_0x212c2d(0x96)][_0x212c2d(0xbb)](_0x13dbe0),this[_0x212c2d(0xc8)](_0x13dbe0);}else this[_0x212c2d(0x96)][_0x212c2d(0xf6)](_0x13dbe0);}const _0x72e203=_0x4f582[_0x212c2d(0x8c)]();_0x72e203[_0x212c2d(0xaf)]();for(let _0x3c5ec3=0x0;_0x3c5ec3<_0x72e203[_0x212c2d(0xd4)]-0x1;_0x3c5ec3++){const _0x14f95f=_0x72e203[_0x3c5ec3],_0x3e4476=_0x72e203[_0x3c5ec3+0x1];if(_0x14f95f[_0x212c2d(0xe0)]<_0x3e4476[_0x212c2d(0xd5)]){const _0x110238=_0x3e4476[_0x212c2d(0xd5)],_0x5da173=Math[_0x212c2d(0xd6)](_0x110238,_0x14f95f[_0x212c2d(0xd5)]);this[_0x212c2d(0xcf)]({'revision':_0x14f95f,'from':_0x110238,'to':_0x5da173});}}}[_0x1f17ad(0xcf)]({revision:_0x97e60e,from:_0xa23e8e,to:_0x3f26ac}={}){const _0x745264=_0x1f17ad,_0x25a680=this[_0x745264(0xc1)][_0x745264(0x8e)][_0x745264(0xe4)](_0x206eec),_0x46d716=this[_0x745264(0x96)][_0x745264(0xc0)]({'revision':_0x97e60e,'from':_0xa23e8e,'to':_0x3f26ac});_0x46d716[_0x745264(0xc9)]=_0x46d716[_0x745264(0xb9)][_0x745264(0x8d)](_0x3f868c=>_0x25a680[_0x745264(0xa1)](_0x3f868c)),_0x97e60e[_0x745264(0xcd)](_0x46d716);}[_0x1f17ad(0xc8)](_0x422b71){const _0x6d7be5=_0x1f17ad,_0x14b0ab={};_0x14b0ab['id']=_0x422b71['id'];for(const _0x59236a of Object[_0x6d7be5(0xf7)](_0x422b71))'id'!==_0x59236a&&(_0x14b0ab[_0x59236a]=void 0x0);this[_0x6d7be5(0x96)][_0x6d7be5(0x9d)](_0x14b0ab['id'],_0x14b0ab,!0x0);}async[_0x1f17ad(0xf1)](_0x227383){const _0x13b3da=_0x1f17ad,_0x2ab561=this[_0x13b3da(0xc1)][_0x13b3da(0x8e)][_0x13b3da(0xe4)](_0x206eec),{connection:_0x2977a8}=this[_0x13b3da(0xc1)][_0x13b3da(0x8e)][_0x13b3da(0xe4)](_0x2dd616),_0x191398=new Set();for(const _0x471124 of _0x227383){for(const _0x241922 of _0x471124[_0x13b3da(0xb9)])_0x3bba7f(_0x241922);_0x471124[_0x13b3da(0xdd)]&&_0x3bba7f(_0x471124[_0x13b3da(0xdd)]);}if(0x0===_0x191398[_0x13b3da(0xc7)])return;const _0x290e78=await _0x3d8ba3[_0x13b3da(0xdf)](_0x2977a8,Array[_0x13b3da(0x99)](_0x191398));for(const _0x214d2f of _0x290e78)_0x2ab561[_0x13b3da(0xa1)](_0x214d2f['id'])||_0x2ab561[_0x13b3da(0xa3)](_0x214d2f);function _0x3bba7f(_0x4e82ea){const _0xeca709=_0x13b3da;_0x2ab561[_0xeca709(0xa1)](_0x4e82ea)||_0x191398[_0xeca709(0xea)](_0x4e82ea);}}}export{c as CloudServicesRevisionHistoryAdapter};function P(_0x4540de){const _0x14ae71=_0x1f17ad;return _0x4540de[_0x14ae71(0xce)][_0x14ae71(0x90)](_0x14ae71(0xc6))||_0x4540de[_0x14ae71(0xce)][_0x14ae71(0x90)](_0x14ae71(0xb4))||_0x4540de[_0x14ae71(0xce)][_0x14ae71(0x90)](_0x14ae71(0xe2));}
@@ -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
+ const _0x29ba8d=_0x4165;function _0x42fc(){const _0x12528f=['isPremiumPlugin','12ayEgvQ','find','5284ttWtMZ','connection','delete','reconnect','attributes','isConnected','state','addToReconnectionStack','_bufferedRequests','plugins','57GPpNDZ','_waitForServiceReady','_fetchMissingUsersForThreads','listenTo','data','addSuggestionData','8GfXvGm','TrackChangesEditing','cloud-services-internal-error:\x20Request\x20timeout.','getMany','359947DnNdMQ','init','6718kPFyyk','pluginName','message','CloudServicesTrackChangesAdapter','editor','TrackChangesService','startsWith','set','addUser','cloud-services-internal-error:\x20Not\x20connected.','_trackChangesService','then','suggestionUpdated','open','1735063OhRgkK','from','config','get','hasSuggestion','collaboration.channelId','connected','update','values','13jHMHfZ','connect','_saved','add','3326697ggaodt','adapter','requires','type','size','catch','getUser','originalSuggestionId','off','280495uUiGoe','getSuggestion','isOfficialPlugin','562180SbiZHD'];_0x42fc=function(){return _0x12528f;};return _0x42fc();}(function(_0x196345,_0x4c395d){const _0x5f47d9=_0x4165,_0x5b29da=_0x196345();while(!![]){try{const _0x2f75b5=parseInt(_0x5f47d9(0x169))/0x1*(-parseInt(_0x5f47d9(0x193))/0x2)+parseInt(_0x5f47d9(0x187))/0x3*(-parseInt(_0x5f47d9(0x17d))/0x4)+parseInt(_0x5f47d9(0x176))/0x5*(parseInt(_0x5f47d9(0x17b))/0x6)+parseInt(_0x5f47d9(0x191))/0x7*(parseInt(_0x5f47d9(0x18d))/0x8)+parseInt(_0x5f47d9(0x16d))/0x9+-parseInt(_0x5f47d9(0x179))/0xa+-parseInt(_0x5f47d9(0x1a1))/0xb;if(_0x2f75b5===_0x4c395d)break;else _0x5b29da['push'](_0x5b29da['shift']());}catch(_0x1f2eb2){_0x5b29da['push'](_0x5b29da['shift']());}}}(_0x42fc,0x3d2a7));import{Plugin as _0x146315}from'ckeditor5/src/core.js';import{User as _0x368093,TrackChangesService as _0x4fc321}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5cfd6c}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4165(_0x192fb6,_0x198eee){const _0x42fc22=_0x42fc();return _0x4165=function(_0x4165e1,_0x275042){_0x4165e1=_0x4165e1-0x164;let _0x280d41=_0x42fc22[_0x4165e1];return _0x280d41;},_0x4165(_0x192fb6,_0x198eee);}import{CloudServicesCommentsAdapter as _0x458e75}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1ef61a}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x146315{static [_0x29ba8d(0x198)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4fc321)());[_0x29ba8d(0x185)];[_0x29ba8d(0x19d)];static get[_0x29ba8d(0x16f)](){const _0x25a50d=_0x29ba8d;return[_0x458e75,_0x25a50d(0x18e),_0x5cfd6c];}static get[_0x29ba8d(0x194)](){const _0x3d0f74=_0x29ba8d;return _0x3d0f74(0x196);}static get[_0x29ba8d(0x178)](){return!0x0;}static get[_0x29ba8d(0x17a)](){return!0x0;}constructor(_0x4c9534){const _0x12802f=_0x29ba8d;super(_0x4c9534);const _0x42838b=this[_0x12802f(0x197)][_0x12802f(0x1a3)][_0x12802f(0x1a4)](_0x12802f(0x165));this[_0x12802f(0x185)]=new Map(),this[_0x12802f(0x19d)]=new m[(_0x12802f(0x198))](_0x42838b);}[_0x29ba8d(0x192)](){const _0x4bf4b4=_0x29ba8d,_0x2812e0=this[_0x4bf4b4(0x197)][_0x4bf4b4(0x186)][_0x4bf4b4(0x1a4)](_0x5cfd6c),_0x54aa96=this[_0x4bf4b4(0x197)][_0x4bf4b4(0x186)][_0x4bf4b4(0x1a4)](_0x4bf4b4(0x18e));return _0x54aa96[_0x4bf4b4(0x16e)]={'getSuggestion':async _0x560ddf=>{const _0x471ba2=_0x4bf4b4;await this[_0x471ba2(0x188)]();const _0x5982fc=await this[_0x471ba2(0x19d)][_0x471ba2(0x1a4)](_0x560ddf)[_0x471ba2(0x172)](nt);return await this[_0x471ba2(0x189)]([_0x5982fc]),_0x5982fc;},'addSuggestion':async({id:_0x64fabe,type:_0x2646ef,data:_0x13239d,originalSuggestionId:_0x25379f,attributes:_0x5a24e7})=>{const _0x5a8163=_0x4bf4b4;await this[_0x5a8163(0x188)]();const _0x5109c9={'id':_0x64fabe,'type':_0x2646ef,'data':_0x13239d,'originalSuggestionId':_0x25379f,'attributes':_0x5a24e7},_0x21a4de=await this[_0x5a8163(0x19d)][_0x5a8163(0x16c)](_0x64fabe,_0x2646ef,_0x13239d,_0x25379f,_0x5a24e7)[_0x5a8163(0x172)](_0x5df7c9=>{if(P(_0x5df7c9))return new Promise(_0x113365=>{const _0x4f9a30=_0x4165;this[_0x4f9a30(0x185)][_0x4f9a30(0x19a)](_0x64fabe,{'resolve':_0x113365,'suggestionData':_0x5109c9});});throw _0x5df7c9;});return this[_0x5a8163(0x185)][_0x5a8163(0x17f)](_0x64fabe),_0x21a4de;},'updateSuggestion':async(_0x4e3ccd,_0x4a80f0)=>{const _0x5678b4=_0x4bf4b4;if(await this[_0x5678b4(0x188)](),_0x5678b4(0x1a0)!==_0x4a80f0[_0x5678b4(0x183)])return this[_0x5678b4(0x19d)][_0x5678b4(0x167)](_0x4e3ccd,_0x4a80f0)[_0x5678b4(0x172)](nt);}},this[_0x4bf4b4(0x18a)](this[_0x4bf4b4(0x19d)],_0x4bf4b4(0x19f),(_0x578efe,_0x235fcc)=>{const _0x4cb942=_0x4bf4b4;_0x54aa96[_0x4cb942(0x164)](_0x235fcc['id'])&&(_0x54aa96[_0x4cb942(0x177)](_0x235fcc['id'])[_0x4cb942(0x181)]=_0x235fcc[_0x4cb942(0x181)]);}),this[_0x4bf4b4(0x19d)][_0x4bf4b4(0x16a)](_0x2812e0[_0x4bf4b4(0x17e)])[_0x4bf4b4(0x19e)](_0xf803b9=>(_0x2812e0[_0x4bf4b4(0x184)](this),this[_0x4bf4b4(0x189)](_0xf803b9)[_0x4bf4b4(0x19e)](()=>{const _0x1ea9d9=_0x4bf4b4;for(const _0x4fdcb4 of _0xf803b9){_0x54aa96[_0x1ea9d9(0x18c)](_0x4fdcb4)[_0x1ea9d9(0x16b)]=!0x0;}})));}async[_0x29ba8d(0x180)](){const _0x1bd103=_0x29ba8d,_0x1d7dc2=this[_0x1bd103(0x197)][_0x1bd103(0x186)][_0x1bd103(0x1a4)](_0x1bd103(0x18e)),{connection:_0x4c583b}=this[_0x1bd103(0x197)][_0x1bd103(0x186)][_0x1bd103(0x1a4)](_0x5cfd6c),_0x202fbd=await this[_0x1bd103(0x19d)][_0x1bd103(0x16a)](_0x4c583b);await this[_0x1bd103(0x189)](_0x202fbd);for(const {suggestionData:_0x293292,resolve:_0x768bce}of this[_0x1bd103(0x185)][_0x1bd103(0x168)]()){let _0x337f35=_0x202fbd[_0x1bd103(0x17c)](_0x36be88=>_0x36be88['id']===_0x293292['id']);_0x337f35||(_0x337f35=await this[_0x1bd103(0x19d)][_0x1bd103(0x16c)](_0x293292['id'],_0x293292[_0x1bd103(0x170)],_0x293292[_0x1bd103(0x18b)],_0x293292[_0x1bd103(0x174)])),_0x768bce(_0x337f35);}for(const _0x581b2f of _0x202fbd)_0x1d7dc2[_0x1bd103(0x164)](_0x581b2f['id'])||_0x1d7dc2[_0x1bd103(0x18c)](_0x581b2f);}async[_0x29ba8d(0x188)](){const _0x1ca5c4=_0x29ba8d;this[_0x1ca5c4(0x19d)][_0x1ca5c4(0x182)]||await new Promise(_0x4d3a62=>{const _0xb5708e=_0x1ca5c4;this[_0xb5708e(0x18a)](this[_0xb5708e(0x19d)],_0xb5708e(0x166),_0x2243af=>{const _0x2bc3ef=_0xb5708e;_0x2243af[_0x2bc3ef(0x175)](),_0x4d3a62();});});}async[_0x29ba8d(0x189)](_0x4f899f){const _0x4ca37d=_0x29ba8d,_0x10a138=this[_0x4ca37d(0x197)][_0x4ca37d(0x186)][_0x4ca37d(0x1a4)](_0x1ef61a),{connection:_0x3f188b}=this[_0x4ca37d(0x197)][_0x4ca37d(0x186)][_0x4ca37d(0x1a4)](_0x5cfd6c),_0x248dc1=new Set();for(const {authorId:_0x182f0d}of _0x4f899f)_0x10a138[_0x4ca37d(0x173)](_0x182f0d)||_0x248dc1[_0x4ca37d(0x16c)](_0x182f0d);if(0x0===_0x248dc1[_0x4ca37d(0x171)])return;const _0x3a785f=await _0x368093[_0x4ca37d(0x190)](_0x3f188b,Array[_0x4ca37d(0x1a2)](_0x248dc1));for(const _0x42f552 of _0x3a785f)_0x10a138[_0x4ca37d(0x173)](_0x42f552['id'])||_0x10a138[_0x4ca37d(0x19b)](_0x42f552);}}export{m as CloudServicesTrackChangesAdapter};function nt(_0x53af1c){if(P(_0x53af1c))return new Promise(()=>{});throw _0x53af1c;}function P(_0x18dcbe){const _0x5d8e62=_0x29ba8d;return _0x18dcbe[_0x5d8e62(0x195)][_0x5d8e62(0x199)](_0x5d8e62(0x19c))||_0x18dcbe[_0x5d8e62(0x195)][_0x5d8e62(0x199)](_0x5d8e62(0x18f));}