@ckeditor/ckeditor5-real-time-collaboration 45.2.0-alpha.3 → 45.2.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.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x320d94)());[_0x57cebd(0x17f)];[_0x57cebd(0x1e5)];[_0x57cebd(0x1ea)];[_0x57cebd(0x16a)];[_0x57cebd(0x160)];[_0x57cebd(0x193)];[_0x57cebd(0x1e7)];[_0x57cebd(0x18f)];[_0x57cebd(0x14e)];[_0x57cebd(0x122)];[_0x57cebd(0x143)];[_0x57cebd(0x137)];[_0x57cebd(0x18a)];[_0x57cebd(0x1ed)];[_0x57cebd(0x177)];[_0x57cebd(0xfb)];[_0x57cebd(0x1b0)];[_0x57cebd(0x190)];static get[_0x57cebd(0x1eb)](){return[_0x51ed3d,_0x1bfd62,_0x2644c2,_0x5ad208,_0x1a54fd,_0x4f14ca];}static get[_0x57cebd(0xf7)](){const _0x26adff=_0x57cebd;return _0x26adff(0x1c1);}static get[_0x57cebd(0x108)](){return!0x0;}static get[_0x57cebd(0x1ac)](){return!0x0;}get[_0x57cebd(0x198)](){const _0x34ec4c=_0x57cebd;return this[_0x34ec4c(0x1a9)]+this[_0x34ec4c(0x17f)];}get[_0x57cebd(0x1a9)](){const _0x2ce685=_0x57cebd;return this[_0x2ce685(0x1ea)][_0x2ce685(0x1b7)]-this[_0x2ce685(0x17f)];}get[_0x57cebd(0xfc)](){const _0x134373=_0x57cebd,_0x129fc9=this[_0x134373(0x1ea)][_0x134373(0x1c4)]();for(let _0xff1a45=_0x129fc9[_0x134373(0x16d)]-0x1;_0xff1a45>=0x0;_0xff1a45--){const _0x55290c=_0x129fc9[_0xff1a45];if(!this[_0x134373(0x1b0)][_0x134373(0x1f4)](_0x55290c))return _0x55290c[_0x134373(0x148)]+0x1-this[_0x134373(0x17f)];}return 0x0;}constructor(_0xf9d5ac){const _0x5af111=_0x57cebd;if(super(_0xf9d5ac),this[_0x5af111(0x17f)]=0x0,this[_0x5af111(0x1e5)]=null,this[_0x5af111(0x1ea)]=new _0x420b0c(),this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1e2)](_0x5af111(0x165),{}),this[_0x5af111(0x16a)]=this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x1c9)),!this[_0x5af111(0x16a)])throw new _0x18ec78(_0x5af111(0x138),this);const _0x27d703=_0xf9d5ac[_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x119))||_0x58aa70;this[_0x5af111(0x160)]=new l[(_0x5af111(0x144))](_0x27d703,this[_0x5af111(0x16a)]),this[_0x5af111(0x193)]=this[_0x5af111(0x199)][_0x5af111(0x15b)][_0x5af111(0x181)],this[_0x5af111(0x1e7)]=new _0x4d94e0(),this[_0x5af111(0x18f)]=[],this[_0x5af111(0x14e)]=new WeakSet(),this[_0x5af111(0x122)]=new Set(),this[_0x5af111(0x1c8)](_0x5af111(0x1e8),!0x1),this[_0x5af111(0x1c8)](_0x5af111(0x1a2),!0x1),this[_0x5af111(0x143)]=null,this[_0x5af111(0x137)]=!0x1,this[_0x5af111(0x18a)]=null,this[_0x5af111(0x1ed)]=0x12c,this[_0x5af111(0x177)]=this[_0x5af111(0x1ed)],this[_0x5af111(0xfb)]=null,this[_0x5af111(0x1b0)]=new WeakSet(),this[_0x5af111(0x190)]=new Y(this[_0x5af111(0x1b0)]);}[_0x57cebd(0x1c2)](){const _0x42d02d=_0x57cebd,_0x4a2b99=this[_0x42d02d(0x199)],_0x188ef8=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x1a54fd),_0x15eca2=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x51ed3d);this[_0x42d02d(0x130)](_0x188ef8,_0x42d02d(0x110),(_0x5a3153,_0x5113f4)=>{const _0x2a0fcb=_0x42d02d,_0xadc2e1=_0x5113f4[0x0];_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=_0x188ef8[_0x2a0fcb(0x1bb)](_0xadc2e1[_0x2a0fcb(0x166)]),_0x5a3153[_0x2a0fcb(0x117)]()),null===_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=null,_0x5a3153[_0x2a0fcb(0x117)]());},{'priority':_0x42d02d(0x120)}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x15b)][_0x42d02d(0x181)][_0x42d02d(0x13a)],_0x42d02d(0x174),(_0x247842,_0x53f8d5)=>{const _0x1025bb=_0x42d02d;_0x53f8d5[_0x1025bb(0x1c3)]&&this[_0x1025bb(0x1d8)]();}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x1e6)][_0x42d02d(0x1f2)],_0x42d02d(0x1d9),()=>{const _0x31c27f=_0x42d02d;this[_0x31c27f(0x1d8)]();}),this[_0x42d02d(0x1c7)](),_0x4a2b99[_0x42d02d(0x15b)]['on'](_0x42d02d(0x1e4),(_0x2d0533,_0x55b787)=>{const _0x30e1b9=_0x42d02d,_0x30d5c0=_0x55b787[0x0];_0x30d5c0[_0x30e1b9(0x10d)]&&(this[_0x30e1b9(0x14a)](_0x30d5c0),this[_0x30e1b9(0x151)]()&&this[_0x30e1b9(0xf8)]());}),this[_0x42d02d(0x155)](),this[_0x42d02d(0x1ee)](_0x42d02d(0x19b))['to'](_0x15eca2,_0x42d02d(0x1ad),this,_0x42d02d(0x1a2),(_0x324d65,_0x5a8658)=>_0x42d02d(0x11b)===_0x324d65&&!_0x5a8658),this['on'](_0x42d02d(0x19a),()=>{const _0x1fd72c=_0x42d02d;this[_0x1fd72c(0x19b)]?_0x4a2b99[_0x1fd72c(0x1b2)](_0x1fd72c(0x11f)):_0x4a2b99[_0x1fd72c(0x16e)](_0x1fd72c(0x11f));}),this[_0x42d02d(0x19b)]?_0x4a2b99[_0x42d02d(0x1b2)](_0x42d02d(0x11f)):_0x4a2b99[_0x42d02d(0x16e)](_0x42d02d(0x11f)),this[_0x42d02d(0x1c8)](_0x42d02d(0x121),!0x1);}async[_0x57cebd(0x17c)](){const _0x1ffccf=_0x57cebd,_0xa34153=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x1bfd62),_0x8110c4=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x51ed3d);try{this[_0x1ffccf(0x1e8)]=!0x0,_0xa34153[_0x1ffccf(0x1d3)](this[_0x1ffccf(0x16a)]);const _0xd136b8=await this[_0x1ffccf(0x160)][_0x1ffccf(0x17c)](_0x8110c4[_0x1ffccf(0x1a8)],this[_0x1ffccf(0xfc)]);await this[_0x1ffccf(0x19c)](_0xd136b8)&&(this[_0x1ffccf(0x1e8)]=!0x1,this[_0x1ffccf(0x140)]());const _0x1c8a51=await this[_0x1ffccf(0x160)][_0x1ffccf(0x153)]();_0xa34153[_0x1ffccf(0x186)](this[_0x1ffccf(0x16a)],_0x1c8a51),this[_0x1ffccf(0x1bd)](),this[_0x1ffccf(0x121)]=!0x0;}catch(_0x3f9367){if(function(_0x2426c6){const _0x23a2bc=_0x1ffccf;return _0x23a2bc(0x107)===_0x2426c6[_0x23a2bc(0x18e)];}(_0x3f9367)&&this[_0x1ffccf(0x1e5)])await this[_0x1ffccf(0x10c)]();else{if(function(_0x131369){const _0x2b865c=_0x1ffccf;return _0x2b865c(0x1e9)===_0x131369[_0x2b865c(0x18e)];}(_0x3f9367)){const _0x55331a=_0x504f72(this[_0x1ffccf(0x199)][_0x1ffccf(0x1ec)],_0x1ffccf(0x162));this[_0x1ffccf(0x1b8)](_0x55331a);}else{if(!(_0x3f9367 instanceof Q))throw _0x3f9367;this[_0x1ffccf(0x1b8)]();}}}}[_0x57cebd(0x15c)](){const _0x5691c7=_0x57cebd,_0x5327b5=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x51ed3d),_0x5b73b9=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x1bfd62);this[_0x5691c7(0x199)][_0x5691c7(0x16e)](_0x5691c7(0x187)),_0x5b73b9[_0x5691c7(0x1d1)][_0x5691c7(0x1f4)](this[_0x5691c7(0x16a)])&&_0x5b73b9[_0x5691c7(0x1d3)](this[_0x5691c7(0x16a)]),_0x5327b5[_0x5691c7(0x1cd)](this),this[_0x5691c7(0x1db)](),super[_0x5691c7(0x15c)]();}async[_0x57cebd(0x19c)](_0x2d493a){const _0x4fe513=_0x57cebd;if(this[_0x4fe513(0x1e5)]!==_0x2d493a[_0x4fe513(0x1e5)]&&this[_0x4fe513(0xfb)]!==_0x2d493a[_0x4fe513(0x169)])throw new Q();return this[_0x4fe513(0x1e5)]=_0x2d493a[_0x4fe513(0x1e5)],this[_0x4fe513(0x14d)]([],{..._0x2d493a,'wereChangesApplied':!0x1,'data':_0x2d493a[_0x4fe513(0x172)]},_0x4fe513(0x17c));}async[_0x57cebd(0x1a6)](_0x4ed618,_0x4af1fd=!0x1){const _0xe7e835=_0x57cebd,{connection:_0x4d3411}=this[_0xe7e835(0x199)][_0xe7e835(0x111)][_0xe7e835(0x1a7)](_0x51ed3d);l[_0xe7e835(0x144)][_0xe7e835(0x153)](_0x4d3411,this[_0xe7e835(0x16a)])[_0xe7e835(0x16b)](_0x457b95=>this[_0xe7e835(0x196)](_0x457b95))[_0xe7e835(0x1b1)](_0x479b7d=>{const _0x3be3c8=_0xe7e835;this[_0x3be3c8(0x17a)](_0x3be3c8(0xf0),_0x479b7d);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x1af),this[_0xe7e835(0x182)][_0xe7e835(0x1ee)](this)),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x10f),(_0x4f182e,_0xa8941f)=>{const _0x485c28=_0xe7e835;this[_0x485c28(0x17a)](_0x485c28(0x12a),_0xa8941f);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x13d),()=>{const _0x403a06=_0xe7e835;this[_0x403a06(0x121)]=!0x1;});const _0x5aecc9=this[_0xe7e835(0x190)][_0xe7e835(0x14c)](_0x4ed618);this[_0xe7e835(0x1e8)]=!0x0;const _0x570014=await this[_0xe7e835(0x160)][_0xe7e835(0xf9)](_0x4d3411,this[_0xe7e835(0x170)](_0x4ed618),_0x5aecc9);if(this[_0xe7e835(0x1e5)]=_0x570014[_0xe7e835(0x1e5)],_0x4af1fd){if(!_0x570014[_0xe7e835(0x1a3)])return void this[_0xe7e835(0x1b8)]();this[_0xe7e835(0x1e8)]=!0x1,this[_0xe7e835(0x140)](),this[_0xe7e835(0x1ea)][_0xe7e835(0xf3)](),this[_0xe7e835(0x17f)]=_0x570014[_0xe7e835(0x1da)],this[_0xe7e835(0x1ea)][_0xe7e835(0x1b7)]=this[_0xe7e835(0x17f)],await this[_0xe7e835(0x14d)](_0x4ed618,_0x570014,_0xe7e835(0x171));}else await this[_0xe7e835(0x16f)](_0x570014,_0x4ed618);this[_0xe7e835(0x1bd)](),this[_0xe7e835(0x121)]=!0x0;}[_0x57cebd(0x1bd)](){const _0x25facf=_0x57cebd,_0x1dbabd=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x1bfd62),_0x4139dc=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x2644c2),_0x46699b=_0x1dbabd[_0x25facf(0x1d1)][_0x25facf(0x1a7)](this[_0x25facf(0x16a)]);_0x46699b&&_0x46699b[_0x25facf(0x16d)]>0x1?_0x4139dc[_0x25facf(0x163)]():this[_0x25facf(0x130)](_0x1dbabd,_0x25facf(0x1a4)+this[_0x25facf(0x16a)],()=>{const _0x57abf8=_0x25facf;0x2===_0x1dbabd[_0x57abf8(0x1d1)][_0x57abf8(0x1a7)](this[_0x57abf8(0x16a)])[_0x57abf8(0x16d)]&&_0x4139dc[_0x57abf8(0x163)]();});}async[_0x57cebd(0x182)](_0x52f23b,_0x16e403,_0x2ed7c3,_0x14f839){const _0x2ddee5=_0x57cebd;if(!this[_0x2ddee5(0x1e8)]&&this[_0x2ddee5(0x193)][_0x2ddee5(0x1b7)]==_0x16e403){const _0x361af7=this[_0x2ddee5(0x1c5)](_0x2ed7c3,_0x14f839);await this[_0x2ddee5(0x1e1)](_0x361af7),this[_0x2ddee5(0x156)](_0x361af7,_0x16e403,_0x2ed7c3[_0x2ddee5(0x169)])||this[_0x2ddee5(0x17a)](_0x2ddee5(0xfd));}}async[_0x57cebd(0x10c)](){const _0xc41b9=_0x57cebd;this[_0xc41b9(0x1db)]();const {locale:_0x1b8993}=this[_0xc41b9(0x199)];let _0x567625;try{_0x567625=await this[_0xc41b9(0x160)][_0xc41b9(0xf1)]();}catch{const _0x2c119c=_0x504f72(_0x1b8993,_0xc41b9(0x195));return void this[_0xc41b9(0x1b8)](_0x2c119c);}const _0x410c87=_0x567625[_0xc41b9(0x191)]||_0x567625[_0xc41b9(0x17b)];if(this[_0xc41b9(0xfb)]===_0x410c87[_0xc41b9(0x169)])await this[_0xc41b9(0x1a6)](this[_0xc41b9(0x199)][_0xc41b9(0x15b)][_0xc41b9(0x181)][_0xc41b9(0x147)][_0xc41b9(0x1c4)](),!0x0);else{const _0x1c6dc0=_0x504f72(_0x1b8993,_0xc41b9(0x184));this[_0xc41b9(0x1b8)](_0x1c6dc0);}}[_0x57cebd(0x1db)](){const _0x4ade62=_0x57cebd;this[_0x4ade62(0x160)][_0x4ade62(0x118)](),this[_0x4ade62(0x18f)]=[],clearTimeout(this[_0x4ade62(0x18a)]),this[_0x4ade62(0xf4)](this[_0x4ade62(0x160)]);}[_0x57cebd(0x196)](_0xed7c19){const _0x11e99e=_0x57cebd,_0x114ec0=this[_0x11e99e(0x199)][_0x11e99e(0x111)][_0x11e99e(0x1a7)](_0x1bfd62);this[_0x11e99e(0x130)](_0x114ec0,_0x11e99e(0x1a4)+this[_0x11e99e(0x16a)],(_0x4ab986,{session:_0x2111a5})=>{const _0x1e20cc=_0x11e99e;if(_0x2111a5['id']===_0x114ec0[_0x1e20cc(0x10b)]){_0x4ab986[_0x1e20cc(0x1d0)]();const _0x31f515=this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1f4)](_0x1e20cc(0x168))&&this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x168));let _0x350062=_0x2111a5[_0x1e20cc(0x139)];_0x31f515&&_0x31f515[_0x1e20cc(0x1b6)]&&(_0x350062=_0x350062[_0x1e20cc(0x180)](_0x22d2e9=>_0x1e20cc(0x11a)!==_0x22d2e9)),this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x13b))[_0x1e20cc(0x133)](_0x350062,this[_0x1e20cc(0x16a)]);}}),_0x114ec0[_0x11e99e(0x186)](this[_0x11e99e(0x16a)],_0xed7c19);}[_0x57cebd(0x1c7)](){const _0xbc3662=_0x57cebd,_0x29c603=this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)];this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)]=(..._0x3b899f)=>{const _0x55a44f=_0xbc3662;if(!_0x3b899f[_0x3b899f[_0x55a44f(0x16d)]-0x1][_0x55a44f(0x1b3)])throw new _0x18ec78(_0x55a44f(0x159),this);_0x29c603[_0x55a44f(0x1e3)](this[_0x55a44f(0x199)][_0x55a44f(0x172)],_0x3b899f);};}[_0x57cebd(0x155)](){const _0x3a0455=_0x57cebd;this[_0x3a0455(0x199)][_0x3a0455(0x172)]['on'](_0x3a0455(0x1c2),(_0x3df9e0,[_0x2fdf0d])=>{const _0x3973d1=_0x3a0455;if(this[_0x3973d1(0x193)][_0x3973d1(0x1b7)])throw new _0x18ec78(_0x3973d1(0x132),this);_0x3df9e0[_0x3973d1(0x117)](),this[_0x3973d1(0x141)]();const _0x42466f=this[_0x3973d1(0x199)][_0x3973d1(0x1e0)][_0x3973d1(0x1a7)](_0x3973d1(0x18c)),_0x4db22a=this[_0x3973d1(0x142)](_0x2fdf0d,_0x42466f);0x0==_0x4db22a[_0x3973d1(0x16d)]&&_0x4db22a[_0x3973d1(0x18d)](new _0x120c7e(0x0)),_0x3df9e0[_0x3973d1(0x175)]=this[_0x3973d1(0x1a6)](_0x4db22a)[_0x3973d1(0x16b)](()=>{const _0x4cc3c5=_0x3973d1;this[_0x4cc3c5(0x199)][_0x4cc3c5(0x111)][_0x4cc3c5(0x1a7)](_0x51ed3d)[_0x4cc3c5(0xf5)](this),this[_0x4cc3c5(0x199)][_0x4cc3c5(0x172)][_0x4cc3c5(0x1d2)](_0x4cc3c5(0x109));})[_0x3973d1(0x1b1)](_0x1f6e16=>this[_0x3973d1(0x17a)](_0x3973d1(0x1ae),_0x1f6e16))[_0x3973d1(0x11e)](()=>this[_0x3973d1(0x140)]());},{'priority':_0x3a0455(0x120)}),this[_0x3a0455(0x199)]['on'](_0x3a0455(0x1b5),async(_0x3ffd33,[_0x216e82,_0x419190])=>{const _0x37a697=_0x3a0455;_0x3ffd33[_0x37a697(0x117)]();const _0x315fa3=this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x181)][_0x37a697(0x1c0)](_0x216e82);if(!this[_0x37a697(0x122)][_0x37a697(0x1f4)](_0x216e82)){const _0x3f36f6=_0x419190&&_0x419190[_0x37a697(0x172)]?_0x419190[_0x37a697(0x172)]:'',_0x3a5a08=_0x419190&&_0x419190[_0x37a697(0x1cb)]?_0x419190[_0x37a697(0x1cb)]:{};await this[_0x37a697(0x102)](_0x216e82,_0x3f36f6,_0x3a5a08);}this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x1d7)]({'isUndoable':!0x1},()=>{const _0x544e74=_0x37a697;_0x315fa3[_0x544e74(0x1ca)]=!0x0,this[_0x544e74(0x199)][_0x544e74(0x15b)][_0x544e74(0x181)][_0x544e74(0x183)][_0x544e74(0x113)](_0x315fa3);});},{'priority':_0x3a0455(0x120)});}async[_0x57cebd(0x1e1)](_0x1f3569){const _0x1093d5=_0x57cebd,_0x73c0ea=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x1a54fd),{connection:_0x1c5bb5}=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x51ed3d),_0x222072=new Set();for(const _0x4c7dd7 of _0x1f3569){const _0x9a74d2=_0x4c7dd7[_0x1093d5(0x166)];_0x9a74d2&&!_0x73c0ea[_0x1093d5(0x1bb)](_0x9a74d2)&&_0x222072[_0x1093d5(0x106)](_0x9a74d2);}if(0x0===_0x222072[_0x1093d5(0x154)])return;const _0xfb92ba=await _0x51b9d1[_0x1093d5(0x19d)](_0x1c5bb5,Array[_0x1093d5(0x17e)](_0x222072));for(const _0x3574dc of _0xfb92ba)_0x73c0ea[_0x1093d5(0x1bb)](_0x3574dc['id'])||_0x73c0ea[_0x1093d5(0x15a)](_0x3574dc);}[_0x57cebd(0x142)](_0x5d0c43,_0xb9d8f8={}){const _0x3555cb=_0x57cebd,_0x48378f=this[_0x3555cb(0x199)][_0x3555cb(0x15b)],_0x3e2a4f=[];let _0x562c1c=0x0;const _0x5e7aa0=_0x3555cb(0x1b4)==typeof _0x5d0c43?{'main':_0x5d0c43}:_0x5d0c43;for(const _0x3cc5bb of Object[_0x3555cb(0x188)](_0x5e7aa0)){if(!this[_0x3555cb(0x193)][_0x3555cb(0x1cf)][_0x3555cb(0x1f4)](_0x3cc5bb))throw new _0x18ec78(_0x3555cb(0x152),this);const _0x57bb31=this[_0x3555cb(0x199)][_0x3555cb(0x172)][_0x3555cb(0x1aa)](_0x5e7aa0[_0x3cc5bb]),_0x2e26f5=this[_0x3555cb(0x193)][_0x3555cb(0x1c0)](_0x3cc5bb),_0x3ffb56=new _0x545123(_0x48378f[_0x3555cb(0x100)](_0x2e26f5,0x0),_0x57bb31,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3ffb56);for(const [_0x3a7a73,_0x5a4651]of _0x57bb31[_0x3555cb(0x192)]){const _0x4b01ad=_0x48378f[_0x3555cb(0x14b)](_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x13e)][_0x3555cb(0x116)][_0x3555cb(0x131)]()),_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x15d)][_0x3555cb(0x116)][_0x3555cb(0x131)]())),_0x3f25c8=new _0x4da4a0(_0x3a7a73,null,_0x4b01ad,_0x48378f[_0x3555cb(0x192)],!0x0,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3f25c8);}}if(_0xb9d8f8)for(const [_0x370b95,_0x1ccb52]of Object[_0x3555cb(0x1ce)](_0xb9d8f8)){const _0x3c5119=_0x48378f[_0x3555cb(0x181)][_0x3555cb(0x1c0)](_0x370b95);if(!_0x3c5119)throw new _0x18ec78(_0x3555cb(0x14f),null);for(const [_0xd4b596,_0x45986e]of Object[_0x3555cb(0x1ce)](_0x1ccb52))if(null!==_0x45986e){const _0x201e31=new _0x132394(_0x3c5119,_0xd4b596,null,_0x45986e,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x201e31);}}return _0x3e2a4f;}async[_0x57cebd(0x102)](_0x581fc7,_0x159a80,_0x3acf05){const _0x4c747f=_0x57cebd;this[_0x4c747f(0x142)]({[_0x581fc7]:_0x159a80},{[_0x581fc7]:_0x3acf05})[_0x4c747f(0x1d4)]((_0x5610f2,_0xc56342)=>{const _0x545a2c=_0x4c747f;_0x5610f2[_0x545a2c(0x148)]=this[_0x545a2c(0x193)][_0x545a2c(0x1b7)]+_0xc56342,_0x5610f2[_0x545a2c(0x178)]=!0x0,this[_0x545a2c(0x14a)](_0x5610f2);}),this[_0x4c747f(0xf8)](),await this[_0x4c747f(0x114)]();}async[_0x57cebd(0x16f)](_0x437f1a,_0x59933a){const _0xf43631=_0x57cebd;let _0x29e1b5;this[_0xf43631(0x17f)]=_0x437f1a[_0xf43631(0x1da)];const _0x5b788e=_0x437f1a[_0xf43631(0x1a3)]&&!_0x437f1a[_0xf43631(0x1d6)],_0x5219d9=_0x5b788e?0x0:_0x437f1a[_0xf43631(0x172)][_0xf43631(0x148)];if(_0x59933a[_0xf43631(0x1d4)](_0x2a1cf0=>{const _0x1808e7=_0xf43631;_0x2a1cf0[_0x1808e7(0x178)]=!0x0,_0x2a1cf0[_0x1808e7(0x115)]=_0x437f1a[_0x1808e7(0x1f3)],_0x2a1cf0[_0x1808e7(0x166)]=null;}),_0x5b788e)_0x29e1b5=_0x59933a,this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);else{if(_0x437f1a[_0xf43631(0x1d6)]){const _0x1bf076=this[_0xf43631(0x142)](_0x437f1a[_0xf43631(0x1d6)]);this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)],_0x1bf076[_0xf43631(0x1d4)](_0x4d3a7a=>{const _0x1be58d=_0xf43631;_0x4d3a7a[_0x1be58d(0x148)]-=_0x1bf076[_0x1be58d(0x16d)],_0x4d3a7a[_0x1be58d(0x115)]=_0x437f1a[_0x1be58d(0x1f3)],_0x4d3a7a[_0x1be58d(0x178)]=!0x0,_0x4d3a7a[_0x1be58d(0x166)]=null;}),this[_0xf43631(0xfe)](_0x1bf076,!0x0),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)]+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x1bf076);}this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=_0x5219d9,_0x29e1b5=this[_0xf43631(0x1c5)](_0x437f1a[_0xf43631(0x172)],_0x437f1a[_0xf43631(0x1cc)]),await this[_0xf43631(0x1e1)](_0x29e1b5),this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);}_0x437f1a[_0xf43631(0x169)]&&(this[_0xf43631(0x190)][_0xf43631(0x1be)](_0x29e1b5,_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0xfb)]=_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=_0x5219d9+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x29e1b5),_0x59933a[_0xf43631(0x180)](_0x36f19a=>{const _0x2f24ee=_0xf43631,_0x187071=this[_0x2f24ee(0x101)](_0x36f19a);return _0x187071&&!this[_0x2f24ee(0x122)][_0x2f24ee(0x1f4)](_0x187071);})[_0xf43631(0x1d4)]((_0x2ab080,_0x1e35dd)=>{const _0xf12558=_0xf43631;_0x2ab080[_0xf12558(0x148)]=this[_0xf12558(0x193)][_0xf12558(0x1b7)]+_0x1e35dd,this[_0xf12558(0x14a)](_0x2ab080);}),this[_0xf43631(0x151)]()?(this[_0xf43631(0x177)]=0x0,this[_0xf43631(0xf8)](!0x0),await this[_0xf43631(0x114)]()):(this[_0xf43631(0x1e8)]=!0x1,this[_0xf43631(0x140)]());}[_0x57cebd(0x17a)](_0x1ecab9,_0x188219){const _0x5c07b8=_0x57cebd,_0x472784=_0x188219&&_0x188219[_0x5c07b8(0x10a)];if(_0x472784&&_0x472784[_0x5c07b8(0x1bf)](_0x5c07b8(0x17d)))throw _0x188219;const _0x527c38=this[_0x5c07b8(0x199)][_0x5c07b8(0x111)][_0x5c07b8(0x1a7)](_0x51ed3d);throw this[_0x5c07b8(0x1e8)]=!0x0,_0x527c38[_0x5c07b8(0x118)](),this[_0x5c07b8(0x199)][_0x5c07b8(0x16e)](_0x5c07b8(0x11d)),new _0x18ec78(_0x1ecab9,this[_0x5c07b8(0x199)],_0x472784?{'originalError':_0x472784}:void 0x0);}[_0x57cebd(0x14a)](_0x2b0d51){const _0x1013c6=_0x57cebd;this[_0x1013c6(0x14e)][_0x1013c6(0x1f4)](_0x2b0d51)||(this[_0x1013c6(0x14e)][_0x1013c6(0x106)](_0x2b0d51),this[_0x1013c6(0x18f)][_0x1013c6(0x18d)](_0x2b0d51),this[_0x1013c6(0x143)]||_0x1013c6(0x197)==_0x2b0d51[_0x1013c6(0x164)]&&!_0x2b0d51[_0x1013c6(0x125)]||this[_0x1013c6(0x141)]());}[_0x57cebd(0xf8)](_0x4fc09c=!0x1){const _0x42ee75=_0x57cebd;!_0x4fc09c&&this[_0x42ee75(0x1e8)]||(this[_0x42ee75(0x1e8)]=!0x0,clearTimeout(this[_0x42ee75(0x18a)]),this[_0x42ee75(0x18a)]=setTimeout(()=>{const _0x2ff989=_0x42ee75;this[_0x2ff989(0x103)]()[_0x2ff989(0x16b)](_0x3ab685=>{const _0xd66416=_0x2ff989;_0x3ab685&&(this[_0xd66416(0x140)](),this[_0xd66416(0x1e8)]=!0x1);})[_0x2ff989(0x1b1)](_0xb2d515=>{const _0xebf5b5=_0x2ff989;this[_0xebf5b5(0x140)](),this[_0xebf5b5(0x1e8)]=!0x1,function(_0x4578fc){const _0x3ebc39=_0xebf5b5;return _0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x10e))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x179))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x18b));}(_0xb2d515)||this[_0xebf5b5(0x17a)](_0xb2d515[_0xebf5b5(0x10a)],_0xb2d515);});},this[_0x42ee75(0x177)]));}[_0x57cebd(0x114)](){return new Promise(_0x5c2bb9=>{const _0x1e2cd2=_0x1b7c;this['on'](_0x1e2cd2(0x11c),()=>{_0x5c2bb9();});});}async[_0x57cebd(0x103)](){const _0x583180=_0x57cebd,_0x1bd661=this[_0x583180(0x199)][_0x583180(0x111)][_0x583180(0x1a7)](_0x2644c2);if(this[_0x583180(0x127)]()&&(_0x1bd661[_0x583180(0x163)](),this[_0x583180(0x137)]=!0x1),!this[_0x583180(0x151)]())return!0x0;const _0x17f2b7=[...this[_0x583180(0x18f)]];for(const _0x43f766 of _0x17f2b7)_0x43f766[_0x583180(0x134)]=this[_0x583180(0x193)][_0x583180(0x147)][_0x583180(0x173)](_0x43f766);const _0x3ef38d=this[_0x583180(0x190)][_0x583180(0x14c)](_0x17f2b7),_0x48ebad=J++,_0x4ad4f5=this[_0x583180(0x170)](_0x17f2b7),_0x24533=await this[_0x583180(0x160)][_0x583180(0x124)](_0x4ad4f5,_0x4ad4f5[_0x583180(0x148)],_0x3ef38d);try{return await this[_0x583180(0x14d)](_0x17f2b7,_0x24533,_0x48ebad);}catch(_0x29873c){return this[_0x583180(0x17a)](_0x583180(0x1a1),_0x29873c);}}async[_0x57cebd(0x14d)](_0x484edf,_0x5aa596,_0x25d146){const _0x5a4bc2=_0x57cebd;if(_0x5a4bc2(0x10f)in _0x5aa596)throw _0x5aa596[_0x5a4bc2(0x10f)];let _0x7b3839=!0x1;if(_0x5aa596[_0x5a4bc2(0x1a3)]){_0x5aa596[_0x5a4bc2(0x169)]&&(this[_0x5a4bc2(0xfb)]=_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x50cfbb=>!_0x484edf[_0x5a4bc2(0x1d5)](_0x50cfbb));for(const _0x5d1fde of _0x484edf)_0x5d1fde[_0x5a4bc2(0x115)]=_0x5a4bc2(0x176)in _0x5aa596&&_0x5aa596[_0x5a4bc2(0x176)]||void 0x0;X(_0x484edf,_0x5aa596[_0x5a4bc2(0x1b7)]-_0x484edf[_0x5a4bc2(0x16d)]),this[_0x5a4bc2(0x158)](_0x484edf);const _0xc644f5=_0x484edf[_0x5a4bc2(0x180)](_0x347a5c=>{const _0x2b4934=_0x5a4bc2;if(!_0x347a5c[_0x2b4934(0x178)])return!0x1;const _0x36cbc7=this[_0x2b4934(0x101)](_0x347a5c);return _0x36cbc7&&!this[_0x2b4934(0x122)][_0x2b4934(0x1f4)](_0x36cbc7);});X(_0xc644f5,this[_0x5a4bc2(0x193)][_0x5a4bc2(0x1b7)]),this[_0x5a4bc2(0xfe)](_0xc644f5),_0x7b3839=!0x0,this[_0x5a4bc2(0x177)]=this[_0x5a4bc2(0x1ed)];}else{const _0x32a8c8=this[_0x5a4bc2(0x1c5)](_0x5aa596[_0x5a4bc2(0x172)],_0x5aa596[_0x5a4bc2(0x1cc)])[_0x5a4bc2(0x180)](_0x55c28e=>_0x55c28e[_0x5a4bc2(0x148)]>=this[_0x5a4bc2(0x1a9)]);_0x32a8c8[_0x5a4bc2(0x1d4)](_0x341ff1=>this[_0x5a4bc2(0x145)](_0x341ff1)),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x3347cd=>!_0x3347cd[_0x5a4bc2(0x178)]||!this[_0x5a4bc2(0x122)][_0x5a4bc2(0x1f4)](this[_0x5a4bc2(0x101)](_0x3347cd))),this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x16d)]&&X(this[_0x5a4bc2(0x18f)],this[_0x5a4bc2(0x18f)][0x0][_0x5a4bc2(0x148)]),await this[_0x5a4bc2(0x1e1)](_0x32a8c8),_0x7b3839=this[_0x5a4bc2(0x156)](_0x32a8c8,_0x5aa596[_0x5a4bc2(0x1b7)],_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x177)]=Math[_0x5a4bc2(0x157)](this[_0x5a4bc2(0x177)]/0x2);}return _0x7b3839?!this[_0x5a4bc2(0x151)]()||(this[_0x5a4bc2(0xf8)](!0x0),!0x1):this[_0x5a4bc2(0x17a)](_0x5a4bc2(0x167));}[_0x57cebd(0x156)](_0x327d63,_0x2fc65a,_0x4fb67f){const _0x399fb4=_0x57cebd;try{const _0x237d4d={'document':this[_0x399fb4(0x193)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31affb,operationsB:_0x501c66,originalOperations:_0x1d1562}=_0x1207c2(_0x327d63,this[_0x399fb4(0x18f)],_0x237d4d);X(_0x31affb,this[_0x399fb4(0x193)][_0x399fb4(0x1b7)]),X(_0x501c66,_0x2fc65a);for(const _0x42804d of _0x31affb){const _0x409d43=_0x1d1562[_0x399fb4(0x1a7)](_0x42804d);_0x42804d[_0x399fb4(0x166)]=_0x409d43?_0x409d43[_0x399fb4(0x166)]:null;}_0x4fb67f&&(this[_0x399fb4(0x190)][_0x399fb4(0x1be)](_0x327d63,_0x4fb67f),this[_0x399fb4(0xfb)]=_0x4fb67f),this[_0x399fb4(0x18f)]=[..._0x501c66],this[_0x399fb4(0xfe)](_0x31affb),this[_0x399fb4(0x158)](_0x327d63);}catch(_0x481c49){return console[_0x399fb4(0x10f)](_0x481c49),!0x1;}return!0x0;}[_0x57cebd(0xfe)](_0x2c191f,_0x1186b1=!0x1){const _0x4a77a4=_0x57cebd;this[_0x4a77a4(0x199)][_0x4a77a4(0x15b)][_0x4a77a4(0x1d7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4103ef=>{const _0x2e27e0=_0x4a77a4;for(const _0x5d8d66 of _0x2c191f)this[_0x2e27e0(0x14e)][_0x2e27e0(0x106)](_0x5d8d66),this[_0x2e27e0(0x145)](_0x5d8d66),_0x4103ef[_0x2e27e0(0x149)][_0x2e27e0(0x105)](_0x5d8d66),this[_0x2e27e0(0x199)][_0x2e27e0(0x15b)][_0x2e27e0(0x1e4)](_0x5d8d66);});}[_0x57cebd(0x145)](_0x613cfe){const _0x361b1e=_0x57cebd,_0x229150=this[_0x361b1e(0x101)](_0x613cfe);_0x229150&&this[_0x361b1e(0x122)][_0x361b1e(0x106)](_0x229150);}[_0x57cebd(0x101)](_0x68650d){const _0x4fb67c=_0x57cebd;let _0x2de1cf,_0x51eaad;switch(_0x68650d[_0x4fb67c(0x164)]){case _0x4fb67c(0x123):_0x2de1cf=_0x68650d[_0x4fb67c(0x15f)][_0x4fb67c(0x1df)];break;case _0x4fb67c(0x197):if(_0x51eaad=_0x68650d[_0x4fb67c(0x1f1)],!_0x51eaad)return null;_0x2de1cf=_0x51eaad[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ef):_0x2de1cf=_0x68650d[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ab):_0x2de1cf=_0x68650d[_0x4fb67c(0xff)];break;case _0x4fb67c(0x1b9):_0x2de1cf=_0x68650d[_0x4fb67c(0x136)][_0x4fb67c(0x1df)];break;default:return null;}return _0x2de1cf[_0x4fb67c(0x129)];}[_0x57cebd(0x158)](_0x7bd1f6){const _0x231cf0=_0x57cebd;_0x7bd1f6[_0x231cf0(0x1d4)](_0x41590b=>{const _0xbfe8e4=_0x231cf0,_0x4f63e9=_0x41590b[_0xbfe8e4(0x112)]();_0x4f63e9[_0xbfe8e4(0x166)]=_0x41590b[_0xbfe8e4(0x166)],_0x4f63e9[_0xbfe8e4(0x178)]=!!_0x41590b[_0xbfe8e4(0x178)],_0x4f63e9[_0xbfe8e4(0x115)]=_0x41590b[_0xbfe8e4(0x115)],_0x4f63e9[_0xbfe8e4(0x148)]+=this[_0xbfe8e4(0x17f)],_0x41590b[_0xbfe8e4(0x1dd)]&&this[_0xbfe8e4(0x1b0)][_0xbfe8e4(0x106)](_0x4f63e9),this[_0xbfe8e4(0x1ea)][_0xbfe8e4(0x105)](_0x4f63e9);});}[_0x57cebd(0x1b8)](_0x2125d4){const _0x3920c5=_0x57cebd,_0x5be5d4=this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x3920c5(0x1c6)),_0x15cf33=this[_0x3920c5(0x199)][_0x3920c5(0x1ec)];_0x2125d4||(_0x2125d4=_0x504f72(_0x15cf33,_0x3920c5(0x13c))),_0x5be5d4[_0x3920c5(0x185)](_0x2125d4,{'title':_0x504f72(_0x15cf33,_0x3920c5(0x1de)),'namespace':_0x3920c5(0x12c)}),this[_0x3920c5(0x1a2)]=!0x0,clearTimeout(this[_0x3920c5(0x18a)]),this[_0x3920c5(0x18f)]=[],this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x51ed3d)[_0x3920c5(0x118)]();}[_0x57cebd(0x141)](){const _0x2bc051=_0x57cebd;this[_0x2bc051(0x143)]||(this[_0x2bc051(0x143)]=this[_0x2bc051(0x199)][_0x2bc051(0x111)][_0x2bc051(0x1a7)](_0x5ad208)[_0x2bc051(0x106)](_0x504f72(this[_0x2bc051(0x199)][_0x2bc051(0x1ec)],_0x2bc051(0x189))));}[_0x57cebd(0x140)](){const _0x17b79b=_0x57cebd;this[_0x17b79b(0x143)]&&(this[_0x17b79b(0x199)][_0x17b79b(0x111)][_0x17b79b(0x1a7)](_0x5ad208)[_0x17b79b(0x1ba)](this[_0x17b79b(0x143)]),this[_0x17b79b(0x143)]=null);}[_0x57cebd(0x170)](_0x244007){const _0x5088c9=_0x57cebd,_0x345225=_0x244007[_0x5088c9(0x135)](_0x189e67=>_0x189e67[_0x5088c9(0x12b)]());return this[_0x5088c9(0x1e7)][_0x5088c9(0x1f0)](_0x345225);}[_0x57cebd(0x1c5)](_0x21a551,_0x3eb3dd){const _0x47f190=_0x57cebd;return this[_0x47f190(0x1e7)][_0x47f190(0x16c)](_0x21a551)[_0x47f190(0x135)]((_0x28e5ed,_0x6621a7)=>{const _0x30b8ef=_0x47f190,_0x4edfa7=_0x30b8ef(0x1c2)==_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)];if(_0x30b8ef(0x13f)==_0x28e5ed[_0x30b8ef(0x19f)]){const _0x48883b=_0x28e5ed[_0x30b8ef(0x15f)][_0x30b8ef(0x1df)];!this[_0x30b8ef(0x193)][_0x30b8ef(0x1c0)](_0x48883b)&&(this[_0x30b8ef(0x193)][_0x30b8ef(0x161)](_0x30b8ef(0x146),_0x48883b)[_0x30b8ef(0xf2)]=!0x1);}const _0x294bc2=_0x26ea2a[_0x30b8ef(0x12f)](_0x28e5ed,this[_0x30b8ef(0x193)]);return _0x294bc2[_0x30b8ef(0x134)]=_0x28e5ed[_0x30b8ef(0x134)],_0x294bc2[_0x30b8ef(0x178)]=_0x4edfa7,_0x294bc2[_0x30b8ef(0x166)]=_0x4edfa7?null:_0x3eb3dd[_0x6621a7][_0x30b8ef(0x19e)],_0x294bc2[_0x30b8ef(0x1dd)]=_0x30b8ef(0x1bc)===_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)],_0x294bc2[_0x30b8ef(0x115)]=_0x3eb3dd[_0x6621a7][_0x30b8ef(0x115)],_0x294bc2;});}[_0x57cebd(0x1d8)](){const _0x45b0a1=_0x57cebd;this[_0x45b0a1(0x137)]=!0x0,this[_0x45b0a1(0x127)]()?this[_0x45b0a1(0xf8)]():this[_0x45b0a1(0x137)]=!0x1;}[_0x57cebd(0x127)](){const _0x2c4c5f=_0x57cebd,_0x356b56=this[_0x2c4c5f(0x199)][_0x2c4c5f(0x111)][_0x2c4c5f(0x1a7)](_0x1bfd62)[_0x2c4c5f(0x1d1)][_0x2c4c5f(0x1a7)](this[_0x2c4c5f(0x16a)]);return!this[_0x2c4c5f(0x199)][_0x2c4c5f(0x126)]&&!!_0x356b56&&_0x356b56[_0x2c4c5f(0x16d)]>0x1&&this[_0x2c4c5f(0x137)];}[_0x57cebd(0x151)](){const _0x3a59fb=_0x57cebd;return this[_0x3a59fb(0x18f)][_0x3a59fb(0x16d)]>0x0||this[_0x3a59fb(0x127)]();}}export default l;class Q extends Error{}function X(_0x2c69df,_0x41903c){const _0x504b90=_0x57cebd;for(const _0x436930 of _0x2c69df)_0x436930[_0x504b90(0x148)]=_0x41903c++;}class Y{[_0x57cebd(0x150)];[_0x57cebd(0x12e)];constructor(_0x2dfa24){const _0x8f8b12=_0x57cebd;this[_0x8f8b12(0x150)]=_0x2dfa24,this[_0x8f8b12(0x12e)]=new WeakMap();}[_0x57cebd(0x14c)](_0x491690){const _0x2edfe1=_0x57cebd;let _0x3a661d=_0x491690[_0x2edfe1(0x16d)];for(;_0x3a661d--;){const _0x221d5f=_0x491690[_0x3a661d];if(!this[_0x2edfe1(0x150)][_0x2edfe1(0x1f4)](_0x221d5f)){if(!this[_0x2edfe1(0x12e)][_0x2edfe1(0x1f4)](_0x221d5f)){const _0x1b3611=_0x29d06f()[_0x2edfe1(0x131)](0x1,0x12);this[_0x2edfe1(0x12e)][_0x2edfe1(0x1c8)](_0x221d5f,_0x1b3611);}return this[_0x2edfe1(0x12e)][_0x2edfe1(0x1a7)](_0x221d5f);}}}[_0x57cebd(0x1be)](_0x5e0bf8,_0x2474da){const _0x57c1a6=_0x57cebd;if(!_0x2474da)return;let _0x2c405c=_0x5e0bf8[_0x57c1a6(0x16d)];for(;_0x2c405c--;){const _0x145b33=_0x5e0bf8[_0x2c405c];this[_0x57c1a6(0x150)][_0x57c1a6(0x1f4)](_0x145b33)||this[_0x57c1a6(0x12e)][_0x57c1a6(0x1c8)](_0x145b33,_0x2474da);}}}
|
|
23
|
+
const _0x133195=_0x2d82;(function(_0x490621,_0x4d008d){const _0x19b8ee=_0x2d82,_0x1abe2e=_0x490621();while(!![]){try{const _0x233a7d=parseInt(_0x19b8ee(0x1b5))/0x1+parseInt(_0x19b8ee(0x1cf))/0x2*(parseInt(_0x19b8ee(0x263))/0x3)+-parseInt(_0x19b8ee(0x26b))/0x4+-parseInt(_0x19b8ee(0x28a))/0x5*(parseInt(_0x19b8ee(0x239))/0x6)+parseInt(_0x19b8ee(0x1c0))/0x7+-parseInt(_0x19b8ee(0x1be))/0x8*(-parseInt(_0x19b8ee(0x1b4))/0x9)+-parseInt(_0x19b8ee(0x25b))/0xa;if(_0x233a7d===_0x4d008d)break;else _0x1abe2e['push'](_0x1abe2e['shift']());}catch(_0xd72faa){_0x1abe2e['push'](_0x1abe2e['shift']());}}}(_0x1aaa,0x34ab6));import{Plugin as _0x371cb5,PendingActions as _0xcdd2cb}from'ckeditor5/src/core.js';import{CKEditorError as _0x47a7a7,version as _0x13f9d9,uid as _0x149e24}from'ckeditor5/src/utils.js';function _0x1aaa(){const _0xd23bb9=['pluginName','_crash','end','config','409','realtimecollaborationclient-handleserverresponse','2484nwqiyB','339202FoKirb','_isPendingUpdate','createUserMarkerOperations','sessionId','from','_document','stopListening','_isConnected','loadRoot','9104cddrKj','realtimecollaborationclient-init-document-already-initialized','2594669yJpPAS','realtimecollaborationclient-init-session-connection-error','getDocumentDetails','applyOperation','has','baseVersion','document','_applyOperationsSet','collaboration.channelId','offset','listenTo','slice','add','disconnected','collaboration-missing-channelid','77498cYwZLR','realtimecollaborationclient-error','set','_sendBufferedOperationsDelayId','map','change:hasDomSelection','history','realtimecollaborationclient-sendbufferedoperations','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-service-internal-error','_setUpDataInit','enqueueChange','cloud-services-internal-error:\x20Not\x20connected.','_refreshUserSelectionMarkers','reset','cloud-services-internal-error:\x20Request\x20timeout.','_saveOperationInBuffer','unregister','currentDocumentSession','_operationToId','_handleSendingSelectionMarkers','_hasSynchronizationProblem','getUser','reconnection:\x20flushed\x20session','_knownOperations','_sendBufferedOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','_isLoaded','remove','push','connection','_knownRootNames','cloudServices.bundleVersion','init','$root','_fetchMissingUsers','length','sendOperations','getMany','_handleInitialConnectionData','userId','change:_isEditingAllowed','realtimecollaborationclient-init-service-incorrect-server-operation','clone','_getAffectedRoot','isReadOnly','_handleReconnectionError','suppressErrorInCollaboration','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_bufferRootLoad','lastDocumentSession','sessionCreatedAt','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','finally','parse','affectsData','_handleExternalOperations','plugins','_ignoredOperations','state','insert','_handleServerResponse','404','_decompressOperations','lastSyncVersion','lastOperationAcceptedAt','string','addUser','addOperation','realtimecollaborationclient','_sendBufferedOperationsDelayed','_hasSelectionChanged','round','_isInit','_initThrowingOnDataSet','roots','reconnect','_connectService','ready','fire','differ','stop','rootName','__className','_getOperationsFromInitData','_channelId','_operationIdentifier','_shouldSendUpdate','apply','marker','isDocumentOperation','Synchronization\x20issue','model','isUndoneOperation','bind','_compressOperations','rtc-offline','selection','compress','channelSessions','register','message','_handleReceivedOperations','decompress','2096142KhxzoJ','position','rtc-destroyed','fromJSON','keys','sessionAdd:','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-non-existent-root','locale','enableReadOnlyMode','filter','multi-root-editor-root-attributes-no-root','error','return','targetPosition','Notification','off','_isDisconnection','batch','data','code','_setPendingAction','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','forEach','connect','mySessionId','directChange','_disconnectionOperations','createdAt','version','_disconnectService','metadata','_updateServerHistory','CommentsOnly','6090600GJCBMl','addRoot','document:write','_shouldSendSelectionUpdate','root','wasUndone','permissions','move','18iRIxCP','_lastSyncedOperationId','RealTimeCollaborationClient','lastOperationId','_initSessionsHandling','_authorId','toJSON','initData','329200aLuXfX','path','markers','operationsReceived','_compressor','isPremiumPlugin','getIdOfTheLastOperation','isEnabled','_bufferedOperations','high','addToReconnectionStack','createRange','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','startsWith','getConnectedSessions','real-time-collaboration','_waitUntilSynced','cs:removeUser','PENDING_ACTION_SENDING_DATA','_service','getOperations','affectedSelectable','connected','includes','CollaborativeEditingService','catch','newRange','getRoot','disconnect','attributes','disableReadOnlyMode','5ZyVWtl','createPositionAt','createPositionFromPath','wereChangesApplied','editor','removeFromReconnectionStack','type','_currentBufferDelay','get','_baseBufferDelay','realtimecollaborationclient-init-connection-failed','collaboration','_isAttached','_lastServerVersion','createRoot','serverHistory','entries','addRootAttribute','define','isOfficialPlugin','InsertOperation','editing','_isEditingAllowed','Permissions','change:_isPendingUpdate','_handleReconnectionResponse','_clearPendingAction','requires','size','setPermissions','destroy','getOperationAuthor','showWarning','setIdForTheLastOperation','rootsAttributes','view','_loadRoot','_offset','start','then','_pendingAction','_addKnownRoot'];_0x1aaa=function(){return _0xd23bb9;};return _0x1aaa();}import{Notification as _0x31a1b3}from'ckeditor5/src/ui.js';import{transformSets as _0x27d3d6,NoOperation as _0x21b674,InsertOperation as _0x2ff72c,MarkerOperation as _0xce5723,RootAttributeOperation as _0x36eb46,OperationFactory as _0x60e697,History as _0xdbc669}from'ckeditor5/src/engine.js';import _0x504c19 from'./websocketgateway.js';function _0x2d82(_0x5bdf48,_0x1a58c7){const _0x1aaab6=_0x1aaa();return _0x2d82=function(_0x2d82f5,_0x5ce71b){_0x2d82f5=_0x2d82f5-0x186;let _0x7a2149=_0x1aaab6[_0x2d82f5];return _0x7a2149;},_0x2d82(_0x5bdf48,_0x1a58c7);}import _0x477472 from'./sessions.js';import _0x527b60 from'./usermarkers.js';import{getTranslation as _0x63f900}from'../common-translations.js';import{Compressor as _0xe07d60}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1e58d5}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x43498b,CollaborativeEditingService as _0x2ac02a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let C=0x1;class l extends _0x371cb5{static [_0x133195(0x283)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2ac02a)());[_0x133195(0x1a9)];[_0x133195(0x1b8)];[_0x133195(0x193)];[_0x133195(0x226)];[_0x133195(0x27e)];[_0x133195(0x1ba)];[_0x133195(0x26f)];[_0x133195(0x273)];[_0x133195(0x1e7)];[_0x133195(0x1ef)];[_0x133195(0x1ac)];[_0x133195(0x218)];[_0x133195(0x1d2)];[_0x133195(0x18d)];[_0x133195(0x18b)];[_0x133195(0x264)];[_0x133195(0x254)];[_0x133195(0x227)];static get[_0x133195(0x19f)](){return[_0x504c19,_0x477472,_0x527b60,_0xcdd2cb,_0x1e58d5,_0x31a1b3];}static get[_0x133195(0x1ae)](){const _0x2256f1=_0x133195;return _0x2256f1(0x265);}static get[_0x133195(0x197)](){return!0x0;}static get[_0x133195(0x270)](){return!0x0;}get[_0x133195(0x1ea)](){const _0x4db51f=_0x133195;return this[_0x4db51f(0x191)]+this[_0x4db51f(0x1a9)];}get[_0x133195(0x191)](){const _0x4ea197=_0x133195;return this[_0x4ea197(0x193)][_0x4ea197(0x256)]-this[_0x4ea197(0x1a9)];}get[_0x133195(0x211)](){const _0x1cbcc1=_0x133195,_0x532dad=this[_0x1cbcc1(0x193)][_0x1cbcc1(0x27f)]();for(let _0x27c592=_0x532dad[_0x1cbcc1(0x1f4)]-0x1;_0x27c592>=0x0;_0x27c592--){const _0x11a660=_0x532dad[_0x27c592];if(!this[_0x1cbcc1(0x254)][_0x1cbcc1(0x1c4)](_0x11a660))return _0x11a660[_0x1cbcc1(0x1c5)]+0x1-this[_0x1cbcc1(0x1a9)];}return 0x0;}constructor(_0x17e4dd){const _0x3b2672=_0x133195;if(super(_0x17e4dd),this[_0x3b2672(0x1a9)]=0x0,this[_0x3b2672(0x1b8)]=null,this[_0x3b2672(0x193)]=new _0xdbc669(),this[_0x3b2672(0x188)][_0x3b2672(0x1b1)][_0x3b2672(0x196)](_0x3b2672(0x18f),{}),this[_0x3b2672(0x226)]=this[_0x3b2672(0x188)][_0x3b2672(0x1b1)][_0x3b2672(0x18c)](_0x3b2672(0x1c8)),!this[_0x3b2672(0x226)])throw new _0x47a7a7(_0x3b2672(0x1ce),this);const _0x4397c8=_0x17e4dd[_0x3b2672(0x1b1)][_0x3b2672(0x18c)](_0x3b2672(0x1f0))||_0x13f9d9;this[_0x3b2672(0x27e)]=new l[(_0x3b2672(0x283))](_0x4397c8,this[_0x3b2672(0x226)]),this[_0x3b2672(0x1ba)]=this[_0x3b2672(0x188)][_0x3b2672(0x22d)][_0x3b2672(0x1c6)],this[_0x3b2672(0x26f)]=new _0xe07d60(),this[_0x3b2672(0x273)]=[],this[_0x3b2672(0x1e7)]=new WeakSet(),this[_0x3b2672(0x1ef)]=new Set(),this[_0x3b2672(0x1d1)](_0x3b2672(0x1b6),!0x1),this[_0x3b2672(0x1d1)](_0x3b2672(0x1e4),!0x1),this[_0x3b2672(0x1ac)]=null,this[_0x3b2672(0x218)]=!0x1,this[_0x3b2672(0x1d2)]=null,this[_0x3b2672(0x18d)]=0x12c,this[_0x3b2672(0x18b)]=this[_0x3b2672(0x18d)],this[_0x3b2672(0x264)]=null,this[_0x3b2672(0x254)]=new WeakSet(),this[_0x3b2672(0x227)]=new B(this[_0x3b2672(0x254)]);}[_0x133195(0x1f1)](){const _0xbfb9a2=_0x133195,_0x2ff7e7=this[_0xbfb9a2(0x188)],_0x5c47b7=_0x2ff7e7[_0xbfb9a2(0x20a)][_0xbfb9a2(0x18c)](_0x1e58d5),_0x1944a5=_0x2ff7e7[_0xbfb9a2(0x20a)][_0xbfb9a2(0x18c)](_0x504c19);this[_0xbfb9a2(0x1ca)](_0x5c47b7,_0xbfb9a2(0x1a3),(_0xfe4b69,_0x37fd40)=>{const _0x532136=_0xbfb9a2,_0x4bfef2=_0x37fd40[0x0];_0x4bfef2[_0x532136(0x268)]&&(_0xfe4b69[_0x532136(0x246)]=_0x5c47b7[_0x532136(0x1e5)](_0x4bfef2[_0x532136(0x268)]),_0xfe4b69[_0x532136(0x222)]()),null===_0x4bfef2[_0x532136(0x268)]&&(_0xfe4b69[_0x532136(0x246)]=null,_0xfe4b69[_0x532136(0x222)]());},{'priority':_0xbfb9a2(0x274)}),this[_0xbfb9a2(0x1ca)](_0x2ff7e7[_0xbfb9a2(0x22d)][_0xbfb9a2(0x1c6)][_0xbfb9a2(0x232)],_0xbfb9a2(0x205),(_0xfec691,_0x503ad9)=>{const _0x4a0e94=_0xbfb9a2;_0x503ad9[_0x4a0e94(0x253)]&&this[_0x4a0e94(0x1dc)]();}),this[_0xbfb9a2(0x1ca)](_0x2ff7e7[_0xbfb9a2(0x199)][_0xbfb9a2(0x1a7)],_0xbfb9a2(0x1d4),()=>{const _0x24c65d=_0xbfb9a2;this[_0x24c65d(0x1dc)]();}),this[_0xbfb9a2(0x21b)](),_0x2ff7e7[_0xbfb9a2(0x22d)]['on'](_0xbfb9a2(0x1c3),(_0x349f67,_0x385980)=>{const _0x48ab10=_0xbfb9a2,_0x5a34db=_0x385980[0x0];_0x5a34db[_0x48ab10(0x22b)]&&(this[_0x48ab10(0x1df)](_0x5a34db),this[_0x48ab10(0x228)]()&&this[_0x48ab10(0x217)]());}),this[_0xbfb9a2(0x1d9)](),this[_0xbfb9a2(0x22f)](_0xbfb9a2(0x19a))['to'](_0x1944a5,_0xbfb9a2(0x20c),this,_0xbfb9a2(0x1e4),(_0x3fbfda,_0x4711ab)=>_0xbfb9a2(0x281)===_0x3fbfda&&!_0x4711ab),this['on'](_0xbfb9a2(0x1f9),()=>{const _0x2c3a7d=_0xbfb9a2;this[_0x2c3a7d(0x19a)]?_0x2ff7e7[_0x2c3a7d(0x289)](_0x2c3a7d(0x231)):_0x2ff7e7[_0x2c3a7d(0x242)](_0x2c3a7d(0x231));}),this[_0xbfb9a2(0x19a)]?_0x2ff7e7[_0xbfb9a2(0x289)](_0xbfb9a2(0x231)):_0x2ff7e7[_0xbfb9a2(0x242)](_0xbfb9a2(0x231)),this[_0xbfb9a2(0x1d1)](_0xbfb9a2(0x1bc),!0x1);}async[_0x133195(0x21d)](){const _0x48f02=_0x133195,_0x397dcd=this[_0x48f02(0x188)][_0x48f02(0x20a)][_0x48f02(0x18c)](_0x477472),_0xa8b4a4=this[_0x48f02(0x188)][_0x48f02(0x20a)][_0x48f02(0x18c)](_0x504c19);try{this[_0x48f02(0x1b6)]=!0x0,_0x397dcd[_0x48f02(0x1e0)](this[_0x48f02(0x226)]);const _0x324379=await this[_0x48f02(0x27e)][_0x48f02(0x21d)](_0xa8b4a4[_0x48f02(0x1ee)],this[_0x48f02(0x211)]);await this[_0x48f02(0x19d)](_0x324379)&&(this[_0x48f02(0x1b6)]=!0x1,this[_0x48f02(0x19e)]());const _0x4044a6=await this[_0x48f02(0x27e)][_0x48f02(0x279)]();_0x397dcd[_0x48f02(0x235)](this[_0x48f02(0x226)],_0x4044a6),this[_0x48f02(0x1e3)](),this[_0x48f02(0x1bc)]=!0x0;}catch(_0x31cff1){if(function(_0x4de8de){const _0x403259=_0x48f02;return _0x403259(0x20f)===_0x4de8de[_0x403259(0x24d)];}(_0x31cff1)&&this[_0x48f02(0x1b8)])await this[_0x48f02(0x23f)]();else{if(function(_0x9f0bc2){const _0x587565=_0x48f02;return _0x587565(0x1b2)===_0x9f0bc2[_0x587565(0x24d)];}(_0x31cff1)){const _0x4c6d00=_0x63f900(this[_0x48f02(0x188)][_0x48f02(0x241)],_0x48f02(0x277));this[_0x48f02(0x1fe)](_0x4c6d00);}else{if(!(_0x31cff1 instanceof E))throw _0x31cff1;this[_0x48f02(0x1fe)]();}}}}[_0x133195(0x1a2)](){const _0x20c8df=_0x133195,_0x389aed=this[_0x20c8df(0x188)][_0x20c8df(0x20a)][_0x20c8df(0x18c)](_0x504c19),_0x538814=this[_0x20c8df(0x188)][_0x20c8df(0x20a)][_0x20c8df(0x18c)](_0x477472);this[_0x20c8df(0x188)][_0x20c8df(0x242)](_0x20c8df(0x23b)),_0x538814[_0x20c8df(0x234)][_0x20c8df(0x1c4)](this[_0x20c8df(0x226)])&&_0x538814[_0x20c8df(0x1e0)](this[_0x20c8df(0x226)]),_0x389aed[_0x20c8df(0x189)](this),this[_0x20c8df(0x257)](),super[_0x20c8df(0x1a2)]();}async[_0x133195(0x19d)](_0x1e9797){const _0x43bbbb=_0x133195;if(this[_0x43bbbb(0x1b8)]!==_0x1e9797[_0x43bbbb(0x1b8)]&&this[_0x43bbbb(0x264)]!==_0x1e9797[_0x43bbbb(0x266)])throw new E();return this[_0x43bbbb(0x1b8)]=_0x1e9797[_0x43bbbb(0x1b8)],this[_0x43bbbb(0x20e)]([],{..._0x1e9797,'wereChangesApplied':!0x1,'data':_0x1e9797[_0x43bbbb(0x24c)]},_0x43bbbb(0x21d));}async[_0x133195(0x21e)](_0x2b20b2,_0x37c156=!0x1){const _0x389bc2=_0x133195,{connection:_0xdda6aa}=this[_0x389bc2(0x188)][_0x389bc2(0x20a)][_0x389bc2(0x18c)](_0x504c19);l[_0x389bc2(0x283)][_0x389bc2(0x279)](_0xdda6aa,this[_0x389bc2(0x226)])[_0x389bc2(0x1ab)](_0x19c5f6=>this[_0x389bc2(0x267)](_0x19c5f6))[_0x389bc2(0x284)](_0x51ca01=>{const _0x20c607=_0x389bc2;this[_0x20c607(0x1af)](_0x20c607(0x1c1),_0x51ca01);}),this[_0x389bc2(0x1ca)](this[_0x389bc2(0x27e)],_0x389bc2(0x26e),this[_0x389bc2(0x237)][_0x389bc2(0x22f)](this)),this[_0x389bc2(0x1ca)](this[_0x389bc2(0x27e)],_0x389bc2(0x245),(_0x5192e8,_0x561cfa)=>{const _0x275ef8=_0x389bc2;this[_0x275ef8(0x1af)](_0x275ef8(0x1d8),_0x561cfa);}),this[_0x389bc2(0x1ca)](this[_0x389bc2(0x27e)],_0x389bc2(0x1cd),()=>{const _0x3ac1a3=_0x389bc2;this[_0x3ac1a3(0x1bc)]=!0x1;});const _0x256ef8=this[_0x389bc2(0x227)][_0x389bc2(0x271)](_0x2b20b2);this[_0x389bc2(0x1b6)]=!0x0;const _0x893dde=await this[_0x389bc2(0x27e)][_0x389bc2(0x251)](_0xdda6aa,this[_0x389bc2(0x230)](_0x2b20b2),_0x256ef8);if(this[_0x389bc2(0x1b8)]=_0x893dde[_0x389bc2(0x1b8)],_0x37c156){if(!_0x893dde[_0x389bc2(0x187)])return void this[_0x389bc2(0x1fe)]();this[_0x389bc2(0x1b6)]=!0x1,this[_0x389bc2(0x19e)](),this[_0x389bc2(0x193)][_0x389bc2(0x1dd)](),this[_0x389bc2(0x1a9)]=_0x893dde[_0x389bc2(0x1c9)],this[_0x389bc2(0x193)][_0x389bc2(0x256)]=this[_0x389bc2(0x1a9)],await this[_0x389bc2(0x20e)](_0x2b20b2,_0x893dde,_0x389bc2(0x1e6));}else await this[_0x389bc2(0x1f7)](_0x893dde,_0x2b20b2);this[_0x389bc2(0x1e3)](),this[_0x389bc2(0x1bc)]=!0x0;}[_0x133195(0x1e3)](){const _0x2b6f24=_0x133195,_0x306696=this[_0x2b6f24(0x188)][_0x2b6f24(0x20a)][_0x2b6f24(0x18c)](_0x477472),_0x570219=this[_0x2b6f24(0x188)][_0x2b6f24(0x20a)][_0x2b6f24(0x18c)](_0x527b60),_0x2a1c0f=_0x306696[_0x2b6f24(0x234)][_0x2b6f24(0x18c)](this[_0x2b6f24(0x226)]);_0x2a1c0f&&_0x2a1c0f[_0x2b6f24(0x1f4)]>0x1?_0x570219[_0x2b6f24(0x1b7)]():this[_0x2b6f24(0x1ca)](_0x306696,_0x2b6f24(0x23e)+this[_0x2b6f24(0x226)],()=>{const _0xa70c62=_0x2b6f24;0x2===_0x306696[_0xa70c62(0x234)][_0xa70c62(0x18c)](this[_0xa70c62(0x226)])[_0xa70c62(0x1f4)]&&_0x570219[_0xa70c62(0x1b7)]();});}async[_0x133195(0x237)](_0x40850f,_0x2ab10f,_0x474f25,_0x2f2ab1){const _0x489789=_0x133195;if(!this[_0x489789(0x1b6)]&&this[_0x489789(0x1ba)][_0x489789(0x256)]==_0x2ab10f){const _0xb0bebe=this[_0x489789(0x210)](_0x474f25,_0x2f2ab1);await this[_0x489789(0x1f3)](_0xb0bebe),this[_0x489789(0x209)](_0xb0bebe,_0x2ab10f,_0x474f25[_0x489789(0x266)])||this[_0x489789(0x1af)](_0x489789(0x1fa));}}async[_0x133195(0x23f)](){const _0x4811e8=_0x133195;this[_0x4811e8(0x257)]();const {locale:_0x4fc1a5}=this[_0x4811e8(0x188)];let _0x4e1a73;try{_0x4e1a73=await this[_0x4811e8(0x27e)][_0x4811e8(0x1c2)]();}catch{const _0x3c316f=_0x63f900(_0x4fc1a5,_0x4811e8(0x1e9));return void this[_0x4811e8(0x1fe)](_0x3c316f);}const _0x53c68f=_0x4e1a73[_0x4811e8(0x1e1)]||_0x4e1a73[_0x4811e8(0x202)];if(this[_0x4811e8(0x264)]===_0x53c68f[_0x4811e8(0x266)])await this[_0x4811e8(0x21e)](this[_0x4811e8(0x188)][_0x4811e8(0x22d)][_0x4811e8(0x1c6)][_0x4811e8(0x1d5)][_0x4811e8(0x27f)](),!0x0);else{const _0x124384=_0x63f900(_0x4fc1a5,_0x4811e8(0x204));this[_0x4811e8(0x1fe)](_0x124384);}}[_0x133195(0x257)](){const _0x26385b=_0x133195;this[_0x26385b(0x27e)][_0x26385b(0x287)](),this[_0x26385b(0x273)]=[],clearTimeout(this[_0x26385b(0x1d2)]),this[_0x26385b(0x1bb)](this[_0x26385b(0x27e)]);}[_0x133195(0x267)](_0x46e924){const _0x15f9a2=_0x133195,_0x58c346=this[_0x15f9a2(0x188)][_0x15f9a2(0x20a)][_0x15f9a2(0x18c)](_0x477472);this[_0x15f9a2(0x1ca)](_0x58c346,_0x15f9a2(0x23e)+this[_0x15f9a2(0x226)],(_0x553881,{session:_0x4c7f26})=>{const _0x4b30e4=_0x15f9a2;if(_0x4c7f26['id']===_0x58c346[_0x4b30e4(0x252)]){_0x553881[_0x4b30e4(0x249)]();const _0x492550=this[_0x4b30e4(0x188)][_0x4b30e4(0x20a)][_0x4b30e4(0x1c4)](_0x4b30e4(0x25a))&&this[_0x4b30e4(0x188)][_0x4b30e4(0x20a)][_0x4b30e4(0x18c)](_0x4b30e4(0x25a));let _0x382a94=_0x4c7f26[_0x4b30e4(0x261)];_0x492550&&_0x492550[_0x4b30e4(0x272)]&&(_0x382a94=_0x382a94[_0x4b30e4(0x243)](_0x95d206=>_0x4b30e4(0x25d)!==_0x95d206)),this[_0x4b30e4(0x188)][_0x4b30e4(0x20a)][_0x4b30e4(0x18c)](_0x4b30e4(0x19b))[_0x4b30e4(0x1a1)](_0x382a94,this[_0x4b30e4(0x226)]);}}),_0x58c346[_0x15f9a2(0x235)](this[_0x15f9a2(0x226)],_0x46e924);}[_0x133195(0x21b)](){const _0x9a11e5=_0x133195,_0x7278e0=this[_0x9a11e5(0x188)][_0x9a11e5(0x24c)][_0x9a11e5(0x1d1)];this[_0x9a11e5(0x188)][_0x9a11e5(0x24c)][_0x9a11e5(0x1d1)]=(..._0x30a616)=>{const _0x139ea8=_0x9a11e5;if(!_0x30a616[_0x30a616[_0x139ea8(0x1f4)]-0x1][_0x139ea8(0x1ff)])throw new _0x47a7a7(_0x139ea8(0x200),this);_0x7278e0[_0x139ea8(0x229)](this[_0x139ea8(0x188)][_0x139ea8(0x24c)],_0x30a616);};}[_0x133195(0x1d9)](){const _0x508367=_0x133195;this[_0x508367(0x188)][_0x508367(0x24c)]['on'](_0x508367(0x1f1),(_0x3eb722,[_0x2eca1d])=>{const _0x50c220=_0x508367;if(this[_0x50c220(0x1ba)][_0x50c220(0x256)])throw new _0x47a7a7(_0x50c220(0x1bf),this);_0x3eb722[_0x50c220(0x222)](),this[_0x50c220(0x24e)]();const _0x37a5f6=this[_0x50c220(0x188)][_0x50c220(0x1b1)][_0x50c220(0x18c)](_0x50c220(0x1a6)),_0x2041ed=this[_0x50c220(0x225)](_0x2eca1d,_0x37a5f6);0x0==_0x2041ed[_0x50c220(0x1f4)]&&_0x2041ed[_0x50c220(0x1ed)](new _0x21b674(0x0)),_0x3eb722[_0x50c220(0x246)]=this[_0x50c220(0x21e)](_0x2041ed)[_0x50c220(0x1ab)](()=>{const _0x55d1d1=_0x50c220;this[_0x55d1d1(0x188)][_0x55d1d1(0x20a)][_0x55d1d1(0x18c)](_0x504c19)[_0x55d1d1(0x275)](this),this[_0x55d1d1(0x188)][_0x55d1d1(0x24c)][_0x55d1d1(0x220)](_0x55d1d1(0x21f));})[_0x50c220(0x284)](_0x1d0330=>this[_0x50c220(0x1af)](_0x50c220(0x18e),_0x1d0330))[_0x50c220(0x206)](()=>this[_0x50c220(0x19e)]());},{'priority':_0x508367(0x274)}),this[_0x508367(0x188)]['on'](_0x508367(0x1bd),async(_0x2d9136,[_0x503aa1,_0x1915fc])=>{const _0x2d28de=_0x508367;_0x2d9136[_0x2d28de(0x222)]();const _0x3bb072=this[_0x2d28de(0x188)][_0x2d28de(0x22d)][_0x2d28de(0x1c6)][_0x2d28de(0x286)](_0x503aa1);if(!this[_0x2d28de(0x1ef)][_0x2d28de(0x1c4)](_0x503aa1)){const _0x21d5ac=_0x1915fc&&_0x1915fc[_0x2d28de(0x24c)]?_0x1915fc[_0x2d28de(0x24c)]:'',_0x5cd251=_0x1915fc&&_0x1915fc[_0x2d28de(0x288)]?_0x1915fc[_0x2d28de(0x288)]:{};await this[_0x2d28de(0x1a8)](_0x503aa1,_0x21d5ac,_0x5cd251);}this[_0x2d28de(0x188)][_0x2d28de(0x22d)][_0x2d28de(0x1da)]({'isUndoable':!0x1},()=>{const _0x1ecf5a=_0x2d28de;_0x3bb072[_0x1ecf5a(0x1eb)]=!0x0,this[_0x1ecf5a(0x188)][_0x1ecf5a(0x22d)][_0x1ecf5a(0x1c6)][_0x1ecf5a(0x221)][_0x1ecf5a(0x201)](_0x3bb072);});},{'priority':_0x508367(0x274)});}async[_0x133195(0x1f3)](_0x541d87){const _0x267e73=_0x133195,_0x2ea13d=this[_0x267e73(0x188)][_0x267e73(0x20a)][_0x267e73(0x18c)](_0x1e58d5),{connection:_0x4072c3}=this[_0x267e73(0x188)][_0x267e73(0x20a)][_0x267e73(0x18c)](_0x504c19),_0x2d2a79=new Set();for(const _0x5e0eef of _0x541d87){const _0x390f59=_0x5e0eef[_0x267e73(0x268)];_0x390f59&&!_0x2ea13d[_0x267e73(0x1e5)](_0x390f59)&&_0x2d2a79[_0x267e73(0x1cc)](_0x390f59);}if(0x0===_0x2d2a79[_0x267e73(0x1a0)])return;const _0x5aa439=await _0x43498b[_0x267e73(0x1f6)](_0x4072c3,Array[_0x267e73(0x1b9)](_0x2d2a79));for(const _0x2972a1 of _0x5aa439)_0x2ea13d[_0x267e73(0x1e5)](_0x2972a1['id'])||_0x2ea13d[_0x267e73(0x214)](_0x2972a1);}[_0x133195(0x225)](_0x383a31,_0x544618={}){const _0x3db3d3=_0x133195,_0x2dd96b=this[_0x3db3d3(0x188)][_0x3db3d3(0x22d)],_0x44d7e4=[];let _0x5bec9e=0x0;const _0x30ba16=_0x3db3d3(0x213)==typeof _0x383a31?{'main':_0x383a31}:_0x383a31;for(const _0x5375e6 of Object[_0x3db3d3(0x23d)](_0x30ba16)){if(!this[_0x3db3d3(0x1ba)][_0x3db3d3(0x21c)][_0x3db3d3(0x1c4)](_0x5375e6))throw new _0x47a7a7(_0x3db3d3(0x240),this);const _0x1ca0b1=this[_0x3db3d3(0x188)][_0x3db3d3(0x24c)][_0x3db3d3(0x207)](_0x30ba16[_0x5375e6]),_0x18f988=this[_0x3db3d3(0x1ba)][_0x3db3d3(0x286)](_0x5375e6),_0x3b6011=new _0x2ff72c(_0x2dd96b[_0x3db3d3(0x28b)](_0x18f988,0x0),_0x1ca0b1,_0x5bec9e++);_0x44d7e4[_0x3db3d3(0x1ed)](_0x3b6011);for(const [_0x10df6d,_0x1e54d7]of _0x1ca0b1[_0x3db3d3(0x26d)]){const _0x2d176d=_0x2dd96b[_0x3db3d3(0x276)](_0x2dd96b[_0x3db3d3(0x186)](_0x18f988,_0x1e54d7[_0x3db3d3(0x1aa)][_0x3db3d3(0x26c)][_0x3db3d3(0x1cb)]()),_0x2dd96b[_0x3db3d3(0x186)](_0x18f988,_0x1e54d7[_0x3db3d3(0x1b0)][_0x3db3d3(0x26c)][_0x3db3d3(0x1cb)]())),_0x2e40ef=new _0xce5723(_0x10df6d,null,_0x2d176d,_0x2dd96b[_0x3db3d3(0x26d)],!0x0,_0x5bec9e++);_0x44d7e4[_0x3db3d3(0x1ed)](_0x2e40ef);}}if(_0x544618)for(const [_0x4e6348,_0x54e6b3]of Object[_0x3db3d3(0x194)](_0x544618)){const _0x286584=_0x2dd96b[_0x3db3d3(0x1c6)][_0x3db3d3(0x286)](_0x4e6348);if(!_0x286584)throw new _0x47a7a7(_0x3db3d3(0x244),null);for(const [_0x5884e4,_0x1a1dec]of Object[_0x3db3d3(0x194)](_0x54e6b3))if(null!==_0x1a1dec){const _0x548b64=new _0x36eb46(_0x286584,_0x5884e4,null,_0x1a1dec,_0x5bec9e++);_0x44d7e4[_0x3db3d3(0x1ed)](_0x548b64);}}return _0x44d7e4;}async[_0x133195(0x1a8)](_0x1fcc3f,_0x415ad3,_0x342eb7){const _0x5606ec=_0x133195;this[_0x5606ec(0x225)]({[_0x1fcc3f]:_0x415ad3},{[_0x1fcc3f]:_0x342eb7})[_0x5606ec(0x250)]((_0x50ecc6,_0x5727b3)=>{const _0x527302=_0x5606ec;_0x50ecc6[_0x527302(0x1c5)]=this[_0x527302(0x1ba)][_0x527302(0x256)]+_0x5727b3,_0x50ecc6[_0x527302(0x21a)]=!0x0,this[_0x527302(0x1df)](_0x50ecc6);}),this[_0x5606ec(0x217)](),await this[_0x5606ec(0x27b)]();}async[_0x133195(0x1f7)](_0x29e49f,_0x550547){const _0x42922f=_0x133195;let _0x2f8044;this[_0x42922f(0x1a9)]=_0x29e49f[_0x42922f(0x1c9)];const _0x5c874a=_0x29e49f[_0x42922f(0x187)]&&!_0x29e49f[_0x42922f(0x26a)],_0x4ce3a9=_0x5c874a?0x0:_0x29e49f[_0x42922f(0x24c)][_0x42922f(0x1c5)];if(_0x550547[_0x42922f(0x250)](_0x40b3a0=>{const _0x555001=_0x42922f;_0x40b3a0[_0x555001(0x21a)]=!0x0,_0x40b3a0[_0x555001(0x255)]=_0x29e49f[_0x555001(0x203)],_0x40b3a0[_0x555001(0x268)]=null;}),_0x5c874a)_0x2f8044=_0x550547,this[_0x42922f(0x1c7)](_0x2f8044,_0x5c874a);else{if(_0x29e49f[_0x42922f(0x26a)]){const _0x51baf9=this[_0x42922f(0x225)](_0x29e49f[_0x42922f(0x26a)]);this[_0x42922f(0x1ba)][_0x42922f(0x1d5)][_0x42922f(0x256)]=-_0x51baf9[_0x42922f(0x1f4)],_0x51baf9[_0x42922f(0x250)](_0xa7d76f=>{const _0x44c167=_0x42922f;_0xa7d76f[_0x44c167(0x1c5)]-=_0x51baf9[_0x44c167(0x1f4)],_0xa7d76f[_0x44c167(0x255)]=_0x29e49f[_0x44c167(0x203)],_0xa7d76f[_0x44c167(0x21a)]=!0x0,_0xa7d76f[_0x44c167(0x268)]=null;}),this[_0x42922f(0x1c7)](_0x51baf9,!0x0),this[_0x42922f(0x193)][_0x42922f(0x256)]=-_0x51baf9[_0x42922f(0x1f4)]+this[_0x42922f(0x1a9)],this[_0x42922f(0x259)](_0x51baf9);}this[_0x42922f(0x1ba)][_0x42922f(0x1d5)][_0x42922f(0x256)]=_0x4ce3a9,_0x2f8044=this[_0x42922f(0x210)](_0x29e49f[_0x42922f(0x24c)],_0x29e49f[_0x42922f(0x258)]),await this[_0x42922f(0x1f3)](_0x2f8044),this[_0x42922f(0x1c7)](_0x2f8044,_0x5c874a);}_0x29e49f[_0x42922f(0x266)]&&(this[_0x42922f(0x227)][_0x42922f(0x1a5)](_0x2f8044,_0x29e49f[_0x42922f(0x266)]),this[_0x42922f(0x264)]=_0x29e49f[_0x42922f(0x266)]),this[_0x42922f(0x193)][_0x42922f(0x256)]=_0x4ce3a9+this[_0x42922f(0x1a9)],this[_0x42922f(0x259)](_0x2f8044),_0x550547[_0x42922f(0x243)](_0x36bf09=>{const _0x3852cf=_0x42922f,_0x3cf820=this[_0x3852cf(0x1fc)](_0x36bf09);return _0x3cf820&&!this[_0x3852cf(0x1ef)][_0x3852cf(0x1c4)](_0x3cf820);})[_0x42922f(0x250)]((_0x437df4,_0x59525c)=>{const _0x81bdb=_0x42922f;_0x437df4[_0x81bdb(0x1c5)]=this[_0x81bdb(0x1ba)][_0x81bdb(0x256)]+_0x59525c,this[_0x81bdb(0x1df)](_0x437df4);}),this[_0x42922f(0x228)]()?(this[_0x42922f(0x18b)]=0x0,this[_0x42922f(0x217)](!0x0),await this[_0x42922f(0x27b)]()):(this[_0x42922f(0x1b6)]=!0x1,this[_0x42922f(0x19e)]());}[_0x133195(0x1af)](_0x3ee0a6,_0x4ba0d1){const _0x365b56=_0x133195,_0x925aa0=_0x4ba0d1&&_0x4ba0d1[_0x365b56(0x236)];if(_0x925aa0&&_0x925aa0[_0x365b56(0x278)](_0x365b56(0x216)))throw _0x4ba0d1;const _0x469686=this[_0x365b56(0x188)][_0x365b56(0x20a)][_0x365b56(0x18c)](_0x504c19);throw this[_0x365b56(0x1b6)]=!0x0,_0x469686[_0x365b56(0x287)](),this[_0x365b56(0x188)][_0x365b56(0x242)](_0x365b56(0x1d0)),new _0x47a7a7(_0x3ee0a6,this[_0x365b56(0x188)],_0x925aa0?{'originalError':_0x925aa0}:void 0x0);}[_0x133195(0x1df)](_0x4ab274){const _0x34d56d=_0x133195;this[_0x34d56d(0x1e7)][_0x34d56d(0x1c4)](_0x4ab274)||(this[_0x34d56d(0x1e7)][_0x34d56d(0x1cc)](_0x4ab274),this[_0x34d56d(0x273)][_0x34d56d(0x1ed)](_0x4ab274),this[_0x34d56d(0x1ac)]||_0x34d56d(0x22a)==_0x4ab274[_0x34d56d(0x18a)]&&!_0x4ab274[_0x34d56d(0x208)]||this[_0x34d56d(0x24e)]());}[_0x133195(0x217)](_0x207a8b=!0x1){const _0x33dfad=_0x133195;!_0x207a8b&&this[_0x33dfad(0x1b6)]||(this[_0x33dfad(0x1b6)]=!0x0,clearTimeout(this[_0x33dfad(0x1d2)]),this[_0x33dfad(0x1d2)]=setTimeout(()=>{const _0x1dc096=_0x33dfad;this[_0x1dc096(0x1e8)]()[_0x1dc096(0x1ab)](_0x4b4fef=>{const _0xe7d71f=_0x1dc096;_0x4b4fef&&(this[_0xe7d71f(0x19e)](),this[_0xe7d71f(0x1b6)]=!0x1);})[_0x1dc096(0x284)](_0x20ac26=>{const _0xe0f3aa=_0x1dc096;this[_0xe0f3aa(0x19e)](),this[_0xe0f3aa(0x1b6)]=!0x1,function(_0x2762d0){const _0x3efbc2=_0xe0f3aa;return _0x2762d0[_0x3efbc2(0x236)][_0x3efbc2(0x278)](_0x3efbc2(0x1db))||_0x2762d0[_0x3efbc2(0x236)][_0x3efbc2(0x278)](_0x3efbc2(0x24f))||_0x2762d0[_0x3efbc2(0x236)][_0x3efbc2(0x278)](_0x3efbc2(0x1de));}(_0x20ac26)||this[_0xe0f3aa(0x1af)](_0x20ac26[_0xe0f3aa(0x236)],_0x20ac26);});},this[_0x33dfad(0x18b)]));}[_0x133195(0x27b)](){return new Promise(_0x844a75=>{const _0x188b7f=_0x2d82;this['on'](_0x188b7f(0x19c),()=>{_0x844a75();});});}async[_0x133195(0x1e8)](){const _0x750236=_0x133195,_0x27def4=this[_0x750236(0x188)][_0x750236(0x20a)][_0x750236(0x18c)](_0x527b60);if(this[_0x750236(0x25e)]()&&(_0x27def4[_0x750236(0x1b7)](),this[_0x750236(0x218)]=!0x1),!this[_0x750236(0x228)]())return!0x0;const _0x3d482a=[...this[_0x750236(0x273)]];for(const _0x2c3922 of _0x3d482a)_0x2c3922[_0x750236(0x260)]=this[_0x750236(0x1ba)][_0x750236(0x1d5)][_0x750236(0x22e)](_0x2c3922);const _0x2e7dab=this[_0x750236(0x227)][_0x750236(0x271)](_0x3d482a),_0x2ad82b=C++,_0x449e28=this[_0x750236(0x230)](_0x3d482a),_0x265c81=await this[_0x750236(0x27e)][_0x750236(0x1f5)](_0x449e28,_0x449e28[_0x750236(0x1c5)],_0x2e7dab);try{return await this[_0x750236(0x20e)](_0x3d482a,_0x265c81,_0x2ad82b);}catch(_0x488ceb){return this[_0x750236(0x1af)](_0x750236(0x1d6),_0x488ceb);}}async[_0x133195(0x20e)](_0x47a260,_0xd81d92,_0x48253a){const _0x1e8a51=_0x133195;if(_0x1e8a51(0x245)in _0xd81d92)throw _0xd81d92[_0x1e8a51(0x245)];let _0x1e785b=!0x1;if(_0xd81d92[_0x1e8a51(0x187)]){_0xd81d92[_0x1e8a51(0x266)]&&(this[_0x1e8a51(0x264)]=_0xd81d92[_0x1e8a51(0x266)]),this[_0x1e8a51(0x273)]=this[_0x1e8a51(0x273)][_0x1e8a51(0x243)](_0x39b0cc=>!_0x47a260[_0x1e8a51(0x282)](_0x39b0cc));for(const _0xaf6fdd of _0x47a260)_0xaf6fdd[_0x1e8a51(0x255)]=_0x1e8a51(0x212)in _0xd81d92&&_0xd81d92[_0x1e8a51(0x212)]||void 0x0;N(_0x47a260,_0xd81d92[_0x1e8a51(0x256)]-_0x47a260[_0x1e8a51(0x1f4)]),this[_0x1e8a51(0x259)](_0x47a260);const _0x3e88fc=_0x47a260[_0x1e8a51(0x243)](_0x201c85=>{const _0x5289b9=_0x1e8a51;if(!_0x201c85[_0x5289b9(0x21a)])return!0x1;const _0x3d39e1=this[_0x5289b9(0x1fc)](_0x201c85);return _0x3d39e1&&!this[_0x5289b9(0x1ef)][_0x5289b9(0x1c4)](_0x3d39e1);});N(_0x3e88fc,this[_0x1e8a51(0x1ba)][_0x1e8a51(0x256)]),this[_0x1e8a51(0x1c7)](_0x3e88fc),_0x1e785b=!0x0,this[_0x1e8a51(0x18b)]=this[_0x1e8a51(0x18d)];}else{const _0x40ea0a=this[_0x1e8a51(0x210)](_0xd81d92[_0x1e8a51(0x24c)],_0xd81d92[_0x1e8a51(0x258)])[_0x1e8a51(0x243)](_0x21729c=>_0x21729c[_0x1e8a51(0x1c5)]>=this[_0x1e8a51(0x191)]);_0x40ea0a[_0x1e8a51(0x250)](_0x18118a=>this[_0x1e8a51(0x1ad)](_0x18118a)),this[_0x1e8a51(0x273)]=this[_0x1e8a51(0x273)][_0x1e8a51(0x243)](_0x27681a=>!_0x27681a[_0x1e8a51(0x21a)]||!this[_0x1e8a51(0x1ef)][_0x1e8a51(0x1c4)](this[_0x1e8a51(0x1fc)](_0x27681a))),this[_0x1e8a51(0x273)][_0x1e8a51(0x1f4)]&&N(this[_0x1e8a51(0x273)],this[_0x1e8a51(0x273)][0x0][_0x1e8a51(0x1c5)]),await this[_0x1e8a51(0x1f3)](_0x40ea0a),_0x1e785b=this[_0x1e8a51(0x209)](_0x40ea0a,_0xd81d92[_0x1e8a51(0x256)],_0xd81d92[_0x1e8a51(0x266)]),this[_0x1e8a51(0x18b)]=Math[_0x1e8a51(0x219)](this[_0x1e8a51(0x18b)]/0x2);}return _0x1e785b?!this[_0x1e8a51(0x228)]()||(this[_0x1e8a51(0x217)](!0x0),!0x1):this[_0x1e8a51(0x1af)](_0x1e8a51(0x1b3));}[_0x133195(0x209)](_0x5b37a6,_0x7d2bbc,_0x2f08a7){const _0x22382c=_0x133195;try{const _0x56887d={'document':this[_0x22382c(0x1ba)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x46a7d4,operationsB:_0x11f0d0,originalOperations:_0x20f3f8}=_0x27d3d6(_0x5b37a6,this[_0x22382c(0x273)],_0x56887d);N(_0x46a7d4,this[_0x22382c(0x1ba)][_0x22382c(0x256)]),N(_0x11f0d0,_0x7d2bbc);for(const _0x22568c of _0x46a7d4){const _0x372d8b=_0x20f3f8[_0x22382c(0x18c)](_0x22568c);_0x22568c[_0x22382c(0x268)]=_0x372d8b?_0x372d8b[_0x22382c(0x268)]:null;}_0x2f08a7&&(this[_0x22382c(0x227)][_0x22382c(0x1a5)](_0x5b37a6,_0x2f08a7),this[_0x22382c(0x264)]=_0x2f08a7),this[_0x22382c(0x273)]=[..._0x11f0d0],this[_0x22382c(0x1c7)](_0x46a7d4),this[_0x22382c(0x259)](_0x5b37a6);}catch(_0x8bc36f){return console[_0x22382c(0x245)](_0x8bc36f),!0x1;}return!0x0;}[_0x133195(0x1c7)](_0xd10023,_0xbbce42=!0x1){const _0x42063f=_0x133195;this[_0x42063f(0x188)][_0x42063f(0x22d)][_0x42063f(0x1da)]({'isUndoable':!0x1,'isLocal':!0x1},_0x13feb7=>{const _0xe0a089=_0x42063f;for(const _0x4a90bc of _0xd10023)this[_0xe0a089(0x1e7)][_0xe0a089(0x1cc)](_0x4a90bc),this[_0xe0a089(0x1ad)](_0x4a90bc),_0x13feb7[_0xe0a089(0x24b)][_0xe0a089(0x215)](_0x4a90bc),this[_0xe0a089(0x188)][_0xe0a089(0x22d)][_0xe0a089(0x1c3)](_0x4a90bc);});}[_0x133195(0x1ad)](_0x153da0){const _0x44967d=_0x133195,_0x408f75=this[_0x44967d(0x1fc)](_0x153da0);_0x408f75&&this[_0x44967d(0x1ef)][_0x44967d(0x1cc)](_0x408f75);}[_0x133195(0x1fc)](_0x4c69d1){const _0x5179fb=_0x133195;let _0x20810d,_0x176d54;switch(_0x4c69d1[_0x5179fb(0x18a)]){case _0x5179fb(0x20d):_0x20810d=_0x4c69d1[_0x5179fb(0x23a)][_0x5179fb(0x25f)];break;case _0x5179fb(0x22a):if(_0x176d54=_0x4c69d1[_0x5179fb(0x285)],!_0x176d54)return null;_0x20810d=_0x176d54[_0x5179fb(0x25f)];break;case _0x5179fb(0x195):_0x20810d=_0x4c69d1[_0x5179fb(0x25f)];break;case _0x5179fb(0x25c):_0x20810d=_0x4c69d1[_0x5179fb(0x280)];break;case _0x5179fb(0x262):_0x20810d=_0x4c69d1[_0x5179fb(0x247)][_0x5179fb(0x25f)];break;default:return null;}return _0x20810d[_0x5179fb(0x223)];}[_0x133195(0x259)](_0x5a2502){const _0x1f9272=_0x133195;_0x5a2502[_0x1f9272(0x250)](_0xbeb760=>{const _0x2aeef9=_0x1f9272,_0x4fd36d=_0xbeb760[_0x2aeef9(0x1fb)]();_0x4fd36d[_0x2aeef9(0x268)]=_0xbeb760[_0x2aeef9(0x268)],_0x4fd36d[_0x2aeef9(0x21a)]=!!_0xbeb760[_0x2aeef9(0x21a)],_0x4fd36d[_0x2aeef9(0x255)]=_0xbeb760[_0x2aeef9(0x255)],_0x4fd36d[_0x2aeef9(0x1c5)]+=this[_0x2aeef9(0x1a9)],_0xbeb760[_0x2aeef9(0x24a)]&&this[_0x2aeef9(0x254)][_0x2aeef9(0x1cc)](_0x4fd36d),this[_0x2aeef9(0x193)][_0x2aeef9(0x215)](_0x4fd36d);});}[_0x133195(0x1fe)](_0x188419){const _0x3f8dab=_0x133195,_0x4c4766=this[_0x3f8dab(0x188)][_0x3f8dab(0x20a)][_0x3f8dab(0x18c)](_0x3f8dab(0x248)),_0x24406f=this[_0x3f8dab(0x188)][_0x3f8dab(0x241)];_0x188419||(_0x188419=_0x63f900(_0x24406f,_0x3f8dab(0x1d7))),_0x4c4766[_0x3f8dab(0x1a4)](_0x188419,{'title':_0x63f900(_0x24406f,_0x3f8dab(0x22c)),'namespace':_0x3f8dab(0x27a)}),this[_0x3f8dab(0x1e4)]=!0x0,clearTimeout(this[_0x3f8dab(0x1d2)]),this[_0x3f8dab(0x273)]=[],this[_0x3f8dab(0x188)][_0x3f8dab(0x20a)][_0x3f8dab(0x18c)](_0x504c19)[_0x3f8dab(0x287)]();}[_0x133195(0x24e)](){const _0x4df3fa=_0x133195;this[_0x4df3fa(0x1ac)]||(this[_0x4df3fa(0x1ac)]=this[_0x4df3fa(0x188)][_0x4df3fa(0x20a)][_0x4df3fa(0x18c)](_0xcdd2cb)[_0x4df3fa(0x1cc)](_0x63f900(this[_0x4df3fa(0x188)][_0x4df3fa(0x241)],_0x4df3fa(0x27d))));}[_0x133195(0x19e)](){const _0x13522e=_0x133195;this[_0x13522e(0x1ac)]&&(this[_0x13522e(0x188)][_0x13522e(0x20a)][_0x13522e(0x18c)](_0xcdd2cb)[_0x13522e(0x1ec)](this[_0x13522e(0x1ac)]),this[_0x13522e(0x1ac)]=null);}[_0x133195(0x230)](_0x392b2b){const _0x29e611=_0x133195,_0x400e84=_0x392b2b[_0x29e611(0x1d3)](_0x1951d6=>_0x1951d6[_0x29e611(0x269)]());return this[_0x29e611(0x26f)][_0x29e611(0x233)](_0x400e84);}[_0x133195(0x210)](_0x1c0ad3,_0x175037){const _0x2b6fad=_0x133195;return this[_0x2b6fad(0x26f)][_0x2b6fad(0x238)](_0x1c0ad3)[_0x2b6fad(0x1d3)]((_0x48a562,_0x3dbffb)=>{const _0x4158a1=_0x2b6fad,_0x4345ce=_0x4158a1(0x1f1)==_0x175037[_0x3dbffb][_0x4158a1(0x18a)];if(_0x4158a1(0x198)==_0x48a562[_0x4158a1(0x224)]){const _0x2e802e=_0x48a562[_0x4158a1(0x23a)][_0x4158a1(0x25f)];!this[_0x4158a1(0x1ba)][_0x4158a1(0x286)](_0x2e802e)&&(this[_0x4158a1(0x1ba)][_0x4158a1(0x192)](_0x4158a1(0x1f2),_0x2e802e)[_0x4158a1(0x190)]=!0x1);}const _0x2ae39b=_0x60e697[_0x4158a1(0x23c)](_0x48a562,this[_0x4158a1(0x1ba)]);return _0x2ae39b[_0x4158a1(0x260)]=_0x48a562[_0x4158a1(0x260)],_0x2ae39b[_0x4158a1(0x21a)]=_0x4345ce,_0x2ae39b[_0x4158a1(0x268)]=_0x4345ce?null:_0x175037[_0x3dbffb][_0x4158a1(0x1f8)],_0x2ae39b[_0x4158a1(0x24a)]=_0x4158a1(0x27c)===_0x175037[_0x3dbffb][_0x4158a1(0x18a)],_0x2ae39b[_0x4158a1(0x255)]=_0x175037[_0x3dbffb][_0x4158a1(0x255)],_0x2ae39b;});}[_0x133195(0x1dc)](){const _0x835a6c=_0x133195;this[_0x835a6c(0x218)]=!0x0,this[_0x835a6c(0x25e)]()?this[_0x835a6c(0x217)]():this[_0x835a6c(0x218)]=!0x1;}[_0x133195(0x25e)](){const _0x360904=_0x133195,_0x52965e=this[_0x360904(0x188)][_0x360904(0x20a)][_0x360904(0x18c)](_0x477472)[_0x360904(0x234)][_0x360904(0x18c)](this[_0x360904(0x226)]);return!this[_0x360904(0x188)][_0x360904(0x1fd)]&&!!_0x52965e&&_0x52965e[_0x360904(0x1f4)]>0x1&&this[_0x360904(0x218)];}[_0x133195(0x228)](){const _0x2c23a7=_0x133195;return this[_0x2c23a7(0x273)][_0x2c23a7(0x1f4)]>0x0||this[_0x2c23a7(0x25e)]();}}export default l;class E extends Error{}function N(_0x208948,_0x433d02){const _0x46b241=_0x133195;for(const _0x1b1985 of _0x208948)_0x1b1985[_0x46b241(0x1c5)]=_0x433d02++;}class B{[_0x133195(0x20b)];[_0x133195(0x1e2)];constructor(_0x2e8000){const _0x582b30=_0x133195;this[_0x582b30(0x20b)]=_0x2e8000,this[_0x582b30(0x1e2)]=new WeakMap();}[_0x133195(0x271)](_0x4b27d0){const _0x213f40=_0x133195;let _0x323576=_0x4b27d0[_0x213f40(0x1f4)];for(;_0x323576--;){const _0x2acafd=_0x4b27d0[_0x323576];if(!this[_0x213f40(0x20b)][_0x213f40(0x1c4)](_0x2acafd)){if(!this[_0x213f40(0x1e2)][_0x213f40(0x1c4)](_0x2acafd)){const _0x292028=_0x149e24()[_0x213f40(0x1cb)](0x1,0x12);this[_0x213f40(0x1e2)][_0x213f40(0x1d1)](_0x2acafd,_0x292028);}return this[_0x213f40(0x1e2)][_0x213f40(0x18c)](_0x2acafd);}}}[_0x133195(0x1a5)](_0x5c453c,_0x4a842b){const _0x346536=_0x133195;if(!_0x4a842b)return;let _0x132794=_0x5c453c[_0x346536(0x1f4)];for(;_0x132794--;){const _0x4e3ea2=_0x5c453c[_0x132794];this[_0x346536(0x20b)][_0x346536(0x1c4)](_0x4e3ea2)||this[_0x346536(0x1e2)][_0x346536(0x1d1)](_0x4e3ea2,_0x4a842b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x18cbb8=_0x19ad;(function(_0x55ff3e,_0x3db374){const _0x590c3a=_0x19ad,_0x2c5038=_0x55ff3e();while(!![]){try{const _0x41a04e=parseInt(_0x590c3a(0x143))/0x1*(-parseInt(_0x590c3a(0x156))/0x2)+parseInt(_0x590c3a(0x148))/0x3+-parseInt(_0x590c3a(0x14e))/0x4+parseInt(_0x590c3a(0x159))/0x5+-parseInt(_0x590c3a(0x133))/0x6+parseInt(_0x590c3a(0x13f))/0x7+parseInt(_0x590c3a(0x153))/0x8;if(_0x41a04e===_0x3db374)break;else _0x2c5038['push'](_0x2c5038['shift']());}catch(_0x47b480){_0x2c5038['push'](_0x2c5038['shift']());}}}(_0x285d,0x23a81));function _0x285d(){const _0x24ccab=['role','7391RofjQY','_users','orderNumber','_registeredSessions','sessionId','724854NsSjFc','size','isPremiumPlugin','allConnectedUsers','connected','fire','307492zgXoca','change:state','getUser','state','channelConnectedUsers','1390776lrIxUq','getUserRole','forEach','34gcwoPU','assign','isMe','268005fmrukx','requires','listenTo','remove','getUserBySessionId','user','init','stopListening','set','isOfficialPlugin','sessions-unregister-not-exist','pluginName','getUserSessions','register','sessions-register-already-registered','clear','has','channelSessions','mySessionId','get','_createUser','add','835110fKHNWu','Sessions','unregister','context','_handleSessionRemove','values','addUser','defineMe','plugins','delete','_uniqueUsersCount','_handleSessionAdd','130816LVQYIw','sessionAdd:','connection'];_0x285d=function(){return _0x24ccab;};return _0x285d();}import{ContextPlugin as _0x16deed}from'ckeditor5/src/core.js';import{Collection as _0x185699,CKEditorError as _0x1cc8d4}from'ckeditor5/src/utils.js';import _0x6fc363 from'./websocketgateway.js';import{Users as _0x153568}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x19ad(_0x5a35d1,_0x3de789){const _0x285de8=_0x285d();return _0x19ad=function(_0x19ad4b,_0x8f8ec6){_0x19ad4b=_0x19ad4b-0x12a;let _0x2fe405=_0x285de8[_0x19ad4b];return _0x2fe405;},_0x19ad(_0x5a35d1,_0x3de789);}export default class i extends _0x16deed{[_0x18cbb8(0x12e)];[_0x18cbb8(0x152)];[_0x18cbb8(0x14b)];[_0x18cbb8(0x146)];[_0x18cbb8(0x13d)];[_0x18cbb8(0x144)];static get[_0x18cbb8(0x164)](){const _0x1f8830=_0x18cbb8;return _0x1f8830(0x134);}static get[_0x18cbb8(0x162)](){return!0x0;}static get[_0x18cbb8(0x14a)](){return!0x0;}static get[_0x18cbb8(0x15a)](){return[_0x6fc363,_0x153568];}constructor(_0x190485){const _0x1e15d3=_0x18cbb8;super(_0x190485),this[_0x1e15d3(0x12e)]=new Map(),this[_0x1e15d3(0x152)]=new Map(),this[_0x1e15d3(0x14b)]=new _0x185699(),this[_0x1e15d3(0x146)]=new Map(),this[_0x1e15d3(0x13d)]=0x0,this[_0x1e15d3(0x144)]=this[_0x1e15d3(0x136)][_0x1e15d3(0x13b)][_0x1e15d3(0x130)](_0x153568);}[_0x18cbb8(0x15f)](){const _0x541cec=_0x18cbb8,_0x2ae13c=this[_0x541cec(0x136)][_0x541cec(0x13b)][_0x541cec(0x130)](_0x6fc363);this[_0x541cec(0x15b)](_0x2ae13c,_0x541cec(0x14f),(_0x3f7f8e,_0xc69856,_0x1d9451)=>{const _0x881e81=_0x541cec;if(_0x881e81(0x14c)!==_0x1d9451)this[_0x881e81(0x12e)][_0x881e81(0x155)](_0x51b318=>_0x51b318[_0x881e81(0x12c)]()),this[_0x881e81(0x152)][_0x881e81(0x155)](_0x5a8a01=>_0x5a8a01[_0x881e81(0x12c)]()),this[_0x881e81(0x14b)][_0x881e81(0x12c)]();else{for(const [_0x1ae98e,_0x47919c]of this[_0x881e81(0x146)])for(const _0x5e8d1a of _0x47919c)this[_0x881e81(0x13e)](_0x1ae98e,_0x5e8d1a);}}),this[_0x541cec(0x131)](_0x2ae13c[_0x541cec(0x141)]['me'],!0x0);}[_0x18cbb8(0x12a)](_0x1fa5c8,_0xc4d19){const _0xe6686f=_0x18cbb8;if(this[_0xe6686f(0x146)][_0xe6686f(0x12d)](_0x1fa5c8))throw new _0x1cc8d4(_0xe6686f(0x12b),null,{'channelId':_0x1fa5c8});this[_0xe6686f(0x146)][_0xe6686f(0x161)](_0x1fa5c8,_0xc4d19),this[_0xe6686f(0x12e)][_0xe6686f(0x161)](_0x1fa5c8,new _0x185699()),this[_0xe6686f(0x152)][_0xe6686f(0x161)](_0x1fa5c8,new _0x185699()),this[_0xe6686f(0x15b)](_0xc4d19,_0xe6686f(0x132),(_0x2160e5,_0x32bfae)=>this[_0xe6686f(0x13e)](_0x1fa5c8,_0x32bfae)),this[_0xe6686f(0x15b)](_0xc4d19,_0xe6686f(0x15c),(_0x1a3196,_0x466e56)=>this[_0xe6686f(0x137)](_0x1fa5c8,_0x466e56));for(const _0x5981a1 of _0xc4d19)this[_0xe6686f(0x13e)](_0x1fa5c8,_0x5981a1);}[_0x18cbb8(0x135)](_0x63e8b0){const _0xdaab0c=_0x18cbb8;if(!this[_0xdaab0c(0x146)][_0xdaab0c(0x12d)](_0x63e8b0))throw new _0x1cc8d4(_0xdaab0c(0x163),null,{'channelId':_0x63e8b0});const _0xcb1281=this[_0xdaab0c(0x146)][_0xdaab0c(0x130)](_0x63e8b0);this[_0xdaab0c(0x160)](_0xcb1281);for(const _0x1626e4 of _0xcb1281)_0xdaab0c(0x14c)===this[_0xdaab0c(0x136)][_0xdaab0c(0x13b)][_0xdaab0c(0x130)](_0x6fc363)[_0xdaab0c(0x151)]&&this[_0xdaab0c(0x137)](_0x63e8b0,_0x1626e4);this[_0xdaab0c(0x146)][_0xdaab0c(0x13c)](_0x63e8b0),this[_0xdaab0c(0x12e)][_0xdaab0c(0x13c)](_0x63e8b0),this[_0xdaab0c(0x152)][_0xdaab0c(0x13c)](_0x63e8b0);}get[_0x18cbb8(0x12f)](){const _0x3df0db=_0x18cbb8;return this[_0x3df0db(0x136)][_0x3df0db(0x13b)][_0x3df0db(0x130)](_0x6fc363)[_0x3df0db(0x141)][_0x3df0db(0x147)];}[_0x18cbb8(0x15d)](_0x8db058){const _0x4c6bf5=_0x18cbb8;for(const _0x12b793 of this[_0x4c6bf5(0x12e)][_0x4c6bf5(0x138)]())for(const _0x3ef49 of _0x12b793)if(_0x3ef49['id']===_0x8db058)return _0x3ef49[_0x4c6bf5(0x15e)];}[_0x18cbb8(0x165)](_0x1286b3,_0x415dc8){const _0x49ca78=_0x18cbb8,_0x2a4daa=_0x415dc8?[this[_0x49ca78(0x12e)][_0x49ca78(0x130)](_0x415dc8)]:this[_0x49ca78(0x12e)][_0x49ca78(0x138)](),_0x5577e5=new Set();for(const _0x593f11 of _0x2a4daa)for(const _0x37190b of _0x593f11)_0x37190b[_0x49ca78(0x15e)]['id']===_0x1286b3['id']&&_0x5577e5[_0x49ca78(0x132)](_0x37190b['id']);return _0x5577e5;}[_0x18cbb8(0x154)](_0x2789c9){const _0x258528=_0x18cbb8;for(const _0x149092 of this[_0x258528(0x12e)][_0x258528(0x138)]())for(const _0x56cb4b of _0x149092)if(_0x56cb4b[_0x258528(0x15e)]===_0x2789c9)return _0x56cb4b[_0x258528(0x142)];}[_0x18cbb8(0x13e)](_0x3b736d,_0x17a089){const _0x4504c8=_0x18cbb8;if(_0x4504c8(0x14c)!==this[_0x4504c8(0x136)][_0x4504c8(0x13b)][_0x4504c8(0x130)](_0x6fc363)[_0x4504c8(0x151)])return;const _0x12734a=_0x17a089[_0x4504c8(0x15e)],_0x4fbebb=this[_0x4504c8(0x144)][_0x4504c8(0x150)](_0x12734a['id'])||this[_0x4504c8(0x131)](_0x12734a),_0x349a76=Object[_0x4504c8(0x157)]({},_0x17a089,{'user':_0x4fbebb});this[_0x4504c8(0x12e)][_0x4504c8(0x130)](_0x3b736d)[_0x4504c8(0x132)](_0x349a76);const _0x2b0748=this[_0x4504c8(0x152)][_0x4504c8(0x130)](_0x3b736d);_0x2b0748[_0x4504c8(0x12d)](_0x4fbebb['id'])||_0x2b0748[_0x4504c8(0x132)](_0x4fbebb),this[_0x4504c8(0x14b)][_0x4504c8(0x12d)](_0x4fbebb['id'])||this[_0x4504c8(0x14b)][_0x4504c8(0x132)](_0x4fbebb,_0x4fbebb[_0x4504c8(0x158)]?0x0:void 0x0),this[_0x4504c8(0x14d)](_0x4504c8(0x140)+_0x3b736d,{'channelId':_0x3b736d,'session':_0x349a76});}[_0x18cbb8(0x137)](_0x48a327,_0x5a77c5){const _0x1fa41b=_0x18cbb8;if(_0x1fa41b(0x14c)!==this[_0x1fa41b(0x136)][_0x1fa41b(0x13b)][_0x1fa41b(0x130)](_0x6fc363)[_0x1fa41b(0x151)])return;const _0x2e254d=this[_0x1fa41b(0x152)][_0x1fa41b(0x130)](_0x48a327),_0x89a4d0=_0x5a77c5[_0x1fa41b(0x15e)];_0x89a4d0['id']&&(this[_0x1fa41b(0x12e)][_0x1fa41b(0x130)](_0x48a327)[_0x1fa41b(0x15c)](_0x5a77c5['id']),_0x2e254d[_0x1fa41b(0x12d)](_0x89a4d0['id'])&&!this[_0x1fa41b(0x165)](_0x89a4d0,_0x48a327)[_0x1fa41b(0x149)]&&_0x2e254d[_0x1fa41b(0x15c)](_0x89a4d0['id']),this[_0x1fa41b(0x14b)][_0x1fa41b(0x130)](_0x89a4d0['id'])&&!this[_0x1fa41b(0x165)](_0x89a4d0)[_0x1fa41b(0x149)]&&this[_0x1fa41b(0x14b)][_0x1fa41b(0x15c)](_0x89a4d0['id']));}[_0x18cbb8(0x131)](_0x6f831b,_0x2ac5da){const _0x48741c=_0x18cbb8,_0x18f024=this[_0x48741c(0x144)][_0x48741c(0x139)](_0x6f831b);return _0x2ac5da&&this[_0x48741c(0x144)][_0x48741c(0x13a)](_0x6f831b['id']),_0x18f024[_0x48741c(0x145)]=this[_0x48741c(0x13d)]++,_0x18f024;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x387152=_0x4bf7;(function(_0x3e6f6f,_0x5d73bd){const _0x2bbf54=_0x4bf7,_0x3be60a=_0x3e6f6f();while(!![]){try{const _0x254f9d=parseInt(_0x2bbf54(0x1a1))/0x1*(-parseInt(_0x2bbf54(0x192))/0x2)+-parseInt(_0x2bbf54(0x1b7))/0x3+parseInt(_0x2bbf54(0x19a))/0x4+parseInt(_0x2bbf54(0x1ab))/0x5*(parseInt(_0x2bbf54(0x1c2))/0x6)+parseInt(_0x2bbf54(0x1e0))/0x7*(parseInt(_0x2bbf54(0x1fd))/0x8)+parseInt(_0x2bbf54(0x1e2))/0x9*(parseInt(_0x2bbf54(0x19b))/0xa)+-parseInt(_0x2bbf54(0x195))/0xb;if(_0x254f9d===_0x5d73bd)break;else _0x3be60a['push'](_0x3be60a['shift']());}catch(_0x2853eb){_0x3be60a['push'](_0x3be60a['shift']());}}}(_0x39ea,0xd955c));import{Plugin as _0x323489}from'ckeditor5/src/core.js';import{global as _0x3f99ab,DomEmitterMixin as _0x35fbe1}from'ckeditor5/src/utils.js';import _0x59466f from'./sessions.js';import{LiveRange as _0x57348d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x323489{[_0x387152(0x1de)]=new(_0x35fbe1())();static get[_0x387152(0x1e9)](){return[_0x59466f];}static get[_0x387152(0x187)](){const _0x491ee2=_0x387152;return _0x491ee2(0x196);}static get[_0x387152(0x1d9)](){return!0x0;}static get[_0x387152(0x203)](){return!0x0;}[_0x387152(0x20e)](){const _0x439c76=_0x387152,_0x2c48a0=this[_0x439c76(0x1ba)],_0x1da9fb=_0x2c48a0[_0x439c76(0x1c6)][_0x439c76(0x18f)](_0x59466f);_0x2c48a0[_0x439c76(0x1aa)][_0x439c76(0x1df)](_0x439c76(0x1c3))[_0x439c76(0x1b0)]({'model':_0x439c76(0x1cd),'view':(_0x51229a,{writer:_0x17d9c9})=>function(_0x9cfd42,_0x528380,_0x4d7d20,_0xc964b2){const _0x57e2a9=_0x439c76,_0x561ed4=_0x9cfd42[_0x57e2a9(0x1cf)][_0x57e2a9(0x190)](':')[0x2],_0x42734f=_0x4d7d20[_0x57e2a9(0x1a7)](_0x561ed4);if(!_0x42734f||_0x561ed4===_0x4d7d20[_0x57e2a9(0x1b9)])return;if(!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)][_0x57e2a9(0x1bc)](_0x9cfd42[_0x57e2a9(0x20b)][_0x57e2a9(0x1d6)],_0x57e2a9(0x1b2)))return;const _0x5ca55c={'class':_0x57e2a9(0x1d5)+_0x42734f[_0x57e2a9(0x207)][_0x57e2a9(0x211)](),'data-name':_0x42734f[_0x57e2a9(0x20d)],'data-session-id':_0x561ed4},_0xfd9f19=_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1f9)][_0x57e2a9(0x18f)](_0x9cfd42[_0x57e2a9(0x1cf)]),_0x538653=_0xfd9f19[_0x57e2a9(0x19f)](),_0x41473c=_0x538653[_0x57e2a9(0x20c)],_0xca2d4e=_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)];if(_0x41473c&&_0xca2d4e[_0x57e2a9(0x1eb)](_0x41473c)&&_0xca2d4e[_0x57e2a9(0x1c7)](_0x41473c)&&!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1f9)][_0x57e2a9(0x18f)](_0x57e2a9(0x1af)+_0x561ed4)[_0x57e2a9(0x20f)]()[_0x57e2a9(0x1fa)])return;const _0x11bea0=_0x538653[_0x57e2a9(0x1ad)];return _0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)][_0x57e2a9(0x1bb)](_0x11bea0)&&!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x210)](_0x11bea0)&&(_0x5ca55c[_0x57e2a9(0x1bd)]=!0x1),function(_0x5bdb96,_0x27ab26,_0x1d2e39){const _0x5616ed=_0x57e2a9,_0x46caad=_0x5bdb96[_0x5616ed(0x1fe)](_0x5616ed(0x1c9),_0x27ab26);return _0x5bdb96[_0x5616ed(0x1ff)](_0x5616ed(0x1f1),!0x0,_0x46caad),_0x46caad[_0x5616ed(0x1c8)]=function(_0xb3452a){const _0x4f124b=_0x5616ed,_0x55e4d3=this[_0x4f124b(0x1d4)](_0xb3452a),_0x11f1af=document[_0x4f124b(0x1a4)](_0x4f124b(0x1c9));return _0x11f1af[_0x4f124b(0x1f8)][_0x4f124b(0x1fc)](_0x4f124b(0x201)),_0x11f1af[_0x4f124b(0x1db)](_0x4f124b(0x1bd),_0x4f124b(0x197)),_0x11f1af[_0x4f124b(0x1db)](_0x4f124b(0x1c1),_0x4f124b(0x197)),_0x11f1af[_0x4f124b(0x1ee)]=_0x1d2e39[_0x4f124b(0x20d)],_0x55e4d3[_0x4f124b(0x1c4)]=_0x4f124b(0x1e6)+_0x11f1af[_0x4f124b(0x199)]+'',_0x55e4d3[_0x4f124b(0x19c)](_0x4f124b(0x202),()=>{const _0x48a884=_0x4f124b;_0x55e4d3[_0x48a884(0x1f8)][_0x48a884(0x1fc)](_0x48a884(0x1ae));}),_0x55e4d3[_0x4f124b(0x19c)](_0x4f124b(0x205),()=>{const _0x2e7d22=_0x4f124b;_0x55e4d3[_0x2e7d22(0x1f8)][_0x2e7d22(0x1f5)](_0x2e7d22(0x1ae));}),_0x55e4d3;},_0x46caad[_0x5616ed(0x1b1)]=function(_0x43b812){const _0x1bedf1=_0x5616ed;return!(!this[_0x1bedf1(0x1a0)](_0x1bedf1(0x1f1))||!_0x43b812[_0x1bedf1(0x1a0)](_0x1bedf1(0x1f1))||this[_0x1bedf1(0x212)](_0x1bedf1(0x1e5))!=_0x43b812[_0x1bedf1(0x212)](_0x1bedf1(0x1e5)));},_0x46caad;}(_0x528380,_0x5ca55c,_0x42734f);}(_0x51229a,_0x17d9c9,_0x1da9fb,_0x2c48a0)}),_0x2c48a0[_0x439c76(0x1aa)][_0x439c76(0x1df)](_0x439c76(0x1c3))[_0x439c76(0x1b3)]({'model':_0x439c76(0x1e4),'view':_0x432aad=>function(_0x86da23,_0x42f5a5){const _0x13c015=_0x439c76,_0x796c0c=_0x86da23[_0x13c015(0x1cf)][_0x13c015(0x190)](':')[0x2];if(_0x796c0c===_0x42f5a5[_0x13c015(0x1b9)])return null;const _0x34b82b=_0x42f5a5[_0x13c015(0x1a7)](_0x796c0c);if(!_0x34b82b)return{'id':_0x796c0c,'classes':[]};return{'id':_0x796c0c,'classes':[_0x13c015(0x1fb),_0x34b82b[_0x13c015(0x207)][_0x13c015(0x1b8)]()],'attributes':{'data-session-id':_0x796c0c},'priority':0x7d0+_0x34b82b[_0x13c015(0x1dc)]};}(_0x432aad,_0x1da9fb)}),function(_0x4abb70){const _0x4d3109=_0x439c76,_0x3888da=_0x4abb70[_0x4d3109(0x1f3)],_0x189ce7=new Map(),_0x13c9e4=_0x4abb70[_0x4d3109(0x1c6)][_0x4d3109(0x18f)](_0x59466f);_0x3888da[_0x4d3109(0x1f9)]['on'](_0x4d3109(0x208),(_0x4fd51d,_0x1323e0,_0x5de24d,_0xe89f73)=>{const _0xb863ff=_0x4d3109;if(!_0xe89f73&&_0x189ce7[_0xb863ff(0x18f)](_0x1323e0[_0xb863ff(0x20d)]))return _0x189ce7[_0xb863ff(0x18f)](_0x1323e0[_0xb863ff(0x20d)])[_0xb863ff(0x1b5)](),void _0x189ce7[_0xb863ff(0x1a5)](_0x1323e0[_0xb863ff(0x20d)]);const _0x408c30=_0x1323e0[_0xb863ff(0x20d)][_0xb863ff(0x190)](':')[0x2];if(_0x408c30===_0x13c9e4[_0xb863ff(0x1b9)])return;const _0x176ff4=_0xb863ff(0x1ca)+_0x408c30;_0x3888da[_0xb863ff(0x1f9)][_0xb863ff(0x18a)](_0x176ff4)&&_0x4abb70[_0xb863ff(0x200)][_0xb863ff(0x1ec)](_0x176ff4),_0x1323e0['on'](_0xb863ff(0x1b6),(_0x3a75bd,_0x47ff79,_0x52c1e9)=>{const _0xefeda2=_0xb863ff;if(_0xefeda2(0x1c5)!=_0x47ff79[_0xefeda2(0x198)][_0xefeda2(0x18d)]&&_0xefeda2(0x1c5)==_0x1323e0[_0xefeda2(0x20f)]()[_0xefeda2(0x198)][_0xefeda2(0x18d)]&&!_0x189ce7[_0xefeda2(0x18a)](_0x1323e0[_0xefeda2(0x20d)])){const _0x492c42=_0x3888da[_0xefeda2(0x1a8)][_0xefeda2(0x209)](_0x52c1e9[_0xefeda2(0x1d2)]);if(_0x492c42){const _0x225152=_0x57348d[_0xefeda2(0x191)](_0x492c42);_0x189ce7[_0xefeda2(0x1cc)](_0x1323e0[_0xefeda2(0x20d)],_0x225152),_0x225152['on'](_0xefeda2(0x1b6),(_0x26d0e8,_0x155efe,_0x20c34f)=>{const _0x5587d6=_0xefeda2;if(_0x5587d6(0x1c5)==_0x225152[_0x5587d6(0x198)][_0x5587d6(0x18d)]){const _0x5369cb=_0x3888da[_0x5587d6(0x1a8)][_0x5587d6(0x209)](_0x20c34f[_0x5587d6(0x1d2)]);_0x5369cb?(_0x225152[_0x5587d6(0x1d6)]=_0x5369cb[_0x5587d6(0x1d6)],_0x225152[_0x5587d6(0x1dd)]=_0x5369cb[_0x5587d6(0x1dd)]):(_0x189ce7[_0x5587d6(0x1a5)](_0x1323e0[_0x5587d6(0x20d)]),_0x225152[_0x5587d6(0x1b5)]());}});}}});}),_0x3888da[_0x4d3109(0x1e3)]['on'](_0x4d3109(0x1ea),()=>{const _0x2a8e9e=_0x4d3109;_0x189ce7[_0x2a8e9e(0x1e8)]>0x0&&_0x3888da[_0x2a8e9e(0x1d0)]({'isUndoable':!0x1},_0x3c3fd9=>{const _0x39ae30=_0x2a8e9e;for(const [_0x14d672,_0x31def4]of _0x189ce7)_0x39ae30(0x1c5)==_0x3888da[_0x39ae30(0x1f9)][_0x39ae30(0x18f)](_0x14d672)[_0x39ae30(0x20f)]()[_0x39ae30(0x198)][_0x39ae30(0x18d)]&&(te(_0x14d672[_0x39ae30(0x190)](':')[0x2],_0x31def4[_0x39ae30(0x1ce)](),_0x3888da,_0x3c3fd9),_0x31def4[_0x39ae30(0x1b5)]());_0x189ce7[_0x39ae30(0x1f4)]();});});}(_0x2c48a0),this[_0x439c76(0x1de)][_0x439c76(0x18e)](_0x3f99ab[_0x439c76(0x1e3)],_0x439c76(0x1f2),(_0x5bea5e,{key:_0x48dcc3})=>{const _0xe0b3c5=_0x439c76;_0xe0b3c5(0x1a3)===_0x48dcc3&&function(_0x2b55fa){const _0x3b39af=_0xe0b3c5;_0x2b55fa[_0x3b39af(0x200)][_0x3b39af(0x1a2)][_0x3b39af(0x1ea)](_0x17a161=>{const _0x30380f=_0x3b39af;for(const _0x3be413 of _0x2b55fa[_0x30380f(0x1f3)][_0x30380f(0x1f9)]){if(!_0x3be413[_0x30380f(0x20d)][_0x30380f(0x1a9)](_0x30380f(0x1cd)))continue;const _0x14fd80=_0x2b55fa[_0x30380f(0x200)][_0x30380f(0x1f6)][_0x30380f(0x1d1)](_0x3be413[_0x30380f(0x20d)]);if(_0x14fd80){for(const _0x5392f8 of _0x14fd80)_0x17a161[_0x30380f(0x1f0)](_0x30380f(0x1ae),_0x5392f8);}}});}(_0x2c48a0);},{'useCapture':!0x0});}[_0x387152(0x1d7)](){const _0x15af41=_0x387152,_0x1a988b=this[_0x15af41(0x1ba)],_0x26f9b7=_0x1a988b[_0x15af41(0x18b)][_0x15af41(0x18f)](_0x15af41(0x1f7));_0x26f9b7&&_0x1a988b[_0x15af41(0x1f3)]['on'](_0x15af41(0x1be),(_0x2d2a91,_0x84e5e)=>{const _0xca4512=_0x15af41,_0x280d37=_0x84e5e[0x0];if(!_0x280d37[_0xca4512(0x19d)])return;if(_0xca4512(0x1d8)!=_0x280d37[_0xca4512(0x1ed)]||!_0x280d37[_0xca4512(0x20d)][_0xca4512(0x1a9)](_0xca4512(0x188)))return;const _0x32cb3b=_0x280d37[_0xca4512(0x1bf)];_0x26f9b7[_0xca4512(0x1da)][_0xca4512(0x18a)](_0x32cb3b)&&(_0x280d37[_0xca4512(0x1ac)]=_0x280d37[_0xca4512(0x18c)]?_0x1a988b[_0xca4512(0x1f3)][_0xca4512(0x194)](_0x280d37[_0xca4512(0x18c)][_0xca4512(0x1d6)],_0x280d37[_0xca4512(0x18c)][_0xca4512(0x1dd)]):null);},{'priority':_0x15af41(0x1c0)});}[_0x387152(0x1e1)](){const _0xcd062=_0x387152;return this[_0xcd062(0x1de)][_0xcd062(0x189)](),super[_0xcd062(0x1e1)]();}[_0x387152(0x20a)](){const _0x11f6c7=_0x387152,_0x36e5bd=this[_0x11f6c7(0x1ba)],_0x3e4725=_0x36e5bd[_0x11f6c7(0x1f3)][_0x11f6c7(0x1e3)],_0x5dac52=_0x36e5bd[_0x11f6c7(0x1c6)][_0x11f6c7(0x18f)](_0x59466f);_0x36e5bd[_0x11f6c7(0x1f3)][_0x11f6c7(0x1d0)]({'isUndoable':!0x1},_0x280388=>{const _0x1d1d8c=_0x11f6c7,_0x79694a=_0x1d1d8c(0x1af)+_0x5dac52[_0x1d1d8c(0x1b9)],_0x24b7d8=_0x1d1d8c(0x1ca)+_0x5dac52[_0x1d1d8c(0x1b9)],_0x4d1b06=_0x36e5bd[_0x1d1d8c(0x1f3)][_0x1d1d8c(0x1f9)][_0x1d1d8c(0x18a)](_0x79694a);_0x36e5bd[_0x1d1d8c(0x200)][_0x1d1d8c(0x1a2)][_0x1d1d8c(0x1cb)]?te(_0x5dac52[_0x1d1d8c(0x1b9)],_0x3e4725[_0x1d1d8c(0x204)][_0x1d1d8c(0x1ef)](),_0x36e5bd[_0x1d1d8c(0x1f3)],_0x280388):_0x4d1b06&&(_0x280388[_0x1d1d8c(0x1e7)](_0x79694a),_0x280388[_0x1d1d8c(0x1e7)](_0x24b7d8));});}}function _0x4bf7(_0xf9796b,_0x486ba3){const _0x39ea2d=_0x39ea();return _0x4bf7=function(_0x4bf726,_0x4cdaf7){_0x4bf726=_0x4bf726-0x187;let _0x6b958=_0x39ea2d[_0x4bf726];return _0x6b958;},_0x4bf7(_0xf9796b,_0x486ba3);}function _0x39ea(){const _0x324bc4=['commands','oldRange','rootName','listenTo','get','split','fromRange','4NzgtqV','tableCell','createRange','15755850mRKMBf','UserMarkers','false','root','outerHTML','6792276FOBHMf','23070FAHEuE','addEventListener','isDocumentOperation','getContainedElement','getStart','getCustomProperty','830279JOiHxW','view','Escape','createElement','delete','updateMarker','getUserBySessionId','schema','startsWith','conversion','815jbtVEu','newRange','parent','ck-user__marker_hovered','user:range:','markerToElement','isSimilar','$text','markerToHighlight','addMarker','detach','change:range','1886880TWrjyT','getSelectionClass','mySessionId','editor','isLimit','checkChild','contenteditable','applyOperation','batch','highest','spellcheck','38814tJgaXq','editingDowncast','innerHTML','$graveyard','plugins','isInline','render','span','user:position:','hasDomSelection','set','user:position','toRange','markerName','enqueueChange','markerNameToElements','deletionPosition','element','toDomElement','ck-user__marker\x20','start','afterInit','marker','isOfficialPlugin','_createdBatches','setAttribute','orderNumber','end','_domEmitter','for','1502655PALdnc','destroy','6417xfRnQn','document','user:range','data-session-id','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','removeMarker','size','requires','change','isObject','reconvertMarker','type','textContent','getFirstRange','removeClass','userPositionMarker','keydown','model','clear','remove','mapper','undo','classList','markers','isCollapsed','ck-user__selection','add','8MPsUyL','createUIElement','setCustomProperty','editing','ck-user__marker-tooltip','mouseenter','isPremiumPlugin','selection','mouseleave','getPositions','color','update:user:range','getNearestSelectionRange','createUserMarkerOperations','markerRange','nodeAfter','name','init','getRange','hasContent','getMarkerClass','getAttribute','pluginName','user:','stopListening','has'];_0x39ea=function(){return _0x324bc4;};return _0x39ea();}function te(_0x957380,_0xbe9d10,_0x322fe6,_0x4c2d08){const _0x14fafb=_0x387152,_0x49c9dc=_0x14fafb(0x1af)+_0x957380,_0x2a0a49=_0x14fafb(0x1ca)+_0x957380,_0x5c54da=_0xbe9d10[_0x14fafb(0x19e)]();let _0x38c864=_0xbe9d10[_0x14fafb(0x1d6)];if(_0x5c54da&&_0x5c54da['is'](_0x14fafb(0x1d3),_0x14fafb(0x193))){const _0x521bbf=function(_0x2941b8,_0x319b81){const _0x267069=_0x14fafb;for(const _0x151be6 of _0x2941b8[_0x267069(0x206)]())if(_0x319b81[_0x267069(0x1a8)][_0x267069(0x1bc)](_0x151be6,_0x267069(0x1b2)))return _0x151be6;}(_0xbe9d10,_0x322fe6);_0x521bbf&&(_0x38c864=_0x521bbf,_0xbe9d10=_0x4c2d08[_0x14fafb(0x194)](_0x38c864));}const _0x1c4578=_0x4c2d08[_0x14fafb(0x194)](_0x38c864);_0x322fe6[_0x14fafb(0x1f9)][_0x14fafb(0x18a)](_0x49c9dc)?(_0x4c2d08[_0x14fafb(0x1a6)](_0x49c9dc,{'range':_0xbe9d10}),_0x4c2d08[_0x14fafb(0x1a6)](_0x2a0a49,{'range':_0x1c4578})):(_0x4c2d08[_0x14fafb(0x1b4)](_0x49c9dc,{'range':_0xbe9d10,'usingOperation':!0x0}),_0x4c2d08[_0x14fafb(0x1b4)](_0x2a0a49,{'range':_0x1c4578,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x3b67(_0x184735,_0x171a84){const _0x39c7d4=_0x39c7();return _0x3b67=function(_0x3b675c,_0x55ba0a){_0x3b675c=_0x3b675c-0x70;let _0x436536=_0x39c7d4[_0x3b675c];return _0x436536;},_0x3b67(_0x184735,_0x171a84);}const _0x25cdf5=_0x3b67;(function(_0x450e39,_0x3c39d){const _0x359c59=_0x3b67,_0xcc48ee=_0x450e39();while(!![]){try{const _0x587587=parseInt(_0x359c59(0xd0))/0x1+parseInt(_0x359c59(0x82))/0x2*(parseInt(_0x359c59(0xb6))/0x3)+-parseInt(_0x359c59(0x81))/0x4*(parseInt(_0x359c59(0xd8))/0x5)+parseInt(_0x359c59(0xde))/0x6*(-parseInt(_0x359c59(0xcc))/0x7)+-parseInt(_0x359c59(0xe4))/0x8+parseInt(_0x359c59(0xf9))/0x9*(parseInt(_0x359c59(0xa7))/0xa)+parseInt(_0x359c59(0xbf))/0xb;if(_0x587587===_0x3c39d)break;else _0xcc48ee['push'](_0xcc48ee['shift']());}catch(_0x194780){_0xcc48ee['push'](_0xcc48ee['shift']());}}}(_0x39c7,0x8f114));import{Plugin as _0x5c7b12}from'ckeditor5/src/core.js';import{global as _0x33a326,DomEmitterMixin as _0x338b66}from'ckeditor5/src/utils.js';import _0x1d04f1 from'./sessions.js';import{LiveRange as _0x3f34e6}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x39c7(){const _0x1e67df=['mouseleave','markerToElement','textContent','$graveyard','isObject','destroy','getNearestSelectionRange','change:range','outerHTML','orderNumber','ck-user__marker_hovered','name','setAttribute','isSimilar','14732VtmssS','2UXnFmo','undo','schema','editingDowncast','isLimit','getContainedElement','commands','$text','getStart','getPositions','clear','set','getSelectionClass','markerRange','element','_domEmitter','editor','isPremiumPlugin','createUIElement','marker','update:user:range','type','isOfficialPlugin','getCustomProperty','highest','nodeAfter','classList','init','removeMarker','stopListening','removeClass','rootName','ck-user__marker\x20','ck-user__marker-tooltip','ck-user__selection','getFirstRange','toRange','10wbhPWK','user:','change','document','afterInit','has','pluginName','innerHTML','deletionPosition','reconvertMarker','Escape','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','toDomElement','end','delete','210744aawqFr','hasContent','user:position','requires','size','false','markerName','mouseenter','mySessionId','24043481ODpVXL','batch','tableCell','user:range','createUserMarkerOperations','markerNameToElements','conversion','isCollapsed','keydown','user:position:','model','getUserBySessionId','selection','7CYmPiE','data-session-id','color','checkChild','745647ISEYLo','add','render','addMarker','oldRange','root','remove','for','1580fsuYtw','split','start','span','startsWith','view','5974188KacJfb','createRange','_createdBatches','parent','markerToHighlight','fromRange','9176216lbudLK','editing','markers','get','isDocumentOperation','listenTo','getMarkerClass','plugins','createElement','addEventListener','userPositionMarker','getRange','mapper','user:range:','hasDomSelection','setCustomProperty','contenteditable','enqueueChange','newRange','spellcheck','applyOperation','8018019WBduPe','isInline','detach','UserMarkers','updateMarker','getAttribute'];_0x39c7=function(){return _0x1e67df;};return _0x39c7();}export default class I extends _0x5c7b12{[_0x25cdf5(0x91)]=new(_0x338b66())();static get[_0x25cdf5(0xb9)](){return[_0x1d04f1];}static get[_0x25cdf5(0xad)](){const _0x45cc3c=_0x25cdf5;return _0x45cc3c(0x70);}static get[_0x25cdf5(0x98)](){return!0x0;}static get[_0x25cdf5(0x93)](){return!0x0;}[_0x25cdf5(0x9d)](){const _0x3d1731=_0x25cdf5,_0x213819=this[_0x3d1731(0x92)],_0x5f2a04=_0x213819[_0x3d1731(0xeb)][_0x3d1731(0xe7)](_0x1d04f1);_0x213819[_0x3d1731(0xc5)][_0x3d1731(0xd7)](_0x3d1731(0x85))[_0x3d1731(0x74)]({'model':_0x3d1731(0xb8),'view':(_0x5df8f6,{writer:_0x4864e4})=>function(_0x5777bb,_0x2f3773,_0x1f87dd,_0x55684a){const _0x5d41ca=_0x3d1731,_0x2e8314=_0x5777bb[_0x5d41ca(0xbc)][_0x5d41ca(0xd9)](':')[0x2],_0x2bd586=_0x1f87dd[_0x5d41ca(0xca)](_0x2e8314);if(!_0x2bd586||_0x2e8314===_0x1f87dd[_0x5d41ca(0xbe)])return;if(!_0x55684a[_0x5d41ca(0xc9)][_0x5d41ca(0x84)][_0x5d41ca(0xcf)](_0x5777bb[_0x5d41ca(0x8f)][_0x5d41ca(0xda)],_0x5d41ca(0x89)))return;const _0x4f2745={'class':_0x5d41ca(0xa2)+_0x2bd586[_0x5d41ca(0xce)][_0x5d41ca(0xea)](),'data-name':_0x2bd586[_0x5d41ca(0x7e)],'data-session-id':_0x2e8314},_0x471bbc=_0x55684a[_0x5d41ca(0xc9)][_0x5d41ca(0xe6)][_0x5d41ca(0xe7)](_0x5777bb[_0x5d41ca(0xbc)]),_0x2f5238=_0x471bbc[_0x5d41ca(0x8a)](),_0x260fab=_0x2f5238[_0x5d41ca(0x9b)],_0x29660e=_0x55684a[_0x5d41ca(0xc9)][_0x5d41ca(0x84)];if(_0x260fab&&_0x29660e[_0x5d41ca(0x77)](_0x260fab)&&_0x29660e[_0x5d41ca(0xfa)](_0x260fab)&&!_0x55684a[_0x5d41ca(0xc9)][_0x5d41ca(0xe6)][_0x5d41ca(0xe7)](_0x5d41ca(0xf1)+_0x2e8314)[_0x5d41ca(0xef)]()[_0x5d41ca(0xc6)])return;const _0x18e022=_0x2f5238[_0x5d41ca(0xe1)];return _0x55684a[_0x5d41ca(0xc9)][_0x5d41ca(0x84)][_0x5d41ca(0x86)](_0x18e022)&&!_0x55684a[_0x5d41ca(0xc9)][_0x5d41ca(0xb7)](_0x18e022)&&(_0x4f2745[_0x5d41ca(0xf4)]=!0x1),function(_0x1ae7e6,_0x2775a7,_0x31f4e9){const _0x3120ca=_0x5d41ca,_0x153274=_0x1ae7e6[_0x3120ca(0x94)](_0x3120ca(0xdb),_0x2775a7);return _0x1ae7e6[_0x3120ca(0xf3)](_0x3120ca(0xee),!0x0,_0x153274),_0x153274[_0x3120ca(0xd2)]=function(_0x2f4143){const _0x410159=_0x3120ca,_0x3c351b=this[_0x410159(0xb3)](_0x2f4143),_0x234a37=document[_0x410159(0xec)](_0x410159(0xdb));return _0x234a37[_0x410159(0x9c)][_0x410159(0xd1)](_0x410159(0xa3)),_0x234a37[_0x410159(0x7f)](_0x410159(0xf4),_0x410159(0xbb)),_0x234a37[_0x410159(0x7f)](_0x410159(0xf7),_0x410159(0xbb)),_0x234a37[_0x410159(0x75)]=_0x31f4e9[_0x410159(0x7e)],_0x3c351b[_0x410159(0xae)]=_0x410159(0xb2)+_0x234a37[_0x410159(0x7b)]+'',_0x3c351b[_0x410159(0xed)](_0x410159(0xbd),()=>{const _0x16bc16=_0x410159;_0x3c351b[_0x16bc16(0x9c)][_0x16bc16(0xd1)](_0x16bc16(0x7d));}),_0x3c351b[_0x410159(0xed)](_0x410159(0x73),()=>{const _0x7dacba=_0x410159;_0x3c351b[_0x7dacba(0x9c)][_0x7dacba(0xd6)](_0x7dacba(0x7d));}),_0x3c351b;},_0x153274[_0x3120ca(0x80)]=function(_0x2f277d){const _0x3adc7c=_0x3120ca;return!(!this[_0x3adc7c(0x99)](_0x3adc7c(0xee))||!_0x2f277d[_0x3adc7c(0x99)](_0x3adc7c(0xee))||this[_0x3adc7c(0x72)](_0x3adc7c(0xcd))!=_0x2f277d[_0x3adc7c(0x72)](_0x3adc7c(0xcd)));},_0x153274;}(_0x2f3773,_0x4f2745,_0x2bd586);}(_0x5df8f6,_0x4864e4,_0x5f2a04,_0x213819)}),_0x213819[_0x3d1731(0xc5)][_0x3d1731(0xd7)](_0x3d1731(0x85))[_0x3d1731(0xe2)]({'model':_0x3d1731(0xc2),'view':_0x49d757=>function(_0x5da714,_0x2c4dd3){const _0x48cadd=_0x3d1731,_0x47c556=_0x5da714[_0x48cadd(0xbc)][_0x48cadd(0xd9)](':')[0x2];if(_0x47c556===_0x2c4dd3[_0x48cadd(0xbe)])return null;const _0x2c4e54=_0x2c4dd3[_0x48cadd(0xca)](_0x47c556);if(!_0x2c4e54)return{'id':_0x47c556,'classes':[]};return{'id':_0x47c556,'classes':[_0x48cadd(0xa4),_0x2c4e54[_0x48cadd(0xce)][_0x48cadd(0x8e)]()],'attributes':{'data-session-id':_0x47c556},'priority':0x7d0+_0x2c4e54[_0x48cadd(0x7c)]};}(_0x49d757,_0x5f2a04)}),function(_0x355e86){const _0x2fc3a9=_0x3d1731,_0x187475=_0x355e86[_0x2fc3a9(0xc9)],_0x42ea9a=new Map(),_0x226ff4=_0x355e86[_0x2fc3a9(0xeb)][_0x2fc3a9(0xe7)](_0x1d04f1);_0x187475[_0x2fc3a9(0xe6)]['on'](_0x2fc3a9(0x96),(_0x29e80a,_0x2a9a6c,_0x4b20e4,_0x683d1a)=>{const _0x48af32=_0x2fc3a9;if(!_0x683d1a&&_0x42ea9a[_0x48af32(0xe7)](_0x2a9a6c[_0x48af32(0x7e)]))return _0x42ea9a[_0x48af32(0xe7)](_0x2a9a6c[_0x48af32(0x7e)])[_0x48af32(0xfb)](),void _0x42ea9a[_0x48af32(0xb5)](_0x2a9a6c[_0x48af32(0x7e)]);const _0x13befa=_0x2a9a6c[_0x48af32(0x7e)][_0x48af32(0xd9)](':')[0x2];if(_0x13befa===_0x226ff4[_0x48af32(0xbe)])return;const _0x52be95=_0x48af32(0xc8)+_0x13befa;_0x187475[_0x48af32(0xe6)][_0x48af32(0xac)](_0x52be95)&&_0x355e86[_0x48af32(0xe5)][_0x48af32(0xb0)](_0x52be95),_0x2a9a6c['on'](_0x48af32(0x7a),(_0x5b5ee9,_0x221072,_0x4568c8)=>{const _0x3441af=_0x48af32;if(_0x3441af(0x76)!=_0x221072[_0x3441af(0xd5)][_0x3441af(0xa1)]&&_0x3441af(0x76)==_0x2a9a6c[_0x3441af(0xef)]()[_0x3441af(0xd5)][_0x3441af(0xa1)]&&!_0x42ea9a[_0x3441af(0xac)](_0x2a9a6c[_0x3441af(0x7e)])){const _0x59cf90=_0x187475[_0x3441af(0x84)][_0x3441af(0x79)](_0x4568c8[_0x3441af(0xaf)]);if(_0x59cf90){const _0x2435ea=_0x3f34e6[_0x3441af(0xe3)](_0x59cf90);_0x42ea9a[_0x3441af(0x8d)](_0x2a9a6c[_0x3441af(0x7e)],_0x2435ea),_0x2435ea['on'](_0x3441af(0x7a),(_0x391431,_0x495d16,_0x2da4e2)=>{const _0x1a001c=_0x3441af;if(_0x1a001c(0x76)==_0x2435ea[_0x1a001c(0xd5)][_0x1a001c(0xa1)]){const _0xc0bea1=_0x187475[_0x1a001c(0x84)][_0x1a001c(0x79)](_0x2da4e2[_0x1a001c(0xaf)]);_0xc0bea1?(_0x2435ea[_0x1a001c(0xda)]=_0xc0bea1[_0x1a001c(0xda)],_0x2435ea[_0x1a001c(0xb4)]=_0xc0bea1[_0x1a001c(0xb4)]):(_0x42ea9a[_0x1a001c(0xb5)](_0x2a9a6c[_0x1a001c(0x7e)]),_0x2435ea[_0x1a001c(0xfb)]());}});}}});}),_0x187475[_0x2fc3a9(0xaa)]['on'](_0x2fc3a9(0xa9),()=>{const _0x17ca20=_0x2fc3a9;_0x42ea9a[_0x17ca20(0xba)]>0x0&&_0x187475[_0x17ca20(0xf5)]({'isUndoable':!0x1},_0x280c86=>{const _0x346026=_0x17ca20;for(const [_0x52d21a,_0x204404]of _0x42ea9a)_0x346026(0x76)==_0x187475[_0x346026(0xe6)][_0x346026(0xe7)](_0x52d21a)[_0x346026(0xef)]()[_0x346026(0xd5)][_0x346026(0xa1)]&&(L(_0x52d21a[_0x346026(0xd9)](':')[0x2],_0x204404[_0x346026(0xa6)](),_0x187475,_0x280c86),_0x204404[_0x346026(0xfb)]());_0x42ea9a[_0x346026(0x8c)]();});});}(_0x213819),this[_0x3d1731(0x91)][_0x3d1731(0xe9)](_0x33a326[_0x3d1731(0xaa)],_0x3d1731(0xc7),(_0x690023,{key:_0x10ec50})=>{const _0xfb1e36=_0x3d1731;_0xfb1e36(0xb1)===_0x10ec50&&function(_0x4ad653){const _0x4faf6f=_0xfb1e36;_0x4ad653[_0x4faf6f(0xe5)][_0x4faf6f(0xdd)][_0x4faf6f(0xa9)](_0xe36c74=>{const _0x32e4ba=_0x4faf6f;for(const _0xdd231f of _0x4ad653[_0x32e4ba(0xc9)][_0x32e4ba(0xe6)]){if(!_0xdd231f[_0x32e4ba(0x7e)][_0x32e4ba(0xdc)](_0x32e4ba(0xb8)))continue;const _0x56f521=_0x4ad653[_0x32e4ba(0xe5)][_0x32e4ba(0xf0)][_0x32e4ba(0xc4)](_0xdd231f[_0x32e4ba(0x7e)]);if(_0x56f521){for(const _0x3ce40e of _0x56f521)_0xe36c74[_0x32e4ba(0xa0)](_0x32e4ba(0x7d),_0x3ce40e);}}});}(_0x213819);},{'useCapture':!0x0});}[_0x25cdf5(0xab)](){const _0x284871=_0x25cdf5,_0x13c2f9=this[_0x284871(0x92)],_0x9dc3da=_0x13c2f9[_0x284871(0x88)][_0x284871(0xe7)](_0x284871(0x83));_0x9dc3da&&_0x13c2f9[_0x284871(0xc9)]['on'](_0x284871(0xf8),(_0x257b6d,_0x3362b2)=>{const _0x4c6a37=_0x284871,_0x597651=_0x3362b2[0x0];if(!_0x597651[_0x4c6a37(0xe8)])return;if(_0x4c6a37(0x95)!=_0x597651[_0x4c6a37(0x97)]||!_0x597651[_0x4c6a37(0x7e)][_0x4c6a37(0xdc)](_0x4c6a37(0xa8)))return;const _0x2b0e10=_0x597651[_0x4c6a37(0xc0)];_0x9dc3da[_0x4c6a37(0xe0)][_0x4c6a37(0xac)](_0x2b0e10)&&(_0x597651[_0x4c6a37(0xf6)]=_0x597651[_0x4c6a37(0xd4)]?_0x13c2f9[_0x4c6a37(0xc9)][_0x4c6a37(0xdf)](_0x597651[_0x4c6a37(0xd4)][_0x4c6a37(0xda)],_0x597651[_0x4c6a37(0xd4)][_0x4c6a37(0xb4)]):null);},{'priority':_0x284871(0x9a)});}[_0x25cdf5(0x78)](){const _0x1ff6ff=_0x25cdf5;return this[_0x1ff6ff(0x91)][_0x1ff6ff(0x9f)](),super[_0x1ff6ff(0x78)]();}[_0x25cdf5(0xc3)](){const _0x3cc697=_0x25cdf5,_0x2e5a1f=this[_0x3cc697(0x92)],_0x3cf4fb=_0x2e5a1f[_0x3cc697(0xc9)][_0x3cc697(0xaa)],_0x48e785=_0x2e5a1f[_0x3cc697(0xeb)][_0x3cc697(0xe7)](_0x1d04f1);_0x2e5a1f[_0x3cc697(0xc9)][_0x3cc697(0xf5)]({'isUndoable':!0x1},_0x54de53=>{const _0x9c5a1e=_0x3cc697,_0x5d3c8a=_0x9c5a1e(0xf1)+_0x48e785[_0x9c5a1e(0xbe)],_0x206545=_0x9c5a1e(0xc8)+_0x48e785[_0x9c5a1e(0xbe)],_0x1705fc=_0x2e5a1f[_0x9c5a1e(0xc9)][_0x9c5a1e(0xe6)][_0x9c5a1e(0xac)](_0x5d3c8a);_0x2e5a1f[_0x9c5a1e(0xe5)][_0x9c5a1e(0xdd)][_0x9c5a1e(0xf2)]?L(_0x48e785[_0x9c5a1e(0xbe)],_0x3cf4fb[_0x9c5a1e(0xcb)][_0x9c5a1e(0xa5)](),_0x2e5a1f[_0x9c5a1e(0xc9)],_0x54de53):_0x1705fc&&(_0x54de53[_0x9c5a1e(0x9e)](_0x5d3c8a),_0x54de53[_0x9c5a1e(0x9e)](_0x206545));});}}function L(_0x2e8b37,_0x9e685c,_0x267a31,_0x289477){const _0x4455d4=_0x25cdf5,_0x3a0db=_0x4455d4(0xf1)+_0x2e8b37,_0x22a488=_0x4455d4(0xc8)+_0x2e8b37,_0x15a254=_0x9e685c[_0x4455d4(0x87)]();let _0xb8e4d4=_0x9e685c[_0x4455d4(0xda)];if(_0x15a254&&_0x15a254['is'](_0x4455d4(0x90),_0x4455d4(0xc1))){const _0x3402fb=function(_0x59d5ff,_0x4f3969){const _0x13d9fa=_0x4455d4;for(const _0x16d4eb of _0x59d5ff[_0x13d9fa(0x8b)]())if(_0x4f3969[_0x13d9fa(0x84)][_0x13d9fa(0xcf)](_0x16d4eb,_0x13d9fa(0x89)))return _0x16d4eb;}(_0x9e685c,_0x267a31);_0x3402fb&&(_0xb8e4d4=_0x3402fb,_0x9e685c=_0x289477[_0x4455d4(0xdf)](_0xb8e4d4));}const _0x1dfce7=_0x289477[_0x4455d4(0xdf)](_0xb8e4d4);_0x267a31[_0x4455d4(0xe6)][_0x4455d4(0xac)](_0x3a0db)?(_0x289477[_0x4455d4(0x71)](_0x3a0db,{'range':_0x9e685c}),_0x289477[_0x4455d4(0x71)](_0x22a488,{'range':_0x1dfce7})):(_0x289477[_0x4455d4(0xd3)](_0x3a0db,{'range':_0x9e685c,'usingOperation':!0x0}),_0x289477[_0x4455d4(0xd3)](_0x22a488,{'range':_0x1dfce7,'usingOperation':!0x0}));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
const _0xd9fc49=_0x42f2;function _0x1a75(){const _0x250460=['40oZcZzf','1513099mPZwvb','cloudServices.requestTimeout','function','define','Connected\x20users\x20limit\x20exceeded','152020XUpFxN','_isBrowserOffline','1428768KSksUh','pluginName','8GvNPBz','context','requires','add','connected','websocketgateway-missing-token','init','real-time-collaboration','webSocketUrl','3280638QjsAnD','websocketgateway-missing-websocket-url','from','18373660UglVLz','websocketgateway-invalid-plugin-interface','websocketgateway-plugin-already-registered','constructor','cloudservices-init','bind','cloudServices.connectionTimeout','_domEmitter','102598nNnikh','1213824TmGcLh','offline','then','WebSocketGateway','state','CloudServices','isPremiumPlugin','DISCONNECTED','plugins','addToReconnectionStack','isInReconnectionStack','connection','9LLDTKg','listenTo','delete','cloudservices-reconnection-error','online','get','CONNECTING','code','removeFromReconnectionStack','token','disconnect','limitExceeded','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.','destroy','_shouldPluginsReconnect','showWarning','initialReconnectionInterval','_reconnect','connect','create','stopListening','catch','_reconnectionStack','has','change:me','error','reconnect','isOfficialPlugin','set','CONNECTED','config','all'];_0x1a75=function(){return _0x250460;};return _0x1a75();}function _0x42f2(_0x3695d5,_0x384d02){const _0x1a75b8=_0x1a75();return _0x42f2=function(_0x42f270,_0x34f575){_0x42f270=_0x42f270-0x1f3;let _0x58e689=_0x1a75b8[_0x42f270];return _0x58e689;},_0x42f2(_0x3695d5,_0x384d02);}(function(_0x3a452a,_0x1b25f8){const _0x482371=_0x42f2,_0x570737=_0x3a452a();while(!![]){try{const _0x1fb0a5=-parseInt(_0x482371(0x207))/0x1+-parseInt(_0x482371(0x23c))/0x2+parseInt(_0x482371(0x208))/0x3+-parseInt(_0x482371(0x234))/0x4*(parseInt(_0x482371(0x23a))/0x5)+-parseInt(_0x482371(0x1fc))/0x6+parseInt(_0x482371(0x235))/0x7*(-parseInt(_0x482371(0x1f3))/0x8)+parseInt(_0x482371(0x214))/0x9*(parseInt(_0x482371(0x1ff))/0xa);if(_0x1fb0a5===_0x1b25f8)break;else _0x570737['push'](_0x570737['shift']());}catch(_0xdb46a2){_0x570737['push'](_0x570737['shift']());}}}(_0x1a75,0x57686));import{ContextPlugin as _0x5e931c}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3257dc,CKEditorError as _0x111882}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xd0d77a,WEB_SOCKET_GATEWAY_STATES as _0x52bd3f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x8e89a0}from'ckeditor5/src/ui.js';class c extends _0x5e931c{static [_0xd9fc49(0x20b)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xd0d77a)());static [_0xd9fc49(0x224)]=0x3e8;[_0xd9fc49(0x213)];[_0xd9fc49(0x22a)];[_0xd9fc49(0x222)];[_0xd9fc49(0x206)];static get[_0xd9fc49(0x1f5)](){const _0x24171a=_0xd9fc49;return[_0x24171a(0x20d),_0x8e89a0];}static get[_0xd9fc49(0x23d)](){const _0x40dc65=_0xd9fc49;return _0x40dc65(0x20b);}static get[_0xd9fc49(0x22f)](){return!0x0;}static get[_0xd9fc49(0x20e)](){return!0x0;}constructor(_0x1afb63){const _0x5e3a74=_0xd9fc49;super(_0x1afb63),this[_0x5e3a74(0x230)](_0x5e3a74(0x20c),_0x52bd3f[_0x5e3a74(0x231)]),this[_0x5e3a74(0x230)](_0x5e3a74(0x23b),!0x1),this[_0x5e3a74(0x22a)]=new Set(),this[_0x5e3a74(0x222)]=!0x1,this[_0x5e3a74(0x206)]=Object[_0x5e3a74(0x227)](_0x3257dc);}[_0xd9fc49(0x1f9)](){const _0x2e6773=_0xd9fc49,_0x552fab=this[_0x2e6773(0x1f4)],_0x586f26=_0x552fab[_0x2e6773(0x210)][_0x2e6773(0x219)](_0x2e6773(0x20d)),_0x493166=_0x552fab[_0x2e6773(0x210)][_0x2e6773(0x219)](_0x8e89a0);if(!_0x586f26[_0x2e6773(0x21d)])throw new _0x111882(_0x2e6773(0x1f8),this);if(!_0x586f26[_0x2e6773(0x1fb)])throw new _0x111882(_0x2e6773(0x1fd),this);return this[_0x2e6773(0x206)][_0x2e6773(0x215)](window,_0x2e6773(0x209),()=>this[_0x2e6773(0x23b)]=!0x0),this[_0x2e6773(0x206)][_0x2e6773(0x215)](window,_0x2e6773(0x218),()=>this[_0x2e6773(0x23b)]=!0x1),this[_0x2e6773(0x1f4)][_0x2e6773(0x232)][_0x2e6773(0x238)](_0x2e6773(0x205),0xa),this[_0x2e6773(0x1f4)][_0x2e6773(0x232)][_0x2e6773(0x238)](_0x2e6773(0x236),0x14),c[_0x2e6773(0x20b)][_0x2e6773(0x226)](_0x586f26[_0x2e6773(0x21d)],_0x586f26[_0x2e6773(0x1fb)],{'timeout':0x3e8*this[_0x2e6773(0x1f4)][_0x2e6773(0x232)][_0x2e6773(0x219)](_0x2e6773(0x205)),'requestTimeout':0x3e8*this[_0x2e6773(0x1f4)][_0x2e6773(0x232)][_0x2e6773(0x219)](_0x2e6773(0x236))})[_0x2e6773(0x20a)](_0x55af05=>{const _0x1f6993=_0x2e6773;if(this[_0x1f6993(0x213)]=_0x55af05,this[_0x1f6993(0x204)](_0x1f6993(0x20c))['to'](_0x55af05,_0x1f6993(0x20c),this,_0x1f6993(0x23b),(_0x5a7a00,_0x355402)=>(_0x1f6993(0x1f7)!==_0x5a7a00&&(this[_0x1f6993(0x222)]=!0x0),_0x355402||_0x5a7a00!==_0x52bd3f[_0x1f6993(0x231)]?_0x52bd3f[_0x1f6993(0x20f)]:this[_0x1f6993(0x20c)]==_0x52bd3f[_0x1f6993(0x20f)]&&this[_0x1f6993(0x222)]?(this[_0x1f6993(0x222)]=!0x1,this[_0x1f6993(0x225)](),_0x52bd3f[_0x1f6993(0x21a)]):_0x52bd3f[_0x1f6993(0x231)])),this[_0x1f6993(0x213)]['on'](_0x1f6993(0x22d),(_0x1da410,_0x2a9f4c)=>{const _0x57bb96=_0x1f6993;if(_0x57bb96(0x21f)!==_0x2a9f4c[_0x57bb96(0x21b)])throw console[_0x57bb96(0x22d)](_0x2a9f4c),new _0x111882(_0x57bb96(0x203),null,{'originalError':_0x2a9f4c});_0x493166[_0x57bb96(0x223)](_0x57bb96(0x220),{'title':_0x57bb96(0x239),'namespace':_0x57bb96(0x1fa)});}),!_0x55af05['me'])return new Promise(_0x4e1c88=>_0x55af05['on'](_0x1f6993(0x22c),_0x4e1c88));})[_0x2e6773(0x229)](_0xb4a551=>{const _0x4bae3c=_0x2e6773;throw console[_0x4bae3c(0x22d)](_0xb4a551),new _0x111882(_0x4bae3c(0x203),null,{'originalError':_0xb4a551});});}[_0xd9fc49(0x211)](_0x26ad71){const _0x3a15ad=_0xd9fc49;if(_0x3a15ad(0x237)!=typeof _0x26ad71[_0x3a15ad(0x22e)])throw new _0x111882(_0x3a15ad(0x200),this);if(this[_0x3a15ad(0x212)](_0x26ad71))throw new _0x111882(_0x3a15ad(0x201),this,{'name':_0x26ad71[_0x3a15ad(0x202)][_0x3a15ad(0x23d)]});this[_0x3a15ad(0x22a)][_0x3a15ad(0x1f6)](_0x26ad71);}[_0xd9fc49(0x21c)](_0x6c8360){const _0x14c690=_0xd9fc49;this[_0x14c690(0x22a)][_0x14c690(0x216)](_0x6c8360);}[_0xd9fc49(0x212)](_0x5f2178){const _0x361b35=_0xd9fc49;return this[_0x361b35(0x22a)][_0x361b35(0x22b)](_0x5f2178);}[_0xd9fc49(0x225)](){const _0x24a295=_0xd9fc49;return this[_0x24a295(0x213)][_0x24a295(0x22e)]()[_0x24a295(0x20a)](()=>Promise[_0x24a295(0x233)](Array[_0x24a295(0x1fe)](this[_0x24a295(0x22a)],_0x18a50f=>_0x18a50f[_0x24a295(0x22e)]())))[_0x24a295(0x20a)](()=>this[_0x24a295(0x20c)]=_0x52bd3f[_0x24a295(0x231)])[_0x24a295(0x229)](_0x377d33=>{const _0x4ba0d8=_0x24a295;throw console[_0x4ba0d8(0x22d)](_0x377d33),new _0x111882(_0x4ba0d8(0x217),this[_0x4ba0d8(0x1f4)]);});}[_0xd9fc49(0x21e)](){const _0x22c577=_0xd9fc49;this[_0x22c577(0x213)]&&this[_0x22c577(0x213)][_0x22c577(0x21e)](),this[_0x22c577(0x20c)]=_0x52bd3f[_0x22c577(0x20f)],this[_0x22c577(0x206)][_0x22c577(0x228)]();}[_0xd9fc49(0x221)](){const _0x5804c7=_0xd9fc49;this[_0x5804c7(0x21e)](),super[_0x5804c7(0x221)]();}}export default c;
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x30f233)());[_0x25b4cd(0x1a8)];[_0x25b4cd(0x17b)];[_0x25b4cd(0x1a2)];[_0x25b4cd(0x1c2)];static get[_0x25b4cd(0x159)](){const _0x1f6ad4=_0x25b4cd;return[_0x36b408,_0x10fbf0,_0x1f6ad4(0x187),_0x594938,_0xc3968c];}static get[_0x25b4cd(0x19d)](){const _0x269dca=_0x25b4cd;return _0x269dca(0x19a);}static get[_0x25b4cd(0x170)](){return!0x0;}static get[_0x25b4cd(0x178)](){return!0x0;}constructor(_0x216d98){const _0x2e425c=_0x25b4cd;super(_0x216d98);const _0x2a5e7c=this[_0x2e425c(0x188)][_0x2e425c(0x1bf)][_0x2e425c(0x18f)](_0x2e425c(0x1bd));this[_0x2e425c(0x1a8)]=null,this[_0x2e425c(0x17b)]=this[_0x2e425c(0x188)][_0x2e425c(0x167)][_0x2e425c(0x18f)](_0x2e425c(0x194)),this[_0x2e425c(0x1a2)]=new u[(_0x2e425c(0x1a5))](_0x2a5e7c);}async[_0x25b4cd(0x183)](){const _0x1296cf=_0x25b4cd,_0x13eb7e=this[_0x1296cf(0x188)][_0x1296cf(0x167)][_0x1296cf(0x18f)](_0x10fbf0),_0x77ea7b=_0x13eb7e[_0x1296cf(0x19c)],_0x4b98d3=this[_0x1296cf(0x188)][_0x1296cf(0x167)][_0x1296cf(0x18f)](_0x36b408);this[_0x1296cf(0x17b)][_0x1296cf(0x18d)]({'history':_0x77ea7b,'getLatestVersion':()=>this[_0x1296cf(0x1cb)](),'getCurrentRevisionId':()=>_0x13eb7e[_0x1296cf(0x1cc)]});const _0x3dd5b6=this[_0x1296cf(0x188)][_0x1296cf(0x1bf)][_0x1296cf(0x18f)](_0x1296cf(0x1b0))||_0x204819,_0x594045=await _0x5ab737[_0x1296cf(0x18a)](_0x4b98d3[_0x1296cf(0x161)],_0x3dd5b6);this[_0x1296cf(0x188)][_0x1296cf(0x167)][_0x1296cf(0x18f)](_0x1296cf(0x187))[_0x1296cf(0x18b)]={'getRevision':async({revisionId:_0x17b38f})=>(await this[_0x1296cf(0x177)](),await this[_0x1296cf(0x1a2)][_0x1296cf(0x15e)](_0x17b38f)),'updateRevisions':async _0x3b5226=>{const _0x1446af=_0x1296cf;await this[_0x1446af(0x177)]();const _0x3c654d=this[_0x1446af(0x17b)][_0x1446af(0x174)];if(_0x594045&&0x1===_0x3b5226[_0x1446af(0x1a7)]&&_0x3b5226[0x0]['id']===_0x3c654d['id'])return _0x3b5226;for(const _0x4aeebb of _0x3b5226)_0x4aeebb['id']===_0x3c654d['id']&&(_0x4aeebb[_0x1446af(0x1ca)]=_0x4aeebb[_0x1446af(0x17c)]===_0x4aeebb[_0x1446af(0x1ba)]);return this[_0x1446af(0x1a2)][_0x1446af(0x1a1)](_0x3b5226,this[_0x1446af(0x1a8)])[_0x1446af(0x1af)](_0x170d8a=>(this[_0x1446af(0x1a8)]=_0x170d8a,_0x3b5226))[_0x1446af(0x160)](_0x440d15=>{const _0x301653=_0x1446af;if(st(_0x440d15)||_0x301653(0x17d)===_0x440d15[_0x301653(0x16b)]&&void 0x0!==_0x440d15[_0x301653(0x1b4)][_0x301653(0x1b7)]){for(const _0x149fe7 of _0x3b5226){!this[_0x301653(0x17b)][_0x301653(0x17e)][_0x301653(0x15e)](_0x149fe7['id'])||this[_0x301653(0x17b)][_0x301653(0x1aa)](_0x149fe7['id'],_0x149fe7,!0x1);}if(st(_0x440d15))throw _0x440d15;return _0x3b5226;}throw _0x440d15;});}},this[_0x1296cf(0x1c7)](this[_0x1296cf(0x1a2)],_0x1296cf(0x196),(_0x409265,{revisionsData:_0x380b47,requestId:_0x479f93})=>{const _0x49f23a=_0x1296cf;Math[_0x49f23a(0x1a4)](..._0x380b47[_0x49f23a(0x15a)](_0x24b8b2=>_0x24b8b2[_0x49f23a(0x1ba)]))>this[_0x49f23a(0x15c)]()-0x1?this[_0x49f23a(0x1cb)]()[_0x49f23a(0x1af)](()=>{const _0x3ff3bd=_0x49f23a;this[_0x3ff3bd(0x179)](_0x380b47,_0x479f93);}):this[_0x49f23a(0x179)](_0x380b47,_0x479f93);});const {revisions:_0x55883e,requestId:_0x2ed2e5}=await this[_0x1296cf(0x1a2)][_0x1296cf(0x1b3)](_0x4b98d3[_0x1296cf(0x161)]);_0x4b98d3[_0x1296cf(0x198)](this),this[_0x1296cf(0x1a8)]=_0x2ed2e5,await this[_0x1296cf(0x18c)](_0x55883e);for(const _0x20be0e of _0x55883e)this[_0x1296cf(0x17b)][_0x1296cf(0x186)](_0x20be0e);this[_0x1296cf(0x1c7)](_0x13eb7e,_0x1296cf(0x158),(_0x505a51,_0x53c756,_0x2b70fc)=>{const _0x3a739b=_0x1296cf;_0x2b70fc&&(this[_0x3a739b(0x1c2)]=_0x13eb7e[_0x3a739b(0x166)],_0x505a51[_0x3a739b(0x1ae)]());}),this[_0x1296cf(0x17b)][_0x1296cf(0x17f)](_0x1296cf(0x168))['to'](_0x4b98d3,_0x1296cf(0x162),_0x4b3609=>_0x4b3609===_0x1e4e2f[_0x1296cf(0x1c8)]);}async[_0x25b4cd(0x190)](){const _0x55dd03=_0x25b4cd,_0x381ea9=this[_0x55dd03(0x188)][_0x55dd03(0x167)][_0x55dd03(0x18f)](_0x36b408),_0x4824f=this[_0x55dd03(0x188)][_0x55dd03(0x167)][_0x55dd03(0x18f)](_0x10fbf0),_0x36dc37=async()=>{const _0x78a94f=_0x55dd03,_0x166402=this[_0x78a94f(0x17b)][_0x78a94f(0x174)],_0x340476=_0x166402['id'],_0x2a36d4=_0x340476!==_0x4824f[_0x78a94f(0x1cc)];if(_0x2a36d4){const _0x2fd71a=_0x4824f[_0x78a94f(0x166)]-this[_0x78a94f(0x1c2)],_0x4dba28=this[_0x78a94f(0x15c)]();this[_0x78a94f(0x17b)][_0x78a94f(0x192)][_0x78a94f(0x15d)]();if(_0x166402[_0x78a94f(0x1ba)]+_0x2fd71a!==_0x4dba28){const _0x1c8639=_0x166402[_0x78a94f(0x17c)]+_0x2fd71a,_0x1eef03=this[_0x78a94f(0x188)][_0x78a94f(0x167)][_0x78a94f(0x18f)](_0xc3968c),_0x296908=this[_0x78a94f(0x17b)][_0x78a94f(0x1ab)]({'revision':_0x166402,'from':_0x1c8639,'to':_0x4dba28});_0x296908['id']=_0x166402['id'];const _0x31bc5c=_0x296908[_0x78a94f(0x184)][_0x78a94f(0x15a)](_0x5a114d=>_0x1eef03[_0x78a94f(0x172)](_0x5a114d));_0x166402[_0x78a94f(0x17a)]({..._0x296908,'authors':_0x31bc5c},!0x0),this[_0x78a94f(0x17b)][_0x78a94f(0x1aa)](_0x166402['id'],_0x296908,!0x0);}this[_0x78a94f(0x17b)][_0x78a94f(0x191)]=_0x4dba28,(_0x166402[_0x78a94f(0x1ba)]===_0x166402[_0x78a94f(0x17c)]&&!this[_0x78a94f(0x17b)][_0x78a94f(0x1a6)][_0x78a94f(0x173)](_0x340476)&&this[_0x78a94f(0x17b)][_0x78a94f(0x17e)][_0x78a94f(0x15f)][_0x78a94f(0x19f)](_0x340476),this[_0x78a94f(0x17b)][_0x78a94f(0x15b)](_0x4dba28));}const {revisions:_0x382010,requestId:_0x5af37f}=await this[_0x78a94f(0x1a2)][_0x78a94f(0x190)](_0x381ea9[_0x78a94f(0x161)],this[_0x78a94f(0x1a8)]);_0x2a36d4&&_0x382010[_0x78a94f(0x1a7)]>0x0?_0x4824f[_0x78a94f(0x1c3)]():(await this[_0x78a94f(0x18c)](_0x382010),this[_0x78a94f(0x179)](_0x382010,_0x5af37f),this[_0x78a94f(0x17b)][_0x78a94f(0x181)]());};return _0x4824f[_0x55dd03(0x1c5)]?_0x36dc37():new Promise((_0x1cf6fe,_0x1333d5)=>{const _0x234d71=_0x55dd03;_0x4824f[_0x234d71(0x197)](_0x234d71(0x158),()=>{const _0x3ffa2c=_0x234d71;_0x36dc37()[_0x3ffa2c(0x1af)](_0x1cf6fe)[_0x3ffa2c(0x160)](_0x1333d5);});});}[_0x25b4cd(0x16f)](){const _0x3066c8=_0x25b4cd;super[_0x3066c8(0x16f)]();}async[_0x25b4cd(0x177)](){const _0x1d2061=_0x25b4cd;this[_0x1d2061(0x1a2)][_0x1d2061(0x1be)]||await new Promise(_0x3efb7c=>{const _0x342763=_0x1d2061;this[_0x342763(0x1c7)](this[_0x342763(0x1a2)],_0x342763(0x19e),_0x3d8be7=>{const _0x378d1d=_0x342763;_0x3d8be7[_0x378d1d(0x1ae)](),_0x3efb7c();});});}[_0x25b4cd(0x15c)](){const _0x6fd0c8=_0x25b4cd,_0x322a4b=this[_0x6fd0c8(0x188)][_0x6fd0c8(0x167)][_0x6fd0c8(0x18f)](_0x10fbf0)[_0x6fd0c8(0x19c)][_0x6fd0c8(0x163)]()[_0x6fd0c8(0x182)]();for(const _0x448eaf of _0x322a4b)if(_0x6fd0c8(0x165)!==_0x448eaf[_0x6fd0c8(0x195)]||_0x448eaf[_0x6fd0c8(0x193)])return _0x448eaf[_0x6fd0c8(0x1b8)]+0x1;}[_0x25b4cd(0x1cb)](){const _0x507ef2=_0x25b4cd,_0x5a41a7=this[_0x507ef2(0x188)][_0x507ef2(0x167)][_0x507ef2(0x18f)](_0x10fbf0);return new Promise(_0x5a5ec3=>{const _0x4b273b=_0x507ef2;_0x5a41a7[_0x4b273b(0x1c0)]?_0x5a41a7[_0x4b273b(0x197)](_0x4b273b(0x1a0),()=>{const _0x56c148=_0x4b273b;_0x5a5ec3(this[_0x56c148(0x15c)]());}):_0x5a5ec3(this[_0x4b273b(0x15c)]());});}[_0x25b4cd(0x179)](_0x53f633,_0x4f3e17){const _0x2eba9b=_0x25b4cd,_0x315e9d=this[_0x2eba9b(0x17b)][_0x2eba9b(0x17e)];this[_0x2eba9b(0x1a8)]=_0x4f3e17;for(const _0x438297 of _0x53f633){const _0x5d6efe=_0x315e9d[_0x2eba9b(0x15e)](_0x438297['id']);if(_0x5d6efe){if((_0x438297[_0x2eba9b(0x17c)]||_0x438297[_0x2eba9b(0x1ba)])&&(_0x438297[_0x2eba9b(0x185)]=null),_0x5d6efe===this[_0x2eba9b(0x17b)][_0x2eba9b(0x174)]){const _0x4ddeb3=Math[_0x2eba9b(0x1a4)](_0x5d6efe[_0x2eba9b(0x1ba)],_0x438297[_0x2eba9b(0x1ba)]),_0x2f760f=Math[_0x2eba9b(0x1a4)](_0x5d6efe[_0x2eba9b(0x17c)],_0x438297[_0x2eba9b(0x17c)]);let _0x2f9482;_0x5d6efe[_0x2eba9b(0x1ba)]===_0x438297[_0x2eba9b(0x1ba)]&&_0x5d6efe[_0x2eba9b(0x17c)]===_0x438297[_0x2eba9b(0x17c)]?(_0x2f9482=!0x0,this[_0x2eba9b(0x171)](_0x438297)):_0x438297[_0x2eba9b(0x1ba)]===_0x4ddeb3&&_0x438297[_0x2eba9b(0x17c)]===_0x2f760f?_0x2f9482=!0x1:(_0x5d6efe[_0x2eba9b(0x1ba)]===_0x4ddeb3&&_0x5d6efe[_0x2eba9b(0x17c)]===_0x2f760f||this[_0x2eba9b(0x1c9)]({'revision':_0x5d6efe,'from':_0x2f760f,'to':_0x4ddeb3}),_0x2f9482=!0x0),_0x2f9482&&(delete _0x438297[_0x2eba9b(0x17c)],delete _0x438297[_0x2eba9b(0x1ba)],delete _0x438297[_0x2eba9b(0x185)],delete _0x438297[_0x2eba9b(0x1bb)],delete _0x438297[_0x2eba9b(0x184)]);}this[_0x2eba9b(0x17b)][_0x2eba9b(0x16e)](_0x438297),this[_0x2eba9b(0x171)](_0x438297);}else this[_0x2eba9b(0x17b)][_0x2eba9b(0x186)](_0x438297);}const _0x17c6a5=_0x315e9d[_0x2eba9b(0x1c1)]();_0x17c6a5[_0x2eba9b(0x182)]();for(let _0x17f12f=0x0;_0x17f12f<_0x17c6a5[_0x2eba9b(0x1a7)]-0x1;_0x17f12f++){const _0x59d8cd=_0x17c6a5[_0x17f12f],_0xebfa60=_0x17c6a5[_0x17f12f+0x1];if(_0x59d8cd[_0x2eba9b(0x17c)]<_0xebfa60[_0x2eba9b(0x1ba)]){const _0x1d3dec=_0xebfa60[_0x2eba9b(0x1ba)],_0x5c375f=Math[_0x2eba9b(0x1a4)](_0x1d3dec,_0x59d8cd[_0x2eba9b(0x1ba)]);this[_0x2eba9b(0x1c9)]({'revision':_0x59d8cd,'from':_0x1d3dec,'to':_0x5c375f});}}}[_0x25b4cd(0x1c9)]({revision:_0x5e7b53,from:_0x1c1146,to:_0xeee5c8}={}){const _0x2cc479=_0x25b4cd,_0x7b8605=this[_0x2cc479(0x188)][_0x2cc479(0x167)][_0x2cc479(0x18f)](_0xc3968c),_0x94c370=this[_0x2cc479(0x17b)][_0x2cc479(0x1ab)]({'revision':_0x5e7b53,'from':_0x1c1146,'to':_0xeee5c8});_0x94c370[_0x2cc479(0x16d)]=_0x94c370[_0x2cc479(0x184)][_0x2cc479(0x15a)](_0x324b9a=>_0x7b8605[_0x2cc479(0x172)](_0x324b9a)),_0x5e7b53[_0x2cc479(0x17a)](_0x94c370);}[_0x25b4cd(0x171)](_0x3fc9a2){const _0x5e8713=_0x25b4cd,_0x2ecd52={};_0x2ecd52['id']=_0x3fc9a2['id'];for(const _0x1d768d of Object[_0x5e8713(0x16a)](_0x3fc9a2))'id'!==_0x1d768d&&(_0x2ecd52[_0x1d768d]=void 0x0);this[_0x5e8713(0x17b)][_0x5e8713(0x1aa)](_0x2ecd52['id'],_0x2ecd52,!0x0);}async[_0x25b4cd(0x18c)](_0x2503f4){const _0x52a34b=_0x25b4cd,_0x27810d=this[_0x52a34b(0x188)][_0x52a34b(0x167)][_0x52a34b(0x18f)](_0xc3968c),{connection:_0x1efed6}=this[_0x52a34b(0x188)][_0x52a34b(0x167)][_0x52a34b(0x18f)](_0x36b408),_0x5ded4c=new Set();for(const _0x24d32a of _0x2503f4){for(const _0x1d28cf of _0x24d32a[_0x52a34b(0x184)])_0xfdb1a5(_0x1d28cf);_0x24d32a[_0x52a34b(0x1ad)]&&_0xfdb1a5(_0x24d32a[_0x52a34b(0x1ad)]);}if(0x0===_0x5ded4c[_0x52a34b(0x18e)])return;const _0x5ca366=await _0x39cea2[_0x52a34b(0x1c4)](_0x1efed6,Array[_0x52a34b(0x1ac)](_0x5ded4c));for(const _0x49c1ab of _0x5ca366)_0x27810d[_0x52a34b(0x172)](_0x49c1ab['id'])||_0x27810d[_0x52a34b(0x1a3)](_0x49c1ab);function _0xfdb1a5(_0x344eb2){const _0x323359=_0x52a34b;_0x27810d[_0x323359(0x172)](_0x344eb2)||_0x5ded4c[_0x323359(0x164)](_0x344eb2);}}}function _0x5eb4(_0x222134,_0x46d732){const _0x11f0e7=_0x11f0();return _0x5eb4=function(_0x5eb4ee,_0x1eac55){_0x5eb4ee=_0x5eb4ee-0x158;let _0x20afd9=_0x11f0e7[_0x5eb4ee];return _0x20afd9;},_0x5eb4(_0x222134,_0x46d732);}export default u;function _0x11f0(){const _0x2b3bb0=['type','revisionsUpdated','once','addToReconnectionStack','21lYdgfN','CloudServicesRevisionHistoryAdapter','2yWjvMf','serverHistory','pluginName','connected','remove','change:_isPendingUpdate','updateRevisions','_revisionHistoryService','addUser','max','RevisionHistoryService','_bufferedUpdates','length','_lastRequestId','216MpvQKG','_bufferUpdate','buildRevisionData','from','creatorId','off','then','cloudServices.bundleVersion','cloud-services-internal-error:\x20Not\x20connected.','568990faHZJS','connect','data','startsWith','67470TtBAcQ','wrongRequestId','baseVersion','98592BIKBum','toVersion','createdAt','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','collaboration.channelId','isConnected','config','_isPendingUpdate','getRevisions','_oldOffset','_handleReconnectionError','getMany','_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','CONNECTED','_fixRevision','isEmptyCurrent','_getLatestVersion','sessionId','12jjSBGl','change:_isConnected','requires','map','_createCurrentRevision','_getLatestVersionFromServerOperations','reInit','getRevision','_revisions','catch','connection','state','getOperations','add','marker','_offset','plugins','isEnabled','6009330aGbcKI','keys','code','10796412LHTsxw','authors','setRevisionData','destroy','isOfficialPlugin','_preventResendingRevisionData','getUser','has','currentRevision','message','9334920DzaxWx','_waitForServiceReady','isPremiumPlugin','_handleRevisionsUpdate','_update','_revisionTracker','fromVersion','400','repository','bind','7erNmjf','sendBufferedUpdates','reverse','init','authorsIds','diffData','addRevisionData','RevisionHistory','editor','561790LodAus','isBundleUploaded','adapter','_fetchMissingUsers','setSource','size','get','reconnect','_startingVersion','_revisionDataBuilder','affectsData','RevisionTracker'];_0x11f0=function(){return _0x2b3bb0;};return _0x11f0();}function st(_0x3e7377){const _0x4ea1ba=_0x25b4cd;return _0x3e7377[_0x4ea1ba(0x175)][_0x4ea1ba(0x1b5)](_0x4ea1ba(0x1bc))||_0x3e7377[_0x4ea1ba(0x175)][_0x4ea1ba(0x1b5)](_0x4ea1ba(0x1b1))||_0x3e7377[_0x4ea1ba(0x175)][_0x4ea1ba(0x1b5)](_0x4ea1ba(0x1c6));}
|
|
23
|
+
const _0x42fb89=_0x149e;(function(_0x4f21c2,_0x2eabc8){const _0x2abcd6=_0x149e,_0x75ecc3=_0x4f21c2();while(!![]){try{const _0x58cd98=-parseInt(_0x2abcd6(0xf6))/0x1*(-parseInt(_0x2abcd6(0xfe))/0x2)+parseInt(_0x2abcd6(0x120))/0x3*(parseInt(_0x2abcd6(0x10b))/0x4)+parseInt(_0x2abcd6(0x12f))/0x5+-parseInt(_0x2abcd6(0x100))/0x6+parseInt(_0x2abcd6(0x164))/0x7*(parseInt(_0x2abcd6(0x13e))/0x8)+parseInt(_0x2abcd6(0xf9))/0x9*(-parseInt(_0x2abcd6(0x12b))/0xa)+parseInt(_0x2abcd6(0x122))/0xb;if(_0x58cd98===_0x2eabc8)break;else _0x75ecc3['push'](_0x75ecc3['shift']());}catch(_0x37ff2){_0x75ecc3['push'](_0x75ecc3['shift']());}}}(_0x54fb,0x82f0b));import{Plugin as _0xb5bc0b}from'ckeditor5/src/core.js';import{version as _0x47a8bd}from'ckeditor5/src/utils.js';function _0x149e(_0x4571fd,_0x310fa5){const _0x54fb37=_0x54fb();return _0x149e=function(_0x149e13,_0x3c425e){_0x149e13=_0x149e13-0xf6;let _0x4dc979=_0x54fb37[_0x149e13];return _0x4dc979;},_0x149e(_0x4571fd,_0x310fa5);}import{Users as _0x54c736}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5c2dd9 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x424234 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1b3606 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4b1709,RevisionHistoryService as _0x64c8ce,User as _0x330703,WEB_SOCKET_GATEWAY_STATES as _0xc0caf0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0xb5bc0b{static [_0x42fb89(0x125)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x64c8ce)());[_0x42fb89(0x142)];[_0x42fb89(0x109)];[_0x42fb89(0xf7)];[_0x42fb89(0x132)];static get[_0x42fb89(0xfc)](){const _0xf957c=_0x42fb89;return[_0x424234,_0x5c2dd9,_0xf957c(0x101),_0x1b3606,_0x54c736];}static get[_0x42fb89(0x118)](){const _0x9b633e=_0x42fb89;return _0x9b633e(0x148);}static get[_0x42fb89(0x130)](){return!0x0;}static get[_0x42fb89(0x161)](){return!0x0;}constructor(_0x541a2a){const _0x38831a=_0x42fb89;super(_0x541a2a);const _0x1faf69=this[_0x38831a(0x157)][_0x38831a(0x10e)][_0x38831a(0x141)](_0x38831a(0x116));this[_0x38831a(0x142)]=null,this[_0x38831a(0x109)]=this[_0x38831a(0x157)][_0x38831a(0x11f)][_0x38831a(0x141)](_0x38831a(0x147)),this[_0x38831a(0xf7)]=new u[(_0x38831a(0x125))](_0x1faf69);}async[_0x42fb89(0x143)](){const _0x446f36=_0x42fb89,_0xf33245=this[_0x446f36(0x157)][_0x446f36(0x11f)][_0x446f36(0x141)](_0x5c2dd9),_0x18b63c=_0xf33245[_0x446f36(0x16a)],_0x4313b4=this[_0x446f36(0x157)][_0x446f36(0x11f)][_0x446f36(0x141)](_0x424234);this[_0x446f36(0x109)][_0x446f36(0x110)]({'history':_0x18b63c,'getLatestVersion':()=>this[_0x446f36(0x102)](),'getCurrentRevisionId':()=>_0xf33245[_0x446f36(0x112)]});const _0x17ff10=this[_0x446f36(0x157)][_0x446f36(0x10e)][_0x446f36(0x141)](_0x446f36(0x105))||_0x47a8bd,_0x42ea2e=await _0x4b1709[_0x446f36(0x153)](_0x4313b4[_0x446f36(0xfd)],_0x17ff10);this[_0x446f36(0x157)][_0x446f36(0x11f)][_0x446f36(0x141)](_0x446f36(0x101))[_0x446f36(0x15b)]={'getRevision':async({revisionId:_0x27811b})=>(await this[_0x446f36(0x152)](),await this[_0x446f36(0xf7)][_0x446f36(0x139)](_0x27811b)),'updateRevisions':async _0x27244a=>{const _0x145519=_0x446f36;await this[_0x145519(0x152)]();const _0x14887b=this[_0x145519(0x109)][_0x145519(0x10c)];if(_0x42ea2e&&0x1===_0x27244a[_0x145519(0x106)]&&_0x27244a[0x0]['id']===_0x14887b['id'])return _0x27244a;for(const _0xef9ba5 of _0x27244a)_0xef9ba5['id']===_0x14887b['id']&&(_0xef9ba5[_0x145519(0x15d)]=_0xef9ba5[_0x145519(0x126)]===_0xef9ba5[_0x145519(0x154)]);return this[_0x145519(0xf7)][_0x145519(0x107)](_0x27244a,this[_0x145519(0x142)])[_0x145519(0x11a)](_0x2c50e8=>(this[_0x145519(0x142)]=_0x2c50e8,_0x27244a))[_0x145519(0x115)](_0x535a16=>{const _0x4a7e24=_0x145519;if(ct(_0x535a16)||_0x4a7e24(0x150)===_0x535a16[_0x4a7e24(0xfb)]&&void 0x0!==_0x535a16[_0x4a7e24(0x10a)][_0x4a7e24(0x165)]){for(const _0x260e01 of _0x27244a){!this[_0x4a7e24(0x109)][_0x4a7e24(0x13d)][_0x4a7e24(0x139)](_0x260e01['id'])||this[_0x4a7e24(0x109)][_0x4a7e24(0xf8)](_0x260e01['id'],_0x260e01,!0x1);}if(ct(_0x535a16))throw _0x535a16;return _0x27244a;}throw _0x535a16;});}},this[_0x446f36(0xff)](this[_0x446f36(0xf7)],_0x446f36(0x127),(_0x4abb8f,{revisionsData:_0x39e453,requestId:_0x4cd119})=>{const _0x486fa3=_0x446f36;Math[_0x486fa3(0x13c)](..._0x39e453[_0x486fa3(0x14e)](_0x3df9af=>_0x3df9af[_0x486fa3(0x154)]))>this[_0x486fa3(0x135)]()-0x1?this[_0x486fa3(0x102)]()[_0x486fa3(0x11a)](()=>{const _0x807972=_0x486fa3;this[_0x807972(0x13a)](_0x39e453,_0x4cd119);}):this[_0x486fa3(0x13a)](_0x39e453,_0x4cd119);});const {revisions:_0x43352a,requestId:_0x2d882c}=await this[_0x446f36(0xf7)][_0x446f36(0x162)](_0x4313b4[_0x446f36(0xfd)]);_0x4313b4[_0x446f36(0x13b)](this),this[_0x446f36(0x142)]=_0x2d882c,await this[_0x446f36(0x12d)](_0x43352a);for(const _0x47da88 of _0x43352a)this[_0x446f36(0x109)][_0x446f36(0x14a)](_0x47da88);this[_0x446f36(0xff)](_0xf33245,_0x446f36(0x14b),(_0x4d3c38,_0x192093,_0x2cf8e4)=>{const _0x2704e7=_0x446f36;_0x2cf8e4&&(this[_0x2704e7(0x132)]=_0xf33245[_0x2704e7(0x149)],_0x4d3c38[_0x2704e7(0x103)]());}),this[_0x446f36(0x109)][_0x446f36(0x14f)](_0x446f36(0x128))['to'](_0x4313b4,_0x446f36(0x144),_0x5569a1=>_0x5569a1===_0xc0caf0[_0x446f36(0x129)]);}async[_0x42fb89(0x160)](){const _0xd436c4=_0x42fb89,_0x1da745=this[_0xd436c4(0x157)][_0xd436c4(0x11f)][_0xd436c4(0x141)](_0x424234),_0x13c371=this[_0xd436c4(0x157)][_0xd436c4(0x11f)][_0xd436c4(0x141)](_0x5c2dd9),_0x1909b5=async()=>{const _0x3d9ffe=_0xd436c4,_0x1831bc=this[_0x3d9ffe(0x109)][_0x3d9ffe(0x10c)],_0x178aab=_0x1831bc['id'],_0x338f3a=_0x178aab!==_0x13c371[_0x3d9ffe(0x112)];if(_0x338f3a){const _0x22d8aa=_0x13c371[_0x3d9ffe(0x149)]-this[_0x3d9ffe(0x132)],_0x37a089=this[_0x3d9ffe(0x135)]();this[_0x3d9ffe(0x109)][_0x3d9ffe(0x11e)][_0x3d9ffe(0x123)]();if(_0x1831bc[_0x3d9ffe(0x154)]+_0x22d8aa!==_0x37a089){const _0x617e73=_0x1831bc[_0x3d9ffe(0x126)]+_0x22d8aa,_0x1f5c03=this[_0x3d9ffe(0x157)][_0x3d9ffe(0x11f)][_0x3d9ffe(0x141)](_0x54c736),_0x503ffc=this[_0x3d9ffe(0x109)][_0x3d9ffe(0x163)]({'revision':_0x1831bc,'from':_0x617e73,'to':_0x37a089});_0x503ffc['id']=_0x1831bc['id'];const _0x10e074=_0x503ffc[_0x3d9ffe(0x121)][_0x3d9ffe(0x14e)](_0x1dbe0e=>_0x1f5c03[_0x3d9ffe(0x11c)](_0x1dbe0e));_0x1831bc[_0x3d9ffe(0x166)]({..._0x503ffc,'authors':_0x10e074},!0x0),this[_0x3d9ffe(0x109)][_0x3d9ffe(0xf8)](_0x1831bc['id'],_0x503ffc,!0x0);}this[_0x3d9ffe(0x109)][_0x3d9ffe(0x111)]=_0x37a089,(_0x1831bc[_0x3d9ffe(0x154)]===_0x1831bc[_0x3d9ffe(0x126)]&&!this[_0x3d9ffe(0x109)][_0x3d9ffe(0x11d)][_0x3d9ffe(0x159)](_0x178aab)&&this[_0x3d9ffe(0x109)][_0x3d9ffe(0x13d)][_0x3d9ffe(0x113)][_0x3d9ffe(0x15e)](_0x178aab),this[_0x3d9ffe(0x109)][_0x3d9ffe(0x15c)](_0x37a089));}const {revisions:_0x4aadf3,requestId:_0x32059f}=await this[_0x3d9ffe(0xf7)][_0x3d9ffe(0x160)](_0x1da745[_0x3d9ffe(0xfd)],this[_0x3d9ffe(0x142)]);_0x338f3a&&_0x4aadf3[_0x3d9ffe(0x106)]>0x0?_0x13c371[_0x3d9ffe(0x131)]():(await this[_0x3d9ffe(0x12d)](_0x4aadf3),this[_0x3d9ffe(0x13a)](_0x4aadf3,_0x32059f),this[_0x3d9ffe(0x109)][_0x3d9ffe(0x12e)]());};return _0x13c371[_0xd436c4(0x151)]?_0x1909b5():new Promise((_0x10a5fd,_0x4597e5)=>{const _0x5e7f3b=_0xd436c4;_0x13c371[_0x5e7f3b(0x15f)](_0x5e7f3b(0x14b),()=>{const _0x357e60=_0x5e7f3b;_0x1909b5()[_0x357e60(0x11a)](_0x10a5fd)[_0x357e60(0x115)](_0x4597e5);});});}[_0x42fb89(0x137)](){const _0x532dd3=_0x42fb89;super[_0x532dd3(0x137)]();}async[_0x42fb89(0x152)](){const _0x14e8a4=_0x42fb89;this[_0x14e8a4(0xf7)][_0x14e8a4(0x104)]||await new Promise(_0x48df13=>{const _0x200914=_0x14e8a4;this[_0x200914(0xff)](this[_0x200914(0xf7)],_0x200914(0x117),_0xaaa189=>{const _0xf870a9=_0x200914;_0xaaa189[_0xf870a9(0x103)](),_0x48df13();});});}[_0x42fb89(0x135)](){const _0x4b7f57=_0x42fb89,_0x5865ed=this[_0x4b7f57(0x157)][_0x4b7f57(0x11f)][_0x4b7f57(0x141)](_0x5c2dd9)[_0x4b7f57(0x16a)][_0x4b7f57(0x134)]()[_0x4b7f57(0x15a)]();for(const _0xabf1e9 of _0x5865ed)if(_0x4b7f57(0x14c)!==_0xabf1e9[_0x4b7f57(0x10f)]||_0xabf1e9[_0x4b7f57(0x133)])return _0xabf1e9[_0x4b7f57(0x156)]+0x1;}[_0x42fb89(0x102)](){const _0x59d586=_0x42fb89,_0x4e952c=this[_0x59d586(0x157)][_0x59d586(0x11f)][_0x59d586(0x141)](_0x5c2dd9);return new Promise(_0x317008=>{const _0x3fd352=_0x59d586;_0x4e952c[_0x3fd352(0x167)]?_0x4e952c[_0x3fd352(0x15f)](_0x3fd352(0x11b),()=>{const _0x5e6b2c=_0x3fd352;_0x317008(this[_0x5e6b2c(0x135)]());}):_0x317008(this[_0x3fd352(0x135)]());});}[_0x42fb89(0x13a)](_0xa8c502,_0x262a3b){const _0x372c4a=_0x42fb89,_0x2b3928=this[_0x372c4a(0x109)][_0x372c4a(0x13d)];this[_0x372c4a(0x142)]=_0x262a3b;for(const _0x27c044 of _0xa8c502){const _0xf644a3=_0x2b3928[_0x372c4a(0x139)](_0x27c044['id']);if(_0xf644a3){if((_0x27c044[_0x372c4a(0x126)]||_0x27c044[_0x372c4a(0x154)])&&(_0x27c044[_0x372c4a(0x13f)]=null),_0xf644a3===this[_0x372c4a(0x109)][_0x372c4a(0x10c)]){const _0x12a323=Math[_0x372c4a(0x13c)](_0xf644a3[_0x372c4a(0x154)],_0x27c044[_0x372c4a(0x154)]),_0xcdfc4f=Math[_0x372c4a(0x13c)](_0xf644a3[_0x372c4a(0x126)],_0x27c044[_0x372c4a(0x126)]);let _0x7f7c08;_0xf644a3[_0x372c4a(0x154)]===_0x27c044[_0x372c4a(0x154)]&&_0xf644a3[_0x372c4a(0x126)]===_0x27c044[_0x372c4a(0x126)]?(_0x7f7c08=!0x0,this[_0x372c4a(0x12c)](_0x27c044)):_0x27c044[_0x372c4a(0x154)]===_0x12a323&&_0x27c044[_0x372c4a(0x126)]===_0xcdfc4f?_0x7f7c08=!0x1:(_0xf644a3[_0x372c4a(0x154)]===_0x12a323&&_0xf644a3[_0x372c4a(0x126)]===_0xcdfc4f||this[_0x372c4a(0x124)]({'revision':_0xf644a3,'from':_0xcdfc4f,'to':_0x12a323}),_0x7f7c08=!0x0),_0x7f7c08&&(delete _0x27c044[_0x372c4a(0x126)],delete _0x27c044[_0x372c4a(0x154)],delete _0x27c044[_0x372c4a(0x13f)],delete _0x27c044[_0x372c4a(0x136)],delete _0x27c044[_0x372c4a(0x121)]);}this[_0x372c4a(0x109)][_0x372c4a(0x169)](_0x27c044),this[_0x372c4a(0x12c)](_0x27c044);}else this[_0x372c4a(0x109)][_0x372c4a(0x14a)](_0x27c044);}const _0x4f925b=_0x2b3928[_0x372c4a(0x138)]();_0x4f925b[_0x372c4a(0x15a)]();for(let _0x418316=0x0;_0x418316<_0x4f925b[_0x372c4a(0x106)]-0x1;_0x418316++){const _0xd11c29=_0x4f925b[_0x418316],_0x14cf46=_0x4f925b[_0x418316+0x1];if(_0xd11c29[_0x372c4a(0x126)]<_0x14cf46[_0x372c4a(0x154)]){const _0x380ee6=_0x14cf46[_0x372c4a(0x154)],_0x4223b7=Math[_0x372c4a(0x13c)](_0x380ee6,_0xd11c29[_0x372c4a(0x154)]);this[_0x372c4a(0x124)]({'revision':_0xd11c29,'from':_0x380ee6,'to':_0x4223b7});}}}[_0x42fb89(0x124)]({revision:_0x553ef6,from:_0x312ad7,to:_0x10d244}={}){const _0x221e3f=_0x42fb89,_0x5b6d3b=this[_0x221e3f(0x157)][_0x221e3f(0x11f)][_0x221e3f(0x141)](_0x54c736),_0x2dd626=this[_0x221e3f(0x109)][_0x221e3f(0x163)]({'revision':_0x553ef6,'from':_0x312ad7,'to':_0x10d244});_0x2dd626[_0x221e3f(0x145)]=_0x2dd626[_0x221e3f(0x121)][_0x221e3f(0x14e)](_0x538038=>_0x5b6d3b[_0x221e3f(0x11c)](_0x538038)),_0x553ef6[_0x221e3f(0x166)](_0x2dd626);}[_0x42fb89(0x12c)](_0x4e3f77){const _0x53d3b7=_0x42fb89,_0x451201={};_0x451201['id']=_0x4e3f77['id'];for(const _0xced740 of Object[_0x53d3b7(0x119)](_0x4e3f77))'id'!==_0xced740&&(_0x451201[_0xced740]=void 0x0);this[_0x53d3b7(0x109)][_0x53d3b7(0xf8)](_0x451201['id'],_0x451201,!0x0);}async[_0x42fb89(0x12d)](_0x2b4dcc){const _0x3e9525=_0x42fb89,_0x3ca618=this[_0x3e9525(0x157)][_0x3e9525(0x11f)][_0x3e9525(0x141)](_0x54c736),{connection:_0xecbe17}=this[_0x3e9525(0x157)][_0x3e9525(0x11f)][_0x3e9525(0x141)](_0x424234),_0x1b8599=new Set();for(const _0x5964f8 of _0x2b4dcc){for(const _0x163d98 of _0x5964f8[_0x3e9525(0x121)])_0x31c467(_0x163d98);_0x5964f8[_0x3e9525(0x140)]&&_0x31c467(_0x5964f8[_0x3e9525(0x140)]);}if(0x0===_0x1b8599[_0x3e9525(0x12a)])return;const _0x8302e5=await _0x330703[_0x3e9525(0x146)](_0xecbe17,Array[_0x3e9525(0x10d)](_0x1b8599));for(const _0x5df4b0 of _0x8302e5)_0x3ca618[_0x3e9525(0x11c)](_0x5df4b0['id'])||_0x3ca618[_0x3e9525(0x108)](_0x5df4b0);function _0x31c467(_0x5da962){const _0x2c7977=_0x3e9525;_0x3ca618[_0x2c7977(0x11c)](_0x5da962)||_0x1b8599[_0x2c7977(0x158)](_0x5da962);}}}export default u;function ct(_0x2e7526){const _0x4b6015=_0x42fb89;return _0x2e7526[_0x4b6015(0x14d)][_0x4b6015(0x168)](_0x4b6015(0x155))||_0x2e7526[_0x4b6015(0x14d)][_0x4b6015(0x168)](_0x4b6015(0x114))||_0x2e7526[_0x4b6015(0x14d)][_0x4b6015(0x168)](_0x4b6015(0xfa));}function _0x54fb(){const _0x405922=['bind','400','_isConnected','_waitForServiceReady','isBundleUploaded','toVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','baseVersion','editor','add','has','reverse','adapter','_createCurrentRevision','isEmptyCurrent','remove','once','reconnect','isPremiumPlugin','connect','buildRevisionData','3816463PkVdAP','wrongRequestId','_update','_isPendingUpdate','startsWith','setRevisionData','serverHistory','5386YcfMQV','_revisionHistoryService','_bufferUpdate','86823kGlxQW','cloud-services-internal-error:\x20Request\x20timeout.','code','requires','connection','394chzYlD','listenTo','5534766hnjLDi','RevisionHistory','_getLatestVersion','off','isConnected','cloudServices.bundleVersion','length','updateRevisions','addUser','_revisionTracker','data','48CwGFEu','currentRevision','from','config','type','setSource','_startingVersion','sessionId','_revisions','cloud-services-internal-error:\x20Not\x20connected.','catch','collaboration.channelId','connected','pluginName','keys','then','change:_isPendingUpdate','getUser','_bufferedUpdates','_revisionDataBuilder','plugins','26079zgOthW','authorsIds','4705734gAmjNs','reInit','_fixRevision','RevisionHistoryService','fromVersion','revisionsUpdated','isEnabled','CONNECTED','size','1070yZIUHD','_preventResendingRevisionData','_fetchMissingUsers','sendBufferedUpdates','1763300ScJLZn','isOfficialPlugin','_handleReconnectionError','_oldOffset','affectsData','getOperations','_getLatestVersionFromServerOperations','createdAt','destroy','getRevisions','getRevision','_handleRevisionsUpdate','addToReconnectionStack','max','repository','8lRhDoe','diffData','creatorId','get','_lastRequestId','init','state','authors','getMany','RevisionTracker','CloudServicesRevisionHistoryAdapter','_offset','addRevisionData','change:_isConnected','marker','message','map'];_0x54fb=function(){return _0x405922;};return _0x54fb();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0xa843fb=_0x3082;(function(_0x1976e5,_0x1301c9){const _0x4a2789=_0x3082,_0x7dd7f3=_0x1976e5();while(!![]){try{const _0x4a9cdf=parseInt(_0x4a2789(0x100))/0x1+parseInt(_0x4a2789(0x103))/0x2+-parseInt(_0x4a2789(0xe6))/0x3*(-parseInt(_0x4a2789(0xe4))/0x4)+-parseInt(_0x4a2789(0xfd))/0x5+parseInt(_0x4a2789(0xcf))/0x6+parseInt(_0x4a2789(0xe8))/0x7+-parseInt(_0x4a2789(0x108))/0x8*(parseInt(_0x4a2789(0xe3))/0x9);if(_0x4a9cdf===_0x1301c9)break;else _0x7dd7f3['push'](_0x7dd7f3['shift']());}catch(_0x6d5095){_0x7dd7f3['push'](_0x7dd7f3['shift']());}}}(_0x29d2,0xba10c));import{Plugin as _0x2d4a07}from'ckeditor5/src/core.js';import{User as _0x5f5597,TrackChangesService as _0x4a11c7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x56e4af from'../realtimecollaborativeediting/websocketgateway.js';function _0x3082(_0x6e0859,_0x5de54e){const _0x29d202=_0x29d2();return _0x3082=function(_0x308262,_0x3fa2ef){_0x308262=_0x308262-0xcf;let _0x1c2c9d=_0x29d202[_0x308262];return _0x1c2c9d;},_0x3082(_0x6e0859,_0x5de54e);}import _0x4638c3 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2c429e}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x2d4a07{static [_0xa843fb(0xf5)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4a11c7)());[_0xa843fb(0x105)];[_0xa843fb(0xd4)];static get[_0xa843fb(0xf4)](){const _0xb769f6=_0xa843fb;return[_0x4638c3,_0xb769f6(0xdf),_0x56e4af];}static get[_0xa843fb(0xef)](){const _0x427a02=_0xa843fb;return _0x427a02(0xe2);}static get[_0xa843fb(0x10c)](){return!0x0;}static get[_0xa843fb(0x104)](){return!0x0;}constructor(_0x2cc94){const _0x50dcd7=_0xa843fb;super(_0x2cc94);const _0x45a0df=this[_0x50dcd7(0xd3)][_0x50dcd7(0xf0)][_0x50dcd7(0xeb)](_0x50dcd7(0xf6));this[_0x50dcd7(0x105)]=new Map(),this[_0x50dcd7(0xd4)]=new f[(_0x50dcd7(0xf5))](_0x45a0df);}[_0xa843fb(0xd5)](){const _0x56ee6d=_0xa843fb,_0x1c8c70=this[_0x56ee6d(0xd3)][_0x56ee6d(0xed)][_0x56ee6d(0xeb)](_0x56e4af),_0x3565a5=this[_0x56ee6d(0xd3)][_0x56ee6d(0xed)][_0x56ee6d(0xeb)](_0x56ee6d(0xdf));return _0x3565a5[_0x56ee6d(0xfa)]={'getSuggestion':async _0x2dff7e=>{const _0x51e4dd=_0x56ee6d;await this[_0x51e4dd(0xdc)]();const _0x186aef=await this[_0x51e4dd(0xd4)][_0x51e4dd(0xeb)](_0x2dff7e)[_0x51e4dd(0x101)](J);return await this[_0x51e4dd(0xfc)]([_0x186aef]),_0x186aef;},'addSuggestion':async({id:_0x39efeb,type:_0x57266c,data:_0xdccc83,originalSuggestionId:_0x52a213,attributes:_0x54c2dc})=>{const _0x7f3202=_0x56ee6d;await this[_0x7f3202(0xdc)]();const _0x13b7a2={'id':_0x39efeb,'type':_0x57266c,'data':_0xdccc83,'originalSuggestionId':_0x52a213,'attributes':_0x54c2dc},_0x48136d=await this[_0x7f3202(0xd4)][_0x7f3202(0x10a)](_0x39efeb,_0x57266c,_0xdccc83,_0x52a213,_0x54c2dc)[_0x7f3202(0x101)](_0x4e6da3=>{if(ct(_0x4e6da3))return new Promise(_0x19b84a=>{const _0x1a5220=_0x3082;this[_0x1a5220(0x105)][_0x1a5220(0xf3)](_0x39efeb,{'resolve':_0x19b84a,'suggestionData':_0x13b7a2});});throw _0x4e6da3;});return this[_0x7f3202(0x105)][_0x7f3202(0xf9)](_0x39efeb),_0x48136d;},'updateSuggestion':async(_0x522ac7,_0x1e0997)=>{const _0x13ab42=_0x56ee6d;if(await this[_0x13ab42(0xdc)](),_0x13ab42(0xd0)!==_0x1e0997[_0x13ab42(0xd7)])return this[_0x13ab42(0xd4)][_0x13ab42(0xde)](_0x522ac7,_0x1e0997)[_0x13ab42(0x101)](J);}},this[_0x56ee6d(0xdb)](this[_0x56ee6d(0xd4)],_0x56ee6d(0xec),(_0x14cf78,_0x55f696)=>{const _0x45b7ad=_0x56ee6d;_0x3565a5[_0x45b7ad(0xea)](_0x55f696['id'])&&(_0x3565a5[_0x45b7ad(0xe5)](_0x55f696['id'])[_0x45b7ad(0xf2)]=_0x55f696[_0x45b7ad(0xf2)]);}),this[_0x56ee6d(0xd4)][_0x56ee6d(0xd1)](_0x1c8c70[_0x56ee6d(0x107)])[_0x56ee6d(0x109)](_0x33560a=>(_0x1c8c70[_0x56ee6d(0xfe)](this),this[_0x56ee6d(0xfc)](_0x33560a)[_0x56ee6d(0x109)](()=>{const _0x1d267e=_0x56ee6d;for(const _0x4fc815 of _0x33560a){_0x3565a5[_0x1d267e(0xd6)](_0x4fc815)[_0x1d267e(0xd9)]=!0x0;}})));}async[_0xa843fb(0xd8)](){const _0x2d5fb2=_0xa843fb,_0x49c59c=this[_0x2d5fb2(0xd3)][_0x2d5fb2(0xed)][_0x2d5fb2(0xeb)](_0x2d5fb2(0xdf)),{connection:_0x211543}=this[_0x2d5fb2(0xd3)][_0x2d5fb2(0xed)][_0x2d5fb2(0xeb)](_0x56e4af),_0x462950=await this[_0x2d5fb2(0xd4)][_0x2d5fb2(0xd1)](_0x211543);await this[_0x2d5fb2(0xfc)](_0x462950);for(const {suggestionData:_0x2a7e25,resolve:_0x5b1fd1}of this[_0x2d5fb2(0x105)][_0x2d5fb2(0xe1)]()){let _0x449099=_0x462950[_0x2d5fb2(0xe7)](_0x358447=>_0x358447['id']===_0x2a7e25['id']);_0x449099||(_0x449099=await this[_0x2d5fb2(0xd4)][_0x2d5fb2(0x10a)](_0x2a7e25['id'],_0x2a7e25[_0x2d5fb2(0xf1)],_0x2a7e25[_0x2d5fb2(0x102)],_0x2a7e25[_0x2d5fb2(0x10d)])),_0x5b1fd1(_0x449099);}for(const _0x133a6a of _0x462950)_0x49c59c[_0x2d5fb2(0xea)](_0x133a6a['id'])||_0x49c59c[_0x2d5fb2(0xd6)](_0x133a6a);}async[_0xa843fb(0xdc)](){const _0x332ef2=_0xa843fb;this[_0x332ef2(0xd4)][_0x332ef2(0xd2)]||await new Promise(_0x133021=>{const _0xc177dc=_0x332ef2;this[_0xc177dc(0xdb)](this[_0xc177dc(0xd4)],_0xc177dc(0xee),_0x30d604=>{const _0x4d008d=_0xc177dc;_0x30d604[_0x4d008d(0xf7)](),_0x133021();});});}async[_0xa843fb(0xfc)](_0x271105){const _0x5b77e6=_0xa843fb,_0x5d71ab=this[_0x5b77e6(0xd3)][_0x5b77e6(0xed)][_0x5b77e6(0xeb)](_0x2c429e),{connection:_0x2c33dc}=this[_0x5b77e6(0xd3)][_0x5b77e6(0xed)][_0x5b77e6(0xeb)](_0x56e4af),_0x147ab6=new Set();for(const {authorId:_0x133129}of _0x271105)_0x5d71ab[_0x5b77e6(0x10b)](_0x133129)||_0x147ab6[_0x5b77e6(0x10a)](_0x133129);if(0x0===_0x147ab6[_0x5b77e6(0xe9)])return;const _0x4fe716=await _0x5f5597[_0x5b77e6(0xda)](_0x2c33dc,Array[_0x5b77e6(0x106)](_0x147ab6));for(const _0x230fa4 of _0x4fe716)_0x5d71ab[_0x5b77e6(0x10b)](_0x230fa4['id'])||_0x5d71ab[_0x5b77e6(0xfb)](_0x230fa4);}}export default f;function _0x29d2(){const _0x162d9f=['getSuggestion','3PTzaij','find','9621955HCutcN','size','hasSuggestion','get','suggestionUpdated','plugins','connected','pluginName','config','type','attributes','set','requires','TrackChangesService','collaboration.channelId','off','startsWith','delete','adapter','addUser','_fetchMissingUsersForThreads','189705iVyVOR','addToReconnectionStack','cloud-services-internal-error:\x20Request\x20timeout.','132352OwhfwQ','catch','data','3017488IejKNw','isPremiumPlugin','_bufferedRequests','from','connection','824XgvUYw','then','add','getUser','isOfficialPlugin','originalSuggestionId','3492258cfWOyh','open','connect','isConnected','editor','_trackChangesService','init','addSuggestionData','state','reconnect','_saved','getMany','listenTo','_waitForServiceReady','message','update','TrackChangesEditing','cloud-services-internal-error:\x20Not\x20connected.','values','CloudServicesTrackChangesAdapter','302103JTrfbr','2639048JNuRxo'];_0x29d2=function(){return _0x162d9f;};return _0x29d2();}function J(_0x16310e){if(ct(_0x16310e))return new Promise(()=>{});throw _0x16310e;}function ct(_0x50fcd8){const _0x55f8cb=_0xa843fb;return _0x50fcd8[_0x55f8cb(0xdd)][_0x55f8cb(0xf8)](_0x55f8cb(0xe0))||_0x50fcd8[_0x55f8cb(0xdd)][_0x55f8cb(0xf8)](_0x55f8cb(0xff));}
|