@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.4 → 45.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b675e=_0x58c0;(function(_0x429891,_0x51f795){const _0x5d0d3e=_0x58c0,_0x1cf5e4=_0x429891();while(!![]){try{const _0x2db1fa=parseInt(_0x5d0d3e(0x143))/0x1+-parseInt(_0x5d0d3e(0x151))/0x2+-parseInt(_0x5d0d3e(0x154))/0x3+parseInt(_0x5d0d3e(0x158))/0x4+parseInt(_0x5d0d3e(0x156))/0x5+-parseInt(_0x5d0d3e(0x140))/0x6*(-parseInt(_0x5d0d3e(0x159))/0x7)+-parseInt(_0x5d0d3e(0x132))/0x8*(parseInt(_0x5d0d3e(0x147))/0x9);if(_0x2db1fa===_0x51f795)break;else _0x1cf5e4['push'](_0x1cf5e4['shift']());}catch(_0x5c3f5c){_0x1cf5e4['push'](_0x1cf5e4['shift']());}}}(_0x44c0,0x38ab9));import{ContextPlugin as _0x1d0940}from'ckeditor5/src/core.js';function _0x58c0(_0x5cde18,_0x45d970){const _0x44c0fe=_0x44c0();return _0x58c0=function(_0x58c0b2,_0x5088cf){_0x58c0b2=_0x58c0b2-0x12e;let _0x17e313=_0x44c0fe[_0x58c0b2];return _0x17e313;},_0x58c0(_0x5cde18,_0x45d970);}import{Collection as _0x515f58,CKEditorError as _0x2eeb39}from'ckeditor5/src/utils.js';import _0x1f07e5 from'./websocketgateway.js';function _0x44c0(){const _0x10a7ef=['getUserBySessionId','sessions-register-already-registered','_createUser','_users','role','set','allConnectedUsers','defineMe','getUserSessions','isOfficialPlugin','16HpPKFc','remove','requires','has','forEach','_handleSessionAdd','get','register','isPremiumPlugin','delete','getUser','getUserRole','_handleSessionRemove','sessionAdd:','123162TGtaBN','fire','addUser','152844jtetLr','size','listenTo','sessions-unregister-not-exist','1433736tKIGQx','_uniqueUsersCount','init','unregister','channelSessions','clear','connected','user','pluginName','add','904394TMxLmc','stopListening','change:state','48081vFqfel','state','2302680TzjjDl','values','1129644SRPgfb','42siaCsb','sessionId','context','channelConnectedUsers','orderNumber','assign','isMe','_registeredSessions','connection','mySessionId','plugins','Sessions'];_0x44c0=function(){return _0x10a7ef;};return _0x44c0();}import{Users as _0xfbfb53}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1d0940{[_0x3b675e(0x14b)];[_0x3b675e(0x15c)];[_0x3b675e(0x12e)];[_0x3b675e(0x160)];[_0x3b675e(0x148)];[_0x3b675e(0x168)];static get[_0x3b675e(0x14f)](){const _0x3a5a08=_0x3b675e;return _0x3a5a08(0x164);}static get[_0x3b675e(0x131)](){return!0x0;}static get[_0x3b675e(0x13a)](){return!0x0;}static get[_0x3b675e(0x134)](){return[_0x1f07e5,_0xfbfb53];}constructor(_0x5737c6){const _0x4421c0=_0x3b675e;super(_0x5737c6),this[_0x4421c0(0x14b)]=new Map(),this[_0x4421c0(0x15c)]=new Map(),this[_0x4421c0(0x12e)]=new _0x515f58(),this[_0x4421c0(0x160)]=new Map(),this[_0x4421c0(0x148)]=0x0,this[_0x4421c0(0x168)]=this[_0x4421c0(0x15b)][_0x4421c0(0x163)][_0x4421c0(0x138)](_0xfbfb53);}[_0x3b675e(0x149)](){const _0x49e5be=_0x3b675e,_0x4d6e71=this[_0x49e5be(0x15b)][_0x49e5be(0x163)][_0x49e5be(0x138)](_0x1f07e5);this[_0x49e5be(0x145)](_0x4d6e71,_0x49e5be(0x153),(_0x5acd60,_0x5c152a,_0x46a9cf)=>{const _0xcedfd8=_0x49e5be;if(_0xcedfd8(0x14d)!==_0x46a9cf)this[_0xcedfd8(0x14b)][_0xcedfd8(0x136)](_0x5965b4=>_0x5965b4[_0xcedfd8(0x14c)]()),this[_0xcedfd8(0x15c)][_0xcedfd8(0x136)](_0xcce764=>_0xcce764[_0xcedfd8(0x14c)]()),this[_0xcedfd8(0x12e)][_0xcedfd8(0x14c)]();else{for(const [_0x34da5a,_0x3fb6bc]of this[_0xcedfd8(0x160)])for(const _0x1ee78d of _0x3fb6bc)this[_0xcedfd8(0x137)](_0x34da5a,_0x1ee78d);}}),this[_0x49e5be(0x167)](_0x4d6e71[_0x49e5be(0x161)]['me'],!0x0);}[_0x3b675e(0x139)](_0x124eed,_0x6a4161){const _0x58ab6c=_0x3b675e;if(this[_0x58ab6c(0x160)][_0x58ab6c(0x135)](_0x124eed))throw new _0x2eeb39(_0x58ab6c(0x166),null,{'channelId':_0x124eed});this[_0x58ab6c(0x160)][_0x58ab6c(0x16a)](_0x124eed,_0x6a4161),this[_0x58ab6c(0x14b)][_0x58ab6c(0x16a)](_0x124eed,new _0x515f58()),this[_0x58ab6c(0x15c)][_0x58ab6c(0x16a)](_0x124eed,new _0x515f58()),this[_0x58ab6c(0x145)](_0x6a4161,_0x58ab6c(0x150),(_0x49137f,_0x20dc89)=>this[_0x58ab6c(0x137)](_0x124eed,_0x20dc89)),this[_0x58ab6c(0x145)](_0x6a4161,_0x58ab6c(0x133),(_0x1eec57,_0x249ef7)=>this[_0x58ab6c(0x13e)](_0x124eed,_0x249ef7));for(const _0x4b94d6 of _0x6a4161)this[_0x58ab6c(0x137)](_0x124eed,_0x4b94d6);}[_0x3b675e(0x14a)](_0x260170){const _0x2df5f9=_0x3b675e;if(!this[_0x2df5f9(0x160)][_0x2df5f9(0x135)](_0x260170))throw new _0x2eeb39(_0x2df5f9(0x146),null,{'channelId':_0x260170});const _0x277938=this[_0x2df5f9(0x160)][_0x2df5f9(0x138)](_0x260170);this[_0x2df5f9(0x152)](_0x277938);for(const _0x151cc9 of _0x277938)_0x2df5f9(0x14d)===this[_0x2df5f9(0x15b)][_0x2df5f9(0x163)][_0x2df5f9(0x138)](_0x1f07e5)[_0x2df5f9(0x155)]&&this[_0x2df5f9(0x13e)](_0x260170,_0x151cc9);this[_0x2df5f9(0x160)][_0x2df5f9(0x13b)](_0x260170),this[_0x2df5f9(0x14b)][_0x2df5f9(0x13b)](_0x260170),this[_0x2df5f9(0x15c)][_0x2df5f9(0x13b)](_0x260170);}get[_0x3b675e(0x162)](){const _0x441aca=_0x3b675e;return this[_0x441aca(0x15b)][_0x441aca(0x163)][_0x441aca(0x138)](_0x1f07e5)[_0x441aca(0x161)][_0x441aca(0x15a)];}[_0x3b675e(0x165)](_0x956ed1){const _0x12d5ff=_0x3b675e;for(const _0x5b191c of this[_0x12d5ff(0x14b)][_0x12d5ff(0x157)]())for(const _0x5164b3 of _0x5b191c)if(_0x5164b3['id']===_0x956ed1)return _0x5164b3[_0x12d5ff(0x14e)];}[_0x3b675e(0x130)](_0xf7f41d,_0x4029c6){const _0x324ed6=_0x3b675e,_0x3bf81e=_0x4029c6?[this[_0x324ed6(0x14b)][_0x324ed6(0x138)](_0x4029c6)]:this[_0x324ed6(0x14b)][_0x324ed6(0x157)](),_0x132956=new Set();for(const _0x22e78a of _0x3bf81e)for(const _0x5ee1bd of _0x22e78a)_0x5ee1bd[_0x324ed6(0x14e)]['id']===_0xf7f41d['id']&&_0x132956[_0x324ed6(0x150)](_0x5ee1bd['id']);return _0x132956;}[_0x3b675e(0x13d)](_0x4df23e){const _0x191ce9=_0x3b675e;for(const _0xecb549 of this[_0x191ce9(0x14b)][_0x191ce9(0x157)]())for(const _0x4502f2 of _0xecb549)if(_0x4502f2[_0x191ce9(0x14e)]===_0x4df23e)return _0x4502f2[_0x191ce9(0x169)];}[_0x3b675e(0x137)](_0x355272,_0x2c16b1){const _0x5c07c1=_0x3b675e;if(_0x5c07c1(0x14d)!==this[_0x5c07c1(0x15b)][_0x5c07c1(0x163)][_0x5c07c1(0x138)](_0x1f07e5)[_0x5c07c1(0x155)])return;const _0x45e56d=_0x2c16b1[_0x5c07c1(0x14e)],_0x19e333=this[_0x5c07c1(0x168)][_0x5c07c1(0x13c)](_0x45e56d['id'])||this[_0x5c07c1(0x167)](_0x45e56d),_0x522487=Object[_0x5c07c1(0x15e)]({},_0x2c16b1,{'user':_0x19e333});this[_0x5c07c1(0x14b)][_0x5c07c1(0x138)](_0x355272)[_0x5c07c1(0x150)](_0x522487);const _0x9ad6ba=this[_0x5c07c1(0x15c)][_0x5c07c1(0x138)](_0x355272);_0x9ad6ba[_0x5c07c1(0x135)](_0x19e333['id'])||_0x9ad6ba[_0x5c07c1(0x150)](_0x19e333),this[_0x5c07c1(0x12e)][_0x5c07c1(0x135)](_0x19e333['id'])||this[_0x5c07c1(0x12e)][_0x5c07c1(0x150)](_0x19e333,_0x19e333[_0x5c07c1(0x15f)]?0x0:void 0x0),this[_0x5c07c1(0x141)](_0x5c07c1(0x13f)+_0x355272,{'channelId':_0x355272,'session':_0x522487});}[_0x3b675e(0x13e)](_0x4594dd,_0xcab043){const _0x150c81=_0x3b675e;if(_0x150c81(0x14d)!==this[_0x150c81(0x15b)][_0x150c81(0x163)][_0x150c81(0x138)](_0x1f07e5)[_0x150c81(0x155)])return;const _0x5ea88d=this[_0x150c81(0x15c)][_0x150c81(0x138)](_0x4594dd),_0x47e6f5=_0xcab043[_0x150c81(0x14e)];_0x47e6f5['id']&&(this[_0x150c81(0x14b)][_0x150c81(0x138)](_0x4594dd)[_0x150c81(0x133)](_0xcab043['id']),_0x5ea88d[_0x150c81(0x135)](_0x47e6f5['id'])&&!this[_0x150c81(0x130)](_0x47e6f5,_0x4594dd)[_0x150c81(0x144)]&&_0x5ea88d[_0x150c81(0x133)](_0x47e6f5['id']),this[_0x150c81(0x12e)][_0x150c81(0x138)](_0x47e6f5['id'])&&!this[_0x150c81(0x130)](_0x47e6f5)[_0x150c81(0x144)]&&this[_0x150c81(0x12e)][_0x150c81(0x133)](_0x47e6f5['id']));}[_0x3b675e(0x167)](_0x1f1087,_0x4c3455){const _0x237f9b=_0x3b675e,_0x1cb783=this[_0x237f9b(0x168)][_0x237f9b(0x142)](_0x1f1087);return _0x4c3455&&this[_0x237f9b(0x168)][_0x237f9b(0x12f)](_0x1f1087['id']),_0x1cb783[_0x237f9b(0x15d)]=this[_0x237f9b(0x148)]++,_0x1cb783;}}
23
+ const _0x3837f9=_0x496d;(function(_0x34ce2,_0x58976e){const _0x35a4f5=_0x496d,_0x1650af=_0x34ce2();while(!![]){try{const _0xe3102c=parseInt(_0x35a4f5(0xe1))/0x1+-parseInt(_0x35a4f5(0xe5))/0x2*(-parseInt(_0x35a4f5(0xbd))/0x3)+-parseInt(_0x35a4f5(0xda))/0x4*(-parseInt(_0x35a4f5(0xf0))/0x5)+-parseInt(_0x35a4f5(0xc8))/0x6*(parseInt(_0x35a4f5(0xcb))/0x7)+parseInt(_0x35a4f5(0xb6))/0x8*(-parseInt(_0x35a4f5(0xd0))/0x9)+-parseInt(_0x35a4f5(0xcd))/0xa*(-parseInt(_0x35a4f5(0xbb))/0xb)+-parseInt(_0x35a4f5(0xba))/0xc;if(_0xe3102c===_0x58976e)break;else _0x1650af['push'](_0x1650af['shift']());}catch(_0x34746f){_0x1650af['push'](_0x1650af['shift']());}}}(_0x5a0a,0x75e7a));import{ContextPlugin as _0x29ef08}from'ckeditor5/src/core.js';function _0x5a0a(){const _0x30fdac=['_handleSessionAdd','stopListening','defineMe','role','channelSessions','318vmhktC','assign','addUser','69307NLtiEn','connected','10qSGopU','clear','user','18PheQHP','channelConnectedUsers','getUserRole','has','_uniqueUsersCount','init','register','values','connection','sessionAdd:','172tlXFQf','_users','size','change:state','plugins','requires','isMe','114272PKSSTq','isOfficialPlugin','sessions-unregister-not-exist','unregister','128330sghrzT','delete','isPremiumPlugin','_createUser','remove','orderNumber','sessionId','add','getUserSessions','_handleSessionRemove','fire','4675sXxxvw','_registeredSessions','mySessionId','Sessions','forEach','get','891912QZfCNN','listenTo','getUser','getUserBySessionId','442920EzVkli','3068527oIdZuK','set','39xAZXqY','pluginName','sessions-register-already-registered','state','context','allConnectedUsers'];_0x5a0a=function(){return _0x30fdac;};return _0x5a0a();}import{Collection as _0x20c69c,CKEditorError as _0x5eb3d1}from'ckeditor5/src/utils.js';function _0x496d(_0x7c625a,_0x24ca07){const _0x5a0a09=_0x5a0a();return _0x496d=function(_0x496dc4,_0x2abfc7){_0x496dc4=_0x496dc4-0xb1;let _0x5861a9=_0x5a0a09[_0x496dc4];return _0x5861a9;},_0x496d(_0x7c625a,_0x24ca07);}import _0x18143a from'./websocketgateway.js';import{Users as _0x1c68ca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x29ef08{[_0x3837f9(0xc7)];[_0x3837f9(0xd1)];[_0x3837f9(0xc2)];[_0x3837f9(0xb1)];[_0x3837f9(0xd4)];[_0x3837f9(0xdb)];static get[_0x3837f9(0xbe)](){const _0x155089=_0x3837f9;return _0x155089(0xb3);}static get[_0x3837f9(0xe2)](){return!0x0;}static get[_0x3837f9(0xe7)](){return!0x0;}static get[_0x3837f9(0xdf)](){return[_0x18143a,_0x1c68ca];}constructor(_0x2685b9){const _0x4866be=_0x3837f9;super(_0x2685b9),this[_0x4866be(0xc7)]=new Map(),this[_0x4866be(0xd1)]=new Map(),this[_0x4866be(0xc2)]=new _0x20c69c(),this[_0x4866be(0xb1)]=new Map(),this[_0x4866be(0xd4)]=0x0,this[_0x4866be(0xdb)]=this[_0x4866be(0xc1)][_0x4866be(0xde)][_0x4866be(0xb5)](_0x1c68ca);}[_0x3837f9(0xd5)](){const _0x20a745=_0x3837f9,_0x45b326=this[_0x20a745(0xc1)][_0x20a745(0xde)][_0x20a745(0xb5)](_0x18143a);this[_0x20a745(0xb7)](_0x45b326,_0x20a745(0xdd),(_0x321ce0,_0x5baead,_0x1ba135)=>{const _0x114a17=_0x20a745;if(_0x114a17(0xcc)!==_0x1ba135)this[_0x114a17(0xc7)][_0x114a17(0xb4)](_0x1fe4e8=>_0x1fe4e8[_0x114a17(0xce)]()),this[_0x114a17(0xd1)][_0x114a17(0xb4)](_0x21439a=>_0x21439a[_0x114a17(0xce)]()),this[_0x114a17(0xc2)][_0x114a17(0xce)]();else{for(const [_0x5182f4,_0x8cbeef]of this[_0x114a17(0xb1)])for(const _0x5180de of _0x8cbeef)this[_0x114a17(0xc3)](_0x5182f4,_0x5180de);}}),this[_0x20a745(0xe8)](_0x45b326[_0x20a745(0xd8)]['me'],!0x0);}[_0x3837f9(0xd6)](_0x23299b,_0xa531c9){const _0x54e901=_0x3837f9;if(this[_0x54e901(0xb1)][_0x54e901(0xd3)](_0x23299b))throw new _0x5eb3d1(_0x54e901(0xbf),null,{'channelId':_0x23299b});this[_0x54e901(0xb1)][_0x54e901(0xbc)](_0x23299b,_0xa531c9),this[_0x54e901(0xc7)][_0x54e901(0xbc)](_0x23299b,new _0x20c69c()),this[_0x54e901(0xd1)][_0x54e901(0xbc)](_0x23299b,new _0x20c69c()),this[_0x54e901(0xb7)](_0xa531c9,_0x54e901(0xec),(_0x151d6a,_0xcea416)=>this[_0x54e901(0xc3)](_0x23299b,_0xcea416)),this[_0x54e901(0xb7)](_0xa531c9,_0x54e901(0xe9),(_0x17b7cb,_0x226a12)=>this[_0x54e901(0xee)](_0x23299b,_0x226a12));for(const _0x530f47 of _0xa531c9)this[_0x54e901(0xc3)](_0x23299b,_0x530f47);}[_0x3837f9(0xe4)](_0x1591f7){const _0xd8da0c=_0x3837f9;if(!this[_0xd8da0c(0xb1)][_0xd8da0c(0xd3)](_0x1591f7))throw new _0x5eb3d1(_0xd8da0c(0xe3),null,{'channelId':_0x1591f7});const _0x1169d3=this[_0xd8da0c(0xb1)][_0xd8da0c(0xb5)](_0x1591f7);this[_0xd8da0c(0xc4)](_0x1169d3);for(const _0x436a6e of _0x1169d3)_0xd8da0c(0xcc)===this[_0xd8da0c(0xc1)][_0xd8da0c(0xde)][_0xd8da0c(0xb5)](_0x18143a)[_0xd8da0c(0xc0)]&&this[_0xd8da0c(0xee)](_0x1591f7,_0x436a6e);this[_0xd8da0c(0xb1)][_0xd8da0c(0xe6)](_0x1591f7),this[_0xd8da0c(0xc7)][_0xd8da0c(0xe6)](_0x1591f7),this[_0xd8da0c(0xd1)][_0xd8da0c(0xe6)](_0x1591f7);}get[_0x3837f9(0xb2)](){const _0x4e8344=_0x3837f9;return this[_0x4e8344(0xc1)][_0x4e8344(0xde)][_0x4e8344(0xb5)](_0x18143a)[_0x4e8344(0xd8)][_0x4e8344(0xeb)];}[_0x3837f9(0xb9)](_0x2fc3bf){const _0x18b316=_0x3837f9;for(const _0xe0bcca of this[_0x18b316(0xc7)][_0x18b316(0xd7)]())for(const _0x429ec7 of _0xe0bcca)if(_0x429ec7['id']===_0x2fc3bf)return _0x429ec7[_0x18b316(0xcf)];}[_0x3837f9(0xed)](_0x4c1a5c,_0x11c395){const _0xed30a5=_0x3837f9,_0x3ab183=_0x11c395?[this[_0xed30a5(0xc7)][_0xed30a5(0xb5)](_0x11c395)]:this[_0xed30a5(0xc7)][_0xed30a5(0xd7)](),_0x39be73=new Set();for(const _0x1dc12d of _0x3ab183)for(const _0x4993a7 of _0x1dc12d)_0x4993a7[_0xed30a5(0xcf)]['id']===_0x4c1a5c['id']&&_0x39be73[_0xed30a5(0xec)](_0x4993a7['id']);return _0x39be73;}[_0x3837f9(0xd2)](_0x3ab57d){const _0x2a5b4e=_0x3837f9;for(const _0x21c013 of this[_0x2a5b4e(0xc7)][_0x2a5b4e(0xd7)]())for(const _0x15abe7 of _0x21c013)if(_0x15abe7[_0x2a5b4e(0xcf)]===_0x3ab57d)return _0x15abe7[_0x2a5b4e(0xc6)];}[_0x3837f9(0xc3)](_0x2e8c7a,_0x4d4e5c){const _0x4c17ae=_0x3837f9;if(_0x4c17ae(0xcc)!==this[_0x4c17ae(0xc1)][_0x4c17ae(0xde)][_0x4c17ae(0xb5)](_0x18143a)[_0x4c17ae(0xc0)])return;const _0x35fbfa=_0x4d4e5c[_0x4c17ae(0xcf)],_0x26e6e8=this[_0x4c17ae(0xdb)][_0x4c17ae(0xb8)](_0x35fbfa['id'])||this[_0x4c17ae(0xe8)](_0x35fbfa),_0x118f28=Object[_0x4c17ae(0xc9)]({},_0x4d4e5c,{'user':_0x26e6e8});this[_0x4c17ae(0xc7)][_0x4c17ae(0xb5)](_0x2e8c7a)[_0x4c17ae(0xec)](_0x118f28);const _0x5b3e09=this[_0x4c17ae(0xd1)][_0x4c17ae(0xb5)](_0x2e8c7a);_0x5b3e09[_0x4c17ae(0xd3)](_0x26e6e8['id'])||_0x5b3e09[_0x4c17ae(0xec)](_0x26e6e8),this[_0x4c17ae(0xc2)][_0x4c17ae(0xd3)](_0x26e6e8['id'])||this[_0x4c17ae(0xc2)][_0x4c17ae(0xec)](_0x26e6e8,_0x26e6e8[_0x4c17ae(0xe0)]?0x0:void 0x0),this[_0x4c17ae(0xef)](_0x4c17ae(0xd9)+_0x2e8c7a,{'channelId':_0x2e8c7a,'session':_0x118f28});}[_0x3837f9(0xee)](_0x1865e7,_0x2e9617){const _0x2d00c4=_0x3837f9;if(_0x2d00c4(0xcc)!==this[_0x2d00c4(0xc1)][_0x2d00c4(0xde)][_0x2d00c4(0xb5)](_0x18143a)[_0x2d00c4(0xc0)])return;const _0xfdcb44=this[_0x2d00c4(0xd1)][_0x2d00c4(0xb5)](_0x1865e7),_0x27cbce=_0x2e9617[_0x2d00c4(0xcf)];_0x27cbce['id']&&(this[_0x2d00c4(0xc7)][_0x2d00c4(0xb5)](_0x1865e7)[_0x2d00c4(0xe9)](_0x2e9617['id']),_0xfdcb44[_0x2d00c4(0xd3)](_0x27cbce['id'])&&!this[_0x2d00c4(0xed)](_0x27cbce,_0x1865e7)[_0x2d00c4(0xdc)]&&_0xfdcb44[_0x2d00c4(0xe9)](_0x27cbce['id']),this[_0x2d00c4(0xc2)][_0x2d00c4(0xb5)](_0x27cbce['id'])&&!this[_0x2d00c4(0xed)](_0x27cbce)[_0x2d00c4(0xdc)]&&this[_0x2d00c4(0xc2)][_0x2d00c4(0xe9)](_0x27cbce['id']));}[_0x3837f9(0xe8)](_0x3a0ad2,_0x5f4bf9){const _0x30bc48=_0x3837f9,_0x2b5a04=this[_0x30bc48(0xdb)][_0x30bc48(0xca)](_0x3a0ad2);return _0x5f4bf9&&this[_0x30bc48(0xdb)][_0x30bc48(0xc5)](_0x3a0ad2['id']),_0x2b5a04[_0x30bc48(0xea)]=this[_0x30bc48(0xd4)]++,_0x2b5a04;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe098=_0x301c;function _0x5bff(){const _0x378663=['isPremiumPlugin','code','pluginName','14047FFbHoK','error','stopListening','_domEmitter','cloudservices-reconnection-error','connect','removeFromReconnectionStack','13lyBAuS','limitExceeded','CloudServices','connected','webSocketUrl','cloudServices.requestTimeout','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.','websocketgateway-plugin-already-registered','context','bind','_isBrowserOffline','reconnect','disconnect','offline','5067QXGirL','WebSocketGateway','675aXUWny','2364JrXfph','_shouldPluginsReconnect','_reconnect','CONNECTING','initialReconnectionInterval','state','requires','cloudservices-init','change:me','constructor','5388628DjguPn','websocketgateway-missing-websocket-url','_reconnectionStack','token','init','showWarning','create','catch','function','plugins','add','from','Connected\x20users\x20limit\x20exceeded','DISCONNECTED','19800TXzvyV','12560XBEMzR','isInReconnectionStack','websocketgateway-missing-token','set','9028180wWOpMq','listenTo','has','14002DiHuAi','addToReconnectionStack','3282sMPAVc','connection','delete','isOfficialPlugin','then','real-time-collaboration','online','CONNECTED','18294OfFnhR','config','get','destroy','all','websocketgateway-invalid-plugin-interface','cloudServices.connectionTimeout','define'];_0x5bff=function(){return _0x378663;};return _0x5bff();}(function(_0x342c4d,_0x5be618){const _0x3df45a=_0x301c,_0x1a66c3=_0x342c4d();while(!![]){try{const _0xf261a9=parseInt(_0x3df45a(0x1b4))/0x1*(-parseInt(_0x3df45a(0x1e5))/0x2)+parseInt(_0x3df45a(0x1e7))/0x3*(parseInt(_0x3df45a(0x1c5))/0x4)+parseInt(_0x3df45a(0x1c4))/0x5*(parseInt(_0x3df45a(0x1ef))/0x6)+-parseInt(_0x3df45a(0x1cf))/0x7+-parseInt(_0x3df45a(0x1de))/0x8*(parseInt(_0x3df45a(0x1c2))/0x9)+-parseInt(_0x3df45a(0x1e2))/0xa+-parseInt(_0x3df45a(0x1fa))/0xb*(-parseInt(_0x3df45a(0x1dd))/0xc);if(_0xf261a9===_0x5be618)break;else _0x1a66c3['push'](_0x1a66c3['shift']());}catch(_0x44f2f7){_0x1a66c3['push'](_0x1a66c3['shift']());}}}(_0x5bff,0x7e62a));function _0x301c(_0x337902,_0x2915cd){const _0x5bff56=_0x5bff();return _0x301c=function(_0x301c76,_0x1756d7){_0x301c76=_0x301c76-0x1b2;let _0x2411d4=_0x5bff56[_0x301c76];return _0x2411d4;},_0x301c(_0x337902,_0x2915cd);}import{ContextPlugin as _0x5abbd7}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x197bc4,CKEditorError as _0x35bf46}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x407110,WEB_SOCKET_GATEWAY_STATES as _0x1f7fdf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x222d8d}from'ckeditor5/src/ui.js';class c extends _0x5abbd7{static [_0x2fe098(0x1c3)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x407110)());static [_0x2fe098(0x1c9)]=0x3e8;[_0x2fe098(0x1e8)];[_0x2fe098(0x1d1)];[_0x2fe098(0x1c6)];[_0x2fe098(0x1fd)];static get[_0x2fe098(0x1cb)](){const _0x114e31=_0x2fe098;return[_0x114e31(0x1b6),_0x222d8d];}static get[_0x2fe098(0x1f9)](){const _0x186c2d=_0x2fe098;return _0x186c2d(0x1c3);}static get[_0x2fe098(0x1ea)](){return!0x0;}static get[_0x2fe098(0x1f7)](){return!0x0;}constructor(_0x41485e){const _0x49c2e2=_0x2fe098;super(_0x41485e),this[_0x49c2e2(0x1e1)](_0x49c2e2(0x1ca),_0x1f7fdf[_0x49c2e2(0x1ee)]),this[_0x49c2e2(0x1e1)](_0x49c2e2(0x1be),!0x1),this[_0x49c2e2(0x1d1)]=new Set(),this[_0x49c2e2(0x1c6)]=!0x1,this[_0x49c2e2(0x1fd)]=Object[_0x49c2e2(0x1d5)](_0x197bc4);}[_0x2fe098(0x1d3)](){const _0x63e8f=_0x2fe098,_0x448ec2=this[_0x63e8f(0x1bc)],_0x21c52c=_0x448ec2[_0x63e8f(0x1d8)][_0x63e8f(0x1f1)](_0x63e8f(0x1b6)),_0x5cb7ff=_0x448ec2[_0x63e8f(0x1d8)][_0x63e8f(0x1f1)](_0x222d8d);if(!_0x21c52c[_0x63e8f(0x1d2)])throw new _0x35bf46(_0x63e8f(0x1e0),this);if(!_0x21c52c[_0x63e8f(0x1b8)])throw new _0x35bf46(_0x63e8f(0x1d0),this);return this[_0x63e8f(0x1fd)][_0x63e8f(0x1e3)](window,_0x63e8f(0x1c1),()=>this[_0x63e8f(0x1be)]=!0x0),this[_0x63e8f(0x1fd)][_0x63e8f(0x1e3)](window,_0x63e8f(0x1ed),()=>this[_0x63e8f(0x1be)]=!0x1),this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f6)](_0x63e8f(0x1f5),0xa),this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f6)](_0x63e8f(0x1b9),0x14),c[_0x63e8f(0x1c3)][_0x63e8f(0x1b2)](_0x21c52c[_0x63e8f(0x1d2)],_0x21c52c[_0x63e8f(0x1b8)],{'timeout':0x3e8*this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f1)](_0x63e8f(0x1f5)),'requestTimeout':0x3e8*this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f1)](_0x63e8f(0x1b9))})[_0x63e8f(0x1eb)](_0x55abe9=>{const _0x22592a=_0x63e8f;if(this[_0x22592a(0x1e8)]=_0x55abe9,this[_0x22592a(0x1bd)](_0x22592a(0x1ca))['to'](_0x55abe9,_0x22592a(0x1ca),this,_0x22592a(0x1be),(_0xe96a28,_0x530e84)=>(_0x22592a(0x1b7)!==_0xe96a28&&(this[_0x22592a(0x1c6)]=!0x0),_0x530e84||_0xe96a28!==_0x1f7fdf[_0x22592a(0x1ee)]?_0x1f7fdf[_0x22592a(0x1dc)]:this[_0x22592a(0x1ca)]==_0x1f7fdf[_0x22592a(0x1dc)]&&this[_0x22592a(0x1c6)]?(this[_0x22592a(0x1c6)]=!0x1,this[_0x22592a(0x1c7)](),_0x1f7fdf[_0x22592a(0x1c8)]):_0x1f7fdf[_0x22592a(0x1ee)])),this[_0x22592a(0x1e8)]['on'](_0x22592a(0x1fb),(_0x17bd06,_0x722d66)=>{const _0x39686c=_0x22592a;if(_0x39686c(0x1b5)!==_0x722d66[_0x39686c(0x1f8)])throw console[_0x39686c(0x1fb)](_0x722d66),new _0x35bf46(_0x39686c(0x1cc),null,{'originalError':_0x722d66});_0x5cb7ff[_0x39686c(0x1d4)](_0x39686c(0x1ba),{'title':_0x39686c(0x1db),'namespace':_0x39686c(0x1ec)});}),!_0x55abe9['me'])return new Promise(_0x6a9004=>_0x55abe9['on'](_0x22592a(0x1cd),_0x6a9004));})[_0x63e8f(0x1d6)](_0x8ca0e7=>{const _0x3ac30e=_0x63e8f;throw console[_0x3ac30e(0x1fb)](_0x8ca0e7),new _0x35bf46(_0x3ac30e(0x1cc),null,{'originalError':_0x8ca0e7});});}[_0x2fe098(0x1e6)](_0x27d941){const _0x4b2f03=_0x2fe098;if(_0x4b2f03(0x1d7)!=typeof _0x27d941[_0x4b2f03(0x1bf)])throw new _0x35bf46(_0x4b2f03(0x1f4),this);if(this[_0x4b2f03(0x1df)](_0x27d941))throw new _0x35bf46(_0x4b2f03(0x1bb),this,{'name':_0x27d941[_0x4b2f03(0x1ce)][_0x4b2f03(0x1f9)]});this[_0x4b2f03(0x1d1)][_0x4b2f03(0x1d9)](_0x27d941);}[_0x2fe098(0x1b3)](_0x30d131){const _0x2d63ca=_0x2fe098;this[_0x2d63ca(0x1d1)][_0x2d63ca(0x1e9)](_0x30d131);}[_0x2fe098(0x1df)](_0x162284){const _0x5d57a1=_0x2fe098;return this[_0x5d57a1(0x1d1)][_0x5d57a1(0x1e4)](_0x162284);}[_0x2fe098(0x1c7)](){const _0x4aba56=_0x2fe098;return this[_0x4aba56(0x1e8)][_0x4aba56(0x1bf)]()[_0x4aba56(0x1eb)](()=>Promise[_0x4aba56(0x1f3)](Array[_0x4aba56(0x1da)](this[_0x4aba56(0x1d1)],_0x36910b=>_0x36910b[_0x4aba56(0x1bf)]())))[_0x4aba56(0x1eb)](()=>this[_0x4aba56(0x1ca)]=_0x1f7fdf[_0x4aba56(0x1ee)])[_0x4aba56(0x1d6)](_0x2ef3e3=>{const _0x549de5=_0x4aba56;throw console[_0x549de5(0x1fb)](_0x2ef3e3),new _0x35bf46(_0x549de5(0x1fe),this[_0x549de5(0x1bc)]);});}[_0x2fe098(0x1c0)](){const _0xc3bf89=_0x2fe098;this[_0xc3bf89(0x1e8)]&&this[_0xc3bf89(0x1e8)][_0xc3bf89(0x1c0)](),this[_0xc3bf89(0x1ca)]=_0x1f7fdf[_0xc3bf89(0x1dc)],this[_0xc3bf89(0x1fd)][_0xc3bf89(0x1fc)]();}[_0x2fe098(0x1f2)](){const _0xc50a3d=_0x2fe098;this[_0xc50a3d(0x1c0)](),super[_0xc50a3d(0x1f2)]();}}export default c;
23
+ function _0x5dd9(_0x799251,_0x554f74){const _0x17ea06=_0x17ea();return _0x5dd9=function(_0x5dd9c6,_0x482ddb){_0x5dd9c6=_0x5dd9c6-0x126;let _0x48d621=_0x17ea06[_0x5dd9c6];return _0x48d621;},_0x5dd9(_0x799251,_0x554f74);}const _0xc428b1=_0x5dd9;function _0x17ea(){const _0x5db855=['define','change:me','plugins','showWarning','_domEmitter','_reconnectionStack','webSocketUrl','offline','stopListening','websocketgateway-plugin-already-registered','connected','784731GDTZeg','CONNECTING','14147wpgWfy','227642rWuhix','1033352wTmAdl','CloudServices','DISCONNECTED','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.','websocketgateway-invalid-plugin-interface','get','real-time-collaboration','destroy','requires','create','isInReconnectionStack','has','limitExceeded','config','CONNECTED','reconnect','websocketgateway-missing-websocket-url','add','error','set','catch','bind','_shouldPluginsReconnect','45qxdBAA','1249156jZbgiv','all','then','cloudServices.connectionTimeout','online','init','delete','connection','code','token','WebSocketGateway','function','isOfficialPlugin','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','context','_reconnect','isPremiumPlugin','addToReconnectionStack','618tpROzH','505578LFQvPK','cloudServices.requestTimeout','cloudservices-init','initialReconnectionInterval','state','removeFromReconnectionStack','_isBrowserOffline','1094935czFYsn','from','cloudservices-reconnection-error','connect','listenTo','pluginName','constructor','disconnect'];_0x17ea=function(){return _0x5db855;};return _0x17ea();}(function(_0x315a01,_0x10011b){const _0x1bce70=_0x5dd9,_0x168982=_0x315a01();while(!![]){try{const _0x1c849e=-parseInt(_0x1bce70(0x128))/0x1+-parseInt(_0x1bce70(0x155))/0x2+-parseInt(_0x1bce70(0x16f))/0x3+parseInt(_0x1bce70(0x141))/0x4+-parseInt(_0x1bce70(0x15c))/0x5+parseInt(_0x1bce70(0x154))/0x6*(parseInt(_0x1bce70(0x127))/0x7)+parseInt(_0x1bce70(0x129))/0x8*(parseInt(_0x1bce70(0x140))/0x9);if(_0x1c849e===_0x10011b)break;else _0x168982['push'](_0x168982['shift']());}catch(_0x490702){_0x168982['push'](_0x168982['shift']());}}}(_0x17ea,0x321f6));import{ContextPlugin as _0x4c1271}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2d7f27,CKEditorError as _0x1e1fd8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3e4d4a,WEB_SOCKET_GATEWAY_STATES as _0x2d05b3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2c82ce}from'ckeditor5/src/ui.js';class c extends _0x4c1271{static [_0xc428b1(0x14b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3e4d4a)());static [_0xc428b1(0x158)]=0x3e8;[_0xc428b1(0x148)];[_0xc428b1(0x169)];[_0xc428b1(0x13f)];[_0xc428b1(0x168)];static get[_0xc428b1(0x131)](){const _0x1df136=_0xc428b1;return[_0x1df136(0x12a),_0x2c82ce];}static get[_0xc428b1(0x161)](){const _0x443b06=_0xc428b1;return _0x443b06(0x14b);}static get[_0xc428b1(0x14d)](){return!0x0;}static get[_0xc428b1(0x152)](){return!0x0;}constructor(_0x55cdf0){const _0x84d5a1=_0xc428b1;super(_0x55cdf0),this[_0x84d5a1(0x13c)](_0x84d5a1(0x159),_0x2d05b3[_0x84d5a1(0x137)]),this[_0x84d5a1(0x13c)](_0x84d5a1(0x15b),!0x1),this[_0x84d5a1(0x169)]=new Set(),this[_0x84d5a1(0x13f)]=!0x1,this[_0x84d5a1(0x168)]=Object[_0x84d5a1(0x132)](_0x2d7f27);}[_0xc428b1(0x146)](){const _0xad2519=_0xc428b1,_0x212d8f=this[_0xad2519(0x150)],_0x5b74c4=_0x212d8f[_0xad2519(0x166)][_0xad2519(0x12e)](_0xad2519(0x12a)),_0x50ebd7=_0x212d8f[_0xad2519(0x166)][_0xad2519(0x12e)](_0x2c82ce);if(!_0x5b74c4[_0xad2519(0x14a)])throw new _0x1e1fd8(_0xad2519(0x14f),this);if(!_0x5b74c4[_0xad2519(0x16a)])throw new _0x1e1fd8(_0xad2519(0x139),this);return this[_0xad2519(0x168)][_0xad2519(0x160)](window,_0xad2519(0x16b),()=>this[_0xad2519(0x15b)]=!0x0),this[_0xad2519(0x168)][_0xad2519(0x160)](window,_0xad2519(0x145),()=>this[_0xad2519(0x15b)]=!0x1),this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x164)](_0xad2519(0x144),0xa),this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x164)](_0xad2519(0x156),0x14),c[_0xad2519(0x14b)][_0xad2519(0x15f)](_0x5b74c4[_0xad2519(0x14a)],_0x5b74c4[_0xad2519(0x16a)],{'timeout':0x3e8*this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x12e)](_0xad2519(0x144)),'requestTimeout':0x3e8*this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x12e)](_0xad2519(0x156))})[_0xad2519(0x143)](_0x171d40=>{const _0x2edbd8=_0xad2519;if(this[_0x2edbd8(0x148)]=_0x171d40,this[_0x2edbd8(0x13e)](_0x2edbd8(0x159))['to'](_0x171d40,_0x2edbd8(0x159),this,_0x2edbd8(0x15b),(_0x3945c5,_0x52a2b4)=>(_0x2edbd8(0x16e)!==_0x3945c5&&(this[_0x2edbd8(0x13f)]=!0x0),_0x52a2b4||_0x3945c5!==_0x2d05b3[_0x2edbd8(0x137)]?_0x2d05b3[_0x2edbd8(0x12b)]:this[_0x2edbd8(0x159)]==_0x2d05b3[_0x2edbd8(0x12b)]&&this[_0x2edbd8(0x13f)]?(this[_0x2edbd8(0x13f)]=!0x1,this[_0x2edbd8(0x151)](),_0x2d05b3[_0x2edbd8(0x126)]):_0x2d05b3[_0x2edbd8(0x137)])),this[_0x2edbd8(0x148)]['on'](_0x2edbd8(0x13b),(_0x1c18b5,_0x5f5fb3)=>{const _0x404a1c=_0x2edbd8;if(_0x404a1c(0x135)!==_0x5f5fb3[_0x404a1c(0x149)])throw console[_0x404a1c(0x13b)](_0x5f5fb3),new _0x1e1fd8(_0x404a1c(0x157),null,{'originalError':_0x5f5fb3});_0x50ebd7[_0x404a1c(0x167)](_0x404a1c(0x12c),{'title':_0x404a1c(0x14e),'namespace':_0x404a1c(0x12f)});}),!_0x171d40['me'])return new Promise(_0x679be2=>_0x171d40['on'](_0x2edbd8(0x165),_0x679be2));})[_0xad2519(0x13d)](_0x23460f=>{const _0x52a554=_0xad2519;throw console[_0x52a554(0x13b)](_0x23460f),new _0x1e1fd8(_0x52a554(0x157),null,{'originalError':_0x23460f});});}[_0xc428b1(0x153)](_0x5cd511){const _0x8178b2=_0xc428b1;if(_0x8178b2(0x14c)!=typeof _0x5cd511[_0x8178b2(0x138)])throw new _0x1e1fd8(_0x8178b2(0x12d),this);if(this[_0x8178b2(0x133)](_0x5cd511))throw new _0x1e1fd8(_0x8178b2(0x16d),this,{'name':_0x5cd511[_0x8178b2(0x162)][_0x8178b2(0x161)]});this[_0x8178b2(0x169)][_0x8178b2(0x13a)](_0x5cd511);}[_0xc428b1(0x15a)](_0x598902){const _0x1fb1f7=_0xc428b1;this[_0x1fb1f7(0x169)][_0x1fb1f7(0x147)](_0x598902);}[_0xc428b1(0x133)](_0x868bb8){const _0x49c6c4=_0xc428b1;return this[_0x49c6c4(0x169)][_0x49c6c4(0x134)](_0x868bb8);}[_0xc428b1(0x151)](){const _0x571d6e=_0xc428b1;return this[_0x571d6e(0x148)][_0x571d6e(0x138)]()[_0x571d6e(0x143)](()=>Promise[_0x571d6e(0x142)](Array[_0x571d6e(0x15d)](this[_0x571d6e(0x169)],_0x52e28a=>_0x52e28a[_0x571d6e(0x138)]())))[_0x571d6e(0x143)](()=>this[_0x571d6e(0x159)]=_0x2d05b3[_0x571d6e(0x137)])[_0x571d6e(0x13d)](_0x133ae7=>{const _0x10890d=_0x571d6e;throw console[_0x10890d(0x13b)](_0x133ae7),new _0x1e1fd8(_0x10890d(0x15e),this[_0x10890d(0x150)]);});}[_0xc428b1(0x163)](){const _0x322ff4=_0xc428b1;this[_0x322ff4(0x148)]&&this[_0x322ff4(0x148)][_0x322ff4(0x163)](),this[_0x322ff4(0x159)]=_0x2d05b3[_0x322ff4(0x12b)],this[_0x322ff4(0x168)][_0x322ff4(0x16c)]();}[_0xc428b1(0x130)](){const _0x1af4dd=_0xc428b1;this[_0x1af4dd(0x163)](),super[_0x1af4dd(0x130)]();}}export default c;
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19e4dd=_0x2726;(function(_0x2c1d71,_0x1106c3){const _0x3579cd=_0x2726,_0x12118f=_0x2c1d71();while(!![]){try{const _0x47b3ea=parseInt(_0x3579cd(0x1c7))/0x1*(-parseInt(_0x3579cd(0x20a))/0x2)+parseInt(_0x3579cd(0x1dd))/0x3+parseInt(_0x3579cd(0x1bb))/0x4+parseInt(_0x3579cd(0x1df))/0x5+-parseInt(_0x3579cd(0x1c2))/0x6*(parseInt(_0x3579cd(0x1b7))/0x7)+parseInt(_0x3579cd(0x1ed))/0x8+-parseInt(_0x3579cd(0x1ba))/0x9;if(_0x47b3ea===_0x1106c3)break;else _0x12118f['push'](_0x12118f['shift']());}catch(_0x4acb36){_0x12118f['push'](_0x12118f['shift']());}}}(_0x1c14,0x3b9be));import{Plugin as _0x300ac1}from'ckeditor5/src/core.js';import{version as _0x423112}from'ckeditor5/src/utils.js';import{Users as _0x1fe4ac}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x513f80 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x2e54b7 from'../realtimecollaborativeediting/websocketgateway.js';function _0x2726(_0x299fb5,_0xaf3736){const _0x1c14fb=_0x1c14();return _0x2726=function(_0x2726c7,_0x2bf852){_0x2726c7=_0x2726c7-0x19c;let _0x3106bc=_0x1c14fb[_0x2726c7];return _0x3106bc;},_0x2726(_0x299fb5,_0xaf3736);}import _0x5481d0 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x32de38,RevisionHistoryService as _0x522eb7,User as _0x3993e9,WEB_SOCKET_GATEWAY_STATES as _0x4e0db6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x300ac1{static [_0x19e4dd(0x1d5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x522eb7)());[_0x19e4dd(0x1ad)];[_0x19e4dd(0x1aa)];[_0x19e4dd(0x1b4)];[_0x19e4dd(0x1f2)];static get[_0x19e4dd(0x1e6)](){const _0x2797b5=_0x19e4dd;return[_0x2e54b7,_0x513f80,_0x2797b5(0x1c9),_0x5481d0,_0x1fe4ac];}static get[_0x19e4dd(0x1f0)](){const _0x4980f3=_0x19e4dd;return _0x4980f3(0x1fb);}static get[_0x19e4dd(0x1d7)](){return!0x0;}static get[_0x19e4dd(0x1f9)](){return!0x0;}constructor(_0x331c7d){const _0x27813c=_0x19e4dd;super(_0x331c7d);const _0x2314ac=this[_0x27813c(0x1cd)][_0x27813c(0x1e1)][_0x27813c(0x200)](_0x27813c(0x1d3));this[_0x27813c(0x1ad)]=null,this[_0x27813c(0x1aa)]=this[_0x27813c(0x1cd)][_0x27813c(0x19e)][_0x27813c(0x200)](_0x27813c(0x205)),this[_0x27813c(0x1b4)]=new u[(_0x27813c(0x1d5))](_0x2314ac);}async[_0x19e4dd(0x1bd)](){const _0x472f8f=_0x19e4dd,_0x257955=this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x513f80),_0x794a33=_0x257955[_0x472f8f(0x1d4)],_0x13c5de=this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x2e54b7);this[_0x472f8f(0x1aa)][_0x472f8f(0x1e0)]({'history':_0x794a33,'getLatestVersion':()=>this[_0x472f8f(0x1e5)](),'getCurrentRevisionId':()=>_0x257955[_0x472f8f(0x1f5)]});const _0x24aadb=this[_0x472f8f(0x1cd)][_0x472f8f(0x1e1)][_0x472f8f(0x200)](_0x472f8f(0x1a6))||_0x423112,_0x522944=await _0x32de38[_0x472f8f(0x1a9)](_0x13c5de[_0x472f8f(0x1db)],_0x24aadb);this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x472f8f(0x1c9))[_0x472f8f(0x1c6)]={'getRevision':async({revisionId:_0x51933e})=>(await this[_0x472f8f(0x1fc)](),await this[_0x472f8f(0x1b4)][_0x472f8f(0x1c4)](_0x51933e)),'updateRevisions':async _0x4e0646=>{const _0x36d570=_0x472f8f;await this[_0x36d570(0x1fc)]();const _0x3e5de4=this[_0x36d570(0x1aa)][_0x36d570(0x1bf)];if(_0x522944&&0x1===_0x4e0646[_0x36d570(0x1e2)]&&_0x4e0646[0x0]['id']===_0x3e5de4['id'])return _0x4e0646;for(const _0x468fa7 of _0x4e0646)_0x468fa7['id']===_0x3e5de4['id']&&(_0x468fa7[_0x36d570(0x20b)]=_0x468fa7[_0x36d570(0x20c)]===_0x468fa7[_0x36d570(0x1fa)]);return this[_0x36d570(0x1b4)][_0x36d570(0x204)](_0x4e0646,this[_0x36d570(0x1ad)])[_0x36d570(0x1ea)](_0x57b6cc=>(this[_0x36d570(0x1ad)]=_0x57b6cc,_0x4e0646))[_0x36d570(0x1f6)](_0x40bd9e=>{const _0x26a1e3=_0x36d570;if(st(_0x40bd9e)||_0x26a1e3(0x1da)===_0x40bd9e[_0x26a1e3(0x1a4)]&&void 0x0!==_0x40bd9e[_0x26a1e3(0x1b8)][_0x26a1e3(0x19d)]){for(const _0x2668f9 of _0x4e0646){!this[_0x26a1e3(0x1aa)][_0x26a1e3(0x1a1)][_0x26a1e3(0x1c4)](_0x2668f9['id'])||this[_0x26a1e3(0x1aa)][_0x26a1e3(0x1fd)](_0x2668f9['id'],_0x2668f9,!0x1);}if(st(_0x40bd9e))throw _0x40bd9e;return _0x4e0646;}throw _0x40bd9e;});}},this[_0x472f8f(0x1b2)](this[_0x472f8f(0x1b4)],_0x472f8f(0x1a8),(_0x5cea2b,{revisionsData:_0x5bb59a,requestId:_0x112db5})=>{const _0x5c6d3c=_0x472f8f;Math[_0x5c6d3c(0x1ee)](..._0x5bb59a[_0x5c6d3c(0x1d2)](_0x10d052=>_0x10d052[_0x5c6d3c(0x1fa)]))>this[_0x5c6d3c(0x1cb)]()-0x1?this[_0x5c6d3c(0x1e5)]()[_0x5c6d3c(0x1ea)](()=>{const _0x50569e=_0x5c6d3c;this[_0x50569e(0x1d9)](_0x5bb59a,_0x112db5);}):this[_0x5c6d3c(0x1d9)](_0x5bb59a,_0x112db5);});const {revisions:_0x55d3db,requestId:_0x254fbf}=await this[_0x472f8f(0x1b4)][_0x472f8f(0x1dc)](_0x13c5de[_0x472f8f(0x1db)]);_0x13c5de[_0x472f8f(0x1c5)](this),this[_0x472f8f(0x1ad)]=_0x254fbf,await this[_0x472f8f(0x1e8)](_0x55d3db);for(const _0x2e14a5 of _0x55d3db)this[_0x472f8f(0x1aa)][_0x472f8f(0x202)](_0x2e14a5);this[_0x472f8f(0x1b2)](_0x257955,_0x472f8f(0x1b9),(_0x187ac3,_0xf9cf2c,_0x28892e)=>{const _0x1254f4=_0x472f8f;_0x28892e&&(this[_0x1254f4(0x1f2)]=_0x257955[_0x1254f4(0x1d8)],_0x187ac3[_0x1254f4(0x207)]());}),this[_0x472f8f(0x1aa)][_0x472f8f(0x20d)](_0x472f8f(0x1eb))['to'](_0x13c5de,_0x472f8f(0x1ef),_0x354d95=>_0x354d95===_0x4e0db6[_0x472f8f(0x1a7)]);}async[_0x19e4dd(0x1f1)](){const _0x376478=_0x19e4dd,_0x32cef1=this[_0x376478(0x1cd)][_0x376478(0x19e)][_0x376478(0x200)](_0x2e54b7),_0x50d094=this[_0x376478(0x1cd)][_0x376478(0x19e)][_0x376478(0x200)](_0x513f80),_0x5f23f3=async()=>{const _0xc24efd=_0x376478,_0x553296=this[_0xc24efd(0x1aa)][_0xc24efd(0x1bf)],_0x40d799=_0x553296['id'],_0x559dd8=_0x40d799!==_0x50d094[_0xc24efd(0x1f5)];if(_0x559dd8){const _0x1c55c5=_0x50d094[_0xc24efd(0x1d8)]-this[_0xc24efd(0x1f2)],_0x300501=this[_0xc24efd(0x1cb)]();this[_0xc24efd(0x1aa)][_0xc24efd(0x1ec)][_0xc24efd(0x1af)]();if(_0x553296[_0xc24efd(0x1fa)]+_0x1c55c5!==_0x300501){const _0x31f91d=_0x553296[_0xc24efd(0x20c)]+_0x1c55c5,_0x3198c5=this[_0xc24efd(0x1cd)][_0xc24efd(0x19e)][_0xc24efd(0x200)](_0x1fe4ac),_0x1b4544=this[_0xc24efd(0x1aa)][_0xc24efd(0x1b0)]({'revision':_0x553296,'from':_0x31f91d,'to':_0x300501});_0x1b4544['id']=_0x553296['id'];const _0x2365cb=_0x1b4544[_0xc24efd(0x1d1)][_0xc24efd(0x1d2)](_0x198cbb=>_0x3198c5[_0xc24efd(0x1b6)](_0x198cbb));_0x553296[_0xc24efd(0x1a0)]({..._0x1b4544,'authors':_0x2365cb},!0x0),this[_0xc24efd(0x1aa)][_0xc24efd(0x1fd)](_0x553296['id'],_0x1b4544,!0x0);}this[_0xc24efd(0x1aa)][_0xc24efd(0x1cc)]=_0x300501,(_0x553296[_0xc24efd(0x1fa)]===_0x553296[_0xc24efd(0x20c)]&&!this[_0xc24efd(0x1aa)][_0xc24efd(0x19f)][_0xc24efd(0x1bc)](_0x40d799)&&this[_0xc24efd(0x1aa)][_0xc24efd(0x1a1)][_0xc24efd(0x1cf)][_0xc24efd(0x1fe)](_0x40d799),this[_0xc24efd(0x1aa)][_0xc24efd(0x1c0)](_0x300501));}const {revisions:_0x409d2d,requestId:_0x5dc020}=await this[_0xc24efd(0x1b4)][_0xc24efd(0x1f1)](_0x32cef1[_0xc24efd(0x1db)],this[_0xc24efd(0x1ad)]);_0x559dd8&&_0x409d2d[_0xc24efd(0x1e2)]>0x0?_0x50d094[_0xc24efd(0x203)]():(await this[_0xc24efd(0x1e8)](_0x409d2d),this[_0xc24efd(0x1d9)](_0x409d2d,_0x5dc020),this[_0xc24efd(0x1aa)][_0xc24efd(0x1be)]());};return _0x50d094[_0x376478(0x1b1)]?_0x5f23f3():new Promise((_0x14243e,_0x3615df)=>{const _0x4b4de4=_0x376478;_0x50d094[_0x4b4de4(0x1c1)](_0x4b4de4(0x1b9),()=>{const _0x30cc93=_0x4b4de4;_0x5f23f3()[_0x30cc93(0x1ea)](_0x14243e)[_0x30cc93(0x1f6)](_0x3615df);});});}[_0x19e4dd(0x20e)](){const _0x2ea971=_0x19e4dd;super[_0x2ea971(0x20e)]();}async[_0x19e4dd(0x1fc)](){const _0x23384d=_0x19e4dd;this[_0x23384d(0x1b4)][_0x23384d(0x1ca)]||await new Promise(_0x2ec7bc=>{const _0x1dbe2b=_0x23384d;this[_0x1dbe2b(0x1b2)](this[_0x1dbe2b(0x1b4)],_0x1dbe2b(0x1b3),_0x44c677=>{const _0x280ef6=_0x1dbe2b;_0x44c677[_0x280ef6(0x207)](),_0x2ec7bc();});});}[_0x19e4dd(0x1cb)](){const _0x4cc0a5=_0x19e4dd,_0x561d4c=this[_0x4cc0a5(0x1cd)][_0x4cc0a5(0x19e)][_0x4cc0a5(0x200)](_0x513f80)[_0x4cc0a5(0x1d4)][_0x4cc0a5(0x1e4)]()[_0x4cc0a5(0x201)]();for(const _0x1dbced of _0x561d4c)if(_0x4cc0a5(0x209)!==_0x1dbced[_0x4cc0a5(0x1e7)]||_0x1dbced[_0x4cc0a5(0x1f7)])return _0x1dbced[_0x4cc0a5(0x1c3)]+0x1;}[_0x19e4dd(0x1e5)](){const _0x3ed51c=_0x19e4dd,_0x5e090c=this[_0x3ed51c(0x1cd)][_0x3ed51c(0x19e)][_0x3ed51c(0x200)](_0x513f80);return new Promise(_0x31accb=>{const _0x5c26e5=_0x3ed51c;_0x5e090c[_0x5c26e5(0x1c8)]?_0x5e090c[_0x5c26e5(0x1c1)](_0x5c26e5(0x208),()=>{const _0x29e23f=_0x5c26e5;_0x31accb(this[_0x29e23f(0x1cb)]());}):_0x31accb(this[_0x5c26e5(0x1cb)]());});}[_0x19e4dd(0x1d9)](_0x420fb9,_0x3a6455){const _0x5176e9=_0x19e4dd,_0x4f3235=this[_0x5176e9(0x1aa)][_0x5176e9(0x1a1)];this[_0x5176e9(0x1ad)]=_0x3a6455;for(const _0x19bee6 of _0x420fb9){const _0x19327b=_0x4f3235[_0x5176e9(0x1c4)](_0x19bee6['id']);if(_0x19327b){if((_0x19bee6[_0x5176e9(0x20c)]||_0x19bee6[_0x5176e9(0x1fa)])&&(_0x19bee6[_0x5176e9(0x1d6)]=null),_0x19327b===this[_0x5176e9(0x1aa)][_0x5176e9(0x1bf)]){const _0x550200=Math[_0x5176e9(0x1ee)](_0x19327b[_0x5176e9(0x1fa)],_0x19bee6[_0x5176e9(0x1fa)]),_0x31bbce=Math[_0x5176e9(0x1ee)](_0x19327b[_0x5176e9(0x20c)],_0x19bee6[_0x5176e9(0x20c)]);let _0x5092c1;_0x19327b[_0x5176e9(0x1fa)]===_0x19bee6[_0x5176e9(0x1fa)]&&_0x19327b[_0x5176e9(0x20c)]===_0x19bee6[_0x5176e9(0x20c)]?(_0x5092c1=!0x0,this[_0x5176e9(0x1f3)](_0x19bee6)):_0x19bee6[_0x5176e9(0x1fa)]===_0x550200&&_0x19bee6[_0x5176e9(0x20c)]===_0x31bbce?_0x5092c1=!0x1:(_0x19327b[_0x5176e9(0x1fa)]===_0x550200&&_0x19327b[_0x5176e9(0x20c)]===_0x31bbce||this[_0x5176e9(0x1ae)]({'revision':_0x19327b,'from':_0x31bbce,'to':_0x550200}),_0x5092c1=!0x0),_0x5092c1&&(delete _0x19bee6[_0x5176e9(0x20c)],delete _0x19bee6[_0x5176e9(0x1fa)],delete _0x19bee6[_0x5176e9(0x1d6)],delete _0x19bee6[_0x5176e9(0x1f4)],delete _0x19bee6[_0x5176e9(0x1d1)]);}this[_0x5176e9(0x1aa)][_0x5176e9(0x1ff)](_0x19bee6),this[_0x5176e9(0x1f3)](_0x19bee6);}else this[_0x5176e9(0x1aa)][_0x5176e9(0x202)](_0x19bee6);}const _0x179fda=_0x4f3235[_0x5176e9(0x1e9)]();_0x179fda[_0x5176e9(0x201)]();for(let _0x2736d4=0x0;_0x2736d4<_0x179fda[_0x5176e9(0x1e2)]-0x1;_0x2736d4++){const _0x1f55ff=_0x179fda[_0x2736d4],_0x2ed67a=_0x179fda[_0x2736d4+0x1];if(_0x1f55ff[_0x5176e9(0x20c)]<_0x2ed67a[_0x5176e9(0x1fa)]){const _0x48b5bd=_0x2ed67a[_0x5176e9(0x1fa)],_0x491575=Math[_0x5176e9(0x1ee)](_0x48b5bd,_0x1f55ff[_0x5176e9(0x1fa)]);this[_0x5176e9(0x1ae)]({'revision':_0x1f55ff,'from':_0x48b5bd,'to':_0x491575});}}}[_0x19e4dd(0x1ae)]({revision:_0x144a95,from:_0x2a10b4,to:_0x309d77}={}){const _0x8f59fd=_0x19e4dd,_0x267a56=this[_0x8f59fd(0x1cd)][_0x8f59fd(0x19e)][_0x8f59fd(0x200)](_0x1fe4ac),_0x342123=this[_0x8f59fd(0x1aa)][_0x8f59fd(0x1b0)]({'revision':_0x144a95,'from':_0x2a10b4,'to':_0x309d77});_0x342123[_0x8f59fd(0x1b5)]=_0x342123[_0x8f59fd(0x1d1)][_0x8f59fd(0x1d2)](_0x589a2d=>_0x267a56[_0x8f59fd(0x1b6)](_0x589a2d)),_0x144a95[_0x8f59fd(0x1a0)](_0x342123);}[_0x19e4dd(0x1f3)](_0x5f5910){const _0x28b483=_0x19e4dd,_0x472c9b={};_0x472c9b['id']=_0x5f5910['id'];for(const _0x47ea89 of Object[_0x28b483(0x1ce)](_0x5f5910))'id'!==_0x47ea89&&(_0x472c9b[_0x47ea89]=void 0x0);this[_0x28b483(0x1aa)][_0x28b483(0x1fd)](_0x472c9b['id'],_0x472c9b,!0x0);}async[_0x19e4dd(0x1e8)](_0x59fbae){const _0xa74c01=_0x19e4dd,_0x298ffc=this[_0xa74c01(0x1cd)][_0xa74c01(0x19e)][_0xa74c01(0x200)](_0x1fe4ac),{connection:_0x2c4ea9}=this[_0xa74c01(0x1cd)][_0xa74c01(0x19e)][_0xa74c01(0x200)](_0x2e54b7),_0x1342a9=new Set();for(const _0x4aaebd of _0x59fbae){for(const _0x5c2fec of _0x4aaebd[_0xa74c01(0x1d1)])_0x4e7996(_0x5c2fec);_0x4aaebd[_0xa74c01(0x1a2)]&&_0x4e7996(_0x4aaebd[_0xa74c01(0x1a2)]);}if(0x0===_0x1342a9[_0xa74c01(0x1ac)])return;const _0x4a9988=await _0x3993e9[_0xa74c01(0x206)](_0x2c4ea9,Array[_0xa74c01(0x1a3)](_0x1342a9));for(const _0x45b12d of _0x4a9988)_0x298ffc[_0xa74c01(0x1b6)](_0x45b12d['id'])||_0x298ffc[_0xa74c01(0x1d0)](_0x45b12d);function _0x4e7996(_0x4d996d){const _0x5c9748=_0xa74c01;_0x298ffc[_0x5c9748(0x1b6)](_0x4d996d)||_0x1342a9[_0x5c9748(0x19c)](_0x4d996d);}}}function _0x1c14(){const _0x7117=['isBundleUploaded','_revisionTracker','cloud-services-internal-error:\x20Not\x20connected.','size','_lastRequestId','_fixRevision','reInit','buildRevisionData','_isConnected','listenTo','connected','_revisionHistoryService','authors','getUser','7OuDdqb','data','change:_isConnected','4078566TfBgLw','1414120UBNfPo','has','init','sendBufferedUpdates','currentRevision','_createCurrentRevision','once','500502AXhYFk','baseVersion','getRevision','addToReconnectionStack','adapter','406822Jgpvwi','_isPendingUpdate','RevisionHistory','isConnected','_getLatestVersionFromServerOperations','_startingVersion','editor','keys','_revisions','addUser','authorsIds','map','collaboration.channelId','serverHistory','RevisionHistoryService','diffData','isOfficialPlugin','_offset','_handleRevisionsUpdate','400','connection','connect','542892YrYghv','startsWith','2226055GRiUvR','setSource','config','length','cloud-services-internal-error:\x20Request\x20timeout.','getOperations','_getLatestVersion','requires','type','_fetchMissingUsers','getRevisions','then','isEnabled','_revisionDataBuilder','1662928ldpJcQ','max','state','pluginName','reconnect','_oldOffset','_preventResendingRevisionData','createdAt','sessionId','catch','affectsData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isPremiumPlugin','toVersion','CloudServicesRevisionHistoryAdapter','_waitForServiceReady','_bufferUpdate','remove','setRevisionData','get','reverse','addRevisionData','_handleReconnectionError','updateRevisions','RevisionTracker','getMany','off','change:_isPendingUpdate','marker','2MScbnC','isEmptyCurrent','fromVersion','bind','destroy','add','wrongRequestId','plugins','_bufferedUpdates','_update','repository','creatorId','from','code','message','cloudServices.bundleVersion','CONNECTED','revisionsUpdated'];_0x1c14=function(){return _0x7117;};return _0x1c14();}export default u;function st(_0x46235e){const _0x29ab0d=_0x19e4dd;return _0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1f8))||_0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1ab))||_0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1e3));}
23
+ const _0xcb105d=_0x1b8d;function _0x32db(){const _0x4ca711=['addUser','_revisionTracker','startsWith','size','RevisionTracker','buildRevisionData','_fetchMissingUsers','requires','isPremiumPlugin','_offset','692440RjwnKd','catch','_getLatestVersion','bind','serverHistory','connected','_revisionHistoryService','_handleRevisionsUpdate','_bufferUpdate','type','_bufferedUpdates','change:_isConnected','code','marker','_preventResendingRevisionData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','getUser','diffData','isEnabled','editor','isOfficialPlugin','_oldOffset','744ooJIKZ','_createCurrentRevision','cloudServices.bundleVersion','getRevision','sessionId','authors','_fixRevision','pluginName','data','message','cloud-services-internal-error:\x20Not\x20connected.','isEmptyCurrent','then','reInit','isConnected','reverse','revisionsUpdated','has','max','from','3132426ITQFYF','plugins','destroy','_waitForServiceReady','5wAChPo','reconnect','init','off','addRevisionData','RevisionHistoryService','getRevisions','connect','setRevisionData','222qAFOru','change:_isPendingUpdate','_isConnected','adapter','connection','311571Hqkwsj','collaboration.channelId','400','_revisions','keys','20151qLcdaF','baseVersion','currentRevision','listenTo','once','toVersion','_revisionDataBuilder','repository','remove','sendBufferedUpdates','add','CloudServicesRevisionHistoryAdapter','map','CONNECTED','addToReconnectionStack','16960svBJhw','_isPendingUpdate','createdAt','_handleReconnectionError','length','1505476lvAtll','get','updateRevisions','affectsData','config','_getLatestVersionFromServerOperations','wrongRequestId','creatorId','authorsIds','fromVersion','getMany','cloud-services-internal-error:\x20Request\x20timeout.','isBundleUploaded','12526nGvgpc','setSource','RevisionHistory','getOperations','state','_lastRequestId','_update','_startingVersion','3674eICsJL'];_0x32db=function(){return _0x4ca711;};return _0x32db();}(function(_0x44d851,_0x54f9bd){const _0x30750c=_0x1b8d,_0x18bf61=_0x44d851();while(!![]){try{const _0x756bbe=-parseInt(_0x30750c(0x1ed))/0x1+-parseInt(_0x30750c(0x213))/0x2*(-parseInt(_0x30750c(0x1e8))/0x3)+parseInt(_0x30750c(0x206))/0x4+-parseInt(_0x30750c(0x254))/0x5*(parseInt(_0x30750c(0x250))/0x6)+-parseInt(_0x30750c(0x226))/0x7+parseInt(_0x30750c(0x23c))/0x8*(-parseInt(_0x30750c(0x1f2))/0x9)+-parseInt(_0x30750c(0x201))/0xa*(-parseInt(_0x30750c(0x21b))/0xb);if(_0x756bbe===_0x54f9bd)break;else _0x18bf61['push'](_0x18bf61['shift']());}catch(_0x2f0726){_0x18bf61['push'](_0x18bf61['shift']());}}}(_0x32db,0x40d22));import{Plugin as _0x43994a}from'ckeditor5/src/core.js';import{version as _0x310136}from'ckeditor5/src/utils.js';import{Users as _0x23b7b0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1b8d(_0x1aefeb,_0x3a3ccc){const _0x32dbe6=_0x32db();return _0x1b8d=function(_0x1b8df3,_0xac68eb){_0x1b8df3=_0x1b8df3-0x1e7;let _0x32e8dd=_0x32dbe6[_0x1b8df3];return _0x32e8dd;},_0x1b8d(_0x1aefeb,_0x3a3ccc);}import _0x14ef63 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x484296 from'../realtimecollaborativeediting/websocketgateway.js';import _0x10826e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1e42ac,RevisionHistoryService as _0x4eca74,User as _0x309705,WEB_SOCKET_GATEWAY_STATES as _0x5537c0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x43994a{static [_0xcb105d(0x259)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4eca74)());[_0xcb105d(0x218)];[_0xcb105d(0x21d)];[_0xcb105d(0x22c)];[_0xcb105d(0x23b)];static get[_0xcb105d(0x223)](){const _0x141ce2=_0xcb105d;return[_0x484296,_0x14ef63,_0x141ce2(0x215),_0x10826e,_0x23b7b0];}static get[_0xcb105d(0x243)](){const _0x1f5830=_0xcb105d;return _0x1f5830(0x1fd);}static get[_0xcb105d(0x23a)](){return!0x0;}static get[_0xcb105d(0x224)](){return!0x0;}constructor(_0x478219){const _0x74702c=_0xcb105d;super(_0x478219);const _0x5c5e2d=this[_0x74702c(0x239)][_0x74702c(0x20a)][_0x74702c(0x207)](_0x74702c(0x1ee));this[_0x74702c(0x218)]=null,this[_0x74702c(0x21d)]=this[_0x74702c(0x239)][_0x74702c(0x251)][_0x74702c(0x207)](_0x74702c(0x220)),this[_0x74702c(0x22c)]=new u[(_0x74702c(0x259))](_0x5c5e2d);}async[_0xcb105d(0x256)](){const _0xff96bc=_0xcb105d,_0x2edfb4=this[_0xff96bc(0x239)][_0xff96bc(0x251)][_0xff96bc(0x207)](_0x14ef63),_0x3c8684=_0x2edfb4[_0xff96bc(0x22a)],_0x295949=this[_0xff96bc(0x239)][_0xff96bc(0x251)][_0xff96bc(0x207)](_0x484296);this[_0xff96bc(0x21d)][_0xff96bc(0x214)]({'history':_0x3c8684,'getLatestVersion':()=>this[_0xff96bc(0x228)](),'getCurrentRevisionId':()=>_0x2edfb4[_0xff96bc(0x240)]});const _0x5bff88=this[_0xff96bc(0x239)][_0xff96bc(0x20a)][_0xff96bc(0x207)](_0xff96bc(0x23e))||_0x310136,_0x2d7c0e=await _0x1e42ac[_0xff96bc(0x212)](_0x295949[_0xff96bc(0x1ec)],_0x5bff88);this[_0xff96bc(0x239)][_0xff96bc(0x251)][_0xff96bc(0x207)](_0xff96bc(0x215))[_0xff96bc(0x1eb)]={'getRevision':async({revisionId:_0x469cda})=>(await this[_0xff96bc(0x253)](),await this[_0xff96bc(0x22c)][_0xff96bc(0x23f)](_0x469cda)),'updateRevisions':async _0xc9acab=>{const _0x1c3d37=_0xff96bc;await this[_0x1c3d37(0x253)]();const _0x31f9c6=this[_0x1c3d37(0x21d)][_0x1c3d37(0x1f4)];if(_0x2d7c0e&&0x1===_0xc9acab[_0x1c3d37(0x205)]&&_0xc9acab[0x0]['id']===_0x31f9c6['id'])return _0xc9acab;for(const _0xc1dd72 of _0xc9acab)_0xc1dd72['id']===_0x31f9c6['id']&&(_0xc1dd72[_0x1c3d37(0x247)]=_0xc1dd72[_0x1c3d37(0x20f)]===_0xc1dd72[_0x1c3d37(0x1f7)]);return this[_0x1c3d37(0x22c)][_0x1c3d37(0x208)](_0xc9acab,this[_0x1c3d37(0x218)])[_0x1c3d37(0x248)](_0x1244ae=>(this[_0x1c3d37(0x218)]=_0x1244ae,_0xc9acab))[_0x1c3d37(0x227)](_0xbff677=>{const _0x58dff3=_0x1c3d37;if(st(_0xbff677)||_0x58dff3(0x1ef)===_0xbff677[_0x58dff3(0x232)]&&void 0x0!==_0xbff677[_0x58dff3(0x244)][_0x58dff3(0x20c)]){for(const _0x47de87 of _0xc9acab){!this[_0x58dff3(0x21d)][_0x58dff3(0x1f9)][_0x58dff3(0x23f)](_0x47de87['id'])||this[_0x58dff3(0x21d)][_0x58dff3(0x22e)](_0x47de87['id'],_0x47de87,!0x1);}if(st(_0xbff677))throw _0xbff677;return _0xc9acab;}throw _0xbff677;});}},this[_0xff96bc(0x1f5)](this[_0xff96bc(0x22c)],_0xff96bc(0x24c),(_0x2e5224,{revisionsData:_0x2e9cfb,requestId:_0x3e9f2c})=>{const _0x45268f=_0xff96bc;Math[_0x45268f(0x24e)](..._0x2e9cfb[_0x45268f(0x1fe)](_0x358943=>_0x358943[_0x45268f(0x1f7)]))>this[_0x45268f(0x20b)]()-0x1?this[_0x45268f(0x228)]()[_0x45268f(0x248)](()=>{const _0x338d52=_0x45268f;this[_0x338d52(0x22d)](_0x2e9cfb,_0x3e9f2c);}):this[_0x45268f(0x22d)](_0x2e9cfb,_0x3e9f2c);});const {revisions:_0x5d90c2,requestId:_0xbd041}=await this[_0xff96bc(0x22c)][_0xff96bc(0x25b)](_0x295949[_0xff96bc(0x1ec)]);_0x295949[_0xff96bc(0x200)](this),this[_0xff96bc(0x218)]=_0xbd041,await this[_0xff96bc(0x222)](_0x5d90c2);for(const _0x36d9ab of _0x5d90c2)this[_0xff96bc(0x21d)][_0xff96bc(0x258)](_0x36d9ab);this[_0xff96bc(0x1f5)](_0x2edfb4,_0xff96bc(0x231),(_0x1ce46a,_0x5879da,_0x435067)=>{const _0x43a7f4=_0xff96bc;_0x435067&&(this[_0x43a7f4(0x23b)]=_0x2edfb4[_0x43a7f4(0x225)],_0x1ce46a[_0x43a7f4(0x257)]());}),this[_0xff96bc(0x21d)][_0xff96bc(0x229)](_0xff96bc(0x238))['to'](_0x295949,_0xff96bc(0x217),_0x339703=>_0x339703===_0x5537c0[_0xff96bc(0x1ff)]);}async[_0xcb105d(0x255)](){const _0x515773=_0xcb105d,_0x3fb37c=this[_0x515773(0x239)][_0x515773(0x251)][_0x515773(0x207)](_0x484296),_0x52a6aa=this[_0x515773(0x239)][_0x515773(0x251)][_0x515773(0x207)](_0x14ef63),_0x3c8249=async()=>{const _0x3f12f2=_0x515773,_0x55ce0f=this[_0x3f12f2(0x21d)][_0x3f12f2(0x1f4)],_0x5302c3=_0x55ce0f['id'],_0xf6a077=_0x5302c3!==_0x52a6aa[_0x3f12f2(0x240)];if(_0xf6a077){const _0xe8b72d=_0x52a6aa[_0x3f12f2(0x225)]-this[_0x3f12f2(0x23b)],_0x36718d=this[_0x3f12f2(0x20b)]();this[_0x3f12f2(0x21d)][_0x3f12f2(0x1f8)][_0x3f12f2(0x249)]();if(_0x55ce0f[_0x3f12f2(0x1f7)]+_0xe8b72d!==_0x36718d){const _0x53ba26=_0x55ce0f[_0x3f12f2(0x20f)]+_0xe8b72d,_0x19aaf9=this[_0x3f12f2(0x239)][_0x3f12f2(0x251)][_0x3f12f2(0x207)](_0x23b7b0),_0x4b53f8=this[_0x3f12f2(0x21d)][_0x3f12f2(0x221)]({'revision':_0x55ce0f,'from':_0x53ba26,'to':_0x36718d});_0x4b53f8['id']=_0x55ce0f['id'];const _0xc0dd73=_0x4b53f8[_0x3f12f2(0x20e)][_0x3f12f2(0x1fe)](_0x15823f=>_0x19aaf9[_0x3f12f2(0x236)](_0x15823f));_0x55ce0f[_0x3f12f2(0x219)]({..._0x4b53f8,'authors':_0xc0dd73},!0x0),this[_0x3f12f2(0x21d)][_0x3f12f2(0x22e)](_0x55ce0f['id'],_0x4b53f8,!0x0);}this[_0x3f12f2(0x21d)][_0x3f12f2(0x21a)]=_0x36718d,(_0x55ce0f[_0x3f12f2(0x1f7)]===_0x55ce0f[_0x3f12f2(0x20f)]&&!this[_0x3f12f2(0x21d)][_0x3f12f2(0x230)][_0x3f12f2(0x24d)](_0x5302c3)&&this[_0x3f12f2(0x21d)][_0x3f12f2(0x1f9)][_0x3f12f2(0x1f0)][_0x3f12f2(0x1fa)](_0x5302c3),this[_0x3f12f2(0x21d)][_0x3f12f2(0x23d)](_0x36718d));}const {revisions:_0x3df15f,requestId:_0x16fc2e}=await this[_0x3f12f2(0x22c)][_0x3f12f2(0x255)](_0x3fb37c[_0x3f12f2(0x1ec)],this[_0x3f12f2(0x218)]);_0xf6a077&&_0x3df15f[_0x3f12f2(0x205)]>0x0?_0x52a6aa[_0x3f12f2(0x204)]():(await this[_0x3f12f2(0x222)](_0x3df15f),this[_0x3f12f2(0x22d)](_0x3df15f,_0x16fc2e),this[_0x3f12f2(0x21d)][_0x3f12f2(0x1fb)]());};return _0x52a6aa[_0x515773(0x1ea)]?_0x3c8249():new Promise((_0x5662f0,_0x53c741)=>{const _0x2fa910=_0x515773;_0x52a6aa[_0x2fa910(0x1f6)](_0x2fa910(0x231),()=>{const _0x2f100d=_0x2fa910;_0x3c8249()[_0x2f100d(0x248)](_0x5662f0)[_0x2f100d(0x227)](_0x53c741);});});}[_0xcb105d(0x252)](){const _0x2c1ae6=_0xcb105d;super[_0x2c1ae6(0x252)]();}async[_0xcb105d(0x253)](){const _0x1e47d5=_0xcb105d;this[_0x1e47d5(0x22c)][_0x1e47d5(0x24a)]||await new Promise(_0x2a303d=>{const _0x28c00d=_0x1e47d5;this[_0x28c00d(0x1f5)](this[_0x28c00d(0x22c)],_0x28c00d(0x22b),_0x44cf40=>{const _0x4d1737=_0x28c00d;_0x44cf40[_0x4d1737(0x257)](),_0x2a303d();});});}[_0xcb105d(0x20b)](){const _0x314451=_0xcb105d,_0x19c61f=this[_0x314451(0x239)][_0x314451(0x251)][_0x314451(0x207)](_0x14ef63)[_0x314451(0x22a)][_0x314451(0x216)]()[_0x314451(0x24b)]();for(const _0x1bf216 of _0x19c61f)if(_0x314451(0x233)!==_0x1bf216[_0x314451(0x22f)]||_0x1bf216[_0x314451(0x209)])return _0x1bf216[_0x314451(0x1f3)]+0x1;}[_0xcb105d(0x228)](){const _0x3e6e12=_0xcb105d,_0xadb5fb=this[_0x3e6e12(0x239)][_0x3e6e12(0x251)][_0x3e6e12(0x207)](_0x14ef63);return new Promise(_0x554705=>{const _0x56eb1c=_0x3e6e12;_0xadb5fb[_0x56eb1c(0x202)]?_0xadb5fb[_0x56eb1c(0x1f6)](_0x56eb1c(0x1e9),()=>{const _0x3b87c7=_0x56eb1c;_0x554705(this[_0x3b87c7(0x20b)]());}):_0x554705(this[_0x56eb1c(0x20b)]());});}[_0xcb105d(0x22d)](_0x4cd3e2,_0x3e7317){const _0x22e18d=_0xcb105d,_0x200445=this[_0x22e18d(0x21d)][_0x22e18d(0x1f9)];this[_0x22e18d(0x218)]=_0x3e7317;for(const _0x41ac28 of _0x4cd3e2){const _0x30752e=_0x200445[_0x22e18d(0x23f)](_0x41ac28['id']);if(_0x30752e){if((_0x41ac28[_0x22e18d(0x20f)]||_0x41ac28[_0x22e18d(0x1f7)])&&(_0x41ac28[_0x22e18d(0x237)]=null),_0x30752e===this[_0x22e18d(0x21d)][_0x22e18d(0x1f4)]){const _0x3ba05e=Math[_0x22e18d(0x24e)](_0x30752e[_0x22e18d(0x1f7)],_0x41ac28[_0x22e18d(0x1f7)]),_0x32f6c5=Math[_0x22e18d(0x24e)](_0x30752e[_0x22e18d(0x20f)],_0x41ac28[_0x22e18d(0x20f)]);let _0x234014;_0x30752e[_0x22e18d(0x1f7)]===_0x41ac28[_0x22e18d(0x1f7)]&&_0x30752e[_0x22e18d(0x20f)]===_0x41ac28[_0x22e18d(0x20f)]?(_0x234014=!0x0,this[_0x22e18d(0x234)](_0x41ac28)):_0x41ac28[_0x22e18d(0x1f7)]===_0x3ba05e&&_0x41ac28[_0x22e18d(0x20f)]===_0x32f6c5?_0x234014=!0x1:(_0x30752e[_0x22e18d(0x1f7)]===_0x3ba05e&&_0x30752e[_0x22e18d(0x20f)]===_0x32f6c5||this[_0x22e18d(0x242)]({'revision':_0x30752e,'from':_0x32f6c5,'to':_0x3ba05e}),_0x234014=!0x0),_0x234014&&(delete _0x41ac28[_0x22e18d(0x20f)],delete _0x41ac28[_0x22e18d(0x1f7)],delete _0x41ac28[_0x22e18d(0x237)],delete _0x41ac28[_0x22e18d(0x203)],delete _0x41ac28[_0x22e18d(0x20e)]);}this[_0x22e18d(0x21d)][_0x22e18d(0x1e7)](_0x41ac28),this[_0x22e18d(0x234)](_0x41ac28);}else this[_0x22e18d(0x21d)][_0x22e18d(0x258)](_0x41ac28);}const _0xeff793=_0x200445[_0x22e18d(0x25a)]();_0xeff793[_0x22e18d(0x24b)]();for(let _0x401a17=0x0;_0x401a17<_0xeff793[_0x22e18d(0x205)]-0x1;_0x401a17++){const _0x399168=_0xeff793[_0x401a17],_0x1d27d4=_0xeff793[_0x401a17+0x1];if(_0x399168[_0x22e18d(0x20f)]<_0x1d27d4[_0x22e18d(0x1f7)]){const _0x4fbe92=_0x1d27d4[_0x22e18d(0x1f7)],_0x50405d=Math[_0x22e18d(0x24e)](_0x4fbe92,_0x399168[_0x22e18d(0x1f7)]);this[_0x22e18d(0x242)]({'revision':_0x399168,'from':_0x4fbe92,'to':_0x50405d});}}}[_0xcb105d(0x242)]({revision:_0x471107,from:_0x412f8b,to:_0x14f54b}={}){const _0x370142=_0xcb105d,_0x4cbd00=this[_0x370142(0x239)][_0x370142(0x251)][_0x370142(0x207)](_0x23b7b0),_0x4ec7f6=this[_0x370142(0x21d)][_0x370142(0x221)]({'revision':_0x471107,'from':_0x412f8b,'to':_0x14f54b});_0x4ec7f6[_0x370142(0x241)]=_0x4ec7f6[_0x370142(0x20e)][_0x370142(0x1fe)](_0x4b149f=>_0x4cbd00[_0x370142(0x236)](_0x4b149f)),_0x471107[_0x370142(0x219)](_0x4ec7f6);}[_0xcb105d(0x234)](_0x2bc731){const _0x439f72=_0xcb105d,_0x583fe8={};_0x583fe8['id']=_0x2bc731['id'];for(const _0x33604 of Object[_0x439f72(0x1f1)](_0x2bc731))'id'!==_0x33604&&(_0x583fe8[_0x33604]=void 0x0);this[_0x439f72(0x21d)][_0x439f72(0x22e)](_0x583fe8['id'],_0x583fe8,!0x0);}async[_0xcb105d(0x222)](_0x192861){const _0xc67286=_0xcb105d,_0x4c7b73=this[_0xc67286(0x239)][_0xc67286(0x251)][_0xc67286(0x207)](_0x23b7b0),{connection:_0x30b250}=this[_0xc67286(0x239)][_0xc67286(0x251)][_0xc67286(0x207)](_0x484296),_0x5c73c4=new Set();for(const _0x47b31e of _0x192861){for(const _0x59cdbc of _0x47b31e[_0xc67286(0x20e)])_0x5e0335(_0x59cdbc);_0x47b31e[_0xc67286(0x20d)]&&_0x5e0335(_0x47b31e[_0xc67286(0x20d)]);}if(0x0===_0x5c73c4[_0xc67286(0x21f)])return;const _0x30922a=await _0x309705[_0xc67286(0x210)](_0x30b250,Array[_0xc67286(0x24f)](_0x5c73c4));for(const _0x1a57af of _0x30922a)_0x4c7b73[_0xc67286(0x236)](_0x1a57af['id'])||_0x4c7b73[_0xc67286(0x21c)](_0x1a57af);function _0x5e0335(_0x5075e9){const _0xe2760a=_0xc67286;_0x4c7b73[_0xe2760a(0x236)](_0x5075e9)||_0x5c73c4[_0xe2760a(0x1fc)](_0x5075e9);}}}export default u;function st(_0x11299b){const _0x5e57b5=_0xcb105d;return _0x11299b[_0x5e57b5(0x245)][_0x5e57b5(0x21e)](_0x5e57b5(0x235))||_0x11299b[_0x5e57b5(0x245)][_0x5e57b5(0x21e)](_0x5e57b5(0x246))||_0x11299b[_0x5e57b5(0x245)][_0x5e57b5(0x21e)](_0x5e57b5(0x211));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x237030=_0x425a;function _0x33dd(){const _0x43d0ce=['values','210906uoosxQ','cloud-services-internal-error:\x20Request\x20timeout.','TrackChangesService','_bufferedRequests','connection','CloudServicesTrackChangesAdapter','size','13274963WcAFVr','delete','adapter','set','6NnGgQp','hasSuggestion','6HDNmnn','1530cigvRZ','getSuggestion','attributes','suggestionUpdated','_waitForServiceReady','from','update','_fetchMissingUsersForThreads','TrackChangesEditing','listenTo','data','addUser','add','get','12WDPXZl','find','init','config','reconnect','open','27DOLixJ','isOfficialPlugin','50006dOazle','message','catch','4392878FSAcio','isPremiumPlugin','originalSuggestionId','state','getMany','getUser','addSuggestionData','collaboration.channelId','581316MIfnkD','then','plugins','editor','addToReconnectionStack','pluginName','isConnected','startsWith','requires','24NCipZr','_saved','off','connect','connected','cloud-services-internal-error:\x20Not\x20connected.','627610rAnFED','_trackChangesService','type','449800lUEnoB'];_0x33dd=function(){return _0x43d0ce;};return _0x33dd();}(function(_0x3cf800,_0x1dd6ac){const _0x517507=_0x425a,_0x4af5b6=_0x3cf800();while(!![]){try{const _0x22d811=parseInt(_0x517507(0xde))/0x1+-parseInt(_0x517507(0x10d))/0x2*(-parseInt(_0x517507(0xeb))/0x3)+-parseInt(_0x517507(0x116))/0x4*(-parseInt(_0x517507(0xd9))/0x5)+-parseInt(_0x517507(0xe9))/0x6*(parseInt(_0x517507(0x105))/0x7)+-parseInt(_0x517507(0xdc))/0x8*(parseInt(_0x517507(0x100))/0x9)+parseInt(_0x517507(0xec))/0xa*(parseInt(_0x517507(0x102))/0xb)+-parseInt(_0x517507(0xfa))/0xc*(parseInt(_0x517507(0xe5))/0xd);if(_0x22d811===_0x1dd6ac)break;else _0x4af5b6['push'](_0x4af5b6['shift']());}catch(_0x516283){_0x4af5b6['push'](_0x4af5b6['shift']());}}}(_0x33dd,0x67658));import{Plugin as _0x5ef2a6}from'ckeditor5/src/core.js';import{User as _0x389666,TrackChangesService as _0x1da644}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x53c906 from'../realtimecollaborativeediting/websocketgateway.js';import _0x26d4f5 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4287be}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x425a(_0x4a933b,_0x1284dd){const _0x33ddc1=_0x33dd();return _0x425a=function(_0x425a8e,_0x5798df){_0x425a8e=_0x425a8e-0xd9;let _0x4abfb0=_0x33ddc1[_0x425a8e];return _0x4abfb0;},_0x425a(_0x4a933b,_0x1284dd);}class f extends _0x5ef2a6{static [_0x237030(0xe0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1da644)());[_0x237030(0xe1)];[_0x237030(0xda)];static get[_0x237030(0x115)](){const _0xaa7a6c=_0x237030;return[_0x26d4f5,_0xaa7a6c(0xf4),_0x53c906];}static get[_0x237030(0x112)](){const _0x5c790f=_0x237030;return _0x5c790f(0xe3);}static get[_0x237030(0x101)](){return!0x0;}static get[_0x237030(0x106)](){return!0x0;}constructor(_0x12d23f){const _0x17b627=_0x237030;super(_0x12d23f);const _0xd46acc=this[_0x17b627(0x110)][_0x17b627(0xfd)][_0x17b627(0xf9)](_0x17b627(0x10c));this[_0x17b627(0xe1)]=new Map(),this[_0x17b627(0xda)]=new f[(_0x17b627(0xe0))](_0xd46acc);}[_0x237030(0xfc)](){const _0x2557e4=_0x237030,_0x2ba3ce=this[_0x2557e4(0x110)][_0x2557e4(0x10f)][_0x2557e4(0xf9)](_0x53c906),_0x3cc9ac=this[_0x2557e4(0x110)][_0x2557e4(0x10f)][_0x2557e4(0xf9)](_0x2557e4(0xf4));return _0x3cc9ac[_0x2557e4(0xe7)]={'getSuggestion':async _0x31ad45=>{const _0x2bd388=_0x2557e4;await this[_0x2bd388(0xf0)]();const _0x4e54b7=await this[_0x2bd388(0xda)][_0x2bd388(0xf9)](_0x31ad45)[_0x2bd388(0x104)](R);return await this[_0x2bd388(0xf3)]([_0x4e54b7]),_0x4e54b7;},'addSuggestion':async({id:_0x2d6dbf,type:_0x107406,data:_0x4e8599,originalSuggestionId:_0x4a23c0,attributes:_0x2cf777})=>{const _0x5c7910=_0x2557e4;await this[_0x5c7910(0xf0)]();const _0x31f3b3={'id':_0x2d6dbf,'type':_0x107406,'data':_0x4e8599,'originalSuggestionId':_0x4a23c0,'attributes':_0x2cf777},_0x4c8f06=await this[_0x5c7910(0xda)][_0x5c7910(0xf8)](_0x2d6dbf,_0x107406,_0x4e8599,_0x4a23c0,_0x2cf777)[_0x5c7910(0x104)](_0x2993c4=>{if(st(_0x2993c4))return new Promise(_0x3afb33=>{const _0x1509fe=_0x425a;this[_0x1509fe(0xe1)][_0x1509fe(0xe8)](_0x2d6dbf,{'resolve':_0x3afb33,'suggestionData':_0x31f3b3});});throw _0x2993c4;});return this[_0x5c7910(0xe1)][_0x5c7910(0xe6)](_0x2d6dbf),_0x4c8f06;},'updateSuggestion':async(_0x224298,_0x7fae2f)=>{const _0x38065e=_0x2557e4;if(await this[_0x38065e(0xf0)](),_0x38065e(0xff)!==_0x7fae2f[_0x38065e(0x108)])return this[_0x38065e(0xda)][_0x38065e(0xf2)](_0x224298,_0x7fae2f)[_0x38065e(0x104)](R);}},this[_0x2557e4(0xf5)](this[_0x2557e4(0xda)],_0x2557e4(0xef),(_0x3808b8,_0x37257d)=>{const _0x3751c7=_0x2557e4;_0x3cc9ac[_0x3751c7(0xea)](_0x37257d['id'])&&(_0x3cc9ac[_0x3751c7(0xed)](_0x37257d['id'])[_0x3751c7(0xee)]=_0x37257d[_0x3751c7(0xee)]);}),this[_0x2557e4(0xda)][_0x2557e4(0x119)](_0x2ba3ce[_0x2557e4(0xe2)])[_0x2557e4(0x10e)](_0x16a12d=>(_0x2ba3ce[_0x2557e4(0x111)](this),this[_0x2557e4(0xf3)](_0x16a12d)[_0x2557e4(0x10e)](()=>{const _0x38bb81=_0x2557e4;for(const _0x2bd0fe of _0x16a12d){_0x3cc9ac[_0x38bb81(0x10b)](_0x2bd0fe)[_0x38bb81(0x117)]=!0x0;}})));}async[_0x237030(0xfe)](){const _0xd6a647=_0x237030,_0x2758e9=this[_0xd6a647(0x110)][_0xd6a647(0x10f)][_0xd6a647(0xf9)](_0xd6a647(0xf4)),{connection:_0x3c6dc8}=this[_0xd6a647(0x110)][_0xd6a647(0x10f)][_0xd6a647(0xf9)](_0x53c906),_0x5106dd=await this[_0xd6a647(0xda)][_0xd6a647(0x119)](_0x3c6dc8);await this[_0xd6a647(0xf3)](_0x5106dd);for(const {suggestionData:_0x13e1f6,resolve:_0x1a94a2}of this[_0xd6a647(0xe1)][_0xd6a647(0xdd)]()){let _0x3f5bf6=_0x5106dd[_0xd6a647(0xfb)](_0x1bf919=>_0x1bf919['id']===_0x13e1f6['id']);_0x3f5bf6||(_0x3f5bf6=await this[_0xd6a647(0xda)][_0xd6a647(0xf8)](_0x13e1f6['id'],_0x13e1f6[_0xd6a647(0xdb)],_0x13e1f6[_0xd6a647(0xf6)],_0x13e1f6[_0xd6a647(0x107)])),_0x1a94a2(_0x3f5bf6);}for(const _0x51e9c1 of _0x5106dd)_0x2758e9[_0xd6a647(0xea)](_0x51e9c1['id'])||_0x2758e9[_0xd6a647(0x10b)](_0x51e9c1);}async[_0x237030(0xf0)](){const _0x13682c=_0x237030;this[_0x13682c(0xda)][_0x13682c(0x113)]||await new Promise(_0x4ee08c=>{const _0x2dc4d5=_0x13682c;this[_0x2dc4d5(0xf5)](this[_0x2dc4d5(0xda)],_0x2dc4d5(0x11a),_0x183907=>{const _0x4576cf=_0x2dc4d5;_0x183907[_0x4576cf(0x118)](),_0x4ee08c();});});}async[_0x237030(0xf3)](_0x5b0b2c){const _0x3eeb1d=_0x237030,_0x5e5d57=this[_0x3eeb1d(0x110)][_0x3eeb1d(0x10f)][_0x3eeb1d(0xf9)](_0x4287be),{connection:_0x5d3151}=this[_0x3eeb1d(0x110)][_0x3eeb1d(0x10f)][_0x3eeb1d(0xf9)](_0x53c906),_0x27e5bf=new Set();for(const {authorId:_0x20fbf1}of _0x5b0b2c)_0x5e5d57[_0x3eeb1d(0x10a)](_0x20fbf1)||_0x27e5bf[_0x3eeb1d(0xf8)](_0x20fbf1);if(0x0===_0x27e5bf[_0x3eeb1d(0xe4)])return;const _0x204753=await _0x389666[_0x3eeb1d(0x109)](_0x5d3151,Array[_0x3eeb1d(0xf1)](_0x27e5bf));for(const _0x3955a1 of _0x204753)_0x5e5d57[_0x3eeb1d(0x10a)](_0x3955a1['id'])||_0x5e5d57[_0x3eeb1d(0xf7)](_0x3955a1);}}export default f;function R(_0x30dd98){if(st(_0x30dd98))return new Promise(()=>{});throw _0x30dd98;}function st(_0x4d2bb0){const _0xbf8211=_0x237030;return _0x4d2bb0[_0xbf8211(0x103)][_0xbf8211(0x114)](_0xbf8211(0x11b))||_0x4d2bb0[_0xbf8211(0x103)][_0xbf8211(0x114)](_0xbf8211(0xdf));}
23
+ const _0x2e9eef=_0x78a9;(function(_0x196378,_0x2e3d88){const _0x44562a=_0x78a9,_0x5c00dc=_0x196378();while(!![]){try{const _0x42d855=parseInt(_0x44562a(0x95))/0x1+parseInt(_0x44562a(0xa8))/0x2*(-parseInt(_0x44562a(0x8b))/0x3)+-parseInt(_0x44562a(0x9f))/0x4*(-parseInt(_0x44562a(0xa7))/0x5)+parseInt(_0x44562a(0x8f))/0x6*(-parseInt(_0x44562a(0xb7))/0x7)+-parseInt(_0x44562a(0xaa))/0x8+-parseInt(_0x44562a(0xba))/0x9+parseInt(_0x44562a(0xb4))/0xa;if(_0x42d855===_0x2e3d88)break;else _0x5c00dc['push'](_0x5c00dc['shift']());}catch(_0x5401cf){_0x5c00dc['push'](_0x5c00dc['shift']());}}}(_0x1770,0xe2d5c));import{Plugin as _0x772871}from'ckeditor5/src/core.js';import{User as _0x1cb910,TrackChangesService as _0x138322}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x51efa from'../realtimecollaborativeediting/websocketgateway.js';import _0x415ba3 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1eaea9}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x772871{static [_0x2e9eef(0x93)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x138322)());[_0x2e9eef(0xbe)];[_0x2e9eef(0x86)];static get[_0x2e9eef(0xb2)](){const _0x44a15f=_0x2e9eef;return[_0x415ba3,_0x44a15f(0xa2),_0x51efa];}static get[_0x2e9eef(0x8c)](){const _0x3643a9=_0x2e9eef;return _0x3643a9(0x8e);}static get[_0x2e9eef(0xb9)](){return!0x0;}static get[_0x2e9eef(0xb5)](){return!0x0;}constructor(_0xe40435){const _0x4d8914=_0x2e9eef;super(_0xe40435);const _0x370bdf=this[_0x4d8914(0xb3)][_0x4d8914(0x83)][_0x4d8914(0xb8)](_0x4d8914(0xa6));this[_0x4d8914(0xbe)]=new Map(),this[_0x4d8914(0x86)]=new f[(_0x4d8914(0x93))](_0x370bdf);}[_0x2e9eef(0xac)](){const _0x2dca7b=_0x2e9eef,_0x4bad69=this[_0x2dca7b(0xb3)][_0x2dca7b(0xb6)][_0x2dca7b(0xb8)](_0x51efa),_0x3a21f1=this[_0x2dca7b(0xb3)][_0x2dca7b(0xb6)][_0x2dca7b(0xb8)](_0x2dca7b(0xa2));return _0x3a21f1[_0x2dca7b(0xbb)]={'getSuggestion':async _0x33f838=>{const _0xb6113b=_0x2dca7b;await this[_0xb6113b(0x9b)]();const _0x3dacb5=await this[_0xb6113b(0x86)][_0xb6113b(0xb8)](_0x33f838)[_0xb6113b(0x82)](w);return await this[_0xb6113b(0xaf)]([_0x3dacb5]),_0x3dacb5;},'addSuggestion':async({id:_0x40d781,type:_0xdb93d7,data:_0x418581,originalSuggestionId:_0xc00253,attributes:_0xe96370})=>{const _0xdaa1b1=_0x2dca7b;await this[_0xdaa1b1(0x9b)]();const _0x5ba92a={'id':_0x40d781,'type':_0xdb93d7,'data':_0x418581,'originalSuggestionId':_0xc00253,'attributes':_0xe96370},_0x313e93=await this[_0xdaa1b1(0x86)][_0xdaa1b1(0x94)](_0x40d781,_0xdb93d7,_0x418581,_0xc00253,_0xe96370)[_0xdaa1b1(0x82)](_0x127737=>{if(st(_0x127737))return new Promise(_0x1b92c3=>{const _0x11b194=_0x78a9;this[_0x11b194(0xbe)][_0x11b194(0x9d)](_0x40d781,{'resolve':_0x1b92c3,'suggestionData':_0x5ba92a});});throw _0x127737;});return this[_0xdaa1b1(0xbe)][_0xdaa1b1(0xbc)](_0x40d781),_0x313e93;},'updateSuggestion':async(_0x369ffb,_0x5838cb)=>{const _0x22826a=_0x2dca7b;if(await this[_0x22826a(0x9b)](),_0x22826a(0xa9)!==_0x5838cb[_0x22826a(0x8a)])return this[_0x22826a(0x86)][_0x22826a(0x9e)](_0x369ffb,_0x5838cb)[_0x22826a(0x82)](w);}},this[_0x2dca7b(0xb1)](this[_0x2dca7b(0x86)],_0x2dca7b(0xa0),(_0x495675,_0x307450)=>{const _0x456160=_0x2dca7b;_0x3a21f1[_0x456160(0x81)](_0x307450['id'])&&(_0x3a21f1[_0x456160(0x9c)](_0x307450['id'])[_0x456160(0x99)]=_0x307450[_0x456160(0x99)]);}),this[_0x2dca7b(0x86)][_0x2dca7b(0x80)](_0x4bad69[_0x2dca7b(0x98)])[_0x2dca7b(0xad)](_0x263ea6=>(_0x4bad69[_0x2dca7b(0x85)](this),this[_0x2dca7b(0xaf)](_0x263ea6)[_0x2dca7b(0xad)](()=>{const _0x1f149f=_0x2dca7b;for(const _0x37fd27 of _0x263ea6){_0x3a21f1[_0x1f149f(0xb0)](_0x37fd27)[_0x1f149f(0xa5)]=!0x0;}})));}async[_0x2e9eef(0x96)](){const _0x3a57a6=_0x2e9eef,_0x495864=this[_0x3a57a6(0xb3)][_0x3a57a6(0xb6)][_0x3a57a6(0xb8)](_0x3a57a6(0xa2)),{connection:_0xbf4611}=this[_0x3a57a6(0xb3)][_0x3a57a6(0xb6)][_0x3a57a6(0xb8)](_0x51efa),_0x1981f7=await this[_0x3a57a6(0x86)][_0x3a57a6(0x80)](_0xbf4611);await this[_0x3a57a6(0xaf)](_0x1981f7);for(const {suggestionData:_0x12e6f6,resolve:_0x4e9be2}of this[_0x3a57a6(0xbe)][_0x3a57a6(0xa1)]()){let _0x4fc465=_0x1981f7[_0x3a57a6(0xa4)](_0x8526e1=>_0x8526e1['id']===_0x12e6f6['id']);_0x4fc465||(_0x4fc465=await this[_0x3a57a6(0x86)][_0x3a57a6(0x94)](_0x12e6f6['id'],_0x12e6f6[_0x3a57a6(0x8d)],_0x12e6f6[_0x3a57a6(0x87)],_0x12e6f6[_0x3a57a6(0x91)])),_0x4e9be2(_0x4fc465);}for(const _0x1ad427 of _0x1981f7)_0x495864[_0x3a57a6(0x81)](_0x1ad427['id'])||_0x495864[_0x3a57a6(0xb0)](_0x1ad427);}async[_0x2e9eef(0x9b)](){const _0x3a7069=_0x2e9eef;this[_0x3a7069(0x86)][_0x3a7069(0x89)]||await new Promise(_0x304a63=>{const _0x4b647e=_0x3a7069;this[_0x4b647e(0xb1)](this[_0x4b647e(0x86)],_0x4b647e(0x84),_0x5b6869=>{const _0x36932c=_0x4b647e;_0x5b6869[_0x36932c(0xab)](),_0x304a63();});});}async[_0x2e9eef(0xaf)](_0x51f6c2){const _0x1c5ff9=_0x2e9eef,_0x4dab80=this[_0x1c5ff9(0xb3)][_0x1c5ff9(0xb6)][_0x1c5ff9(0xb8)](_0x1eaea9),{connection:_0x560282}=this[_0x1c5ff9(0xb3)][_0x1c5ff9(0xb6)][_0x1c5ff9(0xb8)](_0x51efa),_0x1c4144=new Set();for(const {authorId:_0xe62582}of _0x51f6c2)_0x4dab80[_0x1c5ff9(0xbf)](_0xe62582)||_0x1c4144[_0x1c5ff9(0x94)](_0xe62582);if(0x0===_0x1c4144[_0x1c5ff9(0x9a)])return;const _0x412149=await _0x1cb910[_0x1c5ff9(0xa3)](_0x560282,Array[_0x1c5ff9(0xbd)](_0x1c4144));for(const _0x25dcd4 of _0x412149)_0x4dab80[_0x1c5ff9(0xbf)](_0x25dcd4['id'])||_0x4dab80[_0x1c5ff9(0x90)](_0x25dcd4);}}export default f;function _0x78a9(_0x54dcf5,_0x4bad0a){const _0x1770b8=_0x1770();return _0x78a9=function(_0x78a9cc,_0x142c7f){_0x78a9cc=_0x78a9cc-0x80;let _0x1b5b4a=_0x1770b8[_0x78a9cc];return _0x1b5b4a;},_0x78a9(_0x54dcf5,_0x4bad0a);}function _0x1770(){const _0x6512d8=['CloudServicesTrackChangesAdapter','6rGbquk','addUser','originalSuggestionId','message','TrackChangesService','add','202423GXHYNz','reconnect','startsWith','connection','attributes','size','_waitForServiceReady','getSuggestion','set','update','88012UxcoNL','suggestionUpdated','values','TrackChangesEditing','getMany','find','_saved','collaboration.channelId','315KAWJFz','92884WjHhNf','open','1727144rscqDv','off','init','then','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','addSuggestionData','listenTo','requires','editor','9976450aDmtBw','isPremiumPlugin','plugins','9069865ilSiKV','get','isOfficialPlugin','56043upadCu','adapter','delete','from','_bufferedRequests','getUser','connect','hasSuggestion','catch','config','connected','addToReconnectionStack','_trackChangesService','data','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','state','9nFnocG','pluginName','type'];_0x1770=function(){return _0x6512d8;};return _0x1770();}function w(_0xd5a33e){if(st(_0xd5a33e))return new Promise(()=>{});throw _0xd5a33e;}function st(_0x439960){const _0x71f9d7=_0x2e9eef;return _0x439960[_0x71f9d7(0x92)][_0x71f9d7(0x97)](_0x71f9d7(0xae))||_0x439960[_0x71f9d7(0x92)][_0x71f9d7(0x97)](_0x71f9d7(0x88));}