@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.6 → 44.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +9 -9
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +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/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fb37d=_0x4700;(function(_0x8fa07e,_0x411e63){const _0x146211=_0x4700,_0x4ab167=_0x8fa07e();while(!![]){try{const _0x5dac69=parseInt(_0x146211(0xdb))/0x1+parseInt(_0x146211(0xf7))/0x2*(-parseInt(_0x146211(0xd0))/0x3)+-parseInt(_0x146211(0xe6))/0x4+-parseInt(_0x146211(0xcc))/0x5+-parseInt(_0x146211(0xdc))/0x6*(-parseInt(_0x146211(0x117))/0x7)+parseInt(_0x146211(0xd7))/0x8+parseInt(_0x146211(0xcb))/0x9*(parseInt(_0x146211(0xce))/0xa);if(_0x5dac69===_0x411e63)break;else _0x4ab167['push'](_0x4ab167['shift']());}catch(_0x396bc5){_0x4ab167['push'](_0x4ab167['shift']());}}}(_0x40e4,0x3bd60));import{ContextPlugin as _0x349610}from'ckeditor5/src/core.js';import{CKEditorError as _0x138546,Collection as _0x51a6ea}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2b6f6f,BalloonPanelView as _0x8e7398,BodyCollection as _0x5e2451}from'ckeditor5/src/ui.js';import{isElement as _0x1539a9}from'lodash-es';import _0x336175 from'../realtimecollaborativeediting/sessions.js';import _0x5382d3 from'./view/presencelistview.js';import _0x292ba7 from'./view/presencedropdownlistview.js';import _0x28cadd from'./view/presencedropdownlistitemview.js';import _0x54862d from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};function _0x40e4(){const _0x18df75=['hasTooltip','hideDropdown','235702MWMejL','Shift+Tab','allConnectedUsers',':not([disabled]):not([tabindex=\x22-1\x22])','isVisible','sort','_handleUserRemove','items','[contenteditable]','map','presencelist-missing-container','isFocusable','presenceList','class','number','add','isCollapsed','focus','isHidden','execute','unpin','textarea','usersCount','join','presenceList.container','element','_createView','presenceList.displayMe','min','offsetWidth','button','from','49LQGsZF','activeElement','destroy','using','length','_bodyCollection','content','get','counterView','displayMe','presenceDropdownView','attachToDom','keystrokes','onClick','Enter','focusTracker','locale','bindTo','showDropdown','isExpanded','input','select','view','Tab','filter','18vAdVSw','2011835JmWoBf','presenceList.collapseAt','1069010SlGJVH','tabIndex','3bqgtKS','body','plugins','context','reverse','currentDisplayedUsers','presencelist-collapseat-invalid-format','1283424kJcszr','config','[tabindex]','change:isFocused','396861NTXTYc','242130npLsgW','set','Esc','render','isRendered','indexOf','define','querySelectorAll','_handleUserAdd','balloonPanelView','1153080dHrTXg','_allConnectedUsers','init','bind','requires','listenTo','pin','appendChild','checkIfScrollable','offsetHeight','detachFromDom','isMe','ck\x20ck-presence-list__balloon','remove','inlineListView'];_0x40e4=function(){return _0x18df75;};return _0x40e4();}function _0x4700(_0x4c210e,_0x3c0999){const _0x40e40e=_0x40e4();return _0x4700=function(_0x4700d1,_0x5e20a8){_0x4700d1=_0x4700d1-0xc5;let _0x48679d=_0x40e40e[_0x4700d1];return _0x48679d;},_0x4700(_0x4c210e,_0x3c0999);}export default class r extends _0x349610{constructor(_0x426760){const _0x5a5355=_0x4700;super(_0x426760),this[_0x5a5355(0x11c)]=null,this[_0x5a5355(0xd3)][_0x5a5355(0xd8)][_0x5a5355(0xe2)](_0x5a5355(0x103),A);const _0x18f5cd=_0x426760[_0x5a5355(0xd8)][_0x5a5355(0x11e)](_0x5a5355(0xcd));if(_0x5a5355(0x105)!=typeof _0x18f5cd)throw new _0x138546(_0x5a5355(0xd6),this);if(_0x18f5cd<0x1)throw new _0x138546(_0x5a5355(0xd6),this);this[_0x5a5355(0xe7)]=this[_0x5a5355(0xd3)][_0x5a5355(0xd2)][_0x5a5355(0x11e)](_0x336175)[_0x5a5355(0xf9)],this[_0x5a5355(0xdd)](_0x5a5355(0x10d),0x0),this[_0x5a5355(0xd5)]=new _0x51a6ea(),this[_0x5a5355(0xe5)]=new _0x8e7398(),this[_0x5a5355(0xe5)][_0x5a5355(0x104)]=_0x5a5355(0xf2),this[_0x5a5355(0xc8)]=this[_0x5a5355(0x111)](),this[_0x5a5355(0x121)]=void 0x0;}static get[_0x4fb37d(0xea)](){return[_0x336175];}[_0x4fb37d(0xe8)](){const _0x1ac149=_0x4fb37d;for(const _0x512338 of this[_0x1ac149(0xe7)])this[_0x1ac149(0xe4)](_0x512338);this[_0x1ac149(0xeb)](this[_0x1ac149(0xe7)],_0x1ac149(0x106),(_0x4e3fc1,_0x24d2a9)=>{const _0x48c449=_0x1ac149;this[_0x48c449(0xe4)](_0x24d2a9);}),this[_0x1ac149(0xeb)](this[_0x1ac149(0xe7)],_0x1ac149(0xf3),(_0x152ebe,_0x4149e0)=>{const _0x329b52=_0x1ac149;this[_0x329b52(0xfd)](_0x4149e0);});}[_0x4fb37d(0x111)](){const _0x43bde7=_0x4fb37d,_0x2e637a=this[_0x43bde7(0xd3)],_0x1e94cd=new _0x5382d3(this[_0x43bde7(0xd3)][_0x43bde7(0x127)]),_0x3be304=this[_0x43bde7(0xe5)];if(!_0x1539a9(_0x2e637a[_0x43bde7(0xd8)][_0x43bde7(0x11e)](_0x43bde7(0x10f))))throw new _0x138546(_0x43bde7(0x101),this);return _0x1e94cd[_0x43bde7(0x11f)][_0x43bde7(0xe9)](_0x43bde7(0x10d))['to'](this),_0x1e94cd[_0x43bde7(0xe9)](_0x43bde7(0x107))['to'](this,_0x43bde7(0x10d),_0x26ea0a=>{const _0x210771=_0x43bde7,{collapseAt:_0x4e9235,displayMe:_0xa690be}=_0x2e637a[_0x210771(0xd8)][_0x210771(0x11e)](_0x210771(0x103)),_0x527bfc=_0x26ea0a>=_0x4e9235;return _0x1e94cd[_0x210771(0x11f)][_0x210771(0x109)]=!(0x1==_0x26ea0a&&_0xa690be||_0x527bfc),_0x527bfc||this[_0x210771(0xf6)](),_0x527bfc;}),_0x1e94cd[_0x43bde7(0xf4)][_0x43bde7(0xfe)][_0x43bde7(0x128)](this[_0x43bde7(0xd5)])[_0x43bde7(0x11a)](_0x3c71ea=>{const _0xea0faf=_0x43bde7,_0x2f7d6a=_0x2e637a[_0xea0faf(0xd8)][_0xea0faf(0x11e)](_0xea0faf(0x103)),_0x3d0340=new _0x54862d(_0x2e637a[_0xea0faf(0x127)],_0x3c71ea,!!_0x2f7d6a[_0xea0faf(0x124)]);return _0x3d0340[_0xea0faf(0xe9)](_0xea0faf(0xf5))['to'](_0x1e94cd,_0xea0faf(0x107),_0x2e0a54=>!_0x2e0a54),_0x3d0340[_0xea0faf(0xe9)](_0xea0faf(0x102))['to'](_0x1e94cd,_0xea0faf(0x107),_0x4a91fd=>!_0x4a91fd),_0x2f7d6a[_0xea0faf(0x124)]&&this[_0xea0faf(0xeb)](_0x3d0340,_0xea0faf(0x10a),()=>{const _0x14c0c3=_0xea0faf;this[_0x14c0c3(0xc8)][_0x14c0c3(0x107)]||_0x2f7d6a[_0x14c0c3(0x124)](_0x3c71ea,_0x3d0340[_0x14c0c3(0x110)]);}),_0x3d0340;}),this[_0x43bde7(0xeb)](_0x1e94cd[_0x43bde7(0xf4)],_0x43bde7(0x10a),()=>{const _0x2e04ac=_0x43bde7;this[_0x2e04ac(0x121)]?this[_0x2e04ac(0xf6)]():this[_0x2e04ac(0xc8)][_0x2e04ac(0x107)]&&this[_0x2e04ac(0x129)]();}),_0x1e94cd[_0x43bde7(0xf4)][_0x43bde7(0x123)][_0x43bde7(0xdd)](_0x43bde7(0x125),(_0x497b8f,_0x5d8f95)=>{const _0x12ea3f=_0x43bde7;this[_0x12ea3f(0xc8)][_0x12ea3f(0x107)]&&(this[_0x12ea3f(0x129)](),_0x5d8f95());}),_0x1e94cd[_0x43bde7(0xdf)](),_0x3be304[_0x43bde7(0xdf)](),_0x2b6f6f({'emitter':_0x1e94cd,'activator':()=>_0x3be304[_0x43bde7(0xfb)],'contextElements':[_0x3be304[_0x43bde7(0x110)],_0x1e94cd[_0x43bde7(0xf4)][_0x43bde7(0x110)]],'callback':()=>this[_0x43bde7(0xf6)]()}),_0x2e637a[_0x43bde7(0xd8)][_0x43bde7(0x11e)](_0x43bde7(0x10f))[_0x43bde7(0xed)](_0x1e94cd[_0x43bde7(0x110)]),this[_0x43bde7(0x11c)]=new _0x5e2451(this[_0x43bde7(0xd3)][_0x43bde7(0x127)]),this[_0x43bde7(0x11c)][_0x43bde7(0x122)](),this[_0x43bde7(0x11c)][_0x43bde7(0x106)](this[_0x43bde7(0xe5)]),_0x1e94cd;}[_0x4fb37d(0xe4)](_0x477f0a){const _0x539a63=_0x4fb37d;if(!this[_0x539a63(0xd3)][_0x539a63(0xd8)][_0x539a63(0x11e)](_0x539a63(0x112))&&_0x477f0a[_0x539a63(0xf1)])return;const _0x2acd57=this[_0x539a63(0xd3)][_0x539a63(0xd8)][_0x539a63(0x11e)](_0x539a63(0xcd))-0x1;this[_0x539a63(0x10d)]++,this[_0x539a63(0xd5)][_0x539a63(0x11b)]==_0x2acd57&&this[_0x539a63(0xd5)][_0x539a63(0x11b)]>0x1&&this[_0x539a63(0xd5)][_0x539a63(0xf3)](0x1);const _0x535929=_0x477f0a[_0x539a63(0xf1)]?0x0:this[_0x539a63(0xd5)][_0x539a63(0x11b)];this[_0x539a63(0xd5)][_0x539a63(0x106)](_0x477f0a,_0x535929);}[_0x4fb37d(0xfd)](_0xa9291f){const _0x58bd88=_0x4fb37d;if(this[_0x58bd88(0x10d)]--,this[_0x58bd88(0xd5)][_0x58bd88(0x11e)](_0xa9291f['id'])&&(this[_0x58bd88(0xd5)][_0x58bd88(0xf3)](_0xa9291f['id']),this[_0x58bd88(0xd5)][_0x58bd88(0x11b)]<this[_0x58bd88(0x10d)])){for(const _0x46df03 of Array[_0x58bd88(0x116)](this[_0x58bd88(0xe7)])[_0x58bd88(0xd4)]())if(!this[_0x58bd88(0xd5)][_0x58bd88(0x11e)](_0x46df03['id']))return void this[_0x58bd88(0xd5)][_0x58bd88(0x106)](_0x46df03,Math[_0x58bd88(0x113)](this[_0x58bd88(0xd5)][_0x58bd88(0x11b)],0x1));}}[_0x4fb37d(0x129)](){const _0x1e9905=_0x4fb37d;if(this[_0x1e9905(0x121)])return;const _0x1c06c7=this[_0x1e9905(0xd3)][_0x1e9905(0xd8)][_0x1e9905(0x11e)](_0x1e9905(0x103));this[_0x1e9905(0x121)]=new _0x292ba7(this[_0x1e9905(0xd3)][_0x1e9905(0x127)],!!_0x1c06c7[_0x1e9905(0x124)]),this[_0x1e9905(0xc8)][_0x1e9905(0xf4)][_0x1e9905(0xc5)]=!0x0;const {listWrapperView:_0x559291}=this[_0x1e9905(0x121)];_0x559291[_0x1e9905(0xfe)][_0x1e9905(0x128)](this[_0x1e9905(0xe7)])[_0x1e9905(0x11a)](_0x32da36=>{const _0x9e9da7=_0x1e9905;if(!_0x1c06c7[_0x9e9da7(0x120)]&&_0x32da36[_0x9e9da7(0xf1)])return null;const _0x434133=new _0x28cadd(this[_0x9e9da7(0xd3)][_0x9e9da7(0x127)],_0x32da36,!!_0x1c06c7[_0x9e9da7(0x124)]);return _0x1c06c7[_0x9e9da7(0x124)]&&this[_0x9e9da7(0xeb)](_0x434133,_0x9e9da7(0x10a),()=>{const _0x138f29=_0x9e9da7;_0x1c06c7[_0x138f29(0x124)](_0x32da36,_0x434133[_0x138f29(0x110)]);}),_0x434133;}),this[_0x1e9905(0xe5)][_0x1e9905(0x11d)][_0x1e9905(0x106)](this[_0x1e9905(0x121)]),this[_0x1e9905(0xe5)][_0x1e9905(0xec)]({'target':this[_0x1e9905(0xc8)][_0x1e9905(0xf4)][_0x1e9905(0x110)]}),_0x559291[_0x1e9905(0x108)](),_0x559291[_0x1e9905(0xee)]();const _0x28af19=(_0x18419b,_0x25bc4b)=>{const _0x68fba4=_0x1e9905;this[_0x68fba4(0xf6)](),this[_0x68fba4(0xc8)][_0x68fba4(0xf4)][_0x68fba4(0x108)](),_0x25bc4b();};_0x559291[_0x1e9905(0x123)][_0x1e9905(0xdd)](_0x1e9905(0xde),_0x28af19),_0x559291[_0x1e9905(0x123)][_0x1e9905(0xdd)](_0x1e9905(0xf8),_0x28af19),_0x559291[_0x1e9905(0x123)][_0x1e9905(0xdd)](_0x1e9905(0xc9),(_0x2d25aa,_0x5e7f7e)=>{const _0x3d985e=_0x1e9905;!function(_0x3ea306){const _0x42bb74=_0x4700,_0x3ea171=['a',_0x42bb74(0x115),_0x42bb74(0xc6),_0x42bb74(0xc7),_0x42bb74(0x10c),_0x42bb74(0xd9),_0x42bb74(0xff)][_0x42bb74(0x100)](_0x4149e3=>_0x4149e3+_0x42bb74(0xfa))[_0x42bb74(0x10e)](','),_0x274cc0=[...document[_0x42bb74(0xd1)][_0x42bb74(0xe3)](_0x3ea171)][_0x42bb74(0xca)](_0x5e416e=>_0x5e416e===document[_0x42bb74(0x118)]||_0x5e416e[_0x42bb74(0x114)]+_0x5e416e[_0x42bb74(0xef)]>0x0)[_0x42bb74(0xfc)]((_0x5c7ffb,_0x2d2297)=>(_0x5c7ffb[_0x42bb74(0xcf)]||0x0)-(_0x2d2297[_0x42bb74(0xcf)]||0x0)),_0x43c4df=_0x274cc0[_0x42bb74(0xe1)](_0x3ea306),_0x1221cc=_0x274cc0[(_0x43c4df+0x1)%_0x274cc0[_0x42bb74(0x11b)]];_0x1221cc&&_0x1221cc[_0x42bb74(0x108)]();}(this[_0x3d985e(0xc8)][_0x3d985e(0x110)]),this[_0x3d985e(0xf6)](),_0x5e7f7e();}),_0x559291[_0x1e9905(0x126)][_0x1e9905(0x106)](this[_0x1e9905(0xc8)][_0x1e9905(0x110)]),_0x559291[_0x1e9905(0x126)]['on'](_0x1e9905(0xda),(_0x545da4,_0x3977fa,_0x46343b)=>{const _0x357518=_0x1e9905;_0x46343b||this[_0x357518(0xf6)]();});}[_0x4fb37d(0xf6)](){const _0x37b216=_0x4fb37d;this[_0x37b216(0x121)]&&(this[_0x37b216(0xc8)][_0x37b216(0xf4)][_0x37b216(0xc5)]=!0x1,this[_0x37b216(0xe5)][_0x37b216(0x10b)](),this[_0x37b216(0xe5)][_0x37b216(0x11d)][_0x37b216(0xf3)](this[_0x37b216(0x121)]),this[_0x37b216(0x121)][_0x37b216(0x119)](),this[_0x37b216(0x121)]=void 0x0);}[_0x4fb37d(0x119)](){const _0x34007a=_0x4fb37d;super[_0x34007a(0x119)](),this[_0x34007a(0xc8)]&&this[_0x34007a(0xc8)][_0x34007a(0xe0)]&&this[_0x34007a(0xc8)][_0x34007a(0x119)](),this[_0x34007a(0x11c)]&&(this[_0x34007a(0x11c)][_0x34007a(0xf0)](),this[_0x34007a(0x11c)][_0x34007a(0x119)](),this[_0x34007a(0x11c)]=null);}}
|
|
23
|
+
const _0x4cc9e8=_0x45f4;(function(_0x574ab9,_0x3eb4d9){const _0x389bf4=_0x45f4,_0xac5a26=_0x574ab9();while(!![]){try{const _0xfcd2e6=-parseInt(_0x389bf4(0x149))/0x1*(-parseInt(_0x389bf4(0x13c))/0x2)+parseInt(_0x389bf4(0x15f))/0x3+parseInt(_0x389bf4(0x180))/0x4*(-parseInt(_0x389bf4(0x177))/0x5)+-parseInt(_0x389bf4(0x178))/0x6+-parseInt(_0x389bf4(0x15b))/0x7+parseInt(_0x389bf4(0x13b))/0x8+parseInt(_0x389bf4(0x148))/0x9;if(_0xfcd2e6===_0x3eb4d9)break;else _0xac5a26['push'](_0xac5a26['shift']());}catch(_0x2087db){_0xac5a26['push'](_0xac5a26['shift']());}}}(_0x3bef,0xd1bd7));import{ContextPlugin as _0x441396}from'ckeditor5/src/core.js';import{CKEditorError as _0x595f7e,Collection as _0x2cae06}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2a6df8,BalloonPanelView as _0x13844b,BodyCollection as _0x45f936}from'ckeditor5/src/ui.js';import{isElement as _0x790191}from'lodash-es';import _0x41feb4 from'../realtimecollaborativeediting/sessions.js';import _0x24e2fb from'./view/presencelistview.js';import _0x1550de from'./view/presencedropdownlistview.js';import _0x34ce23 from'./view/presencedropdownlistitemview.js';function _0x45f4(_0x3c91cc,_0x4f2989){const _0x3befcb=_0x3bef();return _0x45f4=function(_0x45f4d3,_0x280f9d){_0x45f4d3=_0x45f4d3-0x124;let _0x591547=_0x3befcb[_0x45f4d3];return _0x591547;},_0x45f4(_0x3c91cc,_0x4f2989);}import _0x2afeab from'./view/presenceinlinelistitemview.js';function _0x3bef(){const _0x44ebe0=['filter','presenceDropdownView','view','onClick','isCollapsed','Shift+Tab','Tab','locale','focus','change:isFocused','isFocusable','82215vXYuhh','7100880TcmAEG','checkIfScrollable','ck\x20ck-presence-list__balloon','requires','bind','_createView','indexOf','offsetHeight','336PDTiFE','balloonPanelView','isRendered','body','showDropdown','from','displayMe','presencelist-collapseat-invalid-format','remove','config','reverse','select','activeElement','unpin','attachToDom','destroy','element','presenceList','presenceList.collapseAt','bindTo','init','_bodyCollection','map','render','offsetWidth','isExpanded','_handleUserRemove','[tabindex]','define','counterView','querySelectorAll','11292528lEFzKv','678074LpiMmh','usersCount','textarea','length','presenceList.container','_allConnectedUsers','listenTo','detachFromDom','inlineListView','sort','hideDropdown','isVisible','11002671kmYDcL','3PxVzbs','isMe',':not([disabled]):not([tabindex=\x22-1\x22])','hasTooltip','set','tabIndex','focusTracker','_handleUserAdd','input','add','presencelist-missing-container','class','get','context','isHidden','min','allConnectedUsers','items','2524389qEQLAd','currentDisplayedUsers','Esc','pin','399654YePRHB','number','plugins','using','join','content','[contenteditable]','presenceList.displayMe','keystrokes','Enter','button','appendChild','execute'];_0x3bef=function(){return _0x44ebe0;};return _0x3bef();}const D={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x441396{constructor(_0x17103e){const _0x4c5757=_0x45f4;super(_0x17103e),this[_0x4c5757(0x131)]=null,this[_0x4c5757(0x156)][_0x4c5757(0x125)][_0x4c5757(0x138)](_0x4c5757(0x12d),D);const _0x346b6e=_0x17103e[_0x4c5757(0x125)][_0x4c5757(0x155)](_0x4c5757(0x12e));if(_0x4c5757(0x160)!=typeof _0x346b6e)throw new _0x595f7e(_0x4c5757(0x187),this);if(_0x346b6e<0x1)throw new _0x595f7e(_0x4c5757(0x187),this);this[_0x4c5757(0x141)]=this[_0x4c5757(0x156)][_0x4c5757(0x161)][_0x4c5757(0x155)](_0x41feb4)[_0x4c5757(0x159)],this[_0x4c5757(0x14d)](_0x4c5757(0x13d),0x0),this[_0x4c5757(0x15c)]=new _0x2cae06(),this[_0x4c5757(0x181)]=new _0x13844b(),this[_0x4c5757(0x181)][_0x4c5757(0x154)]=_0x4c5757(0x17a),this[_0x4c5757(0x16e)]=this[_0x4c5757(0x17d)](),this[_0x4c5757(0x16d)]=void 0x0;}static get[_0x4cc9e8(0x17b)](){return[_0x41feb4];}[_0x4cc9e8(0x130)](){const _0xfea4bc=_0x4cc9e8;for(const _0x5be394 of this[_0xfea4bc(0x141)])this[_0xfea4bc(0x150)](_0x5be394);this[_0xfea4bc(0x142)](this[_0xfea4bc(0x141)],_0xfea4bc(0x152),(_0x1e18ee,_0x467f19)=>{const _0xfd4465=_0xfea4bc;this[_0xfd4465(0x150)](_0x467f19);}),this[_0xfea4bc(0x142)](this[_0xfea4bc(0x141)],_0xfea4bc(0x124),(_0xc0f5f7,_0x3073da)=>{const _0x13cb70=_0xfea4bc;this[_0x13cb70(0x136)](_0x3073da);});}[_0x4cc9e8(0x17d)](){const _0x25aef1=_0x4cc9e8,_0x38c502=this[_0x25aef1(0x156)],_0x926494=new _0x24e2fb(this[_0x25aef1(0x156)][_0x25aef1(0x173)]),_0x2581a4=this[_0x25aef1(0x181)];if(!_0x790191(_0x38c502[_0x25aef1(0x125)][_0x25aef1(0x155)](_0x25aef1(0x140))))throw new _0x595f7e(_0x25aef1(0x153),this);return _0x926494[_0x25aef1(0x139)][_0x25aef1(0x17c)](_0x25aef1(0x13d))['to'](this),_0x926494[_0x25aef1(0x17c)](_0x25aef1(0x170))['to'](this,_0x25aef1(0x13d),_0x204ed4=>{const _0x4ef65b=_0x25aef1,{collapseAt:_0x2e5220,displayMe:_0x2f90f5}=_0x38c502[_0x4ef65b(0x125)][_0x4ef65b(0x155)](_0x4ef65b(0x12d)),_0x39ac87=_0x204ed4>=_0x2e5220;return _0x926494[_0x4ef65b(0x139)][_0x4ef65b(0x157)]=!(0x1==_0x204ed4&&_0x2f90f5||_0x39ac87),_0x39ac87||this[_0x4ef65b(0x146)](),_0x39ac87;}),_0x926494[_0x25aef1(0x144)][_0x25aef1(0x15a)][_0x25aef1(0x12f)](this[_0x25aef1(0x15c)])[_0x25aef1(0x162)](_0x2ed9b3=>{const _0x3d5696=_0x25aef1,_0x14b52a=_0x38c502[_0x3d5696(0x125)][_0x3d5696(0x155)](_0x3d5696(0x12d)),_0x2e91d3=new _0x2afeab(_0x38c502[_0x3d5696(0x173)],_0x2ed9b3,!!_0x14b52a[_0x3d5696(0x16f)]);return _0x2e91d3[_0x3d5696(0x17c)](_0x3d5696(0x14c))['to'](_0x926494,_0x3d5696(0x170),_0x2868f9=>!_0x2868f9),_0x2e91d3[_0x3d5696(0x17c)](_0x3d5696(0x176))['to'](_0x926494,_0x3d5696(0x170),_0x13db7e=>!_0x13db7e),_0x14b52a[_0x3d5696(0x16f)]&&this[_0x3d5696(0x142)](_0x2e91d3,_0x3d5696(0x16b),()=>{const _0x321cad=_0x3d5696;this[_0x321cad(0x16e)][_0x321cad(0x170)]||_0x14b52a[_0x321cad(0x16f)](_0x2ed9b3,_0x2e91d3[_0x321cad(0x12c)]);}),_0x2e91d3;}),this[_0x25aef1(0x142)](_0x926494[_0x25aef1(0x144)],_0x25aef1(0x16b),()=>{const _0x110ae3=_0x25aef1;this[_0x110ae3(0x16d)]?this[_0x110ae3(0x146)]():this[_0x110ae3(0x16e)][_0x110ae3(0x170)]&&this[_0x110ae3(0x184)]();}),_0x926494[_0x25aef1(0x144)][_0x25aef1(0x167)][_0x25aef1(0x14d)](_0x25aef1(0x168),(_0x18cc16,_0x146e5e)=>{const _0x458652=_0x25aef1;this[_0x458652(0x16e)][_0x458652(0x170)]&&(this[_0x458652(0x184)](),_0x146e5e());}),_0x926494[_0x25aef1(0x133)](),_0x2581a4[_0x25aef1(0x133)](),_0x2a6df8({'emitter':_0x926494,'activator':()=>_0x2581a4[_0x25aef1(0x147)],'contextElements':[_0x2581a4[_0x25aef1(0x12c)],_0x926494[_0x25aef1(0x144)][_0x25aef1(0x12c)]],'callback':()=>this[_0x25aef1(0x146)]()}),_0x38c502[_0x25aef1(0x125)][_0x25aef1(0x155)](_0x25aef1(0x140))[_0x25aef1(0x16a)](_0x926494[_0x25aef1(0x12c)]),this[_0x25aef1(0x131)]=new _0x45f936(this[_0x25aef1(0x156)][_0x25aef1(0x173)]),this[_0x25aef1(0x131)][_0x25aef1(0x12a)](),this[_0x25aef1(0x131)][_0x25aef1(0x152)](this[_0x25aef1(0x181)]),_0x926494;}[_0x4cc9e8(0x150)](_0x36ec17){const _0x8a3fe1=_0x4cc9e8;if(!this[_0x8a3fe1(0x156)][_0x8a3fe1(0x125)][_0x8a3fe1(0x155)](_0x8a3fe1(0x166))&&_0x36ec17[_0x8a3fe1(0x14a)])return;const _0x5f0a3b=this[_0x8a3fe1(0x156)][_0x8a3fe1(0x125)][_0x8a3fe1(0x155)](_0x8a3fe1(0x12e))-0x1;this[_0x8a3fe1(0x13d)]++,this[_0x8a3fe1(0x15c)][_0x8a3fe1(0x13f)]==_0x5f0a3b&&this[_0x8a3fe1(0x15c)][_0x8a3fe1(0x13f)]>0x1&&this[_0x8a3fe1(0x15c)][_0x8a3fe1(0x124)](0x1);const _0x3750d8=_0x36ec17[_0x8a3fe1(0x14a)]?0x0:this[_0x8a3fe1(0x15c)][_0x8a3fe1(0x13f)];this[_0x8a3fe1(0x15c)][_0x8a3fe1(0x152)](_0x36ec17,_0x3750d8);}[_0x4cc9e8(0x136)](_0x4bd83a){const _0x57e29c=_0x4cc9e8;if(this[_0x57e29c(0x13d)]--,this[_0x57e29c(0x15c)][_0x57e29c(0x155)](_0x4bd83a['id'])&&(this[_0x57e29c(0x15c)][_0x57e29c(0x124)](_0x4bd83a['id']),this[_0x57e29c(0x15c)][_0x57e29c(0x13f)]<this[_0x57e29c(0x13d)])){for(const _0x15cdb4 of Array[_0x57e29c(0x185)](this[_0x57e29c(0x141)])[_0x57e29c(0x126)]())if(!this[_0x57e29c(0x15c)][_0x57e29c(0x155)](_0x15cdb4['id']))return void this[_0x57e29c(0x15c)][_0x57e29c(0x152)](_0x15cdb4,Math[_0x57e29c(0x158)](this[_0x57e29c(0x15c)][_0x57e29c(0x13f)],0x1));}}[_0x4cc9e8(0x184)](){const _0x2658f1=_0x4cc9e8;if(this[_0x2658f1(0x16d)])return;const _0x54c20a=this[_0x2658f1(0x156)][_0x2658f1(0x125)][_0x2658f1(0x155)](_0x2658f1(0x12d));this[_0x2658f1(0x16d)]=new _0x1550de(this[_0x2658f1(0x156)][_0x2658f1(0x173)],!!_0x54c20a[_0x2658f1(0x16f)]),this[_0x2658f1(0x16e)][_0x2658f1(0x144)][_0x2658f1(0x135)]=!0x0;const {listWrapperView:_0x5b5a17}=this[_0x2658f1(0x16d)];_0x5b5a17[_0x2658f1(0x15a)][_0x2658f1(0x12f)](this[_0x2658f1(0x141)])[_0x2658f1(0x162)](_0x10d704=>{const _0x5442e1=_0x2658f1;if(!_0x54c20a[_0x5442e1(0x186)]&&_0x10d704[_0x5442e1(0x14a)])return null;const _0x54e356=new _0x34ce23(this[_0x5442e1(0x156)][_0x5442e1(0x173)],_0x10d704,!!_0x54c20a[_0x5442e1(0x16f)]);return _0x54c20a[_0x5442e1(0x16f)]&&this[_0x5442e1(0x142)](_0x54e356,_0x5442e1(0x16b),()=>{const _0xc94ae2=_0x5442e1;_0x54c20a[_0xc94ae2(0x16f)](_0x10d704,_0x54e356[_0xc94ae2(0x12c)]);}),_0x54e356;}),this[_0x2658f1(0x181)][_0x2658f1(0x164)][_0x2658f1(0x152)](this[_0x2658f1(0x16d)]),this[_0x2658f1(0x181)][_0x2658f1(0x15e)]({'target':this[_0x2658f1(0x16e)][_0x2658f1(0x144)][_0x2658f1(0x12c)]}),_0x5b5a17[_0x2658f1(0x174)](),_0x5b5a17[_0x2658f1(0x179)]();const _0x3f99e0=(_0x13e75b,_0x3a28eb)=>{const _0x35271f=_0x2658f1;this[_0x35271f(0x146)](),this[_0x35271f(0x16e)][_0x35271f(0x144)][_0x35271f(0x174)](),_0x3a28eb();};_0x5b5a17[_0x2658f1(0x167)][_0x2658f1(0x14d)](_0x2658f1(0x15d),_0x3f99e0),_0x5b5a17[_0x2658f1(0x167)][_0x2658f1(0x14d)](_0x2658f1(0x171),_0x3f99e0),_0x5b5a17[_0x2658f1(0x167)][_0x2658f1(0x14d)](_0x2658f1(0x172),(_0x2d7abd,_0x5528b3)=>{const _0xbb0e46=_0x2658f1;!function(_0x2e472a){const _0x3a7da6=_0x45f4,_0x1c6b83=['a',_0x3a7da6(0x169),_0x3a7da6(0x151),_0x3a7da6(0x127),_0x3a7da6(0x13e),_0x3a7da6(0x137),_0x3a7da6(0x165)][_0x3a7da6(0x132)](_0x3c33a6=>_0x3c33a6+_0x3a7da6(0x14b))[_0x3a7da6(0x163)](','),_0x33d2ba=[...document[_0x3a7da6(0x183)][_0x3a7da6(0x13a)](_0x1c6b83)][_0x3a7da6(0x16c)](_0x42f08c=>_0x42f08c===document[_0x3a7da6(0x128)]||_0x42f08c[_0x3a7da6(0x134)]+_0x42f08c[_0x3a7da6(0x17f)]>0x0)[_0x3a7da6(0x145)]((_0x170169,_0x116cb8)=>(_0x170169[_0x3a7da6(0x14e)]||0x0)-(_0x116cb8[_0x3a7da6(0x14e)]||0x0)),_0xa6c418=_0x33d2ba[_0x3a7da6(0x17e)](_0x2e472a),_0x288965=_0x33d2ba[(_0xa6c418+0x1)%_0x33d2ba[_0x3a7da6(0x13f)]];_0x288965&&_0x288965[_0x3a7da6(0x174)]();}(this[_0xbb0e46(0x16e)][_0xbb0e46(0x12c)]),this[_0xbb0e46(0x146)](),_0x5528b3();}),_0x5b5a17[_0x2658f1(0x14f)][_0x2658f1(0x152)](this[_0x2658f1(0x16e)][_0x2658f1(0x12c)]),_0x5b5a17[_0x2658f1(0x14f)]['on'](_0x2658f1(0x175),(_0x1f8421,_0x57fed5,_0x129488)=>{const _0x3db73f=_0x2658f1;_0x129488||this[_0x3db73f(0x146)]();});}[_0x4cc9e8(0x146)](){const _0x28e09d=_0x4cc9e8;this[_0x28e09d(0x16d)]&&(this[_0x28e09d(0x16e)][_0x28e09d(0x144)][_0x28e09d(0x135)]=!0x1,this[_0x28e09d(0x181)][_0x28e09d(0x129)](),this[_0x28e09d(0x181)][_0x28e09d(0x164)][_0x28e09d(0x124)](this[_0x28e09d(0x16d)]),this[_0x28e09d(0x16d)][_0x28e09d(0x12b)](),this[_0x28e09d(0x16d)]=void 0x0);}[_0x4cc9e8(0x12b)](){const _0x1be8f1=_0x4cc9e8;super[_0x1be8f1(0x12b)](),this[_0x1be8f1(0x16e)]&&this[_0x1be8f1(0x16e)][_0x1be8f1(0x182)]&&this[_0x1be8f1(0x16e)][_0x1be8f1(0x12b)](),this[_0x1be8f1(0x131)]&&(this[_0x1be8f1(0x131)][_0x1be8f1(0x143)](),this[_0x1be8f1(0x131)][_0x1be8f1(0x12b)](),this[_0x1be8f1(0x131)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xf1e505,_0xb09b03){const _0x144b1f=_0x2b8c,_0x394bd1=_0xf1e505();while(!![]){try{const _0x8ae071=parseInt(_0x144b1f(0x196))/0x1+-parseInt(_0x144b1f(0x198))/0x2+parseInt(_0x144b1f(0x199))/0x3*(parseInt(_0x144b1f(0x193))/0x4)+parseInt(_0x144b1f(0x194))/0x5+parseInt(_0x144b1f(0x19e))/0x6+-parseInt(_0x144b1f(0x19f))/0x7+-parseInt(_0x144b1f(0x19d))/0x8;if(_0x8ae071===_0xb09b03)break;else _0x394bd1['push'](_0x394bd1['shift']());}catch(_0x1b2074){_0x394bd1['push'](_0x394bd1['shift']());}}}(_0x4dd7,0x67e23));import{View as _0x3a9737}from'ckeditor5/src/ui.js';import{getTranslation as _0x4450f6}from'../../common-translations.js';function _0x2b8c(_0x184339,_0x30ae04){const _0x4dd793=_0x4dd7();return _0x2b8c=function(_0x2b8c2a,_0x412562){_0x2b8c2a=_0x2b8c2a-0x192;let _0x326ddc=_0x4dd793[_0x2b8c2a];return _0x326ddc;},_0x2b8c(_0x184339,_0x30ae04);}export default class ts extends _0x3a9737{constructor(_0x53e7ce){const _0x276f63=_0x2b8c;super(_0x53e7ce);const _0x1a9680=this[_0x276f63(0x19a)];this[_0x276f63(0x19c)](_0x276f63(0x1a0),0x0),this[_0x276f63(0x19c)](_0x276f63(0x1a1),!0x0),this[_0x276f63(0x197)]({'tag':_0x276f63(0x1a2),'attributes':{'class':['ck',_0x276f63(0x195),_0x1a9680['if'](_0x276f63(0x1a1),_0x276f63(0x192))]},'children':[{'text':_0x1a9680['to'](_0x276f63(0x1a0),_0x2ab0f3=>_0x4450f6(_0x53e7ce,_0x276f63(0x19b),_0x2ab0f3))}]});}}function _0x4dd7(){const _0x4b6d2c=['593455CWbcEP','ck-presence-list__counter','365125ozJLuP','setTemplate','521116KWCBaq','534yiYiRm','bindTemplate','CONNECTED_USERS','set','1669560kFtBri','2043972fkcVBg','4617872UbLpzj','usersCount','isHidden','div','ck-presence-list__counter--hidden','16404tsDcom'];_0x4dd7=function(){return _0x4b6d2c;};return _0x4dd7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5f2d51=_0x1039;function _0x1af7(){const _0x3d53e0=['presentation','7sYnEhN','element','4364030jhGNot','tag','true','ck-presence-list__dropdown-list-item','371650JGotCr','execute','userView','10rxsnAC','635160Chizbb','focus','2156361fVZOYT','17560774jhpSGZ','4459524jJHTqW','fire','color','73755FaIeDb','name','ck-user__full-name','bindTemplate','getBackgroundColorClass','setTemplate','ck-presence-list__marker','2ZhEbKZ','280okJnvK','button','span'];_0x1af7=function(){return _0x3d53e0;};return _0x1af7();}(function(_0x3a3b27,_0x5107d8){const _0x1a947a=_0x1039,_0x2a8d78=_0x3a3b27();while(!![]){try{const _0x22c1f6=-parseInt(_0x1a947a(0x18a))/0x1*(parseInt(_0x1a947a(0x19c))/0x2)+-parseInt(_0x1a947a(0x190))/0x3+parseInt(_0x1a947a(0x18e))/0x4+parseInt(_0x1a947a(0x186))/0x5+-parseInt(_0x1a947a(0x192))/0x6*(parseInt(_0x1a947a(0x184))/0x7)+parseInt(_0x1a947a(0x19d))/0x8*(-parseInt(_0x1a947a(0x195))/0x9)+-parseInt(_0x1a947a(0x18d))/0xa*(-parseInt(_0x1a947a(0x191))/0xb);if(_0x22c1f6===_0x5107d8)break;else _0x2a8d78['push'](_0x2a8d78['shift']());}catch(_0x2cfd0c){_0x2a8d78['push'](_0x2a8d78['shift']());}}}(_0x1af7,0x7be7a));import{ListItemView as _0x51c10f}from'ckeditor5/src/ui.js';function _0x1039(_0x365a8c,_0x3a4624){const _0x1af72a=_0x1af7();return _0x1039=function(_0x103955,_0x44756c){_0x103955=_0x103955-0x183;let _0x44b30f=_0x1af72a[_0x103955];return _0x44b30f;},_0x1039(_0x365a8c,_0x3a4624);}import{UserView as _0x246483}from'ckeditor5-collaboration/src/collaboration-core.js';export default class E extends _0x51c10f{constructor(_0x594d78,_0x38cb66,_0x3d71d2){const _0x14d537=_0x1039;super(_0x594d78);const _0x37c5ad=this[_0x14d537(0x198)];this[_0x14d537(0x18c)]=new _0x246483(_0x594d78,_0x38cb66);const _0x52a079={'tag':'li','attributes':{'class':['ck',_0x14d537(0x189)],'tabindex':-0x1,'role':_0x14d537(0x183),'aria-label':_0x38cb66[_0x14d537(0x196)]},'children':[this[_0x14d537(0x18c)],{'tag':_0x14d537(0x19f),'attributes':{'class':['ck',_0x14d537(0x197)]},'children':[{'text':_0x38cb66[_0x14d537(0x196)]}]},{'tag':_0x14d537(0x19f),'attributes':{'class':['ck',_0x14d537(0x19b),_0x38cb66[_0x14d537(0x194)][_0x14d537(0x199)]()],'aria-hidden':_0x14d537(0x188)}}]};_0x3d71d2&&(_0x52a079[_0x14d537(0x187)]=_0x14d537(0x19e),_0x52a079['on']={'click':_0x37c5ad['to'](()=>this[_0x14d537(0x193)](_0x14d537(0x18b)))}),this[_0x14d537(0x19a)](_0x52a079);}[_0x5f2d51(0x18f)](){const _0x24ca32=_0x5f2d51;this[_0x24ca32(0x185)][_0x24ca32(0x18f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5eec30=_0x76ff;function _0x76ff(_0x50608d,_0x12e0de){const _0x5bb075=_0x5bb0();return _0x76ff=function(_0x76ff41,_0x2bf856){_0x76ff41=_0x76ff41-0x166;let _0x3c07b1=_0x5bb075[_0x76ff41];return _0x3c07b1;},_0x76ff(_0x50608d,_0x12e0de);}(function(_0x524294,_0x5c4b95){const _0x382e5f=_0x76ff,_0x57243a=_0x524294();while(!![]){try{const _0x405e8f=-parseInt(_0x382e5f(0x188))/0x1+-parseInt(_0x382e5f(0x172))/0x2*(parseInt(_0x382e5f(0x16a))/0x3)+parseInt(_0x382e5f(0x169))/0x4+parseInt(_0x382e5f(0x17c))/0x5*(-parseInt(_0x382e5f(0x180))/0x6)+-parseInt(_0x382e5f(0x178))/0x7+parseInt(_0x382e5f(0x181))/0x8+parseInt(_0x382e5f(0x16e))/0x9;if(_0x405e8f===_0x5c4b95)break;else _0x57243a['push'](_0x57243a['shift']());}catch(_0x366960){_0x57243a['push'](_0x57243a['shift']());}}}(_0x5bb0,0xe5061));import{ListView as _0x53a121,View as _0x3463c9}from'ckeditor5/src/ui.js';function _0x5bb0(){const _0x285e3d=['ck-presence-list__dropdown-list','innerHeight','ck-presence-list__dropdown-list-wrapper_scrollable','1991654zSHHBw','set','_isScrollable','clientHeight','1205nHcJcU','checkIfScrollable','render','setTemplate','12918fFzWSW','3447088gOFkeS','listWrapperView','ck-presence-list__dropdown-list-wrapper','ck-reset','resize','bindTemplate','ariaLabelledBy','703015pkXyhH','listenTo','element','ck-list','application','window','1841988buccJk','3QHfiFE','change','div','items','28207548VqMfvL','scrollHeight','ariaLabel','Connected\x20users\x20list\x20dropdown\x20menu','3162128xXBqTz','max','role'];_0x5bb0=function(){return _0x285e3d;};return _0x5bb0();}import{global as _0x4300c1}from'ckeditor5/src/utils.js';import{getTranslation as _0xaaceda}from'../../common-translations.js';export default class M extends _0x3463c9{constructor(_0x158e7d,_0x524c0a){const _0x124e71=_0x76ff;super(_0x158e7d),this[_0x124e71(0x182)]=new PresenceDropdownListWrapperView(_0x158e7d,_0x524c0a),this[_0x124e71(0x17f)]({'tag':_0x124e71(0x16c),'attributes':{'tabindex':-0x1,'role':_0x124e71(0x167),'class':['ck',_0x124e71(0x175)],'aria-label':_0xaaceda(_0x158e7d,_0x124e71(0x171))},'children':[this[_0x124e71(0x182)]]});}}export class PresenceDropdownListWrapperView extends _0x53a121{constructor(_0x584899,_0x23bc0b){const _0x5e103b=_0x76ff;super(_0x584899);const _0x5b13bd=this[_0x5e103b(0x186)];this[_0x5e103b(0x179)](_0x5e103b(0x17a),!0x1),this[_0x5e103b(0x17f)]({'tag':_0x23bc0b?_0x5e103b(0x16c):'ul','attributes':{'class':['ck',_0x5e103b(0x184),_0x5e103b(0x166),_0x5e103b(0x183),_0x5b13bd['if'](_0x5e103b(0x17a),_0x5e103b(0x177))],'role':_0x5b13bd['to'](_0x5e103b(0x174)),'aria-label':_0x5b13bd['to'](_0x5e103b(0x170)),'aria-labelledby':_0x5b13bd['to'](_0x5e103b(0x187))},'children':this[_0x5e103b(0x16d)]}),this[_0x5e103b(0x189)](_0x4300c1[_0x5e103b(0x168)],_0x5e103b(0x185),()=>this[_0x5e103b(0x17d)]()),this[_0x5e103b(0x16d)]['on'](_0x5e103b(0x16b),()=>this[_0x5e103b(0x17d)]());}[_0x5eec30(0x17e)](){const _0xdb9700=_0x5eec30;super[_0xdb9700(0x17e)](),this[_0xdb9700(0x17d)]();}[_0x5eec30(0x17d)](){const _0x34c94f=_0x5eec30,_0x3948e8=this[_0x34c94f(0x18a)];_0x3948e8&&(this[_0x34c94f(0x17a)]=Math[_0x34c94f(0x173)](_0x3948e8[_0x34c94f(0x16f)],_0x3948e8[_0x34c94f(0x17b)])>0.8*window[_0x34c94f(0x176)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1b64a9,_0x257b0a){const _0x6b0272=_0x5aca,_0x209ffb=_0x1b64a9();while(!![]){try{const _0x1f8cca=parseInt(_0x6b0272(0x1da))/0x1*(parseInt(_0x6b0272(0x1cc))/0x2)+parseInt(_0x6b0272(0x1c0))/0x3+-parseInt(_0x6b0272(0x1cb))/0x4*(parseInt(_0x6b0272(0x1ca))/0x5)+-parseInt(_0x6b0272(0x1c7))/0x6+parseInt(_0x6b0272(0x1d8))/0x7*(parseInt(_0x6b0272(0x1c9))/0x8)+-parseInt(_0x6b0272(0x1e0))/0x9+parseInt(_0x6b0272(0x1c4))/0xa;if(_0x1f8cca===_0x257b0a)break;else _0x209ffb['push'](_0x209ffb['shift']());}catch(_0x432e7a){_0x209ffb['push'](_0x209ffb['shift']());}}}(_0x4911,0xd5494));import{LabelView as _0x9d6be4,View as _0x5ab47b}from'ckeditor5/src/ui.js';import{UserView as _0x4062c1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4911(){const _0x28f346=['298636khFGyM','3395764HHrCLF','tooltipPosition','getBackgroundColorClass','execute','button','span','ck-presence-list__list-item__tooltip','div','set','markerView','hasTooltip','userView','530369Pnidlp','color','1RScqiC','listitem','isFocusable','true','name','fire','9045873oRTuJd','ck-presence-list__marker','990294cViqXQ','setTemplate','template','text','10591680xyFkbE','tag','bindTemplate','3740082XEXakX','ck-presence-list__list-item','88gfAvgX','95vIbcvc'];_0x4911=function(){return _0x28f346;};return _0x4911();}export default class T extends _0x5ab47b{constructor(_0x4fe465,_0x5c8c54,_0x4064f2){const _0x18ead1=_0x5aca;super(_0x4fe465);const _0x27de7c=this[_0x18ead1(0x1c6)];this[_0x18ead1(0x1d4)](_0x18ead1(0x1dc),!0x1),this[_0x18ead1(0x1d4)](_0x18ead1(0x1d6),!0x0),this[_0x18ead1(0x1d4)](_0x18ead1(0x1cd),''),this[_0x18ead1(0x1d7)]=new _0x4062c1(_0x4fe465,_0x5c8c54),this[_0x18ead1(0x1d5)]=new ct(_0x4fe465,_0x5c8c54);const _0x29b6b0=new _0x9d6be4(_0x4fe465);_0x29b6b0[_0x18ead1(0x1c2)][_0x18ead1(0x1c5)]=_0x18ead1(0x1d1),_0x29b6b0[_0x18ead1(0x1c3)]=_0x5c8c54[_0x18ead1(0x1de)];const _0x32ef4e={'tag':_0x18ead1(0x1d3),'attributes':{'class':['ck',_0x18ead1(0x1c8)],'role':_0x18ead1(0x1db),'tabindex':_0x27de7c['to'](_0x18ead1(0x1dc),_0xfdf986=>!!_0xfdf986&&0x0),'aria-labelledby':_0x29b6b0['id'],'data-cke-tooltip-text':this[_0x18ead1(0x1d7)][_0x18ead1(0x1de)],'data-cke-tooltip-position':_0x27de7c['to'](_0x18ead1(0x1cd)),'data-cke-tooltip-disabled':_0x27de7c['to'](_0x18ead1(0x1d6),_0x16795a=>!_0x16795a),'data-cke-tooltip-class':_0x18ead1(0x1d2)},'children':[this[_0x18ead1(0x1d7)],this[_0x18ead1(0x1d5)],_0x29b6b0]};_0x4064f2&&(_0x32ef4e[_0x18ead1(0x1c5)]=_0x18ead1(0x1d0),_0x32ef4e['on']={'click':_0x27de7c['to'](()=>this[_0x18ead1(0x1df)](_0x18ead1(0x1cf)))}),this[_0x18ead1(0x1c1)](_0x32ef4e);}}function _0x5aca(_0x40237c,_0x3923e1){const _0x4911e6=_0x4911();return _0x5aca=function(_0x5aca1b,_0x3341b6){_0x5aca1b=_0x5aca1b-0x1bf;let _0x21ec6a=_0x4911e6[_0x5aca1b];return _0x21ec6a;},_0x5aca(_0x40237c,_0x3923e1);}class ct extends _0x5ab47b{constructor(_0x3d215d,_0x22059c){const _0x3dab39=_0x5aca;super(_0x3d215d),this[_0x3dab39(0x1c1)]({'tag':_0x3dab39(0x1d1),'attributes':{'class':['ck',_0x3dab39(0x1bf),_0x22059c[_0x3dab39(0x1d9)][_0x3dab39(0x1ce)]()],'aria-hidden':_0x3dab39(0x1dd)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f1fc3=_0x508b;(function(_0x409eda,_0x2c0061){const _0x4f479d=_0x508b,_0xfe60cb=_0x409eda();while(!![]){try{const _0x217c89=parseInt(_0x4f479d(0x1cd))/0x1*(-parseInt(_0x4f479d(0x1d8))/0x2)+parseInt(_0x4f479d(0x1df))/0x3*(parseInt(_0x4f479d(0x1da))/0x4)+-parseInt(_0x4f479d(0x1d1))/0x5+-parseInt(_0x4f479d(0x1ca))/0x6+parseInt(_0x4f479d(0x1d9))/0x7*(-parseInt(_0x4f479d(0x1d7))/0x8)+-parseInt(_0x4f479d(0x1ce))/0x9+-parseInt(_0x4f479d(0x1d4))/0xa*(-parseInt(_0x4f479d(0x1e4))/0xb);if(_0x217c89===_0x2c0061)break;else _0xfe60cb['push'](_0xfe60cb['shift']());}catch(_0x141940){_0xfe60cb['push'](_0xfe60cb['shift']());}}}(_0x57e8,0x874f1));import{View as _0x43d64f}from'ckeditor5/src/ui.js';function _0x508b(_0x1e7422,_0x3ae984){const _0x57e8c0=_0x57e8();return _0x508b=function(_0x508bae,_0x2aa5d7){_0x508bae=_0x508bae-0x1c8;let _0x384b60=_0x57e8c0[_0x508bae];return _0x384b60;},_0x508b(_0x1e7422,_0x3ae984);}import{KeystrokeHandler as _0x25c40f}from'ckeditor5/src/utils.js';import{getTranslation as _0x3dc218}from'../../common-translations.js';function _0x57e8(){const _0x3c7933=['element','isExpanded','22eakilh','createCollection','list','render','set','removeAttribute','Connected\x20users\x20list','execute','4785234URnNeZ','setAttribute','hasPopup','2bFJezC','6700959onoMWA','change:hasPopup','focus','2852865jkigmQ','aria-expanded','div','9943060ZiWWvW','ck-presence-list__list','bindTemplate','264eqKDJn','1642DbIztg','19586BmTbDj','118808lEKiti','items','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','listenTo','78HZOlHi','keystrokes','fire'];_0x57e8=function(){return _0x3c7933;};return _0x57e8();}export default class es extends _0x43d64f{constructor(_0x2d56db){const _0x2a51c8=_0x508b;super(_0x2d56db);const _0x5f0aa1=this[_0x2a51c8(0x1d6)];this[_0x2a51c8(0x1db)]=this[_0x2a51c8(0x1e5)](),this[_0x2a51c8(0x1e0)]=new _0x25c40f(),this[_0x2a51c8(0x1e8)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2a51c8(0x1dc)]({'tag':_0x2a51c8(0x1d3),'attributes':{'aria-haspopup':_0x5f0aa1['if'](_0x2a51c8(0x1cc)),'aria-expanded':_0x5f0aa1['to'](_0x2a51c8(0x1e3),_0x32aabc=>this[_0x2a51c8(0x1cc)]&&String(_0x32aabc)),'aria-label':_0x5f0aa1['to'](_0x2a51c8(0x1cc),_0x91c9dd=>_0x3dc218(_0x2d56db,_0x91c9dd?_0x2a51c8(0x1dd):_0x2a51c8(0x1c8))),'role':_0x2a51c8(0x1e6),'tabindex':_0x5f0aa1['to'](_0x2a51c8(0x1cc),_0x4091a0=>!!_0x4091a0&&0x0),'class':['ck',_0x2a51c8(0x1d5)]},'children':this[_0x2a51c8(0x1db)],'on':{'click':_0x5f0aa1['to'](()=>this[_0x2a51c8(0x1e1)](_0x2a51c8(0x1c9)))}}),this['on'](_0x2a51c8(0x1cf),(_0x1b7f82,_0x3a5f79,_0x3ef9c8)=>{const _0x783c70=_0x2a51c8;this[_0x783c70(0x1e2)]&&(_0x3ef9c8?this[_0x783c70(0x1e2)][_0x783c70(0x1cb)](_0x783c70(0x1d2),String(this[_0x783c70(0x1e3)])):this[_0x783c70(0x1e2)][_0x783c70(0x1e9)](_0x783c70(0x1d2)));});}[_0x4f1fc3(0x1d0)](){const _0x3cf756=_0x4f1fc3;this[_0x3cf756(0x1e2)][_0x3cf756(0x1d0)]();}[_0x4f1fc3(0x1e7)](){const _0x268541=_0x4f1fc3;super[_0x268541(0x1e7)](),this[_0x268541(0x1e0)][_0x268541(0x1de)](this[_0x268541(0x1e2)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xe50f5b,_0x4a60b5){const _0x32c9f3=_0x2395,_0x400b71=_0xe50f5b();while(!![]){try{const _0x164e62=parseInt(_0x32c9f3(0x103))/0x1*(-parseInt(_0x32c9f3(0xfc))/0x2)+parseInt(_0x32c9f3(0xf9))/0x3*(parseInt(_0x32c9f3(0xfe))/0x4)+parseInt(_0x32c9f3(0xf3))/0x5*(parseInt(_0x32c9f3(0x108))/0x6)+-parseInt(_0x32c9f3(0x106))/0x7+parseInt(_0x32c9f3(0xf5))/0x8+parseInt(_0x32c9f3(0xf7))/0x9*(parseInt(_0x32c9f3(0x10a))/0xa)+parseInt(_0x32c9f3(0x10c))/0xb*(-parseInt(_0x32c9f3(0xf1))/0xc);if(_0x164e62===_0x4a60b5)break;else _0x400b71['push'](_0x400b71['shift']());}catch(_0x2316c3){_0x400b71['push'](_0x400b71['shift']());}}}(_0x2b5f,0x5804c));import{View as _0x104f29}from'ckeditor5/src/ui.js';import _0x38801c from'./presencecounterview.js';import _0x1bcedb from'./presenceinlinelistview.js';function _0x2b5f(){const _0x282d46=['items','12590FBHcWm','isCollapsed','704FpJKuf','locale','div','change','93792LNmbSZ','first','635RXANDc','counterView','4620824GGTIHh','bind','1359XlPoIh','ck-presence-list','24xLyrjB','ck-presence-list--collapsed','hasPopup','92006QcsKVq','set','9952oPAzxr','ck-rounded-corners','bindTemplate','inlineListView','listenTo','7hsUHZF','setTemplate','ck-reset','833490ipILOU','tooltipPosition','24294vqvgCG'];_0x2b5f=function(){return _0x282d46;};return _0x2b5f();}function _0x2395(_0x6e2756,_0x352052){const _0x2b5ff7=_0x2b5f();return _0x2395=function(_0x2395b6,_0x5a144a){_0x2395b6=_0x2395b6-0xee;let _0x44d77b=_0x2b5ff7[_0x2395b6];return _0x44d77b;},_0x2395(_0x6e2756,_0x352052);}import'../../../theme/presencelist.css';export default class _ extends _0x104f29{constructor(_0x202d77){const _0x287d65=_0x2395;super(_0x202d77);const _0x45a420=this[_0x287d65(0x100)];this[_0x287d65(0xfd)](_0x287d65(0x10b),!0x0),this[_0x287d65(0xf4)]=new _0x38801c(this[_0x287d65(0xee)]),this[_0x287d65(0x101)]=new _0x1bcedb(_0x202d77),this[_0x287d65(0x101)][_0x287d65(0xf6)](_0x287d65(0xfb))['to'](this,_0x287d65(0x10b)),this[_0x287d65(0x102)](this[_0x287d65(0x101)][_0x287d65(0x109)],_0x287d65(0xf0),()=>{const _0x740c8c=_0x287d65;for(const _0x26b52c of this[_0x740c8c(0x101)][_0x740c8c(0x109)])_0x26b52c[_0x740c8c(0x107)]='s';this[_0x740c8c(0x101)][_0x740c8c(0x109)][_0x740c8c(0xf2)]&&(this[_0x740c8c(0x101)][_0x740c8c(0x109)][_0x740c8c(0xf2)][_0x740c8c(0x107)]='se');}),this[_0x287d65(0x104)]({'tag':_0x287d65(0xef),'attributes':{'class':['ck',_0x287d65(0xf8),_0x287d65(0x105),_0x287d65(0xff),_0x45a420['if'](_0x287d65(0x10b),_0x287d65(0xfa))]},'children':[this[_0x287d65(0xf4)],this[_0x287d65(0x101)]]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x342a(){const _0x5f2ae0=['off','remove','_services','plugins','getMany','catch','commentThreadAdded','authorId','18CbFrEk','mySessionId','CloudServicesCommentsAdapter','delete','createdAt','57692RpOcNW','CommentsRepository','requires','_setUpService','commentRemoved','register','isPremiumPlugin','addComment','12uOXdMu','commentThreadUpdated','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','599810FCUpSi','addUser','userId','322777Aqozdz','sessionAdd:','keys','resolvedBy','cloudservicescommentsadapter-service-not-exist','add','connect','reopen','listenTo','size','cloud-services-internal-error:\x20Not\x20connected.','commentThreadResolved','update','commentThreadRemoved','Permissions','context','commentThreadReopened','comments','reopenCommentThread','message','attributes','updateCommentThread','_getService','map','commentId','getCommentThread','assign','init','pluginName','set','get','isOfficialPlugin','deletedAt','cloudservicescommentsadapter-connect-already-connected','404','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','adapter','addCommentThread','getConnectedSessions','setPermissions','disconnect','getUser','permissions','addToReconnectionStack','removeComment','destroy','commentThreadId','startsWith','commentUpdated','resolve','from','unregister','resolvedAt','_terminateService','getComment','reconnect','3176646ESzuAe','9347xcclHv','2281296VHvyKX','has','commentAdded','updateComment','2JrjLMM','config','_fetchMissingUsersForThreads','getCommentThreads','content','27qQAeOV','1032010lVxxEN','_connectService','resolveCommentThread','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','code','CommentsService'];_0x342a=function(){return _0x5f2ae0;};return _0x342a();}const _0x265ec8=_0x4600;(function(_0x33acb7,_0x32b77a){const _0x2df6a4=_0x4600,_0x2d70b5=_0x33acb7();while(!![]){try{const _0xe93170=-parseInt(_0x2df6a4(0x135))/0x1*(-parseInt(_0x2df6a4(0x13a))/0x2)+-parseInt(_0x2df6a4(0xf5))/0x3*(-parseInt(_0x2df6a4(0xed))/0x4)+-parseInt(_0x2df6a4(0x140))/0x5+parseInt(_0x2df6a4(0xe8))/0x6*(parseInt(_0x2df6a4(0xfc))/0x7)+parseInt(_0x2df6a4(0x136))/0x8+parseInt(_0x2df6a4(0x13f))/0x9*(parseInt(_0x2df6a4(0xf9))/0xa)+-parseInt(_0x2df6a4(0x134))/0xb;if(_0xe93170===_0x32b77a)break;else _0x2d70b5['push'](_0x2d70b5['shift']());}catch(_0x40d732){_0x2d70b5['push'](_0x2d70b5['shift']());}}}(_0x342a,0x2acb9));import{Context as _0x90d57f,ContextPlugin as _0x5cfb66}from'ckeditor5/src/core.js';import{CKEditorError as _0x329a06}from'ckeditor5/src/utils.js';import{Users as _0x2e6946}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x447277,User as _0x31e8d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x43c5ae from'../realtimecollaborativeediting/websocketgateway.js';function _0x4600(_0x3a2894,_0x420b49){const _0x342aed=_0x342a();return _0x4600=function(_0x46000f,_0x3e0e){_0x46000f=_0x46000f-0xe2;let _0x562ecd=_0x342aed[_0x46000f];return _0x562ecd;},_0x4600(_0x3a2894,_0x420b49);}import _0x4cf67a from'../realtimecollaborativeediting/sessions.js';class a extends _0x5cfb66{static get[_0x265ec8(0xef)](){const _0x20bfd4=_0x265ec8;return[_0x43c5ae,_0x20bfd4(0xee),_0x4cf67a,_0x2e6946];}static get[_0x265ec8(0x118)](){const _0x48216e=_0x265ec8;return _0x48216e(0xea);}static get[_0x265ec8(0x11b)](){return!0x0;}static get[_0x265ec8(0xf3)](){return!0x0;}constructor(_0x2ae634){const _0x5b378d=_0x265ec8;super(_0x2ae634),this[_0x5b378d(0xe2)]=new Map();}async[_0x265ec8(0x117)](){const _0x5d2e0a=_0x265ec8,_0x45cfa3=this[_0x5d2e0a(0x10b)],_0x4615a4=_0x45cfa3[_0x5d2e0a(0xe3)][_0x5d2e0a(0x11a)](_0x5d2e0a(0xee));if(_0x45cfa3[_0x5d2e0a(0xe3)][_0x5d2e0a(0x11a)](_0x43c5ae)[_0x5d2e0a(0x127)](this),_0x4615a4[_0x5d2e0a(0x120)]={'addCommentThread':async({channelId:_0x36e98b,threadId:_0x1e9965,comments:_0x476bbd,resolvedAt:_0x533d29,resolvedBy:_0xd53436,context:_0x36283f,attributes:_0x2c8759})=>{const _0x1a70de=_0x5d2e0a,_0x1a4db8=await this[_0x1a70de(0x112)](_0x36e98b)[_0x1a70de(0x121)]({'commentThreadId':_0x1e9965,'comments':_0x476bbd[_0x1a70de(0x113)](_0x2d3473=>function(_0x41f016,_0x296506,_0x5ec116){const _0xd61a0d=_0x1a70de;return{'commentThreadId':_0x5ec116,'commentId':_0x41f016[_0xd61a0d(0x114)],'userId':_0x41f016[_0xd61a0d(0xe7)],'content':_0x41f016[_0xd61a0d(0x13e)],'documentId':_0x296506,'createdAt':_0x41f016[_0xd61a0d(0xec)],'attributes':_0x41f016[_0xd61a0d(0x110)]||{}};}(_0x2d3473,_0x36e98b,_0x1e9965)),'resolvedAt':_0x533d29,'resolvedBy':_0xd53436,'context':_0x36283f,'attributes':_0x2c8759})[_0x1a70de(0xe5)](R);return{'threadId':_0x1a4db8[_0x1a70de(0x12a)],'comments':_0x1a4db8[_0x1a70de(0x10d)]};},'getCommentThread':async({channelId:_0xd4f9e9,threadId:_0x53ff14})=>{const _0x477825=_0x5d2e0a,_0x600f74=await this[_0x477825(0x112)](_0xd4f9e9)[_0x477825(0x115)](_0x53ff14)[_0x477825(0xe5)](R);return _0x600f74[_0x477825(0x11c)]?null:(await this[_0x477825(0x13c)]([_0x600f74]),{'threadId':_0x600f74[_0x477825(0x12a)],'comments':_0x600f74[_0x477825(0x10d)][_0x477825(0x113)](S),'context':_0x600f74[_0x477825(0x10b)],'resolvedAt':_0x600f74[_0x477825(0x130)],'resolvedBy':_0x600f74[_0x477825(0xff)],'attributes':_0x600f74[_0x477825(0x110)]||{}});},'updateCommentThread':async({channelId:_0x1104b3,threadId:_0x56746b,context:_0x16423d,unlinkedAt:_0x3a438b,attributes:_0x1d7ca6})=>this[_0x5d2e0a(0x112)](_0x1104b3)[_0x5d2e0a(0x111)]({'commentThreadId':_0x56746b,'context':_0x16423d,'attributes':_0x1d7ca6,'unlinkedAt':_0x3a438b})[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'resolveCommentThread':async({channelId:_0x2faa98,threadId:_0xfff5d3})=>{const _0x1656a9=_0x5d2e0a,_0x3640f9=await this[_0x1656a9(0x112)](_0x2faa98)[_0x1656a9(0x142)](_0xfff5d3)[_0x1656a9(0xe5)](B)[_0x1656a9(0xe5)](R);return{'threadId':_0x3640f9[_0x1656a9(0x12a)],'resolvedAt':_0x3640f9[_0x1656a9(0x130)],'resolvedBy':_0x3640f9[_0x1656a9(0xff)]};},'reopenCommentThread':async({channelId:_0xf29b3f,threadId:_0x272811})=>this[_0x5d2e0a(0x112)](_0xf29b3f)[_0x5d2e0a(0x10e)](_0x272811)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'removeCommentThread':({channelId:_0x1507c8,threadId:_0x3dfe71})=>this[_0x5d2e0a(0x112)](_0x1507c8)[_0x5d2e0a(0x143)](_0x3dfe71)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'addComment':({channelId:_0x1848ff,threadId:_0x4bf2b1,commentId:_0x33b6e0,content:_0x199449,attributes:_0x2058f9})=>this[_0x5d2e0a(0x112)](_0x1848ff)[_0x5d2e0a(0xf4)](_0x4bf2b1,_0x33b6e0,_0x199449,_0x2058f9)[_0x5d2e0a(0xe5)](R),'updateComment':({channelId:_0xbc7059,threadId:_0x526097,commentId:_0x3084a3,content:_0x5e2435,attributes:_0x55747e})=>this[_0x5d2e0a(0x112)](_0xbc7059)[_0x5d2e0a(0x139)](_0x526097,_0x3084a3,_0x5e2435,_0x55747e)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'removeComment':({channelId:_0x6fe2c,threadId:_0x11b87d,commentId:_0x124876})=>this[_0x5d2e0a(0x112)](_0x6fe2c)[_0x5d2e0a(0x128)](_0x11b87d,_0x124876)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R)},_0x45cfa3 instanceof _0x90d57f){const _0x3ab83b=_0x45cfa3[_0x5d2e0a(0x13b)][_0x5d2e0a(0x11a)](_0x5d2e0a(0xf7)),_0x2e024e=_0x45cfa3[_0x5d2e0a(0xe3)][_0x5d2e0a(0x11a)](_0x4cf67a);await this[_0x5d2e0a(0xf0)](_0x3ab83b);const _0x10ef9a=await this[_0x5d2e0a(0xe2)][_0x5d2e0a(0x11a)](_0x3ab83b)[_0x5d2e0a(0x122)]();this[_0x5d2e0a(0x104)](_0x2e024e,_0x5d2e0a(0xfd)+_0x3ab83b,(_0x371a5d,{session:_0x108d68})=>{const _0x247c73=_0x5d2e0a;_0x108d68['id']===_0x2e024e[_0x247c73(0xe9)]&&(_0x371a5d[_0x247c73(0x147)](),this[_0x247c73(0x10b)][_0x247c73(0xe3)][_0x247c73(0x11a)](_0x247c73(0x10a))[_0x247c73(0x123)](_0x108d68[_0x247c73(0x126)],_0x3ab83b));}),_0x2e024e[_0x5d2e0a(0xf2)](_0x3ab83b,_0x10ef9a);}}async[_0x265ec8(0xf0)](_0x196fb5){const _0x48d945=_0x265ec8;if(this[_0x48d945(0xe2)][_0x48d945(0x137)](_0x196fb5))throw new _0x329a06(_0x48d945(0x11d),null,{'channelId':_0x196fb5});const _0x4de1de=this[_0x48d945(0x10b)][_0x48d945(0xe3)][_0x48d945(0x11a)](_0x48d945(0xee)),_0x2c0bb8=new a[(_0x48d945(0x146))](_0x196fb5);this[_0x48d945(0xe2)][_0x48d945(0x119)](_0x196fb5,_0x2c0bb8),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0xe6),(_0x227277,_0x2def5b)=>{const _0x417ab4=_0x48d945,{commentThreadId:_0x152db9,documentId:_0x5635ee,context:_0x159edb,attributes:_0x43e4e6,resolvedAt:_0x516832,resolvedBy:_0x36f904,comments:_0x4d067b}=_0x2def5b;_0x4de1de[_0x417ab4(0x115)](_0x152db9)||_0x4de1de[_0x417ab4(0x121)]({'threadId':_0x152db9,'channelId':_0x5635ee,'comments':_0x4d067b?_0x4d067b[_0x417ab4(0x113)](S):[],'context':_0x159edb,'attributes':_0x43e4e6,'resolvedAt':_0x516832,'resolvedBy':_0x36f904,'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0xf6),(_0x559572,{commentThreadId:_0x34418a,documentId:_0x464910,context:_0x2a601e,unlinkedAt:_0x15ae0f,attributes:_0x5f04f4})=>{const _0x3c82d4=_0x48d945;_0x4de1de[_0x3c82d4(0x115)](_0x34418a)&&_0x4de1de[_0x3c82d4(0x111)]({'threadId':_0x34418a,'channelId':_0x464910,'context':_0x2a601e,'unlinkedAt':_0x15ae0f,'attributes':_0x5f04f4,'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x107),(_0x7f1668,{commentThreadId:_0x3481f3,resolvedBy:_0x17bab8,resolvedAt:_0x1f2111})=>{const _0x1a152a=_0x48d945,_0x4f00d6=_0x4de1de[_0x1a152a(0x115)](_0x3481f3);_0x4f00d6&&_0x4f00d6[_0x1a152a(0x12d)]({'resolvedBy':_0x17bab8,'resolvedAt':_0x1f2111,'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x10c),(_0x4ff6de,{commentThreadId:_0x114c02})=>{const _0x4f0b6a=_0x48d945,_0x21d7f0=_0x4de1de[_0x4f0b6a(0x115)](_0x114c02);_0x21d7f0&&_0x21d7f0[_0x4f0b6a(0x103)]({'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x109),(_0x33ee1d,{commentThreadId:_0x3e81df})=>{const _0x4c902a=_0x48d945,_0x3e174d=_0x4de1de[_0x4c902a(0x115)](_0x3e81df);_0x3e174d&&_0x3e174d[_0x4c902a(0x148)]({'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x138),(_0x4ee0a1,_0x4e2887)=>{const _0x167f69=_0x48d945,_0x2fa90c=_0x4e2887[_0x167f69(0x12a)],_0x3ba41f=_0x4de1de[_0x167f69(0x115)](_0x2fa90c);_0x3ba41f&&_0x3ba41f[_0x167f69(0xf4)]({...S(_0x4e2887),'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x12c),(_0x31480a,{commentThreadId:_0x360552,commentId:_0x5916aa,content:_0x2fd85b,attributes:_0x32128d})=>{const _0xcb8e65=_0x48d945,_0x43e5c1=_0x4de1de[_0xcb8e65(0x115)](_0x360552);if(_0x43e5c1){const _0x44c4a6=_0x43e5c1[_0xcb8e65(0x132)](_0x5916aa);_0x44c4a6&&_0x44c4a6[_0xcb8e65(0x108)]({'content':_0x2fd85b,'attributes':_0x32128d,'isFromAdapter':!0x0});}}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0xf1),(_0x19ae55,{commentThreadId:_0x55800b,commentId:_0xd03b96})=>{const _0x63138c=_0x48d945,_0x3919c8=_0x4de1de[_0x63138c(0x115)](_0x55800b);if(_0x3919c8){const _0x4b1b6d=_0x3919c8[_0x63138c(0x132)](_0xd03b96);_0x4b1b6d&&_0x4b1b6d[_0x63138c(0x148)]({'isFromAdapter':!0x0});}}),await this[_0x48d945(0x141)](_0x196fb5);}[_0x265ec8(0x129)](){const _0x5057cd=_0x265ec8;if(this[_0x5057cd(0x10b)]instanceof _0x90d57f){const _0x258d5e=this[_0x5057cd(0x10b)][_0x5057cd(0x13b)][_0x5057cd(0x11a)](_0x5057cd(0xf7));this[_0x5057cd(0x131)](_0x258d5e);}}[_0x265ec8(0x131)](_0x160b9a){const _0x515ed3=_0x265ec8;if(!this[_0x515ed3(0xe2)][_0x515ed3(0x137)](_0x160b9a))throw new _0x329a06(_0x515ed3(0x144),null,{'channelId':_0x160b9a});this[_0x515ed3(0x112)](_0x160b9a)[_0x515ed3(0x124)](),this[_0x515ed3(0xe2)][_0x515ed3(0xeb)](_0x160b9a);}async[_0x265ec8(0x133)](){const _0x7955f7=_0x265ec8;for(const _0x3e254a of this[_0x7955f7(0xe2)][_0x7955f7(0xfe)]())await this[_0x7955f7(0x141)](_0x3e254a);if(this[_0x7955f7(0x10b)]instanceof _0x90d57f){const _0x10d516=this[_0x7955f7(0x10b)][_0x7955f7(0x13b)][_0x7955f7(0x11a)](_0x7955f7(0xf7)),_0x5df308=this[_0x7955f7(0x10b)][_0x7955f7(0xe3)][_0x7955f7(0x11a)](_0x4cf67a);_0x5df308[_0x7955f7(0x12f)](_0x10d516);const _0x49192c=await this[_0x7955f7(0xe2)][_0x7955f7(0x11a)](_0x10d516)[_0x7955f7(0x122)]();_0x5df308[_0x7955f7(0xf2)](_0x10d516,_0x49192c);}}async[_0x265ec8(0x141)](_0x72f855){const _0x2f60a8=_0x265ec8,{connection:_0x120567}=this[_0x2f60a8(0x10b)][_0x2f60a8(0xe3)][_0x2f60a8(0x11a)](_0x43c5ae),_0x4d018a=this[_0x2f60a8(0x10b)][_0x2f60a8(0xe3)][_0x2f60a8(0x11a)](_0x2f60a8(0xee)),_0x2b20a1=this[_0x2f60a8(0xe2)][_0x2f60a8(0x11a)](_0x72f855),_0x322fe5=await _0x2b20a1[_0x2f60a8(0x102)](_0x120567);await this[_0x2f60a8(0x13c)](_0x322fe5);const _0x14f929=new Set(Array[_0x2f60a8(0x12e)](_0x4d018a[_0x2f60a8(0x13d)]({'channelId':_0x72f855}),_0x57a159=>_0x57a159['id']));for(const _0x3d020d of _0x322fe5)_0x3d020d[_0x2f60a8(0x11c)]||_0x14f929[_0x2f60a8(0xeb)](_0x3d020d[_0x2f60a8(0x12a)]);for(const _0x4e8d9c of _0x14f929)_0x4d018a[_0x2f60a8(0x115)](_0x4e8d9c)[_0x2f60a8(0x148)]({'isFromAdapter':!0x0});for(const _0x4b8956 of _0x322fe5){let _0x4d1cad=_0x4d018a[_0x2f60a8(0x115)](_0x4b8956[_0x2f60a8(0x12a)]);const {commentThreadId:_0xba224c,context:_0x5c83c0,attributes:_0x3e6768,resolvedBy:_0x464031,resolvedAt:_0x5dbcb1,unlinkedAt:_0xd04261,deletedAt:_0x25c032}=_0x4b8956;if(_0x25c032)continue;_0x4d1cad||(_0x4d1cad=_0x4d018a[_0x2f60a8(0x121)]({'channelId':_0x72f855,'threadId':_0xba224c,'context':_0x5c83c0,'attributes':_0x3e6768||{},'resolvedBy':_0x464031,'resolvedAt':_0x5dbcb1,'unlinkedAt':_0xd04261,'isFromAdapter':!0x0}));const _0xf5e771=new Set(Array[_0x2f60a8(0x12e)](_0x4d1cad[_0x2f60a8(0x10d)],_0x3c5fee=>_0x3c5fee['id']));for(const _0x9b420e of _0x4b8956[_0x2f60a8(0x10d)])_0xf5e771[_0x2f60a8(0xeb)](_0x9b420e[_0x2f60a8(0x114)]);for(const _0x46e06c of _0xf5e771)_0x4d1cad[_0x2f60a8(0x132)](_0x46e06c)[_0x2f60a8(0x148)]({'isFromAdapter':!0x0});for(const _0x4ed14d of _0x4b8956[_0x2f60a8(0x10d)]){const _0x2ef852=_0x4d1cad[_0x2f60a8(0x132)](_0x4ed14d[_0x2f60a8(0x114)]);_0x2ef852?_0x2ef852[_0x2f60a8(0x13e)]!==_0x4ed14d[_0x2f60a8(0x13e)]&&_0x2ef852[_0x2f60a8(0x108)]({'content':_0x4ed14d[_0x2f60a8(0x13e)],'isFromAdapter':!0x0}):_0x4d1cad[_0x2f60a8(0xf4)](Object[_0x2f60a8(0x116)](S(_0x4ed14d),{'isFromAdapter':!0x0}));}}}[_0x265ec8(0x112)](_0x35ed02){const _0x55fac5=_0x265ec8;if(!this[_0x55fac5(0xe2)][_0x55fac5(0x137)](_0x35ed02))throw new _0x329a06(_0x55fac5(0x100),null,{'channelId':_0x35ed02});return this[_0x55fac5(0xe2)][_0x55fac5(0x11a)](_0x35ed02);}async[_0x265ec8(0x13c)](_0x389ea4){const _0x31f758=_0x265ec8,_0x3a0244=this[_0x31f758(0x10b)][_0x31f758(0xe3)][_0x31f758(0x11a)](_0x2e6946),{connection:_0x5ba8b4}=this[_0x31f758(0x10b)][_0x31f758(0xe3)][_0x31f758(0x11a)](_0x43c5ae),_0x3d9a43=new Set();for(const {resolvedBy:_0x1bc163,comments:_0x6ee5ce}of _0x389ea4){_0x1bc163&&!_0x3a0244[_0x31f758(0x125)](_0x1bc163)&&_0x3d9a43[_0x31f758(0x101)](_0x1bc163);for(const {userId:_0x394e65}of _0x6ee5ce)_0x3a0244[_0x31f758(0x125)](_0x394e65)||_0x3d9a43[_0x31f758(0x101)](_0x394e65);}if(0x0===_0x3d9a43[_0x31f758(0x105)])return;const _0x77185f=await _0x31e8d3[_0x31f758(0xe4)](_0x5ba8b4,Array[_0x31f758(0x12e)](_0x3d9a43));for(const _0x29d030 of _0x77185f)_0x3a0244[_0x31f758(0x125)](_0x29d030['id'])||_0x3a0244[_0x31f758(0xfa)](_0x29d030);}}a[_0x265ec8(0x146)]=_0x447277;export default a;async function B(_0x555a16){const _0x105564=_0x265ec8;if(_0x105564(0x11e)!==_0x555a16[_0x105564(0x145)])throw _0x555a16;}function R(_0x139a19){const _0x313af3=_0x265ec8;if((_0x4cbace=_0x139a19)[_0x313af3(0x10f)][_0x313af3(0x12b)](_0x313af3(0x11f))||_0x4cbace[_0x313af3(0x10f)][_0x313af3(0x12b)](_0x313af3(0x106))||_0x4cbace[_0x313af3(0x10f)][_0x313af3(0x12b)](_0x313af3(0xf8)))return new Promise(()=>{});var _0x4cbace;throw _0x139a19;}function S(_0x2290c8){const _0x2f8d5e=_0x265ec8;return{'threadId':_0x2290c8[_0x2f8d5e(0x12a)],'commentId':_0x2290c8[_0x2f8d5e(0x114)],'content':_0x2290c8[_0x2f8d5e(0x13e)],'createdAt':_0x2290c8[_0x2f8d5e(0xec)],'authorId':_0x2290c8[_0x2f8d5e(0xfb)],'attributes':_0x2290c8[_0x2f8d5e(0x110)]||{}};}
|
|
23
|
+
const _0x1b1487=_0xd5ac;function _0x4c42(){const _0x78babb=['commentThreadAdded','update','_connectService','reopenCommentThread','commentThreadUpdated','add','getComment','attributes','_getService','resolveCommentThread','get','_terminateService','commentUpdated','906gltOOE','resolvedBy','has','cloudservicescommentsadapter-connect-already-connected','size','config','commentRemoved','476470kwAayt','message','assign','resolvedAt','Permissions','delete','getMany','setPermissions','getUser','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','from','content','cloudservicescommentsadapter-service-not-exist','authorId','permissions','404','cloud-services-internal-error:\x20Not\x20connected.','getCommentThreads','693890jRREAB','adapter','catch','register','updateCommentThread','CloudServicesCommentsAdapter','reopen','reconnect','CommentsService','isOfficialPlugin','addComment','2093574YBXNJR','unregister','requires','removeComment','commentThreadId','context','isPremiumPlugin','map','28498mCLAlK','init','disconnect','commentThreadReopened','off','6yzFjjc','1483632AIVxbr','updateComment','cloudservicescommentsadapter-disconnect-not-exist','resolve','_services','addCommentThread','commentThreadRemoved','addToReconnectionStack','5068CwhApT','deletedAt','remove','commentThreadResolved','plugins','commentId','mySessionId','connect','code','set','createdAt','keys','startsWith','userId','comments','getCommentThread','sessionAdd:','getConnectedSessions','9QHaszV','addUser','listenTo','removeCommentThread','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Request\x20timeout.','4191470vSElgR','pluginName','commentAdded','_setUpService','collaboration.channelId','CommentsRepository','destroy'];_0x4c42=function(){return _0x78babb;};return _0x4c42();}(function(_0x474ef9,_0x53bb8b){const _0x1d132d=_0xd5ac,_0x52350b=_0x474ef9();while(!![]){try{const _0x283eff=parseInt(_0x1d132d(0x213))/0x1+parseInt(_0x1d132d(0x1ee))/0x2+-parseInt(_0x1d132d(0x1e7))/0x3*(parseInt(_0x1d132d(0x221))/0x4)+parseInt(_0x1d132d(0x200))/0x5*(-parseInt(_0x1d132d(0x218))/0x6)+parseInt(_0x1d132d(0x20b))/0x7+-parseInt(_0x1d132d(0x219))/0x8+parseInt(_0x1d132d(0x233))/0x9*(parseInt(_0x1d132d(0x239))/0xa);if(_0x283eff===_0x53bb8b)break;else _0x52350b['push'](_0x52350b['shift']());}catch(_0x2db4d4){_0x52350b['push'](_0x52350b['shift']());}}}(_0x4c42,0x43e50));import{Context as _0x5d0bf1,ContextPlugin as _0x36bc59}from'ckeditor5/src/core.js';import{CKEditorError as _0x56def8}from'ckeditor5/src/utils.js';import{Users as _0x51d85c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1ec404,User as _0x270bde}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x257fb9 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d26ad from'../realtimecollaborativeediting/sessions.js';class a extends _0x36bc59{static get[_0x1b1487(0x20d)](){const _0x1a5d06=_0x1b1487;return[_0x257fb9,_0x1a5d06(0x1d8),_0x3d26ad,_0x51d85c];}static get[_0x1b1487(0x23a)](){const _0x148ba3=_0x1b1487;return _0x148ba3(0x205);}static get[_0x1b1487(0x209)](){return!0x0;}static get[_0x1b1487(0x211)](){return!0x0;}constructor(_0x1c76d6){const _0x1cd9df=_0x1b1487;super(_0x1c76d6),this[_0x1cd9df(0x21d)]=new Map();}async[_0x1b1487(0x214)](){const _0x3b23d0=_0x1b1487,_0x3cb38b=this[_0x3b23d0(0x210)],_0xc46867=_0x3cb38b[_0x3b23d0(0x225)][_0x3b23d0(0x1e4)](_0x3b23d0(0x1d8));if(_0x3cb38b[_0x3b23d0(0x225)][_0x3b23d0(0x1e4)](_0x257fb9)[_0x3b23d0(0x220)](this),_0xc46867[_0x3b23d0(0x201)]={'addCommentThread':async({channelId:_0x577f1a,threadId:_0xe76085,comments:_0x1a79ab,resolvedAt:_0x4f439e,resolvedBy:_0x4f5870,context:_0x52faf8,attributes:_0x30c7cd})=>{const _0x1598ae=_0x3b23d0,_0x32a381=await this[_0x1598ae(0x1e2)](_0x577f1a)[_0x1598ae(0x21e)]({'commentThreadId':_0xe76085,'comments':_0x1a79ab[_0x1598ae(0x212)](_0x47fedf=>function(_0x4b1ffe,_0x1f13fb,_0x44bc94){const _0x14ad6c=_0x1598ae;return{'commentThreadId':_0x44bc94,'commentId':_0x4b1ffe[_0x14ad6c(0x226)],'userId':_0x4b1ffe[_0x14ad6c(0x1fb)],'content':_0x4b1ffe[_0x14ad6c(0x1f9)],'documentId':_0x1f13fb,'createdAt':_0x4b1ffe[_0x14ad6c(0x22b)],'attributes':_0x4b1ffe[_0x14ad6c(0x1e1)]||{}};}(_0x47fedf,_0x577f1a,_0xe76085)),'resolvedAt':_0x4f439e,'resolvedBy':_0x4f5870,'context':_0x52faf8,'attributes':_0x30c7cd})[_0x1598ae(0x202)](w);return{'threadId':_0x32a381[_0x1598ae(0x20f)],'comments':_0x32a381[_0x1598ae(0x22f)]};},'getCommentThread':async({channelId:_0x5c5469,threadId:_0x2b7cfe})=>{const _0x1c401e=_0x3b23d0,_0x24cc00=await this[_0x1c401e(0x1e2)](_0x5c5469)[_0x1c401e(0x230)](_0x2b7cfe)[_0x1c401e(0x202)](w);return _0x24cc00[_0x1c401e(0x222)]?null:(await this[_0x1c401e(0x237)]([_0x24cc00]),{'threadId':_0x24cc00[_0x1c401e(0x20f)],'comments':_0x24cc00[_0x1c401e(0x22f)][_0x1c401e(0x212)](b),'context':_0x24cc00[_0x1c401e(0x210)],'resolvedAt':_0x24cc00[_0x1c401e(0x1f1)],'resolvedBy':_0x24cc00[_0x1c401e(0x1e8)],'attributes':_0x24cc00[_0x1c401e(0x1e1)]||{}});},'updateCommentThread':async({channelId:_0x12068d,threadId:_0x87f57d,context:_0x55f4ab,unlinkedAt:_0x22c85b,attributes:_0x138cd4})=>this[_0x3b23d0(0x1e2)](_0x12068d)[_0x3b23d0(0x204)]({'commentThreadId':_0x87f57d,'context':_0x55f4ab,'attributes':_0x138cd4,'unlinkedAt':_0x22c85b})[_0x3b23d0(0x202)](y)[_0x3b23d0(0x202)](w),'resolveCommentThread':async({channelId:_0x38ec3a,threadId:_0x43274b})=>{const _0x4bae37=_0x3b23d0,_0x313a3a=await this[_0x4bae37(0x1e2)](_0x38ec3a)[_0x4bae37(0x1e3)](_0x43274b)[_0x4bae37(0x202)](y)[_0x4bae37(0x202)](w);return{'threadId':_0x313a3a[_0x4bae37(0x20f)],'resolvedAt':_0x313a3a[_0x4bae37(0x1f1)],'resolvedBy':_0x313a3a[_0x4bae37(0x1e8)]};},'reopenCommentThread':async({channelId:_0x363798,threadId:_0x29d7ff})=>this[_0x3b23d0(0x1e2)](_0x363798)[_0x3b23d0(0x1dd)](_0x29d7ff)[_0x3b23d0(0x202)](y)[_0x3b23d0(0x202)](w),'removeCommentThread':({channelId:_0xb0ae13,threadId:_0x517d17})=>this[_0x3b23d0(0x1e2)](_0xb0ae13)[_0x3b23d0(0x236)](_0x517d17)[_0x3b23d0(0x202)](y)[_0x3b23d0(0x202)](w),'addComment':({channelId:_0x3b7ed5,threadId:_0x532c21,commentId:_0x376033,content:_0x2b6d5f,attributes:_0x424f87})=>this[_0x3b23d0(0x1e2)](_0x3b7ed5)[_0x3b23d0(0x20a)](_0x532c21,_0x376033,_0x2b6d5f,_0x424f87)[_0x3b23d0(0x202)](w),'updateComment':({channelId:_0x5df8cc,threadId:_0x22a1b6,commentId:_0x4c697c,content:_0x18e8d9,attributes:_0xb4fc57})=>this[_0x3b23d0(0x1e2)](_0x5df8cc)[_0x3b23d0(0x21a)](_0x22a1b6,_0x4c697c,_0x18e8d9,_0xb4fc57)[_0x3b23d0(0x202)](y)[_0x3b23d0(0x202)](w),'removeComment':({channelId:_0x9fcb5c,threadId:_0x84f014,commentId:_0x30227a})=>this[_0x3b23d0(0x1e2)](_0x9fcb5c)[_0x3b23d0(0x20e)](_0x84f014,_0x30227a)[_0x3b23d0(0x202)](y)[_0x3b23d0(0x202)](w)},_0x3cb38b instanceof _0x5d0bf1){const _0x34742f=_0x3cb38b[_0x3b23d0(0x1ec)][_0x3b23d0(0x1e4)](_0x3b23d0(0x23d)),_0x1dd106=_0x3cb38b[_0x3b23d0(0x225)][_0x3b23d0(0x1e4)](_0x3d26ad);await this[_0x3b23d0(0x23c)](_0x34742f);const _0x1ebad9=await this[_0x3b23d0(0x21d)][_0x3b23d0(0x1e4)](_0x34742f)[_0x3b23d0(0x232)]();this[_0x3b23d0(0x235)](_0x1dd106,_0x3b23d0(0x231)+_0x34742f,(_0x3b1532,{session:_0x1e1479})=>{const _0x534250=_0x3b23d0;_0x1e1479['id']===_0x1dd106[_0x534250(0x227)]&&(_0x3b1532[_0x534250(0x217)](),this[_0x534250(0x210)][_0x534250(0x225)][_0x534250(0x1e4)](_0x534250(0x1f2))[_0x534250(0x1f5)](_0x1e1479[_0x534250(0x1fc)],_0x34742f));}),_0x1dd106[_0x3b23d0(0x203)](_0x34742f,_0x1ebad9);}}async[_0x1b1487(0x23c)](_0x5180a6){const _0x1150dd=_0x1b1487;if(this[_0x1150dd(0x21d)][_0x1150dd(0x1e9)](_0x5180a6))throw new _0x56def8(_0x1150dd(0x1ea),null,{'channelId':_0x5180a6});const _0x14df36=this[_0x1150dd(0x210)][_0x1150dd(0x225)][_0x1150dd(0x1e4)](_0x1150dd(0x1d8)),_0x585be9=new a[(_0x1150dd(0x208))](_0x5180a6);this[_0x1150dd(0x21d)][_0x1150dd(0x22a)](_0x5180a6,_0x585be9),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x1da),(_0x3f48ae,_0x55267c)=>{const _0x2ab53b=_0x1150dd,{commentThreadId:_0x380240,documentId:_0x49c983,context:_0x523deb,attributes:_0x15b627,resolvedAt:_0x280d1c,resolvedBy:_0x180de6,comments:_0x4fda2b}=_0x55267c;_0x14df36[_0x2ab53b(0x230)](_0x380240)||_0x14df36[_0x2ab53b(0x21e)]({'threadId':_0x380240,'channelId':_0x49c983,'comments':_0x4fda2b?_0x4fda2b[_0x2ab53b(0x212)](b):[],'context':_0x523deb,'attributes':_0x15b627,'resolvedAt':_0x280d1c,'resolvedBy':_0x180de6,'isFromAdapter':!0x0});}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x1de),(_0x5585ce,{commentThreadId:_0x2fe8f8,documentId:_0x5eb449,context:_0x4b3ec1,unlinkedAt:_0x501c6e,attributes:_0x1a5123})=>{const _0x1fec01=_0x1150dd;_0x14df36[_0x1fec01(0x230)](_0x2fe8f8)&&_0x14df36[_0x1fec01(0x204)]({'threadId':_0x2fe8f8,'channelId':_0x5eb449,'context':_0x4b3ec1,'unlinkedAt':_0x501c6e,'attributes':_0x1a5123,'isFromAdapter':!0x0});}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x224),(_0x390c15,{commentThreadId:_0x34d3ea,resolvedBy:_0x57623b,resolvedAt:_0x40b9c3})=>{const _0x1f2cdd=_0x1150dd,_0x554aa7=_0x14df36[_0x1f2cdd(0x230)](_0x34d3ea);_0x554aa7&&_0x554aa7[_0x1f2cdd(0x21c)]({'resolvedBy':_0x57623b,'resolvedAt':_0x40b9c3,'isFromAdapter':!0x0});}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x216),(_0x2b67bf,{commentThreadId:_0x407263})=>{const _0x24f6cc=_0x1150dd,_0x51f861=_0x14df36[_0x24f6cc(0x230)](_0x407263);_0x51f861&&_0x51f861[_0x24f6cc(0x206)]({'isFromAdapter':!0x0});}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x21f),(_0xf02520,{commentThreadId:_0x81fd1a})=>{const _0x37a81a=_0x1150dd,_0x1dcbf1=_0x14df36[_0x37a81a(0x230)](_0x81fd1a);_0x1dcbf1&&_0x1dcbf1[_0x37a81a(0x223)]({'isFromAdapter':!0x0});}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x23b),(_0x37e1b6,_0x42b2f0)=>{const _0x29f412=_0x1150dd,_0x45909a=_0x42b2f0[_0x29f412(0x20f)],_0x1dea02=_0x14df36[_0x29f412(0x230)](_0x45909a);_0x1dea02&&_0x1dea02[_0x29f412(0x20a)]({...b(_0x42b2f0),'isFromAdapter':!0x0});}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x1e6),(_0x384a08,{commentThreadId:_0x4a5abb,commentId:_0x168349,content:_0x58e52f,attributes:_0x46e2a5})=>{const _0x2edd49=_0x1150dd,_0x39190f=_0x14df36[_0x2edd49(0x230)](_0x4a5abb);if(_0x39190f){const _0x568053=_0x39190f[_0x2edd49(0x1e0)](_0x168349);_0x568053&&_0x568053[_0x2edd49(0x1db)]({'content':_0x58e52f,'attributes':_0x46e2a5,'isFromAdapter':!0x0});}}),this[_0x1150dd(0x235)](_0x585be9,_0x1150dd(0x1ed),(_0x4e4162,{commentThreadId:_0x2a0c2f,commentId:_0x22d6e2})=>{const _0x49cda2=_0x1150dd,_0x114611=_0x14df36[_0x49cda2(0x230)](_0x2a0c2f);if(_0x114611){const _0x10d1a2=_0x114611[_0x49cda2(0x1e0)](_0x22d6e2);_0x10d1a2&&_0x10d1a2[_0x49cda2(0x223)]({'isFromAdapter':!0x0});}}),await this[_0x1150dd(0x1dc)](_0x5180a6);}[_0x1b1487(0x1d9)](){const _0x3b330b=_0x1b1487;if(this[_0x3b330b(0x210)]instanceof _0x5d0bf1){const _0x40b969=this[_0x3b330b(0x210)][_0x3b330b(0x1ec)][_0x3b330b(0x1e4)](_0x3b330b(0x23d));this[_0x3b330b(0x1e5)](_0x40b969);}}[_0x1b1487(0x1e5)](_0x35e401){const _0x3dbcb2=_0x1b1487;if(!this[_0x3dbcb2(0x21d)][_0x3dbcb2(0x1e9)](_0x35e401))throw new _0x56def8(_0x3dbcb2(0x21b),null,{'channelId':_0x35e401});this[_0x3dbcb2(0x1e2)](_0x35e401)[_0x3dbcb2(0x215)](),this[_0x3dbcb2(0x21d)][_0x3dbcb2(0x1f3)](_0x35e401);}async[_0x1b1487(0x207)](){const _0x45bdd2=_0x1b1487;for(const _0x493f9e of this[_0x45bdd2(0x21d)][_0x45bdd2(0x22c)]())await this[_0x45bdd2(0x1dc)](_0x493f9e);if(this[_0x45bdd2(0x210)]instanceof _0x5d0bf1){const _0x1c4fd3=this[_0x45bdd2(0x210)][_0x45bdd2(0x1ec)][_0x45bdd2(0x1e4)](_0x45bdd2(0x23d)),_0x1de725=this[_0x45bdd2(0x210)][_0x45bdd2(0x225)][_0x45bdd2(0x1e4)](_0x3d26ad);_0x1de725[_0x45bdd2(0x20c)](_0x1c4fd3);const _0x29a965=await this[_0x45bdd2(0x21d)][_0x45bdd2(0x1e4)](_0x1c4fd3)[_0x45bdd2(0x232)]();_0x1de725[_0x45bdd2(0x203)](_0x1c4fd3,_0x29a965);}}async[_0x1b1487(0x1dc)](_0x29a4dd){const _0x3f68ca=_0x1b1487,{connection:_0x3d4af5}=this[_0x3f68ca(0x210)][_0x3f68ca(0x225)][_0x3f68ca(0x1e4)](_0x257fb9),_0x4a3901=this[_0x3f68ca(0x210)][_0x3f68ca(0x225)][_0x3f68ca(0x1e4)](_0x3f68ca(0x1d8)),_0x324044=this[_0x3f68ca(0x21d)][_0x3f68ca(0x1e4)](_0x29a4dd),_0x3dd65f=await _0x324044[_0x3f68ca(0x228)](_0x3d4af5);await this[_0x3f68ca(0x237)](_0x3dd65f);const _0x114dde=new Set(Array[_0x3f68ca(0x1f8)](_0x4a3901[_0x3f68ca(0x1ff)]({'channelId':_0x29a4dd}),_0x2b3c5a=>_0x2b3c5a['id']));for(const _0x21f253 of _0x3dd65f)_0x21f253[_0x3f68ca(0x222)]||_0x114dde[_0x3f68ca(0x1f3)](_0x21f253[_0x3f68ca(0x20f)]);for(const _0x325088 of _0x114dde)_0x4a3901[_0x3f68ca(0x230)](_0x325088)[_0x3f68ca(0x223)]({'isFromAdapter':!0x0});for(const _0x5d1735 of _0x3dd65f){let _0x58e00a=_0x4a3901[_0x3f68ca(0x230)](_0x5d1735[_0x3f68ca(0x20f)]);const {commentThreadId:_0x48e626,context:_0x54827f,attributes:_0x5cc6ae,resolvedBy:_0x5dd020,resolvedAt:_0x19a7b4,unlinkedAt:_0x16dedb,deletedAt:_0x154834}=_0x5d1735;if(_0x154834)continue;_0x58e00a||(_0x58e00a=_0x4a3901[_0x3f68ca(0x21e)]({'channelId':_0x29a4dd,'threadId':_0x48e626,'context':_0x54827f,'attributes':_0x5cc6ae||{},'resolvedBy':_0x5dd020,'resolvedAt':_0x19a7b4,'unlinkedAt':_0x16dedb,'isFromAdapter':!0x0}));const _0x5f1d9b=new Set(Array[_0x3f68ca(0x1f8)](_0x58e00a[_0x3f68ca(0x22f)],_0x548ce9=>_0x548ce9['id']));for(const _0x45f9d7 of _0x5d1735[_0x3f68ca(0x22f)])_0x5f1d9b[_0x3f68ca(0x1f3)](_0x45f9d7[_0x3f68ca(0x226)]);for(const _0x332ecd of _0x5f1d9b)_0x58e00a[_0x3f68ca(0x1e0)](_0x332ecd)[_0x3f68ca(0x223)]({'isFromAdapter':!0x0});for(const _0x4406a3 of _0x5d1735[_0x3f68ca(0x22f)]){const _0x2f605c=_0x58e00a[_0x3f68ca(0x1e0)](_0x4406a3[_0x3f68ca(0x226)]);_0x2f605c?_0x2f605c[_0x3f68ca(0x1f9)]!==_0x4406a3[_0x3f68ca(0x1f9)]&&_0x2f605c[_0x3f68ca(0x1db)]({'content':_0x4406a3[_0x3f68ca(0x1f9)],'isFromAdapter':!0x0}):_0x58e00a[_0x3f68ca(0x20a)](Object[_0x3f68ca(0x1f0)](b(_0x4406a3),{'isFromAdapter':!0x0}));}}}[_0x1b1487(0x1e2)](_0x54774e){const _0x5d5613=_0x1b1487;if(!this[_0x5d5613(0x21d)][_0x5d5613(0x1e9)](_0x54774e))throw new _0x56def8(_0x5d5613(0x1fa),null,{'channelId':_0x54774e});return this[_0x5d5613(0x21d)][_0x5d5613(0x1e4)](_0x54774e);}async[_0x1b1487(0x237)](_0x394827){const _0x4e1e97=_0x1b1487,_0x8a30b1=this[_0x4e1e97(0x210)][_0x4e1e97(0x225)][_0x4e1e97(0x1e4)](_0x51d85c),{connection:_0x390658}=this[_0x4e1e97(0x210)][_0x4e1e97(0x225)][_0x4e1e97(0x1e4)](_0x257fb9),_0x2b3346=new Set();for(const {resolvedBy:_0x2de926,comments:_0x5c25e2}of _0x394827){_0x2de926&&!_0x8a30b1[_0x4e1e97(0x1f6)](_0x2de926)&&_0x2b3346[_0x4e1e97(0x1df)](_0x2de926);for(const {userId:_0x14a200}of _0x5c25e2)_0x8a30b1[_0x4e1e97(0x1f6)](_0x14a200)||_0x2b3346[_0x4e1e97(0x1df)](_0x14a200);}if(0x0===_0x2b3346[_0x4e1e97(0x1eb)])return;const _0x3e78cb=await _0x270bde[_0x4e1e97(0x1f4)](_0x390658,Array[_0x4e1e97(0x1f8)](_0x2b3346));for(const _0x3fe77f of _0x3e78cb)_0x8a30b1[_0x4e1e97(0x1f6)](_0x3fe77f['id'])||_0x8a30b1[_0x4e1e97(0x234)](_0x3fe77f);}}a[_0x1b1487(0x208)]=_0x1ec404;export default a;async function y(_0xa59aba){const _0x5afdb0=_0x1b1487;if(_0x5afdb0(0x1fd)!==_0xa59aba[_0x5afdb0(0x229)])throw _0xa59aba;}function w(_0x3dc4b2){const _0x352ba0=_0x1b1487;if((_0x4fca17=_0x3dc4b2)[_0x352ba0(0x1ef)][_0x352ba0(0x22d)](_0x352ba0(0x1f7))||_0x4fca17[_0x352ba0(0x1ef)][_0x352ba0(0x22d)](_0x352ba0(0x1fe))||_0x4fca17[_0x352ba0(0x1ef)][_0x352ba0(0x22d)](_0x352ba0(0x238)))return new Promise(()=>{});var _0x4fca17;throw _0x3dc4b2;}function _0xd5ac(_0x1b8db7,_0x1a3f2d){const _0x4c4207=_0x4c42();return _0xd5ac=function(_0xd5ac76,_0x357c23){_0xd5ac76=_0xd5ac76-0x1d8;let _0x4f2188=_0x4c4207[_0xd5ac76];return _0x4f2188;},_0xd5ac(_0x1b8db7,_0x1a3f2d);}function b(_0x10b037){const _0x32d20f=_0x1b1487;return{'threadId':_0x10b037[_0x32d20f(0x20f)],'commentId':_0x10b037[_0x32d20f(0x226)],'content':_0x10b037[_0x32d20f(0x1f9)],'createdAt':_0x10b037[_0x32d20f(0x22b)],'authorId':_0x10b037[_0x32d20f(0x22e)],'attributes':_0x10b037[_0x32d20f(0x1e1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3715a6=_0x3be0;(function(_0x4c0631,_0x3d85d4){const _0x5c2d9d=_0x3be0,_0x574b64=_0x4c0631();while(!![]){try{const _0x240cb7=-parseInt(_0x5c2d9d(0x165))/0x1+-parseInt(_0x5c2d9d(0x1c2))/0x2+parseInt(_0x5c2d9d(0xd8))/0x3+-parseInt(_0x5c2d9d(0x19e))/0x4+-parseInt(_0x5c2d9d(0x123))/0x5*(parseInt(_0x5c2d9d(0xef))/0x6)+-parseInt(_0x5c2d9d(0x124))/0x7*(parseInt(_0x5c2d9d(0x186))/0x8)+parseInt(_0x5c2d9d(0x15a))/0x9*(parseInt(_0x5c2d9d(0xed))/0xa);if(_0x240cb7===_0x3d85d4)break;else _0x574b64['push'](_0x574b64['shift']());}catch(_0x34820a){_0x574b64['push'](_0x574b64['shift']());}}}(_0x29cd,0x4ec89));import{Plugin as _0x1b5d80,PendingActions as _0x2ca074}from'ckeditor5/src/core.js';function _0x3be0(_0x1593e4,_0x4d76cf){const _0x29cdfb=_0x29cd();return _0x3be0=function(_0x3be0ce,_0x532fc0){_0x3be0ce=_0x3be0ce-0xd1;let _0x48dee2=_0x29cdfb[_0x3be0ce];return _0x48dee2;},_0x3be0(_0x1593e4,_0x4d76cf);}import{CKEditorError as _0x2259e5,version as _0x2bb59a,uid as _0x21fa3f}from'ckeditor5/src/utils.js';import{Notification as _0x234970}from'ckeditor5/src/ui.js';import{transformSets as _0x5603fa,NoOperation as _0x33824e,InsertOperation as _0x309714,MarkerOperation as _0x495286,RootAttributeOperation as _0x2ca858,OperationFactory as _0x2fed75,History as _0x2a1894}from'ckeditor5/src/engine.js';import _0x25650c from'./websocketgateway.js';import _0x3445c6 from'./sessions.js';import _0x43b129 from'./usermarkers.js';function _0x29cd(){const _0x40dece=['enqueueChange','change:_isPendingUpdate','rootName','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.','rtc-offline','_operationIdentifier','type','error','PENDING_ACTION_SENDING_DATA','_connectAfterSessionHasBeenFlushed','_isLoaded','isDocumentOperation','getRoot','userId','path','_handleExternalOperations','bind','ready','getOperationAuthor','set','version','connected','end','1763244OmbKVo','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','_bufferRootLoad','isOfficialPlugin','disconnected','directChange','cloud-services-internal-error:\x20Request\x20timeout.','_handleReceivedOperations','roots','initData','disableReadOnlyMode','insert','getUser','filter','cloudServices.bundleVersion','_disconnectionOperations','lastSyncVersion','_isAttached','reconnect','_initSessionsHandling','10DbTfYF','addRoot','11082GtPIuH','change:_isEditingAllowed','change:hasDomSelection','_shouldSendUpdate','_pendingAction','unregister','define','createdAt','length','_isInit','cloud-services-internal-error:\x20Not\x20connected.','config','batch','isUndoneOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','_handleServerResponse','getMany','position','compress','addRootAttribute','_handleReconnectionResponse','cloudDocumentVersion','_waitUntilSynced','createPositionAt','_sendBufferedOperations','_shouldSendSelectionUpdate','real-time-collaboration','InsertOperation','_handleReconnectionError','disconnect','_isConnected','markers','stopListening','_clearPendingAction','_setUpDataInit','CollaborativeEditingService','setPermissions','slice','_getAffectedRoot','state','register','serverHistory','realtimecollaborationclient-init-session-connection-error','_compressor','_setPendingAction','__className','history','high','_crash','return','Synchronization\x20issue','815oPFOET','1099knQPdT','differ','_sendBufferedOperationsDelayed','wasUndone','sessionAdd:','permissions','targetPosition','$root','_getOperationsFromInitData','pluginName','editing','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','document:write','sessionId','_disconnectService','start','_currentBufferDelay','_addKnownRoot','_compressOperations','selection','_baseBufferDelay','lastOperationAcceptedAt','collaboration-missing-channelid','wereChangesApplied','lastDocumentSession','_applyOperationsSet','_knownRootNames','message','_handleInitialConnectionData','fromJSON','createPositionFromPath','multi-root-editor-root-attributes-no-root','addUser','setIdForTheLastOperation','_loadRoot','showWarning','reset','sessionCreatedAt','CommentsOnly','requires','then','realtimecollaborationclient-init-document-already-initialized','plugins','stop','_document','string','clone','round','_operationToId','_authorId','_saveOperationInBuffer','view','init','collaboration','13706910DjTqNI','attributes','409','from','realtimecollaborationclient-handleserverresponse','keys','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.','_ignoredOperations','enableReadOnlyMode','_initThrowingOnDataSet','_sendBufferedOperationsDelayId','360204CxugDF','includes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','change:range','baseVersion','_lastServerVersion','_lastSyncedOperationId','realtimecollaborationclient-init-connection-failed','createUserMarkerOperations','decompress','_knownOperations','marker','realtimecollaborationclient-error','channelSessions','document','push','collaboration.channelId','realtimecollaborationclient-init-non-existent-root','Notification','connection','_isPendingUpdate','getIdOfTheLastOperation','loadRoot','createRange','editor','suppressErrorInCollaboration','realtimecollaborationclient-initservice-incorrect-server-operation','root','_fetchMissingUsers','addOperation','apply','getConnectedSessions','25592ffpVeX','realtimecollaborationclient-initservice-internal-error','forEach','rtc-destroyed','_bufferedOperations','_service','_isDisconnection','createRoot','affectsData','operationsReceived','get','listenTo','reconnection:\x20flushed\x20session','_hasSelectionChanged','_decompressOperations','newRange','destroy','sendOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','toJSON','isEnabled','entries','_handleSendingSelectionMarkers','removeFromReconnectionStack','584660KPXGZk','addToReconnectionStack','Permissions','_offset','has','move','getOperations','getDocumentDetails','_updateServerHistory','fire','_refreshUserSelectionMarkers','connect','currentDocumentSession','isReadOnly','_channelId','mySessionId','data','startsWith','off','404','remove','applyOperation','add','code','finally','_isEditingAllowed','cs:removeUser','catch','metadata','locale','offset','size','lastOperationId','rootsAttributes','isPremiumPlugin','map','956736LPUrZT','model','RealTimeCollaborationClient','parse'];_0x29cd=function(){return _0x40dece;};return _0x29cd();}import{getTranslation as _0x3bb041}from'../common-translations.js';import{Compressor as _0x1d3e3d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5a7349}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x10fb90,CollaborativeEditingService as _0x27c7ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x1b5d80{static get[_0x3715a6(0x14b)](){return[_0x25650c,_0x3445c6,_0x43b129,_0x2ca074,_0x5a7349,_0x234970];}static get[_0x3715a6(0x12d)](){const _0x47e5fa=_0x3715a6;return _0x47e5fa(0x1c4);}static get[_0x3715a6(0xdc)](){return!0x0;}static get[_0x3715a6(0x1c0)](){return!0x0;}get[_0x3715a6(0x105)](){const _0x4f1f08=_0x3715a6;return this[_0x4f1f08(0x16b)]+this[_0x4f1f08(0x1a1)];}get[_0x3715a6(0x16b)](){const _0x59b0cc=_0x3715a6;return this[_0x59b0cc(0x119)][_0x59b0cc(0xd5)]-this[_0x59b0cc(0x1a1)];}get[_0x3715a6(0xe9)](){const _0x1e5eac=_0x3715a6,_0x156365=this[_0x1e5eac(0x119)][_0x1e5eac(0x1a4)]();for(let _0x35767f=_0x156365[_0x1e5eac(0xf7)]-0x1;_0x35767f>=0x0;_0x35767f--){const _0x21e4f5=_0x156365[_0x35767f];if(!this[_0x1e5eac(0xe8)][_0x1e5eac(0x1a2)](_0x21e4f5))return _0x21e4f5[_0x1e5eac(0x16a)]+0x1-this[_0x1e5eac(0x1a1)];}return 0x0;}constructor(_0x23b609){const _0x554c57=_0x3715a6;if(super(_0x23b609),this[_0x554c57(0x1a1)]=0x0,this[_0x554c57(0x131)]=null,this[_0x554c57(0x119)]=new _0x2a1894(),this[_0x554c57(0x17e)][_0x554c57(0xfa)][_0x554c57(0xf5)](_0x554c57(0x159),{}),this[_0x554c57(0x1ac)]=this[_0x554c57(0x17e)][_0x554c57(0xfa)][_0x554c57(0x190)](_0x554c57(0x176)),!this[_0x554c57(0x1ac)])throw new _0x2259e5(_0x554c57(0x13a),this);const _0x5a1703=_0x23b609[_0x554c57(0xfa)][_0x554c57(0x190)](_0x554c57(0xe7))||_0x2bb59a;this[_0x554c57(0x18b)]=new l[(_0x554c57(0x113))](_0x5a1703,this[_0x554c57(0x1ac)]),this[_0x554c57(0x150)]=this[_0x554c57(0x17e)][_0x554c57(0x1c3)][_0x554c57(0x174)],this[_0x554c57(0x11b)]=new _0x1d3e3d(),this[_0x554c57(0x18a)]=[],this[_0x554c57(0x170)]=new WeakSet(),this[_0x554c57(0x13e)]=new Set(),this[_0x554c57(0xd4)](_0x554c57(0x17a),!0x1),this[_0x554c57(0xd4)](_0x554c57(0xda),!0x1),this[_0x554c57(0xf3)]=null,this[_0x554c57(0x193)]=!0x1,this[_0x554c57(0x164)]=null,this[_0x554c57(0x138)]=0x12c,this[_0x554c57(0x134)]=this[_0x554c57(0x138)],this[_0x554c57(0x16c)]=null,this[_0x554c57(0xe8)]=new WeakSet(),this[_0x554c57(0x1cb)]=new it(this[_0x554c57(0xe8)]);}[_0x3715a6(0x158)](){const _0x21cabf=_0x3715a6,_0x2fc2a3=this[_0x21cabf(0x17e)],_0x25bb73=_0x2fc2a3[_0x21cabf(0x14e)][_0x21cabf(0x190)](_0x5a7349),_0x54f8f4=_0x2fc2a3[_0x21cabf(0x14e)][_0x21cabf(0x190)](_0x25650c);this[_0x21cabf(0x191)](_0x25bb73,_0x21cabf(0xd3),(_0x41a7dd,_0x538e2a)=>{const _0x82ec20=_0x21cabf,_0x4f6d0a=_0x538e2a[0x0];_0x4f6d0a[_0x82ec20(0x155)]&&(_0x41a7dd[_0x82ec20(0x121)]=_0x25bb73[_0x82ec20(0xe5)](_0x4f6d0a[_0x82ec20(0x155)]),_0x41a7dd[_0x82ec20(0x14f)]()),null===_0x4f6d0a[_0x82ec20(0x155)]&&(_0x41a7dd[_0x82ec20(0x121)]=null,_0x41a7dd[_0x82ec20(0x14f)]());},{'priority':_0x21cabf(0x11f)}),this[_0x21cabf(0x191)](_0x2fc2a3[_0x21cabf(0x1c3)][_0x21cabf(0x174)][_0x21cabf(0x137)],_0x21cabf(0x169),(_0x427fe6,_0x348b8b)=>{const _0x5dc619=_0x21cabf;_0x348b8b[_0x5dc619(0xde)]&&this[_0x5dc619(0x1a8)]();}),this[_0x21cabf(0x191)](_0x2fc2a3[_0x21cabf(0x12e)][_0x21cabf(0x157)],_0x21cabf(0xf1),()=>{const _0x76f7cc=_0x21cabf;this[_0x76f7cc(0x1a8)]();}),this[_0x21cabf(0x163)](),_0x2fc2a3[_0x21cabf(0x1c3)]['on'](_0x21cabf(0x1b3),(_0x37a018,_0xbda299)=>{const _0x20fe17=_0x21cabf,_0x4d473d=_0xbda299[0x0];_0x4d473d[_0x20fe17(0x1d1)]&&(this[_0x20fe17(0x156)](_0x4d473d),this[_0x20fe17(0xf2)]()&&this[_0x20fe17(0x126)]());}),this[_0x21cabf(0x112)](),this[_0x21cabf(0xd1)](_0x21cabf(0x1b7))['to'](_0x54f8f4,_0x21cabf(0x117),this,_0x21cabf(0xda),(_0x2b0ac0,_0xc69124)=>_0x21cabf(0xd6)===_0x2b0ac0&&!_0xc69124),this['on'](_0x21cabf(0xf0),()=>{const _0x2f1f26=_0x21cabf;this[_0x2f1f26(0x1b7)]?_0x2fc2a3[_0x2f1f26(0xe3)](_0x2f1f26(0x1ca)):_0x2fc2a3[_0x2f1f26(0x162)](_0x2f1f26(0x1ca));}),this[_0x21cabf(0x1b7)]?_0x2fc2a3[_0x21cabf(0xe3)](_0x21cabf(0x1ca)):_0x2fc2a3[_0x21cabf(0x162)](_0x21cabf(0x1ca)),this[_0x21cabf(0xd4)](_0x21cabf(0x10e),!0x1);}async[_0x3715a6(0xeb)](){const _0x2a54e4=_0x3715a6,_0x479e75=this[_0x2a54e4(0x17e)][_0x2a54e4(0x14e)][_0x2a54e4(0x190)](_0x3445c6),_0x34168b=this[_0x2a54e4(0x17e)][_0x2a54e4(0x14e)][_0x2a54e4(0x190)](_0x25650c);try{this[_0x2a54e4(0x17a)]=!0x0,_0x479e75[_0x2a54e4(0xf4)](this[_0x2a54e4(0x1ac)]);const _0xf889b9=await this[_0x2a54e4(0x18b)][_0x2a54e4(0xeb)](_0x34168b[_0x2a54e4(0x179)],this[_0x2a54e4(0xe9)]);await this[_0x2a54e4(0x104)](_0xf889b9)&&(this[_0x2a54e4(0x17a)]=!0x1,this[_0x2a54e4(0x111)]());const _0x11e6d2=await this[_0x2a54e4(0x18b)][_0x2a54e4(0x185)]();_0x479e75[_0x2a54e4(0x118)](this[_0x2a54e4(0x1ac)],_0x11e6d2),this[_0x2a54e4(0x19c)](),this[_0x2a54e4(0x10e)]=!0x0;}catch(_0x4ad71b){if(function(_0x10fb73){const _0x4ef799=_0x2a54e4;return _0x4ef799(0x1b1)===_0x10fb73[_0x4ef799(0x1b5)];}(_0x4ad71b)&&this[_0x2a54e4(0x131)])await this[_0x2a54e4(0x1cf)]();else{if(function(_0x7c9371){const _0x4af8d2=_0x2a54e4;return _0x4af8d2(0x15c)===_0x7c9371[_0x4af8d2(0x1b5)];}(_0x4ad71b)){const _0x15ec63=_0x3bb041(this[_0x2a54e4(0x17e)][_0x2a54e4(0x1bb)],_0x2a54e4(0x167));this[_0x2a54e4(0x10c)](_0x15ec63);}else{if(!(_0x4ad71b instanceof Z))throw _0x4ad71b;this[_0x2a54e4(0x10c)]();}}}}[_0x3715a6(0x196)](){const _0x58cdb4=_0x3715a6,_0x233d66=this[_0x58cdb4(0x17e)][_0x58cdb4(0x14e)][_0x58cdb4(0x190)](_0x25650c),_0x37f3b7=this[_0x58cdb4(0x17e)][_0x58cdb4(0x14e)][_0x58cdb4(0x190)](_0x3445c6);this[_0x58cdb4(0x17e)][_0x58cdb4(0x162)](_0x58cdb4(0x189)),_0x37f3b7[_0x58cdb4(0x173)][_0x58cdb4(0x1a2)](this[_0x58cdb4(0x1ac)])&&_0x37f3b7[_0x58cdb4(0xf4)](this[_0x58cdb4(0x1ac)]),_0x233d66[_0x58cdb4(0x19d)](this),this[_0x58cdb4(0x132)](),super[_0x58cdb4(0x196)]();}async[_0x3715a6(0x104)](_0x107d61){const _0xa4f274=_0x3715a6;if(this[_0xa4f274(0x131)]!==_0x107d61[_0xa4f274(0x131)]&&this[_0xa4f274(0x16c)]!==_0x107d61[_0xa4f274(0x1be)])throw new Z();return this[_0xa4f274(0x131)]=_0x107d61[_0xa4f274(0x131)],this[_0xa4f274(0xff)]([],{..._0x107d61,'wereChangesApplied':!0x1,'data':_0x107d61[_0xa4f274(0x1ae)]},_0xa4f274(0xeb));}async[_0x3715a6(0x168)](_0x1f4487,_0x53e562=!0x1){const _0x189735=_0x3715a6,{connection:_0x4a4ce8}=this[_0x189735(0x17e)][_0x189735(0x14e)][_0x189735(0x190)](_0x25650c);l[_0x189735(0x113)][_0x189735(0x185)](_0x4a4ce8,this[_0x189735(0x1ac)])[_0x189735(0x14c)](_0x2a5007=>this[_0x189735(0xec)](_0x2a5007))[_0x189735(0x1b9)](_0x2475d6=>{const _0x591c9c=_0x189735;this[_0x591c9c(0x120)](_0x591c9c(0x11a),_0x2475d6);}),this[_0x189735(0x191)](this[_0x189735(0x18b)],_0x189735(0x18f),this[_0x189735(0xe0)][_0x189735(0xd1)](this)),this[_0x189735(0x191)](this[_0x189735(0x18b)],_0x189735(0x1cd),(_0x535166,_0x4c3665)=>{const _0x5486ab=_0x189735;this[_0x5486ab(0x120)](_0x5486ab(0x187),_0x4c3665);}),this[_0x189735(0x191)](this[_0x189735(0x18b)],_0x189735(0xdd),()=>{const _0x413f69=_0x189735;this[_0x413f69(0x10e)]=!0x1;});const _0x320d37=this[_0x189735(0x1cb)][_0x189735(0x17b)](_0x1f4487);this[_0x189735(0x17a)]=!0x0;const _0x37cb88=await this[_0x189735(0x18b)][_0x189735(0x1a9)](_0x4a4ce8,this[_0x189735(0x136)](_0x1f4487),_0x320d37);if(this[_0x189735(0x131)]=_0x37cb88[_0x189735(0x131)],_0x53e562){if(!_0x37cb88[_0x189735(0x13b)])return void this[_0x189735(0x10c)]();this[_0x189735(0x17a)]=!0x1,this[_0x189735(0x111)](),this[_0x189735(0x119)][_0x189735(0x148)](),this[_0x189735(0x1a1)]=_0x37cb88[_0x189735(0x1bc)],this[_0x189735(0x119)][_0x189735(0xd5)]=this[_0x189735(0x1a1)],await this[_0x189735(0xff)](_0x1f4487,_0x37cb88,_0x189735(0x192));}else await this[_0x189735(0x140)](_0x37cb88,_0x1f4487);this[_0x189735(0x19c)](),this[_0x189735(0x10e)]=!0x0;}[_0x3715a6(0x19c)](){const _0x435a3a=_0x3715a6,_0x44746c=this[_0x435a3a(0x17e)][_0x435a3a(0x14e)][_0x435a3a(0x190)](_0x3445c6),_0x23b8e6=this[_0x435a3a(0x17e)][_0x435a3a(0x14e)][_0x435a3a(0x190)](_0x43b129),_0x57e799=_0x44746c[_0x435a3a(0x173)][_0x435a3a(0x190)](this[_0x435a3a(0x1ac)]);_0x57e799&&_0x57e799[_0x435a3a(0xf7)]>0x1?_0x23b8e6[_0x435a3a(0x16e)]():this[_0x435a3a(0x191)](_0x44746c,_0x435a3a(0x128)+this[_0x435a3a(0x1ac)],()=>{const _0x3b942a=_0x435a3a;0x2===_0x44746c[_0x3b942a(0x173)][_0x3b942a(0x190)](this[_0x3b942a(0x1ac)])[_0x3b942a(0xf7)]&&_0x23b8e6[_0x3b942a(0x16e)]();});}async[_0x3715a6(0xe0)](_0x5189e5,_0x43a06f,_0x46187c,_0x5f09e3){const _0x10a7fc=_0x3715a6;if(!this[_0x10a7fc(0x17a)]&&this[_0x10a7fc(0x150)][_0x10a7fc(0xd5)]==_0x43a06f){const _0x23f608=this[_0x10a7fc(0x194)](_0x46187c,_0x5f09e3);await this[_0x10a7fc(0x182)](_0x23f608),this[_0x10a7fc(0x1d5)](_0x23f608,_0x43a06f,_0x46187c[_0x10a7fc(0x1be)])||this[_0x10a7fc(0x120)](_0x10a7fc(0x180));}}async[_0x3715a6(0x1cf)](){const _0x24d6e0=_0x3715a6;this[_0x24d6e0(0x132)]();const {locale:_0xa221c3}=this[_0x24d6e0(0x17e)];let _0x24625b;try{_0x24625b=await this[_0x24d6e0(0x18b)][_0x24d6e0(0x1a5)]();}catch(_0x1d7bd8){const _0x532ded=_0x3bb041(_0xa221c3,_0x24d6e0(0xfd));return void this[_0x24d6e0(0x10c)](_0x532ded);}const _0x3983f0=_0x24625b[_0x24d6e0(0x1aa)]||_0x24625b[_0x24d6e0(0x13c)];if(this[_0x24d6e0(0x16c)]===_0x3983f0[_0x24d6e0(0x1be)])await this[_0x24d6e0(0x168)](this[_0x24d6e0(0x17e)][_0x24d6e0(0x1c3)][_0x24d6e0(0x174)][_0x24d6e0(0x11e)][_0x24d6e0(0x1a4)](),!0x0);else{const _0x34ed13=_0x3bb041(_0xa221c3,_0x24d6e0(0x1c9));this[_0x24d6e0(0x10c)](_0x34ed13);}}[_0x3715a6(0x132)](){const _0x7460b7=_0x3715a6;this[_0x7460b7(0x18b)][_0x7460b7(0x10d)](),this[_0x7460b7(0x18a)]=[],clearTimeout(this[_0x7460b7(0x164)]),this[_0x7460b7(0x110)](this[_0x7460b7(0x18b)]);}[_0x3715a6(0xec)](_0x186bf2){const _0x27ff22=_0x3715a6,_0x333b6f=this[_0x27ff22(0x17e)][_0x27ff22(0x14e)][_0x27ff22(0x190)](_0x3445c6);this[_0x27ff22(0x191)](_0x333b6f,_0x27ff22(0x128)+this[_0x27ff22(0x1ac)],(_0x57bd1d,{session:_0x2bf31b})=>{const _0x155220=_0x27ff22;if(_0x2bf31b['id']===_0x333b6f[_0x155220(0x1ad)]){_0x57bd1d[_0x155220(0x1b0)]();const _0x2790f9=this[_0x155220(0x17e)][_0x155220(0x14e)][_0x155220(0x1a2)](_0x155220(0x14a))&&this[_0x155220(0x17e)][_0x155220(0x14e)][_0x155220(0x190)](_0x155220(0x14a));let _0x3d90b1=_0x2bf31b[_0x155220(0x129)];_0x2790f9&&_0x2790f9[_0x155220(0x19a)]&&(_0x3d90b1=_0x3d90b1[_0x155220(0xe6)](_0x51ed97=>_0x155220(0x130)!==_0x51ed97)),this[_0x155220(0x17e)][_0x155220(0x14e)][_0x155220(0x190)](_0x155220(0x1a0))[_0x155220(0x114)](_0x3d90b1,this[_0x155220(0x1ac)]);}}),_0x333b6f[_0x27ff22(0x118)](this[_0x27ff22(0x1ac)],_0x186bf2);}[_0x3715a6(0x163)](){const _0x472218=_0x3715a6,_0x2590db=this[_0x472218(0x17e)][_0x472218(0x1ae)][_0x472218(0xd4)];this[_0x472218(0x17e)][_0x472218(0x1ae)][_0x472218(0xd4)]=(..._0x17e3f5)=>{const _0x4d12c7=_0x472218;if(!_0x17e3f5[_0x17e3f5[_0x4d12c7(0xf7)]-0x1][_0x4d12c7(0x17f)])throw new _0x2259e5(_0x4d12c7(0x198),this);_0x2590db[_0x4d12c7(0x184)](this[_0x4d12c7(0x17e)][_0x4d12c7(0x1ae)],_0x17e3f5);};}[_0x3715a6(0x112)](){const _0x45b10c=_0x3715a6;this[_0x45b10c(0x17e)][_0x45b10c(0x1ae)]['on'](_0x45b10c(0x158),(_0x45f3ea,[_0x232111])=>{const _0xe4b03f=_0x45b10c;if(this[_0xe4b03f(0x150)][_0xe4b03f(0xd5)])throw new _0x2259e5(_0xe4b03f(0x14d),this);_0x45f3ea[_0xe4b03f(0x14f)](),this[_0xe4b03f(0x11c)]();const _0x4a451c=this[_0xe4b03f(0x17e)][_0xe4b03f(0xfa)][_0xe4b03f(0x190)](_0xe4b03f(0x1bf)),_0x3b40c5=this[_0xe4b03f(0x12c)](_0x232111,_0x4a451c);0x0==_0x3b40c5[_0xe4b03f(0xf7)]&&_0x3b40c5[_0xe4b03f(0x175)](new _0x33824e(0x0)),_0x45f3ea[_0xe4b03f(0x121)]=this[_0xe4b03f(0x168)](_0x3b40c5)[_0xe4b03f(0x14c)](()=>{const _0x27bf5e=_0xe4b03f;this[_0x27bf5e(0x17e)][_0x27bf5e(0x14e)][_0x27bf5e(0x190)](_0x25650c)[_0x27bf5e(0x19f)](this),this[_0x27bf5e(0x17e)][_0x27bf5e(0x1ae)][_0x27bf5e(0x1a7)](_0x27bf5e(0xd2));})[_0xe4b03f(0x1b9)](_0x590242=>this[_0xe4b03f(0x120)](_0xe4b03f(0x16d),_0x590242))[_0xe4b03f(0x1b6)](()=>this[_0xe4b03f(0x111)]());},{'priority':_0x45b10c(0x11f)}),this[_0x45b10c(0x17e)]['on'](_0x45b10c(0x17c),async(_0xb0541e,[_0x3214fa,_0x1c79c8])=>{const _0xa8daa7=_0x45b10c;_0xb0541e[_0xa8daa7(0x14f)]();const _0x180369=this[_0xa8daa7(0x17e)][_0xa8daa7(0x1c3)][_0xa8daa7(0x174)][_0xa8daa7(0x1d2)](_0x3214fa);if(!this[_0xa8daa7(0x13e)][_0xa8daa7(0x1a2)](_0x3214fa)){const _0x18f97a=_0x1c79c8&&_0x1c79c8[_0xa8daa7(0x1ae)]?_0x1c79c8[_0xa8daa7(0x1ae)]:'',_0x27dacb=_0x1c79c8&&_0x1c79c8[_0xa8daa7(0x15b)]?_0x1c79c8[_0xa8daa7(0x15b)]:{};await this[_0xa8daa7(0x146)](_0x3214fa,_0x18f97a,_0x27dacb);}this[_0xa8daa7(0x17e)][_0xa8daa7(0x1c3)][_0xa8daa7(0x1c6)]({'isUndoable':!0x1},()=>{const _0x115ab6=_0xa8daa7;_0x180369[_0x115ab6(0x1d0)]=!0x0,this[_0x115ab6(0x17e)][_0x115ab6(0x1c3)][_0x115ab6(0x174)][_0x115ab6(0x125)][_0x115ab6(0xdb)](_0x180369);});},{'priority':_0x45b10c(0x11f)});}async[_0x3715a6(0x182)](_0xf3c74e){const _0xb39f06=_0x3715a6,_0x18f5e0=this[_0xb39f06(0x17e)][_0xb39f06(0x14e)][_0xb39f06(0x190)](_0x5a7349),{connection:_0x301f21}=this[_0xb39f06(0x17e)][_0xb39f06(0x14e)][_0xb39f06(0x190)](_0x25650c),_0x292458=new Set();for(const _0xb771ab of _0xf3c74e){const _0x33244b=_0xb771ab[_0xb39f06(0x155)];_0x33244b&&!_0x18f5e0[_0xb39f06(0xe5)](_0x33244b)&&_0x292458[_0xb39f06(0x1b4)](_0x33244b);}if(0x0===_0x292458[_0xb39f06(0x1bd)])return;const _0x3fd44c=await _0x10fb90[_0xb39f06(0x100)](_0x301f21,Array[_0xb39f06(0x15d)](_0x292458));for(const _0xaafa of _0x3fd44c)_0x18f5e0[_0xb39f06(0xe5)](_0xaafa['id'])||_0x18f5e0[_0xb39f06(0x144)](_0xaafa);}[_0x3715a6(0x12c)](_0xf6e984,_0x2d5255={}){const _0xd38880=_0x3715a6,_0x129f27=this[_0xd38880(0x17e)][_0xd38880(0x1c3)],_0x5f1792=[];let _0x49af74=0x0;const _0x37900d=_0xd38880(0x151)==typeof _0xf6e984?{'main':_0xf6e984}:_0xf6e984;for(const _0x22cf54 of Object[_0xd38880(0x15f)](_0x37900d)){if(!this[_0xd38880(0x150)][_0xd38880(0xe1)][_0xd38880(0x1a2)](_0x22cf54))throw new _0x2259e5(_0xd38880(0x177),this);const _0x2d2bc6=this[_0xd38880(0x17e)][_0xd38880(0x1ae)][_0xd38880(0x1c5)](_0x37900d[_0x22cf54]),_0x56ffeb=this[_0xd38880(0x150)][_0xd38880(0x1d2)](_0x22cf54),_0x1f28b9=new _0x309714(_0x129f27[_0xd38880(0x107)](_0x56ffeb,0x0),_0x2d2bc6,_0x49af74++);_0x5f1792[_0xd38880(0x175)](_0x1f28b9);for(const [_0x4db733,_0xfeee1d]of _0x2d2bc6[_0xd38880(0x10f)]){const _0x1f4345=_0x129f27[_0xd38880(0x17d)](_0x129f27[_0xd38880(0x142)](_0x56ffeb,_0xfeee1d[_0xd38880(0x133)][_0xd38880(0x1d4)][_0xd38880(0x115)]()),_0x129f27[_0xd38880(0x142)](_0x56ffeb,_0xfeee1d[_0xd38880(0xd7)][_0xd38880(0x1d4)][_0xd38880(0x115)]())),_0x150167=new _0x495286(_0x4db733,null,_0x1f4345,_0x129f27[_0xd38880(0x10f)],!0x0,_0x49af74++);_0x5f1792[_0xd38880(0x175)](_0x150167);}}if(_0x2d5255)for(const [_0x3d0ad9,_0x53c54f]of Object[_0xd38880(0x19b)](_0x2d5255)){const _0x385cfc=_0x129f27[_0xd38880(0x174)][_0xd38880(0x1d2)](_0x3d0ad9);if(!_0x385cfc)throw new _0x2259e5(_0xd38880(0x143),null);for(const [_0x1dad97,_0x40dc06]of Object[_0xd38880(0x19b)](_0x53c54f))if(null!==_0x40dc06){const _0x212f0b=new _0x2ca858(_0x385cfc,_0x1dad97,null,_0x40dc06,_0x49af74++);_0x5f1792[_0xd38880(0x175)](_0x212f0b);}}return _0x5f1792;}async[_0x3715a6(0x146)](_0x23bad5,_0x354d22,_0x12eac6){const _0x62aafb=_0x3715a6;this[_0x62aafb(0x12c)]({[_0x23bad5]:_0x354d22},{[_0x23bad5]:_0x12eac6})[_0x62aafb(0x188)]((_0x11bcf4,_0x4b5df9)=>{const _0x17d75d=_0x62aafb;_0x11bcf4[_0x17d75d(0x16a)]=this[_0x17d75d(0x150)][_0x17d75d(0xd5)]+_0x4b5df9,_0x11bcf4[_0x17d75d(0xf8)]=!0x0,this[_0x17d75d(0x156)](_0x11bcf4);}),this[_0x62aafb(0x126)](),await this[_0x62aafb(0x106)]();}async[_0x3715a6(0x140)](_0xf91617,_0x577f5f){const _0x5af1d7=_0x3715a6;let _0x1c5bd1;this[_0x5af1d7(0x1a1)]=_0xf91617[_0x5af1d7(0x1bc)];const _0x2c7a7d=_0xf91617[_0x5af1d7(0x13b)]&&!_0xf91617[_0x5af1d7(0xe2)],_0x3d3878=_0x2c7a7d?0x0:_0xf91617[_0x5af1d7(0x1ae)][_0x5af1d7(0x16a)];if(_0x577f5f[_0x5af1d7(0x188)](_0x4696d7=>{const _0xd94fae=_0x5af1d7;_0x4696d7[_0xd94fae(0xf8)]=!0x0,_0x4696d7[_0xd94fae(0xf6)]=_0xf91617[_0xd94fae(0x149)],_0x4696d7[_0xd94fae(0x155)]=null;}),_0x2c7a7d)_0x1c5bd1=_0x577f5f,this[_0x5af1d7(0x13d)](_0x1c5bd1,_0x2c7a7d);else{if(_0xf91617[_0x5af1d7(0xe2)]){const _0x5c38d6=this[_0x5af1d7(0x12c)](_0xf91617[_0x5af1d7(0xe2)]);this[_0x5af1d7(0x150)][_0x5af1d7(0x11e)][_0x5af1d7(0xd5)]=-_0x5c38d6[_0x5af1d7(0xf7)],_0x5c38d6[_0x5af1d7(0x188)](_0x1de562=>{const _0x8b7c79=_0x5af1d7;_0x1de562[_0x8b7c79(0x16a)]-=_0x5c38d6[_0x8b7c79(0xf7)],_0x1de562[_0x8b7c79(0xf6)]=_0xf91617[_0x8b7c79(0x149)],_0x1de562[_0x8b7c79(0xf8)]=!0x0,_0x1de562[_0x8b7c79(0x155)]=null;}),this[_0x5af1d7(0x13d)](_0x5c38d6,!0x0),this[_0x5af1d7(0x119)][_0x5af1d7(0xd5)]=-_0x5c38d6[_0x5af1d7(0xf7)]+this[_0x5af1d7(0x1a1)],this[_0x5af1d7(0x1a6)](_0x5c38d6);}this[_0x5af1d7(0x150)][_0x5af1d7(0x11e)][_0x5af1d7(0xd5)]=_0x3d3878,_0x1c5bd1=this[_0x5af1d7(0x194)](_0xf91617[_0x5af1d7(0x1ae)],_0xf91617[_0x5af1d7(0x1ba)]),await this[_0x5af1d7(0x182)](_0x1c5bd1),this[_0x5af1d7(0x13d)](_0x1c5bd1,_0x2c7a7d);}_0xf91617[_0x5af1d7(0x1be)]&&(this[_0x5af1d7(0x1cb)][_0x5af1d7(0x145)](_0x1c5bd1,_0xf91617[_0x5af1d7(0x1be)]),this[_0x5af1d7(0x16c)]=_0xf91617[_0x5af1d7(0x1be)]),this[_0x5af1d7(0x119)][_0x5af1d7(0xd5)]=_0x3d3878+this[_0x5af1d7(0x1a1)],this[_0x5af1d7(0x1a6)](_0x1c5bd1),_0x577f5f[_0x5af1d7(0xe6)](_0x10df30=>{const _0x2869a2=_0x5af1d7,_0x2355d1=this[_0x2869a2(0x116)](_0x10df30);return _0x2355d1&&!this[_0x2869a2(0x13e)][_0x2869a2(0x1a2)](_0x2355d1);})[_0x5af1d7(0x188)]((_0x53684f,_0x46f1ff)=>{const _0x12c4ce=_0x5af1d7;_0x53684f[_0x12c4ce(0x16a)]=this[_0x12c4ce(0x150)][_0x12c4ce(0xd5)]+_0x46f1ff,this[_0x12c4ce(0x156)](_0x53684f);}),this[_0x5af1d7(0xf2)]()?(this[_0x5af1d7(0x134)]=0x0,this[_0x5af1d7(0x126)](!0x0),await this[_0x5af1d7(0x106)]()):(this[_0x5af1d7(0x17a)]=!0x1,this[_0x5af1d7(0x111)]());}[_0x3715a6(0x120)](_0x162216,_0x248f46,_0x58bda2){const _0x4dafc3=_0x3715a6;throw this[_0x4dafc3(0x17a)]=!0x0,_0x248f46&&console[_0x4dafc3(0x1cd)](_0x248f46),_0x58bda2&&this[_0x4dafc3(0x17e)][_0x4dafc3(0x162)](_0x4dafc3(0x172)),new _0x2259e5(_0x162216,this[_0x4dafc3(0x17e)]);}[_0x3715a6(0x156)](_0x8a1b56){const _0x51b789=_0x3715a6;this[_0x51b789(0x170)][_0x51b789(0x1a2)](_0x8a1b56)||(this[_0x51b789(0x170)][_0x51b789(0x1b4)](_0x8a1b56),this[_0x51b789(0x18a)][_0x51b789(0x175)](_0x8a1b56),this[_0x51b789(0xf3)]||_0x51b789(0x171)==_0x8a1b56[_0x51b789(0x1cc)]&&!_0x8a1b56[_0x51b789(0x18e)]||this[_0x51b789(0x11c)]());}[_0x3715a6(0x126)](_0x14a80d=!0x1){const _0x1a9fe7=_0x3715a6;!_0x14a80d&&this[_0x1a9fe7(0x17a)]||(this[_0x1a9fe7(0x17a)]=!0x0,clearTimeout(this[_0x1a9fe7(0x164)]),this[_0x1a9fe7(0x164)]=setTimeout(()=>{const _0xbe2c34=_0x1a9fe7;this[_0xbe2c34(0x108)]()[_0xbe2c34(0x14c)](_0x294383=>{const _0x1e77ef=_0xbe2c34;_0x294383&&(this[_0x1e77ef(0x111)](),this[_0x1e77ef(0x17a)]=!0x1);})[_0xbe2c34(0x1b9)](_0x4b86ce=>{const _0x4db473=_0xbe2c34;this[_0x4db473(0x111)](),this[_0x4db473(0x17a)]=!0x1,function(_0x524402){const _0x21f1c0=_0x4db473;return _0x524402[_0x21f1c0(0x13f)][_0x21f1c0(0x1af)](_0x21f1c0(0xf9))||_0x524402[_0x21f1c0(0x13f)][_0x21f1c0(0x1af)](_0x21f1c0(0x12f))||_0x524402[_0x21f1c0(0x13f)][_0x21f1c0(0x1af)](_0x21f1c0(0xdf));}(_0x4b86ce)||this[_0x4db473(0x120)](_0x4b86ce[_0x4db473(0x13f)],_0x4b86ce,!0x0);});},this[_0x1a9fe7(0x134)]));}[_0x3715a6(0x106)](){return new Promise(_0x5f0532=>{const _0x275444=_0x3be0;this['on'](_0x275444(0x1c7),()=>{_0x5f0532();});});}async[_0x3715a6(0x108)](){const _0x1f1026=_0x3715a6,_0x2c94e8=this[_0x1f1026(0x17e)][_0x1f1026(0x14e)][_0x1f1026(0x190)](_0x43b129);if(this[_0x1f1026(0x109)]()&&(_0x2c94e8[_0x1f1026(0x16e)](),this[_0x1f1026(0x193)]=!0x1),!this[_0x1f1026(0xf2)]())return!0x0;const _0x4c5f3e=[...this[_0x1f1026(0x18a)]];for(const _0x51fc4e of _0x4c5f3e)_0x51fc4e[_0x1f1026(0x127)]=this[_0x1f1026(0x150)][_0x1f1026(0x11e)][_0x1f1026(0xfc)](_0x51fc4e);const _0x5e35c6=this[_0x1f1026(0x1cb)][_0x1f1026(0x17b)](_0x4c5f3e),_0x4ba365=Y++,_0x1131a7=this[_0x1f1026(0x136)](_0x4c5f3e),_0x17e6b1=await this[_0x1f1026(0x18b)][_0x1f1026(0x197)](_0x1131a7,_0x1131a7[_0x1f1026(0x16a)],_0x5e35c6);try{return await this[_0x1f1026(0xff)](_0x4c5f3e,_0x17e6b1,_0x4ba365);}catch(_0x578713){return this[_0x1f1026(0x120)](_0x1f1026(0xd9),_0x578713);}}async[_0x3715a6(0xff)](_0x9d0e2d,_0x1b9d54,_0x45d4d5){const _0x182300=_0x3715a6;if(_0x182300(0x1cd)in _0x1b9d54)throw _0x1b9d54[_0x182300(0x1cd)];let _0x2c522f=!0x1;if(_0x1b9d54[_0x182300(0x13b)]){_0x1b9d54[_0x182300(0x1be)]&&(this[_0x182300(0x16c)]=_0x1b9d54[_0x182300(0x1be)]),this[_0x182300(0x18a)]=this[_0x182300(0x18a)][_0x182300(0xe6)](_0x542215=>!_0x9d0e2d[_0x182300(0x166)](_0x542215));for(const _0x3dccb3 of _0x9d0e2d)_0x3dccb3[_0x182300(0xf6)]=_0x182300(0x139)in _0x1b9d54&&_0x1b9d54[_0x182300(0x139)]||void 0x0;tt(_0x9d0e2d,_0x1b9d54[_0x182300(0xd5)]-_0x9d0e2d[_0x182300(0xf7)]),this[_0x182300(0x1a6)](_0x9d0e2d);const _0x165255=_0x9d0e2d[_0x182300(0xe6)](_0x32835d=>{const _0x5ef06d=_0x182300;if(!_0x32835d[_0x5ef06d(0xf8)])return!0x1;const _0x1f281d=this[_0x5ef06d(0x116)](_0x32835d);return _0x1f281d&&!this[_0x5ef06d(0x13e)][_0x5ef06d(0x1a2)](_0x1f281d);});tt(_0x165255,this[_0x182300(0x150)][_0x182300(0xd5)]),this[_0x182300(0x13d)](_0x165255),_0x2c522f=!0x0,this[_0x182300(0x134)]=this[_0x182300(0x138)];}else{const _0x178a42=this[_0x182300(0x194)](_0x1b9d54[_0x182300(0x1ae)],_0x1b9d54[_0x182300(0x1ba)])[_0x182300(0xe6)](_0x9dfe8c=>_0x9dfe8c[_0x182300(0x16a)]>=this[_0x182300(0x16b)]);_0x178a42[_0x182300(0x188)](_0x52ee64=>this[_0x182300(0x135)](_0x52ee64)),this[_0x182300(0x18a)]=this[_0x182300(0x18a)][_0x182300(0xe6)](_0x31e53b=>!_0x31e53b[_0x182300(0xf8)]||!this[_0x182300(0x13e)][_0x182300(0x1a2)](this[_0x182300(0x116)](_0x31e53b))),this[_0x182300(0x18a)][_0x182300(0xf7)]&&tt(this[_0x182300(0x18a)],this[_0x182300(0x18a)][0x0][_0x182300(0x16a)]),await this[_0x182300(0x182)](_0x178a42),_0x2c522f=this[_0x182300(0x1d5)](_0x178a42,_0x1b9d54[_0x182300(0xd5)],_0x1b9d54[_0x182300(0x1be)]),this[_0x182300(0x134)]=Math[_0x182300(0x153)](this[_0x182300(0x134)]/0x2);}return _0x2c522f?!this[_0x182300(0xf2)]()||(this[_0x182300(0x126)](!0x0),!0x1):this[_0x182300(0x120)](_0x182300(0x15e));}[_0x3715a6(0x1d5)](_0x1bf06c,_0x4e5d3c,_0x583767){const _0x477f9a=_0x3715a6;try{const _0x3b612c={'document':this[_0x477f9a(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4616f4,operationsB:_0x342228,originalOperations:_0x40a6b4}=_0x5603fa(_0x1bf06c,this[_0x477f9a(0x18a)],_0x3b612c);tt(_0x4616f4,this[_0x477f9a(0x150)][_0x477f9a(0xd5)]),tt(_0x342228,_0x4e5d3c);for(const _0x1d09ca of _0x4616f4){const _0x11de57=_0x40a6b4[_0x477f9a(0x190)](_0x1d09ca);_0x1d09ca[_0x477f9a(0x155)]=_0x11de57?_0x11de57[_0x477f9a(0x155)]:null;}_0x583767&&(this[_0x477f9a(0x1cb)][_0x477f9a(0x145)](_0x1bf06c,_0x583767),this[_0x477f9a(0x16c)]=_0x583767),this[_0x477f9a(0x18a)]=[..._0x342228],this[_0x477f9a(0x13d)](_0x4616f4),this[_0x477f9a(0x1a6)](_0x1bf06c);}catch(_0x1e40b0){return console[_0x477f9a(0x1cd)](_0x1e40b0),!0x1;}return!0x0;}[_0x3715a6(0x13d)](_0x14958c,_0x194978=!0x1){const _0x50a10b=_0x3715a6;this[_0x50a10b(0x17e)][_0x50a10b(0x1c3)][_0x50a10b(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5c08b9=>{const _0x26f8a8=_0x50a10b;for(const _0x4cb4d6 of _0x14958c)this[_0x26f8a8(0x170)][_0x26f8a8(0x1b4)](_0x4cb4d6),this[_0x26f8a8(0x135)](_0x4cb4d6),_0x5c08b9[_0x26f8a8(0xfb)][_0x26f8a8(0x183)](_0x4cb4d6),this[_0x26f8a8(0x17e)][_0x26f8a8(0x1c3)][_0x26f8a8(0x1b3)](_0x4cb4d6);});}[_0x3715a6(0x135)](_0x58e04e){const _0x5211ca=_0x3715a6,_0x4ddaca=this[_0x5211ca(0x116)](_0x58e04e);_0x4ddaca&&this[_0x5211ca(0x13e)][_0x5211ca(0x1b4)](_0x4ddaca);}[_0x3715a6(0x116)](_0x1789b1){const _0x311e23=_0x3715a6;let _0x1bfcca,_0x4d3cb9;switch(_0x1789b1[_0x311e23(0x1cc)]){case _0x311e23(0xe4):_0x1bfcca=_0x1789b1[_0x311e23(0x101)][_0x311e23(0x181)];break;case _0x311e23(0x171):if(_0x4d3cb9=_0x1789b1[_0x311e23(0x195)],!_0x4d3cb9)return null;_0x1bfcca=_0x4d3cb9[_0x311e23(0x181)];break;case _0x311e23(0x103):_0x1bfcca=_0x1789b1[_0x311e23(0x181)];break;case _0x311e23(0xee):_0x1bfcca=_0x1789b1[_0x311e23(0xfe)];break;case _0x311e23(0x1a3):_0x1bfcca=_0x1789b1[_0x311e23(0x12a)][_0x311e23(0x181)];break;default:return null;}return _0x1bfcca[_0x311e23(0x1c8)];}[_0x3715a6(0x1a6)](_0x399632){const _0x1bd653=_0x3715a6;_0x399632[_0x1bd653(0x188)](_0x4418b1=>{const _0x38671b=_0x1bd653,_0x279f77=_0x4418b1[_0x38671b(0x152)]();_0x279f77[_0x38671b(0x155)]=_0x4418b1[_0x38671b(0x155)],_0x279f77[_0x38671b(0xf8)]=!!_0x4418b1[_0x38671b(0xf8)],_0x279f77[_0x38671b(0xf6)]=_0x4418b1[_0x38671b(0xf6)],_0x279f77[_0x38671b(0x16a)]+=this[_0x38671b(0x1a1)],_0x4418b1[_0x38671b(0x18c)]&&this[_0x38671b(0xe8)][_0x38671b(0x1b4)](_0x279f77),this[_0x38671b(0x119)][_0x38671b(0x183)](_0x279f77);});}[_0x3715a6(0x10c)](_0x294055){const _0x451fa4=_0x3715a6,_0x597ca0=this[_0x451fa4(0x17e)][_0x451fa4(0x14e)][_0x451fa4(0x190)](_0x451fa4(0x178)),_0x2f3445=this[_0x451fa4(0x17e)][_0x451fa4(0x1bb)];_0x294055||(_0x294055=_0x3bb041(_0x2f3445,_0x451fa4(0x160))),_0x597ca0[_0x451fa4(0x147)](_0x294055,{'title':_0x3bb041(_0x2f3445,_0x451fa4(0x122)),'namespace':_0x451fa4(0x10a)}),this[_0x451fa4(0xda)]=!0x0,clearTimeout(this[_0x451fa4(0x164)]),this[_0x451fa4(0x18a)]=[],this[_0x451fa4(0x17e)][_0x451fa4(0x14e)][_0x451fa4(0x190)](_0x25650c)[_0x451fa4(0x196)]();}[_0x3715a6(0x11c)](){const _0xc0966f=_0x3715a6;this[_0xc0966f(0xf3)]||(this[_0xc0966f(0xf3)]=this[_0xc0966f(0x17e)][_0xc0966f(0x14e)][_0xc0966f(0x190)](_0x2ca074)[_0xc0966f(0x1b4)](_0x3bb041(this[_0xc0966f(0x17e)][_0xc0966f(0x1bb)],_0xc0966f(0x1ce))));}[_0x3715a6(0x111)](){const _0x2c3f61=_0x3715a6;this[_0x2c3f61(0xf3)]&&(this[_0x2c3f61(0x17e)][_0x2c3f61(0x14e)][_0x2c3f61(0x190)](_0x2ca074)[_0x2c3f61(0x1b2)](this[_0x2c3f61(0xf3)]),this[_0x2c3f61(0xf3)]=null);}[_0x3715a6(0x136)](_0x5e6d73){const _0xe61284=_0x3715a6,_0x203e5b=_0x5e6d73[_0xe61284(0x1c1)](_0x579223=>_0x579223[_0xe61284(0x199)]());return this[_0xe61284(0x11b)][_0xe61284(0x102)](_0x203e5b);}[_0x3715a6(0x194)](_0x6b7bf9,_0xdc3c97){const _0x4f6e4e=_0x3715a6;return this[_0x4f6e4e(0x11b)][_0x4f6e4e(0x16f)](_0x6b7bf9)[_0x4f6e4e(0x1c1)]((_0x35c136,_0x121360)=>{const _0x57e057=_0x4f6e4e,_0x3093cf=_0x57e057(0x158)==_0xdc3c97[_0x121360][_0x57e057(0x1cc)];if(_0x57e057(0x10b)==_0x35c136[_0x57e057(0x11d)]){const _0xe362aa=_0x35c136[_0x57e057(0x101)][_0x57e057(0x181)];!this[_0x57e057(0x150)][_0x57e057(0x1d2)](_0xe362aa)&&(this[_0x57e057(0x150)][_0x57e057(0x18d)](_0x57e057(0x12b),_0xe362aa)[_0x57e057(0xea)]=!0x1);}const _0x1ab783=_0x2fed75[_0x57e057(0x141)](_0x35c136,this[_0x57e057(0x150)]);return _0x1ab783[_0x57e057(0x127)]=_0x35c136[_0x57e057(0x127)],_0x1ab783[_0x57e057(0xf8)]=_0x3093cf,_0x1ab783[_0x57e057(0x155)]=_0x3093cf?null:_0xdc3c97[_0x121360][_0x57e057(0x1d3)],_0x1ab783[_0x57e057(0x18c)]=_0x57e057(0x1b8)===_0xdc3c97[_0x121360][_0x57e057(0x1cc)],_0x1ab783[_0x57e057(0xf6)]=_0xdc3c97[_0x121360][_0x57e057(0xf6)],_0x1ab783;});}[_0x3715a6(0x1a8)](){const _0x47dbdb=_0x3715a6;this[_0x47dbdb(0x193)]=!0x0,this[_0x47dbdb(0x109)]()?this[_0x47dbdb(0x126)]():this[_0x47dbdb(0x193)]=!0x1;}[_0x3715a6(0x109)](){const _0x21d10b=_0x3715a6,_0x38dd06=this[_0x21d10b(0x17e)][_0x21d10b(0x14e)][_0x21d10b(0x190)](_0x3445c6)[_0x21d10b(0x173)][_0x21d10b(0x190)](this[_0x21d10b(0x1ac)]);return!this[_0x21d10b(0x17e)][_0x21d10b(0x1ab)]&&!!_0x38dd06&&_0x38dd06[_0x21d10b(0xf7)]>0x1&&this[_0x21d10b(0x193)];}[_0x3715a6(0xf2)](){const _0x587189=_0x3715a6;return this[_0x587189(0x18a)][_0x587189(0xf7)]>0x0||this[_0x587189(0x109)]();}}l[_0x3715a6(0x113)]=_0x27c7ce;export default l;class Z extends Error{}function tt(_0x344564,_0x51dcc0){const _0x236cbf=_0x3715a6;for(const _0x2a0ac0 of _0x344564)_0x2a0ac0[_0x236cbf(0x16a)]=_0x51dcc0++;}class it{constructor(_0x5b7332){const _0x48453d=_0x3715a6;this[_0x48453d(0x161)]=_0x5b7332,this[_0x48453d(0x154)]=new WeakMap();}[_0x3715a6(0x17b)](_0x4aa8f3){const _0x38d22a=_0x3715a6;let _0x3286f1=_0x4aa8f3[_0x38d22a(0xf7)];for(;_0x3286f1--;){const _0x19caa1=_0x4aa8f3[_0x3286f1];if(!this[_0x38d22a(0x161)][_0x38d22a(0x1a2)](_0x19caa1)){if(!this[_0x38d22a(0x154)][_0x38d22a(0x1a2)](_0x19caa1)){const _0x1e5f14=_0x21fa3f()[_0x38d22a(0x115)](0x1,0x12);this[_0x38d22a(0x154)][_0x38d22a(0xd4)](_0x19caa1,_0x1e5f14);}return this[_0x38d22a(0x154)][_0x38d22a(0x190)](_0x19caa1);}}}[_0x3715a6(0x145)](_0x1a3038,_0x567a6b){const _0x505b08=_0x3715a6;if(!_0x567a6b)return;let _0x2a493f=_0x1a3038[_0x505b08(0xf7)];for(;_0x2a493f--;){const _0x2710aa=_0x1a3038[_0x2a493f];this[_0x505b08(0x161)][_0x505b08(0x1a2)](_0x2710aa)||this[_0x505b08(0x154)][_0x505b08(0xd4)](_0x2710aa,_0x567a6b);}}}
|
|
23
|
+
const _0x5714ec=_0x2d3c;(function(_0x2d9b7a,_0x549125){const _0x4e0800=_0x2d3c,_0x263cea=_0x2d9b7a();while(!![]){try{const _0x398636=-parseInt(_0x4e0800(0x263))/0x1*(-parseInt(_0x4e0800(0x1e3))/0x2)+-parseInt(_0x4e0800(0x1fd))/0x3+parseInt(_0x4e0800(0x233))/0x4*(parseInt(_0x4e0800(0x1b2))/0x5)+parseInt(_0x4e0800(0x1d8))/0x6*(parseInt(_0x4e0800(0x1e0))/0x7)+parseInt(_0x4e0800(0x1b3))/0x8+-parseInt(_0x4e0800(0x251))/0x9+parseInt(_0x4e0800(0x242))/0xa;if(_0x398636===_0x549125)break;else _0x263cea['push'](_0x263cea['shift']());}catch(_0x2769b0){_0x263cea['push'](_0x263cea['shift']());}}}(_0x2695,0x78b09));import{Plugin as _0x1556ed,PendingActions as _0x2df6d8}from'ckeditor5/src/core.js';import{CKEditorError as _0x82a9ea,version as _0x3a7e57,uid as _0xf37430}from'ckeditor5/src/utils.js';function _0x2d3c(_0xdc66db,_0x5d33b1){const _0x26952d=_0x2695();return _0x2d3c=function(_0x2d3cc5,_0x4ddd0a){_0x2d3cc5=_0x2d3cc5-0x1a3;let _0x1e15d1=_0x26952d[_0x2d3cc5];return _0x1e15d1;},_0x2d3c(_0xdc66db,_0x5d33b1);}import{Notification as _0x25eeec}from'ckeditor5/src/ui.js';import{transformSets as _0x1b1c62,NoOperation as _0x1f3908,InsertOperation as _0x4086d1,MarkerOperation as _0x4915e9,RootAttributeOperation as _0x15ac97,OperationFactory as _0xc967a,History as _0x40e275}from'ckeditor5/src/engine.js';import _0x39584b from'./websocketgateway.js';import _0x53fa67 from'./sessions.js';import _0x15ce5c from'./usermarkers.js';import{getTranslation as _0x5d3b37}from'../common-translations.js';import{Compressor as _0x230cd8}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3d0f54}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x47ae19,CollaborativeEditingService as _0x5b5a20}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2695(){const _0x115d2e=['change:_isEditingAllowed','view','477665seZjXh','7009136XUCGNh','affectsData','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','initData','_handleSendingSelectionMarkers','apply','editor','_isDisconnection','_lastServerVersion','return','_isAttached','metadata','_lastSyncedOperationId','affectedSelectable','createUserMarkerOperations','_setUpDataInit','_handleServerResponse','move','createRoot','attributes','reconnect','Synchronization\x20issue','reconnection:\x20flushed\x20session','string','differ','_knownOperations','enqueueChange','_loadRoot','cs:removeUser','mySessionId','_getAffectedRoot','decompress','version','_setPendingAction','entries','change:range','ready','24HZaaup','pluginName','Permissions','lastOperationId','state','_connectAfterSessionHasBeenFlushed','from','_operationToId','1016757giIofn','isPremiumPlugin','_handleReconnectionResponse','35414OxyUui','_getOperationsFromInitData','lastOperationAcceptedAt','filter','fire','rootsAttributes','rtc-offline','_document','realtimecollaborationclient-error','end','getDocumentDetails','add','addOperation','_initSessionsHandling','_fetchMissingUsers','size','_initThrowingOnDataSet','rootName','stopListening','_handleExternalOperations','applyOperation','cloudDocumentVersion','realtimecollaborationclient-init-session-connection-error','compress','_isEditingAllowed','cloud-services-internal-error:\x20Request\x20timeout.','2433771wlQjjx','offset','_crash','_waitUntilSynced','markers','_isInit','connection','_compressOperations','register','realtimecollaborationclient-init-non-existent-root','_offset','rtc-destroyed','CollaborativeEditingService','realtimecollaborationclient-sendbufferedoperations','getOperations','enableReadOnlyMode','disableReadOnlyMode','409','_authorId','userId','sessionId','newRange','cloud-services-internal-error:\x20Not\x20connected.','serverHistory','listenTo','_disconnectionOperations','stop','bind','sendOperations','getUser','setIdForTheLastOperation','InsertOperation','locale','_sendBufferedOperationsDelayed','isUndoneOperation','permissions','_isLoaded','fromJSON','unregister','currentDocumentSession','_sendBufferedOperationsDelayId','isDocumentOperation','change:hasDomSelection','map','wasUndone','_handleReceivedOperations','parse','_isPendingUpdate','realtimecollaborationclient-handleserverresponse','_hasSynchronizationProblem','_isConnected','plugins','error','length','4zjrFIL','_shouldSendUpdate','realtimecollaborationclient-initservice-incorrect-server-operation','_saveOperationInBuffer','createPositionAt','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.','_clearPendingAction','addRootAttribute','has','getOperationAuthor','marker','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','model','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','3381300KzYwiF','_operationIdentifier','get','roots','message','removeFromReconnectionStack','round','_bufferRootLoad','isOfficialPlugin','_connectService','_channelId','$root','connect','root','getConnectedSessions','6063678UqjkNN','targetPosition','_handleInitialConnectionData','createPositionFromPath','change:_isPendingUpdate','finally','toJSON','startsWith','type','collaboration.channelId','forEach','_sendBufferedOperations','_shouldSendSelectionUpdate','_currentBufferDelay','insert','catch','addRoot','realtimecollaborationclient-init-connection-failed','5vEDKmG','_updateServerHistory','selection','history','slice','clone','loadRoot','collaboration-missing-channelid','position','high','_compressor','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.','isEnabled','data','_handleReconnectionError','config','remove','lastDocumentSession','includes','reset','PENDING_ACTION_SENDING_DATA','cloudServices.bundleVersion','destroy','set','_service','getIdOfTheLastOperation','path','disconnect','connected','collaboration','baseVersion','_hasSelectionChanged','code','batch','isReadOnly','then','showWarning','_decompressOperations','suppressErrorInCollaboration','document','setPermissions','operationsReceived','sessionCreatedAt','_knownRootNames','_disconnectService','getMany','keys','_refreshUserSelectionMarkers','wereChangesApplied','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','404','directChange','multi-root-editor-root-attributes-no-root','RealTimeCollaborationClient','_bufferedOperations','_addKnownRoot','addUser','_ignoredOperations','_baseBufferDelay','channelSessions','real-time-collaboration','createdAt','addToReconnectionStack','_applyOperationsSet','start','document:write','disconnected','realtimecollaborationclient-initservice-internal-error','Notification','getRoot','define','sessionAdd:','createRange','init','editing','_pendingAction','requires','lastSyncVersion','off','CommentsOnly','__className','realtimecollaborationclient-init-document-already-initialized'];_0x2695=function(){return _0x115d2e;};return _0x2695();}let Z=0x1;class l extends _0x1556ed{static get[_0x5714ec(0x1aa)](){return[_0x39584b,_0x53fa67,_0x15ce5c,_0x2df6d8,_0x3d0f54,_0x25eeec];}static get[_0x5714ec(0x1d9)](){const _0x28ab9e=_0x5714ec;return _0x28ab9e(0x298);}static get[_0x5714ec(0x24a)](){return!0x0;}static get[_0x5714ec(0x1e1)](){return!0x0;}get[_0x5714ec(0x1f8)](){const _0x51835e=_0x5714ec;return this[_0x51835e(0x1bb)]+this[_0x51835e(0x207)];}get[_0x5714ec(0x1bb)](){const _0x515903=_0x5714ec;return this[_0x515903(0x214)][_0x515903(0x1d3)]-this[_0x515903(0x207)];}get[_0x5714ec(0x1ab)](){const _0x5a7c31=_0x5714ec,_0x5ed8fd=this[_0x5a7c31(0x214)][_0x5a7c31(0x20b)]();for(let _0xb14fb6=_0x5ed8fd[_0x5a7c31(0x232)]-0x1;_0xb14fb6>=0x0;_0xb14fb6--){const _0x5547ef=_0x5ed8fd[_0xb14fb6];if(!this[_0x5a7c31(0x216)][_0x5a7c31(0x23b)](_0x5547ef))return _0x5547ef[_0x5a7c31(0x281)]+0x1-this[_0x5a7c31(0x207)];}return 0x0;}constructor(_0x17c99c){const _0x55e477=_0x5714ec;if(super(_0x17c99c),this[_0x55e477(0x207)]=0x0,this[_0x55e477(0x211)]=null,this[_0x55e477(0x214)]=new _0x40e275(),this[_0x55e477(0x1b9)][_0x55e477(0x272)][_0x55e477(0x1a4)](_0x55e477(0x280),{}),this[_0x55e477(0x24c)]=this[_0x55e477(0x1b9)][_0x55e477(0x272)][_0x55e477(0x244)](_0x55e477(0x25a)),!this[_0x55e477(0x24c)])throw new _0x82a9ea(_0x55e477(0x26a),this);const _0x5a22ae=_0x17c99c[_0x55e477(0x272)][_0x55e477(0x244)](_0x55e477(0x278))||_0x3a7e57;this[_0x55e477(0x27b)]=new l[(_0x55e477(0x209))](_0x5a22ae,this[_0x55e477(0x24c)]),this[_0x55e477(0x1ea)]=this[_0x55e477(0x1b9)][_0x55e477(0x23f)][_0x55e477(0x28a)],this[_0x55e477(0x26d)]=new _0x230cd8(),this[_0x55e477(0x299)]=[],this[_0x55e477(0x1cc)]=new WeakSet(),this[_0x55e477(0x28e)]=new Set(),this[_0x55e477(0x27a)](_0x55e477(0x22c),!0x1),this[_0x55e477(0x27a)](_0x55e477(0x22e),!0x1),this[_0x55e477(0x1a9)]=null,this[_0x55e477(0x282)]=!0x1,this[_0x55e477(0x225)]=null,this[_0x55e477(0x29d)]=0x12c,this[_0x55e477(0x25e)]=this[_0x55e477(0x29d)],this[_0x55e477(0x1bf)]=null,this[_0x55e477(0x216)]=new WeakSet(),this[_0x55e477(0x243)]=new st(this[_0x55e477(0x216)]);}[_0x5714ec(0x1a7)](){const _0x3aa83f=_0x5714ec,_0x4dae27=this[_0x3aa83f(0x1b9)],_0x38d51e=_0x4dae27[_0x3aa83f(0x230)][_0x3aa83f(0x244)](_0x3d0f54),_0x4ebf65=_0x4dae27[_0x3aa83f(0x230)][_0x3aa83f(0x244)](_0x39584b);this[_0x3aa83f(0x215)](_0x38d51e,_0x3aa83f(0x23c),(_0x4765f9,_0x43fa31)=>{const _0x5dfc21=_0x3aa83f,_0x4f38be=_0x43fa31[0x0];_0x4f38be[_0x5dfc21(0x20f)]&&(_0x4765f9[_0x5dfc21(0x1bc)]=_0x38d51e[_0x5dfc21(0x21a)](_0x4f38be[_0x5dfc21(0x20f)]),_0x4765f9[_0x5dfc21(0x217)]()),null===_0x4f38be[_0x5dfc21(0x20f)]&&(_0x4765f9[_0x5dfc21(0x1bc)]=null,_0x4765f9[_0x5dfc21(0x217)]());},{'priority':_0x3aa83f(0x26c)}),this[_0x3aa83f(0x215)](_0x4dae27[_0x3aa83f(0x23f)][_0x3aa83f(0x28a)][_0x3aa83f(0x265)],_0x3aa83f(0x1d6),(_0x53863c,_0x1bbb5c)=>{const _0x2a5325=_0x3aa83f;_0x1bbb5c[_0x2a5325(0x296)]&&this[_0x2a5325(0x292)]();}),this[_0x3aa83f(0x215)](_0x4dae27[_0x3aa83f(0x1a8)][_0x3aa83f(0x1b1)],_0x3aa83f(0x227),()=>{const _0x1931ab=_0x3aa83f;this[_0x1931ab(0x292)]();}),this[_0x3aa83f(0x1f3)](),_0x4dae27[_0x3aa83f(0x23f)]['on'](_0x3aa83f(0x1f7),(_0x171dba,_0x1fd7d5)=>{const _0x2b4451=_0x3aa83f,_0x121fab=_0x1fd7d5[0x0];_0x121fab[_0x2b4451(0x226)]&&(this[_0x2b4451(0x236)](_0x121fab),this[_0x2b4451(0x234)]()&&this[_0x2b4451(0x21e)]());}),this[_0x3aa83f(0x1c2)](),this[_0x3aa83f(0x218)](_0x3aa83f(0x1fb))['to'](_0x4ebf65,_0x3aa83f(0x1dc),this,_0x3aa83f(0x22e),(_0x3d831b,_0xfce07a)=>_0x3aa83f(0x27f)===_0x3d831b&&!_0xfce07a),this['on'](_0x3aa83f(0x1b0),()=>{const _0x513073=_0x3aa83f;this[_0x513073(0x1fb)]?_0x4dae27[_0x513073(0x20d)](_0x513073(0x1e9)):_0x4dae27[_0x513073(0x20c)](_0x513073(0x1e9));}),this[_0x3aa83f(0x1fb)]?_0x4dae27[_0x3aa83f(0x20d)](_0x3aa83f(0x1e9)):_0x4dae27[_0x3aa83f(0x20c)](_0x3aa83f(0x1e9)),this[_0x3aa83f(0x27a)](_0x3aa83f(0x22f),!0x1);}async[_0x5714ec(0x1c7)](){const _0x35ddc6=_0x5714ec,_0x38019a=this[_0x35ddc6(0x1b9)][_0x35ddc6(0x230)][_0x35ddc6(0x244)](_0x53fa67),_0x1ee317=this[_0x35ddc6(0x1b9)][_0x35ddc6(0x230)][_0x35ddc6(0x244)](_0x39584b);try{this[_0x35ddc6(0x22c)]=!0x0,_0x38019a[_0x35ddc6(0x223)](this[_0x35ddc6(0x24c)]);const _0x3e4f56=await this[_0x35ddc6(0x27b)][_0x35ddc6(0x1c7)](_0x1ee317[_0x35ddc6(0x203)],this[_0x35ddc6(0x1ab)]);await this[_0x35ddc6(0x1e2)](_0x3e4f56)&&(this[_0x35ddc6(0x22c)]=!0x1,this[_0x35ddc6(0x239)]());const _0x1fb0d8=await this[_0x35ddc6(0x27b)][_0x35ddc6(0x250)]();_0x38019a[_0x35ddc6(0x205)](this[_0x35ddc6(0x24c)],_0x1fb0d8),this[_0x35ddc6(0x1b7)](),this[_0x35ddc6(0x22f)]=!0x0;}catch(_0x5f0fdb){if(function(_0x1363f5){const _0x4ecb25=_0x35ddc6;return _0x4ecb25(0x295)===_0x1363f5[_0x4ecb25(0x283)];}(_0x5f0fdb)&&this[_0x35ddc6(0x211)])await this[_0x35ddc6(0x1dd)]();else{if(function(_0x531600){const _0x251ad8=_0x35ddc6;return _0x251ad8(0x20e)===_0x531600[_0x251ad8(0x283)];}(_0x5f0fdb)){const _0x5e2650=_0x5d3b37(this[_0x35ddc6(0x1b9)][_0x35ddc6(0x21d)],_0x35ddc6(0x240));this[_0x35ddc6(0x271)](_0x5e2650);}else{if(!(_0x5f0fdb instanceof tt))throw _0x5f0fdb;this[_0x35ddc6(0x271)]();}}}}[_0x5714ec(0x279)](){const _0x5c8416=_0x5714ec,_0x441947=this[_0x5c8416(0x1b9)][_0x5c8416(0x230)][_0x5c8416(0x244)](_0x39584b),_0x3cf223=this[_0x5c8416(0x1b9)][_0x5c8416(0x230)][_0x5c8416(0x244)](_0x53fa67);this[_0x5c8416(0x1b9)][_0x5c8416(0x20c)](_0x5c8416(0x208)),_0x3cf223[_0x5c8416(0x29e)][_0x5c8416(0x23b)](this[_0x5c8416(0x24c)])&&_0x3cf223[_0x5c8416(0x223)](this[_0x5c8416(0x24c)]),_0x441947[_0x5c8416(0x247)](this),this[_0x5c8416(0x28f)](),super[_0x5c8416(0x279)]();}async[_0x5714ec(0x1e2)](_0x125d92){const _0x12444e=_0x5714ec;if(this[_0x12444e(0x211)]!==_0x125d92[_0x12444e(0x211)]&&this[_0x12444e(0x1bf)]!==_0x125d92[_0x12444e(0x1db)])throw new tt();return this[_0x12444e(0x211)]=_0x125d92[_0x12444e(0x211)],this[_0x12444e(0x1c3)]([],{..._0x125d92,'wereChangesApplied':!0x1,'data':_0x125d92[_0x12444e(0x270)]},_0x12444e(0x1c7));}async[_0x5714ec(0x24b)](_0x541adc,_0x687ea0=!0x1){const _0x5aadce=_0x5714ec,{connection:_0x252f8e}=this[_0x5aadce(0x1b9)][_0x5aadce(0x230)][_0x5aadce(0x244)](_0x39584b);l[_0x5aadce(0x209)][_0x5aadce(0x250)](_0x252f8e,this[_0x5aadce(0x24c)])[_0x5aadce(0x286)](_0x143c90=>this[_0x5aadce(0x1f0)](_0x143c90))[_0x5aadce(0x260)](_0x151084=>{const _0x1b59df=_0x5aadce;this[_0x1b59df(0x1ff)](_0x1b59df(0x1f9),_0x151084);}),this[_0x5aadce(0x215)](this[_0x5aadce(0x27b)],_0x5aadce(0x28c),this[_0x5aadce(0x22a)][_0x5aadce(0x218)](this)),this[_0x5aadce(0x215)](this[_0x5aadce(0x27b)],_0x5aadce(0x231),(_0x4c27d0,_0x411da1)=>{const _0xf37d12=_0x5aadce;this[_0xf37d12(0x1ff)](_0xf37d12(0x2a6),_0x411da1);}),this[_0x5aadce(0x215)](this[_0x5aadce(0x27b)],_0x5aadce(0x2a5),()=>{const _0x9b5878=_0x5aadce;this[_0x9b5878(0x22f)]=!0x1;});const _0x27cb37=this[_0x5aadce(0x243)][_0x5aadce(0x27c)](_0x541adc);this[_0x5aadce(0x22c)]=!0x0;const _0x448b4a=await this[_0x5aadce(0x27b)][_0x5aadce(0x24e)](_0x252f8e,this[_0x5aadce(0x204)](_0x541adc),_0x27cb37);if(this[_0x5aadce(0x211)]=_0x448b4a[_0x5aadce(0x211)],_0x687ea0){if(!_0x448b4a[_0x5aadce(0x293)])return void this[_0x5aadce(0x271)]();this[_0x5aadce(0x22c)]=!0x1,this[_0x5aadce(0x239)](),this[_0x5aadce(0x214)][_0x5aadce(0x276)](),this[_0x5aadce(0x207)]=_0x448b4a[_0x5aadce(0x1fe)],this[_0x5aadce(0x214)][_0x5aadce(0x1d3)]=this[_0x5aadce(0x207)],await this[_0x5aadce(0x1c3)](_0x541adc,_0x448b4a,_0x5aadce(0x1c9));}else await this[_0x5aadce(0x253)](_0x448b4a,_0x541adc);this[_0x5aadce(0x1b7)](),this[_0x5aadce(0x22f)]=!0x0;}[_0x5714ec(0x1b7)](){const _0x4045b4=_0x5714ec,_0x3b1721=this[_0x4045b4(0x1b9)][_0x4045b4(0x230)][_0x4045b4(0x244)](_0x53fa67),_0x15f86b=this[_0x4045b4(0x1b9)][_0x4045b4(0x230)][_0x4045b4(0x244)](_0x15ce5c),_0x252469=_0x3b1721[_0x4045b4(0x29e)][_0x4045b4(0x244)](this[_0x4045b4(0x24c)]);_0x252469&&_0x252469[_0x4045b4(0x232)]>0x1?_0x15f86b[_0x4045b4(0x1c1)]():this[_0x4045b4(0x215)](_0x3b1721,_0x4045b4(0x1a5)+this[_0x4045b4(0x24c)],()=>{const _0x171457=_0x4045b4;0x2===_0x3b1721[_0x171457(0x29e)][_0x171457(0x244)](this[_0x171457(0x24c)])[_0x171457(0x232)]&&_0x15f86b[_0x171457(0x1c1)]();});}async[_0x5714ec(0x22a)](_0x1be438,_0x1c8b25,_0x1bc4a7,_0x43b8b4){const _0x47d159=_0x5714ec;if(!this[_0x47d159(0x22c)]&&this[_0x47d159(0x1ea)][_0x47d159(0x1d3)]==_0x1c8b25){const _0x5ecc09=this[_0x47d159(0x288)](_0x1bc4a7,_0x43b8b4);await this[_0x47d159(0x1f1)](_0x5ecc09),this[_0x47d159(0x1f6)](_0x5ecc09,_0x1c8b25,_0x1bc4a7[_0x47d159(0x1db)])||this[_0x47d159(0x1ff)](_0x47d159(0x235));}}async[_0x5714ec(0x1dd)](){const _0x457ea6=_0x5714ec;this[_0x457ea6(0x28f)]();const {locale:_0x225658}=this[_0x457ea6(0x1b9)];let _0x16979a;try{_0x16979a=await this[_0x457ea6(0x27b)][_0x457ea6(0x1ed)]();}catch(_0x2eef07){const _0x3971fa=_0x5d3b37(_0x225658,_0x457ea6(0x294));return void this[_0x457ea6(0x271)](_0x3971fa);}const _0x2b39b3=_0x16979a[_0x457ea6(0x224)]||_0x16979a[_0x457ea6(0x274)];if(this[_0x457ea6(0x1bf)]===_0x2b39b3[_0x457ea6(0x1db)])await this[_0x457ea6(0x24b)](this[_0x457ea6(0x1b9)][_0x457ea6(0x23f)][_0x457ea6(0x28a)][_0x457ea6(0x266)][_0x457ea6(0x20b)](),!0x0);else{const _0x4d3aba=_0x5d3b37(_0x225658,_0x457ea6(0x26e));this[_0x457ea6(0x271)](_0x4d3aba);}}[_0x5714ec(0x28f)](){const _0x57f51f=_0x5714ec;this[_0x57f51f(0x27b)][_0x57f51f(0x27e)](),this[_0x57f51f(0x299)]=[],clearTimeout(this[_0x57f51f(0x225)]),this[_0x57f51f(0x1f5)](this[_0x57f51f(0x27b)]);}[_0x5714ec(0x1f0)](_0x48befb){const _0x390fc4=_0x5714ec,_0x45af13=this[_0x390fc4(0x1b9)][_0x390fc4(0x230)][_0x390fc4(0x244)](_0x53fa67);this[_0x390fc4(0x215)](_0x45af13,_0x390fc4(0x1a5)+this[_0x390fc4(0x24c)],(_0x59935b,{session:_0x1e8ab4})=>{const _0x3d3d72=_0x390fc4;if(_0x1e8ab4['id']===_0x45af13[_0x3d3d72(0x1d0)]){_0x59935b[_0x3d3d72(0x1ac)]();const _0xea8ea7=this[_0x3d3d72(0x1b9)][_0x3d3d72(0x230)][_0x3d3d72(0x23b)](_0x3d3d72(0x1ad))&&this[_0x3d3d72(0x1b9)][_0x3d3d72(0x230)][_0x3d3d72(0x244)](_0x3d3d72(0x1ad));let _0x145d12=_0x1e8ab4[_0x3d3d72(0x220)];_0xea8ea7&&_0xea8ea7[_0x3d3d72(0x26f)]&&(_0x145d12=_0x145d12[_0x3d3d72(0x1e6)](_0x4a02bf=>_0x3d3d72(0x2a4)!==_0x4a02bf)),this[_0x3d3d72(0x1b9)][_0x3d3d72(0x230)][_0x3d3d72(0x244)](_0x3d3d72(0x1da))[_0x3d3d72(0x28b)](_0x145d12,this[_0x3d3d72(0x24c)]);}}),_0x45af13[_0x390fc4(0x205)](this[_0x390fc4(0x24c)],_0x48befb);}[_0x5714ec(0x1f3)](){const _0x20e48f=_0x5714ec,_0x5a9dd5=this[_0x20e48f(0x1b9)][_0x20e48f(0x270)][_0x20e48f(0x27a)];this[_0x20e48f(0x1b9)][_0x20e48f(0x270)][_0x20e48f(0x27a)]=(..._0x443a86)=>{const _0x30a539=_0x20e48f;if(!_0x443a86[_0x443a86[_0x30a539(0x232)]-0x1][_0x30a539(0x289)])throw new _0x82a9ea(_0x30a539(0x1b5),this);_0x5a9dd5[_0x30a539(0x1b8)](this[_0x30a539(0x1b9)][_0x30a539(0x270)],_0x443a86);};}[_0x5714ec(0x1c2)](){const _0x12b790=_0x5714ec;this[_0x12b790(0x1b9)][_0x12b790(0x270)]['on'](_0x12b790(0x1a7),(_0x349b63,[_0x18b1b8])=>{const _0x5036c2=_0x12b790;if(this[_0x5036c2(0x1ea)][_0x5036c2(0x1d3)])throw new _0x82a9ea(_0x5036c2(0x1af),this);_0x349b63[_0x5036c2(0x217)](),this[_0x5036c2(0x1d4)]();const _0x5d7dab=this[_0x5036c2(0x1b9)][_0x5036c2(0x272)][_0x5036c2(0x244)](_0x5036c2(0x1e8)),_0x25b52a=this[_0x5036c2(0x1e4)](_0x18b1b8,_0x5d7dab);0x0==_0x25b52a[_0x5036c2(0x232)]&&_0x25b52a[_0x5036c2(0x241)](new _0x1f3908(0x0)),_0x349b63[_0x5036c2(0x1bc)]=this[_0x5036c2(0x24b)](_0x25b52a)[_0x5036c2(0x286)](()=>{const _0x306356=_0x5036c2;this[_0x306356(0x1b9)][_0x306356(0x230)][_0x306356(0x244)](_0x39584b)[_0x306356(0x2a1)](this),this[_0x306356(0x1b9)][_0x306356(0x270)][_0x306356(0x1e7)](_0x306356(0x1d7));})[_0x5036c2(0x260)](_0x19b864=>this[_0x5036c2(0x1ff)](_0x5036c2(0x262),_0x19b864))[_0x5036c2(0x256)](()=>this[_0x5036c2(0x239)]());},{'priority':_0x12b790(0x26c)}),this[_0x12b790(0x1b9)]['on'](_0x12b790(0x269),async(_0x26ab86,[_0xdd1c39,_0x3e139b])=>{const _0x5ad7e2=_0x12b790;_0x26ab86[_0x5ad7e2(0x217)]();const _0x514568=this[_0x5ad7e2(0x1b9)][_0x5ad7e2(0x23f)][_0x5ad7e2(0x28a)][_0x5ad7e2(0x1a3)](_0xdd1c39);if(!this[_0x5ad7e2(0x28e)][_0x5ad7e2(0x23b)](_0xdd1c39)){const _0x3d66f5=_0x3e139b&&_0x3e139b[_0x5ad7e2(0x270)]?_0x3e139b[_0x5ad7e2(0x270)]:'',_0x2d7663=_0x3e139b&&_0x3e139b[_0x5ad7e2(0x1c6)]?_0x3e139b[_0x5ad7e2(0x1c6)]:{};await this[_0x5ad7e2(0x1ce)](_0xdd1c39,_0x3d66f5,_0x2d7663);}this[_0x5ad7e2(0x1b9)][_0x5ad7e2(0x23f)][_0x5ad7e2(0x1cd)]({'isUndoable':!0x1},()=>{const _0x482106=_0x5ad7e2;_0x514568[_0x482106(0x221)]=!0x0,this[_0x482106(0x1b9)][_0x482106(0x23f)][_0x482106(0x28a)][_0x482106(0x1cb)][_0x482106(0x249)](_0x514568);});},{'priority':_0x12b790(0x26c)});}async[_0x5714ec(0x1f1)](_0x51c355){const _0x515241=_0x5714ec,_0x3ce6d9=this[_0x515241(0x1b9)][_0x515241(0x230)][_0x515241(0x244)](_0x3d0f54),{connection:_0x431a5a}=this[_0x515241(0x1b9)][_0x515241(0x230)][_0x515241(0x244)](_0x39584b),_0xeeccd3=new Set();for(const _0x1f5399 of _0x51c355){const _0x55f515=_0x1f5399[_0x515241(0x20f)];_0x55f515&&!_0x3ce6d9[_0x515241(0x21a)](_0x55f515)&&_0xeeccd3[_0x515241(0x1ee)](_0x55f515);}if(0x0===_0xeeccd3[_0x515241(0x1f2)])return;const _0x361df7=await _0x47ae19[_0x515241(0x290)](_0x431a5a,Array[_0x515241(0x1de)](_0xeeccd3));for(const _0x557d80 of _0x361df7)_0x3ce6d9[_0x515241(0x21a)](_0x557d80['id'])||_0x3ce6d9[_0x515241(0x29b)](_0x557d80);}[_0x5714ec(0x1e4)](_0x10926e,_0xe64ee2={}){const _0x241680=_0x5714ec,_0xa05695=this[_0x241680(0x1b9)][_0x241680(0x23f)],_0x666520=[];let _0x5f5a85=0x0;const _0x1043ad=_0x241680(0x1ca)==typeof _0x10926e?{'main':_0x10926e}:_0x10926e;for(const _0x44865a of Object[_0x241680(0x291)](_0x1043ad)){if(!this[_0x241680(0x1ea)][_0x241680(0x245)][_0x241680(0x23b)](_0x44865a))throw new _0x82a9ea(_0x241680(0x206),this);const _0x56dacc=this[_0x241680(0x1b9)][_0x241680(0x270)][_0x241680(0x22b)](_0x1043ad[_0x44865a]),_0x459354=this[_0x241680(0x1ea)][_0x241680(0x1a3)](_0x44865a),_0x5ae176=new _0x4086d1(_0xa05695[_0x241680(0x237)](_0x459354,0x0),_0x56dacc,_0x5f5a85++);_0x666520[_0x241680(0x241)](_0x5ae176);for(const [_0x5aa841,_0x3cb108]of _0x56dacc[_0x241680(0x201)]){const _0x2b3e1c=_0xa05695[_0x241680(0x1a6)](_0xa05695[_0x241680(0x254)](_0x459354,_0x3cb108[_0x241680(0x2a3)][_0x241680(0x27d)][_0x241680(0x267)]()),_0xa05695[_0x241680(0x254)](_0x459354,_0x3cb108[_0x241680(0x1ec)][_0x241680(0x27d)][_0x241680(0x267)]())),_0x5f320d=new _0x4915e9(_0x5aa841,null,_0x2b3e1c,_0xa05695[_0x241680(0x201)],!0x0,_0x5f5a85++);_0x666520[_0x241680(0x241)](_0x5f320d);}}if(_0xe64ee2)for(const [_0x28b796,_0x3cab50]of Object[_0x241680(0x1d5)](_0xe64ee2)){const _0x184ac1=_0xa05695[_0x241680(0x28a)][_0x241680(0x1a3)](_0x28b796);if(!_0x184ac1)throw new _0x82a9ea(_0x241680(0x297),null);for(const [_0x353fa7,_0x4a7142]of Object[_0x241680(0x1d5)](_0x3cab50))if(null!==_0x4a7142){const _0x1cc98b=new _0x15ac97(_0x184ac1,_0x353fa7,null,_0x4a7142,_0x5f5a85++);_0x666520[_0x241680(0x241)](_0x1cc98b);}}return _0x666520;}async[_0x5714ec(0x1ce)](_0x2a6e8b,_0x19dc86,_0xc66b62){const _0x49621c=_0x5714ec;this[_0x49621c(0x1e4)]({[_0x2a6e8b]:_0x19dc86},{[_0x2a6e8b]:_0xc66b62})[_0x49621c(0x25b)]((_0x40c76b,_0xa28610)=>{const _0x378985=_0x49621c;_0x40c76b[_0x378985(0x281)]=this[_0x378985(0x1ea)][_0x378985(0x1d3)]+_0xa28610,_0x40c76b[_0x378985(0x202)]=!0x0,this[_0x378985(0x236)](_0x40c76b);}),this[_0x49621c(0x21e)](),await this[_0x49621c(0x200)]();}async[_0x5714ec(0x253)](_0x54701f,_0x2e6f93){const _0x2afb2e=_0x5714ec;let _0x97e036;this[_0x2afb2e(0x207)]=_0x54701f[_0x2afb2e(0x1fe)];const _0x42891c=_0x54701f[_0x2afb2e(0x293)]&&!_0x54701f[_0x2afb2e(0x1b6)],_0x43bf81=_0x42891c?0x0:_0x54701f[_0x2afb2e(0x270)][_0x2afb2e(0x281)];if(_0x2e6f93[_0x2afb2e(0x25b)](_0x1de218=>{const _0x328c14=_0x2afb2e;_0x1de218[_0x328c14(0x202)]=!0x0,_0x1de218[_0x328c14(0x2a0)]=_0x54701f[_0x328c14(0x28d)],_0x1de218[_0x328c14(0x20f)]=null;}),_0x42891c)_0x97e036=_0x2e6f93,this[_0x2afb2e(0x2a2)](_0x97e036,_0x42891c);else{if(_0x54701f[_0x2afb2e(0x1b6)]){const _0x4e8d67=this[_0x2afb2e(0x1e4)](_0x54701f[_0x2afb2e(0x1b6)]);this[_0x2afb2e(0x1ea)][_0x2afb2e(0x266)][_0x2afb2e(0x1d3)]=-_0x4e8d67[_0x2afb2e(0x232)],_0x4e8d67[_0x2afb2e(0x25b)](_0x326b79=>{const _0x34d578=_0x2afb2e;_0x326b79[_0x34d578(0x281)]-=_0x4e8d67[_0x34d578(0x232)],_0x326b79[_0x34d578(0x2a0)]=_0x54701f[_0x34d578(0x28d)],_0x326b79[_0x34d578(0x202)]=!0x0,_0x326b79[_0x34d578(0x20f)]=null;}),this[_0x2afb2e(0x2a2)](_0x4e8d67,!0x0),this[_0x2afb2e(0x214)][_0x2afb2e(0x1d3)]=-_0x4e8d67[_0x2afb2e(0x232)]+this[_0x2afb2e(0x207)],this[_0x2afb2e(0x264)](_0x4e8d67);}this[_0x2afb2e(0x1ea)][_0x2afb2e(0x266)][_0x2afb2e(0x1d3)]=_0x43bf81,_0x97e036=this[_0x2afb2e(0x288)](_0x54701f[_0x2afb2e(0x270)],_0x54701f[_0x2afb2e(0x1be)]),await this[_0x2afb2e(0x1f1)](_0x97e036),this[_0x2afb2e(0x2a2)](_0x97e036,_0x42891c);}_0x54701f[_0x2afb2e(0x1db)]&&(this[_0x2afb2e(0x243)][_0x2afb2e(0x21b)](_0x97e036,_0x54701f[_0x2afb2e(0x1db)]),this[_0x2afb2e(0x1bf)]=_0x54701f[_0x2afb2e(0x1db)]),this[_0x2afb2e(0x214)][_0x2afb2e(0x1d3)]=_0x43bf81+this[_0x2afb2e(0x207)],this[_0x2afb2e(0x264)](_0x97e036),_0x2e6f93[_0x2afb2e(0x1e6)](_0x3d84ec=>{const _0x5a9217=_0x2afb2e,_0x298bf=this[_0x5a9217(0x1d1)](_0x3d84ec);return _0x298bf&&!this[_0x5a9217(0x28e)][_0x5a9217(0x23b)](_0x298bf);})[_0x2afb2e(0x25b)]((_0x3df38f,_0x261b5e)=>{const _0x278efe=_0x2afb2e;_0x3df38f[_0x278efe(0x281)]=this[_0x278efe(0x1ea)][_0x278efe(0x1d3)]+_0x261b5e,this[_0x278efe(0x236)](_0x3df38f);}),this[_0x2afb2e(0x234)]()?(this[_0x2afb2e(0x25e)]=0x0,this[_0x2afb2e(0x21e)](!0x0),await this[_0x2afb2e(0x200)]()):(this[_0x2afb2e(0x22c)]=!0x1,this[_0x2afb2e(0x239)]());}[_0x5714ec(0x1ff)](_0x326745,_0x27fa6c,_0x557d1f){const _0xdff3ba=_0x5714ec;throw this[_0xdff3ba(0x22c)]=!0x0,_0x27fa6c&&console[_0xdff3ba(0x231)](_0x27fa6c),_0x557d1f&&this[_0xdff3ba(0x1b9)][_0xdff3ba(0x20c)](_0xdff3ba(0x1eb)),new _0x82a9ea(_0x326745,this[_0xdff3ba(0x1b9)]);}[_0x5714ec(0x236)](_0xef52c0){const _0x12796f=_0x5714ec;this[_0x12796f(0x1cc)][_0x12796f(0x23b)](_0xef52c0)||(this[_0x12796f(0x1cc)][_0x12796f(0x1ee)](_0xef52c0),this[_0x12796f(0x299)][_0x12796f(0x241)](_0xef52c0),this[_0x12796f(0x1a9)]||_0x12796f(0x23d)==_0xef52c0[_0x12796f(0x259)]&&!_0xef52c0[_0x12796f(0x1b4)]||this[_0x12796f(0x1d4)]());}[_0x5714ec(0x21e)](_0x4f4cd9=!0x1){const _0x2e73d7=_0x5714ec;!_0x4f4cd9&&this[_0x2e73d7(0x22c)]||(this[_0x2e73d7(0x22c)]=!0x0,clearTimeout(this[_0x2e73d7(0x225)]),this[_0x2e73d7(0x225)]=setTimeout(()=>{const _0x57f4cb=_0x2e73d7;this[_0x57f4cb(0x25c)]()[_0x57f4cb(0x286)](_0x12596e=>{const _0x280888=_0x57f4cb;_0x12596e&&(this[_0x280888(0x239)](),this[_0x280888(0x22c)]=!0x1);})[_0x57f4cb(0x260)](_0x360b1b=>{const _0x649475=_0x57f4cb;this[_0x649475(0x239)](),this[_0x649475(0x22c)]=!0x1,function(_0x5dd361){const _0xb23af6=_0x649475;return _0x5dd361[_0xb23af6(0x246)][_0xb23af6(0x258)](_0xb23af6(0x213))||_0x5dd361[_0xb23af6(0x246)][_0xb23af6(0x258)](_0xb23af6(0x23e))||_0x5dd361[_0xb23af6(0x246)][_0xb23af6(0x258)](_0xb23af6(0x1fc));}(_0x360b1b)||this[_0x649475(0x1ff)](_0x360b1b[_0x649475(0x246)],_0x360b1b,!0x0);});},this[_0x2e73d7(0x25e)]));}[_0x5714ec(0x200)](){return new Promise(_0x355b39=>{const _0x1160af=_0x2d3c;this['on'](_0x1160af(0x255),()=>{_0x355b39();});});}async[_0x5714ec(0x25c)](){const _0x134289=_0x5714ec,_0x378602=this[_0x134289(0x1b9)][_0x134289(0x230)][_0x134289(0x244)](_0x15ce5c);if(this[_0x134289(0x25d)]()&&(_0x378602[_0x134289(0x1c1)](),this[_0x134289(0x282)]=!0x1),!this[_0x134289(0x234)]())return!0x0;const _0x5adf7c=[...this[_0x134289(0x299)]];for(const _0x10527c of _0x5adf7c)_0x10527c[_0x134289(0x229)]=this[_0x134289(0x1ea)][_0x134289(0x266)][_0x134289(0x21f)](_0x10527c);const _0x1f44e4=this[_0x134289(0x243)][_0x134289(0x27c)](_0x5adf7c),_0x20409b=Z++,_0x426d1b=this[_0x134289(0x204)](_0x5adf7c),_0x449526=await this[_0x134289(0x27b)][_0x134289(0x219)](_0x426d1b,_0x426d1b[_0x134289(0x281)],_0x1f44e4);try{return await this[_0x134289(0x1c3)](_0x5adf7c,_0x449526,_0x20409b);}catch(_0xba81bd){return this[_0x134289(0x1ff)](_0x134289(0x20a),_0xba81bd);}}async[_0x5714ec(0x1c3)](_0x2f360b,_0x1112e1,_0x5c356a){const _0xb6f52d=_0x5714ec;if(_0xb6f52d(0x231)in _0x1112e1)throw _0x1112e1[_0xb6f52d(0x231)];let _0x462f96=!0x1;if(_0x1112e1[_0xb6f52d(0x293)]){_0x1112e1[_0xb6f52d(0x1db)]&&(this[_0xb6f52d(0x1bf)]=_0x1112e1[_0xb6f52d(0x1db)]),this[_0xb6f52d(0x299)]=this[_0xb6f52d(0x299)][_0xb6f52d(0x1e6)](_0x468d9b=>!_0x2f360b[_0xb6f52d(0x275)](_0x468d9b));for(const _0x2822df of _0x2f360b)_0x2822df[_0xb6f52d(0x2a0)]=_0xb6f52d(0x1e5)in _0x1112e1&&_0x1112e1[_0xb6f52d(0x1e5)]||void 0x0;it(_0x2f360b,_0x1112e1[_0xb6f52d(0x1d3)]-_0x2f360b[_0xb6f52d(0x232)]),this[_0xb6f52d(0x264)](_0x2f360b);const _0xf83330=_0x2f360b[_0xb6f52d(0x1e6)](_0xd54bc6=>{const _0x2255b7=_0xb6f52d;if(!_0xd54bc6[_0x2255b7(0x202)])return!0x1;const _0x15378a=this[_0x2255b7(0x1d1)](_0xd54bc6);return _0x15378a&&!this[_0x2255b7(0x28e)][_0x2255b7(0x23b)](_0x15378a);});it(_0xf83330,this[_0xb6f52d(0x1ea)][_0xb6f52d(0x1d3)]),this[_0xb6f52d(0x2a2)](_0xf83330),_0x462f96=!0x0,this[_0xb6f52d(0x25e)]=this[_0xb6f52d(0x29d)];}else{const _0x1866cb=this[_0xb6f52d(0x288)](_0x1112e1[_0xb6f52d(0x270)],_0x1112e1[_0xb6f52d(0x1be)])[_0xb6f52d(0x1e6)](_0xb08c7c=>_0xb08c7c[_0xb6f52d(0x281)]>=this[_0xb6f52d(0x1bb)]);_0x1866cb[_0xb6f52d(0x25b)](_0x1d993c=>this[_0xb6f52d(0x29a)](_0x1d993c)),this[_0xb6f52d(0x299)]=this[_0xb6f52d(0x299)][_0xb6f52d(0x1e6)](_0x23e6ed=>!_0x23e6ed[_0xb6f52d(0x202)]||!this[_0xb6f52d(0x28e)][_0xb6f52d(0x23b)](this[_0xb6f52d(0x1d1)](_0x23e6ed))),this[_0xb6f52d(0x299)][_0xb6f52d(0x232)]&&it(this[_0xb6f52d(0x299)],this[_0xb6f52d(0x299)][0x0][_0xb6f52d(0x281)]),await this[_0xb6f52d(0x1f1)](_0x1866cb),_0x462f96=this[_0xb6f52d(0x1f6)](_0x1866cb,_0x1112e1[_0xb6f52d(0x1d3)],_0x1112e1[_0xb6f52d(0x1db)]),this[_0xb6f52d(0x25e)]=Math[_0xb6f52d(0x248)](this[_0xb6f52d(0x25e)]/0x2);}return _0x462f96?!this[_0xb6f52d(0x234)]()||(this[_0xb6f52d(0x21e)](!0x0),!0x1):this[_0xb6f52d(0x1ff)](_0xb6f52d(0x22d));}[_0x5714ec(0x1f6)](_0x596191,_0x135382,_0x1c3db4){const _0x3113f5=_0x5714ec;try{const _0x9ceb83={'document':this[_0x3113f5(0x1ea)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x38197a,operationsB:_0x2c4e36,originalOperations:_0x6ecacf}=_0x1b1c62(_0x596191,this[_0x3113f5(0x299)],_0x9ceb83);it(_0x38197a,this[_0x3113f5(0x1ea)][_0x3113f5(0x1d3)]),it(_0x2c4e36,_0x135382);for(const _0x34f8eb of _0x38197a){const _0x4a26cf=_0x6ecacf[_0x3113f5(0x244)](_0x34f8eb);_0x34f8eb[_0x3113f5(0x20f)]=_0x4a26cf?_0x4a26cf[_0x3113f5(0x20f)]:null;}_0x1c3db4&&(this[_0x3113f5(0x243)][_0x3113f5(0x21b)](_0x596191,_0x1c3db4),this[_0x3113f5(0x1bf)]=_0x1c3db4),this[_0x3113f5(0x299)]=[..._0x2c4e36],this[_0x3113f5(0x2a2)](_0x38197a),this[_0x3113f5(0x264)](_0x596191);}catch(_0x57e2a8){return console[_0x3113f5(0x231)](_0x57e2a8),!0x1;}return!0x0;}[_0x5714ec(0x2a2)](_0x5edcce,_0x2b9d0c=!0x1){const _0x44f491=_0x5714ec;this[_0x44f491(0x1b9)][_0x44f491(0x23f)][_0x44f491(0x1cd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1cf7a9=>{const _0x5fcb70=_0x44f491;for(const _0x5830e7 of _0x5edcce)this[_0x5fcb70(0x1cc)][_0x5fcb70(0x1ee)](_0x5830e7),this[_0x5fcb70(0x29a)](_0x5830e7),_0x1cf7a9[_0x5fcb70(0x284)][_0x5fcb70(0x1ef)](_0x5830e7),this[_0x5fcb70(0x1b9)][_0x5fcb70(0x23f)][_0x5fcb70(0x1f7)](_0x5830e7);});}[_0x5714ec(0x29a)](_0x10b71e){const _0x37be67=_0x5714ec,_0x40411b=this[_0x37be67(0x1d1)](_0x10b71e);_0x40411b&&this[_0x37be67(0x28e)][_0x37be67(0x1ee)](_0x40411b);}[_0x5714ec(0x1d1)](_0x5c1def){const _0x1d406c=_0x5714ec;let _0x37c049,_0x4320f;switch(_0x5c1def[_0x1d406c(0x259)]){case _0x1d406c(0x25f):_0x37c049=_0x5c1def[_0x1d406c(0x26b)][_0x1d406c(0x24f)];break;case _0x1d406c(0x23d):if(_0x4320f=_0x5c1def[_0x1d406c(0x212)],!_0x4320f)return null;_0x37c049=_0x4320f[_0x1d406c(0x24f)];break;case _0x1d406c(0x23a):_0x37c049=_0x5c1def[_0x1d406c(0x24f)];break;case _0x1d406c(0x261):_0x37c049=_0x5c1def[_0x1d406c(0x1c0)];break;case _0x1d406c(0x1c4):_0x37c049=_0x5c1def[_0x1d406c(0x252)][_0x1d406c(0x24f)];break;default:return null;}return _0x37c049[_0x1d406c(0x1f4)];}[_0x5714ec(0x264)](_0x584099){const _0x248b40=_0x5714ec;_0x584099[_0x248b40(0x25b)](_0x1e8bc7=>{const _0x64c77d=_0x248b40,_0x4299bd=_0x1e8bc7[_0x64c77d(0x268)]();_0x4299bd[_0x64c77d(0x20f)]=_0x1e8bc7[_0x64c77d(0x20f)],_0x4299bd[_0x64c77d(0x202)]=!!_0x1e8bc7[_0x64c77d(0x202)],_0x4299bd[_0x64c77d(0x2a0)]=_0x1e8bc7[_0x64c77d(0x2a0)],_0x4299bd[_0x64c77d(0x281)]+=this[_0x64c77d(0x207)],_0x1e8bc7[_0x64c77d(0x1ba)]&&this[_0x64c77d(0x216)][_0x64c77d(0x1ee)](_0x4299bd),this[_0x64c77d(0x214)][_0x64c77d(0x1ef)](_0x4299bd);});}[_0x5714ec(0x271)](_0x48a8e1){const _0x59fcde=_0x5714ec,_0x5b7fa5=this[_0x59fcde(0x1b9)][_0x59fcde(0x230)][_0x59fcde(0x244)](_0x59fcde(0x2a7)),_0x4e9952=this[_0x59fcde(0x1b9)][_0x59fcde(0x21d)];_0x48a8e1||(_0x48a8e1=_0x5d3b37(_0x4e9952,_0x59fcde(0x238))),_0x5b7fa5[_0x59fcde(0x287)](_0x48a8e1,{'title':_0x5d3b37(_0x4e9952,_0x59fcde(0x1c8)),'namespace':_0x59fcde(0x29f)}),this[_0x59fcde(0x22e)]=!0x0,clearTimeout(this[_0x59fcde(0x225)]),this[_0x59fcde(0x299)]=[],this[_0x59fcde(0x1b9)][_0x59fcde(0x230)][_0x59fcde(0x244)](_0x39584b)[_0x59fcde(0x279)]();}[_0x5714ec(0x1d4)](){const _0x2b2534=_0x5714ec;this[_0x2b2534(0x1a9)]||(this[_0x2b2534(0x1a9)]=this[_0x2b2534(0x1b9)][_0x2b2534(0x230)][_0x2b2534(0x244)](_0x2df6d8)[_0x2b2534(0x1ee)](_0x5d3b37(this[_0x2b2534(0x1b9)][_0x2b2534(0x21d)],_0x2b2534(0x277))));}[_0x5714ec(0x239)](){const _0x35965d=_0x5714ec;this[_0x35965d(0x1a9)]&&(this[_0x35965d(0x1b9)][_0x35965d(0x230)][_0x35965d(0x244)](_0x2df6d8)[_0x35965d(0x273)](this[_0x35965d(0x1a9)]),this[_0x35965d(0x1a9)]=null);}[_0x5714ec(0x204)](_0x756df1){const _0x4dafb5=_0x5714ec,_0x18fd7d=_0x756df1[_0x4dafb5(0x228)](_0x233353=>_0x233353[_0x4dafb5(0x257)]());return this[_0x4dafb5(0x26d)][_0x4dafb5(0x1fa)](_0x18fd7d);}[_0x5714ec(0x288)](_0x358b2f,_0x463cfa){const _0xf6e1b4=_0x5714ec;return this[_0xf6e1b4(0x26d)][_0xf6e1b4(0x1d2)](_0x358b2f)[_0xf6e1b4(0x228)]((_0x5b57e7,_0x2a1f3b)=>{const _0x4be837=_0xf6e1b4,_0x233c05=_0x4be837(0x1a7)==_0x463cfa[_0x2a1f3b][_0x4be837(0x259)];if(_0x4be837(0x21c)==_0x5b57e7[_0x4be837(0x1ae)]){const _0x2a48e9=_0x5b57e7[_0x4be837(0x26b)][_0x4be837(0x24f)];!this[_0x4be837(0x1ea)][_0x4be837(0x1a3)](_0x2a48e9)&&(this[_0x4be837(0x1ea)][_0x4be837(0x1c5)](_0x4be837(0x24d),_0x2a48e9)[_0x4be837(0x1bd)]=!0x1);}const _0x20664a=_0xc967a[_0x4be837(0x222)](_0x5b57e7,this[_0x4be837(0x1ea)]);return _0x20664a[_0x4be837(0x229)]=_0x5b57e7[_0x4be837(0x229)],_0x20664a[_0x4be837(0x202)]=_0x233c05,_0x20664a[_0x4be837(0x20f)]=_0x233c05?null:_0x463cfa[_0x2a1f3b][_0x4be837(0x210)],_0x20664a[_0x4be837(0x1ba)]=_0x4be837(0x1cf)===_0x463cfa[_0x2a1f3b][_0x4be837(0x259)],_0x20664a[_0x4be837(0x2a0)]=_0x463cfa[_0x2a1f3b][_0x4be837(0x2a0)],_0x20664a;});}[_0x5714ec(0x292)](){const _0x2bfc4c=_0x5714ec;this[_0x2bfc4c(0x282)]=!0x0,this[_0x2bfc4c(0x25d)]()?this[_0x2bfc4c(0x21e)]():this[_0x2bfc4c(0x282)]=!0x1;}[_0x5714ec(0x25d)](){const _0x1dd67e=_0x5714ec,_0x418ec6=this[_0x1dd67e(0x1b9)][_0x1dd67e(0x230)][_0x1dd67e(0x244)](_0x53fa67)[_0x1dd67e(0x29e)][_0x1dd67e(0x244)](this[_0x1dd67e(0x24c)]);return!this[_0x1dd67e(0x1b9)][_0x1dd67e(0x285)]&&!!_0x418ec6&&_0x418ec6[_0x1dd67e(0x232)]>0x1&&this[_0x1dd67e(0x282)];}[_0x5714ec(0x234)](){const _0x317484=_0x5714ec;return this[_0x317484(0x299)][_0x317484(0x232)]>0x0||this[_0x317484(0x25d)]();}}l[_0x5714ec(0x209)]=_0x5b5a20;export default l;class tt extends Error{}function it(_0x2dc342,_0x229c49){const _0xbdd598=_0x5714ec;for(const _0xf6f005 of _0x2dc342)_0xf6f005[_0xbdd598(0x281)]=_0x229c49++;}class st{constructor(_0x29d4c2){const _0x23c890=_0x5714ec;this[_0x23c890(0x29c)]=_0x29d4c2,this[_0x23c890(0x1df)]=new WeakMap();}[_0x5714ec(0x27c)](_0xd8e5ff){const _0x5c3317=_0x5714ec;let _0x8fb887=_0xd8e5ff[_0x5c3317(0x232)];for(;_0x8fb887--;){const _0x16c443=_0xd8e5ff[_0x8fb887];if(!this[_0x5c3317(0x29c)][_0x5c3317(0x23b)](_0x16c443)){if(!this[_0x5c3317(0x1df)][_0x5c3317(0x23b)](_0x16c443)){const _0x469123=_0xf37430()[_0x5c3317(0x267)](0x1,0x12);this[_0x5c3317(0x1df)][_0x5c3317(0x27a)](_0x16c443,_0x469123);}return this[_0x5c3317(0x1df)][_0x5c3317(0x244)](_0x16c443);}}}[_0x5714ec(0x21b)](_0x2797bd,_0x3643d0){const _0x2c123e=_0x5714ec;if(!_0x3643d0)return;let _0x207bcd=_0x2797bd[_0x2c123e(0x232)];for(;_0x207bcd--;){const _0x367c0e=_0x2797bd[_0x207bcd];this[_0x2c123e(0x29c)][_0x2c123e(0x23b)](_0x367c0e)||this[_0x2c123e(0x1df)][_0x2c123e(0x27a)](_0x367c0e,_0x3643d0);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a560a=_0x5422;(function(_0x282775,_0x43c04f){const _0x3586d4=_0x5422,_0x38f90e=_0x282775();while(!![]){try{const _0x470be5=parseInt(_0x3586d4(0x13c))/0x1*(-parseInt(_0x3586d4(0x16a))/0x2)+-parseInt(_0x3586d4(0x15d))/0x3+parseInt(_0x3586d4(0x13e))/0x4+-parseInt(_0x3586d4(0x156))/0x5*(parseInt(_0x3586d4(0x139))/0x6)+-parseInt(_0x3586d4(0x172))/0x7+parseInt(_0x3586d4(0x13f))/0x8+parseInt(_0x3586d4(0x157))/0x9;if(_0x470be5===_0x43c04f)break;else _0x38f90e['push'](_0x38f90e['shift']());}catch(_0x27bf91){_0x38f90e['push'](_0x38f90e['shift']());}}}(_0x2614,0xa8f72));function _0x5422(_0x672245,_0x467a85){const _0x261447=_0x2614();return _0x5422=function(_0x5422c9,_0x4993d8){_0x5422c9=_0x5422c9-0x137;let _0x13ff44=_0x261447[_0x5422c9];return _0x13ff44;},_0x5422(_0x672245,_0x467a85);}import{ContextPlugin as _0x1bc42e}from'ckeditor5/src/core.js';import{Collection as _0x1c9e08,CKEditorError as _0x5817b3}from'ckeditor5/src/utils.js';import _0x1cb76b from'./websocketgateway.js';import{Users as _0x44e17c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1bc42e{static get[_0x5a560a(0x143)](){const _0x3ab06c=_0x5a560a;return _0x3ab06c(0x158);}static get[_0x5a560a(0x16b)](){return!0x0;}static get[_0x5a560a(0x15b)](){return!0x0;}static get[_0x5a560a(0x167)](){return[_0x1cb76b,_0x44e17c];}constructor(_0x2f6347){const _0x4d58c6=_0x5a560a;super(_0x2f6347),this[_0x4d58c6(0x165)]=new Map(),this[_0x4d58c6(0x162)]=new Map(),this[_0x4d58c6(0x160)]=new _0x1c9e08(),this[_0x4d58c6(0x147)]=new Map(),this[_0x4d58c6(0x13b)]=0x0,this[_0x4d58c6(0x13d)]=this[_0x4d58c6(0x168)][_0x4d58c6(0x171)][_0x4d58c6(0x16e)](_0x44e17c);}[_0x5a560a(0x140)](){const _0x128c3e=_0x5a560a,_0x1e3b5f=this[_0x128c3e(0x168)][_0x128c3e(0x171)][_0x128c3e(0x16e)](_0x1cb76b);this[_0x128c3e(0x14b)](_0x1e3b5f,_0x128c3e(0x14c),(_0x5f1c3c,_0x1f3cb5,_0x14a279)=>{const _0x36711b=_0x128c3e;if(_0x36711b(0x153)!==_0x14a279)this[_0x36711b(0x165)][_0x36711b(0x137)](_0x5b61c9=>_0x5b61c9[_0x36711b(0x142)]()),this[_0x36711b(0x162)][_0x36711b(0x137)](_0x466440=>_0x466440[_0x36711b(0x142)]()),this[_0x36711b(0x160)][_0x36711b(0x142)]();else{for(const [_0x3527fb,_0x314606]of this[_0x36711b(0x147)])for(const _0x1cb158 of _0x314606)this[_0x36711b(0x141)](_0x3527fb,_0x1cb158);}}),this[_0x128c3e(0x169)](_0x1e3b5f[_0x128c3e(0x15f)]['me'],!0x0);}[_0x5a560a(0x154)](_0x983802,_0x133167){const _0x4d5dd9=_0x5a560a;if(this[_0x4d5dd9(0x147)][_0x4d5dd9(0x14a)](_0x983802))throw new _0x5817b3(_0x4d5dd9(0x13a),null,{'channelId':_0x983802});this[_0x4d5dd9(0x147)][_0x4d5dd9(0x161)](_0x983802,_0x133167),this[_0x4d5dd9(0x165)][_0x4d5dd9(0x161)](_0x983802,new _0x1c9e08()),this[_0x4d5dd9(0x162)][_0x4d5dd9(0x161)](_0x983802,new _0x1c9e08()),this[_0x4d5dd9(0x14b)](_0x133167,_0x4d5dd9(0x163),(_0x7243c9,_0x135893)=>this[_0x4d5dd9(0x141)](_0x983802,_0x135893)),this[_0x4d5dd9(0x14b)](_0x133167,_0x4d5dd9(0x151),(_0x591e9b,_0x3a5656)=>this[_0x4d5dd9(0x14e)](_0x983802,_0x3a5656));for(const _0x488c2a of _0x133167)this[_0x4d5dd9(0x141)](_0x983802,_0x488c2a);}[_0x5a560a(0x148)](_0x55ad86){const _0x4639af=_0x5a560a;if(!this[_0x4639af(0x147)][_0x4639af(0x14a)](_0x55ad86))throw new _0x5817b3(_0x4639af(0x146),null,{'channelId':_0x55ad86});const _0x432c0a=this[_0x4639af(0x147)][_0x4639af(0x16e)](_0x55ad86);this[_0x4639af(0x15e)](_0x432c0a);for(const _0x8bacf5 of _0x432c0a)_0x4639af(0x153)===this[_0x4639af(0x168)][_0x4639af(0x171)][_0x4639af(0x16e)](_0x1cb76b)[_0x4639af(0x144)]&&this[_0x4639af(0x14e)](_0x55ad86,_0x8bacf5);this[_0x4639af(0x147)][_0x4639af(0x16f)](_0x55ad86),this[_0x4639af(0x165)][_0x4639af(0x16f)](_0x55ad86),this[_0x4639af(0x162)][_0x4639af(0x16f)](_0x55ad86);}get[_0x5a560a(0x159)](){const _0x59444d=_0x5a560a;return this[_0x59444d(0x168)][_0x59444d(0x171)][_0x59444d(0x16e)](_0x1cb76b)[_0x59444d(0x15f)][_0x59444d(0x14d)];}[_0x5a560a(0x149)](_0x21a593){const _0x55f395=_0x5a560a;for(const _0x17c432 of this[_0x55f395(0x165)][_0x55f395(0x155)]())for(const _0x3a0ac1 of _0x17c432)if(_0x3a0ac1['id']===_0x21a593)return _0x3a0ac1[_0x55f395(0x173)];}[_0x5a560a(0x170)](_0x453f4d,_0x5f562a){const _0x1a9f25=_0x5a560a,_0x377cc2=_0x5f562a?[this[_0x1a9f25(0x165)][_0x1a9f25(0x16e)](_0x5f562a)]:this[_0x1a9f25(0x165)][_0x1a9f25(0x155)](),_0x1ddade=new Set();for(const _0x25589a of _0x377cc2)for(const _0x409c49 of _0x25589a)_0x409c49[_0x1a9f25(0x173)]['id']===_0x453f4d['id']&&_0x1ddade[_0x1a9f25(0x163)](_0x409c49['id']);return _0x1ddade;}[_0x5a560a(0x16c)](_0x2d1bc3){const _0x38dfca=_0x5a560a;for(const _0x2edbaf of this[_0x38dfca(0x165)][_0x38dfca(0x155)]())for(const _0x83f2c3 of _0x2edbaf)if(_0x83f2c3[_0x38dfca(0x173)]===_0x2d1bc3)return _0x83f2c3[_0x38dfca(0x166)];}[_0x5a560a(0x141)](_0xe3cbf,_0x579395){const _0x40056e=_0x5a560a;if(_0x40056e(0x153)!==this[_0x40056e(0x168)][_0x40056e(0x171)][_0x40056e(0x16e)](_0x1cb76b)[_0x40056e(0x144)])return;const _0x257e2d=_0x579395[_0x40056e(0x173)],_0x23f2fe=this[_0x40056e(0x13d)][_0x40056e(0x15a)](_0x257e2d['id'])||this[_0x40056e(0x169)](_0x257e2d),_0x4a4aa5=Object[_0x40056e(0x164)]({},_0x579395,{'user':_0x23f2fe});this[_0x40056e(0x165)][_0x40056e(0x16e)](_0xe3cbf)[_0x40056e(0x163)](_0x4a4aa5);const _0x2b8883=this[_0x40056e(0x162)][_0x40056e(0x16e)](_0xe3cbf);_0x2b8883[_0x40056e(0x14a)](_0x23f2fe['id'])||_0x2b8883[_0x40056e(0x163)](_0x23f2fe),this[_0x40056e(0x160)][_0x40056e(0x14a)](_0x23f2fe['id'])||this[_0x40056e(0x160)][_0x40056e(0x163)](_0x23f2fe,_0x23f2fe[_0x40056e(0x16d)]?0x0:void 0x0),this[_0x40056e(0x150)](_0x40056e(0x15c)+_0xe3cbf,{'channelId':_0xe3cbf,'session':_0x4a4aa5});}[_0x5a560a(0x14e)](_0x110d43,_0x43e8f6){const _0xb788f5=_0x5a560a;if(_0xb788f5(0x153)!==this[_0xb788f5(0x168)][_0xb788f5(0x171)][_0xb788f5(0x16e)](_0x1cb76b)[_0xb788f5(0x144)])return;const _0x2b471f=this[_0xb788f5(0x162)][_0xb788f5(0x16e)](_0x110d43),_0x1657d5=_0x43e8f6[_0xb788f5(0x173)];_0x1657d5['id']&&(this[_0xb788f5(0x165)][_0xb788f5(0x16e)](_0x110d43)[_0xb788f5(0x151)](_0x43e8f6['id']),_0x2b471f[_0xb788f5(0x14a)](_0x1657d5['id'])&&!this[_0xb788f5(0x170)](_0x1657d5,_0x110d43)[_0xb788f5(0x138)]&&_0x2b471f[_0xb788f5(0x151)](_0x1657d5['id']),this[_0xb788f5(0x160)][_0xb788f5(0x16e)](_0x1657d5['id'])&&!this[_0xb788f5(0x170)](_0x1657d5)[_0xb788f5(0x138)]&&this[_0xb788f5(0x160)][_0xb788f5(0x151)](_0x1657d5['id']));}[_0x5a560a(0x169)](_0x2d4214,_0x2dff36){const _0x2ad2c0=_0x5a560a,_0xe3a6a0=this[_0x2ad2c0(0x13d)][_0x2ad2c0(0x145)](_0x2d4214);return _0x2dff36&&this[_0x2ad2c0(0x13d)][_0x2ad2c0(0x14f)](_0x2d4214['id']),_0xe3a6a0[_0x2ad2c0(0x152)]=this[_0x2ad2c0(0x13b)]++,_0xe3a6a0;}}function _0x2614(){const _0x500e52=['has','listenTo','change:state','sessionId','_handleSessionRemove','defineMe','fire','remove','orderNumber','connected','register','values','1485CxLnOR','23000634nhQPaL','Sessions','mySessionId','getUser','isPremiumPlugin','sessionAdd:','3621699EQxCYW','stopListening','connection','allConnectedUsers','set','channelConnectedUsers','add','assign','channelSessions','role','requires','context','_createUser','100MLhSGg','isOfficialPlugin','getUserRole','isMe','get','delete','getUserSessions','plugins','2592135rCVRko','user','forEach','size','15234fOKsGQ','sessions-register-already-registered','_uniqueUsersCount','3439JLUJaE','_users','1264268ujUsBA','2591680iQCPZq','init','_handleSessionAdd','clear','pluginName','state','addUser','sessions-unregister-not-exist','_registeredSessions','unregister','getUserBySessionId'];_0x2614=function(){return _0x500e52;};return _0x2614();}
|