@ckeditor/ckeditor5-real-time-collaboration 41.3.0 → 41.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/package.json +5 -5
- package/src/augmentation.js +1 -1
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- 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/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x538a66=_0x2ec9;(function(_0x527c57,_0x41abb5){const _0x297037=_0x2ec9,_0x4ef3c3=_0x527c57();while(!![]){try{const _0x5c7e4d=-parseInt(_0x297037(0xf1))/0x1*(parseInt(_0x297037(0x183))/0x2)+parseInt(_0x297037(0xe2))/0x3+parseInt(_0x297037(0xc5))/0x4+parseInt(_0x297037(0x103))/0x5*(parseInt(_0x297037(0x136))/0x6)+parseInt(_0x297037(0x154))/0x7*(parseInt(_0x297037(0xfa))/0x8)+parseInt(_0x297037(0x150))/0x9*(-parseInt(_0x297037(0x14a))/0xa)+parseInt(_0x297037(0x157))/0xb;if(_0x5c7e4d===_0x41abb5)break;else _0x4ef3c3['push'](_0x4ef3c3['shift']());}catch(_0xb6ae5c){_0x4ef3c3['push'](_0x4ef3c3['shift']());}}}(_0x45be,0x75bb5));import{Plugin as _0xcd52d0,PendingActions as _0x14979d}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c3ac2,version as _0x409246,uid as _0x2ecd05}from'ckeditor5/src/utils.js';import{Notification as _0x53f26}from'ckeditor5/src/ui.js';import{transformSets as _0x365a66,NoOperation as _0x86c3e8,InsertOperation as _0x100fcf,MarkerOperation as _0x4689a5,RootAttributeOperation as _0x1e6ea0,OperationFactory as _0x5e8469,History as _0x5b5a69}from'ckeditor5/src/engine.js';import _0x66ab61 from'./websocketgateway.js';import _0x5f0a9d from'./sessions.js';import _0x1a6130 from'./usermarkers.js';import{getTranslation as _0x450d2d}from'../common-translations.js';import _0x4395f2 from'@ckeditor/ckeditor5-operations-compressor/src/compressor.js';function _0x2ec9(_0x14b189,_0x32c274){const _0x45be96=_0x45be();return _0x2ec9=function(_0x2ec979,_0x1b1ed6){_0x2ec979=_0x2ec979-0xa4;let _0x2ace7c=_0x45be96[_0x2ec979];return _0x2ace7c;},_0x2ec9(_0x14b189,_0x32c274);}import{Users as _0x2e8ef8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x163f81}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x3e0873}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0xcd52d0{static get[_0x538a66(0x135)](){return[_0x66ab61,_0x5f0a9d,_0x1a6130,_0x14979d,_0x2e8ef8,_0x53f26];}static get[_0x538a66(0x186)](){const _0xe6f9fe=_0x538a66;return _0xe6f9fe(0xe1);}get[_0x538a66(0x119)](){const _0x86869f=_0x538a66;return this[_0x86869f(0xde)]+this[_0x86869f(0x171)];}get[_0x538a66(0xde)](){const _0x306b9b=_0x538a66;return this[_0x306b9b(0xa7)][_0x306b9b(0xae)]-this[_0x306b9b(0x171)];}get[_0x538a66(0x151)](){const _0x3cf149=_0x538a66,_0x17d3f0=this[_0x3cf149(0xa7)][_0x3cf149(0x163)]();for(let _0x5d4de7=_0x17d3f0[_0x3cf149(0x10e)]-0x1;_0x5d4de7>=0x0;_0x5d4de7--){const _0x214cad=_0x17d3f0[_0x5d4de7];if(!this[_0x3cf149(0xbf)][_0x3cf149(0x124)](_0x214cad))return _0x214cad[_0x3cf149(0x17f)]+0x1-this[_0x3cf149(0x171)];}return 0x0;}constructor(_0x2b8de9){const _0x17c7b4=_0x538a66;if(super(_0x2b8de9),this[_0x17c7b4(0x171)]=0x0,this[_0x17c7b4(0xb8)]=null,this[_0x17c7b4(0xa7)]=new _0x5b5a69(),this[_0x17c7b4(0x1a1)][_0x17c7b4(0xe9)][_0x17c7b4(0x19e)](_0x17c7b4(0x138),{}),this[_0x17c7b4(0x123)]=this[_0x17c7b4(0x1a1)][_0x17c7b4(0xe9)][_0x17c7b4(0x115)](_0x17c7b4(0x17d)),!this[_0x17c7b4(0x123)])throw new _0x3c3ac2(_0x17c7b4(0xe3),this);const _0x4ba9b9=_0x2b8de9[_0x17c7b4(0xe9)][_0x17c7b4(0x115)](_0x17c7b4(0x130))||_0x409246;this[_0x17c7b4(0xd5)]=new l[(_0x17c7b4(0xc9))](_0x4ba9b9,this[_0x17c7b4(0x123)]),this[_0x17c7b4(0x184)]=this[_0x17c7b4(0x1a1)][_0x17c7b4(0x196)][_0x17c7b4(0x158)],this[_0x17c7b4(0xe4)]=new _0x4395f2(),this[_0x17c7b4(0xf5)]=[],this[_0x17c7b4(0x11c)]=new WeakSet(),this[_0x17c7b4(0xb3)]=new Set(),this[_0x17c7b4(0xac)](_0x17c7b4(0x148),!0x1),this[_0x17c7b4(0xac)](_0x17c7b4(0xe7),!0x1),this[_0x17c7b4(0x128)]=null,this[_0x17c7b4(0xb1)]=!0x1,this[_0x17c7b4(0xec)]=null,this[_0x17c7b4(0xdf)]=0x12c,this[_0x17c7b4(0x116)]=this[_0x17c7b4(0xdf)],this[_0x17c7b4(0x11e)]=null,this[_0x17c7b4(0xbf)]=new WeakSet(),this[_0x17c7b4(0x166)]=new X(this[_0x17c7b4(0xbf)]);}[_0x538a66(0x149)](){const _0x342369=_0x538a66,_0xc27285=this[_0x342369(0x1a1)],_0x5a88a9=_0xc27285[_0x342369(0x12d)][_0x342369(0x115)](_0x2e8ef8),_0x505706=_0xc27285[_0x342369(0x12d)][_0x342369(0x115)](_0x66ab61);this[_0x342369(0x11f)](_0x5a88a9,_0x342369(0x170),(_0x49754d,_0x3964ed)=>{const _0x53b769=_0x342369,_0xda1535=_0x3964ed[0x0];_0xda1535[_0x53b769(0xbb)]&&(_0x49754d[_0x53b769(0x15f)]=_0x5a88a9[_0x53b769(0xa6)](_0xda1535[_0x53b769(0xbb)]),_0x49754d[_0x53b769(0xf6)]()),null===_0xda1535[_0x53b769(0xbb)]&&(_0x49754d[_0x53b769(0x15f)]=null,_0x49754d[_0x53b769(0xf6)]());},{'priority':_0x342369(0x141)}),this[_0x342369(0x11f)](_0xc27285[_0x342369(0x196)][_0x342369(0x158)][_0x342369(0x152)],_0x342369(0x131),(_0x2d4512,_0x276f61)=>{const _0x354814=_0x342369;_0x276f61[_0x354814(0xe8)]&&this[_0x354814(0x15e)]();}),this[_0x342369(0x11f)](_0xc27285[_0x342369(0x13e)][_0x342369(0x178)],_0x342369(0xc1),()=>{const _0x2104af=_0x342369;this[_0x2104af(0x15e)]();}),this[_0x342369(0x12c)](),_0xc27285[_0x342369(0x196)]['on'](_0x342369(0xd9),(_0x1c4aa2,_0x27c667)=>{const _0x4459de=_0x342369,_0x49d6bd=_0x27c667[0x0];_0x49d6bd[_0x4459de(0xe6)]&&(this[_0x4459de(0xce)](_0x49d6bd),this[_0x4459de(0xbe)]()&&this[_0x4459de(0x129)]());}),this[_0x342369(0x127)](),this[_0x342369(0x174)](_0x342369(0xdd))['to'](_0x505706,_0x342369(0x10a),this,_0x342369(0xe7),(_0x266520,_0x2c4b04)=>_0x342369(0x17e)===_0x266520&&!_0x2c4b04),this['on'](_0x342369(0x109),()=>{const _0x2569ac=_0x342369;this[_0x2569ac(0xdd)]?_0xc27285[_0x2569ac(0xc6)](_0x2569ac(0xf0)):_0xc27285[_0x2569ac(0xaa)](_0x2569ac(0xf0));}),this[_0x342369(0xdd)]?_0xc27285[_0x342369(0xc6)](_0x342369(0xf0)):_0xc27285[_0x342369(0xaa)](_0x342369(0xf0)),this[_0x342369(0xac)](_0x342369(0x112),!0x1);}async[_0x538a66(0xcf)](){const _0x43fe8d=_0x538a66,_0x4e1ea5=this[_0x43fe8d(0x1a1)][_0x43fe8d(0x12d)][_0x43fe8d(0x115)](_0x5f0a9d),_0x14b754=this[_0x43fe8d(0x1a1)][_0x43fe8d(0x12d)][_0x43fe8d(0x115)](_0x66ab61);try{this[_0x43fe8d(0x148)]=!0x0,_0x4e1ea5[_0x43fe8d(0xf3)](this[_0x43fe8d(0x123)]);const _0x1672a3=await this[_0x43fe8d(0xd5)][_0x43fe8d(0xcf)](_0x14b754[_0x43fe8d(0x156)],this[_0x43fe8d(0x151)]);await this[_0x43fe8d(0x160)](_0x1672a3)&&(this[_0x43fe8d(0x148)]=!0x1,this[_0x43fe8d(0x14e)]());const _0x11fee8=await this[_0x43fe8d(0xd5)][_0x43fe8d(0x107)]();_0x4e1ea5[_0x43fe8d(0xcb)](this[_0x43fe8d(0x123)],_0x11fee8),this[_0x43fe8d(0x15a)](),this[_0x43fe8d(0x112)]=!0x0;}catch(_0xf895aa){if(function(_0xef1cef){const _0x5ce584=_0x43fe8d;return _0x5ce584(0x18b)===_0xef1cef[_0x5ce584(0x10c)];}(_0xf895aa)&&this[_0x43fe8d(0xb8)])await this[_0x43fe8d(0xf7)]();else{if(function(_0x432b78){const _0x5a34f3=_0x43fe8d;return _0x5a34f3(0xa8)===_0x432b78[_0x5a34f3(0x10c)];}(_0xf895aa)){const _0x3b32d2=_0x450d2d(this[_0x43fe8d(0x1a1)][_0x43fe8d(0x197)],_0x43fe8d(0x15d));this[_0x43fe8d(0xd7)](_0x3b32d2);}else{if(!(_0xf895aa instanceof J))throw _0xf895aa;this[_0x43fe8d(0xd7)]();}}}}[_0x538a66(0x195)](){const _0x4db030=_0x538a66,_0xc3736d=this[_0x4db030(0x1a1)][_0x4db030(0x12d)][_0x4db030(0x115)](_0x66ab61),_0x45b5e6=this[_0x4db030(0x1a1)][_0x4db030(0x12d)][_0x4db030(0x115)](_0x5f0a9d);this[_0x4db030(0x1a1)][_0x4db030(0xaa)](_0x4db030(0xfb)),_0x45b5e6[_0x4db030(0xfc)][_0x4db030(0x124)](this[_0x4db030(0x123)])&&_0x45b5e6[_0x4db030(0xf3)](this[_0x4db030(0x123)]),_0xc3736d[_0x4db030(0x137)](this),this[_0x4db030(0x133)](),super[_0x4db030(0x195)]();}async[_0x538a66(0x160)](_0x1443c3){const _0x53ea57=_0x538a66;if(this[_0x53ea57(0xb8)]!==_0x1443c3[_0x53ea57(0xb8)]&&this[_0x53ea57(0x11e)]!==_0x1443c3[_0x53ea57(0xba)])throw new J();return this[_0x53ea57(0xb8)]=_0x1443c3[_0x53ea57(0xb8)],this[_0x53ea57(0x17a)]([],{..._0x1443c3,'wereChangesApplied':!0x1,'data':_0x1443c3[_0x53ea57(0x179)]},_0x53ea57(0xcf));}async[_0x538a66(0x106)](_0x2c770f,_0x5485b4=!0x1){const _0x24d6cd=_0x538a66,{connection:_0x3257b1}=this[_0x24d6cd(0x1a1)][_0x24d6cd(0x12d)][_0x24d6cd(0x115)](_0x66ab61);l[_0x24d6cd(0xc9)][_0x24d6cd(0x107)](_0x3257b1,this[_0x24d6cd(0x123)])[_0x24d6cd(0x1a5)](_0x2f8216=>this[_0x24d6cd(0x18e)](_0x2f8216))[_0x24d6cd(0xf9)](_0x49cd6e=>{const _0x5f2ca5=_0x24d6cd;this[_0x5f2ca5(0xd3)](_0x5f2ca5(0xff),_0x49cd6e);}),this[_0x24d6cd(0x11f)](this[_0x24d6cd(0xd5)],_0x24d6cd(0xf8),this[_0x24d6cd(0xee)][_0x24d6cd(0x174)](this)),this[_0x24d6cd(0x11f)](this[_0x24d6cd(0xd5)],_0x24d6cd(0x1a2),(_0x2b839c,_0x5a01bd)=>{const _0x1f495c=_0x24d6cd;this[_0x1f495c(0xd3)](_0x1f495c(0xca),_0x5a01bd);}),this[_0x24d6cd(0x11f)](this[_0x24d6cd(0xd5)],_0x24d6cd(0x19c),()=>{const _0x12c63b=_0x24d6cd;this[_0x12c63b(0x112)]=!0x1;});const _0x3c03c9=this[_0x24d6cd(0x166)][_0x24d6cd(0x122)](_0x2c770f);this[_0x24d6cd(0x148)]=!0x0;const _0x31b6e0=await this[_0x24d6cd(0xd5)][_0x24d6cd(0x190)](_0x3257b1,this[_0x24d6cd(0x10d)](_0x2c770f),_0x3c03c9);if(this[_0x24d6cd(0xb8)]=_0x31b6e0[_0x24d6cd(0xb8)],_0x5485b4){if(!_0x31b6e0[_0x24d6cd(0xc2)])return void this[_0x24d6cd(0xd7)]();this[_0x24d6cd(0x148)]=!0x1,this[_0x24d6cd(0x14e)](),this[_0x24d6cd(0xa7)][_0x24d6cd(0x104)](),this[_0x24d6cd(0x171)]=_0x31b6e0[_0x24d6cd(0xf4)],this[_0x24d6cd(0xa7)][_0x24d6cd(0xae)]=this[_0x24d6cd(0x171)],await this[_0x24d6cd(0x17a)](_0x2c770f,_0x31b6e0,_0x24d6cd(0x100));}else await this[_0x24d6cd(0xd2)](_0x31b6e0,_0x2c770f);this[_0x24d6cd(0x15a)](),this[_0x24d6cd(0x112)]=!0x0;}[_0x538a66(0x15a)](){const _0x2057a9=_0x538a66,_0x3b3e33=this[_0x2057a9(0x1a1)][_0x2057a9(0x12d)][_0x2057a9(0x115)](_0x5f0a9d),_0x231282=this[_0x2057a9(0x1a1)][_0x2057a9(0x12d)][_0x2057a9(0x115)](_0x1a6130),_0x511fe5=_0x3b3e33[_0x2057a9(0xfc)][_0x2057a9(0x115)](this[_0x2057a9(0x123)]);_0x511fe5&&_0x511fe5[_0x2057a9(0x10e)]>0x1?_0x231282[_0x2057a9(0xb6)]():this[_0x2057a9(0x11f)](_0x3b3e33,_0x2057a9(0x14d)+this[_0x2057a9(0x123)],()=>{const _0x15ca5b=_0x2057a9;0x2===_0x3b3e33[_0x15ca5b(0xfc)][_0x15ca5b(0x115)](this[_0x15ca5b(0x123)])[_0x15ca5b(0x10e)]&&_0x231282[_0x15ca5b(0xb6)]();});}async[_0x538a66(0xee)](_0x8e59a4,_0x4e0136,_0xf630e4,_0x1724d4){const _0x6a4bb7=_0x538a66;if(!this[_0x6a4bb7(0x148)]&&this[_0x6a4bb7(0x184)][_0x6a4bb7(0xae)]==_0x4e0136){const _0x38d706=this[_0x6a4bb7(0x144)](_0xf630e4,_0x1724d4);await this[_0x6a4bb7(0x182)](_0x38d706),this[_0x6a4bb7(0x13d)](_0x38d706,_0x4e0136,_0xf630e4[_0x6a4bb7(0xba)])||this[_0x6a4bb7(0xd3)](_0x6a4bb7(0x126));}}async[_0x538a66(0xf7)](){const _0x137f51=_0x538a66;this[_0x137f51(0x133)]();const {locale:_0x1c53c3}=this[_0x137f51(0x1a1)];let _0x120e89;try{_0x120e89=await this[_0x137f51(0xd5)][_0x137f51(0xd1)]();}catch(_0x50023e){const _0x2b89b7=_0x450d2d(_0x1c53c3,_0x137f51(0xb4));return void this[_0x137f51(0xd7)](_0x2b89b7);}const _0x715776=_0x120e89[_0x137f51(0xed)]||_0x120e89[_0x137f51(0xc7)];if(this[_0x137f51(0x11e)]===_0x715776[_0x137f51(0xba)])await this[_0x137f51(0x106)](this[_0x137f51(0x1a1)][_0x137f51(0x196)][_0x137f51(0x158)][_0x137f51(0x17c)][_0x137f51(0x163)](),!0x0);else{const _0x3e14f2=_0x450d2d(_0x1c53c3,_0x137f51(0x155));this[_0x137f51(0xd7)](_0x3e14f2);}}[_0x538a66(0x133)](){const _0x4b0189=_0x538a66;this[_0x4b0189(0xd5)][_0x4b0189(0x191)](),this[_0x4b0189(0xf5)]=[],clearTimeout(this[_0x4b0189(0xec)]),this[_0x4b0189(0x117)](this[_0x4b0189(0xd5)]);}[_0x538a66(0x18e)](_0x459747){const _0x3ea0b7=_0x538a66,_0x3cb88e=this[_0x3ea0b7(0x1a1)][_0x3ea0b7(0x12d)][_0x3ea0b7(0x115)](_0x5f0a9d);this[_0x3ea0b7(0x11f)](_0x3cb88e,_0x3ea0b7(0x14d)+this[_0x3ea0b7(0x123)],(_0x577c52,{session:_0x342f10})=>{const _0x57492d=_0x3ea0b7;if(_0x342f10['id']===_0x3cb88e[_0x57492d(0x188)]){_0x577c52[_0x57492d(0x16d)]();const _0x259d00=this[_0x57492d(0x1a1)][_0x57492d(0x12d)][_0x57492d(0x124)](_0x57492d(0xd6))&&this[_0x57492d(0x1a1)][_0x57492d(0x12d)][_0x57492d(0x115)](_0x57492d(0xd6));let _0xba7707=_0x342f10[_0x57492d(0x193)];_0x259d00&&_0x259d00[_0x57492d(0x11d)]&&(_0xba7707=_0xba7707[_0x57492d(0x19d)](_0x18dae9=>_0x57492d(0xb5)!==_0x18dae9)),this[_0x57492d(0x1a1)][_0x57492d(0x12d)][_0x57492d(0x115)](_0x57492d(0x15c))[_0x57492d(0x13f)](_0xba7707,this[_0x57492d(0x123)]);}}),_0x3cb88e[_0x3ea0b7(0xcb)](this[_0x3ea0b7(0x123)],_0x459747);}[_0x538a66(0x12c)](){const _0x22ec3f=_0x538a66,_0x429efc=this[_0x22ec3f(0x1a1)][_0x22ec3f(0x179)][_0x22ec3f(0xac)];this[_0x22ec3f(0x1a1)][_0x22ec3f(0x179)][_0x22ec3f(0xac)]=(..._0x227bcc)=>{const _0x1c0504=_0x22ec3f;if(!_0x227bcc[_0x227bcc[_0x1c0504(0x10e)]-0x1][_0x1c0504(0x140)])throw new _0x3c3ac2(_0x1c0504(0x13c),this);_0x429efc[_0x1c0504(0x176)](this[_0x1c0504(0x1a1)][_0x1c0504(0x179)],_0x227bcc);};}[_0x538a66(0x127)](){const _0x5697ef=_0x538a66;this[_0x5697ef(0x1a1)][_0x5697ef(0x179)]['on'](_0x5697ef(0x149),(_0xe68c25,[_0x10a2d8])=>{const _0x19d940=_0x5697ef;if(this[_0x19d940(0x184)][_0x19d940(0xae)])throw new _0x3c3ac2(_0x19d940(0x145),this);_0xe68c25[_0x19d940(0xf6)](),this[_0x19d940(0x1a4)]();const _0x401eee=this[_0x19d940(0x1a1)][_0x19d940(0xe9)][_0x19d940(0x115)](_0x19d940(0x147)),_0x2e2df5=this[_0x19d940(0xf2)](_0x10a2d8,_0x401eee);0x0==_0x2e2df5[_0x19d940(0x10e)]&&_0x2e2df5[_0x19d940(0x121)](new _0x86c3e8(0x0)),_0xe68c25[_0x19d940(0x15f)]=this[_0x19d940(0x106)](_0x2e2df5)[_0x19d940(0x1a5)](()=>{const _0x395117=_0x19d940;this[_0x395117(0x1a1)][_0x395117(0x12d)][_0x395117(0x115)](_0x66ab61)[_0x395117(0xc0)](this),this[_0x395117(0x1a1)][_0x395117(0x179)][_0x395117(0x11a)](_0x395117(0xb9));})[_0x19d940(0xf9)](_0x1c4b1b=>this[_0x19d940(0xd3)](_0x19d940(0x146),_0x1c4b1b))[_0x19d940(0xda)](()=>this[_0x19d940(0x14e)]());},{'priority':_0x5697ef(0x141)}),this[_0x5697ef(0x1a1)]['on'](_0x5697ef(0xad),async(_0x3690a1,[_0xebdc48,_0x6e623f])=>{const _0x83ec72=_0x5697ef;_0x3690a1[_0x83ec72(0xf6)]();const _0x13180c=this[_0x83ec72(0x1a1)][_0x83ec72(0x196)][_0x83ec72(0x158)][_0x83ec72(0x101)](_0xebdc48);if(!this[_0x83ec72(0xb3)][_0x83ec72(0x124)](_0xebdc48)){const _0x106a25=_0x6e623f&&_0x6e623f[_0x83ec72(0x179)]?_0x6e623f[_0x83ec72(0x179)]:'',_0xed6dd3=_0x6e623f&&_0x6e623f[_0x83ec72(0xc3)]?_0x6e623f[_0x83ec72(0xc3)]:{};await this[_0x83ec72(0x134)](_0xebdc48,_0x106a25,_0xed6dd3);}this[_0x83ec72(0x1a1)][_0x83ec72(0x196)][_0x83ec72(0x1a3)]({'isUndoable':!0x1},()=>{const _0x402741=_0x83ec72;_0x13180c[_0x402741(0xb7)]=!0x0,this[_0x402741(0x1a1)][_0x402741(0x196)][_0x402741(0x158)][_0x402741(0x153)][_0x402741(0x19b)](_0x13180c);});},{'priority':_0x5697ef(0x141)});}async[_0x538a66(0x182)](_0x41104c){const _0x4edf24=_0x538a66,_0x2a4a30=this[_0x4edf24(0x1a1)][_0x4edf24(0x12d)][_0x4edf24(0x115)](_0x2e8ef8),{connection:_0x32a746}=this[_0x4edf24(0x1a1)][_0x4edf24(0x12d)][_0x4edf24(0x115)](_0x66ab61),_0x4faedf=new Set();for(const _0x24c4b6 of _0x41104c){const _0xbe652d=_0x24c4b6[_0x4edf24(0xbb)];_0xbe652d&&!_0x2a4a30[_0x4edf24(0xa6)](_0xbe652d)&&_0x4faedf[_0x4edf24(0x17b)](_0xbe652d);}if(0x0===_0x4faedf[_0x4edf24(0x15b)])return;const _0x650b84=await _0x163f81[_0x4edf24(0x14b)](_0x32a746,Array[_0x4edf24(0x161)](_0x4faedf));for(const _0x538f31 of _0x650b84)_0x2a4a30[_0x4edf24(0xa6)](_0x538f31['id'])||_0x2a4a30[_0x4edf24(0x12f)](_0x538f31);}[_0x538a66(0xf2)](_0x31ea86,_0x1f03b0={}){const _0x44139a=_0x538a66,_0x488124=this[_0x44139a(0x1a1)][_0x44139a(0x196)],_0x5d8d3f=[];let _0x52902b=0x0;const _0x5164f8=_0x44139a(0x168)==typeof _0x31ea86?{'main':_0x31ea86}:_0x31ea86;for(const _0x4cf833 of Object[_0x44139a(0x110)](_0x5164f8)){if(!this[_0x44139a(0x184)][_0x44139a(0x198)][_0x44139a(0x124)](_0x4cf833))throw new _0x3c3ac2(_0x44139a(0xc4),this);const _0x45734c=this[_0x44139a(0x1a1)][_0x44139a(0x179)][_0x44139a(0x113)](_0x5164f8[_0x4cf833]),_0x2d4ea7=this[_0x44139a(0x184)][_0x44139a(0x101)](_0x4cf833),_0x941580=new _0x100fcf(_0x488124[_0x44139a(0x102)](_0x2d4ea7,0x0),_0x45734c,_0x52902b++);_0x5d8d3f[_0x44139a(0x121)](_0x941580);for(const [_0x4a11b4,_0x554d2a]of _0x45734c[_0x44139a(0x120)]){const _0x1aead3=_0x488124[_0x44139a(0x162)](_0x488124[_0x44139a(0x13a)](_0x2d4ea7,_0x554d2a[_0x44139a(0x187)][_0x44139a(0x14c)][_0x44139a(0xa9)]()),_0x488124[_0x44139a(0x13a)](_0x2d4ea7,_0x554d2a[_0x44139a(0x12a)][_0x44139a(0x14c)][_0x44139a(0xa9)]())),_0x5b7af1=new _0x4689a5(_0x4a11b4,null,_0x1aead3,_0x488124[_0x44139a(0x120)],!0x0,_0x52902b++);_0x5d8d3f[_0x44139a(0x121)](_0x5b7af1);}}if(_0x1f03b0)for(const [_0xfcdbb6,_0x6f9fd7]of Object[_0x44139a(0x16f)](_0x1f03b0)){const _0x27528c=_0x488124[_0x44139a(0x158)][_0x44139a(0x101)](_0xfcdbb6);if(!_0x27528c)throw new _0x3c3ac2(_0x44139a(0x189),null);for(const [_0x226459,_0x3aa9a2]of Object[_0x44139a(0x16f)](_0x6f9fd7))if(null!==_0x3aa9a2){const _0x4ab1ac=new _0x1e6ea0(_0x27528c,_0x226459,null,_0x3aa9a2,_0x52902b++);_0x5d8d3f[_0x44139a(0x121)](_0x4ab1ac);}}return _0x5d8d3f;}async[_0x538a66(0x134)](_0x3e2941,_0x12d789,_0x3b978e){const _0x495e5a=_0x538a66;this[_0x495e5a(0xf2)]({[_0x3e2941]:_0x12d789},{[_0x3e2941]:_0x3b978e})[_0x495e5a(0xe5)]((_0x53c580,_0x4cc786)=>{const _0x28bdba=_0x495e5a;_0x53c580[_0x28bdba(0x17f)]=this[_0x28bdba(0x184)][_0x28bdba(0xae)]+_0x4cc786,_0x53c580[_0x28bdba(0x16e)]=!0x0,this[_0x28bdba(0xce)](_0x53c580);}),this[_0x495e5a(0x129)](),await this[_0x495e5a(0x159)]();}async[_0x538a66(0xd2)](_0x4e38f9,_0x4c9b4a){const _0x5bcc16=_0x538a66;let _0x3bf29d;this[_0x5bcc16(0x171)]=_0x4e38f9[_0x5bcc16(0xf4)];const _0x1881f7=_0x4e38f9[_0x5bcc16(0xc2)]&&!_0x4e38f9[_0x5bcc16(0x118)],_0x55fe2a=_0x1881f7?0x0:_0x4e38f9[_0x5bcc16(0x179)][_0x5bcc16(0x17f)];if(_0x4c9b4a[_0x5bcc16(0xe5)](_0x23bf1c=>{const _0x1fc1c5=_0x5bcc16;_0x23bf1c[_0x1fc1c5(0x16e)]=!0x0,_0x23bf1c[_0x1fc1c5(0x18d)]=_0x4e38f9[_0x1fc1c5(0xea)],_0x23bf1c[_0x1fc1c5(0xbb)]=null;}),_0x1881f7)_0x3bf29d=_0x4c9b4a,this[_0x5bcc16(0x114)](_0x3bf29d,_0x1881f7);else{if(_0x4e38f9[_0x5bcc16(0x118)]){const _0x6d727e=this[_0x5bcc16(0xf2)](_0x4e38f9[_0x5bcc16(0x118)]);this[_0x5bcc16(0x184)][_0x5bcc16(0x17c)][_0x5bcc16(0xae)]=-_0x6d727e[_0x5bcc16(0x10e)],_0x6d727e[_0x5bcc16(0xe5)](_0x588e6f=>{const _0x39210f=_0x5bcc16;_0x588e6f[_0x39210f(0x17f)]-=_0x6d727e[_0x39210f(0x10e)],_0x588e6f[_0x39210f(0x18d)]=_0x4e38f9[_0x39210f(0xea)],_0x588e6f[_0x39210f(0x16e)]=!0x0,_0x588e6f[_0x39210f(0xbb)]=null;}),this[_0x5bcc16(0x114)](_0x6d727e,!0x0),this[_0x5bcc16(0xa7)][_0x5bcc16(0xae)]=-_0x6d727e[_0x5bcc16(0x10e)]+this[_0x5bcc16(0x171)],this[_0x5bcc16(0x167)](_0x6d727e);}this[_0x5bcc16(0x184)][_0x5bcc16(0x17c)][_0x5bcc16(0xae)]=_0x55fe2a,_0x3bf29d=this[_0x5bcc16(0x144)](_0x4e38f9[_0x5bcc16(0x179)],_0x4e38f9[_0x5bcc16(0x105)]),await this[_0x5bcc16(0x182)](_0x3bf29d),this[_0x5bcc16(0x114)](_0x3bf29d,_0x1881f7);}_0x4e38f9[_0x5bcc16(0xba)]&&(this[_0x5bcc16(0x166)][_0x5bcc16(0x16c)](_0x3bf29d,_0x4e38f9[_0x5bcc16(0xba)]),this[_0x5bcc16(0x11e)]=_0x4e38f9[_0x5bcc16(0xba)]),this[_0x5bcc16(0xa7)][_0x5bcc16(0xae)]=_0x55fe2a+this[_0x5bcc16(0x171)],this[_0x5bcc16(0x167)](_0x3bf29d),_0x4c9b4a[_0x5bcc16(0x19d)](_0x212131=>{const _0x400832=_0x5bcc16,_0x5b383a=this[_0x400832(0xb2)](_0x212131);return _0x5b383a&&!this[_0x400832(0xb3)][_0x400832(0x124)](_0x5b383a);})[_0x5bcc16(0xe5)]((_0x155e77,_0x3a72e8)=>{const _0x21542b=_0x5bcc16;_0x155e77[_0x21542b(0x17f)]=this[_0x21542b(0x184)][_0x21542b(0xae)]+_0x3a72e8,this[_0x21542b(0xce)](_0x155e77);}),this[_0x5bcc16(0xbe)]()?(this[_0x5bcc16(0x116)]=0x0,this[_0x5bcc16(0x129)](!0x0),await this[_0x5bcc16(0x159)]()):(this[_0x5bcc16(0x148)]=!0x1,this[_0x5bcc16(0x14e)]());}[_0x538a66(0xd3)](_0x1f9615,_0x572dc2){const _0x472727=_0x538a66;throw this[_0x472727(0x148)]=!0x0,_0x572dc2&&console[_0x472727(0x1a2)](_0x572dc2),new _0x3c3ac2(_0x1f9615,this[_0x472727(0x1a1)]);}[_0x538a66(0xce)](_0x361586){const _0x34db9e=_0x538a66;this[_0x34db9e(0x11c)][_0x34db9e(0x124)](_0x361586)||(this[_0x34db9e(0x11c)][_0x34db9e(0x17b)](_0x361586),this[_0x34db9e(0xf5)][_0x34db9e(0x121)](_0x361586),this[_0x34db9e(0x128)]||_0x34db9e(0x18a)==_0x361586[_0x34db9e(0x14f)]&&!_0x361586[_0x34db9e(0xcd)]||this[_0x34db9e(0x1a4)]());}[_0x538a66(0x129)](_0x2eed93=!0x1){const _0x222d8c=_0x538a66;!_0x2eed93&&this[_0x222d8c(0x148)]||(this[_0x222d8c(0x148)]=!0x0,clearTimeout(this[_0x222d8c(0xec)]),this[_0x222d8c(0xec)]=setTimeout(()=>{const _0x4d7f3f=_0x222d8c;this[_0x4d7f3f(0xdb)]()[_0x4d7f3f(0x1a5)](_0x21caa2=>{const _0xdf467=_0x4d7f3f;_0x21caa2&&(this[_0xdf467(0x14e)](),this[_0xdf467(0x148)]=!0x1);})[_0x4d7f3f(0xf9)](_0x38ae6a=>{const _0x3d2cf8=_0x4d7f3f;if(this[_0x3d2cf8(0x14e)](),this[_0x3d2cf8(0x148)]=!0x1,!function(_0xe43545){const _0x1dc837=_0x3d2cf8;return _0xe43545[_0x1dc837(0x19a)][_0x1dc837(0xfe)](_0x1dc837(0x125))||_0xe43545[_0x1dc837(0x19a)][_0x1dc837(0xfe)](_0x1dc837(0x181))||_0xe43545[_0x1dc837(0x19a)][_0x1dc837(0xfe)](_0x1dc837(0x108));}(_0x38ae6a))throw _0x38ae6a;});},this[_0x222d8c(0x116)]));}[_0x538a66(0x159)](){return new Promise(_0x3526f7=>{const _0x3bf175=_0x2ec9;this['on'](_0x3bf175(0xef),()=>{_0x3526f7();});});}async[_0x538a66(0xdb)](){const _0x3c35c0=_0x538a66,_0x1a03e4=this[_0x3c35c0(0x1a1)][_0x3c35c0(0x12d)][_0x3c35c0(0x115)](_0x1a6130);if(this[_0x3c35c0(0x169)]()&&(_0x1a03e4[_0x3c35c0(0xb6)](),this[_0x3c35c0(0xb1)]=!0x1),!this[_0x3c35c0(0xbe)]())return!0x0;const _0x32fe2a=[...this[_0x3c35c0(0xf5)]];for(const _0x1028a9 of _0x32fe2a)_0x1028a9[_0x3c35c0(0x185)]=this[_0x3c35c0(0x184)][_0x3c35c0(0x17c)][_0x3c35c0(0xd4)](_0x1028a9);const _0x10c6e4=this[_0x3c35c0(0x166)][_0x3c35c0(0x122)](_0x32fe2a),_0x395143=K++,_0x4407c3=this[_0x3c35c0(0x10d)](_0x32fe2a),_0x2316d3=await this[_0x3c35c0(0xd5)][_0x3c35c0(0xd8)](_0x4407c3,_0x4407c3[_0x3c35c0(0x17f)],_0x10c6e4);try{return await this[_0x3c35c0(0x17a)](_0x32fe2a,_0x2316d3,_0x395143);}catch(_0x4e7203){return this[_0x3c35c0(0xd3)](_0x3c35c0(0x139),_0x4e7203);}}async[_0x538a66(0x17a)](_0x4988d8,_0x5db2e1,_0x59e2fb){const _0x364747=_0x538a66;if(_0x364747(0x1a2)in _0x5db2e1)throw _0x5db2e1[_0x364747(0x1a2)];let _0x3a2ccd=!0x1;if(_0x5db2e1[_0x364747(0xc2)]){_0x5db2e1[_0x364747(0xba)]&&(this[_0x364747(0x11e)]=_0x5db2e1[_0x364747(0xba)]),this[_0x364747(0xf5)]=this[_0x364747(0xf5)][_0x364747(0x19d)](_0x5e6966=>!_0x4988d8[_0x364747(0x11b)](_0x5e6966));for(const _0x3e9286 of _0x4988d8)_0x3e9286[_0x364747(0x18d)]=_0x364747(0x18f)in _0x5db2e1&&_0x5db2e1[_0x364747(0x18f)]||void 0x0;Q(_0x4988d8,_0x5db2e1[_0x364747(0xae)]-_0x4988d8[_0x364747(0x10e)]),this[_0x364747(0x167)](_0x4988d8);const _0x28f5c2=_0x4988d8[_0x364747(0x19d)](_0x3aa123=>{const _0x3eaa85=_0x364747;if(!_0x3aa123[_0x3eaa85(0x16e)])return!0x1;const _0x5724f3=this[_0x3eaa85(0xb2)](_0x3aa123);return _0x5724f3&&!this[_0x3eaa85(0xb3)][_0x3eaa85(0x124)](_0x5724f3);});Q(_0x28f5c2,this[_0x364747(0x184)][_0x364747(0xae)]),this[_0x364747(0x114)](_0x28f5c2),_0x3a2ccd=!0x0,this[_0x364747(0x116)]=this[_0x364747(0xdf)];}else{const _0x23f0ab=this[_0x364747(0x144)](_0x5db2e1[_0x364747(0x179)],_0x5db2e1[_0x364747(0x105)])[_0x364747(0x19d)](_0x347ae6=>_0x347ae6[_0x364747(0x17f)]>=this[_0x364747(0xde)]);_0x23f0ab[_0x364747(0xe5)](_0x2b3bc2=>this[_0x364747(0x164)](_0x2b3bc2)),this[_0x364747(0xf5)]=this[_0x364747(0xf5)][_0x364747(0x19d)](_0x7d92d7=>!_0x7d92d7[_0x364747(0x16e)]||!this[_0x364747(0xb3)][_0x364747(0x124)](this[_0x364747(0xb2)](_0x7d92d7))),this[_0x364747(0xf5)][_0x364747(0x10e)]&&Q(this[_0x364747(0xf5)],this[_0x364747(0xf5)][0x0][_0x364747(0x17f)]),await this[_0x364747(0x182)](_0x23f0ab),_0x3a2ccd=this[_0x364747(0x13d)](_0x23f0ab,_0x5db2e1[_0x364747(0xae)],_0x5db2e1[_0x364747(0xba)]),this[_0x364747(0x116)]=Math[_0x364747(0xcc)](this[_0x364747(0x116)]/0x2);}return _0x3a2ccd?!this[_0x364747(0xbe)]()||(this[_0x364747(0x129)](!0x0),!0x1):this[_0x364747(0xd3)](_0x364747(0xfd));}[_0x538a66(0x13d)](_0x2bc1d2,_0x4836a9,_0x22fc90){const _0x485394=_0x538a66;try{const _0x4e2823={'document':this[_0x485394(0x184)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2bf9c0,operationsB:_0x41821f,originalOperations:_0x346ec0}=_0x365a66(_0x2bc1d2,this[_0x485394(0xf5)],_0x4e2823);Q(_0x2bf9c0,this[_0x485394(0x184)][_0x485394(0xae)]),Q(_0x41821f,_0x4836a9);for(const _0x25c382 of _0x2bf9c0){const _0x21c86a=_0x346ec0[_0x485394(0x115)](_0x25c382);_0x25c382[_0x485394(0xbb)]=_0x21c86a?_0x21c86a[_0x485394(0xbb)]:null;}_0x22fc90&&(this[_0x485394(0x166)][_0x485394(0x16c)](_0x2bc1d2,_0x22fc90),this[_0x485394(0x11e)]=_0x22fc90),this[_0x485394(0xf5)]=[..._0x41821f],this[_0x485394(0x114)](_0x2bf9c0),this[_0x485394(0x167)](_0x2bc1d2);}catch(_0x3bbbc7){return console[_0x485394(0x1a2)](_0x3bbbc7),!0x1;}return!0x0;}[_0x538a66(0x114)](_0x28690e,_0x221ac5=!0x1){const _0x526c16=_0x538a66;this[_0x526c16(0x1a1)][_0x526c16(0x196)][_0x526c16(0x1a3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x325408=>{const _0x29f2a5=_0x526c16;for(const _0x1e5ac3 of _0x28690e)this[_0x29f2a5(0x11c)][_0x29f2a5(0x17b)](_0x1e5ac3),this[_0x29f2a5(0x164)](_0x1e5ac3),_0x325408[_0x29f2a5(0x1a6)][_0x29f2a5(0x175)](_0x1e5ac3),this[_0x29f2a5(0x1a1)][_0x29f2a5(0x196)][_0x29f2a5(0xd9)](_0x1e5ac3);});}[_0x538a66(0x164)](_0x473c98){const _0x27a592=_0x538a66,_0x51066c=this[_0x27a592(0xb2)](_0x473c98);_0x51066c&&this[_0x27a592(0xb3)][_0x27a592(0x17b)](_0x51066c);}[_0x538a66(0xb2)](_0x49ad45){const _0x2af6a7=_0x538a66;let _0x35e2bf,_0x4a9877;switch(_0x49ad45[_0x2af6a7(0x14f)]){case _0x2af6a7(0xdc):_0x35e2bf=_0x49ad45[_0x2af6a7(0xb0)][_0x2af6a7(0x132)];break;case _0x2af6a7(0x18a):if(_0x4a9877=_0x49ad45[_0x2af6a7(0x173)],!_0x4a9877)return null;_0x35e2bf=_0x4a9877[_0x2af6a7(0x132)];break;case _0x2af6a7(0xe0):_0x35e2bf=_0x49ad45[_0x2af6a7(0x132)];break;case _0x2af6a7(0x111):_0x35e2bf=_0x49ad45[_0x2af6a7(0x1a0)];break;case _0x2af6a7(0x143):_0x35e2bf=_0x49ad45[_0x2af6a7(0x172)][_0x2af6a7(0x132)];break;default:return null;}return _0x35e2bf[_0x2af6a7(0x10f)];}[_0x538a66(0x167)](_0x3be8fe){const _0x546045=_0x538a66;_0x3be8fe[_0x546045(0xe5)](_0x2ce369=>{const _0xa83f34=_0x546045,_0x57c2ca=_0x2ce369[_0xa83f34(0x13b)]();_0x57c2ca[_0xa83f34(0xbb)]=_0x2ce369[_0xa83f34(0xbb)],_0x57c2ca[_0xa83f34(0x16e)]=!!_0x2ce369[_0xa83f34(0x16e)],_0x57c2ca[_0xa83f34(0x18d)]=_0x2ce369[_0xa83f34(0x18d)],_0x57c2ca[_0xa83f34(0x17f)]+=this[_0xa83f34(0x171)],_0x2ce369[_0xa83f34(0xa4)]&&this[_0xa83f34(0xbf)][_0xa83f34(0x17b)](_0x57c2ca),this[_0xa83f34(0xa7)][_0xa83f34(0x175)](_0x57c2ca);});}[_0x538a66(0xd7)](_0x517d13){const _0x27dfe6=_0x538a66,_0x3613ba=this[_0x27dfe6(0x1a1)][_0x27dfe6(0x12d)][_0x27dfe6(0x115)](_0x27dfe6(0xbd)),_0x150983=this[_0x27dfe6(0x1a1)][_0x27dfe6(0x197)];_0x517d13||(_0x517d13=_0x450d2d(_0x150983,_0x27dfe6(0x177))),_0x3613ba[_0x27dfe6(0x180)](_0x517d13,{'title':_0x450d2d(_0x150983,_0x27dfe6(0x16a)),'namespace':_0x27dfe6(0x142)}),this[_0x27dfe6(0xe7)]=!0x0,clearTimeout(this[_0x27dfe6(0xec)]),this[_0x27dfe6(0xf5)]=[],this[_0x27dfe6(0x1a1)][_0x27dfe6(0x12d)][_0x27dfe6(0x115)](_0x66ab61)[_0x27dfe6(0x195)]();}[_0x538a66(0x1a4)](){const _0x2171cc=_0x538a66;this[_0x2171cc(0x128)]||(this[_0x2171cc(0x128)]=this[_0x2171cc(0x1a1)][_0x2171cc(0x12d)][_0x2171cc(0x115)](_0x14979d)[_0x2171cc(0x17b)](_0x450d2d(this[_0x2171cc(0x1a1)][_0x2171cc(0x197)],_0x2171cc(0xeb))));}[_0x538a66(0x14e)](){const _0x2d16f7=_0x538a66;this[_0x2d16f7(0x128)]&&(this[_0x2d16f7(0x1a1)][_0x2d16f7(0x12d)][_0x2d16f7(0x115)](_0x14979d)[_0x2d16f7(0x16b)](this[_0x2d16f7(0x128)]),this[_0x2d16f7(0x128)]=null);}[_0x538a66(0x10d)](_0x133c32){const _0x100aa0=_0x538a66,_0x2bdb34=_0x133c32[_0x100aa0(0xa5)](_0x3b1bde=>_0x3b1bde[_0x100aa0(0x165)]());return this[_0x100aa0(0xe4)][_0x100aa0(0xab)](_0x2bdb34);}[_0x538a66(0x144)](_0x5d9728,_0x35622a){const _0x211fb5=_0x538a66;return this[_0x211fb5(0xe4)][_0x211fb5(0xbc)](_0x5d9728)[_0x211fb5(0xa5)]((_0x424ef0,_0x16fc14)=>{const _0x4f1643=_0x211fb5,_0x44c36c=_0x4f1643(0x149)==_0x35622a[_0x16fc14][_0x4f1643(0x14f)];if(_0x4f1643(0xaf)==_0x424ef0[_0x4f1643(0xd0)]){const _0x229550=_0x424ef0[_0x4f1643(0xb0)][_0x4f1643(0x132)];!this[_0x4f1643(0x184)][_0x4f1643(0x101)](_0x229550)&&(this[_0x4f1643(0x184)][_0x4f1643(0x194)](_0x4f1643(0xc8),_0x229550)[_0x4f1643(0x10b)]=!0x1);}const _0x15effc=_0x5e8469[_0x4f1643(0x192)](_0x424ef0,this[_0x4f1643(0x184)]);return _0x15effc[_0x4f1643(0x185)]=_0x424ef0[_0x4f1643(0x185)],_0x15effc[_0x4f1643(0x16e)]=_0x44c36c,_0x15effc[_0x4f1643(0xbb)]=_0x44c36c?null:_0x35622a[_0x16fc14][_0x4f1643(0x12b)],_0x15effc[_0x4f1643(0xa4)]=_0x4f1643(0x18c)===_0x35622a[_0x16fc14][_0x4f1643(0x14f)],_0x15effc[_0x4f1643(0x18d)]=_0x35622a[_0x16fc14][_0x4f1643(0x18d)],_0x15effc;});}[_0x538a66(0x15e)](){const _0x392c0f=_0x538a66;this[_0x392c0f(0xb1)]=!0x0,this[_0x392c0f(0x169)]()?this[_0x392c0f(0x129)]():this[_0x392c0f(0xb1)]=!0x1;}[_0x538a66(0x169)](){const _0x4bf136=_0x538a66,_0x11ae5b=this[_0x4bf136(0x1a1)][_0x4bf136(0x12d)][_0x4bf136(0x115)](_0x5f0a9d)[_0x4bf136(0xfc)][_0x4bf136(0x115)](this[_0x4bf136(0x123)]);return!this[_0x4bf136(0x1a1)][_0x4bf136(0x19f)]&&!!_0x11ae5b&&_0x11ae5b[_0x4bf136(0x10e)]>0x1&&this[_0x4bf136(0xb1)];}[_0x538a66(0xbe)](){const _0x2fbde9=_0x538a66;return this[_0x2fbde9(0xf5)][_0x2fbde9(0x10e)]>0x0||this[_0x2fbde9(0x169)]();}}l[_0x538a66(0xc9)]=_0x3e0873;function _0x45be(){const _0x5b4f71=['getDocumentDetails','_handleInitialConnectionData','_crash','isUndoneOperation','_service','CommentsOnly','_handleReconnectionError','sendOperations','applyOperation','finally','_sendBufferedOperations','insert','_isEditingAllowed','_lastServerVersion','_baseBufferDelay','addRootAttribute','RealTimeCollaborationClient','752913aKkSrP','collaboration-missing-channelid','_compressor','forEach','isDocumentOperation','_hasSynchronizationProblem','directChange','config','sessionCreatedAt','PENDING_ACTION_SENDING_DATA','_sendBufferedOperationsDelayId','currentDocumentSession','_handleReceivedOperations','change:_isPendingUpdate','rtc-offline','7141tdDrZv','_getOperationsFromInitData','unregister','offset','_bufferedOperations','stop','_connectAfterSessionHasBeenFlushed','operationsReceived','catch','3144PXtDTw','rtc-destroyed','channelSessions','realtimecollaborationclient-handleserverresponse','startsWith','realtimecollaborationclient-init-session-connection-error','reconnection:\x20flushed\x20session','getRoot','createPositionAt','10iaTYFv','reset','metadata','_connectService','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','change:_isEditingAllowed','state','_isAttached','code','_compressOperations','length','rootName','keys','addRoot','_isConnected','parse','_applyOperationsSet','get','_currentBufferDelay','stopListening','initData','cloudDocumentVersion','fire','includes','_knownOperations','isEnabled','_lastSyncedOperationId','listenTo','markers','push','getIdOfTheLastOperation','_channelId','has','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-initservice-incorrect-server-operation','_setUpDataInit','_pendingAction','_sendBufferedOperationsDelayed','end','userId','_initThrowingOnDataSet','plugins','_ignoredOperations','addUser','cloudServices.bundleVersion','change:range','root','_disconnectService','_loadRoot','requires','1111716BHVXGi','removeFromReconnectionStack','collaboration','realtimecollaborationclient-sendbufferedoperations','createPositionFromPath','clone','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleExternalOperations','editing','setPermissions','suppressErrorInCollaboration','high','real-time-collaboration','move','_decompressOperations','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-init-connection-failed','rootsAttributes','_isPendingUpdate','init','10AHcQur','getMany','path','sessionAdd:','_clearPendingAction','type','1881459JwyMkJ','lastSyncVersion','selection','differ','1085uVMfSu','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.','connection','1855656sWGtFH','document','_waitUntilSynced','_handleSendingSelectionMarkers','size','Permissions','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_refreshUserSelectionMarkers','return','_handleReconnectionResponse','from','createRange','getOperations','_addKnownRoot','toJSON','_operationIdentifier','_updateServerHistory','string','_shouldSendSelectionUpdate','Synchronization\x20issue','remove','setIdForTheLastOperation','off','_isInit','entries','getOperationAuthor','_offset','targetPosition','newRange','bind','addOperation','apply','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.','view','data','_handleServerResponse','add','history','collaboration.channelId','connected','baseVersion','showWarning','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_fetchMissingUsers','48UCjjAK','_document','wasUndone','pluginName','start','mySessionId','multi-root-editor-root-attributes-no-root','marker','404','cs:removeUser','createdAt','_initSessionsHandling','lastOperationAcceptedAt','connect','disconnect','fromJSON','permissions','createRoot','destroy','model','locale','roots','_operationToId','message','_bufferRootLoad','disconnected','filter','define','isReadOnly','affectedSelectable','editor','error','enqueueChange','_setPendingAction','then','batch','_isDisconnection','map','getUser','serverHistory','409','slice','enableReadOnlyMode','compress','set','loadRoot','version','InsertOperation','position','_hasSelectionChanged','_getAffectedRoot','_knownRootNames','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','document:write','createUserMarkerOperations','_isLoaded','sessionId','ready','lastOperationId','_authorId','decompress','Notification','_shouldSendUpdate','_disconnectionOperations','addToReconnectionStack','change:hasDomSelection','wereChangesApplied','attributes','realtimecollaborationclient-init-non-existent-root','46040CAZYOH','disableReadOnlyMode','lastDocumentSession','$root','CollaborativeEditingService','realtimecollaborationclient-initservice-internal-error','register','round','affectsData','_saveOperationInBuffer','reconnect','__className'];_0x45be=function(){return _0x5b4f71;};return _0x45be();}export default l;class J extends Error{}function Q(_0xea4457,_0x49aa03){const _0x5253eb=_0x538a66;for(const _0x33c072 of _0xea4457)_0x33c072[_0x5253eb(0x17f)]=_0x49aa03++;}class X{constructor(_0x2bb16b){const _0x181738=_0x538a66;this[_0x181738(0x12e)]=_0x2bb16b,this[_0x181738(0x199)]=new WeakMap();}[_0x538a66(0x122)](_0x335b78){const _0x4ab6df=_0x538a66;let _0x33e0bc=_0x335b78[_0x4ab6df(0x10e)];for(;_0x33e0bc--;){const _0x413dca=_0x335b78[_0x33e0bc];if(!this[_0x4ab6df(0x12e)][_0x4ab6df(0x124)](_0x413dca)){if(!this[_0x4ab6df(0x199)][_0x4ab6df(0x124)](_0x413dca)){const _0x11ba6e=_0x2ecd05()[_0x4ab6df(0xa9)](0x1,0x12);this[_0x4ab6df(0x199)][_0x4ab6df(0xac)](_0x413dca,_0x11ba6e);}return this[_0x4ab6df(0x199)][_0x4ab6df(0x115)](_0x413dca);}}}[_0x538a66(0x16c)](_0x15962f,_0x4b8a4b){const _0xd64bf7=_0x538a66;if(!_0x4b8a4b)return;let _0x1177b7=_0x15962f[_0xd64bf7(0x10e)];for(;_0x1177b7--;){const _0xb3bee7=_0x15962f[_0x1177b7];this[_0xd64bf7(0x12e)][_0xd64bf7(0x124)](_0xb3bee7)||this[_0xd64bf7(0x199)][_0xd64bf7(0xac)](_0xb3bee7,_0x4b8a4b);}}}
|
|
23
|
+
const _0x30ce85=_0x31aa;(function(_0x2b70b0,_0x2d5417){const _0x5e1e1e=_0x31aa,_0x1b17b8=_0x2b70b0();while(!![]){try{const _0xf01388=parseInt(_0x5e1e1e(0x1fa))/0x1*(-parseInt(_0x5e1e1e(0x1d2))/0x2)+parseInt(_0x5e1e1e(0x20e))/0x3*(parseInt(_0x5e1e1e(0x1d5))/0x4)+parseInt(_0x5e1e1e(0x1f6))/0x5*(-parseInt(_0x5e1e1e(0x19b))/0x6)+-parseInt(_0x5e1e1e(0x25b))/0x7+-parseInt(_0x5e1e1e(0x185))/0x8+parseInt(_0x5e1e1e(0x225))/0x9+parseInt(_0x5e1e1e(0x21b))/0xa;if(_0xf01388===_0x2d5417)break;else _0x1b17b8['push'](_0x1b17b8['shift']());}catch(_0x2b0c3c){_0x1b17b8['push'](_0x1b17b8['shift']());}}}(_0x18e6,0xb197f));import{Plugin as _0x4bd75e,PendingActions as _0x444460}from'ckeditor5/src/core.js';function _0x18e6(){const _0x36bd20=['decompress','isUndoneOperation','_sendBufferedOperations','model','2536227FWvfDw','cloud-services-internal-error:\x20Not\x20connected.','define','stop','Permissions','createRange','destroy','end','CommentsOnly','_shouldSendUpdate','history','forEach','_handleReconnectionResponse','requires','isReadOnly','batch','_hasSynchronizationProblem','cs:removeUser','_channelId','enableReadOnlyMode','_isConnected','high','disconnected','change:hasDomSelection','cloudDocumentVersion','get','type','differ','_service','document','_addKnownRoot','stopListening','addRootAttribute','multi-root-editor-root-attributes-no-root','setIdForTheLastOperation','_connectAfterSessionHasBeenFlushed','toJSON','listenTo','permissions','_decompressOperations','selection','_document','marker','locale','RealTimeCollaborationClient','_initSessionsHandling','realtimecollaborationclient-init-non-existent-root','add','cloud-services-internal-error:\x20Request\x20timeout.','lastOperationAcceptedAt','_shouldSendSelectionUpdate','keys','getConnectedSessions','_lastServerVersion','2775234zsHQnP','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_pendingAction','_operationToId','addToReconnectionStack','map','rootName','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','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.','register','realtimecollaborationclient-handleserverresponse','_knownOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','attributes','rtc-offline','apply','code','Notification','createUserMarkerOperations','startsWith','directChange','realtimecollaborationclient-init-connection-failed','message','_handleServerResponse','disconnect','real-time-collaboration','position','_compressOperations','createRoot','config','lastSyncVersion','operationsReceived','_setPendingAction','remove','_saveOperationInBuffer','_handleReceivedOperations','createPositionAt','removeFromReconnectionStack','_lastSyncedOperationId','return','init','initData','offset','_bufferRootLoad','9164312eBAgDq','compress','root','realtimecollaborationclient-init-session-connection-error','lastDocumentSession','_isEditingAllowed','sendOperations','_clearPendingAction','sessionId','bind','addRoot','plugins','showWarning','has','size','change:_isPendingUpdate','wereChangesApplied','_applyOperationsSet','channelSessions','_refreshUserSelectionMarkers','slice','_operationIdentifier','70758tqZKma','currentDocumentSession','getUser','_handleExternalOperations','connection','metadata','getIdOfTheLastOperation','createPositionFromPath','_isLoaded','version','_bufferedOperations','cloudServices.bundleVersion','lastOperationId','serverHistory','finally','collaboration.channelId','_handleReconnectionError','change:_isEditingAllowed','_initThrowingOnDataSet','change:range','realtimecollaborationclient-init-document-already-initialized','reset','_currentBufferDelay','collaboration','reconnection:\x20flushed\x20session','start','$root','collaboration-missing-channelid','_sendBufferedOperationsDelayId','getOperationAuthor','error','off','addUser','_knownRootNames','loadRoot','markers','view','wasUndone','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.','suppressErrorInCollaboration','getMany','connect','mySessionId','applyOperation','set','_handleInitialConnectionData','enqueueChange','_disconnectionOperations','404','_crash','realtimecollaborationclient-initservice-incorrect-server-operation','_disconnectService','InsertOperation','state','clone','40394WaAkrx','Synchronization\x20issue','realtimecollaborationclient-initservice-internal-error','931220DMEYRv','then','_isInit','getDocumentDetails','string','_isAttached','setPermissions','editing','userId','_offset','addOperation','createdAt','_handleSendingSelectionMarkers','_setUpDataInit','_sendBufferedOperationsDelayed','filter','rtc-destroyed','_getAffectedRoot','fromJSON','_hasSelectionChanged','_baseBufferDelay','data','409','_authorId','fire','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','entries','affectedSelectable','_ignoredOperations','__className','_isPendingUpdate','document:write','410MrBbWc','path','getRoot','_isDisconnection','65QqczuO','move','pluginName','catch','_waitUntilSynced','getOperations','from','isDocumentOperation','push','roots','rootsAttributes','parse','disableReadOnlyMode','_updateServerHistory','connected','newRange','sessionAdd:','isEnabled','realtimecollaborationclient-sendbufferedoperations','baseVersion','18WCuXEd','CollaborativeEditingService','insert','affectsData','_loadRoot','round','ready','length','_fetchMissingUsers','sessionCreatedAt','reconnect','includes','unregister','28706220rJPQsR','PENDING_ACTION_SENDING_DATA','editor','_getOperationsFromInitData','_compressor','targetPosition'];_0x18e6=function(){return _0x36bd20;};return _0x18e6();}import{CKEditorError as _0x46d4dc,version as _0x2dc229,uid as _0x2acfcd}from'ckeditor5/src/utils.js';function _0x31aa(_0x37a3e9,_0x144899){const _0x18e6a2=_0x18e6();return _0x31aa=function(_0x31aac4,_0x1c8e85){_0x31aac4=_0x31aac4-0x16a;let _0x5f246c=_0x18e6a2[_0x31aac4];return _0x5f246c;},_0x31aa(_0x37a3e9,_0x144899);}import{Notification as _0xb7e6f0}from'ckeditor5/src/ui.js';import{transformSets as _0x391649,NoOperation as _0x3adf87,InsertOperation as _0x420bd6,MarkerOperation as _0xafccb4,RootAttributeOperation as _0x417fc0,OperationFactory as _0x18eefe,History as _0x25ce2e}from'ckeditor5/src/engine.js';import _0x251b25 from'./websocketgateway.js';import _0x9dd6a1 from'./sessions.js';import _0x4c1409 from'./usermarkers.js';import{getTranslation as _0x41dd97}from'../common-translations.js';import _0x2fdd45 from'@ckeditor/ckeditor5-operations-compressor/src/compressor.js';import{Users as _0x54f416}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x404949}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x5afd38}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;class l extends _0x4bd75e{static get[_0x30ce85(0x232)](){return[_0x251b25,_0x9dd6a1,_0x4c1409,_0x444460,_0x54f416,_0xb7e6f0];}static get[_0x30ce85(0x1fc)](){const _0x28513a=_0x30ce85;return _0x28513a(0x251);}get[_0x30ce85(0x23d)](){const _0x10316e=_0x30ce85;return this[_0x10316e(0x25a)]+this[_0x10316e(0x1de)];}get[_0x30ce85(0x25a)](){const _0x286a6d=_0x30ce85;return this[_0x286a6d(0x1a8)][_0x286a6d(0x1a4)]-this[_0x286a6d(0x1de)];}get[_0x30ce85(0x177)](){const _0x2f9d92=_0x30ce85,_0x33e52a=this[_0x2f9d92(0x1a8)][_0x2f9d92(0x1ff)]();for(let _0x3664df=_0x33e52a[_0x2f9d92(0x215)]-0x1;_0x3664df>=0x0;_0x3664df--){const _0x87ba78=_0x33e52a[_0x3664df];if(!this[_0x2f9d92(0x1ca)][_0x2f9d92(0x192)](_0x87ba78))return _0x87ba78[_0x2f9d92(0x20d)]+0x1-this[_0x2f9d92(0x1de)];}return 0x0;}constructor(_0x49b9f4){const _0x5f35d5=_0x30ce85;if(super(_0x49b9f4),this[_0x5f35d5(0x1de)]=0x0,this[_0x5f35d5(0x18d)]=null,this[_0x5f35d5(0x1a8)]=new _0x25ce2e(),this[_0x5f35d5(0x21d)][_0x5f35d5(0x176)][_0x5f35d5(0x227)](_0x5f35d5(0x1b2),{}),this[_0x5f35d5(0x237)]=this[_0x5f35d5(0x21d)][_0x5f35d5(0x176)][_0x5f35d5(0x23e)](_0x5f35d5(0x1aa)),!this[_0x5f35d5(0x237)])throw new _0x46d4dc(_0x5f35d5(0x1b6),this);const _0x1dc541=_0x49b9f4[_0x5f35d5(0x176)][_0x5f35d5(0x23e)](_0x5f35d5(0x1a6))||_0x2dc229;this[_0x5f35d5(0x241)]=new l[(_0x5f35d5(0x20f))](_0x1dc541,this[_0x5f35d5(0x237)]),this[_0x5f35d5(0x24e)]=this[_0x5f35d5(0x21d)][_0x5f35d5(0x224)][_0x5f35d5(0x242)],this[_0x5f35d5(0x21f)]=new _0x2fdd45(),this[_0x5f35d5(0x1a5)]=[],this[_0x5f35d5(0x266)]=new WeakSet(),this[_0x5f35d5(0x1bc)]=new Set(),this[_0x5f35d5(0x1c7)](_0x5f35d5(0x1f4),!0x1),this[_0x5f35d5(0x1c7)](_0x5f35d5(0x235),!0x1),this[_0x5f35d5(0x25d)]=null,this[_0x5f35d5(0x1e8)]=!0x1,this[_0x5f35d5(0x1b7)]=null,this[_0x5f35d5(0x1e9)]=0x12c,this[_0x5f35d5(0x1b1)]=this[_0x5f35d5(0x1e9)],this[_0x5f35d5(0x17f)]=null,this[_0x5f35d5(0x1ca)]=new WeakSet(),this[_0x5f35d5(0x19a)]=new st(this[_0x5f35d5(0x1ca)]);}[_0x30ce85(0x181)](){const _0xeee7e0=_0x30ce85,_0x46670a=this[_0xeee7e0(0x21d)],_0xe65117=_0x46670a[_0xeee7e0(0x190)][_0xeee7e0(0x23e)](_0x54f416),_0x540cc3=_0x46670a[_0xeee7e0(0x190)][_0xeee7e0(0x23e)](_0x251b25);this[_0xeee7e0(0x24a)](_0xe65117,_0xeee7e0(0x1b8),(_0x4fba44,_0x16d61d)=>{const _0x5c70d4=_0xeee7e0,_0x278df5=_0x16d61d[0x0];_0x278df5[_0x5c70d4(0x1ec)]&&(_0x4fba44[_0x5c70d4(0x180)]=_0xe65117[_0x5c70d4(0x19d)](_0x278df5[_0x5c70d4(0x1ec)]),_0x4fba44[_0x5c70d4(0x228)]()),null===_0x278df5[_0x5c70d4(0x1ec)]&&(_0x4fba44[_0x5c70d4(0x180)]=null,_0x4fba44[_0x5c70d4(0x228)]());},{'priority':_0xeee7e0(0x23a)}),this[_0xeee7e0(0x24a)](_0x46670a[_0xeee7e0(0x224)][_0xeee7e0(0x242)][_0xeee7e0(0x24d)],_0xeee7e0(0x1ae),(_0x4f810f,_0x42f0a7)=>{const _0x106985=_0xeee7e0;_0x42f0a7[_0x106985(0x16d)]&&this[_0x106985(0x198)]();}),this[_0xeee7e0(0x24a)](_0x46670a[_0xeee7e0(0x1dc)][_0xeee7e0(0x1bf)],_0xeee7e0(0x23c),()=>{const _0x2ef439=_0xeee7e0;this[_0x2ef439(0x198)]();}),this[_0xeee7e0(0x1ad)](),_0x46670a[_0xeee7e0(0x224)]['on'](_0xeee7e0(0x1c6),(_0x5dbfb3,_0x547c5a)=>{const _0x1a608f=_0xeee7e0,_0x37a570=_0x547c5a[0x0];_0x37a570[_0x1a608f(0x201)]&&(this[_0x1a608f(0x17b)](_0x37a570),this[_0x1a608f(0x22e)]()&&this[_0x1a608f(0x1e3)]());}),this[_0xeee7e0(0x1e2)](),this[_0xeee7e0(0x18e)](_0xeee7e0(0x18a))['to'](_0x540cc3,_0xeee7e0(0x1d0),this,_0xeee7e0(0x235),(_0x4e8026,_0x26789b)=>_0xeee7e0(0x208)===_0x4e8026&&!_0x26789b),this['on'](_0xeee7e0(0x1ac),()=>{const _0x3ffb60=_0xeee7e0;this[_0x3ffb60(0x18a)]?_0x46670a[_0x3ffb60(0x206)](_0x3ffb60(0x269)):_0x46670a[_0x3ffb60(0x238)](_0x3ffb60(0x269));}),this[_0xeee7e0(0x18a)]?_0x46670a[_0xeee7e0(0x206)](_0xeee7e0(0x269)):_0x46670a[_0xeee7e0(0x238)](_0xeee7e0(0x269)),this[_0xeee7e0(0x1c7)](_0xeee7e0(0x239),!0x1);}async[_0x30ce85(0x218)](){const _0x218ea1=_0x30ce85,_0x548b7a=this[_0x218ea1(0x21d)][_0x218ea1(0x190)][_0x218ea1(0x23e)](_0x9dd6a1),_0x29bdd4=this[_0x218ea1(0x21d)][_0x218ea1(0x190)][_0x218ea1(0x23e)](_0x251b25);try{this[_0x218ea1(0x1f4)]=!0x0,_0x548b7a[_0x218ea1(0x21a)](this[_0x218ea1(0x237)]);const _0x53c777=await this[_0x218ea1(0x241)][_0x218ea1(0x218)](_0x29bdd4[_0x218ea1(0x19f)],this[_0x218ea1(0x177)]);await this[_0x218ea1(0x231)](_0x53c777)&&(this[_0x218ea1(0x1f4)]=!0x1,this[_0x218ea1(0x18c)]());const _0x184574=await this[_0x218ea1(0x241)][_0x218ea1(0x259)]();_0x548b7a[_0x218ea1(0x264)](this[_0x218ea1(0x237)],_0x184574),this[_0x218ea1(0x1e1)](),this[_0x218ea1(0x239)]=!0x0;}catch(_0x28b01c){if(function(_0x3c7c4b){const _0x2cf0cc=_0x218ea1;return _0x2cf0cc(0x1cb)===_0x3c7c4b[_0x2cf0cc(0x26b)];}(_0x28b01c)&&this[_0x218ea1(0x18d)])await this[_0x218ea1(0x248)]();else{if(function(_0x742255){const _0x9ed639=_0x218ea1;return _0x9ed639(0x1eb)===_0x742255[_0x9ed639(0x26b)];}(_0x28b01c)){const _0x1a89d0=_0x41dd97(this[_0x218ea1(0x21d)][_0x218ea1(0x250)],_0x218ea1(0x262));this[_0x218ea1(0x1ab)](_0x1a89d0);}else{if(!(_0x28b01c instanceof tt))throw _0x28b01c;this[_0x218ea1(0x1ab)]();}}}}[_0x30ce85(0x22b)](){const _0x291f51=_0x30ce85,_0x333859=this[_0x291f51(0x21d)][_0x291f51(0x190)][_0x291f51(0x23e)](_0x251b25),_0x25fd39=this[_0x291f51(0x21d)][_0x291f51(0x190)][_0x291f51(0x23e)](_0x9dd6a1);this[_0x291f51(0x21d)][_0x291f51(0x238)](_0x291f51(0x1e5)),_0x25fd39[_0x291f51(0x197)][_0x291f51(0x192)](this[_0x291f51(0x237)])&&_0x25fd39[_0x291f51(0x21a)](this[_0x291f51(0x237)]),_0x333859[_0x291f51(0x17e)](this),this[_0x291f51(0x1ce)](),super[_0x291f51(0x22b)]();}async[_0x30ce85(0x231)](_0x4b7779){const _0x338813=_0x30ce85;if(this[_0x338813(0x18d)]!==_0x4b7779[_0x338813(0x18d)]&&this[_0x338813(0x17f)]!==_0x4b7779[_0x338813(0x1a7)])throw new tt();return this[_0x338813(0x18d)]=_0x4b7779[_0x338813(0x18d)],this[_0x338813(0x170)]([],{..._0x4b7779,'wereChangesApplied':!0x1,'data':_0x4b7779[_0x338813(0x1ea)]},_0x338813(0x218));}async[_0x30ce85(0x1ef)](_0x17a552,_0x140d1a=!0x1){const _0x40141a=_0x30ce85,{connection:_0x2df59d}=this[_0x40141a(0x21d)][_0x40141a(0x190)][_0x40141a(0x23e)](_0x251b25);l[_0x40141a(0x20f)][_0x40141a(0x259)](_0x2df59d,this[_0x40141a(0x237)])[_0x40141a(0x1d6)](_0x1bbc42=>this[_0x40141a(0x252)](_0x1bbc42))[_0x40141a(0x1fd)](_0x539e1a=>{const _0x34a003=_0x40141a;this[_0x34a003(0x1cc)](_0x34a003(0x188),_0x539e1a);}),this[_0x40141a(0x24a)](this[_0x40141a(0x241)],_0x40141a(0x178),this[_0x40141a(0x17c)][_0x40141a(0x18e)](this)),this[_0x40141a(0x24a)](this[_0x40141a(0x241)],_0x40141a(0x1b9),(_0x10e09c,_0x22a760)=>{const _0x2b5be6=_0x40141a;this[_0x2b5be6(0x1cc)](_0x2b5be6(0x1d4),_0x22a760);}),this[_0x40141a(0x24a)](this[_0x40141a(0x241)],_0x40141a(0x23b),()=>{const _0x3b624c=_0x40141a;this[_0x3b624c(0x239)]=!0x1;});const _0x2791c4=this[_0x40141a(0x19a)][_0x40141a(0x1a1)](_0x17a552);this[_0x40141a(0x1f4)]=!0x0;const _0x3ba2e1=await this[_0x40141a(0x241)][_0x40141a(0x1c4)](_0x2df59d,this[_0x40141a(0x174)](_0x17a552),_0x2791c4);if(this[_0x40141a(0x18d)]=_0x3ba2e1[_0x40141a(0x18d)],_0x140d1a){if(!_0x3ba2e1[_0x40141a(0x195)])return void this[_0x40141a(0x1ab)]();this[_0x40141a(0x1f4)]=!0x1,this[_0x40141a(0x18c)](),this[_0x40141a(0x1a8)][_0x40141a(0x1b0)](),this[_0x40141a(0x1de)]=_0x3ba2e1[_0x40141a(0x183)],this[_0x40141a(0x1a8)][_0x40141a(0x1a4)]=this[_0x40141a(0x1de)],await this[_0x40141a(0x170)](_0x17a552,_0x3ba2e1,_0x40141a(0x1b3));}else await this[_0x40141a(0x1c8)](_0x3ba2e1,_0x17a552);this[_0x40141a(0x1e1)](),this[_0x40141a(0x239)]=!0x0;}[_0x30ce85(0x1e1)](){const _0x20ed86=_0x30ce85,_0x178b04=this[_0x20ed86(0x21d)][_0x20ed86(0x190)][_0x20ed86(0x23e)](_0x9dd6a1),_0x3feffe=this[_0x20ed86(0x21d)][_0x20ed86(0x190)][_0x20ed86(0x23e)](_0x4c1409),_0x51646e=_0x178b04[_0x20ed86(0x197)][_0x20ed86(0x23e)](this[_0x20ed86(0x237)]);_0x51646e&&_0x51646e[_0x20ed86(0x215)]>0x1?_0x3feffe[_0x20ed86(0x16b)]():this[_0x20ed86(0x24a)](_0x178b04,_0x20ed86(0x20a)+this[_0x20ed86(0x237)],()=>{const _0x114bf1=_0x20ed86;0x2===_0x178b04[_0x114bf1(0x197)][_0x114bf1(0x23e)](this[_0x114bf1(0x237)])[_0x114bf1(0x215)]&&_0x3feffe[_0x114bf1(0x16b)]();});}async[_0x30ce85(0x17c)](_0x59cea0,_0x3bc291,_0x572104,_0x1d07ca){const _0x2ea568=_0x30ce85;if(!this[_0x2ea568(0x1f4)]&&this[_0x2ea568(0x24e)][_0x2ea568(0x1a4)]==_0x3bc291){const _0x315d24=this[_0x2ea568(0x24c)](_0x572104,_0x1d07ca);await this[_0x2ea568(0x216)](_0x315d24),this[_0x2ea568(0x19e)](_0x315d24,_0x3bc291,_0x572104[_0x2ea568(0x1a7)])||this[_0x2ea568(0x1cc)](_0x2ea568(0x1cd));}}async[_0x30ce85(0x248)](){const _0x35bdc1=_0x30ce85;this[_0x35bdc1(0x1ce)]();const {locale:_0x24bfc8}=this[_0x35bdc1(0x21d)];let _0x4027e7;try{_0x4027e7=await this[_0x35bdc1(0x241)][_0x35bdc1(0x1d8)]();}catch(_0x191b23){const _0x3c55f8=_0x41dd97(_0x24bfc8,_0x35bdc1(0x1ee));return void this[_0x35bdc1(0x1ab)](_0x3c55f8);}const _0x1f9bc5=_0x4027e7[_0x35bdc1(0x19c)]||_0x4027e7[_0x35bdc1(0x189)];if(this[_0x35bdc1(0x17f)]===_0x1f9bc5[_0x35bdc1(0x1a7)])await this[_0x35bdc1(0x1ef)](this[_0x35bdc1(0x21d)][_0x35bdc1(0x224)][_0x35bdc1(0x242)][_0x35bdc1(0x22f)][_0x35bdc1(0x1ff)](),!0x0);else{const _0x3ee283=_0x41dd97(_0x24bfc8,_0x35bdc1(0x263));this[_0x35bdc1(0x1ab)](_0x3ee283);}}[_0x30ce85(0x1ce)](){const _0xcfd295=_0x30ce85;this[_0xcfd295(0x241)][_0xcfd295(0x171)](),this[_0xcfd295(0x1a5)]=[],clearTimeout(this[_0xcfd295(0x1b7)]),this[_0xcfd295(0x244)](this[_0xcfd295(0x241)]);}[_0x30ce85(0x252)](_0x846384){const _0x2e2a6c=_0x30ce85,_0x206f1d=this[_0x2e2a6c(0x21d)][_0x2e2a6c(0x190)][_0x2e2a6c(0x23e)](_0x9dd6a1);this[_0x2e2a6c(0x24a)](_0x206f1d,_0x2e2a6c(0x20a)+this[_0x2e2a6c(0x237)],(_0x544a75,{session:_0x75beaa})=>{const _0x21adfc=_0x2e2a6c;if(_0x75beaa['id']===_0x206f1d[_0x21adfc(0x1c5)]){_0x544a75[_0x21adfc(0x1ba)]();const _0xac47ad=this[_0x21adfc(0x21d)][_0x21adfc(0x190)][_0x21adfc(0x192)](_0x21adfc(0x22d))&&this[_0x21adfc(0x21d)][_0x21adfc(0x190)][_0x21adfc(0x23e)](_0x21adfc(0x22d));let _0x1ff9d3=_0x75beaa[_0x21adfc(0x24b)];_0xac47ad&&_0xac47ad[_0x21adfc(0x20b)]&&(_0x1ff9d3=_0x1ff9d3[_0x21adfc(0x1e4)](_0x1c7e64=>_0x21adfc(0x1f5)!==_0x1c7e64)),this[_0x21adfc(0x21d)][_0x21adfc(0x190)][_0x21adfc(0x23e)](_0x21adfc(0x229))[_0x21adfc(0x1db)](_0x1ff9d3,this[_0x21adfc(0x237)]);}}),_0x206f1d[_0x2e2a6c(0x264)](this[_0x2e2a6c(0x237)],_0x846384);}[_0x30ce85(0x1ad)](){const _0x225009=_0x30ce85,_0x3c9d5e=this[_0x225009(0x21d)][_0x225009(0x1ea)][_0x225009(0x1c7)];this[_0x225009(0x21d)][_0x225009(0x1ea)][_0x225009(0x1c7)]=(..._0x138898)=>{const _0x6a508d=_0x225009;if(!_0x138898[_0x138898[_0x6a508d(0x215)]-0x1][_0x6a508d(0x1c2)])throw new _0x46d4dc(_0x6a508d(0x267),this);_0x3c9d5e[_0x6a508d(0x26a)](this[_0x6a508d(0x21d)][_0x6a508d(0x1ea)],_0x138898);};}[_0x30ce85(0x1e2)](){const _0x2840da=_0x30ce85;this[_0x2840da(0x21d)][_0x2840da(0x1ea)]['on'](_0x2840da(0x181),(_0x437c12,[_0x22aa16])=>{const _0x33ead3=_0x2840da;if(this[_0x33ead3(0x24e)][_0x33ead3(0x1a4)])throw new _0x46d4dc(_0x33ead3(0x1af),this);_0x437c12[_0x33ead3(0x228)](),this[_0x33ead3(0x179)]();const _0x15613a=this[_0x33ead3(0x21d)][_0x33ead3(0x176)][_0x33ead3(0x23e)](_0x33ead3(0x204)),_0xd2d415=this[_0x33ead3(0x21e)](_0x22aa16,_0x15613a);0x0==_0xd2d415[_0x33ead3(0x215)]&&_0xd2d415[_0x33ead3(0x202)](new _0x3adf87(0x0)),_0x437c12[_0x33ead3(0x180)]=this[_0x33ead3(0x1ef)](_0xd2d415)[_0x33ead3(0x1d6)](()=>{const _0x199bfc=_0x33ead3;this[_0x199bfc(0x21d)][_0x199bfc(0x190)][_0x199bfc(0x23e)](_0x251b25)[_0x199bfc(0x25f)](this),this[_0x199bfc(0x21d)][_0x199bfc(0x1ea)][_0x199bfc(0x1ed)](_0x199bfc(0x214));})[_0x33ead3(0x1fd)](_0x8157d9=>this[_0x33ead3(0x1cc)](_0x33ead3(0x16e),_0x8157d9))[_0x33ead3(0x1a9)](()=>this[_0x33ead3(0x18c)]());},{'priority':_0x2840da(0x23a)}),this[_0x2840da(0x21d)]['on'](_0x2840da(0x1bd),async(_0x39dfc3,[_0xe9322f,_0x14f887])=>{const _0x55a359=_0x2840da;_0x39dfc3[_0x55a359(0x228)]();const _0x5cb3e5=this[_0x55a359(0x21d)][_0x55a359(0x224)][_0x55a359(0x242)][_0x55a359(0x1f8)](_0xe9322f);if(!this[_0x55a359(0x1bc)][_0x55a359(0x192)](_0xe9322f)){const _0xe1e657=_0x14f887&&_0x14f887[_0x55a359(0x1ea)]?_0x14f887[_0x55a359(0x1ea)]:'',_0x4a99f4=_0x14f887&&_0x14f887[_0x55a359(0x268)]?_0x14f887[_0x55a359(0x268)]:{};await this[_0x55a359(0x212)](_0xe9322f,_0xe1e657,_0x4a99f4);}this[_0x55a359(0x21d)][_0x55a359(0x224)][_0x55a359(0x1c9)]({'isUndoable':!0x1},()=>{const _0x4fbce7=_0x55a359;_0x5cb3e5[_0x4fbce7(0x1a3)]=!0x0,this[_0x4fbce7(0x21d)][_0x4fbce7(0x224)][_0x4fbce7(0x242)][_0x4fbce7(0x240)][_0x4fbce7(0x184)](_0x5cb3e5);});},{'priority':_0x2840da(0x23a)});}async[_0x30ce85(0x216)](_0x1a3ea9){const _0x41f201=_0x30ce85,_0x19c9a1=this[_0x41f201(0x21d)][_0x41f201(0x190)][_0x41f201(0x23e)](_0x54f416),{connection:_0x1f5574}=this[_0x41f201(0x21d)][_0x41f201(0x190)][_0x41f201(0x23e)](_0x251b25),_0x2a768b=new Set();for(const _0x38b576 of _0x1a3ea9){const _0x26b3db=_0x38b576[_0x41f201(0x1ec)];_0x26b3db&&!_0x19c9a1[_0x41f201(0x19d)](_0x26b3db)&&_0x2a768b[_0x41f201(0x254)](_0x26b3db);}if(0x0===_0x2a768b[_0x41f201(0x193)])return;const _0x2b13fe=await _0x404949[_0x41f201(0x1c3)](_0x1f5574,Array[_0x41f201(0x200)](_0x2a768b));for(const _0x24c25e of _0x2b13fe)_0x19c9a1[_0x41f201(0x19d)](_0x24c25e['id'])||_0x19c9a1[_0x41f201(0x1bb)](_0x24c25e);}[_0x30ce85(0x21e)](_0x37c492,_0x43483c={}){const _0x5d6d8b=_0x30ce85,_0x885ee4=this[_0x5d6d8b(0x21d)][_0x5d6d8b(0x224)],_0x4fd590=[];let _0x501c4a=0x0;const _0x295e90=_0x5d6d8b(0x1d9)==typeof _0x37c492?{'main':_0x37c492}:_0x37c492;for(const _0x5cba17 of Object[_0x5d6d8b(0x258)](_0x295e90)){if(!this[_0x5d6d8b(0x24e)][_0x5d6d8b(0x203)][_0x5d6d8b(0x192)](_0x5cba17))throw new _0x46d4dc(_0x5d6d8b(0x253),this);const _0x206d28=this[_0x5d6d8b(0x21d)][_0x5d6d8b(0x1ea)][_0x5d6d8b(0x205)](_0x295e90[_0x5cba17]),_0x1e00a3=this[_0x5d6d8b(0x24e)][_0x5d6d8b(0x1f8)](_0x5cba17),_0x3b356b=new _0x420bd6(_0x885ee4[_0x5d6d8b(0x17d)](_0x1e00a3,0x0),_0x206d28,_0x501c4a++);_0x4fd590[_0x5d6d8b(0x202)](_0x3b356b);for(const [_0x55d2b7,_0x541cb4]of _0x206d28[_0x5d6d8b(0x1be)]){const _0x472d08=_0x885ee4[_0x5d6d8b(0x22a)](_0x885ee4[_0x5d6d8b(0x1a2)](_0x1e00a3,_0x541cb4[_0x5d6d8b(0x1b4)][_0x5d6d8b(0x1f7)][_0x5d6d8b(0x199)]()),_0x885ee4[_0x5d6d8b(0x1a2)](_0x1e00a3,_0x541cb4[_0x5d6d8b(0x22c)][_0x5d6d8b(0x1f7)][_0x5d6d8b(0x199)]())),_0x4df75b=new _0xafccb4(_0x55d2b7,null,_0x472d08,_0x885ee4[_0x5d6d8b(0x1be)],!0x0,_0x501c4a++);_0x4fd590[_0x5d6d8b(0x202)](_0x4df75b);}}if(_0x43483c)for(const [_0xdab254,_0x275007]of Object[_0x5d6d8b(0x1f0)](_0x43483c)){const _0x2c4aa0=_0x885ee4[_0x5d6d8b(0x242)][_0x5d6d8b(0x1f8)](_0xdab254);if(!_0x2c4aa0)throw new _0x46d4dc(_0x5d6d8b(0x246),null);for(const [_0x13215b,_0xa7a440]of Object[_0x5d6d8b(0x1f0)](_0x275007))if(null!==_0xa7a440){const _0x32756d=new _0x417fc0(_0x2c4aa0,_0x13215b,null,_0xa7a440,_0x501c4a++);_0x4fd590[_0x5d6d8b(0x202)](_0x32756d);}}return _0x4fd590;}async[_0x30ce85(0x212)](_0x13767c,_0x47d1a5,_0x47425a){const _0x4bea3c=_0x30ce85;this[_0x4bea3c(0x21e)]({[_0x13767c]:_0x47d1a5},{[_0x13767c]:_0x47425a})[_0x4bea3c(0x230)]((_0x9ca99,_0x159051)=>{const _0x3350e7=_0x4bea3c;_0x9ca99[_0x3350e7(0x20d)]=this[_0x3350e7(0x24e)][_0x3350e7(0x1a4)]+_0x159051,_0x9ca99[_0x3350e7(0x1d7)]=!0x0,this[_0x3350e7(0x17b)](_0x9ca99);}),this[_0x4bea3c(0x1e3)](),await this[_0x4bea3c(0x1fe)]();}async[_0x30ce85(0x1c8)](_0x3593f5,_0x5e292e){const _0xd74fcf=_0x30ce85;let _0x2ff2c9;this[_0xd74fcf(0x1de)]=_0x3593f5[_0xd74fcf(0x183)];const _0x7eea2e=_0x3593f5[_0xd74fcf(0x195)]&&!_0x3593f5[_0xd74fcf(0x182)],_0x4e3478=_0x7eea2e?0x0:_0x3593f5[_0xd74fcf(0x1ea)][_0xd74fcf(0x20d)];if(_0x5e292e[_0xd74fcf(0x230)](_0x288b45=>{const _0x59c31d=_0xd74fcf;_0x288b45[_0x59c31d(0x1d7)]=!0x0,_0x288b45[_0x59c31d(0x1e0)]=_0x3593f5[_0x59c31d(0x217)],_0x288b45[_0x59c31d(0x1ec)]=null;}),_0x7eea2e)_0x2ff2c9=_0x5e292e,this[_0xd74fcf(0x196)](_0x2ff2c9,_0x7eea2e);else{if(_0x3593f5[_0xd74fcf(0x182)]){const _0x44b4c8=this[_0xd74fcf(0x21e)](_0x3593f5[_0xd74fcf(0x182)]);this[_0xd74fcf(0x24e)][_0xd74fcf(0x22f)][_0xd74fcf(0x1a4)]=-_0x44b4c8[_0xd74fcf(0x215)],_0x44b4c8[_0xd74fcf(0x230)](_0x4bb388=>{const _0x10b8c3=_0xd74fcf;_0x4bb388[_0x10b8c3(0x20d)]-=_0x44b4c8[_0x10b8c3(0x215)],_0x4bb388[_0x10b8c3(0x1e0)]=_0x3593f5[_0x10b8c3(0x217)],_0x4bb388[_0x10b8c3(0x1d7)]=!0x0,_0x4bb388[_0x10b8c3(0x1ec)]=null;}),this[_0xd74fcf(0x196)](_0x44b4c8,!0x0),this[_0xd74fcf(0x1a8)][_0xd74fcf(0x1a4)]=-_0x44b4c8[_0xd74fcf(0x215)]+this[_0xd74fcf(0x1de)],this[_0xd74fcf(0x207)](_0x44b4c8);}this[_0xd74fcf(0x24e)][_0xd74fcf(0x22f)][_0xd74fcf(0x1a4)]=_0x4e3478,_0x2ff2c9=this[_0xd74fcf(0x24c)](_0x3593f5[_0xd74fcf(0x1ea)],_0x3593f5[_0xd74fcf(0x1a0)]),await this[_0xd74fcf(0x216)](_0x2ff2c9),this[_0xd74fcf(0x196)](_0x2ff2c9,_0x7eea2e);}_0x3593f5[_0xd74fcf(0x1a7)]&&(this[_0xd74fcf(0x19a)][_0xd74fcf(0x247)](_0x2ff2c9,_0x3593f5[_0xd74fcf(0x1a7)]),this[_0xd74fcf(0x17f)]=_0x3593f5[_0xd74fcf(0x1a7)]),this[_0xd74fcf(0x1a8)][_0xd74fcf(0x1a4)]=_0x4e3478+this[_0xd74fcf(0x1de)],this[_0xd74fcf(0x207)](_0x2ff2c9),_0x5e292e[_0xd74fcf(0x1e4)](_0x487b92=>{const _0x2a0344=_0xd74fcf,_0x413bf6=this[_0x2a0344(0x1e6)](_0x487b92);return _0x413bf6&&!this[_0x2a0344(0x1bc)][_0x2a0344(0x192)](_0x413bf6);})[_0xd74fcf(0x230)]((_0x10f818,_0x3a3d8e)=>{const _0x157466=_0xd74fcf;_0x10f818[_0x157466(0x20d)]=this[_0x157466(0x24e)][_0x157466(0x1a4)]+_0x3a3d8e,this[_0x157466(0x17b)](_0x10f818);}),this[_0xd74fcf(0x22e)]()?(this[_0xd74fcf(0x1b1)]=0x0,this[_0xd74fcf(0x1e3)](!0x0),await this[_0xd74fcf(0x1fe)]()):(this[_0xd74fcf(0x1f4)]=!0x1,this[_0xd74fcf(0x18c)]());}[_0x30ce85(0x1cc)](_0x4d8b1b,_0x4e9127){const _0x2bb2ae=_0x30ce85;throw this[_0x2bb2ae(0x1f4)]=!0x0,_0x4e9127&&console[_0x2bb2ae(0x1b9)](_0x4e9127),new _0x46d4dc(_0x4d8b1b,this[_0x2bb2ae(0x21d)]);}[_0x30ce85(0x17b)](_0x45902f){const _0x3ef8a8=_0x30ce85;this[_0x3ef8a8(0x266)][_0x3ef8a8(0x192)](_0x45902f)||(this[_0x3ef8a8(0x266)][_0x3ef8a8(0x254)](_0x45902f),this[_0x3ef8a8(0x1a5)][_0x3ef8a8(0x202)](_0x45902f),this[_0x3ef8a8(0x25d)]||_0x3ef8a8(0x24f)==_0x45902f[_0x3ef8a8(0x23f)]&&!_0x45902f[_0x3ef8a8(0x211)]||this[_0x3ef8a8(0x179)]());}[_0x30ce85(0x1e3)](_0xe99703=!0x1){const _0x3290ac=_0x30ce85;!_0xe99703&&this[_0x3290ac(0x1f4)]||(this[_0x3290ac(0x1f4)]=!0x0,clearTimeout(this[_0x3290ac(0x1b7)]),this[_0x3290ac(0x1b7)]=setTimeout(()=>{const _0x2f8471=_0x3290ac;this[_0x2f8471(0x223)]()[_0x2f8471(0x1d6)](_0x45da27=>{const _0x4b66e6=_0x2f8471;_0x45da27&&(this[_0x4b66e6(0x18c)](),this[_0x4b66e6(0x1f4)]=!0x1);})[_0x2f8471(0x1fd)](_0x1f7394=>{const _0x166149=_0x2f8471;if(this[_0x166149(0x18c)](),this[_0x166149(0x1f4)]=!0x1,!function(_0x41df5c){const _0x435a7c=_0x166149;return _0x41df5c[_0x435a7c(0x16f)][_0x435a7c(0x16c)](_0x435a7c(0x226))||_0x41df5c[_0x435a7c(0x16f)][_0x435a7c(0x16c)](_0x435a7c(0x25c))||_0x41df5c[_0x435a7c(0x16f)][_0x435a7c(0x16c)](_0x435a7c(0x255));}(_0x1f7394))throw _0x1f7394;});},this[_0x3290ac(0x1b1)]));}[_0x30ce85(0x1fe)](){return new Promise(_0x1b69db=>{const _0x718179=_0x31aa;this['on'](_0x718179(0x194),()=>{_0x1b69db();});});}async[_0x30ce85(0x223)](){const _0x497bff=_0x30ce85,_0x29aff2=this[_0x497bff(0x21d)][_0x497bff(0x190)][_0x497bff(0x23e)](_0x4c1409);if(this[_0x497bff(0x257)]()&&(_0x29aff2[_0x497bff(0x16b)](),this[_0x497bff(0x1e8)]=!0x1),!this[_0x497bff(0x22e)]())return!0x0;const _0x5065da=[...this[_0x497bff(0x1a5)]];for(const _0x2694f1 of _0x5065da)_0x2694f1[_0x497bff(0x1c0)]=this[_0x497bff(0x24e)][_0x497bff(0x22f)][_0x497bff(0x222)](_0x2694f1);const _0x284fae=this[_0x497bff(0x19a)][_0x497bff(0x1a1)](_0x5065da),_0x366f92=Z++,_0x15250d=this[_0x497bff(0x174)](_0x5065da),_0x5d5d3a=await this[_0x497bff(0x241)][_0x497bff(0x18b)](_0x15250d,_0x15250d[_0x497bff(0x20d)],_0x284fae);try{return await this[_0x497bff(0x170)](_0x5065da,_0x5d5d3a,_0x366f92);}catch(_0x490ea7){return this[_0x497bff(0x1cc)](_0x497bff(0x20c),_0x490ea7);}}async[_0x30ce85(0x170)](_0x1938a6,_0x317963,_0x6a0bb9){const _0x4d1f5a=_0x30ce85;if(_0x4d1f5a(0x1b9)in _0x317963)throw _0x317963[_0x4d1f5a(0x1b9)];let _0x27896b=!0x1;if(_0x317963[_0x4d1f5a(0x195)]){_0x317963[_0x4d1f5a(0x1a7)]&&(this[_0x4d1f5a(0x17f)]=_0x317963[_0x4d1f5a(0x1a7)]),this[_0x4d1f5a(0x1a5)]=this[_0x4d1f5a(0x1a5)][_0x4d1f5a(0x1e4)](_0x33540d=>!_0x1938a6[_0x4d1f5a(0x219)](_0x33540d));for(const _0x10ed0d of _0x1938a6)_0x10ed0d[_0x4d1f5a(0x1e0)]=_0x4d1f5a(0x256)in _0x317963&&_0x317963[_0x4d1f5a(0x256)]||void 0x0;it(_0x1938a6,_0x317963[_0x4d1f5a(0x1a4)]-_0x1938a6[_0x4d1f5a(0x215)]),this[_0x4d1f5a(0x207)](_0x1938a6);const _0x38815c=_0x1938a6[_0x4d1f5a(0x1e4)](_0x124da0=>{const _0x4c7eff=_0x4d1f5a;if(!_0x124da0[_0x4c7eff(0x1d7)])return!0x1;const _0x484456=this[_0x4c7eff(0x1e6)](_0x124da0);return _0x484456&&!this[_0x4c7eff(0x1bc)][_0x4c7eff(0x192)](_0x484456);});it(_0x38815c,this[_0x4d1f5a(0x24e)][_0x4d1f5a(0x1a4)]),this[_0x4d1f5a(0x196)](_0x38815c),_0x27896b=!0x0,this[_0x4d1f5a(0x1b1)]=this[_0x4d1f5a(0x1e9)];}else{const _0x1d7877=this[_0x4d1f5a(0x24c)](_0x317963[_0x4d1f5a(0x1ea)],_0x317963[_0x4d1f5a(0x1a0)])[_0x4d1f5a(0x1e4)](_0x5b9d88=>_0x5b9d88[_0x4d1f5a(0x20d)]>=this[_0x4d1f5a(0x25a)]);_0x1d7877[_0x4d1f5a(0x230)](_0x33d9d5=>this[_0x4d1f5a(0x243)](_0x33d9d5)),this[_0x4d1f5a(0x1a5)]=this[_0x4d1f5a(0x1a5)][_0x4d1f5a(0x1e4)](_0x17f85c=>!_0x17f85c[_0x4d1f5a(0x1d7)]||!this[_0x4d1f5a(0x1bc)][_0x4d1f5a(0x192)](this[_0x4d1f5a(0x1e6)](_0x17f85c))),this[_0x4d1f5a(0x1a5)][_0x4d1f5a(0x215)]&&it(this[_0x4d1f5a(0x1a5)],this[_0x4d1f5a(0x1a5)][0x0][_0x4d1f5a(0x20d)]),await this[_0x4d1f5a(0x216)](_0x1d7877),_0x27896b=this[_0x4d1f5a(0x19e)](_0x1d7877,_0x317963[_0x4d1f5a(0x1a4)],_0x317963[_0x4d1f5a(0x1a7)]),this[_0x4d1f5a(0x1b1)]=Math[_0x4d1f5a(0x213)](this[_0x4d1f5a(0x1b1)]/0x2);}return _0x27896b?!this[_0x4d1f5a(0x22e)]()||(this[_0x4d1f5a(0x1e3)](!0x0),!0x1):this[_0x4d1f5a(0x1cc)](_0x4d1f5a(0x265));}[_0x30ce85(0x19e)](_0x1d4cff,_0x5bc187,_0x53bef9){const _0x4ea7b7=_0x30ce85;try{const _0x573164={'document':this[_0x4ea7b7(0x24e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2b2154,operationsB:_0x319885,originalOperations:_0x241443}=_0x391649(_0x1d4cff,this[_0x4ea7b7(0x1a5)],_0x573164);it(_0x2b2154,this[_0x4ea7b7(0x24e)][_0x4ea7b7(0x1a4)]),it(_0x319885,_0x5bc187);for(const _0x50e35f of _0x2b2154){const _0x1d7ca0=_0x241443[_0x4ea7b7(0x23e)](_0x50e35f);_0x50e35f[_0x4ea7b7(0x1ec)]=_0x1d7ca0?_0x1d7ca0[_0x4ea7b7(0x1ec)]:null;}_0x53bef9&&(this[_0x4ea7b7(0x19a)][_0x4ea7b7(0x247)](_0x1d4cff,_0x53bef9),this[_0x4ea7b7(0x17f)]=_0x53bef9),this[_0x4ea7b7(0x1a5)]=[..._0x319885],this[_0x4ea7b7(0x196)](_0x2b2154),this[_0x4ea7b7(0x207)](_0x1d4cff);}catch(_0x31fbfd){return console[_0x4ea7b7(0x1b9)](_0x31fbfd),!0x1;}return!0x0;}[_0x30ce85(0x196)](_0x2a3596,_0x358a70=!0x1){const _0x222ec1=_0x30ce85;this[_0x222ec1(0x21d)][_0x222ec1(0x224)][_0x222ec1(0x1c9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1f80bf=>{const _0x168d41=_0x222ec1;for(const _0x2512b0 of _0x2a3596)this[_0x168d41(0x266)][_0x168d41(0x254)](_0x2512b0),this[_0x168d41(0x243)](_0x2512b0),_0x1f80bf[_0x168d41(0x234)][_0x168d41(0x1df)](_0x2512b0),this[_0x168d41(0x21d)][_0x168d41(0x224)][_0x168d41(0x1c6)](_0x2512b0);});}[_0x30ce85(0x243)](_0x340194){const _0x4706bb=_0x30ce85,_0x4fb97b=this[_0x4706bb(0x1e6)](_0x340194);_0x4fb97b&&this[_0x4706bb(0x1bc)][_0x4706bb(0x254)](_0x4fb97b);}[_0x30ce85(0x1e6)](_0x29c5db){const _0x2297d4=_0x30ce85;let _0x5ead86,_0x8eee8b;switch(_0x29c5db[_0x2297d4(0x23f)]){case _0x2297d4(0x210):_0x5ead86=_0x29c5db[_0x2297d4(0x173)][_0x2297d4(0x187)];break;case _0x2297d4(0x24f):if(_0x8eee8b=_0x29c5db[_0x2297d4(0x209)],!_0x8eee8b)return null;_0x5ead86=_0x8eee8b[_0x2297d4(0x187)];break;case _0x2297d4(0x245):_0x5ead86=_0x29c5db[_0x2297d4(0x187)];break;case _0x2297d4(0x18f):_0x5ead86=_0x29c5db[_0x2297d4(0x1f1)];break;case _0x2297d4(0x1fb):_0x5ead86=_0x29c5db[_0x2297d4(0x220)][_0x2297d4(0x187)];break;default:return null;}return _0x5ead86[_0x2297d4(0x261)];}[_0x30ce85(0x207)](_0x2838ad){const _0x5f8eb1=_0x30ce85;_0x2838ad[_0x5f8eb1(0x230)](_0x531cfd=>{const _0x31984e=_0x5f8eb1,_0x531896=_0x531cfd[_0x31984e(0x1d1)]();_0x531896[_0x31984e(0x1ec)]=_0x531cfd[_0x31984e(0x1ec)],_0x531896[_0x31984e(0x1d7)]=!!_0x531cfd[_0x31984e(0x1d7)],_0x531896[_0x31984e(0x1e0)]=_0x531cfd[_0x31984e(0x1e0)],_0x531896[_0x31984e(0x20d)]+=this[_0x31984e(0x1de)],_0x531cfd[_0x31984e(0x1f9)]&&this[_0x31984e(0x1ca)][_0x31984e(0x254)](_0x531896),this[_0x31984e(0x1a8)][_0x31984e(0x1df)](_0x531896);});}[_0x30ce85(0x1ab)](_0x4b6eb1){const _0x5e6525=_0x30ce85,_0x2d69b9=this[_0x5e6525(0x21d)][_0x5e6525(0x190)][_0x5e6525(0x23e)](_0x5e6525(0x16a)),_0x5f49eb=this[_0x5e6525(0x21d)][_0x5e6525(0x250)];_0x4b6eb1||(_0x4b6eb1=_0x41dd97(_0x5f49eb,_0x5e6525(0x1c1))),_0x2d69b9[_0x5e6525(0x191)](_0x4b6eb1,{'title':_0x41dd97(_0x5f49eb,_0x5e6525(0x1d3)),'namespace':_0x5e6525(0x172)}),this[_0x5e6525(0x235)]=!0x0,clearTimeout(this[_0x5e6525(0x1b7)]),this[_0x5e6525(0x1a5)]=[],this[_0x5e6525(0x21d)][_0x5e6525(0x190)][_0x5e6525(0x23e)](_0x251b25)[_0x5e6525(0x22b)]();}[_0x30ce85(0x179)](){const _0x50298b=_0x30ce85;this[_0x50298b(0x25d)]||(this[_0x50298b(0x25d)]=this[_0x50298b(0x21d)][_0x50298b(0x190)][_0x50298b(0x23e)](_0x444460)[_0x50298b(0x254)](_0x41dd97(this[_0x50298b(0x21d)][_0x50298b(0x250)],_0x50298b(0x21c))));}[_0x30ce85(0x18c)](){const _0x446759=_0x30ce85;this[_0x446759(0x25d)]&&(this[_0x446759(0x21d)][_0x446759(0x190)][_0x446759(0x23e)](_0x444460)[_0x446759(0x17a)](this[_0x446759(0x25d)]),this[_0x446759(0x25d)]=null);}[_0x30ce85(0x174)](_0x4ea7d1){const _0x462a20=_0x30ce85,_0x3f2bf7=_0x4ea7d1[_0x462a20(0x260)](_0x39a7eb=>_0x39a7eb[_0x462a20(0x249)]());return this[_0x462a20(0x21f)][_0x462a20(0x186)](_0x3f2bf7);}[_0x30ce85(0x24c)](_0x19edfb,_0x2f9c5d){const _0x4f6703=_0x30ce85;return this[_0x4f6703(0x21f)][_0x4f6703(0x221)](_0x19edfb)[_0x4f6703(0x260)]((_0x1ead4a,_0x3260a2)=>{const _0x542ae8=_0x4f6703,_0x5e2c07=_0x542ae8(0x181)==_0x2f9c5d[_0x3260a2][_0x542ae8(0x23f)];if(_0x542ae8(0x1cf)==_0x1ead4a[_0x542ae8(0x1f3)]){const _0x42f793=_0x1ead4a[_0x542ae8(0x173)][_0x542ae8(0x187)];!this[_0x542ae8(0x24e)][_0x542ae8(0x1f8)](_0x42f793)&&(this[_0x542ae8(0x24e)][_0x542ae8(0x175)](_0x542ae8(0x1b5),_0x42f793)[_0x542ae8(0x1da)]=!0x1);}const _0x4ba889=_0x18eefe[_0x542ae8(0x1e7)](_0x1ead4a,this[_0x542ae8(0x24e)]);return _0x4ba889[_0x542ae8(0x1c0)]=_0x1ead4a[_0x542ae8(0x1c0)],_0x4ba889[_0x542ae8(0x1d7)]=_0x5e2c07,_0x4ba889[_0x542ae8(0x1ec)]=_0x5e2c07?null:_0x2f9c5d[_0x3260a2][_0x542ae8(0x1dd)],_0x4ba889[_0x542ae8(0x1f9)]=_0x542ae8(0x236)===_0x2f9c5d[_0x3260a2][_0x542ae8(0x23f)],_0x4ba889[_0x542ae8(0x1e0)]=_0x2f9c5d[_0x3260a2][_0x542ae8(0x1e0)],_0x4ba889;});}[_0x30ce85(0x198)](){const _0x4ac1d1=_0x30ce85;this[_0x4ac1d1(0x1e8)]=!0x0,this[_0x4ac1d1(0x257)]()?this[_0x4ac1d1(0x1e3)]():this[_0x4ac1d1(0x1e8)]=!0x1;}[_0x30ce85(0x257)](){const _0x8215ad=_0x30ce85,_0x158c57=this[_0x8215ad(0x21d)][_0x8215ad(0x190)][_0x8215ad(0x23e)](_0x9dd6a1)[_0x8215ad(0x197)][_0x8215ad(0x23e)](this[_0x8215ad(0x237)]);return!this[_0x8215ad(0x21d)][_0x8215ad(0x233)]&&!!_0x158c57&&_0x158c57[_0x8215ad(0x215)]>0x1&&this[_0x8215ad(0x1e8)];}[_0x30ce85(0x22e)](){const _0x3d4389=_0x30ce85;return this[_0x3d4389(0x1a5)][_0x3d4389(0x215)]>0x0||this[_0x3d4389(0x257)]();}}l[_0x30ce85(0x20f)]=_0x5afd38;export default l;class tt extends Error{}function it(_0x245462,_0x5ce105){const _0x536298=_0x30ce85;for(const _0x123b69 of _0x245462)_0x123b69[_0x536298(0x20d)]=_0x5ce105++;}class st{constructor(_0x53bc57){const _0x3439f6=_0x30ce85;this[_0x3439f6(0x1f2)]=_0x53bc57,this[_0x3439f6(0x25e)]=new WeakMap();}[_0x30ce85(0x1a1)](_0x137734){const _0x5e2d26=_0x30ce85;let _0x3f4a72=_0x137734[_0x5e2d26(0x215)];for(;_0x3f4a72--;){const _0x2c6066=_0x137734[_0x3f4a72];if(!this[_0x5e2d26(0x1f2)][_0x5e2d26(0x192)](_0x2c6066)){if(!this[_0x5e2d26(0x25e)][_0x5e2d26(0x192)](_0x2c6066)){const _0x3f4279=_0x2acfcd()[_0x5e2d26(0x199)](0x1,0x12);this[_0x5e2d26(0x25e)][_0x5e2d26(0x1c7)](_0x2c6066,_0x3f4279);}return this[_0x5e2d26(0x25e)][_0x5e2d26(0x23e)](_0x2c6066);}}}[_0x30ce85(0x247)](_0x4de368,_0x447158){const _0x5613bf=_0x30ce85;if(!_0x447158)return;let _0x4bf10a=_0x4de368[_0x5613bf(0x215)];for(;_0x4bf10a--;){const _0x1e1fdb=_0x4de368[_0x4bf10a];this[_0x5613bf(0x1f2)][_0x5613bf(0x192)](_0x1e1fdb)||this[_0x5613bf(0x25e)][_0x5613bf(0x1c7)](_0x1e1fdb,_0x447158);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6e22d=_0x1100;(function(_0x36378b,_0x4ee0eb){const _0x208182=_0x1100,_0x15967e=_0x36378b();while(!![]){try{const _0x57fb32=parseInt(_0x208182(0x1c4))/0x1+-parseInt(_0x208182(0x1b8))/0x2+-parseInt(_0x208182(0x1b9))/0x3+parseInt(_0x208182(0x1b6))/0x4+parseInt(_0x208182(0x1bf))/0x5*(parseInt(_0x208182(0x1c1))/0x6)+-parseInt(_0x208182(0x1cd))/0x7+parseInt(_0x208182(0x1dd))/0x8*(-parseInt(_0x208182(0x1ce))/0x9);if(_0x57fb32===_0x4ee0eb)break;else _0x15967e['push'](_0x15967e['shift']());}catch(_0x47b52c){_0x15967e['push'](_0x15967e['shift']());}}}(_0x46b0,0x33f69));import{ContextPlugin as _0x3be418}from'ckeditor5/src/core.js';import{Collection as _0x5b3116,CKEditorError as _0x4258e1}from'ckeditor5/src/utils.js';import _0x5665b8 from'./websocketgateway.js';function _0x1100(_0x3a8c05,_0x29ebec){const _0x46b08c=_0x46b0();return _0x1100=function(_0x11008c,_0x3b8cad){_0x11008c=_0x11008c-0x1af;let _0x178a5a=_0x46b08c[_0x11008c];return _0x178a5a;},_0x1100(_0x3a8c05,_0x29ebec);}function _0x46b0(){const _0x285188=['stopListening','_handleSessionAdd','allConnectedUsers','sessionId','_users','_uniqueUsersCount','945280BGGwIN','defineMe','344050kddjyz','759225swYGpK','isMe','unregister','addUser','requires','state','477100GDmzBa','_createUser','18XQdPWE','channelSessions','sessions-register-already-registered','156680vgNMwN','has','change:state','connected','orderNumber','register','delete','get','add','287070aodKHY','2781LaSvMa','values','fire','plugins','role','remove','forEach','pluginName','_handleSessionRemove','sessions-unregister-not-exist','_registeredSessions','clear','user','Sessions','size','8QwpdyG','channelConnectedUsers','connection','getUserSessions','assign','getUser','context','mySessionId','getUserBySessionId','listenTo','sessionAdd:','set','init','getUserRole'];_0x46b0=function(){return _0x285188;};return _0x46b0();}import{Users as _0x5e17dd}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x3be418{static get[_0x6e22d(0x1d5)](){const _0x40231a=_0x6e22d;return _0x40231a(0x1db);}static get[_0x6e22d(0x1bd)](){return[_0x5665b8,_0x5e17dd];}constructor(_0x41252f){const _0x341056=_0x6e22d;super(_0x41252f),this[_0x341056(0x1c2)]=new Map(),this[_0x341056(0x1de)]=new Map(),this[_0x341056(0x1b2)]=new _0x5b3116(),this[_0x341056(0x1d8)]=new Map(),this[_0x341056(0x1b5)]=0x0,this[_0x341056(0x1b4)]=this[_0x341056(0x1e3)][_0x341056(0x1d1)][_0x341056(0x1cb)](_0x5e17dd);}[_0x6e22d(0x1e9)](){const _0x2f8743=_0x6e22d,_0x54bca3=this[_0x2f8743(0x1e3)][_0x2f8743(0x1d1)][_0x2f8743(0x1cb)](_0x5665b8);this[_0x2f8743(0x1e6)](_0x54bca3,_0x2f8743(0x1c6),(_0x541076,_0x1d4363,_0x382acb)=>{const _0x38cfe1=_0x2f8743;if(_0x38cfe1(0x1c7)!==_0x382acb)this[_0x38cfe1(0x1c2)][_0x38cfe1(0x1d4)](_0x189696=>_0x189696[_0x38cfe1(0x1d9)]()),this[_0x38cfe1(0x1de)][_0x38cfe1(0x1d4)](_0x9049c9=>_0x9049c9[_0x38cfe1(0x1d9)]()),this[_0x38cfe1(0x1b2)][_0x38cfe1(0x1d9)]();else{for(const [_0x4af796,_0x5d7727]of this[_0x38cfe1(0x1d8)])for(const _0x5a266e of _0x5d7727)this[_0x38cfe1(0x1b1)](_0x4af796,_0x5a266e);}}),this[_0x2f8743(0x1c0)](_0x54bca3[_0x2f8743(0x1df)]['me'],!0x0);}[_0x6e22d(0x1c9)](_0x95d510,_0x139907){const _0x43e02d=_0x6e22d;if(this[_0x43e02d(0x1d8)][_0x43e02d(0x1c5)](_0x95d510))throw new _0x4258e1(_0x43e02d(0x1c3),null,{'channelId':_0x95d510});this[_0x43e02d(0x1d8)][_0x43e02d(0x1e8)](_0x95d510,_0x139907),this[_0x43e02d(0x1c2)][_0x43e02d(0x1e8)](_0x95d510,new _0x5b3116()),this[_0x43e02d(0x1de)][_0x43e02d(0x1e8)](_0x95d510,new _0x5b3116()),this[_0x43e02d(0x1e6)](_0x139907,_0x43e02d(0x1cc),(_0x15f83e,_0x204405)=>this[_0x43e02d(0x1b1)](_0x95d510,_0x204405)),this[_0x43e02d(0x1e6)](_0x139907,_0x43e02d(0x1d3),(_0x3c572b,_0x4fa179)=>this[_0x43e02d(0x1d6)](_0x95d510,_0x4fa179));for(const _0x2131e6 of _0x139907)this[_0x43e02d(0x1b1)](_0x95d510,_0x2131e6);}[_0x6e22d(0x1bb)](_0x4790f9){const _0x46ccca=_0x6e22d;if(!this[_0x46ccca(0x1d8)][_0x46ccca(0x1c5)](_0x4790f9))throw new _0x4258e1(_0x46ccca(0x1d7),null,{'channelId':_0x4790f9});const _0x47bb28=this[_0x46ccca(0x1d8)][_0x46ccca(0x1cb)](_0x4790f9);this[_0x46ccca(0x1b0)](_0x47bb28);for(const _0x39ce08 of _0x47bb28)_0x46ccca(0x1c7)===this[_0x46ccca(0x1e3)][_0x46ccca(0x1d1)][_0x46ccca(0x1cb)](_0x5665b8)[_0x46ccca(0x1be)]&&this[_0x46ccca(0x1d6)](_0x4790f9,_0x39ce08);this[_0x46ccca(0x1d8)][_0x46ccca(0x1ca)](_0x4790f9),this[_0x46ccca(0x1c2)][_0x46ccca(0x1ca)](_0x4790f9),this[_0x46ccca(0x1de)][_0x46ccca(0x1ca)](_0x4790f9);}get[_0x6e22d(0x1e4)](){const _0x3dcf7a=_0x6e22d;return this[_0x3dcf7a(0x1e3)][_0x3dcf7a(0x1d1)][_0x3dcf7a(0x1cb)](_0x5665b8)[_0x3dcf7a(0x1df)][_0x3dcf7a(0x1b3)];}[_0x6e22d(0x1e5)](_0x11791b){const _0x5129a0=_0x6e22d;for(const _0x14d576 of this[_0x5129a0(0x1c2)][_0x5129a0(0x1cf)]())for(const _0x536b64 of _0x14d576)if(_0x536b64['id']===_0x11791b)return _0x536b64[_0x5129a0(0x1da)];}[_0x6e22d(0x1e0)](_0x2ee238,_0x18b4c8){const _0x425e3a=_0x6e22d,_0x4783e4=_0x18b4c8?[this[_0x425e3a(0x1c2)][_0x425e3a(0x1cb)](_0x18b4c8)]:this[_0x425e3a(0x1c2)][_0x425e3a(0x1cf)](),_0x54137d=new Set();for(const _0xba9f8 of _0x4783e4)for(const _0x239d25 of _0xba9f8)_0x239d25[_0x425e3a(0x1da)]['id']===_0x2ee238['id']&&_0x54137d[_0x425e3a(0x1cc)](_0x239d25['id']);return _0x54137d;}[_0x6e22d(0x1af)](_0xc00f4a){const _0x154c89=_0x6e22d;for(const _0x4f57ab of this[_0x154c89(0x1c2)][_0x154c89(0x1cf)]())for(const _0x28d611 of _0x4f57ab)if(_0x28d611[_0x154c89(0x1da)]===_0xc00f4a)return _0x28d611[_0x154c89(0x1d2)];}[_0x6e22d(0x1b1)](_0x36c6b1,_0x1be1f2){const _0x56738b=_0x6e22d;if(_0x56738b(0x1c7)!==this[_0x56738b(0x1e3)][_0x56738b(0x1d1)][_0x56738b(0x1cb)](_0x5665b8)[_0x56738b(0x1be)])return;const _0x225ab2=_0x1be1f2[_0x56738b(0x1da)],_0x35ca1b=this[_0x56738b(0x1b4)][_0x56738b(0x1e2)](_0x225ab2['id'])||this[_0x56738b(0x1c0)](_0x225ab2),_0x3714cc=Object[_0x56738b(0x1e1)]({},_0x1be1f2,{'user':_0x35ca1b});this[_0x56738b(0x1c2)][_0x56738b(0x1cb)](_0x36c6b1)[_0x56738b(0x1cc)](_0x3714cc);const _0x5f2c07=this[_0x56738b(0x1de)][_0x56738b(0x1cb)](_0x36c6b1);_0x5f2c07[_0x56738b(0x1c5)](_0x35ca1b['id'])||_0x5f2c07[_0x56738b(0x1cc)](_0x35ca1b),this[_0x56738b(0x1b2)][_0x56738b(0x1c5)](_0x35ca1b['id'])||this[_0x56738b(0x1b2)][_0x56738b(0x1cc)](_0x35ca1b,_0x35ca1b[_0x56738b(0x1ba)]?0x0:void 0x0),this[_0x56738b(0x1d0)](_0x56738b(0x1e7)+_0x36c6b1,{'channelId':_0x36c6b1,'session':_0x3714cc});}[_0x6e22d(0x1d6)](_0x1346d5,_0x68df00){const _0x52fde3=_0x6e22d;if(_0x52fde3(0x1c7)!==this[_0x52fde3(0x1e3)][_0x52fde3(0x1d1)][_0x52fde3(0x1cb)](_0x5665b8)[_0x52fde3(0x1be)])return;const _0x5d68b7=this[_0x52fde3(0x1de)][_0x52fde3(0x1cb)](_0x1346d5),_0x1b603c=_0x68df00[_0x52fde3(0x1da)];_0x1b603c['id']&&(this[_0x52fde3(0x1c2)][_0x52fde3(0x1cb)](_0x1346d5)[_0x52fde3(0x1d3)](_0x68df00['id']),_0x5d68b7[_0x52fde3(0x1c5)](_0x1b603c['id'])&&!this[_0x52fde3(0x1e0)](_0x1b603c,_0x1346d5)[_0x52fde3(0x1dc)]&&_0x5d68b7[_0x52fde3(0x1d3)](_0x1b603c['id']),this[_0x52fde3(0x1b2)][_0x52fde3(0x1cb)](_0x1b603c['id'])&&!this[_0x52fde3(0x1e0)](_0x1b603c)[_0x52fde3(0x1dc)]&&this[_0x52fde3(0x1b2)][_0x52fde3(0x1d3)](_0x1b603c['id']));}[_0x6e22d(0x1c0)](_0x3336e4,_0x166b9c){const _0x347dfa=_0x6e22d,_0x2a5cfd=this[_0x347dfa(0x1b4)][_0x347dfa(0x1bc)](_0x3336e4);return _0x166b9c&&this[_0x347dfa(0x1b4)][_0x347dfa(0x1b7)](_0x3336e4['id']),_0x2a5cfd[_0x347dfa(0x1c8)]=this[_0x347dfa(0x1b5)]++,_0x2a5cfd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x117409=_0x49df;(function(_0x57d247,_0x104521){const _0x2cc099=_0x49df,_0x151b08=_0x57d247();while(!![]){try{const _0x566ca4=parseInt(_0x2cc099(0x125))/0x1+parseInt(_0x2cc099(0x14d))/0x2*(-parseInt(_0x2cc099(0x13a))/0x3)+parseInt(_0x2cc099(0x11d))/0x4*(parseInt(_0x2cc099(0x14e))/0x5)+parseInt(_0x2cc099(0x16f))/0x6*(parseInt(_0x2cc099(0x116))/0x7)+parseInt(_0x2cc099(0x155))/0x8*(-parseInt(_0x2cc099(0x130))/0x9)+-parseInt(_0x2cc099(0xf3))/0xa+parseInt(_0x2cc099(0x166))/0xb*(parseInt(_0x2cc099(0x127))/0xc);if(_0x566ca4===_0x104521)break;else _0x151b08['push'](_0x151b08['shift']());}catch(_0x13bc76){_0x151b08['push'](_0x151b08['shift']());}}}(_0xe3f7,0x8c536));function _0x49df(_0x498076,_0x1ce251){const _0xe3f7a6=_0xe3f7();return _0x49df=function(_0x49df7f,_0x391d5c){_0x49df7f=_0x49df7f-0xf2;let _0xcadcd2=_0xe3f7a6[_0x49df7f];return _0xcadcd2;},_0x49df(_0x498076,_0x1ce251);}import{Plugin as _0x12b7a7}from'ckeditor5/src/core.js';function _0xe3f7(){const _0x3776e1=['batch','element','getPositions','delete','</span>','for','_domEmitter','user:range','removeClass','parent','getCustomProperty','toDomElement','plugins','13517lTRhfn','change:range','checkChild','tableCell','editingDowncast','afterInit','hasContent','127516uOvfLT','data-session-id','reconvertMarker','user:','pluginName','mySessionId','innerHTML','model','591958SMtrxe','newRange','13299252oUzZZY','add','set','selection','getUserBySessionId','isLimit','markerName','editor','addEventListener','9YmGDzk','remove','startsWith','setCustomProperty','userPositionMarker','size','oldRange','mapper','isObject','addMarker','1536195aIXWlz','ck-user__marker_hovered','color','isInline','has','undo','Escape','createUIElement','UserMarkers','rootName','keydown','hasDomSelection','user:range:','document','markerRange','schema','stopListening','span','markerToElement','2tcEROD','5prpRLV','user:position','type','getContainedElement','deletionPosition','getAttribute','get','4296384RgfZYQ','createUserMarkerOperations','getMarkerClass','getFirstRange','getNearestSelectionRange','start','user:position:','createRange','classList','ck-user__marker\x20','update:user:range','destroy','clear','change','$graveyard','end','getRange','11syCzeD','_createdBatches','getSelectionClass','markerToHighlight','nodeAfter','listenTo','updateMarker','contenteditable','isSimilar','1506YCxFtv','fromRange','mouseleave','requires','markers','highest','commands','removeMarker','5929020iflKov','getStart','split','root','view','$text','render','name','conversion','toRange','orderNumber','detach','init','ck-user__selection','applyOperation','isCollapsed','mouseenter','enqueueChange','markerNameToElements','editing','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','marker'];_0xe3f7=function(){return _0x3776e1;};return _0xe3f7();}import{global as _0x114722,DomEmitterMixin as _0x3560de}from'ckeditor5/src/utils.js';import _0x3d58ec from'./sessions.js';import{LiveRange as _0x27df71}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x12b7a7{constructor(){const _0x7e0ff2=_0x49df;super(...arguments),this[_0x7e0ff2(0x10f)]=new(_0x3560de())();}static get[_0x117409(0x172)](){return[_0x3d58ec];}static get[_0x117409(0x121)](){const _0x4cb895=_0x117409;return _0x4cb895(0x142);}[_0x117409(0xff)](){const _0x3465f2=_0x117409,_0x2ecb43=this[_0x3465f2(0x12e)],_0x567703=_0x2ecb43[_0x3465f2(0x115)][_0x3465f2(0x154)](_0x3d58ec);_0x2ecb43[_0x3465f2(0xfb)][_0x3465f2(0x10e)](_0x3465f2(0x11a))[_0x3465f2(0x14c)]({'model':_0x3465f2(0x14f),'view':(_0x251145,{writer:_0x16e586})=>function(_0x157f79,_0x1dadeb,_0x2f6b00,_0x1000c8){const _0x246b4f=_0x3465f2,_0x36fee0=_0x157f79[_0x246b4f(0x12d)][_0x246b4f(0xf5)](':')[0x2],_0x50b654=_0x2f6b00[_0x246b4f(0x12b)](_0x36fee0);if(!_0x50b654||_0x36fee0===_0x2f6b00[_0x246b4f(0x122)])return;if(!_0x1000c8[_0x246b4f(0x124)][_0x246b4f(0x149)][_0x246b4f(0x118)](_0x157f79[_0x246b4f(0x148)][_0x246b4f(0x15a)],_0x246b4f(0xf8)))return;const _0x50a50b={'class':_0x246b4f(0x15e)+_0x50b654[_0x246b4f(0x13c)][_0x246b4f(0x157)](),'data-name':_0x50b654[_0x246b4f(0xfa)],'data-session-id':_0x36fee0},_0xde5e83=_0x1000c8[_0x246b4f(0x124)][_0x246b4f(0x173)][_0x246b4f(0x154)](_0x157f79[_0x246b4f(0x12d)]),_0x5b3e48=_0xde5e83[_0x246b4f(0xf4)](),_0xbc9030=_0x5b3e48[_0x246b4f(0x16a)],_0x13e418=_0x1000c8[_0x246b4f(0x124)][_0x246b4f(0x149)];if(_0xbc9030&&_0x13e418[_0x246b4f(0x138)](_0xbc9030)&&_0x13e418[_0x246b4f(0x13d)](_0xbc9030)&&!_0x1000c8[_0x246b4f(0x124)][_0x246b4f(0x173)][_0x246b4f(0x154)](_0x246b4f(0x146)+_0x36fee0)[_0x246b4f(0x165)]()[_0x246b4f(0x102)])return;const _0x541f93=_0x5b3e48[_0x246b4f(0x112)];return _0x1000c8[_0x246b4f(0x124)][_0x246b4f(0x149)][_0x246b4f(0x12c)](_0x541f93)&&!_0x1000c8[_0x246b4f(0x124)][_0x246b4f(0x11c)](_0x541f93)&&(_0x50a50b[_0x246b4f(0x16d)]=!0x1),function(_0x256184,_0x5ac21e,_0x1ca90a){const _0x3f52fc=_0x246b4f,_0x28be70=_0x256184[_0x3f52fc(0x141)](_0x3f52fc(0x14b),_0x5ac21e);return _0x256184[_0x3f52fc(0x133)](_0x3f52fc(0x134),!0x0,_0x28be70),_0x28be70[_0x3f52fc(0xf9)]=function(_0x3eee6c){const _0x5cca93=_0x3f52fc,_0x12c297=this[_0x5cca93(0x114)](_0x3eee6c);return _0x12c297[_0x5cca93(0x123)]=_0x5cca93(0x107)+_0x1ca90a[_0x5cca93(0xfa)]+_0x5cca93(0x10d),_0x12c297[_0x5cca93(0x12f)](_0x5cca93(0x103),()=>{const _0x142848=_0x5cca93;_0x12c297[_0x142848(0x15d)][_0x142848(0x128)](_0x142848(0x13b));}),_0x12c297[_0x5cca93(0x12f)](_0x5cca93(0x171),()=>{const _0x10fd93=_0x5cca93;_0x12c297[_0x10fd93(0x15d)][_0x10fd93(0x131)](_0x10fd93(0x13b));}),_0x12c297;},_0x28be70[_0x3f52fc(0x16e)]=function(_0x4737bf){const _0x3cab15=_0x3f52fc;return!(!this[_0x3cab15(0x113)](_0x3cab15(0x134))||!_0x4737bf[_0x3cab15(0x113)](_0x3cab15(0x134))||this[_0x3cab15(0x153)](_0x3cab15(0x11e))!=_0x4737bf[_0x3cab15(0x153)](_0x3cab15(0x11e)));},_0x28be70;}(_0x1dadeb,_0x50a50b,_0x50b654);}(_0x251145,_0x16e586,_0x567703,_0x2ecb43)}),_0x2ecb43[_0x3465f2(0xfb)][_0x3465f2(0x10e)](_0x3465f2(0x11a))[_0x3465f2(0x169)]({'model':_0x3465f2(0x110),'view':_0x33071d=>function(_0x4e8473,_0x4e4605){const _0x4b95fa=_0x3465f2,_0x35b205=_0x4e8473[_0x4b95fa(0x12d)][_0x4b95fa(0xf5)](':')[0x2];if(_0x35b205===_0x4e4605[_0x4b95fa(0x122)])return null;const _0x23deea=_0x4e4605[_0x4b95fa(0x12b)](_0x35b205);if(!_0x23deea)return{'id':_0x35b205,'classes':[]};return{'id':_0x35b205,'classes':[_0x4b95fa(0x100),_0x23deea[_0x4b95fa(0x13c)][_0x4b95fa(0x168)]()],'attributes':{'data-session-id':_0x35b205},'priority':0x7d0+_0x23deea[_0x4b95fa(0xfd)]};}(_0x33071d,_0x567703)}),function(_0x1a642d){const _0x30d299=_0x3465f2,_0x3887e8=_0x1a642d[_0x30d299(0x124)],_0x4ccf10=new Map(),_0x5d99aa=_0x1a642d[_0x30d299(0x115)][_0x30d299(0x154)](_0x3d58ec);_0x3887e8[_0x30d299(0x173)]['on'](_0x30d299(0x15f),(_0x1043ce,_0x3ee0a2,_0x67c022,_0xcbc540)=>{const _0x55887a=_0x30d299;if(!_0xcbc540&&_0x4ccf10[_0x55887a(0x154)](_0x3ee0a2[_0x55887a(0xfa)]))return _0x4ccf10[_0x55887a(0x154)](_0x3ee0a2[_0x55887a(0xfa)])[_0x55887a(0xfe)](),void _0x4ccf10[_0x55887a(0x10c)](_0x3ee0a2[_0x55887a(0xfa)]);const _0x541a55=_0x3ee0a2[_0x55887a(0xfa)][_0x55887a(0xf5)](':')[0x2];if(_0x541a55===_0x5d99aa[_0x55887a(0x122)])return;const _0x1ed825=_0x55887a(0x15b)+_0x541a55;_0x3887e8[_0x55887a(0x173)][_0x55887a(0x13e)](_0x1ed825)&&_0x1a642d[_0x55887a(0x106)][_0x55887a(0x11f)](_0x1ed825),_0x3ee0a2['on'](_0x55887a(0x117),(_0x3379ab,_0x9ae941,_0x329eaf)=>{const _0x53437c=_0x55887a;if(_0x53437c(0x163)!=_0x9ae941[_0x53437c(0xf6)][_0x53437c(0x143)]&&_0x53437c(0x163)==_0x3ee0a2[_0x53437c(0x165)]()[_0x53437c(0xf6)][_0x53437c(0x143)]&&!_0x4ccf10[_0x53437c(0x13e)](_0x3ee0a2[_0x53437c(0xfa)])){const _0x52f68a=_0x3887e8[_0x53437c(0x149)][_0x53437c(0x159)](_0x329eaf[_0x53437c(0x152)]);if(_0x52f68a){const _0x2de027=_0x27df71[_0x53437c(0x170)](_0x52f68a);_0x4ccf10[_0x53437c(0x129)](_0x3ee0a2[_0x53437c(0xfa)],_0x2de027),_0x2de027['on'](_0x53437c(0x117),(_0x4a2177,_0x11a62e,_0x35a2e4)=>{const _0x3d33de=_0x53437c;if(_0x3d33de(0x163)==_0x2de027[_0x3d33de(0xf6)][_0x3d33de(0x143)]){const _0x4d0f5a=_0x3887e8[_0x3d33de(0x149)][_0x3d33de(0x159)](_0x35a2e4[_0x3d33de(0x152)]);_0x4d0f5a?(_0x2de027[_0x3d33de(0x15a)]=_0x4d0f5a[_0x3d33de(0x15a)],_0x2de027[_0x3d33de(0x164)]=_0x4d0f5a[_0x3d33de(0x164)]):(_0x4ccf10[_0x3d33de(0x10c)](_0x3ee0a2[_0x3d33de(0xfa)]),_0x2de027[_0x3d33de(0xfe)]());}});}}});}),_0x3887e8[_0x30d299(0x147)]['on'](_0x30d299(0x162),()=>{const _0x1a942e=_0x30d299;_0x4ccf10[_0x1a942e(0x135)]>0x0&&_0x3887e8[_0x1a942e(0x104)]({'isUndoable':!0x1},_0x3d1dc0=>{const _0x4520cd=_0x1a942e;for(const [_0x1daae9,_0x1b9a31]of _0x4ccf10)_0x4520cd(0x163)==_0x3887e8[_0x4520cd(0x173)][_0x4520cd(0x154)](_0x1daae9)[_0x4520cd(0x165)]()[_0x4520cd(0xf6)][_0x4520cd(0x143)]&&(re(_0x1daae9[_0x4520cd(0xf5)](':')[0x2],_0x1b9a31[_0x4520cd(0xfc)](),_0x3887e8,_0x3d1dc0),_0x1b9a31[_0x4520cd(0xfe)]());_0x4ccf10[_0x4520cd(0x161)]();});});}(_0x2ecb43),this[_0x3465f2(0x10f)][_0x3465f2(0x16b)](_0x114722[_0x3465f2(0x147)],_0x3465f2(0x144),(_0x407b03,{key:_0x547c3c})=>{const _0x4abaf0=_0x3465f2;_0x4abaf0(0x140)===_0x547c3c&&function(_0x1892d4){const _0x29343e=_0x4abaf0;_0x1892d4[_0x29343e(0x106)][_0x29343e(0xf7)][_0x29343e(0x162)](_0x5e59ce=>{const _0x37b8bb=_0x29343e;for(const _0x55a400 of _0x1892d4[_0x37b8bb(0x124)][_0x37b8bb(0x173)]){if(!_0x55a400[_0x37b8bb(0xfa)][_0x37b8bb(0x132)](_0x37b8bb(0x14f)))continue;const _0x591391=_0x1892d4[_0x37b8bb(0x106)][_0x37b8bb(0x137)][_0x37b8bb(0x105)](_0x55a400[_0x37b8bb(0xfa)]);if(_0x591391){for(const _0xf67d44 of _0x591391)_0x5e59ce[_0x37b8bb(0x111)](_0x37b8bb(0x13b),_0xf67d44);}}});}(_0x2ecb43);},{'useCapture':!0x0});}[_0x117409(0x11b)](){const _0x1dbfe2=_0x117409,_0x2733ea=this[_0x1dbfe2(0x12e)],_0x203a0d=_0x2733ea[_0x1dbfe2(0x175)][_0x1dbfe2(0x154)](_0x1dbfe2(0x13f));_0x203a0d&&_0x2733ea[_0x1dbfe2(0x124)]['on'](_0x1dbfe2(0x101),(_0x21027e,_0x5547c3)=>{const _0x17cfbb=_0x1dbfe2,_0x34288f=_0x5547c3[0x0];if(_0x17cfbb(0x108)!=_0x34288f[_0x17cfbb(0x150)]||!_0x34288f[_0x17cfbb(0xfa)][_0x17cfbb(0x132)](_0x17cfbb(0x120)))return;const _0x243f7b=_0x34288f[_0x17cfbb(0x109)];_0x203a0d[_0x17cfbb(0x167)][_0x17cfbb(0x13e)](_0x243f7b)&&(_0x34288f[_0x17cfbb(0x126)]=_0x34288f[_0x17cfbb(0x136)]?_0x2733ea[_0x17cfbb(0x124)][_0x17cfbb(0x15c)](_0x34288f[_0x17cfbb(0x136)][_0x17cfbb(0x15a)],_0x34288f[_0x17cfbb(0x136)][_0x17cfbb(0x164)]):null);},{'priority':_0x1dbfe2(0x174)});}[_0x117409(0x160)](){const _0x6876d5=_0x117409;return this[_0x6876d5(0x10f)][_0x6876d5(0x14a)](),super[_0x6876d5(0x160)]();}[_0x117409(0x156)](){const _0x5304b8=_0x117409,_0xf38050=this[_0x5304b8(0x12e)],_0x1c013f=_0xf38050[_0x5304b8(0x124)][_0x5304b8(0x147)],_0xbc7077=_0xf38050[_0x5304b8(0x115)][_0x5304b8(0x154)](_0x3d58ec);_0xf38050[_0x5304b8(0x124)][_0x5304b8(0x104)]({'isUndoable':!0x1},_0x1c56bb=>{const _0x2d46f2=_0x5304b8,_0x6b6653=_0x2d46f2(0x146)+_0xbc7077[_0x2d46f2(0x122)],_0x3ad5ea=_0x2d46f2(0x15b)+_0xbc7077[_0x2d46f2(0x122)],_0x107863=_0xf38050[_0x2d46f2(0x124)][_0x2d46f2(0x173)][_0x2d46f2(0x13e)](_0x6b6653);_0xf38050[_0x2d46f2(0x106)][_0x2d46f2(0xf7)][_0x2d46f2(0x145)]?re(_0xbc7077[_0x2d46f2(0x122)],_0x1c013f[_0x2d46f2(0x12a)][_0x2d46f2(0x158)](),_0xf38050[_0x2d46f2(0x124)],_0x1c56bb):_0x107863&&(_0x1c56bb[_0x2d46f2(0xf2)](_0x6b6653),_0x1c56bb[_0x2d46f2(0xf2)](_0x3ad5ea));});}}function re(_0x2a94e8,_0x18ba80,_0x1f1e5f,_0x5da89a){const _0x2d96c4=_0x117409,_0x4db172=_0x2d96c4(0x146)+_0x2a94e8,_0x75e88c=_0x2d96c4(0x15b)+_0x2a94e8,_0x295cef=_0x18ba80[_0x2d96c4(0x151)]();let _0x581747=_0x18ba80[_0x2d96c4(0x15a)];_0x295cef&&_0x295cef['is'](_0x2d96c4(0x10a),_0x2d96c4(0x119))&&(_0x581747=function(_0x2039e2,_0x11df18){const _0x580b40=_0x2d96c4;for(const _0x6ea3a9 of _0x2039e2[_0x580b40(0x10b)]())if(_0x11df18[_0x580b40(0x149)][_0x580b40(0x118)](_0x6ea3a9,_0x580b40(0xf8)))return _0x6ea3a9;}(_0x18ba80,_0x1f1e5f),_0x18ba80=_0x5da89a[_0x2d96c4(0x15c)](_0x581747));const _0x43f8e6=_0x5da89a[_0x2d96c4(0x15c)](_0x581747);_0x1f1e5f[_0x2d96c4(0x173)][_0x2d96c4(0x13e)](_0x4db172)?(_0x5da89a[_0x2d96c4(0x16c)](_0x4db172,{'range':_0x18ba80}),_0x5da89a[_0x2d96c4(0x16c)](_0x75e88c,{'range':_0x43f8e6})):(_0x5da89a[_0x2d96c4(0x139)](_0x4db172,{'range':_0x18ba80,'usingOperation':!0x0}),_0x5da89a[_0x2d96c4(0x139)](_0x75e88c,{'range':_0x43f8e6,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x595e58=_0x4709;function _0x4dd0(){const _0x117729=['name','mouseenter','checkChild','newRange','ck-user__marker_hovered','hasDomSelection','start','afterInit','marker','Escape','editingDowncast','user:position:','rootName','stopListening','mySessionId','schema','createUIElement','_createdBatches','parent','markerName','$graveyard','classList','contenteditable','toDomElement','nodeAfter','createUserMarkerOperations','isCollapsed','createRange','171EBGHzF','highest','color','markerToHighlight','model','remove','listenTo','data-session-id','get','fromRange','UserMarkers','setCustomProperty','isInline','user:position','ck-user__selection','ck-user__marker\x20','1914183OInYsI','markerToElement','batch','editing','$text','tableCell','63240sInyGT','removeMarker','startsWith','mouseleave','isLimit','update:user:range','addEventListener','view','innerHTML','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','getAttribute','conversion','deletionPosition','getNearestSelectionRange','_domEmitter','getContainedElement','mapper','oldRange','getRange','split','user:range','markers','has','keydown','commands','markerRange','destroy','root','6afeSjr','delete','isSimilar','change','2297316kCHpAJ','markerNameToElements','undo','2713550CGJDUJ','type','getStart','enqueueChange','215255LPdmWu','90120GEvfCj','user:range:','getFirstRange','editor','end','for','change:range','reconvertMarker','</span>','applyOperation','pluginName','getMarkerClass','document','span','3056136cCIZLA','detach','updateMarker','requires','getSelectionClass','clear','element','addMarker','orderNumber','add','selection','hasContent','user:','userPositionMarker','init','removeClass','set','size','getUserBySessionId','76ZaCATT','isObject','plugins','render','toRange','getCustomProperty','getPositions'];_0x4dd0=function(){return _0x117729;};return _0x4dd0();}(function(_0x3e2673,_0x512377){const _0x1308b4=_0x4709,_0xa29cf6=_0x3e2673();while(!![]){try{const _0x5dcf19=parseInt(_0x1308b4(0x21b))/0x1*(parseInt(_0x1308b4(0x210))/0x2)+parseInt(_0x1308b4(0x1ee))/0x3+parseInt(_0x1308b4(0x23d))/0x4*(-parseInt(_0x1308b4(0x21c))/0x5)+-parseInt(_0x1308b4(0x214))/0x6+-parseInt(_0x1308b4(0x217))/0x7+parseInt(_0x1308b4(0x22a))/0x8+-parseInt(_0x1308b4(0x1de))/0x9*(parseInt(_0x1308b4(0x1f4))/0xa);if(_0x5dcf19===_0x512377)break;else _0xa29cf6['push'](_0xa29cf6['shift']());}catch(_0x1e286b){_0xa29cf6['push'](_0xa29cf6['shift']());}}}(_0x4dd0,0x69a37));import{Plugin as _0x4eb53c}from'ckeditor5/src/core.js';import{global as _0x576f49,DomEmitterMixin as _0x1a6e17}from'ckeditor5/src/utils.js';import _0x33ec95 from'./sessions.js';function _0x4709(_0x10bbbf,_0x2b660c){const _0x4dd03a=_0x4dd0();return _0x4709=function(_0x470991,_0x1e79b3){_0x470991=_0x470991-0x1d6;let _0x3f7442=_0x4dd03a[_0x470991];return _0x3f7442;},_0x4709(_0x10bbbf,_0x2b660c);}import{LiveRange as _0x1bfbc5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class J extends _0x4eb53c{constructor(){const _0x26d6a6=_0x4709;super(...arguments),this[_0x26d6a6(0x202)]=new(_0x1a6e17())();}static get[_0x595e58(0x22d)](){return[_0x33ec95];}static get[_0x595e58(0x226)](){const _0x28a55e=_0x595e58;return _0x28a55e(0x1e8);}[_0x595e58(0x238)](){const _0x954676=_0x595e58,_0x448c9b=this[_0x954676(0x21f)],_0x3293f9=_0x448c9b[_0x954676(0x23f)][_0x954676(0x1e6)](_0x33ec95);_0x448c9b[_0x954676(0x1ff)][_0x954676(0x221)](_0x954676(0x24e))[_0x954676(0x1ef)]({'model':_0x954676(0x1eb),'view':(_0xa6eb5,{writer:_0x289f60})=>function(_0x38b697,_0x51851a,_0x2da6a6,_0xa807b){const _0x1972a8=_0x954676,_0x321e4a=_0x38b697[_0x1972a8(0x257)][_0x1972a8(0x207)](':')[0x2],_0x276069=_0x2da6a6[_0x1972a8(0x23c)](_0x321e4a);if(!_0x276069||_0x321e4a===_0x2da6a6[_0x1972a8(0x252)])return;if(!_0xa807b[_0x1972a8(0x1e2)][_0x1972a8(0x253)][_0x1972a8(0x246)](_0x38b697[_0x1972a8(0x20d)][_0x1972a8(0x24a)],_0x1972a8(0x1f2)))return;const _0x4a024a={'class':_0x1972a8(0x1ed)+_0x276069[_0x1972a8(0x1e0)][_0x1972a8(0x227)](),'data-name':_0x276069[_0x1972a8(0x244)],'data-session-id':_0x321e4a},_0x39128c=_0xa807b[_0x1972a8(0x1e2)][_0x1972a8(0x209)][_0x1972a8(0x1e6)](_0x38b697[_0x1972a8(0x257)]),_0x1f4cc2=_0x39128c[_0x1972a8(0x219)](),_0x26c638=_0x1f4cc2[_0x1972a8(0x1da)],_0x5ced75=_0xa807b[_0x1972a8(0x1e2)][_0x1972a8(0x253)];if(_0x26c638&&_0x5ced75[_0x1972a8(0x23e)](_0x26c638)&&_0x5ced75[_0x1972a8(0x1ea)](_0x26c638)&&!_0xa807b[_0x1972a8(0x1e2)][_0x1972a8(0x209)][_0x1972a8(0x1e6)](_0x1972a8(0x21d)+_0x321e4a)[_0x1972a8(0x206)]()[_0x1972a8(0x1dc)])return;const _0x1965d7=_0x1f4cc2[_0x1972a8(0x256)];return _0xa807b[_0x1972a8(0x1e2)][_0x1972a8(0x253)][_0x1972a8(0x1f8)](_0x1965d7)&&!_0xa807b[_0x1972a8(0x1e2)][_0x1972a8(0x235)](_0x1965d7)&&(_0x4a024a[_0x1972a8(0x1d8)]=!0x1),function(_0x3c7b3a,_0x548fbc,_0x238fa5){const _0x3d5bee=_0x1972a8,_0x3084e4=_0x3c7b3a[_0x3d5bee(0x254)](_0x3d5bee(0x229),_0x548fbc);return _0x3c7b3a[_0x3d5bee(0x1e9)](_0x3d5bee(0x237),!0x0,_0x3084e4),_0x3084e4[_0x3d5bee(0x240)]=function(_0x4cb904){const _0x2d07f5=_0x3d5bee,_0x3a70c5=this[_0x2d07f5(0x1d9)](_0x4cb904);return _0x3a70c5[_0x2d07f5(0x1fc)]=_0x2d07f5(0x1fd)+_0x238fa5[_0x2d07f5(0x244)]+_0x2d07f5(0x224),_0x3a70c5[_0x2d07f5(0x1fa)](_0x2d07f5(0x245),()=>{const _0x58aa62=_0x2d07f5;_0x3a70c5[_0x58aa62(0x1d7)][_0x58aa62(0x233)](_0x58aa62(0x248));}),_0x3a70c5[_0x2d07f5(0x1fa)](_0x2d07f5(0x1f7),()=>{const _0x4968ba=_0x2d07f5;_0x3a70c5[_0x4968ba(0x1d7)][_0x4968ba(0x1e3)](_0x4968ba(0x248));}),_0x3a70c5;},_0x3084e4[_0x3d5bee(0x212)]=function(_0x5486ac){const _0x3a9894=_0x3d5bee;return!(!this[_0x3a9894(0x242)](_0x3a9894(0x237))||!_0x5486ac[_0x3a9894(0x242)](_0x3a9894(0x237))||this[_0x3a9894(0x1fe)](_0x3a9894(0x1e5))!=_0x5486ac[_0x3a9894(0x1fe)](_0x3a9894(0x1e5)));},_0x3084e4;}(_0x51851a,_0x4a024a,_0x276069);}(_0xa6eb5,_0x289f60,_0x3293f9,_0x448c9b)}),_0x448c9b[_0x954676(0x1ff)][_0x954676(0x221)](_0x954676(0x24e))[_0x954676(0x1e1)]({'model':_0x954676(0x208),'view':_0x4a238e=>function(_0x4380e0,_0x52fb4e){const _0x47826c=_0x954676,_0x2f9be3=_0x4380e0[_0x47826c(0x257)][_0x47826c(0x207)](':')[0x2];if(_0x2f9be3===_0x52fb4e[_0x47826c(0x252)])return null;const _0x5953ba=_0x52fb4e[_0x47826c(0x23c)](_0x2f9be3);if(!_0x5953ba)return{'id':_0x2f9be3,'classes':[]};return{'id':_0x2f9be3,'classes':[_0x47826c(0x1ec),_0x5953ba[_0x47826c(0x1e0)][_0x47826c(0x22e)]()],'attributes':{'data-session-id':_0x2f9be3},'priority':0x7d0+_0x5953ba[_0x47826c(0x232)]};}(_0x4a238e,_0x3293f9)}),function(_0xf23904){const _0x1ec6c4=_0x954676,_0x9874ac=_0xf23904[_0x1ec6c4(0x1e2)],_0x418364=new Map(),_0x118e6d=_0xf23904[_0x1ec6c4(0x23f)][_0x1ec6c4(0x1e6)](_0x33ec95);_0x9874ac[_0x1ec6c4(0x209)]['on'](_0x1ec6c4(0x1f9),(_0x8568fd,_0x34d451,_0x43a7a9,_0x1a2749)=>{const _0x48df1e=_0x1ec6c4;if(!_0x1a2749&&_0x418364[_0x48df1e(0x1e6)](_0x34d451[_0x48df1e(0x244)]))return _0x418364[_0x48df1e(0x1e6)](_0x34d451[_0x48df1e(0x244)])[_0x48df1e(0x22b)](),void _0x418364[_0x48df1e(0x211)](_0x34d451[_0x48df1e(0x244)]);const _0x17eccf=_0x34d451[_0x48df1e(0x244)][_0x48df1e(0x207)](':')[0x2];if(_0x17eccf===_0x118e6d[_0x48df1e(0x252)])return;const _0xc14d44=_0x48df1e(0x24f)+_0x17eccf;_0x9874ac[_0x48df1e(0x209)][_0x48df1e(0x20a)](_0xc14d44)&&_0xf23904[_0x48df1e(0x1f1)][_0x48df1e(0x223)](_0xc14d44),_0x34d451['on'](_0x48df1e(0x222),(_0x42da77,_0x27ac04,_0x2f0356)=>{const _0x271dc2=_0x48df1e;if(_0x271dc2(0x1d6)!=_0x27ac04[_0x271dc2(0x20f)][_0x271dc2(0x250)]&&_0x271dc2(0x1d6)==_0x34d451[_0x271dc2(0x206)]()[_0x271dc2(0x20f)][_0x271dc2(0x250)]&&!_0x418364[_0x271dc2(0x20a)](_0x34d451[_0x271dc2(0x244)])){const _0x3774c5=_0x9874ac[_0x271dc2(0x253)][_0x271dc2(0x201)](_0x2f0356[_0x271dc2(0x200)]);if(_0x3774c5){const _0x34c847=_0x1bfbc5[_0x271dc2(0x1e7)](_0x3774c5);_0x418364[_0x271dc2(0x23a)](_0x34d451[_0x271dc2(0x244)],_0x34c847),_0x34c847['on'](_0x271dc2(0x222),(_0x5ba7d9,_0x3745ff,_0x3e191b)=>{const _0x38f84f=_0x271dc2;if(_0x38f84f(0x1d6)==_0x34c847[_0x38f84f(0x20f)][_0x38f84f(0x250)]){const _0x59a91e=_0x9874ac[_0x38f84f(0x253)][_0x38f84f(0x201)](_0x3e191b[_0x38f84f(0x200)]);_0x59a91e?(_0x34c847[_0x38f84f(0x24a)]=_0x59a91e[_0x38f84f(0x24a)],_0x34c847[_0x38f84f(0x220)]=_0x59a91e[_0x38f84f(0x220)]):(_0x418364[_0x38f84f(0x211)](_0x34d451[_0x38f84f(0x244)]),_0x34c847[_0x38f84f(0x22b)]());}});}}});}),_0x9874ac[_0x1ec6c4(0x228)]['on'](_0x1ec6c4(0x213),()=>{const _0x3d8b2e=_0x1ec6c4;_0x418364[_0x3d8b2e(0x23b)]>0x0&&_0x9874ac[_0x3d8b2e(0x21a)]({'isUndoable':!0x1},_0x5e4a87=>{const _0x3117b7=_0x3d8b2e;for(const [_0x44926a,_0xc90d40]of _0x418364)_0x3117b7(0x1d6)==_0x9874ac[_0x3117b7(0x209)][_0x3117b7(0x1e6)](_0x44926a)[_0x3117b7(0x206)]()[_0x3117b7(0x20f)][_0x3117b7(0x250)]&&(te(_0x44926a[_0x3117b7(0x207)](':')[0x2],_0xc90d40[_0x3117b7(0x241)](),_0x9874ac,_0x5e4a87),_0xc90d40[_0x3117b7(0x22b)]());_0x418364[_0x3117b7(0x22f)]();});});}(_0x448c9b),this[_0x954676(0x202)][_0x954676(0x1e4)](_0x576f49[_0x954676(0x228)],_0x954676(0x20b),(_0x202734,{key:_0x42f402})=>{const _0x3da6ef=_0x954676;_0x3da6ef(0x24d)===_0x42f402&&function(_0x6355ba){const _0x5a7886=_0x3da6ef;_0x6355ba[_0x5a7886(0x1f1)][_0x5a7886(0x1fb)][_0x5a7886(0x213)](_0x162290=>{const _0x1052ef=_0x5a7886;for(const _0x3fc65f of _0x6355ba[_0x1052ef(0x1e2)][_0x1052ef(0x209)]){if(!_0x3fc65f[_0x1052ef(0x244)][_0x1052ef(0x1f6)](_0x1052ef(0x1eb)))continue;const _0xf86791=_0x6355ba[_0x1052ef(0x1f1)][_0x1052ef(0x204)][_0x1052ef(0x215)](_0x3fc65f[_0x1052ef(0x244)]);if(_0xf86791){for(const _0x4b7342 of _0xf86791)_0x162290[_0x1052ef(0x239)](_0x1052ef(0x248),_0x4b7342);}}});}(_0x448c9b);},{'useCapture':!0x0});}[_0x595e58(0x24b)](){const _0x2fe79d=_0x595e58,_0x43c799=this[_0x2fe79d(0x21f)],_0x23c9a5=_0x43c799[_0x2fe79d(0x20c)][_0x2fe79d(0x1e6)](_0x2fe79d(0x216));_0x23c9a5&&_0x43c799[_0x2fe79d(0x1e2)]['on'](_0x2fe79d(0x225),(_0x448acf,_0x5e01ea)=>{const _0x16f0f7=_0x2fe79d,_0x1562d1=_0x5e01ea[0x0];if(_0x16f0f7(0x24c)!=_0x1562d1[_0x16f0f7(0x218)]||!_0x1562d1[_0x16f0f7(0x244)][_0x16f0f7(0x1f6)](_0x16f0f7(0x236)))return;const _0x1674f5=_0x1562d1[_0x16f0f7(0x1f0)];_0x23c9a5[_0x16f0f7(0x255)][_0x16f0f7(0x20a)](_0x1674f5)&&(_0x1562d1[_0x16f0f7(0x247)]=_0x1562d1[_0x16f0f7(0x205)]?_0x43c799[_0x16f0f7(0x1e2)][_0x16f0f7(0x1dd)](_0x1562d1[_0x16f0f7(0x205)][_0x16f0f7(0x24a)],_0x1562d1[_0x16f0f7(0x205)][_0x16f0f7(0x220)]):null);},{'priority':_0x2fe79d(0x1df)});}[_0x595e58(0x20e)](){const _0x38d988=_0x595e58;return this[_0x38d988(0x202)][_0x38d988(0x251)](),super[_0x38d988(0x20e)]();}[_0x595e58(0x1db)](){const _0x336fa0=_0x595e58,_0x23c02f=this[_0x336fa0(0x21f)],_0x2fa114=_0x23c02f[_0x336fa0(0x1e2)][_0x336fa0(0x228)],_0x9329a1=_0x23c02f[_0x336fa0(0x23f)][_0x336fa0(0x1e6)](_0x33ec95);_0x23c02f[_0x336fa0(0x1e2)][_0x336fa0(0x21a)]({'isUndoable':!0x1},_0x45061f=>{const _0x364e0a=_0x336fa0,_0x144c52=_0x364e0a(0x21d)+_0x9329a1[_0x364e0a(0x252)],_0x33f333=_0x364e0a(0x24f)+_0x9329a1[_0x364e0a(0x252)],_0x56f7e6=_0x23c02f[_0x364e0a(0x1e2)][_0x364e0a(0x209)][_0x364e0a(0x20a)](_0x144c52);_0x23c02f[_0x364e0a(0x1f1)][_0x364e0a(0x1fb)][_0x364e0a(0x249)]?te(_0x9329a1[_0x364e0a(0x252)],_0x2fa114[_0x364e0a(0x234)][_0x364e0a(0x21e)](),_0x23c02f[_0x364e0a(0x1e2)],_0x45061f):_0x56f7e6&&(_0x45061f[_0x364e0a(0x1f5)](_0x144c52),_0x45061f[_0x364e0a(0x1f5)](_0x33f333));});}}function te(_0x6a2b0d,_0x536f12,_0x4a8824,_0x189be0){const _0x47a042=_0x595e58,_0xd176ed=_0x47a042(0x21d)+_0x6a2b0d,_0x403d47=_0x47a042(0x24f)+_0x6a2b0d,_0x4e4b7e=_0x536f12[_0x47a042(0x203)]();let _0x4ececf=_0x536f12[_0x47a042(0x24a)];_0x4e4b7e&&_0x4e4b7e['is'](_0x47a042(0x230),_0x47a042(0x1f3))&&(_0x4ececf=function(_0x4859ac,_0x28350b){const _0x23f292=_0x47a042;for(const _0x123b98 of _0x4859ac[_0x23f292(0x243)]())if(_0x28350b[_0x23f292(0x253)][_0x23f292(0x246)](_0x123b98,_0x23f292(0x1f2)))return _0x123b98;}(_0x536f12,_0x4a8824),_0x536f12=_0x189be0[_0x47a042(0x1dd)](_0x4ececf));const _0x3daad=_0x189be0[_0x47a042(0x1dd)](_0x4ececf);_0x4a8824[_0x47a042(0x209)][_0x47a042(0x20a)](_0xd176ed)?(_0x189be0[_0x47a042(0x22c)](_0xd176ed,{'range':_0x536f12}),_0x189be0[_0x47a042(0x22c)](_0x403d47,{'range':_0x3daad})):(_0x189be0[_0x47a042(0x231)](_0xd176ed,{'range':_0x536f12,'usingOperation':!0x0}),_0x189be0[_0x47a042(0x231)](_0x403d47,{'range':_0x3daad,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a87c0=_0x3be9;(function(_0xf8e80,_0x133de4){const _0x4d88e5=_0x3be9,_0x501029=_0xf8e80();while(!![]){try{const _0x3697ed=parseInt(_0x4d88e5(0x91))/0x1+parseInt(_0x4d88e5(0x8d))/0x2*(parseInt(_0x4d88e5(0xad))/0x3)+parseInt(_0x4d88e5(0xb0))/0x4+-parseInt(_0x4d88e5(0x9d))/0x5+-parseInt(_0x4d88e5(0x95))/0x6*(-parseInt(_0x4d88e5(0x99))/0x7)+parseInt(_0x4d88e5(0x81))/0x8*(parseInt(_0x4d88e5(0x72))/0x9)+parseInt(_0x4d88e5(0x90))/0xa*(-parseInt(_0x4d88e5(0xaf))/0xb);if(_0x3697ed===_0x133de4)break;else _0x501029['push'](_0x501029['shift']());}catch(_0x474652){_0x501029['push'](_0x501029['shift']());}}}(_0x3ad0,0x4568e));import{ContextPlugin as _0x16900f}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x399a24,CKEditorError as _0x94ab88}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3411cf,WEB_SOCKET_GATEWAY_STATES as _0x2860c9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x50ae0c}from'ckeditor5/src/ui.js';class c extends _0x16900f{static get[_0x3a87c0(0x8a)](){const _0x6a2378=_0x3a87c0;return[_0x6a2378(0x75),_0x50ae0c];}static get[_0x3a87c0(0x7d)](){const _0x4f9e30=_0x3a87c0;return _0x4f9e30(0x7c);}constructor(_0x824284){const _0x4356c8=_0x3a87c0;super(_0x824284),this[_0x4356c8(0xb3)](_0x4356c8(0x74),_0x2860c9[_0x4356c8(0x92)]),this[_0x4356c8(0xb3)](_0x4356c8(0x7b),!0x1),this[_0x4356c8(0x9e)]=new Set(),this[_0x4356c8(0xa0)]=!0x1,this[_0x4356c8(0x73)]=Object[_0x4356c8(0xa9)](_0x399a24);}[_0x3a87c0(0x96)](){const _0x1d4029=_0x3a87c0,_0x2091eb=this[_0x1d4029(0xb7)],_0x299f0a=_0x2091eb[_0x1d4029(0x80)][_0x1d4029(0xa8)](_0x1d4029(0x75)),_0xce4b56=_0x2091eb[_0x1d4029(0x80)][_0x1d4029(0xa8)](_0x50ae0c);if(!_0x299f0a[_0x1d4029(0x88)])throw new _0x94ab88(_0x1d4029(0xa7),this);if(!_0x299f0a[_0x1d4029(0x87)])throw new _0x94ab88(_0x1d4029(0x76),this);return this[_0x1d4029(0x73)][_0x1d4029(0xa2)](window,_0x1d4029(0xb4),()=>this[_0x1d4029(0x7b)]=!0x0),this[_0x1d4029(0x73)][_0x1d4029(0xa2)](window,_0x1d4029(0x83),()=>this[_0x1d4029(0x7b)]=!0x1),this[_0x1d4029(0xb7)][_0x1d4029(0xb1)][_0x1d4029(0x9a)](_0x1d4029(0xb6),0xa),this[_0x1d4029(0xb7)][_0x1d4029(0xb1)][_0x1d4029(0x9a)](_0x1d4029(0x97),0x14),c[_0x1d4029(0x7c)][_0x1d4029(0xba)](_0x299f0a[_0x1d4029(0x88)],_0x299f0a[_0x1d4029(0x87)],{'timeout':0x3e8*this[_0x1d4029(0xb7)][_0x1d4029(0xb1)][_0x1d4029(0xa8)](_0x1d4029(0xb6)),'requestTimeout':0x3e8*this[_0x1d4029(0xb7)][_0x1d4029(0xb1)][_0x1d4029(0xa8)](_0x1d4029(0x97))})[_0x1d4029(0xa1)](_0x459463=>{const _0x50a2cf=_0x1d4029;if(this[_0x50a2cf(0x9c)]=_0x459463,this[_0x50a2cf(0x7f)](_0x50a2cf(0x74))['to'](_0x459463,_0x50a2cf(0x74),this,_0x50a2cf(0x7b),(_0x4c21f7,_0x329279)=>(_0x50a2cf(0x79)!==_0x4c21f7&&(this[_0x50a2cf(0xa0)]=!0x0),_0x329279||_0x4c21f7!==_0x2860c9[_0x50a2cf(0x92)]?_0x2860c9[_0x50a2cf(0x98)]:this[_0x50a2cf(0x74)]==_0x2860c9[_0x50a2cf(0x98)]&&this[_0x50a2cf(0xa0)]?(this[_0x50a2cf(0xa0)]=!0x1,this[_0x50a2cf(0x94)](),_0x2860c9[_0x50a2cf(0x7e)]):_0x2860c9[_0x50a2cf(0x92)])),this[_0x50a2cf(0x9c)]['on'](_0x50a2cf(0x7a),(_0x236229,_0x5545f7)=>{const _0x1e9d9a=_0x50a2cf;if(_0x1e9d9a(0xa6)!==_0x5545f7[_0x1e9d9a(0x89)])throw console[_0x1e9d9a(0x7a)](_0x5545f7),new _0x94ab88(_0x1e9d9a(0x9b),null,{'originalError':_0x5545f7});_0xce4b56[_0x1e9d9a(0xa5)](_0x1e9d9a(0x8c),{'title':_0x1e9d9a(0xbb),'namespace':_0x1e9d9a(0xab)});}),!_0x459463['me'])return new Promise(_0x573006=>_0x459463['on'](_0x50a2cf(0x78),_0x573006));})[_0x1d4029(0xaa)](_0x7ae204=>{const _0x22b290=_0x1d4029;throw console[_0x22b290(0x7a)](_0x7ae204),new _0x94ab88(_0x22b290(0x9b),null,{'originalError':_0x7ae204});});}[_0x3a87c0(0x82)](_0x2845bd){const _0x1cee00=_0x3a87c0;if(_0x1cee00(0x8f)!=typeof _0x2845bd[_0x1cee00(0xac)])throw new _0x94ab88(_0x1cee00(0xa3),this);if(this[_0x1cee00(0x93)](_0x2845bd))throw new _0x94ab88(_0x1cee00(0xae),this,{'name':_0x2845bd[_0x1cee00(0x8b)][_0x1cee00(0x7d)]});this[_0x1cee00(0x9e)][_0x1cee00(0x85)](_0x2845bd);}[_0x3a87c0(0xb5)](_0x2295ba){const _0x2aba8e=_0x3a87c0;this[_0x2aba8e(0x9e)][_0x2aba8e(0xb9)](_0x2295ba);}[_0x3a87c0(0x93)](_0x409ccb){const _0xa0cab=_0x3a87c0;return this[_0xa0cab(0x9e)][_0xa0cab(0xa4)](_0x409ccb);}[_0x3a87c0(0x94)](){const _0x29e179=_0x3a87c0;return this[_0x29e179(0x9c)][_0x29e179(0xac)]()[_0x29e179(0xa1)](()=>Promise[_0x29e179(0x9f)](Array[_0x29e179(0x86)](this[_0x29e179(0x9e)],_0x328798=>_0x328798[_0x29e179(0xac)]())))[_0x29e179(0xa1)](()=>this[_0x29e179(0x74)]=_0x2860c9[_0x29e179(0x92)])[_0x29e179(0xaa)](_0x906110=>{const _0x55d28e=_0x29e179;throw console[_0x55d28e(0x7a)](_0x906110),new _0x94ab88(_0x55d28e(0x84),this[_0x55d28e(0xb7)]);});}[_0x3a87c0(0x8e)](){const _0x8aed59=_0x3a87c0;this[_0x8aed59(0x9c)]&&this[_0x8aed59(0x9c)][_0x8aed59(0xb8)](),this[_0x8aed59(0x74)]=_0x2860c9[_0x8aed59(0x98)],this[_0x8aed59(0x73)][_0x8aed59(0x77)](),super[_0x8aed59(0x8e)]();}}function _0x3ad0(){const _0x35ef5a=['cloudServices.requestTimeout','DISCONNECTED','193879eGUSqM','define','cloudservices-init','connection','1504635zpUIel','_reconnectionStack','all','_shouldPluginsReconnect','then','listenTo','websocketgateway-invalid-plugin-interface','has','showWarning','limitExceeded','websocketgateway-missing-token','get','create','catch','real-time-collaboration','reconnect','114PZAadg','websocketgateway-plugin-already-registered','8353796eHkyOk','782124gOtZOU','config','initialReconnectionInterval','set','offline','removeFromReconnectionStack','cloudServices.connectionTimeout','context','disconnect','delete','connect','Connected\x20users\x20limit\x20exceeded','298314cqiCEL','_domEmitter','state','CloudServices','websocketgateway-missing-websocket-url','stopListening','change:me','connected','error','_isBrowserOffline','WebSocketGateway','pluginName','CONNECTING','bind','plugins','72uBAJiq','addToReconnectionStack','online','cloudservices-reconnection-error','add','from','webSocketUrl','token','code','requires','constructor','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.','25966QHenkj','destroy','function','10yAXHEp','191284bogoFs','CONNECTED','isInReconnectionStack','_reconnect','36jBBglT','init'];_0x3ad0=function(){return _0x35ef5a;};return _0x3ad0();}function _0x3be9(_0xc48d4d,_0x568342){const _0x3ad0ac=_0x3ad0();return _0x3be9=function(_0x3be91c,_0x1a6af0){_0x3be91c=_0x3be91c-0x72;let _0x56e2c1=_0x3ad0ac[_0x3be91c];return _0x56e2c1;},_0x3be9(_0xc48d4d,_0x568342);}c[_0x3a87c0(0x7c)]=_0x3411cf,c[_0x3a87c0(0xb2)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1ace(){var _0x34f476=['18XUoKle','4693260EIjPoG','9303545jaBNJg','13113200dYioRu','4415800GHiAXl','292472MNyIBR','RealTimeCollaborativeEditing','pluginName','3853402ImhByy','6654VMtsNA','652tszRFz','requires','6NRkiNx'];_0x1ace=function(){return _0x34f476;};return _0x1ace();}var _0x3aa1a6=_0x5b8a;(function(_0x25e026,_0x23a12b){var _0x3f9f60=_0x5b8a,_0x3ab6a2=_0x25e026();while(!![]){try{var _0x3a14ae=parseInt(_0x3f9f60(0x146))/0x1+-parseInt(_0x3f9f60(0x14b))/0x2*(-parseInt(_0x3f9f60(0x14a))/0x3)+-parseInt(_0x3f9f60(0x142))/0x4+parseInt(_0x3f9f60(0x143))/0x5*(parseInt(_0x3f9f60(0x14d))/0x6)+-parseInt(_0x3f9f60(0x149))/0x7+-parseInt(_0x3f9f60(0x145))/0x8*(-parseInt(_0x3f9f60(0x141))/0x9)+-parseInt(_0x3f9f60(0x144))/0xa;if(_0x3a14ae===_0x23a12b)break;else _0x3ab6a2['push'](_0x3ab6a2['shift']());}catch(_0x327067){_0x3ab6a2['push'](_0x3ab6a2['shift']());}}}(_0x1ace,0xe6bb6));function _0x5b8a(_0x1c0df6,_0x5c204d){var _0x1ace6d=_0x1ace();return _0x5b8a=function(_0x5b8a47,_0x2519e3){_0x5b8a47=_0x5b8a47-0x141;var _0x431e82=_0x1ace6d[_0x5b8a47];return _0x431e82;},_0x5b8a(_0x1c0df6,_0x5c204d);}import{Plugin as _0x4eeea7}from'ckeditor5/src/core.js';import _0x5d28a1 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x4eeea7{static get[_0x3aa1a6(0x14c)](){return[_0x5d28a1];}static get[_0x3aa1a6(0x148)](){var _0x5d04c6=_0x3aa1a6;return _0x5d04c6(0x147);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a5e33=_0x2c5d;(function(_0xa29509,_0x46bcf0){const _0x2327d8=_0x2c5d,_0x2e3d0c=_0xa29509();while(!![]){try{const _0x1af1b8=-parseInt(_0x2327d8(0x12a))/0x1+-parseInt(_0x2327d8(0x138))/0x2*(parseInt(_0x2327d8(0x146))/0x3)+parseInt(_0x2327d8(0x133))/0x4*(-parseInt(_0x2327d8(0x118))/0x5)+parseInt(_0x2327d8(0xf5))/0x6*(-parseInt(_0x2327d8(0x11f))/0x7)+-parseInt(_0x2327d8(0xf0))/0x8+parseInt(_0x2327d8(0xf2))/0x9+parseInt(_0x2327d8(0x11c))/0xa*(parseInt(_0x2327d8(0xed))/0xb);if(_0x1af1b8===_0x46bcf0)break;else _0x2e3d0c['push'](_0x2e3d0c['shift']());}catch(_0x167a7d){_0x2e3d0c['push'](_0x2e3d0c['shift']());}}}(_0x1016,0x8f868));import{Plugin as _0x2a7082}from'ckeditor5/src/core.js';function _0x2c5d(_0x3558dd,_0x5c35c1){const _0x10160b=_0x1016();return _0x2c5d=function(_0x2c5d17,_0x590ba0){_0x2c5d17=_0x2c5d17-0xea;let _0x80b81d=_0x10160b[_0x2c5d17];return _0x80b81d;},_0x2c5d(_0x3558dd,_0x5c35c1);}import{version as _0x2a919f}from'ckeditor5/src/utils.js';import{Users as _0x4ad080}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x45ef7c from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1f0f7e from'../realtimecollaborativeediting/websocketgateway.js';import _0x336506 from'../realtimecollaborativeediting/sessions.js';import{User as _0x103019}from'@ckeditor/ckeditor-cloud-services-collaboration';import{RevisionHistoryService as _0x58fb99,EditorService as _0x4e8336,WEB_SOCKET_GATEWAY_STATES as _0x1351ff}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x2a7082{static get[_0x3a5e33(0xf4)](){const _0x2f871d=_0x3a5e33;return[_0x1f0f7e,_0x45ef7c,_0x2f871d(0x108),_0x336506,_0x4ad080];}constructor(_0x403739){const _0x342ea9=_0x3a5e33;super(_0x403739);const _0x50e336=this[_0x342ea9(0x101)][_0x342ea9(0x150)][_0x342ea9(0x13c)](_0x342ea9(0x109));this[_0x342ea9(0x13a)]=null,this[_0x342ea9(0x120)]=this[_0x342ea9(0x101)][_0x342ea9(0xff)][_0x342ea9(0x13c)](_0x342ea9(0x108)),this[_0x342ea9(0x14a)]=new v[(_0x342ea9(0x12f))](_0x50e336);}async[_0x3a5e33(0x117)](){const _0x56b8ce=_0x3a5e33,_0x56d802=this[_0x56b8ce(0x101)][_0x56b8ce(0xff)][_0x56b8ce(0x13c)](_0x45ef7c),_0x1e967e=_0x56d802[_0x56b8ce(0x132)],_0x32d5a7=this[_0x56b8ce(0x101)][_0x56b8ce(0xff)][_0x56b8ce(0x13c)](_0x1f0f7e);this[_0x56b8ce(0x120)][_0x56b8ce(0xec)]({'history':_0x1e967e,'getLatestVersion':()=>this[_0x56b8ce(0x123)](),'getCurrentRevisionId':()=>_0x56d802[_0x56b8ce(0x114)]});const _0x5ad411=this[_0x56b8ce(0x101)][_0x56b8ce(0x150)][_0x56b8ce(0x13c)](_0x56b8ce(0x107))||_0x2a919f,_0x34909d=await _0x4e8336[_0x56b8ce(0x113)](_0x32d5a7[_0x56b8ce(0x100)],_0x5ad411);this[_0x56b8ce(0x120)][_0x56b8ce(0x112)]={'getRevision':async({revisionId:_0x2d3da3})=>(await this[_0x56b8ce(0x11b)](),await this[_0x56b8ce(0x14a)][_0x56b8ce(0x111)](_0x2d3da3)),'updateRevisions':async _0x261116=>{const _0x23f76f=_0x56b8ce;await this[_0x23f76f(0x11b)]();const _0x15529b=this[_0x23f76f(0x120)][_0x23f76f(0x125)];if(_0x34909d&&0x1===_0x261116[_0x23f76f(0x10b)]&&_0x261116[0x0]['id']===_0x15529b['id'])return _0x261116;for(const _0x2a9071 of _0x261116)_0x2a9071['id']===_0x15529b['id']&&(_0x2a9071[_0x23f76f(0x12d)]=_0x2a9071[_0x23f76f(0x157)]===_0x2a9071[_0x23f76f(0x14f)]);return this[_0x23f76f(0x14a)][_0x23f76f(0x14c)](_0x261116,this[_0x23f76f(0x13a)])[_0x23f76f(0x130)](_0x433013=>(this[_0x23f76f(0x13a)]=_0x433013,_0x261116))[_0x23f76f(0x155)](_0x2420fb=>{const _0x29ba5b=_0x23f76f;if(st(_0x2420fb)||_0x29ba5b(0x152)===_0x2420fb[_0x29ba5b(0x14e)]&&void 0x0!==_0x2420fb[_0x29ba5b(0x128)][_0x29ba5b(0x145)]){for(const _0x5818fb of _0x261116){!this[_0x29ba5b(0x120)][_0x29ba5b(0x12e)][_0x29ba5b(0x111)](_0x5818fb['id'])||this[_0x29ba5b(0x120)][_0x29ba5b(0x12c)](_0x5818fb['id'],_0x5818fb,!0x1);}if(st(_0x2420fb))throw _0x2420fb;return _0x261116;}throw _0x2420fb;});}},this[_0x56b8ce(0x13d)](this[_0x56b8ce(0x14a)],_0x56b8ce(0x159),(_0x3a4188,{revisionsData:_0x1900b8,requestId:_0x12316e})=>{const _0x3a7ad6=_0x56b8ce;Math[_0x3a7ad6(0x126)](..._0x1900b8[_0x3a7ad6(0x158)](_0x486a0d=>_0x486a0d[_0x3a7ad6(0x14f)]))>this[_0x3a7ad6(0xef)]()-0x1?this[_0x3a7ad6(0x123)]()[_0x3a7ad6(0x130)](()=>{const _0x3852df=_0x3a7ad6;this[_0x3852df(0x10c)](_0x1900b8,_0x12316e);}):this[_0x3a7ad6(0x10c)](_0x1900b8,_0x12316e);});const {revisions:_0x43107a,requestId:_0xe0c690}=await this[_0x56b8ce(0x14a)][_0x56b8ce(0x10f)](_0x32d5a7[_0x56b8ce(0x100)]);_0x32d5a7[_0x56b8ce(0x10e)](this),this[_0x56b8ce(0x13a)]=_0xe0c690,await this[_0x56b8ce(0x10a)](_0x43107a);for(const _0x29e645 of _0x43107a)this[_0x56b8ce(0x120)][_0x56b8ce(0x106)](_0x29e645);this[_0x56b8ce(0x13d)](_0x56d802,_0x56b8ce(0x104),(_0x4f1455,_0x53dc84,_0x3d0da1)=>{const _0x5a250f=_0x56b8ce;_0x3d0da1&&(this[_0x5a250f(0xf3)]=_0x56d802[_0x5a250f(0x141)],_0x4f1455[_0x5a250f(0xfa)]());}),this[_0x56b8ce(0x120)][_0x56b8ce(0x11d)](_0x56b8ce(0xf1))['to'](_0x32d5a7,_0x56b8ce(0x142),_0x419529=>_0x419529===_0x1351ff[_0x56b8ce(0xf9)]);}async[_0x3a5e33(0x139)](){const _0x5ad3d8=_0x3a5e33,_0x31fe9d=this[_0x5ad3d8(0x101)][_0x5ad3d8(0xff)][_0x5ad3d8(0x13c)](_0x1f0f7e),_0xf1082=this[_0x5ad3d8(0x101)][_0x5ad3d8(0xff)][_0x5ad3d8(0x13c)](_0x45ef7c),_0x5de0ef=async()=>{const _0x15d9d9=_0x5ad3d8,_0x5c626a=this[_0x15d9d9(0x120)][_0x15d9d9(0x125)],_0xe8d775=_0x5c626a['id'],_0x187f36=_0xe8d775!==_0xf1082[_0x15d9d9(0x114)];if(_0x187f36){const _0x3e9d53=_0xf1082[_0x15d9d9(0x141)]-this[_0x15d9d9(0xf3)],_0x416316=this[_0x15d9d9(0xef)]();this[_0x15d9d9(0x120)][_0x15d9d9(0x136)][_0x15d9d9(0x147)]();if(_0x5c626a[_0x15d9d9(0x14f)]+_0x3e9d53!==_0x416316){const _0x5bb7e5=_0x5c626a[_0x15d9d9(0x157)]+_0x3e9d53,_0x2bf58c=this[_0x15d9d9(0x101)][_0x15d9d9(0xff)][_0x15d9d9(0x13c)](_0x4ad080),_0x44f135=this[_0x15d9d9(0x120)][_0x15d9d9(0xf7)]({'revision':_0x5c626a,'from':_0x5bb7e5,'to':_0x416316});_0x44f135['id']=_0x5c626a['id'];const _0x3a745c=_0x44f135[_0x15d9d9(0xfd)][_0x15d9d9(0x158)](_0x3debb4=>_0x2bf58c[_0x15d9d9(0x151)](_0x3debb4));_0x5c626a[_0x15d9d9(0xf8)]({..._0x44f135,'authors':_0x3a745c},!0x0),this[_0x15d9d9(0x120)][_0x15d9d9(0x12c)](_0x5c626a['id'],_0x44f135,!0x0);}this[_0x15d9d9(0x120)][_0x15d9d9(0xea)]=_0x416316,(_0x5c626a[_0x15d9d9(0x14f)]===_0x5c626a[_0x15d9d9(0x157)]&&!this[_0x15d9d9(0x120)][_0x15d9d9(0xfe)][_0x15d9d9(0x10d)](_0xe8d775)&&this[_0x15d9d9(0x120)][_0x15d9d9(0x12e)][_0x15d9d9(0x144)][_0x15d9d9(0x13b)](_0xe8d775),this[_0x15d9d9(0x120)][_0x15d9d9(0xf6)](_0x416316));}const {revisions:_0x3b9816,requestId:_0x3255ea}=await this[_0x15d9d9(0x14a)][_0x15d9d9(0x139)](_0x31fe9d[_0x15d9d9(0x100)],this[_0x15d9d9(0x13a)]);_0x187f36&&_0x3b9816[_0x15d9d9(0x10b)]>0x0?_0xf1082[_0x15d9d9(0x14b)]():(await this[_0x15d9d9(0x10a)](_0x3b9816),this[_0x15d9d9(0x10c)](_0x3b9816,_0x3255ea),this[_0x15d9d9(0x120)][_0x15d9d9(0x154)]());};return _0xf1082[_0x5ad3d8(0x127)]?_0x5de0ef():new Promise((_0xd4ca15,_0x5aef94)=>{const _0x3b81c2=_0x5ad3d8;_0xf1082[_0x3b81c2(0x11a)](_0x3b81c2(0x104),()=>{const _0x3130f8=_0x3b81c2;_0x5de0ef()[_0x3130f8(0x130)](_0xd4ca15)[_0x3130f8(0x155)](_0x5aef94);});});}[_0x3a5e33(0x124)](){const _0xaa492b=_0x3a5e33;super[_0xaa492b(0x124)]();}async[_0x3a5e33(0x11b)](){const _0x66148f=_0x3a5e33;this[_0x66148f(0x14a)][_0x66148f(0x14d)]||await new Promise(_0x116e2a=>{const _0x534be6=_0x66148f;this[_0x534be6(0x13d)](this[_0x534be6(0x14a)],_0x534be6(0xfb),_0x549a5f=>{const _0x10e740=_0x534be6;_0x549a5f[_0x10e740(0xfa)](),_0x116e2a();});});}[_0x3a5e33(0xef)](){const _0x30833f=_0x3a5e33,_0x4f677d=this[_0x30833f(0x101)][_0x30833f(0xff)][_0x30833f(0x13c)](_0x45ef7c)[_0x30833f(0x132)][_0x30833f(0x156)]()[_0x30833f(0x13f)]();for(const _0x266740 of _0x4f677d)if(_0x30833f(0x143)!==_0x266740[_0x30833f(0x103)]||_0x266740[_0x30833f(0x129)])return _0x266740[_0x30833f(0x13e)]+0x1;}[_0x3a5e33(0x123)](){const _0x347759=_0x3a5e33,_0x4fff98=this[_0x347759(0x101)][_0x347759(0xff)][_0x347759(0x13c)](_0x45ef7c);return new Promise(_0x3b964f=>{const _0x16f33a=_0x347759;_0x4fff98[_0x16f33a(0xeb)]?_0x4fff98[_0x16f33a(0x11a)](_0x16f33a(0x137),()=>{const _0xf27717=_0x16f33a;_0x3b964f(this[_0xf27717(0xef)]());}):_0x3b964f(this[_0x16f33a(0xef)]());});}[_0x3a5e33(0x10c)](_0x531787,_0x4627fe){const _0x3be4a7=_0x3a5e33,_0x590db9=this[_0x3be4a7(0x120)][_0x3be4a7(0x12e)];this[_0x3be4a7(0x13a)]=_0x4627fe;for(const _0x4f6969 of _0x531787){const _0x555d20=_0x590db9[_0x3be4a7(0x111)](_0x4f6969['id']);if(_0x555d20){if((_0x4f6969[_0x3be4a7(0x157)]||_0x4f6969[_0x3be4a7(0x14f)])&&(_0x4f6969[_0x3be4a7(0x119)]=null),_0x555d20===this[_0x3be4a7(0x120)][_0x3be4a7(0x125)]){const _0x231472=Math[_0x3be4a7(0x126)](_0x555d20[_0x3be4a7(0x14f)],_0x4f6969[_0x3be4a7(0x14f)]),_0xdeecd6=Math[_0x3be4a7(0x126)](_0x555d20[_0x3be4a7(0x157)],_0x4f6969[_0x3be4a7(0x157)]);let _0x5d7d35;_0x555d20[_0x3be4a7(0x14f)]===_0x4f6969[_0x3be4a7(0x14f)]&&_0x555d20[_0x3be4a7(0x157)]===_0x4f6969[_0x3be4a7(0x157)]?(_0x5d7d35=!0x0,this[_0x3be4a7(0xee)](_0x4f6969)):_0x4f6969[_0x3be4a7(0x14f)]===_0x231472&&_0x4f6969[_0x3be4a7(0x157)]===_0xdeecd6?_0x5d7d35=!0x1:(_0x555d20[_0x3be4a7(0x14f)]===_0x231472&&_0x555d20[_0x3be4a7(0x157)]===_0xdeecd6||this[_0x3be4a7(0x131)]({'revision':_0x555d20,'from':_0xdeecd6,'to':_0x231472}),_0x5d7d35=!0x0),_0x5d7d35&&(delete _0x4f6969[_0x3be4a7(0x157)],delete _0x4f6969[_0x3be4a7(0x14f)],delete _0x4f6969[_0x3be4a7(0x119)],delete _0x4f6969[_0x3be4a7(0x148)],delete _0x4f6969[_0x3be4a7(0xfd)]);}this[_0x3be4a7(0x120)][_0x3be4a7(0x121)](_0x4f6969),this[_0x3be4a7(0xee)](_0x4f6969);}else this[_0x3be4a7(0x120)][_0x3be4a7(0x106)](_0x4f6969);}const _0x5b0ba3=_0x590db9[_0x3be4a7(0x135)]();_0x5b0ba3[_0x3be4a7(0x13f)]();for(let _0x4fbd3e=0x0;_0x4fbd3e<_0x5b0ba3[_0x3be4a7(0x10b)]-0x1;_0x4fbd3e++){const _0x332378=_0x5b0ba3[_0x4fbd3e],_0x331ced=_0x5b0ba3[_0x4fbd3e+0x1];if(_0x332378[_0x3be4a7(0x157)]<_0x331ced[_0x3be4a7(0x14f)]){const _0x344f55=_0x331ced[_0x3be4a7(0x14f)],_0x242f57=Math[_0x3be4a7(0x126)](_0x344f55,_0x332378[_0x3be4a7(0x14f)]);this[_0x3be4a7(0x131)]({'revision':_0x332378,'from':_0x344f55,'to':_0x242f57});}}}[_0x3a5e33(0x131)]({revision:_0x4b71cd,from:_0xe22f7c,to:_0x136397}={}){const _0x4a7626=_0x3a5e33,_0x1dde3f=this[_0x4a7626(0x101)][_0x4a7626(0xff)][_0x4a7626(0x13c)](_0x4ad080),_0x563569=this[_0x4a7626(0x120)][_0x4a7626(0xf7)]({'revision':_0x4b71cd,'from':_0xe22f7c,'to':_0x136397});_0x563569[_0x4a7626(0x140)]=_0x563569[_0x4a7626(0xfd)][_0x4a7626(0x158)](_0x44df45=>_0x1dde3f[_0x4a7626(0x151)](_0x44df45)),_0x4b71cd[_0x4a7626(0xf8)](_0x563569);}[_0x3a5e33(0xee)](_0x1dcb3b){const _0x93bac1=_0x3a5e33,_0x369d84={};_0x369d84['id']=_0x1dcb3b['id'];for(const _0x31929c of Object[_0x93bac1(0x153)](_0x1dcb3b))'id'!==_0x31929c&&(_0x369d84[_0x31929c]=void 0x0);this[_0x93bac1(0x120)][_0x93bac1(0x12c)](_0x369d84['id'],_0x369d84,!0x0);}async[_0x3a5e33(0x10a)](_0x26f7aa){const _0x1f7bbe=_0x3a5e33,_0x59aa32=this[_0x1f7bbe(0x101)][_0x1f7bbe(0xff)][_0x1f7bbe(0x13c)](_0x4ad080),{connection:_0x212d86}=this[_0x1f7bbe(0x101)][_0x1f7bbe(0xff)][_0x1f7bbe(0x13c)](_0x1f0f7e),_0x4ba208=new Set();for(const _0x61c091 of _0x26f7aa){for(const _0x3adb8d of _0x61c091[_0x1f7bbe(0xfd)])_0x1c9567(_0x3adb8d);_0x61c091[_0x1f7bbe(0x110)]&&_0x1c9567(_0x61c091[_0x1f7bbe(0x110)]);}if(0x0===_0x4ba208[_0x1f7bbe(0xfc)])return;const _0x2c843a=await _0x103019[_0x1f7bbe(0x149)](_0x212d86,Array[_0x1f7bbe(0x102)](_0x4ba208));for(const _0x272f85 of _0x2c843a)_0x59aa32[_0x1f7bbe(0x151)](_0x272f85['id'])||_0x59aa32[_0x1f7bbe(0x12b)](_0x272f85);function _0x1c9567(_0x47b472){const _0x3b1016=_0x1f7bbe;_0x59aa32[_0x3b1016(0x151)](_0x47b472)||_0x4ba208[_0x3b1016(0x105)](_0x47b472);}}}v[_0x3a5e33(0x12f)]=_0x58fb99;export default v;function _0x1016(){const _0x2ed352=['_createCurrentRevision','buildRevisionData','_update','CONNECTED','off','connected','size','authorsIds','_bufferedUpdates','plugins','connection','editor','from','type','change:_isConnected','add','addRevisionData','cloudServices.bundleVersion','RevisionTracker','collaboration.channelId','_fetchMissingUsers','length','_handleRevisionsUpdate','has','addToReconnectionStack','connect','creatorId','getRevision','adapter','isBundleUploaded','sessionId','cloud-services-internal-error:\x20Request\x20timeout.','startsWith','init','5665bxBChG','diffData','once','_waitForServiceReady','170JiEEMP','bind','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','559678aDHUHs','_revisionTracker','setRevisionData','message','_getLatestVersion','destroy','currentRevision','max','_isConnected','data','affectsData','837769bcUYNo','addUser','_bufferUpdate','isEmptyCurrent','repository','RevisionHistoryService','then','_fixRevision','serverHistory','1636DEnupY','cloud-services-internal-error:\x20Not\x20connected.','getRevisions','_revisionDataBuilder','change:_isPendingUpdate','2KlFohj','reconnect','_lastRequestId','remove','get','listenTo','baseVersion','reverse','authors','_offset','state','marker','_revisions','wrongRequestId','271389PJPLIX','reInit','createdAt','getMany','_revisionHistoryService','_handleReconnectionError','updateRevisions','isConnected','code','toVersion','config','getUser','400','keys','sendBufferedUpdates','catch','getOperations','fromVersion','map','revisionsUpdated','_startingVersion','_isPendingUpdate','setSource','1312883VULvVI','_preventResendingRevisionData','_getLatestVersionFromServerOperations','7060880DwUvVq','isEnabled','8217648vwCXVd','_oldOffset','requires','6uOopzl'];_0x1016=function(){return _0x2ed352;};return _0x1016();}function st(_0x5dc5c9){const _0x4b80fe=_0x3a5e33;return _0x5dc5c9[_0x4b80fe(0x122)][_0x4b80fe(0x116)](_0x4b80fe(0x11e))||_0x5dc5c9[_0x4b80fe(0x122)][_0x4b80fe(0x116)](_0x4b80fe(0x134))||_0x5dc5c9[_0x4b80fe(0x122)][_0x4b80fe(0x116)](_0x4b80fe(0x115));}
|
|
23
|
+
const _0x3027d8=_0x499b;function _0x499b(_0x1c1d1e,_0xf98b8d){const _0x4191ef=_0x4191();return _0x499b=function(_0x499b1e,_0x591e4f){_0x499b1e=_0x499b1e-0x19a;let _0x1ac0f4=_0x4191ef[_0x499b1e];return _0x1ac0f4;},_0x499b(_0x1c1d1e,_0xf98b8d);}(function(_0x2d5320,_0x1c6dc1){const _0x1a5ca8=_0x499b,_0x134d6d=_0x2d5320();while(!![]){try{const _0x3f5ead=-parseInt(_0x1a5ca8(0x200))/0x1*(-parseInt(_0x1a5ca8(0x1bc))/0x2)+parseInt(_0x1a5ca8(0x1bd))/0x3+-parseInt(_0x1a5ca8(0x202))/0x4+parseInt(_0x1a5ca8(0x1c3))/0x5*(parseInt(_0x1a5ca8(0x1b0))/0x6)+parseInt(_0x1a5ca8(0x1cd))/0x7+-parseInt(_0x1a5ca8(0x1b1))/0x8*(-parseInt(_0x1a5ca8(0x1dd))/0x9)+parseInt(_0x1a5ca8(0x1ba))/0xa*(-parseInt(_0x1a5ca8(0x1a3))/0xb);if(_0x3f5ead===_0x1c6dc1)break;else _0x134d6d['push'](_0x134d6d['shift']());}catch(_0x223432){_0x134d6d['push'](_0x134d6d['shift']());}}}(_0x4191,0xe8cdb));function _0x4191(){const _0x4713cd=['serverHistory','size','getRevision','requires','9489007EECyCT','_waitForServiceReady','_getLatestVersionFromServerOperations','revisionsUpdated','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_revisionDataBuilder','reInit','cloudServices.bundleVersion','state','_createCurrentRevision','type','_fixRevision','affectsData','6xsDtyb','40ZUKQBp','_update','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','adapter','plugins','add','_revisions','then','10ugezij','authorsIds','57014fZJuub','2781258nasKvW','getOperations','_bufferedUpdates','isEmptyCurrent','_fetchMissingUsers','_revisionTracker','435790wMQsSQ','connect','wrongRequestId','_oldOffset','editor','message','CONNECTED','destroy','init','_lastRequestId','2602894CzFepZ','listenTo','addUser','catch','_offset','data','_isPendingUpdate','length','marker','isBundleUploaded','setRevisionData','code','get','createdAt','connection','once','42831LEureh','has','currentRevision','max','from','off','_isConnected','isEnabled','fromVersion','buildRevisionData','remove','getRevisions','_revisionHistoryService','setSource','reconnect','authors','reverse','toVersion','sessionId','repository','change:_isConnected','isConnected','_startingVersion','_getLatestVersion','creatorId','addRevisionData','change:_isPendingUpdate','connected','bind','_preventResendingRevisionData','config','startsWith','RevisionTracker','_bufferUpdate','diffData','58RsfWlB','RevisionHistoryService','4988348AWCHBp','getMany','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','collaboration.channelId','baseVersion','400','updateRevisions','keys','_handleRevisionsUpdate','getUser','sendBufferedUpdates','map'];_0x4191=function(){return _0x4713cd;};return _0x4191();}import{Plugin as _0x147265}from'ckeditor5/src/core.js';import{version as _0x41adbb}from'ckeditor5/src/utils.js';import{Users as _0x160541}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x13db93 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x578d8f from'../realtimecollaborativeediting/websocketgateway.js';import _0x474b8e from'../realtimecollaborativeediting/sessions.js';import{User as _0x5aa665}from'@ckeditor/ckeditor-cloud-services-collaboration';import{RevisionHistoryService as _0x15369e,EditorService as _0x120d19,WEB_SOCKET_GATEWAY_STATES as _0x1d52ff}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x147265{static get[_0x3027d8(0x1a2)](){const _0x1371ab=_0x3027d8;return[_0x578d8f,_0x13db93,_0x1371ab(0x1fd),_0x474b8e,_0x160541];}constructor(_0x44f540){const _0x5526d6=_0x3027d8;super(_0x44f540);const _0x27c736=this[_0x5526d6(0x1c7)][_0x5526d6(0x1fb)][_0x5526d6(0x1d9)](_0x5526d6(0x206));this[_0x5526d6(0x1cc)]=null,this[_0x5526d6(0x1c2)]=this[_0x5526d6(0x1c7)][_0x5526d6(0x1b6)][_0x5526d6(0x1d9)](_0x5526d6(0x1fd)),this[_0x5526d6(0x1e9)]=new v[(_0x5526d6(0x201))](_0x27c736);}async[_0x3027d8(0x1cb)](){const _0x5b00ce=_0x3027d8,_0x3b800c=this[_0x5b00ce(0x1c7)][_0x5b00ce(0x1b6)][_0x5b00ce(0x1d9)](_0x13db93),_0x5da993=_0x3b800c[_0x5b00ce(0x19f)],_0x5ef70d=this[_0x5b00ce(0x1c7)][_0x5b00ce(0x1b6)][_0x5b00ce(0x1d9)](_0x578d8f);this[_0x5b00ce(0x1c2)][_0x5b00ce(0x1ea)]({'history':_0x5da993,'getLatestVersion':()=>this[_0x5b00ce(0x1f4)](),'getCurrentRevisionId':()=>_0x3b800c[_0x5b00ce(0x1ef)]});const _0x41e306=this[_0x5b00ce(0x1c7)][_0x5b00ce(0x1fb)][_0x5b00ce(0x1d9)](_0x5b00ce(0x1aa))||_0x41adbb,_0x361e00=await _0x120d19[_0x5b00ce(0x1d6)](_0x5ef70d[_0x5b00ce(0x1db)],_0x41e306);this[_0x5b00ce(0x1c2)][_0x5b00ce(0x1b5)]={'getRevision':async({revisionId:_0xafa8f5})=>(await this[_0x5b00ce(0x1a4)](),await this[_0x5b00ce(0x1e9)][_0x5b00ce(0x1a1)](_0xafa8f5)),'updateRevisions':async _0x3ff1f6=>{const _0x517dfd=_0x5b00ce;await this[_0x517dfd(0x1a4)]();const _0x5dd805=this[_0x517dfd(0x1c2)][_0x517dfd(0x1df)];if(_0x361e00&&0x1===_0x3ff1f6[_0x517dfd(0x1d4)]&&_0x3ff1f6[0x0]['id']===_0x5dd805['id'])return _0x3ff1f6;for(const _0x5b6f5f of _0x3ff1f6)_0x5b6f5f['id']===_0x5dd805['id']&&(_0x5b6f5f[_0x517dfd(0x1c0)]=_0x5b6f5f[_0x517dfd(0x1e5)]===_0x5b6f5f[_0x517dfd(0x1ee)]);return this[_0x517dfd(0x1e9)][_0x517dfd(0x209)](_0x3ff1f6,this[_0x517dfd(0x1cc)])[_0x517dfd(0x1b9)](_0x3483ab=>(this[_0x517dfd(0x1cc)]=_0x3483ab,_0x3ff1f6))[_0x517dfd(0x1d0)](_0x37796a=>{const _0x2c5674=_0x517dfd;if(P(_0x37796a)||_0x2c5674(0x208)===_0x37796a[_0x2c5674(0x1d8)]&&void 0x0!==_0x37796a[_0x2c5674(0x1d2)][_0x2c5674(0x1c5)]){for(const _0x26c478 of _0x3ff1f6){!this[_0x2c5674(0x1c2)][_0x2c5674(0x1f0)][_0x2c5674(0x1a1)](_0x26c478['id'])||this[_0x2c5674(0x1c2)][_0x2c5674(0x1fe)](_0x26c478['id'],_0x26c478,!0x1);}if(P(_0x37796a))throw _0x37796a;return _0x3ff1f6;}throw _0x37796a;});}},this[_0x5b00ce(0x1ce)](this[_0x5b00ce(0x1e9)],_0x5b00ce(0x1a6),(_0x3b2009,{revisionsData:_0x4703ec,requestId:_0x1f416a})=>{const _0x115abf=_0x5b00ce;Math[_0x115abf(0x1e0)](..._0x4703ec[_0x115abf(0x19e)](_0x5a4ebb=>_0x5a4ebb[_0x115abf(0x1ee)]))>this[_0x115abf(0x1a5)]()-0x1?this[_0x115abf(0x1f4)]()[_0x115abf(0x1b9)](()=>{const _0x4a0ba0=_0x115abf;this[_0x4a0ba0(0x19b)](_0x4703ec,_0x1f416a);}):this[_0x115abf(0x19b)](_0x4703ec,_0x1f416a);});const {revisions:_0x21e5bf,requestId:_0x1205f7}=await this[_0x5b00ce(0x1e9)][_0x5b00ce(0x1c4)](_0x5ef70d[_0x5b00ce(0x1db)]);_0x5ef70d[_0x5b00ce(0x205)](this),this[_0x5b00ce(0x1cc)]=_0x1205f7,await this[_0x5b00ce(0x1c1)](_0x21e5bf);for(const _0x3625f5 of _0x21e5bf)this[_0x5b00ce(0x1c2)][_0x5b00ce(0x1f6)](_0x3625f5);this[_0x5b00ce(0x1ce)](_0x3b800c,_0x5b00ce(0x1f1),(_0x5e0a09,_0x3f33bf,_0x518fe4)=>{const _0x36e8c8=_0x5b00ce;_0x518fe4&&(this[_0x36e8c8(0x1c6)]=_0x3b800c[_0x36e8c8(0x1d1)],_0x5e0a09[_0x36e8c8(0x1e2)]());}),this[_0x5b00ce(0x1c2)][_0x5b00ce(0x1f9)](_0x5b00ce(0x1e4))['to'](_0x5ef70d,_0x5b00ce(0x1ab),_0x3b6631=>_0x3b6631===_0x1d52ff[_0x5b00ce(0x1c9)]);}async[_0x3027d8(0x1eb)](){const _0x19ac9a=_0x3027d8,_0x41af8b=this[_0x19ac9a(0x1c7)][_0x19ac9a(0x1b6)][_0x19ac9a(0x1d9)](_0x578d8f),_0x114c07=this[_0x19ac9a(0x1c7)][_0x19ac9a(0x1b6)][_0x19ac9a(0x1d9)](_0x13db93),_0x735af2=async()=>{const _0x4e8108=_0x19ac9a,_0x3edb48=this[_0x4e8108(0x1c2)][_0x4e8108(0x1df)],_0x21e4c2=_0x3edb48['id'],_0x46c5ee=_0x21e4c2!==_0x114c07[_0x4e8108(0x1ef)];if(_0x46c5ee){const _0x1eb734=_0x114c07[_0x4e8108(0x1d1)]-this[_0x4e8108(0x1c6)],_0x3fc06c=this[_0x4e8108(0x1a5)]();this[_0x4e8108(0x1c2)][_0x4e8108(0x1a8)][_0x4e8108(0x1a9)]();if(_0x3edb48[_0x4e8108(0x1ee)]+_0x1eb734!==_0x3fc06c){const _0x33fee4=_0x3edb48[_0x4e8108(0x1e5)]+_0x1eb734,_0x47e124=this[_0x4e8108(0x1c7)][_0x4e8108(0x1b6)][_0x4e8108(0x1d9)](_0x160541),_0xcc9a24=this[_0x4e8108(0x1c2)][_0x4e8108(0x1e6)]({'revision':_0x3edb48,'from':_0x33fee4,'to':_0x3fc06c});_0xcc9a24['id']=_0x3edb48['id'];const _0x1d3811=_0xcc9a24[_0x4e8108(0x1bb)][_0x4e8108(0x19e)](_0x12a278=>_0x47e124[_0x4e8108(0x19c)](_0x12a278));_0x3edb48[_0x4e8108(0x1b2)]({..._0xcc9a24,'authors':_0x1d3811},!0x0),this[_0x4e8108(0x1c2)][_0x4e8108(0x1fe)](_0x3edb48['id'],_0xcc9a24,!0x0);}this[_0x4e8108(0x1c2)][_0x4e8108(0x1f3)]=_0x3fc06c,(_0x3edb48[_0x4e8108(0x1ee)]===_0x3edb48[_0x4e8108(0x1e5)]&&!this[_0x4e8108(0x1c2)][_0x4e8108(0x1bf)][_0x4e8108(0x1de)](_0x21e4c2)&&this[_0x4e8108(0x1c2)][_0x4e8108(0x1f0)][_0x4e8108(0x1b8)][_0x4e8108(0x1e7)](_0x21e4c2),this[_0x4e8108(0x1c2)][_0x4e8108(0x1ac)](_0x3fc06c));}const {revisions:_0x352c9f,requestId:_0x17e508}=await this[_0x4e8108(0x1e9)][_0x4e8108(0x1eb)](_0x41af8b[_0x4e8108(0x1db)],this[_0x4e8108(0x1cc)]);_0x46c5ee&&_0x352c9f[_0x4e8108(0x1d4)]>0x0?_0x114c07[_0x4e8108(0x1b3)]():(await this[_0x4e8108(0x1c1)](_0x352c9f),this[_0x4e8108(0x19b)](_0x352c9f,_0x17e508),this[_0x4e8108(0x1c2)][_0x4e8108(0x19d)]());};return _0x114c07[_0x19ac9a(0x1e3)]?_0x735af2():new Promise((_0x572494,_0x1a55b6)=>{const _0x4bbb37=_0x19ac9a;_0x114c07[_0x4bbb37(0x1dc)](_0x4bbb37(0x1f1),()=>{const _0x147e93=_0x4bbb37;_0x735af2()[_0x147e93(0x1b9)](_0x572494)[_0x147e93(0x1d0)](_0x1a55b6);});});}[_0x3027d8(0x1ca)](){const _0x5e8050=_0x3027d8;super[_0x5e8050(0x1ca)]();}async[_0x3027d8(0x1a4)](){const _0x48176b=_0x3027d8;this[_0x48176b(0x1e9)][_0x48176b(0x1f2)]||await new Promise(_0xc312b8=>{const _0x1c7310=_0x48176b;this[_0x1c7310(0x1ce)](this[_0x1c7310(0x1e9)],_0x1c7310(0x1f8),_0x1e0dac=>{const _0x37bb69=_0x1c7310;_0x1e0dac[_0x37bb69(0x1e2)](),_0xc312b8();});});}[_0x3027d8(0x1a5)](){const _0x2d640d=_0x3027d8,_0x2d80f5=this[_0x2d640d(0x1c7)][_0x2d640d(0x1b6)][_0x2d640d(0x1d9)](_0x13db93)[_0x2d640d(0x19f)][_0x2d640d(0x1be)]()[_0x2d640d(0x1ed)]();for(const _0x2576e2 of _0x2d80f5)if(_0x2d640d(0x1d5)!==_0x2576e2[_0x2d640d(0x1ad)]||_0x2576e2[_0x2d640d(0x1af)])return _0x2576e2[_0x2d640d(0x207)]+0x1;}[_0x3027d8(0x1f4)](){const _0x40a326=_0x3027d8,_0x5e1909=this[_0x40a326(0x1c7)][_0x40a326(0x1b6)][_0x40a326(0x1d9)](_0x13db93);return new Promise(_0x6c36f7=>{const _0x58633c=_0x40a326;_0x5e1909[_0x58633c(0x1d3)]?_0x5e1909[_0x58633c(0x1dc)](_0x58633c(0x1f7),()=>{const _0x2f80ea=_0x58633c;_0x6c36f7(this[_0x2f80ea(0x1a5)]());}):_0x6c36f7(this[_0x58633c(0x1a5)]());});}[_0x3027d8(0x19b)](_0x41954e,_0x18f290){const _0x465e68=_0x3027d8,_0x1a15da=this[_0x465e68(0x1c2)][_0x465e68(0x1f0)];this[_0x465e68(0x1cc)]=_0x18f290;for(const _0x16dfe9 of _0x41954e){const _0x4d42ea=_0x1a15da[_0x465e68(0x1a1)](_0x16dfe9['id']);if(_0x4d42ea){if((_0x16dfe9[_0x465e68(0x1e5)]||_0x16dfe9[_0x465e68(0x1ee)])&&(_0x16dfe9[_0x465e68(0x1ff)]=null),_0x4d42ea===this[_0x465e68(0x1c2)][_0x465e68(0x1df)]){const _0x12b2bf=Math[_0x465e68(0x1e0)](_0x4d42ea[_0x465e68(0x1ee)],_0x16dfe9[_0x465e68(0x1ee)]),_0xca9b65=Math[_0x465e68(0x1e0)](_0x4d42ea[_0x465e68(0x1e5)],_0x16dfe9[_0x465e68(0x1e5)]);let _0x1b19be;_0x4d42ea[_0x465e68(0x1ee)]===_0x16dfe9[_0x465e68(0x1ee)]&&_0x4d42ea[_0x465e68(0x1e5)]===_0x16dfe9[_0x465e68(0x1e5)]?(_0x1b19be=!0x0,this[_0x465e68(0x1fa)](_0x16dfe9)):_0x16dfe9[_0x465e68(0x1ee)]===_0x12b2bf&&_0x16dfe9[_0x465e68(0x1e5)]===_0xca9b65?_0x1b19be=!0x1:(_0x4d42ea[_0x465e68(0x1ee)]===_0x12b2bf&&_0x4d42ea[_0x465e68(0x1e5)]===_0xca9b65||this[_0x465e68(0x1ae)]({'revision':_0x4d42ea,'from':_0xca9b65,'to':_0x12b2bf}),_0x1b19be=!0x0),_0x1b19be&&(delete _0x16dfe9[_0x465e68(0x1e5)],delete _0x16dfe9[_0x465e68(0x1ee)],delete _0x16dfe9[_0x465e68(0x1ff)],delete _0x16dfe9[_0x465e68(0x1da)],delete _0x16dfe9[_0x465e68(0x1bb)]);}this[_0x465e68(0x1c2)][_0x465e68(0x1d7)](_0x16dfe9),this[_0x465e68(0x1fa)](_0x16dfe9);}else this[_0x465e68(0x1c2)][_0x465e68(0x1f6)](_0x16dfe9);}const _0x1629ab=_0x1a15da[_0x465e68(0x1e8)]();_0x1629ab[_0x465e68(0x1ed)]();for(let _0x4fad78=0x0;_0x4fad78<_0x1629ab[_0x465e68(0x1d4)]-0x1;_0x4fad78++){const _0x265502=_0x1629ab[_0x4fad78],_0xa560a4=_0x1629ab[_0x4fad78+0x1];if(_0x265502[_0x465e68(0x1e5)]<_0xa560a4[_0x465e68(0x1ee)]){const _0x20c8e6=_0xa560a4[_0x465e68(0x1ee)],_0x4e2af3=Math[_0x465e68(0x1e0)](_0x20c8e6,_0x265502[_0x465e68(0x1ee)]);this[_0x465e68(0x1ae)]({'revision':_0x265502,'from':_0x20c8e6,'to':_0x4e2af3});}}}[_0x3027d8(0x1ae)]({revision:_0x3fc0d0,from:_0x246e06,to:_0xeb9927}={}){const _0x4918b2=_0x3027d8,_0x459d19=this[_0x4918b2(0x1c7)][_0x4918b2(0x1b6)][_0x4918b2(0x1d9)](_0x160541),_0x4951ea=this[_0x4918b2(0x1c2)][_0x4918b2(0x1e6)]({'revision':_0x3fc0d0,'from':_0x246e06,'to':_0xeb9927});_0x4951ea[_0x4918b2(0x1ec)]=_0x4951ea[_0x4918b2(0x1bb)][_0x4918b2(0x19e)](_0xb45734=>_0x459d19[_0x4918b2(0x19c)](_0xb45734)),_0x3fc0d0[_0x4918b2(0x1b2)](_0x4951ea);}[_0x3027d8(0x1fa)](_0x59347c){const _0x5cd68d=_0x3027d8,_0x41a75a={};_0x41a75a['id']=_0x59347c['id'];for(const _0x2a7222 of Object[_0x5cd68d(0x19a)](_0x59347c))'id'!==_0x2a7222&&(_0x41a75a[_0x2a7222]=void 0x0);this[_0x5cd68d(0x1c2)][_0x5cd68d(0x1fe)](_0x41a75a['id'],_0x41a75a,!0x0);}async[_0x3027d8(0x1c1)](_0x51b024){const _0x32b759=_0x3027d8,_0x5b1105=this[_0x32b759(0x1c7)][_0x32b759(0x1b6)][_0x32b759(0x1d9)](_0x160541),{connection:_0xae6d21}=this[_0x32b759(0x1c7)][_0x32b759(0x1b6)][_0x32b759(0x1d9)](_0x578d8f),_0x42a1c9=new Set();for(const _0x47f3da of _0x51b024){for(const _0x437e9d of _0x47f3da[_0x32b759(0x1bb)])_0x32154d(_0x437e9d);_0x47f3da[_0x32b759(0x1f5)]&&_0x32154d(_0x47f3da[_0x32b759(0x1f5)]);}if(0x0===_0x42a1c9[_0x32b759(0x1a0)])return;const _0x5437c1=await _0x5aa665[_0x32b759(0x203)](_0xae6d21,Array[_0x32b759(0x1e1)](_0x42a1c9));for(const _0xe521d3 of _0x5437c1)_0x5b1105[_0x32b759(0x19c)](_0xe521d3['id'])||_0x5b1105[_0x32b759(0x1cf)](_0xe521d3);function _0x32154d(_0x212500){const _0x57fd74=_0x32b759;_0x5b1105[_0x57fd74(0x19c)](_0x212500)||_0x42a1c9[_0x57fd74(0x1b7)](_0x212500);}}}v[_0x3027d8(0x201)]=_0x15369e;export default v;function P(_0x1cf582){const _0x1488a3=_0x3027d8;return _0x1cf582[_0x1488a3(0x1c8)][_0x1488a3(0x1fc)](_0x1488a3(0x1a7))||_0x1cf582[_0x1488a3(0x1c8)][_0x1488a3(0x1fc)](_0x1488a3(0x204))||_0x1cf582[_0x1488a3(0x1c8)][_0x1488a3(0x1fc)](_0x1488a3(0x1b4));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x21bc02=_0x19ed;(function(_0x4adb62,_0x5de9e1){var _0xbe1434=_0x19ed,_0x1f6184=_0x4adb62();while(!![]){try{var _0x2e3bec=-parseInt(_0xbe1434(0x142))/0x1+parseInt(_0xbe1434(0x140))/0x2+-parseInt(_0xbe1434(0x148))/0x3+-parseInt(_0xbe1434(0x147))/0x4+-parseInt(_0xbe1434(0x143))/0x5+-parseInt(_0xbe1434(0x146))/0x6*(parseInt(_0xbe1434(0x145))/0x7)+-parseInt(_0xbe1434(0x13c))/0x8*(-parseInt(_0xbe1434(0x13e))/0x9);if(_0x2e3bec===_0x5de9e1)break;else _0x1f6184['push'](_0x1f6184['shift']());}catch(_0x458d12){_0x1f6184['push'](_0x1f6184['shift']());}}}(_0x1fc8,0x5f849));import{Plugin as _0x3b921d}from'ckeditor5/src/core.js';function _0x1fc8(){var _0xa2a3e4=['1023896OXceOA','RevisionHistory','279089OlwsvO','2862020HvXjlN','requires','7BBiGzX','1146468hElpNr','1116268OwxdJX','2113371caHFhz','15243104TXGpab','RealTimeCollaborativeRevisionHistory','9Helkjl','pluginName'];_0x1fc8=function(){return _0xa2a3e4;};return _0x1fc8();}import _0x56b8b2 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x1ef2c8 from'./realtimecollaborativeediting.js';function _0x19ed(_0x502b21,_0xbd2ed7){var _0x1fc838=_0x1fc8();return _0x19ed=function(_0x19ed1a,_0x4e377a){_0x19ed1a=_0x19ed1a-0x13c;var _0x44bde1=_0x1fc838[_0x19ed1a];return _0x44bde1;},_0x19ed(_0x502b21,_0xbd2ed7);}export default class d extends _0x3b921d{static get[_0x21bc02(0x144)](){var _0x7d6026=_0x21bc02;return[_0x7d6026(0x141),_0x56b8b2,_0x1ef2c8];}static get[_0x21bc02(0x13f)](){var _0x58c199=_0x21bc02;return _0x58c199(0x13d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f4d51=_0x1bcf;(function(_0x149dcd,_0xc8fedc){const _0x578091=_0x1bcf,_0x5e070b=_0x149dcd();while(!![]){try{const _0x3d08ca=-parseInt(_0x578091(0x14f))/0x1+-parseInt(_0x578091(0x142))/0x2*(-parseInt(_0x578091(0x128))/0x3)+-parseInt(_0x578091(0x147))/0x4+parseInt(_0x578091(0x11c))/0x5+-parseInt(_0x578091(0x122))/0x6*(-parseInt(_0x578091(0x13d))/0x7)+parseInt(_0x578091(0x135))/0x8*(-parseInt(_0x578091(0x12a))/0x9)+parseInt(_0x578091(0x119))/0xa*(parseInt(_0x578091(0x139))/0xb);if(_0x3d08ca===_0xc8fedc)break;else _0x5e070b['push'](_0x5e070b['shift']());}catch(_0x4cce72){_0x5e070b['push'](_0x5e070b['shift']());}}}(_0x5cbe,0x8d6db));import{Plugin as _0x59acb3}from'ckeditor5/src/core.js';function _0x1bcf(_0x2c99fe,_0xd561c6){const _0x5cbe1d=_0x5cbe();return _0x1bcf=function(_0x1bcfba,_0x60d4ec){_0x1bcfba=_0x1bcfba-0x118;let _0x450b2f=_0x5cbe1d[_0x1bcfba];return _0x450b2f;},_0x1bcf(_0x2c99fe,_0xd561c6);}import{TrackChangesService as _0x56aa48}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5cbe(){const _0x1abbbb=['TrackChangesService','update','add','size','64664OJkZJs','adapter','_saved','cloud-services-internal-error:\x20Not\x20connected.','11PtswgB','data','hasSuggestion','get','49YGZBTz','_fetchMissingUsersForThreads','addSuggestionData','values','addUser','8nHgUoM','message','getSuggestion','requires','reconnect','1359736JauErc','startsWith','type','from','attributes','set','suggestionUpdated','addToReconnectionStack','874684bUusnA','TrackChangesEditing','_bufferedRequests','listenTo','plugins','init','open','6819740WutAmc','_waitForServiceReady','connect','984185KKKKmz','connection','originalSuggestionId','connected','collaboration.channelId','isConnected','561042eCPUpQ','off','find','catch','state','then','686454yhzuLB','editor','729zVJzuH','cloud-services-internal-error:\x20Request\x20timeout.','getMany','getUser','delete','_trackChangesService','config'];_0x5cbe=function(){return _0x1abbbb;};return _0x5cbe();}import{User as _0x4ad5d8}from'@ckeditor/ckeditor-cloud-services-collaboration';import _0xf0c89f from'../realtimecollaborativeediting/websocketgateway.js';import _0x15255f from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x25e67c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class g extends _0x59acb3{static get[_0x4f4d51(0x145)](){const _0x43b3c2=_0x4f4d51;return[_0x15255f,_0x43b3c2(0x150),_0xf0c89f];}constructor(_0xf98871){const _0x3d317c=_0x4f4d51;super(_0xf98871);const _0x52c9a9=this[_0x3d317c(0x129)][_0x3d317c(0x130)][_0x3d317c(0x13c)](_0x3d317c(0x120));this[_0x3d317c(0x151)]=new Map(),this[_0x3d317c(0x12f)]=new g[(_0x3d317c(0x131))](_0x52c9a9);}[_0x4f4d51(0x154)](){const _0x3cc59d=_0x4f4d51,_0x543c1c=this[_0x3cc59d(0x129)][_0x3cc59d(0x153)][_0x3cc59d(0x13c)](_0xf0c89f),_0x14265c=this[_0x3cc59d(0x129)][_0x3cc59d(0x153)][_0x3cc59d(0x13c)](_0x3cc59d(0x150));return _0x14265c[_0x3cc59d(0x136)]={'getSuggestion':async _0x534c2b=>{const _0x395722=_0x3cc59d;await this[_0x395722(0x11a)]();const _0x5e3ea3=await this[_0x395722(0x12f)][_0x395722(0x13c)](_0x534c2b)[_0x395722(0x125)](B);return await this[_0x395722(0x13e)]([_0x5e3ea3]),_0x5e3ea3;},'addSuggestion':async({id:_0xf1dc4d,type:_0xcc7829,data:_0x37c21d,originalSuggestionId:_0x46f11d,attributes:_0x11ac3a})=>{const _0xa918a7=_0x3cc59d;await this[_0xa918a7(0x11a)]();const _0x31a3b1={'id':_0xf1dc4d,'type':_0xcc7829,'data':_0x37c21d,'originalSuggestionId':_0x46f11d,'attributes':_0x11ac3a},_0x424a7c=await this[_0xa918a7(0x12f)][_0xa918a7(0x133)](_0xf1dc4d,_0xcc7829,_0x37c21d,_0x46f11d,_0x11ac3a)[_0xa918a7(0x125)](_0x397246=>{if(P(_0x397246))return new Promise(_0x544b52=>{const _0xaa8aa1=_0x1bcf;this[_0xaa8aa1(0x151)][_0xaa8aa1(0x14c)](_0xf1dc4d,{'resolve':_0x544b52,'suggestionData':_0x31a3b1});});throw _0x397246;});return this[_0xa918a7(0x151)][_0xa918a7(0x12e)](_0xf1dc4d),_0x424a7c;},'updateSuggestion':async(_0xd82159,_0x1f9ae8)=>{const _0x40593a=_0x3cc59d;if(await this[_0x40593a(0x11a)](),_0x40593a(0x118)!==_0x1f9ae8[_0x40593a(0x126)])return this[_0x40593a(0x12f)][_0x40593a(0x132)](_0xd82159,_0x1f9ae8)[_0x40593a(0x125)](B);}},this[_0x3cc59d(0x152)](this[_0x3cc59d(0x12f)],_0x3cc59d(0x14d),(_0x46588d,_0x2ca104)=>{const _0x422627=_0x3cc59d;_0x14265c[_0x422627(0x13b)](_0x2ca104['id'])&&(_0x14265c[_0x422627(0x144)](_0x2ca104['id'])[_0x422627(0x14b)]=_0x2ca104[_0x422627(0x14b)]);}),this[_0x3cc59d(0x12f)][_0x3cc59d(0x11b)](_0x543c1c[_0x3cc59d(0x11d)])[_0x3cc59d(0x127)](_0x3fa482=>(_0x543c1c[_0x3cc59d(0x14e)](this),this[_0x3cc59d(0x13e)](_0x3fa482)[_0x3cc59d(0x127)](()=>{const _0x11a02c=_0x3cc59d;for(const _0x194289 of _0x3fa482){_0x14265c[_0x11a02c(0x13f)](_0x194289)[_0x11a02c(0x137)]=!0x0;}})));}async[_0x4f4d51(0x146)](){const _0x5670b6=_0x4f4d51,_0x85ba47=this[_0x5670b6(0x129)][_0x5670b6(0x153)][_0x5670b6(0x13c)](_0x5670b6(0x150)),{connection:_0x32b434}=this[_0x5670b6(0x129)][_0x5670b6(0x153)][_0x5670b6(0x13c)](_0xf0c89f),_0x1bf56e=await this[_0x5670b6(0x12f)][_0x5670b6(0x11b)](_0x32b434);await this[_0x5670b6(0x13e)](_0x1bf56e);for(const {suggestionData:_0x32c6ce,resolve:_0x33a382}of this[_0x5670b6(0x151)][_0x5670b6(0x140)]()){let _0x284b33=_0x1bf56e[_0x5670b6(0x124)](_0x55a3d6=>_0x55a3d6['id']===_0x32c6ce['id']);_0x284b33||(_0x284b33=await this[_0x5670b6(0x12f)][_0x5670b6(0x133)](_0x32c6ce['id'],_0x32c6ce[_0x5670b6(0x149)],_0x32c6ce[_0x5670b6(0x13a)],_0x32c6ce[_0x5670b6(0x11e)])),_0x33a382(_0x284b33);}for(const _0x3bbaf0 of _0x1bf56e)_0x85ba47[_0x5670b6(0x13b)](_0x3bbaf0['id'])||_0x85ba47[_0x5670b6(0x13f)](_0x3bbaf0);}async[_0x4f4d51(0x11a)](){const _0x336950=_0x4f4d51;this[_0x336950(0x12f)][_0x336950(0x121)]||await new Promise(_0x43e03c=>{const _0x35eb3a=_0x336950;this[_0x35eb3a(0x152)](this[_0x35eb3a(0x12f)],_0x35eb3a(0x11f),_0x2adc9b=>{const _0x174d21=_0x35eb3a;_0x2adc9b[_0x174d21(0x123)](),_0x43e03c();});});}async[_0x4f4d51(0x13e)](_0x2fe0a5){const _0x30a40d=_0x4f4d51,_0x1fa149=this[_0x30a40d(0x129)][_0x30a40d(0x153)][_0x30a40d(0x13c)](_0x25e67c),{connection:_0x59f8d0}=this[_0x30a40d(0x129)][_0x30a40d(0x153)][_0x30a40d(0x13c)](_0xf0c89f),_0x40298a=new Set();for(const {authorId:_0xdb3539}of _0x2fe0a5)_0x1fa149[_0x30a40d(0x12d)](_0xdb3539)||_0x40298a[_0x30a40d(0x133)](_0xdb3539);if(0x0===_0x40298a[_0x30a40d(0x134)])return;const _0xb385eb=await _0x4ad5d8[_0x30a40d(0x12c)](_0x59f8d0,Array[_0x30a40d(0x14a)](_0x40298a));for(const _0x275cf5 of _0xb385eb)_0x1fa149[_0x30a40d(0x12d)](_0x275cf5['id'])||_0x1fa149[_0x30a40d(0x141)](_0x275cf5);}}function B(_0x3f39dc){if(P(_0x3f39dc))return new Promise(()=>{});throw _0x3f39dc;}function P(_0x5a5247){const _0x4392a1=_0x4f4d51;return _0x5a5247[_0x4392a1(0x143)][_0x4392a1(0x148)](_0x4392a1(0x138))||_0x5a5247[_0x4392a1(0x143)][_0x4392a1(0x148)](_0x4392a1(0x12b));}g[_0x4f4d51(0x131)]=_0x56aa48;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4b21(_0x5cdc3e,_0x395139){var _0x274940=_0x2749();return _0x4b21=function(_0x4b21ed,_0xf8f056){_0x4b21ed=_0x4b21ed-0x18e;var _0x31f1b4=_0x274940[_0x4b21ed];return _0x31f1b4;},_0x4b21(_0x5cdc3e,_0x395139);}var _0x2679b9=_0x4b21;(function(_0x4e93fb,_0x57158e){var _0x4da131=_0x4b21,_0x11110f=_0x4e93fb();while(!![]){try{var _0x350a11=-parseInt(_0x4da131(0x197))/0x1+-parseInt(_0x4da131(0x198))/0x2*(-parseInt(_0x4da131(0x195))/0x3)+parseInt(_0x4da131(0x19a))/0x4+parseInt(_0x4da131(0x199))/0x5+parseInt(_0x4da131(0x190))/0x6+-parseInt(_0x4da131(0x192))/0x7+-parseInt(_0x4da131(0x18e))/0x8*(-parseInt(_0x4da131(0x193))/0x9);if(_0x350a11===_0x57158e)break;else _0x11110f['push'](_0x11110f['shift']());}catch(_0x48366e){_0x11110f['push'](_0x11110f['shift']());}}}(_0x2749,0x4bba5));import{Plugin as _0x207cf0}from'ckeditor5/src/core.js';import _0x113d5e from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x488eea from'./realtimecollaborativecomments.js';function _0x2749(){var _0x3b13d8=['41224qtYXqD','936475MyqcsS','1128308HOpJBU','176336Mlkluj','RealTimeCollaborativeTrackChanges','600264KKGqro','requires','4061932LiahMY','117mDaryn','pluginName','69AjYNFh','TrackChanges','439581TGXLLV'];_0x2749=function(){return _0x3b13d8;};return _0x2749();}export default class p extends _0x207cf0{static get[_0x2679b9(0x191)](){var _0xa0849=_0x2679b9;return[_0x488eea,_0x113d5e,_0xa0849(0x196)];}static get[_0x2679b9(0x194)](){var _0x68c5cd=_0x2679b9;return _0x68c5cd(0x18f);}}
|