@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.9 → 44.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/common-translations.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index.css +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/presencelist/presencelistui.d.ts +1 -1
- package/dist/presencelist/view/presencecounterview.d.ts +1 -1
- package/dist/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/dist/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/dist/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/dist/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/dist/presencelist/view/presencelistview.d.ts +1 -1
- package/dist/presencelist.d.ts +1 -1
- package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/dist/realtimecollaborativecomments.d.ts +1 -1
- package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/dist/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/dist/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/dist/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
- package/dist/realtimecollaborativeediting.d.ts +1 -1
- package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/dist/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/dist/realtimecollaborativetrackchanges.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/augmentation.d.ts +1 -1
- package/src/common-translations.d.ts +1 -1
- package/src/common-translations.js +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.d.ts +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.d.ts +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.d.ts +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.d.ts +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.d.ts +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.d.ts +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f95f2=_0x4eb2;function _0xf4b6(){const _0x1e11d5=['querySelectorAll','_createView','hideDropdown','usersCount','requires','listenTo','min','_handleUserRemove','remove','keystrokes','Esc','presenceList.container','16ocnxXT','execute','content','presencelist-missing-container','map','plugins','1203115bMzRKm','isFocusable','ck\x20ck-presence-list__balloon','detachFromDom','using','activeElement','change:isFocused','checkIfScrollable','isHidden','_bodyCollection','select','presenceList','_handleUserAdd','from','view','allConnectedUsers','266918LCDfVg','onClick','number','length','define','focusTracker','counterView','balloonPanelView','showDropdown','isExpanded','attachToDom','filter','appendChild','add','button','displayMe','isCollapsed','6769916UCubRW','body','hasTooltip','render','items','destroy','2gNznbX','presenceList.displayMe','indexOf','element','tabIndex','inlineListView','1496124xIaHdh','isMe','Tab','bind','Enter','class','isVisible','pin','textarea','[tabindex]','_allConnectedUsers','set','presencelist-collapseat-invalid-format','unpin','init','reverse','bindTo','join','Shift+Tab','get','[contenteditable]','locale','isRendered','focus','input',':not([disabled]):not([tabindex=\x22-1\x22])','1105629kpedAs','32906230PymGAi','18NrkZZc','sort','config','offsetWidth','currentDisplayedUsers','offsetHeight','2403423UTjijy','presenceList.collapseAt','context','presenceDropdownView'];_0xf4b6=function(){return _0x1e11d5;};return _0xf4b6();}(function(_0x43c2e2,_0x49fad6){const _0x2df08a=_0x4eb2,_0x132315=_0x43c2e2();while(!![]){try{const _0x2dbf7f=parseInt(_0x2df08a(0x192))/0x1*(-parseInt(_0x2df08a(0x17b))/0x2)+-parseInt(_0x2df08a(0x1b2))/0x3+-parseInt(_0x2df08a(0x18c))/0x4+parseInt(_0x2df08a(0x1d0))/0x5*(-parseInt(_0x2df08a(0x1b4))/0x6)+-parseInt(_0x2df08a(0x198))/0x7*(-parseInt(_0x2df08a(0x1ca))/0x8)+parseInt(_0x2df08a(0x1ba))/0x9+parseInt(_0x2df08a(0x1b3))/0xa;if(_0x2dbf7f===_0x49fad6)break;else _0x132315['push'](_0x132315['shift']());}catch(_0x181c6b){_0x132315['push'](_0x132315['shift']());}}}(_0xf4b6,0xe459d));import{ContextPlugin as _0x2b7b6a}from'ckeditor5/src/core.js';import{CKEditorError as _0x53ea30,Collection as _0x30ff13}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x50f431,BalloonPanelView as _0x1f0fd6,BodyCollection as _0x17d774}from'ckeditor5/src/ui.js';import{isElement as _0x430546}from'lodash-es';import _0x33b1e5 from'../realtimecollaborativeediting/sessions.js';import _0x351965 from'./view/presencelistview.js';import _0x5b17cc from'./view/presencedropdownlistview.js';import _0x1e4ebe from'./view/presencedropdownlistitemview.js';function _0x4eb2(_0x5026b1,_0x53217e){const _0xf4b61f=_0xf4b6();return _0x4eb2=function(_0x4eb2ca,_0x575d25){_0x4eb2ca=_0x4eb2ca-0x177;let _0xa6ce7f=_0xf4b61f[_0x4eb2ca];return _0xa6ce7f;},_0x4eb2(_0x5026b1,_0x53217e);}import _0x106d2c from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x2b7b6a{constructor(_0x111a84){const _0x238c9d=_0x4eb2;super(_0x111a84),this[_0x238c9d(0x1d9)]=null,this[_0x238c9d(0x1bc)][_0x238c9d(0x1b6)][_0x238c9d(0x17f)](_0x238c9d(0x1db),A);const _0x3f01ce=_0x111a84[_0x238c9d(0x1b6)][_0x238c9d(0x1ab)](_0x238c9d(0x1bb));if(_0x238c9d(0x17d)!=typeof _0x3f01ce)throw new _0x53ea30(_0x238c9d(0x1a4),this);if(_0x3f01ce<0x1)throw new _0x53ea30(_0x238c9d(0x1a4),this);this[_0x238c9d(0x1a2)]=this[_0x238c9d(0x1bc)][_0x238c9d(0x1cf)][_0x238c9d(0x1ab)](_0x33b1e5)[_0x238c9d(0x17a)],this[_0x238c9d(0x1a3)](_0x238c9d(0x1c1),0x0),this[_0x238c9d(0x1b8)]=new _0x30ff13(),this[_0x238c9d(0x182)]=new _0x1f0fd6(),this[_0x238c9d(0x182)][_0x238c9d(0x19d)]=_0x238c9d(0x1d2),this[_0x238c9d(0x179)]=this[_0x238c9d(0x1bf)](),this[_0x238c9d(0x1bd)]=void 0x0;}static get[_0x2f95f2(0x1c2)](){return[_0x33b1e5];}[_0x2f95f2(0x1a6)](){const _0x1ab52a=_0x2f95f2;for(const _0x162c09 of this[_0x1ab52a(0x1a2)])this[_0x1ab52a(0x177)](_0x162c09);this[_0x1ab52a(0x1c3)](this[_0x1ab52a(0x1a2)],_0x1ab52a(0x188),(_0x174beb,_0x2a2d5c)=>{const _0x57dbf2=_0x1ab52a;this[_0x57dbf2(0x177)](_0x2a2d5c);}),this[_0x1ab52a(0x1c3)](this[_0x1ab52a(0x1a2)],_0x1ab52a(0x1c6),(_0x111cd2,_0x1e1721)=>{const _0x313588=_0x1ab52a;this[_0x313588(0x1c5)](_0x1e1721);});}[_0x2f95f2(0x1bf)](){const _0x32cfd3=_0x2f95f2,_0x199f96=this[_0x32cfd3(0x1bc)],_0x5b3282=new _0x351965(this[_0x32cfd3(0x1bc)][_0x32cfd3(0x1ad)]),_0x3757b0=this[_0x32cfd3(0x182)];if(!_0x430546(_0x199f96[_0x32cfd3(0x1b6)][_0x32cfd3(0x1ab)](_0x32cfd3(0x1c9))))throw new _0x53ea30(_0x32cfd3(0x1cd),this);return _0x5b3282[_0x32cfd3(0x181)][_0x32cfd3(0x19b)](_0x32cfd3(0x1c1))['to'](this),_0x5b3282[_0x32cfd3(0x19b)](_0x32cfd3(0x18b))['to'](this,_0x32cfd3(0x1c1),_0x2c8b6c=>{const _0x45b05c=_0x32cfd3,{collapseAt:_0x3c5872,displayMe:_0x10c1cb}=_0x199f96[_0x45b05c(0x1b6)][_0x45b05c(0x1ab)](_0x45b05c(0x1db)),_0x53642d=_0x2c8b6c>=_0x3c5872;return _0x5b3282[_0x45b05c(0x181)][_0x45b05c(0x1d8)]=!(0x1==_0x2c8b6c&&_0x10c1cb||_0x53642d),_0x53642d||this[_0x45b05c(0x1c0)](),_0x53642d;}),_0x5b3282[_0x32cfd3(0x197)][_0x32cfd3(0x190)][_0x32cfd3(0x1a8)](this[_0x32cfd3(0x1b8)])[_0x32cfd3(0x1d4)](_0x5d7792=>{const _0x22b757=_0x32cfd3,_0x4dff62=_0x199f96[_0x22b757(0x1b6)][_0x22b757(0x1ab)](_0x22b757(0x1db)),_0x5a31c5=new _0x106d2c(_0x199f96[_0x22b757(0x1ad)],_0x5d7792,!!_0x4dff62[_0x22b757(0x17c)]);return _0x5a31c5[_0x22b757(0x19b)](_0x22b757(0x18e))['to'](_0x5b3282,_0x22b757(0x18b),_0x35a81a=>!_0x35a81a),_0x5a31c5[_0x22b757(0x19b)](_0x22b757(0x1d1))['to'](_0x5b3282,_0x22b757(0x18b),_0x58d733=>!_0x58d733),_0x4dff62[_0x22b757(0x17c)]&&this[_0x22b757(0x1c3)](_0x5a31c5,_0x22b757(0x1cb),()=>{const _0x5bf117=_0x22b757;this[_0x5bf117(0x179)][_0x5bf117(0x18b)]||_0x4dff62[_0x5bf117(0x17c)](_0x5d7792,_0x5a31c5[_0x5bf117(0x195)]);}),_0x5a31c5;}),this[_0x32cfd3(0x1c3)](_0x5b3282[_0x32cfd3(0x197)],_0x32cfd3(0x1cb),()=>{const _0xe4d9d9=_0x32cfd3;this[_0xe4d9d9(0x1bd)]?this[_0xe4d9d9(0x1c0)]():this[_0xe4d9d9(0x179)][_0xe4d9d9(0x18b)]&&this[_0xe4d9d9(0x183)]();}),_0x5b3282[_0x32cfd3(0x197)][_0x32cfd3(0x1c7)][_0x32cfd3(0x1a3)](_0x32cfd3(0x19c),(_0x20e18d,_0x1f8927)=>{const _0x338844=_0x32cfd3;this[_0x338844(0x179)][_0x338844(0x18b)]&&(this[_0x338844(0x183)](),_0x1f8927());}),_0x5b3282[_0x32cfd3(0x18f)](),_0x3757b0[_0x32cfd3(0x18f)](),_0x50f431({'emitter':_0x5b3282,'activator':()=>_0x3757b0[_0x32cfd3(0x19e)],'contextElements':[_0x3757b0[_0x32cfd3(0x195)],_0x5b3282[_0x32cfd3(0x197)][_0x32cfd3(0x195)]],'callback':()=>this[_0x32cfd3(0x1c0)]()}),_0x199f96[_0x32cfd3(0x1b6)][_0x32cfd3(0x1ab)](_0x32cfd3(0x1c9))[_0x32cfd3(0x187)](_0x5b3282[_0x32cfd3(0x195)]),this[_0x32cfd3(0x1d9)]=new _0x17d774(this[_0x32cfd3(0x1bc)][_0x32cfd3(0x1ad)]),this[_0x32cfd3(0x1d9)][_0x32cfd3(0x185)](),this[_0x32cfd3(0x1d9)][_0x32cfd3(0x188)](this[_0x32cfd3(0x182)]),_0x5b3282;}[_0x2f95f2(0x177)](_0x5e3bce){const _0x4eb2fa=_0x2f95f2;if(!this[_0x4eb2fa(0x1bc)][_0x4eb2fa(0x1b6)][_0x4eb2fa(0x1ab)](_0x4eb2fa(0x193))&&_0x5e3bce[_0x4eb2fa(0x199)])return;const _0x519724=this[_0x4eb2fa(0x1bc)][_0x4eb2fa(0x1b6)][_0x4eb2fa(0x1ab)](_0x4eb2fa(0x1bb))-0x1;this[_0x4eb2fa(0x1c1)]++,this[_0x4eb2fa(0x1b8)][_0x4eb2fa(0x17e)]==_0x519724&&this[_0x4eb2fa(0x1b8)][_0x4eb2fa(0x17e)]>0x1&&this[_0x4eb2fa(0x1b8)][_0x4eb2fa(0x1c6)](0x1);const _0x3c770d=_0x5e3bce[_0x4eb2fa(0x199)]?0x0:this[_0x4eb2fa(0x1b8)][_0x4eb2fa(0x17e)];this[_0x4eb2fa(0x1b8)][_0x4eb2fa(0x188)](_0x5e3bce,_0x3c770d);}[_0x2f95f2(0x1c5)](_0x35339b){const _0x5f0fc8=_0x2f95f2;if(this[_0x5f0fc8(0x1c1)]--,this[_0x5f0fc8(0x1b8)][_0x5f0fc8(0x1ab)](_0x35339b['id'])&&(this[_0x5f0fc8(0x1b8)][_0x5f0fc8(0x1c6)](_0x35339b['id']),this[_0x5f0fc8(0x1b8)][_0x5f0fc8(0x17e)]<this[_0x5f0fc8(0x1c1)])){for(const _0xae6243 of Array[_0x5f0fc8(0x178)](this[_0x5f0fc8(0x1a2)])[_0x5f0fc8(0x1a7)]())if(!this[_0x5f0fc8(0x1b8)][_0x5f0fc8(0x1ab)](_0xae6243['id']))return void this[_0x5f0fc8(0x1b8)][_0x5f0fc8(0x188)](_0xae6243,Math[_0x5f0fc8(0x1c4)](this[_0x5f0fc8(0x1b8)][_0x5f0fc8(0x17e)],0x1));}}[_0x2f95f2(0x183)](){const _0xfb9ae7=_0x2f95f2;if(this[_0xfb9ae7(0x1bd)])return;const _0x4ae507=this[_0xfb9ae7(0x1bc)][_0xfb9ae7(0x1b6)][_0xfb9ae7(0x1ab)](_0xfb9ae7(0x1db));this[_0xfb9ae7(0x1bd)]=new _0x5b17cc(this[_0xfb9ae7(0x1bc)][_0xfb9ae7(0x1ad)],!!_0x4ae507[_0xfb9ae7(0x17c)]),this[_0xfb9ae7(0x179)][_0xfb9ae7(0x197)][_0xfb9ae7(0x184)]=!0x0;const {listWrapperView:_0x560ce6}=this[_0xfb9ae7(0x1bd)];_0x560ce6[_0xfb9ae7(0x190)][_0xfb9ae7(0x1a8)](this[_0xfb9ae7(0x1a2)])[_0xfb9ae7(0x1d4)](_0x5076e6=>{const _0x59a8b8=_0xfb9ae7;if(!_0x4ae507[_0x59a8b8(0x18a)]&&_0x5076e6[_0x59a8b8(0x199)])return null;const _0x1aecd9=new _0x1e4ebe(this[_0x59a8b8(0x1bc)][_0x59a8b8(0x1ad)],_0x5076e6,!!_0x4ae507[_0x59a8b8(0x17c)]);return _0x4ae507[_0x59a8b8(0x17c)]&&this[_0x59a8b8(0x1c3)](_0x1aecd9,_0x59a8b8(0x1cb),()=>{const _0x28ad07=_0x59a8b8;_0x4ae507[_0x28ad07(0x17c)](_0x5076e6,_0x1aecd9[_0x28ad07(0x195)]);}),_0x1aecd9;}),this[_0xfb9ae7(0x182)][_0xfb9ae7(0x1cc)][_0xfb9ae7(0x188)](this[_0xfb9ae7(0x1bd)]),this[_0xfb9ae7(0x182)][_0xfb9ae7(0x19f)]({'target':this[_0xfb9ae7(0x179)][_0xfb9ae7(0x197)][_0xfb9ae7(0x195)]}),_0x560ce6[_0xfb9ae7(0x1af)](),_0x560ce6[_0xfb9ae7(0x1d7)]();const _0x36d262=(_0x11e0ed,_0x5a33a4)=>{const _0x8122df=_0xfb9ae7;this[_0x8122df(0x1c0)](),this[_0x8122df(0x179)][_0x8122df(0x197)][_0x8122df(0x1af)](),_0x5a33a4();};_0x560ce6[_0xfb9ae7(0x1c7)][_0xfb9ae7(0x1a3)](_0xfb9ae7(0x1c8),_0x36d262),_0x560ce6[_0xfb9ae7(0x1c7)][_0xfb9ae7(0x1a3)](_0xfb9ae7(0x1aa),_0x36d262),_0x560ce6[_0xfb9ae7(0x1c7)][_0xfb9ae7(0x1a3)](_0xfb9ae7(0x19a),(_0x16ced8,_0x10b317)=>{const _0x15dc3d=_0xfb9ae7;!function(_0x4dd3ae){const _0x3428e3=_0x4eb2,_0x2baf72=['a',_0x3428e3(0x189),_0x3428e3(0x1b0),_0x3428e3(0x1da),_0x3428e3(0x1a0),_0x3428e3(0x1a1),_0x3428e3(0x1ac)][_0x3428e3(0x1ce)](_0x5b8476=>_0x5b8476+_0x3428e3(0x1b1))[_0x3428e3(0x1a9)](','),_0x3abe8d=[...document[_0x3428e3(0x18d)][_0x3428e3(0x1be)](_0x2baf72)][_0x3428e3(0x186)](_0x57a6f5=>_0x57a6f5===document[_0x3428e3(0x1d5)]||_0x57a6f5[_0x3428e3(0x1b7)]+_0x57a6f5[_0x3428e3(0x1b9)]>0x0)[_0x3428e3(0x1b5)]((_0x3f9d15,_0x492799)=>(_0x3f9d15[_0x3428e3(0x196)]||0x0)-(_0x492799[_0x3428e3(0x196)]||0x0)),_0x4652f9=_0x3abe8d[_0x3428e3(0x194)](_0x4dd3ae),_0x5af09a=_0x3abe8d[(_0x4652f9+0x1)%_0x3abe8d[_0x3428e3(0x17e)]];_0x5af09a&&_0x5af09a[_0x3428e3(0x1af)]();}(this[_0x15dc3d(0x179)][_0x15dc3d(0x195)]),this[_0x15dc3d(0x1c0)](),_0x10b317();}),_0x560ce6[_0xfb9ae7(0x180)][_0xfb9ae7(0x188)](this[_0xfb9ae7(0x179)][_0xfb9ae7(0x195)]),_0x560ce6[_0xfb9ae7(0x180)]['on'](_0xfb9ae7(0x1d6),(_0xba0042,_0x349266,_0x864771)=>{const _0x2f616b=_0xfb9ae7;_0x864771||this[_0x2f616b(0x1c0)]();});}[_0x2f95f2(0x1c0)](){const _0x3f8993=_0x2f95f2;this[_0x3f8993(0x1bd)]&&(this[_0x3f8993(0x179)][_0x3f8993(0x197)][_0x3f8993(0x184)]=!0x1,this[_0x3f8993(0x182)][_0x3f8993(0x1a5)](),this[_0x3f8993(0x182)][_0x3f8993(0x1cc)][_0x3f8993(0x1c6)](this[_0x3f8993(0x1bd)]),this[_0x3f8993(0x1bd)][_0x3f8993(0x191)](),this[_0x3f8993(0x1bd)]=void 0x0);}[_0x2f95f2(0x191)](){const _0x154cd0=_0x2f95f2;super[_0x154cd0(0x191)](),this[_0x154cd0(0x179)]&&this[_0x154cd0(0x179)][_0x154cd0(0x1ae)]&&this[_0x154cd0(0x179)][_0x154cd0(0x191)](),this[_0x154cd0(0x1d9)]&&(this[_0x154cd0(0x1d9)][_0x154cd0(0x1d3)](),this[_0x154cd0(0x1d9)][_0x154cd0(0x191)](),this[_0x154cd0(0x1d9)]=null);}}
|
|
23
|
+
function _0x5080(){const _0x981405=['isFocusable','activeElement','showDropdown','isCollapsed','destroy','define','2424IRjLWn','from','_allConnectedUsers','8113119ZOcvFg','appendChild','length','pin','set','939296whlreR','hasTooltip','bind','reverse','element','textarea','32886vTcphX','onClick','class','sort','attachToDom','offsetWidth','listenTo','button','[contenteditable]','hideDropdown','tabIndex','focusTracker','filter','isMe','presenceList.collapseAt','isHidden','Enter','usersCount','4772284seIXub','11LXKSzO','requires','ck\x20ck-presence-list__balloon','presencelist-missing-container','counterView','items','body','locale','view','min','input','execute','balloonPanelView','plugins','presenceDropdownView','detachFromDom','isRendered','displayMe','content','context','allConnectedUsers','_bodyCollection','Shift+Tab','join','4322544wZEfEH','config','unpin','_handleUserRemove','indexOf','map','keystrokes','currentDisplayedUsers','inlineListView','presenceList.displayMe','Esc','change:isFocused','presenceList','checkIfScrollable',':not([disabled]):not([tabindex=\x22-1\x22])','focus','using','4astUNI','get','isVisible','bindTo','6386740tqXKEd','[tabindex]','Tab','init','_createView','39106610ziBoDM','remove','offsetHeight','render','6CWRtVN','add','querySelectorAll','_handleUserAdd','number','presenceList.container','presencelist-collapseat-invalid-format','select','isExpanded'];_0x5080=function(){return _0x981405;};return _0x5080();}const _0x303189=_0x25b3;(function(_0x55e693,_0x3707a0){const _0x4a34e3=_0x25b3,_0x4129dd=_0x55e693();while(!![]){try{const _0x2f660a=parseInt(_0x4a34e3(0x1bd))/0x1*(-parseInt(_0x4a34e3(0x199))/0x2)+parseInt(_0x4a34e3(0x188))/0x3+-parseInt(_0x4a34e3(0x16f))/0x4+-parseInt(_0x4a34e3(0x19d))/0x5+parseInt(_0x4a34e3(0x1a6))/0x6*(-parseInt(_0x4a34e3(0x1b8))/0x7)+-parseInt(_0x4a34e3(0x1b5))/0x8*(-parseInt(_0x4a34e3(0x1c3))/0x9)+parseInt(_0x4a34e3(0x1a2))/0xa*(parseInt(_0x4a34e3(0x170))/0xb);if(_0x2f660a===_0x3707a0)break;else _0x4129dd['push'](_0x4129dd['shift']());}catch(_0x1f3d91){_0x4129dd['push'](_0x4129dd['shift']());}}}(_0x5080,0xe8173));import{ContextPlugin as _0x46b417}from'ckeditor5/src/core.js';import{CKEditorError as _0x377774,Collection as _0x19324b}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x307bdb,BalloonPanelView as _0x291b0d,BodyCollection as _0x225f9a}from'ckeditor5/src/ui.js';import{isElement as _0x53b67c}from'lodash-es';import _0x246d6e from'../realtimecollaborativeediting/sessions.js';import _0x576b12 from'./view/presencelistview.js';import _0x33f72d from'./view/presencedropdownlistview.js';function _0x25b3(_0x1c083a,_0x4facb7){const _0x50804a=_0x5080();return _0x25b3=function(_0x25b347,_0x17e115){_0x25b347=_0x25b347-0x163;let _0x4826e3=_0x50804a[_0x25b347];return _0x4826e3;},_0x25b3(_0x1c083a,_0x4facb7);}import _0x9a7d57 from'./view/presencedropdownlistitemview.js';import _0x4b5ca7 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x46b417{constructor(_0x5218f7){const _0x3e1066=_0x25b3;super(_0x5218f7),this[_0x3e1066(0x185)]=null,this[_0x3e1066(0x183)][_0x3e1066(0x189)][_0x3e1066(0x1b4)](_0x3e1066(0x194),A);const _0x277032=_0x5218f7[_0x3e1066(0x189)][_0x3e1066(0x19a)](_0x3e1066(0x16b));if(_0x3e1066(0x1aa)!=typeof _0x277032)throw new _0x377774(_0x3e1066(0x1ac),this);if(_0x277032<0x1)throw new _0x377774(_0x3e1066(0x1ac),this);this[_0x3e1066(0x1b7)]=this[_0x3e1066(0x183)][_0x3e1066(0x17d)][_0x3e1066(0x19a)](_0x246d6e)[_0x3e1066(0x184)],this[_0x3e1066(0x1bc)](_0x3e1066(0x16e),0x0),this[_0x3e1066(0x18f)]=new _0x19324b(),this[_0x3e1066(0x17c)]=new _0x291b0d(),this[_0x3e1066(0x17c)][_0x3e1066(0x1c5)]=_0x3e1066(0x172),this[_0x3e1066(0x178)]=this[_0x3e1066(0x1a1)](),this[_0x3e1066(0x17e)]=void 0x0;}static get[_0x303189(0x171)](){return[_0x246d6e];}[_0x303189(0x1a0)](){const _0x47779c=_0x303189;for(const _0x5503de of this[_0x47779c(0x1b7)])this[_0x47779c(0x1a9)](_0x5503de);this[_0x47779c(0x163)](this[_0x47779c(0x1b7)],_0x47779c(0x1a7),(_0x3b95a4,_0xd78c48)=>{const _0x311f30=_0x47779c;this[_0x311f30(0x1a9)](_0xd78c48);}),this[_0x47779c(0x163)](this[_0x47779c(0x1b7)],_0x47779c(0x1a3),(_0x32bf6a,_0x35a749)=>{const _0xc1c57=_0x47779c;this[_0xc1c57(0x18b)](_0x35a749);});}[_0x303189(0x1a1)](){const _0x3cbbc3=_0x303189,_0x12ae75=this[_0x3cbbc3(0x183)],_0xdf1c36=new _0x576b12(this[_0x3cbbc3(0x183)][_0x3cbbc3(0x177)]),_0x47d943=this[_0x3cbbc3(0x17c)];if(!_0x53b67c(_0x12ae75[_0x3cbbc3(0x189)][_0x3cbbc3(0x19a)](_0x3cbbc3(0x1ab))))throw new _0x377774(_0x3cbbc3(0x173),this);return _0xdf1c36[_0x3cbbc3(0x174)][_0x3cbbc3(0x1bf)](_0x3cbbc3(0x16e))['to'](this),_0xdf1c36[_0x3cbbc3(0x1bf)](_0x3cbbc3(0x1b2))['to'](this,_0x3cbbc3(0x16e),_0x1441c9=>{const _0x268de6=_0x3cbbc3,{collapseAt:_0x36e64d,displayMe:_0x1f1729}=_0x12ae75[_0x268de6(0x189)][_0x268de6(0x19a)](_0x268de6(0x194)),_0x3dfbf=_0x1441c9>=_0x36e64d;return _0xdf1c36[_0x268de6(0x174)][_0x268de6(0x16c)]=!(0x1==_0x1441c9&&_0x1f1729||_0x3dfbf),_0x3dfbf||this[_0x268de6(0x166)](),_0x3dfbf;}),_0xdf1c36[_0x3cbbc3(0x190)][_0x3cbbc3(0x175)][_0x3cbbc3(0x19c)](this[_0x3cbbc3(0x18f)])[_0x3cbbc3(0x198)](_0x1a38f3=>{const _0x53dea9=_0x3cbbc3,_0x47c3af=_0x12ae75[_0x53dea9(0x189)][_0x53dea9(0x19a)](_0x53dea9(0x194)),_0x3ce5cc=new _0x4b5ca7(_0x12ae75[_0x53dea9(0x177)],_0x1a38f3,!!_0x47c3af[_0x53dea9(0x1c4)]);return _0x3ce5cc[_0x53dea9(0x1bf)](_0x53dea9(0x1be))['to'](_0xdf1c36,_0x53dea9(0x1b2),_0x3c5268=>!_0x3c5268),_0x3ce5cc[_0x53dea9(0x1bf)](_0x53dea9(0x1af))['to'](_0xdf1c36,_0x53dea9(0x1b2),_0x219022=>!_0x219022),_0x47c3af[_0x53dea9(0x1c4)]&&this[_0x53dea9(0x163)](_0x3ce5cc,_0x53dea9(0x17b),()=>{const _0x4ae2df=_0x53dea9;this[_0x4ae2df(0x178)][_0x4ae2df(0x1b2)]||_0x47c3af[_0x4ae2df(0x1c4)](_0x1a38f3,_0x3ce5cc[_0x4ae2df(0x1c1)]);}),_0x3ce5cc;}),this[_0x3cbbc3(0x163)](_0xdf1c36[_0x3cbbc3(0x190)],_0x3cbbc3(0x17b),()=>{const _0x316a41=_0x3cbbc3;this[_0x316a41(0x17e)]?this[_0x316a41(0x166)]():this[_0x316a41(0x178)][_0x316a41(0x1b2)]&&this[_0x316a41(0x1b1)]();}),_0xdf1c36[_0x3cbbc3(0x190)][_0x3cbbc3(0x18e)][_0x3cbbc3(0x1bc)](_0x3cbbc3(0x16d),(_0x5003dd,_0x482da6)=>{const _0x160dee=_0x3cbbc3;this[_0x160dee(0x178)][_0x160dee(0x1b2)]&&(this[_0x160dee(0x1b1)](),_0x482da6());}),_0xdf1c36[_0x3cbbc3(0x1a5)](),_0x47d943[_0x3cbbc3(0x1a5)](),_0x307bdb({'emitter':_0xdf1c36,'activator':()=>_0x47d943[_0x3cbbc3(0x19b)],'contextElements':[_0x47d943[_0x3cbbc3(0x1c1)],_0xdf1c36[_0x3cbbc3(0x190)][_0x3cbbc3(0x1c1)]],'callback':()=>this[_0x3cbbc3(0x166)]()}),_0x12ae75[_0x3cbbc3(0x189)][_0x3cbbc3(0x19a)](_0x3cbbc3(0x1ab))[_0x3cbbc3(0x1b9)](_0xdf1c36[_0x3cbbc3(0x1c1)]),this[_0x3cbbc3(0x185)]=new _0x225f9a(this[_0x3cbbc3(0x183)][_0x3cbbc3(0x177)]),this[_0x3cbbc3(0x185)][_0x3cbbc3(0x1c7)](),this[_0x3cbbc3(0x185)][_0x3cbbc3(0x1a7)](this[_0x3cbbc3(0x17c)]),_0xdf1c36;}[_0x303189(0x1a9)](_0x5d4452){const _0x3c300e=_0x303189;if(!this[_0x3c300e(0x183)][_0x3c300e(0x189)][_0x3c300e(0x19a)](_0x3c300e(0x191))&&_0x5d4452[_0x3c300e(0x16a)])return;const _0x57fb5f=this[_0x3c300e(0x183)][_0x3c300e(0x189)][_0x3c300e(0x19a)](_0x3c300e(0x16b))-0x1;this[_0x3c300e(0x16e)]++,this[_0x3c300e(0x18f)][_0x3c300e(0x1ba)]==_0x57fb5f&&this[_0x3c300e(0x18f)][_0x3c300e(0x1ba)]>0x1&&this[_0x3c300e(0x18f)][_0x3c300e(0x1a3)](0x1);const _0xfcce46=_0x5d4452[_0x3c300e(0x16a)]?0x0:this[_0x3c300e(0x18f)][_0x3c300e(0x1ba)];this[_0x3c300e(0x18f)][_0x3c300e(0x1a7)](_0x5d4452,_0xfcce46);}[_0x303189(0x18b)](_0x30286b){const _0x36cd17=_0x303189;if(this[_0x36cd17(0x16e)]--,this[_0x36cd17(0x18f)][_0x36cd17(0x19a)](_0x30286b['id'])&&(this[_0x36cd17(0x18f)][_0x36cd17(0x1a3)](_0x30286b['id']),this[_0x36cd17(0x18f)][_0x36cd17(0x1ba)]<this[_0x36cd17(0x16e)])){for(const _0x250b3a of Array[_0x36cd17(0x1b6)](this[_0x36cd17(0x1b7)])[_0x36cd17(0x1c0)]())if(!this[_0x36cd17(0x18f)][_0x36cd17(0x19a)](_0x250b3a['id']))return void this[_0x36cd17(0x18f)][_0x36cd17(0x1a7)](_0x250b3a,Math[_0x36cd17(0x179)](this[_0x36cd17(0x18f)][_0x36cd17(0x1ba)],0x1));}}[_0x303189(0x1b1)](){const _0x38561f=_0x303189;if(this[_0x38561f(0x17e)])return;const _0x2b8be2=this[_0x38561f(0x183)][_0x38561f(0x189)][_0x38561f(0x19a)](_0x38561f(0x194));this[_0x38561f(0x17e)]=new _0x33f72d(this[_0x38561f(0x183)][_0x38561f(0x177)],!!_0x2b8be2[_0x38561f(0x1c4)]),this[_0x38561f(0x178)][_0x38561f(0x190)][_0x38561f(0x1ae)]=!0x0;const {listWrapperView:_0x34be01}=this[_0x38561f(0x17e)];_0x34be01[_0x38561f(0x175)][_0x38561f(0x19c)](this[_0x38561f(0x1b7)])[_0x38561f(0x198)](_0x567c08=>{const _0x386541=_0x38561f;if(!_0x2b8be2[_0x386541(0x181)]&&_0x567c08[_0x386541(0x16a)])return null;const _0x586a99=new _0x9a7d57(this[_0x386541(0x183)][_0x386541(0x177)],_0x567c08,!!_0x2b8be2[_0x386541(0x1c4)]);return _0x2b8be2[_0x386541(0x1c4)]&&this[_0x386541(0x163)](_0x586a99,_0x386541(0x17b),()=>{const _0x2868fd=_0x386541;_0x2b8be2[_0x2868fd(0x1c4)](_0x567c08,_0x586a99[_0x2868fd(0x1c1)]);}),_0x586a99;}),this[_0x38561f(0x17c)][_0x38561f(0x182)][_0x38561f(0x1a7)](this[_0x38561f(0x17e)]),this[_0x38561f(0x17c)][_0x38561f(0x1bb)]({'target':this[_0x38561f(0x178)][_0x38561f(0x190)][_0x38561f(0x1c1)]}),_0x34be01[_0x38561f(0x197)](),_0x34be01[_0x38561f(0x195)]();const _0x5b26fb=(_0x1bdf77,_0x2c841d)=>{const _0x32d130=_0x38561f;this[_0x32d130(0x166)](),this[_0x32d130(0x178)][_0x32d130(0x190)][_0x32d130(0x197)](),_0x2c841d();};_0x34be01[_0x38561f(0x18e)][_0x38561f(0x1bc)](_0x38561f(0x192),_0x5b26fb),_0x34be01[_0x38561f(0x18e)][_0x38561f(0x1bc)](_0x38561f(0x186),_0x5b26fb),_0x34be01[_0x38561f(0x18e)][_0x38561f(0x1bc)](_0x38561f(0x19f),(_0x483902,_0x4d17b7)=>{const _0x52c211=_0x38561f;!function(_0x53c221){const _0x3540b0=_0x25b3,_0x51b871=['a',_0x3540b0(0x164),_0x3540b0(0x17a),_0x3540b0(0x1ad),_0x3540b0(0x1c2),_0x3540b0(0x19e),_0x3540b0(0x165)][_0x3540b0(0x18d)](_0x3b2ecf=>_0x3b2ecf+_0x3540b0(0x196))[_0x3540b0(0x187)](','),_0x48c302=[...document[_0x3540b0(0x176)][_0x3540b0(0x1a8)](_0x51b871)][_0x3540b0(0x169)](_0x1da406=>_0x1da406===document[_0x3540b0(0x1b0)]||_0x1da406[_0x3540b0(0x1c8)]+_0x1da406[_0x3540b0(0x1a4)]>0x0)[_0x3540b0(0x1c6)]((_0x59f5f3,_0x546d4c)=>(_0x59f5f3[_0x3540b0(0x167)]||0x0)-(_0x546d4c[_0x3540b0(0x167)]||0x0)),_0x3b056f=_0x48c302[_0x3540b0(0x18c)](_0x53c221),_0x4ae959=_0x48c302[(_0x3b056f+0x1)%_0x48c302[_0x3540b0(0x1ba)]];_0x4ae959&&_0x4ae959[_0x3540b0(0x197)]();}(this[_0x52c211(0x178)][_0x52c211(0x1c1)]),this[_0x52c211(0x166)](),_0x4d17b7();}),_0x34be01[_0x38561f(0x168)][_0x38561f(0x1a7)](this[_0x38561f(0x178)][_0x38561f(0x1c1)]),_0x34be01[_0x38561f(0x168)]['on'](_0x38561f(0x193),(_0x5b0c5a,_0x1d15dd,_0x1bf576)=>{const _0x66d715=_0x38561f;_0x1bf576||this[_0x66d715(0x166)]();});}[_0x303189(0x166)](){const _0x413844=_0x303189;this[_0x413844(0x17e)]&&(this[_0x413844(0x178)][_0x413844(0x190)][_0x413844(0x1ae)]=!0x1,this[_0x413844(0x17c)][_0x413844(0x18a)](),this[_0x413844(0x17c)][_0x413844(0x182)][_0x413844(0x1a3)](this[_0x413844(0x17e)]),this[_0x413844(0x17e)][_0x413844(0x1b3)](),this[_0x413844(0x17e)]=void 0x0);}[_0x303189(0x1b3)](){const _0x529bd1=_0x303189;super[_0x529bd1(0x1b3)](),this[_0x529bd1(0x178)]&&this[_0x529bd1(0x178)][_0x529bd1(0x180)]&&this[_0x529bd1(0x178)][_0x529bd1(0x1b3)](),this[_0x529bd1(0x185)]&&(this[_0x529bd1(0x185)][_0x529bd1(0x17f)](),this[_0x529bd1(0x185)][_0x529bd1(0x1b3)](),this[_0x529bd1(0x185)]=null);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3f75(){const _0x304627=['ck-presence-list__counter','1375029eixJBN','120cLmyYt','bindTemplate','setTemplate','51047OWIySe','2USkjYz','501149CceGsY','1405320PKaQBm','20CsxEzh','CONNECTED_USERS','ck-presence-list__counter--hidden','div','usersCount','1510810hLjSoY','1480LKYKXr','set','isHidden','12yQUiXu','1425mgzkAG'];_0x3f75=function(){return _0x304627;};return _0x3f75();}(function(_0x525c45,_0x55f0e3){const _0x32762b=_0x52c8,_0x3a2bf9=_0x525c45();while(!![]){try{const _0xbfc759=-parseInt(_0x32762b(0x138))/0x1*(parseInt(_0x32762b(0x139))/0x2)+parseInt(_0x32762b(0x146))/0x3*(-parseInt(_0x32762b(0x149))/0x4)+-parseInt(_0x32762b(0x142))/0x5*(parseInt(_0x32762b(0x145))/0x6)+-parseInt(_0x32762b(0x141))/0x7+parseInt(_0x32762b(0x13b))/0x8+parseInt(_0x32762b(0x148))/0x9+-parseInt(_0x32762b(0x13c))/0xa*(-parseInt(_0x32762b(0x13a))/0xb);if(_0xbfc759===_0x55f0e3)break;else _0x3a2bf9['push'](_0x3a2bf9['shift']());}catch(_0x4842d5){_0x3a2bf9['push'](_0x3a2bf9['shift']());}}}(_0x3f75,0x21a75));import{View as _0x4e25da}from'ckeditor5/src/ui.js';function _0x52c8(_0x389e4e,_0x34b7cd){const _0x3f7533=_0x3f75();return _0x52c8=function(_0x52c80f,_0x262636){_0x52c80f=_0x52c80f-0x138;let _0x3d6844=_0x3f7533[_0x52c80f];return _0x3d6844;},_0x52c8(_0x389e4e,_0x34b7cd);}import{getTranslation as _0x41d1a6}from'../../common-translations.js';export default class ts extends _0x4e25da{constructor(_0x2a22fa){const _0x1f5324=_0x52c8;super(_0x2a22fa);const _0x5ca4e8=this[_0x1f5324(0x14a)];this[_0x1f5324(0x143)](_0x1f5324(0x140),0x0),this[_0x1f5324(0x143)](_0x1f5324(0x144),!0x0),this[_0x1f5324(0x14b)]({'tag':_0x1f5324(0x13f),'attributes':{'class':['ck',_0x1f5324(0x147),_0x5ca4e8['if'](_0x1f5324(0x144),_0x1f5324(0x13e))]},'children':[{'text':_0x5ca4e8['to'](_0x1f5324(0x140),_0xffae7e=>_0x41d1a6(_0x2a22fa,_0x1f5324(0x13d),_0xffae7e))}]});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { ListItemView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf95e34=_0x5a36;(function(_0x21f520,_0x19d7d0){const _0x7d34b4=_0x5a36,_0x3fbee8=_0x21f520();while(!![]){try{const _0x2c2d2e=parseInt(_0x7d34b4(0x164))/0x1*(parseInt(_0x7d34b4(0x16a))/0x2)+parseInt(_0x7d34b4(0x15f))/0x3+parseInt(_0x7d34b4(0x162))/0x4+-parseInt(_0x7d34b4(0x156))/0x5*(parseInt(_0x7d34b4(0x165))/0x6)+parseInt(_0x7d34b4(0x15e))/0x7+parseInt(_0x7d34b4(0x163))/0x8*(-parseInt(_0x7d34b4(0x159))/0x9)+parseInt(_0x7d34b4(0x169))/0xa;if(_0x2c2d2e===_0x19d7d0)break;else _0x3fbee8['push'](_0x3fbee8['shift']());}catch(_0x745f70){_0x3fbee8['push'](_0x3fbee8['shift']());}}}(_0x5a59,0x4e985));import{ListItemView as _0x2e545d}from'ckeditor5/src/ui.js';function _0x5a36(_0x467f40,_0x2d17c7){const _0x5a590b=_0x5a59();return _0x5a36=function(_0x5a3635,_0x3c6566){_0x5a3635=_0x5a3635-0x150;let _0x493104=_0x5a590b[_0x5a3635];return _0x493104;},_0x5a36(_0x467f40,_0x2d17c7);}import{UserView as _0x5d1861}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a59(){const _0x3875e7=['name','span','2826205exkbJG','ck-presence-list__dropdown-list-item','color','478692oRJfxy','ck-user__full-name','ck-presence-list__marker','getBackgroundColorClass','execute','674828zAYKZQ','258039cAmMTl','focus','setTemplate','2508564ccBhXv','40YxawrC','38QxrBbG','6GPcuBP','true','element','bindTemplate','957120BNeoUa','13044WYIbcv','button','presentation','fire','tag','userView'];_0x5a59=function(){return _0x3875e7;};return _0x5a59();}export default class k extends _0x2e545d{constructor(_0x4f4331,_0x3cae8c,_0x237f3a){const _0x410802=_0x5a36;super(_0x4f4331);const _0x4fe201=this[_0x410802(0x168)];this[_0x410802(0x153)]=new _0x5d1861(_0x4f4331,_0x3cae8c);const _0x5bc8e3={'tag':'li','attributes':{'class':['ck',_0x410802(0x157)],'tabindex':-0x1,'role':_0x410802(0x150),'aria-label':_0x3cae8c[_0x410802(0x154)]},'children':[this[_0x410802(0x153)],{'tag':_0x410802(0x155),'attributes':{'class':['ck',_0x410802(0x15a)]},'children':[{'text':_0x3cae8c[_0x410802(0x154)]}]},{'tag':_0x410802(0x155),'attributes':{'class':['ck',_0x410802(0x15b),_0x3cae8c[_0x410802(0x158)][_0x410802(0x15c)]()],'aria-hidden':_0x410802(0x166)}}]};_0x237f3a&&(_0x5bc8e3[_0x410802(0x152)]=_0x410802(0x16b),_0x5bc8e3['on']={'click':_0x4fe201['to'](()=>this[_0x410802(0x151)](_0x410802(0x15d)))}),this[_0x410802(0x161)](_0x5bc8e3);}[_0xf95e34(0x160)](){const _0x5b2722=_0xf95e34;this[_0x5b2722(0x167)][_0x5b2722(0x160)]();}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/presencelist/view/presencedropdownlistview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x53ec0f=_0x2ab3;(function(_0x45edce,_0x1a2528){const _0x22f829=_0x2ab3,_0x1290ae=_0x45edce();while(!![]){try{const _0x12d065=parseInt(_0x22f829(0x110))/0x1+parseInt(_0x22f829(0x107))/0x2+parseInt(_0x22f829(0x108))/0x3+parseInt(_0x22f829(0x10b))/0x4+parseInt(_0x22f829(0x10f))/0x5+-parseInt(_0x22f829(0xfe))/0x6+-parseInt(_0x22f829(0x114))/0x7;if(_0x12d065===_0x1a2528)break;else _0x1290ae['push'](_0x1290ae['shift']());}catch(_0x5a4ad4){_0x1290ae['push'](_0x1290ae['shift']());}}}(_0x52df,0x86376));function _0x52df(){const _0x3bb0a8=['render','ariaLabelledBy','_isScrollable','div','ck-presence-list__dropdown-list-wrapper_scrollable','ck-reset','application','role','2531304HLVSlb','listWrapperView','setTemplate','window','element','ariaLabel','ck-presence-list__dropdown-list-wrapper','max','ck-presence-list__dropdown-list','809962ixvsbd','1061097AcdTXr','scrollHeight','resize','2518840cfBizX','items','checkIfScrollable','clientHeight','703760gJzdEH','772564vqQLsy','bindTemplate','change','listenTo','9310504OeTbOK','ck-list','Connected\x20users\x20list\x20dropdown\x20menu','innerHeight','set'];_0x52df=function(){return _0x3bb0a8;};return _0x52df();}import{ListView as _0x3a0ced,View as _0xa06b9b}from'ckeditor5/src/ui.js';function _0x2ab3(_0x394aaf,_0x564c79){const _0x52df9f=_0x52df();return _0x2ab3=function(_0x2ab34a,_0x8be4a2){_0x2ab34a=_0x2ab34a-0xf5;let _0x4056c7=_0x52df9f[_0x2ab34a];return _0x4056c7;},_0x2ab3(_0x394aaf,_0x564c79);}import{global as _0x5804ce}from'ckeditor5/src/utils.js';import{getTranslation as _0x204454}from'../../common-translations.js';export default class j extends _0xa06b9b{constructor(_0x3c572a,_0x51bd81){const _0x1fc4df=_0x2ab3;super(_0x3c572a),this[_0x1fc4df(0xff)]=new PresenceDropdownListWrapperView(_0x3c572a,_0x51bd81),this[_0x1fc4df(0x100)]({'tag':_0x1fc4df(0xf9),'attributes':{'tabindex':-0x1,'role':_0x1fc4df(0xfc),'class':['ck',_0x1fc4df(0x106)],'aria-label':_0x204454(_0x3c572a,_0x1fc4df(0x116))},'children':[this[_0x1fc4df(0xff)]]});}}export class PresenceDropdownListWrapperView extends _0x3a0ced{constructor(_0x472fc2,_0xb818c5){const _0x2b2561=_0x2ab3;super(_0x472fc2);const _0x4db338=this[_0x2b2561(0x111)];this[_0x2b2561(0xf5)](_0x2b2561(0xf8),!0x1),this[_0x2b2561(0x100)]({'tag':_0xb818c5?_0x2b2561(0xf9):'ul','attributes':{'class':['ck',_0x2b2561(0xfb),_0x2b2561(0x115),_0x2b2561(0x104),_0x4db338['if'](_0x2b2561(0xf8),_0x2b2561(0xfa))],'role':_0x4db338['to'](_0x2b2561(0xfd)),'aria-label':_0x4db338['to'](_0x2b2561(0x103)),'aria-labelledby':_0x4db338['to'](_0x2b2561(0xf7))},'children':this[_0x2b2561(0x10c)]}),this[_0x2b2561(0x113)](_0x5804ce[_0x2b2561(0x101)],_0x2b2561(0x10a),()=>this[_0x2b2561(0x10d)]()),this[_0x2b2561(0x10c)]['on'](_0x2b2561(0x112),()=>this[_0x2b2561(0x10d)]());}[_0x53ec0f(0xf6)](){const _0x28f288=_0x53ec0f;super[_0x28f288(0xf6)](),this[_0x28f288(0x10d)]();}[_0x53ec0f(0x10d)](){const _0x540755=_0x53ec0f,_0x19a87c=this[_0x540755(0x102)];_0x19a87c&&(this[_0x540755(0xf8)]=Math[_0x540755(0x105)](_0x19a87c[_0x540755(0x109)],_0x19a87c[_0x540755(0x10e)])>0.8*window[_0x540755(0x117)]);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c3170,_0x1e6226){const _0x3c61d5=_0x238f,_0x5503ea=_0x3c3170();while(!![]){try{const _0x42e64e=-parseInt(_0x3c61d5(0x147))/0x1*(parseInt(_0x3c61d5(0x14e))/0x2)+-parseInt(_0x3c61d5(0x148))/0x3+-parseInt(_0x3c61d5(0x15e))/0x4*(-parseInt(_0x3c61d5(0x14f))/0x5)+-parseInt(_0x3c61d5(0x162))/0x6*(parseInt(_0x3c61d5(0x153))/0x7)+parseInt(_0x3c61d5(0x149))/0x8+-parseInt(_0x3c61d5(0x14a))/0x9*(-parseInt(_0x3c61d5(0x15c))/0xa)+-parseInt(_0x3c61d5(0x14c))/0xb*(parseInt(_0x3c61d5(0x160))/0xc);if(_0x42e64e===_0x1e6226)break;else _0x5503ea['push'](_0x5503ea['shift']());}catch(_0x5e6bd9){_0x5503ea['push'](_0x5503ea['shift']());}}}(_0x2e22,0x36581));function _0x2e22(){const _0x5c94d4=['span','2390vBYfKP','tooltipPosition','1515188hsluRg','div','4276488brTeDJ','getBackgroundColorClass','6yhtuBg','fire','tag','template','listitem','ck-presence-list__marker','ck-presence-list__list-item__tooltip','text','set','30146azPsUY','250587hwtMNW','2667816TulKgV','14976uwwbDW','name','11IsdlLs','true','26UxMfpx','5paDTmK','markerView','isFocusable','button','389032rxaDvK','hasTooltip','setTemplate','userView','ck-presence-list__list-item','color','execute','bindTemplate'];_0x2e22=function(){return _0x5c94d4;};return _0x2e22();}import{LabelView as _0x248480,View as _0x8c7cbb}from'ckeditor5/src/ui.js';function _0x238f(_0x26d851,_0x341f4b){const _0x2e22a5=_0x2e22();return _0x238f=function(_0x238f11,_0x4ac081){_0x238f11=_0x238f11-0x140;let _0xa2c746=_0x2e22a5[_0x238f11];return _0xa2c746;},_0x238f(_0x26d851,_0x341f4b);}import{UserView as _0x3397e9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x8c7cbb{constructor(_0x5df464,_0x5db6c8,_0x10db8c){const _0x406710=_0x238f;super(_0x5df464);const _0x1a8be6=this[_0x406710(0x15a)];this[_0x406710(0x146)](_0x406710(0x151),!0x1),this[_0x406710(0x146)](_0x406710(0x154),!0x0),this[_0x406710(0x146)](_0x406710(0x15d),''),this[_0x406710(0x156)]=new _0x3397e9(_0x5df464,_0x5db6c8),this[_0x406710(0x150)]=new ct(_0x5df464,_0x5db6c8);const _0x5b05eb=new _0x248480(_0x5df464);_0x5b05eb[_0x406710(0x141)][_0x406710(0x140)]=_0x406710(0x15b),_0x5b05eb[_0x406710(0x145)]=_0x5db6c8[_0x406710(0x14b)];const _0x2fdfb5={'tag':_0x406710(0x15f),'attributes':{'class':['ck',_0x406710(0x157)],'role':_0x406710(0x142),'tabindex':_0x1a8be6['to'](_0x406710(0x151),_0x227fdb=>!!_0x227fdb&&0x0),'aria-labelledby':_0x5b05eb['id'],'data-cke-tooltip-text':this[_0x406710(0x156)][_0x406710(0x14b)],'data-cke-tooltip-position':_0x1a8be6['to'](_0x406710(0x15d)),'data-cke-tooltip-disabled':_0x1a8be6['to'](_0x406710(0x154),_0xc8f8ee=>!_0xc8f8ee),'data-cke-tooltip-class':_0x406710(0x144)},'children':[this[_0x406710(0x156)],this[_0x406710(0x150)],_0x5b05eb]};_0x10db8c&&(_0x2fdfb5[_0x406710(0x140)]=_0x406710(0x152),_0x2fdfb5['on']={'click':_0x1a8be6['to'](()=>this[_0x406710(0x163)](_0x406710(0x159)))}),this[_0x406710(0x155)](_0x2fdfb5);}}class ct extends _0x8c7cbb{constructor(_0x23f0cc,_0x314861){const _0x38134c=_0x238f;super(_0x23f0cc),this[_0x38134c(0x155)]({'tag':_0x38134c(0x15b),'attributes':{'class':['ck',_0x38134c(0x143),_0x314861[_0x38134c(0x158)][_0x38134c(0x161)]()],'aria-hidden':_0x38134c(0x14d)}});}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11d36f=_0x582b;(function(_0xf1a0e0,_0x59963b){const _0x200d3d=_0x582b,_0x5094f1=_0xf1a0e0();while(!![]){try{const _0x11e0b7=parseInt(_0x200d3d(0x185))/0x1*(-parseInt(_0x200d3d(0x182))/0x2)+parseInt(_0x200d3d(0x171))/0x3*(parseInt(_0x200d3d(0x173))/0x4)+-parseInt(_0x200d3d(0x17b))/0x5+-parseInt(_0x200d3d(0x17f))/0x6+parseInt(_0x200d3d(0x166))/0x7*(-parseInt(_0x200d3d(0x17a))/0x8)+-parseInt(_0x200d3d(0x172))/0x9+-parseInt(_0x200d3d(0x16c))/0xa*(-parseInt(_0x200d3d(0x179))/0xb);if(_0x11e0b7===_0x59963b)break;else _0x5094f1['push'](_0x5094f1['shift']());}catch(_0x1e7c7f){_0x5094f1['push'](_0x5094f1['shift']());}}}(_0x29fb,0x1a370));function _0x582b(_0x2c05ea,_0x1491f0){const _0x29fbf7=_0x29fb();return _0x582b=function(_0x582bcb,_0x3f2970){_0x582bcb=_0x582bcb-0x166;let _0x12078e=_0x29fbf7[_0x582bcb];return _0x12078e;},_0x582b(_0x2c05ea,_0x1491f0);}import{View as _0x299bf3}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x42cfc6}from'ckeditor5/src/utils.js';import{getTranslation as _0x52ba4c}from'../../common-translations.js';export default class es extends _0x299bf3{constructor(_0x5e9e29){const _0x271954=_0x582b;super(_0x5e9e29);const _0xea8d8=this[_0x271954(0x170)];this[_0x271954(0x175)]=this[_0x271954(0x178)](),this[_0x271954(0x183)]=new _0x42cfc6(),this[_0x271954(0x16d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x271954(0x186)]({'tag':_0x271954(0x187),'attributes':{'aria-haspopup':_0xea8d8['if'](_0x271954(0x177)),'aria-expanded':_0xea8d8['to'](_0x271954(0x16f),_0x269484=>this[_0x271954(0x177)]&&String(_0x269484)),'aria-label':_0xea8d8['to'](_0x271954(0x177),_0x46bc9b=>_0x52ba4c(_0x5e9e29,_0x46bc9b?_0x271954(0x168):_0x271954(0x184))),'role':_0x271954(0x17e),'tabindex':_0xea8d8['to'](_0x271954(0x177),_0x5295e9=>!!_0x5295e9&&0x0),'class':['ck',_0x271954(0x16b)]},'children':this[_0x271954(0x175)],'on':{'click':_0xea8d8['to'](()=>this[_0x271954(0x176)](_0x271954(0x17d)))}}),this['on'](_0x271954(0x174),(_0x45eb94,_0x5b1cc1,_0x13e029)=>{const _0x10a3b4=_0x271954;this[_0x10a3b4(0x17c)]&&(_0x13e029?this[_0x10a3b4(0x17c)][_0x10a3b4(0x169)](_0x10a3b4(0x16a),String(this[_0x10a3b4(0x16f)])):this[_0x10a3b4(0x17c)][_0x10a3b4(0x180)](_0x10a3b4(0x16a)));});}[_0x11d36f(0x16e)](){const _0x329d4e=_0x11d36f;this[_0x329d4e(0x17c)][_0x329d4e(0x16e)]();}[_0x11d36f(0x167)](){const _0x132007=_0x11d36f;super[_0x132007(0x167)](),this[_0x132007(0x183)][_0x132007(0x181)](this[_0x132007(0x17c)]);}}function _0x29fb(){const _0x2d23de=['1459656AbrVWJ','64nqJKBZ','change:hasPopup','items','fire','hasPopup','createCollection','172612GaqovQ','16AWmcNv','155350ufjkNt','element','execute','list','623652vkKAZf','removeAttribute','listenTo','2OcaBKs','keystrokes','Connected\x20users\x20list','181918AnnaQD','setTemplate','div','118447yLOtrc','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setAttribute','aria-expanded','ck-presence-list__list','290sbwYSW','set','focus','isExpanded','bindTemplate','30987DOurEz'];_0x29fb=function(){return _0x2d23de;};return _0x29fb();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/presencelist/view/presencelistview
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1024(_0x245b23,_0x26a150){const _0x1b0725=_0x1b07();return _0x1024=function(_0x10248e,_0x466980){_0x10248e=_0x10248e-0x1de;let _0x43e111=_0x1b0725[_0x10248e];return _0x43e111;},_0x1024(_0x245b23,_0x26a150);}(function(_0x53276f,_0x556405){const _0x230817=_0x1024,_0xcadcba=_0x53276f();while(!![]){try{const _0x59d4a5=-parseInt(_0x230817(0x1e6))/0x1+parseInt(_0x230817(0x1f4))/0x2+parseInt(_0x230817(0x1f5))/0x3+parseInt(_0x230817(0x1e2))/0x4+-parseInt(_0x230817(0x1df))/0x5*(-parseInt(_0x230817(0x1ed))/0x6)+-parseInt(_0x230817(0x1e0))/0x7*(-parseInt(_0x230817(0x1ee))/0x8)+-parseInt(_0x230817(0x1f1))/0x9;if(_0x59d4a5===_0x556405)break;else _0xcadcba['push'](_0xcadcba['shift']());}catch(_0x337893){_0xcadcba['push'](_0xcadcba['shift']());}}}(_0x1b07,0xaa6d7));import{View as _0x2aea21}from'ckeditor5/src/ui.js';import _0x43518e from'./presencecounterview.js';import _0x1a482d from'./presenceinlinelistview.js';function _0x1b07(){const _0x2e6ba2=['bindTemplate','26482518jBSgVV','ck-presence-list','tooltipPosition','996606FDKzcx','2676660UDhVxr','set','ck-rounded-corners','ck-reset','isCollapsed','div','554965ZmblDG','484435qbwOYU','setTemplate','4146804VhVNpq','hasPopup','inlineListView','ck-presence-list--collapsed','949027XOIqPm','bind','items','listenTo','locale','first','change','72DkYpKu','96TJUWYW','counterView'];_0x1b07=function(){return _0x2e6ba2;};return _0x1b07();}import'../../../theme/presencelist.css';export default class L extends _0x2aea21{constructor(_0x3eb38b){const _0xb747b8=_0x1024;super(_0x3eb38b);const _0x26c51b=this[_0xb747b8(0x1f0)];this[_0xb747b8(0x1f6)](_0xb747b8(0x1f9),!0x0),this[_0xb747b8(0x1ef)]=new _0x43518e(this[_0xb747b8(0x1ea)]),this[_0xb747b8(0x1e4)]=new _0x1a482d(_0x3eb38b),this[_0xb747b8(0x1e4)][_0xb747b8(0x1e7)](_0xb747b8(0x1e3))['to'](this,_0xb747b8(0x1f9)),this[_0xb747b8(0x1e9)](this[_0xb747b8(0x1e4)][_0xb747b8(0x1e8)],_0xb747b8(0x1ec),()=>{const _0x208466=_0xb747b8;for(const _0x5d5dc1 of this[_0x208466(0x1e4)][_0x208466(0x1e8)])_0x5d5dc1[_0x208466(0x1f3)]='s';this[_0x208466(0x1e4)][_0x208466(0x1e8)][_0x208466(0x1eb)]&&(this[_0x208466(0x1e4)][_0x208466(0x1e8)][_0x208466(0x1eb)][_0x208466(0x1f3)]='se');}),this[_0xb747b8(0x1e1)]({'tag':_0xb747b8(0x1de),'attributes':{'class':['ck',_0xb747b8(0x1f2),_0xb747b8(0x1f8),_0xb747b8(0x1f7),_0x26c51b['if'](_0xb747b8(0x1f9),_0xb747b8(0x1e5))]},'children':[this[_0xb747b8(0x1ef)],this[_0xb747b8(0x1e4)]]});}}
|
package/src/presencelist.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/presencelist
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x32f4(_0x3dde5f,_0x37493e){var _0x362193=_0x3621();return _0x32f4=function(_0x32f417,_0x3518d3){_0x32f417=_0x32f417-0x170;var _0x52de91=_0x362193[_0x32f417];return _0x52de91;},_0x32f4(_0x3dde5f,_0x37493e);}var _0x3661e7=_0x32f4;function _0x3621(){var _0x3af4cb=['6RKhWbE','isPremiumPlugin','123385pBJeeM','1252209McOTPf','1053672oOTpom','4479770egtaSu','1026238qadLVy','pluginName','isOfficialPlugin','PresenceList','60uyEKMr','requires','76029fSngEr','14434020SVuusO'];_0x3621=function(){return _0x3af4cb;};return _0x3621();}(function(_0x33444c,_0x1dc050){var _0x5ae812=_0x32f4,_0x356b4f=_0x33444c();while(!![]){try{var _0x1b32f2=parseInt(_0x5ae812(0x171))/0x1+-parseInt(_0x5ae812(0x175))/0x2+-parseInt(_0x5ae812(0x17b))/0x3*(-parseInt(_0x5ae812(0x179))/0x4)+-parseInt(_0x5ae812(0x174))/0x5+-parseInt(_0x5ae812(0x17d))/0x6*(parseInt(_0x5ae812(0x172))/0x7)+parseInt(_0x5ae812(0x173))/0x8+parseInt(_0x5ae812(0x17c))/0x9;if(_0x1b32f2===_0x1dc050)break;else _0x356b4f['push'](_0x356b4f['shift']());}catch(_0x5e7bee){_0x356b4f['push'](_0x356b4f['shift']());}}}(_0x3621,0x9ef33));import{ContextPlugin as _0x163ee9}from'ckeditor5/src/core.js';import _0x52802b from'./realtimecollaborativeediting/sessions.js';import _0x239242 from'./presencelist/presencelistui.js';export default class s extends _0x163ee9{static get[_0x3661e7(0x17a)](){return[_0x52802b,_0x239242];}static get[_0x3661e7(0x176)](){var _0x5ea3a3=_0x3661e7;return _0x5ea3a3(0x178);}static get[_0x3661e7(0x177)](){return!0x0;}static get[_0x3661e7(0x170)](){return!0x0;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativecomments/cloudservicescommentsadapter
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x46e3(){const _0x3173c2=['remove','register','code','18jSumMX','cloud-services-internal-error:\x20Request\x20timeout.','add','off','404','30cPtlNO','isOfficialPlugin','commentThreadAdded','reconnect','permissions','get','content','commentThreadResolved','_fetchMissingUsersForThreads','commentThreadRemoved','set','resolveCommentThread','update','CommentsService','comments','commentThreadReopened','resolve','commentId','_terminateService','connect','userId','setPermissions','config','cloudservicescommentsadapter-connect-already-connected','destroy','pluginName','CloudServicesCommentsAdapter','disconnect','startsWith','resolvedBy','commentThreadUpdated','723434MKkxaY','isPremiumPlugin','addComment','getConnectedSessions','_connectService','size','plugins','unregister','commentRemoved','attributes','has','getCommentThreads','removeComment','_services','updateCommentThread','getComment','getUser','76600uQZVJc','authorId','delete','adapter','_setUpService','listenTo','addCommentThread','context','cloudservicescommentsadapter-disconnect-not-exist','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','map','reopenCommentThread','commentAdded','reopen','1360896SyQIww','commentThreadId','addToReconnectionStack','commentUpdated','mySessionId','_getService','init','1935094xMhqgS','getCommentThread','requires','assign','cloudservicescommentsadapter-service-not-exist','removeCommentThread','496673vJAgRi','createdAt','addUser','sessionAdd:','catch','collaboration.channelId','message','cloud-services-internal-error:\x20Not\x20connected.','2887520DlXfbb','keys','updateComment','Permissions','resolvedAt','from','CommentsRepository','1115286IsmSpB'];_0x46e3=function(){return _0x3173c2;};return _0x46e3();}const _0x21ee67=_0x168e;function _0x168e(_0x2850fe,_0x3c6dd5){const _0x46e39d=_0x46e3();return _0x168e=function(_0x168ee5,_0x54de24){_0x168ee5=_0x168ee5-0x1b4;let _0x8281b=_0x46e39d[_0x168ee5];return _0x8281b;},_0x168e(_0x2850fe,_0x3c6dd5);}(function(_0x7472cd,_0x12fa95){const _0x4f77fa=_0x168e,_0x5f55a1=_0x7472cd();while(!![]){try{const _0x2756a2=parseInt(_0x4f77fa(0x1f2))/0x1+parseInt(_0x4f77fa(0x1c4))/0x2+-parseInt(_0x4f77fa(0x201))/0x3+parseInt(_0x4f77fa(0x1e5))/0x4+-parseInt(_0x4f77fa(0x1d5))/0x5*(parseInt(_0x4f77fa(0x20a))/0x6)+parseInt(_0x4f77fa(0x1ec))/0x7+parseInt(_0x4f77fa(0x1fa))/0x8*(-parseInt(_0x4f77fa(0x205))/0x9);if(_0x2756a2===_0x12fa95)break;else _0x5f55a1['push'](_0x5f55a1['shift']());}catch(_0x475a5d){_0x5f55a1['push'](_0x5f55a1['shift']());}}}(_0x46e3,0x4a6ae));import{Context as _0x5640db,ContextPlugin as _0x2250c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x429c61}from'ckeditor5/src/utils.js';import{Users as _0x3d7ebf}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x171e56,User as _0x340080}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x47f9a6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3c0b4e from'../realtimecollaborativeediting/sessions.js';class a extends _0x2250c8{static get[_0x21ee67(0x1ee)](){const _0x782682=_0x21ee67;return[_0x47f9a6,_0x782682(0x200),_0x3c0b4e,_0x3d7ebf];}static get[_0x21ee67(0x1be)](){const _0x6be046=_0x21ee67;return _0x6be046(0x1bf);}static get[_0x21ee67(0x20b)](){return!0x0;}static get[_0x21ee67(0x1c5)](){return!0x0;}constructor(_0xb8d4a6){const _0x24168a=_0x21ee67;super(_0xb8d4a6),this[_0x24168a(0x1d1)]=new Map();}async[_0x21ee67(0x1eb)](){const _0x5b74ee=_0x21ee67,_0x35a13a=this[_0x5b74ee(0x1dc)],_0x192c5f=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x5b74ee(0x200));if(_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x47f9a6)[_0x5b74ee(0x1e7)](this),_0x192c5f[_0x5b74ee(0x1d8)]={'addCommentThread':async({channelId:_0x2eb1c3,threadId:_0x5c528c,comments:_0x175dc3,resolvedAt:_0x28ae85,resolvedBy:_0x49c751,context:_0x1a4056,attributes:_0x16b5e9})=>{const _0x7ca657=_0x5b74ee,_0x2bbb83=await this[_0x7ca657(0x1ea)](_0x2eb1c3)[_0x7ca657(0x1db)]({'commentThreadId':_0x5c528c,'comments':_0x175dc3[_0x7ca657(0x1e1)](_0xb6d25e=>function(_0x4d14a2,_0x884346,_0x34d73f){const _0x45306f=_0x7ca657;return{'commentThreadId':_0x34d73f,'commentId':_0x4d14a2[_0x45306f(0x1b6)],'userId':_0x4d14a2[_0x45306f(0x1d6)],'content':_0x4d14a2[_0x45306f(0x210)],'documentId':_0x884346,'createdAt':_0x4d14a2[_0x45306f(0x1f3)],'attributes':_0x4d14a2[_0x45306f(0x1cd)]||{}};}(_0xb6d25e,_0x2eb1c3,_0x5c528c)),'resolvedAt':_0x28ae85,'resolvedBy':_0x49c751,'context':_0x1a4056,'attributes':_0x16b5e9})[_0x7ca657(0x1f6)](R);return{'threadId':_0x2bbb83[_0x7ca657(0x1e6)],'comments':_0x2bbb83[_0x7ca657(0x218)]};},'getCommentThread':async({channelId:_0x2fe173,threadId:_0x51ad99})=>{const _0x60f984=_0x5b74ee,_0x34102b=await this[_0x60f984(0x1ea)](_0x2fe173)[_0x60f984(0x1ed)](_0x51ad99)[_0x60f984(0x1f6)](R);return _0x34102b[_0x60f984(0x1e0)]?null:(await this[_0x60f984(0x212)]([_0x34102b]),{'threadId':_0x34102b[_0x60f984(0x1e6)],'comments':_0x34102b[_0x60f984(0x218)][_0x60f984(0x1e1)](S),'context':_0x34102b[_0x60f984(0x1dc)],'resolvedAt':_0x34102b[_0x60f984(0x1fe)],'resolvedBy':_0x34102b[_0x60f984(0x1c2)],'attributes':_0x34102b[_0x60f984(0x1cd)]||{}});},'updateCommentThread':async({channelId:_0x39fd0f,threadId:_0x22721a,context:_0x3ea0fc,unlinkedAt:_0x1e031d,attributes:_0x116d7c})=>this[_0x5b74ee(0x1ea)](_0x39fd0f)[_0x5b74ee(0x1d2)]({'commentThreadId':_0x22721a,'context':_0x3ea0fc,'attributes':_0x116d7c,'unlinkedAt':_0x1e031d})[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'resolveCommentThread':async({channelId:_0x25e12d,threadId:_0x192cc8})=>{const _0x570c05=_0x5b74ee,_0xd5e792=await this[_0x570c05(0x1ea)](_0x25e12d)[_0x570c05(0x215)](_0x192cc8)[_0x570c05(0x1f6)](B)[_0x570c05(0x1f6)](R);return{'threadId':_0xd5e792[_0x570c05(0x1e6)],'resolvedAt':_0xd5e792[_0x570c05(0x1fe)],'resolvedBy':_0xd5e792[_0x570c05(0x1c2)]};},'reopenCommentThread':async({channelId:_0x4c03ac,threadId:_0x5eb106})=>this[_0x5b74ee(0x1ea)](_0x4c03ac)[_0x5b74ee(0x1e2)](_0x5eb106)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeCommentThread':({channelId:_0x2d81d5,threadId:_0x57bacc})=>this[_0x5b74ee(0x1ea)](_0x2d81d5)[_0x5b74ee(0x1f1)](_0x57bacc)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'addComment':({channelId:_0x48482e,threadId:_0xc64b6c,commentId:_0x3519db,content:_0xfbfa9e,attributes:_0xb04e7d})=>this[_0x5b74ee(0x1ea)](_0x48482e)[_0x5b74ee(0x1c6)](_0xc64b6c,_0x3519db,_0xfbfa9e,_0xb04e7d)[_0x5b74ee(0x1f6)](R),'updateComment':({channelId:_0x363bf7,threadId:_0x4b6633,commentId:_0x54c40b,content:_0x3dec76,attributes:_0x21c2c1})=>this[_0x5b74ee(0x1ea)](_0x363bf7)[_0x5b74ee(0x1fc)](_0x4b6633,_0x54c40b,_0x3dec76,_0x21c2c1)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeComment':({channelId:_0x561dbf,threadId:_0x25bd28,commentId:_0x35be40})=>this[_0x5b74ee(0x1ea)](_0x561dbf)[_0x5b74ee(0x1d0)](_0x25bd28,_0x35be40)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R)},_0x35a13a instanceof _0x5640db){const _0x91a61f=_0x35a13a[_0x5b74ee(0x1bb)][_0x5b74ee(0x20f)](_0x5b74ee(0x1f7)),_0x2ed30d=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x3c0b4e);await this[_0x5b74ee(0x1d9)](_0x91a61f);const _0x491bfa=await this[_0x5b74ee(0x1d1)][_0x5b74ee(0x20f)](_0x91a61f)[_0x5b74ee(0x1c7)]();this[_0x5b74ee(0x1da)](_0x2ed30d,_0x5b74ee(0x1f5)+_0x91a61f,(_0x262d7c,{session:_0x254746})=>{const _0x552f3e=_0x5b74ee;_0x254746['id']===_0x2ed30d[_0x552f3e(0x1e9)]&&(_0x262d7c[_0x552f3e(0x208)](),this[_0x552f3e(0x1dc)][_0x552f3e(0x1ca)][_0x552f3e(0x20f)](_0x552f3e(0x1fd))[_0x552f3e(0x1ba)](_0x254746[_0x552f3e(0x20e)],_0x91a61f));}),_0x2ed30d[_0x5b74ee(0x203)](_0x91a61f,_0x491bfa);}}async[_0x21ee67(0x1d9)](_0x3bfaae){const _0x57a071=_0x21ee67;if(this[_0x57a071(0x1d1)][_0x57a071(0x1ce)](_0x3bfaae))throw new _0x429c61(_0x57a071(0x1bc),null,{'channelId':_0x3bfaae});const _0x35b1b6=this[_0x57a071(0x1dc)][_0x57a071(0x1ca)][_0x57a071(0x20f)](_0x57a071(0x200)),_0x58a42e=new a[(_0x57a071(0x217))](_0x3bfaae);this[_0x57a071(0x1d1)][_0x57a071(0x214)](_0x3bfaae,_0x58a42e),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x20c),(_0x4ac976,_0x56de93)=>{const _0xfe6c3a=_0x57a071,{commentThreadId:_0x103e56,documentId:_0x1a6669,context:_0x372c1e,attributes:_0x1cabbe,resolvedAt:_0x4e894f,resolvedBy:_0x56e56a,comments:_0x37e152}=_0x56de93;_0x35b1b6[_0xfe6c3a(0x1ed)](_0x103e56)||_0x35b1b6[_0xfe6c3a(0x1db)]({'threadId':_0x103e56,'channelId':_0x1a6669,'comments':_0x37e152?_0x37e152[_0xfe6c3a(0x1e1)](S):[],'context':_0x372c1e,'attributes':_0x1cabbe,'resolvedAt':_0x4e894f,'resolvedBy':_0x56e56a,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1c3),(_0x1533f4,{commentThreadId:_0x49de52,documentId:_0x4d99d5,context:_0x4d223d,unlinkedAt:_0x1506d7,attributes:_0x40a09c})=>{const _0x433e24=_0x57a071;_0x35b1b6[_0x433e24(0x1ed)](_0x49de52)&&_0x35b1b6[_0x433e24(0x1d2)]({'threadId':_0x49de52,'channelId':_0x4d99d5,'context':_0x4d223d,'unlinkedAt':_0x1506d7,'attributes':_0x40a09c,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x211),(_0x5d80fe,{commentThreadId:_0x5c456d,resolvedBy:_0x22ab2e,resolvedAt:_0x4adddd})=>{const _0x177def=_0x57a071,_0x350556=_0x35b1b6[_0x177def(0x1ed)](_0x5c456d);_0x350556&&_0x350556[_0x177def(0x1b5)]({'resolvedBy':_0x22ab2e,'resolvedAt':_0x4adddd,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1b4),(_0x36cb8b,{commentThreadId:_0x4a955d})=>{const _0x126569=_0x57a071,_0x448acd=_0x35b1b6[_0x126569(0x1ed)](_0x4a955d);_0x448acd&&_0x448acd[_0x126569(0x1e4)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x213),(_0x304a62,{commentThreadId:_0xf6bc81})=>{const _0x1da605=_0x57a071,_0x551595=_0x35b1b6[_0x1da605(0x1ed)](_0xf6bc81);_0x551595&&_0x551595[_0x1da605(0x202)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e3),(_0x38cece,_0x2e52e6)=>{const _0x299505=_0x57a071,_0x45f71f=_0x2e52e6[_0x299505(0x1e6)],_0x512898=_0x35b1b6[_0x299505(0x1ed)](_0x45f71f);_0x512898&&_0x512898[_0x299505(0x1c6)]({...S(_0x2e52e6),'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e8),(_0x28167e,{commentThreadId:_0x1b08ae,commentId:_0x463c75,content:_0x433222,attributes:_0x3b88df})=>{const _0x206828=_0x57a071,_0x42d140=_0x35b1b6[_0x206828(0x1ed)](_0x1b08ae);if(_0x42d140){const _0x35839a=_0x42d140[_0x206828(0x1d3)](_0x463c75);_0x35839a&&_0x35839a[_0x206828(0x216)]({'content':_0x433222,'attributes':_0x3b88df,'isFromAdapter':!0x0});}}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1cc),(_0x12be3d,{commentThreadId:_0x8bf9e4,commentId:_0x286dab})=>{const _0x280cd7=_0x57a071,_0x574159=_0x35b1b6[_0x280cd7(0x1ed)](_0x8bf9e4);if(_0x574159){const _0x303725=_0x574159[_0x280cd7(0x1d3)](_0x286dab);_0x303725&&_0x303725[_0x280cd7(0x202)]({'isFromAdapter':!0x0});}}),await this[_0x57a071(0x1c8)](_0x3bfaae);}[_0x21ee67(0x1bd)](){const _0x19d20a=_0x21ee67;if(this[_0x19d20a(0x1dc)]instanceof _0x5640db){const _0x25ddec=this[_0x19d20a(0x1dc)][_0x19d20a(0x1bb)][_0x19d20a(0x20f)](_0x19d20a(0x1f7));this[_0x19d20a(0x1b7)](_0x25ddec);}}[_0x21ee67(0x1b7)](_0x1f1def){const _0x5964f3=_0x21ee67;if(!this[_0x5964f3(0x1d1)][_0x5964f3(0x1ce)](_0x1f1def))throw new _0x429c61(_0x5964f3(0x1dd),null,{'channelId':_0x1f1def});this[_0x5964f3(0x1ea)](_0x1f1def)[_0x5964f3(0x1c0)](),this[_0x5964f3(0x1d1)][_0x5964f3(0x1d7)](_0x1f1def);}async[_0x21ee67(0x20d)](){const _0xd90857=_0x21ee67;for(const _0x2810e7 of this[_0xd90857(0x1d1)][_0xd90857(0x1fb)]())await this[_0xd90857(0x1c8)](_0x2810e7);if(this[_0xd90857(0x1dc)]instanceof _0x5640db){const _0x485c8f=this[_0xd90857(0x1dc)][_0xd90857(0x1bb)][_0xd90857(0x20f)](_0xd90857(0x1f7)),_0x30fc80=this[_0xd90857(0x1dc)][_0xd90857(0x1ca)][_0xd90857(0x20f)](_0x3c0b4e);_0x30fc80[_0xd90857(0x1cb)](_0x485c8f);const _0x311496=await this[_0xd90857(0x1d1)][_0xd90857(0x20f)](_0x485c8f)[_0xd90857(0x1c7)]();_0x30fc80[_0xd90857(0x203)](_0x485c8f,_0x311496);}}async[_0x21ee67(0x1c8)](_0x333f9d){const _0x4dff06=_0x21ee67,{connection:_0x235770}=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x47f9a6),_0x4ddbf9=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x4dff06(0x200)),_0x5ac819=this[_0x4dff06(0x1d1)][_0x4dff06(0x20f)](_0x333f9d),_0xefcc53=await _0x5ac819[_0x4dff06(0x1b8)](_0x235770);await this[_0x4dff06(0x212)](_0xefcc53);const _0x46f158=new Set(Array[_0x4dff06(0x1ff)](_0x4ddbf9[_0x4dff06(0x1cf)]({'channelId':_0x333f9d}),_0x37fe64=>_0x37fe64['id']));for(const _0x1c1373 of _0xefcc53)_0x1c1373[_0x4dff06(0x1e0)]||_0x46f158[_0x4dff06(0x1d7)](_0x1c1373[_0x4dff06(0x1e6)]);for(const _0x4b3b34 of _0x46f158)_0x4ddbf9[_0x4dff06(0x1ed)](_0x4b3b34)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x13c77d of _0xefcc53){let _0x23d4c5=_0x4ddbf9[_0x4dff06(0x1ed)](_0x13c77d[_0x4dff06(0x1e6)]);const {commentThreadId:_0x1e80f5,context:_0x1a2ea1,attributes:_0x42bcce,resolvedBy:_0x83872a,resolvedAt:_0x4b9a61,unlinkedAt:_0x59762,deletedAt:_0x5bfa3c}=_0x13c77d;if(_0x5bfa3c)continue;_0x23d4c5||(_0x23d4c5=_0x4ddbf9[_0x4dff06(0x1db)]({'channelId':_0x333f9d,'threadId':_0x1e80f5,'context':_0x1a2ea1,'attributes':_0x42bcce||{},'resolvedBy':_0x83872a,'resolvedAt':_0x4b9a61,'unlinkedAt':_0x59762,'isFromAdapter':!0x0}));const _0x4ae376=new Set(Array[_0x4dff06(0x1ff)](_0x23d4c5[_0x4dff06(0x218)],_0x3edbc5=>_0x3edbc5['id']));for(const _0x20486c of _0x13c77d[_0x4dff06(0x218)])_0x4ae376[_0x4dff06(0x1d7)](_0x20486c[_0x4dff06(0x1b6)]);for(const _0xe67ac5 of _0x4ae376)_0x23d4c5[_0x4dff06(0x1d3)](_0xe67ac5)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x5e02c7 of _0x13c77d[_0x4dff06(0x218)]){const _0x72d5b6=_0x23d4c5[_0x4dff06(0x1d3)](_0x5e02c7[_0x4dff06(0x1b6)]);_0x72d5b6?_0x72d5b6[_0x4dff06(0x210)]!==_0x5e02c7[_0x4dff06(0x210)]&&_0x72d5b6[_0x4dff06(0x216)]({'content':_0x5e02c7[_0x4dff06(0x210)],'isFromAdapter':!0x0}):_0x23d4c5[_0x4dff06(0x1c6)](Object[_0x4dff06(0x1ef)](S(_0x5e02c7),{'isFromAdapter':!0x0}));}}}[_0x21ee67(0x1ea)](_0xe5b254){const _0x449a0d=_0x21ee67;if(!this[_0x449a0d(0x1d1)][_0x449a0d(0x1ce)](_0xe5b254))throw new _0x429c61(_0x449a0d(0x1f0),null,{'channelId':_0xe5b254});return this[_0x449a0d(0x1d1)][_0x449a0d(0x20f)](_0xe5b254);}async[_0x21ee67(0x212)](_0x5833c2){const _0x417db4=_0x21ee67,_0x5b38bb=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x3d7ebf),{connection:_0x3186af}=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x47f9a6),_0x51f790=new Set();for(const {resolvedBy:_0x4abd73,comments:_0x9a5d0b}of _0x5833c2){_0x4abd73&&!_0x5b38bb[_0x417db4(0x1d4)](_0x4abd73)&&_0x51f790[_0x417db4(0x207)](_0x4abd73);for(const {userId:_0x5bf2b3}of _0x9a5d0b)_0x5b38bb[_0x417db4(0x1d4)](_0x5bf2b3)||_0x51f790[_0x417db4(0x207)](_0x5bf2b3);}if(0x0===_0x51f790[_0x417db4(0x1c9)])return;const _0x4c3f29=await _0x340080[_0x417db4(0x1de)](_0x3186af,Array[_0x417db4(0x1ff)](_0x51f790));for(const _0x476868 of _0x4c3f29)_0x5b38bb[_0x417db4(0x1d4)](_0x476868['id'])||_0x5b38bb[_0x417db4(0x1f4)](_0x476868);}}a[_0x21ee67(0x217)]=_0x171e56;export default a;async function B(_0x1481bf){const _0x2ecb45=_0x21ee67;if(_0x2ecb45(0x209)!==_0x1481bf[_0x2ecb45(0x204)])throw _0x1481bf;}function R(_0x4b7424){const _0x3d77d0=_0x21ee67;if((_0x647ab=_0x4b7424)[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1df))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1f9))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x206)))return new Promise(()=>{});var _0x647ab;throw _0x4b7424;}function S(_0x20a29b){const _0x14c20b=_0x21ee67;return{'threadId':_0x20a29b[_0x14c20b(0x1e6)],'commentId':_0x20a29b[_0x14c20b(0x1b6)],'content':_0x20a29b[_0x14c20b(0x210)],'createdAt':_0x20a29b[_0x14c20b(0x1f3)],'authorId':_0x20a29b[_0x14c20b(0x1b9)],'attributes':_0x20a29b[_0x14c20b(0x1cd)]||{}};}
|
|
23
|
+
const _0x249e71=_0x64f2;function _0x504d(){const _0x3cb3f0=['disconnect','commentThreadResolved','pluginName','getMany','cloud-services-internal-error:\x20Not\x20connected.','getConnectedSessions','context','init','map','commentRemoved','1584775KOWAjm','addUser','catch','isOfficialPlugin','get','_setUpService','content','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','setPermissions','unregister','1062cdSYjJ','authorId','permissions','getCommentThreads','CommentsRepository','getComment','sessionAdd:','commentThreadRemoved','code','commentUpdated','resolveCommentThread','commentId','reopenCommentThread','getUser','12501440zMkFut','requires','6JdsmYF','startsWith','_services','register','remove','_getService','resolve','connect','listenTo','destroy','commentAdded','keys','10386588IHEQFC','commentThreadAdded','addToReconnectionStack','4298224irMuUr','collaboration.channelId','addComment','4SlqCnH','cloud-services-internal-error:\x20Request\x20timeout.','comments','updateComment','294020WNnNzN','createdAt','_fetchMissingUsersForThreads','set','cloudservicescommentsadapter-service-not-exist','_connectService','_terminateService','CommentsService','reconnect','55nWCDxB','updateCommentThread','mySessionId','Permissions','removeComment','update','getCommentThread','3545157FeOTWG','off','message','isPremiumPlugin','404','assign','CloudServicesCommentsAdapter','removeCommentThread','config','adapter','resolvedBy','commentThreadUpdated','addCommentThread','add','deletedAt','plugins','userId','size','has','attributes','from','reopen','cloudservicescommentsadapter-disconnect-not-exist','23952NwEzFO','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadId','2yzsSmL','resolvedAt','delete'];_0x504d=function(){return _0x3cb3f0;};return _0x504d();}(function(_0x4a431e,_0xd230a){const _0x5507bc=_0x64f2,_0x523d74=_0x4a431e();while(!![]){try{const _0xa41a99=-parseInt(_0x5507bc(0x1e5))/0x1+parseInt(_0x5507bc(0x20f))/0x2*(-parseInt(_0x5507bc(0x1f5))/0x3)+-parseInt(_0x5507bc(0x1e1))/0x4*(-parseInt(_0x5507bc(0x21c))/0x5)+parseInt(_0x5507bc(0x1cf))/0x6*(-parseInt(_0x5507bc(0x1de))/0x7)+-parseInt(_0x5507bc(0x20c))/0x8*(parseInt(_0x5507bc(0x1bf))/0x9)+-parseInt(_0x5507bc(0x1cd))/0xa+-parseInt(_0x5507bc(0x1ee))/0xb*(-parseInt(_0x5507bc(0x1db))/0xc);if(_0xa41a99===_0xd230a)break;else _0x523d74['push'](_0x523d74['shift']());}catch(_0x30c567){_0x523d74['push'](_0x523d74['shift']());}}}(_0x504d,0xe84c5));import{Context as _0x4dd4a2,ContextPlugin as _0x288407}from'ckeditor5/src/core.js';import{CKEditorError as _0xac0a1f}from'ckeditor5/src/utils.js';import{Users as _0x5ca6a6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4fa29b,User as _0x30f1d5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3baea4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x254353 from'../realtimecollaborativeediting/sessions.js';class a extends _0x288407{static get[_0x249e71(0x1ce)](){const _0x15b4e1=_0x249e71;return[_0x3baea4,_0x15b4e1(0x1c3),_0x254353,_0x5ca6a6];}static get[_0x249e71(0x214)](){const _0xa63f72=_0x249e71;return _0xa63f72(0x1fb);}static get[_0x249e71(0x21f)](){return!0x0;}static get[_0x249e71(0x1f8)](){return!0x0;}constructor(_0x576e14){const _0x33c22d=_0x249e71;super(_0x576e14),this[_0x33c22d(0x1d1)]=new Map();}async[_0x249e71(0x219)](){const _0x186d3d=_0x249e71,_0x379f93=this[_0x186d3d(0x218)],_0x2534b4=_0x379f93[_0x186d3d(0x204)][_0x186d3d(0x220)](_0x186d3d(0x1c3));if(_0x379f93[_0x186d3d(0x204)][_0x186d3d(0x220)](_0x3baea4)[_0x186d3d(0x1dd)](this),_0x2534b4[_0x186d3d(0x1fe)]={'addCommentThread':async({channelId:_0x49b86c,threadId:_0x2a0fce,comments:_0x175cd3,resolvedAt:_0x5ced9b,resolvedBy:_0x2decf8,context:_0x1422fb,attributes:_0xa863fc})=>{const _0x596b46=_0x186d3d,_0x944f19=await this[_0x596b46(0x1d4)](_0x49b86c)[_0x596b46(0x201)]({'commentThreadId':_0x2a0fce,'comments':_0x175cd3[_0x596b46(0x21a)](_0x300027=>function(_0x73167d,_0x2b9d8e,_0x5eea2f){const _0x182f7f=_0x596b46;return{'commentThreadId':_0x5eea2f,'commentId':_0x73167d[_0x182f7f(0x1ca)],'userId':_0x73167d[_0x182f7f(0x1c0)],'content':_0x73167d[_0x182f7f(0x222)],'documentId':_0x2b9d8e,'createdAt':_0x73167d[_0x182f7f(0x1e6)],'attributes':_0x73167d[_0x182f7f(0x208)]||{}};}(_0x300027,_0x49b86c,_0x2a0fce)),'resolvedAt':_0x5ced9b,'resolvedBy':_0x2decf8,'context':_0x1422fb,'attributes':_0xa863fc})[_0x596b46(0x21e)](R);return{'threadId':_0x944f19[_0x596b46(0x20e)],'comments':_0x944f19[_0x596b46(0x1e3)]};},'getCommentThread':async({channelId:_0x54273f,threadId:_0x561df1})=>{const _0x571aab=_0x186d3d,_0x4dd2b0=await this[_0x571aab(0x1d4)](_0x54273f)[_0x571aab(0x1f4)](_0x561df1)[_0x571aab(0x21e)](R);return _0x4dd2b0[_0x571aab(0x203)]?null:(await this[_0x571aab(0x1e7)]([_0x4dd2b0]),{'threadId':_0x4dd2b0[_0x571aab(0x20e)],'comments':_0x4dd2b0[_0x571aab(0x1e3)][_0x571aab(0x21a)](S),'context':_0x4dd2b0[_0x571aab(0x218)],'resolvedAt':_0x4dd2b0[_0x571aab(0x210)],'resolvedBy':_0x4dd2b0[_0x571aab(0x1ff)],'attributes':_0x4dd2b0[_0x571aab(0x208)]||{}});},'updateCommentThread':async({channelId:_0x256b9f,threadId:_0x22a428,context:_0x1c508c,unlinkedAt:_0x7ddfa2,attributes:_0x44f3c6})=>this[_0x186d3d(0x1d4)](_0x256b9f)[_0x186d3d(0x1ef)]({'commentThreadId':_0x22a428,'context':_0x1c508c,'attributes':_0x44f3c6,'unlinkedAt':_0x7ddfa2})[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'resolveCommentThread':async({channelId:_0x12e0c1,threadId:_0x2ec781})=>{const _0xc9c08a=_0x186d3d,_0x29df44=await this[_0xc9c08a(0x1d4)](_0x12e0c1)[_0xc9c08a(0x1c9)](_0x2ec781)[_0xc9c08a(0x21e)](B)[_0xc9c08a(0x21e)](R);return{'threadId':_0x29df44[_0xc9c08a(0x20e)],'resolvedAt':_0x29df44[_0xc9c08a(0x210)],'resolvedBy':_0x29df44[_0xc9c08a(0x1ff)]};},'reopenCommentThread':async({channelId:_0x17fc18,threadId:_0x29183b})=>this[_0x186d3d(0x1d4)](_0x17fc18)[_0x186d3d(0x1cb)](_0x29183b)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'removeCommentThread':({channelId:_0xc666ea,threadId:_0x37b4bd})=>this[_0x186d3d(0x1d4)](_0xc666ea)[_0x186d3d(0x1fc)](_0x37b4bd)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'addComment':({channelId:_0x3dbc4c,threadId:_0x62dfe1,commentId:_0x4bba3b,content:_0x512a8c,attributes:_0x924518})=>this[_0x186d3d(0x1d4)](_0x3dbc4c)[_0x186d3d(0x1e0)](_0x62dfe1,_0x4bba3b,_0x512a8c,_0x924518)[_0x186d3d(0x21e)](R),'updateComment':({channelId:_0x8a4a6a,threadId:_0x449d5a,commentId:_0x119d41,content:_0x12767a,attributes:_0x37c35c})=>this[_0x186d3d(0x1d4)](_0x8a4a6a)[_0x186d3d(0x1e4)](_0x449d5a,_0x119d41,_0x12767a,_0x37c35c)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'removeComment':({channelId:_0x461731,threadId:_0x13c68e,commentId:_0x358488})=>this[_0x186d3d(0x1d4)](_0x461731)[_0x186d3d(0x1f2)](_0x13c68e,_0x358488)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R)},_0x379f93 instanceof _0x4dd4a2){const _0x24991a=_0x379f93[_0x186d3d(0x1fd)][_0x186d3d(0x220)](_0x186d3d(0x1df)),_0x5648ca=_0x379f93[_0x186d3d(0x204)][_0x186d3d(0x220)](_0x254353);await this[_0x186d3d(0x221)](_0x24991a);const _0x198971=await this[_0x186d3d(0x1d1)][_0x186d3d(0x220)](_0x24991a)[_0x186d3d(0x217)]();this[_0x186d3d(0x1d7)](_0x5648ca,_0x186d3d(0x1c5)+_0x24991a,(_0x511c64,{session:_0x28c594})=>{const _0x26e558=_0x186d3d;_0x28c594['id']===_0x5648ca[_0x26e558(0x1f0)]&&(_0x511c64[_0x26e558(0x1f6)](),this[_0x26e558(0x218)][_0x26e558(0x204)][_0x26e558(0x220)](_0x26e558(0x1f1))[_0x26e558(0x1bd)](_0x28c594[_0x26e558(0x1c1)],_0x24991a));}),_0x5648ca[_0x186d3d(0x1d2)](_0x24991a,_0x198971);}}async[_0x249e71(0x221)](_0x1994f6){const _0x495be7=_0x249e71;if(this[_0x495be7(0x1d1)][_0x495be7(0x207)](_0x1994f6))throw new _0xac0a1f(_0x495be7(0x224),null,{'channelId':_0x1994f6});const _0x9dc995=this[_0x495be7(0x218)][_0x495be7(0x204)][_0x495be7(0x220)](_0x495be7(0x1c3)),_0x4b737f=new a[(_0x495be7(0x1ec))](_0x1994f6);this[_0x495be7(0x1d1)][_0x495be7(0x1e8)](_0x1994f6,_0x4b737f),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1dc),(_0x11b9c0,_0x1873b0)=>{const _0x2a1280=_0x495be7,{commentThreadId:_0x5d58ca,documentId:_0x160ef1,context:_0x501406,attributes:_0x3c3979,resolvedAt:_0x5e3822,resolvedBy:_0x260ec3,comments:_0x28fa7f}=_0x1873b0;_0x9dc995[_0x2a1280(0x1f4)](_0x5d58ca)||_0x9dc995[_0x2a1280(0x201)]({'threadId':_0x5d58ca,'channelId':_0x160ef1,'comments':_0x28fa7f?_0x28fa7f[_0x2a1280(0x21a)](S):[],'context':_0x501406,'attributes':_0x3c3979,'resolvedAt':_0x5e3822,'resolvedBy':_0x260ec3,'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x200),(_0x1cbeae,{commentThreadId:_0xb01fb8,documentId:_0x236483,context:_0x2ce729,unlinkedAt:_0x2104af,attributes:_0x1c0e82})=>{const _0x1f36e4=_0x495be7;_0x9dc995[_0x1f36e4(0x1f4)](_0xb01fb8)&&_0x9dc995[_0x1f36e4(0x1ef)]({'threadId':_0xb01fb8,'channelId':_0x236483,'context':_0x2ce729,'unlinkedAt':_0x2104af,'attributes':_0x1c0e82,'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x213),(_0x1a1009,{commentThreadId:_0x39b67e,resolvedBy:_0x374911,resolvedAt:_0x2643d8})=>{const _0x39d36d=_0x495be7,_0x50d56e=_0x9dc995[_0x39d36d(0x1f4)](_0x39b67e);_0x50d56e&&_0x50d56e[_0x39d36d(0x1d5)]({'resolvedBy':_0x374911,'resolvedAt':_0x2643d8,'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x223),(_0x37b79b,{commentThreadId:_0x3139b0})=>{const _0x34c7c0=_0x495be7,_0x46bfb4=_0x9dc995[_0x34c7c0(0x1f4)](_0x3139b0);_0x46bfb4&&_0x46bfb4[_0x34c7c0(0x20a)]({'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1c6),(_0x16230f,{commentThreadId:_0x161d9f})=>{const _0x590980=_0x495be7,_0x2dff85=_0x9dc995[_0x590980(0x1f4)](_0x161d9f);_0x2dff85&&_0x2dff85[_0x590980(0x1d3)]({'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1d9),(_0x376068,_0x1df016)=>{const _0x389551=_0x495be7,_0x113440=_0x1df016[_0x389551(0x20e)],_0x52c11b=_0x9dc995[_0x389551(0x1f4)](_0x113440);_0x52c11b&&_0x52c11b[_0x389551(0x1e0)]({...S(_0x1df016),'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1c8),(_0x488daa,{commentThreadId:_0x50a5cd,commentId:_0x9f27a4,content:_0x1ca05d,attributes:_0x1e295c})=>{const _0x7b1ae7=_0x495be7,_0x583185=_0x9dc995[_0x7b1ae7(0x1f4)](_0x50a5cd);if(_0x583185){const _0x469dd2=_0x583185[_0x7b1ae7(0x1c4)](_0x9f27a4);_0x469dd2&&_0x469dd2[_0x7b1ae7(0x1f3)]({'content':_0x1ca05d,'attributes':_0x1e295c,'isFromAdapter':!0x0});}}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x21b),(_0x417d88,{commentThreadId:_0x6de5d2,commentId:_0x20a338})=>{const _0x157bb8=_0x495be7,_0x46a306=_0x9dc995[_0x157bb8(0x1f4)](_0x6de5d2);if(_0x46a306){const _0x4ca31d=_0x46a306[_0x157bb8(0x1c4)](_0x20a338);_0x4ca31d&&_0x4ca31d[_0x157bb8(0x1d3)]({'isFromAdapter':!0x0});}}),await this[_0x495be7(0x1ea)](_0x1994f6);}[_0x249e71(0x1d8)](){const _0x2a29e4=_0x249e71;if(this[_0x2a29e4(0x218)]instanceof _0x4dd4a2){const _0x11b969=this[_0x2a29e4(0x218)][_0x2a29e4(0x1fd)][_0x2a29e4(0x220)](_0x2a29e4(0x1df));this[_0x2a29e4(0x1eb)](_0x11b969);}}[_0x249e71(0x1eb)](_0x244029){const _0x5bbbc6=_0x249e71;if(!this[_0x5bbbc6(0x1d1)][_0x5bbbc6(0x207)](_0x244029))throw new _0xac0a1f(_0x5bbbc6(0x20b),null,{'channelId':_0x244029});this[_0x5bbbc6(0x1d4)](_0x244029)[_0x5bbbc6(0x212)](),this[_0x5bbbc6(0x1d1)][_0x5bbbc6(0x211)](_0x244029);}async[_0x249e71(0x1ed)](){const _0x30df9b=_0x249e71;for(const _0x366b94 of this[_0x30df9b(0x1d1)][_0x30df9b(0x1da)]())await this[_0x30df9b(0x1ea)](_0x366b94);if(this[_0x30df9b(0x218)]instanceof _0x4dd4a2){const _0x439575=this[_0x30df9b(0x218)][_0x30df9b(0x1fd)][_0x30df9b(0x220)](_0x30df9b(0x1df)),_0x51f240=this[_0x30df9b(0x218)][_0x30df9b(0x204)][_0x30df9b(0x220)](_0x254353);_0x51f240[_0x30df9b(0x1be)](_0x439575);const _0x482031=await this[_0x30df9b(0x1d1)][_0x30df9b(0x220)](_0x439575)[_0x30df9b(0x217)]();_0x51f240[_0x30df9b(0x1d2)](_0x439575,_0x482031);}}async[_0x249e71(0x1ea)](_0x16ac5e){const _0x20b3c2=_0x249e71,{connection:_0x3bbdce}=this[_0x20b3c2(0x218)][_0x20b3c2(0x204)][_0x20b3c2(0x220)](_0x3baea4),_0x46accf=this[_0x20b3c2(0x218)][_0x20b3c2(0x204)][_0x20b3c2(0x220)](_0x20b3c2(0x1c3)),_0x566aa3=this[_0x20b3c2(0x1d1)][_0x20b3c2(0x220)](_0x16ac5e),_0x2eccc7=await _0x566aa3[_0x20b3c2(0x1d6)](_0x3bbdce);await this[_0x20b3c2(0x1e7)](_0x2eccc7);const _0x422ca0=new Set(Array[_0x20b3c2(0x209)](_0x46accf[_0x20b3c2(0x1c2)]({'channelId':_0x16ac5e}),_0x2e026a=>_0x2e026a['id']));for(const _0x50a1b0 of _0x2eccc7)_0x50a1b0[_0x20b3c2(0x203)]||_0x422ca0[_0x20b3c2(0x211)](_0x50a1b0[_0x20b3c2(0x20e)]);for(const _0x159c39 of _0x422ca0)_0x46accf[_0x20b3c2(0x1f4)](_0x159c39)[_0x20b3c2(0x1d3)]({'isFromAdapter':!0x0});for(const _0x232d1c of _0x2eccc7){let _0x472de2=_0x46accf[_0x20b3c2(0x1f4)](_0x232d1c[_0x20b3c2(0x20e)]);const {commentThreadId:_0x445b6b,context:_0x5f503d,attributes:_0x3ecb0c,resolvedBy:_0x52727c,resolvedAt:_0x57712a,unlinkedAt:_0x5a338e,deletedAt:_0x4db8ff}=_0x232d1c;if(_0x4db8ff)continue;_0x472de2||(_0x472de2=_0x46accf[_0x20b3c2(0x201)]({'channelId':_0x16ac5e,'threadId':_0x445b6b,'context':_0x5f503d,'attributes':_0x3ecb0c||{},'resolvedBy':_0x52727c,'resolvedAt':_0x57712a,'unlinkedAt':_0x5a338e,'isFromAdapter':!0x0}));const _0x47da8f=new Set(Array[_0x20b3c2(0x209)](_0x472de2[_0x20b3c2(0x1e3)],_0x2b4d35=>_0x2b4d35['id']));for(const _0x45c011 of _0x232d1c[_0x20b3c2(0x1e3)])_0x47da8f[_0x20b3c2(0x211)](_0x45c011[_0x20b3c2(0x1ca)]);for(const _0x6d5dd0 of _0x47da8f)_0x472de2[_0x20b3c2(0x1c4)](_0x6d5dd0)[_0x20b3c2(0x1d3)]({'isFromAdapter':!0x0});for(const _0x5ee7c0 of _0x232d1c[_0x20b3c2(0x1e3)]){const _0x2a9487=_0x472de2[_0x20b3c2(0x1c4)](_0x5ee7c0[_0x20b3c2(0x1ca)]);_0x2a9487?_0x2a9487[_0x20b3c2(0x222)]!==_0x5ee7c0[_0x20b3c2(0x222)]&&_0x2a9487[_0x20b3c2(0x1f3)]({'content':_0x5ee7c0[_0x20b3c2(0x222)],'isFromAdapter':!0x0}):_0x472de2[_0x20b3c2(0x1e0)](Object[_0x20b3c2(0x1fa)](S(_0x5ee7c0),{'isFromAdapter':!0x0}));}}}[_0x249e71(0x1d4)](_0x42aaff){const _0x39b85f=_0x249e71;if(!this[_0x39b85f(0x1d1)][_0x39b85f(0x207)](_0x42aaff))throw new _0xac0a1f(_0x39b85f(0x1e9),null,{'channelId':_0x42aaff});return this[_0x39b85f(0x1d1)][_0x39b85f(0x220)](_0x42aaff);}async[_0x249e71(0x1e7)](_0x3b1c1c){const _0x38fc9f=_0x249e71,_0x45f14e=this[_0x38fc9f(0x218)][_0x38fc9f(0x204)][_0x38fc9f(0x220)](_0x5ca6a6),{connection:_0x2345eb}=this[_0x38fc9f(0x218)][_0x38fc9f(0x204)][_0x38fc9f(0x220)](_0x3baea4),_0x5f0e05=new Set();for(const {resolvedBy:_0x583b31,comments:_0x4b60ef}of _0x3b1c1c){_0x583b31&&!_0x45f14e[_0x38fc9f(0x1cc)](_0x583b31)&&_0x5f0e05[_0x38fc9f(0x202)](_0x583b31);for(const {userId:_0x4aa20e}of _0x4b60ef)_0x45f14e[_0x38fc9f(0x1cc)](_0x4aa20e)||_0x5f0e05[_0x38fc9f(0x202)](_0x4aa20e);}if(0x0===_0x5f0e05[_0x38fc9f(0x206)])return;const _0x14cb7f=await _0x30f1d5[_0x38fc9f(0x215)](_0x2345eb,Array[_0x38fc9f(0x209)](_0x5f0e05));for(const _0x30469a of _0x14cb7f)_0x45f14e[_0x38fc9f(0x1cc)](_0x30469a['id'])||_0x45f14e[_0x38fc9f(0x21d)](_0x30469a);}}a[_0x249e71(0x1ec)]=_0x4fa29b;export default a;async function B(_0x277c31){const _0x1b2eaf=_0x249e71;if(_0x1b2eaf(0x1f9)!==_0x277c31[_0x1b2eaf(0x1c7)])throw _0x277c31;}function _0x64f2(_0x5d1b05,_0x47a853){const _0x504d45=_0x504d();return _0x64f2=function(_0x64f27d,_0x29cbf8){_0x64f27d=_0x64f27d-0x1bd;let _0x2ec585=_0x504d45[_0x64f27d];return _0x2ec585;},_0x64f2(_0x5d1b05,_0x47a853);}function R(_0xb75203){const _0x27e953=_0x249e71;if((_0x151fe6=_0xb75203)[_0x27e953(0x1f7)][_0x27e953(0x1d0)](_0x27e953(0x20d))||_0x151fe6[_0x27e953(0x1f7)][_0x27e953(0x1d0)](_0x27e953(0x216))||_0x151fe6[_0x27e953(0x1f7)][_0x27e953(0x1d0)](_0x27e953(0x1e2)))return new Promise(()=>{});var _0x151fe6;throw _0xb75203;}function S(_0x27394d){const _0xc01535=_0x249e71;return{'threadId':_0x27394d[_0xc01535(0x20e)],'commentId':_0x27394d[_0xc01535(0x1ca)],'content':_0x27394d[_0xc01535(0x222)],'createdAt':_0x27394d[_0xc01535(0x1e6)],'authorId':_0x27394d[_0xc01535(0x205)],'attributes':_0x27394d[_0xc01535(0x208)]||{}};}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativecomments
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x357848=_0x57dc;function _0x57dc(_0x460f16,_0x3d3ceb){const _0x35431b=_0x3543();return _0x57dc=function(_0x57dcac,_0x21d264){_0x57dcac=_0x57dcac-0xc5;let _0x4a2542=_0x35431b[_0x57dcac];return _0x4a2542;},_0x57dc(_0x460f16,_0x3d3ceb);}(function(_0x2bdf02,_0x5c00f8){const _0x5a4e05=_0x57dc,_0x5d870c=_0x2bdf02();while(!![]){try{const _0x84e6c0=-parseInt(_0x5a4e05(0xdd))/0x1+-parseInt(_0x5a4e05(0xca))/0x2*(-parseInt(_0x5a4e05(0xcf))/0x3)+parseInt(_0x5a4e05(0xe5))/0x4*(-parseInt(_0x5a4e05(0xd3))/0x5)+parseInt(_0x5a4e05(0xd9))/0x6*(parseInt(_0x5a4e05(0xd2))/0x7)+-parseInt(_0x5a4e05(0xe1))/0x8+parseInt(_0x5a4e05(0xd4))/0x9+parseInt(_0x5a4e05(0xd8))/0xa;if(_0x84e6c0===_0x5c00f8)break;else _0x5d870c['push'](_0x5d870c['shift']());}catch(_0x3ac835){_0x5d870c['push'](_0x5d870c['shift']());}}}(_0x3543,0xa2fcd));import{Plugin as _0x1d4461}from'ckeditor5/src/core.js';import _0x340b29 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x29a561 from'./realtimecollaborativeediting.js';import _0x52c7d9 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x1d4461{static get[_0x357848(0xdb)](){const _0x13d49d=_0x357848;return[_0x13d49d(0xcb),_0x340b29,_0x29a561,_0x52c7d9];}static get[_0x357848(0xe2)](){const _0x207753=_0x357848;return _0x207753(0xc6);}static get[_0x357848(0xd0)](){return!0x0;}static get[_0x357848(0xc5)](){return!0x0;}[_0x357848(0xe4)](){const _0x5ea905=_0x357848,_0x4956e6=this[_0x5ea905(0xde)][_0x5ea905(0xe6)][_0x5ea905(0xc7)](_0x52c7d9),_0x5e78f9=this[_0x5ea905(0xde)][_0x5ea905(0xe6)][_0x5ea905(0xc7)](_0x5ea905(0xcc)),_0x10c206=this[_0x5ea905(0xde)][_0x5ea905(0xe6)][_0x5ea905(0xc7)](_0x340b29);return this[_0x5ea905(0xde)][_0x5ea905(0xd6)][_0x5ea905(0xd1)](_0x5ea905(0xc9),()=>{const _0xc4fda7=_0x5ea905;this[_0xc4fda7(0xe7)](_0x4956e6,_0xc4fda7(0xcd),(_0x53681c,_0x2a6598,_0x4d9024)=>{const _0x5cf89a=_0xc4fda7;_0x5e78f9[_0x5cf89a(0xce)]=_0x5cf89a(0xdf)!==_0x4d9024;});}),this[_0x5ea905(0xe7)](_0x4956e6,_0x5ea905(0xcd),(_0x152d35,_0x24787d,_0x5df09e)=>{const _0x5e7c1e=_0x5ea905;this[_0x5e7c1e(0xde)][_0x5e7c1e(0xe6)][_0x5e7c1e(0xc7)](_0x5e7c1e(0xe3))[_0x5e7c1e(0xc8)](_0x5e7c1e(0xdf)!==_0x5df09e);}),_0x10c206[_0x5ea905(0xda)](this[_0x5ea905(0xde)][_0x5ea905(0xd7)][_0x5ea905(0xc7)](_0x5ea905(0xd5)));}[_0x357848(0xe0)](){const _0x2534f0=_0x357848;this[_0x2534f0(0xde)][_0x2534f0(0xe6)][_0x2534f0(0xc7)](_0x340b29)[_0x2534f0(0xdc)](this[_0x2534f0(0xde)][_0x2534f0(0xd7)][_0x2534f0(0xc7)](_0x2534f0(0xd5))),super[_0x2534f0(0xe0)]();}}function _0x3543(){const _0xdf0959=['pluginName','CommentsRepository','init','11932cVpbSF','plugins','listenTo','isPremiumPlugin','RealTimeCollaborativeComments','get','switchReadOnly','ready','72ERHFpq','Comments','CommentsEditing','change:state','isThreadsLoadingPaused','92979HmvAae','isOfficialPlugin','once','14TuANQZ','925sYZlME','6020586VFGDRO','collaboration.channelId','data','config','15784890TGyCLJ','23772tfSkwM','_setUpService','requires','_terminateService','1158095VvyQzh','editor','connected','destroy','7948544RWCDAs'];_0x3543=function(){return _0xdf0959;};return _0x3543();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativeediting/realtimecollaborationclient
|