@ckeditor/ckeditor5-real-time-collaboration 47.6.2-alpha.0 → 47.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "47.6.2
|
|
3
|
+
"version": "47.6.2",
|
|
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.6.2
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.6.2
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.6.2
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.6.2
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.6.2
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.6.2
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.6.2
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.6.2
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.6.2
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.6.2
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.6.2
|
|
61
|
-
"ckeditor5": "47.6.2
|
|
62
|
-
"ckeditor5-collaboration": "47.6.2
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.6.2",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.6.2",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.6.2",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.6.2",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.6.2",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.6.2",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.6.2",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.6.2",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.6.2",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.6.2",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.6.2",
|
|
61
|
+
"ckeditor5": "47.6.2",
|
|
62
|
+
"ckeditor5-collaboration": "47.6.2",
|
|
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 _0x35b9ae=_0x1a4a;(function(_0x458348,_0x3e3df0){const _0xe95cd3=_0x1a4a,_0x55a2f2=_0x458348();while(!![]){try{const _0x42f4cc=-parseInt(_0xe95cd3(0xe7))/0x1+-parseInt(_0xe95cd3(0xff))/0x2+-parseInt(_0xe95cd3(0xdc))/0x3*(parseInt(_0xe95cd3(0xfe))/0x4)+parseInt(_0xe95cd3(0xc1))/0x5+-parseInt(_0xe95cd3(0x11f))/0x6*(parseInt(_0xe95cd3(0x122))/0x7)+parseInt(_0xe95cd3(0x109))/0x8+-parseInt(_0xe95cd3(0xd9))/0x9*(-parseInt(_0xe95cd3(0xcc))/0xa);if(_0x42f4cc===_0x3e3df0)break;else _0x55a2f2['push'](_0x55a2f2['shift']());}catch(_0x1c39b2){_0x55a2f2['push'](_0x55a2f2['shift']());}}}(_0x52b7,0xc5535));import{ContextPlugin as _0x51c692}from'ckeditor5/src/core.js';import{CKEditorError as _0x194969,Collection as _0x65da15}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x51316c,BalloonPanelView as _0x2ac4d7,BodyCollection as _0x3f7ba7}from'ckeditor5/src/ui.js';import{isElement as _0x1b9112}from'es-toolkit/compat';function _0x1a4a(_0x3a4364,_0x18ab47){const _0x52b7a6=_0x52b7();return _0x1a4a=function(_0x1a4aa0,_0xc44de5){_0x1a4aa0=_0x1a4aa0-0xbf;let _0x3a61e0=_0x52b7a6[_0x1a4aa0];return _0x3a61e0;},_0x1a4a(_0x3a4364,_0x18ab47);}import{Sessions as _0x336eda}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x45164c}from'./view/presencelistview.js';import{PresenceCounterView as _0x4843e9}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x24c6e9}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0xbf1127}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x2c540c}from'./view/presenceinlinelistitemview.js';function _0x52b7(){const _0x4c0d85=['showDropdown','isCollapsed','allConnectedUsers','element','from','_bodyCollection','Tab','534kFomAf','set','select','62314pBmHRx','presenceDropdownView','body','bindTo','remove','change:isFocused','presenceList.displayMe','sort','input','destroy','5874065mmQGIE','_handleUserAdd','presencelist:show','using','content','checkIfScrollable','init','reverse','presenceList.container','tabIndex','presenceList','19122180MxWAbH','requires','render','[contenteditable]','Esc','balloonPanelView','isRendered','presencelist:hide','inlineListView','get','offsetWidth','listenTo','execute','9icBjOB','_handleUserRemove','map','60XqLaHG','add','isFocusable','activeElement','filter',':not([disabled]):not([tabindex=\x22-1\x22])','config','offsetHeight','isOfficialPlugin','_allConnectedUsers','length','725846huqxGb','presenceList.collapseAt','class','Shift+Tab','usersCount','presencelist-missing-container','pluginName','focusTracker','view','displayMe','pin','hasTooltip','context','isMe','focus','number','presencelist-collapseat-invalid-format','querySelectorAll','bind','plugins','unpin','hideDropdown','currentDisplayedUsers','159816XkHVqO','417202xODzxg','[tabindex]','isVisible','define','min','indexOf','keystrokes','button','isPremiumPlugin','PresenceListUI','1976152zZjKrv','counterView','_createView','detachFromDom','onClick','ck\x20ck-presence-list__balloon','textarea','attachToDom','find','Enter','locale','join','isExpanded','items','appendChild'];_0x52b7=function(){return _0x4c0d85;};return _0x52b7();}const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x51c692{[_0x35b9ae(0xfd)];[_0x35b9ae(0xd1)];[_0x35b9ae(0xef)];[_0x35b9ae(0x123)];[_0x35b9ae(0x11d)]=null;static get[_0x35b9ae(0xed)](){const _0x2ee1a5=_0x35b9ae;return _0x2ee1a5(0x108);}static get[_0x35b9ae(0xe4)](){return!0x0;}static get[_0x35b9ae(0x107)](){return!0x0;}constructor(_0x4bdf0c){const _0x5590f4=_0x35b9ae;super(_0x4bdf0c),this[_0x5590f4(0xf3)][_0x5590f4(0xe2)][_0x5590f4(0x102)](_0x5590f4(0xcb),U);const _0x23d215=_0x4bdf0c[_0x5590f4(0xe2)][_0x5590f4(0xd5)](_0x5590f4(0xe8));if(_0x5590f4(0xf6)!=typeof _0x23d215)throw new _0x194969(_0x5590f4(0xf7),this);if(_0x23d215<0x1)throw new _0x194969(_0x5590f4(0xf7),this);this[_0x5590f4(0xe5)]=this[_0x5590f4(0xf3)][_0x5590f4(0xfa)][_0x5590f4(0xd5)](_0x336eda)[_0x5590f4(0x11a)],this[_0x5590f4(0x120)](_0x5590f4(0xeb),0x0),this[_0x5590f4(0xfd)]=new _0x65da15(),this[_0x5590f4(0xd1)]=new _0x2ac4d7(),this[_0x5590f4(0xd1)][_0x5590f4(0xe9)]=_0x5590f4(0x10e),this[_0x5590f4(0xef)]=this[_0x5590f4(0x10b)](),this[_0x5590f4(0x123)]=void 0x0;}static get[_0x35b9ae(0xcd)](){return[_0x336eda];}[_0x35b9ae(0xc7)](){const _0x5a4a3b=_0x35b9ae;for(const _0x36aad9 of this[_0x5a4a3b(0xe5)])this[_0x5a4a3b(0xc2)](_0x36aad9);this[_0x5a4a3b(0xd7)](this[_0x5a4a3b(0xe5)],_0x5a4a3b(0xdd),(_0xcfcd66,_0x3a29af)=>{const _0x2b5158=_0x5a4a3b;this[_0x2b5158(0xc2)](_0x3a29af);}),this[_0x5a4a3b(0xd7)](this[_0x5a4a3b(0xe5)],_0x5a4a3b(0x126),(_0x4daf43,_0x2e79ec)=>{const _0x3d6068=_0x5a4a3b;this[_0x3d6068(0xda)](_0x2e79ec);});}[_0x35b9ae(0x10b)](){const _0x4eee46=_0x35b9ae,_0x440153=this[_0x4eee46(0xf3)],_0x21346c=new _0x45164c(this[_0x4eee46(0xf3)][_0x4eee46(0x113)],this[_0x4eee46(0xf3)][_0x4eee46(0xe2)][_0x4eee46(0xd5)](_0x4eee46(0xe8))),_0x1b4823=this[_0x4eee46(0xd1)];if(!_0x1b9112(_0x440153[_0x4eee46(0xe2)][_0x4eee46(0xd5)](_0x4eee46(0xc9))))throw new _0x194969(_0x4eee46(0xec),this);return _0x21346c[_0x4eee46(0x10a)][_0x4eee46(0xf9)](_0x4eee46(0xeb))['to'](this),_0x21346c[_0x4eee46(0xf9)](_0x4eee46(0x119))['to'](this,_0x4eee46(0xeb),_0x43df1a=>{const _0x3f41f7=_0x4eee46,{collapseAt:_0x3070a4}=_0x440153[_0x3f41f7(0xe2)][_0x3f41f7(0xd5)](_0x3f41f7(0xcb)),_0x388451=_0x43df1a>=_0x3070a4;if(_0x388451&&!_0x21346c[_0x3f41f7(0xd4)][_0x3f41f7(0x116)][_0x3f41f7(0x111)](_0x29d3d6=>_0x29d3d6 instanceof _0x4843e9)){const _0x1a8740=this[_0x3f41f7(0xf3)][_0x3f41f7(0xe2)][_0x3f41f7(0xd5)](_0x3f41f7(0xe8))-0x1;this[_0x3f41f7(0xfd)][_0x3f41f7(0xe6)]==_0x1a8740&&this[_0x3f41f7(0xfd)][_0x3f41f7(0xe6)]>0x1&&this[_0x3f41f7(0xfd)][_0x3f41f7(0x126)](this[_0x3f41f7(0xfd)][_0x3f41f7(0xe6)]-0x1),_0x21346c[_0x3f41f7(0xd4)][_0x3f41f7(0x116)][_0x3f41f7(0xdd)](_0x21346c[_0x3f41f7(0x10a)]);}return _0x388451||this[_0x3f41f7(0xfc)](),_0x388451;}),_0x21346c[_0x4eee46(0xd4)][_0x4eee46(0x116)][_0x4eee46(0x125)](this[_0x4eee46(0xfd)])[_0x4eee46(0xc4)](_0xe5adca=>{const _0x3ee9f6=_0x4eee46,_0x1f6490=_0x440153[_0x3ee9f6(0xe2)][_0x3ee9f6(0xd5)](_0x3ee9f6(0xcb)),_0x261def=new _0x2c540c(_0x440153[_0x3ee9f6(0x113)],_0xe5adca,!!_0x1f6490[_0x3ee9f6(0x10d)]);return _0x261def[_0x3ee9f6(0xf9)](_0x3ee9f6(0xf2))['to'](_0x21346c,_0x3ee9f6(0x119),_0x333957=>!_0x333957),_0x261def[_0x3ee9f6(0xf9)](_0x3ee9f6(0xde))['to'](_0x21346c,_0x3ee9f6(0x119),_0x5781b7=>!_0x5781b7),_0x1f6490[_0x3ee9f6(0x10d)]&&this[_0x3ee9f6(0xd7)](_0x261def,_0x3ee9f6(0xd8),()=>{const _0x2b1d33=_0x3ee9f6;this[_0x2b1d33(0xef)][_0x2b1d33(0x119)]||_0x1f6490[_0x2b1d33(0x10d)](_0xe5adca,_0x261def[_0x2b1d33(0x11b)]);}),_0x261def;}),this[_0x4eee46(0xd7)](_0x21346c[_0x4eee46(0xd4)],_0x4eee46(0xc3),()=>{const _0x3e34eb=_0x4eee46;this[_0x3e34eb(0xef)][_0x3e34eb(0x119)]&&this[_0x3e34eb(0x118)]();}),this[_0x4eee46(0xd7)](_0x21346c[_0x4eee46(0xd4)],_0x4eee46(0xd3),()=>{const _0x487e2e=_0x4eee46;this[_0x487e2e(0x123)]&&this[_0x487e2e(0xfc)]();}),_0x21346c[_0x4eee46(0xd4)][_0x4eee46(0x105)][_0x4eee46(0x120)](_0x4eee46(0x112),(_0xdbb689,_0x2d41bf)=>{const _0x4e0f9c=_0x4eee46;this[_0x4e0f9c(0xef)][_0x4e0f9c(0x119)]&&(this[_0x4e0f9c(0x118)](),_0x2d41bf());}),_0x21346c[_0x4eee46(0xce)](),_0x1b4823[_0x4eee46(0xce)](),_0x51316c({'emitter':_0x21346c,'activator':()=>_0x1b4823[_0x4eee46(0x101)],'contextElements':[_0x1b4823[_0x4eee46(0x11b)],_0x21346c[_0x4eee46(0xd4)][_0x4eee46(0x11b)]],'callback':()=>this[_0x4eee46(0xfc)]()}),_0x440153[_0x4eee46(0xe2)][_0x4eee46(0xd5)](_0x4eee46(0xc9))[_0x4eee46(0x117)](_0x21346c[_0x4eee46(0x11b)]),this[_0x4eee46(0x11d)]=new _0x3f7ba7(this[_0x4eee46(0xf3)][_0x4eee46(0x113)]),this[_0x4eee46(0x11d)][_0x4eee46(0x110)](),this[_0x4eee46(0x11d)][_0x4eee46(0xdd)](this[_0x4eee46(0xd1)]),_0x21346c;}[_0x35b9ae(0xc2)](_0xe4a536){const _0x53e0e6=_0x35b9ae;if(!this[_0x53e0e6(0xf3)][_0x53e0e6(0xe2)][_0x53e0e6(0xd5)](_0x53e0e6(0x128))&&_0xe4a536[_0x53e0e6(0xf4)])return;const _0x2137ca=this[_0x53e0e6(0xf3)][_0x53e0e6(0xe2)][_0x53e0e6(0xd5)](_0x53e0e6(0xe8))-0x1;for(this[_0x53e0e6(0xeb)]++;this[_0x53e0e6(0xfd)][_0x53e0e6(0xe6)]>=_0x2137ca-(this[_0x53e0e6(0xef)][_0x53e0e6(0x119)]?0x1:0x0)&&this[_0x53e0e6(0xfd)][_0x53e0e6(0xe6)]>0x1;)this[_0x53e0e6(0xfd)][_0x53e0e6(0x126)](0x1);const _0xb5a4=_0xe4a536[_0x53e0e6(0xf4)]?0x0:this[_0x53e0e6(0xfd)][_0x53e0e6(0xe6)];this[_0x53e0e6(0xfd)][_0x53e0e6(0xdd)](_0xe4a536,_0xb5a4);}[_0x35b9ae(0xda)](_0x2181ec){const _0x38fa1f=_0x35b9ae;this[_0x38fa1f(0xeb)]--;const {collapseAt:_0x5ca2c3}=this[_0x38fa1f(0xf3)][_0x38fa1f(0xe2)][_0x38fa1f(0xd5)](_0x38fa1f(0xcb)),_0x2919a7=this[_0x38fa1f(0xeb)]>=_0x5ca2c3;if(this[_0x38fa1f(0xfd)][_0x38fa1f(0xd5)](_0x2181ec['id']))this[_0x38fa1f(0xfd)][_0x38fa1f(0x126)](_0x2181ec['id']);else{if(_0x2919a7&&this[_0x38fa1f(0xfd)][_0x38fa1f(0xe6)]+0x1===_0x5ca2c3-0x1)return;}if(this[_0x38fa1f(0xfd)][_0x38fa1f(0xe6)]+(_0x2919a7?0x1:0x0)<this[_0x38fa1f(0xeb)]){for(const _0x33f2d4 of Array[_0x38fa1f(0x11c)](this[_0x38fa1f(0xe5)])[_0x38fa1f(0xc8)]())if(!this[_0x38fa1f(0xfd)][_0x38fa1f(0xd5)](_0x33f2d4['id'])&&(this[_0x38fa1f(0xfd)][_0x38fa1f(0xdd)](_0x33f2d4,Math[_0x38fa1f(0x103)](this[_0x38fa1f(0xfd)][_0x38fa1f(0xe6)]-(_0x2919a7?0x1:0x0),0x1)),this[_0x38fa1f(0xfd)][_0x38fa1f(0xe6)]+(_0x2919a7?0x1:0x0)===_0x5ca2c3-0x1))return;}}[_0x35b9ae(0x118)](){const _0x23c1df=_0x35b9ae;if(this[_0x23c1df(0x123)])return;const _0xcc7542=this[_0x23c1df(0xf3)][_0x23c1df(0xe2)][_0x23c1df(0xd5)](_0x23c1df(0xcb));this[_0x23c1df(0x123)]=new _0x24c6e9(this[_0x23c1df(0xf3)][_0x23c1df(0x113)],!!_0xcc7542[_0x23c1df(0x10d)]),this[_0x23c1df(0xef)][_0x23c1df(0xd4)][_0x23c1df(0x115)]=!0x0,this[_0x23c1df(0xd7)](this[_0x23c1df(0x123)],_0x23c1df(0xd3),()=>{const _0x2ea476=_0x23c1df;this[_0x2ea476(0x123)]&&this[_0x2ea476(0xfc)]();});const {listWrapperView:_0x2ff213}=this[_0x23c1df(0x123)];_0x2ff213[_0x23c1df(0x116)][_0x23c1df(0x125)](this[_0x23c1df(0xe5)])[_0x23c1df(0xc4)](_0x296dfd=>{const _0x1a75d7=_0x23c1df;if(!_0xcc7542[_0x1a75d7(0xf0)]&&_0x296dfd[_0x1a75d7(0xf4)])return null;const _0x33d45d=new _0xbf1127(this[_0x1a75d7(0xf3)][_0x1a75d7(0x113)],_0x296dfd,!!_0xcc7542[_0x1a75d7(0x10d)]);return _0xcc7542[_0x1a75d7(0x10d)]&&this[_0x1a75d7(0xd7)](_0x33d45d,_0x1a75d7(0xd8),()=>{const _0x105e56=_0x1a75d7;_0xcc7542[_0x105e56(0x10d)](_0x296dfd,_0x33d45d[_0x105e56(0x11b)]);}),_0x33d45d;}),this[_0x23c1df(0xd1)][_0x23c1df(0xc5)][_0x23c1df(0xdd)](this[_0x23c1df(0x123)]),this[_0x23c1df(0xd1)][_0x23c1df(0xf1)]({'target':this[_0x23c1df(0xef)][_0x23c1df(0xd4)][_0x23c1df(0x11b)]}),_0x2ff213[_0x23c1df(0xf5)](),_0x2ff213[_0x23c1df(0xc6)]();const _0x484075=(_0x149275,_0x3d031c)=>{const _0x1ce6bb=_0x23c1df;this[_0x1ce6bb(0xfc)](),this[_0x1ce6bb(0xef)][_0x1ce6bb(0xd4)][_0x1ce6bb(0xf5)](),_0x3d031c();};_0x2ff213[_0x23c1df(0x105)][_0x23c1df(0x120)](_0x23c1df(0xd0),_0x484075),_0x2ff213[_0x23c1df(0x105)][_0x23c1df(0x120)](_0x23c1df(0xea),_0x484075),_0x2ff213[_0x23c1df(0x105)][_0x23c1df(0x120)](_0x23c1df(0x11e),(_0x1dda53,_0x303d69)=>{const _0x564008=_0x23c1df;!function(_0xee94a6){const _0x5dccfb=_0x1a4a,_0x3a6e40=['a',_0x5dccfb(0x106),_0x5dccfb(0xbf),_0x5dccfb(0x121),_0x5dccfb(0x10f),_0x5dccfb(0x100),_0x5dccfb(0xcf)][_0x5dccfb(0xdb)](_0x282af2=>_0x282af2+_0x5dccfb(0xe1))[_0x5dccfb(0x114)](','),_0x31d2b3=[...document[_0x5dccfb(0x124)][_0x5dccfb(0xf8)](_0x3a6e40)][_0x5dccfb(0xe0)](_0x3dacc=>_0x3dacc===document[_0x5dccfb(0xdf)]||_0x3dacc[_0x5dccfb(0xd6)]+_0x3dacc[_0x5dccfb(0xe3)]>0x0)[_0x5dccfb(0x129)]((_0x985101,_0x5aed92)=>(_0x985101[_0x5dccfb(0xca)]||0x0)-(_0x5aed92[_0x5dccfb(0xca)]||0x0)),_0x2a9975=_0x31d2b3[_0x5dccfb(0x104)](_0xee94a6),_0x41adee=_0x31d2b3[(_0x2a9975+0x1)%_0x31d2b3[_0x5dccfb(0xe6)]];_0x41adee&&_0x41adee[_0x5dccfb(0xf5)]();}(this[_0x564008(0xef)][_0x564008(0x11b)]),this[_0x564008(0xfc)](),_0x303d69();}),_0x2ff213[_0x23c1df(0xee)][_0x23c1df(0xdd)](this[_0x23c1df(0xef)][_0x23c1df(0x11b)]),_0x2ff213[_0x23c1df(0xee)]['on'](_0x23c1df(0x127),(_0x8923bd,_0x584139,_0x573aed)=>{const _0x83136c=_0x23c1df;_0x573aed||this[_0x83136c(0xfc)]();});}[_0x35b9ae(0xfc)](){const _0x5d2286=_0x35b9ae;this[_0x5d2286(0x123)]&&(this[_0x5d2286(0xef)][_0x5d2286(0xd4)][_0x5d2286(0x115)]=!0x1,this[_0x5d2286(0xd1)][_0x5d2286(0xfb)](),this[_0x5d2286(0xd1)][_0x5d2286(0xc5)][_0x5d2286(0x126)](this[_0x5d2286(0x123)]),this[_0x5d2286(0x123)][_0x5d2286(0xc0)](),this[_0x5d2286(0x123)]=void 0x0);}[_0x35b9ae(0xc0)](){const _0x5d1d17=_0x35b9ae;super[_0x5d1d17(0xc0)](),this[_0x5d1d17(0xef)]&&this[_0x5d1d17(0xef)][_0x5d1d17(0xd2)]&&this[_0x5d1d17(0xef)][_0x5d1d17(0xc0)](),this[_0x5d1d17(0x11d)]&&(this[_0x5d1d17(0x11d)][_0x5d1d17(0x10c)](),this[_0x5d1d17(0x11d)][_0x5d1d17(0xc0)](),this[_0x5d1d17(0x11d)]=null);}}
|
|
23
|
+
const _0x354f82=_0x29a8;(function(_0x453e34,_0x4c88d3){const _0x2ad434=_0x29a8,_0x1ef97d=_0x453e34();while(!![]){try{const _0x5e653f=parseInt(_0x2ad434(0x1d5))/0x1+parseInt(_0x2ad434(0x202))/0x2+-parseInt(_0x2ad434(0x1b1))/0x3*(-parseInt(_0x2ad434(0x1ce))/0x4)+-parseInt(_0x2ad434(0x1cb))/0x5+-parseInt(_0x2ad434(0x19d))/0x6+-parseInt(_0x2ad434(0x1f6))/0x7*(parseInt(_0x2ad434(0x1ca))/0x8)+-parseInt(_0x2ad434(0x1c4))/0x9*(parseInt(_0x2ad434(0x1a4))/0xa);if(_0x5e653f===_0x4c88d3)break;else _0x1ef97d['push'](_0x1ef97d['shift']());}catch(_0x4f6aed){_0x1ef97d['push'](_0x1ef97d['shift']());}}}(_0x35ab,0xb722a));import{ContextPlugin as _0x43befa}from'ckeditor5/src/core.js';import{CKEditorError as _0x32a46b,Collection as _0x5059d9}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x3ba39a,BalloonPanelView as _0x9ed98f,BodyCollection as _0x5b6071}from'ckeditor5/src/ui.js';function _0x29a8(_0x534723,_0x4a2fba){const _0x35ab10=_0x35ab();return _0x29a8=function(_0x29a8c7,_0x541c5f){_0x29a8c7=_0x29a8c7-0x19b;let _0x133ef4=_0x35ab10[_0x29a8c7];return _0x133ef4;},_0x29a8(_0x534723,_0x4a2fba);}import{isElement as _0x2792a9}from'es-toolkit/compat';import{Sessions as _0x44243a}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x574abc}from'./view/presencelistview.js';import{PresenceCounterView as _0x34de68}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x60df96}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0xc6c624}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x4540fd}from'./view/presenceinlinelistitemview.js';const ht={'collapseAt':0x6,'displayMe':!0x0};function _0x35ab(){const _0x3f2fc3=['appendChild','presencelist:hide','presencelist-collapseat-invalid-format','button','items','focusTracker','presenceList.collapseAt','keystrokes','define','bindTo','counterView','set','isExpanded','_createView','presenceList.container','58198QEeZit','presenceDropdownView','element','input','usersCount','attachToDom','destroy','sort','unpin','isCollapsed','activeElement','map','1361118oXppLx','indexOf','inlineListView','context','class','render','5409522JVWDKT','focus','isVisible','remove','textarea','execute','presenceList.displayMe','27830Zbrqlz','[contenteditable]','hasTooltip','number','view','select','displayMe','PresenceListUI','isPremiumPlugin','[tabindex]','from','balloonPanelView','min','81xyzsOs','requires','join','Enter','Esc','find','listenTo','presencelist:show','presenceList','_bodyCollection','onClick','body','offsetWidth','isRendered','currentDisplayedUsers','length','allConnectedUsers','_handleUserAdd','init','936IOqhfj','_handleUserRemove','Tab','bind','showDropdown','isFocusable','616LHplHI','3068940zMSyur','content','isOfficialPlugin','178604eSUJah','tabIndex','checkIfScrollable','locale','_allConnectedUsers','plugins','hideDropdown','1308971ewdnUt','add','isMe','pluginName','change:isFocused','get','presencelist-missing-container','Shift+Tab','reverse','using','filter','ck\x20ck-presence-list__balloon','offsetHeight','config','detachFromDom','pin',':not([disabled]):not([tabindex=\x22-1\x22])','querySelectorAll'];_0x35ab=function(){return _0x3f2fc3;};return _0x35ab();}export class PresenceListUI extends _0x43befa{[_0x354f82(0x1bf)];[_0x354f82(0x1af)];[_0x354f82(0x1a8)];[_0x354f82(0x1f7)];[_0x354f82(0x1ba)]=null;static get[_0x354f82(0x1d8)](){const _0x1a17b2=_0x354f82;return _0x1a17b2(0x1ab);}static get[_0x354f82(0x1cd)](){return!0x0;}static get[_0x354f82(0x1ac)](){return!0x0;}constructor(_0x29d7b3){const _0x30962b=_0x354f82;super(_0x29d7b3),this[_0x30962b(0x205)][_0x30962b(0x1e2)][_0x30962b(0x1ef)](_0x30962b(0x1b9),ht);const _0x2d9e35=_0x29d7b3[_0x30962b(0x1e2)][_0x30962b(0x1da)](_0x30962b(0x1ed));if(_0x30962b(0x1a7)!=typeof _0x2d9e35)throw new _0x32a46b(_0x30962b(0x1e9),this);if(_0x2d9e35<0x1)throw new _0x32a46b(_0x30962b(0x1e9),this);this[_0x30962b(0x1d2)]=this[_0x30962b(0x205)][_0x30962b(0x1d3)][_0x30962b(0x1da)](_0x44243a)[_0x30962b(0x1c1)],this[_0x30962b(0x1f2)](_0x30962b(0x1fa),0x0),this[_0x30962b(0x1bf)]=new _0x5059d9(),this[_0x30962b(0x1af)]=new _0x9ed98f(),this[_0x30962b(0x1af)][_0x30962b(0x19b)]=_0x30962b(0x1e0),this[_0x30962b(0x1a8)]=this[_0x30962b(0x1f4)](),this[_0x30962b(0x1f7)]=void 0x0;}static get[_0x354f82(0x1b2)](){return[_0x44243a];}[_0x354f82(0x1c3)](){const _0x98d8d2=_0x354f82;for(const _0x596a33 of this[_0x98d8d2(0x1d2)])this[_0x98d8d2(0x1c2)](_0x596a33);this[_0x98d8d2(0x1b7)](this[_0x98d8d2(0x1d2)],_0x98d8d2(0x1d6),(_0x1975d6,_0x2328fa)=>{const _0x272675=_0x98d8d2;this[_0x272675(0x1c2)](_0x2328fa);}),this[_0x98d8d2(0x1b7)](this[_0x98d8d2(0x1d2)],_0x98d8d2(0x1a0),(_0x596275,_0x343721)=>{const _0x40cd85=_0x98d8d2;this[_0x40cd85(0x1c5)](_0x343721);});}[_0x354f82(0x1f4)](){const _0x1eb66=_0x354f82,_0x358a47=this[_0x1eb66(0x205)],_0x23d98f=new _0x574abc(this[_0x1eb66(0x205)][_0x1eb66(0x1d1)],this[_0x1eb66(0x205)][_0x1eb66(0x1e2)][_0x1eb66(0x1da)](_0x1eb66(0x1ed))),_0x266976=this[_0x1eb66(0x1af)];if(!_0x2792a9(_0x358a47[_0x1eb66(0x1e2)][_0x1eb66(0x1da)](_0x1eb66(0x1f5))))throw new _0x32a46b(_0x1eb66(0x1db),this);return _0x23d98f[_0x1eb66(0x1f1)][_0x1eb66(0x1c7)](_0x1eb66(0x1fa))['to'](this),_0x23d98f[_0x1eb66(0x1c7)](_0x1eb66(0x1ff))['to'](this,_0x1eb66(0x1fa),_0xba667d=>{const _0x3bcf14=_0x1eb66,{collapseAt:_0x334796}=_0x358a47[_0x3bcf14(0x1e2)][_0x3bcf14(0x1da)](_0x3bcf14(0x1b9)),_0x1151cf=_0xba667d>=_0x334796;if(_0x1151cf&&!_0x23d98f[_0x3bcf14(0x204)][_0x3bcf14(0x1eb)][_0x3bcf14(0x1b6)](_0x263761=>_0x263761 instanceof _0x34de68)){const _0x4b0d1a=this[_0x3bcf14(0x205)][_0x3bcf14(0x1e2)][_0x3bcf14(0x1da)](_0x3bcf14(0x1ed))-0x1;this[_0x3bcf14(0x1bf)][_0x3bcf14(0x1c0)]==_0x4b0d1a&&this[_0x3bcf14(0x1bf)][_0x3bcf14(0x1c0)]>0x1&&this[_0x3bcf14(0x1bf)][_0x3bcf14(0x1a0)](this[_0x3bcf14(0x1bf)][_0x3bcf14(0x1c0)]-0x1),_0x23d98f[_0x3bcf14(0x204)][_0x3bcf14(0x1eb)][_0x3bcf14(0x1d6)](_0x23d98f[_0x3bcf14(0x1f1)]);}return _0x1151cf||this[_0x3bcf14(0x1d4)](),_0x1151cf;}),_0x23d98f[_0x1eb66(0x204)][_0x1eb66(0x1eb)][_0x1eb66(0x1f0)](this[_0x1eb66(0x1bf)])[_0x1eb66(0x1de)](_0x2bbb2f=>{const _0xecc083=_0x1eb66,_0x451bb1=_0x358a47[_0xecc083(0x1e2)][_0xecc083(0x1da)](_0xecc083(0x1b9)),_0x5bd302=new _0x4540fd(_0x358a47[_0xecc083(0x1d1)],_0x2bbb2f,!!_0x451bb1[_0xecc083(0x1bb)]);return _0x5bd302[_0xecc083(0x1c7)](_0xecc083(0x1a6))['to'](_0x23d98f,_0xecc083(0x1ff),_0x1ccde2=>!_0x1ccde2),_0x5bd302[_0xecc083(0x1c7)](_0xecc083(0x1c9))['to'](_0x23d98f,_0xecc083(0x1ff),_0x169bd9=>!_0x169bd9),_0x451bb1[_0xecc083(0x1bb)]&&this[_0xecc083(0x1b7)](_0x5bd302,_0xecc083(0x1a2),()=>{const _0x2e0e5f=_0xecc083;this[_0x2e0e5f(0x1a8)][_0x2e0e5f(0x1ff)]||_0x451bb1[_0x2e0e5f(0x1bb)](_0x2bbb2f,_0x5bd302[_0x2e0e5f(0x1f8)]);}),_0x5bd302;}),this[_0x1eb66(0x1b7)](_0x23d98f[_0x1eb66(0x204)],_0x1eb66(0x1b8),()=>{const _0x4e28cb=_0x1eb66;this[_0x4e28cb(0x1a8)][_0x4e28cb(0x1ff)]&&this[_0x4e28cb(0x1c8)]();}),this[_0x1eb66(0x1b7)](_0x23d98f[_0x1eb66(0x204)],_0x1eb66(0x1e8),()=>{const _0x1238b2=_0x1eb66;this[_0x1238b2(0x1f7)]&&this[_0x1238b2(0x1d4)]();}),_0x23d98f[_0x1eb66(0x204)][_0x1eb66(0x1ee)][_0x1eb66(0x1f2)](_0x1eb66(0x1b4),(_0x4da408,_0x164999)=>{const _0x570050=_0x1eb66;this[_0x570050(0x1a8)][_0x570050(0x1ff)]&&(this[_0x570050(0x1c8)](),_0x164999());}),_0x23d98f[_0x1eb66(0x19c)](),_0x266976[_0x1eb66(0x19c)](),_0x3ba39a({'emitter':_0x23d98f,'activator':()=>_0x266976[_0x1eb66(0x19f)],'contextElements':[_0x266976[_0x1eb66(0x1f8)],_0x23d98f[_0x1eb66(0x204)][_0x1eb66(0x1f8)]],'callback':()=>this[_0x1eb66(0x1d4)]()}),_0x358a47[_0x1eb66(0x1e2)][_0x1eb66(0x1da)](_0x1eb66(0x1f5))[_0x1eb66(0x1e7)](_0x23d98f[_0x1eb66(0x1f8)]),this[_0x1eb66(0x1ba)]=new _0x5b6071(this[_0x1eb66(0x205)][_0x1eb66(0x1d1)]),this[_0x1eb66(0x1ba)][_0x1eb66(0x1fb)](),this[_0x1eb66(0x1ba)][_0x1eb66(0x1d6)](this[_0x1eb66(0x1af)]),_0x23d98f;}[_0x354f82(0x1c2)](_0x6fea38){const _0xbe01a=_0x354f82;if(!this[_0xbe01a(0x205)][_0xbe01a(0x1e2)][_0xbe01a(0x1da)](_0xbe01a(0x1a3))&&_0x6fea38[_0xbe01a(0x1d7)])return;const _0x552f21=this[_0xbe01a(0x205)][_0xbe01a(0x1e2)][_0xbe01a(0x1da)](_0xbe01a(0x1ed))-0x1;for(this[_0xbe01a(0x1fa)]++;this[_0xbe01a(0x1bf)][_0xbe01a(0x1c0)]>=_0x552f21-(this[_0xbe01a(0x1a8)][_0xbe01a(0x1ff)]?0x1:0x0)&&this[_0xbe01a(0x1bf)][_0xbe01a(0x1c0)]>0x1;)this[_0xbe01a(0x1bf)][_0xbe01a(0x1a0)](0x1);const _0x5c7291=_0x6fea38[_0xbe01a(0x1d7)]?0x0:this[_0xbe01a(0x1bf)][_0xbe01a(0x1c0)];this[_0xbe01a(0x1bf)][_0xbe01a(0x1d6)](_0x6fea38,_0x5c7291);}[_0x354f82(0x1c5)](_0x3d80cc){const _0x50c9fd=_0x354f82;this[_0x50c9fd(0x1fa)]--;const {collapseAt:_0x515fd6}=this[_0x50c9fd(0x205)][_0x50c9fd(0x1e2)][_0x50c9fd(0x1da)](_0x50c9fd(0x1b9)),_0x1da591=this[_0x50c9fd(0x1fa)]>=_0x515fd6;if(this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1da)](_0x3d80cc['id']))this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1a0)](_0x3d80cc['id']);else{if(_0x1da591&&this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1c0)]+0x1===_0x515fd6-0x1)return;}if(this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1c0)]+(_0x1da591?0x1:0x0)<this[_0x50c9fd(0x1fa)]){for(const _0x5e2d9b of Array[_0x50c9fd(0x1ae)](this[_0x50c9fd(0x1d2)])[_0x50c9fd(0x1dd)]())if(!this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1da)](_0x5e2d9b['id'])&&(this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1d6)](_0x5e2d9b,Math[_0x50c9fd(0x1b0)](this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1c0)]-(_0x1da591?0x1:0x0),0x1)),this[_0x50c9fd(0x1bf)][_0x50c9fd(0x1c0)]+(_0x1da591?0x1:0x0)===_0x515fd6-0x1))return;}}[_0x354f82(0x1c8)](){const _0x35566f=_0x354f82;if(this[_0x35566f(0x1f7)])return;const _0x29afcc=this[_0x35566f(0x205)][_0x35566f(0x1e2)][_0x35566f(0x1da)](_0x35566f(0x1b9));this[_0x35566f(0x1f7)]=new _0x60df96(this[_0x35566f(0x205)][_0x35566f(0x1d1)],!!_0x29afcc[_0x35566f(0x1bb)]),this[_0x35566f(0x1a8)][_0x35566f(0x204)][_0x35566f(0x1f3)]=!0x0,this[_0x35566f(0x1b7)](this[_0x35566f(0x1f7)],_0x35566f(0x1e8),()=>{const _0x1f45ea=_0x35566f;this[_0x1f45ea(0x1f7)]&&this[_0x1f45ea(0x1d4)]();});const {listWrapperView:_0x490edc}=this[_0x35566f(0x1f7)];_0x490edc[_0x35566f(0x1eb)][_0x35566f(0x1f0)](this[_0x35566f(0x1d2)])[_0x35566f(0x1de)](_0x1501a4=>{const _0x52082b=_0x35566f;if(!_0x29afcc[_0x52082b(0x1aa)]&&_0x1501a4[_0x52082b(0x1d7)])return null;const _0x5d14a0=new _0xc6c624(this[_0x52082b(0x205)][_0x52082b(0x1d1)],_0x1501a4,!!_0x29afcc[_0x52082b(0x1bb)]);return _0x29afcc[_0x52082b(0x1bb)]&&this[_0x52082b(0x1b7)](_0x5d14a0,_0x52082b(0x1a2),()=>{const _0x3ffede=_0x52082b;_0x29afcc[_0x3ffede(0x1bb)](_0x1501a4,_0x5d14a0[_0x3ffede(0x1f8)]);}),_0x5d14a0;}),this[_0x35566f(0x1af)][_0x35566f(0x1cc)][_0x35566f(0x1d6)](this[_0x35566f(0x1f7)]),this[_0x35566f(0x1af)][_0x35566f(0x1e4)]({'target':this[_0x35566f(0x1a8)][_0x35566f(0x204)][_0x35566f(0x1f8)]}),_0x490edc[_0x35566f(0x19e)](),_0x490edc[_0x35566f(0x1d0)]();const _0x3c9806=(_0x12987b,_0x4d3c86)=>{const _0x52d00a=_0x35566f;this[_0x52d00a(0x1d4)](),this[_0x52d00a(0x1a8)][_0x52d00a(0x204)][_0x52d00a(0x19e)](),_0x4d3c86();};_0x490edc[_0x35566f(0x1ee)][_0x35566f(0x1f2)](_0x35566f(0x1b5),_0x3c9806),_0x490edc[_0x35566f(0x1ee)][_0x35566f(0x1f2)](_0x35566f(0x1dc),_0x3c9806),_0x490edc[_0x35566f(0x1ee)][_0x35566f(0x1f2)](_0x35566f(0x1c6),(_0x4c9283,_0x51a63e)=>{const _0x26fe73=_0x35566f;!function(_0x173c5c){const _0x1f942c=_0x29a8,_0x2b2732=['a',_0x1f942c(0x1ea),_0x1f942c(0x1f9),_0x1f942c(0x1a9),_0x1f942c(0x1a1),_0x1f942c(0x1ad),_0x1f942c(0x1a5)][_0x1f942c(0x201)](_0x12dcc9=>_0x12dcc9+_0x1f942c(0x1e5))[_0x1f942c(0x1b3)](','),_0x3ea877=[...document[_0x1f942c(0x1bc)][_0x1f942c(0x1e6)](_0x2b2732)][_0x1f942c(0x1df)](_0x3565df=>_0x3565df===document[_0x1f942c(0x200)]||_0x3565df[_0x1f942c(0x1bd)]+_0x3565df[_0x1f942c(0x1e1)]>0x0)[_0x1f942c(0x1fd)]((_0x15eb58,_0xd6e32d)=>(_0x15eb58[_0x1f942c(0x1cf)]||0x0)-(_0xd6e32d[_0x1f942c(0x1cf)]||0x0)),_0x5aeaa5=_0x3ea877[_0x1f942c(0x203)](_0x173c5c),_0x479956=_0x3ea877[(_0x5aeaa5+0x1)%_0x3ea877[_0x1f942c(0x1c0)]];_0x479956&&_0x479956[_0x1f942c(0x19e)]();}(this[_0x26fe73(0x1a8)][_0x26fe73(0x1f8)]),this[_0x26fe73(0x1d4)](),_0x51a63e();}),_0x490edc[_0x35566f(0x1ec)][_0x35566f(0x1d6)](this[_0x35566f(0x1a8)][_0x35566f(0x1f8)]),_0x490edc[_0x35566f(0x1ec)]['on'](_0x35566f(0x1d9),(_0x1f44fe,_0x1b7c07,_0x3bfdd4)=>{const _0x22f9ad=_0x35566f;_0x3bfdd4||this[_0x22f9ad(0x1d4)]();});}[_0x354f82(0x1d4)](){const _0x15eb7a=_0x354f82;this[_0x15eb7a(0x1f7)]&&(this[_0x15eb7a(0x1a8)][_0x15eb7a(0x204)][_0x15eb7a(0x1f3)]=!0x1,this[_0x15eb7a(0x1af)][_0x15eb7a(0x1fe)](),this[_0x15eb7a(0x1af)][_0x15eb7a(0x1cc)][_0x15eb7a(0x1a0)](this[_0x15eb7a(0x1f7)]),this[_0x15eb7a(0x1f7)][_0x15eb7a(0x1fc)](),this[_0x15eb7a(0x1f7)]=void 0x0);}[_0x354f82(0x1fc)](){const _0x30c0e6=_0x354f82;super[_0x30c0e6(0x1fc)](),this[_0x30c0e6(0x1a8)]&&this[_0x30c0e6(0x1a8)][_0x30c0e6(0x1be)]&&this[_0x30c0e6(0x1a8)][_0x30c0e6(0x1fc)](),this[_0x30c0e6(0x1ba)]&&(this[_0x30c0e6(0x1ba)][_0x30c0e6(0x1e3)](),this[_0x30c0e6(0x1ba)][_0x30c0e6(0x1fc)](),this[_0x30c0e6(0x1ba)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4be3(_0x298b41,_0x2dcdcf){const _0x18cf5f=_0x18cf();return _0x4be3=function(_0x4be350,_0x47a3c4){_0x4be350=_0x4be350-0x141;let _0x87a394=_0x18cf5f[_0x4be350];return _0x87a394;},_0x4be3(_0x298b41,_0x2dcdcf);}const _0x15ce9c=_0x4be3;(function(_0x1dc09f,_0x54dc1f){const _0xe43029=_0x4be3,_0xd93ea=_0x1dc09f();while(!![]){try{const _0x2540ae=parseInt(_0xe43029(0x144))/0x1*(parseInt(_0xe43029(0x149))/0x2)+-parseInt(_0xe43029(0x155))/0x3+parseInt(_0xe43029(0x156))/0x4*(parseInt(_0xe43029(0x153))/0x5)+parseInt(_0xe43029(0x145))/0x6*(-parseInt(_0xe43029(0x148))/0x7)+parseInt(_0xe43029(0x159))/0x8+parseInt(_0xe43029(0x15a))/0x9+parseInt(_0xe43029(0x141))/0xa;if(_0x2540ae===_0x54dc1f)break;else _0xd93ea['push'](_0xd93ea['shift']());}catch(_0x48797c){_0xd93ea['push'](_0xd93ea['shift']());}}}(_0x18cf,0x46bfd));import{ListItemView as _0x39a61e}from'ckeditor5/src/ui.js';import{UserView as _0x296c90}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x39a61e{[_0x15ce9c(0x157)];constructor(_0x33a016,_0x124ca4,_0x186e1f){const _0x153252=_0x15ce9c;super(_0x33a016);const _0x189835=this[_0x153252(0x15c)];this[_0x153252(0x157)]=new _0x296c90(_0x33a016,_0x124ca4);const _0x4ddac9={'tag':'li','attributes':{'class':['ck',_0x153252(0x143)],'tabindex':-0x1,'role':_0x153252(0x150),'aria-label':_0x124ca4[_0x153252(0x158)]},'children':[this[_0x153252(0x157)],{'tag':_0x153252(0x14a),'attributes':{'class':['ck',_0x153252(0x14f)]},'children':[{'text':_0x124ca4[_0x153252(0x158)]}]},{'tag':_0x153252(0x14a),'attributes':{'class':['ck',_0x153252(0x14b),_0x124ca4[_0x153252(0x151)][_0x153252(0x142)]()],'aria-hidden':_0x153252(0x152)}}]};_0x186e1f&&(_0x4ddac9[_0x153252(0x14d)]=_0x153252(0x15b),_0x4ddac9['on']={'click':_0x189835['to'](()=>this[_0x153252(0x14c)](_0x153252(0x147)))}),this[_0x153252(0x154)](_0x4ddac9);}[_0x15ce9c(0x14e)](){const _0xf64707=_0x15ce9c;this[_0xf64707(0x146)][_0xf64707(0x14e)]();}}function _0x18cf(){const _0x5de7ce=['470720nrciYx','span','ck-presence-list__marker','fire','tag','focus','ck-user__full-name','presentation','color','true','20fmPTnD','setTemplate','1346853nlFaHq','16396hbqFeX','userView','name','3660008jSbQNj','2660643aBLMgI','button','bindTemplate','2048760ZGWRVh','getBackgroundColorClass','ck-presence-list__dropdown-list-item','1dBKske','330IcvcKX','element','execute','59948TtssmY'];_0x18cf=function(){return _0x5de7ce;};return _0x18cf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3de60f=_0x3fb9;(function(_0xe5a666,_0x2115ec){const _0x410678=_0x3fb9,_0x4a5a87=_0xe5a666();while(!![]){try{const _0x4385a8=-parseInt(_0x410678(0x91))/0x1*(parseInt(_0x410678(0x8a))/0x2)+-parseInt(_0x410678(0x88))/0x3*(parseInt(_0x410678(0x83))/0x4)+parseInt(_0x410678(0x8b))/0x5+parseInt(_0x410678(0x81))/0x6+parseInt(_0x410678(0x85))/0x7+-parseInt(_0x410678(0x80))/0x8+parseInt(_0x410678(0x8c))/0x9;if(_0x4385a8===_0x2115ec)break;else _0x4a5a87['push'](_0x4a5a87['shift']());}catch(_0xc6550d){_0x4a5a87['push'](_0x4a5a87['shift']());}}}(_0x1d76,0xafc18));function _0x1d76(){const _0xe569df=['setTemplate','innerHeight','contains','ariaLabelledBy','7562048hCezvp','4981602VznlGl','_isScrollable','4cqYeeZ','Connected\x20users\x20list\x20dropdown\x20menu','785407vlkWQj','div','role','682878GZWPvZ','items','1237382eSNDja','6657155IHkPJq','2138130bZFaWv','listenTo','relatedTarget','element','max','1BagDcw','ck-presence-list__dropdown-list','querySelector','bindTemplate','ck-presence-list__dropdown-list-wrapper','fire','change','presencelist:hide','listWrapperView','checkIfScrollable','ck-reset','render','ck-presence-list__dropdown-list-wrapper_scrollable','clientHeight','.ck-balloon-panel_with-arrow','window','resize','.ck-presence-list__list','ck-list','ariaLabel','set','application','scrollHeight'];_0x1d76=function(){return _0xe569df;};return _0x1d76();}import{ListView as _0x317426,View as _0x3a9eb3}from'ckeditor5/src/ui.js';import{global as _0x81cd6f}from'ckeditor5/src/utils.js';function _0x3fb9(_0x13c1ef,_0x39b7f3){const _0x1d766f=_0x1d76();return _0x3fb9=function(_0x3fb987,_0x35d691){_0x3fb987=_0x3fb987-0x68;let _0x2ca7ad=_0x1d766f[_0x3fb987];return _0x2ca7ad;},_0x3fb9(_0x13c1ef,_0x39b7f3);}import{getTranslation as _0x207363}from'../../common-translations.js';export class PresenceDropdownListView extends _0x3a9eb3{[_0x3de60f(0x6d)];constructor(_0x7c2b99,_0x25480e){const _0x5b2a62=_0x3de60f;super(_0x7c2b99);const _0x53e4e3=this[_0x5b2a62(0x68)];this[_0x5b2a62(0x6d)]=new PresenceDropdownListWrapperView(_0x7c2b99,_0x25480e),this[_0x5b2a62(0x7c)]({'tag':_0x5b2a62(0x86),'attributes':{'tabindex':-0x1,'role':_0x5b2a62(0x7a),'class':['ck',_0x5b2a62(0x92)],'aria-label':_0x207363(_0x7c2b99,_0x5b2a62(0x84))},'children':[this[_0x5b2a62(0x6d)]],'on':{'mouseleave':_0x53e4e3['to'](_0x14bce6=>{const _0x16f5c7=_0x5b2a62,_0x1956b5=_0x14bce6,_0x23b7c1=document[_0x16f5c7(0x93)](_0x16f5c7(0x76)),_0x22876b=document[_0x16f5c7(0x93)](_0x16f5c7(0x73));_0x23b7c1?.[_0x16f5c7(0x7e)](_0x1956b5[_0x16f5c7(0x8e)])||_0x22876b?.[_0x16f5c7(0x7e)](_0x1956b5[_0x16f5c7(0x8e)])||this[_0x16f5c7(0x6a)](_0x16f5c7(0x6c));})}});}}export class PresenceDropdownListWrapperView extends _0x317426{constructor(_0x46d130,_0x4d909e){const _0x516bbe=_0x3de60f;super(_0x46d130);const _0x909b5b=this[_0x516bbe(0x68)];this[_0x516bbe(0x79)](_0x516bbe(0x82),!0x1),this[_0x516bbe(0x7c)]({'tag':_0x4d909e?_0x516bbe(0x86):'ul','attributes':{'class':['ck',_0x516bbe(0x6f),_0x516bbe(0x77),_0x516bbe(0x69),_0x909b5b['if'](_0x516bbe(0x82),_0x516bbe(0x71))],'role':_0x909b5b['to'](_0x516bbe(0x87)),'aria-label':_0x909b5b['to'](_0x516bbe(0x78)),'aria-labelledby':_0x909b5b['to'](_0x516bbe(0x7f))},'children':this[_0x516bbe(0x89)]}),this[_0x516bbe(0x8d)](_0x81cd6f[_0x516bbe(0x74)],_0x516bbe(0x75),()=>this[_0x516bbe(0x6e)]()),this[_0x516bbe(0x89)]['on'](_0x516bbe(0x6b),()=>this[_0x516bbe(0x6e)]());}[_0x3de60f(0x70)](){const _0x1c5080=_0x3de60f;super[_0x1c5080(0x70)](),this[_0x1c5080(0x6e)]();}[_0x3de60f(0x6e)](){const _0x52c8d3=_0x3de60f,_0x20a794=this[_0x52c8d3(0x8f)];_0x20a794&&(this[_0x52c8d3(0x82)]=Math[_0x52c8d3(0x90)](_0x20a794[_0x52c8d3(0x7b)],_0x20a794[_0x52c8d3(0x72)])>0.8*window[_0x52c8d3(0x7d)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3b8e(_0x275f34,_0x2cbe3c){const _0x47a577=_0x47a5();return _0x3b8e=function(_0x3b8ecc,_0x5cf7e3){_0x3b8ecc=_0x3b8ecc-0x73;let _0x279338=_0x47a577[_0x3b8ecc];return _0x279338;},_0x3b8e(_0x275f34,_0x2cbe3c);}const _0x598881=_0x3b8e;(function(_0x484409,_0x20cb8a){const _0x5ebceb=_0x3b8e,_0x7d64a3=_0x484409();while(!![]){try{const _0x2c0369=-parseInt(_0x5ebceb(0x8e))/0x1+parseInt(_0x5ebceb(0x7d))/0x2+-parseInt(_0x5ebceb(0x75))/0x3+parseInt(_0x5ebceb(0x74))/0x4+-parseInt(_0x5ebceb(0x77))/0x5*(-parseInt(_0x5ebceb(0x8d))/0x6)+parseInt(_0x5ebceb(0x8b))/0x7+-parseInt(_0x5ebceb(0x7c))/0x8*(parseInt(_0x5ebceb(0x85))/0x9);if(_0x2c0369===_0x20cb8a)break;else _0x7d64a3['push'](_0x7d64a3['shift']());}catch(_0x1f0583){_0x7d64a3['push'](_0x7d64a3['shift']());}}}(_0x47a5,0xca8c5));import{LabelView as _0x1673f8,View as _0x27aa9e}from'ckeditor5/src/ui.js';import{UserView as _0x644450}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x27aa9e{[_0x598881(0x80)];[_0x598881(0x84)];constructor(_0x4b3187,_0x4d1d37,_0x473208){const _0x494995=_0x598881;super(_0x4b3187);const _0x126fa6=this[_0x494995(0x90)];this[_0x494995(0x92)](_0x494995(0x86),!0x1),this[_0x494995(0x92)](_0x494995(0x7e),!0x0),this[_0x494995(0x92)](_0x494995(0x93),''),this[_0x494995(0x80)]=new _0x644450(_0x4b3187,_0x4d1d37),this[_0x494995(0x84)]=new lt(_0x4b3187,_0x4d1d37);const _0x29890f=new _0x1673f8(_0x4b3187);_0x29890f[_0x494995(0x78)][_0x494995(0x8c)]=_0x494995(0x87),_0x29890f[_0x494995(0x82)]=_0x4d1d37[_0x494995(0x7f)];const _0x148724={'tag':_0x494995(0x7b),'attributes':{'class':['ck',_0x494995(0x88)],'role':_0x494995(0x8a),'tabindex':_0x126fa6['to'](_0x494995(0x86),_0xbce53c=>!!_0xbce53c&&0x0),'aria-labelledby':_0x29890f['id'],'data-cke-tooltip-text':this[_0x494995(0x80)][_0x494995(0x7f)],'data-cke-tooltip-position':_0x126fa6['to'](_0x494995(0x93)),'data-cke-tooltip-disabled':_0x126fa6['to'](_0x494995(0x7e),_0x4fb28d=>!_0x4fb28d),'data-cke-tooltip-class':_0x494995(0x81)},'children':[this[_0x494995(0x80)],this[_0x494995(0x84)],_0x29890f]};_0x473208&&(_0x148724[_0x494995(0x8c)]=_0x494995(0x83),_0x148724['on']={'click':_0x126fa6['to'](()=>this[_0x494995(0x89)](_0x494995(0x73)))}),this[_0x494995(0x76)](_0x148724);}}class lt extends _0x27aa9e{constructor(_0x3dc0b5,_0x3563e0){const _0x4ff65d=_0x598881;super(_0x3dc0b5),this[_0x4ff65d(0x76)]({'tag':_0x4ff65d(0x87),'attributes':{'class':['ck',_0x4ff65d(0x8f),_0x3563e0[_0x4ff65d(0x79)][_0x4ff65d(0x7a)]()],'aria-hidden':_0x4ff65d(0x91)}});}}function _0x47a5(){const _0x53594e=['div','1296472sAmrkA','2251170PqsQVA','hasTooltip','name','userView','ck-presence-list__list-item__tooltip','text','button','markerView','45xNjGMW','isFocusable','span','ck-presence-list__list-item','fire','listitem','4639530NQVdSb','tag','6XeJiyz','232948iQEKGL','ck-presence-list__marker','bindTemplate','true','set','tooltipPosition','execute','532808NjbtOg','4010193nLKjiD','setTemplate','6440170ILHxWp','template','color','getBackgroundColorClass'];_0x47a5=function(){return _0x53594e;};return _0x47a5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4293f2=_0x5a84;function _0x5a84(_0x307ac1,_0x3e5db2){const _0x1a8b6f=_0x1a8b();return _0x5a84=function(_0x5a846e,_0x23566){_0x5a846e=_0x5a846e-0xe6;let _0x2ae26b=_0x1a8b6f[_0x5a846e];return _0x2ae26b;},_0x5a84(_0x307ac1,_0x3e5db2);}(function(_0x917c4,_0x5d25df){const _0x1006f1=_0x5a84,_0x1fd96a=_0x917c4();while(!![]){try{const _0x14704c=-parseInt(_0x1006f1(0x106))/0x1+parseInt(_0x1006f1(0xf8))/0x2*(-parseInt(_0x1006f1(0xf3))/0x3)+-parseInt(_0x1006f1(0xf7))/0x4+-parseInt(_0x1006f1(0xf4))/0x5*(parseInt(_0x1006f1(0x107))/0x6)+-parseInt(_0x1006f1(0xfc))/0x7*(-parseInt(_0x1006f1(0x10b))/0x8)+-parseInt(_0x1006f1(0xfd))/0x9+-parseInt(_0x1006f1(0xed))/0xa*(-parseInt(_0x1006f1(0xf0))/0xb);if(_0x14704c===_0x5d25df)break;else _0x1fd96a['push'](_0x1fd96a['shift']());}catch(_0x549391){_0x1fd96a['push'](_0x1fd96a['shift']());}}}(_0x1a8b,0x948ab));import{View as _0x319362}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xb2034f}from'ckeditor5/src/utils.js';import{getTranslation as _0x519977}from'../../common-translations.js';function _0x1a8b(){const _0x5981a8=['12KwnOtS','5469505fTXPgL','fire','hasPopup','286924icuLVy','295772IlHPqM','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','174167VbuEMA','166725kVUmMn','.ck-balloon-panel_with-arrow','setTemplate','list','element','setAttribute','keystrokes','presencelist:hide','querySelector','497904emNKJB','6SdXyKf','change:hasPopup','ck-presence-list__list','items','264MYlPqn','render','aria-expanded','bindTemplate','relatedTarget','presencelist:show','focus','div','Connected\x20users\x20list','removeAttribute','212470vXrcEr','listenTo','set','1067FPEXzT','isExpanded','.ck-presence-list__dropdown-list'];_0x1a8b=function(){return _0x5981a8;};return _0x1a8b();}export class PresenceInlineListView extends _0x319362{[_0x4293f2(0x10a)];[_0x4293f2(0x103)];constructor(_0x412bf1){const _0x276ea2=_0x4293f2;super(_0x412bf1);const _0x47b2b6=this[_0x276ea2(0xe6)];this[_0x276ea2(0x10a)]=this[_0x276ea2(0xf9)](),this[_0x276ea2(0x103)]=new _0xb2034f(),this[_0x276ea2(0xef)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x276ea2(0xff)]({'tag':_0x276ea2(0xea),'attributes':{'aria-haspopup':_0x47b2b6['if'](_0x276ea2(0xf6)),'aria-expanded':_0x47b2b6['to'](_0x276ea2(0xf1),_0x35f957=>this[_0x276ea2(0xf6)]&&String(_0x35f957)),'aria-label':_0x47b2b6['to'](_0x276ea2(0xf6),_0x4a2b9f=>_0x519977(_0x412bf1,_0x4a2b9f?_0x276ea2(0xfa):_0x276ea2(0xeb))),'role':_0x276ea2(0x100),'tabindex':_0x47b2b6['to'](_0x276ea2(0xf6),_0x3709a8=>!!_0x3709a8&&0x0),'class':['ck',_0x276ea2(0x109)]},'children':this[_0x276ea2(0x10a)],'on':{'mouseenter':_0x47b2b6['to'](()=>this[_0x276ea2(0xf5)](_0x276ea2(0xe8))),'mouseleave':_0x47b2b6['to'](_0x406425=>{const _0x3c9c2c=_0x276ea2,_0x37d268=_0x406425,_0xc51547=document[_0x3c9c2c(0x105)](_0x3c9c2c(0xf2)),_0x566034=document[_0x3c9c2c(0x105)](_0x3c9c2c(0xfe));_0xc51547?.[_0x3c9c2c(0xfb)](_0x37d268[_0x3c9c2c(0xe7)])||_0x566034?.[_0x3c9c2c(0xfb)](_0x37d268[_0x3c9c2c(0xe7)])||this[_0x3c9c2c(0xf5)](_0x3c9c2c(0x104));})}}),this['on'](_0x276ea2(0x108),(_0x21a9c6,_0x159194,_0x380a98)=>{const _0x53a519=_0x276ea2;this[_0x53a519(0x101)]&&(_0x380a98?this[_0x53a519(0x101)][_0x53a519(0x102)](_0x53a519(0x10d),String(this[_0x53a519(0xf1)])):this[_0x53a519(0x101)][_0x53a519(0xec)](_0x53a519(0x10d)));});}[_0x4293f2(0xe9)](){const _0x227eb0=_0x4293f2;this[_0x227eb0(0x101)][_0x227eb0(0xe9)]();}[_0x4293f2(0x10c)](){const _0x130734=_0x4293f2;super[_0x130734(0x10c)](),this[_0x130734(0x103)][_0x130734(0xee)](this[_0x130734(0x101)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5bed3f=_0x417a;function _0x10e2(){const _0x3868a0=['isCollapsed','10sbugzy','locale','ck-presence-list','hasPopup','561885KLFrrW','4671306kBlMkP','27482eNfMpr','ck-presence-list--collapsed','11StgrNP','ck-rounded-corners','bindTemplate','8755830cIWrNn','setTemplate','listenTo','change','inlineListView','ck-reset','tooltipPosition','826017pwmYlY','set','counterView','div','items','bind','2VhFcqb','8893250uYDsvj','656OepnQI','1021444hhAGdt','first'];_0x10e2=function(){return _0x3868a0;};return _0x10e2();}(function(_0x574c88,_0x274595){const _0x3cecfe=_0x417a,_0x46bc14=_0x574c88();while(!![]){try{const _0x5ebd88=-parseInt(_0x3cecfe(0x1f7))/0x1*(-parseInt(_0x3cecfe(0x1df))/0x2)+-parseInt(_0x3cecfe(0x1e9))/0x3+-parseInt(_0x3cecfe(0x1e2))/0x4*(-parseInt(_0x3cecfe(0x1e5))/0x5)+-parseInt(_0x3cecfe(0x1ea))/0x6+-parseInt(_0x3cecfe(0x1eb))/0x7*(-parseInt(_0x3cecfe(0x1e1))/0x8)+parseInt(_0x3cecfe(0x1f0))/0x9+-parseInt(_0x3cecfe(0x1e0))/0xa*(parseInt(_0x3cecfe(0x1ed))/0xb);if(_0x5ebd88===_0x274595)break;else _0x46bc14['push'](_0x46bc14['shift']());}catch(_0x116ccb){_0x46bc14['push'](_0x46bc14['shift']());}}}(_0x10e2,0xbd8b2));import{View as _0x19edfa}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x126dc4}from'./presencecounterview.js';import{PresenceInlineListView as _0x45e48f}from'./presenceinlinelistview.js';function _0x417a(_0x15e8b4,_0x586ba2){const _0x10e297=_0x10e2();return _0x417a=function(_0x417a63,_0x102c0b){_0x417a63=_0x417a63-0x1db;let _0x2d74ab=_0x10e297[_0x417a63];return _0x2d74ab;},_0x417a(_0x15e8b4,_0x586ba2);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x19edfa{[_0x5bed3f(0x1db)];[_0x5bed3f(0x1f4)];constructor(_0x4c6380,_0x3fee19=0x6){const _0xa97611=_0x5bed3f;super(_0x4c6380);const _0x4d2527=this[_0xa97611(0x1ef)];this[_0xa97611(0x1f8)](_0xa97611(0x1e4),!0x0),this[_0xa97611(0x1db)]=new _0x126dc4(this[_0xa97611(0x1e6)],_0x3fee19),this[_0xa97611(0x1f4)]=new _0x45e48f(_0x4c6380),this[_0xa97611(0x1f4)][_0xa97611(0x1de)](_0xa97611(0x1e8))['to'](this,_0xa97611(0x1e4)),this[_0xa97611(0x1f2)](this[_0xa97611(0x1f4)][_0xa97611(0x1dd)],_0xa97611(0x1f3),()=>{const _0x4cb00e=_0xa97611;for(const _0x320e7f of this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)])_0x320e7f[_0x4cb00e(0x1f6)]='s';this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)][_0x4cb00e(0x1e3)]&&(this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)][_0x4cb00e(0x1e3)][_0x4cb00e(0x1f6)]='se');}),this[_0xa97611(0x1f1)]({'tag':_0xa97611(0x1dc),'attributes':{'class':['ck',_0xa97611(0x1e7),_0xa97611(0x1f5),_0xa97611(0x1ee),_0x4d2527['if'](_0xa97611(0x1e4),_0xa97611(0x1ec))]},'children':[this[_0xa97611(0x1f4)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1b1d60)());[_0x2f1b3d(0xc6)];static get[_0x2f1b3d(0xfb)](){const _0x17ff13=_0x2f1b3d;return[_0x3bc4c6,_0x17ff13(0xcd),_0x40ced6,_0x93be5b];}static get[_0x2f1b3d(0xe0)](){const _0x33d33b=_0x2f1b3d;return _0x33d33b(0xc3);}static get[_0x2f1b3d(0xba)](){return!0x0;}static get[_0x2f1b3d(0xec)](){return!0x0;}constructor(_0x2db946){const _0x5e1b17=_0x2f1b3d;super(_0x2db946),this[_0x5e1b17(0xc6)]=new Map();}async[_0x2f1b3d(0xef)](){const _0x493fa8=_0x2f1b3d,_0x24ddb4=this[_0x493fa8(0xe1)],_0x1318d4=_0x24ddb4[_0x493fa8(0xe4)][_0x493fa8(0xb9)](_0x493fa8(0xcd));if(_0x24ddb4[_0x493fa8(0xe4)][_0x493fa8(0xb9)](_0x3bc4c6)[_0x493fa8(0xcb)](this),_0x1318d4[_0x493fa8(0xdc)]={'addCommentThread':async({channelId:_0x3600a4,threadId:_0x434113,comments:_0x55d206,resolvedAt:_0x25e8b8,resolvedBy:_0xfa552e,context:_0x1b94c4,attributes:_0x10eb3f})=>{const _0x4eeca4=_0x493fa8,_0x2c3125=await this[_0x4eeca4(0xb5)](_0x3600a4)[_0x4eeca4(0xae)]({'commentThreadId':_0x434113,'comments':_0x55d206[_0x4eeca4(0xb6)](_0x599909=>function(_0x204365,_0x36c51f,_0x5855c5){const _0x34b14c=_0x4eeca4;return{'commentThreadId':_0x5855c5,'commentId':_0x204365[_0x34b14c(0xc9)],'userId':_0x204365[_0x34b14c(0xf6)],'content':_0x204365[_0x34b14c(0xe3)],'documentId':_0x36c51f,'createdAt':_0x204365[_0x34b14c(0xd8)],'attributes':_0x204365[_0x34b14c(0xde)]||{}};}(_0x599909,_0x3600a4,_0x434113)),'resolvedAt':_0x25e8b8,'resolvedBy':_0xfa552e,'context':_0x1b94c4,'attributes':_0x10eb3f})[_0x4eeca4(0xab)](A);return{'threadId':_0x2c3125[_0x4eeca4(0xca)],'comments':_0x2c3125[_0x4eeca4(0x104)]};},'getCommentThread':async({channelId:_0x1cd52b,threadId:_0x292e47})=>{const _0x12c259=_0x493fa8,_0x10ad0d=await this[_0x12c259(0xb5)](_0x1cd52b)[_0x12c259(0xd6)](_0x292e47)[_0x12c259(0xab)](f)[_0x12c259(0xab)](A);return _0x10ad0d?_0x10ad0d[_0x12c259(0xaf)]?null:(await this[_0x12c259(0xf0)]([_0x10ad0d]),{'threadId':_0x10ad0d[_0x12c259(0xca)],'comments':_0x10ad0d[_0x12c259(0x104)][_0x12c259(0xb6)](p),'context':_0x10ad0d[_0x12c259(0xe1)],'resolvedAt':_0x10ad0d[_0x12c259(0xe7)],'resolvedBy':_0x10ad0d[_0x12c259(0xc7)],'attributes':_0x10ad0d[_0x12c259(0xde)]||{}}):null;},'updateCommentThread':async({channelId:_0x307c72,threadId:_0x876b0e,context:_0x400cba,unlinkedAt:_0x36c9ea,attributes:_0x2b5b62})=>this[_0x493fa8(0xb5)](_0x307c72)[_0x493fa8(0xfd)]({'commentThreadId':_0x876b0e,'context':_0x400cba,'attributes':_0x2b5b62,'unlinkedAt':_0x36c9ea})[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'resolveCommentThread':async({channelId:_0x3d6f3b,threadId:_0xb7d681})=>{const _0x389d04=_0x493fa8,_0x2dec02=await this[_0x389d04(0xb5)](_0x3d6f3b)[_0x389d04(0xea)](_0xb7d681)[_0x389d04(0xab)](f)[_0x389d04(0xab)](A);return{'threadId':_0x2dec02[_0x389d04(0xca)],'resolvedAt':_0x2dec02[_0x389d04(0xe7)],'resolvedBy':_0x2dec02[_0x389d04(0xc7)]};},'reopenCommentThread':async({channelId:_0x2e9650,threadId:_0x37e35c})=>this[_0x493fa8(0xb5)](_0x2e9650)[_0x493fa8(0xb4)](_0x37e35c)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'removeCommentThread':({channelId:_0x4dec51,threadId:_0x4c517f})=>this[_0x493fa8(0xb5)](_0x4dec51)[_0x493fa8(0x102)](_0x4c517f)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'addComment':({channelId:_0x520e65,threadId:_0x4ed0f2,commentId:_0x3ac8e0,content:_0xd1ad00,attributes:_0x28f7f1})=>this[_0x493fa8(0xb5)](_0x520e65)[_0x493fa8(0xbf)](_0x4ed0f2,_0x3ac8e0,_0xd1ad00,_0x28f7f1)[_0x493fa8(0xab)](A),'updateComment':({channelId:_0x390961,threadId:_0x27f542,commentId:_0x81aacc,content:_0x2e1cce,attributes:_0x32602d})=>this[_0x493fa8(0xb5)](_0x390961)[_0x493fa8(0xd7)](_0x27f542,_0x81aacc,_0x2e1cce,_0x32602d)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A),'removeComment':({channelId:_0x44261c,threadId:_0x54ad67,commentId:_0x2ac69b})=>this[_0x493fa8(0xb5)](_0x44261c)[_0x493fa8(0xc5)](_0x54ad67,_0x2ac69b)[_0x493fa8(0xab)](f)[_0x493fa8(0xab)](A)},_0x24ddb4 instanceof _0x52d8af){const _0x133327=_0x24ddb4[_0x493fa8(0xc2)][_0x493fa8(0xb9)](_0x493fa8(0xa9)),_0x35c0c8=_0x24ddb4[_0x493fa8(0xe4)][_0x493fa8(0xb9)](_0x40ced6);await this[_0x493fa8(0xd1)](_0x133327);const _0x36d7b5=await this[_0x493fa8(0xc6)][_0x493fa8(0xb9)](_0x133327)[_0x493fa8(0xcf)]();this[_0x493fa8(0xf4)](_0x35c0c8,_0x493fa8(0xac)+_0x133327,(_0x560b77,{session:_0x295ea9})=>{const _0x433c7e=_0x493fa8;_0x295ea9['id']===_0x35c0c8[_0x433c7e(0xdf)]&&(_0x560b77[_0x433c7e(0xb0)](),this[_0x433c7e(0xe1)][_0x433c7e(0xe4)][_0x433c7e(0xb9)](_0x433c7e(0x108))[_0x433c7e(0xc4)](_0x295ea9[_0x433c7e(0xd0)],_0x133327));}),_0x35c0c8[_0x493fa8(0xe8)](_0x133327,_0x36d7b5);}}async[_0x2f1b3d(0xd1)](_0x1d8393){const _0x3af8a4=_0x2f1b3d;if(this[_0x3af8a4(0xc6)][_0x3af8a4(0xf1)](_0x1d8393))throw new _0x5d1e6a(_0x3af8a4(0xf2),null,{'channelId':_0x1d8393});const _0x12b567=this[_0x3af8a4(0xe1)][_0x3af8a4(0xe4)][_0x3af8a4(0xb9)](_0x3af8a4(0xcd)),_0x38c711=new CloudServicesCommentsAdapter[(_0x3af8a4(0xd4))](_0x1d8393);this[_0x3af8a4(0xc6)][_0x3af8a4(0xfa)](_0x1d8393,_0x38c711),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0x101),(_0x269807,_0x31b60e)=>{const _0x18acf1=_0x3af8a4,{commentThreadId:_0x4290c4,documentId:_0x461974,context:_0x5f16d9,attributes:_0x2b5b9a,resolvedAt:_0x1481e1,resolvedBy:_0x2d97a2,comments:_0x59a41e}=_0x31b60e;_0x12b567[_0x18acf1(0xd6)](_0x4290c4)||_0x12b567[_0x18acf1(0xae)]({'threadId':_0x4290c4,'channelId':_0x461974,'comments':_0x59a41e?_0x59a41e[_0x18acf1(0xb6)](p):[],'context':_0x5f16d9,'attributes':_0x2b5b9a,'resolvedAt':_0x1481e1,'resolvedBy':_0x2d97a2,'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xf5),(_0xb579a1,{commentThreadId:_0x5d9325,documentId:_0x476f11,context:_0x5a6231,unlinkedAt:_0x40776e,attributes:_0x4d75de})=>{const _0x245f9f=_0x3af8a4;_0x12b567[_0x245f9f(0xd6)](_0x5d9325)&&_0x12b567[_0x245f9f(0xfd)]({'threadId':_0x5d9325,'channelId':_0x476f11,'context':_0x5a6231,'unlinkedAt':_0x40776e,'attributes':_0x4d75de,'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xbe),(_0x32f8db,{commentThreadId:_0x11f654,resolvedBy:_0x59e423,resolvedAt:_0x278226})=>{const _0x55629e=_0x3af8a4,_0x4d2995=_0x12b567[_0x55629e(0xd6)](_0x11f654);_0x4d2995&&_0x4d2995[_0x55629e(0xaa)]({'resolvedBy':_0x59e423,'resolvedAt':_0x278226,'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0x109),(_0x7adc5b,{commentThreadId:_0x4f4d8d})=>{const _0x4ebf41=_0x3af8a4,_0x351df6=_0x12b567[_0x4ebf41(0xd6)](_0x4f4d8d);_0x351df6&&_0x351df6[_0x4ebf41(0xdb)]({'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0x103),(_0x3d1f92,{commentThreadId:_0x59193e})=>{const _0x385d74=_0x3af8a4,_0x351d5e=_0x12b567[_0x385d74(0xd6)](_0x59193e);_0x351d5e&&_0x351d5e[_0x385d74(0xee)]({'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xe6),(_0x4ee68a,_0x526aaa)=>{const _0x523a23=_0x3af8a4,_0x4829ec=_0x526aaa[_0x523a23(0xca)],_0x151c99=_0x12b567[_0x523a23(0xd6)](_0x4829ec);_0x151c99&&_0x151c99[_0x523a23(0xbf)]({...p(_0x526aaa),'isFromAdapter':!0x0});}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xce),(_0x230f92,{commentThreadId:_0x132ff9,commentId:_0x5b39c3,content:_0x6ad5e4,attributes:_0x3e7c16})=>{const _0x46d43a=_0x3af8a4,_0x1b4e5a=_0x12b567[_0x46d43a(0xd6)](_0x132ff9);if(_0x1b4e5a){const _0x1391ca=_0x1b4e5a[_0x46d43a(0x10a)](_0x5b39c3);_0x1391ca&&_0x1391ca[_0x46d43a(0xe9)]({'content':_0x6ad5e4,'attributes':_0x3e7c16,'isFromAdapter':!0x0});}}),this[_0x3af8a4(0xf4)](_0x38c711,_0x3af8a4(0xfc),(_0x45e952,{commentThreadId:_0x2f8d9c,commentId:_0x5f2759})=>{const _0x28e153=_0x3af8a4,_0x369780=_0x12b567[_0x28e153(0xd6)](_0x2f8d9c);if(_0x369780){const _0x5779be=_0x369780[_0x28e153(0x10a)](_0x5f2759);_0x5779be&&_0x5779be[_0x28e153(0xee)]({'isFromAdapter':!0x0});}}),await this[_0x3af8a4(0x10b)](_0x1d8393);}[_0x2f1b3d(0x106)](){const _0x1014de=_0x2f1b3d;if(this[_0x1014de(0xe1)]instanceof _0x52d8af){const _0x346e3d=this[_0x1014de(0xe1)][_0x1014de(0xc2)][_0x1014de(0xb9)](_0x1014de(0xa9));this[_0x1014de(0xf9)](_0x346e3d);}}[_0x2f1b3d(0xf9)](_0x4701e9){const _0x38bca8=_0x2f1b3d;if(!this[_0x38bca8(0xc6)][_0x38bca8(0xf1)](_0x4701e9))throw new _0x5d1e6a(_0x38bca8(0xb8),null,{'channelId':_0x4701e9});this[_0x38bca8(0xb5)](_0x4701e9)[_0x38bca8(0xeb)](),this[_0x38bca8(0xc6)][_0x38bca8(0x100)](_0x4701e9);}async[_0x2f1b3d(0xe2)](){const _0x5e0d2b=_0x2f1b3d;for(const _0x5c6019 of this[_0x5e0d2b(0xc6)][_0x5e0d2b(0x10c)]())await this[_0x5e0d2b(0x10b)](_0x5c6019);if(this[_0x5e0d2b(0xe1)]instanceof _0x52d8af){const _0xa6ed07=this[_0x5e0d2b(0xe1)][_0x5e0d2b(0xc2)][_0x5e0d2b(0xb9)](_0x5e0d2b(0xa9)),_0x196134=this[_0x5e0d2b(0xe1)][_0x5e0d2b(0xe4)][_0x5e0d2b(0xb9)](_0x40ced6);_0x196134[_0x5e0d2b(0xbd)](_0xa6ed07);const _0x487886=await this[_0x5e0d2b(0xc6)][_0x5e0d2b(0xb9)](_0xa6ed07)[_0x5e0d2b(0xcf)]();_0x196134[_0x5e0d2b(0xe8)](_0xa6ed07,_0x487886);}}async[_0x2f1b3d(0x10b)](_0xc94569){const _0x52273b=_0x2f1b3d,{connection:_0x5e0ad2}=this[_0x52273b(0xe1)][_0x52273b(0xe4)][_0x52273b(0xb9)](_0x3bc4c6),_0x4b5aca=this[_0x52273b(0xe1)][_0x52273b(0xe4)][_0x52273b(0xb9)](_0x52273b(0xcd)),_0x575a94=this[_0x52273b(0xc6)][_0x52273b(0xb9)](_0xc94569),_0x413c6a=await _0x575a94[_0x52273b(0xbc)](_0x5e0ad2);await this[_0x52273b(0xf0)](_0x413c6a);const _0x509464=new Set(Array[_0x52273b(0xda)](_0x4b5aca[_0x52273b(0xf3)]({'channelId':_0xc94569}),_0x30a8bc=>_0x30a8bc['id']));for(const _0x522b1c of _0x413c6a)_0x522b1c[_0x52273b(0xaf)]||_0x509464[_0x52273b(0x100)](_0x522b1c[_0x52273b(0xca)]);for(const _0x46932a of _0x509464)_0x4b5aca[_0x52273b(0xd6)](_0x46932a)[_0x52273b(0xee)]({'isFromAdapter':!0x0});for(const _0x227818 of _0x413c6a){let _0x2bfc1e=_0x4b5aca[_0x52273b(0xd6)](_0x227818[_0x52273b(0xca)]);const {commentThreadId:_0x18963f,context:_0x618401,attributes:_0x2e0714,resolvedBy:_0x3b239e,resolvedAt:_0x275c15,unlinkedAt:_0x55b2cf,deletedAt:_0x26c7d4}=_0x227818;if(_0x26c7d4)continue;_0x2bfc1e||(_0x2bfc1e=_0x4b5aca[_0x52273b(0xae)]({'channelId':_0xc94569,'threadId':_0x18963f,'context':_0x618401,'attributes':_0x2e0714||{},'resolvedBy':_0x3b239e,'resolvedAt':_0x275c15,'unlinkedAt':_0x55b2cf,'isFromAdapter':!0x0}));const _0x5dfa1a=new Set(Array[_0x52273b(0xda)](_0x2bfc1e[_0x52273b(0x104)],_0x427e22=>_0x427e22['id']));for(const _0x43522e of _0x227818[_0x52273b(0x104)])_0x5dfa1a[_0x52273b(0x100)](_0x43522e[_0x52273b(0xc9)]);for(const _0x29d07e of _0x5dfa1a)_0x2bfc1e[_0x52273b(0x10a)](_0x29d07e)[_0x52273b(0xee)]({'isFromAdapter':!0x0});for(const _0x8b5d9c of _0x227818[_0x52273b(0x104)]){const _0x10d166=_0x2bfc1e[_0x52273b(0x10a)](_0x8b5d9c[_0x52273b(0xc9)]);_0x10d166?_0x10d166[_0x52273b(0xe3)]!==_0x8b5d9c[_0x52273b(0xe3)]&&_0x10d166[_0x52273b(0xe9)]({'content':_0x8b5d9c[_0x52273b(0xe3)],'isFromAdapter':!0x0}):_0x2bfc1e[_0x52273b(0xbf)](Object[_0x52273b(0xa7)](p(_0x8b5d9c),{'isFromAdapter':!0x0}));}}}[_0x2f1b3d(0xb5)](_0x40a49d){const _0x277c0b=_0x2f1b3d;if(!this[_0x277c0b(0xc6)][_0x277c0b(0xf1)](_0x40a49d))throw new _0x5d1e6a(_0x277c0b(0xb7),null,{'channelId':_0x40a49d});return this[_0x277c0b(0xc6)][_0x277c0b(0xb9)](_0x40a49d);}async[_0x2f1b3d(0xf0)](_0x172e79){const _0x581658=_0x2f1b3d,_0x37d820=this[_0x581658(0xe1)][_0x581658(0xe4)][_0x581658(0xb9)](_0x93be5b),{connection:_0x39d43e}=this[_0x581658(0xe1)][_0x581658(0xe4)][_0x581658(0xb9)](_0x3bc4c6),_0x38c74d=new Set();for(const {resolvedBy:_0x32713f,comments:_0x5d4b6e}of _0x172e79){_0x32713f&&!_0x37d820[_0x581658(0xcc)](_0x32713f)&&_0x38c74d[_0x581658(0xc8)](_0x32713f);for(const {userId:_0x25b853}of _0x5d4b6e)_0x37d820[_0x581658(0xcc)](_0x25b853)||_0x38c74d[_0x581658(0xc8)](_0x25b853);}if(0x0===_0x38c74d[_0x581658(0xe5)])return;const _0x3ebfa9=await _0x2ca891[_0x581658(0xff)](_0x39d43e,Array[_0x581658(0xda)](_0x38c74d));for(const _0x5ba410 of _0x3ebfa9)_0x37d820[_0x581658(0xcc)](_0x5ba410['id'])||_0x37d820[_0x581658(0xb2)](_0x5ba410);}}async function f(_0x408dd3){const _0x56268e=_0x2f1b3d;if(_0x56268e(0x10d)!==_0x408dd3[_0x56268e(0x105)])throw _0x408dd3;}function A(_0x42aa65){const _0xaa0c2=_0x2f1b3d;if((_0x3d5b98=_0x42aa65)[_0xaa0c2(0xbb)][_0xaa0c2(0x107)](_0xaa0c2(0xc1))||_0x3d5b98[_0xaa0c2(0xbb)][_0xaa0c2(0x107)](_0xaa0c2(0xd5))||_0x3d5b98[_0xaa0c2(0xbb)][_0xaa0c2(0x107)](_0xaa0c2(0xa8)))return new Promise(()=>{});var _0x3d5b98;throw _0x42aa65;}function p(_0x196dcf){const _0x260ff8=_0x2f1b3d;return{'threadId':_0x196dcf[_0x260ff8(0xca)],'commentId':_0x196dcf[_0x260ff8(0xc9)],'content':_0x196dcf[_0x260ff8(0xe3)],'createdAt':_0x196dcf[_0x260ff8(0xd8)],'authorId':_0x196dcf[_0x260ff8(0xb1)],'attributes':_0x196dcf[_0x260ff8(0xde)]||{}};}
|
|
23
|
+
const _0x53117a=_0x8b7a;(function(_0x48fc53,_0x53c715){const _0x5abc52=_0x8b7a,_0x520b94=_0x48fc53();while(!![]){try{const _0x392c70=-parseInt(_0x5abc52(0xa4))/0x1+parseInt(_0x5abc52(0xcd))/0x2*(parseInt(_0x5abc52(0xe2))/0x3)+-parseInt(_0x5abc52(0xae))/0x4+parseInt(_0x5abc52(0xb0))/0x5+-parseInt(_0x5abc52(0xb7))/0x6*(-parseInt(_0x5abc52(0xb4))/0x7)+parseInt(_0x5abc52(0xdf))/0x8*(parseInt(_0x5abc52(0xcc))/0x9)+-parseInt(_0x5abc52(0xd4))/0xa*(parseInt(_0x5abc52(0xb5))/0xb);if(_0x392c70===_0x53c715)break;else _0x520b94['push'](_0x520b94['shift']());}catch(_0x85b8c2){_0x520b94['push'](_0x520b94['shift']());}}}(_0x5cdd,0x198ed));import{Context as _0x5874a4,ContextPlugin as _0x1b8071}from'ckeditor5/src/core.js';function _0x5cdd(){const _0x43c5c2=['cloud-services-internal-error:\x20Request\x20timeout.','reopen','comments','commentThreadId','commentRemoved','commentThreadReopened','keys','27YTuqsq','50YcEgut','updateCommentThread','map','resolveCommentThread','setPermissions','unregister','getCommentThread','10pfcXvl','collaboration.channelId','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','catch','get','Permissions','cloudservicescommentsadapter-connect-already-connected','assign','config','cloudservicescommentsadapter-disconnect-not-exist','395784ocyTiv','sessionAdd:','getConnectedSessions','15570VqgWVO','_terminateService','addToReconnectionStack','_setUpService','listenTo','commentThreadRemoved','delete','_services','_getService','reconnect','commentThreadUpdated','removeCommentThread','attributes','off','addComment','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','_connectService','connect','destroy','reopenCommentThread','authorId','has','CloudServicesCommentsAdapter','userId','startsWith','code','getComment','init','update','set','remove','_fetchMissingUsersForThreads','isPremiumPlugin','add','context','getMany','cloudservicescommentsadapter-service-not-exist','CommentsService','commentThreadResolved','addCommentThread','101906AClsOg','commentThreadAdded','requires','commentId','commentUpdated','resolvedAt','from','404','content','getCommentThreads','786284euQcGG','isOfficialPlugin','851170ZtdvCQ','addUser','message','pluginName','665fWkvDp','1223926OXOgcV','commentAdded','4170ZvuYdV','register','disconnect','resolve','deletedAt','permissions','mySessionId','updateComment','adapter','plugins','removeComment','createdAt','getUser','size'];_0x5cdd=function(){return _0x43c5c2;};return _0x5cdd();}function _0x8b7a(_0x34231e,_0x2a7d15){const _0x5cdd6b=_0x5cdd();return _0x8b7a=function(_0x8b7afe,_0x1cb667){_0x8b7afe=_0x8b7afe-0x9b;let _0x20a0a9=_0x5cdd6b[_0x8b7afe];return _0x20a0a9;},_0x8b7a(_0x34231e,_0x2a7d15);}import{CKEditorError as _0x30cf86}from'ckeditor5/src/utils.js';import{Users as _0x22227d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3f892e,User as _0x1ee747}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x37f22d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5106ee}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1b8071{static [_0x53117a(0xa1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3f892e)());[_0x53117a(0xe9)];static get[_0x53117a(0xa6)](){const _0x556456=_0x53117a;return[_0x37f22d,_0x556456(0xf2),_0x5106ee,_0x22227d];}static get[_0x53117a(0xb3)](){const _0xd34bc8=_0x53117a;return _0xd34bc8(0xf9);}static get[_0x53117a(0xaf)](){return!0x0;}static get[_0x53117a(0x9c)](){return!0x0;}constructor(_0x9f4598){const _0x577877=_0x53117a;super(_0x9f4598),this[_0x577877(0xe9)]=new Map();}async[_0x53117a(0xfe)](){const _0x2e29f2=_0x53117a,_0x103eda=this[_0x2e29f2(0x9e)],_0x1c5e03=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x2e29f2(0xf2));if(_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x37f22d)[_0x2e29f2(0xe4)](this),_0x1c5e03[_0x2e29f2(0xbf)]={'addCommentThread':async({channelId:_0xe78910,threadId:_0x21a432,comments:_0x1abfa9,resolvedAt:_0x1f89a6,resolvedBy:_0x40f417,context:_0x2b11d0,attributes:_0x428d70})=>{const _0x570256=_0x2e29f2,_0x2c080e=await this[_0x570256(0xea)](_0xe78910)[_0x570256(0xa3)]({'commentThreadId':_0x21a432,'comments':_0x1abfa9[_0x570256(0xcf)](_0x4d6d22=>function(_0x435fa8,_0x539b17,_0x2d4c2c){const _0x519ac2=_0x570256;return{'commentThreadId':_0x2d4c2c,'commentId':_0x435fa8[_0x519ac2(0xa7)],'userId':_0x435fa8[_0x519ac2(0xf7)],'content':_0x435fa8[_0x519ac2(0xac)],'documentId':_0x539b17,'createdAt':_0x435fa8[_0x519ac2(0xc2)],'attributes':_0x435fa8[_0x519ac2(0xee)]||{}};}(_0x4d6d22,_0xe78910,_0x21a432)),'resolvedAt':_0x1f89a6,'resolvedBy':_0x40f417,'context':_0x2b11d0,'attributes':_0x428d70})[_0x570256(0xd8)](z);return{'threadId':_0x2c080e[_0x570256(0xc8)],'comments':_0x2c080e[_0x570256(0xc7)]};},'getCommentThread':async({channelId:_0x407d8c,threadId:_0x38993a})=>{const _0x5a6d43=_0x2e29f2,_0x114a58=await this[_0x5a6d43(0xea)](_0x407d8c)[_0x5a6d43(0xd3)](_0x38993a)[_0x5a6d43(0xd8)](N)[_0x5a6d43(0xd8)](z);return _0x114a58?_0x114a58[_0x5a6d43(0xbb)]?null:(await this[_0x5a6d43(0x9b)]([_0x114a58]),{'threadId':_0x114a58[_0x5a6d43(0xc8)],'comments':_0x114a58[_0x5a6d43(0xc7)][_0x5a6d43(0xcf)](H),'context':_0x114a58[_0x5a6d43(0x9e)],'resolvedAt':_0x114a58[_0x5a6d43(0xa9)],'resolvedBy':_0x114a58[_0x5a6d43(0xd6)],'attributes':_0x114a58[_0x5a6d43(0xee)]||{}}):null;},'updateCommentThread':async({channelId:_0x5216c6,threadId:_0x31d399,context:_0x446ebc,unlinkedAt:_0x5aa0fc,attributes:_0x376408})=>this[_0x2e29f2(0xea)](_0x5216c6)[_0x2e29f2(0xce)]({'commentThreadId':_0x31d399,'context':_0x446ebc,'attributes':_0x376408,'unlinkedAt':_0x5aa0fc})[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'resolveCommentThread':async({channelId:_0x13a948,threadId:_0x3c5ae1})=>{const _0x1c1a77=_0x2e29f2,_0x2744d7=await this[_0x1c1a77(0xea)](_0x13a948)[_0x1c1a77(0xd0)](_0x3c5ae1)[_0x1c1a77(0xd8)](N)[_0x1c1a77(0xd8)](z);return{'threadId':_0x2744d7[_0x1c1a77(0xc8)],'resolvedAt':_0x2744d7[_0x1c1a77(0xa9)],'resolvedBy':_0x2744d7[_0x1c1a77(0xd6)]};},'reopenCommentThread':async({channelId:_0x3abf11,threadId:_0x211cf4})=>this[_0x2e29f2(0xea)](_0x3abf11)[_0x2e29f2(0xf6)](_0x211cf4)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeCommentThread':({channelId:_0x2b4794,threadId:_0x3203c9})=>this[_0x2e29f2(0xea)](_0x2b4794)[_0x2e29f2(0xed)](_0x3203c9)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'addComment':({channelId:_0x445a28,threadId:_0x2f07b2,commentId:_0x173659,content:_0xe86d88,attributes:_0x118d71})=>this[_0x2e29f2(0xea)](_0x445a28)[_0x2e29f2(0xf0)](_0x2f07b2,_0x173659,_0xe86d88,_0x118d71)[_0x2e29f2(0xd8)](z),'updateComment':({channelId:_0x2b3f0a,threadId:_0x2037bc,commentId:_0x4433fa,content:_0x522379,attributes:_0x470f78})=>this[_0x2e29f2(0xea)](_0x2b3f0a)[_0x2e29f2(0xbe)](_0x2037bc,_0x4433fa,_0x522379,_0x470f78)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeComment':({channelId:_0x48695c,threadId:_0x20bf62,commentId:_0x1f2adc})=>this[_0x2e29f2(0xea)](_0x48695c)[_0x2e29f2(0xc1)](_0x20bf62,_0x1f2adc)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z)},_0x103eda instanceof _0x5874a4){const _0x353e45=_0x103eda[_0x2e29f2(0xdd)][_0x2e29f2(0xd9)](_0x2e29f2(0xd5)),_0x463f25=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x5106ee);await this[_0x2e29f2(0xe5)](_0x353e45);const _0x9c76f5=await this[_0x2e29f2(0xe9)][_0x2e29f2(0xd9)](_0x353e45)[_0x2e29f2(0xe1)]();this[_0x2e29f2(0xe6)](_0x463f25,_0x2e29f2(0xe0)+_0x353e45,(_0x4e585a,{session:_0x19c9b6})=>{const _0xf89d54=_0x2e29f2;_0x19c9b6['id']===_0x463f25[_0xf89d54(0xbd)]&&(_0x4e585a[_0xf89d54(0xef)](),this[_0xf89d54(0x9e)][_0xf89d54(0xc0)][_0xf89d54(0xd9)](_0xf89d54(0xda))[_0xf89d54(0xd1)](_0x19c9b6[_0xf89d54(0xbc)],_0x353e45));}),_0x463f25[_0x2e29f2(0xb8)](_0x353e45,_0x9c76f5);}}async[_0x53117a(0xe5)](_0x47c7a2){const _0x1a0b28=_0x53117a;if(this[_0x1a0b28(0xe9)][_0x1a0b28(0xf8)](_0x47c7a2))throw new _0x30cf86(_0x1a0b28(0xdb),null,{'channelId':_0x47c7a2});const _0x195c0d=this[_0x1a0b28(0x9e)][_0x1a0b28(0xc0)][_0x1a0b28(0xd9)](_0x1a0b28(0xf2)),_0x1158eb=new CloudServicesCommentsAdapter[(_0x1a0b28(0xa1))](_0x47c7a2);this[_0x1a0b28(0xe9)][_0x1a0b28(0x100)](_0x47c7a2,_0x1158eb),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa5),(_0x5017a3,_0x1a6431)=>{const _0x10d271=_0x1a0b28,{commentThreadId:_0x80eb69,documentId:_0x2c7cbd,context:_0x2f1063,attributes:_0x2931ad,resolvedAt:_0x1f56e2,resolvedBy:_0x21fec1,comments:_0x36c8d7}=_0x1a6431;_0x195c0d[_0x10d271(0xd3)](_0x80eb69)||_0x195c0d[_0x10d271(0xa3)]({'threadId':_0x80eb69,'channelId':_0x2c7cbd,'comments':_0x36c8d7?_0x36c8d7[_0x10d271(0xcf)](H):[],'context':_0x2f1063,'attributes':_0x2931ad,'resolvedAt':_0x1f56e2,'resolvedBy':_0x21fec1,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xec),(_0x16fd3b,{commentThreadId:_0x5cd069,documentId:_0x1d9aeb,context:_0x12898f,unlinkedAt:_0x30b53e,attributes:_0x18a0cf})=>{const _0x3bb97b=_0x1a0b28;_0x195c0d[_0x3bb97b(0xd3)](_0x5cd069)&&_0x195c0d[_0x3bb97b(0xce)]({'threadId':_0x5cd069,'channelId':_0x1d9aeb,'context':_0x12898f,'unlinkedAt':_0x30b53e,'attributes':_0x18a0cf,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa2),(_0x1d5e0a,{commentThreadId:_0x16d595,resolvedBy:_0x30fa0c,resolvedAt:_0x344f33})=>{const _0x32c380=_0x1a0b28,_0x3a46bb=_0x195c0d[_0x32c380(0xd3)](_0x16d595);_0x3a46bb&&_0x3a46bb[_0x32c380(0xba)]({'resolvedBy':_0x30fa0c,'resolvedAt':_0x344f33,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xca),(_0x317d3b,{commentThreadId:_0x32f775})=>{const _0x307099=_0x1a0b28,_0xaa6d62=_0x195c0d[_0x307099(0xd3)](_0x32f775);_0xaa6d62&&_0xaa6d62[_0x307099(0xc6)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xe7),(_0x2115fa,{commentThreadId:_0x288605})=>{const _0x2a9bf5=_0x1a0b28,_0x2ca621=_0x195c0d[_0x2a9bf5(0xd3)](_0x288605);_0x2ca621&&_0x2ca621[_0x2a9bf5(0x101)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xb6),(_0x669980,_0xa98c80)=>{const _0x2319e7=_0x1a0b28,_0x348c62=_0xa98c80[_0x2319e7(0xc8)],_0x2c25a2=_0x195c0d[_0x2319e7(0xd3)](_0x348c62);_0x2c25a2&&_0x2c25a2[_0x2319e7(0xf0)]({...H(_0xa98c80),'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa8),(_0x1b2c6b,{commentThreadId:_0x51f401,commentId:_0x3dc6c0,content:_0x3a6456,attributes:_0x4538fd})=>{const _0x953e17=_0x1a0b28,_0x221bb8=_0x195c0d[_0x953e17(0xd3)](_0x51f401);if(_0x221bb8){const _0x416ba7=_0x221bb8[_0x953e17(0xfd)](_0x3dc6c0);_0x416ba7&&_0x416ba7[_0x953e17(0xff)]({'content':_0x3a6456,'attributes':_0x4538fd,'isFromAdapter':!0x0});}}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xc9),(_0xdfe83,{commentThreadId:_0x35a581,commentId:_0x2bbc35})=>{const _0x54b2b2=_0x1a0b28,_0x5ef8db=_0x195c0d[_0x54b2b2(0xd3)](_0x35a581);if(_0x5ef8db){const _0x51c740=_0x5ef8db[_0x54b2b2(0xfd)](_0x2bbc35);_0x51c740&&_0x51c740[_0x54b2b2(0x101)]({'isFromAdapter':!0x0});}}),await this[_0x1a0b28(0xf3)](_0x47c7a2);}[_0x53117a(0xf5)](){const _0x1bcae2=_0x53117a;if(this[_0x1bcae2(0x9e)]instanceof _0x5874a4){const _0x3bde14=this[_0x1bcae2(0x9e)][_0x1bcae2(0xdd)][_0x1bcae2(0xd9)](_0x1bcae2(0xd5));this[_0x1bcae2(0xe3)](_0x3bde14);}}[_0x53117a(0xe3)](_0x2b0394){const _0x382e88=_0x53117a;if(!this[_0x382e88(0xe9)][_0x382e88(0xf8)](_0x2b0394))throw new _0x30cf86(_0x382e88(0xde),null,{'channelId':_0x2b0394});this[_0x382e88(0xea)](_0x2b0394)[_0x382e88(0xb9)](),this[_0x382e88(0xe9)][_0x382e88(0xe8)](_0x2b0394);}async[_0x53117a(0xeb)](){const _0x23e9ba=_0x53117a;for(const _0x29b19c of this[_0x23e9ba(0xe9)][_0x23e9ba(0xcb)]())await this[_0x23e9ba(0xf3)](_0x29b19c);if(this[_0x23e9ba(0x9e)]instanceof _0x5874a4){const _0x244f1c=this[_0x23e9ba(0x9e)][_0x23e9ba(0xdd)][_0x23e9ba(0xd9)](_0x23e9ba(0xd5)),_0x215548=this[_0x23e9ba(0x9e)][_0x23e9ba(0xc0)][_0x23e9ba(0xd9)](_0x5106ee);_0x215548[_0x23e9ba(0xd2)](_0x244f1c);const _0x3144a8=await this[_0x23e9ba(0xe9)][_0x23e9ba(0xd9)](_0x244f1c)[_0x23e9ba(0xe1)]();_0x215548[_0x23e9ba(0xb8)](_0x244f1c,_0x3144a8);}}async[_0x53117a(0xf3)](_0x12de3c){const _0xc6b66a=_0x53117a,{connection:_0x1610c8}=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0x37f22d),_0x2dd3c3=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0xc6b66a(0xf2)),_0x5ae082=this[_0xc6b66a(0xe9)][_0xc6b66a(0xd9)](_0x12de3c),_0x4a5789=await _0x5ae082[_0xc6b66a(0xf4)](_0x1610c8);await this[_0xc6b66a(0x9b)](_0x4a5789);const _0x1f1c24=new Set(Array[_0xc6b66a(0xaa)](_0x2dd3c3[_0xc6b66a(0xad)]({'channelId':_0x12de3c}),_0x13606f=>_0x13606f['id']));for(const _0x49a986 of _0x4a5789)_0x49a986[_0xc6b66a(0xbb)]||_0x1f1c24[_0xc6b66a(0xe8)](_0x49a986[_0xc6b66a(0xc8)]);for(const _0x5df257 of _0x1f1c24)_0x2dd3c3[_0xc6b66a(0xd3)](_0x5df257)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x1114d9 of _0x4a5789){let _0x14d5ea=_0x2dd3c3[_0xc6b66a(0xd3)](_0x1114d9[_0xc6b66a(0xc8)]);const {commentThreadId:_0x3172ed,context:_0x50e7f1,attributes:_0x138d6e,resolvedBy:_0x5e8660,resolvedAt:_0x5a037c,unlinkedAt:_0x560e08,deletedAt:_0x4793ba}=_0x1114d9;if(_0x4793ba)continue;_0x14d5ea||(_0x14d5ea=_0x2dd3c3[_0xc6b66a(0xa3)]({'channelId':_0x12de3c,'threadId':_0x3172ed,'context':_0x50e7f1,'attributes':_0x138d6e||{},'resolvedBy':_0x5e8660,'resolvedAt':_0x5a037c,'unlinkedAt':_0x560e08,'isFromAdapter':!0x0}));const _0x14caa5=new Set(Array[_0xc6b66a(0xaa)](_0x14d5ea[_0xc6b66a(0xc7)],_0x453c6d=>_0x453c6d['id']));for(const _0x164030 of _0x1114d9[_0xc6b66a(0xc7)])_0x14caa5[_0xc6b66a(0xe8)](_0x164030[_0xc6b66a(0xa7)]);for(const _0x5244e1 of _0x14caa5)_0x14d5ea[_0xc6b66a(0xfd)](_0x5244e1)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x553e57 of _0x1114d9[_0xc6b66a(0xc7)]){const _0x29f302=_0x14d5ea[_0xc6b66a(0xfd)](_0x553e57[_0xc6b66a(0xa7)]);_0x29f302?_0x29f302[_0xc6b66a(0xac)]!==_0x553e57[_0xc6b66a(0xac)]&&_0x29f302[_0xc6b66a(0xff)]({'content':_0x553e57[_0xc6b66a(0xac)],'isFromAdapter':!0x0}):_0x14d5ea[_0xc6b66a(0xf0)](Object[_0xc6b66a(0xdc)](H(_0x553e57),{'isFromAdapter':!0x0}));}}}[_0x53117a(0xea)](_0x504469){const _0x48d60c=_0x53117a;if(!this[_0x48d60c(0xe9)][_0x48d60c(0xf8)](_0x504469))throw new _0x30cf86(_0x48d60c(0xa0),null,{'channelId':_0x504469});return this[_0x48d60c(0xe9)][_0x48d60c(0xd9)](_0x504469);}async[_0x53117a(0x9b)](_0x45a6e3){const _0x4d755b=_0x53117a,_0x29a723=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x22227d),{connection:_0x2a9e3c}=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x37f22d),_0x5bb918=new Set();for(const {resolvedBy:_0x40a8a6,comments:_0x5bd900}of _0x45a6e3){_0x40a8a6&&!_0x29a723[_0x4d755b(0xc3)](_0x40a8a6)&&_0x5bb918[_0x4d755b(0x9d)](_0x40a8a6);for(const {userId:_0x54287a}of _0x5bd900)_0x29a723[_0x4d755b(0xc3)](_0x54287a)||_0x5bb918[_0x4d755b(0x9d)](_0x54287a);}if(0x0===_0x5bb918[_0x4d755b(0xc4)])return;const _0x843ec7=await _0x1ee747[_0x4d755b(0x9f)](_0x2a9e3c,Array[_0x4d755b(0xaa)](_0x5bb918));for(const _0x5979f2 of _0x843ec7)_0x29a723[_0x4d755b(0xc3)](_0x5979f2['id'])||_0x29a723[_0x4d755b(0xb1)](_0x5979f2);}}async function N(_0x337e37){const _0x2c6883=_0x53117a;if(_0x2c6883(0xab)!==_0x337e37[_0x2c6883(0xfc)])throw _0x337e37;}function z(_0x4a5210){const _0x2a137a=_0x53117a;if((_0x579794=_0x4a5210)[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xd7))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xf1))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xc5)))return new Promise(()=>{});var _0x579794;throw _0x4a5210;}function H(_0x53ced3){const _0x553338=_0x53117a;return{'threadId':_0x53ced3[_0x553338(0xc8)],'commentId':_0x53ced3[_0x553338(0xa7)],'content':_0x53ced3[_0x553338(0xac)],'createdAt':_0x53ced3[_0x553338(0xc2)],'authorId':_0x53ced3[_0x553338(0xfa)],'attributes':_0x53ced3[_0x553338(0xee)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0xf16628)());[_0x1d1ad4(0x190)];[_0x1d1ad4(0xfc)];[_0x1d1ad4(0xe6)];[_0x1d1ad4(0xde)];[_0x1d1ad4(0x100)];[_0x1d1ad4(0x136)];[_0x1d1ad4(0x10a)];[_0x1d1ad4(0xae)];[_0x1d1ad4(0x161)];[_0x1d1ad4(0xcb)];[_0x1d1ad4(0x14e)];[_0x1d1ad4(0xbc)];[_0x1d1ad4(0xe3)];[_0x1d1ad4(0x134)];[_0x1d1ad4(0xc7)];[_0x1d1ad4(0x193)];[_0x1d1ad4(0x142)];[_0x1d1ad4(0xce)];static get[_0x1d1ad4(0x165)](){return[_0x2fd103,_0x58fd59,_0x305a85,_0x569255,_0x4e5ad5,_0x1e655b];}static get[_0x1d1ad4(0xdc)](){const _0x453f4e=_0x1d1ad4;return _0x453f4e(0xb3);}static get[_0x1d1ad4(0x1a6)](){return!0x0;}static get[_0x1d1ad4(0x166)](){return!0x0;}get[_0x1d1ad4(0x11a)](){const _0x55b8f9=_0x1d1ad4;return this[_0x55b8f9(0xec)]+this[_0x55b8f9(0x190)];}get[_0x1d1ad4(0xec)](){const _0x3ac0e9=_0x1d1ad4;return this[_0x3ac0e9(0xe6)][_0x3ac0e9(0x175)]-this[_0x3ac0e9(0x190)];}get[_0x1d1ad4(0xaf)](){const _0x1bb6a3=_0x1d1ad4,_0x57680a=this[_0x1bb6a3(0xe6)][_0x1bb6a3(0xd4)]();for(let _0x20dc99=_0x57680a[_0x1bb6a3(0x181)]-0x1;_0x20dc99>=0x0;_0x20dc99--){const _0x1c639b=_0x57680a[_0x20dc99];if(!this[_0x1bb6a3(0x142)][_0x1bb6a3(0xa6)](_0x1c639b))return _0x1c639b[_0x1bb6a3(0x13c)]+0x1-this[_0x1bb6a3(0x190)];}return 0x0;}constructor(_0x5e4350){const _0x2c584c=_0x1d1ad4;if(super(_0x5e4350),this[_0x2c584c(0x190)]=0x0,this[_0x2c584c(0xfc)]=null,this[_0x2c584c(0xe6)]=new _0x46e51c(),this[_0x2c584c(0x172)][_0x2c584c(0x12b)][_0x2c584c(0x105)](_0x2c584c(0x12d),{}),this[_0x2c584c(0xde)]=this[_0x2c584c(0x172)][_0x2c584c(0x12b)][_0x2c584c(0xee)](_0x2c584c(0x15c)),!this[_0x2c584c(0xde)])throw new _0x38eac8(_0x2c584c(0x19b),this);const _0xedb06e=_0x5e4350[_0x2c584c(0x12b)][_0x2c584c(0xee)](_0x2c584c(0xf5))||_0x2973a2;this[_0x2c584c(0x100)]=new RealTimeCollaborationClient[(_0x2c584c(0x10f))](_0xedb06e,this[_0x2c584c(0xde)]),this[_0x2c584c(0x136)]=this[_0x2c584c(0x172)][_0x2c584c(0xb9)][_0x2c584c(0x107)],this[_0x2c584c(0x10a)]=new _0x5aa8f9(),this[_0x2c584c(0xae)]=[],this[_0x2c584c(0x161)]=new WeakSet(),this[_0x2c584c(0xcb)]=new Set(),this[_0x2c584c(0x15e)](_0x2c584c(0x10e),!0x1),this[_0x2c584c(0x15e)](_0x2c584c(0x13d),!0x1),this[_0x2c584c(0x14e)]=null,this[_0x2c584c(0xbc)]=!0x1,this[_0x2c584c(0xe3)]=null,this[_0x2c584c(0x134)]=0x12c,this[_0x2c584c(0xc7)]=this[_0x2c584c(0x134)],this[_0x2c584c(0x193)]=null,this[_0x2c584c(0x142)]=new WeakSet(),this[_0x2c584c(0xce)]=new J(this[_0x2c584c(0x142)]);}[_0x1d1ad4(0xab)](){const _0x18aee0=_0x1d1ad4,_0x270d5f=this[_0x18aee0(0x172)],_0x342a16=_0x270d5f[_0x18aee0(0xff)][_0x18aee0(0xee)](_0x4e5ad5),_0xb1c407=_0x270d5f[_0x18aee0(0xff)][_0x18aee0(0xee)](_0x2fd103);this[_0x18aee0(0x12a)](_0x342a16,_0x18aee0(0xe5),(_0x7cfa05,_0x1c4592)=>{const _0x1c4acb=_0x18aee0,_0x3fab07=_0x1c4592[0x0];_0x3fab07[_0x1c4acb(0x155)]&&(_0x7cfa05[_0x1c4acb(0xd3)]=_0x342a16[_0x1c4acb(0xb0)](_0x3fab07[_0x1c4acb(0x155)]),_0x7cfa05[_0x1c4acb(0xfa)]()),null===_0x3fab07[_0x1c4acb(0x155)]&&(_0x7cfa05[_0x1c4acb(0xd3)]=null,_0x7cfa05[_0x1c4acb(0xfa)]());},{'priority':_0x18aee0(0x11c)}),this[_0x18aee0(0x12a)](_0x270d5f[_0x18aee0(0xb9)][_0x18aee0(0x107)][_0x18aee0(0x18a)],_0x18aee0(0xac),(_0x3024ce,_0x3cc353)=>{const _0x1c4399=_0x18aee0;_0x3cc353[_0x1c4399(0x109)]&&this[_0x1c4399(0x141)]();}),this[_0x18aee0(0x12a)](_0x270d5f[_0x18aee0(0x16f)][_0x18aee0(0x137)],_0x18aee0(0x115),()=>{const _0x4f00f0=_0x18aee0;this[_0x4f00f0(0x141)]();}),this[_0x18aee0(0xc3)](),_0x270d5f[_0x18aee0(0xb9)]['on'](_0x18aee0(0xb8),(_0x3b90d0,_0x2f6693)=>{const _0x378b16=_0x18aee0,_0x5f1f85=_0x2f6693[0x0];_0x5f1f85[_0x378b16(0x149)]&&(this[_0x378b16(0xfd)](_0x5f1f85),this[_0x378b16(0x197)]()&&this[_0x378b16(0xe8)]());}),this[_0x18aee0(0x114)](),this[_0x18aee0(0x13f)](_0x18aee0(0x14d))['to'](_0xb1c407,_0x18aee0(0x15b),this,_0x18aee0(0x13d),(_0x29e105,_0x71f197)=>_0x18aee0(0xbd)===_0x29e105&&!_0x71f197),this['on'](_0x18aee0(0xef),()=>{const _0x5cbd92=_0x18aee0;this[_0x5cbd92(0x14d)]?_0x270d5f[_0x5cbd92(0x17a)](_0x5cbd92(0xd9)):_0x270d5f[_0x5cbd92(0xd1)](_0x5cbd92(0xd9));}),this[_0x18aee0(0x14d)]?_0x270d5f[_0x18aee0(0x17a)](_0x18aee0(0xd9)):_0x270d5f[_0x18aee0(0xd1)](_0x18aee0(0xd9)),this[_0x18aee0(0x15e)](_0x18aee0(0x19c),!0x1);}async[_0x1d1ad4(0x1a0)](){const _0x5e90ab=_0x1d1ad4,_0x24f16d=this[_0x5e90ab(0x172)][_0x5e90ab(0xff)][_0x5e90ab(0xee)](_0x58fd59),_0x24d437=this[_0x5e90ab(0x172)][_0x5e90ab(0xff)][_0x5e90ab(0xee)](_0x2fd103);try{this[_0x5e90ab(0x10e)]=!0x0,_0x24f16d[_0x5e90ab(0x131)](this[_0x5e90ab(0xde)]);const _0x46fb7a=await this[_0x5e90ab(0x100)][_0x5e90ab(0x1a0)](_0x24d437[_0x5e90ab(0x16c)],this[_0x5e90ab(0xaf)]);await this[_0x5e90ab(0x1a1)](_0x46fb7a)&&(this[_0x5e90ab(0x10e)]=!0x1,this[_0x5e90ab(0x18e)]());const _0x2697ea=await this[_0x5e90ab(0x100)][_0x5e90ab(0x185)]();_0x24f16d[_0x5e90ab(0x140)](this[_0x5e90ab(0xde)],_0x2697ea),this[_0x5e90ab(0x14a)](),this[_0x5e90ab(0x19c)]=!0x0;}catch(_0x1bcc87){if(function(_0x4815af){const _0x409fb8=_0x5e90ab;return _0x409fb8(0x189)===_0x4815af[_0x409fb8(0xaa)];}(_0x1bcc87)&&this[_0x5e90ab(0xfc)])await this[_0x5e90ab(0xc5)]();else{if(function(_0x5b0851){const _0x3349a2=_0x5e90ab;return _0x3349a2(0x188)===_0x5b0851[_0x3349a2(0xaa)];}(_0x1bcc87)){const _0x26ed3e=_0x5d179b(this[_0x5e90ab(0x172)][_0x5e90ab(0x132)],_0x5e90ab(0x143));this[_0x5e90ab(0x111)](_0x26ed3e);}else{if(!(_0x1bcc87 instanceof $))throw _0x1bcc87;this[_0x5e90ab(0x111)]();}}}}[_0x1d1ad4(0x191)](){const _0x1fca5e=_0x1d1ad4,_0x3c1a42=this[_0x1fca5e(0x172)][_0x1fca5e(0xff)][_0x1fca5e(0xee)](_0x2fd103),_0x4f92f2=this[_0x1fca5e(0x172)][_0x1fca5e(0xff)][_0x1fca5e(0xee)](_0x58fd59);this[_0x1fca5e(0x172)][_0x1fca5e(0xd1)](_0x1fca5e(0x126)),_0x4f92f2[_0x1fca5e(0xbf)][_0x1fca5e(0xa6)](this[_0x1fca5e(0xde)])&&_0x4f92f2[_0x1fca5e(0x131)](this[_0x1fca5e(0xde)]),_0x3c1a42[_0x1fca5e(0xf6)](this),this[_0x1fca5e(0xd5)](),super[_0x1fca5e(0x191)]();}async[_0x1d1ad4(0x1a1)](_0xbf1f95){const _0x588c45=_0x1d1ad4;if(this[_0x588c45(0xfc)]!==_0xbf1f95[_0x588c45(0xfc)]&&this[_0x588c45(0x193)]!==_0xbf1f95[_0x588c45(0xd2)])throw new $();return this[_0x588c45(0xfc)]=_0xbf1f95[_0x588c45(0xfc)],this[_0x588c45(0x169)]([],{..._0xbf1f95,'wereChangesApplied':!0x1,'data':_0xbf1f95[_0x588c45(0x1a4)]},_0x588c45(0x1a0));}async[_0x1d1ad4(0xfe)](_0x3a4e29,_0xc1f381=!0x1){const _0x4202bf=_0x1d1ad4,{connection:_0x41e6bf}=this[_0x4202bf(0x172)][_0x4202bf(0xff)][_0x4202bf(0xee)](_0x2fd103);RealTimeCollaborationClient[_0x4202bf(0x10f)][_0x4202bf(0x185)](_0x41e6bf,this[_0x4202bf(0xde)])[_0x4202bf(0x11d)](_0x406ba6=>this[_0x4202bf(0x17b)](_0x406ba6))[_0x4202bf(0x179)](_0xef5e37=>{const _0x4810c6=_0x4202bf;this[_0x4810c6(0x130)](_0x4810c6(0x183),_0xef5e37);}),this[_0x4202bf(0x12a)](this[_0x4202bf(0x100)],_0x4202bf(0x15a),this[_0x4202bf(0x139)][_0x4202bf(0x13f)](this)),this[_0x4202bf(0x12a)](this[_0x4202bf(0x100)],_0x4202bf(0xc8),(_0x2843b5,_0x1ad868)=>{const _0x558358=_0x4202bf;this[_0x558358(0x130)](_0x558358(0x13a),_0x1ad868);}),this[_0x4202bf(0x12a)](this[_0x4202bf(0x100)],_0x4202bf(0x184),()=>{const _0x1c116b=_0x4202bf;this[_0x1c116b(0x19c)]=!0x1;});const _0x4f684a=this[_0x4202bf(0xce)][_0x4202bf(0x17d)](_0x3a4e29);this[_0x4202bf(0x10e)]=!0x0;const _0x4e606b=await this[_0x4202bf(0x100)][_0x4202bf(0xc0)](_0x41e6bf,this[_0x4202bf(0xa5)](_0x3a4e29),_0x4f684a);if(this[_0x4202bf(0xfc)]=_0x4e606b[_0x4202bf(0xfc)],_0xc1f381){if(!_0x4e606b[_0x4202bf(0x1a5)])return void this[_0x4202bf(0x111)]();this[_0x4202bf(0x10e)]=!0x1,this[_0x4202bf(0x18e)](),this[_0x4202bf(0xe6)][_0x4202bf(0x12e)](),this[_0x4202bf(0x190)]=_0x4e606b[_0x4202bf(0x117)],this[_0x4202bf(0xe6)][_0x4202bf(0x175)]=this[_0x4202bf(0x190)],await this[_0x4202bf(0x169)](_0x3a4e29,_0x4e606b,_0x4202bf(0x170));}else await this[_0x4202bf(0x163)](_0x4e606b,_0x3a4e29);this[_0x4202bf(0x14a)](),this[_0x4202bf(0x19c)]=!0x0;}[_0x1d1ad4(0x14a)](){const _0x220190=_0x1d1ad4,_0x2da6f2=this[_0x220190(0x172)][_0x220190(0xff)][_0x220190(0xee)](_0x58fd59),_0x14bda9=this[_0x220190(0x172)][_0x220190(0xff)][_0x220190(0xee)](_0x305a85),_0x2be4b3=_0x2da6f2[_0x220190(0xbf)][_0x220190(0xee)](this[_0x220190(0xde)]);_0x2be4b3&&_0x2be4b3[_0x220190(0x181)]>0x1?_0x14bda9[_0x220190(0x19a)]():this[_0x220190(0x12a)](_0x2da6f2,_0x220190(0x16e)+this[_0x220190(0xde)],()=>{const _0x65f1a1=_0x220190;0x2===_0x2da6f2[_0x65f1a1(0xbf)][_0x65f1a1(0xee)](this[_0x65f1a1(0xde)])[_0x65f1a1(0x181)]&&_0x14bda9[_0x65f1a1(0x19a)]();});}async[_0x1d1ad4(0x139)](_0x477926,_0x3c236e,_0x10f7e1,_0x46d8da){const _0x25978d=_0x1d1ad4;if(!this[_0x25978d(0x10e)]&&this[_0x25978d(0x136)][_0x25978d(0x175)]==_0x3c236e){const _0x38c1d8=this[_0x25978d(0x12c)](_0x10f7e1,_0x46d8da);await this[_0x25978d(0xd6)](_0x38c1d8),this[_0x25978d(0x152)](_0x38c1d8,_0x3c236e,_0x10f7e1[_0x25978d(0xd2)])||this[_0x25978d(0x130)](_0x25978d(0xdb));}}async[_0x1d1ad4(0xc5)](){const _0x11627d=_0x1d1ad4;this[_0x11627d(0xd5)]();const {locale:_0x5093ab}=this[_0x11627d(0x172)];let _0x5d97c0;try{_0x5d97c0=await this[_0x11627d(0x100)][_0x11627d(0x162)]();}catch{const _0x5d5ada=_0x5d179b(_0x5093ab,_0x11627d(0x16a));return void this[_0x11627d(0x111)](_0x5d5ada);}const _0x684491=_0x5d97c0[_0x11627d(0x128)]||_0x5d97c0[_0x11627d(0xd0)];if(this[_0x11627d(0x193)]!==_0x684491[_0x11627d(0xd2)]){const _0x114a57=_0x5d179b(_0x5093ab,_0x11627d(0x1a2));return void this[_0x11627d(0x111)](_0x114a57);}await this[_0x11627d(0xfe)](this[_0x11627d(0x172)][_0x11627d(0xb9)][_0x11627d(0x107)][_0x11627d(0x17f)][_0x11627d(0xd4)](),!0x0);}[_0x1d1ad4(0xd5)](){const _0x2f5b64=_0x1d1ad4;this[_0x2f5b64(0x100)][_0x2f5b64(0xa4)](),this[_0x2f5b64(0xae)]=[],clearTimeout(this[_0x2f5b64(0xe3)]),this[_0x2f5b64(0xf8)](this[_0x2f5b64(0x100)]);}[_0x1d1ad4(0x17b)](_0x11398f){const _0xf3ff03=_0x1d1ad4,_0x44f296=this[_0xf3ff03(0x172)][_0xf3ff03(0xff)][_0xf3ff03(0xee)](_0x58fd59);this[_0xf3ff03(0x12a)](_0x44f296,_0xf3ff03(0x16e)+this[_0xf3ff03(0xde)],(_0x1ff800,{session:_0x33a021})=>{const _0x40efc4=_0xf3ff03;if(_0x33a021['id']===_0x44f296[_0x40efc4(0x1a7)]){_0x1ff800[_0x40efc4(0x138)]();const _0x18f939=this[_0x40efc4(0x172)][_0x40efc4(0xff)][_0x40efc4(0xa6)](_0x40efc4(0xc9))&&this[_0x40efc4(0x172)][_0x40efc4(0xff)][_0x40efc4(0xee)](_0x40efc4(0xc9));let _0x2e8722=_0x33a021[_0x40efc4(0x160)];_0x18f939&&_0x18f939[_0x40efc4(0xf9)]&&(_0x2e8722=_0x2e8722[_0x40efc4(0xc2)](_0x325d24=>_0x40efc4(0xc4)!==_0x325d24)),this[_0x40efc4(0x172)][_0x40efc4(0xff)][_0x40efc4(0xee)](_0x40efc4(0x13e))[_0x40efc4(0x151)](_0x2e8722,this[_0x40efc4(0xde)]);}}),_0x44f296[_0xf3ff03(0x140)](this[_0xf3ff03(0xde)],_0x11398f);}[_0x1d1ad4(0xc3)](){const _0x42e1b8=_0x1d1ad4,_0x303721=this[_0x42e1b8(0x172)][_0x42e1b8(0x1a4)][_0x42e1b8(0x15e)];this[_0x42e1b8(0x172)][_0x42e1b8(0x1a4)][_0x42e1b8(0x15e)]=(..._0x365d55)=>{const _0x2fa471=_0x42e1b8;if(!_0x365d55[_0x365d55[_0x2fa471(0x181)]-0x1][_0x2fa471(0xf7)])throw new _0x38eac8(_0x2fa471(0x156),this);_0x303721[_0x2fa471(0x180)](this[_0x2fa471(0x172)][_0x2fa471(0x1a4)],_0x365d55);};}[_0x1d1ad4(0x114)](){const _0x1f4d6d=_0x1d1ad4;this[_0x1f4d6d(0x172)][_0x1f4d6d(0x1a4)]['on'](_0x1f4d6d(0xab),(_0x49e706,[_0x1b08ba])=>{const _0x7acce3=_0x1f4d6d;if(this[_0x7acce3(0x136)][_0x7acce3(0x175)])throw new _0x38eac8(_0x7acce3(0xe2),this);_0x49e706[_0x7acce3(0xfa)](),this[_0x7acce3(0x186)]();const _0x3869f3=this[_0x7acce3(0x172)][_0x7acce3(0x12b)][_0x7acce3(0xee)](_0x7acce3(0x1a9)),_0xfba5fa=this[_0x7acce3(0x120)](_0x1b08ba,_0x3869f3);0x0==_0xfba5fa[_0x7acce3(0x181)]&&_0xfba5fa[_0x7acce3(0x187)](new _0x2dce62(0x0)),_0x49e706[_0x7acce3(0xd3)]=this[_0x7acce3(0xfe)](_0xfba5fa)[_0x7acce3(0x11d)](()=>{const _0x348e12=_0x7acce3;this[_0x348e12(0x172)][_0x348e12(0xff)][_0x348e12(0xee)](_0x2fd103)[_0x348e12(0xe4)](this),this[_0x348e12(0x172)][_0x348e12(0x1a4)][_0x348e12(0x116)](_0x348e12(0x10b));})[_0x7acce3(0x179)](_0x2abff6=>this[_0x7acce3(0x130)](_0x7acce3(0x182),_0x2abff6))[_0x7acce3(0xc1)](()=>this[_0x7acce3(0x18e)]());},{'priority':_0x1f4d6d(0x11c)}),this[_0x1f4d6d(0x172)]['on'](_0x1f4d6d(0x146),async(_0x40566b,[_0x3b0e8d,_0xb56559])=>{const _0x2eb5f6=_0x1f4d6d;_0x40566b[_0x2eb5f6(0xfa)]();const _0x5f5214=this[_0x2eb5f6(0x172)][_0x2eb5f6(0xb9)][_0x2eb5f6(0x107)][_0x2eb5f6(0x176)](_0x3b0e8d);if(!this[_0x2eb5f6(0xcb)][_0x2eb5f6(0xa6)](_0x3b0e8d)){const _0x2e21c4=_0xb56559&&_0xb56559[_0x2eb5f6(0x1a4)]?_0xb56559[_0x2eb5f6(0x1a4)]:'',_0x504771=_0xb56559&&_0xb56559[_0x2eb5f6(0x14f)]?_0xb56559[_0x2eb5f6(0x14f)]:{};await this[_0x2eb5f6(0x10c)](_0x3b0e8d,_0x2e21c4,_0x504771);}this[_0x2eb5f6(0x172)][_0x2eb5f6(0xb9)][_0x2eb5f6(0x11f)]({'isUndoable':!0x1},()=>{const _0x39aa8b=_0x2eb5f6;_0x5f5214[_0x39aa8b(0xe0)]=!0x0,this[_0x39aa8b(0x172)][_0x39aa8b(0xb9)][_0x39aa8b(0x107)][_0x39aa8b(0x113)][_0x39aa8b(0x133)](_0x5f5214);});},{'priority':_0x1f4d6d(0x11c)});}async[_0x1d1ad4(0xd6)](_0x4f6bc2){const _0x28894=_0x1d1ad4,_0x1b690d=this[_0x28894(0x172)][_0x28894(0xff)][_0x28894(0xee)](_0x4e5ad5),{connection:_0x5698a0}=this[_0x28894(0x172)][_0x28894(0xff)][_0x28894(0xee)](_0x2fd103),_0x45e115=new Set();for(const _0x199f05 of _0x4f6bc2){const _0xa9d1e7=_0x199f05[_0x28894(0x155)];_0xa9d1e7&&!_0x1b690d[_0x28894(0xb0)](_0xa9d1e7)&&_0x45e115[_0x28894(0xdd)](_0xa9d1e7);}if(0x0===_0x45e115[_0x28894(0x19e)])return;const _0x202515=await _0x10ddbf[_0x28894(0x145)](_0x5698a0,Array[_0x28894(0x121)](_0x45e115));for(const _0x4e6c1a of _0x202515)_0x1b690d[_0x28894(0xb0)](_0x4e6c1a['id'])||_0x1b690d[_0x28894(0x158)](_0x4e6c1a);}[_0x1d1ad4(0x120)](_0xa0d6b4,_0x3e9195={}){const _0x1d21da=_0x1d1ad4,_0x3221b9=this[_0x1d21da(0x172)][_0x1d21da(0xb9)],_0x260f39=[];let _0x1bfea6=0x0;const _0x4dace2=_0x1d21da(0x112)==typeof _0xa0d6b4?{'main':_0xa0d6b4}:_0xa0d6b4;for(const _0x1ad2dd of Object[_0x1d21da(0x18d)](_0x4dace2)){if(!this[_0x1d21da(0x136)][_0x1d21da(0xca)][_0x1d21da(0xa6)](_0x1ad2dd))throw new _0x38eac8(_0x1d21da(0x16d),this);const _0x1bb5f6=this[_0x1d21da(0x172)][_0x1d21da(0x1a4)][_0x1d21da(0x174)](_0x4dace2[_0x1ad2dd]),_0x3e8dc=this[_0x1d21da(0x136)][_0x1d21da(0x176)](_0x1ad2dd),_0xe3ac9c=new _0x3c7d85(_0x3221b9[_0x1d21da(0x178)](_0x3e8dc,0x0),_0x1bb5f6,_0x1bfea6++);_0x260f39[_0x1d21da(0x187)](_0xe3ac9c);for(const [_0x5a19d0,_0x2b4e67]of _0x1bb5f6[_0x1d21da(0x15d)]){const _0x14c1c1=_0x3221b9[_0x1d21da(0x157)](_0x3221b9[_0x1d21da(0xb5)](_0x3e8dc,_0x2b4e67[_0x1d21da(0x195)][_0x1d21da(0x110)][_0x1d21da(0x10d)]()),_0x3221b9[_0x1d21da(0xb5)](_0x3e8dc,_0x2b4e67[_0x1d21da(0x1a3)][_0x1d21da(0x110)][_0x1d21da(0x10d)]())),_0x45a03e=new _0x364ce6(_0x5a19d0,null,_0x14c1c1,_0x3221b9[_0x1d21da(0x15d)],!0x0,_0x1bfea6++);_0x260f39[_0x1d21da(0x187)](_0x45a03e);}}if(_0x3e9195)for(const [_0x5902a8,_0x435cec]of Object[_0x1d21da(0x159)](_0x3e9195)){const _0x32a9d1=_0x3221b9[_0x1d21da(0x107)][_0x1d21da(0x176)](_0x5902a8);if(!_0x32a9d1)throw new _0x38eac8(_0x1d21da(0x14c),null);for(const [_0xa9d5d3,_0x10760f]of Object[_0x1d21da(0x159)](_0x435cec))if(null!==_0x10760f){const _0x16b906=new _0x41f916(_0x32a9d1,_0xa9d5d3,null,_0x10760f,_0x1bfea6++);_0x260f39[_0x1d21da(0x187)](_0x16b906);}}return _0x260f39;}async[_0x1d1ad4(0x10c)](_0x47142d,_0x100807,_0x44546a){const _0x5cfd87=_0x1d1ad4;this[_0x5cfd87(0x120)]({[_0x47142d]:_0x100807},{[_0x47142d]:_0x44546a})[_0x5cfd87(0x129)]((_0x4b3d7c,_0x4d187e)=>{const _0xc2c3e6=_0x5cfd87;_0x4b3d7c[_0xc2c3e6(0x13c)]=this[_0xc2c3e6(0x136)][_0xc2c3e6(0x175)]+_0x4d187e,_0x4b3d7c[_0xc2c3e6(0x103)]=!0x0,this[_0xc2c3e6(0xfd)](_0x4b3d7c);}),this[_0x5cfd87(0xe8)](),await this[_0x5cfd87(0xf3)]();}async[_0x1d1ad4(0x163)](_0x25bdb9,_0x1215a0){const _0x729fe7=_0x1d1ad4;let _0x4af28e;this[_0x729fe7(0x190)]=_0x25bdb9[_0x729fe7(0x117)];const _0x4cad0f=_0x25bdb9[_0x729fe7(0x1a5)]&&!_0x25bdb9[_0x729fe7(0xb4)],_0x2f5b3f=_0x4cad0f?0x0:_0x25bdb9[_0x729fe7(0x1a4)][_0x729fe7(0x13c)];if(_0x1215a0[_0x729fe7(0x129)](_0x90f574=>{const _0x5b47e1=_0x729fe7;_0x90f574[_0x5b47e1(0x103)]=!0x0,_0x90f574[_0x5b47e1(0x17e)]=_0x25bdb9[_0x5b47e1(0x122)],_0x90f574[_0x5b47e1(0x155)]=null;}),_0x4cad0f)_0x4af28e=_0x1215a0,this[_0x729fe7(0x171)](_0x4af28e,_0x4cad0f);else{if(_0x25bdb9[_0x729fe7(0xb4)]){const _0x1144bf=this[_0x729fe7(0x120)](_0x25bdb9[_0x729fe7(0xb4)]);this[_0x729fe7(0x136)][_0x729fe7(0x17f)][_0x729fe7(0x175)]=-_0x1144bf[_0x729fe7(0x181)],_0x1144bf[_0x729fe7(0x129)](_0x2afc20=>{const _0x3eefda=_0x729fe7;_0x2afc20[_0x3eefda(0x13c)]-=_0x1144bf[_0x3eefda(0x181)],_0x2afc20[_0x3eefda(0x17e)]=_0x25bdb9[_0x3eefda(0x122)],_0x2afc20[_0x3eefda(0x103)]=!0x0,_0x2afc20[_0x3eefda(0x155)]=null;}),this[_0x729fe7(0x171)](_0x1144bf,!0x0),this[_0x729fe7(0xe6)][_0x729fe7(0x175)]=-_0x1144bf[_0x729fe7(0x181)]+this[_0x729fe7(0x190)],this[_0x729fe7(0x18f)](_0x1144bf);}this[_0x729fe7(0x136)][_0x729fe7(0x17f)][_0x729fe7(0x175)]=_0x2f5b3f,_0x4af28e=this[_0x729fe7(0x12c)](_0x25bdb9[_0x729fe7(0x1a4)],_0x25bdb9[_0x729fe7(0xbb)]),await this[_0x729fe7(0xd6)](_0x4af28e),this[_0x729fe7(0x171)](_0x4af28e,_0x4cad0f);}_0x25bdb9[_0x729fe7(0xd2)]&&(this[_0x729fe7(0xce)][_0x729fe7(0xd7)](_0x4af28e,_0x25bdb9[_0x729fe7(0xd2)]),this[_0x729fe7(0x193)]=_0x25bdb9[_0x729fe7(0xd2)]),this[_0x729fe7(0xe6)][_0x729fe7(0x175)]=_0x2f5b3f+this[_0x729fe7(0x190)],this[_0x729fe7(0x18f)](_0x4af28e),_0x1215a0[_0x729fe7(0xc2)](_0x2d808b=>{const _0x5a7103=_0x729fe7,_0xce9d5e=this[_0x5a7103(0x11e)](_0x2d808b);return _0xce9d5e&&!this[_0x5a7103(0xcb)][_0x5a7103(0xa6)](_0xce9d5e);})[_0x729fe7(0x129)]((_0x249511,_0x5ac678)=>{const _0x39d30b=_0x729fe7;_0x249511[_0x39d30b(0x13c)]=this[_0x39d30b(0x136)][_0x39d30b(0x175)]+_0x5ac678,this[_0x39d30b(0xfd)](_0x249511);}),this[_0x729fe7(0x197)]()?(this[_0x729fe7(0xc7)]=0x0,this[_0x729fe7(0xe8)](!0x0),await this[_0x729fe7(0xf3)]()):(this[_0x729fe7(0x10e)]=!0x1,this[_0x729fe7(0x18e)]());}[_0x1d1ad4(0x130)](_0x32042d,_0x403014){const _0x3aae0b=_0x1d1ad4,_0xe9c22f=_0x403014&&_0x403014[_0x3aae0b(0xc6)];if(_0xe9c22f&&_0xe9c22f[_0x3aae0b(0x127)](_0x3aae0b(0x167)))throw _0x403014;const _0x44ee1d=this[_0x3aae0b(0x172)][_0x3aae0b(0xff)][_0x3aae0b(0xee)](_0x2fd103);throw this[_0x3aae0b(0x10e)]=!0x0,_0x44ee1d[_0x3aae0b(0xa4)](),this[_0x3aae0b(0x172)][_0x3aae0b(0xd1)](_0x3aae0b(0xf0)),new _0x38eac8(_0x32042d,this[_0x3aae0b(0x172)],_0xe9c22f?{'originalError':_0xe9c22f}:void 0x0);}[_0x1d1ad4(0xfd)](_0x189bac){const _0x5badec=_0x1d1ad4;this[_0x5badec(0x161)][_0x5badec(0xa6)](_0x189bac)||(this[_0x5badec(0x161)][_0x5badec(0xdd)](_0x189bac),this[_0x5badec(0xae)][_0x5badec(0x187)](_0x189bac),this[_0x5badec(0x14e)]||_0x5badec(0x154)==_0x189bac[_0x5badec(0x101)]&&!_0x189bac[_0x5badec(0xf4)]||this[_0x5badec(0x186)]());}[_0x1d1ad4(0xe8)](_0x8ae32a=!0x1){const _0x5dc0c7=_0x1d1ad4;!_0x8ae32a&&this[_0x5dc0c7(0x10e)]||(this[_0x5dc0c7(0x10e)]=!0x0,clearTimeout(this[_0x5dc0c7(0xe3)]),this[_0x5dc0c7(0xe3)]=setTimeout(()=>{const _0x1ec0d2=_0x5dc0c7;this[_0x1ec0d2(0x14b)]()[_0x1ec0d2(0x11d)](_0x505de4=>{const _0x3efa20=_0x1ec0d2;_0x505de4&&(this[_0x3efa20(0x18e)](),this[_0x3efa20(0x10e)]=!0x1);})[_0x1ec0d2(0x179)](_0x1aa800=>{const _0x7e4b60=_0x1ec0d2;this[_0x7e4b60(0x18e)](),this[_0x7e4b60(0x10e)]=!0x1,function(_0x48c06a){const _0x29196e=_0x7e4b60;return _0x48c06a[_0x29196e(0xc6)][_0x29196e(0x127)](_0x29196e(0xed))||_0x48c06a[_0x29196e(0xc6)][_0x29196e(0x127)](_0x29196e(0x125))||_0x48c06a[_0x29196e(0xc6)][_0x29196e(0x127)](_0x29196e(0xda));}(_0x1aa800)||this[_0x7e4b60(0x130)](_0x1aa800[_0x7e4b60(0xc6)],_0x1aa800);});},this[_0x5dc0c7(0xc7)]));}[_0x1d1ad4(0xf3)](){return new Promise(_0x5c4387=>{const _0x12f7a9=_0x2215;this['on'](_0x12f7a9(0x19d),()=>{_0x5c4387();});});}async[_0x1d1ad4(0x14b)](){const _0x3dc333=_0x1d1ad4,_0x2fa1ba=this[_0x3dc333(0x172)][_0x3dc333(0xff)][_0x3dc333(0xee)](_0x305a85);if(this[_0x3dc333(0xb7)]()&&(_0x2fa1ba[_0x3dc333(0x19a)](),this[_0x3dc333(0xbc)]=!0x1),!this[_0x3dc333(0x197)]())return!0x0;const _0x9595ac=[...this[_0x3dc333(0xae)]];for(const _0x277db8 of _0x9595ac)_0x277db8[_0x3dc333(0xb2)]=this[_0x3dc333(0x136)][_0x3dc333(0x17f)][_0x3dc333(0xcf)](_0x277db8);const _0x5b8b69=this[_0x3dc333(0xce)][_0x3dc333(0x17d)](_0x9595ac),_0x5bd591=G++,_0x25e61d=this[_0x3dc333(0xa5)](_0x9595ac),_0x505ff1=await this[_0x3dc333(0x100)][_0x3dc333(0x173)](_0x25e61d,_0x25e61d[_0x3dc333(0x13c)],_0x5b8b69);try{return await this[_0x3dc333(0x169)](_0x9595ac,_0x505ff1,_0x5bd591);}catch(_0x27c52b){return this[_0x3dc333(0x130)](_0x3dc333(0x119),_0x27c52b);}}async[_0x1d1ad4(0x169)](_0x5a8568,_0xfffdea,_0x33fc5e){const _0x56e63a=_0x1d1ad4;if(_0x56e63a(0xc8)in _0xfffdea)throw _0xfffdea[_0x56e63a(0xc8)];let _0x165220=!0x1;if(_0xfffdea[_0x56e63a(0x1a5)]){_0xfffdea[_0x56e63a(0xd2)]&&(this[_0x56e63a(0x193)]=_0xfffdea[_0x56e63a(0xd2)]),this[_0x56e63a(0xae)]=this[_0x56e63a(0xae)][_0x56e63a(0xc2)](_0xbdd91b=>!_0x5a8568[_0x56e63a(0x106)](_0xbdd91b));for(const _0x33e9fc of _0x5a8568)_0x33e9fc[_0x56e63a(0x17e)]=_0x56e63a(0x194)in _0xfffdea&&_0xfffdea[_0x56e63a(0x194)]||void 0x0;K(_0x5a8568,_0xfffdea[_0x56e63a(0x175)]-_0x5a8568[_0x56e63a(0x181)]),this[_0x56e63a(0x18f)](_0x5a8568);const _0x59a852=_0x5a8568[_0x56e63a(0xc2)](_0x595b84=>{const _0x307d7a=_0x56e63a;if(!_0x595b84[_0x307d7a(0x103)])return!0x1;const _0x474987=this[_0x307d7a(0x11e)](_0x595b84);return _0x474987&&!this[_0x307d7a(0xcb)][_0x307d7a(0xa6)](_0x474987);});K(_0x59a852,this[_0x56e63a(0x136)][_0x56e63a(0x175)]),this[_0x56e63a(0x171)](_0x59a852),_0x165220=!0x0,this[_0x56e63a(0xc7)]=this[_0x56e63a(0x134)];}else{const _0x4eecae=this[_0x56e63a(0x12c)](_0xfffdea[_0x56e63a(0x1a4)],_0xfffdea[_0x56e63a(0xbb)])[_0x56e63a(0xc2)](_0x513260=>_0x513260[_0x56e63a(0x13c)]>=this[_0x56e63a(0xec)]);_0x4eecae[_0x56e63a(0x129)](_0x5656cd=>this[_0x56e63a(0xb1)](_0x5656cd)),this[_0x56e63a(0xae)]=this[_0x56e63a(0xae)][_0x56e63a(0xc2)](_0xcce41a=>!_0xcce41a[_0x56e63a(0x103)]||!this[_0x56e63a(0xcb)][_0x56e63a(0xa6)](this[_0x56e63a(0x11e)](_0xcce41a))),this[_0x56e63a(0xae)][_0x56e63a(0x181)]&&K(this[_0x56e63a(0xae)],this[_0x56e63a(0xae)][0x0][_0x56e63a(0x13c)]),await this[_0x56e63a(0xd6)](_0x4eecae),_0x165220=this[_0x56e63a(0x152)](_0x4eecae,_0xfffdea[_0x56e63a(0x175)],_0xfffdea[_0x56e63a(0xd2)]),this[_0x56e63a(0xc7)]=Math[_0x56e63a(0x11b)](this[_0x56e63a(0xc7)]/0x2);}return _0x165220?!this[_0x56e63a(0x197)]()||(this[_0x56e63a(0xe8)](!0x0),!0x1):this[_0x56e63a(0x130)](_0x56e63a(0x192));}[_0x1d1ad4(0x152)](_0x3a19f3,_0x51031b,_0x4bc756){const _0x33fcba=_0x1d1ad4;try{const _0x509441={'document':this[_0x33fcba(0x136)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x13f015,operationsB:_0x5a20d2,originalOperations:_0x2de075}=_0x404bb2(_0x3a19f3,this[_0x33fcba(0xae)],_0x509441);K(_0x13f015,this[_0x33fcba(0x136)][_0x33fcba(0x175)]),K(_0x5a20d2,_0x51031b);for(const _0x38a049 of _0x13f015){const _0x2a44e3=_0x2de075[_0x33fcba(0xee)](_0x38a049);_0x38a049[_0x33fcba(0x155)]=_0x2a44e3?_0x2a44e3[_0x33fcba(0x155)]:null;}_0x4bc756&&(this[_0x33fcba(0xce)][_0x33fcba(0xd7)](_0x3a19f3,_0x4bc756),this[_0x33fcba(0x193)]=_0x4bc756),this[_0x33fcba(0xae)]=[..._0x5a20d2],this[_0x33fcba(0x171)](_0x13f015),this[_0x33fcba(0x18f)](_0x3a19f3);}catch(_0x136cb4){return console[_0x33fcba(0xc8)](_0x136cb4),!0x1;}return!0x0;}[_0x1d1ad4(0x171)](_0x25a5fc,_0x402cf3=!0x1){const _0x324bb2=_0x1d1ad4;this[_0x324bb2(0x172)][_0x324bb2(0xb9)][_0x324bb2(0x11f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x496be3=>{const _0x5a9074=_0x324bb2;for(const _0x48cd90 of _0x25a5fc)this[_0x5a9074(0x161)][_0x5a9074(0xdd)](_0x48cd90),this[_0x5a9074(0xb1)](_0x48cd90),_0x496be3[_0x5a9074(0xfb)][_0x5a9074(0x12f)](_0x48cd90),this[_0x5a9074(0x172)][_0x5a9074(0xb9)][_0x5a9074(0xb8)](_0x48cd90);});}[_0x1d1ad4(0xb1)](_0xe1aa67){const _0x1937c8=_0x1d1ad4,_0x50ed57=this[_0x1937c8(0x11e)](_0xe1aa67);_0x50ed57&&this[_0x1937c8(0xcb)][_0x1937c8(0xdd)](_0x50ed57);}[_0x1d1ad4(0x11e)](_0x37be9d){const _0x574e7b=_0x1d1ad4;let _0x49f329,_0x536a46;switch(_0x37be9d[_0x574e7b(0x101)]){case _0x574e7b(0x135):_0x49f329=_0x37be9d[_0x574e7b(0xa9)][_0x574e7b(0x168)];break;case _0x574e7b(0x154):if(_0x536a46=_0x37be9d[_0x574e7b(0xf1)],!_0x536a46)return null;_0x49f329=_0x536a46[_0x574e7b(0x168)];break;case _0x574e7b(0x196):_0x49f329=_0x37be9d[_0x574e7b(0x168)];break;case _0x574e7b(0x15f):_0x49f329=_0x37be9d[_0x574e7b(0x108)];break;case _0x574e7b(0x104):_0x49f329=_0x37be9d[_0x574e7b(0x18b)][_0x574e7b(0x168)];break;default:return null;}return _0x49f329[_0x574e7b(0xb6)];}[_0x1d1ad4(0x18f)](_0x2b58aa){const _0x2b8093=_0x1d1ad4;_0x2b58aa[_0x2b8093(0x129)](_0x384a8e=>{const _0x301c82=_0x2b8093,_0x1c172f=_0x384a8e[_0x301c82(0x153)]();_0x1c172f[_0x301c82(0x155)]=_0x384a8e[_0x301c82(0x155)],_0x1c172f[_0x301c82(0x103)]=!!_0x384a8e[_0x301c82(0x103)],_0x1c172f[_0x301c82(0x17e)]=_0x384a8e[_0x301c82(0x17e)],_0x1c172f[_0x301c82(0x13c)]+=this[_0x301c82(0x190)],_0x384a8e[_0x301c82(0x124)]&&this[_0x301c82(0x142)][_0x301c82(0xdd)](_0x1c172f),this[_0x301c82(0xe6)][_0x301c82(0x12f)](_0x1c172f);});}[_0x1d1ad4(0x111)](_0x118b9d){const _0x3c4312=_0x1d1ad4,_0x408bdb=this[_0x3c4312(0x172)][_0x3c4312(0xff)][_0x3c4312(0xee)](_0x3c4312(0x148)),_0x74caa3=this[_0x3c4312(0x172)][_0x3c4312(0x132)];_0x118b9d||(_0x118b9d=_0x5d179b(_0x74caa3,_0x3c4312(0xa7))),_0x408bdb[_0x3c4312(0xad)](_0x118b9d,{'title':_0x5d179b(_0x74caa3,_0x3c4312(0x13b)),'namespace':_0x3c4312(0x123)}),this[_0x3c4312(0x13d)]=!0x0,clearTimeout(this[_0x3c4312(0xe3)]),this[_0x3c4312(0xae)]=[],this[_0x3c4312(0x172)][_0x3c4312(0xff)][_0x3c4312(0xee)](_0x2fd103)[_0x3c4312(0xa4)]();}[_0x1d1ad4(0x186)](){const _0x34445a=_0x1d1ad4;this[_0x34445a(0x14e)]||(this[_0x34445a(0x14e)]=this[_0x34445a(0x172)][_0x34445a(0xff)][_0x34445a(0xee)](_0x569255)[_0x34445a(0xdd)](_0x5d179b(this[_0x34445a(0x172)][_0x34445a(0x132)],_0x34445a(0x19f))));}[_0x1d1ad4(0x18e)](){const _0x544331=_0x1d1ad4;this[_0x544331(0x14e)]&&(this[_0x544331(0x172)][_0x544331(0xff)][_0x544331(0xee)](_0x569255)[_0x544331(0x150)](this[_0x544331(0x14e)]),this[_0x544331(0x14e)]=null);}[_0x1d1ad4(0xa5)](_0x5656a9){const _0x5672c5=_0x1d1ad4,_0x287243=_0x5656a9[_0x5672c5(0xe9)](_0x2d3976=>_0x2d3976[_0x5672c5(0x18c)]());return this[_0x5672c5(0x10a)][_0x5672c5(0x102)](_0x287243);}[_0x1d1ad4(0x12c)](_0x12f361,_0x30a290){const _0xe3e7f9=_0x1d1ad4;return this[_0xe3e7f9(0x10a)][_0xe3e7f9(0xba)](_0x12f361)[_0xe3e7f9(0xe9)]((_0x5b9b78,_0x11f445)=>{const _0x141376=_0xe3e7f9,_0x5c68ff=_0x141376(0xab)==_0x30a290[_0x11f445][_0x141376(0x101)];if(_0x141376(0xea)==_0x5b9b78[_0x141376(0x164)]){const _0x8c2cc=_0x5b9b78[_0x141376(0xa9)][_0x141376(0x168)];!this[_0x141376(0x136)][_0x141376(0x176)](_0x8c2cc)&&(this[_0x141376(0x136)][_0x141376(0xdf)](_0x141376(0x177),_0x8c2cc)[_0x141376(0x147)]=!0x1);}const _0x56aeed=_0x135e8d[_0x141376(0x16b)](_0x5b9b78,this[_0x141376(0x136)]);return _0x56aeed[_0x141376(0xb2)]=_0x5b9b78[_0x141376(0xb2)],_0x56aeed[_0x141376(0x103)]=_0x5c68ff,_0x56aeed[_0x141376(0x155)]=_0x5c68ff?null:_0x30a290[_0x11f445][_0x141376(0xeb)],_0x56aeed[_0x141376(0x124)]=_0x141376(0xf2)===_0x30a290[_0x11f445][_0x141376(0x101)],_0x56aeed[_0x141376(0x17e)]=_0x30a290[_0x11f445][_0x141376(0x17e)],_0x56aeed;});}[_0x1d1ad4(0x141)](){const _0x39f3ad=_0x1d1ad4;this[_0x39f3ad(0xbc)]=!0x0,this[_0x39f3ad(0xb7)]()?this[_0x39f3ad(0xe8)]():this[_0x39f3ad(0xbc)]=!0x1;}[_0x1d1ad4(0xb7)](){const _0x2fa913=_0x1d1ad4,_0x216cb2=this[_0x2fa913(0x172)][_0x2fa913(0xff)][_0x2fa913(0xee)](_0x58fd59)[_0x2fa913(0xbf)][_0x2fa913(0xee)](this[_0x2fa913(0xde)]);return!this[_0x2fa913(0x172)][_0x2fa913(0x144)]&&!!_0x216cb2&&_0x216cb2[_0x2fa913(0x181)]>0x1&&this[_0x2fa913(0xbc)];}[_0x1d1ad4(0x197)](){const _0x485802=_0x1d1ad4;return this[_0x485802(0xae)][_0x485802(0x181)]>0x0||this[_0x485802(0xb7)]();}}class $ extends Error{}function K(_0x2be1d4,_0x32e24c){const _0x3ab120=_0x1d1ad4;for(const _0x5a504a of _0x2be1d4)_0x5a504a[_0x3ab120(0x13c)]=_0x32e24c++;}class J{[_0x1d1ad4(0xbe)];[_0x1d1ad4(0xa8)];constructor(_0x40808d){const _0xdcf21b=_0x1d1ad4;this[_0xdcf21b(0xbe)]=_0x40808d,this[_0xdcf21b(0xa8)]=new WeakMap();}[_0x1d1ad4(0x17d)](_0x13c73d){const _0x400844=_0x1d1ad4;let _0x295a7b=_0x13c73d[_0x400844(0x181)];for(;_0x295a7b--;){const _0x412d70=_0x13c73d[_0x295a7b];if(!this[_0x400844(0xbe)][_0x400844(0xa6)](_0x412d70)){if(!this[_0x400844(0xa8)][_0x400844(0xa6)](_0x412d70)){const _0x557a1b=_0x22c58b()[_0x400844(0x10d)](0x1,0x12);this[_0x400844(0xa8)][_0x400844(0x15e)](_0x412d70,_0x557a1b);}return this[_0x400844(0xa8)][_0x400844(0xee)](_0x412d70);}}}[_0x1d1ad4(0xd7)](_0x109e28,_0x13aa62){const _0x45ebe5=_0x1d1ad4;if(!_0x13aa62)return;let _0x4ee1ff=_0x109e28[_0x45ebe5(0x181)];for(;_0x4ee1ff--;){const _0x3fceb4=_0x109e28[_0x4ee1ff];this[_0x45ebe5(0xbe)][_0x45ebe5(0xa6)](_0x3fceb4)||this[_0x45ebe5(0xa8)][_0x45ebe5(0x15e)](_0x3fceb4,_0x13aa62);}}}
|
|
23
|
+
const _0x505943=_0x2673;(function(_0x333f10,_0x3c5109){const _0x45e6b6=_0x2673,_0x5f4a1f=_0x333f10();while(!![]){try{const _0x2013e2=-parseInt(_0x45e6b6(0x2d4))/0x1+parseInt(_0x45e6b6(0x204))/0x2+parseInt(_0x45e6b6(0x209))/0x3*(parseInt(_0x45e6b6(0x280))/0x4)+-parseInt(_0x45e6b6(0x1d9))/0x5*(-parseInt(_0x45e6b6(0x278))/0x6)+parseInt(_0x45e6b6(0x22a))/0x7+-parseInt(_0x45e6b6(0x224))/0x8*(-parseInt(_0x45e6b6(0x296))/0x9)+-parseInt(_0x45e6b6(0x282))/0xa*(parseInt(_0x45e6b6(0x250))/0xb);if(_0x2013e2===_0x3c5109)break;else _0x5f4a1f['push'](_0x5f4a1f['shift']());}catch(_0x1b4644){_0x5f4a1f['push'](_0x5f4a1f['shift']());}}}(_0x12c1,0xf251b));import{Plugin as _0x1a4335,PendingActions as _0x1a4c78}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c76e3,version as _0x5a8c68,uid as _0x2cc8bc}from'ckeditor5/src/utils.js';import{Notification as _0x25ab24}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x39265c,NoOperation as _0x507943,InsertOperation as _0x1ee6a8,MarkerOperation as _0x2a5813,RootAttributeOperation as _0xe66668,OperationFactory as _0x3fd96c,History as _0x1f7d08}from'ckeditor5/src/engine.js';function _0x12c1(){const _0x36eb22=['isDocumentOperation','realtimecollaborationclient','_handleReconnectionError','fromJSON','_initThrowingOnDataSet','set','directChange','lastOperationAcceptedAt','from','affectedSelectable','_disconnectService','_waitUntilSynced','has','_lastSyncedOperationId','CollaborativeEditingService','serverHistory','_connectAfterSessionHasBeenFlushed','disconnect','1786450bLAEXZ','_applyOperationsSet','getDocumentDetails','off','fire','30nPTiKL','isReadOnly','_channelId','userId','type','suppressErrorInCollaboration','size','collaboration','PENDING_ACTION_SENDING_DATA','createUserMarkerOperations','addRootAttribute','newRange','clone','disconnected','_isAttached','Synchronization\x20issue','string','multi-root-editor-root-attributes-no-root','sessionAdd:','createPositionAt','getConnectedSessions','view','real-time-collaboration','connection','startsWith','_isConnected','finally','99808wFcaef','_compressOperations','addUser','enableReadOnlyMode','addRoot','parse','4671450mLEBgB','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createdAt','initData','createPositionFromPath','_disconnectionOperations','reconnection:\x20flushed\x20session','rtc-offline','_decompressOperations','realtimecollaborationclient-init-session-connection-error','document:write','_compressor','_handleReceivedOperations','_currentBufferDelay','_pendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','remove','_getAffectedRoot','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.','Permissions','_connectService','rtc-destroyed','change:_isPendingUpdate','forEach','wereChangesApplied','disableReadOnlyMode','mySessionId','editing','getOperations','_loadRoot','setIdForTheLastOperation','_addKnownRoot','_knownRootNames','stopListening','getRoot','404','_isInit','getIdOfTheLastOperation','11qaeCGe','affectsData','$root','_setUpDataInit','differ','applyOperation','_operationIdentifier','cloudServices.bundleVersion','_service','stop','change:hasDomSelection','reconnect','rootsAttributes','slice','roots','isPremiumPlugin','history','CommentsOnly','_knownOperations','_saveOperationInBuffer','realtimecollaborationclient-init-service-internal-error','wasUndone','round','_updateServerHistory','ready','_handleReconnectionResponse','_isLoaded','editor','InsertOperation','_sendBufferedOperationsDelayId','_baseBufferDelay','metadata','sessionCreatedAt','_hasSynchronizationProblem','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connect','batch','init','keys','root','6pyLAqE','push','isOfficialPlugin','realtimecollaborationclient-init-non-existent-root','marker','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','map','sessionId','543016xrpePo','start','19250520yFVVMW','_handleServerResponse','_isPendingUpdate','code','_handleExternalOperations','sendOperations','channelSessions','getOperationAuthor','position','realtimecollaborationclient-error','lastSyncVersion','change:range','_isDisconnection','filter','setPermissions','catch','409','_bufferedOperations','lastDocumentSession','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','45ztKKCy','_document','move','getUser','_authorId','cloudDocumentVersion','_handleInitialConnectionData','error','getMany','_sendBufferedOperations','high','cs:removeUser','_isEditingAllowed','data','insert','collaboration-missing-channelid','_shouldSendSelectionUpdate','selection','_hasSelectionChanged','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.','_operationToId','showWarning','add','addOperation','isEnabled','config','_lastServerVersion','length','define','_bufferRootLoad','reset','isUndoneOperation','compress','loadRoot','_sendBufferedOperationsDelayed','version','_initSessionsHandling','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','baseVersion','entries','model','bind','register','createRange','includes','toJSON','enqueueChange','document','_fetchMissingUsers','markers','_shouldSendUpdate','RealTimeCollaborationClient','Notification','state','createRoot','pluginName','plugins','currentDocumentSession','apply','removeFromReconnectionStack','end','772507CJPWDW','_ignoredOperations','realtimecollaborationclient-sendbufferedoperations','unregister','connected','get','cloud-services-internal-error:\x20Not\x20connected.','path','requires','then','targetPosition','realtimecollaborationclient-init-document-already-initialized','3548015VqEKQG','realtimecollaborationclient-init-connection-failed','locale','_refreshUserSelectionMarkers','__className','listenTo','_setPendingAction','rootName','destroy','message','_handleSendingSelectionMarkers','_offset','_clearPendingAction','operationsReceived','addToReconnectionStack','attributes','realtimecollaborationclient-handleserverresponse','return','_getOperationsFromInitData','lastOperationId','offset','change:_isEditingAllowed','permissions','_crash','decompress'];_0x12c1=function(){return _0x36eb22;};return _0x12c1();}import{WebSocketGateway as _0x2642bf}from'./websocketgateway.js';function _0x2673(_0x1f2db1,_0x48c905){const _0x12c191=_0x12c1();return _0x2673=function(_0x2673a1,_0x2bb1ee){_0x2673a1=_0x2673a1-0x1d7;let _0x1545f7=_0x12c191[_0x2673a1];return _0x1545f7;},_0x2673(_0x1f2db1,_0x48c905);}import{Sessions as _0x52f8ac}from'./sessions.js';import{UserMarkers as _0x20e009}from'./usermarkers.js';import{getTranslation as _0x461b5b}from'../common-translations.js';import{Compressor as _0x3e0cbe}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x21098e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5f0e5c,CollaborativeEditingService as _0x28d6ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x1a4335{static [_0x505943(0x200)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x28d6ce)());[_0x505943(0x1e4)];[_0x505943(0x27f)];[_0x505943(0x201)];[_0x505943(0x20b)];[_0x505943(0x258)];[_0x505943(0x297)];[_0x505943(0x235)];[_0x505943(0x293)];[_0x505943(0x262)];[_0x505943(0x24a)];[_0x505943(0x238)];[_0x505943(0x2a8)];[_0x505943(0x26d)];[_0x505943(0x26e)];[_0x505943(0x237)];[_0x505943(0x1ff)];[_0x505943(0x22f)];[_0x505943(0x256)];static get[_0x505943(0x2dc)](){return[_0x2642bf,_0x52f8ac,_0x20e009,_0x1a4c78,_0x21098e,_0x25ab24];}static get[_0x505943(0x2ce)](){const _0x5152a7=_0x505943;return _0x5152a7(0x2ca);}static get[_0x505943(0x27a)](){return!0x0;}static get[_0x505943(0x25f)](){return!0x0;}get[_0x505943(0x29b)](){const _0x4777e5=_0x505943;return this[_0x4777e5(0x2b0)]+this[_0x4777e5(0x1e4)];}get[_0x505943(0x2b0)](){const _0x16dbf6=_0x505943;return this[_0x16dbf6(0x201)][_0x16dbf6(0x2b9)]-this[_0x16dbf6(0x1e4)];}get[_0x505943(0x28c)](){const _0x5ad13a=_0x505943,_0x290b7f=this[_0x5ad13a(0x201)][_0x5ad13a(0x246)]();for(let _0x539b6f=_0x290b7f[_0x5ad13a(0x2b1)]-0x1;_0x539b6f>=0x0;_0x539b6f--){const _0x396405=_0x290b7f[_0x539b6f];if(!this[_0x5ad13a(0x22f)][_0x5ad13a(0x1fe)](_0x396405))return _0x396405[_0x5ad13a(0x2bd)]+0x1-this[_0x5ad13a(0x1e4)];}return 0x0;}constructor(_0x2b604d){const _0x220c76=_0x505943;if(super(_0x2b604d),this[_0x220c76(0x1e4)]=0x0,this[_0x220c76(0x27f)]=null,this[_0x220c76(0x201)]=new _0x1f7d08(),this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2b2)](_0x220c76(0x210),{}),this[_0x220c76(0x20b)]=this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x2bc)),!this[_0x220c76(0x20b)])throw new _0x1c76e3(_0x220c76(0x2a5),this);const _0x52aedc=_0x2b604d[_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x257))||_0x5a8c68;this[_0x220c76(0x258)]=new RealTimeCollaborationClient[(_0x220c76(0x200))](_0x52aedc,this[_0x220c76(0x20b)]),this[_0x220c76(0x297)]=this[_0x220c76(0x26b)][_0x220c76(0x2bf)][_0x220c76(0x2c6)],this[_0x220c76(0x235)]=new _0x3e0cbe(),this[_0x220c76(0x293)]=[],this[_0x220c76(0x262)]=new WeakSet(),this[_0x220c76(0x24a)]=new Set(),this[_0x220c76(0x1f7)](_0x220c76(0x284),!0x1),this[_0x220c76(0x1f7)](_0x220c76(0x271),!0x1),this[_0x220c76(0x238)]=null,this[_0x220c76(0x2a8)]=!0x1,this[_0x220c76(0x26d)]=null,this[_0x220c76(0x26e)]=0x12c,this[_0x220c76(0x237)]=this[_0x220c76(0x26e)],this[_0x220c76(0x1ff)]=null,this[_0x220c76(0x22f)]=new WeakSet(),this[_0x220c76(0x256)]=new U(this[_0x220c76(0x22f)]);}[_0x505943(0x275)](){const _0x58846a=_0x505943,_0xa31efc=this[_0x58846a(0x26b)],_0x5d46ce=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x21098e),_0x292714=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x2642bf);this[_0x58846a(0x1de)](_0x5d46ce,_0x58846a(0x289),(_0xba2bc5,_0x4a85ac)=>{const _0x5baf5b=_0x58846a,_0x1d0a28=_0x4a85ac[0x0];_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=_0x5d46ce[_0x5baf5b(0x299)](_0x1d0a28[_0x5baf5b(0x29a)]),_0xba2bc5[_0x5baf5b(0x259)]()),null===_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=null,_0xba2bc5[_0x5baf5b(0x259)]());},{'priority':_0x58846a(0x2a0)}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x2bf)][_0x58846a(0x2c6)][_0x58846a(0x2a7)],_0x58846a(0x28d),(_0x228414,_0x3663dd)=>{const _0x4001ea=_0x58846a;_0x3663dd[_0x4001ea(0x1f8)]&&this[_0x4001ea(0x1dc)]();}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x245)][_0x58846a(0x21e)],_0x58846a(0x25a),()=>{const _0x3afc93=_0x58846a;this[_0x3afc93(0x1dc)]();}),this[_0x58846a(0x1f6)](),_0xa31efc[_0x58846a(0x2bf)]['on'](_0x58846a(0x255),(_0x1979d9,_0x359648)=>{const _0xf925f4=_0x58846a,_0x3c6b73=_0x359648[0x0];_0x3c6b73[_0xf925f4(0x1f2)]&&(this[_0xf925f4(0x263)](_0x3c6b73),this[_0xf925f4(0x2c9)]()&&this[_0xf925f4(0x2b8)]());}),this[_0x58846a(0x253)](),this[_0x58846a(0x2c0)](_0x58846a(0x2a2))['to'](_0x292714,_0x58846a(0x2cc),this,_0x58846a(0x271),(_0x61df9d,_0x3883bd)=>_0x58846a(0x2d8)===_0x61df9d&&!_0x3883bd),this['on'](_0x58846a(0x1ee),()=>{const _0x24d965=_0x58846a;this[_0x24d965(0x2a2)]?_0xa31efc[_0x24d965(0x243)](_0x24d965(0x231)):_0xa31efc[_0x24d965(0x227)](_0x24d965(0x231));}),this[_0x58846a(0x2a2)]?_0xa31efc[_0x58846a(0x243)](_0x58846a(0x231)):_0xa31efc[_0x58846a(0x227)](_0x58846a(0x231)),this[_0x58846a(0x1f7)](_0x58846a(0x222),!0x1);}async[_0x505943(0x25b)](){const _0x23e99a=_0x505943,_0x3142b6=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x52f8ac),_0x93ede9=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x2642bf);try{this[_0x23e99a(0x284)]=!0x0,_0x3142b6[_0x23e99a(0x2d7)](this[_0x23e99a(0x20b)]);const _0xf10563=await this[_0x23e99a(0x258)][_0x23e99a(0x25b)](_0x93ede9[_0x23e99a(0x220)],this[_0x23e99a(0x28c)]);await this[_0x23e99a(0x269)](_0xf10563)&&(this[_0x23e99a(0x284)]=!0x1,this[_0x23e99a(0x1e5)]());const _0x43058d=await this[_0x23e99a(0x258)][_0x23e99a(0x21d)]();_0x3142b6[_0x23e99a(0x2c1)](this[_0x23e99a(0x20b)],_0x43058d),this[_0x23e99a(0x1e3)](),this[_0x23e99a(0x222)]=!0x0;}catch(_0x4b09a2){if(function(_0x299417){const _0x556377=_0x23e99a;return _0x556377(0x24d)===_0x299417[_0x556377(0x285)];}(_0x4b09a2)&&this[_0x23e99a(0x27f)])await this[_0x23e99a(0x202)]();else{if(function(_0x5327b5){const _0xf4ba96=_0x23e99a;return _0xf4ba96(0x292)===_0x5327b5[_0xf4ba96(0x285)];}(_0x4b09a2)){const _0x3b260f=_0x461b5b(this[_0x23e99a(0x26b)][_0x23e99a(0x1db)],_0x23e99a(0x272));this[_0x23e99a(0x1f4)](_0x3b260f);}else{if(!(_0x4b09a2 instanceof D))throw _0x4b09a2;this[_0x23e99a(0x1f4)]();}}}}[_0x505943(0x1e1)](){const _0x4550bc=_0x505943,_0x9afe96=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x2642bf),_0x23aee9=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x52f8ac);this[_0x4550bc(0x26b)][_0x4550bc(0x227)](_0x4550bc(0x23f)),_0x23aee9[_0x4550bc(0x288)][_0x4550bc(0x1fe)](this[_0x4550bc(0x20b)])&&_0x23aee9[_0x4550bc(0x2d7)](this[_0x4550bc(0x20b)]),_0x9afe96[_0x4550bc(0x2d2)](this),this[_0x4550bc(0x1fc)](),super[_0x4550bc(0x1e1)]();}async[_0x505943(0x269)](_0x3a47d8){const _0x5d6809=_0x505943;if(this[_0x5d6809(0x27f)]!==_0x3a47d8[_0x5d6809(0x27f)]&&this[_0x5d6809(0x1ff)]!==_0x3a47d8[_0x5d6809(0x1ec)])throw new D();return this[_0x5d6809(0x27f)]=_0x3a47d8[_0x5d6809(0x27f)],this[_0x5d6809(0x283)]([],{..._0x3a47d8,'wereChangesApplied':!0x1,'data':_0x3a47d8[_0x5d6809(0x2a3)]},_0x5d6809(0x25b));}async[_0x505943(0x23e)](_0x33b1b5,_0x54b02d=!0x1){const _0x3a9682=_0x505943,{connection:_0x576868}=this[_0x3a9682(0x26b)][_0x3a9682(0x2cf)][_0x3a9682(0x2d9)](_0x2642bf);RealTimeCollaborationClient[_0x3a9682(0x200)][_0x3a9682(0x21d)](_0x576868,this[_0x3a9682(0x20b)])[_0x3a9682(0x2dd)](_0x311add=>this[_0x3a9682(0x2ba)](_0x311add))[_0x3a9682(0x291)](_0x12b763=>{const _0x47e82a=_0x3a9682;this[_0x47e82a(0x1f0)](_0x47e82a(0x233),_0x12b763);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x1e6),this[_0x3a9682(0x236)][_0x3a9682(0x2c0)](this)),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x29d),(_0x181dd1,_0x4f1273)=>{const _0x215aa3=_0x3a9682;this[_0x215aa3(0x1f0)](_0x215aa3(0x264),_0x4f1273);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x216),()=>{const _0x18641d=_0x3a9682;this[_0x18641d(0x222)]=!0x1;});const _0x591c7d=this[_0x3a9682(0x256)][_0x3a9682(0x24f)](_0x33b1b5);this[_0x3a9682(0x284)]=!0x0;const _0x171138=await this[_0x3a9682(0x258)][_0x3a9682(0x273)](_0x576868,this[_0x3a9682(0x225)](_0x33b1b5),_0x591c7d);if(this[_0x3a9682(0x27f)]=_0x171138[_0x3a9682(0x27f)],_0x54b02d){if(!_0x171138[_0x3a9682(0x242)])return void this[_0x3a9682(0x1f4)]();this[_0x3a9682(0x284)]=!0x1,this[_0x3a9682(0x1e5)](),this[_0x3a9682(0x201)][_0x3a9682(0x2b4)](),this[_0x3a9682(0x1e4)]=_0x171138[_0x3a9682(0x1ed)],this[_0x3a9682(0x201)][_0x3a9682(0x2b9)]=this[_0x3a9682(0x1e4)],await this[_0x3a9682(0x283)](_0x33b1b5,_0x171138,_0x3a9682(0x230));}else await this[_0x3a9682(0x29c)](_0x171138,_0x33b1b5);this[_0x3a9682(0x1e3)](),this[_0x3a9682(0x222)]=!0x0;}[_0x505943(0x1e3)](){const _0x5ce75d=_0x505943,_0xa09822=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x52f8ac),_0x276faa=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x20e009),_0x13d1cf=_0xa09822[_0x5ce75d(0x288)][_0x5ce75d(0x2d9)](this[_0x5ce75d(0x20b)]);_0x13d1cf&&_0x13d1cf[_0x5ce75d(0x2b1)]>0x1?_0x276faa[_0x5ce75d(0x212)]():this[_0x5ce75d(0x1de)](_0xa09822,_0x5ce75d(0x21b)+this[_0x5ce75d(0x20b)],()=>{const _0x38f848=_0x5ce75d;0x2===_0xa09822[_0x38f848(0x288)][_0x38f848(0x2d9)](this[_0x38f848(0x20b)])[_0x38f848(0x2b1)]&&_0x276faa[_0x38f848(0x212)]();});}async[_0x505943(0x236)](_0x32f4ba,_0x461927,_0x397403,_0x51c871){const _0x33fd92=_0x505943;if(!this[_0x33fd92(0x284)]&&this[_0x33fd92(0x297)][_0x33fd92(0x2b9)]==_0x461927){const _0x1ed78a=this[_0x33fd92(0x232)](_0x397403,_0x51c871);await this[_0x33fd92(0x2c7)](_0x1ed78a),this[_0x33fd92(0x286)](_0x1ed78a,_0x461927,_0x397403[_0x33fd92(0x1ec)])||this[_0x33fd92(0x1f0)](_0x33fd92(0x239));}}async[_0x505943(0x202)](){const _0x1a8d55=_0x505943;this[_0x1a8d55(0x1fc)]();const {locale:_0x43bbd1}=this[_0x1a8d55(0x26b)];let _0x5578af;try{_0x5578af=await this[_0x1a8d55(0x258)][_0x1a8d55(0x206)]();}catch{const _0x4437bb=_0x461b5b(_0x43bbd1,_0x1a8d55(0x295));return void this[_0x1a8d55(0x1f4)](_0x4437bb);}const _0xf9d932=_0x5578af[_0x1a8d55(0x2d0)]||_0x5578af[_0x1a8d55(0x294)];if(this[_0x1a8d55(0x1ff)]!==_0xf9d932[_0x1a8d55(0x1ec)]){const _0x1c585a=_0x461b5b(_0x43bbd1,_0x1a8d55(0x2a9));return void this[_0x1a8d55(0x1f4)](_0x1c585a);}await this[_0x1a8d55(0x23e)](this[_0x1a8d55(0x26b)][_0x1a8d55(0x2bf)][_0x1a8d55(0x2c6)][_0x1a8d55(0x260)][_0x1a8d55(0x246)](),!0x0);}[_0x505943(0x1fc)](){const _0x1e3a1c=_0x505943;this[_0x1e3a1c(0x258)][_0x1e3a1c(0x203)](),this[_0x1e3a1c(0x293)]=[],clearTimeout(this[_0x1e3a1c(0x26d)]),this[_0x1e3a1c(0x24b)](this[_0x1e3a1c(0x258)]);}[_0x505943(0x2ba)](_0x1cceb4){const _0x15acc6=_0x505943,_0x3d4198=this[_0x15acc6(0x26b)][_0x15acc6(0x2cf)][_0x15acc6(0x2d9)](_0x52f8ac);this[_0x15acc6(0x1de)](_0x3d4198,_0x15acc6(0x21b)+this[_0x15acc6(0x20b)],(_0x400093,{session:_0x59f6ac})=>{const _0x152676=_0x15acc6;if(_0x59f6ac['id']===_0x3d4198[_0x152676(0x244)]){_0x400093[_0x152676(0x207)]();const _0x111ba3=this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x1fe)](_0x152676(0x261))&&this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x261));let _0x352c7f=_0x59f6ac[_0x152676(0x1ef)];_0x111ba3&&_0x111ba3[_0x152676(0x2ae)]&&(_0x352c7f=_0x352c7f[_0x152676(0x28f)](_0x28f471=>_0x152676(0x234)!==_0x28f471)),this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x23d))[_0x152676(0x290)](_0x352c7f,this[_0x152676(0x20b)]);}}),_0x3d4198[_0x15acc6(0x2c1)](this[_0x15acc6(0x20b)],_0x1cceb4);}[_0x505943(0x1f6)](){const _0x50c1b1=_0x505943,_0x1000c5=this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)];this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)]=(..._0x4c68d6)=>{const _0x2bc855=_0x50c1b1;if(!_0x4c68d6[_0x4c68d6[_0x2bc855(0x2b1)]-0x1][_0x2bc855(0x20e)])throw new _0x1c76e3(_0x2bc855(0x27d),this);_0x1000c5[_0x2bc855(0x2d1)](this[_0x2bc855(0x26b)][_0x2bc855(0x2a3)],_0x4c68d6);};}[_0x505943(0x253)](){const _0x5ae876=_0x505943;this[_0x5ae876(0x26b)][_0x5ae876(0x2a3)]['on'](_0x5ae876(0x275),(_0x499775,[_0x26d0ad])=>{const _0x4dcba0=_0x5ae876;if(this[_0x4dcba0(0x297)][_0x4dcba0(0x2b9)])throw new _0x1c76e3(_0x4dcba0(0x1d8),this);_0x499775[_0x4dcba0(0x259)](),this[_0x4dcba0(0x1df)]();const _0x4edf79=this[_0x4dcba0(0x26b)][_0x4dcba0(0x2af)][_0x4dcba0(0x2d9)](_0x4dcba0(0x25c)),_0x1e61bd=this[_0x4dcba0(0x1eb)](_0x26d0ad,_0x4edf79);0x0==_0x1e61bd[_0x4dcba0(0x2b1)]&&_0x1e61bd[_0x4dcba0(0x279)](new _0x507943(0x0)),_0x499775[_0x4dcba0(0x1ea)]=this[_0x4dcba0(0x23e)](_0x1e61bd)[_0x4dcba0(0x2dd)](()=>{const _0x53fb38=_0x4dcba0;this[_0x53fb38(0x26b)][_0x53fb38(0x2cf)][_0x53fb38(0x2d9)](_0x2642bf)[_0x53fb38(0x1e7)](this),this[_0x53fb38(0x26b)][_0x53fb38(0x2a3)][_0x53fb38(0x208)](_0x53fb38(0x268));})[_0x4dcba0(0x291)](_0x584655=>this[_0x4dcba0(0x1f0)](_0x4dcba0(0x1da),_0x584655))[_0x4dcba0(0x223)](()=>this[_0x4dcba0(0x1e5)]());},{'priority':_0x5ae876(0x2a0)}),this[_0x5ae876(0x26b)]['on'](_0x5ae876(0x2b7),async(_0x20cfed,[_0x53fd7b,_0xa1f3ff])=>{const _0x12a11b=_0x5ae876;_0x20cfed[_0x12a11b(0x259)]();const _0x51245a=this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c6)][_0x12a11b(0x24c)](_0x53fd7b);if(!this[_0x12a11b(0x24a)][_0x12a11b(0x1fe)](_0x53fd7b)){const _0x3b306e=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x2a3)]?_0xa1f3ff[_0x12a11b(0x2a3)]:'',_0x3aad0d=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x1e8)]?_0xa1f3ff[_0x12a11b(0x1e8)]:{};await this[_0x12a11b(0x247)](_0x53fd7b,_0x3b306e,_0x3aad0d);}this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c5)]({'isUndoable':!0x1},()=>{const _0x5a6dbd=_0x12a11b;_0x51245a[_0x5a6dbd(0x26a)]=!0x0,this[_0x5a6dbd(0x26b)][_0x5a6dbd(0x2bf)][_0x5a6dbd(0x2c6)][_0x5a6dbd(0x254)][_0x5a6dbd(0x2b3)](_0x51245a);});},{'priority':_0x5ae876(0x2a0)});}async[_0x505943(0x2c7)](_0x4fa5c8){const _0x4c3912=_0x505943,_0x5d2e6f=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x21098e),{connection:_0x4499a5}=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x2642bf),_0x53dfa6=new Set();for(const _0x4e68e6 of _0x4fa5c8){const _0x1569a9=_0x4e68e6[_0x4c3912(0x29a)];_0x1569a9&&!_0x5d2e6f[_0x4c3912(0x299)](_0x1569a9)&&_0x53dfa6[_0x4c3912(0x2ac)](_0x1569a9);}if(0x0===_0x53dfa6[_0x4c3912(0x20f)])return;const _0x3227a6=await _0x5f0e5c[_0x4c3912(0x29e)](_0x4499a5,Array[_0x4c3912(0x1fa)](_0x53dfa6));for(const _0x585a0b of _0x3227a6)_0x5d2e6f[_0x4c3912(0x299)](_0x585a0b['id'])||_0x5d2e6f[_0x4c3912(0x226)](_0x585a0b);}[_0x505943(0x1eb)](_0x8d0ae1,_0x5a1e46={}){const _0x57f113=_0x505943,_0x239783=this[_0x57f113(0x26b)][_0x57f113(0x2bf)],_0x5e6e5d=[];let _0x31eb27=0x0;const _0x5bdc58=_0x57f113(0x219)==typeof _0x8d0ae1?{'main':_0x8d0ae1}:_0x8d0ae1;for(const _0x2c1f04 of Object[_0x57f113(0x276)](_0x5bdc58)){if(!this[_0x57f113(0x297)][_0x57f113(0x25e)][_0x57f113(0x1fe)](_0x2c1f04))throw new _0x1c76e3(_0x57f113(0x27b),this);const _0x104cbb=this[_0x57f113(0x26b)][_0x57f113(0x2a3)][_0x57f113(0x229)](_0x5bdc58[_0x2c1f04]),_0x3aec39=this[_0x57f113(0x297)][_0x57f113(0x24c)](_0x2c1f04),_0x3bc031=new _0x1ee6a8(_0x239783[_0x57f113(0x21c)](_0x3aec39,0x0),_0x104cbb,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x3bc031);for(const [_0x1c39bd,_0x51384a]of _0x104cbb[_0x57f113(0x2c8)]){const _0xf57a52=_0x239783[_0x57f113(0x2c2)](_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x281)][_0x57f113(0x2db)][_0x57f113(0x25d)]()),_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x2d3)][_0x57f113(0x2db)][_0x57f113(0x25d)]())),_0x371198=new _0x2a5813(_0x1c39bd,null,_0xf57a52,_0x239783[_0x57f113(0x2c8)],!0x0,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x371198);}}if(_0x5a1e46)for(const [_0x50c886,_0x5931c3]of Object[_0x57f113(0x2be)](_0x5a1e46)){const _0x2ae036=_0x239783[_0x57f113(0x2c6)][_0x57f113(0x24c)](_0x50c886);if(!_0x2ae036)throw new _0x1c76e3(_0x57f113(0x21a),null);for(const [_0x5d2d72,_0x142146]of Object[_0x57f113(0x2be)](_0x5931c3))if(null!==_0x142146){const _0x192af5=new _0xe66668(_0x2ae036,_0x5d2d72,null,_0x142146,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x192af5);}}return _0x5e6e5d;}async[_0x505943(0x247)](_0x3e202b,_0x1d9617,_0x3340e4){const _0x39b48a=_0x505943;this[_0x39b48a(0x1eb)]({[_0x3e202b]:_0x1d9617},{[_0x3e202b]:_0x3340e4})[_0x39b48a(0x241)]((_0x164bc2,_0x4c705c)=>{const _0x516fd3=_0x39b48a;_0x164bc2[_0x516fd3(0x2bd)]=this[_0x516fd3(0x297)][_0x516fd3(0x2b9)]+_0x4c705c,_0x164bc2[_0x516fd3(0x24e)]=!0x0,this[_0x516fd3(0x263)](_0x164bc2);}),this[_0x39b48a(0x2b8)](),await this[_0x39b48a(0x1fd)]();}async[_0x505943(0x29c)](_0x5622ec,_0x40e374){const _0x4a6f40=_0x505943;let _0x29deb9;this[_0x4a6f40(0x1e4)]=_0x5622ec[_0x4a6f40(0x1ed)];const _0x4d2294=_0x5622ec[_0x4a6f40(0x242)]&&!_0x5622ec[_0x4a6f40(0x22d)],_0x2fa021=_0x4d2294?0x0:_0x5622ec[_0x4a6f40(0x2a3)][_0x4a6f40(0x2bd)];if(_0x40e374[_0x4a6f40(0x241)](_0x347fbf=>{const _0x2d8f00=_0x4a6f40;_0x347fbf[_0x2d8f00(0x24e)]=!0x0,_0x347fbf[_0x2d8f00(0x22c)]=_0x5622ec[_0x2d8f00(0x270)],_0x347fbf[_0x2d8f00(0x29a)]=null;}),_0x4d2294)_0x29deb9=_0x40e374,this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);else{if(_0x5622ec[_0x4a6f40(0x22d)]){const _0x94b2ad=this[_0x4a6f40(0x1eb)](_0x5622ec[_0x4a6f40(0x22d)]);this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)],_0x94b2ad[_0x4a6f40(0x241)](_0x3f4617=>{const _0x39de77=_0x4a6f40;_0x3f4617[_0x39de77(0x2bd)]-=_0x94b2ad[_0x39de77(0x2b1)],_0x3f4617[_0x39de77(0x22c)]=_0x5622ec[_0x39de77(0x270)],_0x3f4617[_0x39de77(0x24e)]=!0x0,_0x3f4617[_0x39de77(0x29a)]=null;}),this[_0x4a6f40(0x205)](_0x94b2ad,!0x0),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)]+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x94b2ad);}this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=_0x2fa021,_0x29deb9=this[_0x4a6f40(0x232)](_0x5622ec[_0x4a6f40(0x2a3)],_0x5622ec[_0x4a6f40(0x26f)]),await this[_0x4a6f40(0x2c7)](_0x29deb9),this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);}_0x5622ec[_0x4a6f40(0x1ec)]&&(this[_0x4a6f40(0x256)][_0x4a6f40(0x248)](_0x29deb9,_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x1ff)]=_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=_0x2fa021+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x29deb9),_0x40e374[_0x4a6f40(0x28f)](_0x26d6f5=>{const _0x494c95=_0x4a6f40,_0x3b8e84=this[_0x494c95(0x23b)](_0x26d6f5);return _0x3b8e84&&!this[_0x494c95(0x24a)][_0x494c95(0x1fe)](_0x3b8e84);})[_0x4a6f40(0x241)]((_0xa15c3f,_0x2e22fa)=>{const _0x421b6c=_0x4a6f40;_0xa15c3f[_0x421b6c(0x2bd)]=this[_0x421b6c(0x297)][_0x421b6c(0x2b9)]+_0x2e22fa,this[_0x421b6c(0x263)](_0xa15c3f);}),this[_0x4a6f40(0x2c9)]()?(this[_0x4a6f40(0x237)]=0x0,this[_0x4a6f40(0x2b8)](!0x0),await this[_0x4a6f40(0x1fd)]()):(this[_0x4a6f40(0x284)]=!0x1,this[_0x4a6f40(0x1e5)]());}[_0x505943(0x1f0)](_0x3128c6,_0x4bef51){const _0x18ea16=_0x505943,_0x14219b=_0x4bef51&&_0x4bef51[_0x18ea16(0x1e2)];if(_0x14219b&&_0x14219b[_0x18ea16(0x221)](_0x18ea16(0x1f3)))throw _0x4bef51;const _0xc1b960=this[_0x18ea16(0x26b)][_0x18ea16(0x2cf)][_0x18ea16(0x2d9)](_0x2642bf);throw this[_0x18ea16(0x284)]=!0x0,_0xc1b960[_0x18ea16(0x203)](),this[_0x18ea16(0x26b)][_0x18ea16(0x227)](_0x18ea16(0x28b)),new _0x1c76e3(_0x3128c6,this[_0x18ea16(0x26b)],_0x14219b?{'originalError':_0x14219b}:void 0x0);}[_0x505943(0x263)](_0x56aef2){const _0x40b398=_0x505943;this[_0x40b398(0x262)][_0x40b398(0x1fe)](_0x56aef2)||(this[_0x40b398(0x262)][_0x40b398(0x2ac)](_0x56aef2),this[_0x40b398(0x293)][_0x40b398(0x279)](_0x56aef2),this[_0x40b398(0x238)]||_0x40b398(0x27c)==_0x56aef2[_0x40b398(0x20d)]&&!_0x56aef2[_0x40b398(0x251)]||this[_0x40b398(0x1df)]());}[_0x505943(0x2b8)](_0x53088a=!0x1){const _0x50ed45=_0x505943;!_0x53088a&&this[_0x50ed45(0x284)]||(this[_0x50ed45(0x284)]=!0x0,clearTimeout(this[_0x50ed45(0x26d)]),this[_0x50ed45(0x26d)]=setTimeout(()=>{const _0x243e97=_0x50ed45;this[_0x243e97(0x29f)]()[_0x243e97(0x2dd)](_0x160a41=>{const _0x59d0bb=_0x243e97;_0x160a41&&(this[_0x59d0bb(0x1e5)](),this[_0x59d0bb(0x284)]=!0x1);})[_0x243e97(0x291)](_0x275cf6=>{const _0x3bed36=_0x243e97;this[_0x3bed36(0x1e5)](),this[_0x3bed36(0x284)]=!0x1,function(_0x363094){const _0x290d84=_0x3bed36;return _0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2da))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x22b))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2bb));}(_0x275cf6)||this[_0x3bed36(0x1f0)](_0x275cf6[_0x3bed36(0x1e2)],_0x275cf6);});},this[_0x50ed45(0x237)]));}[_0x505943(0x1fd)](){return new Promise(_0x578962=>{const _0x23ef70=_0x2673;this['on'](_0x23ef70(0x240),()=>{_0x578962();});});}async[_0x505943(0x29f)](){const _0x2e1022=_0x505943,_0x150182=this[_0x2e1022(0x26b)][_0x2e1022(0x2cf)][_0x2e1022(0x2d9)](_0x20e009);if(this[_0x2e1022(0x2a6)]()&&(_0x150182[_0x2e1022(0x212)](),this[_0x2e1022(0x2a8)]=!0x1),!this[_0x2e1022(0x2c9)]())return!0x0;const _0x4146f4=[...this[_0x2e1022(0x293)]];for(const _0x40bf0e of _0x4146f4)_0x40bf0e[_0x2e1022(0x265)]=this[_0x2e1022(0x297)][_0x2e1022(0x260)][_0x2e1022(0x2b5)](_0x40bf0e);const _0x26dee0=this[_0x2e1022(0x256)][_0x2e1022(0x24f)](_0x4146f4),_0x59db1c=j++,_0x32e6bb=this[_0x2e1022(0x225)](_0x4146f4),_0x2f6d52=await this[_0x2e1022(0x258)][_0x2e1022(0x287)](_0x32e6bb,_0x32e6bb[_0x2e1022(0x2bd)],_0x26dee0);try{return await this[_0x2e1022(0x283)](_0x4146f4,_0x2f6d52,_0x59db1c);}catch(_0x3dfc02){return this[_0x2e1022(0x1f0)](_0x2e1022(0x2d6),_0x3dfc02);}}async[_0x505943(0x283)](_0x2acc1b,_0x3535d2,_0x1352ef){const _0x233ece=_0x505943;if(_0x233ece(0x29d)in _0x3535d2)throw _0x3535d2[_0x233ece(0x29d)];let _0x2aa098=!0x1;if(_0x3535d2[_0x233ece(0x242)]){_0x3535d2[_0x233ece(0x1ec)]&&(this[_0x233ece(0x1ff)]=_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0x41e7b3=>!_0x2acc1b[_0x233ece(0x2c3)](_0x41e7b3));for(const _0x2f2431 of _0x2acc1b)_0x2f2431[_0x233ece(0x22c)]=_0x233ece(0x1f9)in _0x3535d2&&_0x3535d2[_0x233ece(0x1f9)]||void 0x0;P(_0x2acc1b,_0x3535d2[_0x233ece(0x2b9)]-_0x2acc1b[_0x233ece(0x2b1)]),this[_0x233ece(0x267)](_0x2acc1b);const _0x1586ff=_0x2acc1b[_0x233ece(0x28f)](_0x14d22d=>{const _0x1fe5cf=_0x233ece;if(!_0x14d22d[_0x1fe5cf(0x24e)])return!0x1;const _0xbc58f7=this[_0x1fe5cf(0x23b)](_0x14d22d);return _0xbc58f7&&!this[_0x1fe5cf(0x24a)][_0x1fe5cf(0x1fe)](_0xbc58f7);});P(_0x1586ff,this[_0x233ece(0x297)][_0x233ece(0x2b9)]),this[_0x233ece(0x205)](_0x1586ff),_0x2aa098=!0x0,this[_0x233ece(0x237)]=this[_0x233ece(0x26e)];}else{const _0x5986e2=this[_0x233ece(0x232)](_0x3535d2[_0x233ece(0x2a3)],_0x3535d2[_0x233ece(0x26f)])[_0x233ece(0x28f)](_0x28da2e=>_0x28da2e[_0x233ece(0x2bd)]>=this[_0x233ece(0x2b0)]);_0x5986e2[_0x233ece(0x241)](_0x1750e0=>this[_0x233ece(0x249)](_0x1750e0)),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0xffca6a=>!_0xffca6a[_0x233ece(0x24e)]||!this[_0x233ece(0x24a)][_0x233ece(0x1fe)](this[_0x233ece(0x23b)](_0xffca6a))),this[_0x233ece(0x293)][_0x233ece(0x2b1)]&&P(this[_0x233ece(0x293)],this[_0x233ece(0x293)][0x0][_0x233ece(0x2bd)]),await this[_0x233ece(0x2c7)](_0x5986e2),_0x2aa098=this[_0x233ece(0x286)](_0x5986e2,_0x3535d2[_0x233ece(0x2b9)],_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x237)]=Math[_0x233ece(0x266)](this[_0x233ece(0x237)]/0x2);}return _0x2aa098?!this[_0x233ece(0x2c9)]()||(this[_0x233ece(0x2b8)](!0x0),!0x1):this[_0x233ece(0x1f0)](_0x233ece(0x1e9));}[_0x505943(0x286)](_0x5cbda5,_0x5344fd,_0x2ecea0){const _0xbc5b3b=_0x505943;try{const _0x53ad41={'document':this[_0xbc5b3b(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x94413f,operationsB:_0x175c93,originalOperations:_0xd5214b}=_0x39265c(_0x5cbda5,this[_0xbc5b3b(0x293)],_0x53ad41);P(_0x94413f,this[_0xbc5b3b(0x297)][_0xbc5b3b(0x2b9)]),P(_0x175c93,_0x5344fd);for(const _0x15f4d2 of _0x94413f){const _0x21137d=_0xd5214b[_0xbc5b3b(0x2d9)](_0x15f4d2);_0x15f4d2[_0xbc5b3b(0x29a)]=_0x21137d?_0x21137d[_0xbc5b3b(0x29a)]:null;}_0x2ecea0&&(this[_0xbc5b3b(0x256)][_0xbc5b3b(0x248)](_0x5cbda5,_0x2ecea0),this[_0xbc5b3b(0x1ff)]=_0x2ecea0),this[_0xbc5b3b(0x293)]=[..._0x175c93],this[_0xbc5b3b(0x205)](_0x94413f),this[_0xbc5b3b(0x267)](_0x5cbda5);}catch(_0x4bbc7f){return console[_0xbc5b3b(0x29d)](_0x4bbc7f),!0x1;}return!0x0;}[_0x505943(0x205)](_0x1e9521,_0x5215d0=!0x1){const _0x2d791c=_0x505943;this[_0x2d791c(0x26b)][_0x2d791c(0x2bf)][_0x2d791c(0x2c5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x420dbc=>{const _0x5bc609=_0x2d791c;for(const _0x53d1a4 of _0x1e9521)this[_0x5bc609(0x262)][_0x5bc609(0x2ac)](_0x53d1a4),this[_0x5bc609(0x249)](_0x53d1a4),_0x420dbc[_0x5bc609(0x274)][_0x5bc609(0x2ad)](_0x53d1a4),this[_0x5bc609(0x26b)][_0x5bc609(0x2bf)][_0x5bc609(0x255)](_0x53d1a4);});}[_0x505943(0x249)](_0x289f84){const _0x2b9ffb=_0x505943,_0x1a31a1=this[_0x2b9ffb(0x23b)](_0x289f84);_0x1a31a1&&this[_0x2b9ffb(0x24a)][_0x2b9ffb(0x2ac)](_0x1a31a1);}[_0x505943(0x23b)](_0x24b653){const _0x1af272=_0x505943;let _0x33a764,_0x3c204e;switch(_0x24b653[_0x1af272(0x20d)]){case _0x1af272(0x2a4):_0x33a764=_0x24b653[_0x1af272(0x28a)][_0x1af272(0x277)];break;case _0x1af272(0x27c):if(_0x3c204e=_0x24b653[_0x1af272(0x214)],!_0x3c204e)return null;_0x33a764=_0x3c204e[_0x1af272(0x277)];break;case _0x1af272(0x213):_0x33a764=_0x24b653[_0x1af272(0x277)];break;case _0x1af272(0x228):_0x33a764=_0x24b653[_0x1af272(0x1fb)];break;case _0x1af272(0x298):_0x33a764=_0x24b653[_0x1af272(0x1d7)][_0x1af272(0x277)];break;default:return null;}return _0x33a764[_0x1af272(0x1e0)];}[_0x505943(0x267)](_0x2a757a){const _0x3e469a=_0x505943;_0x2a757a[_0x3e469a(0x241)](_0x23d78d=>{const _0x121761=_0x3e469a,_0x33e1e3=_0x23d78d[_0x121761(0x215)]();_0x33e1e3[_0x121761(0x29a)]=_0x23d78d[_0x121761(0x29a)],_0x33e1e3[_0x121761(0x24e)]=!!_0x23d78d[_0x121761(0x24e)],_0x33e1e3[_0x121761(0x22c)]=_0x23d78d[_0x121761(0x22c)],_0x33e1e3[_0x121761(0x2bd)]+=this[_0x121761(0x1e4)],_0x23d78d[_0x121761(0x28e)]&&this[_0x121761(0x22f)][_0x121761(0x2ac)](_0x33e1e3),this[_0x121761(0x201)][_0x121761(0x2ad)](_0x33e1e3);});}[_0x505943(0x1f4)](_0x427d2e){const _0x40dfda=_0x505943,_0x255053=this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x40dfda(0x2cb)),_0x408ab7=this[_0x40dfda(0x26b)][_0x40dfda(0x1db)];_0x427d2e||(_0x427d2e=_0x461b5b(_0x408ab7,_0x40dfda(0x23c))),_0x255053[_0x40dfda(0x2ab)](_0x427d2e,{'title':_0x461b5b(_0x408ab7,_0x40dfda(0x218)),'namespace':_0x40dfda(0x21f)}),this[_0x40dfda(0x271)]=!0x0,clearTimeout(this[_0x40dfda(0x26d)]),this[_0x40dfda(0x293)]=[],this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x2642bf)[_0x40dfda(0x203)]();}[_0x505943(0x1df)](){const _0x58e3fc=_0x505943;this[_0x58e3fc(0x238)]||(this[_0x58e3fc(0x238)]=this[_0x58e3fc(0x26b)][_0x58e3fc(0x2cf)][_0x58e3fc(0x2d9)](_0x1a4c78)[_0x58e3fc(0x2ac)](_0x461b5b(this[_0x58e3fc(0x26b)][_0x58e3fc(0x1db)],_0x58e3fc(0x211))));}[_0x505943(0x1e5)](){const _0x4f9f3d=_0x505943;this[_0x4f9f3d(0x238)]&&(this[_0x4f9f3d(0x26b)][_0x4f9f3d(0x2cf)][_0x4f9f3d(0x2d9)](_0x1a4c78)[_0x4f9f3d(0x23a)](this[_0x4f9f3d(0x238)]),this[_0x4f9f3d(0x238)]=null);}[_0x505943(0x225)](_0x7da548){const _0x1fe58b=_0x505943,_0x40acef=_0x7da548[_0x1fe58b(0x27e)](_0x21b05f=>_0x21b05f[_0x1fe58b(0x2c4)]());return this[_0x1fe58b(0x235)][_0x1fe58b(0x2b6)](_0x40acef);}[_0x505943(0x232)](_0xc1643,_0x3edd35){const _0x104701=_0x505943;return this[_0x104701(0x235)][_0x104701(0x1f1)](_0xc1643)[_0x104701(0x27e)]((_0x2b2124,_0x5ec632)=>{const _0x48d88=_0x104701,_0x5dccfe=_0x48d88(0x275)==_0x3edd35[_0x5ec632][_0x48d88(0x20d)];if(_0x48d88(0x26c)==_0x2b2124[_0x48d88(0x1dd)]){const _0x5b7442=_0x2b2124[_0x48d88(0x28a)][_0x48d88(0x277)];!this[_0x48d88(0x297)][_0x48d88(0x24c)](_0x5b7442)&&(this[_0x48d88(0x297)][_0x48d88(0x2cd)](_0x48d88(0x252),_0x5b7442)[_0x48d88(0x217)]=!0x1);}const _0x4eb246=_0x3fd96c[_0x48d88(0x1f5)](_0x2b2124,this[_0x48d88(0x297)]);return _0x4eb246[_0x48d88(0x265)]=_0x2b2124[_0x48d88(0x265)],_0x4eb246[_0x48d88(0x24e)]=_0x5dccfe,_0x4eb246[_0x48d88(0x29a)]=_0x5dccfe?null:_0x3edd35[_0x5ec632][_0x48d88(0x20c)],_0x4eb246[_0x48d88(0x28e)]=_0x48d88(0x2a1)===_0x3edd35[_0x5ec632][_0x48d88(0x20d)],_0x4eb246[_0x48d88(0x22c)]=_0x3edd35[_0x5ec632][_0x48d88(0x22c)],_0x4eb246;});}[_0x505943(0x1dc)](){const _0x30bde0=_0x505943;this[_0x30bde0(0x2a8)]=!0x0,this[_0x30bde0(0x2a6)]()?this[_0x30bde0(0x2b8)]():this[_0x30bde0(0x2a8)]=!0x1;}[_0x505943(0x2a6)](){const _0x46747e=_0x505943,_0x34ecbc=this[_0x46747e(0x26b)][_0x46747e(0x2cf)][_0x46747e(0x2d9)](_0x52f8ac)[_0x46747e(0x288)][_0x46747e(0x2d9)](this[_0x46747e(0x20b)]);return!this[_0x46747e(0x26b)][_0x46747e(0x20a)]&&!!_0x34ecbc&&_0x34ecbc[_0x46747e(0x2b1)]>0x1&&this[_0x46747e(0x2a8)];}[_0x505943(0x2c9)](){const _0x1aba4b=_0x505943;return this[_0x1aba4b(0x293)][_0x1aba4b(0x2b1)]>0x0||this[_0x1aba4b(0x2a6)]();}}class D extends Error{}function P(_0x1d368,_0x55fd0e){const _0x387bfe=_0x505943;for(const _0x772e6 of _0x1d368)_0x772e6[_0x387bfe(0x2bd)]=_0x55fd0e++;}class U{[_0x505943(0x2d5)];[_0x505943(0x2aa)];constructor(_0x1afa7b){const _0x465b37=_0x505943;this[_0x465b37(0x2d5)]=_0x1afa7b,this[_0x465b37(0x2aa)]=new WeakMap();}[_0x505943(0x24f)](_0x265cef){const _0x3a7a49=_0x505943;let _0x1d1bfe=_0x265cef[_0x3a7a49(0x2b1)];for(;_0x1d1bfe--;){const _0x1b39b0=_0x265cef[_0x1d1bfe];if(!this[_0x3a7a49(0x2d5)][_0x3a7a49(0x1fe)](_0x1b39b0)){if(!this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1fe)](_0x1b39b0)){const _0x4b7d3a=_0x2cc8bc()[_0x3a7a49(0x25d)](0x1,0x12);this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1f7)](_0x1b39b0,_0x4b7d3a);}return this[_0x3a7a49(0x2aa)][_0x3a7a49(0x2d9)](_0x1b39b0);}}}[_0x505943(0x248)](_0x492fa7,_0x2a4049){const _0x93190=_0x505943;if(!_0x2a4049)return;let _0xe7f072=_0x492fa7[_0x93190(0x2b1)];for(;_0xe7f072--;){const _0x315152=_0x492fa7[_0xe7f072];this[_0x93190(0x2d5)][_0x93190(0x1fe)](_0x315152)||this[_0x93190(0x2aa)][_0x93190(0x1f7)](_0x315152,_0x2a4049);}}}
|