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 3.52 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x1dd2(){const _0x458eb9=['ck-presence-list__counter--hidden','bind','154634nuingF','20zbEmdK','bindTemplate','224rmnGOZ','ck-presence-list__users-counter','ck-presence-list__users-counter__text','406380iOnLqt','146927ASajBG','ck-presence-list__list-item','setTemplate','listitem','toString','usersCount','688QyiSHC','div','36GhtqLq','_collapseAt','5850aUKQSf','isHidden','873426mwgzkH','set','57736gxguha','5CQuJIq','2411667kfkTor','1kRmXTx'];_0x1dd2=function(){return _0x458eb9;};return _0x1dd2();}const _0x229898=_0x55c0;function _0x55c0(_0x300daa,_0x15e54f){const _0x1dd260=_0x1dd2();return _0x55c0=function(_0x55c036,_0x4ce1ef){_0x55c036=_0x55c036-0x72;let _0x1b9fdc=_0x1dd260[_0x55c036];return _0x1b9fdc;},_0x55c0(_0x300daa,_0x15e54f);}(function(_0x565101,_0x14cd79){const _0x3f7af9=_0x55c0,_0x34357c=_0x565101();while(!![]){try{const _0xec98c6=-parseInt(_0x3f7af9(0x77))/0x1*(parseInt(_0x3f7af9(0x7a))/0x2)+-parseInt(_0x3f7af9(0x8b))/0x3*(-parseInt(_0x3f7af9(0x87))/0x4)+parseInt(_0x3f7af9(0x75))/0x5*(-parseInt(_0x3f7af9(0x72))/0x6)+-parseInt(_0x3f7af9(0x7d))/0x7*(parseInt(_0x3f7af9(0x74))/0x8)+parseInt(_0x3f7af9(0x76))/0x9+parseInt(_0x3f7af9(0x7b))/0xa*(-parseInt(_0x3f7af9(0x81))/0xb)+parseInt(_0x3f7af9(0x89))/0xc*(parseInt(_0x3f7af9(0x80))/0xd);if(_0xec98c6===_0x14cd79)break;else _0x34357c['push'](_0x34357c['shift']());}catch(_0x5bcfbf){_0x34357c['push'](_0x34357c['shift']());}}}(_0x1dd2,0x34e15));import{View as _0x1b032e}from'ckeditor5/src/ui.js';export class PresenceCounterView extends _0x1b032e{[_0x229898(0x8a)];constructor(_0x39e5ba,_0x220ddd=0x6){const _0x3c6480=_0x229898;super(_0x39e5ba);const _0x2fbf46=this[_0x3c6480(0x7c)];this[_0x3c6480(0x73)](_0x3c6480(0x8c),!0x0),this[_0x3c6480(0x73)](_0x3c6480(0x86),0x0),this[_0x3c6480(0x8a)]=_0x220ddd,this[_0x3c6480(0x79)](_0x3c6480(0x8c))['to'](this,_0x3c6480(0x86),_0x3eaef4=>_0x3eaef4<_0x220ddd),this[_0x3c6480(0x83)]({'tag':_0x3c6480(0x88),'attributes':{'class':['ck',_0x3c6480(0x82),_0x2fbf46['if'](_0x3c6480(0x8c),_0x3c6480(0x78))],'role':_0x3c6480(0x84)},'children':[{'tag':_0x3c6480(0x88),'attributes':{'class':['ck',_0x3c6480(0x7e)]},'children':[{'tag':_0x3c6480(0x88),'attributes':{'class':['ck',_0x3c6480(0x7f)]},'children':[{'text':_0x2fbf46['to'](_0x3c6480(0x86),_0x1ca373=>'+'+(_0x1ca373-this[_0x3c6480(0x8a)]+0x2)[_0x3c6480(0x85)]())}]}]}]});}}