@ckeditor/ckeditor5-real-time-collaboration 47.7.0-alpha.4 → 47.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "47.7.0
|
|
3
|
+
"version": "47.7.0",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "53.0.3",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "47.7.0
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.7.0
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.7.0
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.7.0
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.7.0
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.7.0
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.7.0
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.7.0
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.7.0
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.7.0
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.7.0
|
|
61
|
-
"ckeditor5": "47.7.0
|
|
62
|
-
"ckeditor5-collaboration": "47.7.0
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.7.0",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.7.0",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.7.0",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.7.0",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.7.0",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.7.0",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.7.0",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.7.0",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.7.0",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.7.0",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.7.0",
|
|
61
|
+
"ckeditor5": "47.7.0",
|
|
62
|
+
"ckeditor5-collaboration": "47.7.0",
|
|
63
63
|
"es-toolkit": "1.39.5"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x872365=_0x58c8;(function(_0x1e56c3,_0x52484a){const _0x4cac79=_0x58c8,_0x2de3cc=_0x1e56c3();while(!![]){try{const _0x197beb=parseInt(_0x4cac79(0x128))/0x1+parseInt(_0x4cac79(0xf8))/0x2+parseInt(_0x4cac79(0xdf))/0x3*(-parseInt(_0x4cac79(0x104))/0x4)+parseInt(_0x4cac79(0x136))/0x5+parseInt(_0x4cac79(0x12d))/0x6*(-parseInt(_0x4cac79(0x124))/0x7)+parseInt(_0x4cac79(0x133))/0x8*(-parseInt(_0x4cac79(0x111))/0x9)+-parseInt(_0x4cac79(0x116))/0xa;if(_0x197beb===_0x52484a)break;else _0x2de3cc['push'](_0x2de3cc['shift']());}catch(_0x583533){_0x2de3cc['push'](_0x2de3cc['shift']());}}}(_0x558e,0x2b258));import{ContextPlugin as _0x26e391}from'ckeditor5/src/core.js';import{CKEditorError as _0x29f56f,Collection as _0x190e1d}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xa1a7a8,BalloonPanelView as _0x3c60cd,BodyCollection as _0xbdeddd}from'ckeditor5/src/ui.js';import{isElement as _0x1b6d76}from'es-toolkit/compat';import{Sessions as _0x20a4c7}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x275c25}from'./view/presencelistview.js';function _0x558e(){const _0x37c6dc=['1433170tJgnRk','destroy','input','hasTooltip','tabIndex','presencelist-missing-container','ck\x20ck-presence-list__balloon','isPremiumPlugin','get','presencelist-collapseat-invalid-format','presencelist:show','pin','bindTo','presenceList','isOfficialPlugin','focusTracker','_handleUserAdd','sort','Shift+Tab','inlineListView','635196dUrwWJ','querySelectorAll','isVisible','isExpanded','change:isFocused','attachToDom','usersCount','define','locale','balloonPanelView','Enter','presencelist:hide','listenTo','offsetWidth','reverse','render','bind','allConnectedUsers','context','presenceList.displayMe','init','onClick','_createView','_handleUserRemove','textarea','605810UXZcBS','button','set',':not([disabled]):not([tabindex=\x22-1\x22])','items','isFocusable','execute','class','checkIfScrollable','select','remove','view','4wHXJyy','filter','requires','add','showDropdown','indexOf','presenceList.container','min','keystrokes','appendChild','isMe','plugins','[contenteditable]','150597Ynzkyq','using','counterView','unpin','map','212450SufVAm','body','join','PresenceListUI','content','element','presenceList.collapseAt','[tabindex]','presenceDropdownView','from','pluginName','length','isRendered','number','1191183iQlcJs','_bodyCollection','Esc','_allConnectedUsers','274796NxHCVF','displayMe','currentDisplayedUsers','Tab','offsetHeight','6jJiDwa','detachFromDom','find','isCollapsed','focus','config','136LwWCvu','hideDropdown','activeElement'];_0x558e=function(){return _0x37c6dc;};return _0x558e();}import{PresenceCounterView as _0x30dfd5}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x223601}from'./view/presencedropdownlistview.js';function _0x58c8(_0x411f2b,_0x2b9cc8){const _0x558e3e=_0x558e();return _0x58c8=function(_0x58c838,_0x16f774){_0x58c838=_0x58c838-0xd3;let _0x310dc1=_0x558e3e[_0x58c838];return _0x310dc1;},_0x58c8(_0x411f2b,_0x2b9cc8);}import{PresenceDropdownListItemView as _0x3b90e0}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x2046cf}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x26e391{[_0x872365(0x12a)];[_0x872365(0xe8)];[_0x872365(0x103)];[_0x872365(0x11e)];[_0x872365(0x125)]=null;static get[_0x872365(0x120)](){const _0x571254=_0x872365;return _0x571254(0x119);}static get[_0x872365(0xd9)](){return!0x0;}static get[_0x872365(0x13d)](){return!0x0;}constructor(_0x5af01c){const _0x638b6d=_0x872365;super(_0x5af01c),this[_0x638b6d(0xf1)][_0x638b6d(0x132)][_0x638b6d(0xe6)](_0x638b6d(0xd8),x);const _0x312ca0=_0x5af01c[_0x638b6d(0x132)][_0x638b6d(0xd3)](_0x638b6d(0x11c));if(_0x638b6d(0x123)!=typeof _0x312ca0)throw new _0x29f56f(_0x638b6d(0xd4),this);if(_0x312ca0<0x1)throw new _0x29f56f(_0x638b6d(0xd4),this);this[_0x638b6d(0x127)]=this[_0x638b6d(0xf1)][_0x638b6d(0x10f)][_0x638b6d(0xd3)](_0x20a4c7)[_0x638b6d(0xf0)],this[_0x638b6d(0xfa)](_0x638b6d(0xe5),0x0),this[_0x638b6d(0x12a)]=new _0x190e1d(),this[_0x638b6d(0xe8)]=new _0x3c60cd(),this[_0x638b6d(0xe8)][_0x638b6d(0xff)]=_0x638b6d(0x13c),this[_0x638b6d(0x103)]=this[_0x638b6d(0xf5)](),this[_0x638b6d(0x11e)]=void 0x0;}static get[_0x872365(0x106)](){return[_0x20a4c7];}[_0x872365(0xf3)](){const _0x4f6224=_0x872365;for(const _0xd31f2c of this[_0x4f6224(0x127)])this[_0x4f6224(0xdb)](_0xd31f2c);this[_0x4f6224(0xeb)](this[_0x4f6224(0x127)],_0x4f6224(0x107),(_0x416c23,_0x5d5f24)=>{const _0x47967e=_0x4f6224;this[_0x47967e(0xdb)](_0x5d5f24);}),this[_0x4f6224(0xeb)](this[_0x4f6224(0x127)],_0x4f6224(0x102),(_0x44bd9a,_0x5b8af5)=>{const _0x45f13d=_0x4f6224;this[_0x45f13d(0xf6)](_0x5b8af5);});}[_0x872365(0xf5)](){const _0x11b424=_0x872365,_0x510f45=this[_0x11b424(0xf1)],_0x585be5=new _0x275c25(this[_0x11b424(0xf1)][_0x11b424(0xe7)],this[_0x11b424(0xf1)][_0x11b424(0x132)][_0x11b424(0xd3)](_0x11b424(0x11c))),_0x447b52=this[_0x11b424(0xe8)];if(!_0x1b6d76(_0x510f45[_0x11b424(0x132)][_0x11b424(0xd3)](_0x11b424(0x10a))))throw new _0x29f56f(_0x11b424(0x13b),this);return _0x585be5[_0x11b424(0x113)][_0x11b424(0xef)](_0x11b424(0xe5))['to'](this),_0x585be5[_0x11b424(0xef)](_0x11b424(0x130))['to'](this,_0x11b424(0xe5),_0x3c75fe=>{const _0x154e21=_0x11b424,{collapseAt:_0x97e259}=_0x510f45[_0x154e21(0x132)][_0x154e21(0xd3)](_0x154e21(0xd8)),_0x26debf=_0x3c75fe>=_0x97e259;if(_0x26debf&&!_0x585be5[_0x154e21(0xde)][_0x154e21(0xfc)][_0x154e21(0x12f)](_0x4d9d78=>_0x4d9d78 instanceof _0x30dfd5)){const _0x2a1b42=this[_0x154e21(0xf1)][_0x154e21(0x132)][_0x154e21(0xd3)](_0x154e21(0x11c))-0x1;this[_0x154e21(0x12a)][_0x154e21(0x121)]==_0x2a1b42&&this[_0x154e21(0x12a)][_0x154e21(0x121)]>0x1&&this[_0x154e21(0x12a)][_0x154e21(0x102)](this[_0x154e21(0x12a)][_0x154e21(0x121)]-0x1),_0x585be5[_0x154e21(0xde)][_0x154e21(0xfc)][_0x154e21(0x107)](_0x585be5[_0x154e21(0x113)]);}return _0x26debf||this[_0x154e21(0x134)](),_0x26debf;}),_0x585be5[_0x11b424(0xde)][_0x11b424(0xfc)][_0x11b424(0xd7)](this[_0x11b424(0x12a)])[_0x11b424(0x112)](_0x550aab=>{const _0xf9334e=_0x11b424,_0x4827b7=_0x510f45[_0xf9334e(0x132)][_0xf9334e(0xd3)](_0xf9334e(0xd8)),_0x586c38=new _0x2046cf(_0x510f45[_0xf9334e(0xe7)],_0x550aab,!!_0x4827b7[_0xf9334e(0xf4)]);return _0x586c38[_0xf9334e(0xef)](_0xf9334e(0x139))['to'](_0x585be5,_0xf9334e(0x130),_0x1050d0=>!_0x1050d0),_0x586c38[_0xf9334e(0xef)](_0xf9334e(0xfd))['to'](_0x585be5,_0xf9334e(0x130),_0x5cd42b=>!_0x5cd42b),_0x4827b7[_0xf9334e(0xf4)]&&this[_0xf9334e(0xeb)](_0x586c38,_0xf9334e(0xfe),()=>{const _0x346136=_0xf9334e;this[_0x346136(0x103)][_0x346136(0x130)]||_0x4827b7[_0x346136(0xf4)](_0x550aab,_0x586c38[_0x346136(0x11b)]);}),_0x586c38;}),this[_0x11b424(0xeb)](_0x585be5[_0x11b424(0xde)],_0x11b424(0xd5),()=>{const _0x38885c=_0x11b424;this[_0x38885c(0x103)][_0x38885c(0x130)]&&this[_0x38885c(0x108)]();}),this[_0x11b424(0xeb)](_0x585be5[_0x11b424(0xde)],_0x11b424(0xea),()=>{const _0x32c492=_0x11b424;this[_0x32c492(0x11e)]&&this[_0x32c492(0x134)]();}),_0x585be5[_0x11b424(0xde)][_0x11b424(0x10c)][_0x11b424(0xfa)](_0x11b424(0xe9),(_0x1e1938,_0x319be1)=>{const _0x37934b=_0x11b424;this[_0x37934b(0x103)][_0x37934b(0x130)]&&(this[_0x37934b(0x108)](),_0x319be1());}),_0x585be5[_0x11b424(0xee)](),_0x447b52[_0x11b424(0xee)](),_0xa1a7a8({'emitter':_0x585be5,'activator':()=>_0x447b52[_0x11b424(0xe1)],'contextElements':[_0x447b52[_0x11b424(0x11b)],_0x585be5[_0x11b424(0xde)][_0x11b424(0x11b)]],'callback':()=>this[_0x11b424(0x134)]()}),_0x510f45[_0x11b424(0x132)][_0x11b424(0xd3)](_0x11b424(0x10a))[_0x11b424(0x10d)](_0x585be5[_0x11b424(0x11b)]),this[_0x11b424(0x125)]=new _0xbdeddd(this[_0x11b424(0xf1)][_0x11b424(0xe7)]),this[_0x11b424(0x125)][_0x11b424(0xe4)](),this[_0x11b424(0x125)][_0x11b424(0x107)](this[_0x11b424(0xe8)]),_0x585be5;}[_0x872365(0xdb)](_0x2381ec){const _0x37f4e3=_0x872365;if(!this[_0x37f4e3(0xf1)][_0x37f4e3(0x132)][_0x37f4e3(0xd3)](_0x37f4e3(0xf2))&&_0x2381ec[_0x37f4e3(0x10e)])return;const _0x51208b=this[_0x37f4e3(0xf1)][_0x37f4e3(0x132)][_0x37f4e3(0xd3)](_0x37f4e3(0x11c))-0x1;for(this[_0x37f4e3(0xe5)]++;this[_0x37f4e3(0x12a)][_0x37f4e3(0x121)]>=_0x51208b-(this[_0x37f4e3(0x103)][_0x37f4e3(0x130)]?0x1:0x0)&&this[_0x37f4e3(0x12a)][_0x37f4e3(0x121)]>0x1;)this[_0x37f4e3(0x12a)][_0x37f4e3(0x102)](0x1);const _0x27fef8=_0x2381ec[_0x37f4e3(0x10e)]?0x0:this[_0x37f4e3(0x12a)][_0x37f4e3(0x121)];this[_0x37f4e3(0x12a)][_0x37f4e3(0x107)](_0x2381ec,_0x27fef8);}[_0x872365(0xf6)](_0x4d3cf7){const _0x4c572a=_0x872365;this[_0x4c572a(0xe5)]--;const {collapseAt:_0x3d75e6}=this[_0x4c572a(0xf1)][_0x4c572a(0x132)][_0x4c572a(0xd3)](_0x4c572a(0xd8)),_0x5d5187=this[_0x4c572a(0xe5)]>=_0x3d75e6;if(this[_0x4c572a(0x12a)][_0x4c572a(0xd3)](_0x4d3cf7['id']))this[_0x4c572a(0x12a)][_0x4c572a(0x102)](_0x4d3cf7['id']);else{if(_0x5d5187&&this[_0x4c572a(0x12a)][_0x4c572a(0x121)]+0x1===_0x3d75e6-0x1)return;}if(this[_0x4c572a(0x12a)][_0x4c572a(0x121)]+(_0x5d5187?0x1:0x0)<this[_0x4c572a(0xe5)]){for(const _0x1c86d1 of Array[_0x4c572a(0x11f)](this[_0x4c572a(0x127)])[_0x4c572a(0xed)]())if(!this[_0x4c572a(0x12a)][_0x4c572a(0xd3)](_0x1c86d1['id'])&&(this[_0x4c572a(0x12a)][_0x4c572a(0x107)](_0x1c86d1,Math[_0x4c572a(0x10b)](this[_0x4c572a(0x12a)][_0x4c572a(0x121)]-(_0x5d5187?0x1:0x0),0x1)),this[_0x4c572a(0x12a)][_0x4c572a(0x121)]+(_0x5d5187?0x1:0x0)===_0x3d75e6-0x1))return;}}[_0x872365(0x108)](){const _0x3aad1d=_0x872365;if(this[_0x3aad1d(0x11e)])return;const _0x13e4f3=this[_0x3aad1d(0xf1)][_0x3aad1d(0x132)][_0x3aad1d(0xd3)](_0x3aad1d(0xd8));this[_0x3aad1d(0x11e)]=new _0x223601(this[_0x3aad1d(0xf1)][_0x3aad1d(0xe7)],!!_0x13e4f3[_0x3aad1d(0xf4)]),this[_0x3aad1d(0x103)][_0x3aad1d(0xde)][_0x3aad1d(0xe2)]=!0x0,this[_0x3aad1d(0xeb)](this[_0x3aad1d(0x11e)],_0x3aad1d(0xea),()=>{const _0x4f1ff4=_0x3aad1d;this[_0x4f1ff4(0x11e)]&&this[_0x4f1ff4(0x134)]();});const {listWrapperView:_0x57167f}=this[_0x3aad1d(0x11e)];_0x57167f[_0x3aad1d(0xfc)][_0x3aad1d(0xd7)](this[_0x3aad1d(0x127)])[_0x3aad1d(0x112)](_0x4c74b8=>{const _0x256ee7=_0x3aad1d;if(!_0x13e4f3[_0x256ee7(0x129)]&&_0x4c74b8[_0x256ee7(0x10e)])return null;const _0x57e1fc=new _0x3b90e0(this[_0x256ee7(0xf1)][_0x256ee7(0xe7)],_0x4c74b8,!!_0x13e4f3[_0x256ee7(0xf4)]);return _0x13e4f3[_0x256ee7(0xf4)]&&this[_0x256ee7(0xeb)](_0x57e1fc,_0x256ee7(0xfe),()=>{const _0x41f0d3=_0x256ee7;_0x13e4f3[_0x41f0d3(0xf4)](_0x4c74b8,_0x57e1fc[_0x41f0d3(0x11b)]);}),_0x57e1fc;}),this[_0x3aad1d(0xe8)][_0x3aad1d(0x11a)][_0x3aad1d(0x107)](this[_0x3aad1d(0x11e)]),this[_0x3aad1d(0xe8)][_0x3aad1d(0xd6)]({'target':this[_0x3aad1d(0x103)][_0x3aad1d(0xde)][_0x3aad1d(0x11b)]}),_0x57167f[_0x3aad1d(0x131)](),_0x57167f[_0x3aad1d(0x100)]();const _0x58ed2d=(_0x137071,_0xf703a9)=>{const _0x11037c=_0x3aad1d;this[_0x11037c(0x134)](),this[_0x11037c(0x103)][_0x11037c(0xde)][_0x11037c(0x131)](),_0xf703a9();};_0x57167f[_0x3aad1d(0x10c)][_0x3aad1d(0xfa)](_0x3aad1d(0x126),_0x58ed2d),_0x57167f[_0x3aad1d(0x10c)][_0x3aad1d(0xfa)](_0x3aad1d(0xdd),_0x58ed2d),_0x57167f[_0x3aad1d(0x10c)][_0x3aad1d(0xfa)](_0x3aad1d(0x12b),(_0x5b427b,_0x11243a)=>{const _0x36f510=_0x3aad1d;!function(_0x510756){const _0x393546=_0x58c8,_0x2bedbc=['a',_0x393546(0xf9),_0x393546(0x138),_0x393546(0x101),_0x393546(0xf7),_0x393546(0x11d),_0x393546(0x110)][_0x393546(0x115)](_0x2c301a=>_0x2c301a+_0x393546(0xfb))[_0x393546(0x118)](','),_0x2abd8f=[...document[_0x393546(0x117)][_0x393546(0xe0)](_0x2bedbc)][_0x393546(0x105)](_0x302438=>_0x302438===document[_0x393546(0x135)]||_0x302438[_0x393546(0xec)]+_0x302438[_0x393546(0x12c)]>0x0)[_0x393546(0xdc)]((_0x212d90,_0x244dec)=>(_0x212d90[_0x393546(0x13a)]||0x0)-(_0x244dec[_0x393546(0x13a)]||0x0)),_0x4107a2=_0x2abd8f[_0x393546(0x109)](_0x510756),_0x379eea=_0x2abd8f[(_0x4107a2+0x1)%_0x2abd8f[_0x393546(0x121)]];_0x379eea&&_0x379eea[_0x393546(0x131)]();}(this[_0x36f510(0x103)][_0x36f510(0x11b)]),this[_0x36f510(0x134)](),_0x11243a();}),_0x57167f[_0x3aad1d(0xda)][_0x3aad1d(0x107)](this[_0x3aad1d(0x103)][_0x3aad1d(0x11b)]),_0x57167f[_0x3aad1d(0xda)]['on'](_0x3aad1d(0xe3),(_0x384327,_0x3440a6,_0x4de308)=>{const _0x40def4=_0x3aad1d;_0x4de308||this[_0x40def4(0x134)]();});}[_0x872365(0x134)](){const _0x4bdf2f=_0x872365;this[_0x4bdf2f(0x11e)]&&(this[_0x4bdf2f(0x103)][_0x4bdf2f(0xde)][_0x4bdf2f(0xe2)]=!0x1,this[_0x4bdf2f(0xe8)][_0x4bdf2f(0x114)](),this[_0x4bdf2f(0xe8)][_0x4bdf2f(0x11a)][_0x4bdf2f(0x102)](this[_0x4bdf2f(0x11e)]),this[_0x4bdf2f(0x11e)][_0x4bdf2f(0x137)](),this[_0x4bdf2f(0x11e)]=void 0x0);}[_0x872365(0x137)](){const _0x39a711=_0x872365;super[_0x39a711(0x137)](),this[_0x39a711(0x103)]&&this[_0x39a711(0x103)][_0x39a711(0x122)]&&this[_0x39a711(0x103)][_0x39a711(0x137)](),this[_0x39a711(0x125)]&&(this[_0x39a711(0x125)][_0x39a711(0x12e)](),this[_0x39a711(0x125)][_0x39a711(0x137)](),this[_0x39a711(0x125)]=null);}}
|
|
23
|
+
const _0x3c374f=_0x4095;(function(_0x139215,_0x395d21){const _0x296e3f=_0x4095,_0x4e9109=_0x139215();while(!![]){try{const _0x5e0011=-parseInt(_0x296e3f(0x12d))/0x1*(-parseInt(_0x296e3f(0x166))/0x2)+parseInt(_0x296e3f(0x183))/0x3*(-parseInt(_0x296e3f(0x12c))/0x4)+parseInt(_0x296e3f(0x147))/0x5+-parseInt(_0x296e3f(0x172))/0x6*(-parseInt(_0x296e3f(0x12b))/0x7)+-parseInt(_0x296e3f(0x17d))/0x8*(-parseInt(_0x296e3f(0x163))/0x9)+-parseInt(_0x296e3f(0x186))/0xa+-parseInt(_0x296e3f(0x176))/0xb;if(_0x5e0011===_0x395d21)break;else _0x4e9109['push'](_0x4e9109['shift']());}catch(_0x401651){_0x4e9109['push'](_0x4e9109['shift']());}}}(_0x11a1,0x8af44));import{ContextPlugin as _0x3b2c83}from'ckeditor5/src/core.js';import{CKEditorError as _0x18891d,Collection as _0x3cadbc}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x267cc2,BalloonPanelView as _0x556cfc,BodyCollection as _0x518006}from'ckeditor5/src/ui.js';import{isElement as _0x562bcc}from'es-toolkit/compat';function _0x11a1(){const _0x49d3c9=['keystrokes','showDropdown','allConnectedUsers','ck\x20ck-presence-list__balloon','view','32Btluar','pin','_handleUserAdd','_bodyCollection','change:isFocused','onClick','26067aMCnXy','isCollapsed','querySelectorAll','826370RGvvij','set','_allConnectedUsers','execute','items','usersCount','remove','presencelist-missing-container','reverse','inlineListView','plugins','tabIndex','min','isFocusable','using','[contenteditable]','select','7sDeqCP','436jaztap','8551yTgXxp','PresenceListUI','length','isRendered','Tab','[tabindex]','destroy','isMe','presenceList.displayMe','pluginName','sort','isVisible','button','isExpanded','_handleUserRemove','from','number','Shift+Tab','activeElement','context','presenceList.collapseAt','balloonPanelView','checkIfScrollable','bindTo','offsetWidth','presencelist:hide','2728270JfPiyH','listenTo','presenceDropdownView','locale','input',':not([disabled]):not([tabindex=\x22-1\x22])','detachFromDom','Enter','presenceList.container','isPremiumPlugin','join','attachToDom','requires','content','offsetHeight','element','init','config','map','presenceList','hasTooltip','isOfficialPlugin','appendChild','filter','currentDisplayedUsers','presencelist:show','body','Esc','1995309YCqEPn','counterView','get','162JNOkeB','render','_createView','focusTracker','class','unpin','presencelist-collapseat-invalid-format','displayMe','indexOf','focus','hideDropdown','find','4866558qxkKnR','add','define','bind','14710168QHnXud','textarea'];_0x11a1=function(){return _0x49d3c9;};return _0x11a1();}import{Sessions as _0x548924}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x29e6e5}from'./view/presencelistview.js';import{PresenceCounterView as _0xf9e24e}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x2d1f1c}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x10064d}from'./view/presencedropdownlistitemview.js';function _0x4095(_0x185251,_0x4f1c7d){const _0x11a118=_0x11a1();return _0x4095=function(_0x40958c,_0x179fb6){_0x40958c=_0x40958c-0x12a;let _0x4b70be=_0x11a118[_0x40958c];return _0x4b70be;},_0x4095(_0x185251,_0x4f1c7d);}import{PresenceInlineListItemView as _0x3e6ad8}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x3b2c83{[_0x3c374f(0x15f)];[_0x3c374f(0x142)];[_0x3c374f(0x17c)];[_0x3c374f(0x149)];[_0x3c374f(0x180)]=null;static get[_0x3c374f(0x136)](){const _0x1fec07=_0x3c374f;return _0x1fec07(0x12e);}static get[_0x3c374f(0x15c)](){return!0x0;}static get[_0x3c374f(0x150)](){return!0x0;}constructor(_0x16d929){const _0x34c309=_0x3c374f;super(_0x16d929),this[_0x34c309(0x140)][_0x34c309(0x158)][_0x34c309(0x174)](_0x34c309(0x15a),U);const _0x2e09fd=_0x16d929[_0x34c309(0x158)][_0x34c309(0x165)](_0x34c309(0x141));if(_0x34c309(0x13d)!=typeof _0x2e09fd)throw new _0x18891d(_0x34c309(0x16c),this);if(_0x2e09fd<0x1)throw new _0x18891d(_0x34c309(0x16c),this);this[_0x34c309(0x188)]=this[_0x34c309(0x140)][_0x34c309(0x190)][_0x34c309(0x165)](_0x548924)[_0x34c309(0x17a)],this[_0x34c309(0x187)](_0x34c309(0x18b),0x0),this[_0x34c309(0x15f)]=new _0x3cadbc(),this[_0x34c309(0x142)]=new _0x556cfc(),this[_0x34c309(0x142)][_0x34c309(0x16a)]=_0x34c309(0x17b),this[_0x34c309(0x17c)]=this[_0x34c309(0x168)](),this[_0x34c309(0x149)]=void 0x0;}static get[_0x3c374f(0x153)](){return[_0x548924];}[_0x3c374f(0x157)](){const _0x2f1781=_0x3c374f;for(const _0x5e8b4b of this[_0x2f1781(0x188)])this[_0x2f1781(0x17f)](_0x5e8b4b);this[_0x2f1781(0x148)](this[_0x2f1781(0x188)],_0x2f1781(0x173),(_0x6d7119,_0x24e52e)=>{const _0x1c13c7=_0x2f1781;this[_0x1c13c7(0x17f)](_0x24e52e);}),this[_0x2f1781(0x148)](this[_0x2f1781(0x188)],_0x2f1781(0x18c),(_0x2e4b30,_0x4c6af9)=>{const _0x521e39=_0x2f1781;this[_0x521e39(0x13b)](_0x4c6af9);});}[_0x3c374f(0x168)](){const _0x12534c=_0x3c374f,_0x60f7f4=this[_0x12534c(0x140)],_0x2fa0f6=new _0x29e6e5(this[_0x12534c(0x140)][_0x12534c(0x14a)],this[_0x12534c(0x140)][_0x12534c(0x158)][_0x12534c(0x165)](_0x12534c(0x141))),_0x813c53=this[_0x12534c(0x142)];if(!_0x562bcc(_0x60f7f4[_0x12534c(0x158)][_0x12534c(0x165)](_0x12534c(0x14f))))throw new _0x18891d(_0x12534c(0x18d),this);return _0x2fa0f6[_0x12534c(0x164)][_0x12534c(0x175)](_0x12534c(0x18b))['to'](this),_0x2fa0f6[_0x12534c(0x175)](_0x12534c(0x184))['to'](this,_0x12534c(0x18b),_0x20397d=>{const _0x463da3=_0x12534c,{collapseAt:_0x5759a6}=_0x60f7f4[_0x463da3(0x158)][_0x463da3(0x165)](_0x463da3(0x15a)),_0x57872a=_0x20397d>=_0x5759a6;if(_0x57872a&&!_0x2fa0f6[_0x463da3(0x18f)][_0x463da3(0x18a)][_0x463da3(0x171)](_0x2bdc0c=>_0x2bdc0c instanceof _0xf9e24e)){const _0x542748=this[_0x463da3(0x140)][_0x463da3(0x158)][_0x463da3(0x165)](_0x463da3(0x141))-0x1;this[_0x463da3(0x15f)][_0x463da3(0x12f)]==_0x542748&&this[_0x463da3(0x15f)][_0x463da3(0x12f)]>0x1&&this[_0x463da3(0x15f)][_0x463da3(0x18c)](this[_0x463da3(0x15f)][_0x463da3(0x12f)]-0x1),_0x2fa0f6[_0x463da3(0x18f)][_0x463da3(0x18a)][_0x463da3(0x173)](_0x2fa0f6[_0x463da3(0x164)]);}return _0x57872a||this[_0x463da3(0x170)](),_0x57872a;}),_0x2fa0f6[_0x12534c(0x18f)][_0x12534c(0x18a)][_0x12534c(0x144)](this[_0x12534c(0x15f)])[_0x12534c(0x194)](_0x104e1d=>{const _0x657788=_0x12534c,_0x2c1c29=_0x60f7f4[_0x657788(0x158)][_0x657788(0x165)](_0x657788(0x15a)),_0x3e2ec6=new _0x3e6ad8(_0x60f7f4[_0x657788(0x14a)],_0x104e1d,!!_0x2c1c29[_0x657788(0x182)]);return _0x3e2ec6[_0x657788(0x175)](_0x657788(0x15b))['to'](_0x2fa0f6,_0x657788(0x184),_0x3a61de=>!_0x3a61de),_0x3e2ec6[_0x657788(0x175)](_0x657788(0x193))['to'](_0x2fa0f6,_0x657788(0x184),_0x14606e=>!_0x14606e),_0x2c1c29[_0x657788(0x182)]&&this[_0x657788(0x148)](_0x3e2ec6,_0x657788(0x189),()=>{const _0xc9d8ef=_0x657788;this[_0xc9d8ef(0x17c)][_0xc9d8ef(0x184)]||_0x2c1c29[_0xc9d8ef(0x182)](_0x104e1d,_0x3e2ec6[_0xc9d8ef(0x156)]);}),_0x3e2ec6;}),this[_0x12534c(0x148)](_0x2fa0f6[_0x12534c(0x18f)],_0x12534c(0x160),()=>{const _0x1ee62f=_0x12534c;this[_0x1ee62f(0x17c)][_0x1ee62f(0x184)]&&this[_0x1ee62f(0x179)]();}),this[_0x12534c(0x148)](_0x2fa0f6[_0x12534c(0x18f)],_0x12534c(0x146),()=>{const _0x3d261d=_0x12534c;this[_0x3d261d(0x149)]&&this[_0x3d261d(0x170)]();}),_0x2fa0f6[_0x12534c(0x18f)][_0x12534c(0x178)][_0x12534c(0x187)](_0x12534c(0x14e),(_0x574d97,_0x1877b2)=>{const _0x3c575d=_0x12534c;this[_0x3c575d(0x17c)][_0x3c575d(0x184)]&&(this[_0x3c575d(0x179)](),_0x1877b2());}),_0x2fa0f6[_0x12534c(0x167)](),_0x813c53[_0x12534c(0x167)](),_0x267cc2({'emitter':_0x2fa0f6,'activator':()=>_0x813c53[_0x12534c(0x138)],'contextElements':[_0x813c53[_0x12534c(0x156)],_0x2fa0f6[_0x12534c(0x18f)][_0x12534c(0x156)]],'callback':()=>this[_0x12534c(0x170)]()}),_0x60f7f4[_0x12534c(0x158)][_0x12534c(0x165)](_0x12534c(0x14f))[_0x12534c(0x15d)](_0x2fa0f6[_0x12534c(0x156)]),this[_0x12534c(0x180)]=new _0x518006(this[_0x12534c(0x140)][_0x12534c(0x14a)]),this[_0x12534c(0x180)][_0x12534c(0x152)](),this[_0x12534c(0x180)][_0x12534c(0x173)](this[_0x12534c(0x142)]),_0x2fa0f6;}[_0x3c374f(0x17f)](_0x33fb70){const _0x578237=_0x3c374f;if(!this[_0x578237(0x140)][_0x578237(0x158)][_0x578237(0x165)](_0x578237(0x135))&&_0x33fb70[_0x578237(0x134)])return;const _0x5df627=this[_0x578237(0x140)][_0x578237(0x158)][_0x578237(0x165)](_0x578237(0x141))-0x1;for(this[_0x578237(0x18b)]++;this[_0x578237(0x15f)][_0x578237(0x12f)]>=_0x5df627-(this[_0x578237(0x17c)][_0x578237(0x184)]?0x1:0x0)&&this[_0x578237(0x15f)][_0x578237(0x12f)]>0x1;)this[_0x578237(0x15f)][_0x578237(0x18c)](0x1);const _0x13b518=_0x33fb70[_0x578237(0x134)]?0x0:this[_0x578237(0x15f)][_0x578237(0x12f)];this[_0x578237(0x15f)][_0x578237(0x173)](_0x33fb70,_0x13b518);}[_0x3c374f(0x13b)](_0x3d133a){const _0x4f6846=_0x3c374f;this[_0x4f6846(0x18b)]--;const {collapseAt:_0x1ff4ec}=this[_0x4f6846(0x140)][_0x4f6846(0x158)][_0x4f6846(0x165)](_0x4f6846(0x15a)),_0x59786c=this[_0x4f6846(0x18b)]>=_0x1ff4ec;if(this[_0x4f6846(0x15f)][_0x4f6846(0x165)](_0x3d133a['id']))this[_0x4f6846(0x15f)][_0x4f6846(0x18c)](_0x3d133a['id']);else{if(_0x59786c&&this[_0x4f6846(0x15f)][_0x4f6846(0x12f)]+0x1===_0x1ff4ec-0x1)return;}if(this[_0x4f6846(0x15f)][_0x4f6846(0x12f)]+(_0x59786c?0x1:0x0)<this[_0x4f6846(0x18b)]){for(const _0x566073 of Array[_0x4f6846(0x13c)](this[_0x4f6846(0x188)])[_0x4f6846(0x18e)]())if(!this[_0x4f6846(0x15f)][_0x4f6846(0x165)](_0x566073['id'])&&(this[_0x4f6846(0x15f)][_0x4f6846(0x173)](_0x566073,Math[_0x4f6846(0x192)](this[_0x4f6846(0x15f)][_0x4f6846(0x12f)]-(_0x59786c?0x1:0x0),0x1)),this[_0x4f6846(0x15f)][_0x4f6846(0x12f)]+(_0x59786c?0x1:0x0)===_0x1ff4ec-0x1))return;}}[_0x3c374f(0x179)](){const _0x2f60a8=_0x3c374f;if(this[_0x2f60a8(0x149)])return;const _0x2c17bf=this[_0x2f60a8(0x140)][_0x2f60a8(0x158)][_0x2f60a8(0x165)](_0x2f60a8(0x15a));this[_0x2f60a8(0x149)]=new _0x2d1f1c(this[_0x2f60a8(0x140)][_0x2f60a8(0x14a)],!!_0x2c17bf[_0x2f60a8(0x182)]),this[_0x2f60a8(0x17c)][_0x2f60a8(0x18f)][_0x2f60a8(0x13a)]=!0x0,this[_0x2f60a8(0x148)](this[_0x2f60a8(0x149)],_0x2f60a8(0x146),()=>{const _0x445d6a=_0x2f60a8;this[_0x445d6a(0x149)]&&this[_0x445d6a(0x170)]();});const {listWrapperView:_0x305f5a}=this[_0x2f60a8(0x149)];_0x305f5a[_0x2f60a8(0x18a)][_0x2f60a8(0x144)](this[_0x2f60a8(0x188)])[_0x2f60a8(0x194)](_0x2655b4=>{const _0x335488=_0x2f60a8;if(!_0x2c17bf[_0x335488(0x16d)]&&_0x2655b4[_0x335488(0x134)])return null;const _0x511d55=new _0x10064d(this[_0x335488(0x140)][_0x335488(0x14a)],_0x2655b4,!!_0x2c17bf[_0x335488(0x182)]);return _0x2c17bf[_0x335488(0x182)]&&this[_0x335488(0x148)](_0x511d55,_0x335488(0x189),()=>{const _0x111d85=_0x335488;_0x2c17bf[_0x111d85(0x182)](_0x2655b4,_0x511d55[_0x111d85(0x156)]);}),_0x511d55;}),this[_0x2f60a8(0x142)][_0x2f60a8(0x154)][_0x2f60a8(0x173)](this[_0x2f60a8(0x149)]),this[_0x2f60a8(0x142)][_0x2f60a8(0x17e)]({'target':this[_0x2f60a8(0x17c)][_0x2f60a8(0x18f)][_0x2f60a8(0x156)]}),_0x305f5a[_0x2f60a8(0x16f)](),_0x305f5a[_0x2f60a8(0x143)]();const _0x18dc83=(_0x3d93ec,_0x3dc014)=>{const _0x1905f3=_0x2f60a8;this[_0x1905f3(0x170)](),this[_0x1905f3(0x17c)][_0x1905f3(0x18f)][_0x1905f3(0x16f)](),_0x3dc014();};_0x305f5a[_0x2f60a8(0x178)][_0x2f60a8(0x187)](_0x2f60a8(0x162),_0x18dc83),_0x305f5a[_0x2f60a8(0x178)][_0x2f60a8(0x187)](_0x2f60a8(0x13e),_0x18dc83),_0x305f5a[_0x2f60a8(0x178)][_0x2f60a8(0x187)](_0x2f60a8(0x131),(_0xc85e8e,_0x5306e2)=>{const _0x1d655a=_0x2f60a8;!function(_0x579603){const _0x4b1298=_0x4095,_0x21f52f=['a',_0x4b1298(0x139),_0x4b1298(0x14b),_0x4b1298(0x12a),_0x4b1298(0x177),_0x4b1298(0x132),_0x4b1298(0x195)][_0x4b1298(0x159)](_0x448f4c=>_0x448f4c+_0x4b1298(0x14c))[_0x4b1298(0x151)](','),_0x10aded=[...document[_0x4b1298(0x161)][_0x4b1298(0x185)](_0x21f52f)][_0x4b1298(0x15e)](_0x1272f7=>_0x1272f7===document[_0x4b1298(0x13f)]||_0x1272f7[_0x4b1298(0x145)]+_0x1272f7[_0x4b1298(0x155)]>0x0)[_0x4b1298(0x137)]((_0x46d1ef,_0x5a9330)=>(_0x46d1ef[_0x4b1298(0x191)]||0x0)-(_0x5a9330[_0x4b1298(0x191)]||0x0)),_0x1eaf8c=_0x10aded[_0x4b1298(0x16e)](_0x579603),_0x174687=_0x10aded[(_0x1eaf8c+0x1)%_0x10aded[_0x4b1298(0x12f)]];_0x174687&&_0x174687[_0x4b1298(0x16f)]();}(this[_0x1d655a(0x17c)][_0x1d655a(0x156)]),this[_0x1d655a(0x170)](),_0x5306e2();}),_0x305f5a[_0x2f60a8(0x169)][_0x2f60a8(0x173)](this[_0x2f60a8(0x17c)][_0x2f60a8(0x156)]),_0x305f5a[_0x2f60a8(0x169)]['on'](_0x2f60a8(0x181),(_0x2db710,_0x12e65d,_0x46d480)=>{const _0x33bb1a=_0x2f60a8;_0x46d480||this[_0x33bb1a(0x170)]();});}[_0x3c374f(0x170)](){const _0x1ac901=_0x3c374f;this[_0x1ac901(0x149)]&&(this[_0x1ac901(0x17c)][_0x1ac901(0x18f)][_0x1ac901(0x13a)]=!0x1,this[_0x1ac901(0x142)][_0x1ac901(0x16b)](),this[_0x1ac901(0x142)][_0x1ac901(0x154)][_0x1ac901(0x18c)](this[_0x1ac901(0x149)]),this[_0x1ac901(0x149)][_0x1ac901(0x133)](),this[_0x1ac901(0x149)]=void 0x0);}[_0x3c374f(0x133)](){const _0x27f23e=_0x3c374f;super[_0x27f23e(0x133)](),this[_0x27f23e(0x17c)]&&this[_0x27f23e(0x17c)][_0x27f23e(0x130)]&&this[_0x27f23e(0x17c)][_0x27f23e(0x133)](),this[_0x27f23e(0x180)]&&(this[_0x27f23e(0x180)][_0x27f23e(0x14d)](),this[_0x27f23e(0x180)][_0x27f23e(0x133)](),this[_0x27f23e(0x180)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x172a42=_0x314b;(function(_0x498dd0,_0x44c42a){const _0x499f91=_0x314b,_0x7ea0a2=_0x498dd0();while(!![]){try{const _0x3916f6=parseInt(_0x499f91(0x11a))/0x1*(-parseInt(_0x499f91(0x13d))/0x2)+parseInt(_0x499f91(0x13e))/0x3*(parseInt(_0x499f91(0x136))/0x4)+parseInt(_0x499f91(0x113))/0x5*(parseInt(_0x499f91(0x114))/0x6)+-parseInt(_0x499f91(0x11d))/0x7+-parseInt(_0x499f91(0x137))/0x8+-parseInt(_0x499f91(0x139))/0x9*(parseInt(_0x499f91(0x117))/0xa)+parseInt(_0x499f91(0x12f))/0xb*(parseInt(_0x499f91(0x12a))/0xc);if(_0x3916f6===_0x44c42a)break;else _0x7ea0a2['push'](_0x7ea0a2['shift']());}catch(_0x377a2e){_0x7ea0a2['push'](_0x7ea0a2['shift']());}}}(_0x48b6,0x3924f));import{ListView as _0xcb95bd,View as _0xff604c}from'ckeditor5/src/ui.js';import{global as _0x3d6ad6}from'ckeditor5/src/utils.js';function _0x48b6(){const _0x4aa66c=['role','_isScrollable','2VaLmcc','217692caoLjB','change','ck-reset','ck-presence-list__dropdown-list-wrapper','824145BVBwBm','6pxWXcF','ariaLabelledBy','resize','3056680OGxekl','items','ariaLabel','261043FqNFUi','render','.ck-presence-list__list','463204OAMelF','application','max','fire','innerHeight','ck-presence-list__dropdown-list-wrapper_scrollable','set','window','relatedTarget','contains','ck-presence-list__dropdown-list','querySelector','listenTo','468KrwDDd','checkIfScrollable','ck-list','clientHeight','.ck-balloon-panel_with-arrow','219142ZfQvZm','scrollHeight','Connected\x20users\x20list\x20dropdown\x20menu','bindTemplate','listWrapperView','div','presencelist:hide','16AtEJZw','2920776daXjFP','setTemplate','9Sponqc','element'];_0x48b6=function(){return _0x4aa66c;};return _0x48b6();}import{getTranslation as _0x1d683a}from'../../common-translations.js';export class PresenceDropdownListView extends _0xff604c{[_0x172a42(0x133)];constructor(_0x438230,_0x16d8b9){const _0x4c17cf=_0x172a42;super(_0x438230);const _0x506524=this[_0x4c17cf(0x132)];this[_0x4c17cf(0x133)]=new PresenceDropdownListWrapperView(_0x438230,_0x16d8b9),this[_0x4c17cf(0x138)]({'tag':_0x4c17cf(0x134),'attributes':{'tabindex':-0x1,'role':_0x4c17cf(0x11e),'class':['ck',_0x4c17cf(0x127)],'aria-label':_0x1d683a(_0x438230,_0x4c17cf(0x131))},'children':[this[_0x4c17cf(0x133)]],'on':{'mouseleave':_0x506524['to'](_0x126f2f=>{const _0x4a3856=_0x4c17cf,_0x4dd878=_0x126f2f,_0x42c58b=document[_0x4a3856(0x128)](_0x4a3856(0x11c)),_0x2a05a8=document[_0x4a3856(0x128)](_0x4a3856(0x12e));_0x42c58b?.[_0x4a3856(0x126)](_0x4dd878[_0x4a3856(0x125)])||_0x2a05a8?.[_0x4a3856(0x126)](_0x4dd878[_0x4a3856(0x125)])||this[_0x4a3856(0x120)](_0x4a3856(0x135));})}});}}function _0x314b(_0x19979c,_0x36ff44){const _0x48b6a9=_0x48b6();return _0x314b=function(_0x314b09,_0x49e121){_0x314b09=_0x314b09-0x111;let _0x55c023=_0x48b6a9[_0x314b09];return _0x55c023;},_0x314b(_0x19979c,_0x36ff44);}export class PresenceDropdownListWrapperView extends _0xcb95bd{constructor(_0x233b04,_0x29184b){const _0x884d3d=_0x172a42;super(_0x233b04);const _0x2690ad=this[_0x884d3d(0x132)];this[_0x884d3d(0x123)](_0x884d3d(0x13c),!0x1),this[_0x884d3d(0x138)]({'tag':_0x29184b?_0x884d3d(0x134):'ul','attributes':{'class':['ck',_0x884d3d(0x111),_0x884d3d(0x12c),_0x884d3d(0x112),_0x2690ad['if'](_0x884d3d(0x13c),_0x884d3d(0x122))],'role':_0x2690ad['to'](_0x884d3d(0x13b)),'aria-label':_0x2690ad['to'](_0x884d3d(0x119)),'aria-labelledby':_0x2690ad['to'](_0x884d3d(0x115))},'children':this[_0x884d3d(0x118)]}),this[_0x884d3d(0x129)](_0x3d6ad6[_0x884d3d(0x124)],_0x884d3d(0x116),()=>this[_0x884d3d(0x12b)]()),this[_0x884d3d(0x118)]['on'](_0x884d3d(0x13f),()=>this[_0x884d3d(0x12b)]());}[_0x172a42(0x11b)](){const _0x5af0c4=_0x172a42;super[_0x5af0c4(0x11b)](),this[_0x5af0c4(0x12b)]();}[_0x172a42(0x12b)](){const _0x599bdf=_0x172a42,_0x17320a=this[_0x599bdf(0x13a)];_0x17320a&&(this[_0x599bdf(0x13c)]=Math[_0x599bdf(0x11f)](_0x17320a[_0x599bdf(0x130)],_0x17320a[_0x599bdf(0x12d)])>0.8*window[_0x599bdf(0x121)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x227b(_0x3b07dd,_0x1bc82d){const _0x205612=_0x2056();return _0x227b=function(_0x227b59,_0x46d9c3){_0x227b59=_0x227b59-0x195;let _0x391b21=_0x205612[_0x227b59];return _0x391b21;},_0x227b(_0x3b07dd,_0x1bc82d);}const _0x78a945=_0x227b;function _0x2056(){const _0x2e7070=['ck-presence-list__list','.ck-presence-list__dropdown-list','15763528HxLROJ','9DYpObf','1454bPMoZc','items','removeAttribute','presencelist:show','focus','contains','1337VAfgWB','40eSHcbv','11207300PRlAfW','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','element','change:hasPopup','aria-expanded','372310vcbuVw','list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','4295247IEiLgL','933DblRsQ','6966616zlHSQO','setTemplate','div','hasPopup','keystrokes','setAttribute','8394OuChJY','set','isExpanded','render','createCollection','listenTo','relatedTarget','querySelector','bindTemplate','fire','presencelist:hide'];_0x2056=function(){return _0x2e7070;};return _0x2056();}(function(_0x59bc9e,_0x144600){const _0x246895=_0x227b,_0x4f2521=_0x59bc9e();while(!![]){try{const _0x584123=-parseInt(_0x246895(0x1b8))/0x1*(-parseInt(_0x246895(0x1a6))/0x2)+parseInt(_0x246895(0x1b7))/0x3+parseInt(_0x246895(0x1ad))/0x4*(parseInt(_0x246895(0x1b4))/0x5)+-parseInt(_0x246895(0x197))/0x6*(parseInt(_0x246895(0x1ac))/0x7)+parseInt(_0x246895(0x1b9))/0x8*(parseInt(_0x246895(0x1a5))/0x9)+-parseInt(_0x246895(0x1ae))/0xa+-parseInt(_0x246895(0x1a4))/0xb;if(_0x584123===_0x144600)break;else _0x4f2521['push'](_0x4f2521['shift']());}catch(_0x2dca83){_0x4f2521['push'](_0x4f2521['shift']());}}}(_0x2056,0xdcd34));import{View as _0x1ebc66}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3944ed}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c46f3}from'../../common-translations.js';export class PresenceInlineListView extends _0x1ebc66{[_0x78a945(0x1a7)];[_0x78a945(0x195)];constructor(_0xbc2f88){const _0x3ca042=_0x78a945;super(_0xbc2f88);const _0x236e7b=this[_0x3ca042(0x19f)];this[_0x3ca042(0x1a7)]=this[_0x3ca042(0x19b)](),this[_0x3ca042(0x195)]=new _0x3944ed(),this[_0x3ca042(0x198)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3ca042(0x1ba)]({'tag':_0x3ca042(0x1bb),'attributes':{'aria-haspopup':_0x236e7b['if'](_0x3ca042(0x1bc)),'aria-expanded':_0x236e7b['to'](_0x3ca042(0x199),_0x5174c9=>this[_0x3ca042(0x1bc)]&&String(_0x5174c9)),'aria-label':_0x236e7b['to'](_0x3ca042(0x1bc),_0x43c77c=>_0x4c46f3(_0xbc2f88,_0x43c77c?_0x3ca042(0x1b6):_0x3ca042(0x1b0))),'role':_0x3ca042(0x1b5),'tabindex':_0x236e7b['to'](_0x3ca042(0x1bc),_0x6d55f4=>!!_0x6d55f4&&0x0),'class':['ck',_0x3ca042(0x1a2)]},'children':this[_0x3ca042(0x1a7)],'on':{'mouseenter':_0x236e7b['to'](()=>this[_0x3ca042(0x1a0)](_0x3ca042(0x1a9))),'mouseleave':_0x236e7b['to'](_0xef951f=>{const _0x2d7aaa=_0x3ca042,_0x2dc484=_0xef951f,_0x1ba928=document[_0x2d7aaa(0x19e)](_0x2d7aaa(0x1a3)),_0x1c689b=document[_0x2d7aaa(0x19e)](_0x2d7aaa(0x1af));_0x1ba928?.[_0x2d7aaa(0x1ab)](_0x2dc484[_0x2d7aaa(0x19d)])||_0x1c689b?.[_0x2d7aaa(0x1ab)](_0x2dc484[_0x2d7aaa(0x19d)])||this[_0x2d7aaa(0x1a0)](_0x2d7aaa(0x1a1));})}}),this['on'](_0x3ca042(0x1b2),(_0x33ab94,_0x2cb21e,_0x30c5a7)=>{const _0x4702d8=_0x3ca042;this[_0x4702d8(0x1b1)]&&(_0x30c5a7?this[_0x4702d8(0x1b1)][_0x4702d8(0x196)](_0x4702d8(0x1b3),String(this[_0x4702d8(0x199)])):this[_0x4702d8(0x1b1)][_0x4702d8(0x1a8)](_0x4702d8(0x1b3)));});}[_0x78a945(0x1aa)](){const _0x34a0dd=_0x78a945;this[_0x34a0dd(0x1b1)][_0x34a0dd(0x1aa)]();}[_0x78a945(0x19a)](){const _0x2d7e24=_0x78a945;super[_0x2d7e24(0x19a)](),this[_0x2d7e24(0x195)][_0x2d7e24(0x19c)](this[_0x2d7e24(0x1b1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd72ff4=_0x3e5e;(function(_0x19b572,_0x971c5c){const _0x5a0202=_0x3e5e,_0xaf38a6=_0x19b572();while(!![]){try{const _0x1236d3=parseInt(_0x5a0202(0xed))/0x1+parseInt(_0x5a0202(0xd8))/0x2+-parseInt(_0x5a0202(0xe5))/0x3*(-parseInt(_0x5a0202(0xd9))/0x4)+parseInt(_0x5a0202(0xe9))/0x5+-parseInt(_0x5a0202(0xeb))/0x6+-parseInt(_0x5a0202(0xdf))/0x7*(-parseInt(_0x5a0202(0xe0))/0x8)+-parseInt(_0x5a0202(0xe3))/0x9;if(_0x1236d3===_0x971c5c)break;else _0xaf38a6['push'](_0xaf38a6['shift']());}catch(_0x44180a){_0xaf38a6['push'](_0xaf38a6['shift']());}}}(_0x2c37,0xf0f21));import{View as _0x321972}from'ckeditor5/src/ui.js';function _0x2c37(){const _0x387a27=['counterView','ck-presence-list--collapsed','ck-presence-list','7tXHVgX','500952TuqSkW','ck-rounded-corners','setTemplate','24641883UTpRZp','listenTo','6lpGJkY','first','set','inlineListView','3389580xXXjEE','items','2775120klChhn','bind','896538vVIdgw','tooltipPosition','isCollapsed','hasPopup','locale','div','ck-reset','2921346QksRiW','2179348osUuuq','change','bindTemplate'];_0x2c37=function(){return _0x387a27;};return _0x2c37();}import{PresenceCounterView as _0x476f35}from'./presencecounterview.js';import{PresenceInlineListView as _0x1f5072}from'./presenceinlinelistview.js';function _0x3e5e(_0x5a8bd4,_0x3fd716){const _0x2c372d=_0x2c37();return _0x3e5e=function(_0x3e5e4d,_0x540d4f){_0x3e5e4d=_0x3e5e4d-0xd6;let _0x26350f=_0x2c372d[_0x3e5e4d];return _0x26350f;},_0x3e5e(_0x5a8bd4,_0x3fd716);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x321972{[_0xd72ff4(0xdc)];[_0xd72ff4(0xe8)];constructor(_0x3d40da,_0x1c3080=0x6){const _0x45d4c4=_0xd72ff4;super(_0x3d40da);const _0x4e594e=this[_0x45d4c4(0xdb)];this[_0x45d4c4(0xe7)](_0x45d4c4(0xef),!0x0),this[_0x45d4c4(0xdc)]=new _0x476f35(this[_0x45d4c4(0xf1)],_0x1c3080),this[_0x45d4c4(0xe8)]=new _0x1f5072(_0x3d40da),this[_0x45d4c4(0xe8)][_0x45d4c4(0xec)](_0x45d4c4(0xf0))['to'](this,_0x45d4c4(0xef)),this[_0x45d4c4(0xe4)](this[_0x45d4c4(0xe8)][_0x45d4c4(0xea)],_0x45d4c4(0xda),()=>{const _0xf5ce2=_0x45d4c4;for(const _0x19f6c5 of this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)])_0x19f6c5[_0xf5ce2(0xee)]='s';this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)][_0xf5ce2(0xe6)]&&(this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)][_0xf5ce2(0xe6)][_0xf5ce2(0xee)]='se');}),this[_0x45d4c4(0xe2)]({'tag':_0x45d4c4(0xd6),'attributes':{'class':['ck',_0x45d4c4(0xde),_0x45d4c4(0xd7),_0x45d4c4(0xe1),_0x4e594e['if'](_0x45d4c4(0xef),_0x45d4c4(0xdd))]},'children':[this[_0x45d4c4(0xe8)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x169234)());[_0x45707b(0xef)];static get[_0x45707b(0x111)](){const _0x332479=_0x45707b;return[_0x160a24,_0x332479(0xea),_0x531399,_0x461c54];}static get[_0x45707b(0x13d)](){const _0x54d0f5=_0x45707b;return _0x54d0f5(0xee);}static get[_0x45707b(0x114)](){return!0x0;}static get[_0x45707b(0x12f)](){return!0x0;}constructor(_0x4fa0e4){const _0x1bdfa8=_0x45707b;super(_0x4fa0e4),this[_0x1bdfa8(0xef)]=new Map();}async[_0x45707b(0x11a)](){const _0x54089b=_0x45707b,_0x110a6a=this[_0x54089b(0x122)],_0x33109c=_0x110a6a[_0x54089b(0xfb)][_0x54089b(0x144)](_0x54089b(0xea));if(_0x110a6a[_0x54089b(0xfb)][_0x54089b(0x144)](_0x160a24)[_0x54089b(0x139)](this),_0x33109c[_0x54089b(0x134)]={'addCommentThread':async({channelId:_0x105acd,threadId:_0x89ee0a,comments:_0x3fc1f5,resolvedAt:_0x4525fe,resolvedBy:_0x5ed3c6,context:_0x4f33dc,attributes:_0x2477c5})=>{const _0x37e8ab=_0x54089b,_0xb1da6e=await this[_0x37e8ab(0x121)](_0x105acd)[_0x37e8ab(0xf9)]({'commentThreadId':_0x89ee0a,'comments':_0x3fc1f5[_0x37e8ab(0x118)](_0x55934a=>function(_0x316ca7,_0x495bb2,_0x44ae74){const _0x1b723c=_0x37e8ab;return{'commentThreadId':_0x44ae74,'commentId':_0x316ca7[_0x1b723c(0x107)],'userId':_0x316ca7[_0x1b723c(0xe5)],'content':_0x316ca7[_0x1b723c(0x123)],'documentId':_0x495bb2,'createdAt':_0x316ca7[_0x1b723c(0x10f)],'attributes':_0x316ca7[_0x1b723c(0x125)]||{}};}(_0x55934a,_0x105acd,_0x89ee0a)),'resolvedAt':_0x4525fe,'resolvedBy':_0x5ed3c6,'context':_0x4f33dc,'attributes':_0x2477c5})[_0x37e8ab(0x135)](k);return{'threadId':_0xb1da6e[_0x37e8ab(0xf7)],'comments':_0xb1da6e[_0x37e8ab(0x115)]};},'getCommentThread':async({channelId:_0x8ba509,threadId:_0x4273ee})=>{const _0x410d52=_0x54089b,_0x3217f1=await this[_0x410d52(0x121)](_0x8ba509)[_0x410d52(0xe6)](_0x4273ee)[_0x410d52(0x135)](F)[_0x410d52(0x135)](k);return _0x3217f1?_0x3217f1[_0x410d52(0x10a)]?null:(await this[_0x410d52(0x102)]([_0x3217f1]),{'threadId':_0x3217f1[_0x410d52(0xf7)],'comments':_0x3217f1[_0x410d52(0x115)][_0x410d52(0x118)](S),'context':_0x3217f1[_0x410d52(0x122)],'resolvedAt':_0x3217f1[_0x410d52(0x10e)],'resolvedBy':_0x3217f1[_0x410d52(0x11c)],'attributes':_0x3217f1[_0x410d52(0x125)]||{}}):null;},'updateCommentThread':async({channelId:_0x21795f,threadId:_0x14a902,context:_0x4c5aba,unlinkedAt:_0x40b6f6,attributes:_0x41a535})=>this[_0x54089b(0x121)](_0x21795f)[_0x54089b(0x138)]({'commentThreadId':_0x14a902,'context':_0x4c5aba,'attributes':_0x41a535,'unlinkedAt':_0x40b6f6})[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'resolveCommentThread':async({channelId:_0x36a31d,threadId:_0x33ff91})=>{const _0x1a44da=_0x54089b,_0x516ffc=await this[_0x1a44da(0x121)](_0x36a31d)[_0x1a44da(0x133)](_0x33ff91)[_0x1a44da(0x135)](F)[_0x1a44da(0x135)](k);return{'threadId':_0x516ffc[_0x1a44da(0xf7)],'resolvedAt':_0x516ffc[_0x1a44da(0x10e)],'resolvedBy':_0x516ffc[_0x1a44da(0x11c)]};},'reopenCommentThread':async({channelId:_0x56fd19,threadId:_0x193173})=>this[_0x54089b(0x121)](_0x56fd19)[_0x54089b(0xe3)](_0x193173)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'removeCommentThread':({channelId:_0xd69d3,threadId:_0x34288})=>this[_0x54089b(0x121)](_0xd69d3)[_0x54089b(0x12c)](_0x34288)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'addComment':({channelId:_0x1a0e32,threadId:_0x4c1e76,commentId:_0x1787d5,content:_0xab1a48,attributes:_0x4703a6})=>this[_0x54089b(0x121)](_0x1a0e32)[_0x54089b(0xe7)](_0x4c1e76,_0x1787d5,_0xab1a48,_0x4703a6)[_0x54089b(0x135)](k),'updateComment':({channelId:_0x106894,threadId:_0x588b55,commentId:_0x4668f2,content:_0x38f850,attributes:_0x320fcc})=>this[_0x54089b(0x121)](_0x106894)[_0x54089b(0x142)](_0x588b55,_0x4668f2,_0x38f850,_0x320fcc)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'removeComment':({channelId:_0x54a3be,threadId:_0x473bff,commentId:_0x508a16})=>this[_0x54089b(0x121)](_0x54a3be)[_0x54089b(0x10b)](_0x473bff,_0x508a16)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k)},_0x110a6a instanceof _0x432bf2){const _0x5099c9=_0x110a6a[_0x54089b(0x108)][_0x54089b(0x144)](_0x54089b(0x103)),_0xf415dc=_0x110a6a[_0x54089b(0xfb)][_0x54089b(0x144)](_0x531399);await this[_0x54089b(0xff)](_0x5099c9);const _0x17318b=await this[_0x54089b(0xef)][_0x54089b(0x144)](_0x5099c9)[_0x54089b(0x141)]();this[_0x54089b(0x11f)](_0xf415dc,_0x54089b(0x10d)+_0x5099c9,(_0x198e53,{session:_0x16cf93})=>{const _0x39fc17=_0x54089b;_0x16cf93['id']===_0xf415dc[_0x39fc17(0x124)]&&(_0x198e53[_0x39fc17(0x126)](),this[_0x39fc17(0x122)][_0x39fc17(0xfb)][_0x39fc17(0x144)](_0x39fc17(0x12e))[_0x39fc17(0xf1)](_0x16cf93[_0x39fc17(0x143)],_0x5099c9));}),_0xf415dc[_0x54089b(0xf3)](_0x5099c9,_0x17318b);}}async[_0x45707b(0xff)](_0x123443){const _0x34a28c=_0x45707b;if(this[_0x34a28c(0xef)][_0x34a28c(0xe9)](_0x123443))throw new _0x8e9554(_0x34a28c(0x131),null,{'channelId':_0x123443});const _0x2c52ca=this[_0x34a28c(0x122)][_0x34a28c(0xfb)][_0x34a28c(0x144)](_0x34a28c(0xea)),_0x2444f0=new CloudServicesCommentsAdapter[(_0x34a28c(0x13a))](_0x123443);this[_0x34a28c(0xef)][_0x34a28c(0xfc)](_0x123443,_0x2444f0),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0xf0),(_0x39171c,_0x2095f7)=>{const _0x48bba0=_0x34a28c,{commentThreadId:_0x2580bf,documentId:_0x551fe0,context:_0x10ac70,attributes:_0x4d1fdb,resolvedAt:_0x14b2d4,resolvedBy:_0x34e312,comments:_0x100fee}=_0x2095f7;_0x2c52ca[_0x48bba0(0xe6)](_0x2580bf)||_0x2c52ca[_0x48bba0(0xf9)]({'threadId':_0x2580bf,'channelId':_0x551fe0,'comments':_0x100fee?_0x100fee[_0x48bba0(0x118)](S):[],'context':_0x10ac70,'attributes':_0x4d1fdb,'resolvedAt':_0x14b2d4,'resolvedBy':_0x34e312,'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x140),(_0x455c5e,{commentThreadId:_0x3681d4,documentId:_0x474fd7,context:_0x1c96ef,unlinkedAt:_0x743048,attributes:_0x391234})=>{const _0x215a0b=_0x34a28c;_0x2c52ca[_0x215a0b(0xe6)](_0x3681d4)&&_0x2c52ca[_0x215a0b(0x138)]({'threadId':_0x3681d4,'channelId':_0x474fd7,'context':_0x1c96ef,'unlinkedAt':_0x743048,'attributes':_0x391234,'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x104),(_0x31ec09,{commentThreadId:_0x1ce407,resolvedBy:_0x207919,resolvedAt:_0x2d2f04})=>{const _0xad182a=_0x34a28c,_0x4ce6d4=_0x2c52ca[_0xad182a(0xe6)](_0x1ce407);_0x4ce6d4&&_0x4ce6d4[_0xad182a(0x110)]({'resolvedBy':_0x207919,'resolvedAt':_0x2d2f04,'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x130),(_0x524fcf,{commentThreadId:_0x371abb})=>{const _0x45d665=_0x34a28c,_0x57d949=_0x2c52ca[_0x45d665(0xe6)](_0x371abb);_0x57d949&&_0x57d949[_0x45d665(0xf4)]({'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x100),(_0xa9f6ac,{commentThreadId:_0x3db1c2})=>{const _0x3aabd4=_0x34a28c,_0x5dd01e=_0x2c52ca[_0x3aabd4(0xe6)](_0x3db1c2);_0x5dd01e&&_0x5dd01e[_0x3aabd4(0x109)]({'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x119),(_0x9a4c63,_0x46cc77)=>{const _0x4c0eeb=_0x34a28c,_0xd6319d=_0x46cc77[_0x4c0eeb(0xf7)],_0x574260=_0x2c52ca[_0x4c0eeb(0xe6)](_0xd6319d);_0x574260&&_0x574260[_0x4c0eeb(0xe7)]({...S(_0x46cc77),'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x11b),(_0x1eec71,{commentThreadId:_0x1b1727,commentId:_0x36bd61,content:_0x1e382a,attributes:_0x331090})=>{const _0x298892=_0x34a28c,_0x57a016=_0x2c52ca[_0x298892(0xe6)](_0x1b1727);if(_0x57a016){const _0x67c049=_0x57a016[_0x298892(0x128)](_0x36bd61);_0x67c049&&_0x67c049[_0x298892(0x12a)]({'content':_0x1e382a,'attributes':_0x331090,'isFromAdapter':!0x0});}}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x101),(_0x4ec384,{commentThreadId:_0x8c2677,commentId:_0x50492b})=>{const _0x2b6f30=_0x34a28c,_0x45b184=_0x2c52ca[_0x2b6f30(0xe6)](_0x8c2677);if(_0x45b184){const _0x379d40=_0x45b184[_0x2b6f30(0x128)](_0x50492b);_0x379d40&&_0x379d40[_0x2b6f30(0x109)]({'isFromAdapter':!0x0});}}),await this[_0x34a28c(0x13e)](_0x123443);}[_0x45707b(0x132)](){const _0x35ddb4=_0x45707b;if(this[_0x35ddb4(0x122)]instanceof _0x432bf2){const _0x43e2f4=this[_0x35ddb4(0x122)][_0x35ddb4(0x108)][_0x35ddb4(0x144)](_0x35ddb4(0x103));this[_0x35ddb4(0xe1)](_0x43e2f4);}}[_0x45707b(0xe1)](_0x2a75cd){const _0x2ef00e=_0x45707b;if(!this[_0x2ef00e(0xef)][_0x2ef00e(0xe9)](_0x2a75cd))throw new _0x8e9554(_0x2ef00e(0x120),null,{'channelId':_0x2a75cd});this[_0x2ef00e(0x121)](_0x2a75cd)[_0x2ef00e(0x10c)](),this[_0x2ef00e(0xef)][_0x2ef00e(0xfe)](_0x2a75cd);}async[_0x45707b(0x137)](){const _0x160024=_0x45707b;for(const _0xf2a3ac of this[_0x160024(0xef)][_0x160024(0x105)]())await this[_0x160024(0x13e)](_0xf2a3ac);if(this[_0x160024(0x122)]instanceof _0x432bf2){const _0x5e703e=this[_0x160024(0x122)][_0x160024(0x108)][_0x160024(0x144)](_0x160024(0x103)),_0x3f5c16=this[_0x160024(0x122)][_0x160024(0xfb)][_0x160024(0x144)](_0x531399);_0x3f5c16[_0x160024(0x12b)](_0x5e703e);const _0x3298fe=await this[_0x160024(0xef)][_0x160024(0x144)](_0x5e703e)[_0x160024(0x141)]();_0x3f5c16[_0x160024(0xf3)](_0x5e703e,_0x3298fe);}}async[_0x45707b(0x13e)](_0x352333){const _0x150050=_0x45707b,{connection:_0x100b24}=this[_0x150050(0x122)][_0x150050(0xfb)][_0x150050(0x144)](_0x160a24),_0x525ccf=this[_0x150050(0x122)][_0x150050(0xfb)][_0x150050(0x144)](_0x150050(0xea)),_0x2cae2e=this[_0x150050(0xef)][_0x150050(0x144)](_0x352333),_0x42d1b0=await _0x2cae2e[_0x150050(0xe4)](_0x100b24);await this[_0x150050(0x102)](_0x42d1b0);const _0x5934d1=new Set(Array[_0x150050(0x13c)](_0x525ccf[_0x150050(0x106)]({'channelId':_0x352333}),_0x50cc5d=>_0x50cc5d['id']));for(const _0x154992 of _0x42d1b0)_0x154992[_0x150050(0x10a)]||_0x5934d1[_0x150050(0xfe)](_0x154992[_0x150050(0xf7)]);for(const _0x3ef369 of _0x5934d1)_0x525ccf[_0x150050(0xe6)](_0x3ef369)[_0x150050(0x109)]({'isFromAdapter':!0x0});for(const _0x55b284 of _0x42d1b0){let _0x1924af=_0x525ccf[_0x150050(0xe6)](_0x55b284[_0x150050(0xf7)]);const {commentThreadId:_0x35be20,context:_0x22c870,attributes:_0x11b97a,resolvedBy:_0x179721,resolvedAt:_0x59c167,unlinkedAt:_0x67b4c6,deletedAt:_0x4cb312}=_0x55b284;if(_0x4cb312)continue;_0x1924af||(_0x1924af=_0x525ccf[_0x150050(0xf9)]({'channelId':_0x352333,'threadId':_0x35be20,'context':_0x22c870,'attributes':_0x11b97a||{},'resolvedBy':_0x179721,'resolvedAt':_0x59c167,'unlinkedAt':_0x67b4c6,'isFromAdapter':!0x0}));const _0x8b0eb4=new Set(Array[_0x150050(0x13c)](_0x1924af[_0x150050(0x115)],_0x3e1855=>_0x3e1855['id']));for(const _0x2057f9 of _0x55b284[_0x150050(0x115)])_0x8b0eb4[_0x150050(0xfe)](_0x2057f9[_0x150050(0x107)]);for(const _0x4e1534 of _0x8b0eb4)_0x1924af[_0x150050(0x128)](_0x4e1534)[_0x150050(0x109)]({'isFromAdapter':!0x0});for(const _0x2d10c2 of _0x55b284[_0x150050(0x115)]){const _0xdb0c01=_0x1924af[_0x150050(0x128)](_0x2d10c2[_0x150050(0x107)]);_0xdb0c01?_0xdb0c01[_0x150050(0x123)]!==_0x2d10c2[_0x150050(0x123)]&&_0xdb0c01[_0x150050(0x12a)]({'content':_0x2d10c2[_0x150050(0x123)],'isFromAdapter':!0x0}):_0x1924af[_0x150050(0xe7)](Object[_0x150050(0x11d)](S(_0x2d10c2),{'isFromAdapter':!0x0}));}}}[_0x45707b(0x121)](_0x3f70e2){const _0x31cf9b=_0x45707b;if(!this[_0x31cf9b(0xef)][_0x31cf9b(0xe9)](_0x3f70e2))throw new _0x8e9554(_0x31cf9b(0xe8),null,{'channelId':_0x3f70e2});return this[_0x31cf9b(0xef)][_0x31cf9b(0x144)](_0x3f70e2);}async[_0x45707b(0x102)](_0x5d8da8){const _0x50548a=_0x45707b,_0x25365e=this[_0x50548a(0x122)][_0x50548a(0xfb)][_0x50548a(0x144)](_0x461c54),{connection:_0x513ad7}=this[_0x50548a(0x122)][_0x50548a(0xfb)][_0x50548a(0x144)](_0x160a24),_0x59e999=new Set();for(const {resolvedBy:_0x2b7c87,comments:_0x130dae}of _0x5d8da8){_0x2b7c87&&!_0x25365e[_0x50548a(0x11e)](_0x2b7c87)&&_0x59e999[_0x50548a(0xed)](_0x2b7c87);for(const {userId:_0x2ec792}of _0x130dae)_0x25365e[_0x50548a(0x11e)](_0x2ec792)||_0x59e999[_0x50548a(0xed)](_0x2ec792);}if(0x0===_0x59e999[_0x50548a(0x136)])return;const _0x2c1601=await _0x47d435[_0x50548a(0xfd)](_0x513ad7,Array[_0x50548a(0x13c)](_0x59e999));for(const _0x4a5ad8 of _0x2c1601)_0x25365e[_0x50548a(0x11e)](_0x4a5ad8['id'])||_0x25365e[_0x50548a(0xec)](_0x4a5ad8);}}async function F(_0x4f532c){const _0x1be3c9=_0x45707b;if(_0x1be3c9(0xf6)!==_0x4f532c[_0x1be3c9(0xe2)])throw _0x4f532c;}function _0x4c32(_0x3ef486,_0x2a9c32){const _0x20eac9=_0x20ea();return _0x4c32=function(_0x4c321b,_0x252fd1){_0x4c321b=_0x4c321b-0xe1;let _0x29836b=_0x20eac9[_0x4c321b];return _0x29836b;},_0x4c32(_0x3ef486,_0x2a9c32);}function k(_0x5cdcb7){const _0x340927=_0x45707b;if((_0xf0d639=_0x5cdcb7)[_0x340927(0x127)][_0x340927(0xf8)](_0x340927(0xf5))||_0xf0d639[_0x340927(0x127)][_0x340927(0xf8)](_0x340927(0x13b))||_0xf0d639[_0x340927(0x127)][_0x340927(0xf8)](_0x340927(0x112)))return new Promise(()=>{});var _0xf0d639;throw _0x5cdcb7;}function _0x20ea(){const _0x3bc08e=['CommentsRepository','1464eNIMRa','addUser','add','CloudServicesCommentsAdapter','_services','commentThreadAdded','setPermissions','361718bJQdWB','register','reopen','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','404','commentThreadId','startsWith','addCommentThread','576060WrsPyk','plugins','set','getMany','delete','_setUpService','commentThreadRemoved','commentRemoved','_fetchMissingUsersForThreads','collaboration.channelId','commentThreadResolved','keys','getCommentThreads','commentId','config','remove','deletedAt','removeComment','disconnect','sessionAdd:','resolvedAt','createdAt','resolve','requires','cloud-services-internal-error:\x20Request\x20timeout.','5948424fuscaf','isOfficialPlugin','comments','4816840xibNTw','1614216HCdqMS','map','commentAdded','init','commentUpdated','resolvedBy','assign','getUser','listenTo','cloudservicescommentsadapter-disconnect-not-exist','_getService','context','content','mySessionId','attributes','off','message','getComment','1932800gdocCM','update','unregister','removeCommentThread','userId','Permissions','isPremiumPlugin','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','destroy','resolveCommentThread','adapter','catch','size','reconnect','updateCommentThread','addToReconnectionStack','CommentsService','cloud-services-internal-error:\x20Not\x20connected.','from','pluginName','_connectService','16142czBAwQ','commentThreadUpdated','getConnectedSessions','updateComment','permissions','get','_terminateService','code','reopenCommentThread','connect','authorId','getCommentThread','addComment','cloudservicescommentsadapter-service-not-exist','has'];_0x20ea=function(){return _0x3bc08e;};return _0x20ea();}function S(_0x5480f0){const _0xa4ecff=_0x45707b;return{'threadId':_0x5480f0[_0xa4ecff(0xf7)],'commentId':_0x5480f0[_0xa4ecff(0x107)],'content':_0x5480f0[_0xa4ecff(0x123)],'createdAt':_0x5480f0[_0xa4ecff(0x10f)],'authorId':_0x5480f0[_0xa4ecff(0x12d)],'attributes':_0x5480f0[_0xa4ecff(0x125)]||{}};}
|
|
23
|
+
const _0x1799d2=_0x1109;function _0x438a(){const _0x18f8db=['startsWith','config','reconnect','context','404','register','from','get','listenTo','commentThreadResolved','_setUpService','removeComment','Permissions','commentUpdated','update','destroy','commentThreadAdded','CommentsRepository','addToReconnectionStack','requires','149470KPYIaR','commentThreadUpdated','commentThreadRemoved','_services','isOfficialPlugin','getCommentThread','resolve','collaboration.channelId','_fetchMissingUsersForThreads','commentAdded','assign','getUser','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','off','6pzcZjx','sessionAdd:','disconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1334PeepEx','getMany','11KNMwjF','1076120MPEswL','pluginName','cloudservicescommentsadapter-disconnect-not-exist','add','cloudservicescommentsadapter-service-not-exist','CommentsService','deletedAt','reopen','mySessionId','content','unregister','resolveCommentThread','keys','resolvedBy','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','size','updateCommentThread','setPermissions','permissions','adapter','catch','delete','commentThreadId','connect','userId','3114cNNZIY','commentRemoved','addComment','set','9KLdzdb','_terminateService','map','remove','cloud-services-internal-error:\x20Request\x20timeout.','message','removeCommentThread','reopenCommentThread','commentId','has','CloudServicesCommentsAdapter','getComment','_connectService','code','addCommentThread','comments','createdAt','531527xWUUeG','attributes','resolvedAt','authorId','_getService','addUser','5315751wHRtKZ','3472184WRfRGz','getCommentThreads','getConnectedSessions','init','1754465GaQgjU','plugins','updateComment'];_0x438a=function(){return _0x18f8db;};return _0x438a();}(function(_0x5fad5e,_0x578c89){const _0x140d35=_0x1109,_0x2a0c1a=_0x5fad5e();while(!![]){try{const _0xeec091=-parseInt(_0x140d35(0x163))/0x1+-parseInt(_0x140d35(0x198))/0x2*(-parseInt(_0x140d35(0x1b5))/0x3)+-parseInt(_0x140d35(0x16a))/0x4+parseInt(_0x140d35(0x16e))/0x5*(parseInt(_0x140d35(0x194))/0x6)+parseInt(_0x140d35(0x169))/0x7+-parseInt(_0x140d35(0x19b))/0x8*(-parseInt(_0x140d35(0x1b9))/0x9)+-parseInt(_0x140d35(0x185))/0xa*(-parseInt(_0x140d35(0x19a))/0xb);if(_0xeec091===_0x578c89)break;else _0x2a0c1a['push'](_0x2a0c1a['shift']());}catch(_0xe64dcd){_0x2a0c1a['push'](_0x2a0c1a['shift']());}}}(_0x438a,0x86e49));import{Context as _0x3332f8,ContextPlugin as _0x584720}from'ckeditor5/src/core.js';import{CKEditorError as _0x2de265}from'ckeditor5/src/utils.js';import{Users as _0x3d96a1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xe0f9e0,User as _0x37b7f5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3e86e4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x138adb}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x584720{static [_0x1799d2(0x1a0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xe0f9e0)());[_0x1799d2(0x188)];static get[_0x1799d2(0x184)](){const _0x13aa72=_0x1799d2;return[_0x3e86e4,_0x13aa72(0x182),_0x138adb,_0x3d96a1];}static get[_0x1799d2(0x19c)](){const _0x1ae5d6=_0x1799d2;return _0x1ae5d6(0x15c);}static get[_0x1799d2(0x189)](){return!0x0;}static get[_0x1799d2(0x191)](){return!0x0;}constructor(_0x182f51){const _0x421b57=_0x1799d2;super(_0x182f51),this[_0x421b57(0x188)]=new Map();}async[_0x1799d2(0x16d)](){const _0x1c258d=_0x1799d2,_0x52b8ad=this[_0x1c258d(0x174)],_0x58e530=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x1c258d(0x182));if(_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x3e86e4)[_0x1c258d(0x183)](this),_0x58e530[_0x1c258d(0x1af)]={'addCommentThread':async({channelId:_0x2436e3,threadId:_0x4d0d71,comments:_0x4212e7,resolvedAt:_0x57208b,resolvedBy:_0x3a268c,context:_0x2fb992,attributes:_0x107d48})=>{const _0x3eabee=_0x1c258d,_0x2707e3=await this[_0x3eabee(0x167)](_0x2436e3)[_0x3eabee(0x160)]({'commentThreadId':_0x4d0d71,'comments':_0x4212e7[_0x3eabee(0x1bb)](_0x2ff5eb=>function(_0x41f9ff,_0x534b3c,_0x13069e){const _0x4552bd=_0x3eabee;return{'commentThreadId':_0x13069e,'commentId':_0x41f9ff[_0x4552bd(0x15a)],'userId':_0x41f9ff[_0x4552bd(0x166)],'content':_0x41f9ff[_0x4552bd(0x1a4)],'documentId':_0x534b3c,'createdAt':_0x41f9ff[_0x4552bd(0x162)],'attributes':_0x41f9ff[_0x4552bd(0x164)]||{}};}(_0x2ff5eb,_0x2436e3,_0x4d0d71)),'resolvedAt':_0x57208b,'resolvedBy':_0x3a268c,'context':_0x2fb992,'attributes':_0x107d48})[_0x3eabee(0x1b0)](A);return{'threadId':_0x2707e3[_0x3eabee(0x1b2)],'comments':_0x2707e3[_0x3eabee(0x161)]};},'getCommentThread':async({channelId:_0x8de70a,threadId:_0xb12339})=>{const _0x468d62=_0x1c258d,_0xd22cf7=await this[_0x468d62(0x167)](_0x8de70a)[_0x468d62(0x18a)](_0xb12339)[_0x468d62(0x1b0)](f)[_0x468d62(0x1b0)](A);return _0xd22cf7?_0xd22cf7[_0x468d62(0x1a1)]?null:(await this[_0x468d62(0x18d)]([_0xd22cf7]),{'threadId':_0xd22cf7[_0x468d62(0x1b2)],'comments':_0xd22cf7[_0x468d62(0x161)][_0x468d62(0x1bb)](p),'context':_0xd22cf7[_0x468d62(0x174)],'resolvedAt':_0xd22cf7[_0x468d62(0x165)],'resolvedBy':_0xd22cf7[_0x468d62(0x1a8)],'attributes':_0xd22cf7[_0x468d62(0x164)]||{}}):null;},'updateCommentThread':async({channelId:_0x43dc58,threadId:_0xc0a935,context:_0x319ccf,unlinkedAt:_0x341636,attributes:_0x5b709e})=>this[_0x1c258d(0x167)](_0x43dc58)[_0x1c258d(0x1ac)]({'commentThreadId':_0xc0a935,'context':_0x319ccf,'attributes':_0x5b709e,'unlinkedAt':_0x341636})[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'resolveCommentThread':async({channelId:_0x26b1bc,threadId:_0x10ffa1})=>{const _0x2d3165=_0x1c258d,_0x5b2f8b=await this[_0x2d3165(0x167)](_0x26b1bc)[_0x2d3165(0x1a6)](_0x10ffa1)[_0x2d3165(0x1b0)](f)[_0x2d3165(0x1b0)](A);return{'threadId':_0x5b2f8b[_0x2d3165(0x1b2)],'resolvedAt':_0x5b2f8b[_0x2d3165(0x165)],'resolvedBy':_0x5b2f8b[_0x2d3165(0x1a8)]};},'reopenCommentThread':async({channelId:_0x285acd,threadId:_0xb8a80f})=>this[_0x1c258d(0x167)](_0x285acd)[_0x1c258d(0x1c0)](_0xb8a80f)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeCommentThread':({channelId:_0x55dae6,threadId:_0x5d89ec})=>this[_0x1c258d(0x167)](_0x55dae6)[_0x1c258d(0x1bf)](_0x5d89ec)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'addComment':({channelId:_0x476219,threadId:_0x56c2ec,commentId:_0x2cf907,content:_0x3f3cc3,attributes:_0x44ec5c})=>this[_0x1c258d(0x167)](_0x476219)[_0x1c258d(0x1b7)](_0x56c2ec,_0x2cf907,_0x3f3cc3,_0x44ec5c)[_0x1c258d(0x1b0)](A),'updateComment':({channelId:_0x146391,threadId:_0x3ebc56,commentId:_0x531755,content:_0x5c579e,attributes:_0x30c7cf})=>this[_0x1c258d(0x167)](_0x146391)[_0x1c258d(0x170)](_0x3ebc56,_0x531755,_0x5c579e,_0x30c7cf)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeComment':({channelId:_0x139c4a,threadId:_0x422c68,commentId:_0x5a4ccb})=>this[_0x1c258d(0x167)](_0x139c4a)[_0x1c258d(0x17c)](_0x422c68,_0x5a4ccb)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A)},_0x52b8ad instanceof _0x3332f8){const _0x563d4c=_0x52b8ad[_0x1c258d(0x172)][_0x1c258d(0x178)](_0x1c258d(0x18c)),_0x1610bc=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x138adb);await this[_0x1c258d(0x17b)](_0x563d4c);const _0xc36c68=await this[_0x1c258d(0x188)][_0x1c258d(0x178)](_0x563d4c)[_0x1c258d(0x16c)]();this[_0x1c258d(0x179)](_0x1610bc,_0x1c258d(0x195)+_0x563d4c,(_0x1dfb50,{session:_0xa1cfd3})=>{const _0x58a5fd=_0x1c258d;_0xa1cfd3['id']===_0x1610bc[_0x58a5fd(0x1a3)]&&(_0x1dfb50[_0x58a5fd(0x193)](),this[_0x58a5fd(0x174)][_0x58a5fd(0x16f)][_0x58a5fd(0x178)](_0x58a5fd(0x17d))[_0x58a5fd(0x1ad)](_0xa1cfd3[_0x58a5fd(0x1ae)],_0x563d4c));}),_0x1610bc[_0x1c258d(0x176)](_0x563d4c,_0xc36c68);}}async[_0x1799d2(0x17b)](_0x33d530){const _0x450b79=_0x1799d2;if(this[_0x450b79(0x188)][_0x450b79(0x15b)](_0x33d530))throw new _0x2de265(_0x450b79(0x1a9),null,{'channelId':_0x33d530});const _0x158009=this[_0x450b79(0x174)][_0x450b79(0x16f)][_0x450b79(0x178)](_0x450b79(0x182)),_0x8107ad=new CloudServicesCommentsAdapter[(_0x450b79(0x1a0))](_0x33d530);this[_0x450b79(0x188)][_0x450b79(0x1b8)](_0x33d530,_0x8107ad),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x181),(_0x4c09f9,_0x1e19aa)=>{const _0x2edff2=_0x450b79,{commentThreadId:_0x3d2d37,documentId:_0x54fd4f,context:_0x1b2ed4,attributes:_0x5a84c7,resolvedAt:_0x14bf9e,resolvedBy:_0xc9e962,comments:_0x425e08}=_0x1e19aa;_0x158009[_0x2edff2(0x18a)](_0x3d2d37)||_0x158009[_0x2edff2(0x160)]({'threadId':_0x3d2d37,'channelId':_0x54fd4f,'comments':_0x425e08?_0x425e08[_0x2edff2(0x1bb)](p):[],'context':_0x1b2ed4,'attributes':_0x5a84c7,'resolvedAt':_0x14bf9e,'resolvedBy':_0xc9e962,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x186),(_0x161bf1,{commentThreadId:_0x272a87,documentId:_0xc8974d,context:_0x5d53c9,unlinkedAt:_0x30a98e,attributes:_0x2bae4a})=>{const _0x601629=_0x450b79;_0x158009[_0x601629(0x18a)](_0x272a87)&&_0x158009[_0x601629(0x1ac)]({'threadId':_0x272a87,'channelId':_0xc8974d,'context':_0x5d53c9,'unlinkedAt':_0x30a98e,'attributes':_0x2bae4a,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17a),(_0xbfb9ff,{commentThreadId:_0x58a214,resolvedBy:_0x122c9e,resolvedAt:_0x25244b})=>{const _0x48d8eb=_0x450b79,_0x3c02f0=_0x158009[_0x48d8eb(0x18a)](_0x58a214);_0x3c02f0&&_0x3c02f0[_0x48d8eb(0x18b)]({'resolvedBy':_0x122c9e,'resolvedAt':_0x25244b,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1aa),(_0x4c2561,{commentThreadId:_0x26a35b})=>{const _0xf8db67=_0x450b79,_0x4c1d31=_0x158009[_0xf8db67(0x18a)](_0x26a35b);_0x4c1d31&&_0x4c1d31[_0xf8db67(0x1a2)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x187),(_0x15f991,{commentThreadId:_0xc4bc08})=>{const _0x2d51e9=_0x450b79,_0x36730a=_0x158009[_0x2d51e9(0x18a)](_0xc4bc08);_0x36730a&&_0x36730a[_0x2d51e9(0x1bc)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x18e),(_0x369483,_0x4510c5)=>{const _0x29a47c=_0x450b79,_0x1adeea=_0x4510c5[_0x29a47c(0x1b2)],_0x201331=_0x158009[_0x29a47c(0x18a)](_0x1adeea);_0x201331&&_0x201331[_0x29a47c(0x1b7)]({...p(_0x4510c5),'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17e),(_0x36c7af,{commentThreadId:_0x5ca615,commentId:_0x5e53ed,content:_0x3d51ef,attributes:_0x21eb30})=>{const _0x59305e=_0x450b79,_0xb2e9fb=_0x158009[_0x59305e(0x18a)](_0x5ca615);if(_0xb2e9fb){const _0x2eb40c=_0xb2e9fb[_0x59305e(0x15d)](_0x5e53ed);_0x2eb40c&&_0x2eb40c[_0x59305e(0x17f)]({'content':_0x3d51ef,'attributes':_0x21eb30,'isFromAdapter':!0x0});}}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1b6),(_0x4f7caa,{commentThreadId:_0x790528,commentId:_0x42fe28})=>{const _0xca30e9=_0x450b79,_0x4a9de0=_0x158009[_0xca30e9(0x18a)](_0x790528);if(_0x4a9de0){const _0x444d3d=_0x4a9de0[_0xca30e9(0x15d)](_0x42fe28);_0x444d3d&&_0x444d3d[_0xca30e9(0x1bc)]({'isFromAdapter':!0x0});}}),await this[_0x450b79(0x15e)](_0x33d530);}[_0x1799d2(0x180)](){const _0x25119e=_0x1799d2;if(this[_0x25119e(0x174)]instanceof _0x3332f8){const _0x5e9e3b=this[_0x25119e(0x174)][_0x25119e(0x172)][_0x25119e(0x178)](_0x25119e(0x18c));this[_0x25119e(0x1ba)](_0x5e9e3b);}}[_0x1799d2(0x1ba)](_0x4cbf85){const _0x36ecb0=_0x1799d2;if(!this[_0x36ecb0(0x188)][_0x36ecb0(0x15b)](_0x4cbf85))throw new _0x2de265(_0x36ecb0(0x19d),null,{'channelId':_0x4cbf85});this[_0x36ecb0(0x167)](_0x4cbf85)[_0x36ecb0(0x196)](),this[_0x36ecb0(0x188)][_0x36ecb0(0x1b1)](_0x4cbf85);}async[_0x1799d2(0x173)](){const _0x1b7451=_0x1799d2;for(const _0x3cb3b9 of this[_0x1b7451(0x188)][_0x1b7451(0x1a7)]())await this[_0x1b7451(0x15e)](_0x3cb3b9);if(this[_0x1b7451(0x174)]instanceof _0x3332f8){const _0x1b67f7=this[_0x1b7451(0x174)][_0x1b7451(0x172)][_0x1b7451(0x178)](_0x1b7451(0x18c)),_0x49a8d6=this[_0x1b7451(0x174)][_0x1b7451(0x16f)][_0x1b7451(0x178)](_0x138adb);_0x49a8d6[_0x1b7451(0x1a5)](_0x1b67f7);const _0x43da3b=await this[_0x1b7451(0x188)][_0x1b7451(0x178)](_0x1b67f7)[_0x1b7451(0x16c)]();_0x49a8d6[_0x1b7451(0x176)](_0x1b67f7,_0x43da3b);}}async[_0x1799d2(0x15e)](_0x3efee0){const _0x184dc2=_0x1799d2,{connection:_0x1cc874}=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x3e86e4),_0x2befdd=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x184dc2(0x182)),_0x198965=this[_0x184dc2(0x188)][_0x184dc2(0x178)](_0x3efee0),_0x534732=await _0x198965[_0x184dc2(0x1b3)](_0x1cc874);await this[_0x184dc2(0x18d)](_0x534732);const _0x52047e=new Set(Array[_0x184dc2(0x177)](_0x2befdd[_0x184dc2(0x16b)]({'channelId':_0x3efee0}),_0x4bd3b6=>_0x4bd3b6['id']));for(const _0x1311ca of _0x534732)_0x1311ca[_0x184dc2(0x1a1)]||_0x52047e[_0x184dc2(0x1b1)](_0x1311ca[_0x184dc2(0x1b2)]);for(const _0x13e119 of _0x52047e)_0x2befdd[_0x184dc2(0x18a)](_0x13e119)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x26e4e5 of _0x534732){let _0x33182a=_0x2befdd[_0x184dc2(0x18a)](_0x26e4e5[_0x184dc2(0x1b2)]);const {commentThreadId:_0x4bac93,context:_0x474b8e,attributes:_0x4a0483,resolvedBy:_0x354834,resolvedAt:_0x54e50b,unlinkedAt:_0x334a88,deletedAt:_0x5bd38f}=_0x26e4e5;if(_0x5bd38f)continue;_0x33182a||(_0x33182a=_0x2befdd[_0x184dc2(0x160)]({'channelId':_0x3efee0,'threadId':_0x4bac93,'context':_0x474b8e,'attributes':_0x4a0483||{},'resolvedBy':_0x354834,'resolvedAt':_0x54e50b,'unlinkedAt':_0x334a88,'isFromAdapter':!0x0}));const _0x2d39b2=new Set(Array[_0x184dc2(0x177)](_0x33182a[_0x184dc2(0x161)],_0x55ef46=>_0x55ef46['id']));for(const _0x23b6ea of _0x26e4e5[_0x184dc2(0x161)])_0x2d39b2[_0x184dc2(0x1b1)](_0x23b6ea[_0x184dc2(0x15a)]);for(const _0x235947 of _0x2d39b2)_0x33182a[_0x184dc2(0x15d)](_0x235947)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x5ab7d6 of _0x26e4e5[_0x184dc2(0x161)]){const _0x1738aa=_0x33182a[_0x184dc2(0x15d)](_0x5ab7d6[_0x184dc2(0x15a)]);_0x1738aa?_0x1738aa[_0x184dc2(0x1a4)]!==_0x5ab7d6[_0x184dc2(0x1a4)]&&_0x1738aa[_0x184dc2(0x17f)]({'content':_0x5ab7d6[_0x184dc2(0x1a4)],'isFromAdapter':!0x0}):_0x33182a[_0x184dc2(0x1b7)](Object[_0x184dc2(0x18f)](p(_0x5ab7d6),{'isFromAdapter':!0x0}));}}}[_0x1799d2(0x167)](_0x538cfd){const _0x278505=_0x1799d2;if(!this[_0x278505(0x188)][_0x278505(0x15b)](_0x538cfd))throw new _0x2de265(_0x278505(0x19f),null,{'channelId':_0x538cfd});return this[_0x278505(0x188)][_0x278505(0x178)](_0x538cfd);}async[_0x1799d2(0x18d)](_0x84cb94){const _0x5a229d=_0x1799d2,_0x3d9756=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3d96a1),{connection:_0x21b3d2}=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3e86e4),_0xb2208c=new Set();for(const {resolvedBy:_0x440a84,comments:_0x496907}of _0x84cb94){_0x440a84&&!_0x3d9756[_0x5a229d(0x190)](_0x440a84)&&_0xb2208c[_0x5a229d(0x19e)](_0x440a84);for(const {userId:_0x106924}of _0x496907)_0x3d9756[_0x5a229d(0x190)](_0x106924)||_0xb2208c[_0x5a229d(0x19e)](_0x106924);}if(0x0===_0xb2208c[_0x5a229d(0x1ab)])return;const _0x5bec96=await _0x37b7f5[_0x5a229d(0x199)](_0x21b3d2,Array[_0x5a229d(0x177)](_0xb2208c));for(const _0x3f97b3 of _0x5bec96)_0x3d9756[_0x5a229d(0x190)](_0x3f97b3['id'])||_0x3d9756[_0x5a229d(0x168)](_0x3f97b3);}}async function f(_0x27d1f2){const _0x57c227=_0x1799d2;if(_0x57c227(0x175)!==_0x27d1f2[_0x57c227(0x15f)])throw _0x27d1f2;}function _0x1109(_0x5c0458,_0xfd5825){const _0x438a96=_0x438a();return _0x1109=function(_0x1109d2,_0x2032aa){_0x1109d2=_0x1109d2-0x15a;let _0x38d512=_0x438a96[_0x1109d2];return _0x38d512;},_0x1109(_0x5c0458,_0xfd5825);}function A(_0x471601){const _0x201a7d=_0x1799d2;if((_0x1507e8=_0x471601)[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x197))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x192))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x1bd)))return new Promise(()=>{});var _0x1507e8;throw _0x471601;}function p(_0x2ae4d0){const _0x1a7f5e=_0x1799d2;return{'threadId':_0x2ae4d0[_0x1a7f5e(0x1b2)],'commentId':_0x2ae4d0[_0x1a7f5e(0x15a)],'content':_0x2ae4d0[_0x1a7f5e(0x1a4)],'createdAt':_0x2ae4d0[_0x1a7f5e(0x162)],'authorId':_0x2ae4d0[_0x1a7f5e(0x1b4)],'attributes':_0x2ae4d0[_0x1a7f5e(0x164)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x19d834)());[_0xdd566d(0x1ab)];[_0xdd566d(0x27f)];[_0xdd566d(0x266)];[_0xdd566d(0x1e4)];[_0xdd566d(0x1be)];[_0xdd566d(0x27c)];[_0xdd566d(0x1b5)];[_0xdd566d(0x21c)];[_0xdd566d(0x1c2)];[_0xdd566d(0x19d)];[_0xdd566d(0x245)];[_0xdd566d(0x233)];[_0xdd566d(0x207)];[_0xdd566d(0x23e)];[_0xdd566d(0x1f6)];[_0xdd566d(0x241)];[_0xdd566d(0x24d)];[_0xdd566d(0x211)];static get[_0xdd566d(0x259)](){return[_0x56fbb6,_0x2007a9,_0x3dab96,_0x5b3dcc,_0x2651c1,_0x3ea53e];}static get[_0xdd566d(0x18a)](){const _0x245766=_0xdd566d;return _0x245766(0x1cf);}static get[_0xdd566d(0x26f)](){return!0x0;}static get[_0xdd566d(0x1cd)](){return!0x0;}get[_0xdd566d(0x22a)](){const _0x4c3bd2=_0xdd566d;return this[_0x4c3bd2(0x188)]+this[_0x4c3bd2(0x1ab)];}get[_0xdd566d(0x188)](){const _0x3b34b2=_0xdd566d;return this[_0x3b34b2(0x266)][_0x3b34b2(0x26c)]-this[_0x3b34b2(0x1ab)];}get[_0xdd566d(0x1ce)](){const _0x3c9ce8=_0xdd566d,_0x1c1318=this[_0x3c9ce8(0x266)][_0x3c9ce8(0x17b)]();for(let _0x1fefa5=_0x1c1318[_0x3c9ce8(0x222)]-0x1;_0x1fefa5>=0x0;_0x1fefa5--){const _0x277190=_0x1c1318[_0x1fefa5];if(!this[_0x3c9ce8(0x24d)][_0x3c9ce8(0x249)](_0x277190))return _0x277190[_0x3c9ce8(0x191)]+0x1-this[_0x3c9ce8(0x1ab)];}return 0x0;}constructor(_0x3a1bb1){const _0x2fff98=_0xdd566d;if(super(_0x3a1bb1),this[_0x2fff98(0x1ab)]=0x0,this[_0x2fff98(0x27f)]=null,this[_0x2fff98(0x266)]=new _0x540fac(),this[_0x2fff98(0x21d)][_0x2fff98(0x19f)][_0x2fff98(0x275)](_0x2fff98(0x192),{}),this[_0x2fff98(0x1e4)]=this[_0x2fff98(0x21d)][_0x2fff98(0x19f)][_0x2fff98(0x1a3)](_0x2fff98(0x1c4)),!this[_0x2fff98(0x1e4)])throw new _0x38e951(_0x2fff98(0x1c0),this);const _0x541604=_0x3a1bb1[_0x2fff98(0x19f)][_0x2fff98(0x1a3)](_0x2fff98(0x1d8))||_0x53f41e;this[_0x2fff98(0x1be)]=new RealTimeCollaborationClient[(_0x2fff98(0x25a))](_0x541604,this[_0x2fff98(0x1e4)]),this[_0x2fff98(0x27c)]=this[_0x2fff98(0x21d)][_0x2fff98(0x1ef)][_0x2fff98(0x264)],this[_0x2fff98(0x1b5)]=new _0x257f9a(),this[_0x2fff98(0x21c)]=[],this[_0x2fff98(0x1c2)]=new WeakSet(),this[_0x2fff98(0x19d)]=new Set(),this[_0x2fff98(0x1cc)](_0x2fff98(0x1fe),!0x1),this[_0x2fff98(0x1cc)](_0x2fff98(0x21a),!0x1),this[_0x2fff98(0x245)]=null,this[_0x2fff98(0x233)]=!0x1,this[_0x2fff98(0x207)]=null,this[_0x2fff98(0x23e)]=0x12c,this[_0x2fff98(0x1f6)]=this[_0x2fff98(0x23e)],this[_0x2fff98(0x241)]=null,this[_0x2fff98(0x24d)]=new WeakSet(),this[_0x2fff98(0x211)]=new J(this[_0x2fff98(0x24d)]);}[_0xdd566d(0x1b1)](){const _0x4cb710=_0xdd566d,_0x28d192=this[_0x4cb710(0x21d)],_0x134081=_0x28d192[_0x4cb710(0x1ed)][_0x4cb710(0x1a3)](_0x2651c1),_0x4cd0bf=_0x28d192[_0x4cb710(0x1ed)][_0x4cb710(0x1a3)](_0x56fbb6);this[_0x4cb710(0x206)](_0x134081,_0x4cb710(0x254),(_0x532c4f,_0x3911bf)=>{const _0x5d08e8=_0x4cb710,_0x47c75a=_0x3911bf[0x0];_0x47c75a[_0x5d08e8(0x27e)]&&(_0x532c4f[_0x5d08e8(0x1c3)]=_0x134081[_0x5d08e8(0x1f4)](_0x47c75a[_0x5d08e8(0x27e)]),_0x532c4f[_0x5d08e8(0x1bf)]()),null===_0x47c75a[_0x5d08e8(0x27e)]&&(_0x532c4f[_0x5d08e8(0x1c3)]=null,_0x532c4f[_0x5d08e8(0x1bf)]());},{'priority':_0x4cb710(0x232)}),this[_0x4cb710(0x206)](_0x28d192[_0x4cb710(0x1ef)][_0x4cb710(0x264)][_0x4cb710(0x196)],_0x4cb710(0x204),(_0x82b7cb,_0x20cb67)=>{const _0x2c4fdf=_0x4cb710;_0x20cb67[_0x2c4fdf(0x24e)]&&this[_0x2c4fdf(0x273)]();}),this[_0x4cb710(0x206)](_0x28d192[_0x4cb710(0x1fa)][_0x4cb710(0x21b)],_0x4cb710(0x1a6),()=>{const _0x2c6553=_0x4cb710;this[_0x2c6553(0x273)]();}),this[_0x4cb710(0x1a0)](),_0x28d192[_0x4cb710(0x1ef)]['on'](_0x4cb710(0x17f),(_0x13cb50,_0x548a26)=>{const _0x510a97=_0x4cb710,_0x3c2387=_0x548a26[0x0];_0x3c2387[_0x510a97(0x1d4)]&&(this[_0x510a97(0x262)](_0x3c2387),this[_0x510a97(0x247)]()&&this[_0x510a97(0x265)]());}),this[_0x4cb710(0x271)](),this[_0x4cb710(0x269)](_0x4cb710(0x19a))['to'](_0x4cd0bf,_0x4cb710(0x1dd),this,_0x4cb710(0x21a),(_0x2ec9e2,_0x25af18)=>_0x4cb710(0x1ec)===_0x2ec9e2&&!_0x25af18),this['on'](_0x4cb710(0x1da),()=>{const _0x4104d6=_0x4cb710;this[_0x4104d6(0x19a)]?_0x28d192[_0x4104d6(0x244)](_0x4104d6(0x1e3)):_0x28d192[_0x4104d6(0x1de)](_0x4104d6(0x1e3));}),this[_0x4cb710(0x19a)]?_0x28d192[_0x4cb710(0x244)](_0x4cb710(0x1e3)):_0x28d192[_0x4cb710(0x1de)](_0x4cb710(0x1e3)),this[_0x4cb710(0x1cc)](_0x4cb710(0x228),!0x1);}async[_0xdd566d(0x1b6)](){const _0x5cb746=_0xdd566d,_0xe0a26b=this[_0x5cb746(0x21d)][_0x5cb746(0x1ed)][_0x5cb746(0x1a3)](_0x2007a9),_0x456ae5=this[_0x5cb746(0x21d)][_0x5cb746(0x1ed)][_0x5cb746(0x1a3)](_0x56fbb6);try{this[_0x5cb746(0x1fe)]=!0x0,_0xe0a26b[_0x5cb746(0x1c1)](this[_0x5cb746(0x1e4)]);const _0x47ab2a=await this[_0x5cb746(0x1be)][_0x5cb746(0x1b6)](_0x456ae5[_0x5cb746(0x185)],this[_0x5cb746(0x1ce)]);await this[_0x5cb746(0x1e6)](_0x47ab2a)&&(this[_0x5cb746(0x1fe)]=!0x1,this[_0x5cb746(0x21f)]());const _0x34d7cd=await this[_0x5cb746(0x1be)][_0x5cb746(0x199)]();_0xe0a26b[_0x5cb746(0x1b2)](this[_0x5cb746(0x1e4)],_0x34d7cd),this[_0x5cb746(0x1f0)](),this[_0x5cb746(0x228)]=!0x0;}catch(_0x56f231){if(function(_0x562bb0){const _0xa9858c=_0x5cb746;return _0xa9858c(0x1a4)===_0x562bb0[_0xa9858c(0x221)];}(_0x56f231)&&this[_0x5cb746(0x27f)])await this[_0x5cb746(0x250)]();else{if(function(_0x234703){const _0x9903e0=_0x5cb746;return _0x9903e0(0x205)===_0x234703[_0x9903e0(0x221)];}(_0x56f231)){const _0x54352c=_0x30f3a8(this[_0x5cb746(0x21d)][_0x5cb746(0x217)],_0x5cb746(0x183));this[_0x5cb746(0x280)](_0x54352c);}else{if(!(_0x56f231 instanceof $))throw _0x56f231;this[_0x5cb746(0x280)]();}}}}[_0xdd566d(0x1c5)](){const _0x87aa57=_0xdd566d,_0x510886=this[_0x87aa57(0x21d)][_0x87aa57(0x1ed)][_0x87aa57(0x1a3)](_0x56fbb6),_0x2c44ca=this[_0x87aa57(0x21d)][_0x87aa57(0x1ed)][_0x87aa57(0x1a3)](_0x2007a9);this[_0x87aa57(0x21d)][_0x87aa57(0x1de)](_0x87aa57(0x248)),_0x2c44ca[_0x87aa57(0x226)][_0x87aa57(0x249)](this[_0x87aa57(0x1e4)])&&_0x2c44ca[_0x87aa57(0x1c1)](this[_0x87aa57(0x1e4)]),_0x510886[_0x87aa57(0x24a)](this),this[_0x87aa57(0x22d)](),super[_0x87aa57(0x1c5)]();}async[_0xdd566d(0x1e6)](_0x3c1d5c){const _0x4acb84=_0xdd566d;if(this[_0x4acb84(0x27f)]!==_0x3c1d5c[_0x4acb84(0x27f)]&&this[_0x4acb84(0x241)]!==_0x3c1d5c[_0x4acb84(0x197)])throw new $();return this[_0x4acb84(0x27f)]=_0x3c1d5c[_0x4acb84(0x27f)],this[_0x4acb84(0x1b0)]([],{..._0x3c1d5c,'wereChangesApplied':!0x1,'data':_0x3c1d5c[_0x4acb84(0x202)]},_0x4acb84(0x1b6));}async[_0xdd566d(0x263)](_0x3a9574,_0x237416=!0x1){const _0x32320f=_0xdd566d,{connection:_0x276751}=this[_0x32320f(0x21d)][_0x32320f(0x1ed)][_0x32320f(0x1a3)](_0x56fbb6);RealTimeCollaborationClient[_0x32320f(0x25a)][_0x32320f(0x199)](_0x276751,this[_0x32320f(0x1e4)])[_0x32320f(0x19b)](_0x1d4190=>this[_0x32320f(0x21e)](_0x1d4190))[_0x32320f(0x236)](_0x36bab5=>{const _0x3ee85e=_0x32320f;this[_0x3ee85e(0x1db)](_0x3ee85e(0x229),_0x36bab5);}),this[_0x32320f(0x206)](this[_0x32320f(0x1be)],_0x32320f(0x181),this[_0x32320f(0x1af)][_0x32320f(0x269)](this)),this[_0x32320f(0x206)](this[_0x32320f(0x1be)],_0x32320f(0x203),(_0x526e22,_0x449217)=>{const _0x518759=_0x32320f;this[_0x518759(0x1db)](_0x518759(0x187),_0x449217);}),this[_0x32320f(0x206)](this[_0x32320f(0x1be)],_0x32320f(0x1ba),()=>{const _0x267463=_0x32320f;this[_0x267463(0x228)]=!0x1;});const _0x430b02=this[_0x32320f(0x211)][_0x32320f(0x1e5)](_0x3a9574);this[_0x32320f(0x1fe)]=!0x0;const _0x4fcb2e=await this[_0x32320f(0x1be)][_0x32320f(0x216)](_0x276751,this[_0x32320f(0x1a9)](_0x3a9574),_0x430b02);if(this[_0x32320f(0x27f)]=_0x4fcb2e[_0x32320f(0x27f)],_0x237416){if(!_0x4fcb2e[_0x32320f(0x1aa)])return void this[_0x32320f(0x280)]();this[_0x32320f(0x1fe)]=!0x1,this[_0x32320f(0x21f)](),this[_0x32320f(0x266)][_0x32320f(0x1f8)](),this[_0x32320f(0x1ab)]=_0x4fcb2e[_0x32320f(0x1b8)],this[_0x32320f(0x266)][_0x32320f(0x26c)]=this[_0x32320f(0x1ab)],await this[_0x32320f(0x1b0)](_0x3a9574,_0x4fcb2e,_0x32320f(0x219));}else await this[_0x32320f(0x224)](_0x4fcb2e,_0x3a9574);this[_0x32320f(0x1f0)](),this[_0x32320f(0x228)]=!0x0;}[_0xdd566d(0x1f0)](){const _0x53f0c5=_0xdd566d,_0x1b49e2=this[_0x53f0c5(0x21d)][_0x53f0c5(0x1ed)][_0x53f0c5(0x1a3)](_0x2007a9),_0x2c1612=this[_0x53f0c5(0x21d)][_0x53f0c5(0x1ed)][_0x53f0c5(0x1a3)](_0x3dab96),_0x2b1275=_0x1b49e2[_0x53f0c5(0x226)][_0x53f0c5(0x1a3)](this[_0x53f0c5(0x1e4)]);_0x2b1275&&_0x2b1275[_0x53f0c5(0x222)]>0x1?_0x2c1612[_0x53f0c5(0x1c7)]():this[_0x53f0c5(0x206)](_0x1b49e2,_0x53f0c5(0x1c6)+this[_0x53f0c5(0x1e4)],()=>{const _0x4d6437=_0x53f0c5;0x2===_0x1b49e2[_0x4d6437(0x226)][_0x4d6437(0x1a3)](this[_0x4d6437(0x1e4)])[_0x4d6437(0x222)]&&_0x2c1612[_0x4d6437(0x1c7)]();});}async[_0xdd566d(0x1af)](_0xf11c6e,_0x5dd5f8,_0x1ff6fe,_0x4b360e){const _0x10ae31=_0xdd566d;if(!this[_0x10ae31(0x1fe)]&&this[_0x10ae31(0x27c)][_0x10ae31(0x26c)]==_0x5dd5f8){const _0x2c0a5e=this[_0x10ae31(0x1bc)](_0x1ff6fe,_0x4b360e);await this[_0x10ae31(0x22b)](_0x2c0a5e),this[_0x10ae31(0x23d)](_0x2c0a5e,_0x5dd5f8,_0x1ff6fe[_0x10ae31(0x197)])||this[_0x10ae31(0x1db)](_0x10ae31(0x1ee));}}async[_0xdd566d(0x250)](){const _0x3f0cbb=_0xdd566d;this[_0x3f0cbb(0x22d)]();const {locale:_0x24ce5f}=this[_0x3f0cbb(0x21d)];let _0x8e0c28;try{_0x8e0c28=await this[_0x3f0cbb(0x1be)][_0x3f0cbb(0x27d)]();}catch{const _0x7a3e8c=_0x30f3a8(_0x24ce5f,_0x3f0cbb(0x1ad));return void this[_0x3f0cbb(0x280)](_0x7a3e8c);}const _0x5ea198=_0x8e0c28[_0x3f0cbb(0x1e9)]||_0x8e0c28[_0x3f0cbb(0x1b3)];if(this[_0x3f0cbb(0x241)]!==_0x5ea198[_0x3f0cbb(0x197)]){const _0x3a3ea3=_0x30f3a8(_0x24ce5f,_0x3f0cbb(0x246));return void this[_0x3f0cbb(0x280)](_0x3a3ea3);}await this[_0x3f0cbb(0x263)](this[_0x3f0cbb(0x21d)][_0x3f0cbb(0x1ef)][_0x3f0cbb(0x264)][_0x3f0cbb(0x1f9)][_0x3f0cbb(0x17b)](),!0x0);}[_0xdd566d(0x22d)](){const _0x543565=_0xdd566d;this[_0x543565(0x1be)][_0x543565(0x23a)](),this[_0x543565(0x21c)]=[],clearTimeout(this[_0x543565(0x207)]),this[_0x543565(0x281)](this[_0x543565(0x1be)]);}[_0xdd566d(0x21e)](_0x403817){const _0x26d558=_0xdd566d,_0x48842f=this[_0x26d558(0x21d)][_0x26d558(0x1ed)][_0x26d558(0x1a3)](_0x2007a9);this[_0x26d558(0x206)](_0x48842f,_0x26d558(0x1c6)+this[_0x26d558(0x1e4)],(_0x8a54f,{session:_0x27452f})=>{const _0x49990f=_0x26d558;if(_0x27452f['id']===_0x48842f[_0x49990f(0x25c)]){_0x8a54f[_0x49990f(0x1f1)]();const _0x742a1e=this[_0x49990f(0x21d)][_0x49990f(0x1ed)][_0x49990f(0x249)](_0x49990f(0x25d))&&this[_0x49990f(0x21d)][_0x49990f(0x1ed)][_0x49990f(0x1a3)](_0x49990f(0x25d));let _0x1212d9=_0x27452f[_0x49990f(0x278)];_0x742a1e&&_0x742a1e[_0x49990f(0x1ca)]&&(_0x1212d9=_0x1212d9[_0x49990f(0x20f)](_0xf1613d=>_0x49990f(0x1d7)!==_0xf1613d)),this[_0x49990f(0x21d)][_0x49990f(0x1ed)][_0x49990f(0x1a3)](_0x49990f(0x189))[_0x49990f(0x1e7)](_0x1212d9,this[_0x49990f(0x1e4)]);}}),_0x48842f[_0x26d558(0x1b2)](this[_0x26d558(0x1e4)],_0x403817);}[_0xdd566d(0x1a0)](){const _0x4f7452=_0xdd566d,_0x4330fd=this[_0x4f7452(0x21d)][_0x4f7452(0x202)][_0x4f7452(0x1cc)];this[_0x4f7452(0x21d)][_0x4f7452(0x202)][_0x4f7452(0x1cc)]=(..._0x41ca5a)=>{const _0x114852=_0x4f7452;if(!_0x41ca5a[_0x41ca5a[_0x114852(0x222)]-0x1][_0x114852(0x23b)])throw new _0x38e951(_0x114852(0x1cb),this);_0x4330fd[_0x114852(0x1eb)](this[_0x114852(0x21d)][_0x114852(0x202)],_0x41ca5a);};}[_0xdd566d(0x271)](){const _0x5414e5=_0xdd566d;this[_0x5414e5(0x21d)][_0x5414e5(0x202)]['on'](_0x5414e5(0x1b1),(_0x34ba12,[_0x28b04c])=>{const _0x4af5b3=_0x5414e5;if(this[_0x4af5b3(0x27c)][_0x4af5b3(0x26c)])throw new _0x38e951(_0x4af5b3(0x1d2),this);_0x34ba12[_0x4af5b3(0x1bf)](),this[_0x4af5b3(0x23c)]();const _0x78115c=this[_0x4af5b3(0x21d)][_0x4af5b3(0x19f)][_0x4af5b3(0x1a3)](_0x4af5b3(0x256)),_0x1436ef=this[_0x4af5b3(0x252)](_0x28b04c,_0x78115c);0x0==_0x1436ef[_0x4af5b3(0x222)]&&_0x1436ef[_0x4af5b3(0x1a5)](new _0x23b90a(0x0)),_0x34ba12[_0x4af5b3(0x1c3)]=this[_0x4af5b3(0x263)](_0x1436ef)[_0x4af5b3(0x19b)](()=>{const _0x5e947d=_0x4af5b3;this[_0x5e947d(0x21d)][_0x5e947d(0x1ed)][_0x5e947d(0x1a3)](_0x56fbb6)[_0x5e947d(0x1d1)](this),this[_0x5e947d(0x21d)][_0x5e947d(0x202)][_0x5e947d(0x1e2)](_0x5e947d(0x22c));})[_0x4af5b3(0x236)](_0x1c481c=>this[_0x4af5b3(0x1db)](_0x4af5b3(0x218),_0x1c481c))[_0x4af5b3(0x270)](()=>this[_0x4af5b3(0x21f)]());},{'priority':_0x5414e5(0x232)}),this[_0x5414e5(0x21d)]['on'](_0x5414e5(0x17e),async(_0x5be481,[_0x5cf177,_0x3b238c])=>{const _0x27dc30=_0x5414e5;_0x5be481[_0x27dc30(0x1bf)]();const _0x35f06f=this[_0x27dc30(0x21d)][_0x27dc30(0x1ef)][_0x27dc30(0x264)][_0x27dc30(0x1f5)](_0x5cf177);if(!this[_0x27dc30(0x19d)][_0x27dc30(0x249)](_0x5cf177)){const _0x278cff=_0x3b238c&&_0x3b238c[_0x27dc30(0x202)]?_0x3b238c[_0x27dc30(0x202)]:'',_0x518696=_0x3b238c&&_0x3b238c[_0x27dc30(0x17d)]?_0x3b238c[_0x27dc30(0x17d)]:{};await this[_0x27dc30(0x20b)](_0x5cf177,_0x278cff,_0x518696);}this[_0x27dc30(0x21d)][_0x27dc30(0x1ef)][_0x27dc30(0x1bd)]({'isUndoable':!0x1},()=>{const _0x5dff02=_0x27dc30;_0x35f06f[_0x5dff02(0x215)]=!0x0,this[_0x5dff02(0x21d)][_0x5dff02(0x1ef)][_0x5dff02(0x264)][_0x5dff02(0x27a)][_0x5dff02(0x201)](_0x35f06f);});},{'priority':_0x5414e5(0x232)});}async[_0xdd566d(0x22b)](_0x3e423a){const _0x41a36c=_0xdd566d,_0x55fb13=this[_0x41a36c(0x21d)][_0x41a36c(0x1ed)][_0x41a36c(0x1a3)](_0x2651c1),{connection:_0x2cec62}=this[_0x41a36c(0x21d)][_0x41a36c(0x1ed)][_0x41a36c(0x1a3)](_0x56fbb6),_0x3b1b2d=new Set();for(const _0xfaec31 of _0x3e423a){const _0x25517b=_0xfaec31[_0x41a36c(0x27e)];_0x25517b&&!_0x55fb13[_0x41a36c(0x1f4)](_0x25517b)&&_0x3b1b2d[_0x41a36c(0x220)](_0x25517b);}if(0x0===_0x3b1b2d[_0x41a36c(0x1f2)])return;const _0x6f3403=await _0x209b01[_0x41a36c(0x1c8)](_0x2cec62,Array[_0x41a36c(0x1dc)](_0x3b1b2d));for(const _0x458a84 of _0x6f3403)_0x55fb13[_0x41a36c(0x1f4)](_0x458a84['id'])||_0x55fb13[_0x41a36c(0x214)](_0x458a84);}[_0xdd566d(0x252)](_0x4cb29a,_0x1db2a2={}){const _0x4a5cb1=_0xdd566d,_0x20531b=this[_0x4a5cb1(0x21d)][_0x4a5cb1(0x1ef)],_0x18b624=[];let _0x1a2e68=0x0;const _0x17df7c=_0x4a5cb1(0x1d9)==typeof _0x4cb29a?{'main':_0x4cb29a}:_0x4cb29a;for(const _0x193bcf of Object[_0x4a5cb1(0x235)](_0x17df7c)){if(!this[_0x4a5cb1(0x27c)][_0x4a5cb1(0x1a2)][_0x4a5cb1(0x249)](_0x193bcf))throw new _0x38e951(_0x4a5cb1(0x234),this);const _0x283391=this[_0x4a5cb1(0x21d)][_0x4a5cb1(0x202)][_0x4a5cb1(0x24f)](_0x17df7c[_0x193bcf]),_0x1b203a=this[_0x4a5cb1(0x27c)][_0x4a5cb1(0x1f5)](_0x193bcf),_0x96dd43=new _0x4f7e19(_0x20531b[_0x4a5cb1(0x231)](_0x1b203a,0x0),_0x283391,_0x1a2e68++);_0x18b624[_0x4a5cb1(0x1a5)](_0x96dd43);for(const [_0x17c8f2,_0x50137e]of _0x283391[_0x4a5cb1(0x1bb)]){const _0x559a39=_0x20531b[_0x4a5cb1(0x261)](_0x20531b[_0x4a5cb1(0x20c)](_0x1b203a,_0x50137e[_0x4a5cb1(0x1f3)][_0x4a5cb1(0x27b)][_0x4a5cb1(0x260)]()),_0x20531b[_0x4a5cb1(0x20c)](_0x1b203a,_0x50137e[_0x4a5cb1(0x1df)][_0x4a5cb1(0x27b)][_0x4a5cb1(0x260)]())),_0x453e22=new _0x266eef(_0x17c8f2,null,_0x559a39,_0x20531b[_0x4a5cb1(0x1bb)],!0x0,_0x1a2e68++);_0x18b624[_0x4a5cb1(0x1a5)](_0x453e22);}}if(_0x1db2a2)for(const [_0x200b04,_0x133017]of Object[_0x4a5cb1(0x1fb)](_0x1db2a2)){const _0x5bb602=_0x20531b[_0x4a5cb1(0x264)][_0x4a5cb1(0x1f5)](_0x200b04);if(!_0x5bb602)throw new _0x38e951(_0x4a5cb1(0x1ff),null);for(const [_0x197902,_0x5094c6]of Object[_0x4a5cb1(0x1fb)](_0x133017))if(null!==_0x5094c6){const _0x1271db=new _0x333028(_0x5bb602,_0x197902,null,_0x5094c6,_0x1a2e68++);_0x18b624[_0x4a5cb1(0x1a5)](_0x1271db);}}return _0x18b624;}async[_0xdd566d(0x20b)](_0x18c8f9,_0x51e4b9,_0x162915){const _0xdad1ae=_0xdd566d;this[_0xdad1ae(0x252)]({[_0x18c8f9]:_0x51e4b9},{[_0x18c8f9]:_0x162915})[_0xdad1ae(0x198)]((_0x3025d9,_0x5ab036)=>{const _0x20269c=_0xdad1ae;_0x3025d9[_0x20269c(0x191)]=this[_0x20269c(0x27c)][_0x20269c(0x26c)]+_0x5ab036,_0x3025d9[_0x20269c(0x209)]=!0x0,this[_0x20269c(0x262)](_0x3025d9);}),this[_0xdad1ae(0x265)](),await this[_0xdad1ae(0x251)]();}async[_0xdd566d(0x224)](_0x108450,_0x14822e){const _0x2478a7=_0xdd566d;let _0x10e1c3;this[_0x2478a7(0x1ab)]=_0x108450[_0x2478a7(0x1b8)];const _0x4da875=_0x108450[_0x2478a7(0x1aa)]&&!_0x108450[_0x2478a7(0x26e)],_0x3b8de2=_0x4da875?0x0:_0x108450[_0x2478a7(0x202)][_0x2478a7(0x191)];if(_0x14822e[_0x2478a7(0x198)](_0x437131=>{const _0x1e944c=_0x2478a7;_0x437131[_0x1e944c(0x209)]=!0x0,_0x437131[_0x1e944c(0x1a1)]=_0x108450[_0x1e944c(0x24c)],_0x437131[_0x1e944c(0x27e)]=null;}),_0x4da875)_0x10e1c3=_0x14822e,this[_0x2478a7(0x225)](_0x10e1c3,_0x4da875);else{if(_0x108450[_0x2478a7(0x26e)]){const _0x2649e0=this[_0x2478a7(0x252)](_0x108450[_0x2478a7(0x26e)]);this[_0x2478a7(0x27c)][_0x2478a7(0x1f9)][_0x2478a7(0x26c)]=-_0x2649e0[_0x2478a7(0x222)],_0x2649e0[_0x2478a7(0x198)](_0x3edac8=>{const _0x4337ae=_0x2478a7;_0x3edac8[_0x4337ae(0x191)]-=_0x2649e0[_0x4337ae(0x222)],_0x3edac8[_0x4337ae(0x1a1)]=_0x108450[_0x4337ae(0x24c)],_0x3edac8[_0x4337ae(0x209)]=!0x0,_0x3edac8[_0x4337ae(0x27e)]=null;}),this[_0x2478a7(0x225)](_0x2649e0,!0x0),this[_0x2478a7(0x266)][_0x2478a7(0x26c)]=-_0x2649e0[_0x2478a7(0x222)]+this[_0x2478a7(0x1ab)],this[_0x2478a7(0x26a)](_0x2649e0);}this[_0x2478a7(0x27c)][_0x2478a7(0x1f9)][_0x2478a7(0x26c)]=_0x3b8de2,_0x10e1c3=this[_0x2478a7(0x1bc)](_0x108450[_0x2478a7(0x202)],_0x108450[_0x2478a7(0x25f)]),await this[_0x2478a7(0x22b)](_0x10e1c3),this[_0x2478a7(0x225)](_0x10e1c3,_0x4da875);}_0x108450[_0x2478a7(0x197)]&&(this[_0x2478a7(0x211)][_0x2478a7(0x1ac)](_0x10e1c3,_0x108450[_0x2478a7(0x197)]),this[_0x2478a7(0x241)]=_0x108450[_0x2478a7(0x197)]),this[_0x2478a7(0x266)][_0x2478a7(0x26c)]=_0x3b8de2+this[_0x2478a7(0x1ab)],this[_0x2478a7(0x26a)](_0x10e1c3),_0x14822e[_0x2478a7(0x20f)](_0x4a055f=>{const _0x343587=_0x2478a7,_0x17b12b=this[_0x343587(0x1b4)](_0x4a055f);return _0x17b12b&&!this[_0x343587(0x19d)][_0x343587(0x249)](_0x17b12b);})[_0x2478a7(0x198)]((_0x1c6853,_0x3714ec)=>{const _0x236f0b=_0x2478a7;_0x1c6853[_0x236f0b(0x191)]=this[_0x236f0b(0x27c)][_0x236f0b(0x26c)]+_0x3714ec,this[_0x236f0b(0x262)](_0x1c6853);}),this[_0x2478a7(0x247)]()?(this[_0x2478a7(0x1f6)]=0x0,this[_0x2478a7(0x265)](!0x0),await this[_0x2478a7(0x251)]()):(this[_0x2478a7(0x1fe)]=!0x1,this[_0x2478a7(0x21f)]());}[_0xdd566d(0x1db)](_0x572177,_0x6123ff){const _0x1652cf=_0xdd566d,_0x558d34=_0x6123ff&&_0x6123ff[_0x1652cf(0x22f)];if(_0x558d34&&_0x558d34[_0x1652cf(0x1b7)](_0x1652cf(0x1ae)))throw _0x6123ff;const _0x19e5dd=this[_0x1652cf(0x21d)][_0x1652cf(0x1ed)][_0x1652cf(0x1a3)](_0x56fbb6);throw this[_0x1652cf(0x1fe)]=!0x0,_0x19e5dd[_0x1652cf(0x23a)](),this[_0x1652cf(0x21d)][_0x1652cf(0x1de)](_0x1652cf(0x18e)),new _0x38e951(_0x572177,this[_0x1652cf(0x21d)],_0x558d34?{'originalError':_0x558d34}:void 0x0);}[_0xdd566d(0x262)](_0x494e7d){const _0x2113f5=_0xdd566d;this[_0x2113f5(0x1c2)][_0x2113f5(0x249)](_0x494e7d)||(this[_0x2113f5(0x1c2)][_0x2113f5(0x220)](_0x494e7d),this[_0x2113f5(0x21c)][_0x2113f5(0x1a5)](_0x494e7d),this[_0x2113f5(0x245)]||_0x2113f5(0x195)==_0x494e7d[_0x2113f5(0x18f)]&&!_0x494e7d[_0x2113f5(0x257)]||this[_0x2113f5(0x23c)]());}[_0xdd566d(0x265)](_0x3c2dc0=!0x1){const _0x5cd3ce=_0xdd566d;!_0x3c2dc0&&this[_0x5cd3ce(0x1fe)]||(this[_0x5cd3ce(0x1fe)]=!0x0,clearTimeout(this[_0x5cd3ce(0x207)]),this[_0x5cd3ce(0x207)]=setTimeout(()=>{const _0x2766ff=_0x5cd3ce;this[_0x2766ff(0x20e)]()[_0x2766ff(0x19b)](_0x3d58e9=>{const _0x50b7fd=_0x2766ff;_0x3d58e9&&(this[_0x50b7fd(0x21f)](),this[_0x50b7fd(0x1fe)]=!0x1);})[_0x2766ff(0x236)](_0x17f99f=>{const _0x1e24b6=_0x2766ff;this[_0x1e24b6(0x21f)](),this[_0x1e24b6(0x1fe)]=!0x1,function(_0x52545b){const _0x4b154c=_0x1e24b6;return _0x52545b[_0x4b154c(0x22f)][_0x4b154c(0x1b7)](_0x4b154c(0x1b9))||_0x52545b[_0x4b154c(0x22f)][_0x4b154c(0x1b7)](_0x4b154c(0x18d))||_0x52545b[_0x4b154c(0x22f)][_0x4b154c(0x1b7)](_0x4b154c(0x1d5));}(_0x17f99f)||this[_0x1e24b6(0x1db)](_0x17f99f[_0x1e24b6(0x22f)],_0x17f99f);});},this[_0x5cd3ce(0x1f6)]));}[_0xdd566d(0x251)](){return new Promise(_0x43cf80=>{const _0x10cd50=_0x9c01;this['on'](_0x10cd50(0x182),()=>{_0x43cf80();});});}async[_0xdd566d(0x20e)](){const _0x187036=_0xdd566d,_0x5f596f=this[_0x187036(0x21d)][_0x187036(0x1ed)][_0x187036(0x1a3)](_0x3dab96);if(this[_0x187036(0x22e)]()&&(_0x5f596f[_0x187036(0x1c7)](),this[_0x187036(0x233)]=!0x1),!this[_0x187036(0x247)]())return!0x0;const _0x476e5b=[...this[_0x187036(0x21c)]];for(const _0x492845 of _0x476e5b)_0x492845[_0x187036(0x210)]=this[_0x187036(0x27c)][_0x187036(0x1f9)][_0x187036(0x277)](_0x492845);const _0x258431=this[_0x187036(0x211)][_0x187036(0x1e5)](_0x476e5b),_0x403f9e=G++,_0x332409=this[_0x187036(0x1a9)](_0x476e5b),_0x15f00c=await this[_0x187036(0x1be)][_0x187036(0x1e1)](_0x332409,_0x332409[_0x187036(0x191)],_0x258431);try{return await this[_0x187036(0x1b0)](_0x476e5b,_0x15f00c,_0x403f9e);}catch(_0x1eabdb){return this[_0x187036(0x1db)](_0x187036(0x242),_0x1eabdb);}}async[_0xdd566d(0x1b0)](_0x650dd9,_0x58c3b4,_0x59e8e8){const _0x49e58c=_0xdd566d;if(_0x49e58c(0x203)in _0x58c3b4)throw _0x58c3b4[_0x49e58c(0x203)];let _0x49cff0=!0x1;if(_0x58c3b4[_0x49e58c(0x1aa)]){_0x58c3b4[_0x49e58c(0x197)]&&(this[_0x49e58c(0x241)]=_0x58c3b4[_0x49e58c(0x197)]),this[_0x49e58c(0x21c)]=this[_0x49e58c(0x21c)][_0x49e58c(0x20f)](_0x1d4855=>!_0x650dd9[_0x49e58c(0x200)](_0x1d4855));for(const _0x3ba834 of _0x650dd9)_0x3ba834[_0x49e58c(0x1a1)]=_0x49e58c(0x1a8)in _0x58c3b4&&_0x58c3b4[_0x49e58c(0x1a8)]||void 0x0;K(_0x650dd9,_0x58c3b4[_0x49e58c(0x26c)]-_0x650dd9[_0x49e58c(0x222)]),this[_0x49e58c(0x26a)](_0x650dd9);const _0x2c332c=_0x650dd9[_0x49e58c(0x20f)](_0x5c4540=>{const _0x2c2993=_0x49e58c;if(!_0x5c4540[_0x2c2993(0x209)])return!0x1;const _0x432546=this[_0x2c2993(0x1b4)](_0x5c4540);return _0x432546&&!this[_0x2c2993(0x19d)][_0x2c2993(0x249)](_0x432546);});K(_0x2c332c,this[_0x49e58c(0x27c)][_0x49e58c(0x26c)]),this[_0x49e58c(0x225)](_0x2c332c),_0x49cff0=!0x0,this[_0x49e58c(0x1f6)]=this[_0x49e58c(0x23e)];}else{const _0x4826d6=this[_0x49e58c(0x1bc)](_0x58c3b4[_0x49e58c(0x202)],_0x58c3b4[_0x49e58c(0x25f)])[_0x49e58c(0x20f)](_0x1de21b=>_0x1de21b[_0x49e58c(0x191)]>=this[_0x49e58c(0x188)]);_0x4826d6[_0x49e58c(0x198)](_0x2b7118=>this[_0x49e58c(0x1d6)](_0x2b7118)),this[_0x49e58c(0x21c)]=this[_0x49e58c(0x21c)][_0x49e58c(0x20f)](_0x45b3ba=>!_0x45b3ba[_0x49e58c(0x209)]||!this[_0x49e58c(0x19d)][_0x49e58c(0x249)](this[_0x49e58c(0x1b4)](_0x45b3ba))),this[_0x49e58c(0x21c)][_0x49e58c(0x222)]&&K(this[_0x49e58c(0x21c)],this[_0x49e58c(0x21c)][0x0][_0x49e58c(0x191)]),await this[_0x49e58c(0x22b)](_0x4826d6),_0x49cff0=this[_0x49e58c(0x23d)](_0x4826d6,_0x58c3b4[_0x49e58c(0x26c)],_0x58c3b4[_0x49e58c(0x197)]),this[_0x49e58c(0x1f6)]=Math[_0x49e58c(0x238)](this[_0x49e58c(0x1f6)]/0x2);}return _0x49cff0?!this[_0x49e58c(0x247)]()||(this[_0x49e58c(0x265)](!0x0),!0x1):this[_0x49e58c(0x1db)](_0x49e58c(0x20d));}[_0xdd566d(0x23d)](_0x515f9e,_0x2fb16b,_0x318a81){const _0x2032ac=_0xdd566d;try{const _0x4450c0={'document':this[_0x2032ac(0x27c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44e8e9,operationsB:_0x3a9eec,originalOperations:_0x12f989}=_0x4f981b(_0x515f9e,this[_0x2032ac(0x21c)],_0x4450c0);K(_0x44e8e9,this[_0x2032ac(0x27c)][_0x2032ac(0x26c)]),K(_0x3a9eec,_0x2fb16b);for(const _0x2b7996 of _0x44e8e9){const _0x32d884=_0x12f989[_0x2032ac(0x1a3)](_0x2b7996);_0x2b7996[_0x2032ac(0x27e)]=_0x32d884?_0x32d884[_0x2032ac(0x27e)]:null;}_0x318a81&&(this[_0x2032ac(0x211)][_0x2032ac(0x1ac)](_0x515f9e,_0x318a81),this[_0x2032ac(0x241)]=_0x318a81),this[_0x2032ac(0x21c)]=[..._0x3a9eec],this[_0x2032ac(0x225)](_0x44e8e9),this[_0x2032ac(0x26a)](_0x515f9e);}catch(_0x34c093){return console[_0x2032ac(0x203)](_0x34c093),!0x1;}return!0x0;}[_0xdd566d(0x225)](_0x47a7f0,_0xe1bb34=!0x1){const _0x1b554d=_0xdd566d;this[_0x1b554d(0x21d)][_0x1b554d(0x1ef)][_0x1b554d(0x1bd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x11b2b2=>{const _0x224830=_0x1b554d;for(const _0xa16a3b of _0x47a7f0)this[_0x224830(0x1c2)][_0x224830(0x220)](_0xa16a3b),this[_0x224830(0x1d6)](_0xa16a3b),_0x11b2b2[_0x224830(0x279)][_0x224830(0x19e)](_0xa16a3b),this[_0x224830(0x21d)][_0x224830(0x1ef)][_0x224830(0x17f)](_0xa16a3b);});}[_0xdd566d(0x1d6)](_0x59fee1){const _0x5d7022=_0xdd566d,_0x56d47c=this[_0x5d7022(0x1b4)](_0x59fee1);_0x56d47c&&this[_0x5d7022(0x19d)][_0x5d7022(0x220)](_0x56d47c);}[_0xdd566d(0x1b4)](_0x29ac54){const _0x25a217=_0xdd566d;let _0x2738dd,_0x56f5f5;switch(_0x29ac54[_0x25a217(0x18f)]){case _0x25a217(0x267):_0x2738dd=_0x29ac54[_0x25a217(0x1e0)][_0x25a217(0x274)];break;case _0x25a217(0x195):if(_0x56f5f5=_0x29ac54[_0x25a217(0x180)],!_0x56f5f5)return null;_0x2738dd=_0x56f5f5[_0x25a217(0x274)];break;case _0x25a217(0x194):_0x2738dd=_0x29ac54[_0x25a217(0x274)];break;case _0x25a217(0x186):_0x2738dd=_0x29ac54[_0x25a217(0x1e8)];break;case _0x25a217(0x253):_0x2738dd=_0x29ac54[_0x25a217(0x258)][_0x25a217(0x274)];break;default:return null;}return _0x2738dd[_0x25a217(0x1d0)];}[_0xdd566d(0x26a)](_0x8e97e3){const _0x1fdc23=_0xdd566d;_0x8e97e3[_0x1fdc23(0x198)](_0x26f9fd=>{const _0x4902a1=_0x1fdc23,_0x2fed00=_0x26f9fd[_0x4902a1(0x1ea)]();_0x2fed00[_0x4902a1(0x27e)]=_0x26f9fd[_0x4902a1(0x27e)],_0x2fed00[_0x4902a1(0x209)]=!!_0x26f9fd[_0x4902a1(0x209)],_0x2fed00[_0x4902a1(0x1a1)]=_0x26f9fd[_0x4902a1(0x1a1)],_0x2fed00[_0x4902a1(0x191)]+=this[_0x4902a1(0x1ab)],_0x26f9fd[_0x4902a1(0x18b)]&&this[_0x4902a1(0x24d)][_0x4902a1(0x220)](_0x2fed00),this[_0x4902a1(0x266)][_0x4902a1(0x19e)](_0x2fed00);});}[_0xdd566d(0x280)](_0x57fab6){const _0x2f6400=_0xdd566d,_0x54356f=this[_0x2f6400(0x21d)][_0x2f6400(0x1ed)][_0x2f6400(0x1a3)](_0x2f6400(0x276)),_0xd3eeeb=this[_0x2f6400(0x21d)][_0x2f6400(0x217)];_0x57fab6||(_0x57fab6=_0x30f3a8(_0xd3eeeb,_0x2f6400(0x24b))),_0x54356f[_0x2f6400(0x25b)](_0x57fab6,{'title':_0x30f3a8(_0xd3eeeb,_0x2f6400(0x1d3)),'namespace':_0x2f6400(0x237)}),this[_0x2f6400(0x21a)]=!0x0,clearTimeout(this[_0x2f6400(0x207)]),this[_0x2f6400(0x21c)]=[],this[_0x2f6400(0x21d)][_0x2f6400(0x1ed)][_0x2f6400(0x1a3)](_0x56fbb6)[_0x2f6400(0x23a)]();}[_0xdd566d(0x23c)](){const _0x1da7df=_0xdd566d;this[_0x1da7df(0x245)]||(this[_0x1da7df(0x245)]=this[_0x1da7df(0x21d)][_0x1da7df(0x1ed)][_0x1da7df(0x1a3)](_0x5b3dcc)[_0x1da7df(0x220)](_0x30f3a8(this[_0x1da7df(0x21d)][_0x1da7df(0x217)],_0x1da7df(0x282))));}[_0xdd566d(0x21f)](){const _0x4e78ff=_0xdd566d;this[_0x4e78ff(0x245)]&&(this[_0x4e78ff(0x21d)][_0x4e78ff(0x1ed)][_0x4e78ff(0x1a3)](_0x5b3dcc)[_0x4e78ff(0x1a7)](this[_0x4e78ff(0x245)]),this[_0x4e78ff(0x245)]=null);}[_0xdd566d(0x1a9)](_0x1b642e){const _0x1a07b3=_0xdd566d,_0x2e0fef=_0x1b642e[_0x1a07b3(0x1fc)](_0x6a3596=>_0x6a3596[_0x1a07b3(0x20a)]());return this[_0x1a07b3(0x1b5)][_0x1a07b3(0x213)](_0x2e0fef);}[_0xdd566d(0x1bc)](_0x15dd45,_0x25ffaa){const _0x5eac2a=_0xdd566d;return this[_0x5eac2a(0x1b5)][_0x5eac2a(0x255)](_0x15dd45)[_0x5eac2a(0x1fc)]((_0x5458cf,_0x284d0b)=>{const _0x2512ed=_0x5eac2a,_0x3ec991=_0x2512ed(0x1b1)==_0x25ffaa[_0x284d0b][_0x2512ed(0x18f)];if(_0x2512ed(0x212)==_0x5458cf[_0x2512ed(0x25e)]){const _0x39c4fd=_0x5458cf[_0x2512ed(0x1e0)][_0x2512ed(0x274)];!this[_0x2512ed(0x27c)][_0x2512ed(0x1f5)](_0x39c4fd)&&(this[_0x2512ed(0x27c)][_0x2512ed(0x23f)](_0x2512ed(0x17c),_0x39c4fd)[_0x2512ed(0x240)]=!0x1);}const _0x4be57c=_0x15886e[_0x2512ed(0x1fd)](_0x5458cf,this[_0x2512ed(0x27c)]);return _0x4be57c[_0x2512ed(0x210)]=_0x5458cf[_0x2512ed(0x210)],_0x4be57c[_0x2512ed(0x209)]=_0x3ec991,_0x4be57c[_0x2512ed(0x27e)]=_0x3ec991?null:_0x25ffaa[_0x284d0b][_0x2512ed(0x26d)],_0x4be57c[_0x2512ed(0x18b)]=_0x2512ed(0x272)===_0x25ffaa[_0x284d0b][_0x2512ed(0x18f)],_0x4be57c[_0x2512ed(0x1a1)]=_0x25ffaa[_0x284d0b][_0x2512ed(0x1a1)],_0x4be57c;});}[_0xdd566d(0x273)](){const _0x358174=_0xdd566d;this[_0x358174(0x233)]=!0x0,this[_0x358174(0x22e)]()?this[_0x358174(0x265)]():this[_0x358174(0x233)]=!0x1;}[_0xdd566d(0x22e)](){const _0x1b2a6a=_0xdd566d,_0x3ec87c=this[_0x1b2a6a(0x21d)][_0x1b2a6a(0x1ed)][_0x1b2a6a(0x1a3)](_0x2007a9)[_0x1b2a6a(0x226)][_0x1b2a6a(0x1a3)](this[_0x1b2a6a(0x1e4)]);return!this[_0x1b2a6a(0x21d)][_0x1b2a6a(0x184)]&&!!_0x3ec87c&&_0x3ec87c[_0x1b2a6a(0x222)]>0x1&&this[_0x1b2a6a(0x233)];}[_0xdd566d(0x247)](){const _0x1319f1=_0xdd566d;return this[_0x1319f1(0x21c)][_0x1319f1(0x222)]>0x0||this[_0x1319f1(0x22e)]();}}class $ extends Error{}function K(_0x2e8943,_0x469de0){const _0x894cc4=_0xdd566d;for(const _0xfb6492 of _0x2e8943)_0xfb6492[_0x894cc4(0x191)]=_0x469de0++;}class J{[_0xdd566d(0x19c)];[_0xdd566d(0x1f7)];constructor(_0x40af30){const _0x5f3ce8=_0xdd566d;this[_0x5f3ce8(0x19c)]=_0x40af30,this[_0x5f3ce8(0x1f7)]=new WeakMap();}[_0xdd566d(0x1e5)](_0xc51199){const _0x7d2faa=_0xdd566d;let _0x483b3c=_0xc51199[_0x7d2faa(0x222)];for(;_0x483b3c--;){const _0x4f19ed=_0xc51199[_0x483b3c];if(!this[_0x7d2faa(0x19c)][_0x7d2faa(0x249)](_0x4f19ed)){if(!this[_0x7d2faa(0x1f7)][_0x7d2faa(0x249)](_0x4f19ed)){const _0x2252ad=_0x3f4501()[_0x7d2faa(0x260)](0x1,0x12);this[_0x7d2faa(0x1f7)][_0x7d2faa(0x1cc)](_0x4f19ed,_0x2252ad);}return this[_0x7d2faa(0x1f7)][_0x7d2faa(0x1a3)](_0x4f19ed);}}}[_0xdd566d(0x1ac)](_0x1e46a4,_0x36c882){const _0x375f2a=_0xdd566d;if(!_0x36c882)return;let _0x430e1c=_0x1e46a4[_0x375f2a(0x222)];for(;_0x430e1c--;){const _0x24f7e0=_0x1e46a4[_0x430e1c];this[_0x375f2a(0x19c)][_0x375f2a(0x249)](_0x24f7e0)||this[_0x375f2a(0x1f7)][_0x375f2a(0x1cc)](_0x24f7e0,_0x36c882);}}}
|
|
23
|
+
const _0x26d242=_0xe5ab;(function(_0x2aa4fd,_0x17d6a4){const _0x3b38c7=_0xe5ab,_0x5556eb=_0x2aa4fd();while(!![]){try{const _0x57d641=-parseInt(_0x3b38c7(0x157))/0x1*(parseInt(_0x3b38c7(0x7b))/0x2)+-parseInt(_0x3b38c7(0x16e))/0x3+-parseInt(_0x3b38c7(0x9f))/0x4+-parseInt(_0x3b38c7(0x111))/0x5*(parseInt(_0x3b38c7(0x127))/0x6)+parseInt(_0x3b38c7(0x165))/0x7*(parseInt(_0x3b38c7(0x17d))/0x8)+parseInt(_0x3b38c7(0xde))/0x9+parseInt(_0x3b38c7(0x101))/0xa;if(_0x57d641===_0x17d6a4)break;else _0x5556eb['push'](_0x5556eb['shift']());}catch(_0x9ea713){_0x5556eb['push'](_0x5556eb['shift']());}}}(_0x1412,0x6736a));function _0xe5ab(_0x5e0751,_0x2b2bfc){const _0x141272=_0x1412();return _0xe5ab=function(_0xe5ab71,_0x298233){_0xe5ab71=_0xe5ab71-0x79;let _0x16c43d=_0x141272[_0xe5ab71];return _0x16c43d;},_0xe5ab(_0x5e0751,_0x2b2bfc);}import{Plugin as _0x36847c,PendingActions as _0x5c3be5}from'ckeditor5/src/core.js';import{CKEditorError as _0x50a0b9,version as _0x29ba18,uid as _0x4a8868}from'ckeditor5/src/utils.js';import{Notification as _0x3ace31}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x30a7c4,NoOperation as _0x328ec9,InsertOperation as _0x5b750a,MarkerOperation as _0x1768ee,RootAttributeOperation as _0x15ff31,OperationFactory as _0x2a60df,History as _0xc52ba0}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x38d046}from'./websocketgateway.js';import{Sessions as _0x1adf10}from'./sessions.js';import{UserMarkers as _0x395f5d}from'./usermarkers.js';import{getTranslation as _0x3e8d08}from'../common-translations.js';import{Compressor as _0x49feac}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5e3fe2}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x21e716,CollaborativeEditingService as _0x570639}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x36847c{static [_0x26d242(0xa6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x570639)());[_0x26d242(0x16b)];[_0x26d242(0x11c)];[_0x26d242(0x9d)];[_0x26d242(0x105)];[_0x26d242(0xa8)];[_0x26d242(0x16c)];[_0x26d242(0x130)];[_0x26d242(0x7f)];[_0x26d242(0x98)];[_0x26d242(0x137)];[_0x26d242(0xf9)];[_0x26d242(0x169)];[_0x26d242(0x178)];[_0x26d242(0xed)];[_0x26d242(0x110)];[_0x26d242(0x12e)];[_0x26d242(0xf0)];[_0x26d242(0x90)];static get[_0x26d242(0xf4)](){return[_0x38d046,_0x1adf10,_0x395f5d,_0x5c3be5,_0x5e3fe2,_0x3ace31];}static get[_0x26d242(0xea)](){const _0x3043c6=_0x26d242;return _0x3043c6(0x156);}static get[_0x26d242(0x87)](){return!0x0;}static get[_0x26d242(0x97)](){return!0x0;}get[_0x26d242(0xfd)](){const _0x8e7fe0=_0x26d242;return this[_0x8e7fe0(0x14b)]+this[_0x8e7fe0(0x16b)];}get[_0x26d242(0x14b)](){const _0x57e6ad=_0x26d242;return this[_0x57e6ad(0x9d)][_0x57e6ad(0x81)]-this[_0x57e6ad(0x16b)];}get[_0x26d242(0x122)](){const _0x39a84d=_0x26d242,_0x540363=this[_0x39a84d(0x9d)][_0x39a84d(0x166)]();for(let _0x49ec2d=_0x540363[_0x39a84d(0x145)]-0x1;_0x49ec2d>=0x0;_0x49ec2d--){const _0x4ce993=_0x540363[_0x49ec2d];if(!this[_0x39a84d(0xf0)][_0x39a84d(0x14c)](_0x4ce993))return _0x4ce993[_0x39a84d(0xd0)]+0x1-this[_0x39a84d(0x16b)];}return 0x0;}constructor(_0x56da5f){const _0x56d326=_0x26d242;if(super(_0x56da5f),this[_0x56d326(0x16b)]=0x0,this[_0x56d326(0x11c)]=null,this[_0x56d326(0x9d)]=new _0xc52ba0(),this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xab)](_0x56d326(0x150),{}),this[_0x56d326(0x105)]=this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x7d)),!this[_0x56d326(0x105)])throw new _0x50a0b9(_0x56d326(0x10e),this);const _0x4571e1=_0x56da5f[_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x179))||_0x29ba18;this[_0x56d326(0xa8)]=new RealTimeCollaborationClient[(_0x56d326(0xa6))](_0x4571e1,this[_0x56d326(0x105)]),this[_0x56d326(0x16c)]=this[_0x56d326(0xd2)][_0x56d326(0xcc)][_0x56d326(0xb6)],this[_0x56d326(0x130)]=new _0x49feac(),this[_0x56d326(0x7f)]=[],this[_0x56d326(0x98)]=new WeakSet(),this[_0x56d326(0x137)]=new Set(),this[_0x56d326(0x92)](_0x56d326(0x8c),!0x1),this[_0x56d326(0x92)](_0x56d326(0xbd),!0x1),this[_0x56d326(0xf9)]=null,this[_0x56d326(0x169)]=!0x1,this[_0x56d326(0x178)]=null,this[_0x56d326(0xed)]=0x12c,this[_0x56d326(0x110)]=this[_0x56d326(0xed)],this[_0x56d326(0x12e)]=null,this[_0x56d326(0xf0)]=new WeakSet(),this[_0x56d326(0x90)]=new J(this[_0x56d326(0xf0)]);}[_0x26d242(0x10f)](){const _0x3e0940=_0x26d242,_0x2f6b6d=this[_0x3e0940(0xd2)],_0x252701=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x5e3fe2),_0x480805=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x38d046);this[_0x3e0940(0x147)](_0x252701,_0x3e0940(0x132),(_0x1310a8,_0x3cbfe6)=>{const _0xa4c316=_0x3e0940,_0x57211c=_0x3cbfe6[0x0];_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=_0x252701[_0xa4c316(0x13f)](_0x57211c[_0xa4c316(0x11e)]),_0x1310a8[_0xa4c316(0x96)]()),null===_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=null,_0x1310a8[_0xa4c316(0x96)]());},{'priority':_0x3e0940(0xad)}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xcc)][_0x3e0940(0xb6)][_0x3e0940(0x8b)],_0x3e0940(0x113),(_0x316874,_0x2cf6f0)=>{const _0x32997f=_0x3e0940;_0x2cf6f0[_0x32997f(0xb3)]&&this[_0x32997f(0x121)]();}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xd8)][_0x3e0940(0x144)],_0x3e0940(0xd6),()=>{const _0x3318ae=_0x3e0940;this[_0x3318ae(0x121)]();}),this[_0x3e0940(0x162)](),_0x2f6b6d[_0x3e0940(0xcc)]['on'](_0x3e0940(0xa9),(_0x29e420,_0x335939)=>{const _0x1784f3=_0x3e0940,_0x2565a2=_0x335939[0x0];_0x2565a2[_0x1784f3(0x161)]&&(this[_0x1784f3(0x15d)](_0x2565a2),this[_0x1784f3(0x173)]()&&this[_0x1784f3(0x152)]());}),this[_0x3e0940(0x14f)](),this[_0x3e0940(0xd7)](_0x3e0940(0x119))['to'](_0x480805,_0x3e0940(0xc4),this,_0x3e0940(0xbd),(_0x5bf17a,_0x40b0ae)=>_0x3e0940(0x8f)===_0x5bf17a&&!_0x40b0ae),this['on'](_0x3e0940(0x13b),()=>{const _0x1899c5=_0x3e0940;this[_0x1899c5(0x119)]?_0x2f6b6d[_0x1899c5(0x83)](_0x1899c5(0x154)):_0x2f6b6d[_0x1899c5(0x9e)](_0x1899c5(0x154));}),this[_0x3e0940(0x119)]?_0x2f6b6d[_0x3e0940(0x83)](_0x3e0940(0x154)):_0x2f6b6d[_0x3e0940(0x9e)](_0x3e0940(0x154)),this[_0x3e0940(0x92)](_0x3e0940(0xc8),!0x1);}async[_0x26d242(0x84)](){const _0x2b67fb=_0x26d242,_0xb387e5=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x1adf10),_0x395039=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x38d046);try{this[_0x2b67fb(0x8c)]=!0x0,_0xb387e5[_0x2b67fb(0x142)](this[_0x2b67fb(0x105)]);const _0x57d8bb=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x84)](_0x395039[_0x2b67fb(0xbb)],this[_0x2b67fb(0x122)]);await this[_0x2b67fb(0x9a)](_0x57d8bb)&&(this[_0x2b67fb(0x8c)]=!0x1,this[_0x2b67fb(0xf5)]());const _0x3d3a08=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x13d)]();_0xb387e5[_0x2b67fb(0xf2)](this[_0x2b67fb(0x105)],_0x3d3a08),this[_0x2b67fb(0x9c)](),this[_0x2b67fb(0xc8)]=!0x0;}catch(_0x2a7e16){if(function(_0x10faae){const _0x2e0ec=_0x2b67fb;return _0x2e0ec(0x138)===_0x10faae[_0x2e0ec(0x135)];}(_0x2a7e16)&&this[_0x2b67fb(0x11c)])await this[_0x2b67fb(0x109)]();else{if(function(_0x468752){const _0x4f0aa0=_0x2b67fb;return _0x4f0aa0(0xbf)===_0x468752[_0x4f0aa0(0x135)];}(_0x2a7e16)){const _0xdc4bd2=_0x3e8d08(this[_0x2b67fb(0xd2)][_0x2b67fb(0xc9)],_0x2b67fb(0x143));this[_0x2b67fb(0x102)](_0xdc4bd2);}else{if(!(_0x2a7e16 instanceof $))throw _0x2a7e16;this[_0x2b67fb(0x102)]();}}}}[_0x26d242(0xd9)](){const _0x11afb2=_0x26d242,_0x288f08=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x38d046),_0x2c7bbc=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x1adf10);this[_0x11afb2(0xd2)][_0x11afb2(0x9e)](_0x11afb2(0xb4)),_0x2c7bbc[_0x11afb2(0x141)][_0x11afb2(0x14c)](this[_0x11afb2(0x105)])&&_0x2c7bbc[_0x11afb2(0x142)](this[_0x11afb2(0x105)]),_0x288f08[_0x11afb2(0xa4)](this),this[_0x11afb2(0x15c)](),super[_0x11afb2(0xd9)]();}async[_0x26d242(0x9a)](_0x467128){const _0x1f28a0=_0x26d242;if(this[_0x1f28a0(0x11c)]!==_0x467128[_0x1f28a0(0x11c)]&&this[_0x1f28a0(0x12e)]!==_0x467128[_0x1f28a0(0x170)])throw new $();return this[_0x1f28a0(0x11c)]=_0x467128[_0x1f28a0(0x11c)],this[_0x1f28a0(0x160)]([],{..._0x467128,'wereChangesApplied':!0x1,'data':_0x467128[_0x1f28a0(0xfa)]},_0x1f28a0(0x84));}async[_0x26d242(0x14a)](_0x35eb46,_0x2f4ebf=!0x1){const _0x523167=_0x26d242,{connection:_0x4ca4ff}=this[_0x523167(0xd2)][_0x523167(0x11a)][_0x523167(0xe3)](_0x38d046);RealTimeCollaborationClient[_0x523167(0xa6)][_0x523167(0x13d)](_0x4ca4ff,this[_0x523167(0x105)])[_0x523167(0xa0)](_0x1d157a=>this[_0x523167(0xce)](_0x1d157a))[_0x523167(0x85)](_0x3ff39c=>{const _0x49ecdb=_0x523167;this[_0x49ecdb(0x82)](_0x49ecdb(0x16a),_0x3ff39c);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xae),this[_0x523167(0xda)][_0x523167(0xd7)](this)),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xe6),(_0x576977,_0x444eda)=>{const _0x4d21b0=_0x523167;this[_0x4d21b0(0x82)](_0x4d21b0(0xa1),_0x444eda);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xf7),()=>{const _0x54a299=_0x523167;this[_0x54a299(0xc8)]=!0x1;});const _0x36cf79=this[_0x523167(0x90)][_0x523167(0x134)](_0x35eb46);this[_0x523167(0x8c)]=!0x0;const _0x4a07ca=await this[_0x523167(0xa8)][_0x523167(0xe2)](_0x4ca4ff,this[_0x523167(0x93)](_0x35eb46),_0x36cf79);if(this[_0x523167(0x11c)]=_0x4a07ca[_0x523167(0x11c)],_0x2f4ebf){if(!_0x4a07ca[_0x523167(0x139)])return void this[_0x523167(0x102)]();this[_0x523167(0x8c)]=!0x1,this[_0x523167(0xf5)](),this[_0x523167(0x9d)][_0x523167(0x103)](),this[_0x523167(0x16b)]=_0x4a07ca[_0x523167(0xe4)],this[_0x523167(0x9d)][_0x523167(0x81)]=this[_0x523167(0x16b)],await this[_0x523167(0x160)](_0x35eb46,_0x4a07ca,_0x523167(0x167));}else await this[_0x523167(0x174)](_0x4a07ca,_0x35eb46);this[_0x523167(0x9c)](),this[_0x523167(0xc8)]=!0x0;}[_0x26d242(0x9c)](){const _0x404fe3=_0x26d242,_0xe2d9eb=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x1adf10),_0x2cf986=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x395f5d),_0x230d49=_0xe2d9eb[_0x404fe3(0x141)][_0x404fe3(0xe3)](this[_0x404fe3(0x105)]);_0x230d49&&_0x230d49[_0x404fe3(0x145)]>0x1?_0x2cf986[_0x404fe3(0xfc)]():this[_0x404fe3(0x147)](_0xe2d9eb,_0x404fe3(0xeb)+this[_0x404fe3(0x105)],()=>{const _0x21d876=_0x404fe3;0x2===_0xe2d9eb[_0x21d876(0x141)][_0x21d876(0xe3)](this[_0x21d876(0x105)])[_0x21d876(0x145)]&&_0x2cf986[_0x21d876(0xfc)]();});}async[_0x26d242(0xda)](_0x5c8698,_0x7ec980,_0x99aff,_0x8e4cc3){const _0x1b3e8b=_0x26d242;if(!this[_0x1b3e8b(0x8c)]&&this[_0x1b3e8b(0x16c)][_0x1b3e8b(0x81)]==_0x7ec980){const _0x40c36e=this[_0x1b3e8b(0x175)](_0x99aff,_0x8e4cc3);await this[_0x1b3e8b(0x13e)](_0x40c36e),this[_0x1b3e8b(0x7c)](_0x40c36e,_0x7ec980,_0x99aff[_0x1b3e8b(0x170)])||this[_0x1b3e8b(0x82)](_0x1b3e8b(0x16f));}}async[_0x26d242(0x109)](){const _0x5cb841=_0x26d242;this[_0x5cb841(0x15c)]();const {locale:_0x3b4956}=this[_0x5cb841(0xd2)];let _0x3e8b34;try{_0x3e8b34=await this[_0x5cb841(0xa8)][_0x5cb841(0x89)]();}catch{const _0x37c62f=_0x3e8d08(_0x3b4956,_0x5cb841(0x155));return void this[_0x5cb841(0x102)](_0x37c62f);}const _0x2233f2=_0x3e8b34[_0x5cb841(0x17b)]||_0x3e8b34[_0x5cb841(0x10d)];if(this[_0x5cb841(0x12e)]!==_0x2233f2[_0x5cb841(0x170)]){const _0xc0ba58=_0x3e8d08(_0x3b4956,_0x5cb841(0xdc));return void this[_0x5cb841(0x102)](_0xc0ba58);}await this[_0x5cb841(0x14a)](this[_0x5cb841(0xd2)][_0x5cb841(0xcc)][_0x5cb841(0xb6)][_0x5cb841(0x79)][_0x5cb841(0x166)](),!0x0);}[_0x26d242(0x15c)](){const _0x401108=_0x26d242;this[_0x401108(0xa8)][_0x401108(0xdb)](),this[_0x401108(0x7f)]=[],clearTimeout(this[_0x401108(0x178)]),this[_0x401108(0xb9)](this[_0x401108(0xa8)]);}[_0x26d242(0xce)](_0x4b7278){const _0x4ee1df=_0x26d242,_0x142d2e=this[_0x4ee1df(0xd2)][_0x4ee1df(0x11a)][_0x4ee1df(0xe3)](_0x1adf10);this[_0x4ee1df(0x147)](_0x142d2e,_0x4ee1df(0xeb)+this[_0x4ee1df(0x105)],(_0x37906a,{session:_0x3fa1d4})=>{const _0x38a6f0=_0x4ee1df;if(_0x3fa1d4['id']===_0x142d2e[_0x38a6f0(0x10b)]){_0x37906a[_0x38a6f0(0xec)]();const _0x3f5295=this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0x14c)](_0x38a6f0(0x112))&&this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x112));let _0x5b8f4c=_0x3fa1d4[_0x38a6f0(0xb5)];_0x3f5295&&_0x3f5295[_0x38a6f0(0xe7)]&&(_0x5b8f4c=_0x5b8f4c[_0x38a6f0(0x128)](_0x4d2335=>_0x38a6f0(0xba)!==_0x4d2335)),this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x12a))[_0x38a6f0(0x8a)](_0x5b8f4c,this[_0x38a6f0(0x105)]);}}),_0x142d2e[_0x4ee1df(0xf2)](this[_0x4ee1df(0x105)],_0x4b7278);}[_0x26d242(0x162)](){const _0x4d2bc5=_0x26d242,_0x2807d3=this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)];this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)]=(..._0x18d4f0)=>{const _0x49f9b0=_0x4d2bc5;if(!_0x18d4f0[_0x18d4f0[_0x49f9b0(0x145)]-0x1][_0x49f9b0(0x11f)])throw new _0x50a0b9(_0x49f9b0(0xb0),this);_0x2807d3[_0x49f9b0(0xcf)](this[_0x49f9b0(0xd2)][_0x49f9b0(0xfa)],_0x18d4f0);};}[_0x26d242(0x14f)](){const _0x1c46dd=_0x26d242;this[_0x1c46dd(0xd2)][_0x1c46dd(0xfa)]['on'](_0x1c46dd(0x10f),(_0x15518b,[_0x7325e])=>{const _0x39f800=_0x1c46dd;if(this[_0x39f800(0x16c)][_0x39f800(0x81)])throw new _0x50a0b9(_0x39f800(0xa3),this);_0x15518b[_0x39f800(0x96)](),this[_0x39f800(0xcb)]();const _0x3dad78=this[_0x39f800(0xd2)][_0x39f800(0x126)][_0x39f800(0xe3)](_0x39f800(0xc7)),_0x506764=this[_0x39f800(0x17c)](_0x7325e,_0x3dad78);0x0==_0x506764[_0x39f800(0x145)]&&_0x506764[_0x39f800(0xb1)](new _0x328ec9(0x0)),_0x15518b[_0x39f800(0xfb)]=this[_0x39f800(0x14a)](_0x506764)[_0x39f800(0xa0)](()=>{const _0x16f3ab=_0x39f800;this[_0x16f3ab(0xd2)][_0x16f3ab(0x11a)][_0x16f3ab(0xe3)](_0x38d046)[_0x16f3ab(0x107)](this),this[_0x16f3ab(0xd2)][_0x16f3ab(0xfa)][_0x16f3ab(0x8d)](_0x16f3ab(0x168));})[_0x39f800(0x85)](_0x496f6b=>this[_0x39f800(0x82)](_0x39f800(0x9b),_0x496f6b))[_0x39f800(0x123)](()=>this[_0x39f800(0xf5)]());},{'priority':_0x1c46dd(0xad)}),this[_0x1c46dd(0xd2)]['on'](_0x1c46dd(0x120),async(_0x45d723,[_0x30239b,_0x689bad])=>{const _0x1e0624=_0x1c46dd;_0x45d723[_0x1e0624(0x96)]();const _0x18b186=this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0xb6)][_0x1e0624(0xd5)](_0x30239b);if(!this[_0x1e0624(0x137)][_0x1e0624(0x14c)](_0x30239b)){const _0x3aad3f=_0x689bad&&_0x689bad[_0x1e0624(0xfa)]?_0x689bad[_0x1e0624(0xfa)]:'',_0x366fda=_0x689bad&&_0x689bad[_0x1e0624(0xc5)]?_0x689bad[_0x1e0624(0xc5)]:{};await this[_0x1e0624(0xa2)](_0x30239b,_0x3aad3f,_0x366fda);}this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0x10a)]({'isUndoable':!0x1},()=>{const _0x5a1e03=_0x1e0624;_0x18b186[_0x5a1e03(0x151)]=!0x0,this[_0x5a1e03(0xd2)][_0x5a1e03(0xcc)][_0x5a1e03(0xb6)][_0x5a1e03(0x116)][_0x5a1e03(0xee)](_0x18b186);});},{'priority':_0x1c46dd(0xad)});}async[_0x26d242(0x13e)](_0x44334a){const _0x4af3b7=_0x26d242,_0x4f8fd3=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x5e3fe2),{connection:_0x311409}=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x38d046),_0x1fcf77=new Set();for(const _0x166266 of _0x44334a){const _0x902ea1=_0x166266[_0x4af3b7(0x11e)];_0x902ea1&&!_0x4f8fd3[_0x4af3b7(0x13f)](_0x902ea1)&&_0x1fcf77[_0x4af3b7(0xf3)](_0x902ea1);}if(0x0===_0x1fcf77[_0x4af3b7(0x7e)])return;const _0x43250f=await _0x21e716[_0x4af3b7(0x171)](_0x311409,Array[_0x4af3b7(0x15a)](_0x1fcf77));for(const _0x177a3a of _0x43250f)_0x4f8fd3[_0x4af3b7(0x13f)](_0x177a3a['id'])||_0x4f8fd3[_0x4af3b7(0x12c)](_0x177a3a);}[_0x26d242(0x17c)](_0x22fd02,_0x1bf133={}){const _0x255f77=_0x26d242,_0x50c800=this[_0x255f77(0xd2)][_0x255f77(0xcc)],_0x100244=[];let _0x402928=0x0;const _0x2bcf68=_0x255f77(0xd1)==typeof _0x22fd02?{'main':_0x22fd02}:_0x22fd02;for(const _0x71d8f8 of Object[_0x255f77(0xe5)](_0x2bcf68)){if(!this[_0x255f77(0x16c)][_0x255f77(0xef)][_0x255f77(0x14c)](_0x71d8f8))throw new _0x50a0b9(_0x255f77(0xa5),this);const _0x14fded=this[_0x255f77(0xd2)][_0x255f77(0xfa)][_0x255f77(0x136)](_0x2bcf68[_0x71d8f8]),_0x11a656=this[_0x255f77(0x16c)][_0x255f77(0xd5)](_0x71d8f8),_0x80227a=new _0x5b750a(_0x50c800[_0x255f77(0xc6)](_0x11a656,0x0),_0x14fded,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x80227a);for(const [_0x5e4041,_0x3a22f6]of _0x14fded[_0x255f77(0xbc)]){const _0x1118de=_0x50c800[_0x255f77(0xe8)](_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0x17e)][_0x255f77(0xaa)][_0x255f77(0xc0)]()),_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0xff)][_0x255f77(0xaa)][_0x255f77(0xc0)]())),_0x433edf=new _0x1768ee(_0x5e4041,null,_0x1118de,_0x50c800[_0x255f77(0xbc)],!0x0,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x433edf);}}if(_0x1bf133)for(const [_0x3a5618,_0x1e1115]of Object[_0x255f77(0x15e)](_0x1bf133)){const _0x5335e9=_0x50c800[_0x255f77(0xb6)][_0x255f77(0xd5)](_0x3a5618);if(!_0x5335e9)throw new _0x50a0b9(_0x255f77(0xca),null);for(const [_0x3b3b2f,_0x3cb0fc]of Object[_0x255f77(0x15e)](_0x1e1115))if(null!==_0x3cb0fc){const _0x29073a=new _0x15ff31(_0x5335e9,_0x3b3b2f,null,_0x3cb0fc,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x29073a);}}return _0x100244;}async[_0x26d242(0xa2)](_0x5c10b1,_0x6ed28f,_0xfbe8b8){const _0x3e4ee6=_0x26d242;this[_0x3e4ee6(0x17c)]({[_0x5c10b1]:_0x6ed28f},{[_0x5c10b1]:_0xfbe8b8})[_0x3e4ee6(0xb2)]((_0x4148fc,_0x4525ac)=>{const _0x3f3bd6=_0x3e4ee6;_0x4148fc[_0x3f3bd6(0xd0)]=this[_0x3f3bd6(0x16c)][_0x3f3bd6(0x81)]+_0x4525ac,_0x4148fc[_0x3f3bd6(0xe1)]=!0x0,this[_0x3f3bd6(0x15d)](_0x4148fc);}),this[_0x3e4ee6(0x152)](),await this[_0x3e4ee6(0x158)]();}async[_0x26d242(0x174)](_0x42726a,_0x4a37e4){const _0x508c60=_0x26d242;let _0x3e6f2b;this[_0x508c60(0x16b)]=_0x42726a[_0x508c60(0xe4)];const _0x489c31=_0x42726a[_0x508c60(0x139)]&&!_0x42726a[_0x508c60(0x117)],_0x467bdc=_0x489c31?0x0:_0x42726a[_0x508c60(0xfa)][_0x508c60(0xd0)];if(_0x4a37e4[_0x508c60(0xb2)](_0x2d38e1=>{const _0x5cd501=_0x508c60;_0x2d38e1[_0x5cd501(0xe1)]=!0x0,_0x2d38e1[_0x5cd501(0x153)]=_0x42726a[_0x5cd501(0x91)],_0x2d38e1[_0x5cd501(0x11e)]=null;}),_0x489c31)_0x3e6f2b=_0x4a37e4,this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);else{if(_0x42726a[_0x508c60(0x117)]){const _0x20db31=this[_0x508c60(0x17c)](_0x42726a[_0x508c60(0x117)]);this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)],_0x20db31[_0x508c60(0xb2)](_0x215280=>{const _0x3b5baa=_0x508c60;_0x215280[_0x3b5baa(0xd0)]-=_0x20db31[_0x3b5baa(0x145)],_0x215280[_0x3b5baa(0x153)]=_0x42726a[_0x3b5baa(0x91)],_0x215280[_0x3b5baa(0xe1)]=!0x0,_0x215280[_0x3b5baa(0x11e)]=null;}),this[_0x508c60(0x16d)](_0x20db31,!0x0),this[_0x508c60(0x9d)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)]+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x20db31);}this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=_0x467bdc,_0x3e6f2b=this[_0x508c60(0x175)](_0x42726a[_0x508c60(0xfa)],_0x42726a[_0x508c60(0x13c)]),await this[_0x508c60(0x13e)](_0x3e6f2b),this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);}_0x42726a[_0x508c60(0x170)]&&(this[_0x508c60(0x90)][_0x508c60(0xc2)](_0x3e6f2b,_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x12e)]=_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x9d)][_0x508c60(0x81)]=_0x467bdc+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x3e6f2b),_0x4a37e4[_0x508c60(0x128)](_0x250c9f=>{const _0x23fea6=_0x508c60,_0x2bab68=this[_0x23fea6(0x17a)](_0x250c9f);return _0x2bab68&&!this[_0x23fea6(0x137)][_0x23fea6(0x14c)](_0x2bab68);})[_0x508c60(0xb2)]((_0x5c4761,_0x2aab75)=>{const _0x14528e=_0x508c60;_0x5c4761[_0x14528e(0xd0)]=this[_0x14528e(0x16c)][_0x14528e(0x81)]+_0x2aab75,this[_0x14528e(0x15d)](_0x5c4761);}),this[_0x508c60(0x173)]()?(this[_0x508c60(0x110)]=0x0,this[_0x508c60(0x152)](!0x0),await this[_0x508c60(0x158)]()):(this[_0x508c60(0x8c)]=!0x1,this[_0x508c60(0xf5)]());}[_0x26d242(0x82)](_0x176bef,_0x460d06){const _0x230c16=_0x26d242,_0x145f36=_0x460d06&&_0x460d06[_0x230c16(0xd4)];if(_0x145f36&&_0x145f36[_0x230c16(0x94)](_0x230c16(0x86)))throw _0x460d06;const _0x1f6ca5=this[_0x230c16(0xd2)][_0x230c16(0x11a)][_0x230c16(0xe3)](_0x38d046);throw this[_0x230c16(0x8c)]=!0x0,_0x1f6ca5[_0x230c16(0xdb)](),this[_0x230c16(0xd2)][_0x230c16(0x9e)](_0x230c16(0x7a)),new _0x50a0b9(_0x176bef,this[_0x230c16(0xd2)],_0x145f36?{'originalError':_0x145f36}:void 0x0);}[_0x26d242(0x15d)](_0x7aa987){const _0x2bbdff=_0x26d242;this[_0x2bbdff(0x98)][_0x2bbdff(0x14c)](_0x7aa987)||(this[_0x2bbdff(0x98)][_0x2bbdff(0xf3)](_0x7aa987),this[_0x2bbdff(0x7f)][_0x2bbdff(0xb1)](_0x7aa987),this[_0x2bbdff(0xf9)]||_0x2bbdff(0x118)==_0x7aa987[_0x2bbdff(0x80)]&&!_0x7aa987[_0x2bbdff(0x104)]||this[_0x2bbdff(0xcb)]());}[_0x26d242(0x152)](_0x41532f=!0x1){const _0x4c0742=_0x26d242;!_0x41532f&&this[_0x4c0742(0x8c)]||(this[_0x4c0742(0x8c)]=!0x0,clearTimeout(this[_0x4c0742(0x178)]),this[_0x4c0742(0x178)]=setTimeout(()=>{const _0x30abcf=_0x4c0742;this[_0x30abcf(0xc3)]()[_0x30abcf(0xa0)](_0x557bbe=>{const _0x4fab7c=_0x30abcf;_0x557bbe&&(this[_0x4fab7c(0xf5)](),this[_0x4fab7c(0x8c)]=!0x1);})[_0x30abcf(0x85)](_0x178ce5=>{const _0x447493=_0x30abcf;this[_0x447493(0xf5)](),this[_0x447493(0x8c)]=!0x1,function(_0x16f665){const _0x35c3a8=_0x447493;return _0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x15b))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x159))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x13a));}(_0x178ce5)||this[_0x447493(0x82)](_0x178ce5[_0x447493(0xd4)],_0x178ce5);});},this[_0x4c0742(0x110)]));}[_0x26d242(0x158)](){return new Promise(_0x3d10d2=>{const _0x1366ca=_0xe5ab;this['on'](_0x1366ca(0xf8),()=>{_0x3d10d2();});});}async[_0x26d242(0xc3)](){const _0x4a6681=_0x26d242,_0x1ef5b9=this[_0x4a6681(0xd2)][_0x4a6681(0x11a)][_0x4a6681(0xe3)](_0x395f5d);if(this[_0x4a6681(0xf1)]()&&(_0x1ef5b9[_0x4a6681(0xfc)](),this[_0x4a6681(0x169)]=!0x1),!this[_0x4a6681(0x173)]())return!0x0;const _0xcb9492=[...this[_0x4a6681(0x7f)]];for(const _0x243732 of _0xcb9492)_0x243732[_0x4a6681(0xb8)]=this[_0x4a6681(0x16c)][_0x4a6681(0x79)][_0x4a6681(0xe9)](_0x243732);const _0x82e743=this[_0x4a6681(0x90)][_0x4a6681(0x134)](_0xcb9492),_0x2762d0=G++,_0x552d9c=this[_0x4a6681(0x93)](_0xcb9492),_0x2358ec=await this[_0x4a6681(0xa8)][_0x4a6681(0x146)](_0x552d9c,_0x552d9c[_0x4a6681(0xd0)],_0x82e743);try{return await this[_0x4a6681(0x160)](_0xcb9492,_0x2358ec,_0x2762d0);}catch(_0x487d17){return this[_0x4a6681(0x82)](_0x4a6681(0x163),_0x487d17);}}async[_0x26d242(0x160)](_0x3d61fa,_0x15c387,_0x1f8ca2){const _0xdb1fe3=_0x26d242;if(_0xdb1fe3(0xe6)in _0x15c387)throw _0x15c387[_0xdb1fe3(0xe6)];let _0x475afa=!0x1;if(_0x15c387[_0xdb1fe3(0x139)]){_0x15c387[_0xdb1fe3(0x170)]&&(this[_0xdb1fe3(0x12e)]=_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x466f0f=>!_0x3d61fa[_0xdb1fe3(0x124)](_0x466f0f));for(const _0x10b93e of _0x3d61fa)_0x10b93e[_0xdb1fe3(0x153)]=_0xdb1fe3(0xfe)in _0x15c387&&_0x15c387[_0xdb1fe3(0xfe)]||void 0x0;K(_0x3d61fa,_0x15c387[_0xdb1fe3(0x81)]-_0x3d61fa[_0xdb1fe3(0x145)]),this[_0xdb1fe3(0x114)](_0x3d61fa);const _0x3fb8d5=_0x3d61fa[_0xdb1fe3(0x128)](_0x1993fb=>{const _0x1b37f9=_0xdb1fe3;if(!_0x1993fb[_0x1b37f9(0xe1)])return!0x1;const _0x4164f7=this[_0x1b37f9(0x17a)](_0x1993fb);return _0x4164f7&&!this[_0x1b37f9(0x137)][_0x1b37f9(0x14c)](_0x4164f7);});K(_0x3fb8d5,this[_0xdb1fe3(0x16c)][_0xdb1fe3(0x81)]),this[_0xdb1fe3(0x16d)](_0x3fb8d5),_0x475afa=!0x0,this[_0xdb1fe3(0x110)]=this[_0xdb1fe3(0xed)];}else{const _0x31b79d=this[_0xdb1fe3(0x175)](_0x15c387[_0xdb1fe3(0xfa)],_0x15c387[_0xdb1fe3(0x13c)])[_0xdb1fe3(0x128)](_0x1e201b=>_0x1e201b[_0xdb1fe3(0xd0)]>=this[_0xdb1fe3(0x14b)]);_0x31b79d[_0xdb1fe3(0xb2)](_0x2cfab8=>this[_0xdb1fe3(0x11d)](_0x2cfab8)),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x35c62a=>!_0x35c62a[_0xdb1fe3(0xe1)]||!this[_0xdb1fe3(0x137)][_0xdb1fe3(0x14c)](this[_0xdb1fe3(0x17a)](_0x35c62a))),this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x145)]&&K(this[_0xdb1fe3(0x7f)],this[_0xdb1fe3(0x7f)][0x0][_0xdb1fe3(0xd0)]),await this[_0xdb1fe3(0x13e)](_0x31b79d),_0x475afa=this[_0xdb1fe3(0x7c)](_0x31b79d,_0x15c387[_0xdb1fe3(0x81)],_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x110)]=Math[_0xdb1fe3(0x172)](this[_0xdb1fe3(0x110)]/0x2);}return _0x475afa?!this[_0xdb1fe3(0x173)]()||(this[_0xdb1fe3(0x152)](!0x0),!0x1):this[_0xdb1fe3(0x82)](_0xdb1fe3(0x88));}[_0x26d242(0x7c)](_0x8ad63b,_0x549acd,_0x44c18c){const _0x5c0ae0=_0x26d242;try{const _0x18a00d={'document':this[_0x5c0ae0(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25459e,operationsB:_0x315929,originalOperations:_0x1a88bb}=_0x30a7c4(_0x8ad63b,this[_0x5c0ae0(0x7f)],_0x18a00d);K(_0x25459e,this[_0x5c0ae0(0x16c)][_0x5c0ae0(0x81)]),K(_0x315929,_0x549acd);for(const _0xef920e of _0x25459e){const _0x2613ba=_0x1a88bb[_0x5c0ae0(0xe3)](_0xef920e);_0xef920e[_0x5c0ae0(0x11e)]=_0x2613ba?_0x2613ba[_0x5c0ae0(0x11e)]:null;}_0x44c18c&&(this[_0x5c0ae0(0x90)][_0x5c0ae0(0xc2)](_0x8ad63b,_0x44c18c),this[_0x5c0ae0(0x12e)]=_0x44c18c),this[_0x5c0ae0(0x7f)]=[..._0x315929],this[_0x5c0ae0(0x16d)](_0x25459e),this[_0x5c0ae0(0x114)](_0x8ad63b);}catch(_0x501f0f){return console[_0x5c0ae0(0xe6)](_0x501f0f),!0x1;}return!0x0;}[_0x26d242(0x16d)](_0x1811d5,_0x57d22f=!0x1){const _0x5700ab=_0x26d242;this[_0x5700ab(0xd2)][_0x5700ab(0xcc)][_0x5700ab(0x10a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5c888b=>{const _0x5b7030=_0x5700ab;for(const _0x2a6ad5 of _0x1811d5)this[_0x5b7030(0x98)][_0x5b7030(0xf3)](_0x2a6ad5),this[_0x5b7030(0x11d)](_0x2a6ad5),_0x5c888b[_0x5b7030(0x148)][_0x5b7030(0xd3)](_0x2a6ad5),this[_0x5b7030(0xd2)][_0x5b7030(0xcc)][_0x5b7030(0xa9)](_0x2a6ad5);});}[_0x26d242(0x11d)](_0xb7e6c9){const _0x507c07=_0x26d242,_0x7f9bba=this[_0x507c07(0x17a)](_0xb7e6c9);_0x7f9bba&&this[_0x507c07(0x137)][_0x507c07(0xf3)](_0x7f9bba);}[_0x26d242(0x17a)](_0x11c7cf){const _0x1509d0=_0x26d242;let _0x6813e5,_0xeff81;switch(_0x11c7cf[_0x1509d0(0x80)]){case _0x1509d0(0x176):_0x6813e5=_0x11c7cf[_0x1509d0(0x15f)][_0x1509d0(0x133)];break;case _0x1509d0(0x118):if(_0xeff81=_0x11c7cf[_0x1509d0(0x11b)],!_0xeff81)return null;_0x6813e5=_0xeff81[_0x1509d0(0x133)];break;case _0x1509d0(0x177):_0x6813e5=_0x11c7cf[_0x1509d0(0x133)];break;case _0x1509d0(0x8e):_0x6813e5=_0x11c7cf[_0x1509d0(0x129)];break;case _0x1509d0(0x125):_0x6813e5=_0x11c7cf[_0x1509d0(0x164)][_0x1509d0(0x133)];break;default:return null;}return _0x6813e5[_0x1509d0(0x10c)];}[_0x26d242(0x114)](_0x5186f9){const _0x48430a=_0x26d242;_0x5186f9[_0x48430a(0xb2)](_0x14c015=>{const _0x5a5917=_0x48430a,_0x516cda=_0x14c015[_0x5a5917(0xb7)]();_0x516cda[_0x5a5917(0x11e)]=_0x14c015[_0x5a5917(0x11e)],_0x516cda[_0x5a5917(0xe1)]=!!_0x14c015[_0x5a5917(0xe1)],_0x516cda[_0x5a5917(0x153)]=_0x14c015[_0x5a5917(0x153)],_0x516cda[_0x5a5917(0xd0)]+=this[_0x5a5917(0x16b)],_0x14c015[_0x5a5917(0x149)]&&this[_0x5a5917(0xf0)][_0x5a5917(0xf3)](_0x516cda),this[_0x5a5917(0x9d)][_0x5a5917(0xd3)](_0x516cda);});}[_0x26d242(0x102)](_0x7c2c95){const _0x3cdd4d=_0x26d242,_0x5478b9=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x3cdd4d(0xdd)),_0x487ee8=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0xc9)];_0x7c2c95||(_0x7c2c95=_0x3e8d08(_0x487ee8,_0x3cdd4d(0x12b))),_0x5478b9[_0x3cdd4d(0x108)](_0x7c2c95,{'title':_0x3e8d08(_0x487ee8,_0x3cdd4d(0xaf)),'namespace':_0x3cdd4d(0xbe)}),this[_0x3cdd4d(0xbd)]=!0x0,clearTimeout(this[_0x3cdd4d(0x178)]),this[_0x3cdd4d(0x7f)]=[],this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x38d046)[_0x3cdd4d(0xdb)]();}[_0x26d242(0xcb)](){const _0x311a60=_0x26d242;this[_0x311a60(0xf9)]||(this[_0x311a60(0xf9)]=this[_0x311a60(0xd2)][_0x311a60(0x11a)][_0x311a60(0xe3)](_0x5c3be5)[_0x311a60(0xf3)](_0x3e8d08(this[_0x311a60(0xd2)][_0x311a60(0xc9)],_0x311a60(0xcd))));}[_0x26d242(0xf5)](){const _0x569d0b=_0x26d242;this[_0x569d0b(0xf9)]&&(this[_0x569d0b(0xd2)][_0x569d0b(0x11a)][_0x569d0b(0xe3)](_0x5c3be5)[_0x569d0b(0xf6)](this[_0x569d0b(0xf9)]),this[_0x569d0b(0xf9)]=null);}[_0x26d242(0x93)](_0x2ea370){const _0x209fa1=_0x26d242,_0x413e4b=_0x2ea370[_0x209fa1(0x12f)](_0x13e688=>_0x13e688[_0x209fa1(0xc1)]());return this[_0x209fa1(0x130)][_0x209fa1(0x14e)](_0x413e4b);}[_0x26d242(0x175)](_0x28c597,_0x4e6883){const _0x1a5250=_0x26d242;return this[_0x1a5250(0x130)][_0x1a5250(0xac)](_0x28c597)[_0x1a5250(0x12f)]((_0x21f3e2,_0x21e01b)=>{const _0x4f0dea=_0x1a5250,_0x41fcd1=_0x4f0dea(0x10f)==_0x4e6883[_0x21e01b][_0x4f0dea(0x80)];if(_0x4f0dea(0x99)==_0x21f3e2[_0x4f0dea(0xa7)]){const _0x384839=_0x21f3e2[_0x4f0dea(0x15f)][_0x4f0dea(0x133)];!this[_0x4f0dea(0x16c)][_0x4f0dea(0xd5)](_0x384839)&&(this[_0x4f0dea(0x16c)][_0x4f0dea(0x95)](_0x4f0dea(0x140),_0x384839)[_0x4f0dea(0xdf)]=!0x1);}const _0x50e9f1=_0x2a60df[_0x4f0dea(0x115)](_0x21f3e2,this[_0x4f0dea(0x16c)]);return _0x50e9f1[_0x4f0dea(0xb8)]=_0x21f3e2[_0x4f0dea(0xb8)],_0x50e9f1[_0x4f0dea(0xe1)]=_0x41fcd1,_0x50e9f1[_0x4f0dea(0x11e)]=_0x41fcd1?null:_0x4e6883[_0x21e01b][_0x4f0dea(0x14d)],_0x50e9f1[_0x4f0dea(0x149)]=_0x4f0dea(0x100)===_0x4e6883[_0x21e01b][_0x4f0dea(0x80)],_0x50e9f1[_0x4f0dea(0x153)]=_0x4e6883[_0x21e01b][_0x4f0dea(0x153)],_0x50e9f1;});}[_0x26d242(0x121)](){const _0x2cc285=_0x26d242;this[_0x2cc285(0x169)]=!0x0,this[_0x2cc285(0xf1)]()?this[_0x2cc285(0x152)]():this[_0x2cc285(0x169)]=!0x1;}[_0x26d242(0xf1)](){const _0x6b4f3c=_0x26d242,_0x4714dd=this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x11a)][_0x6b4f3c(0xe3)](_0x1adf10)[_0x6b4f3c(0x141)][_0x6b4f3c(0xe3)](this[_0x6b4f3c(0x105)]);return!this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x131)]&&!!_0x4714dd&&_0x4714dd[_0x6b4f3c(0x145)]>0x1&&this[_0x6b4f3c(0x169)];}[_0x26d242(0x173)](){const _0x5f4277=_0x26d242;return this[_0x5f4277(0x7f)][_0x5f4277(0x145)]>0x0||this[_0x5f4277(0xf1)]();}}class $ extends Error{}function _0x1412(){const _0x483313=['1342164LoPOuu','then','realtimecollaborationclient-init-service-internal-error','_loadRoot','realtimecollaborationclient-init-document-already-initialized','removeFromReconnectionStack','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','__className','_service','applyOperation','path','define','decompress','high','operationsReceived','Synchronization\x20issue','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','forEach','directChange','rtc-destroyed','permissions','document','clone','wasUndone','stopListening','document:write','connection','markers','_hasSynchronizationProblem','real-time-collaboration','409','slice','toJSON','setIdForTheLastOperation','_sendBufferedOperations','state','attributes','createPositionAt','rootsAttributes','_isConnected','locale','multi-root-editor-root-attributes-no-root','_setPendingAction','model','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','apply','baseVersion','string','editor','addOperation','message','getRoot','change:hasDomSelection','bind','editing','destroy','_handleReceivedOperations','disconnect','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.','Notification','2752254QzlNAY','_isAttached','_ignoredOperations','_isInit','connect','get','offset','keys','error','isEnabled','createRange','isUndoneOperation','pluginName','sessionAdd:','off','_baseBufferDelay','_bufferRootLoad','roots','_disconnectionOperations','_shouldSendSelectionUpdate','register','add','requires','_clearPendingAction','remove','disconnected','change:_isPendingUpdate','_pendingAction','data','return','createUserMarkerOperations','cloudDocumentVersion','lastOperationAcceptedAt','end','cs:removeUser','17333770WGOZam','_handleReconnectionError','reset','affectsData','_channelId','createPositionFromPath','addToReconnectionStack','showWarning','_connectAfterSessionHasBeenFlushed','enqueueChange','mySessionId','rootName','lastDocumentSession','collaboration-missing-channelid','init','_currentBufferDelay','452415HzyVlL','CommentsOnly','change:range','_updateServerHistory','fromJSON','differ','initData','marker','_isEditingAllowed','plugins','newRange','sessionId','_addKnownRoot','_authorId','suppressErrorInCollaboration','loadRoot','_refreshUserSelectionMarkers','lastSyncVersion','finally','includes','move','config','12VeTEeY','filter','affectedSelectable','Permissions','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.','addUser','_operationToId','_lastSyncedOperationId','map','_compressor','isReadOnly','getOperationAuthor','root','getIdOfTheLastOperation','code','parse','_knownRootNames','404','wereChangesApplied','cloud-services-internal-error:\x20Request\x20timeout.','change:_isEditingAllowed','metadata','getConnectedSessions','_fetchMissingUsers','getUser','$root','channelSessions','unregister','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','view','length','sendOperations','listenTo','batch','_isDisconnection','_connectService','_lastServerVersion','has','userId','compress','_setUpDataInit','collaboration','_isLoaded','_sendBufferedOperationsDelayed','createdAt','rtc-offline','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','RealTimeCollaborationClient','183UfCWId','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','from','cloud-services-internal-error:\x20Not\x20connected.','_disconnectService','_saveOperationInBuffer','entries','position','_handleServerResponse','isDocumentOperation','_initThrowingOnDataSet','realtimecollaborationclient-sendbufferedoperations','targetPosition','29533fcmThg','getOperations','reconnection:\x20flushed\x20session','ready','_hasSelectionChanged','realtimecollaborationclient-init-session-connection-error','_offset','_document','_applyOperationsSet','1485567tdVRED','realtimecollaborationclient-init-service-incorrect-server-operation','lastOperationId','getMany','round','_shouldSendUpdate','_handleInitialConnectionData','_decompressOperations','insert','addRootAttribute','_sendBufferedOperationsDelayId','cloudServices.bundleVersion','_getAffectedRoot','currentDocumentSession','_getOperationsFromInitData','72AyokKU','start','history','realtimecollaborationclient-error','7024poxrBV','_handleExternalOperations','collaboration.channelId','size','_bufferedOperations','type','version','_crash','disableReadOnlyMode','reconnect','catch','realtimecollaborationclient','isOfficialPlugin','realtimecollaborationclient-handleserverresponse','getDocumentDetails','setPermissions','selection','_isPendingUpdate','fire','addRoot','connected','_operationIdentifier','sessionCreatedAt','set','_compressOperations','startsWith','createRoot','stop','isPremiumPlugin','_knownOperations','InsertOperation','_handleReconnectionResponse','realtimecollaborationclient-init-connection-failed','_handleSendingSelectionMarkers','serverHistory','enableReadOnlyMode'];_0x1412=function(){return _0x483313;};return _0x1412();}function K(_0x39e77a,_0x3a2fce){const _0x39fe3e=_0x26d242;for(const _0x462ef4 of _0x39e77a)_0x462ef4[_0x39fe3e(0xd0)]=_0x3a2fce++;}class J{[_0x26d242(0xe0)];[_0x26d242(0x12d)];constructor(_0x3eeecb){const _0x59b898=_0x26d242;this[_0x59b898(0xe0)]=_0x3eeecb,this[_0x59b898(0x12d)]=new WeakMap();}[_0x26d242(0x134)](_0x476851){const _0x16691b=_0x26d242;let _0x23aaae=_0x476851[_0x16691b(0x145)];for(;_0x23aaae--;){const _0x3459c5=_0x476851[_0x23aaae];if(!this[_0x16691b(0xe0)][_0x16691b(0x14c)](_0x3459c5)){if(!this[_0x16691b(0x12d)][_0x16691b(0x14c)](_0x3459c5)){const _0x252263=_0x4a8868()[_0x16691b(0xc0)](0x1,0x12);this[_0x16691b(0x12d)][_0x16691b(0x92)](_0x3459c5,_0x252263);}return this[_0x16691b(0x12d)][_0x16691b(0xe3)](_0x3459c5);}}}[_0x26d242(0xc2)](_0x4b0135,_0x54cec9){const _0x4ebb3f=_0x26d242;if(!_0x54cec9)return;let _0x383ca5=_0x4b0135[_0x4ebb3f(0x145)];for(;_0x383ca5--;){const _0xaaff7a=_0x4b0135[_0x383ca5];this[_0x4ebb3f(0xe0)][_0x4ebb3f(0x14c)](_0xaaff7a)||this[_0x4ebb3f(0x12d)][_0x4ebb3f(0x92)](_0xaaff7a,_0x54cec9);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10c694=_0x6342;(function(_0x2a8c15,_0x9ee7fb){const _0x282fd4=_0x6342,_0x70c4b8=_0x2a8c15();while(!![]){try{const _0x1b39bc=-parseInt(_0x282fd4(0x1f9))/0x1*(parseInt(_0x282fd4(0x1d7))/0x2)+-parseInt(_0x282fd4(0x1ee))/0x3*(-parseInt(_0x282fd4(0x1e9))/0x4)+parseInt(_0x282fd4(0x1f7))/0x5+parseInt(_0x282fd4(0x1fe))/0x6+parseInt(_0x282fd4(0x1e4))/0x7+parseInt(_0x282fd4(0x1ec))/0x8*(parseInt(_0x282fd4(0x1f1))/0x9)+parseInt(_0x282fd4(0x1ff))/0xa*(-parseInt(_0x282fd4(0x1e0))/0xb);if(_0x1b39bc===_0x9ee7fb)break;else _0x70c4b8['push'](_0x70c4b8['shift']());}catch(_0x3550ca){_0x70c4b8['push'](_0x70c4b8['shift']());}}}(_0x5efe,0x18bd8));import{ContextPlugin as _0x4b2d74}from'ckeditor5/src/core.js';import{Collection as _0x44db04,CKEditorError as _0x1bf6f8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3cf548}from'./websocketgateway.js';function _0x6342(_0x3ffab2,_0x5b72fc){const _0x5efe10=_0x5efe();return _0x6342=function(_0x634273,_0x202763){_0x634273=_0x634273-0x1c1;let _0x374f13=_0x5efe10[_0x634273];return _0x374f13;},_0x6342(_0x3ffab2,_0x5b72fc);}import{Users as _0x85de98}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4b2d74{[_0x10c694(0x1e5)];[_0x10c694(0x1cd)];[_0x10c694(0x1e3)];[_0x10c694(0x1fb)];[_0x10c694(0x1df)];[_0x10c694(0x1c8)];static get[_0x10c694(0x1dd)](){const _0x8ebfd9=_0x10c694;return _0x8ebfd9(0x1fa);}static get[_0x10c694(0x1eb)](){return!0x0;}static get[_0x10c694(0x1f5)](){return!0x0;}static get[_0x10c694(0x1c4)](){return[_0x3cf548,_0x85de98];}constructor(_0x54b884){const _0x5e8d2e=_0x10c694;super(_0x54b884),this[_0x5e8d2e(0x1e5)]=new Map(),this[_0x5e8d2e(0x1cd)]=new Map(),this[_0x5e8d2e(0x1e3)]=new _0x44db04(),this[_0x5e8d2e(0x1fb)]=new Map(),this[_0x5e8d2e(0x1df)]=0x0,this[_0x5e8d2e(0x1c8)]=this[_0x5e8d2e(0x1fd)][_0x5e8d2e(0x1c3)][_0x5e8d2e(0x1e1)](_0x85de98);}[_0x10c694(0x1f2)](){const _0x57e202=_0x10c694,_0x40cbf7=this[_0x57e202(0x1fd)][_0x57e202(0x1c3)][_0x57e202(0x1e1)](_0x3cf548);this[_0x57e202(0x1cf)](_0x40cbf7,_0x57e202(0x1e8),(_0x3a646a,_0x5e63e6,_0x48f832)=>{const _0x110bac=_0x57e202;if(_0x110bac(0x1f6)!==_0x48f832)this[_0x110bac(0x1e5)][_0x110bac(0x1d8)](_0x1e10e4=>_0x1e10e4[_0x110bac(0x1cb)]()),this[_0x110bac(0x1cd)][_0x110bac(0x1d8)](_0x4086d9=>_0x4086d9[_0x110bac(0x1cb)]()),this[_0x110bac(0x1e3)][_0x110bac(0x1cb)]();else{for(const [_0x272590,_0x1e13b3]of this[_0x110bac(0x1fb)])for(const _0x44d237 of _0x1e13b3)this[_0x110bac(0x1c1)](_0x272590,_0x44d237);}}),this[_0x57e202(0x1c5)](_0x40cbf7[_0x57e202(0x1da)]['me'],!0x0);}[_0x10c694(0x1ce)](_0xb996ce,_0x44e8bd){const _0x437f4a=_0x10c694;if(this[_0x437f4a(0x1fb)][_0x437f4a(0x1c9)](_0xb996ce))throw new _0x1bf6f8(_0x437f4a(0x1dc),null,{'channelId':_0xb996ce});this[_0x437f4a(0x1fb)][_0x437f4a(0x1d6)](_0xb996ce,_0x44e8bd),this[_0x437f4a(0x1e5)][_0x437f4a(0x1d6)](_0xb996ce,new _0x44db04()),this[_0x437f4a(0x1cd)][_0x437f4a(0x1d6)](_0xb996ce,new _0x44db04()),this[_0x437f4a(0x1cf)](_0x44e8bd,_0x437f4a(0x1f8),(_0x557e21,_0x549505)=>this[_0x437f4a(0x1c1)](_0xb996ce,_0x549505)),this[_0x437f4a(0x1cf)](_0x44e8bd,_0x437f4a(0x1f3),(_0x56294b,_0x157ba6)=>this[_0x437f4a(0x1d5)](_0xb996ce,_0x157ba6));for(const _0x7ff3a0 of _0x44e8bd)this[_0x437f4a(0x1c1)](_0xb996ce,_0x7ff3a0);}[_0x10c694(0x1cc)](_0x508945){const _0x2474e5=_0x10c694;if(!this[_0x2474e5(0x1fb)][_0x2474e5(0x1c9)](_0x508945))throw new _0x1bf6f8(_0x2474e5(0x1d0),null,{'channelId':_0x508945});const _0x1223ff=this[_0x2474e5(0x1fb)][_0x2474e5(0x1e1)](_0x508945);this[_0x2474e5(0x1d2)](_0x1223ff);for(const _0x3829dd of _0x1223ff)_0x2474e5(0x1f6)===this[_0x2474e5(0x1fd)][_0x2474e5(0x1c3)][_0x2474e5(0x1e1)](_0x3cf548)[_0x2474e5(0x1d9)]&&this[_0x2474e5(0x1d5)](_0x508945,_0x3829dd);this[_0x2474e5(0x1fb)][_0x2474e5(0x1d1)](_0x508945),this[_0x2474e5(0x1e5)][_0x2474e5(0x1d1)](_0x508945),this[_0x2474e5(0x1cd)][_0x2474e5(0x1d1)](_0x508945);}get[_0x10c694(0x1de)](){const _0x4b46e6=_0x10c694;return this[_0x4b46e6(0x1fd)][_0x4b46e6(0x1c3)][_0x4b46e6(0x1e1)](_0x3cf548)[_0x4b46e6(0x1da)][_0x4b46e6(0x1c2)];}[_0x10c694(0x1fc)](_0x5cf68a){const _0x34c8f4=_0x10c694;for(const _0x4f6519 of this[_0x34c8f4(0x1e5)][_0x34c8f4(0x1c7)]())for(const _0x1e3dfb of _0x4f6519)if(_0x1e3dfb['id']===_0x5cf68a)return _0x1e3dfb[_0x34c8f4(0x1d4)];}[_0x10c694(0x1db)](_0x3d19ae,_0x4c40c0){const _0x34f781=_0x10c694,_0x4453c6=_0x4c40c0?[this[_0x34f781(0x1e5)][_0x34f781(0x1e1)](_0x4c40c0)]:this[_0x34f781(0x1e5)][_0x34f781(0x1c7)](),_0x3a53ab=new Set();for(const _0x517d21 of _0x4453c6)for(const _0x4cc705 of _0x517d21)_0x4cc705[_0x34f781(0x1d4)]['id']===_0x3d19ae['id']&&_0x3a53ab[_0x34f781(0x1f8)](_0x4cc705['id']);return _0x3a53ab;}[_0x10c694(0x1ed)](_0x24a2e0){const _0xa71353=_0x10c694;for(const _0x46d2bc of this[_0xa71353(0x1e5)][_0xa71353(0x1c7)]())for(const _0x20918b of _0x46d2bc)if(_0x20918b[_0xa71353(0x1d4)]===_0x24a2e0)return _0x20918b[_0xa71353(0x1f4)];}[_0x10c694(0x1c1)](_0x349581,_0x50d8af){const _0xf7d563=_0x10c694;if(_0xf7d563(0x1f6)!==this[_0xf7d563(0x1fd)][_0xf7d563(0x1c3)][_0xf7d563(0x1e1)](_0x3cf548)[_0xf7d563(0x1d9)])return;const _0x6af260=_0x50d8af[_0xf7d563(0x1d4)],_0x3d661b=this[_0xf7d563(0x1c8)][_0xf7d563(0x1ea)](_0x6af260['id'])||this[_0xf7d563(0x1c5)](_0x6af260),_0x471224=Object[_0xf7d563(0x1c6)]({},_0x50d8af,{'user':_0x3d661b});if(this[_0xf7d563(0x1e5)][_0xf7d563(0x1e1)](_0x349581)[_0xf7d563(0x1f8)](_0x471224),!_0x6af260[_0xf7d563(0x1ca)]){const _0x27fecf=this[_0xf7d563(0x1cd)][_0xf7d563(0x1e1)](_0x349581);_0x27fecf[_0xf7d563(0x1c9)](_0x3d661b['id'])||_0x27fecf[_0xf7d563(0x1f8)](_0x3d661b),this[_0xf7d563(0x1e3)][_0xf7d563(0x1c9)](_0x3d661b['id'])||_0x6af260[_0xf7d563(0x1ca)]||this[_0xf7d563(0x1e3)][_0xf7d563(0x1f8)](_0x3d661b,_0x3d661b[_0xf7d563(0x1d3)]?0x0:void 0x0);}this[_0xf7d563(0x1ef)](_0xf7d563(0x1e6)+_0x349581,{'channelId':_0x349581,'session':_0x471224});}[_0x10c694(0x1d5)](_0x597199,_0xeef927){const _0x2ab852=_0x10c694;if(_0x2ab852(0x1f6)!==this[_0x2ab852(0x1fd)][_0x2ab852(0x1c3)][_0x2ab852(0x1e1)](_0x3cf548)[_0x2ab852(0x1d9)])return;const _0x4edccb=this[_0x2ab852(0x1cd)][_0x2ab852(0x1e1)](_0x597199),_0x11b863=_0xeef927[_0x2ab852(0x1d4)];_0x11b863['id']&&(this[_0x2ab852(0x1e5)][_0x2ab852(0x1e1)](_0x597199)[_0x2ab852(0x1f3)](_0xeef927['id']),_0x4edccb[_0x2ab852(0x1c9)](_0x11b863['id'])&&!this[_0x2ab852(0x1db)](_0x11b863,_0x597199)[_0x2ab852(0x200)]&&_0x4edccb[_0x2ab852(0x1f3)](_0x11b863['id']),this[_0x2ab852(0x1e3)][_0x2ab852(0x1e1)](_0x11b863['id'])&&!this[_0x2ab852(0x1db)](_0x11b863)[_0x2ab852(0x200)]&&this[_0x2ab852(0x1e3)][_0x2ab852(0x1f3)](_0x11b863['id']));}[_0x10c694(0x1c5)](_0x2bb9b5,_0x32079c){const _0x4b501b=_0x10c694,_0x4c3f69=this[_0x4b501b(0x1c8)][_0x4b501b(0x1e2)](_0x2bb9b5);return _0x32079c&&this[_0x4b501b(0x1c8)][_0x4b501b(0x1e7)](_0x2bb9b5['id']),_0x4c3f69[_0x4b501b(0x1f0)]=this[_0x4b501b(0x1df)]++,_0x4c3f69;}}function _0x5efe(){const _0x51618f=['656859vqZhya','channelSessions','sessionAdd:','defineMe','change:state','224OFDSng','getUser','isOfficialPlugin','48424lgVQwG','getUserRole','10257ieyCXi','fire','orderNumber','18SxNlFC','init','remove','role','isPremiumPlugin','connected','153465HoCNHb','add','1lOpQYA','Sessions','_registeredSessions','getUserBySessionId','context','801234LOGQbu','2745590ZWvUib','size','_handleSessionAdd','sessionId','plugins','requires','_createUser','assign','values','_users','has','hiddenInPresenceList','clear','unregister','channelConnectedUsers','register','listenTo','sessions-unregister-not-exist','delete','stopListening','isMe','user','_handleSessionRemove','set','171488Qklmcz','forEach','state','connection','getUserSessions','sessions-register-already-registered','pluginName','mySessionId','_uniqueUsersCount','11lQxEiY','get','addUser','allConnectedUsers'];_0x5efe=function(){return _0x51618f;};return _0x5efe();}
|