@ckeditor/ckeditor5-real-time-collaboration 45.2.0-alpha.5 → 45.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "45.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.7",
|
|
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.0",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "45.2.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "45.2.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "45.2.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "45.2.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "45.2.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "45.2.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
61
|
-
"ckeditor5": "45.2.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "45.2.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "45.2.0-alpha.7",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "45.2.0-alpha.7",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.7",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "45.2.0-alpha.7",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.7",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "45.2.0-alpha.7",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "45.2.0-alpha.7",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.7",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "45.2.0-alpha.7",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.7",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.7",
|
|
61
|
+
"ckeditor5": "45.2.0-alpha.7",
|
|
62
|
+
"ckeditor5-collaboration": "45.2.0-alpha.7",
|
|
63
63
|
"es-toolkit": "1.32.0"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x155654=_0x3496;(function(_0x396f5c,_0x1fcbaa){const _0x5dadab=_0x3496,_0xe87c2e=_0x396f5c();while(!![]){try{const _0x1cd816=parseInt(_0x5dadab(0x7e))/0x1*(parseInt(_0x5dadab(0x9b))/0x2)+parseInt(_0x5dadab(0xac))/0x3+-parseInt(_0x5dadab(0xd1))/0x4*(parseInt(_0x5dadab(0xb8))/0x5)+-parseInt(_0x5dadab(0x92))/0x6+-parseInt(_0x5dadab(0xad))/0x7*(-parseInt(_0x5dadab(0xbb))/0x8)+-parseInt(_0x5dadab(0x8c))/0x9*(-parseInt(_0x5dadab(0x8e))/0xa)+-parseInt(_0x5dadab(0x72))/0xb;if(_0x1cd816===_0x1fcbaa)break;else _0xe87c2e['push'](_0xe87c2e['shift']());}catch(_0x21c0a7){_0xe87c2e['push'](_0xe87c2e['shift']());}}}(_0x2e1c,0x20667));import{ContextPlugin as _0x27a796}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f1390,Collection as _0x556f58}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x567c74,BalloonPanelView as _0x3ef4e2,BodyCollection as _0x412b8e}from'ckeditor5/src/ui.js';function _0x3496(_0x1f4114,_0x350a86){const _0x2e1c7b=_0x2e1c();return _0x3496=function(_0x3496d8,_0x33f28f){_0x3496d8=_0x3496d8-0x6e;let _0x282000=_0x2e1c7b[_0x3496d8];return _0x282000;},_0x3496(_0x1f4114,_0x350a86);}import{isElement as _0x498df1}from'es-toolkit/compat';import _0x3261b5 from'../realtimecollaborativeediting/sessions.js';import _0x6e5881 from'./view/presencelistview.js';import _0x3e8c57 from'./view/presencecounterview.js';import _0x3cd6d9 from'./view/presencedropdownlistview.js';function _0x2e1c(){const _0x13b0d5=['unpin','counterView','ck\x20ck-presence-list__balloon','sort','keystrokes','bind','Enter','input','render','set','isFocusable','plugins','92fMCwqv','config','pin','checkIfScrollable','presenceList.displayMe','querySelectorAll','appendChild','indexOf','isPremiumPlugin','isCollapsed','class','length','Esc','1584649lQWjop','_bodyCollection','hideDropdown','isVisible','isOfficialPlugin','reverse','button','_allConnectedUsers','destroy','Shift+Tab','add','hasTooltip','2784qUGXBd','inlineListView','detachFromDom','define','textarea','offsetWidth','activeElement','min','isMe','presencelist-missing-container','presenceDropdownView','select','view','listenTo','27738pnPOZC','[tabindex]','730qhFUBh','remove','showDropdown','balloonPanelView','156534ngGEMi','change:isFocused','attachToDom','presencelist:hide','currentDisplayedUsers','bindTo','focusTracker','onClick','items','58KQbYfP','requires','using','[contenteditable]','isExpanded','number','isRendered','presencelist-collapseat-invalid-format','_handleUserAdd','join','from','presenceList.collapseAt','filter','map','_createView','focus','offsetHeight','429015BJagNJ','27251XuyYrz','init','tabIndex','body','find','execute','content','pluginName','PresenceListUI','usersCount','allConnectedUsers','44405kJIQBi','presencelist:show','element','120WvtEhj','_handleUserRemove','presenceList','locale','get','displayMe','Tab','presenceList.container',':not([disabled]):not([tabindex=\x22-1\x22])','context'];_0x2e1c=function(){return _0x13b0d5;};return _0x2e1c();}import _0x5eeede from'./view/presencedropdownlistitemview.js';import _0x45ce36 from'./view/presenceinlinelistitemview.js';const rt={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x27a796{[_0x155654(0x96)];[_0x155654(0x91)];[_0x155654(0x8a)];[_0x155654(0x88)];[_0x155654(0x73)]=null;static get[_0x155654(0xb4)](){const _0x5f0fe0=_0x155654;return _0x5f0fe0(0xb5);}static get[_0x155654(0x76)](){return!0x0;}static get[_0x155654(0xd9)](){return!0x0;}constructor(_0x5906ab){const _0x5880f6=_0x155654;super(_0x5906ab),this[_0x5880f6(0xc4)][_0x5880f6(0xd2)][_0x5880f6(0x81)](_0x5880f6(0xbd),rt);const _0x30090d=_0x5906ab[_0x5880f6(0xd2)][_0x5880f6(0xbf)](_0x5880f6(0xa6));if(_0x5880f6(0xa0)!=typeof _0x30090d)throw new _0x1f1390(_0x5880f6(0xa2),this);if(_0x30090d<0x1)throw new _0x1f1390(_0x5880f6(0xa2),this);this[_0x5880f6(0x79)]=this[_0x5880f6(0xc4)][_0x5880f6(0xd0)][_0x5880f6(0xbf)](_0x3261b5)[_0x5880f6(0xb7)],this[_0x5880f6(0xce)](_0x5880f6(0xb6),0x0),this[_0x5880f6(0x96)]=new _0x556f58(),this[_0x5880f6(0x91)]=new _0x3ef4e2(),this[_0x5880f6(0x91)][_0x5880f6(0x6f)]=_0x5880f6(0xc7),this[_0x5880f6(0x8a)]=this[_0x5880f6(0xa9)](),this[_0x5880f6(0x88)]=void 0x0;}static get[_0x155654(0x9c)](){return[_0x3261b5];}[_0x155654(0xae)](){const _0x29e85f=_0x155654;for(const _0x5ce17e of this[_0x29e85f(0x79)])this[_0x29e85f(0xa3)](_0x5ce17e);this[_0x29e85f(0x8b)](this[_0x29e85f(0x79)],_0x29e85f(0x7c),(_0x191eb2,_0x25c051)=>{const _0x542783=_0x29e85f;this[_0x542783(0xa3)](_0x25c051);}),this[_0x29e85f(0x8b)](this[_0x29e85f(0x79)],_0x29e85f(0x8f),(_0x27d43a,_0x331737)=>{const _0x3125e0=_0x29e85f;this[_0x3125e0(0xbc)](_0x331737);});}[_0x155654(0xa9)](){const _0x3a3dcb=_0x155654,_0x4898df=this[_0x3a3dcb(0xc4)],_0x1138c6=new _0x6e5881(this[_0x3a3dcb(0xc4)][_0x3a3dcb(0xbe)],this[_0x3a3dcb(0xc4)][_0x3a3dcb(0xd2)][_0x3a3dcb(0xbf)](_0x3a3dcb(0xa6))),_0xa2a8ba=this[_0x3a3dcb(0x91)];if(!_0x498df1(_0x4898df[_0x3a3dcb(0xd2)][_0x3a3dcb(0xbf)](_0x3a3dcb(0xc2))))throw new _0x1f1390(_0x3a3dcb(0x87),this);return _0x1138c6[_0x3a3dcb(0xc6)][_0x3a3dcb(0xca)](_0x3a3dcb(0xb6))['to'](this),_0x1138c6[_0x3a3dcb(0xca)](_0x3a3dcb(0x6e))['to'](this,_0x3a3dcb(0xb6),_0x570863=>{const _0x48ffa8=_0x3a3dcb,{collapseAt:_0x5de039}=_0x4898df[_0x48ffa8(0xd2)][_0x48ffa8(0xbf)](_0x48ffa8(0xbd)),_0x306347=_0x570863>=_0x5de039;if(_0x306347&&!_0x1138c6[_0x48ffa8(0x7f)][_0x48ffa8(0x9a)][_0x48ffa8(0xb1)](_0x4d1fda=>_0x4d1fda instanceof _0x3e8c57)){const _0x59da3b=this[_0x48ffa8(0xc4)][_0x48ffa8(0xd2)][_0x48ffa8(0xbf)](_0x48ffa8(0xa6))-0x1;this[_0x48ffa8(0x96)][_0x48ffa8(0x70)]==_0x59da3b&&this[_0x48ffa8(0x96)][_0x48ffa8(0x70)]>0x1&&this[_0x48ffa8(0x96)][_0x48ffa8(0x8f)](this[_0x48ffa8(0x96)][_0x48ffa8(0x70)]-0x1),_0x1138c6[_0x48ffa8(0x7f)][_0x48ffa8(0x9a)][_0x48ffa8(0x7c)](_0x1138c6[_0x48ffa8(0xc6)]);}return _0x306347||this[_0x48ffa8(0x74)](),_0x306347;}),_0x1138c6[_0x3a3dcb(0x7f)][_0x3a3dcb(0x9a)][_0x3a3dcb(0x97)](this[_0x3a3dcb(0x96)])[_0x3a3dcb(0x9d)](_0x155957=>{const _0x532594=_0x3a3dcb,_0x3a1793=_0x4898df[_0x532594(0xd2)][_0x532594(0xbf)](_0x532594(0xbd)),_0x5ae767=new _0x45ce36(_0x4898df[_0x532594(0xbe)],_0x155957,!!_0x3a1793[_0x532594(0x99)]);return _0x5ae767[_0x532594(0xca)](_0x532594(0x7d))['to'](_0x1138c6,_0x532594(0x6e),_0x38646d=>!_0x38646d),_0x5ae767[_0x532594(0xca)](_0x532594(0xcf))['to'](_0x1138c6,_0x532594(0x6e),_0x5dd493=>!_0x5dd493),_0x3a1793[_0x532594(0x99)]&&this[_0x532594(0x8b)](_0x5ae767,_0x532594(0xb2),()=>{const _0x265f75=_0x532594;this[_0x265f75(0x8a)][_0x265f75(0x6e)]||_0x3a1793[_0x265f75(0x99)](_0x155957,_0x5ae767[_0x265f75(0xba)]);}),_0x5ae767;}),this[_0x3a3dcb(0x8b)](_0x1138c6[_0x3a3dcb(0x7f)],_0x3a3dcb(0xb9),()=>{const _0x5c5db9=_0x3a3dcb;this[_0x5c5db9(0x8a)][_0x5c5db9(0x6e)]&&this[_0x5c5db9(0x90)]();}),this[_0x3a3dcb(0x8b)](_0x1138c6[_0x3a3dcb(0x7f)],_0x3a3dcb(0x95),()=>{const _0x5ddd26=_0x3a3dcb;this[_0x5ddd26(0x88)]&&this[_0x5ddd26(0x74)]();}),_0x1138c6[_0x3a3dcb(0x7f)][_0x3a3dcb(0xc9)][_0x3a3dcb(0xce)](_0x3a3dcb(0xcb),(_0xbd9845,_0x1af80c)=>{const _0x4c5484=_0x3a3dcb;this[_0x4c5484(0x8a)][_0x4c5484(0x6e)]&&(this[_0x4c5484(0x90)](),_0x1af80c());}),_0x1138c6[_0x3a3dcb(0xcd)](),_0xa2a8ba[_0x3a3dcb(0xcd)](),_0x567c74({'emitter':_0x1138c6,'activator':()=>_0xa2a8ba[_0x3a3dcb(0x75)],'contextElements':[_0xa2a8ba[_0x3a3dcb(0xba)],_0x1138c6[_0x3a3dcb(0x7f)][_0x3a3dcb(0xba)]],'callback':()=>this[_0x3a3dcb(0x74)]()}),_0x4898df[_0x3a3dcb(0xd2)][_0x3a3dcb(0xbf)](_0x3a3dcb(0xc2))[_0x3a3dcb(0xd7)](_0x1138c6[_0x3a3dcb(0xba)]),this[_0x3a3dcb(0x73)]=new _0x412b8e(this[_0x3a3dcb(0xc4)][_0x3a3dcb(0xbe)]),this[_0x3a3dcb(0x73)][_0x3a3dcb(0x94)](),this[_0x3a3dcb(0x73)][_0x3a3dcb(0x7c)](this[_0x3a3dcb(0x91)]),_0x1138c6;}[_0x155654(0xa3)](_0x47a5c8){const _0x4d0a5a=_0x155654;if(!this[_0x4d0a5a(0xc4)][_0x4d0a5a(0xd2)][_0x4d0a5a(0xbf)](_0x4d0a5a(0xd5))&&_0x47a5c8[_0x4d0a5a(0x86)])return;const _0x4fce0c=this[_0x4d0a5a(0xc4)][_0x4d0a5a(0xd2)][_0x4d0a5a(0xbf)](_0x4d0a5a(0xa6))-0x1;for(this[_0x4d0a5a(0xb6)]++;this[_0x4d0a5a(0x96)][_0x4d0a5a(0x70)]>=_0x4fce0c-(this[_0x4d0a5a(0x8a)][_0x4d0a5a(0x6e)]?0x1:0x0)&&this[_0x4d0a5a(0x96)][_0x4d0a5a(0x70)]>0x1;)this[_0x4d0a5a(0x96)][_0x4d0a5a(0x8f)](0x1);const _0x44bf13=_0x47a5c8[_0x4d0a5a(0x86)]?0x0:this[_0x4d0a5a(0x96)][_0x4d0a5a(0x70)];this[_0x4d0a5a(0x96)][_0x4d0a5a(0x7c)](_0x47a5c8,_0x44bf13);}[_0x155654(0xbc)](_0x42aacb){const _0x5eba84=_0x155654;this[_0x5eba84(0xb6)]--;const {collapseAt:_0x49f68b}=this[_0x5eba84(0xc4)][_0x5eba84(0xd2)][_0x5eba84(0xbf)](_0x5eba84(0xbd)),_0x198db1=this[_0x5eba84(0xb6)]>=_0x49f68b;if(this[_0x5eba84(0x96)][_0x5eba84(0xbf)](_0x42aacb['id']))this[_0x5eba84(0x96)][_0x5eba84(0x8f)](_0x42aacb['id']);else{if(_0x198db1&&this[_0x5eba84(0x96)][_0x5eba84(0x70)]+0x1===_0x49f68b-0x1)return;}if(this[_0x5eba84(0x96)][_0x5eba84(0x70)]+(_0x198db1?0x1:0x0)<this[_0x5eba84(0xb6)]){for(const _0x378fe0 of Array[_0x5eba84(0xa5)](this[_0x5eba84(0x79)])[_0x5eba84(0x77)]())if(!this[_0x5eba84(0x96)][_0x5eba84(0xbf)](_0x378fe0['id'])&&(this[_0x5eba84(0x96)][_0x5eba84(0x7c)](_0x378fe0,Math[_0x5eba84(0x85)](this[_0x5eba84(0x96)][_0x5eba84(0x70)]-(_0x198db1?0x1:0x0),0x1)),this[_0x5eba84(0x96)][_0x5eba84(0x70)]+(_0x198db1?0x1:0x0)===_0x49f68b-0x1))return;}}[_0x155654(0x90)](){const _0x34a6f1=_0x155654;if(this[_0x34a6f1(0x88)])return;const _0x131e66=this[_0x34a6f1(0xc4)][_0x34a6f1(0xd2)][_0x34a6f1(0xbf)](_0x34a6f1(0xbd));this[_0x34a6f1(0x88)]=new _0x3cd6d9(this[_0x34a6f1(0xc4)][_0x34a6f1(0xbe)],!!_0x131e66[_0x34a6f1(0x99)]),this[_0x34a6f1(0x8a)][_0x34a6f1(0x7f)][_0x34a6f1(0x9f)]=!0x0,this[_0x34a6f1(0x8b)](this[_0x34a6f1(0x88)],_0x34a6f1(0x95),()=>{const _0x506379=_0x34a6f1;this[_0x506379(0x88)]&&this[_0x506379(0x74)]();});const {listWrapperView:_0x5e9683}=this[_0x34a6f1(0x88)];_0x5e9683[_0x34a6f1(0x9a)][_0x34a6f1(0x97)](this[_0x34a6f1(0x79)])[_0x34a6f1(0x9d)](_0x26da5a=>{const _0x4ef6c7=_0x34a6f1;if(!_0x131e66[_0x4ef6c7(0xc0)]&&_0x26da5a[_0x4ef6c7(0x86)])return null;const _0x3eb103=new _0x5eeede(this[_0x4ef6c7(0xc4)][_0x4ef6c7(0xbe)],_0x26da5a,!!_0x131e66[_0x4ef6c7(0x99)]);return _0x131e66[_0x4ef6c7(0x99)]&&this[_0x4ef6c7(0x8b)](_0x3eb103,_0x4ef6c7(0xb2),()=>{const _0x426490=_0x4ef6c7;_0x131e66[_0x426490(0x99)](_0x26da5a,_0x3eb103[_0x426490(0xba)]);}),_0x3eb103;}),this[_0x34a6f1(0x91)][_0x34a6f1(0xb3)][_0x34a6f1(0x7c)](this[_0x34a6f1(0x88)]),this[_0x34a6f1(0x91)][_0x34a6f1(0xd3)]({'target':this[_0x34a6f1(0x8a)][_0x34a6f1(0x7f)][_0x34a6f1(0xba)]}),_0x5e9683[_0x34a6f1(0xaa)](),_0x5e9683[_0x34a6f1(0xd4)]();const _0x22cad3=(_0x38d987,_0xdbd5ca)=>{const _0xe8a373=_0x34a6f1;this[_0xe8a373(0x74)](),this[_0xe8a373(0x8a)][_0xe8a373(0x7f)][_0xe8a373(0xaa)](),_0xdbd5ca();};_0x5e9683[_0x34a6f1(0xc9)][_0x34a6f1(0xce)](_0x34a6f1(0x71),_0x22cad3),_0x5e9683[_0x34a6f1(0xc9)][_0x34a6f1(0xce)](_0x34a6f1(0x7b),_0x22cad3),_0x5e9683[_0x34a6f1(0xc9)][_0x34a6f1(0xce)](_0x34a6f1(0xc1),(_0xf3ad9,_0x1db15d)=>{const _0x579d0f=_0x34a6f1;!function(_0x43ca03){const _0x4a4125=_0x3496,_0x4f14a4=['a',_0x4a4125(0x78),_0x4a4125(0xcc),_0x4a4125(0x89),_0x4a4125(0x82),_0x4a4125(0x8d),_0x4a4125(0x9e)][_0x4a4125(0xa8)](_0x55c9f3=>_0x55c9f3+_0x4a4125(0xc3))[_0x4a4125(0xa4)](','),_0x33b443=[...document[_0x4a4125(0xb0)][_0x4a4125(0xd6)](_0x4f14a4)][_0x4a4125(0xa7)](_0x2f40d4=>_0x2f40d4===document[_0x4a4125(0x84)]||_0x2f40d4[_0x4a4125(0x83)]+_0x2f40d4[_0x4a4125(0xab)]>0x0)[_0x4a4125(0xc8)]((_0x19b5b5,_0x1f704a)=>(_0x19b5b5[_0x4a4125(0xaf)]||0x0)-(_0x1f704a[_0x4a4125(0xaf)]||0x0)),_0x2fffa4=_0x33b443[_0x4a4125(0xd8)](_0x43ca03),_0x3836c1=_0x33b443[(_0x2fffa4+0x1)%_0x33b443[_0x4a4125(0x70)]];_0x3836c1&&_0x3836c1[_0x4a4125(0xaa)]();}(this[_0x579d0f(0x8a)][_0x579d0f(0xba)]),this[_0x579d0f(0x74)](),_0x1db15d();}),_0x5e9683[_0x34a6f1(0x98)][_0x34a6f1(0x7c)](this[_0x34a6f1(0x8a)][_0x34a6f1(0xba)]),_0x5e9683[_0x34a6f1(0x98)]['on'](_0x34a6f1(0x93),(_0x5a8bbd,_0x9d384,_0x25038b)=>{const _0x2ce1b9=_0x34a6f1;_0x25038b||this[_0x2ce1b9(0x74)]();});}[_0x155654(0x74)](){const _0x1a3d25=_0x155654;this[_0x1a3d25(0x88)]&&(this[_0x1a3d25(0x8a)][_0x1a3d25(0x7f)][_0x1a3d25(0x9f)]=!0x1,this[_0x1a3d25(0x91)][_0x1a3d25(0xc5)](),this[_0x1a3d25(0x91)][_0x1a3d25(0xb3)][_0x1a3d25(0x8f)](this[_0x1a3d25(0x88)]),this[_0x1a3d25(0x88)][_0x1a3d25(0x7a)](),this[_0x1a3d25(0x88)]=void 0x0);}[_0x155654(0x7a)](){const _0x132bfd=_0x155654;super[_0x132bfd(0x7a)](),this[_0x132bfd(0x8a)]&&this[_0x132bfd(0x8a)][_0x132bfd(0xa1)]&&this[_0x132bfd(0x8a)][_0x132bfd(0x7a)](),this[_0x132bfd(0x73)]&&(this[_0x132bfd(0x73)][_0x132bfd(0x80)](),this[_0x132bfd(0x73)][_0x132bfd(0x7a)](),this[_0x132bfd(0x73)]=null);}}
|
|
23
|
+
function _0x274d(){const _0x314cb7=['bindTo','presenceList.collapseAt','onClick','isVisible','isExpanded','isOfficialPlugin','_handleUserRemove','focus','add','get','_bodyCollection','Shift+Tab','[contenteditable]','20298696JzITLd','view','Tab','activeElement','items','presencelist-collapseat-invalid-format','3780104xgUEhw','pluginName','context','counterView','tabIndex','6403980tzVkEs','showDropdown','presencelist:hide','select','config','presenceDropdownView','remove','Enter','presencelist:show','usersCount','displayMe','balloonPanelView','content','isCollapsed','find','isPremiumPlugin','map','23596qMMoNT','offsetWidth','_handleUserAdd','inlineListView','using','keystrokes','PresenceListUI','bind','define','_allConnectedUsers','9sEDixR','_createView','from','allConnectedUsers','35nDnDWF','textarea','offsetHeight','element','execute','hasTooltip','12CRJJrq','hideDropdown','locale','attachToDom','pin','querySelectorAll','Esc','button','destroy','unpin','input','listenTo','init','length','isMe','min','change:isFocused','presenceList','checkIfScrollable','presenceList.container','3sXVIOE','1368780Skqpxq','detachFromDom','2693887bRxGSt','34gPTgti','requires','ck\x20ck-presence-list__balloon','set','filter','body','join','803820XdsMfD','isFocusable','appendChild','reverse','render','indexOf','sort','[tabindex]','plugins',':not([disabled]):not([tabindex=\x22-1\x22])','presencelist-missing-container','focusTracker','presenceList.displayMe','number','currentDisplayedUsers','isRendered','class'];_0x274d=function(){return _0x314cb7;};return _0x274d();}const _0x398243=_0xfe63;(function(_0x18fa67,_0x30e5e9){const _0xa00a9b=_0xfe63,_0x5d85f0=_0x18fa67();while(!![]){try{const _0x37a11d=-parseInt(_0xa00a9b(0x8d))/0x1*(parseInt(_0xa00a9b(0xb9))/0x2)+parseInt(_0xa00a9b(0xb5))/0x3*(parseInt(_0xa00a9b(0xb6))/0x4)+parseInt(_0xa00a9b(0x9b))/0x5*(-parseInt(_0xa00a9b(0xc0))/0x6)+-parseInt(_0xa00a9b(0xb8))/0x7+-parseInt(_0xa00a9b(0xe4))/0x8*(parseInt(_0xa00a9b(0x97))/0x9)+parseInt(_0xa00a9b(0xe9))/0xa+parseInt(_0xa00a9b(0xde))/0xb*(parseInt(_0xa00a9b(0xa1))/0xc);if(_0x37a11d===_0x30e5e9)break;else _0x5d85f0['push'](_0x5d85f0['shift']());}catch(_0x4683ed){_0x5d85f0['push'](_0x5d85f0['shift']());}}}(_0x274d,0x9a365));import{ContextPlugin as _0x50fd34}from'ckeditor5/src/core.js';function _0xfe63(_0x4c8f2d,_0x1c8593){const _0x274d66=_0x274d();return _0xfe63=function(_0xfe63db,_0x589db3){_0xfe63db=_0xfe63db-0x7d;let _0x24d761=_0x274d66[_0xfe63db];return _0x24d761;},_0xfe63(_0x4c8f2d,_0x1c8593);}import{CKEditorError as _0x3650a7,Collection as _0x17d8e0}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x218658,BalloonPanelView as _0x4191be,BodyCollection as _0x331904}from'ckeditor5/src/ui.js';import{isElement as _0x4427d3}from'es-toolkit/compat';import _0x14ee6b from'../realtimecollaborativeediting/sessions.js';import _0x44eb15 from'./view/presencelistview.js';import _0x1bc343 from'./view/presencecounterview.js';import _0x1998a6 from'./view/presencedropdownlistview.js';import _0xc26013 from'./view/presencedropdownlistitemview.js';import _0x14b30e from'./view/presenceinlinelistitemview.js';const C={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x50fd34{[_0x398243(0xce)];[_0x398243(0x87)];[_0x398243(0xdf)];[_0x398243(0x81)];[_0x398243(0xdb)]=null;static get[_0x398243(0xe5)](){const _0x19dab6=_0x398243;return _0x19dab6(0x93);}static get[_0x398243(0xd6)](){return!0x0;}static get[_0x398243(0x8b)](){return!0x0;}constructor(_0x16dc14){const _0x481b94=_0x398243;super(_0x16dc14),this[_0x481b94(0xe6)][_0x481b94(0x80)][_0x481b94(0x95)](_0x481b94(0xb2),C);const _0xbf3c1e=_0x16dc14[_0x481b94(0x80)][_0x481b94(0xda)](_0x481b94(0xd2));if(_0x481b94(0xcd)!=typeof _0xbf3c1e)throw new _0x3650a7(_0x481b94(0xe3),this);if(_0xbf3c1e<0x1)throw new _0x3650a7(_0x481b94(0xe3),this);this[_0x481b94(0x96)]=this[_0x481b94(0xe6)][_0x481b94(0xc8)][_0x481b94(0xda)](_0x14ee6b)[_0x481b94(0x9a)],this[_0x481b94(0xbc)](_0x481b94(0x85),0x0),this[_0x481b94(0xce)]=new _0x17d8e0(),this[_0x481b94(0x87)]=new _0x4191be(),this[_0x481b94(0x87)][_0x481b94(0xd0)]=_0x481b94(0xbb),this[_0x481b94(0xdf)]=this[_0x481b94(0x98)](),this[_0x481b94(0x81)]=void 0x0;}static get[_0x398243(0xba)](){return[_0x14ee6b];}[_0x398243(0xad)](){const _0x9ac18a=_0x398243;for(const _0x480bca of this[_0x9ac18a(0x96)])this[_0x9ac18a(0x8f)](_0x480bca);this[_0x9ac18a(0xac)](this[_0x9ac18a(0x96)],_0x9ac18a(0xd9),(_0x269098,_0x420c92)=>{const _0x4b418d=_0x9ac18a;this[_0x4b418d(0x8f)](_0x420c92);}),this[_0x9ac18a(0xac)](this[_0x9ac18a(0x96)],_0x9ac18a(0x82),(_0x4f18bb,_0x154b06)=>{const _0x56a817=_0x9ac18a;this[_0x56a817(0xd7)](_0x154b06);});}[_0x398243(0x98)](){const _0x4bb3b3=_0x398243,_0x503400=this[_0x4bb3b3(0xe6)],_0x53b08f=new _0x44eb15(this[_0x4bb3b3(0xe6)][_0x4bb3b3(0xa3)],this[_0x4bb3b3(0xe6)][_0x4bb3b3(0x80)][_0x4bb3b3(0xda)](_0x4bb3b3(0xd2))),_0x399947=this[_0x4bb3b3(0x87)];if(!_0x4427d3(_0x503400[_0x4bb3b3(0x80)][_0x4bb3b3(0xda)](_0x4bb3b3(0xb4))))throw new _0x3650a7(_0x4bb3b3(0xca),this);return _0x53b08f[_0x4bb3b3(0xe7)][_0x4bb3b3(0x94)](_0x4bb3b3(0x85))['to'](this),_0x53b08f[_0x4bb3b3(0x94)](_0x4bb3b3(0x89))['to'](this,_0x4bb3b3(0x85),_0x25d151=>{const _0x5c5226=_0x4bb3b3,{collapseAt:_0x2b423f}=_0x503400[_0x5c5226(0x80)][_0x5c5226(0xda)](_0x5c5226(0xb2)),_0x111e93=_0x25d151>=_0x2b423f;if(_0x111e93&&!_0x53b08f[_0x5c5226(0x90)][_0x5c5226(0xe2)][_0x5c5226(0x8a)](_0x5e7f63=>_0x5e7f63 instanceof _0x1bc343)){const _0x3fa592=this[_0x5c5226(0xe6)][_0x5c5226(0x80)][_0x5c5226(0xda)](_0x5c5226(0xd2))-0x1;this[_0x5c5226(0xce)][_0x5c5226(0xae)]==_0x3fa592&&this[_0x5c5226(0xce)][_0x5c5226(0xae)]>0x1&&this[_0x5c5226(0xce)][_0x5c5226(0x82)](this[_0x5c5226(0xce)][_0x5c5226(0xae)]-0x1),_0x53b08f[_0x5c5226(0x90)][_0x5c5226(0xe2)][_0x5c5226(0xd9)](_0x53b08f[_0x5c5226(0xe7)]);}return _0x111e93||this[_0x5c5226(0xa2)](),_0x111e93;}),_0x53b08f[_0x4bb3b3(0x90)][_0x4bb3b3(0xe2)][_0x4bb3b3(0xd1)](this[_0x4bb3b3(0xce)])[_0x4bb3b3(0x91)](_0x59c4a3=>{const _0x598822=_0x4bb3b3,_0x54e537=_0x503400[_0x598822(0x80)][_0x598822(0xda)](_0x598822(0xb2)),_0xdee282=new _0x14b30e(_0x503400[_0x598822(0xa3)],_0x59c4a3,!!_0x54e537[_0x598822(0xd3)]);return _0xdee282[_0x598822(0x94)](_0x598822(0xa0))['to'](_0x53b08f,_0x598822(0x89),_0x8a4f59=>!_0x8a4f59),_0xdee282[_0x598822(0x94)](_0x598822(0xc1))['to'](_0x53b08f,_0x598822(0x89),_0x2bb4e7=>!_0x2bb4e7),_0x54e537[_0x598822(0xd3)]&&this[_0x598822(0xac)](_0xdee282,_0x598822(0x9f),()=>{const _0x26aa4f=_0x598822;this[_0x26aa4f(0xdf)][_0x26aa4f(0x89)]||_0x54e537[_0x26aa4f(0xd3)](_0x59c4a3,_0xdee282[_0x26aa4f(0x9e)]);}),_0xdee282;}),this[_0x4bb3b3(0xac)](_0x53b08f[_0x4bb3b3(0x90)],_0x4bb3b3(0x84),()=>{const _0x457d07=_0x4bb3b3;this[_0x457d07(0xdf)][_0x457d07(0x89)]&&this[_0x457d07(0x7d)]();}),this[_0x4bb3b3(0xac)](_0x53b08f[_0x4bb3b3(0x90)],_0x4bb3b3(0x7e),()=>{const _0x3d9af9=_0x4bb3b3;this[_0x3d9af9(0x81)]&&this[_0x3d9af9(0xa2)]();}),_0x53b08f[_0x4bb3b3(0x90)][_0x4bb3b3(0x92)][_0x4bb3b3(0xbc)](_0x4bb3b3(0x83),(_0x2f370f,_0x124132)=>{const _0x206624=_0x4bb3b3;this[_0x206624(0xdf)][_0x206624(0x89)]&&(this[_0x206624(0x7d)](),_0x124132());}),_0x53b08f[_0x4bb3b3(0xc4)](),_0x399947[_0x4bb3b3(0xc4)](),_0x218658({'emitter':_0x53b08f,'activator':()=>_0x399947[_0x4bb3b3(0xd4)],'contextElements':[_0x399947[_0x4bb3b3(0x9e)],_0x53b08f[_0x4bb3b3(0x90)][_0x4bb3b3(0x9e)]],'callback':()=>this[_0x4bb3b3(0xa2)]()}),_0x503400[_0x4bb3b3(0x80)][_0x4bb3b3(0xda)](_0x4bb3b3(0xb4))[_0x4bb3b3(0xc2)](_0x53b08f[_0x4bb3b3(0x9e)]),this[_0x4bb3b3(0xdb)]=new _0x331904(this[_0x4bb3b3(0xe6)][_0x4bb3b3(0xa3)]),this[_0x4bb3b3(0xdb)][_0x4bb3b3(0xa4)](),this[_0x4bb3b3(0xdb)][_0x4bb3b3(0xd9)](this[_0x4bb3b3(0x87)]),_0x53b08f;}[_0x398243(0x8f)](_0x307e38){const _0x2fa938=_0x398243;if(!this[_0x2fa938(0xe6)][_0x2fa938(0x80)][_0x2fa938(0xda)](_0x2fa938(0xcc))&&_0x307e38[_0x2fa938(0xaf)])return;const _0x3d458c=this[_0x2fa938(0xe6)][_0x2fa938(0x80)][_0x2fa938(0xda)](_0x2fa938(0xd2))-0x1;for(this[_0x2fa938(0x85)]++;this[_0x2fa938(0xce)][_0x2fa938(0xae)]>=_0x3d458c-(this[_0x2fa938(0xdf)][_0x2fa938(0x89)]?0x1:0x0)&&this[_0x2fa938(0xce)][_0x2fa938(0xae)]>0x1;)this[_0x2fa938(0xce)][_0x2fa938(0x82)](0x1);const _0xa6d1a3=_0x307e38[_0x2fa938(0xaf)]?0x0:this[_0x2fa938(0xce)][_0x2fa938(0xae)];this[_0x2fa938(0xce)][_0x2fa938(0xd9)](_0x307e38,_0xa6d1a3);}[_0x398243(0xd7)](_0x362f99){const _0x1eb130=_0x398243;this[_0x1eb130(0x85)]--;const {collapseAt:_0x4e4815}=this[_0x1eb130(0xe6)][_0x1eb130(0x80)][_0x1eb130(0xda)](_0x1eb130(0xb2)),_0x378c54=this[_0x1eb130(0x85)]>=_0x4e4815;if(this[_0x1eb130(0xce)][_0x1eb130(0xda)](_0x362f99['id']))this[_0x1eb130(0xce)][_0x1eb130(0x82)](_0x362f99['id']);else{if(_0x378c54&&this[_0x1eb130(0xce)][_0x1eb130(0xae)]+0x1===_0x4e4815-0x1)return;}if(this[_0x1eb130(0xce)][_0x1eb130(0xae)]+(_0x378c54?0x1:0x0)<this[_0x1eb130(0x85)]){for(const _0x16e9bf of Array[_0x1eb130(0x99)](this[_0x1eb130(0x96)])[_0x1eb130(0xc3)]())if(!this[_0x1eb130(0xce)][_0x1eb130(0xda)](_0x16e9bf['id'])&&(this[_0x1eb130(0xce)][_0x1eb130(0xd9)](_0x16e9bf,Math[_0x1eb130(0xb0)](this[_0x1eb130(0xce)][_0x1eb130(0xae)]-(_0x378c54?0x1:0x0),0x1)),this[_0x1eb130(0xce)][_0x1eb130(0xae)]+(_0x378c54?0x1:0x0)===_0x4e4815-0x1))return;}}[_0x398243(0x7d)](){const _0x315004=_0x398243;if(this[_0x315004(0x81)])return;const _0x32d710=this[_0x315004(0xe6)][_0x315004(0x80)][_0x315004(0xda)](_0x315004(0xb2));this[_0x315004(0x81)]=new _0x1998a6(this[_0x315004(0xe6)][_0x315004(0xa3)],!!_0x32d710[_0x315004(0xd3)]),this[_0x315004(0xdf)][_0x315004(0x90)][_0x315004(0xd5)]=!0x0,this[_0x315004(0xac)](this[_0x315004(0x81)],_0x315004(0x7e),()=>{const _0x56c9ec=_0x315004;this[_0x56c9ec(0x81)]&&this[_0x56c9ec(0xa2)]();});const {listWrapperView:_0x22a666}=this[_0x315004(0x81)];_0x22a666[_0x315004(0xe2)][_0x315004(0xd1)](this[_0x315004(0x96)])[_0x315004(0x91)](_0x2e5bf1=>{const _0x3befad=_0x315004;if(!_0x32d710[_0x3befad(0x86)]&&_0x2e5bf1[_0x3befad(0xaf)])return null;const _0x43d18c=new _0xc26013(this[_0x3befad(0xe6)][_0x3befad(0xa3)],_0x2e5bf1,!!_0x32d710[_0x3befad(0xd3)]);return _0x32d710[_0x3befad(0xd3)]&&this[_0x3befad(0xac)](_0x43d18c,_0x3befad(0x9f),()=>{const _0x375fe0=_0x3befad;_0x32d710[_0x375fe0(0xd3)](_0x2e5bf1,_0x43d18c[_0x375fe0(0x9e)]);}),_0x43d18c;}),this[_0x315004(0x87)][_0x315004(0x88)][_0x315004(0xd9)](this[_0x315004(0x81)]),this[_0x315004(0x87)][_0x315004(0xa5)]({'target':this[_0x315004(0xdf)][_0x315004(0x90)][_0x315004(0x9e)]}),_0x22a666[_0x315004(0xd8)](),_0x22a666[_0x315004(0xb3)]();const _0x3dc5d5=(_0x566722,_0x27679b)=>{const _0x1c02fe=_0x315004;this[_0x1c02fe(0xa2)](),this[_0x1c02fe(0xdf)][_0x1c02fe(0x90)][_0x1c02fe(0xd8)](),_0x27679b();};_0x22a666[_0x315004(0x92)][_0x315004(0xbc)](_0x315004(0xa7),_0x3dc5d5),_0x22a666[_0x315004(0x92)][_0x315004(0xbc)](_0x315004(0xdc),_0x3dc5d5),_0x22a666[_0x315004(0x92)][_0x315004(0xbc)](_0x315004(0xe0),(_0x4b1764,_0x1eadca)=>{const _0x430d2a=_0x315004;!function(_0x1a6325){const _0x19440=_0xfe63,_0x5f5b76=['a',_0x19440(0xa8),_0x19440(0xab),_0x19440(0x7f),_0x19440(0x9c),_0x19440(0xc7),_0x19440(0xdd)][_0x19440(0x8c)](_0x2c5e10=>_0x2c5e10+_0x19440(0xc9))[_0x19440(0xbf)](','),_0x324c7d=[...document[_0x19440(0xbe)][_0x19440(0xa6)](_0x5f5b76)][_0x19440(0xbd)](_0x26bad4=>_0x26bad4===document[_0x19440(0xe1)]||_0x26bad4[_0x19440(0x8e)]+_0x26bad4[_0x19440(0x9d)]>0x0)[_0x19440(0xc6)]((_0x3d1b12,_0x5e2436)=>(_0x3d1b12[_0x19440(0xe8)]||0x0)-(_0x5e2436[_0x19440(0xe8)]||0x0)),_0x59d372=_0x324c7d[_0x19440(0xc5)](_0x1a6325),_0x4f8892=_0x324c7d[(_0x59d372+0x1)%_0x324c7d[_0x19440(0xae)]];_0x4f8892&&_0x4f8892[_0x19440(0xd8)]();}(this[_0x430d2a(0xdf)][_0x430d2a(0x9e)]),this[_0x430d2a(0xa2)](),_0x1eadca();}),_0x22a666[_0x315004(0xcb)][_0x315004(0xd9)](this[_0x315004(0xdf)][_0x315004(0x9e)]),_0x22a666[_0x315004(0xcb)]['on'](_0x315004(0xb1),(_0x1a867d,_0x2aae98,_0x3dbfe4)=>{const _0x486889=_0x315004;_0x3dbfe4||this[_0x486889(0xa2)]();});}[_0x398243(0xa2)](){const _0x46095e=_0x398243;this[_0x46095e(0x81)]&&(this[_0x46095e(0xdf)][_0x46095e(0x90)][_0x46095e(0xd5)]=!0x1,this[_0x46095e(0x87)][_0x46095e(0xaa)](),this[_0x46095e(0x87)][_0x46095e(0x88)][_0x46095e(0x82)](this[_0x46095e(0x81)]),this[_0x46095e(0x81)][_0x46095e(0xa9)](),this[_0x46095e(0x81)]=void 0x0);}[_0x398243(0xa9)](){const _0x191526=_0x398243;super[_0x191526(0xa9)](),this[_0x191526(0xdf)]&&this[_0x191526(0xdf)][_0x191526(0xcf)]&&this[_0x191526(0xdf)][_0x191526(0xa9)](),this[_0x191526(0xdb)]&&(this[_0x191526(0xdb)][_0x191526(0xb7)](),this[_0x191526(0xdb)][_0x191526(0xa9)](),this[_0x191526(0xdb)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4aea(_0x983d04,_0x188ff1){const _0x3ae627=_0x3ae6();return _0x4aea=function(_0x4aead7,_0x2dab43){_0x4aead7=_0x4aead7-0xba;let _0x595198=_0x3ae627[_0x4aead7];return _0x595198;},_0x4aea(_0x983d04,_0x188ff1);}const _0x28c4c7=_0x4aea;(function(_0x4d45f3,_0x28b005){const _0x53f7f1=_0x4aea,_0x650eae=_0x4d45f3();while(!![]){try{const _0xd150f1=parseInt(_0x53f7f1(0xc8))/0x1+-parseInt(_0x53f7f1(0xc9))/0x2*(parseInt(_0x53f7f1(0xbe))/0x3)+-parseInt(_0x53f7f1(0xca))/0x4*(-parseInt(_0x53f7f1(0xc2))/0x5)+-parseInt(_0x53f7f1(0xd1))/0x6*(parseInt(_0x53f7f1(0xc1))/0x7)+parseInt(_0x53f7f1(0xcf))/0x8*(-parseInt(_0x53f7f1(0xc3))/0x9)+-parseInt(_0x53f7f1(0xd0))/0xa+parseInt(_0x53f7f1(0xcd))/0xb;if(_0xd150f1===_0x28b005)break;else _0x650eae['push'](_0x650eae['shift']());}catch(_0x68e612){_0x650eae['push'](_0x650eae['shift']());}}}(_0x3ae6,0xa0101));function _0x3ae6(){const _0xef5a5=['set','9191nBiVPP','275rSzHLH','4349997KmAYHn','isHidden','toString','bindTemplate','div','1273245aMfKQm','10502ALuJaG','36204OjGGei','ck-presence-list__users-counter','ck-presence-list__counter--hidden','15964058xYqlsg','bind','16TmwBwm','4367920iJNqxB','3756FnRRGu','ck-presence-list__list-item','listitem','setTemplate','ck-presence-list__users-counter__text','_collapseAt','195PgPSGy','usersCount'];_0x3ae6=function(){return _0xef5a5;};return _0x3ae6();}import{View as _0x2f0076}from'ckeditor5/src/ui.js';export default class A extends _0x2f0076{[_0x28c4c7(0xbd)];constructor(_0x4b0fa5,_0x3949fe=0x6){const _0xb74fe7=_0x28c4c7;super(_0x4b0fa5);const _0xb0bc5=this[_0xb74fe7(0xc6)];this[_0xb74fe7(0xc0)](_0xb74fe7(0xc4),!0x0),this[_0xb74fe7(0xc0)](_0xb74fe7(0xbf),0x0),this[_0xb74fe7(0xbd)]=_0x3949fe,this[_0xb74fe7(0xce)](_0xb74fe7(0xc4))['to'](this,_0xb74fe7(0xbf),_0x1b4fb0=>_0x1b4fb0<_0x3949fe),this[_0xb74fe7(0xbb)]({'tag':_0xb74fe7(0xc7),'attributes':{'class':['ck',_0xb74fe7(0xd2),_0xb0bc5['if'](_0xb74fe7(0xc4),_0xb74fe7(0xcc))],'role':_0xb74fe7(0xba)},'children':[{'tag':_0xb74fe7(0xc7),'attributes':{'class':['ck',_0xb74fe7(0xcb)]},'children':[{'tag':_0xb74fe7(0xc7),'attributes':{'class':['ck',_0xb74fe7(0xbc)]},'children':[{'text':_0xb0bc5['to'](_0xb74fe7(0xbf),_0x479304=>'+'+(_0x479304-this[_0xb74fe7(0xbd)]+0x2)[_0xb74fe7(0xc5)]())}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2e4d(){const _0x13d87d=['ck-user__full-name','192954RQcEAV','1556904ajVSmH','3ItzqRm','setTemplate','ck-presence-list__dropdown-list-item','14352636DIWnEk','11eGAYmV','execute','button','10XGTVJg','bindTemplate','3008979zrVPmR','4442510TSUfzT','ck-presence-list__marker','14ENjZKr','7eVEpfB','fire','userView','true','span','getBackgroundColorClass','tag','name','131227VTDnnJ','color','presentation','element','focus','943716ljknNN'];_0x2e4d=function(){return _0x13d87d;};return _0x2e4d();}const _0xbe334e=_0x3da1;(function(_0xf212ce,_0x31edc2){const _0x528808=_0x3da1,_0x1eb492=_0xf212ce();while(!![]){try{const _0x351106=-parseInt(_0x528808(0x13f))/0x1*(-parseInt(_0x528808(0x154))/0x2)+parseInt(_0x528808(0x148))/0x3*(-parseInt(_0x528808(0x144))/0x4)+parseInt(_0x528808(0x152))/0x5+parseInt(_0x528808(0x146))/0x6*(-parseInt(_0x528808(0x155))/0x7)+-parseInt(_0x528808(0x147))/0x8+-parseInt(_0x528808(0x151))/0x9*(-parseInt(_0x528808(0x14f))/0xa)+-parseInt(_0x528808(0x14c))/0xb*(parseInt(_0x528808(0x14b))/0xc);if(_0x351106===_0x31edc2)break;else _0x1eb492['push'](_0x1eb492['shift']());}catch(_0x26cd0a){_0x1eb492['push'](_0x1eb492['shift']());}}}(_0x2e4d,0x75d6c));import{ListItemView as _0x53bfa5}from'ckeditor5/src/ui.js';function _0x3da1(_0x332731,_0x458c25){const _0x2e4d9b=_0x2e4d();return _0x3da1=function(_0x3da160,_0x48a61f){_0x3da160=_0x3da160-0x13d;let _0xbc4f55=_0x2e4d9b[_0x3da160];return _0xbc4f55;},_0x3da1(_0x332731,_0x458c25);}import{UserView as _0x5ed701}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x53bfa5{[_0xbe334e(0x157)];constructor(_0x447ef2,_0x57e044,_0xd0d27c){const _0x4057ca=_0xbe334e;super(_0x447ef2);const _0x2172ef=this[_0x4057ca(0x150)];this[_0x4057ca(0x157)]=new _0x5ed701(_0x447ef2,_0x57e044);const _0x38ce93={'tag':'li','attributes':{'class':['ck',_0x4057ca(0x14a)],'tabindex':-0x1,'role':_0x4057ca(0x141),'aria-label':_0x57e044[_0x4057ca(0x13e)]},'children':[this[_0x4057ca(0x157)],{'tag':_0x4057ca(0x159),'attributes':{'class':['ck',_0x4057ca(0x145)]},'children':[{'text':_0x57e044[_0x4057ca(0x13e)]}]},{'tag':_0x4057ca(0x159),'attributes':{'class':['ck',_0x4057ca(0x153),_0x57e044[_0x4057ca(0x140)][_0x4057ca(0x15a)]()],'aria-hidden':_0x4057ca(0x158)}}]};_0xd0d27c&&(_0x38ce93[_0x4057ca(0x13d)]=_0x4057ca(0x14e),_0x38ce93['on']={'click':_0x2172ef['to'](()=>this[_0x4057ca(0x156)](_0x4057ca(0x14d)))}),this[_0x4057ca(0x149)](_0x38ce93);}[_0xbe334e(0x143)](){const _0x58ede9=_0xbe334e;this[_0x58ede9(0x142)][_0x58ede9(0x143)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x125f(){const _0x1c9456=['resize','ck-list','22704011ztzZBh','6990mkPyVc','ck-reset','setTemplate','querySelector','items','ck-presence-list__dropdown-list','listenTo','10516GwcLBq','element','contains','12ThKiEh','280453LXLdib','max','fire','role','ck-presence-list__dropdown-list-wrapper','relatedTarget','1176248xFkVzf','_isScrollable','471fJWihk','checkIfScrollable','2615IRFKjl','clientHeight','5848542ZNjAFg','set','div','innerHeight','bindTemplate','listWrapperView','ariaLabelledBy','scrollHeight','application','ariaLabel','.ck-presence-list__list','window','1397300UGjiJw','presencelist:hide','change','ck-presence-list__dropdown-list-wrapper_scrollable','Connected\x20users\x20list\x20dropdown\x20menu','4LfyHHs','render','21VTBUrf','.ck-balloon-panel_with-arrow'];_0x125f=function(){return _0x1c9456;};return _0x125f();}const _0x9b72fb=_0x3560;function _0x3560(_0x1ae7a2,_0x3f72){const _0x125f67=_0x125f();return _0x3560=function(_0x3560f9,_0x38bfb8){_0x3560f9=_0x3560f9-0x103;let _0x357644=_0x125f67[_0x3560f9];return _0x357644;},_0x3560(_0x1ae7a2,_0x3f72);}(function(_0x58b159,_0x29db6b){const _0x336a7c=_0x3560,_0x36ea80=_0x58b159();while(!![]){try{const _0x1fad11=parseInt(_0x336a7c(0x11f))/0x1*(-parseInt(_0x336a7c(0x10d))/0x2)+parseInt(_0x336a7c(0x127))/0x3*(parseInt(_0x336a7c(0x11b))/0x4)+parseInt(_0x336a7c(0x129))/0x5*(-parseInt(_0x336a7c(0x114))/0x6)+-parseInt(_0x336a7c(0x10f))/0x7*(parseInt(_0x336a7c(0x125))/0x8)+-parseInt(_0x336a7c(0x12b))/0x9+parseInt(_0x336a7c(0x108))/0xa+-parseInt(_0x336a7c(0x113))/0xb*(-parseInt(_0x336a7c(0x11e))/0xc);if(_0x1fad11===_0x29db6b)break;else _0x36ea80['push'](_0x36ea80['shift']());}catch(_0x353e8f){_0x36ea80['push'](_0x36ea80['shift']());}}}(_0x125f,0x56c18));import{ListView as _0x54e170,View as _0x4ac1e0}from'ckeditor5/src/ui.js';import{global as _0x48d2ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x50a6e2}from'../../common-translations.js';export default class x extends _0x4ac1e0{[_0x9b72fb(0x130)];constructor(_0x454589,_0x849666){const _0xade011=_0x9b72fb;super(_0x454589);const _0x521180=this[_0xade011(0x12f)];this[_0xade011(0x130)]=new PresenceDropdownListWrapperView(_0x454589,_0x849666),this[_0xade011(0x116)]({'tag':_0xade011(0x12d),'attributes':{'tabindex':-0x1,'role':_0xade011(0x104),'class':['ck',_0xade011(0x119)],'aria-label':_0x50a6e2(_0x454589,_0xade011(0x10c))},'children':[this[_0xade011(0x130)]],'on':{'mouseleave':_0x521180['to'](_0x101852=>{const _0x14b806=_0xade011,_0x362dfa=_0x101852,_0x5a4e56=document[_0x14b806(0x117)](_0x14b806(0x106)),_0x2fed2c=document[_0x14b806(0x117)](_0x14b806(0x110));_0x5a4e56?.[_0x14b806(0x11d)](_0x362dfa[_0x14b806(0x124)])||_0x2fed2c?.[_0x14b806(0x11d)](_0x362dfa[_0x14b806(0x124)])||this[_0x14b806(0x121)](_0x14b806(0x109));})}});}}export class PresenceDropdownListWrapperView extends _0x54e170{constructor(_0xacdb89,_0x34cfe3){const _0x41075d=_0x9b72fb;super(_0xacdb89);const _0x2a6422=this[_0x41075d(0x12f)];this[_0x41075d(0x12c)](_0x41075d(0x126),!0x1),this[_0x41075d(0x116)]({'tag':_0x34cfe3?_0x41075d(0x12d):'ul','attributes':{'class':['ck',_0x41075d(0x115),_0x41075d(0x112),_0x41075d(0x123),_0x2a6422['if'](_0x41075d(0x126),_0x41075d(0x10b))],'role':_0x2a6422['to'](_0x41075d(0x122)),'aria-label':_0x2a6422['to'](_0x41075d(0x105)),'aria-labelledby':_0x2a6422['to'](_0x41075d(0x131))},'children':this[_0x41075d(0x118)]}),this[_0x41075d(0x11a)](_0x48d2ca[_0x41075d(0x107)],_0x41075d(0x111),()=>this[_0x41075d(0x128)]()),this[_0x41075d(0x118)]['on'](_0x41075d(0x10a),()=>this[_0x41075d(0x128)]());}[_0x9b72fb(0x10e)](){const _0x2f2b5c=_0x9b72fb;super[_0x2f2b5c(0x10e)](),this[_0x2f2b5c(0x128)]();}[_0x9b72fb(0x128)](){const _0x1278c5=_0x9b72fb,_0x508918=this[_0x1278c5(0x11c)];_0x508918&&(this[_0x1278c5(0x126)]=Math[_0x1278c5(0x120)](_0x508918[_0x1278c5(0x103)],_0x508918[_0x1278c5(0x12a)])>0.8*window[_0x1278c5(0x12e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ad4f6=_0xdca3;(function(_0x3fa1d4,_0x3779db){const _0x21e1d8=_0xdca3,_0x3fe9c3=_0x3fa1d4();while(!![]){try{const _0x52f880=parseInt(_0x21e1d8(0x8d))/0x1+-parseInt(_0x21e1d8(0x8e))/0x2+parseInt(_0x21e1d8(0x75))/0x3*(parseInt(_0x21e1d8(0x93))/0x4)+-parseInt(_0x21e1d8(0x88))/0x5*(parseInt(_0x21e1d8(0x7c))/0x6)+parseInt(_0x21e1d8(0x79))/0x7+-parseInt(_0x21e1d8(0x81))/0x8*(-parseInt(_0x21e1d8(0x82))/0x9)+-parseInt(_0x21e1d8(0x83))/0xa;if(_0x52f880===_0x3779db)break;else _0x3fe9c3['push'](_0x3fe9c3['shift']());}catch(_0xf9b3ca){_0x3fe9c3['push'](_0x3fe9c3['shift']());}}}(_0x47fd,0x2b5ea));function _0xdca3(_0x3b47bb,_0x818955){const _0x47fd84=_0x47fd();return _0xdca3=function(_0xdca365,_0x2e3679){_0xdca365=_0xdca365-0x72;let _0x4c5e87=_0x47fd84[_0xdca365];return _0x4c5e87;},_0xdca3(_0x3b47bb,_0x818955);}import{LabelView as _0x2e9012,View as _0x4cc9dc}from'ckeditor5/src/ui.js';function _0x47fd(){const _0x1f60f0=['true','tooltipPosition','ck-presence-list__marker','6EZPqxy','template','hasTooltip','getBackgroundColorClass','1225133PRCqXG','span','tag','5298ErTmJu','userView','markerView','ck-presence-list__list-item__tooltip','color','401528VQYOTc','36UmNPSI','2521860aumoIx','button','fire','div','isFocusable','1235kHlvKJ','ck-presence-list__list-item','setTemplate','bindTemplate','text','195316PAzhlm','347148kTQaeZ','execute','set','listitem','name','500808mSnCMp'];_0x47fd=function(){return _0x1f60f0;};return _0x47fd();}import{UserView as _0xdb1530}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x4cc9dc{[_0x2ad4f6(0x7d)];[_0x2ad4f6(0x7e)];constructor(_0x5a2507,_0x503353,_0x271933){const _0x5d2a72=_0x2ad4f6;super(_0x5a2507);const _0x23d544=this[_0x5d2a72(0x8b)];this[_0x5d2a72(0x90)](_0x5d2a72(0x87),!0x1),this[_0x5d2a72(0x90)](_0x5d2a72(0x77),!0x0),this[_0x5d2a72(0x90)](_0x5d2a72(0x73),''),this[_0x5d2a72(0x7d)]=new _0xdb1530(_0x5a2507,_0x503353),this[_0x5d2a72(0x7e)]=new at(_0x5a2507,_0x503353);const _0x5bcc88=new _0x2e9012(_0x5a2507);_0x5bcc88[_0x5d2a72(0x76)][_0x5d2a72(0x7b)]=_0x5d2a72(0x7a),_0x5bcc88[_0x5d2a72(0x8c)]=_0x503353[_0x5d2a72(0x92)];const _0x33f36e={'tag':_0x5d2a72(0x86),'attributes':{'class':['ck',_0x5d2a72(0x89)],'role':_0x5d2a72(0x91),'tabindex':_0x23d544['to'](_0x5d2a72(0x87),_0x1d0ef3=>!!_0x1d0ef3&&0x0),'aria-labelledby':_0x5bcc88['id'],'data-cke-tooltip-text':this[_0x5d2a72(0x7d)][_0x5d2a72(0x92)],'data-cke-tooltip-position':_0x23d544['to'](_0x5d2a72(0x73)),'data-cke-tooltip-disabled':_0x23d544['to'](_0x5d2a72(0x77),_0x3a7fcd=>!_0x3a7fcd),'data-cke-tooltip-class':_0x5d2a72(0x7f)},'children':[this[_0x5d2a72(0x7d)],this[_0x5d2a72(0x7e)],_0x5bcc88]};_0x271933&&(_0x33f36e[_0x5d2a72(0x7b)]=_0x5d2a72(0x84),_0x33f36e['on']={'click':_0x23d544['to'](()=>this[_0x5d2a72(0x85)](_0x5d2a72(0x8f)))}),this[_0x5d2a72(0x8a)](_0x33f36e);}}class at extends _0x4cc9dc{constructor(_0x52c326,_0x34cda0){const _0x3d0bf1=_0x2ad4f6;super(_0x52c326),this[_0x3d0bf1(0x8a)]({'tag':_0x3d0bf1(0x7a),'attributes':{'class':['ck',_0x3d0bf1(0x74),_0x34cda0[_0x3d0bf1(0x80)][_0x3d0bf1(0x78)]()],'aria-hidden':_0x3d0bf1(0x72)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x116b66=_0x32f6;(function(_0x1e9b45,_0x4a27ef){const _0x284012=_0x32f6,_0x5b4150=_0x1e9b45();while(!![]){try{const _0x3e762f=parseInt(_0x284012(0x132))/0x1+-parseInt(_0x284012(0x128))/0x2+parseInt(_0x284012(0x12c))/0x3+-parseInt(_0x284012(0x121))/0x4*(parseInt(_0x284012(0x12b))/0x5)+parseInt(_0x284012(0x117))/0x6*(parseInt(_0x284012(0x138))/0x7)+-parseInt(_0x284012(0x137))/0x8+-parseInt(_0x284012(0x11a))/0x9*(-parseInt(_0x284012(0x124))/0xa);if(_0x3e762f===_0x4a27ef)break;else _0x5b4150['push'](_0x5b4150['shift']());}catch(_0x15fa5f){_0x5b4150['push'](_0x5b4150['shift']());}}}(_0x2f84,0x47023));function _0x32f6(_0xfb10e7,_0x22a33f){const _0x2f84f1=_0x2f84();return _0x32f6=function(_0x32f609,_0x4bd994){_0x32f609=_0x32f609-0x112;let _0x55fb00=_0x2f84f1[_0x32f609];return _0x55fb00;},_0x32f6(_0xfb10e7,_0x22a33f);}function _0x2f84(){const _0x2007d2=['28Bidolu','element','div','2970970YUAZfn','isExpanded','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','631996cbTpxq','fire','focus','229510uSlptS','335970EqxTpa','items','presencelist:show','removeAttribute','setAttribute','querySelector','244747IdgJSX','ck-presence-list__list','presencelist:hide','change:hasPopup','list','4354352eQgYoX','7LHYLsn','.ck-presence-list__dropdown-list','keystrokes','hasPopup','relatedTarget','.ck-balloon-panel_with-arrow','1346574xSZHei','bindTemplate','createCollection','27YCWfgX','contains','listenTo','render','set','setTemplate','aria-expanded'];_0x2f84=function(){return _0x2007d2;};return _0x2f84();}import{View as _0x381bac}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x28e13b}from'ckeditor5/src/utils.js';import{getTranslation as _0xf1afb1}from'../../common-translations.js';export default class ts extends _0x381bac{[_0x116b66(0x12d)];[_0x116b66(0x113)];constructor(_0x432df9){const _0x2cbd6f=_0x116b66;super(_0x432df9);const _0x456aab=this[_0x2cbd6f(0x118)];this[_0x2cbd6f(0x12d)]=this[_0x2cbd6f(0x119)](),this[_0x2cbd6f(0x113)]=new _0x28e13b(),this[_0x2cbd6f(0x11e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2cbd6f(0x11f)]({'tag':_0x2cbd6f(0x123),'attributes':{'aria-haspopup':_0x456aab['if'](_0x2cbd6f(0x114)),'aria-expanded':_0x456aab['to'](_0x2cbd6f(0x125),_0x585148=>this[_0x2cbd6f(0x114)]&&String(_0x585148)),'aria-label':_0x456aab['to'](_0x2cbd6f(0x114),_0x33bee0=>_0xf1afb1(_0x432df9,_0x33bee0?_0x2cbd6f(0x127):_0x2cbd6f(0x126))),'role':_0x2cbd6f(0x136),'tabindex':_0x456aab['to'](_0x2cbd6f(0x114),_0xd5a4f3=>!!_0xd5a4f3&&0x0),'class':['ck',_0x2cbd6f(0x133)]},'children':this[_0x2cbd6f(0x12d)],'on':{'mouseenter':_0x456aab['to'](()=>this[_0x2cbd6f(0x129)](_0x2cbd6f(0x12e))),'mouseleave':_0x456aab['to'](_0x47bd11=>{const _0x4a1443=_0x2cbd6f,_0x4cba39=_0x47bd11,_0x453117=document[_0x4a1443(0x131)](_0x4a1443(0x112)),_0x39e2fe=document[_0x4a1443(0x131)](_0x4a1443(0x116));_0x453117?.[_0x4a1443(0x11b)](_0x4cba39[_0x4a1443(0x115)])||_0x39e2fe?.[_0x4a1443(0x11b)](_0x4cba39[_0x4a1443(0x115)])||this[_0x4a1443(0x129)](_0x4a1443(0x134));})}}),this['on'](_0x2cbd6f(0x135),(_0x2091b2,_0x4343a9,_0x2e0972)=>{const _0x28da4f=_0x2cbd6f;this[_0x28da4f(0x122)]&&(_0x2e0972?this[_0x28da4f(0x122)][_0x28da4f(0x130)](_0x28da4f(0x120),String(this[_0x28da4f(0x125)])):this[_0x28da4f(0x122)][_0x28da4f(0x12f)](_0x28da4f(0x120)));});}[_0x116b66(0x12a)](){const _0x3bfb10=_0x116b66;this[_0x3bfb10(0x122)][_0x3bfb10(0x12a)]();}[_0x116b66(0x11d)](){const _0x13ce47=_0x116b66;super[_0x13ce47(0x11d)](),this[_0x13ce47(0x113)][_0x13ce47(0x11c)](this[_0x13ce47(0x122)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc17bf8=_0x12c4;(function(_0x536b50,_0x4ce2ae){const _0x5d98a4=_0x12c4,_0x142707=_0x536b50();while(!![]){try{const _0x4b7718=parseInt(_0x5d98a4(0xe4))/0x1+-parseInt(_0x5d98a4(0xf0))/0x2+-parseInt(_0x5d98a4(0xe1))/0x3*(-parseInt(_0x5d98a4(0xec))/0x4)+-parseInt(_0x5d98a4(0xef))/0x5*(parseInt(_0x5d98a4(0xe3))/0x6)+parseInt(_0x5d98a4(0xdf))/0x7+-parseInt(_0x5d98a4(0xe0))/0x8*(parseInt(_0x5d98a4(0xf6))/0x9)+parseInt(_0x5d98a4(0xe9))/0xa*(parseInt(_0x5d98a4(0xf2))/0xb);if(_0x4b7718===_0x4ce2ae)break;else _0x142707['push'](_0x142707['shift']());}catch(_0x4f6d45){_0x142707['push'](_0x142707['shift']());}}}(_0x1092,0x3591d));function _0x1092(){const _0xa4f574=['43953qgabOg','bind','ck-reset','change','ck-rounded-corners','952190lNMikH','setTemplate','bindTemplate','1408840HTBbXv','isCollapsed','listenTo','845ywflyd','354624AcVLoU','set','33gPDqqd','first','ck-presence-list','inlineListView','99BQfMUa','locale','ck-presence-list--collapsed','tooltipPosition','hasPopup','div','counterView','1043343eFRcJy','278248AgyfPy','3aRTDni','items','1830rJZyeG'];_0x1092=function(){return _0xa4f574;};return _0x1092();}import{View as _0x1a8ecd}from'ckeditor5/src/ui.js';import _0x16db6f from'./presencecounterview.js';function _0x12c4(_0xecff5c,_0x2f8aa2){const _0x109241=_0x1092();return _0x12c4=function(_0x12c425,_0xf83e0d){_0x12c425=_0x12c425-0xd9;let _0x261a01=_0x109241[_0x12c425];return _0x261a01;},_0x12c4(_0xecff5c,_0x2f8aa2);}import _0x21eb37 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x1a8ecd{[_0xc17bf8(0xde)];[_0xc17bf8(0xf5)];constructor(_0xae7fe0,_0x42ccb9=0x6){const _0x3eb953=_0xc17bf8;super(_0xae7fe0);const _0x1b0db1=this[_0x3eb953(0xeb)];this[_0x3eb953(0xf1)](_0x3eb953(0xed),!0x0),this[_0x3eb953(0xde)]=new _0x16db6f(this[_0x3eb953(0xd9)],_0x42ccb9),this[_0x3eb953(0xf5)]=new _0x21eb37(_0xae7fe0),this[_0x3eb953(0xf5)][_0x3eb953(0xe5)](_0x3eb953(0xdc))['to'](this,_0x3eb953(0xed)),this[_0x3eb953(0xee)](this[_0x3eb953(0xf5)][_0x3eb953(0xe2)],_0x3eb953(0xe7),()=>{const _0x244218=_0x3eb953;for(const _0x3e49fa of this[_0x244218(0xf5)][_0x244218(0xe2)])_0x3e49fa[_0x244218(0xdb)]='s';this[_0x244218(0xf5)][_0x244218(0xe2)][_0x244218(0xf3)]&&(this[_0x244218(0xf5)][_0x244218(0xe2)][_0x244218(0xf3)][_0x244218(0xdb)]='se');}),this[_0x3eb953(0xea)]({'tag':_0x3eb953(0xdd),'attributes':{'class':['ck',_0x3eb953(0xf4),_0x3eb953(0xe6),_0x3eb953(0xe8),_0x1b0db1['if'](_0x3eb953(0xed),_0x3eb953(0xda))]},'children':[this[_0x3eb953(0xf5)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x39fb88)());[_0x1b2060(0x241)];static get[_0x1b2060(0x1f5)](){const _0xfdbb12=_0x1b2060;return[_0x38da24,_0xfdbb12(0x1ed),_0x4e0476,_0x118c38];}static get[_0x1b2060(0x1e7)](){const _0x428fab=_0x1b2060;return _0x428fab(0x205);}static get[_0x1b2060(0x214)](){return!0x0;}static get[_0x1b2060(0x1e1)](){return!0x0;}constructor(_0x523c14){const _0x32c77f=_0x1b2060;super(_0x523c14),this[_0x32c77f(0x241)]=new Map();}async[_0x1b2060(0x1e8)](){const _0x2e8982=_0x1b2060,_0x3ed091=this[_0x2e8982(0x23e)],_0x32e108=_0x3ed091[_0x2e8982(0x21f)][_0x2e8982(0x221)](_0x2e8982(0x1ed));if(_0x3ed091[_0x2e8982(0x21f)][_0x2e8982(0x221)](_0x38da24)[_0x2e8982(0x1e6)](this),_0x32e108[_0x2e8982(0x1e4)]={'addCommentThread':async({channelId:_0x53616e,threadId:_0x26b6e0,comments:_0x2b8476,resolvedAt:_0x135493,resolvedBy:_0x56f129,context:_0x507662,attributes:_0x3ff163})=>{const _0x4bfe0c=_0x2e8982,_0x3f0a65=await this[_0x4bfe0c(0x23b)](_0x53616e)[_0x4bfe0c(0x1f9)]({'commentThreadId':_0x26b6e0,'comments':_0x2b8476[_0x4bfe0c(0x21c)](_0x7b4b40=>function(_0x13d83a,_0x23ab2c,_0x22f1f7){const _0x29b1e1=_0x4bfe0c;return{'commentThreadId':_0x22f1f7,'commentId':_0x13d83a[_0x29b1e1(0x230)],'userId':_0x13d83a[_0x29b1e1(0x1df)],'content':_0x13d83a[_0x29b1e1(0x207)],'documentId':_0x23ab2c,'createdAt':_0x13d83a[_0x29b1e1(0x204)],'attributes':_0x13d83a[_0x29b1e1(0x20e)]||{}};}(_0x7b4b40,_0x53616e,_0x26b6e0)),'resolvedAt':_0x135493,'resolvedBy':_0x56f129,'context':_0x507662,'attributes':_0x3ff163})[_0x4bfe0c(0x1e0)](J);return{'threadId':_0x3f0a65[_0x4bfe0c(0x23d)],'comments':_0x3f0a65[_0x4bfe0c(0x1e9)]};},'getCommentThread':async({channelId:_0x4c3eb9,threadId:_0x515aae})=>{const _0x2eda74=_0x2e8982,_0x293e0c=await this[_0x2eda74(0x23b)](_0x4c3eb9)[_0x2eda74(0x225)](_0x515aae)[_0x2eda74(0x1e0)](J);return _0x293e0c[_0x2eda74(0x1ee)]?null:(await this[_0x2eda74(0x1e2)]([_0x293e0c]),{'threadId':_0x293e0c[_0x2eda74(0x23d)],'comments':_0x293e0c[_0x2eda74(0x1e9)][_0x2eda74(0x21c)](K),'context':_0x293e0c[_0x2eda74(0x23e)],'resolvedAt':_0x293e0c[_0x2eda74(0x239)],'resolvedBy':_0x293e0c[_0x2eda74(0x1eb)],'attributes':_0x293e0c[_0x2eda74(0x20e)]||{}});},'updateCommentThread':async({channelId:_0x5b4571,threadId:_0x275ec2,context:_0x28f72d,unlinkedAt:_0x3f9c6b,attributes:_0x1aef56})=>this[_0x2e8982(0x23b)](_0x5b4571)[_0x2e8982(0x202)]({'commentThreadId':_0x275ec2,'context':_0x28f72d,'attributes':_0x1aef56,'unlinkedAt':_0x3f9c6b})[_0x2e8982(0x1e0)](H)[_0x2e8982(0x1e0)](J),'resolveCommentThread':async({channelId:_0x50de8e,threadId:_0x1d262e})=>{const _0x341f5d=_0x2e8982,_0x7bdfae=await this[_0x341f5d(0x23b)](_0x50de8e)[_0x341f5d(0x208)](_0x1d262e)[_0x341f5d(0x1e0)](H)[_0x341f5d(0x1e0)](J);return{'threadId':_0x7bdfae[_0x341f5d(0x23d)],'resolvedAt':_0x7bdfae[_0x341f5d(0x239)],'resolvedBy':_0x7bdfae[_0x341f5d(0x1eb)]};},'reopenCommentThread':async({channelId:_0x336dfe,threadId:_0x54ba31})=>this[_0x2e8982(0x23b)](_0x336dfe)[_0x2e8982(0x209)](_0x54ba31)[_0x2e8982(0x1e0)](H)[_0x2e8982(0x1e0)](J),'removeCommentThread':({channelId:_0x126b2b,threadId:_0x1d6ca8})=>this[_0x2e8982(0x23b)](_0x126b2b)[_0x2e8982(0x200)](_0x1d6ca8)[_0x2e8982(0x1e0)](H)[_0x2e8982(0x1e0)](J),'addComment':({channelId:_0x3fb1d9,threadId:_0x390056,commentId:_0x254b26,content:_0x45d377,attributes:_0x4f6cd3})=>this[_0x2e8982(0x23b)](_0x3fb1d9)[_0x2e8982(0x23a)](_0x390056,_0x254b26,_0x45d377,_0x4f6cd3)[_0x2e8982(0x1e0)](J),'updateComment':({channelId:_0x19f067,threadId:_0x343274,commentId:_0x18f65a,content:_0x4bbfd3,attributes:_0x2695dc})=>this[_0x2e8982(0x23b)](_0x19f067)[_0x2e8982(0x215)](_0x343274,_0x18f65a,_0x4bbfd3,_0x2695dc)[_0x2e8982(0x1e0)](H)[_0x2e8982(0x1e0)](J),'removeComment':({channelId:_0x49b245,threadId:_0x373bd5,commentId:_0x395d92})=>this[_0x2e8982(0x23b)](_0x49b245)[_0x2e8982(0x1dd)](_0x373bd5,_0x395d92)[_0x2e8982(0x1e0)](H)[_0x2e8982(0x1e0)](J)},_0x3ed091 instanceof _0x3e6962){const _0x184a1e=_0x3ed091[_0x2e8982(0x226)][_0x2e8982(0x221)](_0x2e8982(0x22e)),_0x36cb2a=_0x3ed091[_0x2e8982(0x21f)][_0x2e8982(0x221)](_0x4e0476);await this[_0x2e8982(0x219)](_0x184a1e);const _0x5f58e5=await this[_0x2e8982(0x241)][_0x2e8982(0x221)](_0x184a1e)[_0x2e8982(0x206)]();this[_0x2e8982(0x20a)](_0x36cb2a,_0x2e8982(0x217)+_0x184a1e,(_0xa904b9,{session:_0x4c5277})=>{const _0x12b628=_0x2e8982;_0x4c5277['id']===_0x36cb2a[_0x12b628(0x201)]&&(_0xa904b9[_0x12b628(0x234)](),this[_0x12b628(0x23e)][_0x12b628(0x21f)][_0x12b628(0x221)](_0x12b628(0x222))[_0x12b628(0x232)](_0x4c5277[_0x12b628(0x21d)],_0x184a1e));}),_0x36cb2a[_0x2e8982(0x20c)](_0x184a1e,_0x5f58e5);}}async[_0x1b2060(0x219)](_0x289a4d){const _0x45db82=_0x1b2060;if(this[_0x45db82(0x241)][_0x45db82(0x1ff)](_0x289a4d))throw new _0x4fde01(_0x45db82(0x237),null,{'channelId':_0x289a4d});const _0x7f3adf=this[_0x45db82(0x23e)][_0x45db82(0x21f)][_0x45db82(0x221)](_0x45db82(0x1ed)),_0x2452ac=new a[(_0x45db82(0x1f8))](_0x289a4d);this[_0x45db82(0x241)][_0x45db82(0x1f3)](_0x289a4d,_0x2452ac),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x1ec),(_0x2ef15c,_0x42f18a)=>{const _0xdc4356=_0x45db82,{commentThreadId:_0x5d14db,documentId:_0x105404,context:_0x2f4ad8,attributes:_0xdc52ab,resolvedAt:_0x45ce2a,resolvedBy:_0x11698b,comments:_0x32b845}=_0x42f18a;_0x7f3adf[_0xdc4356(0x225)](_0x5d14db)||_0x7f3adf[_0xdc4356(0x1f9)]({'threadId':_0x5d14db,'channelId':_0x105404,'comments':_0x32b845?_0x32b845[_0xdc4356(0x21c)](K):[],'context':_0x2f4ad8,'attributes':_0xdc52ab,'resolvedAt':_0x45ce2a,'resolvedBy':_0x11698b,'isFromAdapter':!0x0});}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x236),(_0x4bb134,{commentThreadId:_0x205d0e,documentId:_0x2492fa,context:_0x88979,unlinkedAt:_0x2f4694,attributes:_0x5964f9})=>{const _0x5ae3e3=_0x45db82;_0x7f3adf[_0x5ae3e3(0x225)](_0x205d0e)&&_0x7f3adf[_0x5ae3e3(0x202)]({'threadId':_0x205d0e,'channelId':_0x2492fa,'context':_0x88979,'unlinkedAt':_0x2f4694,'attributes':_0x5964f9,'isFromAdapter':!0x0});}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x240),(_0x35ecf3,{commentThreadId:_0x3d90aa,resolvedBy:_0x3959b8,resolvedAt:_0x500292})=>{const _0x14f356=_0x45db82,_0x170a61=_0x7f3adf[_0x14f356(0x225)](_0x3d90aa);_0x170a61&&_0x170a61[_0x14f356(0x1f6)]({'resolvedBy':_0x3959b8,'resolvedAt':_0x500292,'isFromAdapter':!0x0});}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x1fe),(_0x47a38c,{commentThreadId:_0x82dc9b})=>{const _0x5c6dab=_0x45db82,_0x2b7234=_0x7f3adf[_0x5c6dab(0x225)](_0x82dc9b);_0x2b7234&&_0x2b7234[_0x5c6dab(0x235)]({'isFromAdapter':!0x0});}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x20b),(_0x15403f,{commentThreadId:_0x5c4bfd})=>{const _0x42a02e=_0x45db82,_0x29e45f=_0x7f3adf[_0x42a02e(0x225)](_0x5c4bfd);_0x29e45f&&_0x29e45f[_0x42a02e(0x213)]({'isFromAdapter':!0x0});}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x20f),(_0x3432b5,_0x34acb3)=>{const _0x42b9dd=_0x45db82,_0x45a184=_0x34acb3[_0x42b9dd(0x23d)],_0x434b95=_0x7f3adf[_0x42b9dd(0x225)](_0x45a184);_0x434b95&&_0x434b95[_0x42b9dd(0x23a)]({...K(_0x34acb3),'isFromAdapter':!0x0});}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x203),(_0x1f2c79,{commentThreadId:_0x5409af,commentId:_0x4f96d6,content:_0x1f5cff,attributes:_0x335998})=>{const _0x795325=_0x45db82,_0x3e436f=_0x7f3adf[_0x795325(0x225)](_0x5409af);if(_0x3e436f){const _0x211998=_0x3e436f[_0x795325(0x223)](_0x4f96d6);_0x211998&&_0x211998[_0x795325(0x1fc)]({'content':_0x1f5cff,'attributes':_0x335998,'isFromAdapter':!0x0});}}),this[_0x45db82(0x20a)](_0x2452ac,_0x45db82(0x21b),(_0x24f716,{commentThreadId:_0x4712c3,commentId:_0x5beb35})=>{const _0x13a285=_0x45db82,_0x30458b=_0x7f3adf[_0x13a285(0x225)](_0x4712c3);if(_0x30458b){const _0x5a1c1b=_0x30458b[_0x13a285(0x223)](_0x5beb35);_0x5a1c1b&&_0x5a1c1b[_0x13a285(0x213)]({'isFromAdapter':!0x0});}}),await this[_0x45db82(0x212)](_0x289a4d);}[_0x1b2060(0x238)](){const _0x5dfada=_0x1b2060;if(this[_0x5dfada(0x23e)]instanceof _0x3e6962){const _0x32845b=this[_0x5dfada(0x23e)][_0x5dfada(0x226)][_0x5dfada(0x221)](_0x5dfada(0x22e));this[_0x5dfada(0x231)](_0x32845b);}}[_0x1b2060(0x231)](_0x285fb3){const _0x23166a=_0x1b2060;if(!this[_0x23166a(0x241)][_0x23166a(0x1ff)](_0x285fb3))throw new _0x4fde01(_0x23166a(0x22d),null,{'channelId':_0x285fb3});this[_0x23166a(0x23b)](_0x285fb3)[_0x23166a(0x228)](),this[_0x23166a(0x241)][_0x23166a(0x220)](_0x285fb3);}async[_0x1b2060(0x216)](){const _0x47b4fc=_0x1b2060;for(const _0x1711c1 of this[_0x47b4fc(0x241)][_0x47b4fc(0x1f0)]())await this[_0x47b4fc(0x212)](_0x1711c1);if(this[_0x47b4fc(0x23e)]instanceof _0x3e6962){const _0x3051ec=this[_0x47b4fc(0x23e)][_0x47b4fc(0x226)][_0x47b4fc(0x221)](_0x47b4fc(0x22e)),_0x5c0737=this[_0x47b4fc(0x23e)][_0x47b4fc(0x21f)][_0x47b4fc(0x221)](_0x4e0476);_0x5c0737[_0x47b4fc(0x210)](_0x3051ec);const _0x2875c3=await this[_0x47b4fc(0x241)][_0x47b4fc(0x221)](_0x3051ec)[_0x47b4fc(0x206)]();_0x5c0737[_0x47b4fc(0x20c)](_0x3051ec,_0x2875c3);}}async[_0x1b2060(0x212)](_0x1154fd){const _0x456e39=_0x1b2060,{connection:_0x5339ff}=this[_0x456e39(0x23e)][_0x456e39(0x21f)][_0x456e39(0x221)](_0x38da24),_0x3aabdb=this[_0x456e39(0x23e)][_0x456e39(0x21f)][_0x456e39(0x221)](_0x456e39(0x1ed)),_0x26c8fc=this[_0x456e39(0x241)][_0x456e39(0x221)](_0x1154fd),_0x4bdbdf=await _0x26c8fc[_0x456e39(0x1ea)](_0x5339ff);await this[_0x456e39(0x1e2)](_0x4bdbdf);const _0x1d909e=new Set(Array[_0x456e39(0x1ef)](_0x3aabdb[_0x456e39(0x229)]({'channelId':_0x1154fd}),_0x15b567=>_0x15b567['id']));for(const _0x574789 of _0x4bdbdf)_0x574789[_0x456e39(0x1ee)]||_0x1d909e[_0x456e39(0x220)](_0x574789[_0x456e39(0x23d)]);for(const _0x1a86ae of _0x1d909e)_0x3aabdb[_0x456e39(0x225)](_0x1a86ae)[_0x456e39(0x213)]({'isFromAdapter':!0x0});for(const _0x101eb3 of _0x4bdbdf){let _0x39bcf6=_0x3aabdb[_0x456e39(0x225)](_0x101eb3[_0x456e39(0x23d)]);const {commentThreadId:_0x269a2b,context:_0x10ed7f,attributes:_0x5b97a3,resolvedBy:_0x5274f6,resolvedAt:_0x2d01a2,unlinkedAt:_0x50d9ce,deletedAt:_0x4485f6}=_0x101eb3;if(_0x4485f6)continue;_0x39bcf6||(_0x39bcf6=_0x3aabdb[_0x456e39(0x1f9)]({'channelId':_0x1154fd,'threadId':_0x269a2b,'context':_0x10ed7f,'attributes':_0x5b97a3||{},'resolvedBy':_0x5274f6,'resolvedAt':_0x2d01a2,'unlinkedAt':_0x50d9ce,'isFromAdapter':!0x0}));const _0x13da86=new Set(Array[_0x456e39(0x1ef)](_0x39bcf6[_0x456e39(0x1e9)],_0x4db6bf=>_0x4db6bf['id']));for(const _0x577d89 of _0x101eb3[_0x456e39(0x1e9)])_0x13da86[_0x456e39(0x220)](_0x577d89[_0x456e39(0x230)]);for(const _0x1abd65 of _0x13da86)_0x39bcf6[_0x456e39(0x223)](_0x1abd65)[_0x456e39(0x213)]({'isFromAdapter':!0x0});for(const _0x5a3fce of _0x101eb3[_0x456e39(0x1e9)]){const _0x23d18a=_0x39bcf6[_0x456e39(0x223)](_0x5a3fce[_0x456e39(0x230)]);_0x23d18a?_0x23d18a[_0x456e39(0x207)]!==_0x5a3fce[_0x456e39(0x207)]&&_0x23d18a[_0x456e39(0x1fc)]({'content':_0x5a3fce[_0x456e39(0x207)],'isFromAdapter':!0x0}):_0x39bcf6[_0x456e39(0x23a)](Object[_0x456e39(0x1fd)](K(_0x5a3fce),{'isFromAdapter':!0x0}));}}}[_0x1b2060(0x23b)](_0x5a28fc){const _0x5270d3=_0x1b2060;if(!this[_0x5270d3(0x241)][_0x5270d3(0x1ff)](_0x5a28fc))throw new _0x4fde01(_0x5270d3(0x227),null,{'channelId':_0x5a28fc});return this[_0x5270d3(0x241)][_0x5270d3(0x221)](_0x5a28fc);}async[_0x1b2060(0x1e2)](_0x2a7ec0){const _0x235cca=_0x1b2060,_0x54c746=this[_0x235cca(0x23e)][_0x235cca(0x21f)][_0x235cca(0x221)](_0x118c38),{connection:_0x5c2d2c}=this[_0x235cca(0x23e)][_0x235cca(0x21f)][_0x235cca(0x221)](_0x38da24),_0x1cd7d9=new Set();for(const {resolvedBy:_0xec9176,comments:_0x305f67}of _0x2a7ec0){_0xec9176&&!_0x54c746[_0x235cca(0x224)](_0xec9176)&&_0x1cd7d9[_0x235cca(0x1e5)](_0xec9176);for(const {userId:_0x59fe4c}of _0x305f67)_0x54c746[_0x235cca(0x224)](_0x59fe4c)||_0x1cd7d9[_0x235cca(0x1e5)](_0x59fe4c);}if(0x0===_0x1cd7d9[_0x235cca(0x23c)])return;const _0x74843a=await _0x5a23d4[_0x235cca(0x22f)](_0x5c2d2c,Array[_0x235cca(0x1ef)](_0x1cd7d9));for(const _0x2f51da of _0x74843a)_0x54c746[_0x235cca(0x224)](_0x2f51da['id'])||_0x54c746[_0x235cca(0x1fa)](_0x2f51da);}}export default a;async function H(_0xdb3dc1){const _0x121eba=_0x1b2060;if(_0x121eba(0x22a)!==_0xdb3dc1[_0x121eba(0x1e3)])throw _0xdb3dc1;}function J(_0x362916){const _0x21bbd9=_0x1b2060;if((_0x55487f=_0x362916)[_0x21bbd9(0x1de)][_0x21bbd9(0x218)](_0x21bbd9(0x1fb))||_0x55487f[_0x21bbd9(0x1de)][_0x21bbd9(0x218)](_0x21bbd9(0x1f4))||_0x55487f[_0x21bbd9(0x1de)][_0x21bbd9(0x218)](_0x21bbd9(0x1f1)))return new Promise(()=>{});var _0x55487f;throw _0x362916;}function K(_0x538402){const _0x11ca10=_0x1b2060;return{'threadId':_0x538402[_0x11ca10(0x23d)],'commentId':_0x538402[_0x11ca10(0x230)],'content':_0x538402[_0x11ca10(0x207)],'createdAt':_0x538402[_0x11ca10(0x204)],'authorId':_0x538402[_0x11ca10(0x21e)],'attributes':_0x538402[_0x11ca10(0x20e)]||{}};}
|
|
23
|
+
const _0x24d164=_0x32b4;(function(_0x1abcf6,_0x40d2f2){const _0x288765=_0x32b4,_0x4de4eb=_0x1abcf6();while(!![]){try{const _0x505f0d=-parseInt(_0x288765(0x157))/0x1*(parseInt(_0x288765(0x17e))/0x2)+parseInt(_0x288765(0x159))/0x3+-parseInt(_0x288765(0x139))/0x4*(parseInt(_0x288765(0x175))/0x5)+parseInt(_0x288765(0x130))/0x6+-parseInt(_0x288765(0x15c))/0x7*(parseInt(_0x288765(0x162))/0x8)+-parseInt(_0x288765(0x134))/0x9*(-parseInt(_0x288765(0x176))/0xa)+parseInt(_0x288765(0x137))/0xb;if(_0x505f0d===_0x40d2f2)break;else _0x4de4eb['push'](_0x4de4eb['shift']());}catch(_0x295c3f){_0x4de4eb['push'](_0x4de4eb['shift']());}}}(_0x3653,0xedb10));import{Context as _0x208897,ContextPlugin as _0x1b18ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x4347db}from'ckeditor5/src/utils.js';function _0x32b4(_0x14a326,_0x34f177){const _0x365345=_0x3653();return _0x32b4=function(_0x32b4d7,_0x388010){_0x32b4d7=_0x32b4d7-0x12d;let _0x418022=_0x365345[_0x32b4d7];return _0x418022;},_0x32b4(_0x14a326,_0x34f177);}import{Users as _0x284ff1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x335be2,User as _0x5c978d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3653(){const _0x582281=['permissions','mySessionId','remove','updateCommentThread','getComment','message','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','cloudservicescommentsadapter-connect-already-connected','update','removeCommentThread','_services','getCommentThreads','4972122zyyDie','_getService','addComment','authorId','9ZFbyuy','commentAdded','unregister','2722522bzYOwd','resolvedBy','93260MMHMkp','_connectService','_fetchMissingUsersForThreads','destroy','deletedAt','assign','delete','catch','getMany','CommentsService','register','commentThreadResolved','Permissions','isOfficialPlugin','add','CommentsRepository','updateComment','resolveCommentThread','listenTo','createdAt','off','set','commentThreadAdded','init','cloudservicescommentsadapter-disconnect-not-exist','has','commentThreadReopened','reopen','pluginName','plugins','1164676AAznHV','_setUpService','1133988yGqYjJ','404','cloud-services-internal-error:\x20Not\x20connected.','14gJwcyt','reconnect','setPermissions','getConnectedSessions','addCommentThread','startsWith','2378152TNcOmx','disconnect','addToReconnectionStack','config','getUser','sessionAdd:','commentThreadUpdated','content','get','adapter','userId','keys','addUser','resolvedAt','CloudServicesCommentsAdapter','code','collaboration.channelId','comments','getCommentThread','85OePCHV','16749680PkhpLP','_terminateService','removeComment','size','map','commentThreadId','commentRemoved','commentUpdated','2AxyvxI','connect','reopenCommentThread','attributes','from','cloudservicescommentsadapter-service-not-exist','commentThreadRemoved','requires','commentId','context','resolve'];_0x3653=function(){return _0x582281;};return _0x3653();}import _0x4100fa from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d83a4 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1b18ef{static [_0x24d164(0x142)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x335be2)());[_0x24d164(0x12e)];static get[_0x24d164(0x185)](){const _0x41b1f7=_0x24d164;return[_0x4100fa,_0x41b1f7(0x148),_0x4d83a4,_0x284ff1];}static get[_0x24d164(0x155)](){const _0x14c8c2=_0x24d164;return _0x14c8c2(0x170);}static get[_0x24d164(0x146)](){return!0x0;}static get[_0x24d164(0x191)](){return!0x0;}constructor(_0x4b49c5){const _0x2ba187=_0x24d164;super(_0x4b49c5),this[_0x2ba187(0x12e)]=new Map();}async[_0x24d164(0x150)](){const _0x3cd985=_0x24d164,_0x5f0e36=this[_0x3cd985(0x187)],_0x281cdf=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x3cd985(0x148));if(_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4100fa)[_0x3cd985(0x164)](this),_0x281cdf[_0x3cd985(0x16b)]={'addCommentThread':async({channelId:_0xbbdf89,threadId:_0x2f970f,comments:_0x58033c,resolvedAt:_0x49b488,resolvedBy:_0x294300,context:_0x98e892,attributes:_0x3f75e1})=>{const _0x507ed8=_0x3cd985,_0x4af3e1=await this[_0x507ed8(0x131)](_0xbbdf89)[_0x507ed8(0x160)]({'commentThreadId':_0x2f970f,'comments':_0x58033c[_0x507ed8(0x17a)](_0x21f961=>function(_0xf3104a,_0x3aea96,_0x672ab3){const _0x50e09b=_0x507ed8;return{'commentThreadId':_0x672ab3,'commentId':_0xf3104a[_0x50e09b(0x186)],'userId':_0xf3104a[_0x50e09b(0x133)],'content':_0xf3104a[_0x50e09b(0x169)],'documentId':_0x3aea96,'createdAt':_0xf3104a[_0x50e09b(0x14c)],'attributes':_0xf3104a[_0x50e09b(0x181)]||{}};}(_0x21f961,_0xbbdf89,_0x2f970f)),'resolvedAt':_0x49b488,'resolvedBy':_0x294300,'context':_0x98e892,'attributes':_0x3f75e1})[_0x507ed8(0x140)](R);return{'threadId':_0x4af3e1[_0x507ed8(0x17b)],'comments':_0x4af3e1[_0x507ed8(0x173)]};},'getCommentThread':async({channelId:_0x1665cb,threadId:_0xedd0a8})=>{const _0x25f028=_0x3cd985,_0x129f75=await this[_0x25f028(0x131)](_0x1665cb)[_0x25f028(0x174)](_0xedd0a8)[_0x25f028(0x140)](R);return _0x129f75[_0x25f028(0x13d)]?null:(await this[_0x25f028(0x13b)]([_0x129f75]),{'threadId':_0x129f75[_0x25f028(0x17b)],'comments':_0x129f75[_0x25f028(0x173)][_0x25f028(0x17a)](_),'context':_0x129f75[_0x25f028(0x187)],'resolvedAt':_0x129f75[_0x25f028(0x16f)],'resolvedBy':_0x129f75[_0x25f028(0x138)],'attributes':_0x129f75[_0x25f028(0x181)]||{}});},'updateCommentThread':async({channelId:_0x420185,threadId:_0x42d30a,context:_0x58dab8,unlinkedAt:_0x284985,attributes:_0x4421a4})=>this[_0x3cd985(0x131)](_0x420185)[_0x3cd985(0x18c)]({'commentThreadId':_0x42d30a,'context':_0x58dab8,'attributes':_0x4421a4,'unlinkedAt':_0x284985})[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'resolveCommentThread':async({channelId:_0xbb4d69,threadId:_0x2a913f})=>{const _0x830af6=_0x3cd985,_0x2ca5eb=await this[_0x830af6(0x131)](_0xbb4d69)[_0x830af6(0x14a)](_0x2a913f)[_0x830af6(0x140)](S)[_0x830af6(0x140)](R);return{'threadId':_0x2ca5eb[_0x830af6(0x17b)],'resolvedAt':_0x2ca5eb[_0x830af6(0x16f)],'resolvedBy':_0x2ca5eb[_0x830af6(0x138)]};},'reopenCommentThread':async({channelId:_0x4d9284,threadId:_0x28a97d})=>this[_0x3cd985(0x131)](_0x4d9284)[_0x3cd985(0x180)](_0x28a97d)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeCommentThread':({channelId:_0x5e3a18,threadId:_0x582f89})=>this[_0x3cd985(0x131)](_0x5e3a18)[_0x3cd985(0x12d)](_0x582f89)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'addComment':({channelId:_0x4cd90d,threadId:_0x3d6b7a,commentId:_0x8de9bb,content:_0x5d4469,attributes:_0x41766c})=>this[_0x3cd985(0x131)](_0x4cd90d)[_0x3cd985(0x132)](_0x3d6b7a,_0x8de9bb,_0x5d4469,_0x41766c)[_0x3cd985(0x140)](R),'updateComment':({channelId:_0x557689,threadId:_0x23063d,commentId:_0x2dbfe3,content:_0x4fac79,attributes:_0x230aff})=>this[_0x3cd985(0x131)](_0x557689)[_0x3cd985(0x149)](_0x23063d,_0x2dbfe3,_0x4fac79,_0x230aff)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeComment':({channelId:_0x3eaa05,threadId:_0x338681,commentId:_0x1daf10})=>this[_0x3cd985(0x131)](_0x3eaa05)[_0x3cd985(0x178)](_0x338681,_0x1daf10)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R)},_0x5f0e36 instanceof _0x208897){const _0x37f549=_0x5f0e36[_0x3cd985(0x165)][_0x3cd985(0x16a)](_0x3cd985(0x172)),_0x4b107c=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4d83a4);await this[_0x3cd985(0x158)](_0x37f549);const _0x3b80fb=await this[_0x3cd985(0x12e)][_0x3cd985(0x16a)](_0x37f549)[_0x3cd985(0x15f)]();this[_0x3cd985(0x14b)](_0x4b107c,_0x3cd985(0x167)+_0x37f549,(_0x3d25bd,{session:_0xc12924})=>{const _0x7d6915=_0x3cd985;_0xc12924['id']===_0x4b107c[_0x7d6915(0x18a)]&&(_0x3d25bd[_0x7d6915(0x14d)](),this[_0x7d6915(0x187)][_0x7d6915(0x156)][_0x7d6915(0x16a)](_0x7d6915(0x145))[_0x7d6915(0x15e)](_0xc12924[_0x7d6915(0x189)],_0x37f549));}),_0x4b107c[_0x3cd985(0x143)](_0x37f549,_0x3b80fb);}}async[_0x24d164(0x158)](_0x502e7e){const _0x270e41=_0x24d164;if(this[_0x270e41(0x12e)][_0x270e41(0x152)](_0x502e7e))throw new _0x4347db(_0x270e41(0x192),null,{'channelId':_0x502e7e});const _0x201814=this[_0x270e41(0x187)][_0x270e41(0x156)][_0x270e41(0x16a)](_0x270e41(0x148)),_0x3fadc9=new a[(_0x270e41(0x142))](_0x502e7e);this[_0x270e41(0x12e)][_0x270e41(0x14e)](_0x502e7e,_0x3fadc9),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x14f),(_0x35edef,_0x71b2fb)=>{const _0x1cdf07=_0x270e41,{commentThreadId:_0x5b09d1,documentId:_0x36e3d6,context:_0x48a891,attributes:_0x142595,resolvedAt:_0x7c0e45,resolvedBy:_0x5c5f07,comments:_0x5cd766}=_0x71b2fb;_0x201814[_0x1cdf07(0x174)](_0x5b09d1)||_0x201814[_0x1cdf07(0x160)]({'threadId':_0x5b09d1,'channelId':_0x36e3d6,'comments':_0x5cd766?_0x5cd766[_0x1cdf07(0x17a)](_):[],'context':_0x48a891,'attributes':_0x142595,'resolvedAt':_0x7c0e45,'resolvedBy':_0x5c5f07,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x168),(_0x242f26,{commentThreadId:_0xca6424,documentId:_0x5ad789,context:_0x5e1632,unlinkedAt:_0x2ead27,attributes:_0x1dc3c9})=>{const _0xeebe8a=_0x270e41;_0x201814[_0xeebe8a(0x174)](_0xca6424)&&_0x201814[_0xeebe8a(0x18c)]({'threadId':_0xca6424,'channelId':_0x5ad789,'context':_0x5e1632,'unlinkedAt':_0x2ead27,'attributes':_0x1dc3c9,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x144),(_0x3cda1c,{commentThreadId:_0x3e5572,resolvedBy:_0x27dc91,resolvedAt:_0x5927f4})=>{const _0x31891f=_0x270e41,_0x22aa22=_0x201814[_0x31891f(0x174)](_0x3e5572);_0x22aa22&&_0x22aa22[_0x31891f(0x188)]({'resolvedBy':_0x27dc91,'resolvedAt':_0x5927f4,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x153),(_0x136636,{commentThreadId:_0x4b28fc})=>{const _0x468883=_0x270e41,_0x13ef95=_0x201814[_0x468883(0x174)](_0x4b28fc);_0x13ef95&&_0x13ef95[_0x468883(0x154)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x184),(_0x45160c,{commentThreadId:_0x767302})=>{const _0x302c28=_0x270e41,_0x5e61a6=_0x201814[_0x302c28(0x174)](_0x767302);_0x5e61a6&&_0x5e61a6[_0x302c28(0x18b)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x135),(_0x7c1e51,_0x4f0591)=>{const _0x19b2b2=_0x270e41,_0x4638be=_0x4f0591[_0x19b2b2(0x17b)],_0x103a0a=_0x201814[_0x19b2b2(0x174)](_0x4638be);_0x103a0a&&_0x103a0a[_0x19b2b2(0x132)]({..._(_0x4f0591),'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17d),(_0x57eb32,{commentThreadId:_0x3f241a,commentId:_0x515191,content:_0x4a9e82,attributes:_0x2d808f})=>{const _0x4a6a70=_0x270e41,_0x3f3d04=_0x201814[_0x4a6a70(0x174)](_0x3f241a);if(_0x3f3d04){const _0x429d51=_0x3f3d04[_0x4a6a70(0x18d)](_0x515191);_0x429d51&&_0x429d51[_0x4a6a70(0x193)]({'content':_0x4a9e82,'attributes':_0x2d808f,'isFromAdapter':!0x0});}}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17c),(_0x223529,{commentThreadId:_0x559a3c,commentId:_0x5aef8b})=>{const _0x1d242a=_0x270e41,_0xe4336e=_0x201814[_0x1d242a(0x174)](_0x559a3c);if(_0xe4336e){const _0x4e6494=_0xe4336e[_0x1d242a(0x18d)](_0x5aef8b);_0x4e6494&&_0x4e6494[_0x1d242a(0x18b)]({'isFromAdapter':!0x0});}}),await this[_0x270e41(0x13a)](_0x502e7e);}[_0x24d164(0x13c)](){const _0x4901a4=_0x24d164;if(this[_0x4901a4(0x187)]instanceof _0x208897){const _0x316a65=this[_0x4901a4(0x187)][_0x4901a4(0x165)][_0x4901a4(0x16a)](_0x4901a4(0x172));this[_0x4901a4(0x177)](_0x316a65);}}[_0x24d164(0x177)](_0x239553){const _0x346feb=_0x24d164;if(!this[_0x346feb(0x12e)][_0x346feb(0x152)](_0x239553))throw new _0x4347db(_0x346feb(0x151),null,{'channelId':_0x239553});this[_0x346feb(0x131)](_0x239553)[_0x346feb(0x163)](),this[_0x346feb(0x12e)][_0x346feb(0x13f)](_0x239553);}async[_0x24d164(0x15d)](){const _0x4a3658=_0x24d164;for(const _0x16f089 of this[_0x4a3658(0x12e)][_0x4a3658(0x16d)]())await this[_0x4a3658(0x13a)](_0x16f089);if(this[_0x4a3658(0x187)]instanceof _0x208897){const _0x23ef38=this[_0x4a3658(0x187)][_0x4a3658(0x165)][_0x4a3658(0x16a)](_0x4a3658(0x172)),_0x350f5c=this[_0x4a3658(0x187)][_0x4a3658(0x156)][_0x4a3658(0x16a)](_0x4d83a4);_0x350f5c[_0x4a3658(0x136)](_0x23ef38);const _0x496294=await this[_0x4a3658(0x12e)][_0x4a3658(0x16a)](_0x23ef38)[_0x4a3658(0x15f)]();_0x350f5c[_0x4a3658(0x143)](_0x23ef38,_0x496294);}}async[_0x24d164(0x13a)](_0x1babd9){const _0x44785a=_0x24d164,{connection:_0x255bca}=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x4100fa),_0x7bbfac=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x44785a(0x148)),_0x49fa68=this[_0x44785a(0x12e)][_0x44785a(0x16a)](_0x1babd9),_0x10ae1c=await _0x49fa68[_0x44785a(0x17f)](_0x255bca);await this[_0x44785a(0x13b)](_0x10ae1c);const _0x326613=new Set(Array[_0x44785a(0x182)](_0x7bbfac[_0x44785a(0x12f)]({'channelId':_0x1babd9}),_0x30d39b=>_0x30d39b['id']));for(const _0x5d54dc of _0x10ae1c)_0x5d54dc[_0x44785a(0x13d)]||_0x326613[_0x44785a(0x13f)](_0x5d54dc[_0x44785a(0x17b)]);for(const _0x3202cd of _0x326613)_0x7bbfac[_0x44785a(0x174)](_0x3202cd)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x804dfa of _0x10ae1c){let _0x181c27=_0x7bbfac[_0x44785a(0x174)](_0x804dfa[_0x44785a(0x17b)]);const {commentThreadId:_0x53774e,context:_0x457ea4,attributes:_0x197ccc,resolvedBy:_0x1dc872,resolvedAt:_0x161e50,unlinkedAt:_0x190228,deletedAt:_0x448ef8}=_0x804dfa;if(_0x448ef8)continue;_0x181c27||(_0x181c27=_0x7bbfac[_0x44785a(0x160)]({'channelId':_0x1babd9,'threadId':_0x53774e,'context':_0x457ea4,'attributes':_0x197ccc||{},'resolvedBy':_0x1dc872,'resolvedAt':_0x161e50,'unlinkedAt':_0x190228,'isFromAdapter':!0x0}));const _0xc26726=new Set(Array[_0x44785a(0x182)](_0x181c27[_0x44785a(0x173)],_0x717fbc=>_0x717fbc['id']));for(const _0x594cd0 of _0x804dfa[_0x44785a(0x173)])_0xc26726[_0x44785a(0x13f)](_0x594cd0[_0x44785a(0x186)]);for(const _0x57d0ab of _0xc26726)_0x181c27[_0x44785a(0x18d)](_0x57d0ab)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x10bc2d of _0x804dfa[_0x44785a(0x173)]){const _0x27431a=_0x181c27[_0x44785a(0x18d)](_0x10bc2d[_0x44785a(0x186)]);_0x27431a?_0x27431a[_0x44785a(0x169)]!==_0x10bc2d[_0x44785a(0x169)]&&_0x27431a[_0x44785a(0x193)]({'content':_0x10bc2d[_0x44785a(0x169)],'isFromAdapter':!0x0}):_0x181c27[_0x44785a(0x132)](Object[_0x44785a(0x13e)](_(_0x10bc2d),{'isFromAdapter':!0x0}));}}}[_0x24d164(0x131)](_0x617ffd){const _0x4179cf=_0x24d164;if(!this[_0x4179cf(0x12e)][_0x4179cf(0x152)](_0x617ffd))throw new _0x4347db(_0x4179cf(0x183),null,{'channelId':_0x617ffd});return this[_0x4179cf(0x12e)][_0x4179cf(0x16a)](_0x617ffd);}async[_0x24d164(0x13b)](_0x4551bb){const _0x4b3cac=_0x24d164,_0x3d2851=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x284ff1),{connection:_0x4c8df8}=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x4100fa),_0x14bdf9=new Set();for(const {resolvedBy:_0xc52791,comments:_0x33b271}of _0x4551bb){_0xc52791&&!_0x3d2851[_0x4b3cac(0x166)](_0xc52791)&&_0x14bdf9[_0x4b3cac(0x147)](_0xc52791);for(const {userId:_0x37f034}of _0x33b271)_0x3d2851[_0x4b3cac(0x166)](_0x37f034)||_0x14bdf9[_0x4b3cac(0x147)](_0x37f034);}if(0x0===_0x14bdf9[_0x4b3cac(0x179)])return;const _0x6bdd4a=await _0x5c978d[_0x4b3cac(0x141)](_0x4c8df8,Array[_0x4b3cac(0x182)](_0x14bdf9));for(const _0x4c1cfa of _0x6bdd4a)_0x3d2851[_0x4b3cac(0x166)](_0x4c1cfa['id'])||_0x3d2851[_0x4b3cac(0x16e)](_0x4c1cfa);}}export default a;async function S(_0x1185c9){const _0x2cf325=_0x24d164;if(_0x2cf325(0x15a)!==_0x1185c9[_0x2cf325(0x171)])throw _0x1185c9;}function R(_0x490678){const _0x27c3d0=_0x24d164;if((_0x2eef86=_0x490678)[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x18f))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x15b))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x190)))return new Promise(()=>{});var _0x2eef86;throw _0x490678;}function _(_0x3d2be0){const _0x201d96=_0x24d164;return{'threadId':_0x3d2be0[_0x201d96(0x17b)],'commentId':_0x3d2be0[_0x201d96(0x186)],'content':_0x3d2be0[_0x201d96(0x169)],'createdAt':_0x3d2be0[_0x201d96(0x14c)],'authorId':_0x3d2be0[_0x201d96(0x16c)],'attributes':_0x3d2be0[_0x201d96(0x181)]||{}};}
|