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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53b630=_0x193a;function _0x193a(_0x435120,_0x589a43){const _0x3346b1=_0x3346();return _0x193a=function(_0x193a4b,_0x4d0234){_0x193a4b=_0x193a4b-0x1e0;let _0x1e30f8=_0x3346b1[_0x193a4b];return _0x1e30f8;},_0x193a(_0x435120,_0x589a43);}(function(_0x24afbe,_0x2d9a8f){const _0x2aa320=_0x193a,_0x59784d=_0x24afbe();while(!![]){try{const _0x52fc7b=parseInt(_0x2aa320(0x1f3))/0x1+-parseInt(_0x2aa320(0x215))/0x2+-parseInt(_0x2aa320(0x212))/0x3*(parseInt(_0x2aa320(0x1f4))/0x4)+-parseInt(_0x2aa320(0x1e5))/0x5+parseInt(_0x2aa320(0x21c))/0x6+-parseInt(_0x2aa320(0x1ed))/0x7+parseInt(_0x2aa320(0x21a))/0x8;if(_0x52fc7b===_0x2d9a8f)break;else _0x59784d['push'](_0x59784d['shift']());}catch(_0x282b1c){_0x59784d['push'](_0x59784d['shift']());}}}(_0x3346,0xa331b));import{ContextPlugin as _0x2cb0b0}from'ckeditor5/src/core.js';import{Collection as _0x24895b,CKEditorError as _0xf73d60}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5247ab}from'./websocketgateway.js';import{Users as _0x92e2e6}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2cb0b0{[_0x53b630(0x1f1)];[_0x53b630(0x217)];[_0x53b630(0x208)];[_0x53b630(0x1f2)];[_0x53b630(0x201)];[_0x53b630(0x203)];static get[_0x53b630(0x204)](){const _0x50ee18=_0x53b630;return _0x50ee18(0x1fe);}static get[_0x53b630(0x1ea)](){return!0x0;}static get[_0x53b630(0x213)](){return!0x0;}static get[_0x53b630(0x1f6)](){return[_0x5247ab,_0x92e2e6];}constructor(_0x409f06){const _0x26adec=_0x53b630;super(_0x409f06),this[_0x26adec(0x1f1)]=new Map(),this[_0x26adec(0x217)]=new Map(),this[_0x26adec(0x208)]=new _0x24895b(),this[_0x26adec(0x1f2)]=new Map(),this[_0x26adec(0x201)]=0x0,this[_0x26adec(0x203)]=this[_0x26adec(0x20d)][_0x26adec(0x21b)][_0x26adec(0x1fb)](_0x92e2e6);}[_0x53b630(0x1e6)](){const _0x21c2ca=_0x53b630,_0x991eb4=this[_0x21c2ca(0x20d)][_0x21c2ca(0x21b)][_0x21c2ca(0x1fb)](_0x5247ab);this[_0x21c2ca(0x1eb)](_0x991eb4,_0x21c2ca(0x1e3),(_0x1b1ef6,_0x2db2b8,_0x32b81e)=>{const _0x4180f0=_0x21c2ca;if(_0x4180f0(0x1f9)!==_0x32b81e)this[_0x4180f0(0x1f1)][_0x4180f0(0x1e9)](_0x3c4e42=>_0x3c4e42[_0x4180f0(0x1fd)]()),this[_0x4180f0(0x217)][_0x4180f0(0x1e9)](_0x43d297=>_0x43d297[_0x4180f0(0x1fd)]()),this[_0x4180f0(0x208)][_0x4180f0(0x1fd)]();else{for(const [_0x426199,_0x55a83e]of this[_0x4180f0(0x1f2)])for(const _0x290353 of _0x55a83e)this[_0x4180f0(0x206)](_0x426199,_0x290353);}}),this[_0x21c2ca(0x209)](_0x991eb4[_0x21c2ca(0x1ee)]['me'],!0x0);}[_0x53b630(0x20b)](_0x49af5f,_0x48e24c){const _0x5be668=_0x53b630;if(this[_0x5be668(0x1f2)][_0x5be668(0x1f0)](_0x49af5f))throw new _0xf73d60(_0x5be668(0x216),null,{'channelId':_0x49af5f});this[_0x5be668(0x1f2)][_0x5be668(0x1e4)](_0x49af5f,_0x48e24c),this[_0x5be668(0x1f1)][_0x5be668(0x1e4)](_0x49af5f,new _0x24895b()),this[_0x5be668(0x217)][_0x5be668(0x1e4)](_0x49af5f,new _0x24895b()),this[_0x5be668(0x1eb)](_0x48e24c,_0x5be668(0x1e7),(_0x218a62,_0x27d7a5)=>this[_0x5be668(0x206)](_0x49af5f,_0x27d7a5)),this[_0x5be668(0x1eb)](_0x48e24c,_0x5be668(0x1ff),(_0xc5a780,_0x37b0e8)=>this[_0x5be668(0x1e8)](_0x49af5f,_0x37b0e8));for(const _0x479ccc of _0x48e24c)this[_0x5be668(0x206)](_0x49af5f,_0x479ccc);}[_0x53b630(0x1ef)](_0x5e50f6){const _0xd575cc=_0x53b630;if(!this[_0xd575cc(0x1f2)][_0xd575cc(0x1f0)](_0x5e50f6))throw new _0xf73d60(_0xd575cc(0x1e2),null,{'channelId':_0x5e50f6});const _0xb234df=this[_0xd575cc(0x1f2)][_0xd575cc(0x1fb)](_0x5e50f6);this[_0xd575cc(0x20c)](_0xb234df);for(const _0x46d5ca of _0xb234df)_0xd575cc(0x1f9)===this[_0xd575cc(0x20d)][_0xd575cc(0x21b)][_0xd575cc(0x1fb)](_0x5247ab)[_0xd575cc(0x1fa)]&&this[_0xd575cc(0x1e8)](_0x5e50f6,_0x46d5ca);this[_0xd575cc(0x1f2)][_0xd575cc(0x1e0)](_0x5e50f6),this[_0xd575cc(0x1f1)][_0xd575cc(0x1e0)](_0x5e50f6),this[_0xd575cc(0x217)][_0xd575cc(0x1e0)](_0x5e50f6);}get[_0x53b630(0x219)](){const _0x10a4f4=_0x53b630;return this[_0x10a4f4(0x20d)][_0x10a4f4(0x21b)][_0x10a4f4(0x1fb)](_0x5247ab)[_0x10a4f4(0x1ee)][_0x10a4f4(0x211)];}[_0x53b630(0x207)](_0x150845){const _0x5d9084=_0x53b630;for(const _0x428628 of this[_0x5d9084(0x1f1)][_0x5d9084(0x202)]())for(const _0x28a9e0 of _0x428628)if(_0x28a9e0['id']===_0x150845)return _0x28a9e0[_0x5d9084(0x1f7)];}[_0x53b630(0x1fc)](_0x3866d2,_0x3bd583){const _0x4bb7e2=_0x53b630,_0x38ad4c=_0x3bd583?[this[_0x4bb7e2(0x1f1)][_0x4bb7e2(0x1fb)](_0x3bd583)]:this[_0x4bb7e2(0x1f1)][_0x4bb7e2(0x202)](),_0xa99209=new Set();for(const _0x4af436 of _0x38ad4c)for(const _0x54634c of _0x4af436)_0x54634c[_0x4bb7e2(0x1f7)]['id']===_0x3866d2['id']&&_0xa99209[_0x4bb7e2(0x1e7)](_0x54634c['id']);return _0xa99209;}[_0x53b630(0x20e)](_0x4e7599){const _0x2dec15=_0x53b630;for(const _0x465c61 of this[_0x2dec15(0x1f1)][_0x2dec15(0x202)]())for(const _0x590fa0 of _0x465c61)if(_0x590fa0[_0x2dec15(0x1f7)]===_0x4e7599)return _0x590fa0[_0x2dec15(0x1f5)];}[_0x53b630(0x206)](_0x114de9,_0x996110){const _0x42a075=_0x53b630;if(_0x42a075(0x1f9)!==this[_0x42a075(0x20d)][_0x42a075(0x21b)][_0x42a075(0x1fb)](_0x5247ab)[_0x42a075(0x1fa)])return;const _0x42fd91=_0x996110[_0x42a075(0x1f7)],_0x1fe59a=this[_0x42a075(0x203)][_0x42a075(0x1ec)](_0x42fd91['id'])||this[_0x42a075(0x209)](_0x42fd91),_0x8a09d6=Object[_0x42a075(0x20a)]({},_0x996110,{'user':_0x1fe59a});if(this[_0x42a075(0x1f1)][_0x42a075(0x1fb)](_0x114de9)[_0x42a075(0x1e7)](_0x8a09d6),!_0x42fd91[_0x42a075(0x205)]){const _0x3a0905=this[_0x42a075(0x217)][_0x42a075(0x1fb)](_0x114de9);_0x3a0905[_0x42a075(0x1f0)](_0x1fe59a['id'])||_0x3a0905[_0x42a075(0x1e7)](_0x1fe59a),this[_0x42a075(0x208)][_0x42a075(0x1f0)](_0x1fe59a['id'])||_0x42fd91[_0x42a075(0x205)]||this[_0x42a075(0x208)][_0x42a075(0x1e7)](_0x1fe59a,_0x1fe59a[_0x42a075(0x218)]?0x0:void 0x0);}this[_0x42a075(0x200)](_0x42a075(0x20f)+_0x114de9,{'channelId':_0x114de9,'session':_0x8a09d6});}[_0x53b630(0x1e8)](_0x5c02d1,_0x10f017){const _0x167bc2=_0x53b630;if(_0x167bc2(0x1f9)!==this[_0x167bc2(0x20d)][_0x167bc2(0x21b)][_0x167bc2(0x1fb)](_0x5247ab)[_0x167bc2(0x1fa)])return;const _0x313b08=this[_0x167bc2(0x217)][_0x167bc2(0x1fb)](_0x5c02d1),_0x126966=_0x10f017[_0x167bc2(0x1f7)];_0x126966['id']&&(this[_0x167bc2(0x1f1)][_0x167bc2(0x1fb)](_0x5c02d1)[_0x167bc2(0x1ff)](_0x10f017['id']),_0x313b08[_0x167bc2(0x1f0)](_0x126966['id'])&&!this[_0x167bc2(0x1fc)](_0x126966,_0x5c02d1)[_0x167bc2(0x214)]&&_0x313b08[_0x167bc2(0x1ff)](_0x126966['id']),this[_0x167bc2(0x208)][_0x167bc2(0x1fb)](_0x126966['id'])&&!this[_0x167bc2(0x1fc)](_0x126966)[_0x167bc2(0x214)]&&this[_0x167bc2(0x208)][_0x167bc2(0x1ff)](_0x126966['id']));}[_0x53b630(0x209)](_0x2a6240,_0x374213){const _0x37abe7=_0x53b630,_0x2b49b9=this[_0x37abe7(0x203)][_0x37abe7(0x1f8)](_0x2a6240);return _0x374213&&this[_0x37abe7(0x203)][_0x37abe7(0x210)](_0x2a6240['id']),_0x2b49b9[_0x37abe7(0x1e1)]=this[_0x37abe7(0x201)]++,_0x2b49b9;}}function _0x3346(){const _0x2adb6f=['connection','unregister','has','channelSessions','_registeredSessions','1004367IKeunb','48ETVdXl','role','requires','user','addUser','connected','state','get','getUserSessions','clear','Sessions','remove','fire','_uniqueUsersCount','values','_users','pluginName','hiddenInPresenceList','_handleSessionAdd','getUserBySessionId','allConnectedUsers','_createUser','assign','register','stopListening','context','getUserRole','sessionAdd:','defineMe','sessionId','125676YoVQil','isPremiumPlugin','size','1659204NPhvRm','sessions-register-already-registered','channelConnectedUsers','isMe','mySessionId','11274320MsJckC','plugins','121752hgPQfh','delete','orderNumber','sessions-unregister-not-exist','change:state','set','603150KdmWGi','init','add','_handleSessionRemove','forEach','isOfficialPlugin','listenTo','getUser','2187990qpKZIe'];_0x3346=function(){return _0x2adb6f;};return _0x3346();}
23
+ const _0xe3c558=_0x10a4;(function(_0x46408c,_0x5a437a){const _0x3c348d=_0x10a4,_0x54b6f9=_0x46408c();while(!![]){try{const _0x3a68ff=parseInt(_0x3c348d(0x114))/0x1+-parseInt(_0x3c348d(0xfa))/0x2+-parseInt(_0x3c348d(0xf1))/0x3*(parseInt(_0x3c348d(0xda))/0x4)+-parseInt(_0x3c348d(0xd9))/0x5+-parseInt(_0x3c348d(0xe1))/0x6+-parseInt(_0x3c348d(0x112))/0x7*(parseInt(_0x3c348d(0xf5))/0x8)+parseInt(_0x3c348d(0x101))/0x9;if(_0x3a68ff===_0x5a437a)break;else _0x54b6f9['push'](_0x54b6f9['shift']());}catch(_0x50d178){_0x54b6f9['push'](_0x54b6f9['shift']());}}}(_0x4e43,0x1ed22));function _0x10a4(_0x4959ed,_0xa483e8){const _0x4e4372=_0x4e43();return _0x10a4=function(_0x10a4ec,_0x131d7a){_0x10a4ec=_0x10a4ec-0xd8;let _0x1a37e8=_0x4e4372[_0x10a4ec];return _0x1a37e8;},_0x10a4(_0x4959ed,_0xa483e8);}import{ContextPlugin as _0x4c768b}from'ckeditor5/src/core.js';import{Collection as _0x7444ce,CKEditorError as _0xdb5015}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc773bb}from'./websocketgateway.js';import{Users as _0x352ba6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4e43(){const _0x113eb6=['orderNumber','isPremiumPlugin','plugins','channelConnectedUsers','register','70203Sxoath','isMe','138116qMDBNi','_uniqueUsersCount','hiddenInPresenceList','1118165gNefLK','53860dtdkCU','has','get','_createUser','_handleSessionAdd','context','getUserSessions','530586BWWbUy','defineMe','channelSessions','connection','sessions-unregister-not-exist','fire','role','getUserRole','delete','values','isOfficialPlugin','allConnectedUsers','init','_handleSessionRemove','add','Sessions','6kWHirC','pluginName','forEach','_registeredSessions','72GGHjZu','state','getUserBySessionId','change:state','assign','67440rgyuKs','listenTo','remove','clear','sessionAdd:','_users','unregister','4059909nyFIji','mySessionId','set','requires','addUser','user','connected','size','sessionId','stopListening','sessions-register-already-registered','getUser'];_0x4e43=function(){return _0x113eb6;};return _0x4e43();}export class Sessions extends _0x4c768b{[_0xe3c558(0xe3)];[_0xe3c558(0x110)];[_0xe3c558(0xec)];[_0xe3c558(0xf4)];[_0xe3c558(0x115)];[_0xe3c558(0xff)];static get[_0xe3c558(0xf2)](){const _0x259a76=_0xe3c558;return _0x259a76(0xf0);}static get[_0xe3c558(0xeb)](){return!0x0;}static get[_0xe3c558(0x10e)](){return!0x0;}static get[_0xe3c558(0x104)](){return[_0xc773bb,_0x352ba6];}constructor(_0x275ab6){const _0x448b46=_0xe3c558;super(_0x275ab6),this[_0x448b46(0xe3)]=new Map(),this[_0x448b46(0x110)]=new Map(),this[_0x448b46(0xec)]=new _0x7444ce(),this[_0x448b46(0xf4)]=new Map(),this[_0x448b46(0x115)]=0x0,this[_0x448b46(0xff)]=this[_0x448b46(0xdf)][_0x448b46(0x10f)][_0x448b46(0xdc)](_0x352ba6);}[_0xe3c558(0xed)](){const _0x2978ae=_0xe3c558,_0x1126b5=this[_0x2978ae(0xdf)][_0x2978ae(0x10f)][_0x2978ae(0xdc)](_0xc773bb);this[_0x2978ae(0xfb)](_0x1126b5,_0x2978ae(0xf8),(_0x2cc1a1,_0x3824db,_0x27763f)=>{const _0x5ccbaf=_0x2978ae;if(_0x5ccbaf(0x107)!==_0x27763f)this[_0x5ccbaf(0xe3)][_0x5ccbaf(0xf3)](_0x366ae8=>_0x366ae8[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0x110)][_0x5ccbaf(0xf3)](_0x3b8059=>_0x3b8059[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0xec)][_0x5ccbaf(0xfd)]();else{for(const [_0x28b044,_0x132676]of this[_0x5ccbaf(0xf4)])for(const _0x2f8170 of _0x132676)this[_0x5ccbaf(0xde)](_0x28b044,_0x2f8170);}}),this[_0x2978ae(0xdd)](_0x1126b5[_0x2978ae(0xe4)]['me'],!0x0);}[_0xe3c558(0x111)](_0x551ae3,_0x30b693){const _0x2585be=_0xe3c558;if(this[_0x2585be(0xf4)][_0x2585be(0xdb)](_0x551ae3))throw new _0xdb5015(_0x2585be(0x10b),null,{'channelId':_0x551ae3});this[_0x2585be(0xf4)][_0x2585be(0x103)](_0x551ae3,_0x30b693),this[_0x2585be(0xe3)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0x110)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xef),(_0x3141a4,_0x53fa08)=>this[_0x2585be(0xde)](_0x551ae3,_0x53fa08)),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xfc),(_0x1771ac,_0x4d1f16)=>this[_0x2585be(0xee)](_0x551ae3,_0x4d1f16));for(const _0x4b3c76 of _0x30b693)this[_0x2585be(0xde)](_0x551ae3,_0x4b3c76);}[_0xe3c558(0x100)](_0x1d06fb){const _0x5e410e=_0xe3c558;if(!this[_0x5e410e(0xf4)][_0x5e410e(0xdb)](_0x1d06fb))throw new _0xdb5015(_0x5e410e(0xe5),null,{'channelId':_0x1d06fb});const _0x22b902=this[_0x5e410e(0xf4)][_0x5e410e(0xdc)](_0x1d06fb);this[_0x5e410e(0x10a)](_0x22b902);for(const _0x25fb3d of _0x22b902)_0x5e410e(0x107)===this[_0x5e410e(0xdf)][_0x5e410e(0x10f)][_0x5e410e(0xdc)](_0xc773bb)[_0x5e410e(0xf6)]&&this[_0x5e410e(0xee)](_0x1d06fb,_0x25fb3d);this[_0x5e410e(0xf4)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0xe3)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0x110)][_0x5e410e(0xe9)](_0x1d06fb);}get[_0xe3c558(0x102)](){const _0xef557d=_0xe3c558;return this[_0xef557d(0xdf)][_0xef557d(0x10f)][_0xef557d(0xdc)](_0xc773bb)[_0xef557d(0xe4)][_0xef557d(0x109)];}[_0xe3c558(0xf7)](_0x4c2d78){const _0x3e2bc2=_0xe3c558;for(const _0x1e4fab of this[_0x3e2bc2(0xe3)][_0x3e2bc2(0xea)]())for(const _0x5488a3 of _0x1e4fab)if(_0x5488a3['id']===_0x4c2d78)return _0x5488a3[_0x3e2bc2(0x106)];}[_0xe3c558(0xe0)](_0x1ce8e6,_0x1dc1b0){const _0x32a063=_0xe3c558,_0x15e358=_0x1dc1b0?[this[_0x32a063(0xe3)][_0x32a063(0xdc)](_0x1dc1b0)]:this[_0x32a063(0xe3)][_0x32a063(0xea)](),_0x9ad977=new Set();for(const _0x395c25 of _0x15e358)for(const _0x1cbe6a of _0x395c25)_0x1cbe6a[_0x32a063(0x106)]['id']===_0x1ce8e6['id']&&_0x9ad977[_0x32a063(0xef)](_0x1cbe6a['id']);return _0x9ad977;}[_0xe3c558(0xe8)](_0x474625){const _0x5cbba0=_0xe3c558;for(const _0x386eec of this[_0x5cbba0(0xe3)][_0x5cbba0(0xea)]())for(const _0x30d539 of _0x386eec)if(_0x30d539[_0x5cbba0(0x106)]===_0x474625)return _0x30d539[_0x5cbba0(0xe7)];}[_0xe3c558(0xde)](_0xe85f05,_0x472e22){const _0x126d19=_0xe3c558;if(_0x126d19(0x107)!==this[_0x126d19(0xdf)][_0x126d19(0x10f)][_0x126d19(0xdc)](_0xc773bb)[_0x126d19(0xf6)])return;const _0x32b08b=_0x472e22[_0x126d19(0x106)],_0xbd9703=this[_0x126d19(0xff)][_0x126d19(0x10c)](_0x32b08b['id'])||this[_0x126d19(0xdd)](_0x32b08b),_0x6e909e=Object[_0x126d19(0xf9)]({},_0x472e22,{'user':_0xbd9703});if(this[_0x126d19(0xe3)][_0x126d19(0xdc)](_0xe85f05)[_0x126d19(0xef)](_0x6e909e),!_0x32b08b[_0x126d19(0xd8)]){const _0x48694f=this[_0x126d19(0x110)][_0x126d19(0xdc)](_0xe85f05);_0x48694f[_0x126d19(0xdb)](_0xbd9703['id'])||_0x48694f[_0x126d19(0xef)](_0xbd9703),this[_0x126d19(0xec)][_0x126d19(0xdb)](_0xbd9703['id'])||_0x32b08b[_0x126d19(0xd8)]||this[_0x126d19(0xec)][_0x126d19(0xef)](_0xbd9703,_0xbd9703[_0x126d19(0x113)]?0x0:void 0x0);}this[_0x126d19(0xe6)](_0x126d19(0xfe)+_0xe85f05,{'channelId':_0xe85f05,'session':_0x6e909e});}[_0xe3c558(0xee)](_0x4912c4,_0x4cd2df){const _0x4d284c=_0xe3c558;if(_0x4d284c(0x107)!==this[_0x4d284c(0xdf)][_0x4d284c(0x10f)][_0x4d284c(0xdc)](_0xc773bb)[_0x4d284c(0xf6)])return;const _0x4f2837=this[_0x4d284c(0x110)][_0x4d284c(0xdc)](_0x4912c4),_0x3b339d=_0x4cd2df[_0x4d284c(0x106)];_0x3b339d['id']&&(this[_0x4d284c(0xe3)][_0x4d284c(0xdc)](_0x4912c4)[_0x4d284c(0xfc)](_0x4cd2df['id']),_0x4f2837[_0x4d284c(0xdb)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d,_0x4912c4)[_0x4d284c(0x108)]&&_0x4f2837[_0x4d284c(0xfc)](_0x3b339d['id']),this[_0x4d284c(0xec)][_0x4d284c(0xdc)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d)[_0x4d284c(0x108)]&&this[_0x4d284c(0xec)][_0x4d284c(0xfc)](_0x3b339d['id']));}[_0xe3c558(0xdd)](_0x4fb77c,_0x3beb50){const _0x54a821=_0xe3c558,_0x19ca31=this[_0x54a821(0xff)][_0x54a821(0x105)](_0x4fb77c);return _0x3beb50&&this[_0x54a821(0xff)][_0x54a821(0xe2)](_0x4fb77c['id']),_0x19ca31[_0x54a821(0x10d)]=this[_0x54a821(0x115)]++,_0x19ca31;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a2d(_0x19ff0f,_0x6f7973){const _0xbc7466=_0xbc74();return _0x2a2d=function(_0x2a2d2f,_0x578bd9){_0x2a2d2f=_0x2a2d2f-0x75;let _0x247c7c=_0xbc7466[_0x2a2d2f];return _0x247c7c;},_0x2a2d(_0x19ff0f,_0x6f7973);}const _0x1eae72=_0x2a2d;(function(_0x488d0f,_0x5f0579){const _0x5e2438=_0x2a2d,_0x57b3b6=_0x488d0f();while(!![]){try{const _0x26eaac=parseInt(_0x5e2438(0x97))/0x1+parseInt(_0x5e2438(0xf5))/0x2*(parseInt(_0x5e2438(0xcb))/0x3)+-parseInt(_0x5e2438(0xb0))/0x4+parseInt(_0x5e2438(0xfe))/0x5*(-parseInt(_0x5e2438(0x80))/0x6)+parseInt(_0x5e2438(0xc6))/0x7*(-parseInt(_0x5e2438(0xc1))/0x8)+-parseInt(_0x5e2438(0xd0))/0x9*(-parseInt(_0x5e2438(0x8b))/0xa)+-parseInt(_0x5e2438(0x100))/0xb*(-parseInt(_0x5e2438(0xd4))/0xc);if(_0x26eaac===_0x5f0579)break;else _0x57b3b6['push'](_0x57b3b6['shift']());}catch(_0x1bf675){_0x57b3b6['push'](_0x57b3b6['shift']());}}}(_0xbc74,0x67238));import{Plugin as _0x4f2c55}from'ckeditor5/src/core.js';function _0xbc74(){const _0xbff7cb=['enqueueChange','mapper','applyOperation','user:range:','user:position','get','requires','markerName','5gyNDxj','userPositionMarker','33fBDjXe','user:range','user:','for','toDomElement','addEventListener','isLimit','checkChild','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','split','listenTo','stopListening','newRange','3953238ptHbfm','classList','start','plugins','$graveyard','outerHTML','isDocumentOperation','UserMarkers','render','false','change:range','118420vqNDhf','createUIElement','setAttribute','mySessionId','deletionPosition','destroy','span','getUserBySessionId','init','model','hasContent','size','752332NwiXaQ','_domEmitter','view','clear','updateMarker','set','orderNumber','ck-user__selection','delete','spellcheck','Escape','markerToElement','conversion','isInline','getContainedElement','createElement','isObject','type','setCustomProperty','ck-user__marker\x20','document','isSimilar','parent','schema','change','2639740rSRfAk','markerRange','contenteditable','innerHTML','markers','update:user:range','pluginName','startsWith','nodeAfter','getCustomProperty','oldRange','getStart','ck-user__marker-tooltip','root','end','editor','editing','8WzNYup','getNearestSelectionRange','marker','$text','add','2656787lkktHG','getMarkerClass','selection','afterInit','removeClass','1332DsbCPy','createRange','toRange','getSelectionClass','editingDowncast','72SFoHYp','markerToHighlight','removeMarker','fromRange','3395316GIiOaD','user:position:','highest','getRange','textContent','mouseenter','remove','createUserMarkerOperations','mouseleave','detach','keydown','name','batch','data-session-id','commands','getPositions','isOfficialPlugin','_createdBatches','element','has','color','reconvertMarker','rootName','tableCell','ck-user__marker_hovered','addMarker','isPremiumPlugin','undo','markerNameToElements','getFirstRange','hasDomSelection','getAttribute','isCollapsed','1914sRaSpk'];_0xbc74=function(){return _0xbff7cb;};return _0xbc74();}import{global as _0x5bd093,DomEmitterMixin as _0x103280}from'ckeditor5/src/utils.js';import{Sessions as _0x210814}from'./sessions.js';import{ModelLiveRange as _0x2593a0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4f2c55{[_0x1eae72(0x98)]=new(_0x103280())();static get[_0x1eae72(0xfc)](){return[_0x210814];}static get[_0x1eae72(0xb6)](){const _0x29ead1=_0x1eae72;return _0x29ead1(0x87);}static get[_0x1eae72(0xe4)](){return!0x0;}static get[_0x1eae72(0xee)](){return!0x0;}[_0x1eae72(0x93)](){const _0x400323=_0x1eae72,_0x10265e=this[_0x400323(0xbf)],_0x2e45f3=_0x10265e[_0x400323(0x83)][_0x400323(0xfb)](_0x210814);_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xa2)]({'model':_0x400323(0xfa),'view':(_0x1411df,{writer:_0x46272e})=>function(_0x516661,_0x1d8945,_0x3423ca,_0x54e46b){const _0xbeabc2=_0x400323,_0x48fe4e=_0x516661[_0xbeabc2(0xfd)][_0xbeabc2(0x7c)](':')[0x2],_0x4f7079=_0x3423ca[_0xbeabc2(0x92)](_0x48fe4e);if(!_0x4f7079||_0x48fe4e===_0x3423ca[_0xbeabc2(0x8e)])return;if(!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x7a)](_0x516661[_0xbeabc2(0xb1)][_0xbeabc2(0x82)],_0xbeabc2(0xc4)))return;const _0x31f2ea={'class':_0xbeabc2(0xaa)+_0x4f7079[_0xbeabc2(0xe8)][_0xbeabc2(0xc7)](),'data-name':_0x4f7079[_0xbeabc2(0xdf)],'data-session-id':_0x48fe4e},_0x108a00=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0x516661[_0xbeabc2(0xfd)]),_0x2f4f7d=_0x108a00[_0xbeabc2(0xbb)](),_0x2f8cff=_0x2f4f7d[_0xbeabc2(0xb8)],_0x1160b2=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)];if(_0x2f8cff&&_0x1160b2[_0xbeabc2(0xa7)](_0x2f8cff)&&_0x1160b2[_0xbeabc2(0xa4)](_0x2f8cff)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0xbeabc2(0xf9)+_0x48fe4e)[_0xbeabc2(0xd7)]()[_0xbeabc2(0xf4)])return;const _0x151aa4=_0x2f4f7d[_0xbeabc2(0xad)];return _0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x79)](_0x151aa4)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0x95)](_0x151aa4)&&(_0x31f2ea[_0xbeabc2(0xb2)]=!0x1),function(_0x50d35b,_0x37528f,_0x3cdb0e){const _0x1982b0=_0xbeabc2,_0x157c60=_0x50d35b[_0x1982b0(0x8c)](_0x1982b0(0x91),_0x37528f);return _0x50d35b[_0x1982b0(0xa9)](_0x1982b0(0xff),!0x0,_0x157c60),_0x157c60[_0x1982b0(0x88)]=function(_0x170e13){const _0x3f0662=_0x1982b0,_0x24c1b0=this[_0x3f0662(0x77)](_0x170e13),_0x347b10=document[_0x3f0662(0xa6)](_0x3f0662(0x91));return _0x347b10[_0x3f0662(0x81)][_0x3f0662(0xc5)](_0x3f0662(0xbc)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xb2),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xa0),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0xd8)]=_0x3cdb0e[_0x3f0662(0xdf)],_0x24c1b0[_0x3f0662(0xb3)]=_0x3f0662(0x7b)+_0x347b10[_0x3f0662(0x85)]+'⁠',_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xd9),()=>{const _0x4b2b3a=_0x3f0662;_0x24c1b0[_0x4b2b3a(0x81)][_0x4b2b3a(0xc5)](_0x4b2b3a(0xec));}),_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xdc),()=>{const _0x4ec338=_0x3f0662;_0x24c1b0[_0x4ec338(0x81)][_0x4ec338(0xda)](_0x4ec338(0xec));}),_0x24c1b0;},_0x157c60[_0x1982b0(0xac)]=function(_0x4f4211){const _0x48f85e=_0x1982b0;return!(!this[_0x48f85e(0xb9)](_0x48f85e(0xff))||!_0x4f4211[_0x48f85e(0xb9)](_0x48f85e(0xff))||this[_0x48f85e(0xf3)](_0x48f85e(0xe1))!=_0x4f4211[_0x48f85e(0xf3)](_0x48f85e(0xe1)));},_0x157c60;}(_0x1d8945,_0x31f2ea,_0x4f7079);}(_0x1411df,_0x46272e,_0x2e45f3,_0x10265e)}),_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xd1)]({'model':_0x400323(0x101),'view':_0x5e1ddd=>function(_0x21c251,_0x4001e8){const _0x34036f=_0x400323,_0x290ac5=_0x21c251[_0x34036f(0xfd)][_0x34036f(0x7c)](':')[0x2];if(_0x290ac5===_0x4001e8[_0x34036f(0x8e)])return null;const _0x2f8d7c=_0x4001e8[_0x34036f(0x92)](_0x290ac5);if(!_0x2f8d7c)return{'id':_0x290ac5,'classes':[]};return{'id':_0x290ac5,'classes':[_0x34036f(0x9e),_0x2f8d7c[_0x34036f(0xe8)][_0x34036f(0xce)]()],'attributes':{'data-session-id':_0x290ac5},'priority':0x7d0+_0x2f8d7c[_0x34036f(0x9d)]};}(_0x5e1ddd,_0x2e45f3)}),function(_0x2039d1){const _0x4a2472=_0x400323,_0x3f09f9=_0x2039d1[_0x4a2472(0x94)],_0x377fe8=new Map(),_0x5df694=_0x2039d1[_0x4a2472(0x83)][_0x4a2472(0xfb)](_0x210814);_0x3f09f9[_0x4a2472(0xb4)]['on'](_0x4a2472(0xb5),(_0x3ec8df,_0x289774,_0x54999c,_0x45839a)=>{const _0x1a2f1f=_0x4a2472;if(!_0x45839a&&_0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)]))return _0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)])[_0x1a2f1f(0xdd)](),void _0x377fe8[_0x1a2f1f(0x9f)](_0x289774[_0x1a2f1f(0xdf)]);const _0x11e15a=_0x289774[_0x1a2f1f(0xdf)][_0x1a2f1f(0x7c)](':')[0x2];if(_0x11e15a===_0x5df694[_0x1a2f1f(0x8e)])return;const _0x41edf1=_0x1a2f1f(0xd5)+_0x11e15a;_0x3f09f9[_0x1a2f1f(0xb4)][_0x1a2f1f(0xe7)](_0x41edf1)&&_0x2039d1[_0x1a2f1f(0xc0)][_0x1a2f1f(0xe9)](_0x41edf1),_0x289774['on'](_0x1a2f1f(0x8a),(_0x201095,_0x5c1c23,_0x4bcb3d)=>{const _0x40735f=_0x1a2f1f;if(_0x40735f(0x84)!=_0x5c1c23[_0x40735f(0xbd)][_0x40735f(0xea)]&&_0x40735f(0x84)==_0x289774[_0x40735f(0xd7)]()[_0x40735f(0xbd)][_0x40735f(0xea)]&&!_0x377fe8[_0x40735f(0xe7)](_0x289774[_0x40735f(0xdf)])){const _0x3920de=_0x3f09f9[_0x40735f(0xae)][_0x40735f(0xc2)](_0x4bcb3d[_0x40735f(0x8f)]);if(_0x3920de){const _0x37dfea=_0x2593a0[_0x40735f(0xd3)](_0x3920de);_0x377fe8[_0x40735f(0x9c)](_0x289774[_0x40735f(0xdf)],_0x37dfea),_0x37dfea['on'](_0x40735f(0x8a),(_0x5e53fe,_0x231437,_0x343069)=>{const _0x38dfd8=_0x40735f;if(_0x38dfd8(0x84)==_0x37dfea[_0x38dfd8(0xbd)][_0x38dfd8(0xea)]){const _0x53a0af=_0x3f09f9[_0x38dfd8(0xae)][_0x38dfd8(0xc2)](_0x343069[_0x38dfd8(0x8f)]);_0x53a0af?(_0x37dfea[_0x38dfd8(0x82)]=_0x53a0af[_0x38dfd8(0x82)],_0x37dfea[_0x38dfd8(0xbe)]=_0x53a0af[_0x38dfd8(0xbe)]):(_0x377fe8[_0x38dfd8(0x9f)](_0x289774[_0x38dfd8(0xdf)]),_0x37dfea[_0x38dfd8(0xdd)]());}});}}});}),_0x3f09f9[_0x4a2472(0xab)]['on'](_0x4a2472(0xaf),()=>{const _0x33bd46=_0x4a2472;_0x377fe8[_0x33bd46(0x96)]>0x0&&_0x3f09f9[_0x33bd46(0xf6)]({'isUndoable':!0x1},_0x1e2c72=>{const _0x16632f=_0x33bd46;for(const [_0x50e439,_0x4aada1]of _0x377fe8)_0x16632f(0x84)==_0x3f09f9[_0x16632f(0xb4)][_0x16632f(0xfb)](_0x50e439)[_0x16632f(0xd7)]()[_0x16632f(0xbd)][_0x16632f(0xea)]&&(J(_0x50e439[_0x16632f(0x7c)](':')[0x2],_0x4aada1[_0x16632f(0xcd)](),_0x3f09f9,_0x1e2c72),_0x4aada1[_0x16632f(0xdd)]());_0x377fe8[_0x16632f(0x9a)]();});});}(_0x10265e),this[_0x400323(0x98)][_0x400323(0x7d)](_0x5bd093[_0x400323(0xab)],_0x400323(0xde),(_0x719812,{key:_0x318e73})=>{const _0x19cbd3=_0x400323;_0x19cbd3(0xa1)===_0x318e73&&function(_0x5957df){const _0x13b338=_0x19cbd3;_0x5957df[_0x13b338(0xc0)][_0x13b338(0x99)][_0x13b338(0xaf)](_0x25beae=>{const _0x4f5863=_0x13b338;for(const _0x129576 of _0x5957df[_0x4f5863(0x94)][_0x4f5863(0xb4)]){if(!_0x129576[_0x4f5863(0xdf)][_0x4f5863(0xb7)](_0x4f5863(0xfa)))continue;const _0x1fa5c7=_0x5957df[_0x4f5863(0xc0)][_0x4f5863(0xf7)][_0x4f5863(0xf0)](_0x129576[_0x4f5863(0xdf)]);if(_0x1fa5c7){for(const _0x140594 of _0x1fa5c7)_0x25beae[_0x4f5863(0xca)](_0x4f5863(0xec),_0x140594);}}});}(_0x10265e);},{'useCapture':!0x0});}[_0x1eae72(0xc9)](){const _0x3f83d5=_0x1eae72,_0xb5f127=this[_0x3f83d5(0xbf)],_0x36cea8=_0xb5f127[_0x3f83d5(0xe2)][_0x3f83d5(0xfb)](_0x3f83d5(0xef));_0x36cea8&&_0xb5f127[_0x3f83d5(0x94)]['on'](_0x3f83d5(0xf8),(_0x27f259,_0x368435)=>{const _0x1e2c78=_0x3f83d5,_0x16ca9b=_0x368435[0x0];if(!_0x16ca9b[_0x1e2c78(0x86)])return;if(_0x1e2c78(0xc3)!=_0x16ca9b[_0x1e2c78(0xa8)]||!_0x16ca9b[_0x1e2c78(0xdf)][_0x1e2c78(0xb7)](_0x1e2c78(0x75)))return;const _0x52627d=_0x16ca9b[_0x1e2c78(0xe0)];_0x36cea8[_0x1e2c78(0xe5)][_0x1e2c78(0xe7)](_0x52627d)&&(_0x16ca9b[_0x1e2c78(0x7f)]=_0x16ca9b[_0x1e2c78(0xba)]?_0xb5f127[_0x1e2c78(0x94)][_0x1e2c78(0xcc)](_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0x82)],_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0xbe)]):null);},{'priority':_0x3f83d5(0xd6)});}[_0x1eae72(0x90)](){const _0x118d2c=_0x1eae72;return this[_0x118d2c(0x98)][_0x118d2c(0x7e)](),super[_0x118d2c(0x90)]();}[_0x1eae72(0xdb)](){const _0x5bff5e=_0x1eae72,_0x3e0d9b=this[_0x5bff5e(0xbf)],_0x3ac2cc=_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xab)],_0x4b2b96=_0x3e0d9b[_0x5bff5e(0x83)][_0x5bff5e(0xfb)](_0x210814);_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xf6)]({'isUndoable':!0x1},_0x27444c=>{const _0x2ae132=_0x5bff5e,_0x518cc7=_0x2ae132(0xf9)+_0x4b2b96[_0x2ae132(0x8e)],_0x3454d4=_0x2ae132(0xd5)+_0x4b2b96[_0x2ae132(0x8e)],_0x67535c=_0x3e0d9b[_0x2ae132(0x94)][_0x2ae132(0xb4)][_0x2ae132(0xe7)](_0x518cc7);_0x3e0d9b[_0x2ae132(0xc0)][_0x2ae132(0x99)][_0x2ae132(0xf2)]?J(_0x4b2b96[_0x2ae132(0x8e)],_0x3ac2cc[_0x2ae132(0xc8)][_0x2ae132(0xf1)](),_0x3e0d9b[_0x2ae132(0x94)],_0x27444c):_0x67535c&&(_0x27444c[_0x2ae132(0xd2)](_0x518cc7),_0x27444c[_0x2ae132(0xd2)](_0x3454d4));});}}function J(_0x5ea688,_0x36cb79,_0x6e10cb,_0x4291b5){const _0x1a6ab3=_0x1eae72,_0x46fa6d=_0x1a6ab3(0xf9)+_0x5ea688,_0x29a679=_0x1a6ab3(0xd5)+_0x5ea688,_0x45dc5d=_0x36cb79[_0x1a6ab3(0xa5)]();let _0x277a19=_0x36cb79[_0x1a6ab3(0x82)];if(_0x45dc5d&&_0x45dc5d['is'](_0x1a6ab3(0xe6),_0x1a6ab3(0xeb))){const _0x34657d=function(_0x3775c3,_0x3c7f40){const _0x2be8fb=_0x1a6ab3;for(const _0x4704b5 of _0x3775c3[_0x2be8fb(0xe3)]())if(_0x3c7f40[_0x2be8fb(0xae)][_0x2be8fb(0x7a)](_0x4704b5,_0x2be8fb(0xc4)))return _0x4704b5;}(_0x36cb79,_0x6e10cb);_0x34657d&&(_0x277a19=_0x34657d,_0x36cb79=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19));}const _0x51932a=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19);_0x6e10cb[_0x1a6ab3(0xb4)][_0x1a6ab3(0xe7)](_0x46fa6d)?(_0x4291b5[_0x1a6ab3(0x9b)](_0x46fa6d,{'range':_0x36cb79}),_0x4291b5[_0x1a6ab3(0x9b)](_0x29a679,{'range':_0x51932a})):(_0x4291b5[_0x1a6ab3(0xed)](_0x46fa6d,{'range':_0x36cb79,'usingOperation':!0x0}),_0x4291b5[_0x1a6ab3(0xed)](_0x29a679,{'range':_0x51932a,'usingOperation':!0x0}));}
23
+ const _0x45b43e=_0x3d0c;(function(_0x547831,_0xadbe2){const _0x1a3e80=_0x3d0c,_0x361a85=_0x547831();while(!![]){try{const _0x1d71d8=parseInt(_0x1a3e80(0xc4))/0x1+parseInt(_0x1a3e80(0xeb))/0x2+-parseInt(_0x1a3e80(0xc0))/0x3+-parseInt(_0x1a3e80(0x88))/0x4+-parseInt(_0x1a3e80(0x8a))/0x5*(parseInt(_0x1a3e80(0xd2))/0x6)+parseInt(_0x1a3e80(0xa6))/0x7+parseInt(_0x1a3e80(0xac))/0x8;if(_0x1d71d8===_0xadbe2)break;else _0x361a85['push'](_0x361a85['shift']());}catch(_0x1a98c1){_0x361a85['push'](_0x361a85['shift']());}}}(_0x4e18,0xd3e0f));import{Plugin as _0x1dc661}from'ckeditor5/src/core.js';import{global as _0x4cd33d,DomEmitterMixin as _0x2e0f01}from'ckeditor5/src/utils.js';function _0x4e18(){const _0x4d63a7=['2681928bCeGns','user:','enqueueChange','oldRange','isOfficialPlugin','tableCell','editor','change','commands','nodeAfter','start','markerToElement','model','createRange','getContainedElement','toRange','_domEmitter','textContent','removeClass','user:range','5174235kpbGkq','userPositionMarker','clear','stopListening','459299yCrCth','markerName','span','mouseleave','selection','mySessionId','parent','mapper','setCustomProperty','$text','removeMarker','UserMarkers','isPremiumPlugin','reconvertMarker','229926cLmdrG','batch','requires','newRange','ck-user__marker-tooltip','document','update:user:range','color','editing','undo','createUserMarkerOperations','pluginName','size','set','deletionPosition','$graveyard','mouseenter','isInline','marker','getMarkerClass','toDomElement','markerRange','contenteditable','data-session-id','rootName','3015560bWaZKg','root','keydown','has','getCustomProperty','_createdBatches','spellcheck','hasContent','change:range','setAttribute','add','isObject','isDocumentOperation','view','markers','getFirstRange','remove','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','conversion','destroy','isLimit','detach','split','getUserBySessionId','highest','isCollapsed','classList','orderNumber','delete','ck-user__marker_hovered','editingDowncast','getStart','end','startsWith','user:position','updateMarker','createUIElement','getSelectionClass','2899300xHhSIv','afterInit','85EOcHkW','ck-user__marker\x20','hasDomSelection','addEventListener','getAttribute','type','user:position:','createElement','schema','markerNameToElements','addMarker','user:range:','innerHTML','for','ck-user__selection','render','name','element','isSimilar','getRange','checkChild','init','applyOperation','plugins','false','getNearestSelectionRange','markerToHighlight','getPositions','11665934DZCOIz','outerHTML','Escape','fromRange','get','listenTo'];_0x4e18=function(){return _0x4d63a7;};return _0x4e18();}import{Sessions as _0x379960}from'./sessions.js';import{ModelLiveRange as _0x1c7809}from'ckeditor5/src/engine.js';function _0x3d0c(_0x38a043,_0x535d95){const _0x4e185b=_0x4e18();return _0x3d0c=function(_0x3d0cf6,_0x43fb6b){_0x3d0cf6=_0x3d0cf6-0x80;let _0x2d8a8b=_0x4e185b[_0x3d0cf6];return _0x2d8a8b;},_0x3d0c(_0x38a043,_0x535d95);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x1dc661{[_0x45b43e(0xbc)]=new(_0x2e0f01())();static get[_0x45b43e(0xd4)](){return[_0x379960];}static get[_0x45b43e(0xdd)](){const _0x3c0246=_0x45b43e;return _0x3c0246(0xcf);}static get[_0x45b43e(0xb0)](){return!0x0;}static get[_0x45b43e(0xd0)](){return!0x0;}[_0x45b43e(0x9f)](){const _0x2b2796=_0x45b43e,_0x2b85fa=this[_0x2b2796(0xb2)],_0x5783d3=_0x2b85fa[_0x2b2796(0xa1)][_0x2b2796(0xaa)](_0x379960);_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xb7)]({'model':_0x2b2796(0x84),'view':(_0x5cfe95,{writer:_0x1b811c})=>function(_0x431e61,_0x32d5bc,_0x10e846,_0xdc5bde){const _0x21cd8a=_0x2b2796,_0xa33d02=_0x431e61[_0x21cd8a(0xc5)][_0x21cd8a(0x101)](':')[0x2],_0x1f7b0b=_0x10e846[_0x21cd8a(0x102)](_0xa33d02);if(!_0x1f7b0b||_0xa33d02===_0x10e846[_0x21cd8a(0xc9)])return;if(!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0x9e)](_0x431e61[_0x21cd8a(0xe7)][_0x21cd8a(0xb6)],_0x21cd8a(0xcd)))return;const _0x4a61ef={'class':_0x21cd8a(0x8b)+_0x1f7b0b[_0x21cd8a(0xd9)][_0x21cd8a(0xe5)](),'data-name':_0x1f7b0b[_0x21cd8a(0x9a)],'data-session-id':_0xa33d02},_0xf89ff4=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x431e61[_0x21cd8a(0xc5)]),_0x59d9ff=_0xf89ff4[_0x21cd8a(0x81)](),_0x5ac3ba=_0x59d9ff[_0x21cd8a(0xb5)],_0x2e749b=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)];if(_0x5ac3ba&&_0x2e749b[_0x21cd8a(0xf6)](_0x5ac3ba)&&_0x2e749b[_0x21cd8a(0xe3)](_0x5ac3ba)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x21cd8a(0x95)+_0xa33d02)[_0x21cd8a(0x9d)]()[_0x21cd8a(0x104)])return;const _0xdcb081=_0x59d9ff[_0x21cd8a(0xca)];return _0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0xff)](_0xdcb081)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf2)](_0xdcb081)&&(_0x4a61ef[_0x21cd8a(0xe8)]=!0x1),function(_0x99d1c5,_0x2c87d0,_0x1436f6){const _0x470f39=_0x21cd8a,_0x4efc1f=_0x99d1c5[_0x470f39(0x86)](_0x470f39(0xc6),_0x2c87d0);return _0x99d1c5[_0x470f39(0xcc)](_0x470f39(0xc1),!0x0,_0x4efc1f),_0x4efc1f[_0x470f39(0x99)]=function(_0x489d99){const _0x2f0e67=_0x470f39,_0x182e0c=this[_0x2f0e67(0xe6)](_0x489d99),_0x18df95=document[_0x2f0e67(0x91)](_0x2f0e67(0xc6));return _0x18df95[_0x2f0e67(0x105)][_0x2f0e67(0xf5)](_0x2f0e67(0xd6)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xe8),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xf1),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xbd)]=_0x1436f6[_0x2f0e67(0x9a)],_0x182e0c[_0x2f0e67(0x96)]=_0x2f0e67(0xfc)+_0x18df95[_0x2f0e67(0xa7)]+'⁠',_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xe2),()=>{const _0x4309ee=_0x2f0e67;_0x182e0c[_0x4309ee(0x105)][_0x4309ee(0xf5)](_0x4309ee(0x108));}),_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xc7),()=>{const _0x5ceaca=_0x2f0e67;_0x182e0c[_0x5ceaca(0x105)][_0x5ceaca(0xfb)](_0x5ceaca(0x108));}),_0x182e0c;},_0x4efc1f[_0x470f39(0x9c)]=function(_0x1ceeee){const _0x566f20=_0x470f39;return!(!this[_0x566f20(0xef)](_0x566f20(0xc1))||!_0x1ceeee[_0x566f20(0xef)](_0x566f20(0xc1))||this[_0x566f20(0x8e)](_0x566f20(0xe9))!=_0x1ceeee[_0x566f20(0x8e)](_0x566f20(0xe9)));},_0x4efc1f;}(_0x32d5bc,_0x4a61ef,_0x1f7b0b);}(_0x5cfe95,_0x1b811c,_0x5783d3,_0x2b85fa)}),_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xa4)]({'model':_0x2b2796(0xbf),'view':_0x3220e8=>function(_0x133080,_0xee595d){const _0x4b5e09=_0x2b2796,_0x26d6ce=_0x133080[_0x4b5e09(0xc5)][_0x4b5e09(0x101)](':')[0x2];if(_0x26d6ce===_0xee595d[_0x4b5e09(0xc9)])return null;const _0x3b7892=_0xee595d[_0x4b5e09(0x102)](_0x26d6ce);if(!_0x3b7892)return{'id':_0x26d6ce,'classes':[]};return{'id':_0x26d6ce,'classes':[_0x4b5e09(0x98),_0x3b7892[_0x4b5e09(0xd9)][_0x4b5e09(0x87)]()],'attributes':{'data-session-id':_0x26d6ce},'priority':0x7d0+_0x3b7892[_0x4b5e09(0x106)]};}(_0x3220e8,_0x5783d3)}),function(_0xb0e7d2){const _0x2fb7b0=_0x2b2796,_0x53757c=_0xb0e7d2[_0x2fb7b0(0xb8)],_0x15d5a2=new Map(),_0x5a7e6e=_0xb0e7d2[_0x2fb7b0(0xa1)][_0x2fb7b0(0xaa)](_0x379960);_0x53757c[_0x2fb7b0(0xf9)]['on'](_0x2fb7b0(0xd8),(_0x3448ed,_0x1d019d,_0x23a397,_0x44adb2)=>{const _0x380f01=_0x2fb7b0;if(!_0x44adb2&&_0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)]))return _0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)])[_0x380f01(0x100)](),void _0x15d5a2[_0x380f01(0x107)](_0x1d019d[_0x380f01(0x9a)]);const _0x5d82cd=_0x1d019d[_0x380f01(0x9a)][_0x380f01(0x101)](':')[0x2];if(_0x5d82cd===_0x5a7e6e[_0x380f01(0xc9)])return;const _0x33d140=_0x380f01(0x90)+_0x5d82cd;_0x53757c[_0x380f01(0xf9)][_0x380f01(0xee)](_0x33d140)&&_0xb0e7d2[_0x380f01(0xda)][_0x380f01(0xd1)](_0x33d140),_0x1d019d['on'](_0x380f01(0xf3),(_0xf5e427,_0xac79a3,_0x3ab2d0)=>{const _0x3feb04=_0x380f01;if(_0x3feb04(0xe1)!=_0xac79a3[_0x3feb04(0xec)][_0x3feb04(0xea)]&&_0x3feb04(0xe1)==_0x1d019d[_0x3feb04(0x9d)]()[_0x3feb04(0xec)][_0x3feb04(0xea)]&&!_0x15d5a2[_0x3feb04(0xee)](_0x1d019d[_0x3feb04(0x9a)])){const _0x4f9b99=_0x53757c[_0x3feb04(0x92)][_0x3feb04(0xa3)](_0x3ab2d0[_0x3feb04(0xe0)]);if(_0x4f9b99){const _0x3034e0=_0x1c7809[_0x3feb04(0xa9)](_0x4f9b99);_0x15d5a2[_0x3feb04(0xdf)](_0x1d019d[_0x3feb04(0x9a)],_0x3034e0),_0x3034e0['on'](_0x3feb04(0xf3),(_0x54db72,_0x2eaeac,_0x5145e1)=>{const _0x21ff6e=_0x3feb04;if(_0x21ff6e(0xe1)==_0x3034e0[_0x21ff6e(0xec)][_0x21ff6e(0xea)]){const _0x4eca8b=_0x53757c[_0x21ff6e(0x92)][_0x21ff6e(0xa3)](_0x5145e1[_0x21ff6e(0xe0)]);_0x4eca8b?(_0x3034e0[_0x21ff6e(0xb6)]=_0x4eca8b[_0x21ff6e(0xb6)],_0x3034e0[_0x21ff6e(0x82)]=_0x4eca8b[_0x21ff6e(0x82)]):(_0x15d5a2[_0x21ff6e(0x107)](_0x1d019d[_0x21ff6e(0x9a)]),_0x3034e0[_0x21ff6e(0x100)]());}});}}});}),_0x53757c[_0x2fb7b0(0xd7)]['on'](_0x2fb7b0(0xb3),()=>{const _0xfc6b8e=_0x2fb7b0;_0x15d5a2[_0xfc6b8e(0xde)]>0x0&&_0x53757c[_0xfc6b8e(0xae)]({'isUndoable':!0x1},_0x17cf35=>{const _0x8f1f59=_0xfc6b8e;for(const [_0x5b4da1,_0x287039]of _0x15d5a2)_0x8f1f59(0xe1)==_0x53757c[_0x8f1f59(0xf9)][_0x8f1f59(0xaa)](_0x5b4da1)[_0x8f1f59(0x9d)]()[_0x8f1f59(0xec)][_0x8f1f59(0xea)]&&(te(_0x5b4da1[_0x8f1f59(0x101)](':')[0x2],_0x287039[_0x8f1f59(0xbb)](),_0x53757c,_0x17cf35),_0x287039[_0x8f1f59(0x100)]());_0x15d5a2[_0x8f1f59(0xc2)]();});});}(_0x2b85fa),this[_0x2b2796(0xbc)][_0x2b2796(0xab)](_0x4cd33d[_0x2b2796(0xd7)],_0x2b2796(0xed),(_0x413208,{key:_0x131ca2})=>{const _0x5a79a4=_0x2b2796;_0x5a79a4(0xa8)===_0x131ca2&&function(_0x1ad148){const _0xfec328=_0x5a79a4;_0x1ad148[_0xfec328(0xda)][_0xfec328(0xf8)][_0xfec328(0xb3)](_0x1b7933=>{const _0x5b3cb1=_0xfec328;for(const _0x4c32e2 of _0x1ad148[_0x5b3cb1(0xb8)][_0x5b3cb1(0xf9)]){if(!_0x4c32e2[_0x5b3cb1(0x9a)][_0x5b3cb1(0x83)](_0x5b3cb1(0x84)))continue;const _0x4b1ca7=_0x1ad148[_0x5b3cb1(0xda)][_0x5b3cb1(0xcb)][_0x5b3cb1(0x93)](_0x4c32e2[_0x5b3cb1(0x9a)]);if(_0x4b1ca7){for(const _0x3a5e44 of _0x4b1ca7)_0x1b7933[_0x5b3cb1(0xbe)](_0x5b3cb1(0x108),_0x3a5e44);}}});}(_0x2b85fa);},{'useCapture':!0x0});}[_0x45b43e(0x89)](){const _0x22d6f9=_0x45b43e,_0x3463fb=this[_0x22d6f9(0xb2)],_0xcead9f=_0x3463fb[_0x22d6f9(0xb4)][_0x22d6f9(0xaa)](_0x22d6f9(0xdb));_0xcead9f&&_0x3463fb[_0x22d6f9(0xb8)]['on'](_0x22d6f9(0xa0),(_0x583026,_0x3b7ad4)=>{const _0x115b07=_0x22d6f9,_0x14f3ce=_0x3b7ad4[0x0];if(!_0x14f3ce[_0x115b07(0xf7)])return;if(_0x115b07(0xe4)!=_0x14f3ce[_0x115b07(0x8f)]||!_0x14f3ce[_0x115b07(0x9a)][_0x115b07(0x83)](_0x115b07(0xad)))return;const _0x8606fb=_0x14f3ce[_0x115b07(0xd3)];_0xcead9f[_0x115b07(0xf0)][_0x115b07(0xee)](_0x8606fb)&&(_0x14f3ce[_0x115b07(0xd5)]=_0x14f3ce[_0x115b07(0xaf)]?_0x3463fb[_0x115b07(0xb8)][_0x115b07(0xb9)](_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0xb6)],_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0x82)]):null);},{'priority':_0x22d6f9(0x103)});}[_0x45b43e(0xfe)](){const _0x12f748=_0x45b43e;return this[_0x12f748(0xbc)][_0x12f748(0xc3)](),super[_0x12f748(0xfe)]();}[_0x45b43e(0xdc)](){const _0x2f2c21=_0x45b43e,_0x2e0d29=this[_0x2f2c21(0xb2)],_0x42d88e=_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xd7)],_0x1ea8c1=_0x2e0d29[_0x2f2c21(0xa1)][_0x2f2c21(0xaa)](_0x379960);_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xae)]({'isUndoable':!0x1},_0x2fc6ba=>{const _0xa4c15b=_0x2f2c21,_0x341986=_0xa4c15b(0x95)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x2b14ef=_0xa4c15b(0x90)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x4f7a2b=_0x2e0d29[_0xa4c15b(0xb8)][_0xa4c15b(0xf9)][_0xa4c15b(0xee)](_0x341986);_0x2e0d29[_0xa4c15b(0xda)][_0xa4c15b(0xf8)][_0xa4c15b(0x8c)]?te(_0x1ea8c1[_0xa4c15b(0xc9)],_0x42d88e[_0xa4c15b(0xc8)][_0xa4c15b(0xfa)](),_0x2e0d29[_0xa4c15b(0xb8)],_0x2fc6ba):_0x4f7a2b&&(_0x2fc6ba[_0xa4c15b(0xce)](_0x341986),_0x2fc6ba[_0xa4c15b(0xce)](_0x2b14ef));});}}function te(_0x518ab1,_0x5d97fb,_0x3aa7a8,_0xcfc921){const _0x213bee=_0x45b43e,_0x46951c=_0x213bee(0x95)+_0x518ab1,_0x13fef4=_0x213bee(0x90)+_0x518ab1,_0x24106c=_0x5d97fb[_0x213bee(0xba)]();let _0x11d903=_0x5d97fb[_0x213bee(0xb6)];if(_0x24106c&&_0x24106c['is'](_0x213bee(0x9b),_0x213bee(0xb1))){const _0xa53973=function(_0x45e44a,_0x2db8d7){const _0x189067=_0x213bee;for(const _0x27da9b of _0x45e44a[_0x189067(0xa5)]())if(_0x2db8d7[_0x189067(0x92)][_0x189067(0x9e)](_0x27da9b,_0x189067(0xcd)))return _0x27da9b;}(_0x5d97fb,_0x3aa7a8);_0xa53973&&(_0x11d903=_0xa53973,_0x5d97fb=_0xcfc921[_0x213bee(0xb9)](_0x11d903));}const _0x5ab1b9=_0xcfc921[_0x213bee(0xb9)](_0x11d903);_0x3aa7a8[_0x213bee(0xf9)][_0x213bee(0xee)](_0x46951c)?(_0xcfc921[_0x213bee(0x85)](_0x46951c,{'range':_0x5d97fb}),_0xcfc921[_0x213bee(0x85)](_0x13fef4,{'range':_0x5ab1b9})):(_0xcfc921[_0x213bee(0x94)](_0x46951c,{'range':_0x5d97fb,'usingOperation':!0x0}),_0xcfc921[_0x213bee(0x94)](_0x13fef4,{'range':_0x5ab1b9,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2794bb=_0x16d9;(function(_0x36c19f,_0x48c1ce){const _0x535ef8=_0x16d9,_0x5dbe68=_0x36c19f();while(!![]){try{const _0x1fc8a4=-parseInt(_0x535ef8(0x178))/0x1*(parseInt(_0x535ef8(0x1a1))/0x2)+-parseInt(_0x535ef8(0x18e))/0x3*(parseInt(_0x535ef8(0x19a))/0x4)+-parseInt(_0x535ef8(0x1a7))/0x5*(parseInt(_0x535ef8(0x177))/0x6)+-parseInt(_0x535ef8(0x167))/0x7+-parseInt(_0x535ef8(0x1a4))/0x8*(-parseInt(_0x535ef8(0x19b))/0x9)+-parseInt(_0x535ef8(0x180))/0xa+-parseInt(_0x535ef8(0x188))/0xb*(-parseInt(_0x535ef8(0x173))/0xc);if(_0x1fc8a4===_0x48c1ce)break;else _0x5dbe68['push'](_0x5dbe68['shift']());}catch(_0x4823dd){_0x5dbe68['push'](_0x5dbe68['shift']());}}}(_0x4d98,0xf3638));import{ContextPlugin as _0x4ca6cd}from'ckeditor5/src/core.js';function _0x4d98(){const _0x44b189=['9DemOfQ','connect','connected','removeFromReconnectionStack','has','change:me','178IhUeXV','then','code','14004400kaSHLy','isPremiumPlugin','bind','5fqeXCF','websocketgateway-plugin-already-registered','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.','add','destroy','Connected\x20users\x20limit\x20exceeded','requires','cloudservices-init','CONNECTED','showWarning','pluginName','disconnect','5132022bgKouG','real-time-collaboration','isInReconnectionStack','token','CONNECTING','online','DISCONNECTED','websocketgateway-missing-websocket-url','init','_reconnectionStack','_domEmitter','cloudservices-reconnection-error','938076JjiObw','_isBrowserOffline','WebSocketGateway','stopListening','3564306HQBNjl','5011RsFuPt','_reconnect','limitExceeded','websocketgateway-missing-token','webSocketUrl','_shouldPluginsReconnect','offline','get','5534060uWAJFO','context','CloudServices','delete','plugins','all','set','constructor','451oGaLis','error','from','listenTo','config','reconnect','21eibkyH','connection','define','function','initialReconnectionInterval','cloudServices.connectionTimeout','cloudServices.requestTimeout','state','addToReconnectionStack','websocketgateway-invalid-plugin-interface','catch','isOfficialPlugin','932652RWFcoP'];_0x4d98=function(){return _0x44b189;};return _0x4d98();}import{DomEmitterMixin as _0x1d1221,CKEditorError as _0x2735ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xac886f,WEB_SOCKET_GATEWAY_STATES as _0xa00ae2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16d9(_0x2cc12f,_0x46d27f){const _0x4d980b=_0x4d98();return _0x16d9=function(_0x16d99f,_0xab05b3){_0x16d99f=_0x16d99f-0x162;let _0x132bea=_0x4d980b[_0x16d99f];return _0x132bea;},_0x16d9(_0x2cc12f,_0x46d27f);}import{Notification as _0x452f2b}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4ca6cd{static [_0x2794bb(0x175)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xac886f)());static [_0x2794bb(0x192)]=0x3e8;[_0x2794bb(0x18f)];[_0x2794bb(0x170)];[_0x2794bb(0x17d)];[_0x2794bb(0x171)];static get[_0x2794bb(0x1ad)](){const _0x5398ef=_0x2794bb;return[_0x5398ef(0x182),_0x452f2b];}static get[_0x2794bb(0x165)](){const _0xf0035f=_0x2794bb;return _0xf0035f(0x175);}static get[_0x2794bb(0x199)](){return!0x0;}static get[_0x2794bb(0x1a5)](){return!0x0;}constructor(_0x446854){const _0x18ed8b=_0x2794bb;super(_0x446854),this[_0x18ed8b(0x186)](_0x18ed8b(0x195),_0xa00ae2[_0x18ed8b(0x163)]),this[_0x18ed8b(0x186)](_0x18ed8b(0x174),!0x1),this[_0x18ed8b(0x170)]=new Set(),this[_0x18ed8b(0x17d)]=!0x1,this[_0x18ed8b(0x171)]=new(_0x1d1221())();}[_0x2794bb(0x16f)](){const _0x3220a4=_0x2794bb,_0x203c13=this[_0x3220a4(0x181)],_0x574398=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x3220a4(0x182)),_0x22e2b9=_0x203c13[_0x3220a4(0x184)][_0x3220a4(0x17f)](_0x452f2b);if(!_0x574398[_0x3220a4(0x16a)])throw new _0x2735ee(_0x3220a4(0x17b),this);if(!_0x574398[_0x3220a4(0x17c)])throw new _0x2735ee(_0x3220a4(0x16e),this);return this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x17e),()=>this[_0x3220a4(0x174)]=!0x0),this[_0x3220a4(0x171)][_0x3220a4(0x18b)](window,_0x3220a4(0x16c),()=>this[_0x3220a4(0x174)]=!0x1),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x193),0xa),this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x190)](_0x3220a4(0x194),0x14),WebSocketGateway[_0x3220a4(0x175)][_0x3220a4(0x19c)](_0x574398[_0x3220a4(0x16a)],_0x574398[_0x3220a4(0x17c)],{'timeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x193)),'requestTimeout':0x3e8*this[_0x3220a4(0x181)][_0x3220a4(0x18c)][_0x3220a4(0x17f)](_0x3220a4(0x194))})[_0x3220a4(0x1a2)](_0x21c651=>{const _0x4d2b77=_0x3220a4;if(this[_0x4d2b77(0x18f)]=_0x21c651,this[_0x4d2b77(0x1a6)](_0x4d2b77(0x195))['to'](_0x21c651,_0x4d2b77(0x195),this,_0x4d2b77(0x174),(_0x32a1e2,_0x16885d)=>(_0x4d2b77(0x19d)!==_0x32a1e2&&(this[_0x4d2b77(0x17d)]=!0x0),_0x16885d||_0x32a1e2!==_0xa00ae2[_0x4d2b77(0x163)]?_0xa00ae2[_0x4d2b77(0x16d)]:this[_0x4d2b77(0x195)]==_0xa00ae2[_0x4d2b77(0x16d)]&&this[_0x4d2b77(0x17d)]?(this[_0x4d2b77(0x17d)]=!0x1,this[_0x4d2b77(0x179)](),_0xa00ae2[_0x4d2b77(0x16b)]):_0xa00ae2[_0x4d2b77(0x163)])),this[_0x4d2b77(0x18f)]['on'](_0x4d2b77(0x189),(_0x19796f,_0x10630b)=>{const _0x2a51a3=_0x4d2b77;if(_0x2a51a3(0x17a)!==_0x10630b[_0x2a51a3(0x1a3)])throw console[_0x2a51a3(0x189)](_0x10630b),new _0x2735ee(_0x2a51a3(0x162),null,{'originalError':_0x10630b});_0x22e2b9[_0x2a51a3(0x164)](_0x2a51a3(0x1a9),{'title':_0x2a51a3(0x1ac),'namespace':_0x2a51a3(0x168)});}),!_0x21c651['me'])return new Promise(_0x47f388=>_0x21c651['on'](_0x4d2b77(0x1a0),_0x47f388));})[_0x3220a4(0x198)](_0x54c0c3=>{const _0x133133=_0x3220a4;throw console[_0x133133(0x189)](_0x54c0c3),new _0x2735ee(_0x133133(0x162),null,{'originalError':_0x54c0c3});});}[_0x2794bb(0x196)](_0x5a0a35){const _0x2ea3f9=_0x2794bb;if(_0x2ea3f9(0x191)!=typeof _0x5a0a35[_0x2ea3f9(0x18d)])throw new _0x2735ee(_0x2ea3f9(0x197),this);if(this[_0x2ea3f9(0x169)](_0x5a0a35))throw new _0x2735ee(_0x2ea3f9(0x1a8),this,{'name':_0x5a0a35[_0x2ea3f9(0x187)][_0x2ea3f9(0x165)]});this[_0x2ea3f9(0x170)][_0x2ea3f9(0x1aa)](_0x5a0a35);}[_0x2794bb(0x19e)](_0x2a4197){const _0x301990=_0x2794bb;this[_0x301990(0x170)][_0x301990(0x183)](_0x2a4197);}[_0x2794bb(0x169)](_0x5d7f80){const _0x293de0=_0x2794bb;return this[_0x293de0(0x170)][_0x293de0(0x19f)](_0x5d7f80);}[_0x2794bb(0x179)](){const _0x74f68f=_0x2794bb;return this[_0x74f68f(0x18f)][_0x74f68f(0x18d)]()[_0x74f68f(0x1a2)](()=>Promise[_0x74f68f(0x185)](Array[_0x74f68f(0x18a)](this[_0x74f68f(0x170)],_0x401c58=>_0x401c58[_0x74f68f(0x18d)]())))[_0x74f68f(0x1a2)](()=>this[_0x74f68f(0x195)]=_0xa00ae2[_0x74f68f(0x163)])[_0x74f68f(0x198)](_0x5b8ed1=>{const _0x463027=_0x74f68f;throw console[_0x463027(0x189)](_0x5b8ed1),new _0x2735ee(_0x463027(0x172),this[_0x463027(0x181)]);});}[_0x2794bb(0x166)](){const _0x550532=_0x2794bb;this[_0x550532(0x18f)]&&this[_0x550532(0x18f)][_0x550532(0x166)](),this[_0x550532(0x195)]=_0xa00ae2[_0x550532(0x16d)],this[_0x550532(0x171)][_0x550532(0x176)]();}[_0x2794bb(0x1ab)](){const _0x230eb7=_0x2794bb;this[_0x230eb7(0x166)](),super[_0x230eb7(0x1ab)]();}}
23
+ const _0x3f0cef=_0x3571;function _0x29ed(){const _0x1b21f9=['token','plugins','websocketgateway-missing-token','CONNECTED','_isBrowserOffline','error','1896aziQPS','websocketgateway-invalid-plugin-interface','state','cloudServices.connectionTimeout','1873044LyMJqm','19313dBoqED','connect','WebSocketGateway','4332456Husdcj','577424yptxCl','constructor','cloudservices-reconnection-error','CONNECTING','bind','websocketgateway-plugin-already-registered','DISCONNECTED','pluginName','224RQtyOI','CloudServices','listenTo','context','reconnect','offline','then','showWarning','init','delete','2447JMbeBU','real-time-collaboration','define','isPremiumPlugin','disconnect','limitExceeded','connection','code','webSocketUrl','isInReconnectionStack','connected','cloudServices.requestTimeout','stopListening','config','Connected\x20users\x20limit\x20exceeded','isOfficialPlugin','from','change:me','_domEmitter','cloudservices-init','get','_reconnect','function','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.','online','2265295ktdAzp','websocketgateway-missing-websocket-url','catch','_shouldPluginsReconnect','_reconnectionStack','has','requires','1581804GigZBv','initialReconnectionInterval','all','addToReconnectionStack','destroy','add','removeFromReconnectionStack','set'];_0x29ed=function(){return _0x1b21f9;};return _0x29ed();}(function(_0x47db0f,_0x362a72){const _0x380a83=_0x3571,_0x4a0dc4=_0x47db0f();while(!![]){try{const _0x530fac=-parseInt(_0x380a83(0xef))/0x1*(-parseInt(_0x380a83(0xe5))/0x2)+-parseInt(_0x380a83(0xd8))/0x3+-parseInt(_0x380a83(0xdd))/0x4+-parseInt(_0x380a83(0x108))/0x5+parseInt(_0x380a83(0x10f))/0x6+parseInt(_0x380a83(0xd9))/0x7*(parseInt(_0x380a83(0x11d))/0x8)+parseInt(_0x380a83(0xdc))/0x9;if(_0x530fac===_0x362a72)break;else _0x4a0dc4['push'](_0x4a0dc4['shift']());}catch(_0x44c794){_0x4a0dc4['push'](_0x4a0dc4['shift']());}}}(_0x29ed,0x6e282));import{ContextPlugin as _0x427c17}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x20712f,CKEditorError as _0x5876f4}from'ckeditor5/src/utils.js';function _0x3571(_0x4fcdae,_0x525d94){const _0x29edb7=_0x29ed();return _0x3571=function(_0x3571c0,_0x4a5900){_0x3571c0=_0x3571c0-0xd6;let _0x31460e=_0x29edb7[_0x3571c0];return _0x31460e;},_0x3571(_0x4fcdae,_0x525d94);}import{WebSocketGateway as _0x2a1646,WEB_SOCKET_GATEWAY_STATES as _0x498221}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x13ae0a}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x427c17{static [_0x3f0cef(0xdb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2a1646)());static [_0x3f0cef(0x110)]=0x3e8;[_0x3f0cef(0xf5)];[_0x3f0cef(0x10c)];[_0x3f0cef(0x10b)];[_0x3f0cef(0x101)];static get[_0x3f0cef(0x10e)](){const _0x509bed=_0x3f0cef;return[_0x509bed(0xe6),_0x13ae0a];}static get[_0x3f0cef(0xe4)](){const _0x5330f0=_0x3f0cef;return _0x5330f0(0xdb);}static get[_0x3f0cef(0xfe)](){return!0x0;}static get[_0x3f0cef(0xf2)](){return!0x0;}constructor(_0x2ba906){const _0x365204=_0x3f0cef;super(_0x2ba906),this[_0x365204(0x116)](_0x365204(0xd6),_0x498221[_0x365204(0x11a)]),this[_0x365204(0x116)](_0x365204(0x11b),!0x1),this[_0x365204(0x10c)]=new Set(),this[_0x365204(0x10b)]=!0x1,this[_0x365204(0x101)]=new(_0x20712f())();}[_0x3f0cef(0xed)](){const _0x2d394e=_0x3f0cef,_0x4517ed=this[_0x2d394e(0xe8)],_0x3d7b1c=_0x4517ed[_0x2d394e(0x118)][_0x2d394e(0x103)](_0x2d394e(0xe6)),_0x1810e0=_0x4517ed[_0x2d394e(0x118)][_0x2d394e(0x103)](_0x13ae0a);if(!_0x3d7b1c[_0x2d394e(0x117)])throw new _0x5876f4(_0x2d394e(0x119),this);if(!_0x3d7b1c[_0x2d394e(0xf7)])throw new _0x5876f4(_0x2d394e(0x109),this);return this[_0x2d394e(0x101)][_0x2d394e(0xe7)](window,_0x2d394e(0xea),()=>this[_0x2d394e(0x11b)]=!0x0),this[_0x2d394e(0x101)][_0x2d394e(0xe7)](window,_0x2d394e(0x107),()=>this[_0x2d394e(0x11b)]=!0x1),this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0xf1)](_0x2d394e(0xd7),0xa),this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0xf1)](_0x2d394e(0xfa),0x14),WebSocketGateway[_0x2d394e(0xdb)][_0x2d394e(0xda)](_0x3d7b1c[_0x2d394e(0x117)],_0x3d7b1c[_0x2d394e(0xf7)],{'timeout':0x3e8*this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0x103)](_0x2d394e(0xd7)),'requestTimeout':0x3e8*this[_0x2d394e(0xe8)][_0x2d394e(0xfc)][_0x2d394e(0x103)](_0x2d394e(0xfa))})[_0x2d394e(0xeb)](_0x5bd212=>{const _0x4966e0=_0x2d394e;if(this[_0x4966e0(0xf5)]=_0x5bd212,this[_0x4966e0(0xe1)](_0x4966e0(0xd6))['to'](_0x5bd212,_0x4966e0(0xd6),this,_0x4966e0(0x11b),(_0xdad7de,_0x22b664)=>(_0x4966e0(0xf9)!==_0xdad7de&&(this[_0x4966e0(0x10b)]=!0x0),_0x22b664||_0xdad7de!==_0x498221[_0x4966e0(0x11a)]?_0x498221[_0x4966e0(0xe3)]:this[_0x4966e0(0xd6)]==_0x498221[_0x4966e0(0xe3)]&&this[_0x4966e0(0x10b)]?(this[_0x4966e0(0x10b)]=!0x1,this[_0x4966e0(0x104)](),_0x498221[_0x4966e0(0xe0)]):_0x498221[_0x4966e0(0x11a)])),this[_0x4966e0(0xf5)]['on'](_0x4966e0(0x11c),(_0x2411c8,_0x4d1797)=>{const _0x3db2f1=_0x4966e0;if(_0x3db2f1(0xf4)!==_0x4d1797[_0x3db2f1(0xf6)])throw console[_0x3db2f1(0x11c)](_0x4d1797),new _0x5876f4(_0x3db2f1(0x102),null,{'originalError':_0x4d1797});_0x1810e0[_0x3db2f1(0xec)](_0x3db2f1(0x106),{'title':_0x3db2f1(0xfd),'namespace':_0x3db2f1(0xf0)});}),!_0x5bd212['me'])return new Promise(_0x3401fc=>_0x5bd212['on'](_0x4966e0(0x100),_0x3401fc));})[_0x2d394e(0x10a)](_0x55a9e9=>{const _0x433c8d=_0x2d394e;throw console[_0x433c8d(0x11c)](_0x55a9e9),new _0x5876f4(_0x433c8d(0x102),null,{'originalError':_0x55a9e9});});}[_0x3f0cef(0x112)](_0x1525d4){const _0x3512bd=_0x3f0cef;if(_0x3512bd(0x105)!=typeof _0x1525d4[_0x3512bd(0xe9)])throw new _0x5876f4(_0x3512bd(0x11e),this);if(this[_0x3512bd(0xf8)](_0x1525d4))throw new _0x5876f4(_0x3512bd(0xe2),this,{'name':_0x1525d4[_0x3512bd(0xde)][_0x3512bd(0xe4)]});this[_0x3512bd(0x10c)][_0x3512bd(0x114)](_0x1525d4);}[_0x3f0cef(0x115)](_0x5a17f7){const _0x1b160d=_0x3f0cef;this[_0x1b160d(0x10c)][_0x1b160d(0xee)](_0x5a17f7);}[_0x3f0cef(0xf8)](_0x333383){const _0x379681=_0x3f0cef;return this[_0x379681(0x10c)][_0x379681(0x10d)](_0x333383);}[_0x3f0cef(0x104)](){const _0x3a9ab1=_0x3f0cef;return this[_0x3a9ab1(0xf5)][_0x3a9ab1(0xe9)]()[_0x3a9ab1(0xeb)](()=>Promise[_0x3a9ab1(0x111)](Array[_0x3a9ab1(0xff)](this[_0x3a9ab1(0x10c)],_0x29c893=>_0x29c893[_0x3a9ab1(0xe9)]())))[_0x3a9ab1(0xeb)](()=>this[_0x3a9ab1(0xd6)]=_0x498221[_0x3a9ab1(0x11a)])[_0x3a9ab1(0x10a)](_0x31294e=>{const _0x412ad7=_0x3a9ab1;throw console[_0x412ad7(0x11c)](_0x31294e),new _0x5876f4(_0x412ad7(0xdf),this[_0x412ad7(0xe8)]);});}[_0x3f0cef(0xf3)](){const _0x12700e=_0x3f0cef;this[_0x12700e(0xf5)]&&this[_0x12700e(0xf5)][_0x12700e(0xf3)](),this[_0x12700e(0xd6)]=_0x498221[_0x12700e(0xe3)],this[_0x12700e(0x101)][_0x12700e(0xfb)]();}[_0x3f0cef(0x113)](){const _0xfd88ab=_0x3f0cef;this[_0xfd88ab(0xf3)](),super[_0xfd88ab(0x113)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35966e=_0x5658;(function(_0x3a6793,_0x5a53e5){const _0x18c3ae=_0x5658,_0x26d10c=_0x3a6793();while(!![]){try{const _0x928ca4=-parseInt(_0x18c3ae(0xda))/0x1+parseInt(_0x18c3ae(0xec))/0x2+parseInt(_0x18c3ae(0xf7))/0x3*(-parseInt(_0x18c3ae(0xca))/0x4)+-parseInt(_0x18c3ae(0x12e))/0x5+parseInt(_0x18c3ae(0xd0))/0x6+-parseInt(_0x18c3ae(0x11b))/0x7*(parseInt(_0x18c3ae(0xf0))/0x8)+parseInt(_0x18c3ae(0xf2))/0x9;if(_0x928ca4===_0x5a53e5)break;else _0x26d10c['push'](_0x26d10c['shift']());}catch(_0x1061bd){_0x26d10c['push'](_0x26d10c['shift']());}}}(_0x205b,0xca80c));import{Plugin as _0x166364}from'ckeditor5/src/core.js';function _0x205b(){const _0xcf6be=['size','has','connection','catch','6687150wNQPYM','_update','addToReconnectionStack','pluginName','_getLatestVersionFromServerOperations','state','currentRevision','creatorId','_waitForServiceReady','connected','1344185DbhjOL','isEmptyCurrent','updateRevisions','_revisionDataBuilder','_revisionTracker','400','cloud-services-internal-error:\x20Not\x20connected.','max','reconnect','setRevisionData','_createCurrentRevision','_isConnected','_bufferedUpdates','connect','marker','isOfficialPlugin','get','createdAt','1142470HhznND','isBundleUploaded','change:_isPendingUpdate','getMany','142768GRpuen','diffData','22100310WgYCwd','then','getRevisions','message','RevisionHistoryService','129VjQBEH','bind','plugins','setSource','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','data','_handleRevisionsUpdate','requires','change:_isConnected','CloudServicesRevisionHistoryAdapter','startsWith','off','_bufferUpdate','reverse','adapter','wrongRequestId','_revisions','reInit','collaboration.channelId','buildRevisionData','CONNECTED','authors','init','editor','isEnabled','map','once','_revisionHistoryService','keys','config','sessionId','_oldOffset','_getLatestVersion','_preventResendingRevisionData','203BrRmdu','_startingVersion','listenTo','sendBufferedUpdates','RevisionHistory','authorsIds','getOperations','_fetchMissingUsers','addUser','_offset','toVersion','remove','getUser','baseVersion','code','_fixRevision','_isPendingUpdate','_handleReconnectionError','isPremiumPlugin','4042450MXumXN','affectsData','cloudServices.bundleVersion','add','serverHistory','getRevision','destroy','fromVersion','isConnected','from','revisionsUpdated','repository','_lastRequestId','RevisionTracker','length','59692ppflLl','cloud-services-internal-error:\x20Request\x20timeout.'];_0x205b=function(){return _0xcf6be;};return _0x205b();}import{version as _0x332bed}from'ckeditor5/src/utils.js';import{Users as _0x4baeef}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x19d2fb}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5e189f}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5658(_0x2f2d38,_0x29d0d7){const _0x205b00=_0x205b();return _0x5658=function(_0x5658d3,_0x1684b5){_0x5658d3=_0x5658d3-0xbf;let _0x430605=_0x205b00[_0x5658d3];return _0x430605;},_0x5658(_0x2f2d38,_0x29d0d7);}import{Sessions as _0x58b085}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4a4683,RevisionHistoryService as _0x28bc93,User as _0x1933eb,WEB_SOCKET_GATEWAY_STATES as _0x363922}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x166364{static [_0x35966e(0xf6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x28bc93)());[_0x35966e(0xc7)];[_0x35966e(0xde)];[_0x35966e(0x114)];[_0x35966e(0x118)];static get[_0x35966e(0x100)](){const _0x4f09e4=_0x35966e;return[_0x5e189f,_0x19d2fb,_0x4f09e4(0x11f),_0x58b085,_0x4baeef];}static get[_0x35966e(0xd3)](){const _0x348655=_0x35966e;return _0x348655(0x102);}static get[_0x35966e(0xe9)](){return!0x0;}static get[_0x35966e(0x12d)](){return!0x0;}constructor(_0x3a4e10){const _0x445f44=_0x35966e;super(_0x3a4e10);const _0x4c21ca=this[_0x445f44(0x110)][_0x445f44(0x116)][_0x445f44(0xea)](_0x445f44(0x10b));this[_0x445f44(0xc7)]=null,this[_0x445f44(0xde)]=this[_0x445f44(0x110)][_0x445f44(0xf9)][_0x445f44(0xea)](_0x445f44(0xc8)),this[_0x445f44(0x114)]=new CloudServicesRevisionHistoryAdapter[(_0x445f44(0xf6))](_0x4c21ca);}async[_0x35966e(0x10f)](){const _0x4d4f57=_0x35966e,_0x44528b=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x19d2fb),_0x50468f=_0x44528b[_0x4d4f57(0xbf)],_0x252d39=this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x5e189f);this[_0x4d4f57(0xde)][_0x4d4f57(0xfa)]({'history':_0x50468f,'getLatestVersion':()=>this[_0x4d4f57(0x119)](),'getCurrentRevisionId':()=>_0x44528b[_0x4d4f57(0x117)]});const _0x4350e3=this[_0x4d4f57(0x110)][_0x4d4f57(0x116)][_0x4d4f57(0xea)](_0x4d4f57(0x130))||_0x332bed,_0x3028ef=await _0x4a4683[_0x4d4f57(0xed)](_0x252d39[_0x4d4f57(0xce)],_0x4350e3);this[_0x4d4f57(0x110)][_0x4d4f57(0xf9)][_0x4d4f57(0xea)](_0x4d4f57(0x11f))[_0x4d4f57(0x107)]={'getRevision':async({revisionId:_0x4ce718})=>(await this[_0x4d4f57(0xd8)](),await this[_0x4d4f57(0x114)][_0x4d4f57(0xc0)](_0x4ce718)),'updateRevisions':async _0xdf08b4=>{const _0x4c4b57=_0x4d4f57;await this[_0x4c4b57(0xd8)]();const _0x351963=this[_0x4c4b57(0xde)][_0x4c4b57(0xd6)];if(_0x3028ef&&0x1===_0xdf08b4[_0x4c4b57(0xc9)]&&_0xdf08b4[0x0]['id']===_0x351963['id'])return _0xdf08b4;for(const _0x21c145 of _0xdf08b4)_0x21c145['id']===_0x351963['id']&&(_0x21c145[_0x4c4b57(0xdb)]=_0x21c145[_0x4c4b57(0xc2)]===_0x21c145[_0x4c4b57(0x125)]);return this[_0x4c4b57(0x114)][_0x4c4b57(0xdc)](_0xdf08b4,this[_0x4c4b57(0xc7)])[_0x4c4b57(0xf3)](_0x126d76=>(this[_0x4c4b57(0xc7)]=_0x126d76,_0xdf08b4))[_0x4c4b57(0xcf)](_0xc837d1=>{const _0x4dd616=_0x4c4b57;if(Z(_0xc837d1)||_0x4dd616(0xdf)===_0xc837d1[_0x4dd616(0x129)]&&void 0x0!==_0xc837d1[_0x4dd616(0xfe)][_0x4dd616(0x108)]){for(const _0x1186cf of _0xdf08b4){!this[_0x4dd616(0xde)][_0x4dd616(0xc6)][_0x4dd616(0xc0)](_0x1186cf['id'])||this[_0x4dd616(0xde)][_0x4dd616(0x105)](_0x1186cf['id'],_0x1186cf,!0x1);}if(Z(_0xc837d1))throw _0xc837d1;return _0xdf08b4;}throw _0xc837d1;});}},this[_0x4d4f57(0x11d)](this[_0x4d4f57(0x114)],_0x4d4f57(0xc5),(_0x15a6ef,{revisionsData:_0xdbb832,requestId:_0x4c222f})=>{const _0x412944=_0x4d4f57;Math[_0x412944(0xe1)](..._0xdbb832[_0x412944(0x112)](_0x1078ca=>_0x1078ca[_0x412944(0x125)]))>this[_0x412944(0xd4)]()-0x1?this[_0x412944(0x119)]()[_0x412944(0xf3)](()=>{const _0x4d59dd=_0x412944;this[_0x4d59dd(0xff)](_0xdbb832,_0x4c222f);}):this[_0x412944(0xff)](_0xdbb832,_0x4c222f);});const {revisions:_0x20d5b8,requestId:_0x3f9855}=await this[_0x4d4f57(0x114)][_0x4d4f57(0xe7)](_0x252d39[_0x4d4f57(0xce)]);_0x252d39[_0x4d4f57(0xd2)](this),this[_0x4d4f57(0xc7)]=_0x3f9855,await this[_0x4d4f57(0x122)](_0x20d5b8);for(const _0x1fae20 of _0x20d5b8)this[_0x4d4f57(0xde)][_0x4d4f57(0xfd)](_0x1fae20);this[_0x4d4f57(0x11d)](_0x44528b,_0x4d4f57(0x101),(_0x5398a8,_0x2b323b,_0x3edc48)=>{const _0x1690a6=_0x4d4f57;_0x3edc48&&(this[_0x1690a6(0x118)]=_0x44528b[_0x1690a6(0x124)],_0x5398a8[_0x1690a6(0x104)]());}),this[_0x4d4f57(0xde)][_0x4d4f57(0xf8)](_0x4d4f57(0x111))['to'](_0x252d39,_0x4d4f57(0xd5),_0x2a727e=>_0x2a727e===_0x363922[_0x4d4f57(0x10d)]);}async[_0x35966e(0xe2)](){const _0x184eed=_0x35966e,_0x403f63=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x5e189f),_0x3637b5=this[_0x184eed(0x110)][_0x184eed(0xf9)][_0x184eed(0xea)](_0x19d2fb),_0x51964e=async()=>{const _0x9b9d70=_0x184eed,_0x5d8dd=this[_0x9b9d70(0xde)][_0x9b9d70(0xd6)],_0x3dacd9=_0x5d8dd['id'],_0x3b0c98=_0x3dacd9!==_0x3637b5[_0x9b9d70(0x117)];if(_0x3b0c98){const _0x11b520=_0x3637b5[_0x9b9d70(0x124)]-this[_0x9b9d70(0x118)],_0x18fbdc=this[_0x9b9d70(0xd4)]();this[_0x9b9d70(0xde)][_0x9b9d70(0xdd)][_0x9b9d70(0x10a)]();if(_0x5d8dd[_0x9b9d70(0x125)]+_0x11b520!==_0x18fbdc){const _0x292b1d=_0x5d8dd[_0x9b9d70(0xc2)]+_0x11b520,_0x5abf1c=this[_0x9b9d70(0x110)][_0x9b9d70(0xf9)][_0x9b9d70(0xea)](_0x4baeef),_0x2c2203=this[_0x9b9d70(0xde)][_0x9b9d70(0x10c)]({'revision':_0x5d8dd,'from':_0x292b1d,'to':_0x18fbdc});_0x2c2203['id']=_0x5d8dd['id'];const _0x205aa2=_0x2c2203[_0x9b9d70(0x120)][_0x9b9d70(0x112)](_0x271a18=>_0x5abf1c[_0x9b9d70(0x127)](_0x271a18));_0x5d8dd[_0x9b9d70(0xd1)]({..._0x2c2203,'authors':_0x205aa2},!0x0),this[_0x9b9d70(0xde)][_0x9b9d70(0x105)](_0x5d8dd['id'],_0x2c2203,!0x0);}this[_0x9b9d70(0xde)][_0x9b9d70(0x11c)]=_0x18fbdc,(_0x5d8dd[_0x9b9d70(0x125)]===_0x5d8dd[_0x9b9d70(0xc2)]&&!this[_0x9b9d70(0xde)][_0x9b9d70(0xe6)][_0x9b9d70(0xcd)](_0x3dacd9)&&this[_0x9b9d70(0xde)][_0x9b9d70(0xc6)][_0x9b9d70(0x109)][_0x9b9d70(0x126)](_0x3dacd9),this[_0x9b9d70(0xde)][_0x9b9d70(0xe4)](_0x18fbdc));}const {revisions:_0x3f6b6c,requestId:_0x153c29}=await this[_0x9b9d70(0x114)][_0x9b9d70(0xe2)](_0x403f63[_0x9b9d70(0xce)],this[_0x9b9d70(0xc7)]);_0x3b0c98&&_0x3f6b6c[_0x9b9d70(0xc9)]>0x0?_0x3637b5[_0x9b9d70(0x12c)]():(await this[_0x9b9d70(0x122)](_0x3f6b6c),this[_0x9b9d70(0xff)](_0x3f6b6c,_0x153c29),this[_0x9b9d70(0xde)][_0x9b9d70(0x11e)]());};return _0x3637b5[_0x184eed(0xe5)]?_0x51964e():new Promise((_0x532284,_0x5af37a)=>{const _0x1feeaa=_0x184eed;_0x3637b5[_0x1feeaa(0x113)](_0x1feeaa(0x101),()=>{const _0x58411d=_0x1feeaa;_0x51964e()[_0x58411d(0xf3)](_0x532284)[_0x58411d(0xcf)](_0x5af37a);});});}[_0x35966e(0xc1)](){const _0xc9fdea=_0x35966e;super[_0xc9fdea(0xc1)]();}async[_0x35966e(0xd8)](){const _0x1ffb56=_0x35966e;this[_0x1ffb56(0x114)][_0x1ffb56(0xc3)]||await new Promise(_0x3934ff=>{const _0x1ef136=_0x1ffb56;this[_0x1ef136(0x11d)](this[_0x1ef136(0x114)],_0x1ef136(0xd9),_0x554851=>{const _0x21f1f8=_0x1ef136;_0x554851[_0x21f1f8(0x104)](),_0x3934ff();});});}[_0x35966e(0xd4)](){const _0x3c4c7f=_0x35966e,_0x56a6a0=this[_0x3c4c7f(0x110)][_0x3c4c7f(0xf9)][_0x3c4c7f(0xea)](_0x19d2fb)[_0x3c4c7f(0xbf)][_0x3c4c7f(0x121)]()[_0x3c4c7f(0x106)]();for(const _0x293134 of _0x56a6a0)if(_0x3c4c7f(0xe8)!==_0x293134[_0x3c4c7f(0xfb)]||_0x293134[_0x3c4c7f(0x12f)])return _0x293134[_0x3c4c7f(0x128)]+0x1;}[_0x35966e(0x119)](){const _0x3c6350=_0x35966e,_0x2babf9=this[_0x3c6350(0x110)][_0x3c6350(0xf9)][_0x3c6350(0xea)](_0x19d2fb);return new Promise(_0x5b2201=>{const _0x18d050=_0x3c6350;_0x2babf9[_0x18d050(0x12b)]?_0x2babf9[_0x18d050(0x113)](_0x18d050(0xee),()=>{const _0x46b1a7=_0x18d050;_0x5b2201(this[_0x46b1a7(0xd4)]());}):_0x5b2201(this[_0x18d050(0xd4)]());});}[_0x35966e(0xff)](_0x231e7f,_0x1dec14){const _0x490718=_0x35966e,_0x200790=this[_0x490718(0xde)][_0x490718(0xc6)];this[_0x490718(0xc7)]=_0x1dec14;for(const _0x182f76 of _0x231e7f){const _0xb1dc0a=_0x200790[_0x490718(0xc0)](_0x182f76['id']);if(_0xb1dc0a){if((_0x182f76[_0x490718(0xc2)]||_0x182f76[_0x490718(0x125)])&&(_0x182f76[_0x490718(0xf1)]=null),_0xb1dc0a===this[_0x490718(0xde)][_0x490718(0xd6)]){const _0x4afc8f=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0x125)],_0x182f76[_0x490718(0x125)]),_0x11148b=Math[_0x490718(0xe1)](_0xb1dc0a[_0x490718(0xc2)],_0x182f76[_0x490718(0xc2)]);let _0x3328f3;_0xb1dc0a[_0x490718(0x125)]===_0x182f76[_0x490718(0x125)]&&_0xb1dc0a[_0x490718(0xc2)]===_0x182f76[_0x490718(0xc2)]?(_0x3328f3=!0x0,this[_0x490718(0x11a)](_0x182f76)):_0x182f76[_0x490718(0x125)]===_0x4afc8f&&_0x182f76[_0x490718(0xc2)]===_0x11148b?_0x3328f3=!0x1:(_0xb1dc0a[_0x490718(0x125)]===_0x4afc8f&&_0xb1dc0a[_0x490718(0xc2)]===_0x11148b||this[_0x490718(0x12a)]({'revision':_0xb1dc0a,'from':_0x11148b,'to':_0x4afc8f}),_0x3328f3=!0x0),_0x3328f3&&(delete _0x182f76[_0x490718(0xc2)],delete _0x182f76[_0x490718(0x125)],delete _0x182f76[_0x490718(0xf1)],delete _0x182f76[_0x490718(0xeb)],delete _0x182f76[_0x490718(0x120)]);}this[_0x490718(0xde)][_0x490718(0xe3)](_0x182f76),this[_0x490718(0x11a)](_0x182f76);}else this[_0x490718(0xde)][_0x490718(0xfd)](_0x182f76);}const _0x4371a5=_0x200790[_0x490718(0xf4)]();_0x4371a5[_0x490718(0x106)]();for(let _0x711062=0x0;_0x711062<_0x4371a5[_0x490718(0xc9)]-0x1;_0x711062++){const _0xa5471a=_0x4371a5[_0x711062],_0x53f3c9=_0x4371a5[_0x711062+0x1];if(_0xa5471a[_0x490718(0xc2)]<_0x53f3c9[_0x490718(0x125)]){const _0x2abfbe=_0x53f3c9[_0x490718(0x125)],_0x1e0d6d=Math[_0x490718(0xe1)](_0x2abfbe,_0xa5471a[_0x490718(0x125)]);this[_0x490718(0x12a)]({'revision':_0xa5471a,'from':_0x2abfbe,'to':_0x1e0d6d});}}}[_0x35966e(0x12a)]({revision:_0x2b8a2c,from:_0x49dc15,to:_0x34f03a}={}){const _0x4130ef=_0x35966e,_0x1e819e=this[_0x4130ef(0x110)][_0x4130ef(0xf9)][_0x4130ef(0xea)](_0x4baeef),_0x3bd9da=this[_0x4130ef(0xde)][_0x4130ef(0x10c)]({'revision':_0x2b8a2c,'from':_0x49dc15,'to':_0x34f03a});_0x3bd9da[_0x4130ef(0x10e)]=_0x3bd9da[_0x4130ef(0x120)][_0x4130ef(0x112)](_0x1643c6=>_0x1e819e[_0x4130ef(0x127)](_0x1643c6)),_0x2b8a2c[_0x4130ef(0xd1)](_0x3bd9da);}[_0x35966e(0x11a)](_0x1a3834){const _0x4719cc=_0x35966e,_0x5e152a={};_0x5e152a['id']=_0x1a3834['id'];for(const _0x238d59 of Object[_0x4719cc(0x115)](_0x1a3834))'id'!==_0x238d59&&(_0x5e152a[_0x238d59]=void 0x0);this[_0x4719cc(0xde)][_0x4719cc(0x105)](_0x5e152a['id'],_0x5e152a,!0x0);}async[_0x35966e(0x122)](_0x77a1b3){const _0x138da3=_0x35966e,_0x177117=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x4baeef),{connection:_0x7870fa}=this[_0x138da3(0x110)][_0x138da3(0xf9)][_0x138da3(0xea)](_0x5e189f),_0x424653=new Set();for(const _0xb4495a of _0x77a1b3){for(const _0x37b61a of _0xb4495a[_0x138da3(0x120)])_0x337a4d(_0x37b61a);_0xb4495a[_0x138da3(0xd7)]&&_0x337a4d(_0xb4495a[_0x138da3(0xd7)]);}if(0x0===_0x424653[_0x138da3(0xcc)])return;const _0x1dde50=await _0x1933eb[_0x138da3(0xef)](_0x7870fa,Array[_0x138da3(0xc4)](_0x424653));for(const _0x12da4e of _0x1dde50)_0x177117[_0x138da3(0x127)](_0x12da4e['id'])||_0x177117[_0x138da3(0x123)](_0x12da4e);function _0x337a4d(_0x323755){const _0x289558=_0x138da3;_0x177117[_0x289558(0x127)](_0x323755)||_0x424653[_0x289558(0x131)](_0x323755);}}}function Z(_0x510308){const _0x5279ed=_0x35966e;return _0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xfc))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xe0))||_0x510308[_0x5279ed(0xf5)][_0x5279ed(0x103)](_0x5279ed(0xcb));}
23
+ const _0x412485=_0x36ad;(function(_0x179403,_0xba19be){const _0x334823=_0x36ad,_0x25c759=_0x179403();while(!![]){try{const _0x12713f=parseInt(_0x334823(0x16e))/0x1+-parseInt(_0x334823(0x1b5))/0x2*(parseInt(_0x334823(0x17f))/0x3)+-parseInt(_0x334823(0x167))/0x4+-parseInt(_0x334823(0x1a8))/0x5+parseInt(_0x334823(0x194))/0x6+-parseInt(_0x334823(0x18b))/0x7+-parseInt(_0x334823(0x188))/0x8*(-parseInt(_0x334823(0x191))/0x9);if(_0x12713f===_0xba19be)break;else _0x25c759['push'](_0x25c759['shift']());}catch(_0x42500e){_0x25c759['push'](_0x25c759['shift']());}}}(_0x4589,0xe231a));import{Plugin as _0x3887a4}from'ckeditor5/src/core.js';function _0x4589(){const _0x259874=['connection','cloud-services-internal-error:\x20Not\x20connected.','keys','reverse','wrongRequestId','requires','connected','addRevisionData','map','isEmptyCurrent','_startingVersion','config','data','getMany','isBundleUploaded','getRevisions','bind','remove','RevisionHistory','_fetchMissingUsers','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','collaboration.channelId','updateRevisions','_bufferUpdate','getOperations','RevisionTracker','setRevisionData','startsWith','get','code','state','CONNECTED','adapter','catch','5839452SfoqFc','buildRevisionData','_revisionDataBuilder','revisionsUpdated','destroy','add','_revisionTracker','400469Aqjpsp','editor','diffData','cloudServices.bundleVersion','addToReconnectionStack','isEnabled','baseVersion','reInit','_waitForServiceReady','_lastRequestId','reconnect','plugins','isConnected','400','creatorId','pluginName','_handleRevisionsUpdate','2270604dGjavA','then','fromVersion','once','getRevision','sendBufferedUpdates','currentRevision','has','_isConnected','136JzswgG','type','authors','10417400KAHbsb','_fixRevision','change:_isPendingUpdate','setSource','marker','_update','2146617xnJloE','from','createdAt','10291332KfoumC','serverHistory','_isPendingUpdate','CloudServicesRevisionHistoryAdapter','_handleReconnectionError','isOfficialPlugin','repository','_getLatestVersionFromServerOperations','affectsData','size','addUser','off','cloud-services-internal-error:\x20Request\x20timeout.','getUser','_getLatestVersion','authorsIds','sessionId','_oldOffset','_offset','length','3910615WUCwIu','message','_revisionHistoryService','connect','_createCurrentRevision','_bufferedUpdates','_revisions','isPremiumPlugin','max','init','toVersion','_preventResendingRevisionData','listenTo','4mEiinD','change:_isConnected','RevisionHistoryService'];_0x4589=function(){return _0x259874;};return _0x4589();}import{version as _0x753e11}from'ckeditor5/src/utils.js';import{Users as _0x94c81b}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x323deb}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x306636}from'../realtimecollaborativeediting/websocketgateway.js';function _0x36ad(_0x2ca817,_0x3a0936){const _0x4589d2=_0x4589();return _0x36ad=function(_0x36ad3f,_0x1b6162){_0x36ad3f=_0x36ad3f-0x158;let _0x5a69d0=_0x4589d2[_0x36ad3f];return _0x5a69d0;},_0x36ad(_0x2ca817,_0x3a0936);}import{Sessions as _0x2ba5e5}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x173588,RevisionHistoryService as _0x36f512,User as _0x1fa1d5,WEB_SOCKET_GATEWAY_STATES as _0x586d21}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x3887a4{static [_0x412485(0x1b7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x36f512)());[_0x412485(0x177)];[_0x412485(0x16d)];[_0x412485(0x1aa)];[_0x412485(0x1a5)];static get[_0x412485(0x1bd)](){const _0x38e555=_0x412485;return[_0x306636,_0x323deb,_0x38e555(0x1ca),_0x2ba5e5,_0x94c81b];}static get[_0x412485(0x17d)](){const _0xc0d3c3=_0x412485;return _0xc0d3c3(0x197);}static get[_0x412485(0x199)](){return!0x0;}static get[_0x412485(0x1af)](){return!0x0;}constructor(_0x42546f){const _0x46f373=_0x412485;super(_0x42546f);const _0x26aaa0=this[_0x46f373(0x16f)][_0x46f373(0x1c3)][_0x46f373(0x161)](_0x46f373(0x15a));this[_0x46f373(0x177)]=null,this[_0x46f373(0x16d)]=this[_0x46f373(0x16f)][_0x46f373(0x179)][_0x46f373(0x161)](_0x46f373(0x15e)),this[_0x46f373(0x1aa)]=new CloudServicesRevisionHistoryAdapter[(_0x46f373(0x1b7))](_0x26aaa0);}async[_0x412485(0x1b1)](){const _0x1b86c5=_0x412485,_0x3527b9=this[_0x1b86c5(0x16f)][_0x1b86c5(0x179)][_0x1b86c5(0x161)](_0x323deb),_0x34d3c9=_0x3527b9[_0x1b86c5(0x195)],_0x7bd56f=this[_0x1b86c5(0x16f)][_0x1b86c5(0x179)][_0x1b86c5(0x161)](_0x306636);this[_0x1b86c5(0x16d)][_0x1b86c5(0x18e)]({'history':_0x34d3c9,'getLatestVersion':()=>this[_0x1b86c5(0x1a2)](),'getCurrentRevisionId':()=>_0x3527b9[_0x1b86c5(0x1a4)]});const _0x2e8420=this[_0x1b86c5(0x16f)][_0x1b86c5(0x1c3)][_0x1b86c5(0x161)](_0x1b86c5(0x171))||_0x753e11,_0x3f0c5e=await _0x173588[_0x1b86c5(0x1c6)](_0x7bd56f[_0x1b86c5(0x1b8)],_0x2e8420);this[_0x1b86c5(0x16f)][_0x1b86c5(0x179)][_0x1b86c5(0x161)](_0x1b86c5(0x1ca))[_0x1b86c5(0x165)]={'getRevision':async({revisionId:_0x53fd4a})=>(await this[_0x1b86c5(0x176)](),await this[_0x1b86c5(0x1aa)][_0x1b86c5(0x183)](_0x53fd4a)),'updateRevisions':async _0x4b3b63=>{const _0x479a2f=_0x1b86c5;await this[_0x479a2f(0x176)]();const _0x3ca5=this[_0x479a2f(0x16d)][_0x479a2f(0x185)];if(_0x3f0c5e&&0x1===_0x4b3b63[_0x479a2f(0x1a7)]&&_0x4b3b63[0x0]['id']===_0x3ca5['id'])return _0x4b3b63;for(const _0x3f6938 of _0x4b3b63)_0x3f6938['id']===_0x3ca5['id']&&(_0x3f6938[_0x479a2f(0x1c1)]=_0x3f6938[_0x479a2f(0x181)]===_0x3f6938[_0x479a2f(0x1b2)]);return this[_0x479a2f(0x1aa)][_0x479a2f(0x15b)](_0x4b3b63,this[_0x479a2f(0x177)])[_0x479a2f(0x180)](_0x4f18ee=>(this[_0x479a2f(0x177)]=_0x4f18ee,_0x4b3b63))[_0x479a2f(0x166)](_0x2089ec=>{const _0x36dea4=_0x479a2f;if(M(_0x2089ec)||_0x36dea4(0x17b)===_0x2089ec[_0x36dea4(0x162)]&&void 0x0!==_0x2089ec[_0x36dea4(0x1c4)][_0x36dea4(0x1bc)]){for(const _0x10aee9 of _0x4b3b63){!this[_0x36dea4(0x16d)][_0x36dea4(0x19a)][_0x36dea4(0x183)](_0x10aee9['id'])||this[_0x36dea4(0x16d)][_0x36dea4(0x15c)](_0x10aee9['id'],_0x10aee9,!0x1);}if(M(_0x2089ec))throw _0x2089ec;return _0x4b3b63;}throw _0x2089ec;});}},this[_0x1b86c5(0x1b4)](this[_0x1b86c5(0x1aa)],_0x1b86c5(0x16a),(_0x38b013,{revisionsData:_0x34ca6d,requestId:_0x1c0f2d})=>{const _0x35ff42=_0x1b86c5;Math[_0x35ff42(0x1b0)](..._0x34ca6d[_0x35ff42(0x1c0)](_0x378aa3=>_0x378aa3[_0x35ff42(0x1b2)]))>this[_0x35ff42(0x19b)]()-0x1?this[_0x35ff42(0x1a2)]()[_0x35ff42(0x180)](()=>{const _0x29a185=_0x35ff42;this[_0x29a185(0x17e)](_0x34ca6d,_0x1c0f2d);}):this[_0x35ff42(0x17e)](_0x34ca6d,_0x1c0f2d);});const {revisions:_0x147b6e,requestId:_0x853f15}=await this[_0x1b86c5(0x1aa)][_0x1b86c5(0x1ab)](_0x7bd56f[_0x1b86c5(0x1b8)]);_0x7bd56f[_0x1b86c5(0x172)](this),this[_0x1b86c5(0x177)]=_0x853f15,await this[_0x1b86c5(0x158)](_0x147b6e);for(const _0x41a480 of _0x147b6e)this[_0x1b86c5(0x16d)][_0x1b86c5(0x1bf)](_0x41a480);this[_0x1b86c5(0x1b4)](_0x3527b9,_0x1b86c5(0x1b6),(_0x181946,_0x10c01c,_0xeeb2ff)=>{const _0x5b65c1=_0x1b86c5;_0xeeb2ff&&(this[_0x5b65c1(0x1a5)]=_0x3527b9[_0x5b65c1(0x1a6)],_0x181946[_0x5b65c1(0x19f)]());}),this[_0x1b86c5(0x16d)][_0x1b86c5(0x1c8)](_0x1b86c5(0x173))['to'](_0x7bd56f,_0x1b86c5(0x163),_0x405432=>_0x405432===_0x586d21[_0x1b86c5(0x164)]);}async[_0x412485(0x178)](){const _0xd49984=_0x412485,_0x264735=this[_0xd49984(0x16f)][_0xd49984(0x179)][_0xd49984(0x161)](_0x306636),_0x30737d=this[_0xd49984(0x16f)][_0xd49984(0x179)][_0xd49984(0x161)](_0x323deb),_0x1e0743=async()=>{const _0x3db516=_0xd49984,_0x834e33=this[_0x3db516(0x16d)][_0x3db516(0x185)],_0x1a8bb6=_0x834e33['id'],_0x27889c=_0x1a8bb6!==_0x30737d[_0x3db516(0x1a4)];if(_0x27889c){const _0x27f0f0=_0x30737d[_0x3db516(0x1a6)]-this[_0x3db516(0x1a5)],_0x2305aa=this[_0x3db516(0x19b)]();this[_0x3db516(0x16d)][_0x3db516(0x169)][_0x3db516(0x175)]();if(_0x834e33[_0x3db516(0x1b2)]+_0x27f0f0!==_0x2305aa){const _0x46aa28=_0x834e33[_0x3db516(0x181)]+_0x27f0f0,_0x52f686=this[_0x3db516(0x16f)][_0x3db516(0x179)][_0x3db516(0x161)](_0x94c81b),_0x29c2ad=this[_0x3db516(0x16d)][_0x3db516(0x168)]({'revision':_0x834e33,'from':_0x46aa28,'to':_0x2305aa});_0x29c2ad['id']=_0x834e33['id'];const _0x400746=_0x29c2ad[_0x3db516(0x1a3)][_0x3db516(0x1c0)](_0x55131d=>_0x52f686[_0x3db516(0x1a1)](_0x55131d));_0x834e33[_0x3db516(0x190)]({..._0x29c2ad,'authors':_0x400746},!0x0),this[_0x3db516(0x16d)][_0x3db516(0x15c)](_0x834e33['id'],_0x29c2ad,!0x0);}this[_0x3db516(0x16d)][_0x3db516(0x1c2)]=_0x2305aa,(_0x834e33[_0x3db516(0x1b2)]===_0x834e33[_0x3db516(0x181)]&&!this[_0x3db516(0x16d)][_0x3db516(0x1ad)][_0x3db516(0x186)](_0x1a8bb6)&&this[_0x3db516(0x16d)][_0x3db516(0x19a)][_0x3db516(0x1ae)][_0x3db516(0x1c9)](_0x1a8bb6),this[_0x3db516(0x16d)][_0x3db516(0x1ac)](_0x2305aa));}const {revisions:_0x1de97d,requestId:_0x39393e}=await this[_0x3db516(0x1aa)][_0x3db516(0x178)](_0x264735[_0x3db516(0x1b8)],this[_0x3db516(0x177)]);_0x27889c&&_0x1de97d[_0x3db516(0x1a7)]>0x0?_0x30737d[_0x3db516(0x198)]():(await this[_0x3db516(0x158)](_0x1de97d),this[_0x3db516(0x17e)](_0x1de97d,_0x39393e),this[_0x3db516(0x16d)][_0x3db516(0x184)]());};return _0x30737d[_0xd49984(0x187)]?_0x1e0743():new Promise((_0x2e6af5,_0x595252)=>{const _0x4b23c0=_0xd49984;_0x30737d[_0x4b23c0(0x182)](_0x4b23c0(0x1b6),()=>{const _0x39d2f6=_0x4b23c0;_0x1e0743()[_0x39d2f6(0x180)](_0x2e6af5)[_0x39d2f6(0x166)](_0x595252);});});}[_0x412485(0x16b)](){const _0x3bc4f2=_0x412485;super[_0x3bc4f2(0x16b)]();}async[_0x412485(0x176)](){const _0x2d7eee=_0x412485;this[_0x2d7eee(0x1aa)][_0x2d7eee(0x17a)]||await new Promise(_0x363343=>{const _0xbc5965=_0x2d7eee;this[_0xbc5965(0x1b4)](this[_0xbc5965(0x1aa)],_0xbc5965(0x1be),_0x568f8f=>{const _0x2b41fc=_0xbc5965;_0x568f8f[_0x2b41fc(0x19f)](),_0x363343();});});}[_0x412485(0x19b)](){const _0x31a4d6=_0x412485,_0x2d98c7=this[_0x31a4d6(0x16f)][_0x31a4d6(0x179)][_0x31a4d6(0x161)](_0x323deb)[_0x31a4d6(0x195)][_0x31a4d6(0x15d)]()[_0x31a4d6(0x1bb)]();for(const _0x32c549 of _0x2d98c7)if(_0x31a4d6(0x18f)!==_0x32c549[_0x31a4d6(0x189)]||_0x32c549[_0x31a4d6(0x19c)])return _0x32c549[_0x31a4d6(0x174)]+0x1;}[_0x412485(0x1a2)](){const _0x5072f6=_0x412485,_0x2c7335=this[_0x5072f6(0x16f)][_0x5072f6(0x179)][_0x5072f6(0x161)](_0x323deb);return new Promise(_0xd13caa=>{const _0x5daa7b=_0x5072f6;_0x2c7335[_0x5daa7b(0x196)]?_0x2c7335[_0x5daa7b(0x182)](_0x5daa7b(0x18d),()=>{const _0x105b93=_0x5daa7b;_0xd13caa(this[_0x105b93(0x19b)]());}):_0xd13caa(this[_0x5daa7b(0x19b)]());});}[_0x412485(0x17e)](_0x2c3650,_0x282642){const _0x16d640=_0x412485,_0x2c17a9=this[_0x16d640(0x16d)][_0x16d640(0x19a)];this[_0x16d640(0x177)]=_0x282642;for(const _0x110026 of _0x2c3650){const _0x95b27b=_0x2c17a9[_0x16d640(0x183)](_0x110026['id']);if(_0x95b27b){if((_0x110026[_0x16d640(0x181)]||_0x110026[_0x16d640(0x1b2)])&&(_0x110026[_0x16d640(0x170)]=null),_0x95b27b===this[_0x16d640(0x16d)][_0x16d640(0x185)]){const _0x5ad2ca=Math[_0x16d640(0x1b0)](_0x95b27b[_0x16d640(0x1b2)],_0x110026[_0x16d640(0x1b2)]),_0x485a0d=Math[_0x16d640(0x1b0)](_0x95b27b[_0x16d640(0x181)],_0x110026[_0x16d640(0x181)]);let _0x48868b;_0x95b27b[_0x16d640(0x1b2)]===_0x110026[_0x16d640(0x1b2)]&&_0x95b27b[_0x16d640(0x181)]===_0x110026[_0x16d640(0x181)]?(_0x48868b=!0x0,this[_0x16d640(0x1b3)](_0x110026)):_0x110026[_0x16d640(0x1b2)]===_0x5ad2ca&&_0x110026[_0x16d640(0x181)]===_0x485a0d?_0x48868b=!0x1:(_0x95b27b[_0x16d640(0x1b2)]===_0x5ad2ca&&_0x95b27b[_0x16d640(0x181)]===_0x485a0d||this[_0x16d640(0x18c)]({'revision':_0x95b27b,'from':_0x485a0d,'to':_0x5ad2ca}),_0x48868b=!0x0),_0x48868b&&(delete _0x110026[_0x16d640(0x181)],delete _0x110026[_0x16d640(0x1b2)],delete _0x110026[_0x16d640(0x170)],delete _0x110026[_0x16d640(0x193)],delete _0x110026[_0x16d640(0x1a3)]);}this[_0x16d640(0x16d)][_0x16d640(0x15f)](_0x110026),this[_0x16d640(0x1b3)](_0x110026);}else this[_0x16d640(0x16d)][_0x16d640(0x1bf)](_0x110026);}const _0x147261=_0x2c17a9[_0x16d640(0x1c7)]();_0x147261[_0x16d640(0x1bb)]();for(let _0x1b3c34=0x0;_0x1b3c34<_0x147261[_0x16d640(0x1a7)]-0x1;_0x1b3c34++){const _0xa1ba8c=_0x147261[_0x1b3c34],_0x5cf2b9=_0x147261[_0x1b3c34+0x1];if(_0xa1ba8c[_0x16d640(0x181)]<_0x5cf2b9[_0x16d640(0x1b2)]){const _0x329ae2=_0x5cf2b9[_0x16d640(0x1b2)],_0xb71c2c=Math[_0x16d640(0x1b0)](_0x329ae2,_0xa1ba8c[_0x16d640(0x1b2)]);this[_0x16d640(0x18c)]({'revision':_0xa1ba8c,'from':_0x329ae2,'to':_0xb71c2c});}}}[_0x412485(0x18c)]({revision:_0x229365,from:_0x328bea,to:_0x331b7d}={}){const _0x3fdc8d=_0x412485,_0x503f65=this[_0x3fdc8d(0x16f)][_0x3fdc8d(0x179)][_0x3fdc8d(0x161)](_0x94c81b),_0x50b27e=this[_0x3fdc8d(0x16d)][_0x3fdc8d(0x168)]({'revision':_0x229365,'from':_0x328bea,'to':_0x331b7d});_0x50b27e[_0x3fdc8d(0x18a)]=_0x50b27e[_0x3fdc8d(0x1a3)][_0x3fdc8d(0x1c0)](_0x400dc9=>_0x503f65[_0x3fdc8d(0x1a1)](_0x400dc9)),_0x229365[_0x3fdc8d(0x190)](_0x50b27e);}[_0x412485(0x1b3)](_0x4f1dbf){const _0x281d15=_0x412485,_0x57c797={};_0x57c797['id']=_0x4f1dbf['id'];for(const _0x5b1ec1 of Object[_0x281d15(0x1ba)](_0x4f1dbf))'id'!==_0x5b1ec1&&(_0x57c797[_0x5b1ec1]=void 0x0);this[_0x281d15(0x16d)][_0x281d15(0x15c)](_0x57c797['id'],_0x57c797,!0x0);}async[_0x412485(0x158)](_0x3f3ac2){const _0x27b7d9=_0x412485,_0x1a7438=this[_0x27b7d9(0x16f)][_0x27b7d9(0x179)][_0x27b7d9(0x161)](_0x94c81b),{connection:_0x443c5c}=this[_0x27b7d9(0x16f)][_0x27b7d9(0x179)][_0x27b7d9(0x161)](_0x306636),_0x1d432b=new Set();for(const _0x94ce5b of _0x3f3ac2){for(const _0x574f79 of _0x94ce5b[_0x27b7d9(0x1a3)])_0x22154f(_0x574f79);_0x94ce5b[_0x27b7d9(0x17c)]&&_0x22154f(_0x94ce5b[_0x27b7d9(0x17c)]);}if(0x0===_0x1d432b[_0x27b7d9(0x19d)])return;const _0xfed04e=await _0x1fa1d5[_0x27b7d9(0x1c5)](_0x443c5c,Array[_0x27b7d9(0x192)](_0x1d432b));for(const _0x48d203 of _0xfed04e)_0x1a7438[_0x27b7d9(0x1a1)](_0x48d203['id'])||_0x1a7438[_0x27b7d9(0x19e)](_0x48d203);function _0x22154f(_0x3416a2){const _0x8b2a06=_0x27b7d9;_0x1a7438[_0x8b2a06(0x1a1)](_0x3416a2)||_0x1d432b[_0x8b2a06(0x16c)](_0x3416a2);}}}function M(_0x2f2970){const _0x128e65=_0x412485;return _0x2f2970[_0x128e65(0x1a9)][_0x128e65(0x160)](_0x128e65(0x159))||_0x2f2970[_0x128e65(0x1a9)][_0x128e65(0x160)](_0x128e65(0x1b9))||_0x2f2970[_0x128e65(0x1a9)][_0x128e65(0x160)](_0x128e65(0x1a0));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d11(){const _0x107a59=['startsWith','3216hxQIpq','reconnect','isOfficialPlugin','hasSuggestion','getSuggestion','CloudServicesTrackChangesAdapter','delete','2080HCkLWq','_fetchMissingUsersForThreads','connected','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','110granDL','getMany','suggestionUpdated','from','addUser','catch','message','64264FPCIbV','set','_waitForServiceReady','63typKbp','233717MStKeY','off','size','data','getUser','then','collaboration.channelId','TrackChangesService','plugins','find','404055JsLYUW','requires','connect','update','adapter','302214tcDper','attributes','cloud-services-internal-error:\x20Not\x20connected.','editor','listenTo','get','init','isPremiumPlugin','open','addSuggestionData','136FXBTma','305508RVLxCX','values','config','add','originalSuggestionId','_trackChangesService','isConnected','state','1611CfJjqR','addToReconnectionStack','type','TrackChangesEditing','1034sKXYUq','connection','350xkhWdm','_bufferedRequests','_saved'];_0x4d11=function(){return _0x107a59;};return _0x4d11();}function _0x1257(_0x3a7f79,_0x584f9a){const _0x4d114b=_0x4d11();return _0x1257=function(_0x125736,_0x39ab55){_0x125736=_0x125736-0x159;let _0x277ed7=_0x4d114b[_0x125736];return _0x277ed7;},_0x1257(_0x3a7f79,_0x584f9a);}const _0x1bb9a4=_0x1257;(function(_0x160fd9,_0x5aae7a){const _0x43e53c=_0x1257,_0x3276cc=_0x160fd9();while(!![]){try{const _0xd9bc9a=parseInt(_0x43e53c(0x193))/0x1+parseInt(_0x43e53c(0x15c))/0x2*(parseInt(_0x43e53c(0x19b))/0x3)+-parseInt(_0x43e53c(0x175))/0x4*(-parseInt(_0x43e53c(0x16e))/0x5)+-parseInt(_0x43e53c(0x188))/0x6*(parseInt(_0x43e53c(0x178))/0x7)+-parseInt(_0x43e53c(0x192))/0x8*(parseInt(_0x43e53c(0x183))/0x9)+parseInt(_0x43e53c(0x15e))/0xa*(parseInt(_0x43e53c(0x179))/0xb)+-parseInt(_0x43e53c(0x162))/0xc*(parseInt(_0x43e53c(0x169))/0xd);if(_0xd9bc9a===_0x5aae7a)break;else _0x3276cc['push'](_0x3276cc['shift']());}catch(_0x1da156){_0x3276cc['push'](_0x3276cc['shift']());}}}(_0x4d11,0x66bd2));import{Plugin as _0x2d4d2c}from'ckeditor5/src/core.js';import{User as _0x5df011,TrackChangesService as _0x37e6eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x14a365}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x433194}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x12026a}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x2d4d2c{static [_0x1bb9a4(0x180)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x37e6eb)());[_0x1bb9a4(0x15f)];[_0x1bb9a4(0x198)];static get[_0x1bb9a4(0x184)](){const _0x465eec=_0x1bb9a4;return[_0x433194,_0x465eec(0x15b),_0x14a365];}static get[_0x1bb9a4(0x16d)](){const _0x26b9b3=_0x1bb9a4;return _0x26b9b3(0x167);}static get[_0x1bb9a4(0x164)](){return!0x0;}static get[_0x1bb9a4(0x18f)](){return!0x0;}constructor(_0x2f4f2f){const _0x10ef2e=_0x1bb9a4;super(_0x2f4f2f);const _0x6b507b=this[_0x10ef2e(0x18b)][_0x10ef2e(0x195)][_0x10ef2e(0x18d)](_0x10ef2e(0x17f));this[_0x10ef2e(0x15f)]=new Map(),this[_0x10ef2e(0x198)]=new CloudServicesTrackChangesAdapter[(_0x10ef2e(0x180))](_0x6b507b);}[_0x1bb9a4(0x18e)](){const _0x35e02f=_0x1bb9a4,_0x558614=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x14a365),_0xfd41fd=this[_0x35e02f(0x18b)][_0x35e02f(0x181)][_0x35e02f(0x18d)](_0x35e02f(0x15b));return _0xfd41fd[_0x35e02f(0x187)]={'getSuggestion':async _0x562ef5=>{const _0x1cb1ee=_0x35e02f;await this[_0x1cb1ee(0x177)]();const _0xd92382=await this[_0x1cb1ee(0x198)][_0x1cb1ee(0x18d)](_0x562ef5)[_0x1cb1ee(0x173)](et);return await this[_0x1cb1ee(0x16a)]([_0xd92382]),_0xd92382;},'addSuggestion':async({id:_0x36aab5,type:_0x2c55e4,data:_0x50ed2e,originalSuggestionId:_0x7e29fd,attributes:_0x42a8de})=>{const _0x44aa13=_0x35e02f;await this[_0x44aa13(0x177)]();const _0x164f30={'id':_0x36aab5,'type':_0x2c55e4,'data':_0x50ed2e,'originalSuggestionId':_0x7e29fd,'attributes':_0x42a8de},_0x1f59e8=await this[_0x44aa13(0x198)][_0x44aa13(0x196)](_0x36aab5,_0x2c55e4,_0x50ed2e,_0x7e29fd,_0x42a8de)[_0x44aa13(0x173)](_0x392f39=>{if(Z(_0x392f39))return new Promise(_0x1ce9e2=>{const _0x27ea00=_0x1257;this[_0x27ea00(0x15f)][_0x27ea00(0x176)](_0x36aab5,{'resolve':_0x1ce9e2,'suggestionData':_0x164f30});});throw _0x392f39;});return this[_0x44aa13(0x15f)][_0x44aa13(0x168)](_0x36aab5),_0x1f59e8;},'updateSuggestion':async(_0x1b6ca2,_0xe2c592)=>{const _0xcb6a8f=_0x35e02f;if(await this[_0xcb6a8f(0x177)](),_0xcb6a8f(0x190)!==_0xe2c592[_0xcb6a8f(0x19a)])return this[_0xcb6a8f(0x198)][_0xcb6a8f(0x186)](_0x1b6ca2,_0xe2c592)[_0xcb6a8f(0x173)](et);}},this[_0x35e02f(0x18c)](this[_0x35e02f(0x198)],_0x35e02f(0x170),(_0x3a7ad2,_0xe0f7d7)=>{const _0x157f5b=_0x35e02f;_0xfd41fd[_0x157f5b(0x165)](_0xe0f7d7['id'])&&(_0xfd41fd[_0x157f5b(0x166)](_0xe0f7d7['id'])[_0x157f5b(0x189)]=_0xe0f7d7[_0x157f5b(0x189)]);}),this[_0x35e02f(0x198)][_0x35e02f(0x185)](_0x558614[_0x35e02f(0x15d)])[_0x35e02f(0x17e)](_0x564c62=>(_0x558614[_0x35e02f(0x159)](this),this[_0x35e02f(0x16a)](_0x564c62)[_0x35e02f(0x17e)](()=>{const _0x4a59d5=_0x35e02f;for(const _0x1ca559 of _0x564c62){_0xfd41fd[_0x4a59d5(0x191)](_0x1ca559)[_0x4a59d5(0x160)]=!0x0;}})));}async[_0x1bb9a4(0x163)](){const _0x747c18=_0x1bb9a4,_0x5ad9e6=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x747c18(0x15b)),{connection:_0x387985}=this[_0x747c18(0x18b)][_0x747c18(0x181)][_0x747c18(0x18d)](_0x14a365),_0x43438d=await this[_0x747c18(0x198)][_0x747c18(0x185)](_0x387985);await this[_0x747c18(0x16a)](_0x43438d);for(const {suggestionData:_0x2eb212,resolve:_0x3c2d7d}of this[_0x747c18(0x15f)][_0x747c18(0x194)]()){let _0x482dbd=_0x43438d[_0x747c18(0x182)](_0x448d5a=>_0x448d5a['id']===_0x2eb212['id']);_0x482dbd||(_0x482dbd=await this[_0x747c18(0x198)][_0x747c18(0x196)](_0x2eb212['id'],_0x2eb212[_0x747c18(0x15a)],_0x2eb212[_0x747c18(0x17c)],_0x2eb212[_0x747c18(0x197)])),_0x3c2d7d(_0x482dbd);}for(const _0x175bf6 of _0x43438d)_0x5ad9e6[_0x747c18(0x165)](_0x175bf6['id'])||_0x5ad9e6[_0x747c18(0x191)](_0x175bf6);}async[_0x1bb9a4(0x177)](){const _0x35deb2=_0x1bb9a4;this[_0x35deb2(0x198)][_0x35deb2(0x199)]||await new Promise(_0x5528a1=>{const _0x8b7c8b=_0x35deb2;this[_0x8b7c8b(0x18c)](this[_0x8b7c8b(0x198)],_0x8b7c8b(0x16b),_0x8f0f=>{const _0x4ffaba=_0x8b7c8b;_0x8f0f[_0x4ffaba(0x17a)](),_0x5528a1();});});}async[_0x1bb9a4(0x16a)](_0x98e317){const _0x2a260a=_0x1bb9a4,_0xb906cc=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x12026a),{connection:_0x5bee5d}=this[_0x2a260a(0x18b)][_0x2a260a(0x181)][_0x2a260a(0x18d)](_0x14a365),_0x3ee0cd=new Set();for(const {authorId:_0xf592a7}of _0x98e317)_0xb906cc[_0x2a260a(0x17d)](_0xf592a7)||_0x3ee0cd[_0x2a260a(0x196)](_0xf592a7);if(0x0===_0x3ee0cd[_0x2a260a(0x17b)])return;const _0x1a8d1b=await _0x5df011[_0x2a260a(0x16f)](_0x5bee5d,Array[_0x2a260a(0x171)](_0x3ee0cd));for(const _0x228c1d of _0x1a8d1b)_0xb906cc[_0x2a260a(0x17d)](_0x228c1d['id'])||_0xb906cc[_0x2a260a(0x172)](_0x228c1d);}}function et(_0x2ede32){if(Z(_0x2ede32))return new Promise(()=>{});throw _0x2ede32;}function Z(_0x4c8c3a){const _0x5552a2=_0x1bb9a4;return _0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x18a))||_0x4c8c3a[_0x5552a2(0x174)][_0x5552a2(0x161)](_0x5552a2(0x16c));}
23
+ const _0x1de2f8=_0x4cb8;(function(_0x2d1414,_0x226997){const _0x2b7096=_0x4cb8,_0x1d8e37=_0x2d1414();while(!![]){try{const _0x1cbe1e=-parseInt(_0x2b7096(0x1f3))/0x1+parseInt(_0x2b7096(0x203))/0x2+-parseInt(_0x2b7096(0x215))/0x3*(parseInt(_0x2b7096(0x205))/0x4)+-parseInt(_0x2b7096(0x21c))/0x5+-parseInt(_0x2b7096(0x20c))/0x6+parseInt(_0x2b7096(0x229))/0x7+parseInt(_0x2b7096(0x202))/0x8;if(_0x1cbe1e===_0x226997)break;else _0x1d8e37['push'](_0x1d8e37['shift']());}catch(_0x2efedb){_0x1d8e37['push'](_0x1d8e37['shift']());}}}(_0x5d5f,0xa1e75));import{Plugin as _0x59a740}from'ckeditor5/src/core.js';import{User as _0xfb525,TrackChangesService as _0x3f8c7f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x30fccf}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x39a775}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4cb8(_0x18dcac,_0xe3e77b){const _0x5d5f9a=_0x5d5f();return _0x4cb8=function(_0x4cb8f3,_0x4c1a57){_0x4cb8f3=_0x4cb8f3-0x1ef;let _0x417378=_0x5d5f9a[_0x4cb8f3];return _0x417378;},_0x4cb8(_0x18dcac,_0xe3e77b);}import{Users as _0x24babc}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x59a740{static [_0x1de2f8(0x20f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3f8c7f)());[_0x1de2f8(0x1f2)];[_0x1de2f8(0x225)];static get[_0x1de2f8(0x211)](){const _0x4ca645=_0x1de2f8;return[_0x39a775,_0x4ca645(0x1ff),_0x30fccf];}static get[_0x1de2f8(0x207)](){const _0x567dc5=_0x1de2f8;return _0x567dc5(0x20b);}static get[_0x1de2f8(0x21b)](){return!0x0;}static get[_0x1de2f8(0x20a)](){return!0x0;}constructor(_0x1ce87c){const _0x3aab3d=_0x1de2f8;super(_0x1ce87c);const _0x3c0837=this[_0x3aab3d(0x1f6)][_0x3aab3d(0x1f8)][_0x3aab3d(0x1fb)](_0x3aab3d(0x20e));this[_0x3aab3d(0x1f2)]=new Map(),this[_0x3aab3d(0x225)]=new CloudServicesTrackChangesAdapter[(_0x3aab3d(0x20f))](_0x3c0837);}[_0x1de2f8(0x1fe)](){const _0x362aac=_0x1de2f8,_0x2222da=this[_0x362aac(0x1f6)][_0x362aac(0x220)][_0x362aac(0x1fb)](_0x30fccf),_0x1b6625=this[_0x362aac(0x1f6)][_0x362aac(0x220)][_0x362aac(0x1fb)](_0x362aac(0x1ff));return _0x1b6625[_0x362aac(0x216)]={'getSuggestion':async _0x52746d=>{const _0x26d8e6=_0x362aac;await this[_0x26d8e6(0x227)]();const _0x1c7f38=await this[_0x26d8e6(0x225)][_0x26d8e6(0x1fb)](_0x52746d)[_0x26d8e6(0x217)](A);return await this[_0x26d8e6(0x1fc)]([_0x1c7f38]),_0x1c7f38;},'addSuggestion':async({id:_0x33e168,type:_0x3600ce,data:_0x17d836,originalSuggestionId:_0x2ef9c1,attributes:_0x391da2})=>{const _0x185ad0=_0x362aac;await this[_0x185ad0(0x227)]();const _0x3bfbf8={'id':_0x33e168,'type':_0x3600ce,'data':_0x17d836,'originalSuggestionId':_0x2ef9c1,'attributes':_0x391da2},_0x5e0120=await this[_0x185ad0(0x225)][_0x185ad0(0x1fd)](_0x33e168,_0x3600ce,_0x17d836,_0x2ef9c1,_0x391da2)[_0x185ad0(0x217)](_0xfdd562=>{if(M(_0xfdd562))return new Promise(_0x40cfd3=>{const _0x2115a2=_0x4cb8;this[_0x2115a2(0x1f2)][_0x2115a2(0x228)](_0x33e168,{'resolve':_0x40cfd3,'suggestionData':_0x3bfbf8});});throw _0xfdd562;});return this[_0x185ad0(0x1f2)][_0x185ad0(0x208)](_0x33e168),_0x5e0120;},'updateSuggestion':async(_0x10fae3,_0x333477)=>{const _0x20ee82=_0x362aac;if(await this[_0x20ee82(0x227)](),_0x20ee82(0x218)!==_0x333477[_0x20ee82(0x21e)])return this[_0x20ee82(0x225)][_0x20ee82(0x224)](_0x10fae3,_0x333477)[_0x20ee82(0x217)](A);}},this[_0x362aac(0x1f7)](this[_0x362aac(0x225)],_0x362aac(0x21a),(_0x33e528,_0x3c3d34)=>{const _0x444b81=_0x362aac;_0x1b6625[_0x444b81(0x1f0)](_0x3c3d34['id'])&&(_0x1b6625[_0x444b81(0x201)](_0x3c3d34['id'])[_0x444b81(0x219)]=_0x3c3d34[_0x444b81(0x219)]);}),this[_0x362aac(0x225)][_0x362aac(0x214)](_0x2222da[_0x362aac(0x221)])[_0x362aac(0x21f)](_0x566722=>(_0x2222da[_0x362aac(0x21d)](this),this[_0x362aac(0x1fc)](_0x566722)[_0x362aac(0x21f)](()=>{const _0x2666a9=_0x362aac;for(const _0x1dec13 of _0x566722){_0x1b6625[_0x2666a9(0x1f5)](_0x1dec13)[_0x2666a9(0x204)]=!0x0;}})));}async[_0x1de2f8(0x209)](){const _0x1be058=_0x1de2f8,_0x3a826e=this[_0x1be058(0x1f6)][_0x1be058(0x220)][_0x1be058(0x1fb)](_0x1be058(0x1ff)),{connection:_0x4a83a5}=this[_0x1be058(0x1f6)][_0x1be058(0x220)][_0x1be058(0x1fb)](_0x30fccf),_0x49f90d=await this[_0x1be058(0x225)][_0x1be058(0x214)](_0x4a83a5);await this[_0x1be058(0x1fc)](_0x49f90d);for(const {suggestionData:_0x54f4b5,resolve:_0x36945c}of this[_0x1be058(0x1f2)][_0x1be058(0x226)]()){let _0x2ff01a=_0x49f90d[_0x1be058(0x1fa)](_0x3fead7=>_0x3fead7['id']===_0x54f4b5['id']);_0x2ff01a||(_0x2ff01a=await this[_0x1be058(0x225)][_0x1be058(0x1fd)](_0x54f4b5['id'],_0x54f4b5[_0x1be058(0x223)],_0x54f4b5[_0x1be058(0x212)],_0x54f4b5[_0x1be058(0x1f4)])),_0x36945c(_0x2ff01a);}for(const _0x53e66e of _0x49f90d)_0x3a826e[_0x1be058(0x1f0)](_0x53e66e['id'])||_0x3a826e[_0x1be058(0x1f5)](_0x53e66e);}async[_0x1de2f8(0x227)](){const _0x514ab0=_0x1de2f8;this[_0x514ab0(0x225)][_0x514ab0(0x206)]||await new Promise(_0x566a55=>{const _0x2620b7=_0x514ab0;this[_0x2620b7(0x1f7)](this[_0x2620b7(0x225)],_0x2620b7(0x200),_0x3f5380=>{const _0x15357c=_0x2620b7;_0x3f5380[_0x15357c(0x222)](),_0x566a55();});});}async[_0x1de2f8(0x1fc)](_0x37b646){const _0x3ca28b=_0x1de2f8,_0x9fada9=this[_0x3ca28b(0x1f6)][_0x3ca28b(0x220)][_0x3ca28b(0x1fb)](_0x24babc),{connection:_0x50e843}=this[_0x3ca28b(0x1f6)][_0x3ca28b(0x220)][_0x3ca28b(0x1fb)](_0x30fccf),_0x1a875f=new Set();for(const {authorId:_0x48213b}of _0x37b646)_0x9fada9[_0x3ca28b(0x1f9)](_0x48213b)||_0x1a875f[_0x3ca28b(0x1fd)](_0x48213b);if(0x0===_0x1a875f[_0x3ca28b(0x1f1)])return;const _0xe489a3=await _0xfb525[_0x3ca28b(0x22a)](_0x50e843,Array[_0x3ca28b(0x1ef)](_0x1a875f));for(const _0x5b9e16 of _0xe489a3)_0x9fada9[_0x3ca28b(0x1f9)](_0x5b9e16['id'])||_0x9fada9[_0x3ca28b(0x22b)](_0x5b9e16);}}function _0x5d5f(){const _0x4d829b=['update','_trackChangesService','values','_waitForServiceReady','set','7308525uZfcTW','getMany','addUser','cloud-services-internal-error:\x20Not\x20connected.','from','hasSuggestion','size','_bufferedRequests','653285QBHaWy','originalSuggestionId','addSuggestionData','editor','listenTo','config','getUser','find','get','_fetchMissingUsersForThreads','add','init','TrackChangesEditing','connected','getSuggestion','15437656COaqDn','2420550jlysNF','_saved','421556uAvthS','isConnected','pluginName','delete','reconnect','isPremiumPlugin','CloudServicesTrackChangesAdapter','3321264fHizGo','message','collaboration.channelId','TrackChangesService','cloud-services-internal-error:\x20Request\x20timeout.','requires','data','startsWith','connect','33ZRJbov','adapter','catch','open','attributes','suggestionUpdated','isOfficialPlugin','5773960kXFKlp','addToReconnectionStack','state','then','plugins','connection','off','type'];_0x5d5f=function(){return _0x4d829b;};return _0x5d5f();}function A(_0x2ff713){if(M(_0x2ff713))return new Promise(()=>{});throw _0x2ff713;}function M(_0xf12aea){const _0x3c26f5=_0x1de2f8;return _0xf12aea[_0x3c26f5(0x20d)][_0x3c26f5(0x213)](_0x3c26f5(0x22c))||_0xf12aea[_0x3c26f5(0x20d)][_0x3c26f5(0x213)](_0x3c26f5(0x210));}