@ckeditor/ckeditor5-real-time-collaboration
Version:
A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.
23 lines • 3.63 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x4e2d77=_0x5a12;(function(_0x1b7d92,_0x446590){const _0x301e22=_0x5a12,_0x45ab7f=_0x1b7d92();while(!![]){try{const _0x1a74cb=-parseInt(_0x301e22(0x142))/0x1+-parseInt(_0x301e22(0x12f))/0x2+parseInt(_0x301e22(0x140))/0x3*(-parseInt(_0x301e22(0x136))/0x4)+-parseInt(_0x301e22(0x133))/0x5*(parseInt(_0x301e22(0x13c))/0x6)+-parseInt(_0x301e22(0x12a))/0x7+-parseInt(_0x301e22(0x131))/0x8*(-parseInt(_0x301e22(0x13f))/0x9)+parseInt(_0x301e22(0x138))/0xa;if(_0x1a74cb===_0x446590)break;else _0x45ab7f['push'](_0x45ab7f['shift']());}catch(_0x168b96){_0x45ab7f['push'](_0x45ab7f['shift']());}}}(_0x3477,0xb67a6));import{ListItemView as _0x3386b2}from'ckeditor5/src/ui.js';function _0x3477(){const _0x2b25ff=['execute','button','name','354eCYFmo','span','ck-presence-list__dropdown-list-item','1552239QlhETG','9588imZnUh','ck-user__full-name','28373hONlqQ','bindTemplate','presentation','color','4721563wMDlBu','focus','ck-presence-list__marker','fire','setTemplate','1534774DfaeuF','getBackgroundColorClass','24pLnRFe','element','39955YEqUSz','tag','userView','1516MUTfzb','true','33830390oSpaBG'];_0x3477=function(){return _0x2b25ff;};return _0x3477();}import{UserView as _0x47e56f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a12(_0x5be24a,_0x5a5131){const _0x347719=_0x3477();return _0x5a12=function(_0x5a1272,_0x82026a){_0x5a1272=_0x5a1272-0x127;let _0x4233f9=_0x347719[_0x5a1272];return _0x4233f9;},_0x5a12(_0x5be24a,_0x5a5131);}export class PresenceDropdownListItemView extends _0x3386b2{[_0x4e2d77(0x135)];constructor(_0x4bc064,_0x598366,_0x3922be){const _0x14e9f4=_0x4e2d77;super(_0x4bc064);const _0x4f0ce4=this[_0x14e9f4(0x127)];this[_0x14e9f4(0x135)]=new _0x47e56f(_0x4bc064,_0x598366);const _0x4cb8af={'tag':'li','attributes':{'class':['ck',_0x14e9f4(0x13e)],'tabindex':-0x1,'role':_0x14e9f4(0x128),'aria-label':_0x598366[_0x14e9f4(0x13b)]},'children':[this[_0x14e9f4(0x135)],{'tag':_0x14e9f4(0x13d),'attributes':{'class':['ck',_0x14e9f4(0x141)]},'children':[{'text':_0x598366[_0x14e9f4(0x13b)]}]},{'tag':_0x14e9f4(0x13d),'attributes':{'class':['ck',_0x14e9f4(0x12c),_0x598366[_0x14e9f4(0x129)][_0x14e9f4(0x130)]()],'aria-hidden':_0x14e9f4(0x137)}}]};_0x3922be&&(_0x4cb8af[_0x14e9f4(0x134)]=_0x14e9f4(0x13a),_0x4cb8af['on']={'click':_0x4f0ce4['to'](()=>this[_0x14e9f4(0x12d)](_0x14e9f4(0x139)))}),this[_0x14e9f4(0x12e)](_0x4cb8af);}[_0x4e2d77(0x12b)](){const _0x5edcd=_0x4e2d77;this[_0x5edcd(0x132)][_0x5edcd(0x12b)]();}}