@ckeditor/ckeditor5-real-time-collaboration 47.7.0-alpha.2 → 47.7.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "47.7.0-alpha.
|
|
3
|
+
"version": "47.7.0-alpha.3",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "53.0.3",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "47.7.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.7.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.7.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.7.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.7.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.7.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.7.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.7.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.7.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.7.0-alpha.
|
|
61
|
-
"ckeditor5": "47.7.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "47.7.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.7.0-alpha.3",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.7.0-alpha.3",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.7.0-alpha.3",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.7.0-alpha.3",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.7.0-alpha.3",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.7.0-alpha.3",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.7.0-alpha.3",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.7.0-alpha.3",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.7.0-alpha.3",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.7.0-alpha.3",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.7.0-alpha.3",
|
|
61
|
+
"ckeditor5": "47.7.0-alpha.3",
|
|
62
|
+
"ckeditor5-collaboration": "47.7.0-alpha.3",
|
|
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 _0x211649=_0x4640;function _0x4640(_0x16036a,_0x5cd8e2){const _0x303bd2=_0x303b();return _0x4640=function(_0x4640b6,_0x3ad19c){_0x4640b6=_0x4640b6-0xe0;let _0x4f2b63=_0x303bd2[_0x4640b6];return _0x4f2b63;},_0x4640(_0x16036a,_0x5cd8e2);}function _0x303b(){const _0x1bf743=['isFocusable','execute','checkIfScrollable','_handleUserRemove','offsetHeight','presencelist:hide','destroy','keystrokes','pin','plugins','reverse','_handleUserAdd','querySelectorAll','onClick','attachToDom','map','showDropdown','displayMe','set','Enter','1195456YbRdwd','focus','_allConnectedUsers','change:isFocused','listenTo','presenceDropdownView','presenceList.collapseAt','bindTo','from','[tabindex]','Tab','bind','get','isPremiumPlugin','isRendered','locale','min','class','Shift+Tab','unpin','presenceList.container','content','textarea','config','join','presencelist-missing-container','filter','requires','Esc','add','body','presenceList.displayMe','isOfficialPlugin','balloonPanelView','focusTracker','isVisible','activeElement','937638RQrxKy','find','_bodyCollection','isMe',':not([disabled]):not([tabindex=\x22-1\x22])','tabIndex','743009leiaZg','length','pluginName','2020347bsrJWg','isCollapsed','[contenteditable]','number','370324TifJwD','41247hRZqvb','render','PresenceListUI','presencelist-collapseat-invalid-format','5270anEvQf','indexOf','detachFromDom','using','8zyxMPM','_createView','usersCount','remove','28StZRYy','define','appendChild','hasTooltip','input','2221290yxKCjO','select','currentDisplayedUsers','items','context','offsetWidth','init','presencelist:show','inlineListView','allConnectedUsers','view','hideDropdown','element','isExpanded','sort','ck\x20ck-presence-list__balloon','presenceList','button','counterView'];_0x303b=function(){return _0x1bf743;};return _0x303b();}(function(_0x524937,_0x462f99){const _0x2d55d9=_0x4640,_0x439350=_0x524937();while(!![]){try{const _0x1d0f7f=-parseInt(_0x2d55d9(0x10d))/0x1+-parseInt(_0x2d55d9(0x114))/0x2+parseInt(_0x2d55d9(0x110))/0x3+parseInt(_0x2d55d9(0x11d))/0x4*(-parseInt(_0x2d55d9(0x126))/0x5)+parseInt(_0x2d55d9(0x107))/0x6*(-parseInt(_0x2d55d9(0x121))/0x7)+-parseInt(_0x2d55d9(0xe2))/0x8+-parseInt(_0x2d55d9(0x115))/0x9*(-parseInt(_0x2d55d9(0x119))/0xa);if(_0x1d0f7f===_0x462f99)break;else _0x439350['push'](_0x439350['shift']());}catch(_0x563be1){_0x439350['push'](_0x439350['shift']());}}}(_0x303b,0x79747));import{ContextPlugin as _0xb63aa}from'ckeditor5/src/core.js';import{CKEditorError as _0x263669,Collection as _0x12a34a}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xb9a398,BalloonPanelView as _0x34aa27,BodyCollection as _0x325f1a}from'ckeditor5/src/ui.js';import{isElement as _0x16c6c4}from'es-toolkit/compat';import{Sessions as _0xf4e1b5}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x34e5e4}from'./view/presencelistview.js';import{PresenceCounterView as _0x380c49}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x4004bb}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0xc28422}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x69bffa}from'./view/presenceinlinelistitemview.js';const M={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0xb63aa{[_0x211649(0x128)];[_0x211649(0x103)];[_0x211649(0x130)];[_0x211649(0xe7)];[_0x211649(0x109)]=null;static get[_0x211649(0x10f)](){const _0x14e49f=_0x211649;return _0x14e49f(0x117);}static get[_0x211649(0x102)](){return!0x0;}static get[_0x211649(0xef)](){return!0x0;}constructor(_0x139077){const _0x17b7fe=_0x211649;super(_0x139077),this[_0x17b7fe(0x12a)][_0x17b7fe(0xf9)][_0x17b7fe(0x122)](_0x17b7fe(0x136),M);const _0xc8ce09=_0x139077[_0x17b7fe(0xf9)][_0x17b7fe(0xee)](_0x17b7fe(0xe8));if(_0x17b7fe(0x113)!=typeof _0xc8ce09)throw new _0x263669(_0x17b7fe(0x118),this);if(_0xc8ce09<0x1)throw new _0x263669(_0x17b7fe(0x118),this);this[_0x17b7fe(0xe4)]=this[_0x17b7fe(0x12a)][_0x17b7fe(0x142)][_0x17b7fe(0xee)](_0xf4e1b5)[_0x17b7fe(0x12f)],this[_0x17b7fe(0xe0)](_0x17b7fe(0x11f),0x0),this[_0x17b7fe(0x128)]=new _0x12a34a(),this[_0x17b7fe(0x103)]=new _0x34aa27(),this[_0x17b7fe(0x103)][_0x17b7fe(0xf3)]=_0x17b7fe(0x135),this[_0x17b7fe(0x130)]=this[_0x17b7fe(0x11e)](),this[_0x17b7fe(0xe7)]=void 0x0;}static get[_0x211649(0xfd)](){return[_0xf4e1b5];}[_0x211649(0x12c)](){const _0x146a65=_0x211649;for(const _0x293258 of this[_0x146a65(0xe4)])this[_0x146a65(0x144)](_0x293258);this[_0x146a65(0xe6)](this[_0x146a65(0xe4)],_0x146a65(0xff),(_0x1437bc,_0x58140f)=>{const _0x1b54cb=_0x146a65;this[_0x1b54cb(0x144)](_0x58140f);}),this[_0x146a65(0xe6)](this[_0x146a65(0xe4)],_0x146a65(0x120),(_0x2439a8,_0x11a1d2)=>{const _0x385604=_0x146a65;this[_0x385604(0x13c)](_0x11a1d2);});}[_0x211649(0x11e)](){const _0x59c836=_0x211649,_0x30d27f=this[_0x59c836(0x12a)],_0x1f03e2=new _0x34e5e4(this[_0x59c836(0x12a)][_0x59c836(0xf1)],this[_0x59c836(0x12a)][_0x59c836(0xf9)][_0x59c836(0xee)](_0x59c836(0xe8))),_0xd4b82c=this[_0x59c836(0x103)];if(!_0x16c6c4(_0x30d27f[_0x59c836(0xf9)][_0x59c836(0xee)](_0x59c836(0xf6))))throw new _0x263669(_0x59c836(0xfb),this);return _0x1f03e2[_0x59c836(0x138)][_0x59c836(0xed)](_0x59c836(0x11f))['to'](this),_0x1f03e2[_0x59c836(0xed)](_0x59c836(0x111))['to'](this,_0x59c836(0x11f),_0x4a7b63=>{const _0x5ba176=_0x59c836,{collapseAt:_0x3954fb}=_0x30d27f[_0x5ba176(0xf9)][_0x5ba176(0xee)](_0x5ba176(0x136)),_0x473b3d=_0x4a7b63>=_0x3954fb;if(_0x473b3d&&!_0x1f03e2[_0x5ba176(0x12e)][_0x5ba176(0x129)][_0x5ba176(0x108)](_0x391dd0=>_0x391dd0 instanceof _0x380c49)){const _0x47aec4=this[_0x5ba176(0x12a)][_0x5ba176(0xf9)][_0x5ba176(0xee)](_0x5ba176(0xe8))-0x1;this[_0x5ba176(0x128)][_0x5ba176(0x10e)]==_0x47aec4&&this[_0x5ba176(0x128)][_0x5ba176(0x10e)]>0x1&&this[_0x5ba176(0x128)][_0x5ba176(0x120)](this[_0x5ba176(0x128)][_0x5ba176(0x10e)]-0x1),_0x1f03e2[_0x5ba176(0x12e)][_0x5ba176(0x129)][_0x5ba176(0xff)](_0x1f03e2[_0x5ba176(0x138)]);}return _0x473b3d||this[_0x5ba176(0x131)](),_0x473b3d;}),_0x1f03e2[_0x59c836(0x12e)][_0x59c836(0x129)][_0x59c836(0xe9)](this[_0x59c836(0x128)])[_0x59c836(0x11c)](_0x1c3789=>{const _0x3e08cd=_0x59c836,_0x54cec5=_0x30d27f[_0x3e08cd(0xf9)][_0x3e08cd(0xee)](_0x3e08cd(0x136)),_0x4633d0=new _0x69bffa(_0x30d27f[_0x3e08cd(0xf1)],_0x1c3789,!!_0x54cec5[_0x3e08cd(0x146)]);return _0x4633d0[_0x3e08cd(0xed)](_0x3e08cd(0x124))['to'](_0x1f03e2,_0x3e08cd(0x111),_0x47e3db=>!_0x47e3db),_0x4633d0[_0x3e08cd(0xed)](_0x3e08cd(0x139))['to'](_0x1f03e2,_0x3e08cd(0x111),_0x5a5437=>!_0x5a5437),_0x54cec5[_0x3e08cd(0x146)]&&this[_0x3e08cd(0xe6)](_0x4633d0,_0x3e08cd(0x13a),()=>{const _0x311c2f=_0x3e08cd;this[_0x311c2f(0x130)][_0x311c2f(0x111)]||_0x54cec5[_0x311c2f(0x146)](_0x1c3789,_0x4633d0[_0x311c2f(0x132)]);}),_0x4633d0;}),this[_0x59c836(0xe6)](_0x1f03e2[_0x59c836(0x12e)],_0x59c836(0x12d),()=>{const _0x195ef7=_0x59c836;this[_0x195ef7(0x130)][_0x195ef7(0x111)]&&this[_0x195ef7(0x149)]();}),this[_0x59c836(0xe6)](_0x1f03e2[_0x59c836(0x12e)],_0x59c836(0x13e),()=>{const _0x382616=_0x59c836;this[_0x382616(0xe7)]&&this[_0x382616(0x131)]();}),_0x1f03e2[_0x59c836(0x12e)][_0x59c836(0x140)][_0x59c836(0xe0)](_0x59c836(0xe1),(_0xa217cd,_0x556348)=>{const _0x481381=_0x59c836;this[_0x481381(0x130)][_0x481381(0x111)]&&(this[_0x481381(0x149)](),_0x556348());}),_0x1f03e2[_0x59c836(0x116)](),_0xd4b82c[_0x59c836(0x116)](),_0xb9a398({'emitter':_0x1f03e2,'activator':()=>_0xd4b82c[_0x59c836(0x105)],'contextElements':[_0xd4b82c[_0x59c836(0x132)],_0x1f03e2[_0x59c836(0x12e)][_0x59c836(0x132)]],'callback':()=>this[_0x59c836(0x131)]()}),_0x30d27f[_0x59c836(0xf9)][_0x59c836(0xee)](_0x59c836(0xf6))[_0x59c836(0x123)](_0x1f03e2[_0x59c836(0x132)]),this[_0x59c836(0x109)]=new _0x325f1a(this[_0x59c836(0x12a)][_0x59c836(0xf1)]),this[_0x59c836(0x109)][_0x59c836(0x147)](),this[_0x59c836(0x109)][_0x59c836(0xff)](this[_0x59c836(0x103)]),_0x1f03e2;}[_0x211649(0x144)](_0x376f72){const _0x1ce50e=_0x211649;if(!this[_0x1ce50e(0x12a)][_0x1ce50e(0xf9)][_0x1ce50e(0xee)](_0x1ce50e(0x101))&&_0x376f72[_0x1ce50e(0x10a)])return;const _0x270f25=this[_0x1ce50e(0x12a)][_0x1ce50e(0xf9)][_0x1ce50e(0xee)](_0x1ce50e(0xe8))-0x1;for(this[_0x1ce50e(0x11f)]++;this[_0x1ce50e(0x128)][_0x1ce50e(0x10e)]>=_0x270f25-(this[_0x1ce50e(0x130)][_0x1ce50e(0x111)]?0x1:0x0)&&this[_0x1ce50e(0x128)][_0x1ce50e(0x10e)]>0x1;)this[_0x1ce50e(0x128)][_0x1ce50e(0x120)](0x1);const _0x317941=_0x376f72[_0x1ce50e(0x10a)]?0x0:this[_0x1ce50e(0x128)][_0x1ce50e(0x10e)];this[_0x1ce50e(0x128)][_0x1ce50e(0xff)](_0x376f72,_0x317941);}[_0x211649(0x13c)](_0x1f65a8){const _0x2fb0a2=_0x211649;this[_0x2fb0a2(0x11f)]--;const {collapseAt:_0x1ffc31}=this[_0x2fb0a2(0x12a)][_0x2fb0a2(0xf9)][_0x2fb0a2(0xee)](_0x2fb0a2(0x136)),_0x449cc5=this[_0x2fb0a2(0x11f)]>=_0x1ffc31;if(this[_0x2fb0a2(0x128)][_0x2fb0a2(0xee)](_0x1f65a8['id']))this[_0x2fb0a2(0x128)][_0x2fb0a2(0x120)](_0x1f65a8['id']);else{if(_0x449cc5&&this[_0x2fb0a2(0x128)][_0x2fb0a2(0x10e)]+0x1===_0x1ffc31-0x1)return;}if(this[_0x2fb0a2(0x128)][_0x2fb0a2(0x10e)]+(_0x449cc5?0x1:0x0)<this[_0x2fb0a2(0x11f)]){for(const _0x3ada74 of Array[_0x2fb0a2(0xea)](this[_0x2fb0a2(0xe4)])[_0x2fb0a2(0x143)]())if(!this[_0x2fb0a2(0x128)][_0x2fb0a2(0xee)](_0x3ada74['id'])&&(this[_0x2fb0a2(0x128)][_0x2fb0a2(0xff)](_0x3ada74,Math[_0x2fb0a2(0xf2)](this[_0x2fb0a2(0x128)][_0x2fb0a2(0x10e)]-(_0x449cc5?0x1:0x0),0x1)),this[_0x2fb0a2(0x128)][_0x2fb0a2(0x10e)]+(_0x449cc5?0x1:0x0)===_0x1ffc31-0x1))return;}}[_0x211649(0x149)](){const _0x13307c=_0x211649;if(this[_0x13307c(0xe7)])return;const _0x5c44ad=this[_0x13307c(0x12a)][_0x13307c(0xf9)][_0x13307c(0xee)](_0x13307c(0x136));this[_0x13307c(0xe7)]=new _0x4004bb(this[_0x13307c(0x12a)][_0x13307c(0xf1)],!!_0x5c44ad[_0x13307c(0x146)]),this[_0x13307c(0x130)][_0x13307c(0x12e)][_0x13307c(0x133)]=!0x0,this[_0x13307c(0xe6)](this[_0x13307c(0xe7)],_0x13307c(0x13e),()=>{const _0x28bdfe=_0x13307c;this[_0x28bdfe(0xe7)]&&this[_0x28bdfe(0x131)]();});const {listWrapperView:_0x225cd3}=this[_0x13307c(0xe7)];_0x225cd3[_0x13307c(0x129)][_0x13307c(0xe9)](this[_0x13307c(0xe4)])[_0x13307c(0x11c)](_0x84f239=>{const _0x4010cb=_0x13307c;if(!_0x5c44ad[_0x4010cb(0x14a)]&&_0x84f239[_0x4010cb(0x10a)])return null;const _0x297aaf=new _0xc28422(this[_0x4010cb(0x12a)][_0x4010cb(0xf1)],_0x84f239,!!_0x5c44ad[_0x4010cb(0x146)]);return _0x5c44ad[_0x4010cb(0x146)]&&this[_0x4010cb(0xe6)](_0x297aaf,_0x4010cb(0x13a),()=>{const _0x33800c=_0x4010cb;_0x5c44ad[_0x33800c(0x146)](_0x84f239,_0x297aaf[_0x33800c(0x132)]);}),_0x297aaf;}),this[_0x13307c(0x103)][_0x13307c(0xf7)][_0x13307c(0xff)](this[_0x13307c(0xe7)]),this[_0x13307c(0x103)][_0x13307c(0x141)]({'target':this[_0x13307c(0x130)][_0x13307c(0x12e)][_0x13307c(0x132)]}),_0x225cd3[_0x13307c(0xe3)](),_0x225cd3[_0x13307c(0x13b)]();const _0x4ca19c=(_0x5155ba,_0x487152)=>{const _0x205be8=_0x13307c;this[_0x205be8(0x131)](),this[_0x205be8(0x130)][_0x205be8(0x12e)][_0x205be8(0xe3)](),_0x487152();};_0x225cd3[_0x13307c(0x140)][_0x13307c(0xe0)](_0x13307c(0xfe),_0x4ca19c),_0x225cd3[_0x13307c(0x140)][_0x13307c(0xe0)](_0x13307c(0xf4),_0x4ca19c),_0x225cd3[_0x13307c(0x140)][_0x13307c(0xe0)](_0x13307c(0xec),(_0x5b0982,_0x4701f6)=>{const _0x42ae0e=_0x13307c;!function(_0x5e67ae){const _0x2b97b5=_0x4640,_0x167e00=['a',_0x2b97b5(0x137),_0x2b97b5(0x125),_0x2b97b5(0x127),_0x2b97b5(0xf8),_0x2b97b5(0xeb),_0x2b97b5(0x112)][_0x2b97b5(0x148)](_0x3452c3=>_0x3452c3+_0x2b97b5(0x10b))[_0x2b97b5(0xfa)](','),_0xb71264=[...document[_0x2b97b5(0x100)][_0x2b97b5(0x145)](_0x167e00)][_0x2b97b5(0xfc)](_0x156b23=>_0x156b23===document[_0x2b97b5(0x106)]||_0x156b23[_0x2b97b5(0x12b)]+_0x156b23[_0x2b97b5(0x13d)]>0x0)[_0x2b97b5(0x134)]((_0x405078,_0x31608c)=>(_0x405078[_0x2b97b5(0x10c)]||0x0)-(_0x31608c[_0x2b97b5(0x10c)]||0x0)),_0x2bd53f=_0xb71264[_0x2b97b5(0x11a)](_0x5e67ae),_0x1bbc44=_0xb71264[(_0x2bd53f+0x1)%_0xb71264[_0x2b97b5(0x10e)]];_0x1bbc44&&_0x1bbc44[_0x2b97b5(0xe3)]();}(this[_0x42ae0e(0x130)][_0x42ae0e(0x132)]),this[_0x42ae0e(0x131)](),_0x4701f6();}),_0x225cd3[_0x13307c(0x104)][_0x13307c(0xff)](this[_0x13307c(0x130)][_0x13307c(0x132)]),_0x225cd3[_0x13307c(0x104)]['on'](_0x13307c(0xe5),(_0xa6ccdb,_0x490273,_0x57da55)=>{const _0x4871de=_0x13307c;_0x57da55||this[_0x4871de(0x131)]();});}[_0x211649(0x131)](){const _0xf6a3c1=_0x211649;this[_0xf6a3c1(0xe7)]&&(this[_0xf6a3c1(0x130)][_0xf6a3c1(0x12e)][_0xf6a3c1(0x133)]=!0x1,this[_0xf6a3c1(0x103)][_0xf6a3c1(0xf5)](),this[_0xf6a3c1(0x103)][_0xf6a3c1(0xf7)][_0xf6a3c1(0x120)](this[_0xf6a3c1(0xe7)]),this[_0xf6a3c1(0xe7)][_0xf6a3c1(0x13f)](),this[_0xf6a3c1(0xe7)]=void 0x0);}[_0x211649(0x13f)](){const _0x148a0b=_0x211649;super[_0x148a0b(0x13f)](),this[_0x148a0b(0x130)]&&this[_0x148a0b(0x130)][_0x148a0b(0xf0)]&&this[_0x148a0b(0x130)][_0x148a0b(0x13f)](),this[_0x148a0b(0x109)]&&(this[_0x148a0b(0x109)][_0x148a0b(0x11b)](),this[_0x148a0b(0x109)][_0x148a0b(0x13f)](),this[_0x148a0b(0x109)]=null);}}
|
|
23
|
+
const _0x26323b=_0x207f;(function(_0x2c6e73,_0x5a3801){const _0x74a195=_0x207f,_0x8da2f1=_0x2c6e73();while(!![]){try{const _0x219d47=parseInt(_0x74a195(0xe2))/0x1+-parseInt(_0x74a195(0xce))/0x2+parseInt(_0x74a195(0xf6))/0x3*(parseInt(_0x74a195(0xe5))/0x4)+-parseInt(_0x74a195(0x116))/0x5+parseInt(_0x74a195(0xe8))/0x6+-parseInt(_0x74a195(0xc5))/0x7+-parseInt(_0x74a195(0xf1))/0x8*(-parseInt(_0x74a195(0xfa))/0x9);if(_0x219d47===_0x5a3801)break;else _0x8da2f1['push'](_0x8da2f1['shift']());}catch(_0x3511e3){_0x8da2f1['push'](_0x8da2f1['shift']());}}}(_0x5da5,0x4e2b2));import{ContextPlugin as _0x32097b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b20ee,Collection as _0x55a9f1}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x41e82e,BalloonPanelView as _0x5a2bd6,BodyCollection as _0x52a824}from'ckeditor5/src/ui.js';function _0x207f(_0x49229c,_0x4092f7){const _0x5da5b8=_0x5da5();return _0x207f=function(_0x207f3c,_0x35bb8f){_0x207f3c=_0x207f3c-0xb5;let _0x344526=_0x5da5b8[_0x207f3c];return _0x344526;},_0x207f(_0x49229c,_0x4092f7);}import{isElement as _0x5854fc}from'es-toolkit/compat';import{Sessions as _0x11a064}from'../realtimecollaborativeediting/sessions.js';function _0x5da5(){const _0x196f43=['isMe','number','add','focusTracker','presenceList.container','Shift+Tab','view','appendChild','length','unpin','isRendered','isVisible','requires','textarea','balloonPanelView','checkIfScrollable','PresenceListUI','ck\x20ck-presence-list__balloon','init','get','presenceDropdownView','plugins','2215374irvdRJ','presenceList','presencelist-missing-container','body','focus','bindTo','using','isFocusable','hasTooltip','2708CKKyjL','onClick','filter','isCollapsed','execute','locale','presenceList.collapseAt','reverse','[tabindex]','querySelectorAll','render','change:isFocused','_handleUserRemove','define','input','from','attachToDom','listenTo','destroy','[contenteditable]','323500ZgTmJC','set','items','28EleSEd','content','tabIndex','3635574OhbIQX','select','_bodyCollection','offsetWidth','remove','_createView','activeElement','bind','_handleUserAdd','8lMyKpC','allConnectedUsers','hideDropdown','class','pluginName','65334IhiwGr','isExpanded','displayMe','isOfficialPlugin','1650933rnDtPN','presencelist:hide','join','button','isPremiumPlugin','detachFromDom','keystrokes','Enter','pin','showDropdown','inlineListView','min','Esc','sort','presencelist:show','indexOf','find','element','counterView','Tab','_allConnectedUsers','context','usersCount','offsetHeight','currentDisplayedUsers','presenceList.displayMe','presencelist-collapseat-invalid-format','map','3136490klLRaB',':not([disabled]):not([tabindex=\x22-1\x22])','config'];_0x5da5=function(){return _0x196f43;};return _0x5da5();}import{PresenceListView as _0x2165ee}from'./view/presencelistview.js';import{PresenceCounterView as _0x173971}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x4c47f9}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x56494c}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x25494c}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x32097b{[_0x26323b(0x112)];[_0x26323b(0xbd)];[_0x26323b(0xb5)];[_0x26323b(0xc3)];[_0x26323b(0xea)]=null;static get[_0x26323b(0xf5)](){const _0x48fe46=_0x26323b;return _0x48fe46(0xbf);}static get[_0x26323b(0xf9)](){return!0x0;}static get[_0x26323b(0xfe)](){return!0x0;}constructor(_0xff7992){const _0x51984e=_0x26323b;super(_0xff7992),this[_0x51984e(0x10f)][_0x51984e(0x118)][_0x51984e(0xdb)](_0x51984e(0xc6),x);const _0x17f09a=_0xff7992[_0x51984e(0x118)][_0x51984e(0xc2)](_0x51984e(0xd4));if(_0x51984e(0x11a)!=typeof _0x17f09a)throw new _0x2b20ee(_0x51984e(0x114),this);if(_0x17f09a<0x1)throw new _0x2b20ee(_0x51984e(0x114),this);this[_0x51984e(0x10e)]=this[_0x51984e(0x10f)][_0x51984e(0xc4)][_0x51984e(0xc2)](_0x11a064)[_0x51984e(0xf2)],this[_0x51984e(0xe3)](_0x51984e(0x110),0x0),this[_0x51984e(0x112)]=new _0x55a9f1(),this[_0x51984e(0xbd)]=new _0x5a2bd6(),this[_0x51984e(0xbd)][_0x51984e(0xf4)]=_0x51984e(0xc0),this[_0x51984e(0xb5)]=this[_0x51984e(0xed)](),this[_0x51984e(0xc3)]=void 0x0;}static get[_0x26323b(0xbb)](){return[_0x11a064];}[_0x26323b(0xc1)](){const _0x82c08c=_0x26323b;for(const _0x41f0e9 of this[_0x82c08c(0x10e)])this[_0x82c08c(0xf0)](_0x41f0e9);this[_0x82c08c(0xdf)](this[_0x82c08c(0x10e)],_0x82c08c(0x11b),(_0x418810,_0x2e8b3b)=>{const _0x256cc7=_0x82c08c;this[_0x256cc7(0xf0)](_0x2e8b3b);}),this[_0x82c08c(0xdf)](this[_0x82c08c(0x10e)],_0x82c08c(0xec),(_0x27c5a6,_0x58f7a3)=>{const _0x3fcc02=_0x82c08c;this[_0x3fcc02(0xda)](_0x58f7a3);});}[_0x26323b(0xed)](){const _0x249918=_0x26323b,_0x3733a6=this[_0x249918(0x10f)],_0x1ee4bc=new _0x2165ee(this[_0x249918(0x10f)][_0x249918(0xd3)],this[_0x249918(0x10f)][_0x249918(0x118)][_0x249918(0xc2)](_0x249918(0xd4))),_0x3787ab=this[_0x249918(0xbd)];if(!_0x5854fc(_0x3733a6[_0x249918(0x118)][_0x249918(0xc2)](_0x249918(0x11d))))throw new _0x2b20ee(_0x249918(0xc7),this);return _0x1ee4bc[_0x249918(0x10c)][_0x249918(0xef)](_0x249918(0x110))['to'](this),_0x1ee4bc[_0x249918(0xef)](_0x249918(0xd1))['to'](this,_0x249918(0x110),_0x3722ff=>{const _0x28b42f=_0x249918,{collapseAt:_0x43f1ec}=_0x3733a6[_0x28b42f(0x118)][_0x28b42f(0xc2)](_0x28b42f(0xc6)),_0x33ebb3=_0x3722ff>=_0x43f1ec;if(_0x33ebb3&&!_0x1ee4bc[_0x28b42f(0x104)][_0x28b42f(0xe4)][_0x28b42f(0x10a)](_0x4d3a03=>_0x4d3a03 instanceof _0x173971)){const _0x57f09f=this[_0x28b42f(0x10f)][_0x28b42f(0x118)][_0x28b42f(0xc2)](_0x28b42f(0xd4))-0x1;this[_0x28b42f(0x112)][_0x28b42f(0xb7)]==_0x57f09f&&this[_0x28b42f(0x112)][_0x28b42f(0xb7)]>0x1&&this[_0x28b42f(0x112)][_0x28b42f(0xec)](this[_0x28b42f(0x112)][_0x28b42f(0xb7)]-0x1),_0x1ee4bc[_0x28b42f(0x104)][_0x28b42f(0xe4)][_0x28b42f(0x11b)](_0x1ee4bc[_0x28b42f(0x10c)]);}return _0x33ebb3||this[_0x28b42f(0xf3)](),_0x33ebb3;}),_0x1ee4bc[_0x249918(0x104)][_0x249918(0xe4)][_0x249918(0xca)](this[_0x249918(0x112)])[_0x249918(0xcb)](_0x1c4ab0=>{const _0x1aff3d=_0x249918,_0x26cf00=_0x3733a6[_0x1aff3d(0x118)][_0x1aff3d(0xc2)](_0x1aff3d(0xc6)),_0x38477d=new _0x25494c(_0x3733a6[_0x1aff3d(0xd3)],_0x1c4ab0,!!_0x26cf00[_0x1aff3d(0xcf)]);return _0x38477d[_0x1aff3d(0xef)](_0x1aff3d(0xcd))['to'](_0x1ee4bc,_0x1aff3d(0xd1),_0x967e78=>!_0x967e78),_0x38477d[_0x1aff3d(0xef)](_0x1aff3d(0xcc))['to'](_0x1ee4bc,_0x1aff3d(0xd1),_0x4092dc=>!_0x4092dc),_0x26cf00[_0x1aff3d(0xcf)]&&this[_0x1aff3d(0xdf)](_0x38477d,_0x1aff3d(0xd2),()=>{const _0x5721ba=_0x1aff3d;this[_0x5721ba(0xb5)][_0x5721ba(0xd1)]||_0x26cf00[_0x5721ba(0xcf)](_0x1c4ab0,_0x38477d[_0x5721ba(0x10b)]);}),_0x38477d;}),this[_0x249918(0xdf)](_0x1ee4bc[_0x249918(0x104)],_0x249918(0x108),()=>{const _0x38e8ad=_0x249918;this[_0x38e8ad(0xb5)][_0x38e8ad(0xd1)]&&this[_0x38e8ad(0x103)]();}),this[_0x249918(0xdf)](_0x1ee4bc[_0x249918(0x104)],_0x249918(0xfb),()=>{const _0x43e406=_0x249918;this[_0x43e406(0xc3)]&&this[_0x43e406(0xf3)]();}),_0x1ee4bc[_0x249918(0x104)][_0x249918(0x100)][_0x249918(0xe3)](_0x249918(0x101),(_0x121e6b,_0x1facdf)=>{const _0x264f53=_0x249918;this[_0x264f53(0xb5)][_0x264f53(0xd1)]&&(this[_0x264f53(0x103)](),_0x1facdf());}),_0x1ee4bc[_0x249918(0xd8)](),_0x3787ab[_0x249918(0xd8)](),_0x41e82e({'emitter':_0x1ee4bc,'activator':()=>_0x3787ab[_0x249918(0xba)],'contextElements':[_0x3787ab[_0x249918(0x10b)],_0x1ee4bc[_0x249918(0x104)][_0x249918(0x10b)]],'callback':()=>this[_0x249918(0xf3)]()}),_0x3733a6[_0x249918(0x118)][_0x249918(0xc2)](_0x249918(0x11d))[_0x249918(0xb6)](_0x1ee4bc[_0x249918(0x10b)]),this[_0x249918(0xea)]=new _0x52a824(this[_0x249918(0x10f)][_0x249918(0xd3)]),this[_0x249918(0xea)][_0x249918(0xde)](),this[_0x249918(0xea)][_0x249918(0x11b)](this[_0x249918(0xbd)]),_0x1ee4bc;}[_0x26323b(0xf0)](_0x109f3e){const _0x48554a=_0x26323b;if(!this[_0x48554a(0x10f)][_0x48554a(0x118)][_0x48554a(0xc2)](_0x48554a(0x113))&&_0x109f3e[_0x48554a(0x119)])return;const _0x35b214=this[_0x48554a(0x10f)][_0x48554a(0x118)][_0x48554a(0xc2)](_0x48554a(0xd4))-0x1;for(this[_0x48554a(0x110)]++;this[_0x48554a(0x112)][_0x48554a(0xb7)]>=_0x35b214-(this[_0x48554a(0xb5)][_0x48554a(0xd1)]?0x1:0x0)&&this[_0x48554a(0x112)][_0x48554a(0xb7)]>0x1;)this[_0x48554a(0x112)][_0x48554a(0xec)](0x1);const _0x106646=_0x109f3e[_0x48554a(0x119)]?0x0:this[_0x48554a(0x112)][_0x48554a(0xb7)];this[_0x48554a(0x112)][_0x48554a(0x11b)](_0x109f3e,_0x106646);}[_0x26323b(0xda)](_0x588205){const _0x1cea61=_0x26323b;this[_0x1cea61(0x110)]--;const {collapseAt:_0x104893}=this[_0x1cea61(0x10f)][_0x1cea61(0x118)][_0x1cea61(0xc2)](_0x1cea61(0xc6)),_0x3c11b3=this[_0x1cea61(0x110)]>=_0x104893;if(this[_0x1cea61(0x112)][_0x1cea61(0xc2)](_0x588205['id']))this[_0x1cea61(0x112)][_0x1cea61(0xec)](_0x588205['id']);else{if(_0x3c11b3&&this[_0x1cea61(0x112)][_0x1cea61(0xb7)]+0x1===_0x104893-0x1)return;}if(this[_0x1cea61(0x112)][_0x1cea61(0xb7)]+(_0x3c11b3?0x1:0x0)<this[_0x1cea61(0x110)]){for(const _0x4d4d3c of Array[_0x1cea61(0xdd)](this[_0x1cea61(0x10e)])[_0x1cea61(0xd5)]())if(!this[_0x1cea61(0x112)][_0x1cea61(0xc2)](_0x4d4d3c['id'])&&(this[_0x1cea61(0x112)][_0x1cea61(0x11b)](_0x4d4d3c,Math[_0x1cea61(0x105)](this[_0x1cea61(0x112)][_0x1cea61(0xb7)]-(_0x3c11b3?0x1:0x0),0x1)),this[_0x1cea61(0x112)][_0x1cea61(0xb7)]+(_0x3c11b3?0x1:0x0)===_0x104893-0x1))return;}}[_0x26323b(0x103)](){const _0x4bb44=_0x26323b;if(this[_0x4bb44(0xc3)])return;const _0x27d97d=this[_0x4bb44(0x10f)][_0x4bb44(0x118)][_0x4bb44(0xc2)](_0x4bb44(0xc6));this[_0x4bb44(0xc3)]=new _0x4c47f9(this[_0x4bb44(0x10f)][_0x4bb44(0xd3)],!!_0x27d97d[_0x4bb44(0xcf)]),this[_0x4bb44(0xb5)][_0x4bb44(0x104)][_0x4bb44(0xf7)]=!0x0,this[_0x4bb44(0xdf)](this[_0x4bb44(0xc3)],_0x4bb44(0xfb),()=>{const _0x41cee8=_0x4bb44;this[_0x41cee8(0xc3)]&&this[_0x41cee8(0xf3)]();});const {listWrapperView:_0x1a69de}=this[_0x4bb44(0xc3)];_0x1a69de[_0x4bb44(0xe4)][_0x4bb44(0xca)](this[_0x4bb44(0x10e)])[_0x4bb44(0xcb)](_0x1c0774=>{const _0x191cd9=_0x4bb44;if(!_0x27d97d[_0x191cd9(0xf8)]&&_0x1c0774[_0x191cd9(0x119)])return null;const _0x5d729e=new _0x56494c(this[_0x191cd9(0x10f)][_0x191cd9(0xd3)],_0x1c0774,!!_0x27d97d[_0x191cd9(0xcf)]);return _0x27d97d[_0x191cd9(0xcf)]&&this[_0x191cd9(0xdf)](_0x5d729e,_0x191cd9(0xd2),()=>{const _0x354486=_0x191cd9;_0x27d97d[_0x354486(0xcf)](_0x1c0774,_0x5d729e[_0x354486(0x10b)]);}),_0x5d729e;}),this[_0x4bb44(0xbd)][_0x4bb44(0xe6)][_0x4bb44(0x11b)](this[_0x4bb44(0xc3)]),this[_0x4bb44(0xbd)][_0x4bb44(0x102)]({'target':this[_0x4bb44(0xb5)][_0x4bb44(0x104)][_0x4bb44(0x10b)]}),_0x1a69de[_0x4bb44(0xc9)](),_0x1a69de[_0x4bb44(0xbe)]();const _0x3d41c0=(_0x2a0742,_0x567216)=>{const _0x187168=_0x4bb44;this[_0x187168(0xf3)](),this[_0x187168(0xb5)][_0x187168(0x104)][_0x187168(0xc9)](),_0x567216();};_0x1a69de[_0x4bb44(0x100)][_0x4bb44(0xe3)](_0x4bb44(0x106),_0x3d41c0),_0x1a69de[_0x4bb44(0x100)][_0x4bb44(0xe3)](_0x4bb44(0x11e),_0x3d41c0),_0x1a69de[_0x4bb44(0x100)][_0x4bb44(0xe3)](_0x4bb44(0x10d),(_0x436bbf,_0x3dd3f8)=>{const _0x461fbd=_0x4bb44;!function(_0x40becb){const _0x161e78=_0x207f,_0xb0b52a=['a',_0x161e78(0xfd),_0x161e78(0xdc),_0x161e78(0xe9),_0x161e78(0xbc),_0x161e78(0xd6),_0x161e78(0xe1)][_0x161e78(0x115)](_0x4e2689=>_0x4e2689+_0x161e78(0x117))[_0x161e78(0xfc)](','),_0x5dc578=[...document[_0x161e78(0xc8)][_0x161e78(0xd7)](_0xb0b52a)][_0x161e78(0xd0)](_0xe43528=>_0xe43528===document[_0x161e78(0xee)]||_0xe43528[_0x161e78(0xeb)]+_0xe43528[_0x161e78(0x111)]>0x0)[_0x161e78(0x107)]((_0x4a8a49,_0x47a5ab)=>(_0x4a8a49[_0x161e78(0xe7)]||0x0)-(_0x47a5ab[_0x161e78(0xe7)]||0x0)),_0x38a5fa=_0x5dc578[_0x161e78(0x109)](_0x40becb),_0x4d2644=_0x5dc578[(_0x38a5fa+0x1)%_0x5dc578[_0x161e78(0xb7)]];_0x4d2644&&_0x4d2644[_0x161e78(0xc9)]();}(this[_0x461fbd(0xb5)][_0x461fbd(0x10b)]),this[_0x461fbd(0xf3)](),_0x3dd3f8();}),_0x1a69de[_0x4bb44(0x11c)][_0x4bb44(0x11b)](this[_0x4bb44(0xb5)][_0x4bb44(0x10b)]),_0x1a69de[_0x4bb44(0x11c)]['on'](_0x4bb44(0xd9),(_0x2acf5d,_0x237702,_0x32964c)=>{const _0x1461b0=_0x4bb44;_0x32964c||this[_0x1461b0(0xf3)]();});}[_0x26323b(0xf3)](){const _0xb23f9e=_0x26323b;this[_0xb23f9e(0xc3)]&&(this[_0xb23f9e(0xb5)][_0xb23f9e(0x104)][_0xb23f9e(0xf7)]=!0x1,this[_0xb23f9e(0xbd)][_0xb23f9e(0xb8)](),this[_0xb23f9e(0xbd)][_0xb23f9e(0xe6)][_0xb23f9e(0xec)](this[_0xb23f9e(0xc3)]),this[_0xb23f9e(0xc3)][_0xb23f9e(0xe0)](),this[_0xb23f9e(0xc3)]=void 0x0);}[_0x26323b(0xe0)](){const _0x304e45=_0x26323b;super[_0x304e45(0xe0)](),this[_0x304e45(0xb5)]&&this[_0x304e45(0xb5)][_0x304e45(0xb9)]&&this[_0x304e45(0xb5)][_0x304e45(0xe0)](),this[_0x304e45(0xea)]&&(this[_0x304e45(0xea)][_0x304e45(0xff)](),this[_0x304e45(0xea)][_0x304e45(0xe0)](),this[_0x304e45(0xea)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354bf4=_0x2244;function _0x2244(_0x4b9ea7,_0x3aca2f){const _0x53a12a=_0x53a1();return _0x2244=function(_0x2244b0,_0x2d47b6){_0x2244b0=_0x2244b0-0xdb;let _0x1581a1=_0x53a12a[_0x2244b0];return _0x1581a1;},_0x2244(_0x4b9ea7,_0x3aca2f);}(function(_0x44acac,_0x2e58bc){const _0x1dac81=_0x2244,_0x1bb180=_0x44acac();while(!![]){try{const _0x2680b3=parseInt(_0x1dac81(0xeb))/0x1+parseInt(_0x1dac81(0xe0))/0x2+-parseInt(_0x1dac81(0xf3))/0x3+parseInt(_0x1dac81(0xe6))/0x4+-parseInt(_0x1dac81(0x106))/0x5*(-parseInt(_0x1dac81(0xf2))/0x6)+parseInt(_0x1dac81(0xf9))/0x7*(parseInt(_0x1dac81(0xe1))/0x8)+parseInt(_0x1dac81(0xe3))/0x9*(-parseInt(_0x1dac81(0x105))/0xa);if(_0x2680b3===_0x2e58bc)break;else _0x1bb180['push'](_0x1bb180['shift']());}catch(_0x1ab406){_0x1bb180['push'](_0x1bb180['shift']());}}}(_0x53a1,0x8731b));import{ListView as _0x195942,View as _0x1e464e}from'ckeditor5/src/ui.js';import{global as _0x1e693a}from'ckeditor5/src/utils.js';import{getTranslation as _0x511bf5}from'../../common-translations.js';function _0x53a1(){const _0x27eeac=['Connected\x20users\x20list\x20dropdown\x20menu','set','fire','.ck-presence-list__list','resize','120EgVROs','1112382MbHyoH','items','ariaLabel','max','setTemplate','clientHeight','5173oeuPcR','scrollHeight','presencelist:hide','bindTemplate','role','contains','innerHeight','element','ck-presence-list__dropdown-list','change','checkIfScrollable','div','6584570Jhyibb','27350cPWXkZ','ck-presence-list__dropdown-list-wrapper','relatedTarget','application','ck-presence-list__dropdown-list-wrapper_scrollable','listenTo','.ck-balloon-panel_with-arrow','2008702wCBIJw','792hChwok','window','18mvlSRH','render','querySelector','3829944zUkbYG','ck-list','ck-reset','_isScrollable','listWrapperView','97065DDkSEI','ariaLabelledBy'];_0x53a1=function(){return _0x27eeac;};return _0x53a1();}export class PresenceDropdownListView extends _0x1e464e{[_0x354bf4(0xea)];constructor(_0x2da1fc,_0x418822){const _0x533ec3=_0x354bf4;super(_0x2da1fc);const _0x3e8fa6=this[_0x533ec3(0xfc)];this[_0x533ec3(0xea)]=new PresenceDropdownListWrapperView(_0x2da1fc,_0x418822),this[_0x533ec3(0xf7)]({'tag':_0x533ec3(0x104),'attributes':{'tabindex':-0x1,'role':_0x533ec3(0xdc),'class':['ck',_0x533ec3(0x101)],'aria-label':_0x511bf5(_0x2da1fc,_0x533ec3(0xed))},'children':[this[_0x533ec3(0xea)]],'on':{'mouseleave':_0x3e8fa6['to'](_0x83e043=>{const _0x46c9a5=_0x533ec3,_0x44df68=_0x83e043,_0xce36a3=document[_0x46c9a5(0xe5)](_0x46c9a5(0xf0)),_0x3d8ba7=document[_0x46c9a5(0xe5)](_0x46c9a5(0xdf));_0xce36a3?.[_0x46c9a5(0xfe)](_0x44df68[_0x46c9a5(0xdb)])||_0x3d8ba7?.[_0x46c9a5(0xfe)](_0x44df68[_0x46c9a5(0xdb)])||this[_0x46c9a5(0xef)](_0x46c9a5(0xfb));})}});}}export class PresenceDropdownListWrapperView extends _0x195942{constructor(_0x34092a,_0xc566e8){const _0x34ad5c=_0x354bf4;super(_0x34092a);const _0x423191=this[_0x34ad5c(0xfc)];this[_0x34ad5c(0xee)](_0x34ad5c(0xe9),!0x1),this[_0x34ad5c(0xf7)]({'tag':_0xc566e8?_0x34ad5c(0x104):'ul','attributes':{'class':['ck',_0x34ad5c(0xe8),_0x34ad5c(0xe7),_0x34ad5c(0x107),_0x423191['if'](_0x34ad5c(0xe9),_0x34ad5c(0xdd))],'role':_0x423191['to'](_0x34ad5c(0xfd)),'aria-label':_0x423191['to'](_0x34ad5c(0xf5)),'aria-labelledby':_0x423191['to'](_0x34ad5c(0xec))},'children':this[_0x34ad5c(0xf4)]}),this[_0x34ad5c(0xde)](_0x1e693a[_0x34ad5c(0xe2)],_0x34ad5c(0xf1),()=>this[_0x34ad5c(0x103)]()),this[_0x34ad5c(0xf4)]['on'](_0x34ad5c(0x102),()=>this[_0x34ad5c(0x103)]());}[_0x354bf4(0xe4)](){const _0x57cf15=_0x354bf4;super[_0x57cf15(0xe4)](),this[_0x57cf15(0x103)]();}[_0x354bf4(0x103)](){const _0x328492=_0x354bf4,_0x58251e=this[_0x328492(0x100)];_0x58251e&&(this[_0x328492(0xe9)]=Math[_0x328492(0xf6)](_0x58251e[_0x328492(0xfa)],_0x58251e[_0x328492(0xf8)])>0.8*window[_0x328492(0xff)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2deb(){const _0x3a739a=['querySelector','element','focus','setAttribute','7645941YvsgIj','items','hasPopup','.ck-balloon-panel_with-arrow','fire','setTemplate','render','3208104aiFdsk','contains','change:hasPopup','3623221PFikvq','isExpanded','147248HyqxQf','240236wFTmgQ','createCollection','presencelist:hide','relatedTarget','aria-expanded','5BTUmwd','1240088uMJiNS','bindTemplate','416956OLCWfU','div','presencelist:show','removeAttribute','listenTo','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','6ORxLoA','.ck-presence-list__dropdown-list','keystrokes','set','list','ck-presence-list__list'];_0x2deb=function(){return _0x3a739a;};return _0x2deb();}const _0x7b50ff=_0x3266;function _0x3266(_0xbaae71,_0x1ba9ef){const _0x2debda=_0x2deb();return _0x3266=function(_0x326640,_0x470862){_0x326640=_0x326640-0x6f;let _0x1fc11c=_0x2debda[_0x326640];return _0x1fc11c;},_0x3266(_0xbaae71,_0x1ba9ef);}(function(_0xe2903,_0xd87f55){const _0x112496=_0x3266,_0x334fc0=_0xe2903();while(!![]){try{const _0x10e4fc=parseInt(_0x112496(0x75))/0x1+parseInt(_0x112496(0x7d))/0x2*(-parseInt(_0x112496(0x84))/0x3)+parseInt(_0x112496(0x7b))/0x4*(parseInt(_0x112496(0x7a))/0x5)+parseInt(_0x112496(0x6f))/0x6+parseInt(_0x112496(0x72))/0x7+-parseInt(_0x112496(0x74))/0x8+-parseInt(_0x112496(0x8e))/0x9;if(_0x10e4fc===_0xd87f55)break;else _0x334fc0['push'](_0x334fc0['shift']());}catch(_0x308ba4){_0x334fc0['push'](_0x334fc0['shift']());}}}(_0x2deb,0x4d8c2));import{View as _0xbe12b}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3e0b2d}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e8788}from'../../common-translations.js';export class PresenceInlineListView extends _0xbe12b{[_0x7b50ff(0x8f)];[_0x7b50ff(0x86)];constructor(_0x4cc93e){const _0x21654b=_0x7b50ff;super(_0x4cc93e);const _0x40e5a9=this[_0x21654b(0x7c)];this[_0x21654b(0x8f)]=this[_0x21654b(0x76)](),this[_0x21654b(0x86)]=new _0x3e0b2d(),this[_0x21654b(0x87)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x21654b(0x93)]({'tag':_0x21654b(0x7e),'attributes':{'aria-haspopup':_0x40e5a9['if'](_0x21654b(0x90)),'aria-expanded':_0x40e5a9['to'](_0x21654b(0x73),_0x2db9a2=>this[_0x21654b(0x90)]&&String(_0x2db9a2)),'aria-label':_0x40e5a9['to'](_0x21654b(0x90),_0x4c9220=>_0x4e8788(_0x4cc93e,_0x4c9220?_0x21654b(0x82):_0x21654b(0x83))),'role':_0x21654b(0x88),'tabindex':_0x40e5a9['to'](_0x21654b(0x90),_0x2e88f5=>!!_0x2e88f5&&0x0),'class':['ck',_0x21654b(0x89)]},'children':this[_0x21654b(0x8f)],'on':{'mouseenter':_0x40e5a9['to'](()=>this[_0x21654b(0x92)](_0x21654b(0x7f))),'mouseleave':_0x40e5a9['to'](_0x591a92=>{const _0x24c930=_0x21654b,_0xbe0ff9=_0x591a92,_0x1502cc=document[_0x24c930(0x8a)](_0x24c930(0x85)),_0x3fc972=document[_0x24c930(0x8a)](_0x24c930(0x91));_0x1502cc?.[_0x24c930(0x70)](_0xbe0ff9[_0x24c930(0x78)])||_0x3fc972?.[_0x24c930(0x70)](_0xbe0ff9[_0x24c930(0x78)])||this[_0x24c930(0x92)](_0x24c930(0x77));})}}),this['on'](_0x21654b(0x71),(_0x1c310c,_0x4bba29,_0x78eb6a)=>{const _0x1833f8=_0x21654b;this[_0x1833f8(0x8b)]&&(_0x78eb6a?this[_0x1833f8(0x8b)][_0x1833f8(0x8d)](_0x1833f8(0x79),String(this[_0x1833f8(0x73)])):this[_0x1833f8(0x8b)][_0x1833f8(0x80)](_0x1833f8(0x79)));});}[_0x7b50ff(0x8c)](){const _0x5c9e24=_0x7b50ff;this[_0x5c9e24(0x8b)][_0x5c9e24(0x8c)]();}[_0x7b50ff(0x94)](){const _0x363e60=_0x7b50ff;super[_0x363e60(0x94)](),this[_0x363e60(0x86)][_0x363e60(0x81)](this[_0x363e60(0x8b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42deee=_0x24e4;function _0x10d4(){const _0x13cd45=['hasPopup','listenTo','tooltipPosition','counterView','3185322bhdKWx','div','isCollapsed','set','2561922mmgjVq','ck-presence-list--collapsed','first','32XVfRRA','3419672jLxWfo','setTemplate','791686Xxmgok','2670760XfuRDL','change','43765DnNoLM','ck-rounded-corners','bind','locale','ck-reset','ck-presence-list','bindTemplate','6577260Sujzne','inlineListView','5iobJET','items'];_0x10d4=function(){return _0x13cd45;};return _0x10d4();}(function(_0x197445,_0x7e71e8){const _0x580fec=_0x24e4,_0x5c4430=_0x197445();while(!![]){try{const _0x59441e=parseInt(_0x580fec(0x1ad))/0x1*(-parseInt(_0x580fec(0x1a7))/0x2)+parseInt(_0x580fec(0x1a0))/0x3+-parseInt(_0x580fec(0x1a8))/0x4+-parseInt(_0x580fec(0x1b6))/0x5*(-parseInt(_0x580fec(0x1b4))/0x6)+parseInt(_0x580fec(0x1aa))/0x7+parseInt(_0x580fec(0x1ab))/0x8+-parseInt(_0x580fec(0x1a4))/0x9;if(_0x59441e===_0x7e71e8)break;else _0x5c4430['push'](_0x5c4430['shift']());}catch(_0xd51ebd){_0x5c4430['push'](_0x5c4430['shift']());}}}(_0x10d4,0xbacb7));function _0x24e4(_0x2fc966,_0x301443){const _0x10d4c3=_0x10d4();return _0x24e4=function(_0x24e455,_0x1709d7){_0x24e455=_0x24e455-0x19e;let _0x90e183=_0x10d4c3[_0x24e455];return _0x90e183;},_0x24e4(_0x2fc966,_0x301443);}import{View as _0x124d6e}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x20961a}from'./presencecounterview.js';import{PresenceInlineListView as _0x34f19e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x124d6e{[_0x42deee(0x19f)];[_0x42deee(0x1b5)];constructor(_0x3be4b1,_0x1d7aee=0x6){const _0x35096a=_0x42deee;super(_0x3be4b1);const _0x14c25a=this[_0x35096a(0x1b3)];this[_0x35096a(0x1a3)](_0x35096a(0x1a2),!0x0),this[_0x35096a(0x19f)]=new _0x20961a(this[_0x35096a(0x1b0)],_0x1d7aee),this[_0x35096a(0x1b5)]=new _0x34f19e(_0x3be4b1),this[_0x35096a(0x1b5)][_0x35096a(0x1af)](_0x35096a(0x1b8))['to'](this,_0x35096a(0x1a2)),this[_0x35096a(0x1b9)](this[_0x35096a(0x1b5)][_0x35096a(0x1b7)],_0x35096a(0x1ac),()=>{const _0x1b9eb3=_0x35096a;for(const _0x49f6c4 of this[_0x1b9eb3(0x1b5)][_0x1b9eb3(0x1b7)])_0x49f6c4[_0x1b9eb3(0x19e)]='s';this[_0x1b9eb3(0x1b5)][_0x1b9eb3(0x1b7)][_0x1b9eb3(0x1a6)]&&(this[_0x1b9eb3(0x1b5)][_0x1b9eb3(0x1b7)][_0x1b9eb3(0x1a6)][_0x1b9eb3(0x19e)]='se');}),this[_0x35096a(0x1a9)]({'tag':_0x35096a(0x1a1),'attributes':{'class':['ck',_0x35096a(0x1b2),_0x35096a(0x1b1),_0x35096a(0x1ae),_0x14c25a['if'](_0x35096a(0x1a2),_0x35096a(0x1a5))]},'children':[this[_0x35096a(0x1b5)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x55c174)());[_0x595455(0x1c7)];static get[_0x595455(0x1e2)](){const _0x34d5e2=_0x595455;return[_0x101abd,_0x34d5e2(0x1d7),_0x14914d,_0xf05050];}static get[_0x595455(0x1a0)](){const _0x309438=_0x595455;return _0x309438(0x1d5);}static get[_0x595455(0x1a8)](){return!0x0;}static get[_0x595455(0x189)](){return!0x0;}constructor(_0xb15e88){const _0x4bdf65=_0x595455;super(_0xb15e88),this[_0x4bdf65(0x1c7)]=new Map();}async[_0x595455(0x1de)](){const _0x67492d=_0x595455,_0x441149=this[_0x67492d(0x1bc)],_0x4e7ab6=_0x441149[_0x67492d(0x1b0)][_0x67492d(0x1e9)](_0x67492d(0x1d7));if(_0x441149[_0x67492d(0x1b0)][_0x67492d(0x1e9)](_0x101abd)[_0x67492d(0x18d)](this),_0x4e7ab6[_0x67492d(0x1cb)]={'addCommentThread':async({channelId:_0x946c34,threadId:_0x229b66,comments:_0x3e7e79,resolvedAt:_0x4a16f6,resolvedBy:_0x22d5f6,context:_0x121f43,attributes:_0x3e8af2})=>{const _0x290f22=_0x67492d,_0x597684=await this[_0x290f22(0x1ed)](_0x946c34)[_0x290f22(0x1a1)]({'commentThreadId':_0x229b66,'comments':_0x3e7e79[_0x290f22(0x1c9)](_0x43f141=>function(_0x5d894f,_0x5767e3,_0x182473){const _0x4d323f=_0x290f22;return{'commentThreadId':_0x182473,'commentId':_0x5d894f[_0x4d323f(0x1e8)],'userId':_0x5d894f[_0x4d323f(0x1a2)],'content':_0x5d894f[_0x4d323f(0x196)],'documentId':_0x5767e3,'createdAt':_0x5d894f[_0x4d323f(0x1da)],'attributes':_0x5d894f[_0x4d323f(0x1a5)]||{}};}(_0x43f141,_0x946c34,_0x229b66)),'resolvedAt':_0x4a16f6,'resolvedBy':_0x22d5f6,'context':_0x121f43,'attributes':_0x3e8af2})[_0x290f22(0x19e)](A);return{'threadId':_0x597684[_0x290f22(0x1b5)],'comments':_0x597684[_0x290f22(0x1be)]};},'getCommentThread':async({channelId:_0x41db9d,threadId:_0x193b18})=>{const _0x368a51=_0x67492d,_0x22d341=await this[_0x368a51(0x1ed)](_0x41db9d)[_0x368a51(0x190)](_0x193b18)[_0x368a51(0x19e)](f)[_0x368a51(0x19e)](A);return _0x22d341?_0x22d341[_0x368a51(0x1c3)]?null:(await this[_0x368a51(0x1b2)]([_0x22d341]),{'threadId':_0x22d341[_0x368a51(0x1b5)],'comments':_0x22d341[_0x368a51(0x1be)][_0x368a51(0x1c9)](p),'context':_0x22d341[_0x368a51(0x1bc)],'resolvedAt':_0x22d341[_0x368a51(0x1bf)],'resolvedBy':_0x22d341[_0x368a51(0x1a9)],'attributes':_0x22d341[_0x368a51(0x1a5)]||{}}):null;},'updateCommentThread':async({channelId:_0x12cbcd,threadId:_0x53b634,context:_0x3e8a1f,unlinkedAt:_0x1932ec,attributes:_0x10ca2a})=>this[_0x67492d(0x1ed)](_0x12cbcd)[_0x67492d(0x1c4)]({'commentThreadId':_0x53b634,'context':_0x3e8a1f,'attributes':_0x10ca2a,'unlinkedAt':_0x1932ec})[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'resolveCommentThread':async({channelId:_0x320461,threadId:_0x3c6ee3})=>{const _0x151038=_0x67492d,_0x301a65=await this[_0x151038(0x1ed)](_0x320461)[_0x151038(0x1c8)](_0x3c6ee3)[_0x151038(0x19e)](f)[_0x151038(0x19e)](A);return{'threadId':_0x301a65[_0x151038(0x1b5)],'resolvedAt':_0x301a65[_0x151038(0x1bf)],'resolvedBy':_0x301a65[_0x151038(0x1a9)]};},'reopenCommentThread':async({channelId:_0x3bd9bf,threadId:_0xf851ef})=>this[_0x67492d(0x1ed)](_0x3bd9bf)[_0x67492d(0x1e1)](_0xf851ef)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'removeCommentThread':({channelId:_0xac37f7,threadId:_0xde90f7})=>this[_0x67492d(0x1ed)](_0xac37f7)[_0x67492d(0x1e7)](_0xde90f7)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'addComment':({channelId:_0x5479f9,threadId:_0x462699,commentId:_0x4cc0fb,content:_0x2fe0da,attributes:_0x2bf6b1})=>this[_0x67492d(0x1ed)](_0x5479f9)[_0x67492d(0x1b7)](_0x462699,_0x4cc0fb,_0x2fe0da,_0x2bf6b1)[_0x67492d(0x19e)](A),'updateComment':({channelId:_0x5892ee,threadId:_0x32af59,commentId:_0x4b2ed4,content:_0x1dc8b9,attributes:_0x51d18b})=>this[_0x67492d(0x1ed)](_0x5892ee)[_0x67492d(0x1d8)](_0x32af59,_0x4b2ed4,_0x1dc8b9,_0x51d18b)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'removeComment':({channelId:_0x161a79,threadId:_0x32ee4d,commentId:_0x37ac6c})=>this[_0x67492d(0x1ed)](_0x161a79)[_0x67492d(0x1ab)](_0x32ee4d,_0x37ac6c)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A)},_0x441149 instanceof _0x2a4c82){const _0x1b95e6=_0x441149[_0x67492d(0x1c6)][_0x67492d(0x1e9)](_0x67492d(0x1b8)),_0x4e1501=_0x441149[_0x67492d(0x1b0)][_0x67492d(0x1e9)](_0x14914d);await this[_0x67492d(0x19f)](_0x1b95e6);const _0x19eff0=await this[_0x67492d(0x1c7)][_0x67492d(0x1e9)](_0x1b95e6)[_0x67492d(0x1b3)]();this[_0x67492d(0x1ad)](_0x4e1501,_0x67492d(0x1bd)+_0x1b95e6,(_0x1f4f56,{session:_0x2ce5b4})=>{const _0xf2e67a=_0x67492d;_0x2ce5b4['id']===_0x4e1501[_0xf2e67a(0x1af)]&&(_0x1f4f56[_0xf2e67a(0x1ae)](),this[_0xf2e67a(0x1bc)][_0xf2e67a(0x1b0)][_0xf2e67a(0x1e9)](_0xf2e67a(0x194))[_0xf2e67a(0x191)](_0x2ce5b4[_0xf2e67a(0x18e)],_0x1b95e6));}),_0x4e1501[_0x67492d(0x1b9)](_0x1b95e6,_0x19eff0);}}async[_0x595455(0x19f)](_0x2d0e44){const _0x480308=_0x595455;if(this[_0x480308(0x1c7)][_0x480308(0x1d4)](_0x2d0e44))throw new _0x226f06(_0x480308(0x19b),null,{'channelId':_0x2d0e44});const _0x5d70c8=this[_0x480308(0x1bc)][_0x480308(0x1b0)][_0x480308(0x1e9)](_0x480308(0x1d7)),_0x11fc84=new CloudServicesCommentsAdapter[(_0x480308(0x19c))](_0x2d0e44);this[_0x480308(0x1c7)][_0x480308(0x1cc)](_0x2d0e44,_0x11fc84),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1ba),(_0x469eb4,_0x41bde6)=>{const _0x10be52=_0x480308,{commentThreadId:_0x48334f,documentId:_0x3e6461,context:_0x246a68,attributes:_0x6ccbd8,resolvedAt:_0x2db993,resolvedBy:_0x4054b4,comments:_0x2867b7}=_0x41bde6;_0x5d70c8[_0x10be52(0x190)](_0x48334f)||_0x5d70c8[_0x10be52(0x1a1)]({'threadId':_0x48334f,'channelId':_0x3e6461,'comments':_0x2867b7?_0x2867b7[_0x10be52(0x1c9)](p):[],'context':_0x246a68,'attributes':_0x6ccbd8,'resolvedAt':_0x2db993,'resolvedBy':_0x4054b4,'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1a7),(_0x50f2c9,{commentThreadId:_0x1ba8c0,documentId:_0x447ad3,context:_0x5a1c9b,unlinkedAt:_0x4e5016,attributes:_0x2f344f})=>{const _0x3843c1=_0x480308;_0x5d70c8[_0x3843c1(0x190)](_0x1ba8c0)&&_0x5d70c8[_0x3843c1(0x1c4)]({'threadId':_0x1ba8c0,'channelId':_0x447ad3,'context':_0x5a1c9b,'unlinkedAt':_0x4e5016,'attributes':_0x2f344f,'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1ac),(_0x4732ba,{commentThreadId:_0x194207,resolvedBy:_0x476e84,resolvedAt:_0x34674f})=>{const _0x27ac3a=_0x480308,_0x3f41e5=_0x5d70c8[_0x27ac3a(0x190)](_0x194207);_0x3f41e5&&_0x3f41e5[_0x27ac3a(0x1c5)]({'resolvedBy':_0x476e84,'resolvedAt':_0x34674f,'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x198),(_0x172799,{commentThreadId:_0x4531db})=>{const _0x5a882d=_0x480308,_0x4690f5=_0x5d70c8[_0x5a882d(0x190)](_0x4531db);_0x4690f5&&_0x4690f5[_0x5a882d(0x1e6)]({'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x192),(_0x4089d3,{commentThreadId:_0x1f445a})=>{const _0x504316=_0x480308,_0x14fbcd=_0x5d70c8[_0x504316(0x190)](_0x1f445a);_0x14fbcd&&_0x14fbcd[_0x504316(0x1eb)]({'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1e5),(_0x154544,_0x2205fc)=>{const _0xa85f2d=_0x480308,_0x4c7622=_0x2205fc[_0xa85f2d(0x1b5)],_0x286a89=_0x5d70c8[_0xa85f2d(0x190)](_0x4c7622);_0x286a89&&_0x286a89[_0xa85f2d(0x1b7)]({...p(_0x2205fc),'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1b1),(_0x406158,{commentThreadId:_0x4ceddb,commentId:_0x2dc59c,content:_0x5aa378,attributes:_0x5ab058})=>{const _0x1ee2e2=_0x480308,_0x4bfdb6=_0x5d70c8[_0x1ee2e2(0x190)](_0x4ceddb);if(_0x4bfdb6){const _0x34d36f=_0x4bfdb6[_0x1ee2e2(0x1a4)](_0x2dc59c);_0x34d36f&&_0x34d36f[_0x1ee2e2(0x1d3)]({'content':_0x5aa378,'attributes':_0x5ab058,'isFromAdapter':!0x0});}}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1db),(_0x50fedc,{commentThreadId:_0x4acd61,commentId:_0x40c2c1})=>{const _0x5ea00b=_0x480308,_0x291fb1=_0x5d70c8[_0x5ea00b(0x190)](_0x4acd61);if(_0x291fb1){const _0x4f3156=_0x291fb1[_0x5ea00b(0x1a4)](_0x40c2c1);_0x4f3156&&_0x4f3156[_0x5ea00b(0x1eb)]({'isFromAdapter':!0x0});}}),await this[_0x480308(0x1d6)](_0x2d0e44);}[_0x595455(0x1bb)](){const _0x36eb3d=_0x595455;if(this[_0x36eb3d(0x1bc)]instanceof _0x2a4c82){const _0x1378a7=this[_0x36eb3d(0x1bc)][_0x36eb3d(0x1c6)][_0x36eb3d(0x1e9)](_0x36eb3d(0x1b8));this[_0x36eb3d(0x19d)](_0x1378a7);}}[_0x595455(0x19d)](_0x217d43){const _0x377c01=_0x595455;if(!this[_0x377c01(0x1c7)][_0x377c01(0x1d4)](_0x217d43))throw new _0x226f06(_0x377c01(0x193),null,{'channelId':_0x217d43});this[_0x377c01(0x1ed)](_0x217d43)[_0x377c01(0x18a)](),this[_0x377c01(0x1c7)][_0x377c01(0x1a6)](_0x217d43);}async[_0x595455(0x1ca)](){const _0x10ff66=_0x595455;for(const _0x24453e of this[_0x10ff66(0x1c7)][_0x10ff66(0x1a3)]())await this[_0x10ff66(0x1d6)](_0x24453e);if(this[_0x10ff66(0x1bc)]instanceof _0x2a4c82){const _0x37fd1f=this[_0x10ff66(0x1bc)][_0x10ff66(0x1c6)][_0x10ff66(0x1e9)](_0x10ff66(0x1b8)),_0x5d8dbc=this[_0x10ff66(0x1bc)][_0x10ff66(0x1b0)][_0x10ff66(0x1e9)](_0x14914d);_0x5d8dbc[_0x10ff66(0x1d1)](_0x37fd1f);const _0x4e0fd2=await this[_0x10ff66(0x1c7)][_0x10ff66(0x1e9)](_0x37fd1f)[_0x10ff66(0x1b3)]();_0x5d8dbc[_0x10ff66(0x1b9)](_0x37fd1f,_0x4e0fd2);}}async[_0x595455(0x1d6)](_0x109d9a){const _0x594ec5=_0x595455,{connection:_0x5d8c90}=this[_0x594ec5(0x1bc)][_0x594ec5(0x1b0)][_0x594ec5(0x1e9)](_0x101abd),_0xf997b5=this[_0x594ec5(0x1bc)][_0x594ec5(0x1b0)][_0x594ec5(0x1e9)](_0x594ec5(0x1d7)),_0x2d64ce=this[_0x594ec5(0x1c7)][_0x594ec5(0x1e9)](_0x109d9a),_0x3c5c2a=await _0x2d64ce[_0x594ec5(0x1c2)](_0x5d8c90);await this[_0x594ec5(0x1b2)](_0x3c5c2a);const _0x506f06=new Set(Array[_0x594ec5(0x18c)](_0xf997b5[_0x594ec5(0x18f)]({'channelId':_0x109d9a}),_0x2b4fe8=>_0x2b4fe8['id']));for(const _0x3d7b8a of _0x3c5c2a)_0x3d7b8a[_0x594ec5(0x1c3)]||_0x506f06[_0x594ec5(0x1a6)](_0x3d7b8a[_0x594ec5(0x1b5)]);for(const _0x361563 of _0x506f06)_0xf997b5[_0x594ec5(0x190)](_0x361563)[_0x594ec5(0x1eb)]({'isFromAdapter':!0x0});for(const _0x586b2a of _0x3c5c2a){let _0x450810=_0xf997b5[_0x594ec5(0x190)](_0x586b2a[_0x594ec5(0x1b5)]);const {commentThreadId:_0xeb5d8,context:_0x4762bd,attributes:_0x4a230b,resolvedBy:_0x2d6f5d,resolvedAt:_0x44512b,unlinkedAt:_0x576a0c,deletedAt:_0x2875e0}=_0x586b2a;if(_0x2875e0)continue;_0x450810||(_0x450810=_0xf997b5[_0x594ec5(0x1a1)]({'channelId':_0x109d9a,'threadId':_0xeb5d8,'context':_0x4762bd,'attributes':_0x4a230b||{},'resolvedBy':_0x2d6f5d,'resolvedAt':_0x44512b,'unlinkedAt':_0x576a0c,'isFromAdapter':!0x0}));const _0x45a16b=new Set(Array[_0x594ec5(0x18c)](_0x450810[_0x594ec5(0x1be)],_0x4351c3=>_0x4351c3['id']));for(const _0x3eaa5d of _0x586b2a[_0x594ec5(0x1be)])_0x45a16b[_0x594ec5(0x1a6)](_0x3eaa5d[_0x594ec5(0x1e8)]);for(const _0x1eb6f5 of _0x45a16b)_0x450810[_0x594ec5(0x1a4)](_0x1eb6f5)[_0x594ec5(0x1eb)]({'isFromAdapter':!0x0});for(const _0x4c478a of _0x586b2a[_0x594ec5(0x1be)]){const _0x1f3a13=_0x450810[_0x594ec5(0x1a4)](_0x4c478a[_0x594ec5(0x1e8)]);_0x1f3a13?_0x1f3a13[_0x594ec5(0x196)]!==_0x4c478a[_0x594ec5(0x196)]&&_0x1f3a13[_0x594ec5(0x1d3)]({'content':_0x4c478a[_0x594ec5(0x196)],'isFromAdapter':!0x0}):_0x450810[_0x594ec5(0x1b7)](Object[_0x594ec5(0x199)](p(_0x4c478a),{'isFromAdapter':!0x0}));}}}[_0x595455(0x1ed)](_0x406d18){const _0x811d3d=_0x595455;if(!this[_0x811d3d(0x1c7)][_0x811d3d(0x1d4)](_0x406d18))throw new _0x226f06(_0x811d3d(0x1dc),null,{'channelId':_0x406d18});return this[_0x811d3d(0x1c7)][_0x811d3d(0x1e9)](_0x406d18);}async[_0x595455(0x1b2)](_0x10bff0){const _0x52d6f9=_0x595455,_0xf9881b=this[_0x52d6f9(0x1bc)][_0x52d6f9(0x1b0)][_0x52d6f9(0x1e9)](_0xf05050),{connection:_0x1e9023}=this[_0x52d6f9(0x1bc)][_0x52d6f9(0x1b0)][_0x52d6f9(0x1e9)](_0x101abd),_0x29b42b=new Set();for(const {resolvedBy:_0xaeee9b,comments:_0xddca51}of _0x10bff0){_0xaeee9b&&!_0xf9881b[_0x52d6f9(0x19a)](_0xaeee9b)&&_0x29b42b[_0x52d6f9(0x1df)](_0xaeee9b);for(const {userId:_0x56147d}of _0xddca51)_0xf9881b[_0x52d6f9(0x19a)](_0x56147d)||_0x29b42b[_0x52d6f9(0x1df)](_0x56147d);}if(0x0===_0x29b42b[_0x52d6f9(0x1d2)])return;const _0x336d63=await _0x13dd30[_0x52d6f9(0x18b)](_0x1e9023,Array[_0x52d6f9(0x18c)](_0x29b42b));for(const _0x5daa36 of _0x336d63)_0xf9881b[_0x52d6f9(0x19a)](_0x5daa36['id'])||_0xf9881b[_0x52d6f9(0x1b6)](_0x5daa36);}}function _0x5c34(){const _0x57b4db=['plugins','commentUpdated','_fetchMissingUsersForThreads','getConnectedSessions','2YrmwyT','commentThreadId','addUser','addComment','collaboration.channelId','register','commentThreadAdded','destroy','context','sessionAdd:','comments','resolvedAt','294876zanGSY','195223zyKqxz','connect','deletedAt','updateCommentThread','resolve','config','_services','resolveCommentThread','map','reconnect','adapter','set','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','3916460RtvAjo','4881696jObfMZ','cloud-services-internal-error:\x20Request\x20timeout.','unregister','size','update','has','CloudServicesCommentsAdapter','_connectService','CommentsRepository','updateComment','2827527iCxlbs','createdAt','commentRemoved','cloudservicescommentsadapter-service-not-exist','userId','init','add','startsWith','reopenCommentThread','requires','5836439DFasfi','message','commentAdded','reopen','removeCommentThread','commentId','get','30322107nTFUxU','remove','404','_getService','isPremiumPlugin','disconnect','getMany','from','addToReconnectionStack','permissions','getCommentThreads','getCommentThread','setPermissions','commentThreadRemoved','cloudservicescommentsadapter-disconnect-not-exist','Permissions','140SSmTyY','content','code','commentThreadReopened','assign','getUser','cloudservicescommentsadapter-connect-already-connected','CommentsService','_terminateService','catch','_setUpService','pluginName','addCommentThread','authorId','keys','getComment','attributes','delete','commentThreadUpdated','isOfficialPlugin','resolvedBy','cloud-services-internal-error:\x20Not\x20connected.','removeComment','commentThreadResolved','listenTo','off','mySessionId'];_0x5c34=function(){return _0x57b4db;};return _0x5c34();}async function f(_0x40a20d){const _0xf5854b=_0x595455;if(_0xf5854b(0x1ec)!==_0x40a20d[_0xf5854b(0x197)])throw _0x40a20d;}function A(_0x4237c7){const _0x1a43d3=_0x595455;if((_0xf121d7=_0x4237c7)[_0x1a43d3(0x1e4)][_0x1a43d3(0x1e0)](_0x1a43d3(0x1cd))||_0xf121d7[_0x1a43d3(0x1e4)][_0x1a43d3(0x1e0)](_0x1a43d3(0x1aa))||_0xf121d7[_0x1a43d3(0x1e4)][_0x1a43d3(0x1e0)](_0x1a43d3(0x1d0)))return new Promise(()=>{});var _0xf121d7;throw _0x4237c7;}function p(_0x3da1c3){const _0xfdfcd3=_0x595455;return{'threadId':_0x3da1c3[_0xfdfcd3(0x1b5)],'commentId':_0x3da1c3[_0xfdfcd3(0x1e8)],'content':_0x3da1c3[_0xfdfcd3(0x196)],'createdAt':_0x3da1c3[_0xfdfcd3(0x1da)],'authorId':_0x3da1c3[_0xfdfcd3(0x1dd)],'attributes':_0x3da1c3[_0xfdfcd3(0x1a5)]||{}};}
|
|
23
|
+
const _0x59560b=_0x2915;(function(_0x5c1d7f,_0xccb1a0){const _0x34e5eb=_0x2915,_0x1bc5e2=_0x5c1d7f();while(!![]){try{const _0x34c548=parseInt(_0x34e5eb(0x19c))/0x1*(-parseInt(_0x34e5eb(0x1d8))/0x2)+-parseInt(_0x34e5eb(0x1aa))/0x3+-parseInt(_0x34e5eb(0x18a))/0x4+-parseInt(_0x34e5eb(0x185))/0x5+parseInt(_0x34e5eb(0x190))/0x6+parseInt(_0x34e5eb(0x1a6))/0x7+-parseInt(_0x34e5eb(0x1c6))/0x8*(-parseInt(_0x34e5eb(0x1b5))/0x9);if(_0x34c548===_0xccb1a0)break;else _0x1bc5e2['push'](_0x1bc5e2['shift']());}catch(_0x5a120f){_0x1bc5e2['push'](_0x1bc5e2['shift']());}}}(_0x5a26,0x8137b));import{Context as _0x1b680b,ContextPlugin as _0x186001}from'ckeditor5/src/core.js';import{CKEditorError as _0x198a29}from'ckeditor5/src/utils.js';import{Users as _0x44d7d4}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x31e89c,User as _0x346d0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4a078c}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5a26(){const _0x4ae234=['remove','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','commentThreadUpdated','plugins','content','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','resolveCommentThread','has','requires','commentUpdated','3525340qRtlFC','collaboration.channelId','_fetchMissingUsersForThreads','config','size','3314952FWCELW','init','set','CloudServicesCommentsAdapter','CommentsRepository','authorId','1872816FOfOEk','get','connect','_terminateService','addComment','unregister','listenTo','_setUpService','disconnect','addUser','reopen','register','1njZwiU','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','createdAt','_services','isPremiumPlugin','keys','permissions','startsWith','delete','comments','2317280QXTPAL','catch','isOfficialPlugin','resolvedAt','13581WAfYkC','removeComment','add','setPermissions','sessionAdd:','resolvedBy','userId','reconnect','commentThreadRemoved','off','_getService','2151GmeuQS','commentRemoved','updateCommentThread','message','commentThreadId','Permissions','deletedAt','commentThreadReopened','_connectService','assign','mySessionId','404','addCommentThread','getMany','commentThreadAdded','code','destroy','53848htipOv','CommentsService','update','removeCommentThread','context','getCommentThread','getCommentThreads','attributes','pluginName','updateComment','resolve','getComment','cloudservicescommentsadapter-service-not-exist','commentAdded','commentThreadResolved','reopenCommentThread','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','368554tvqoTI','commentId','adapter','getUser','map','from'];_0x5a26=function(){return _0x4ae234;};return _0x5a26();}import{Sessions as _0x110410}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x186001{static [_0x59560b(0x1c7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x31e89c)());[_0x59560b(0x19f)];static get[_0x59560b(0x183)](){const _0x3eb9ad=_0x59560b;return[_0x4a078c,_0x3eb9ad(0x18e),_0x110410,_0x44d7d4];}static get[_0x59560b(0x1ce)](){const _0x5a32b6=_0x59560b;return _0x5a32b6(0x18d);}static get[_0x59560b(0x1a8)](){return!0x0;}static get[_0x59560b(0x1a0)](){return!0x0;}constructor(_0x4215b9){const _0x5cf6d5=_0x59560b;super(_0x4215b9),this[_0x5cf6d5(0x19f)]=new Map();}async[_0x59560b(0x18b)](){const _0x3158ee=_0x59560b,_0x2e7a37=this[_0x3158ee(0x1ca)],_0x36b6ee=_0x2e7a37[_0x3158ee(0x1e2)][_0x3158ee(0x191)](_0x3158ee(0x18e));if(_0x2e7a37[_0x3158ee(0x1e2)][_0x3158ee(0x191)](_0x4a078c)[_0x3158ee(0x1e4)](this),_0x36b6ee[_0x3158ee(0x1da)]={'addCommentThread':async({channelId:_0x534c30,threadId:_0x21c840,comments:_0x2b3b7d,resolvedAt:_0x32e25a,resolvedBy:_0x34fbd7,context:_0x374c8a,attributes:_0x32310d})=>{const _0x5b56a3=_0x3158ee,_0x40999f=await this[_0x5b56a3(0x1b4)](_0x534c30)[_0x5b56a3(0x1c1)]({'commentThreadId':_0x21c840,'comments':_0x2b3b7d[_0x5b56a3(0x1dc)](_0x1ea631=>function(_0x499ad6,_0x5d98a7,_0x5a072c){const _0x24a4aa=_0x5b56a3;return{'commentThreadId':_0x5a072c,'commentId':_0x499ad6[_0x24a4aa(0x1d9)],'userId':_0x499ad6[_0x24a4aa(0x18f)],'content':_0x499ad6[_0x24a4aa(0x1e3)],'documentId':_0x5d98a7,'createdAt':_0x499ad6[_0x24a4aa(0x19e)],'attributes':_0x499ad6[_0x24a4aa(0x1cd)]||{}};}(_0x1ea631,_0x534c30,_0x21c840)),'resolvedAt':_0x32e25a,'resolvedBy':_0x34fbd7,'context':_0x374c8a,'attributes':_0x32310d})[_0x5b56a3(0x1a7)](k);return{'threadId':_0x40999f[_0x5b56a3(0x1b9)],'comments':_0x40999f[_0x5b56a3(0x1a5)]};},'getCommentThread':async({channelId:_0x5eeb60,threadId:_0x2d26ca})=>{const _0x561b88=_0x3158ee,_0x58964f=await this[_0x561b88(0x1b4)](_0x5eeb60)[_0x561b88(0x1cb)](_0x2d26ca)[_0x561b88(0x1a7)](F)[_0x561b88(0x1a7)](k);return _0x58964f?_0x58964f[_0x561b88(0x1bb)]?null:(await this[_0x561b88(0x187)]([_0x58964f]),{'threadId':_0x58964f[_0x561b88(0x1b9)],'comments':_0x58964f[_0x561b88(0x1a5)][_0x561b88(0x1dc)](S),'context':_0x58964f[_0x561b88(0x1ca)],'resolvedAt':_0x58964f[_0x561b88(0x1a9)],'resolvedBy':_0x58964f[_0x561b88(0x1af)],'attributes':_0x58964f[_0x561b88(0x1cd)]||{}}):null;},'updateCommentThread':async({channelId:_0x3449f8,threadId:_0x17bdb1,context:_0x565f84,unlinkedAt:_0x34265c,attributes:_0x26c464})=>this[_0x3158ee(0x1b4)](_0x3449f8)[_0x3158ee(0x1b7)]({'commentThreadId':_0x17bdb1,'context':_0x565f84,'attributes':_0x26c464,'unlinkedAt':_0x34265c})[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'resolveCommentThread':async({channelId:_0x41f967,threadId:_0xbc715})=>{const _0x4b391f=_0x3158ee,_0x1c28d9=await this[_0x4b391f(0x1b4)](_0x41f967)[_0x4b391f(0x1e6)](_0xbc715)[_0x4b391f(0x1a7)](F)[_0x4b391f(0x1a7)](k);return{'threadId':_0x1c28d9[_0x4b391f(0x1b9)],'resolvedAt':_0x1c28d9[_0x4b391f(0x1a9)],'resolvedBy':_0x1c28d9[_0x4b391f(0x1af)]};},'reopenCommentThread':async({channelId:_0x44b907,threadId:_0xa38127})=>this[_0x3158ee(0x1b4)](_0x44b907)[_0x3158ee(0x1d5)](_0xa38127)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'removeCommentThread':({channelId:_0xd4598f,threadId:_0x1724a3})=>this[_0x3158ee(0x1b4)](_0xd4598f)[_0x3158ee(0x1c9)](_0x1724a3)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'addComment':({channelId:_0x7f8bc9,threadId:_0x10eefa,commentId:_0x4b0a71,content:_0x50d63f,attributes:_0x1c049e})=>this[_0x3158ee(0x1b4)](_0x7f8bc9)[_0x3158ee(0x194)](_0x10eefa,_0x4b0a71,_0x50d63f,_0x1c049e)[_0x3158ee(0x1a7)](k),'updateComment':({channelId:_0x3604b6,threadId:_0x40c997,commentId:_0x5170ea,content:_0x5ea0d,attributes:_0x39e3ea})=>this[_0x3158ee(0x1b4)](_0x3604b6)[_0x3158ee(0x1cf)](_0x40c997,_0x5170ea,_0x5ea0d,_0x39e3ea)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'removeComment':({channelId:_0x3f1257,threadId:_0x2551e3,commentId:_0x589c7e})=>this[_0x3158ee(0x1b4)](_0x3f1257)[_0x3158ee(0x1ab)](_0x2551e3,_0x589c7e)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k)},_0x2e7a37 instanceof _0x1b680b){const _0x61e41a=_0x2e7a37[_0x3158ee(0x188)][_0x3158ee(0x191)](_0x3158ee(0x186)),_0x240f74=_0x2e7a37[_0x3158ee(0x1e2)][_0x3158ee(0x191)](_0x110410);await this[_0x3158ee(0x197)](_0x61e41a);const _0xe56d83=await this[_0x3158ee(0x19f)][_0x3158ee(0x191)](_0x61e41a)[_0x3158ee(0x1d7)]();this[_0x3158ee(0x196)](_0x240f74,_0x3158ee(0x1ae)+_0x61e41a,(_0x2a9731,{session:_0x4c765a})=>{const _0x8adc28=_0x3158ee;_0x4c765a['id']===_0x240f74[_0x8adc28(0x1bf)]&&(_0x2a9731[_0x8adc28(0x1b3)](),this[_0x8adc28(0x1ca)][_0x8adc28(0x1e2)][_0x8adc28(0x191)](_0x8adc28(0x1ba))[_0x8adc28(0x1ad)](_0x4c765a[_0x8adc28(0x1a2)],_0x61e41a));}),_0x240f74[_0x3158ee(0x19b)](_0x61e41a,_0xe56d83);}}async[_0x59560b(0x197)](_0x344175){const _0x2b66a3=_0x59560b;if(this[_0x2b66a3(0x19f)][_0x2b66a3(0x1e7)](_0x344175))throw new _0x198a29(_0x2b66a3(0x1d6),null,{'channelId':_0x344175});const _0x1b853c=this[_0x2b66a3(0x1ca)][_0x2b66a3(0x1e2)][_0x2b66a3(0x191)](_0x2b66a3(0x18e)),_0xb0f6fa=new CloudServicesCommentsAdapter[(_0x2b66a3(0x1c7))](_0x344175);this[_0x2b66a3(0x19f)][_0x2b66a3(0x18c)](_0x344175,_0xb0f6fa),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1c3),(_0x3c1a49,_0x3ed1cd)=>{const _0x2ac772=_0x2b66a3,{commentThreadId:_0x45b477,documentId:_0x131d1f,context:_0x179b7f,attributes:_0x3d5cf9,resolvedAt:_0x3b67da,resolvedBy:_0x5ef00e,comments:_0x2668f2}=_0x3ed1cd;_0x1b853c[_0x2ac772(0x1cb)](_0x45b477)||_0x1b853c[_0x2ac772(0x1c1)]({'threadId':_0x45b477,'channelId':_0x131d1f,'comments':_0x2668f2?_0x2668f2[_0x2ac772(0x1dc)](S):[],'context':_0x179b7f,'attributes':_0x3d5cf9,'resolvedAt':_0x3b67da,'resolvedBy':_0x5ef00e,'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1e1),(_0x53b7b6,{commentThreadId:_0x298582,documentId:_0x5c7e6f,context:_0x43504c,unlinkedAt:_0x506f75,attributes:_0x1d7489})=>{const _0x1e37d6=_0x2b66a3;_0x1b853c[_0x1e37d6(0x1cb)](_0x298582)&&_0x1b853c[_0x1e37d6(0x1b7)]({'threadId':_0x298582,'channelId':_0x5c7e6f,'context':_0x43504c,'unlinkedAt':_0x506f75,'attributes':_0x1d7489,'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1d4),(_0x49045a,{commentThreadId:_0x2e892d,resolvedBy:_0x593fac,resolvedAt:_0x5491d7})=>{const _0x3e9d78=_0x2b66a3,_0x1b2d4c=_0x1b853c[_0x3e9d78(0x1cb)](_0x2e892d);_0x1b2d4c&&_0x1b2d4c[_0x3e9d78(0x1d0)]({'resolvedBy':_0x593fac,'resolvedAt':_0x5491d7,'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1bc),(_0x4efd08,{commentThreadId:_0x1b58da})=>{const _0x5752f4=_0x2b66a3,_0x53c8e3=_0x1b853c[_0x5752f4(0x1cb)](_0x1b58da);_0x53c8e3&&_0x53c8e3[_0x5752f4(0x19a)]({'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1b2),(_0x161b5e,{commentThreadId:_0x108551})=>{const _0xff7edb=_0x2b66a3,_0x45db41=_0x1b853c[_0xff7edb(0x1cb)](_0x108551);_0x45db41&&_0x45db41[_0xff7edb(0x1de)]({'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1d3),(_0x14b49a,_0x388a4b)=>{const _0xa3696e=_0x2b66a3,_0x470bff=_0x388a4b[_0xa3696e(0x1b9)],_0x31ba44=_0x1b853c[_0xa3696e(0x1cb)](_0x470bff);_0x31ba44&&_0x31ba44[_0xa3696e(0x194)]({...S(_0x388a4b),'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x184),(_0xc10f76,{commentThreadId:_0x5190db,commentId:_0x270b67,content:_0x1ea495,attributes:_0x2aecfb})=>{const _0x394a75=_0x2b66a3,_0x5cfb56=_0x1b853c[_0x394a75(0x1cb)](_0x5190db);if(_0x5cfb56){const _0x344fe4=_0x5cfb56[_0x394a75(0x1d1)](_0x270b67);_0x344fe4&&_0x344fe4[_0x394a75(0x1c8)]({'content':_0x1ea495,'attributes':_0x2aecfb,'isFromAdapter':!0x0});}}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1b6),(_0x4539c7,{commentThreadId:_0x1a2c48,commentId:_0x40df64})=>{const _0x3173f3=_0x2b66a3,_0x12de48=_0x1b853c[_0x3173f3(0x1cb)](_0x1a2c48);if(_0x12de48){const _0x2c89c5=_0x12de48[_0x3173f3(0x1d1)](_0x40df64);_0x2c89c5&&_0x2c89c5[_0x3173f3(0x1de)]({'isFromAdapter':!0x0});}}),await this[_0x2b66a3(0x1bd)](_0x344175);}[_0x59560b(0x1c5)](){const _0xc3db4e=_0x59560b;if(this[_0xc3db4e(0x1ca)]instanceof _0x1b680b){const _0x1bf887=this[_0xc3db4e(0x1ca)][_0xc3db4e(0x188)][_0xc3db4e(0x191)](_0xc3db4e(0x186));this[_0xc3db4e(0x193)](_0x1bf887);}}[_0x59560b(0x193)](_0x123ded){const _0xe4aa5e=_0x59560b;if(!this[_0xe4aa5e(0x19f)][_0xe4aa5e(0x1e7)](_0x123ded))throw new _0x198a29(_0xe4aa5e(0x1e5),null,{'channelId':_0x123ded});this[_0xe4aa5e(0x1b4)](_0x123ded)[_0xe4aa5e(0x198)](),this[_0xe4aa5e(0x19f)][_0xe4aa5e(0x1a4)](_0x123ded);}async[_0x59560b(0x1b1)](){const _0x36057e=_0x59560b;for(const _0xb84efd of this[_0x36057e(0x19f)][_0x36057e(0x1a1)]())await this[_0x36057e(0x1bd)](_0xb84efd);if(this[_0x36057e(0x1ca)]instanceof _0x1b680b){const _0x474a3a=this[_0x36057e(0x1ca)][_0x36057e(0x188)][_0x36057e(0x191)](_0x36057e(0x186)),_0xe841af=this[_0x36057e(0x1ca)][_0x36057e(0x1e2)][_0x36057e(0x191)](_0x110410);_0xe841af[_0x36057e(0x195)](_0x474a3a);const _0x3032ab=await this[_0x36057e(0x19f)][_0x36057e(0x191)](_0x474a3a)[_0x36057e(0x1d7)]();_0xe841af[_0x36057e(0x19b)](_0x474a3a,_0x3032ab);}}async[_0x59560b(0x1bd)](_0x5dff26){const _0x491836=_0x59560b,{connection:_0x204fe1}=this[_0x491836(0x1ca)][_0x491836(0x1e2)][_0x491836(0x191)](_0x4a078c),_0x2977cf=this[_0x491836(0x1ca)][_0x491836(0x1e2)][_0x491836(0x191)](_0x491836(0x18e)),_0x4520b3=this[_0x491836(0x19f)][_0x491836(0x191)](_0x5dff26),_0x5cad69=await _0x4520b3[_0x491836(0x192)](_0x204fe1);await this[_0x491836(0x187)](_0x5cad69);const _0x1a25c9=new Set(Array[_0x491836(0x1dd)](_0x2977cf[_0x491836(0x1cc)]({'channelId':_0x5dff26}),_0x345877=>_0x345877['id']));for(const _0xba6579 of _0x5cad69)_0xba6579[_0x491836(0x1bb)]||_0x1a25c9[_0x491836(0x1a4)](_0xba6579[_0x491836(0x1b9)]);for(const _0x52181d of _0x1a25c9)_0x2977cf[_0x491836(0x1cb)](_0x52181d)[_0x491836(0x1de)]({'isFromAdapter':!0x0});for(const _0x3a9b4d of _0x5cad69){let _0xa0a2d8=_0x2977cf[_0x491836(0x1cb)](_0x3a9b4d[_0x491836(0x1b9)]);const {commentThreadId:_0x13537a,context:_0x3a5fa3,attributes:_0x28d150,resolvedBy:_0x1710d4,resolvedAt:_0x490635,unlinkedAt:_0x4991f1,deletedAt:_0x3a5e1a}=_0x3a9b4d;if(_0x3a5e1a)continue;_0xa0a2d8||(_0xa0a2d8=_0x2977cf[_0x491836(0x1c1)]({'channelId':_0x5dff26,'threadId':_0x13537a,'context':_0x3a5fa3,'attributes':_0x28d150||{},'resolvedBy':_0x1710d4,'resolvedAt':_0x490635,'unlinkedAt':_0x4991f1,'isFromAdapter':!0x0}));const _0x399271=new Set(Array[_0x491836(0x1dd)](_0xa0a2d8[_0x491836(0x1a5)],_0x17bc9c=>_0x17bc9c['id']));for(const _0x393a49 of _0x3a9b4d[_0x491836(0x1a5)])_0x399271[_0x491836(0x1a4)](_0x393a49[_0x491836(0x1d9)]);for(const _0x461189 of _0x399271)_0xa0a2d8[_0x491836(0x1d1)](_0x461189)[_0x491836(0x1de)]({'isFromAdapter':!0x0});for(const _0x5f2ed7 of _0x3a9b4d[_0x491836(0x1a5)]){const _0x4b0c5b=_0xa0a2d8[_0x491836(0x1d1)](_0x5f2ed7[_0x491836(0x1d9)]);_0x4b0c5b?_0x4b0c5b[_0x491836(0x1e3)]!==_0x5f2ed7[_0x491836(0x1e3)]&&_0x4b0c5b[_0x491836(0x1c8)]({'content':_0x5f2ed7[_0x491836(0x1e3)],'isFromAdapter':!0x0}):_0xa0a2d8[_0x491836(0x194)](Object[_0x491836(0x1be)](S(_0x5f2ed7),{'isFromAdapter':!0x0}));}}}[_0x59560b(0x1b4)](_0x567443){const _0x465581=_0x59560b;if(!this[_0x465581(0x19f)][_0x465581(0x1e7)](_0x567443))throw new _0x198a29(_0x465581(0x1d2),null,{'channelId':_0x567443});return this[_0x465581(0x19f)][_0x465581(0x191)](_0x567443);}async[_0x59560b(0x187)](_0x3c094e){const _0x21c4cd=_0x59560b,_0x559593=this[_0x21c4cd(0x1ca)][_0x21c4cd(0x1e2)][_0x21c4cd(0x191)](_0x44d7d4),{connection:_0x651fae}=this[_0x21c4cd(0x1ca)][_0x21c4cd(0x1e2)][_0x21c4cd(0x191)](_0x4a078c),_0x22b8a9=new Set();for(const {resolvedBy:_0x2c3e2c,comments:_0xfb24e6}of _0x3c094e){_0x2c3e2c&&!_0x559593[_0x21c4cd(0x1db)](_0x2c3e2c)&&_0x22b8a9[_0x21c4cd(0x1ac)](_0x2c3e2c);for(const {userId:_0x4bff50}of _0xfb24e6)_0x559593[_0x21c4cd(0x1db)](_0x4bff50)||_0x22b8a9[_0x21c4cd(0x1ac)](_0x4bff50);}if(0x0===_0x22b8a9[_0x21c4cd(0x189)])return;const _0x560539=await _0x346d0[_0x21c4cd(0x1c2)](_0x651fae,Array[_0x21c4cd(0x1dd)](_0x22b8a9));for(const _0x38f562 of _0x560539)_0x559593[_0x21c4cd(0x1db)](_0x38f562['id'])||_0x559593[_0x21c4cd(0x199)](_0x38f562);}}function _0x2915(_0x297ae8,_0x48c2d7){const _0x5a263b=_0x5a26();return _0x2915=function(_0x2915cd,_0x32dc84){_0x2915cd=_0x2915cd-0x183;let _0x285864=_0x5a263b[_0x2915cd];return _0x285864;},_0x2915(_0x297ae8,_0x48c2d7);}async function F(_0x25ae7b){const _0x154a20=_0x59560b;if(_0x154a20(0x1c0)!==_0x25ae7b[_0x154a20(0x1c4)])throw _0x25ae7b;}function k(_0x511ca2){const _0x172f65=_0x59560b;if((_0x113678=_0x511ca2)[_0x172f65(0x1b8)][_0x172f65(0x1a3)](_0x172f65(0x19d))||_0x113678[_0x172f65(0x1b8)][_0x172f65(0x1a3)](_0x172f65(0x1e0))||_0x113678[_0x172f65(0x1b8)][_0x172f65(0x1a3)](_0x172f65(0x1df)))return new Promise(()=>{});var _0x113678;throw _0x511ca2;}function S(_0x4b3d30){const _0x350122=_0x59560b;return{'threadId':_0x4b3d30[_0x350122(0x1b9)],'commentId':_0x4b3d30[_0x350122(0x1d9)],'content':_0x4b3d30[_0x350122(0x1e3)],'createdAt':_0x4b3d30[_0x350122(0x19e)],'authorId':_0x4b3d30[_0x350122(0x1b0)],'attributes':_0x4b3d30[_0x350122(0x1cd)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2a2d02)());[_0x2702c9(0x10e)];[_0x2702c9(0x119)];[_0x2702c9(0x75)];[_0x2702c9(0x82)];[_0x2702c9(0x81)];[_0x2702c9(0xe1)];[_0x2702c9(0xe9)];[_0x2702c9(0x16d)];[_0x2702c9(0x16c)];[_0x2702c9(0x77)];[_0x2702c9(0x165)];[_0x2702c9(0xae)];[_0x2702c9(0x10b)];[_0x2702c9(0x101)];[_0x2702c9(0x123)];[_0x2702c9(0x7a)];[_0x2702c9(0x16b)];[_0x2702c9(0xd0)];static get[_0x2702c9(0xd4)](){return[_0xc15432,_0x282bbe,_0x4b672f,_0x45e76d,_0x455895,_0x35019e];}static get[_0x2702c9(0x9d)](){const _0x415e06=_0x2702c9;return _0x415e06(0xf4);}static get[_0x2702c9(0xbe)](){return!0x0;}static get[_0x2702c9(0x8d)](){return!0x0;}get[_0x2702c9(0xfc)](){const _0x355992=_0x2702c9;return this[_0x355992(0xe7)]+this[_0x355992(0x10e)];}get[_0x2702c9(0xe7)](){const _0x622ab7=_0x2702c9;return this[_0x622ab7(0x75)][_0x622ab7(0x127)]-this[_0x622ab7(0x10e)];}get[_0x2702c9(0xd1)](){const _0xbab2b3=_0x2702c9,_0x1807b2=this[_0xbab2b3(0x75)][_0xbab2b3(0xd5)]();for(let _0xa61c53=_0x1807b2[_0xbab2b3(0xca)]-0x1;_0xa61c53>=0x0;_0xa61c53--){const _0x1c2b6a=_0x1807b2[_0xa61c53];if(!this[_0xbab2b3(0x16b)][_0xbab2b3(0xc4)](_0x1c2b6a))return _0x1c2b6a[_0xbab2b3(0x93)]+0x1-this[_0xbab2b3(0x10e)];}return 0x0;}constructor(_0x28ca41){const _0x3c1c2c=_0x2702c9;if(super(_0x28ca41),this[_0x3c1c2c(0x10e)]=0x0,this[_0x3c1c2c(0x119)]=null,this[_0x3c1c2c(0x75)]=new _0x384ee1(),this[_0x3c1c2c(0xef)][_0x3c1c2c(0x158)][_0x3c1c2c(0x124)](_0x3c1c2c(0x154),{}),this[_0x3c1c2c(0x82)]=this[_0x3c1c2c(0xef)][_0x3c1c2c(0x158)][_0x3c1c2c(0xbb)](_0x3c1c2c(0x139)),!this[_0x3c1c2c(0x82)])throw new _0x247870(_0x3c1c2c(0xab),this);const _0x141e8c=_0x28ca41[_0x3c1c2c(0x158)][_0x3c1c2c(0xbb)](_0x3c1c2c(0xe5))||_0x3b8590;this[_0x3c1c2c(0x81)]=new RealTimeCollaborationClient[(_0x3c1c2c(0x91))](_0x141e8c,this[_0x3c1c2c(0x82)]),this[_0x3c1c2c(0xe1)]=this[_0x3c1c2c(0xef)][_0x3c1c2c(0x78)][_0x3c1c2c(0xe0)],this[_0x3c1c2c(0xe9)]=new _0x18bb5b(),this[_0x3c1c2c(0x16d)]=[],this[_0x3c1c2c(0x16c)]=new WeakSet(),this[_0x3c1c2c(0x77)]=new Set(),this[_0x3c1c2c(0x74)](_0x3c1c2c(0xcc),!0x1),this[_0x3c1c2c(0x74)](_0x3c1c2c(0x114),!0x1),this[_0x3c1c2c(0x165)]=null,this[_0x3c1c2c(0xae)]=!0x1,this[_0x3c1c2c(0x10b)]=null,this[_0x3c1c2c(0x101)]=0x12c,this[_0x3c1c2c(0x123)]=this[_0x3c1c2c(0x101)],this[_0x3c1c2c(0x7a)]=null,this[_0x3c1c2c(0x16b)]=new WeakSet(),this[_0x3c1c2c(0xd0)]=new Z(this[_0x3c1c2c(0x16b)]);}[_0x2702c9(0x7f)](){const _0x4f91ad=_0x2702c9,_0x2c566d=this[_0x4f91ad(0xef)],_0x4ddb6f=_0x2c566d[_0x4f91ad(0x97)][_0x4f91ad(0xbb)](_0x455895),_0x40702b=_0x2c566d[_0x4f91ad(0x97)][_0x4f91ad(0xbb)](_0xc15432);this[_0x4f91ad(0x9e)](_0x4ddb6f,_0x4f91ad(0x160),(_0x47e56e,_0x38932f)=>{const _0x245dfc=_0x4f91ad,_0x3d8703=_0x38932f[0x0];_0x3d8703[_0x245dfc(0x13b)]&&(_0x47e56e[_0x245dfc(0xf0)]=_0x4ddb6f[_0x245dfc(0x11b)](_0x3d8703[_0x245dfc(0x13b)]),_0x47e56e[_0x245dfc(0xf7)]()),null===_0x3d8703[_0x245dfc(0x13b)]&&(_0x47e56e[_0x245dfc(0xf0)]=null,_0x47e56e[_0x245dfc(0xf7)]());},{'priority':_0x4f91ad(0x142)}),this[_0x4f91ad(0x9e)](_0x2c566d[_0x4f91ad(0x78)][_0x4f91ad(0xe0)][_0x4f91ad(0x8e)],_0x4f91ad(0x163),(_0x37a80b,_0x586fc1)=>{const _0x3139cc=_0x4f91ad;_0x586fc1[_0x3139cc(0x16f)]&&this[_0x3139cc(0x150)]();}),this[_0x4f91ad(0x9e)](_0x2c566d[_0x4f91ad(0x87)][_0x4f91ad(0x112)],_0x4f91ad(0xea),()=>{const _0xf1c953=_0x4f91ad;this[_0xf1c953(0x150)]();}),this[_0x4f91ad(0xe8)](),_0x2c566d[_0x4f91ad(0x78)]['on'](_0x4f91ad(0x162),(_0x17109b,_0x517264)=>{const _0x51f807=_0x4f91ad,_0x517572=_0x517264[0x0];_0x517572[_0x51f807(0x9c)]&&(this[_0x51f807(0x109)](_0x517572),this[_0x51f807(0xdd)]()&&this[_0x51f807(0xc5)]());}),this[_0x4f91ad(0x11f)](),this[_0x4f91ad(0xf5)](_0x4f91ad(0x137))['to'](_0x40702b,_0x4f91ad(0xed),this,_0x4f91ad(0x114),(_0x4c9ccb,_0x4cf9cb)=>_0x4f91ad(0xfd)===_0x4c9ccb&&!_0x4cf9cb),this['on'](_0x4f91ad(0x95),()=>{const _0x53ecb1=_0x4f91ad;this[_0x53ecb1(0x137)]?_0x2c566d[_0x53ecb1(0xdc)](_0x53ecb1(0x85)):_0x2c566d[_0x53ecb1(0x14d)](_0x53ecb1(0x85));}),this[_0x4f91ad(0x137)]?_0x2c566d[_0x4f91ad(0xdc)](_0x4f91ad(0x85)):_0x2c566d[_0x4f91ad(0x14d)](_0x4f91ad(0x85)),this[_0x4f91ad(0x74)](_0x4f91ad(0x7d),!0x1);}async[_0x2702c9(0x168)](){const _0xf9d521=_0x2702c9,_0x4ce274=this[_0xf9d521(0xef)][_0xf9d521(0x97)][_0xf9d521(0xbb)](_0x282bbe),_0x5b3bf7=this[_0xf9d521(0xef)][_0xf9d521(0x97)][_0xf9d521(0xbb)](_0xc15432);try{this[_0xf9d521(0xcc)]=!0x0,_0x4ce274[_0xf9d521(0x173)](this[_0xf9d521(0x82)]);const _0x45f249=await this[_0xf9d521(0x81)][_0xf9d521(0x168)](_0x5b3bf7[_0xf9d521(0xff)],this[_0xf9d521(0xd1)]);await this[_0xf9d521(0xb7)](_0x45f249)&&(this[_0xf9d521(0xcc)]=!0x1,this[_0xf9d521(0x15b)]());const _0x4329d4=await this[_0xf9d521(0x81)][_0xf9d521(0x167)]();_0x4ce274[_0xf9d521(0x10f)](this[_0xf9d521(0x82)],_0x4329d4),this[_0xf9d521(0xf3)](),this[_0xf9d521(0x7d)]=!0x0;}catch(_0x5309bd){if(function(_0x530fb8){const _0xbf7b5f=_0xf9d521;return _0xbf7b5f(0x7b)===_0x530fb8[_0xbf7b5f(0xf1)];}(_0x5309bd)&&this[_0xf9d521(0x119)])await this[_0xf9d521(0xc3)]();else{if(function(_0x42ebc0){const _0x470337=_0xf9d521;return _0x470337(0x73)===_0x42ebc0[_0x470337(0xf1)];}(_0x5309bd)){const _0xb15d56=_0x251b37(this[_0xf9d521(0xef)][_0xf9d521(0x149)],_0xf9d521(0xac));this[_0xf9d521(0xb8)](_0xb15d56);}else{if(!(_0x5309bd instanceof X))throw _0x5309bd;this[_0xf9d521(0xb8)]();}}}}[_0x2702c9(0xb3)](){const _0x354c48=_0x2702c9,_0x368e4c=this[_0x354c48(0xef)][_0x354c48(0x97)][_0x354c48(0xbb)](_0xc15432),_0x5ee959=this[_0x354c48(0xef)][_0x354c48(0x97)][_0x354c48(0xbb)](_0x282bbe);this[_0x354c48(0xef)][_0x354c48(0x14d)](_0x354c48(0x98)),_0x5ee959[_0x354c48(0xeb)][_0x354c48(0xc4)](this[_0x354c48(0x82)])&&_0x5ee959[_0x354c48(0x173)](this[_0x354c48(0x82)]),_0x368e4c[_0x354c48(0x136)](this),this[_0x354c48(0x8b)](),super[_0x354c48(0xb3)]();}async[_0x2702c9(0xb7)](_0x40b727){const _0x3c296f=_0x2702c9;if(this[_0x3c296f(0x119)]!==_0x40b727[_0x3c296f(0x119)]&&this[_0x3c296f(0x7a)]!==_0x40b727[_0x3c296f(0x10a)])throw new X();return this[_0x3c296f(0x119)]=_0x40b727[_0x3c296f(0x119)],this[_0x3c296f(0x146)]([],{..._0x40b727,'wereChangesApplied':!0x1,'data':_0x40b727[_0x3c296f(0xe3)]},_0x3c296f(0x168));}async[_0x2702c9(0xad)](_0x161935,_0x4b63ad=!0x1){const _0x3d01e5=_0x2702c9,{connection:_0x320ef7}=this[_0x3d01e5(0xef)][_0x3d01e5(0x97)][_0x3d01e5(0xbb)](_0xc15432);RealTimeCollaborationClient[_0x3d01e5(0x91)][_0x3d01e5(0x167)](_0x320ef7,this[_0x3d01e5(0x82)])[_0x3d01e5(0xf6)](_0x1a0036=>this[_0x3d01e5(0x122)](_0x1a0036))[_0x3d01e5(0x16e)](_0x1cfc96=>{const _0x46ccca=_0x3d01e5;this[_0x46ccca(0x14f)](_0x46ccca(0xc0),_0x1cfc96);}),this[_0x3d01e5(0x9e)](this[_0x3d01e5(0x81)],_0x3d01e5(0x121),this[_0x3d01e5(0xc6)][_0x3d01e5(0xf5)](this)),this[_0x3d01e5(0x9e)](this[_0x3d01e5(0x81)],_0x3d01e5(0xee),(_0x15f297,_0x4503f3)=>{const _0x40a6b6=_0x3d01e5;this[_0x40a6b6(0x14f)](_0x40a6b6(0x11c),_0x4503f3);}),this[_0x3d01e5(0x9e)](this[_0x3d01e5(0x81)],_0x3d01e5(0x96),()=>{const _0x56df5c=_0x3d01e5;this[_0x56df5c(0x7d)]=!0x1;});const _0x5cc502=this[_0x3d01e5(0xd0)][_0x3d01e5(0x166)](_0x161935);this[_0x3d01e5(0xcc)]=!0x0;const _0x1d46dc=await this[_0x3d01e5(0x81)][_0x3d01e5(0xb0)](_0x320ef7,this[_0x3d01e5(0x14e)](_0x161935),_0x5cc502);if(this[_0x3d01e5(0x119)]=_0x1d46dc[_0x3d01e5(0x119)],_0x4b63ad){if(!_0x1d46dc[_0x3d01e5(0x152)])return void this[_0x3d01e5(0xb8)]();this[_0x3d01e5(0xcc)]=!0x1,this[_0x3d01e5(0x15b)](),this[_0x3d01e5(0x75)][_0x3d01e5(0x12a)](),this[_0x3d01e5(0x10e)]=_0x1d46dc[_0x3d01e5(0x108)],this[_0x3d01e5(0x75)][_0x3d01e5(0x127)]=this[_0x3d01e5(0x10e)],await this[_0x3d01e5(0x146)](_0x161935,_0x1d46dc,_0x3d01e5(0xb6));}else await this[_0x3d01e5(0xc8)](_0x1d46dc,_0x161935);this[_0x3d01e5(0xf3)](),this[_0x3d01e5(0x7d)]=!0x0;}[_0x2702c9(0xf3)](){const _0x54fb76=_0x2702c9,_0x9b941f=this[_0x54fb76(0xef)][_0x54fb76(0x97)][_0x54fb76(0xbb)](_0x282bbe),_0x43ab2f=this[_0x54fb76(0xef)][_0x54fb76(0x97)][_0x54fb76(0xbb)](_0x4b672f),_0x2402ac=_0x9b941f[_0x54fb76(0xeb)][_0x54fb76(0xbb)](this[_0x54fb76(0x82)]);_0x2402ac&&_0x2402ac[_0x54fb76(0xca)]>0x1?_0x43ab2f[_0x54fb76(0x92)]():this[_0x54fb76(0x9e)](_0x9b941f,_0x54fb76(0x15e)+this[_0x54fb76(0x82)],()=>{const _0x1e16b4=_0x54fb76;0x2===_0x9b941f[_0x1e16b4(0xeb)][_0x1e16b4(0xbb)](this[_0x1e16b4(0x82)])[_0x1e16b4(0xca)]&&_0x43ab2f[_0x1e16b4(0x92)]();});}async[_0x2702c9(0xc6)](_0x184fdb,_0x12122b,_0x1edfc8,_0x55e56a){const _0x3052e0=_0x2702c9;if(!this[_0x3052e0(0xcc)]&&this[_0x3052e0(0xe1)][_0x3052e0(0x127)]==_0x12122b){const _0x432858=this[_0x3052e0(0x120)](_0x1edfc8,_0x55e56a);await this[_0x3052e0(0x161)](_0x432858),this[_0x3052e0(0xbc)](_0x432858,_0x12122b,_0x1edfc8[_0x3052e0(0x10a)])||this[_0x3052e0(0x14f)](_0x3052e0(0x10c));}}async[_0x2702c9(0xc3)](){const _0x2760b2=_0x2702c9;this[_0x2760b2(0x8b)]();const {locale:_0x3dc807}=this[_0x2760b2(0xef)];let _0x4c0b10;try{_0x4c0b10=await this[_0x2760b2(0x81)][_0x2760b2(0x164)]();}catch{const _0x5e608a=_0x251b37(_0x3dc807,_0x2760b2(0x107));return void this[_0x2760b2(0xb8)](_0x5e608a);}const _0x248fd1=_0x4c0b10[_0x2760b2(0xd9)]||_0x4c0b10[_0x2760b2(0xb9)];if(this[_0x2760b2(0x7a)]!==_0x248fd1[_0x2760b2(0x10a)]){const _0x199431=_0x251b37(_0x3dc807,_0x2760b2(0x134));return void this[_0x2760b2(0xb8)](_0x199431);}await this[_0x2760b2(0xad)](this[_0x2760b2(0xef)][_0x2760b2(0x78)][_0x2760b2(0xe0)][_0x2760b2(0x9b)][_0x2760b2(0xd5)](),!0x0);}[_0x2702c9(0x8b)](){const _0x56c7a7=_0x2702c9;this[_0x56c7a7(0x81)][_0x56c7a7(0x13d)](),this[_0x56c7a7(0x16d)]=[],clearTimeout(this[_0x56c7a7(0x10b)]),this[_0x56c7a7(0x9f)](this[_0x56c7a7(0x81)]);}[_0x2702c9(0x122)](_0x10190e){const _0x2ae09d=_0x2702c9,_0x361811=this[_0x2ae09d(0xef)][_0x2ae09d(0x97)][_0x2ae09d(0xbb)](_0x282bbe);this[_0x2ae09d(0x9e)](_0x361811,_0x2ae09d(0x15e)+this[_0x2ae09d(0x82)],(_0x1fa937,{session:_0x45f7ef})=>{const _0x1da68d=_0x2ae09d;if(_0x45f7ef['id']===_0x361811[_0x1da68d(0x151)]){_0x1fa937[_0x1da68d(0x103)]();const _0x287c08=this[_0x1da68d(0xef)][_0x1da68d(0x97)][_0x1da68d(0xc4)](_0x1da68d(0x12c))&&this[_0x1da68d(0xef)][_0x1da68d(0x97)][_0x1da68d(0xbb)](_0x1da68d(0x12c));let _0x51be5b=_0x45f7ef[_0x1da68d(0xa0)];_0x287c08&&_0x287c08[_0x1da68d(0x16a)]&&(_0x51be5b=_0x51be5b[_0x1da68d(0x9a)](_0xb37f1b=>_0x1da68d(0xaa)!==_0xb37f1b)),this[_0x1da68d(0xef)][_0x1da68d(0x97)][_0x1da68d(0xbb)](_0x1da68d(0x159))[_0x1da68d(0x7c)](_0x51be5b,this[_0x1da68d(0x82)]);}}),_0x361811[_0x2ae09d(0x10f)](this[_0x2ae09d(0x82)],_0x10190e);}[_0x2702c9(0xe8)](){const _0x1e0563=_0x2702c9,_0x2c6c01=this[_0x1e0563(0xef)][_0x1e0563(0xe3)][_0x1e0563(0x74)];this[_0x1e0563(0xef)][_0x1e0563(0xe3)][_0x1e0563(0x74)]=(..._0x5a3d84)=>{const _0x12035b=_0x1e0563;if(!_0x5a3d84[_0x5a3d84[_0x12035b(0xca)]-0x1][_0x12035b(0x89)])throw new _0x247870(_0x12035b(0xdf),this);_0x2c6c01[_0x12035b(0x7e)](this[_0x12035b(0xef)][_0x12035b(0xe3)],_0x5a3d84);};}[_0x2702c9(0x11f)](){const _0x4bfbb9=_0x2702c9;this[_0x4bfbb9(0xef)][_0x4bfbb9(0xe3)]['on'](_0x4bfbb9(0x7f),(_0x1e9566,[_0x4702fe])=>{const _0x174074=_0x4bfbb9;if(this[_0x174074(0xe1)][_0x174074(0x127)])throw new _0x247870(_0x174074(0xc2),this);_0x1e9566[_0x174074(0xf7)](),this[_0x174074(0x105)]();const _0x46d1c6=this[_0x174074(0xef)][_0x174074(0x158)][_0x174074(0xbb)](_0x174074(0x8c)),_0x16ab96=this[_0x174074(0x110)](_0x4702fe,_0x46d1c6);0x0==_0x16ab96[_0x174074(0xca)]&&_0x16ab96[_0x174074(0x145)](new _0x2bca64(0x0)),_0x1e9566[_0x174074(0xf0)]=this[_0x174074(0xad)](_0x16ab96)[_0x174074(0xf6)](()=>{const _0x57888c=_0x174074;this[_0x57888c(0xef)][_0x57888c(0x97)][_0x57888c(0xbb)](_0xc15432)[_0x57888c(0x128)](this),this[_0x57888c(0xef)][_0x57888c(0xe3)][_0x57888c(0x15a)](_0x57888c(0xa3));})[_0x174074(0x16e)](_0x3f13be=>this[_0x174074(0x14f)](_0x174074(0x156),_0x3f13be))[_0x174074(0xe6)](()=>this[_0x174074(0x15b)]());},{'priority':_0x4bfbb9(0x142)}),this[_0x4bfbb9(0xef)]['on'](_0x4bfbb9(0xfe),async(_0x5cc025,[_0x3ed6b7,_0x30a711])=>{const _0x3680a1=_0x4bfbb9;_0x5cc025[_0x3680a1(0xf7)]();const _0xd3fb9d=this[_0x3680a1(0xef)][_0x3680a1(0x78)][_0x3680a1(0xe0)][_0x3680a1(0x72)](_0x3ed6b7);if(!this[_0x3680a1(0x77)][_0x3680a1(0xc4)](_0x3ed6b7)){const _0x25efd6=_0x30a711&&_0x30a711[_0x3680a1(0xe3)]?_0x30a711[_0x3680a1(0xe3)]:'',_0x10943e=_0x30a711&&_0x30a711[_0x3680a1(0x99)]?_0x30a711[_0x3680a1(0x99)]:{};await this[_0x3680a1(0x100)](_0x3ed6b7,_0x25efd6,_0x10943e);}this[_0x3680a1(0xef)][_0x3680a1(0x78)][_0x3680a1(0x11d)]({'isUndoable':!0x1},()=>{const _0x334aa9=_0x3680a1;_0xd3fb9d[_0x334aa9(0xb5)]=!0x0,this[_0x334aa9(0xef)][_0x334aa9(0x78)][_0x334aa9(0xe0)][_0x334aa9(0x148)][_0x334aa9(0xd8)](_0xd3fb9d);});},{'priority':_0x4bfbb9(0x142)});}async[_0x2702c9(0x161)](_0x1787a3){const _0x3141ff=_0x2702c9,_0x2256ec=this[_0x3141ff(0xef)][_0x3141ff(0x97)][_0x3141ff(0xbb)](_0x455895),{connection:_0x3b7f9b}=this[_0x3141ff(0xef)][_0x3141ff(0x97)][_0x3141ff(0xbb)](_0xc15432),_0xbb802=new Set();for(const _0x3ea6f3 of _0x1787a3){const _0x793e9a=_0x3ea6f3[_0x3141ff(0x13b)];_0x793e9a&&!_0x2256ec[_0x3141ff(0x11b)](_0x793e9a)&&_0xbb802[_0x3141ff(0x12f)](_0x793e9a);}if(0x0===_0xbb802[_0x3141ff(0x111)])return;const _0x4b10c0=await _0x55dfd2[_0x3141ff(0x13f)](_0x3b7f9b,Array[_0x3141ff(0xfa)](_0xbb802));for(const _0x51c917 of _0x4b10c0)_0x2256ec[_0x3141ff(0x11b)](_0x51c917['id'])||_0x2256ec[_0x3141ff(0xfb)](_0x51c917);}[_0x2702c9(0x110)](_0x24e9c5,_0x403e01={}){const _0x3ff4e1=_0x2702c9,_0x27084c=this[_0x3ff4e1(0xef)][_0x3ff4e1(0x78)],_0x440b4f=[];let _0x1a4144=0x0;const _0x19d8d1=_0x3ff4e1(0x129)==typeof _0x24e9c5?{'main':_0x24e9c5}:_0x24e9c5;for(const _0x31eeeb of Object[_0x3ff4e1(0x10d)](_0x19d8d1)){if(!this[_0x3ff4e1(0xe1)][_0x3ff4e1(0x71)][_0x3ff4e1(0xc4)](_0x31eeeb))throw new _0x247870(_0x3ff4e1(0x131),this);const _0x29c9a1=this[_0x3ff4e1(0xef)][_0x3ff4e1(0xe3)][_0x3ff4e1(0x170)](_0x19d8d1[_0x31eeeb]),_0x2568cb=this[_0x3ff4e1(0xe1)][_0x3ff4e1(0x72)](_0x31eeeb),_0x41d17f=new _0x55aa4a(_0x27084c[_0x3ff4e1(0xba)](_0x2568cb,0x0),_0x29c9a1,_0x1a4144++);_0x440b4f[_0x3ff4e1(0x145)](_0x41d17f);for(const [_0x8883c9,_0x350e52]of _0x29c9a1[_0x3ff4e1(0xd2)]){const _0x5d8ff8=_0x27084c[_0x3ff4e1(0x94)](_0x27084c[_0x3ff4e1(0xce)](_0x2568cb,_0x350e52[_0x3ff4e1(0xaf)][_0x3ff4e1(0xb2)][_0x3ff4e1(0x172)]()),_0x27084c[_0x3ff4e1(0xce)](_0x2568cb,_0x350e52[_0x3ff4e1(0xec)][_0x3ff4e1(0xb2)][_0x3ff4e1(0x172)]())),_0x3903b1=new _0x2efda1(_0x8883c9,null,_0x5d8ff8,_0x27084c[_0x3ff4e1(0xd2)],!0x0,_0x1a4144++);_0x440b4f[_0x3ff4e1(0x145)](_0x3903b1);}}if(_0x403e01)for(const [_0x3079f0,_0x154e6d]of Object[_0x3ff4e1(0x116)](_0x403e01)){const _0x3a4cb3=_0x27084c[_0x3ff4e1(0xe0)][_0x3ff4e1(0x72)](_0x3079f0);if(!_0x3a4cb3)throw new _0x247870(_0x3ff4e1(0xa7),null);for(const [_0x23bbe5,_0x4643e8]of Object[_0x3ff4e1(0x116)](_0x154e6d))if(null!==_0x4643e8){const _0x1da47b=new _0x58d181(_0x3a4cb3,_0x23bbe5,null,_0x4643e8,_0x1a4144++);_0x440b4f[_0x3ff4e1(0x145)](_0x1da47b);}}return _0x440b4f;}async[_0x2702c9(0x100)](_0xc2d104,_0x52da60,_0x49bd3e){const _0xade973=_0x2702c9;this[_0xade973(0x110)]({[_0xc2d104]:_0x52da60},{[_0xc2d104]:_0x49bd3e})[_0xade973(0xa1)]((_0x32073d,_0xa5d489)=>{const _0x4cff4c=_0xade973;_0x32073d[_0x4cff4c(0x93)]=this[_0x4cff4c(0xe1)][_0x4cff4c(0x127)]+_0xa5d489,_0x32073d[_0x4cff4c(0x88)]=!0x0,this[_0x4cff4c(0x109)](_0x32073d);}),this[_0xade973(0xc5)](),await this[_0xade973(0x174)]();}async[_0x2702c9(0xc8)](_0x22e4fa,_0x4a82b1){const _0x52ec15=_0x2702c9;let _0x5dc2f7;this[_0x52ec15(0x10e)]=_0x22e4fa[_0x52ec15(0x108)];const _0x3fcee6=_0x22e4fa[_0x52ec15(0x152)]&&!_0x22e4fa[_0x52ec15(0x144)],_0x20b23e=_0x3fcee6?0x0:_0x22e4fa[_0x52ec15(0xe3)][_0x52ec15(0x93)];if(_0x4a82b1[_0x52ec15(0xa1)](_0x1ab57e=>{const _0x47d08d=_0x52ec15;_0x1ab57e[_0x47d08d(0x88)]=!0x0,_0x1ab57e[_0x47d08d(0xd7)]=_0x22e4fa[_0x47d08d(0xa6)],_0x1ab57e[_0x47d08d(0x13b)]=null;}),_0x3fcee6)_0x5dc2f7=_0x4a82b1,this[_0x52ec15(0xda)](_0x5dc2f7,_0x3fcee6);else{if(_0x22e4fa[_0x52ec15(0x144)]){const _0x198b9b=this[_0x52ec15(0x110)](_0x22e4fa[_0x52ec15(0x144)]);this[_0x52ec15(0xe1)][_0x52ec15(0x9b)][_0x52ec15(0x127)]=-_0x198b9b[_0x52ec15(0xca)],_0x198b9b[_0x52ec15(0xa1)](_0x1a5958=>{const _0x22ec4e=_0x52ec15;_0x1a5958[_0x22ec4e(0x93)]-=_0x198b9b[_0x22ec4e(0xca)],_0x1a5958[_0x22ec4e(0xd7)]=_0x22e4fa[_0x22ec4e(0xa6)],_0x1a5958[_0x22ec4e(0x88)]=!0x0,_0x1a5958[_0x22ec4e(0x13b)]=null;}),this[_0x52ec15(0xda)](_0x198b9b,!0x0),this[_0x52ec15(0x75)][_0x52ec15(0x127)]=-_0x198b9b[_0x52ec15(0xca)]+this[_0x52ec15(0x10e)],this[_0x52ec15(0xb1)](_0x198b9b);}this[_0x52ec15(0xe1)][_0x52ec15(0x9b)][_0x52ec15(0x127)]=_0x20b23e,_0x5dc2f7=this[_0x52ec15(0x120)](_0x22e4fa[_0x52ec15(0xe3)],_0x22e4fa[_0x52ec15(0x130)]),await this[_0x52ec15(0x161)](_0x5dc2f7),this[_0x52ec15(0xda)](_0x5dc2f7,_0x3fcee6);}_0x22e4fa[_0x52ec15(0x10a)]&&(this[_0x52ec15(0xd0)][_0x52ec15(0x147)](_0x5dc2f7,_0x22e4fa[_0x52ec15(0x10a)]),this[_0x52ec15(0x7a)]=_0x22e4fa[_0x52ec15(0x10a)]),this[_0x52ec15(0x75)][_0x52ec15(0x127)]=_0x20b23e+this[_0x52ec15(0x10e)],this[_0x52ec15(0xb1)](_0x5dc2f7),_0x4a82b1[_0x52ec15(0x9a)](_0x1a36e5=>{const _0x3ec030=_0x52ec15,_0x14572c=this[_0x3ec030(0x12e)](_0x1a36e5);return _0x14572c&&!this[_0x3ec030(0x77)][_0x3ec030(0xc4)](_0x14572c);})[_0x52ec15(0xa1)]((_0x51c90f,_0x20f593)=>{const _0x38d8af=_0x52ec15;_0x51c90f[_0x38d8af(0x93)]=this[_0x38d8af(0xe1)][_0x38d8af(0x127)]+_0x20f593,this[_0x38d8af(0x109)](_0x51c90f);}),this[_0x52ec15(0xdd)]()?(this[_0x52ec15(0x123)]=0x0,this[_0x52ec15(0xc5)](!0x0),await this[_0x52ec15(0x174)]()):(this[_0x52ec15(0xcc)]=!0x1,this[_0x52ec15(0x15b)]());}[_0x2702c9(0x14f)](_0x1b32f3,_0x421dab){const _0x5d4d33=_0x2702c9,_0x626ea=_0x421dab&&_0x421dab[_0x5d4d33(0x14b)];if(_0x626ea&&_0x626ea[_0x5d4d33(0x84)](_0x5d4d33(0xd6)))throw _0x421dab;const _0x5053ca=this[_0x5d4d33(0xef)][_0x5d4d33(0x97)][_0x5d4d33(0xbb)](_0xc15432);throw this[_0x5d4d33(0xcc)]=!0x0,_0x5053ca[_0x5d4d33(0x13d)](),this[_0x5d4d33(0xef)][_0x5d4d33(0x14d)](_0x5d4d33(0x90)),new _0x247870(_0x1b32f3,this[_0x5d4d33(0xef)],_0x626ea?{'originalError':_0x626ea}:void 0x0);}[_0x2702c9(0x109)](_0x42f281){const _0x305185=_0x2702c9;this[_0x305185(0x16c)][_0x305185(0xc4)](_0x42f281)||(this[_0x305185(0x16c)][_0x305185(0x12f)](_0x42f281),this[_0x305185(0x16d)][_0x305185(0x145)](_0x42f281),this[_0x305185(0x165)]||_0x305185(0x138)==_0x42f281[_0x305185(0xe2)]&&!_0x42f281[_0x305185(0x15f)]||this[_0x305185(0x105)]());}[_0x2702c9(0xc5)](_0x33794a=!0x1){const _0x29b357=_0x2702c9;!_0x33794a&&this[_0x29b357(0xcc)]||(this[_0x29b357(0xcc)]=!0x0,clearTimeout(this[_0x29b357(0x10b)]),this[_0x29b357(0x10b)]=setTimeout(()=>{const _0x1d8b02=_0x29b357;this[_0x1d8b02(0xd3)]()[_0x1d8b02(0xf6)](_0x39a4c4=>{const _0x4b5432=_0x1d8b02;_0x39a4c4&&(this[_0x4b5432(0x15b)](),this[_0x4b5432(0xcc)]=!0x1);})[_0x1d8b02(0x16e)](_0x1bfbab=>{const _0x1192f4=_0x1d8b02;this[_0x1192f4(0x15b)](),this[_0x1192f4(0xcc)]=!0x1,function(_0x5f0519){const _0x53d90c=_0x1192f4;return _0x5f0519[_0x53d90c(0x14b)][_0x53d90c(0x84)](_0x53d90c(0x15c))||_0x5f0519[_0x53d90c(0x14b)][_0x53d90c(0x84)](_0x53d90c(0x104))||_0x5f0519[_0x53d90c(0x14b)][_0x53d90c(0x84)](_0x53d90c(0xbd));}(_0x1bfbab)||this[_0x1192f4(0x14f)](_0x1bfbab[_0x1192f4(0x14b)],_0x1bfbab);});},this[_0x29b357(0x123)]));}[_0x2702c9(0x174)](){return new Promise(_0x1f37bf=>{const _0x1979a3=_0xf43f;this['on'](_0x1979a3(0x153),()=>{_0x1f37bf();});});}async[_0x2702c9(0xd3)](){const _0x58bc55=_0x2702c9,_0x27f259=this[_0x58bc55(0xef)][_0x58bc55(0x97)][_0x58bc55(0xbb)](_0x4b672f);if(this[_0x58bc55(0x14c)]()&&(_0x27f259[_0x58bc55(0x92)](),this[_0x58bc55(0xae)]=!0x1),!this[_0x58bc55(0xdd)]())return!0x0;const _0x1eb2c4=[...this[_0x58bc55(0x16d)]];for(const _0xa0e12e of _0x1eb2c4)_0xa0e12e[_0x58bc55(0x126)]=this[_0x58bc55(0xe1)][_0x58bc55(0x9b)][_0x58bc55(0xe4)](_0xa0e12e);const _0x3fc250=this[_0x58bc55(0xd0)][_0x58bc55(0x166)](_0x1eb2c4),_0x4df63d=Q++,_0x471e82=this[_0x58bc55(0x14e)](_0x1eb2c4),_0x46ec3f=await this[_0x58bc55(0x81)][_0x58bc55(0x13a)](_0x471e82,_0x471e82[_0x58bc55(0x93)],_0x3fc250);try{return await this[_0x58bc55(0x146)](_0x1eb2c4,_0x46ec3f,_0x4df63d);}catch(_0x2db6a8){return this[_0x58bc55(0x14f)](_0x58bc55(0xa2),_0x2db6a8);}}async[_0x2702c9(0x146)](_0x1b73d8,_0x2768bc,_0x33a9b3){const _0x2d3ad9=_0x2702c9;if(_0x2d3ad9(0xee)in _0x2768bc)throw _0x2768bc[_0x2d3ad9(0xee)];let _0x4cbf6b=!0x1;if(_0x2768bc[_0x2d3ad9(0x152)]){_0x2768bc[_0x2d3ad9(0x10a)]&&(this[_0x2d3ad9(0x7a)]=_0x2768bc[_0x2d3ad9(0x10a)]),this[_0x2d3ad9(0x16d)]=this[_0x2d3ad9(0x16d)][_0x2d3ad9(0x9a)](_0xdc0669=>!_0x1b73d8[_0x2d3ad9(0x14a)](_0xdc0669));for(const _0x31502f of _0x1b73d8)_0x31502f[_0x2d3ad9(0xd7)]=_0x2d3ad9(0x113)in _0x2768bc&&_0x2768bc[_0x2d3ad9(0x113)]||void 0x0;Y(_0x1b73d8,_0x2768bc[_0x2d3ad9(0x127)]-_0x1b73d8[_0x2d3ad9(0xca)]),this[_0x2d3ad9(0xb1)](_0x1b73d8);const _0xeb4fa0=_0x1b73d8[_0x2d3ad9(0x9a)](_0x30834d=>{const _0x231d52=_0x2d3ad9;if(!_0x30834d[_0x231d52(0x88)])return!0x1;const _0x3eebdf=this[_0x231d52(0x12e)](_0x30834d);return _0x3eebdf&&!this[_0x231d52(0x77)][_0x231d52(0xc4)](_0x3eebdf);});Y(_0xeb4fa0,this[_0x2d3ad9(0xe1)][_0x2d3ad9(0x127)]),this[_0x2d3ad9(0xda)](_0xeb4fa0),_0x4cbf6b=!0x0,this[_0x2d3ad9(0x123)]=this[_0x2d3ad9(0x101)];}else{const _0x1b6ecf=this[_0x2d3ad9(0x120)](_0x2768bc[_0x2d3ad9(0xe3)],_0x2768bc[_0x2d3ad9(0x130)])[_0x2d3ad9(0x9a)](_0x48d2d9=>_0x48d2d9[_0x2d3ad9(0x93)]>=this[_0x2d3ad9(0xe7)]);_0x1b6ecf[_0x2d3ad9(0xa1)](_0x4c3796=>this[_0x2d3ad9(0x117)](_0x4c3796)),this[_0x2d3ad9(0x16d)]=this[_0x2d3ad9(0x16d)][_0x2d3ad9(0x9a)](_0x183467=>!_0x183467[_0x2d3ad9(0x88)]||!this[_0x2d3ad9(0x77)][_0x2d3ad9(0xc4)](this[_0x2d3ad9(0x12e)](_0x183467))),this[_0x2d3ad9(0x16d)][_0x2d3ad9(0xca)]&&Y(this[_0x2d3ad9(0x16d)],this[_0x2d3ad9(0x16d)][0x0][_0x2d3ad9(0x93)]),await this[_0x2d3ad9(0x161)](_0x1b6ecf),_0x4cbf6b=this[_0x2d3ad9(0xbc)](_0x1b6ecf,_0x2768bc[_0x2d3ad9(0x127)],_0x2768bc[_0x2d3ad9(0x10a)]),this[_0x2d3ad9(0x123)]=Math[_0x2d3ad9(0x169)](this[_0x2d3ad9(0x123)]/0x2);}return _0x4cbf6b?!this[_0x2d3ad9(0xdd)]()||(this[_0x2d3ad9(0xc5)](!0x0),!0x1):this[_0x2d3ad9(0x14f)](_0x2d3ad9(0xa9));}[_0x2702c9(0xbc)](_0x221702,_0x456d1e,_0x3bd3c7){const _0x482126=_0x2702c9;try{const _0x224ab1={'document':this[_0x482126(0xe1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x370a52,operationsB:_0x126a47,originalOperations:_0x42ee68}=_0x42b252(_0x221702,this[_0x482126(0x16d)],_0x224ab1);Y(_0x370a52,this[_0x482126(0xe1)][_0x482126(0x127)]),Y(_0x126a47,_0x456d1e);for(const _0x50fecc of _0x370a52){const _0x5d5876=_0x42ee68[_0x482126(0xbb)](_0x50fecc);_0x50fecc[_0x482126(0x13b)]=_0x5d5876?_0x5d5876[_0x482126(0x13b)]:null;}_0x3bd3c7&&(this[_0x482126(0xd0)][_0x482126(0x147)](_0x221702,_0x3bd3c7),this[_0x482126(0x7a)]=_0x3bd3c7),this[_0x482126(0x16d)]=[..._0x126a47],this[_0x482126(0xda)](_0x370a52),this[_0x482126(0xb1)](_0x221702);}catch(_0x2bc9c5){return console[_0x482126(0xee)](_0x2bc9c5),!0x1;}return!0x0;}[_0x2702c9(0xda)](_0xdee83c,_0x120d77=!0x1){const _0x55c339=_0x2702c9;this[_0x55c339(0xef)][_0x55c339(0x78)][_0x55c339(0x11d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fe167=>{const _0x4d978f=_0x55c339;for(const _0x505ebe of _0xdee83c)this[_0x4d978f(0x16c)][_0x4d978f(0x12f)](_0x505ebe),this[_0x4d978f(0x117)](_0x505ebe),_0x1fe167[_0x4d978f(0x143)][_0x4d978f(0x15d)](_0x505ebe),this[_0x4d978f(0xef)][_0x4d978f(0x78)][_0x4d978f(0x162)](_0x505ebe);});}[_0x2702c9(0x117)](_0x109871){const _0x1581b9=_0x2702c9,_0x21b6df=this[_0x1581b9(0x12e)](_0x109871);_0x21b6df&&this[_0x1581b9(0x77)][_0x1581b9(0x12f)](_0x21b6df);}[_0x2702c9(0x12e)](_0x3a9251){const _0x22c9c4=_0x2702c9;let _0x1899ae,_0x22e5af;switch(_0x3a9251[_0x22c9c4(0xe2)]){case _0x22c9c4(0x8f):_0x1899ae=_0x3a9251[_0x22c9c4(0x11a)][_0x22c9c4(0x80)];break;case _0x22c9c4(0x138):if(_0x22e5af=_0x3a9251[_0x22c9c4(0x12d)],!_0x22e5af)return null;_0x1899ae=_0x22e5af[_0x22c9c4(0x80)];break;case _0x22c9c4(0xa8):_0x1899ae=_0x3a9251[_0x22c9c4(0x80)];break;case _0x22c9c4(0xc1):_0x1899ae=_0x3a9251[_0x22c9c4(0x13e)];break;case _0x22c9c4(0x86):_0x1899ae=_0x3a9251[_0x22c9c4(0x141)][_0x22c9c4(0x80)];break;default:return null;}return _0x1899ae[_0x22c9c4(0xc7)];}[_0x2702c9(0xb1)](_0x51db2d){const _0x349ca3=_0x2702c9;_0x51db2d[_0x349ca3(0xa1)](_0x5052e6=>{const _0x42d055=_0x349ca3,_0x23f31b=_0x5052e6[_0x42d055(0xbf)]();_0x23f31b[_0x42d055(0x13b)]=_0x5052e6[_0x42d055(0x13b)],_0x23f31b[_0x42d055(0x88)]=!!_0x5052e6[_0x42d055(0x88)],_0x23f31b[_0x42d055(0xd7)]=_0x5052e6[_0x42d055(0xd7)],_0x23f31b[_0x42d055(0x93)]+=this[_0x42d055(0x10e)],_0x5052e6[_0x42d055(0x118)]&&this[_0x42d055(0x16b)][_0x42d055(0x12f)](_0x23f31b),this[_0x42d055(0x75)][_0x42d055(0x15d)](_0x23f31b);});}[_0x2702c9(0xb8)](_0x18b799){const _0x21e56a=_0x2702c9,_0xa7e1a3=this[_0x21e56a(0xef)][_0x21e56a(0x97)][_0x21e56a(0xbb)](_0x21e56a(0xde)),_0x376f1a=this[_0x21e56a(0xef)][_0x21e56a(0x149)];_0x18b799||(_0x18b799=_0x251b37(_0x376f1a,_0x21e56a(0xcf))),_0xa7e1a3[_0x21e56a(0x83)](_0x18b799,{'title':_0x251b37(_0x376f1a,_0x21e56a(0x135)),'namespace':_0x21e56a(0xb4)}),this[_0x21e56a(0x114)]=!0x0,clearTimeout(this[_0x21e56a(0x10b)]),this[_0x21e56a(0x16d)]=[],this[_0x21e56a(0xef)][_0x21e56a(0x97)][_0x21e56a(0xbb)](_0xc15432)[_0x21e56a(0x13d)]();}[_0x2702c9(0x105)](){const _0xa52670=_0x2702c9;this[_0xa52670(0x165)]||(this[_0xa52670(0x165)]=this[_0xa52670(0xef)][_0xa52670(0x97)][_0xa52670(0xbb)](_0x45e76d)[_0xa52670(0x12f)](_0x251b37(this[_0xa52670(0xef)][_0xa52670(0x149)],_0xa52670(0x76))));}[_0x2702c9(0x15b)](){const _0x1839d9=_0x2702c9;this[_0x1839d9(0x165)]&&(this[_0x1839d9(0xef)][_0x1839d9(0x97)][_0x1839d9(0xbb)](_0x45e76d)[_0x1839d9(0x175)](this[_0x1839d9(0x165)]),this[_0x1839d9(0x165)]=null);}[_0x2702c9(0x14e)](_0x59c80d){const _0x26511d=_0x2702c9,_0x1ffeca=_0x59c80d[_0x26511d(0xcb)](_0x45d343=>_0x45d343[_0x26511d(0x125)]());return this[_0x26511d(0xe9)][_0x26511d(0x79)](_0x1ffeca);}[_0x2702c9(0x120)](_0x5b9cb4,_0x2fc185){const _0x8a9ec2=_0x2702c9;return this[_0x8a9ec2(0xe9)][_0x8a9ec2(0x140)](_0x5b9cb4)[_0x8a9ec2(0xcb)]((_0x4ff337,_0x19e45a)=>{const _0x3ca07d=_0x8a9ec2,_0x53ab19=_0x3ca07d(0x7f)==_0x2fc185[_0x19e45a][_0x3ca07d(0xe2)];if(_0x3ca07d(0xa4)==_0x4ff337[_0x3ca07d(0x106)]){const _0x35559d=_0x4ff337[_0x3ca07d(0x11a)][_0x3ca07d(0x80)];!this[_0x3ca07d(0xe1)][_0x3ca07d(0x72)](_0x35559d)&&(this[_0x3ca07d(0xe1)][_0x3ca07d(0x176)](_0x3ca07d(0x171),_0x35559d)[_0x3ca07d(0x115)]=!0x1);}const _0x13d595=_0x94aada[_0x3ca07d(0x133)](_0x4ff337,this[_0x3ca07d(0xe1)]);return _0x13d595[_0x3ca07d(0x126)]=_0x4ff337[_0x3ca07d(0x126)],_0x13d595[_0x3ca07d(0x88)]=_0x53ab19,_0x13d595[_0x3ca07d(0x13b)]=_0x53ab19?null:_0x2fc185[_0x19e45a][_0x3ca07d(0xf2)],_0x13d595[_0x3ca07d(0x118)]=_0x3ca07d(0xdb)===_0x2fc185[_0x19e45a][_0x3ca07d(0xe2)],_0x13d595[_0x3ca07d(0xd7)]=_0x2fc185[_0x19e45a][_0x3ca07d(0xd7)],_0x13d595;});}[_0x2702c9(0x150)](){const _0x17d6a2=_0x2702c9;this[_0x17d6a2(0xae)]=!0x0,this[_0x17d6a2(0x14c)]()?this[_0x17d6a2(0xc5)]():this[_0x17d6a2(0xae)]=!0x1;}[_0x2702c9(0x14c)](){const _0x3cd80b=_0x2702c9,_0x2acff2=this[_0x3cd80b(0xef)][_0x3cd80b(0x97)][_0x3cd80b(0xbb)](_0x282bbe)[_0x3cd80b(0xeb)][_0x3cd80b(0xbb)](this[_0x3cd80b(0x82)]);return!this[_0x3cd80b(0xef)][_0x3cd80b(0x11e)]&&!!_0x2acff2&&_0x2acff2[_0x3cd80b(0xca)]>0x1&&this[_0x3cd80b(0xae)];}[_0x2702c9(0xdd)](){const _0x4006cb=_0x2702c9;return this[_0x4006cb(0x16d)][_0x4006cb(0xca)]>0x0||this[_0x4006cb(0x14c)]();}}class X extends Error{}function Y(_0x59b9c8,_0x2c9765){const _0x375f64=_0x2702c9;for(const _0x41cf1d of _0x59b9c8)_0x41cf1d[_0x375f64(0x93)]=_0x2c9765++;}class Z{[_0x2702c9(0x132)];[_0x2702c9(0xa5)];constructor(_0x3ea92e){const _0x216a81=_0x2702c9;this[_0x216a81(0x132)]=_0x3ea92e,this[_0x216a81(0xa5)]=new WeakMap();}[_0x2702c9(0x166)](_0x420e6b){const _0x26f4c4=_0x2702c9;let _0xb0cf77=_0x420e6b[_0x26f4c4(0xca)];for(;_0xb0cf77--;){const _0xfc7c6c=_0x420e6b[_0xb0cf77];if(!this[_0x26f4c4(0x132)][_0x26f4c4(0xc4)](_0xfc7c6c)){if(!this[_0x26f4c4(0xa5)][_0x26f4c4(0xc4)](_0xfc7c6c)){const _0xd7cfeb=_0x525b35()[_0x26f4c4(0x172)](0x1,0x12);this[_0x26f4c4(0xa5)][_0x26f4c4(0x74)](_0xfc7c6c,_0xd7cfeb);}return this[_0x26f4c4(0xa5)][_0x26f4c4(0xbb)](_0xfc7c6c);}}}[_0x2702c9(0x147)](_0x3f64e6,_0x1e4dcb){const _0x4841b1=_0x2702c9;if(!_0x1e4dcb)return;let _0x156ea7=_0x3f64e6[_0x4841b1(0xca)];for(;_0x156ea7--;){const _0x5d59db=_0x3f64e6[_0x156ea7];this[_0x4841b1(0x132)][_0x4841b1(0xc4)](_0x5d59db)||this[_0x4841b1(0xa5)][_0x4841b1(0x74)](_0x5d59db,_0x1e4dcb);}}}
|
|
23
|
+
const _0x4c40a1=_0x4bf7;(function(_0xaebadc,_0x35da7e){const _0x5def05=_0x4bf7,_0xc4fec0=_0xaebadc();while(!![]){try{const _0x249360=-parseInt(_0x5def05(0x21f))/0x1+-parseInt(_0x5def05(0x22c))/0x2*(parseInt(_0x5def05(0x261))/0x3)+parseInt(_0x5def05(0x262))/0x4*(parseInt(_0x5def05(0x235))/0x5)+-parseInt(_0x5def05(0x246))/0x6+parseInt(_0x5def05(0x1c6))/0x7*(-parseInt(_0x5def05(0x1af))/0x8)+-parseInt(_0x5def05(0x1ec))/0x9+-parseInt(_0x5def05(0x1c0))/0xa*(-parseInt(_0x5def05(0x1d4))/0xb);if(_0x249360===_0x35da7e)break;else _0xc4fec0['push'](_0xc4fec0['shift']());}catch(_0x574608){_0xc4fec0['push'](_0xc4fec0['shift']());}}}(_0x40c7,0x2a2b2));import{Plugin as _0x198b1f,PendingActions as _0x280cc7}from'ckeditor5/src/core.js';import{CKEditorError as _0x388a76,version as _0x5ac644,uid as _0x22e293}from'ckeditor5/src/utils.js';import{Notification as _0x10e696}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x393205,NoOperation as _0x13597e,InsertOperation as _0x3d0d9f,MarkerOperation as _0x37d428,RootAttributeOperation as _0x1444ec,OperationFactory as _0x4e780b,History as _0x2edf48}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x24223c}from'./websocketgateway.js';function _0x4bf7(_0x6042e9,_0x2413b2){const _0x40c760=_0x40c7();return _0x4bf7=function(_0x4bf722,_0x111978){_0x4bf722=_0x4bf722-0x173;let _0x1e080e=_0x40c760[_0x4bf722];return _0x1e080e;},_0x4bf7(_0x6042e9,_0x2413b2);}import{Sessions as _0x36cd66}from'./sessions.js';import{UserMarkers as _0x45a391}from'./usermarkers.js';import{getTranslation as _0x5175fb}from'../common-translations.js';function _0x40c7(){const _0x92028c=['_isConnected','fire','_knownOperations','_pendingAction','editing','createRange','_handleServerResponse','disableReadOnlyMode','createRoot','isUndoneOperation','addOperation','lastOperationAcceptedAt','createUserMarkerOperations','start','loadRoot','cloudDocumentVersion','10KfSGYD','size','realtimecollaborationclient-sendbufferedoperations','insert','getMany','batch','109956xgVDUT','Permissions','_lastServerVersion','_isAttached','_hasSynchronizationProblem','finally','addRootAttribute','parse','cloud-services-internal-error:\x20Request\x20timeout.','change:range','isOfficialPlugin','toJSON','includes','_compressOperations','6756706YKUkqL','realtimecollaborationclient-init-service-incorrect-server-operation','_channelId','cloudServices.bundleVersion','_currentBufferDelay','return','decompress','rootName','plugins','state','_ignoredOperations','keys','_authorId','multi-root-editor-root-attributes-no-root','$root','_fetchMissingUsers','_compressor','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_applyOperationsSet','lastDocumentSession','_isDisconnection','_knownRootNames','setPermissions','_connectAfterSessionHasBeenFlushed','1433331wxjQlq','404','view','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','define','add','isDocumentOperation','marker','map','409','_isLoaded','catch','locale','wasUndone','getOperations','_offset','_isPendingUpdate','startsWith','version','removeFromReconnectionStack','sendOperations','mySessionId','getOperationAuthor','config','isPremiumPlugin','PENDING_ACTION_SENDING_DATA','_sendBufferedOperationsDelayId','change:_isEditingAllowed','enqueueChange','isReadOnly','real-time-collaboration','_initSessionsHandling','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','model','isEnabled','_handleReceivedOperations','string','listenTo','then','clone','_handleSendingSelectionMarkers','reconnect','document','setIdForTheLastOperation','requires','selection','change:hasDomSelection','connect','destroy','attributes','lastSyncVersion','96981wuvvtB','createdAt','data','connected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_getOperationsFromInitData','root','Notification','init','_crash','_bufferRootLoad','_service','newRange','274WjADcT','history','Synchronization\x20issue','_setPendingAction','_isEditingAllowed','apply','_connectService','_shouldSendUpdate','permissions','2050aAMJrm','affectsData','createPositionAt','differ','realtimecollaborationclient-error','markers','baseVersion','_operationToId','path','ready','suppressErrorInCollaboration','slice','CommentsOnly','directChange','CollaborativeEditingService','addToReconnectionStack','pluginName','1007826FtCefr','cloud-services-internal-error:\x20Not\x20connected.','_hasSelectionChanged','applyOperation','sessionAdd:','filter','_lastSyncedOperationId','collaboration-missing-channelid','_addKnownRoot','realtimecollaborationclient','reconnection:\x20flushed\x20session','_sendBufferedOperations','_initThrowingOnDataSet','push','reset','_shouldSendSelectionUpdate','affectedSelectable','_updateServerHistory','forEach','type','_decompressOperations','addRoot','_setUpDataInit','end','_waitUntilSynced','metadata','rtc-destroyed','4761eRlyaY','2412Tvupze','offset','realtimecollaborationclient-init-connection-failed','targetPosition','_handleReconnectionResponse','channelSessions','InsertOperation','_getAffectedRoot','RealTimeCollaborationClient','createPositionFromPath','_handleReconnectionError','document:write','stop','_loadRoot','getIdOfTheLastOperation','stopListening','_disconnectService','round','_baseBufferDelay','disconnected','realtimecollaborationclient-init-session-connection-error','rootsAttributes','getConnectedSessions','sessionCreatedAt','enableReadOnlyMode','from','_sendBufferedOperationsDelayed','error','showWarning','editor','userId','lastOperationId','entries','message','serverHistory','register','collaboration.channelId','realtimecollaborationclient-handleserverresponse','has','code','disconnect','get','high','_handleExternalOperations','connection','compress','_handleInitialConnectionData','roots','cs:removeUser','realtimecollaborationclient-init-document-already-initialized','_operationIdentifier','sessionId','realtimecollaborationclient-init-non-existent-root','_disconnectionOperations','position','_bufferedOperations','length','unregister','fromJSON','initData','addUser','getUser','realtimecollaborationclient-init-service-internal-error','operationsReceived','remove','currentDocumentSession','change:_isPendingUpdate','_clearPendingAction','set','_refreshUserSelectionMarkers','wereChangesApplied','getRoot','move','_saveOperationInBuffer','bind','getDocumentDetails','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.','off','_isInit','_document','rtc-offline','__className','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.','collaboration','24YYpVhM'];_0x40c7=function(){return _0x92028c;};return _0x40c7();}import{Compressor as _0x2b9086}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x579fe2}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x10a814,CollaborativeEditingService as _0x56ce84}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;export class RealTimeCollaborationClient extends _0x198b1f{static [_0x4c40a1(0x243)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x56ce84)());[_0x4c40a1(0x1fb)];[_0x4c40a1(0x18e)];[_0x4c40a1(0x17d)];[_0x4c40a1(0x1d6)];[_0x4c40a1(0x22a)];[_0x4c40a1(0x1aa)];[_0x4c40a1(0x1e4)];[_0x4c40a1(0x192)];[_0x4c40a1(0x1b2)];[_0x4c40a1(0x1e9)];[_0x4c40a1(0x1b3)];[_0x4c40a1(0x248)];[_0x4c40a1(0x206)];[_0x4c40a1(0x274)];[_0x4c40a1(0x1d8)];[_0x4c40a1(0x24c)];[_0x4c40a1(0x190)];[_0x4c40a1(0x18d)];static get[_0x4c40a1(0x218)](){return[_0x24223c,_0x36cd66,_0x45a391,_0x280cc7,_0x579fe2,_0x10e696];}static get[_0x4c40a1(0x245)](){const _0x3ff39a=_0x4c40a1;return _0x3ff39a(0x26a);}static get[_0x4c40a1(0x1d0)](){return!0x0;}static get[_0x4c40a1(0x204)](){return!0x0;}get[_0x4c40a1(0x1bf)](){const _0x35c458=_0x4c40a1;return this[_0x35c458(0x1c8)]+this[_0x35c458(0x1fb)];}get[_0x4c40a1(0x1c8)](){const _0x3d675=_0x4c40a1;return this[_0x3d675(0x17d)][_0x3d675(0x1fe)]-this[_0x3d675(0x1fb)];}get[_0x4c40a1(0x21e)](){const _0x94933e=_0x4c40a1,_0x3f2952=this[_0x94933e(0x17d)][_0x94933e(0x1fa)]();for(let _0x367d98=_0x3f2952[_0x94933e(0x193)]-0x1;_0x367d98>=0x0;_0x367d98--){const _0x371239=_0x3f2952[_0x367d98];if(!this[_0x94933e(0x190)][_0x94933e(0x181)](_0x371239))return _0x371239[_0x94933e(0x23b)]+0x1-this[_0x94933e(0x1fb)];}return 0x0;}constructor(_0x476d6e){const _0x140739=_0x4c40a1;if(super(_0x476d6e),this[_0x140739(0x1fb)]=0x0,this[_0x140739(0x18e)]=null,this[_0x140739(0x17d)]=new _0x2edf48(),this[_0x140739(0x178)][_0x140739(0x203)][_0x140739(0x1f0)](_0x140739(0x1ae),{}),this[_0x140739(0x1d6)]=this[_0x140739(0x178)][_0x140739(0x203)][_0x140739(0x184)](_0x140739(0x17f)),!this[_0x140739(0x1d6)])throw new _0x388a76(_0x140739(0x24d),this);const _0x3c3e5b=_0x476d6e[_0x140739(0x203)][_0x140739(0x184)](_0x140739(0x1d7))||_0x5ac644;this[_0x140739(0x22a)]=new RealTimeCollaborationClient[(_0x140739(0x243))](_0x3c3e5b,this[_0x140739(0x1d6)]),this[_0x140739(0x1aa)]=this[_0x140739(0x178)][_0x140739(0x20d)][_0x140739(0x216)],this[_0x140739(0x1e4)]=new _0x2b9086(),this[_0x140739(0x192)]=[],this[_0x140739(0x1b2)]=new WeakSet(),this[_0x140739(0x1e9)]=new Set(),this[_0x140739(0x19f)](_0x140739(0x1fc),!0x1),this[_0x140739(0x19f)](_0x140739(0x1ca),!0x1),this[_0x140739(0x1b3)]=null,this[_0x140739(0x248)]=!0x1,this[_0x140739(0x206)]=null,this[_0x140739(0x274)]=0x12c,this[_0x140739(0x1d8)]=this[_0x140739(0x274)],this[_0x140739(0x24c)]=null,this[_0x140739(0x190)]=new WeakSet(),this[_0x140739(0x18d)]=new tt(this[_0x140739(0x190)]);}[_0x4c40a1(0x227)](){const _0x367da6=_0x4c40a1,_0xfc9250=this[_0x367da6(0x178)],_0xb2b789=_0xfc9250[_0x367da6(0x1dc)][_0x367da6(0x184)](_0x579fe2),_0x103c90=_0xfc9250[_0x367da6(0x1dc)][_0x367da6(0x184)](_0x24223c);this[_0x367da6(0x211)](_0xb2b789,_0x367da6(0x202),(_0x2f394d,_0x584aaa)=>{const _0x56559e=_0x367da6,_0x25bb46=_0x584aaa[0x0];_0x25bb46[_0x56559e(0x1e0)]&&(_0x2f394d[_0x56559e(0x1d9)]=_0xb2b789[_0x56559e(0x198)](_0x25bb46[_0x56559e(0x1e0)]),_0x2f394d[_0x56559e(0x26e)]()),null===_0x25bb46[_0x56559e(0x1e0)]&&(_0x2f394d[_0x56559e(0x1d9)]=null,_0x2f394d[_0x56559e(0x26e)]());},{'priority':_0x367da6(0x185)}),this[_0x367da6(0x211)](_0xfc9250[_0x367da6(0x20d)][_0x367da6(0x216)][_0x367da6(0x219)],_0x367da6(0x1cf),(_0x102404,_0x554153)=>{const _0x4f41a6=_0x367da6;_0x554153[_0x4f41a6(0x242)]&&this[_0x4f41a6(0x1a0)]();}),this[_0x367da6(0x211)](_0xfc9250[_0x367da6(0x1b4)][_0x367da6(0x1ee)],_0x367da6(0x21a),()=>{const _0x35c654=_0x367da6;this[_0x35c654(0x1a0)]();}),this[_0x367da6(0x252)](),_0xfc9250[_0x367da6(0x20d)]['on'](_0x367da6(0x249),(_0x55183e,_0x20ee4f)=>{const _0x6090c7=_0x367da6,_0x202e08=_0x20ee4f[0x0];_0x202e08[_0x6090c7(0x1f2)]&&(this[_0x6090c7(0x1a4)](_0x202e08),this[_0x6090c7(0x233)]()&&this[_0x6090c7(0x175)]());}),this[_0x367da6(0x25c)](),this[_0x367da6(0x1a5)](_0x367da6(0x230))['to'](_0x103c90,_0x367da6(0x1dd),this,_0x367da6(0x1ca),(_0x3f1259,_0xb75d69)=>_0x367da6(0x222)===_0x3f1259&&!_0xb75d69),this['on'](_0x367da6(0x207),()=>{const _0x4747a7=_0x367da6;this[_0x4747a7(0x230)]?_0xfc9250[_0x4747a7(0x1b7)](_0x4747a7(0x1ab)):_0xfc9250[_0x4747a7(0x173)](_0x4747a7(0x1ab));}),this[_0x367da6(0x230)]?_0xfc9250[_0x367da6(0x1b7)](_0x367da6(0x1ab)):_0xfc9250[_0x367da6(0x173)](_0x367da6(0x1ab)),this[_0x367da6(0x19f)](_0x367da6(0x1b0),!0x1);}async[_0x4c40a1(0x215)](){const _0x486dac=_0x4c40a1,_0x57118c=this[_0x486dac(0x178)][_0x486dac(0x1dc)][_0x486dac(0x184)](_0x36cd66),_0x182b8b=this[_0x486dac(0x178)][_0x486dac(0x1dc)][_0x486dac(0x184)](_0x24223c);try{this[_0x486dac(0x1fc)]=!0x0,_0x57118c[_0x486dac(0x194)](this[_0x486dac(0x1d6)]);const _0x530687=await this[_0x486dac(0x22a)][_0x486dac(0x215)](_0x182b8b[_0x486dac(0x187)],this[_0x486dac(0x21e)]);await this[_0x486dac(0x266)](_0x530687)&&(this[_0x486dac(0x1fc)]=!0x1,this[_0x486dac(0x19e)]());const _0x32921a=await this[_0x486dac(0x22a)][_0x486dac(0x278)]();_0x57118c[_0x486dac(0x17e)](this[_0x486dac(0x1d6)],_0x32921a),this[_0x486dac(0x214)](),this[_0x486dac(0x1b0)]=!0x0;}catch(_0x5b46d8){if(function(_0x3a6f51){const _0x29229b=_0x486dac;return _0x29229b(0x1ed)===_0x3a6f51[_0x29229b(0x182)];}(_0x5b46d8)&&this[_0x486dac(0x18e)])await this[_0x486dac(0x1eb)]();else{if(function(_0x21eb3e){const _0xc048b9=_0x486dac;return _0xc048b9(0x1f5)===_0x21eb3e[_0xc048b9(0x182)];}(_0x5b46d8)){const _0x2f2250=_0x5175fb(this[_0x486dac(0x178)][_0x486dac(0x1f8)],_0x486dac(0x1e5));this[_0x486dac(0x26c)](_0x2f2250);}else{if(!(_0x5b46d8 instanceof Y))throw _0x5b46d8;this[_0x486dac(0x26c)]();}}}}[_0x4c40a1(0x21c)](){const _0x33fc6e=_0x4c40a1,_0x23abb1=this[_0x33fc6e(0x178)][_0x33fc6e(0x1dc)][_0x33fc6e(0x184)](_0x24223c),_0x5415d2=this[_0x33fc6e(0x178)][_0x33fc6e(0x1dc)][_0x33fc6e(0x184)](_0x36cd66);this[_0x33fc6e(0x178)][_0x33fc6e(0x173)](_0x33fc6e(0x260)),_0x5415d2[_0x33fc6e(0x267)][_0x33fc6e(0x181)](this[_0x33fc6e(0x1d6)])&&_0x5415d2[_0x33fc6e(0x194)](this[_0x33fc6e(0x1d6)]),_0x23abb1[_0x33fc6e(0x1ff)](this),this[_0x33fc6e(0x272)](),super[_0x33fc6e(0x21c)]();}async[_0x4c40a1(0x266)](_0x4338f2){const _0x43ebf6=_0x4c40a1;if(this[_0x43ebf6(0x18e)]!==_0x4338f2[_0x43ebf6(0x18e)]&&this[_0x43ebf6(0x24c)]!==_0x4338f2[_0x43ebf6(0x17a)])throw new Y();return this[_0x43ebf6(0x18e)]=_0x4338f2[_0x43ebf6(0x18e)],this[_0x43ebf6(0x1b6)]([],{..._0x4338f2,'wereChangesApplied':!0x1,'data':_0x4338f2[_0x43ebf6(0x221)]},_0x43ebf6(0x215));}async[_0x4c40a1(0x232)](_0x3cb421,_0xc60dcd=!0x1){const _0x1b9ab7=_0x4c40a1,{connection:_0x44778b}=this[_0x1b9ab7(0x178)][_0x1b9ab7(0x1dc)][_0x1b9ab7(0x184)](_0x24223c);RealTimeCollaborationClient[_0x1b9ab7(0x243)][_0x1b9ab7(0x278)](_0x44778b,this[_0x1b9ab7(0x1d6)])[_0x1b9ab7(0x212)](_0x1d9f91=>this[_0x1b9ab7(0x20b)](_0x1d9f91))[_0x1b9ab7(0x1f7)](_0x28000c=>{const _0x320e51=_0x1b9ab7;this[_0x320e51(0x228)](_0x320e51(0x276),_0x28000c);}),this[_0x1b9ab7(0x211)](this[_0x1b9ab7(0x22a)],_0x1b9ab7(0x19a),this[_0x1b9ab7(0x20f)][_0x1b9ab7(0x1a5)](this)),this[_0x1b9ab7(0x211)](this[_0x1b9ab7(0x22a)],_0x1b9ab7(0x176),(_0x3adc74,_0x5328e6)=>{const _0x42a261=_0x1b9ab7;this[_0x42a261(0x228)](_0x42a261(0x199),_0x5328e6);}),this[_0x1b9ab7(0x211)](this[_0x1b9ab7(0x22a)],_0x1b9ab7(0x275),()=>{const _0x12cc3a=_0x1b9ab7;this[_0x12cc3a(0x1b0)]=!0x1;});const _0x2b06fe=this[_0x1b9ab7(0x18d)][_0x1b9ab7(0x270)](_0x3cb421);this[_0x1b9ab7(0x1fc)]=!0x0;const _0x58b7ef=await this[_0x1b9ab7(0x22a)][_0x1b9ab7(0x21b)](_0x44778b,this[_0x1b9ab7(0x1d3)](_0x3cb421),_0x2b06fe);if(this[_0x1b9ab7(0x18e)]=_0x58b7ef[_0x1b9ab7(0x18e)],_0xc60dcd){if(!_0x58b7ef[_0x1b9ab7(0x1a1)])return void this[_0x1b9ab7(0x26c)]();this[_0x1b9ab7(0x1fc)]=!0x1,this[_0x1b9ab7(0x19e)](),this[_0x1b9ab7(0x17d)][_0x1b9ab7(0x254)](),this[_0x1b9ab7(0x1fb)]=_0x58b7ef[_0x1b9ab7(0x263)],this[_0x1b9ab7(0x17d)][_0x1b9ab7(0x1fe)]=this[_0x1b9ab7(0x1fb)],await this[_0x1b9ab7(0x1b6)](_0x3cb421,_0x58b7ef,_0x1b9ab7(0x250));}else await this[_0x1b9ab7(0x189)](_0x58b7ef,_0x3cb421);this[_0x1b9ab7(0x214)](),this[_0x1b9ab7(0x1b0)]=!0x0;}[_0x4c40a1(0x214)](){const _0x40f402=_0x4c40a1,_0x7cafca=this[_0x40f402(0x178)][_0x40f402(0x1dc)][_0x40f402(0x184)](_0x36cd66),_0x33cb99=this[_0x40f402(0x178)][_0x40f402(0x1dc)][_0x40f402(0x184)](_0x45a391),_0x598013=_0x7cafca[_0x40f402(0x267)][_0x40f402(0x184)](this[_0x40f402(0x1d6)]);_0x598013&&_0x598013[_0x40f402(0x193)]>0x1?_0x33cb99[_0x40f402(0x1bc)]():this[_0x40f402(0x211)](_0x7cafca,_0x40f402(0x24a)+this[_0x40f402(0x1d6)],()=>{const _0x28b05f=_0x40f402;0x2===_0x7cafca[_0x28b05f(0x267)][_0x28b05f(0x184)](this[_0x28b05f(0x1d6)])[_0x28b05f(0x193)]&&_0x33cb99[_0x28b05f(0x1bc)]();});}async[_0x4c40a1(0x20f)](_0x26675d,_0x82a9ac,_0x1d6a35,_0x5058ef){const _0x249a6c=_0x4c40a1;if(!this[_0x249a6c(0x1fc)]&&this[_0x249a6c(0x1aa)][_0x249a6c(0x1fe)]==_0x82a9ac){const _0x1ab492=this[_0x249a6c(0x25a)](_0x1d6a35,_0x5058ef);await this[_0x249a6c(0x1e3)](_0x1ab492),this[_0x249a6c(0x186)](_0x1ab492,_0x82a9ac,_0x1d6a35[_0x249a6c(0x17a)])||this[_0x249a6c(0x228)](_0x249a6c(0x1d5));}}async[_0x4c40a1(0x1eb)](){const _0x4ac829=_0x4c40a1;this[_0x4ac829(0x272)]();const {locale:_0x3125a3}=this[_0x4ac829(0x178)];let _0x39e2c5;try{_0x39e2c5=await this[_0x4ac829(0x22a)][_0x4ac829(0x1a6)]();}catch{const _0x5c852d=_0x5175fb(_0x3125a3,_0x4ac829(0x1ef));return void this[_0x4ac829(0x26c)](_0x5c852d);}const _0x4fc1ba=_0x39e2c5[_0x4ac829(0x19c)]||_0x39e2c5[_0x4ac829(0x1e7)];if(this[_0x4ac829(0x24c)]!==_0x4fc1ba[_0x4ac829(0x17a)]){const _0x24d5f7=_0x5175fb(_0x3125a3,_0x4ac829(0x1a7));return void this[_0x4ac829(0x26c)](_0x24d5f7);}await this[_0x4ac829(0x232)](this[_0x4ac829(0x178)][_0x4ac829(0x20d)][_0x4ac829(0x216)][_0x4ac829(0x22d)][_0x4ac829(0x1fa)](),!0x0);}[_0x4c40a1(0x272)](){const _0x210c06=_0x4c40a1;this[_0x210c06(0x22a)][_0x210c06(0x183)](),this[_0x210c06(0x192)]=[],clearTimeout(this[_0x210c06(0x206)]),this[_0x210c06(0x271)](this[_0x210c06(0x22a)]);}[_0x4c40a1(0x20b)](_0x1e86de){const _0x2c2ede=_0x4c40a1,_0x2fb50a=this[_0x2c2ede(0x178)][_0x2c2ede(0x1dc)][_0x2c2ede(0x184)](_0x36cd66);this[_0x2c2ede(0x211)](_0x2fb50a,_0x2c2ede(0x24a)+this[_0x2c2ede(0x1d6)],(_0x21cdd4,{session:_0xc010c8})=>{const _0x1e5693=_0x2c2ede;if(_0xc010c8['id']===_0x2fb50a[_0x1e5693(0x201)]){_0x21cdd4[_0x1e5693(0x1a8)]();const _0x107973=this[_0x1e5693(0x178)][_0x1e5693(0x1dc)][_0x1e5693(0x181)](_0x1e5693(0x241))&&this[_0x1e5693(0x178)][_0x1e5693(0x1dc)][_0x1e5693(0x184)](_0x1e5693(0x241));let _0xd1127b=_0xc010c8[_0x1e5693(0x234)];_0x107973&&_0x107973[_0x1e5693(0x20e)]&&(_0xd1127b=_0xd1127b[_0x1e5693(0x24b)](_0xd83dd8=>_0x1e5693(0x26d)!==_0xd83dd8)),this[_0x1e5693(0x178)][_0x1e5693(0x1dc)][_0x1e5693(0x184)](_0x1e5693(0x1c7))[_0x1e5693(0x1ea)](_0xd1127b,this[_0x1e5693(0x1d6)]);}}),_0x2fb50a[_0x2c2ede(0x17e)](this[_0x2c2ede(0x1d6)],_0x1e86de);}[_0x4c40a1(0x252)](){const _0x6e0f9f=_0x4c40a1,_0x5c36cc=this[_0x6e0f9f(0x178)][_0x6e0f9f(0x221)][_0x6e0f9f(0x19f)];this[_0x6e0f9f(0x178)][_0x6e0f9f(0x221)][_0x6e0f9f(0x19f)]=(..._0x5074e5)=>{const _0x448d69=_0x6e0f9f;if(!_0x5074e5[_0x5074e5[_0x448d69(0x193)]-0x1][_0x448d69(0x23f)])throw new _0x388a76(_0x448d69(0x20c),this);_0x5c36cc[_0x448d69(0x231)](this[_0x448d69(0x178)][_0x448d69(0x221)],_0x5074e5);};}[_0x4c40a1(0x25c)](){const _0x37db42=_0x4c40a1;this[_0x37db42(0x178)][_0x37db42(0x221)]['on'](_0x37db42(0x227),(_0x32e7fe,[_0x301121])=>{const _0x5a0b5f=_0x37db42;if(this[_0x5a0b5f(0x1aa)][_0x5a0b5f(0x1fe)])throw new _0x388a76(_0x5a0b5f(0x18c),this);_0x32e7fe[_0x5a0b5f(0x26e)](),this[_0x5a0b5f(0x22f)]();const _0xd1d397=this[_0x5a0b5f(0x178)][_0x5a0b5f(0x203)][_0x5a0b5f(0x184)](_0x5a0b5f(0x277)),_0x463d98=this[_0x5a0b5f(0x224)](_0x301121,_0xd1d397);0x0==_0x463d98[_0x5a0b5f(0x193)]&&_0x463d98[_0x5a0b5f(0x253)](new _0x13597e(0x0)),_0x32e7fe[_0x5a0b5f(0x1d9)]=this[_0x5a0b5f(0x232)](_0x463d98)[_0x5a0b5f(0x212)](()=>{const _0x3eed1d=_0x5a0b5f;this[_0x3eed1d(0x178)][_0x3eed1d(0x1dc)][_0x3eed1d(0x184)](_0x24223c)[_0x3eed1d(0x244)](this),this[_0x3eed1d(0x178)][_0x3eed1d(0x221)][_0x3eed1d(0x1b1)](_0x3eed1d(0x23e));})[_0x5a0b5f(0x1f7)](_0x2e4c9b=>this[_0x5a0b5f(0x228)](_0x5a0b5f(0x264),_0x2e4c9b))[_0x5a0b5f(0x1cb)](()=>this[_0x5a0b5f(0x19e)]());},{'priority':_0x37db42(0x185)}),this[_0x37db42(0x178)]['on'](_0x37db42(0x1be),async(_0x11f069,[_0x1ed813,_0x54b236])=>{const _0x4b8acc=_0x37db42;_0x11f069[_0x4b8acc(0x26e)]();const _0x17271c=this[_0x4b8acc(0x178)][_0x4b8acc(0x20d)][_0x4b8acc(0x216)][_0x4b8acc(0x1a2)](_0x1ed813);if(!this[_0x4b8acc(0x1e9)][_0x4b8acc(0x181)](_0x1ed813)){const _0x26ee80=_0x54b236&&_0x54b236[_0x4b8acc(0x221)]?_0x54b236[_0x4b8acc(0x221)]:'',_0x3565ea=_0x54b236&&_0x54b236[_0x4b8acc(0x21d)]?_0x54b236[_0x4b8acc(0x21d)]:{};await this[_0x4b8acc(0x26f)](_0x1ed813,_0x26ee80,_0x3565ea);}this[_0x4b8acc(0x178)][_0x4b8acc(0x20d)][_0x4b8acc(0x208)]({'isUndoable':!0x1},()=>{const _0x27343f=_0x4b8acc;_0x17271c[_0x27343f(0x1f6)]=!0x0,this[_0x27343f(0x178)][_0x27343f(0x20d)][_0x27343f(0x216)][_0x27343f(0x238)][_0x27343f(0x229)](_0x17271c);});},{'priority':_0x37db42(0x185)});}async[_0x4c40a1(0x1e3)](_0x11080f){const _0x288e28=_0x4c40a1,_0x557c1b=this[_0x288e28(0x178)][_0x288e28(0x1dc)][_0x288e28(0x184)](_0x579fe2),{connection:_0x604c1b}=this[_0x288e28(0x178)][_0x288e28(0x1dc)][_0x288e28(0x184)](_0x24223c),_0x50c5a3=new Set();for(const _0x3d4358 of _0x11080f){const _0x5a9216=_0x3d4358[_0x288e28(0x1e0)];_0x5a9216&&!_0x557c1b[_0x288e28(0x198)](_0x5a9216)&&_0x50c5a3[_0x288e28(0x1f1)](_0x5a9216);}if(0x0===_0x50c5a3[_0x288e28(0x1c1)])return;const _0x5e877b=await _0x10a814[_0x288e28(0x1c4)](_0x604c1b,Array[_0x288e28(0x174)](_0x50c5a3));for(const _0x3f2140 of _0x5e877b)_0x557c1b[_0x288e28(0x198)](_0x3f2140['id'])||_0x557c1b[_0x288e28(0x197)](_0x3f2140);}[_0x4c40a1(0x224)](_0x4602a0,_0x424092={}){const _0x52ea89=_0x4c40a1,_0x58cdd0=this[_0x52ea89(0x178)][_0x52ea89(0x20d)],_0x3b2620=[];let _0x26cf3a=0x0;const _0x5b25ac=_0x52ea89(0x210)==typeof _0x4602a0?{'main':_0x4602a0}:_0x4602a0;for(const _0x665ecd of Object[_0x52ea89(0x1df)](_0x5b25ac)){if(!this[_0x52ea89(0x1aa)][_0x52ea89(0x18a)][_0x52ea89(0x181)](_0x665ecd))throw new _0x388a76(_0x52ea89(0x18f),this);const _0x8a43fe=this[_0x52ea89(0x178)][_0x52ea89(0x221)][_0x52ea89(0x1cd)](_0x5b25ac[_0x665ecd]),_0x386305=this[_0x52ea89(0x1aa)][_0x52ea89(0x1a2)](_0x665ecd),_0x144d7c=new _0x3d0d9f(_0x58cdd0[_0x52ea89(0x237)](_0x386305,0x0),_0x8a43fe,_0x26cf3a++);_0x3b2620[_0x52ea89(0x253)](_0x144d7c);for(const [_0x53fc72,_0x61f556]of _0x8a43fe[_0x52ea89(0x23a)]){const _0x10d019=_0x58cdd0[_0x52ea89(0x1b5)](_0x58cdd0[_0x52ea89(0x26b)](_0x386305,_0x61f556[_0x52ea89(0x1bd)][_0x52ea89(0x23d)][_0x52ea89(0x240)]()),_0x58cdd0[_0x52ea89(0x26b)](_0x386305,_0x61f556[_0x52ea89(0x25d)][_0x52ea89(0x23d)][_0x52ea89(0x240)]())),_0x59c103=new _0x37d428(_0x53fc72,null,_0x10d019,_0x58cdd0[_0x52ea89(0x23a)],!0x0,_0x26cf3a++);_0x3b2620[_0x52ea89(0x253)](_0x59c103);}}if(_0x424092)for(const [_0x1a8000,_0x307c46]of Object[_0x52ea89(0x17b)](_0x424092)){const _0xf81c5b=_0x58cdd0[_0x52ea89(0x216)][_0x52ea89(0x1a2)](_0x1a8000);if(!_0xf81c5b)throw new _0x388a76(_0x52ea89(0x1e1),null);for(const [_0x32911f,_0x320e1a]of Object[_0x52ea89(0x17b)](_0x307c46))if(null!==_0x320e1a){const _0x168549=new _0x1444ec(_0xf81c5b,_0x32911f,null,_0x320e1a,_0x26cf3a++);_0x3b2620[_0x52ea89(0x253)](_0x168549);}}return _0x3b2620;}async[_0x4c40a1(0x26f)](_0x1f3547,_0x3d04af,_0x189848){const _0xaf89a=_0x4c40a1;this[_0xaf89a(0x224)]({[_0x1f3547]:_0x3d04af},{[_0x1f3547]:_0x189848})[_0xaf89a(0x258)]((_0x529f75,_0xe824d9)=>{const _0x587ae3=_0xaf89a;_0x529f75[_0x587ae3(0x23b)]=this[_0x587ae3(0x1aa)][_0x587ae3(0x1fe)]+_0xe824d9,_0x529f75[_0x587ae3(0x1a9)]=!0x0,this[_0x587ae3(0x1a4)](_0x529f75);}),this[_0xaf89a(0x175)](),await this[_0xaf89a(0x25e)]();}async[_0x4c40a1(0x189)](_0x1041cc,_0x24e4dc){const _0x312db2=_0x4c40a1;let _0x52e764;this[_0x312db2(0x1fb)]=_0x1041cc[_0x312db2(0x263)];const _0x450753=_0x1041cc[_0x312db2(0x1a1)]&&!_0x1041cc[_0x312db2(0x196)],_0x196124=_0x450753?0x0:_0x1041cc[_0x312db2(0x221)][_0x312db2(0x23b)];if(_0x24e4dc[_0x312db2(0x258)](_0x53dff1=>{const _0x31fa41=_0x312db2;_0x53dff1[_0x31fa41(0x1a9)]=!0x0,_0x53dff1[_0x31fa41(0x220)]=_0x1041cc[_0x31fa41(0x279)],_0x53dff1[_0x31fa41(0x1e0)]=null;}),_0x450753)_0x52e764=_0x24e4dc,this[_0x312db2(0x1e6)](_0x52e764,_0x450753);else{if(_0x1041cc[_0x312db2(0x196)]){const _0x54ced7=this[_0x312db2(0x224)](_0x1041cc[_0x312db2(0x196)]);this[_0x312db2(0x1aa)][_0x312db2(0x22d)][_0x312db2(0x1fe)]=-_0x54ced7[_0x312db2(0x193)],_0x54ced7[_0x312db2(0x258)](_0x259aa0=>{const _0xa181d2=_0x312db2;_0x259aa0[_0xa181d2(0x23b)]-=_0x54ced7[_0xa181d2(0x193)],_0x259aa0[_0xa181d2(0x220)]=_0x1041cc[_0xa181d2(0x279)],_0x259aa0[_0xa181d2(0x1a9)]=!0x0,_0x259aa0[_0xa181d2(0x1e0)]=null;}),this[_0x312db2(0x1e6)](_0x54ced7,!0x0),this[_0x312db2(0x17d)][_0x312db2(0x1fe)]=-_0x54ced7[_0x312db2(0x193)]+this[_0x312db2(0x1fb)],this[_0x312db2(0x257)](_0x54ced7);}this[_0x312db2(0x1aa)][_0x312db2(0x22d)][_0x312db2(0x1fe)]=_0x196124,_0x52e764=this[_0x312db2(0x25a)](_0x1041cc[_0x312db2(0x221)],_0x1041cc[_0x312db2(0x25f)]),await this[_0x312db2(0x1e3)](_0x52e764),this[_0x312db2(0x1e6)](_0x52e764,_0x450753);}_0x1041cc[_0x312db2(0x17a)]&&(this[_0x312db2(0x18d)][_0x312db2(0x217)](_0x52e764,_0x1041cc[_0x312db2(0x17a)]),this[_0x312db2(0x24c)]=_0x1041cc[_0x312db2(0x17a)]),this[_0x312db2(0x17d)][_0x312db2(0x1fe)]=_0x196124+this[_0x312db2(0x1fb)],this[_0x312db2(0x257)](_0x52e764),_0x24e4dc[_0x312db2(0x24b)](_0x10e81f=>{const _0x45d76a=_0x312db2,_0x2080b1=this[_0x45d76a(0x269)](_0x10e81f);return _0x2080b1&&!this[_0x45d76a(0x1e9)][_0x45d76a(0x181)](_0x2080b1);})[_0x312db2(0x258)]((_0x3340d1,_0x16a801)=>{const _0x9892bf=_0x312db2;_0x3340d1[_0x9892bf(0x23b)]=this[_0x9892bf(0x1aa)][_0x9892bf(0x1fe)]+_0x16a801,this[_0x9892bf(0x1a4)](_0x3340d1);}),this[_0x312db2(0x233)]()?(this[_0x312db2(0x1d8)]=0x0,this[_0x312db2(0x175)](!0x0),await this[_0x312db2(0x25e)]()):(this[_0x312db2(0x1fc)]=!0x1,this[_0x312db2(0x19e)]());}[_0x4c40a1(0x228)](_0x9e66f1,_0x2b6c32){const _0xdaad90=_0x4c40a1,_0x1d79cf=_0x2b6c32&&_0x2b6c32[_0xdaad90(0x17c)];if(_0x1d79cf&&_0x1d79cf[_0xdaad90(0x1fd)](_0xdaad90(0x24f)))throw _0x2b6c32;const _0xe7af84=this[_0xdaad90(0x178)][_0xdaad90(0x1dc)][_0xdaad90(0x184)](_0x24223c);throw this[_0xdaad90(0x1fc)]=!0x0,_0xe7af84[_0xdaad90(0x183)](),this[_0xdaad90(0x178)][_0xdaad90(0x173)](_0xdaad90(0x239)),new _0x388a76(_0x9e66f1,this[_0xdaad90(0x178)],_0x1d79cf?{'originalError':_0x1d79cf}:void 0x0);}[_0x4c40a1(0x1a4)](_0x7cd8bc){const _0xa0ed07=_0x4c40a1;this[_0xa0ed07(0x1b2)][_0xa0ed07(0x181)](_0x7cd8bc)||(this[_0xa0ed07(0x1b2)][_0xa0ed07(0x1f1)](_0x7cd8bc),this[_0xa0ed07(0x192)][_0xa0ed07(0x253)](_0x7cd8bc),this[_0xa0ed07(0x1b3)]||_0xa0ed07(0x1f3)==_0x7cd8bc[_0xa0ed07(0x259)]&&!_0x7cd8bc[_0xa0ed07(0x236)]||this[_0xa0ed07(0x22f)]());}[_0x4c40a1(0x175)](_0x4e7a0d=!0x1){const _0x307dcc=_0x4c40a1;!_0x4e7a0d&&this[_0x307dcc(0x1fc)]||(this[_0x307dcc(0x1fc)]=!0x0,clearTimeout(this[_0x307dcc(0x206)]),this[_0x307dcc(0x206)]=setTimeout(()=>{const _0x5e7652=_0x307dcc;this[_0x5e7652(0x251)]()[_0x5e7652(0x212)](_0x340740=>{const _0xdeaa97=_0x5e7652;_0x340740&&(this[_0xdeaa97(0x19e)](),this[_0xdeaa97(0x1fc)]=!0x1);})[_0x5e7652(0x1f7)](_0x3aab77=>{const _0x3f1509=_0x5e7652;this[_0x3f1509(0x19e)](),this[_0x3f1509(0x1fc)]=!0x1,function(_0x332c7e){const _0x378935=_0x3f1509;return _0x332c7e[_0x378935(0x17c)][_0x378935(0x1fd)](_0x378935(0x247))||_0x332c7e[_0x378935(0x17c)][_0x378935(0x1fd)](_0x378935(0x223))||_0x332c7e[_0x378935(0x17c)][_0x378935(0x1fd)](_0x378935(0x1ce));}(_0x3aab77)||this[_0x3f1509(0x228)](_0x3aab77[_0x3f1509(0x17c)],_0x3aab77);});},this[_0x307dcc(0x1d8)]));}[_0x4c40a1(0x25e)](){return new Promise(_0xf1b9b8=>{const _0x1cc478=_0x4bf7;this['on'](_0x1cc478(0x19d),()=>{_0xf1b9b8();});});}async[_0x4c40a1(0x251)](){const _0x117845=_0x4c40a1,_0x15b6d6=this[_0x117845(0x178)][_0x117845(0x1dc)][_0x117845(0x184)](_0x45a391);if(this[_0x117845(0x255)]()&&(_0x15b6d6[_0x117845(0x1bc)](),this[_0x117845(0x248)]=!0x1),!this[_0x117845(0x233)]())return!0x0;const _0x45747e=[...this[_0x117845(0x192)]];for(const _0x1fed9a of _0x45747e)_0x1fed9a[_0x117845(0x1f9)]=this[_0x117845(0x1aa)][_0x117845(0x22d)][_0x117845(0x1b9)](_0x1fed9a);const _0x112f9e=this[_0x117845(0x18d)][_0x117845(0x270)](_0x45747e),_0x5c1dea=X++,_0xed0bdf=this[_0x117845(0x1d3)](_0x45747e),_0x14e4b0=await this[_0x117845(0x22a)][_0x117845(0x200)](_0xed0bdf,_0xed0bdf[_0x117845(0x23b)],_0x112f9e);try{return await this[_0x117845(0x1b6)](_0x45747e,_0x14e4b0,_0x5c1dea);}catch(_0x5c822f){return this[_0x117845(0x228)](_0x117845(0x1c2),_0x5c822f);}}async[_0x4c40a1(0x1b6)](_0x131789,_0x2f3baf,_0x3b7ca1){const _0x19623f=_0x4c40a1;if(_0x19623f(0x176)in _0x2f3baf)throw _0x2f3baf[_0x19623f(0x176)];let _0x3a2657=!0x1;if(_0x2f3baf[_0x19623f(0x1a1)]){_0x2f3baf[_0x19623f(0x17a)]&&(this[_0x19623f(0x24c)]=_0x2f3baf[_0x19623f(0x17a)]),this[_0x19623f(0x192)]=this[_0x19623f(0x192)][_0x19623f(0x24b)](_0x10bd6c=>!_0x131789[_0x19623f(0x1d2)](_0x10bd6c));for(const _0x5c3760 of _0x131789)_0x5c3760[_0x19623f(0x220)]=_0x19623f(0x1bb)in _0x2f3baf&&_0x2f3baf[_0x19623f(0x1bb)]||void 0x0;Z(_0x131789,_0x2f3baf[_0x19623f(0x1fe)]-_0x131789[_0x19623f(0x193)]),this[_0x19623f(0x257)](_0x131789);const _0x6c7701=_0x131789[_0x19623f(0x24b)](_0x360a08=>{const _0x5498b9=_0x19623f;if(!_0x360a08[_0x5498b9(0x1a9)])return!0x1;const _0x4c4582=this[_0x5498b9(0x269)](_0x360a08);return _0x4c4582&&!this[_0x5498b9(0x1e9)][_0x5498b9(0x181)](_0x4c4582);});Z(_0x6c7701,this[_0x19623f(0x1aa)][_0x19623f(0x1fe)]),this[_0x19623f(0x1e6)](_0x6c7701),_0x3a2657=!0x0,this[_0x19623f(0x1d8)]=this[_0x19623f(0x274)];}else{const _0xd93e75=this[_0x19623f(0x25a)](_0x2f3baf[_0x19623f(0x221)],_0x2f3baf[_0x19623f(0x25f)])[_0x19623f(0x24b)](_0x1a4320=>_0x1a4320[_0x19623f(0x23b)]>=this[_0x19623f(0x1c8)]);_0xd93e75[_0x19623f(0x258)](_0x111add=>this[_0x19623f(0x24e)](_0x111add)),this[_0x19623f(0x192)]=this[_0x19623f(0x192)][_0x19623f(0x24b)](_0x18fa94=>!_0x18fa94[_0x19623f(0x1a9)]||!this[_0x19623f(0x1e9)][_0x19623f(0x181)](this[_0x19623f(0x269)](_0x18fa94))),this[_0x19623f(0x192)][_0x19623f(0x193)]&&Z(this[_0x19623f(0x192)],this[_0x19623f(0x192)][0x0][_0x19623f(0x23b)]),await this[_0x19623f(0x1e3)](_0xd93e75),_0x3a2657=this[_0x19623f(0x186)](_0xd93e75,_0x2f3baf[_0x19623f(0x1fe)],_0x2f3baf[_0x19623f(0x17a)]),this[_0x19623f(0x1d8)]=Math[_0x19623f(0x273)](this[_0x19623f(0x1d8)]/0x2);}return _0x3a2657?!this[_0x19623f(0x233)]()||(this[_0x19623f(0x175)](!0x0),!0x1):this[_0x19623f(0x228)](_0x19623f(0x180));}[_0x4c40a1(0x186)](_0x2be70f,_0x1d94e2,_0x4d0c94){const _0x282e76=_0x4c40a1;try{const _0xf93bcb={'document':this[_0x282e76(0x1aa)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1b8a7d,operationsB:_0x4343de,originalOperations:_0x4de88c}=_0x393205(_0x2be70f,this[_0x282e76(0x192)],_0xf93bcb);Z(_0x1b8a7d,this[_0x282e76(0x1aa)][_0x282e76(0x1fe)]),Z(_0x4343de,_0x1d94e2);for(const _0x2e9058 of _0x1b8a7d){const _0x57eca5=_0x4de88c[_0x282e76(0x184)](_0x2e9058);_0x2e9058[_0x282e76(0x1e0)]=_0x57eca5?_0x57eca5[_0x282e76(0x1e0)]:null;}_0x4d0c94&&(this[_0x282e76(0x18d)][_0x282e76(0x217)](_0x2be70f,_0x4d0c94),this[_0x282e76(0x24c)]=_0x4d0c94),this[_0x282e76(0x192)]=[..._0x4343de],this[_0x282e76(0x1e6)](_0x1b8a7d),this[_0x282e76(0x257)](_0x2be70f);}catch(_0x16b063){return console[_0x282e76(0x176)](_0x16b063),!0x1;}return!0x0;}[_0x4c40a1(0x1e6)](_0x142b36,_0x26d5bf=!0x1){const _0x5a6ce4=_0x4c40a1;this[_0x5a6ce4(0x178)][_0x5a6ce4(0x20d)][_0x5a6ce4(0x208)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3668dd=>{const _0x5d49e3=_0x5a6ce4;for(const _0x2e729b of _0x142b36)this[_0x5d49e3(0x1b2)][_0x5d49e3(0x1f1)](_0x2e729b),this[_0x5d49e3(0x24e)](_0x2e729b),_0x3668dd[_0x5d49e3(0x1c5)][_0x5d49e3(0x1ba)](_0x2e729b),this[_0x5d49e3(0x178)][_0x5d49e3(0x20d)][_0x5d49e3(0x249)](_0x2e729b);});}[_0x4c40a1(0x24e)](_0x1c532d){const _0x2bb65c=_0x4c40a1,_0x5ca6b5=this[_0x2bb65c(0x269)](_0x1c532d);_0x5ca6b5&&this[_0x2bb65c(0x1e9)][_0x2bb65c(0x1f1)](_0x5ca6b5);}[_0x4c40a1(0x269)](_0x37898e){const _0x1e79a5=_0x4c40a1;let _0x23115b,_0x4acafc;switch(_0x37898e[_0x1e79a5(0x259)]){case _0x1e79a5(0x1c3):_0x23115b=_0x37898e[_0x1e79a5(0x191)][_0x1e79a5(0x225)];break;case _0x1e79a5(0x1f3):if(_0x4acafc=_0x37898e[_0x1e79a5(0x22b)],!_0x4acafc)return null;_0x23115b=_0x4acafc[_0x1e79a5(0x225)];break;case _0x1e79a5(0x1cc):_0x23115b=_0x37898e[_0x1e79a5(0x225)];break;case _0x1e79a5(0x25b):_0x23115b=_0x37898e[_0x1e79a5(0x256)];break;case _0x1e79a5(0x1a3):_0x23115b=_0x37898e[_0x1e79a5(0x265)][_0x1e79a5(0x225)];break;default:return null;}return _0x23115b[_0x1e79a5(0x1db)];}[_0x4c40a1(0x257)](_0x2fe4d9){const _0x3d288b=_0x4c40a1;_0x2fe4d9[_0x3d288b(0x258)](_0xfcf686=>{const _0x1799ee=_0x3d288b,_0x46b58e=_0xfcf686[_0x1799ee(0x213)]();_0x46b58e[_0x1799ee(0x1e0)]=_0xfcf686[_0x1799ee(0x1e0)],_0x46b58e[_0x1799ee(0x1a9)]=!!_0xfcf686[_0x1799ee(0x1a9)],_0x46b58e[_0x1799ee(0x220)]=_0xfcf686[_0x1799ee(0x220)],_0x46b58e[_0x1799ee(0x23b)]+=this[_0x1799ee(0x1fb)],_0xfcf686[_0x1799ee(0x1e8)]&&this[_0x1799ee(0x190)][_0x1799ee(0x1f1)](_0x46b58e),this[_0x1799ee(0x17d)][_0x1799ee(0x1ba)](_0x46b58e);});}[_0x4c40a1(0x26c)](_0x40c976){const _0x45d59d=_0x4c40a1,_0x587bc1=this[_0x45d59d(0x178)][_0x45d59d(0x1dc)][_0x45d59d(0x184)](_0x45d59d(0x226)),_0x427e05=this[_0x45d59d(0x178)][_0x45d59d(0x1f8)];_0x40c976||(_0x40c976=_0x5175fb(_0x427e05,_0x45d59d(0x1ad))),_0x587bc1[_0x45d59d(0x177)](_0x40c976,{'title':_0x5175fb(_0x427e05,_0x45d59d(0x22e)),'namespace':_0x45d59d(0x20a)}),this[_0x45d59d(0x1ca)]=!0x0,clearTimeout(this[_0x45d59d(0x206)]),this[_0x45d59d(0x192)]=[],this[_0x45d59d(0x178)][_0x45d59d(0x1dc)][_0x45d59d(0x184)](_0x24223c)[_0x45d59d(0x183)]();}[_0x4c40a1(0x22f)](){const _0x39f115=_0x4c40a1;this[_0x39f115(0x1b3)]||(this[_0x39f115(0x1b3)]=this[_0x39f115(0x178)][_0x39f115(0x1dc)][_0x39f115(0x184)](_0x280cc7)[_0x39f115(0x1f1)](_0x5175fb(this[_0x39f115(0x178)][_0x39f115(0x1f8)],_0x39f115(0x205))));}[_0x4c40a1(0x19e)](){const _0x2d6076=_0x4c40a1;this[_0x2d6076(0x1b3)]&&(this[_0x2d6076(0x178)][_0x2d6076(0x1dc)][_0x2d6076(0x184)](_0x280cc7)[_0x2d6076(0x19b)](this[_0x2d6076(0x1b3)]),this[_0x2d6076(0x1b3)]=null);}[_0x4c40a1(0x1d3)](_0x3d29d0){const _0x15399f=_0x4c40a1,_0x2ca2dd=_0x3d29d0[_0x15399f(0x1f4)](_0x2bcf59=>_0x2bcf59[_0x15399f(0x1d1)]());return this[_0x15399f(0x1e4)][_0x15399f(0x188)](_0x2ca2dd);}[_0x4c40a1(0x25a)](_0x3deff2,_0x1fb371){const _0xb9cc82=_0x4c40a1;return this[_0xb9cc82(0x1e4)][_0xb9cc82(0x1da)](_0x3deff2)[_0xb9cc82(0x1f4)]((_0x140816,_0x169020)=>{const _0x5991c=_0xb9cc82,_0x5ec6e8=_0x5991c(0x227)==_0x1fb371[_0x169020][_0x5991c(0x259)];if(_0x5991c(0x268)==_0x140816[_0x5991c(0x1ac)]){const _0x577911=_0x140816[_0x5991c(0x191)][_0x5991c(0x225)];!this[_0x5991c(0x1aa)][_0x5991c(0x1a2)](_0x577911)&&(this[_0x5991c(0x1aa)][_0x5991c(0x1b8)](_0x5991c(0x1e2),_0x577911)[_0x5991c(0x1c9)]=!0x1);}const _0x3110ea=_0x4e780b[_0x5991c(0x195)](_0x140816,this[_0x5991c(0x1aa)]);return _0x3110ea[_0x5991c(0x1f9)]=_0x140816[_0x5991c(0x1f9)],_0x3110ea[_0x5991c(0x1a9)]=_0x5ec6e8,_0x3110ea[_0x5991c(0x1e0)]=_0x5ec6e8?null:_0x1fb371[_0x169020][_0x5991c(0x179)],_0x3110ea[_0x5991c(0x1e8)]=_0x5991c(0x18b)===_0x1fb371[_0x169020][_0x5991c(0x259)],_0x3110ea[_0x5991c(0x220)]=_0x1fb371[_0x169020][_0x5991c(0x220)],_0x3110ea;});}[_0x4c40a1(0x1a0)](){const _0x1eb68e=_0x4c40a1;this[_0x1eb68e(0x248)]=!0x0,this[_0x1eb68e(0x255)]()?this[_0x1eb68e(0x175)]():this[_0x1eb68e(0x248)]=!0x1;}[_0x4c40a1(0x255)](){const _0x20e527=_0x4c40a1,_0x2b557d=this[_0x20e527(0x178)][_0x20e527(0x1dc)][_0x20e527(0x184)](_0x36cd66)[_0x20e527(0x267)][_0x20e527(0x184)](this[_0x20e527(0x1d6)]);return!this[_0x20e527(0x178)][_0x20e527(0x209)]&&!!_0x2b557d&&_0x2b557d[_0x20e527(0x193)]>0x1&&this[_0x20e527(0x248)];}[_0x4c40a1(0x233)](){const _0x392584=_0x4c40a1;return this[_0x392584(0x192)][_0x392584(0x193)]>0x0||this[_0x392584(0x255)]();}}class Y extends Error{}function Z(_0xa96dd5,_0x3a5a21){const _0x32e8ef=_0x4c40a1;for(const _0x5a5ca8 of _0xa96dd5)_0x5a5ca8[_0x32e8ef(0x23b)]=_0x3a5a21++;}class tt{[_0x4c40a1(0x1de)];[_0x4c40a1(0x23c)];constructor(_0x47c110){const _0x446cb5=_0x4c40a1;this[_0x446cb5(0x1de)]=_0x47c110,this[_0x446cb5(0x23c)]=new WeakMap();}[_0x4c40a1(0x270)](_0x155b4b){const _0x5cc64a=_0x4c40a1;let _0x5b969b=_0x155b4b[_0x5cc64a(0x193)];for(;_0x5b969b--;){const _0x4d8d9b=_0x155b4b[_0x5b969b];if(!this[_0x5cc64a(0x1de)][_0x5cc64a(0x181)](_0x4d8d9b)){if(!this[_0x5cc64a(0x23c)][_0x5cc64a(0x181)](_0x4d8d9b)){const _0x1a1194=_0x22e293()[_0x5cc64a(0x240)](0x1,0x12);this[_0x5cc64a(0x23c)][_0x5cc64a(0x19f)](_0x4d8d9b,_0x1a1194);}return this[_0x5cc64a(0x23c)][_0x5cc64a(0x184)](_0x4d8d9b);}}}[_0x4c40a1(0x217)](_0x355c21,_0x1f8dd6){const _0x11a2c4=_0x4c40a1;if(!_0x1f8dd6)return;let _0x2635f8=_0x355c21[_0x11a2c4(0x193)];for(;_0x2635f8--;){const _0x3c73be=_0x355c21[_0x2635f8];this[_0x11a2c4(0x1de)][_0x11a2c4(0x181)](_0x3c73be)||this[_0x11a2c4(0x23c)][_0x11a2c4(0x19f)](_0x3c73be,_0x1f8dd6);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d3ae3=_0x4dc5;function _0x4dc5(_0xb53bd4,_0x13414f){const _0x57e128=_0x57e1();return _0x4dc5=function(_0x4dc578,_0x2232cc){_0x4dc578=_0x4dc578-0xa2;let _0x42391a=_0x57e128[_0x4dc578];return _0x42391a;},_0x4dc5(_0xb53bd4,_0x13414f);}(function(_0x2aa290,_0xbbedfd){const _0x1aaf97=_0x4dc5,_0x145cf1=_0x2aa290();while(!![]){try{const _0x39cf4a=-parseInt(_0x1aaf97(0xc3))/0x1+parseInt(_0x1aaf97(0xa5))/0x2*(parseInt(_0x1aaf97(0xaf))/0x3)+parseInt(_0x1aaf97(0xbb))/0x4*(-parseInt(_0x1aaf97(0xbd))/0x5)+parseInt(_0x1aaf97(0xc9))/0x6+parseInt(_0x1aaf97(0xba))/0x7+-parseInt(_0x1aaf97(0xdb))/0x8*(parseInt(_0x1aaf97(0xa9))/0x9)+parseInt(_0x1aaf97(0xd3))/0xa*(-parseInt(_0x1aaf97(0xc4))/0xb);if(_0x39cf4a===_0xbbedfd)break;else _0x145cf1['push'](_0x145cf1['shift']());}catch(_0x307e69){_0x145cf1['push'](_0x145cf1['shift']());}}}(_0x57e1,0x42378));import{ContextPlugin as _0xf7069b}from'ckeditor5/src/core.js';import{Collection as _0x1f36b8,CKEditorError as _0x54baf4}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5c214e}from'./websocketgateway.js';function _0x57e1(){const _0xfb65ef=['init','assign','register','getUserSessions','2mvikMB','isPremiumPlugin','clear','state','98451wCPpKJ','defineMe','sessions-register-already-registered','change:state','unregister','listenTo','1032558zSRAte','forEach','isMe','_handleSessionRemove','Sessions','requires','allConnectedUsers','size','hiddenInPresenceList','_createUser','sessions-unregister-not-exist','1667666vGBvlA','397780VbgkIe','values','15wFwCNK','remove','mySessionId','get','has','sessionId','76811uheTyW','48059xDyozw','connection','channelSessions','_handleSessionAdd','context','2312286cvKYDm','connected','plugins','role','_users','getUser','addUser','orderNumber','channelConnectedUsers','fire','260KXARss','getUserBySessionId','stopListening','user','_registeredSessions','add','getUserRole','delete','152oXlOxX','sessionAdd:','_uniqueUsersCount','set','pluginName','isOfficialPlugin'];_0x57e1=function(){return _0xfb65ef;};return _0x57e1();}import{Users as _0x42ea47}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0xf7069b{[_0x1d3ae3(0xc6)];[_0x1d3ae3(0xd1)];[_0x1d3ae3(0xb5)];[_0x1d3ae3(0xd7)];[_0x1d3ae3(0xdd)];[_0x1d3ae3(0xcd)];static get[_0x1d3ae3(0xdf)](){const _0xf694f3=_0x1d3ae3;return _0xf694f3(0xb3);}static get[_0x1d3ae3(0xe0)](){return!0x0;}static get[_0x1d3ae3(0xa6)](){return!0x0;}static get[_0x1d3ae3(0xb4)](){return[_0x5c214e,_0x42ea47];}constructor(_0x507fb7){const _0x2a811a=_0x1d3ae3;super(_0x507fb7),this[_0x2a811a(0xc6)]=new Map(),this[_0x2a811a(0xd1)]=new Map(),this[_0x2a811a(0xb5)]=new _0x1f36b8(),this[_0x2a811a(0xd7)]=new Map(),this[_0x2a811a(0xdd)]=0x0,this[_0x2a811a(0xcd)]=this[_0x2a811a(0xc8)][_0x2a811a(0xcb)][_0x2a811a(0xc0)](_0x42ea47);}[_0x1d3ae3(0xe1)](){const _0x1b0a5b=_0x1d3ae3,_0x4f9ffd=this[_0x1b0a5b(0xc8)][_0x1b0a5b(0xcb)][_0x1b0a5b(0xc0)](_0x5c214e);this[_0x1b0a5b(0xae)](_0x4f9ffd,_0x1b0a5b(0xac),(_0x29275d,_0x1ae6bd,_0x3a0523)=>{const _0x4933ba=_0x1b0a5b;if(_0x4933ba(0xca)!==_0x3a0523)this[_0x4933ba(0xc6)][_0x4933ba(0xb0)](_0x1260e1=>_0x1260e1[_0x4933ba(0xa7)]()),this[_0x4933ba(0xd1)][_0x4933ba(0xb0)](_0x42d440=>_0x42d440[_0x4933ba(0xa7)]()),this[_0x4933ba(0xb5)][_0x4933ba(0xa7)]();else{for(const [_0x198197,_0x433a32]of this[_0x4933ba(0xd7)])for(const _0x457978 of _0x433a32)this[_0x4933ba(0xc7)](_0x198197,_0x457978);}}),this[_0x1b0a5b(0xb8)](_0x4f9ffd[_0x1b0a5b(0xc5)]['me'],!0x0);}[_0x1d3ae3(0xa3)](_0x556970,_0x4d2e8b){const _0x35ed72=_0x1d3ae3;if(this[_0x35ed72(0xd7)][_0x35ed72(0xc1)](_0x556970))throw new _0x54baf4(_0x35ed72(0xab),null,{'channelId':_0x556970});this[_0x35ed72(0xd7)][_0x35ed72(0xde)](_0x556970,_0x4d2e8b),this[_0x35ed72(0xc6)][_0x35ed72(0xde)](_0x556970,new _0x1f36b8()),this[_0x35ed72(0xd1)][_0x35ed72(0xde)](_0x556970,new _0x1f36b8()),this[_0x35ed72(0xae)](_0x4d2e8b,_0x35ed72(0xd8),(_0x22e189,_0x4425e0)=>this[_0x35ed72(0xc7)](_0x556970,_0x4425e0)),this[_0x35ed72(0xae)](_0x4d2e8b,_0x35ed72(0xbe),(_0x3fddaa,_0x454e46)=>this[_0x35ed72(0xb2)](_0x556970,_0x454e46));for(const _0xb46a99 of _0x4d2e8b)this[_0x35ed72(0xc7)](_0x556970,_0xb46a99);}[_0x1d3ae3(0xad)](_0x59dd58){const _0x310957=_0x1d3ae3;if(!this[_0x310957(0xd7)][_0x310957(0xc1)](_0x59dd58))throw new _0x54baf4(_0x310957(0xb9),null,{'channelId':_0x59dd58});const _0x24f45d=this[_0x310957(0xd7)][_0x310957(0xc0)](_0x59dd58);this[_0x310957(0xd5)](_0x24f45d);for(const _0x524b64 of _0x24f45d)_0x310957(0xca)===this[_0x310957(0xc8)][_0x310957(0xcb)][_0x310957(0xc0)](_0x5c214e)[_0x310957(0xa8)]&&this[_0x310957(0xb2)](_0x59dd58,_0x524b64);this[_0x310957(0xd7)][_0x310957(0xda)](_0x59dd58),this[_0x310957(0xc6)][_0x310957(0xda)](_0x59dd58),this[_0x310957(0xd1)][_0x310957(0xda)](_0x59dd58);}get[_0x1d3ae3(0xbf)](){const _0x28165c=_0x1d3ae3;return this[_0x28165c(0xc8)][_0x28165c(0xcb)][_0x28165c(0xc0)](_0x5c214e)[_0x28165c(0xc5)][_0x28165c(0xc2)];}[_0x1d3ae3(0xd4)](_0x82b01e){const _0x120d59=_0x1d3ae3;for(const _0x2a0606 of this[_0x120d59(0xc6)][_0x120d59(0xbc)]())for(const _0x2b2cf9 of _0x2a0606)if(_0x2b2cf9['id']===_0x82b01e)return _0x2b2cf9[_0x120d59(0xd6)];}[_0x1d3ae3(0xa4)](_0x3569c8,_0x183811){const _0x499d38=_0x1d3ae3,_0x45e447=_0x183811?[this[_0x499d38(0xc6)][_0x499d38(0xc0)](_0x183811)]:this[_0x499d38(0xc6)][_0x499d38(0xbc)](),_0x58bc38=new Set();for(const _0x352017 of _0x45e447)for(const _0x3b05ec of _0x352017)_0x3b05ec[_0x499d38(0xd6)]['id']===_0x3569c8['id']&&_0x58bc38[_0x499d38(0xd8)](_0x3b05ec['id']);return _0x58bc38;}[_0x1d3ae3(0xd9)](_0x1d4554){const _0x46a2b7=_0x1d3ae3;for(const _0x597249 of this[_0x46a2b7(0xc6)][_0x46a2b7(0xbc)]())for(const _0x2a081e of _0x597249)if(_0x2a081e[_0x46a2b7(0xd6)]===_0x1d4554)return _0x2a081e[_0x46a2b7(0xcc)];}[_0x1d3ae3(0xc7)](_0x274338,_0xaebb43){const _0x461d4e=_0x1d3ae3;if(_0x461d4e(0xca)!==this[_0x461d4e(0xc8)][_0x461d4e(0xcb)][_0x461d4e(0xc0)](_0x5c214e)[_0x461d4e(0xa8)])return;const _0x540685=_0xaebb43[_0x461d4e(0xd6)],_0x1ca01c=this[_0x461d4e(0xcd)][_0x461d4e(0xce)](_0x540685['id'])||this[_0x461d4e(0xb8)](_0x540685),_0x4b1f47=Object[_0x461d4e(0xa2)]({},_0xaebb43,{'user':_0x1ca01c});if(this[_0x461d4e(0xc6)][_0x461d4e(0xc0)](_0x274338)[_0x461d4e(0xd8)](_0x4b1f47),!_0x540685[_0x461d4e(0xb7)]){const _0xc86f4b=this[_0x461d4e(0xd1)][_0x461d4e(0xc0)](_0x274338);_0xc86f4b[_0x461d4e(0xc1)](_0x1ca01c['id'])||_0xc86f4b[_0x461d4e(0xd8)](_0x1ca01c),this[_0x461d4e(0xb5)][_0x461d4e(0xc1)](_0x1ca01c['id'])||_0x540685[_0x461d4e(0xb7)]||this[_0x461d4e(0xb5)][_0x461d4e(0xd8)](_0x1ca01c,_0x1ca01c[_0x461d4e(0xb1)]?0x0:void 0x0);}this[_0x461d4e(0xd2)](_0x461d4e(0xdc)+_0x274338,{'channelId':_0x274338,'session':_0x4b1f47});}[_0x1d3ae3(0xb2)](_0x53e18e,_0x5d8643){const _0x5701b6=_0x1d3ae3;if(_0x5701b6(0xca)!==this[_0x5701b6(0xc8)][_0x5701b6(0xcb)][_0x5701b6(0xc0)](_0x5c214e)[_0x5701b6(0xa8)])return;const _0x50b1b7=this[_0x5701b6(0xd1)][_0x5701b6(0xc0)](_0x53e18e),_0x3642be=_0x5d8643[_0x5701b6(0xd6)];_0x3642be['id']&&(this[_0x5701b6(0xc6)][_0x5701b6(0xc0)](_0x53e18e)[_0x5701b6(0xbe)](_0x5d8643['id']),_0x50b1b7[_0x5701b6(0xc1)](_0x3642be['id'])&&!this[_0x5701b6(0xa4)](_0x3642be,_0x53e18e)[_0x5701b6(0xb6)]&&_0x50b1b7[_0x5701b6(0xbe)](_0x3642be['id']),this[_0x5701b6(0xb5)][_0x5701b6(0xc0)](_0x3642be['id'])&&!this[_0x5701b6(0xa4)](_0x3642be)[_0x5701b6(0xb6)]&&this[_0x5701b6(0xb5)][_0x5701b6(0xbe)](_0x3642be['id']));}[_0x1d3ae3(0xb8)](_0x2c2d94,_0x28ed40){const _0xf7a836=_0x1d3ae3,_0x2cf1f9=this[_0xf7a836(0xcd)][_0xf7a836(0xcf)](_0x2c2d94);return _0x28ed40&&this[_0xf7a836(0xcd)][_0xf7a836(0xaa)](_0x2c2d94['id']),_0x2cf1f9[_0xf7a836(0xd0)]=this[_0xf7a836(0xdd)]++,_0x2cf1f9;}}
|