UNPKG

@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 4.68 kB
/* * 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 _0x565616=_0x4a14;(function(_0x555c63,_0x342619){const _0x308cce=_0x4a14,_0x1caf4f=_0x555c63();while(!![]){try{const _0x507629=-parseInt(_0x308cce(0xc8))/0x1+-parseInt(_0x308cce(0xbe))/0x2+parseInt(_0x308cce(0xab))/0x3*(-parseInt(_0x308cce(0xbc))/0x4)+-parseInt(_0x308cce(0xb6))/0x5*(-parseInt(_0x308cce(0xb8))/0x6)+parseInt(_0x308cce(0xb7))/0x7+-parseInt(_0x308cce(0xca))/0x8+-parseInt(_0x308cce(0xad))/0x9*(-parseInt(_0x308cce(0xc4))/0xa);if(_0x507629===_0x342619)break;else _0x1caf4f['push'](_0x1caf4f['shift']());}catch(_0x217772){_0x1caf4f['push'](_0x1caf4f['shift']());}}}(_0x48ea,0x9027a));import{View as _0x2c9b7e}from'ckeditor5/src/ui.js';function _0x4a14(_0x5c3627,_0x287ba7){const _0x48ea93=_0x48ea();return _0x4a14=function(_0x4a1450,_0x2e1b43){_0x4a1450=_0x4a1450-0xa5;let _0xd6b988=_0x48ea93[_0x4a1450];return _0xd6b988;},_0x4a14(_0x5c3627,_0x287ba7);}function _0x48ea(){const _0x1a306f=['presencelist:hide','4360nzKnZq','setTemplate','set','contains','357965mEzJmo','render','5851040OaqNPA','.ck-presence-list__dropdown-list','change:hasPopup','hasPopup','keystrokes','list','focus','removeAttribute','105AJoFDP','fire','31653KPkYoe','div','items','relatedTarget','setAttribute','aria-expanded','querySelector','bindTemplate','element','6495CoBQlM','3410379djweTK','3534trnxNA','isExpanded','presencelist:show','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','44376JLRMBl','.ck-balloon-panel_with-arrow','1435254OvVFlF','listenTo','ck-presence-list__list','Connected\x20users\x20list','createCollection'];_0x48ea=function(){return _0x1a306f;};return _0x48ea();}import{KeystrokeHandler as _0x1ab37e}from'ckeditor5/src/utils.js';import{getTranslation as _0x335b25}from'../../common-translations.js';export class PresenceInlineListView extends _0x2c9b7e{[_0x565616(0xaf)];[_0x565616(0xa7)];constructor(_0xdbe5ae){const _0x4c1282=_0x565616;super(_0xdbe5ae);const _0x3beebf=this[_0x4c1282(0xb4)];this[_0x4c1282(0xaf)]=this[_0x4c1282(0xc2)](),this[_0x4c1282(0xa7)]=new _0x1ab37e(),this[_0x4c1282(0xc6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4c1282(0xc5)]({'tag':_0x4c1282(0xae),'attributes':{'aria-haspopup':_0x3beebf['if'](_0x4c1282(0xa6)),'aria-expanded':_0x3beebf['to'](_0x4c1282(0xb9),_0x142ee3=>this[_0x4c1282(0xa6)]&&String(_0x142ee3)),'aria-label':_0x3beebf['to'](_0x4c1282(0xa6),_0x28d324=>_0x335b25(_0xdbe5ae,_0x28d324?_0x4c1282(0xbb):_0x4c1282(0xc1))),'role':_0x4c1282(0xa8),'tabindex':_0x3beebf['to'](_0x4c1282(0xa6),_0x214174=>!!_0x214174&&0x0),'class':['ck',_0x4c1282(0xc0)]},'children':this[_0x4c1282(0xaf)],'on':{'mouseenter':_0x3beebf['to'](()=>this[_0x4c1282(0xac)](_0x4c1282(0xba))),'mouseleave':_0x3beebf['to'](_0x2515ba=>{const _0x453d55=_0x4c1282,_0x249790=_0x2515ba,_0x4faa13=document[_0x453d55(0xb3)](_0x453d55(0xcb)),_0x58b362=document[_0x453d55(0xb3)](_0x453d55(0xbd));_0x4faa13?.[_0x453d55(0xc7)](_0x249790[_0x453d55(0xb0)])||_0x58b362?.[_0x453d55(0xc7)](_0x249790[_0x453d55(0xb0)])||this[_0x453d55(0xac)](_0x453d55(0xc3));})}}),this['on'](_0x4c1282(0xa5),(_0x2160f9,_0x43e1b8,_0x53632e)=>{const _0x286469=_0x4c1282;this[_0x286469(0xb5)]&&(_0x53632e?this[_0x286469(0xb5)][_0x286469(0xb1)](_0x286469(0xb2),String(this[_0x286469(0xb9)])):this[_0x286469(0xb5)][_0x286469(0xaa)](_0x286469(0xb2)));});}[_0x565616(0xa9)](){const _0x33f228=_0x565616;this[_0x33f228(0xb5)][_0x33f228(0xa9)]();}[_0x565616(0xc9)](){const _0x5d00f4=_0x565616;super[_0x5d00f4(0xc9)](),this[_0x5d00f4(0xa7)][_0x5d00f4(0xbf)](this[_0x5d00f4(0xb5)]);}}