@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240129.0 → 0.0.0-nightly-20240131.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "0.0.0-nightly-20240129.0",
3
+ "version": "0.0.0-nightly-20240131.0",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -32,7 +32,7 @@
32
32
  "type": "module",
33
33
  "main": "src/index.js",
34
34
  "dependencies": {
35
- "ckeditor5": "0.0.0-nightly-20240129.0",
35
+ "ckeditor5": "0.0.0-nightly-20240131.0",
36
36
  "date-fns": "2.30.0"
37
37
  },
38
38
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1777=['noPermissions','forceDisabled','permissions-set-permissions-invalid-channel-id','Permissions','CommentsOnly','context','enableReadOnlyMode','no-permissions','isEnabled','collaboration.channelId','config','includes','disableReadOnlyMode','comment:write','document:write','clearForceDisabled','commands','has','addCommentThread','setPermissions','CommentsRepository','comment:modify_all','editors','find','get','plugins','pluginName'];(function(_0x54db9e,_0x17773e){const _0xa27398=function(_0x17ff30){while(--_0x17ff30){_0x54db9e['push'](_0x54db9e['shift']());}};_0xa27398(++_0x17773e);}(_0x1777,0x1c8));const _0xa273=function(_0x54db9e,_0x17773e){_0x54db9e=_0x54db9e-0x0;let _0xa27398=_0x1777[_0x54db9e];return _0xa27398;};import{ContextPlugin as _0x2cae53,Editor as _0x419b18}from'ckeditor5/src/core.js';import{CKEditorError as _0x62d233}from'ckeditor5/src/utils.js';export default class n extends _0x2cae53{static get[_0xa273('0x2')](){return _0xa273('0x6');}[_0xa273('0x16')](_0x43ed04,_0x1a6dac){let _0x8aa9cb;if(_0x1a6dac||(_0x1a6dac=this[_0xa273('0x8')][_0xa273('0xd')][_0xa273('0x0')](_0xa273('0xc'))),this['context'][_0xa273('0xd')][_0xa273('0x0')](_0xa273('0xc'))==_0x1a6dac?_0x8aa9cb=this[_0xa273('0x8')]:_0xa273('0x19')in this[_0xa273('0x8')]&&this[_0xa273('0x8')][_0xa273('0x19')]&&(_0x8aa9cb=this['context'][_0xa273('0x19')][_0xa273('0x1a')](_0x5b4168=>_0x5b4168[_0xa273('0xd')]['get']('collaboration.channelId')==_0x1a6dac)),!_0x8aa9cb)throw new _0x62d233(_0xa273('0x5'),null);const _0x158c3c=_0x8aa9cb[_0xa273('0x1')],_0x98bad4=_0x158c3c[_0xa273('0x14')]('CommentsRepository')?_0x158c3c[_0xa273('0x0')](_0xa273('0x17')):void 0x0,_0x4c26ab=_0x158c3c['has'](_0xa273('0x7'))&&_0x158c3c['get']('CommentsOnly'),_0x43a968=_0x43ed04['includes'](_0xa273('0x11')),_0x58d07c=_0x43ed04[_0xa273('0xe')](_0xa273('0x18')),_0x1c9738=_0x43ed04[_0xa273('0xe')]('comment:admin'),_0x5ccf8f=_0x43ed04[_0xa273('0xe')](_0xa273('0x10')),_0x4526f3=_0x5ccf8f||_0x1c9738,_0x563a05=_0x4526f3||_0x58d07c,_0x5beaf9=_0x43a968||_0x4526f3;(_0x4c26ab&&(_0x4c26ab[_0xa273('0xb')]=!_0x43a968&&_0x563a05),_0x8aa9cb instanceof _0x419b18)&&(!(_0x43a968||_0x563a05&&_0x98bad4)?_0x8aa9cb[_0xa273('0x9')]('no-permissions'):_0x8aa9cb[_0xa273('0xf')](_0xa273('0xa')));if(_0x98bad4){_0x98bad4[_0xa273('0x16')]({'admin':_0x1c9738,'modifyAll':_0x58d07c,'write':_0x5ccf8f,'resolve':_0x5beaf9},_0x1a6dac);const _0x5f0937=_0x8aa9cb instanceof _0x419b18&&_0x8aa9cb[_0xa273('0x13')]['get'](_0xa273('0x15'));_0x5f0937&&(_0x4526f3?_0x5f0937[_0xa273('0x12')](_0xa273('0x3')):_0x5f0937[_0xa273('0x4')]('noPermissions'));}}}
23
+ const _0x39a2=['addCommentThread','document:write','get','config','plugins','CommentsRepository','Permissions','no-permissions','CommentsOnly','setPermissions','forceDisabled','editors','comment:admin','context','enableReadOnlyMode','includes','commands','comment:modify_all','isEnabled','pluginName','collaboration.channelId','noPermissions','has'];(function(_0x19c760,_0x39a2f7){const _0x10cb97=function(_0xe2f4aa){while(--_0xe2f4aa){_0x19c760['push'](_0x19c760['shift']());}};_0x10cb97(++_0x39a2f7);}(_0x39a2,0xd0));const _0x10cb=function(_0x19c760,_0x39a2f7){_0x19c760=_0x19c760-0x0;let _0x10cb97=_0x39a2[_0x19c760];return _0x10cb97;};import{ContextPlugin as _0x2c5134,Editor as _0x2e4789}from'ckeditor5/src/core.js';import{CKEditorError as _0x214c9c}from'ckeditor5/src/utils.js';export default class n extends _0x2c5134{static get[_0x10cb('0x12')](){return _0x10cb('0x5');}[_0x10cb('0x8')](_0x39a540,_0x15df78){let _0xe391a;if(_0x15df78||(_0x15df78=this[_0x10cb('0xc')][_0x10cb('0x2')][_0x10cb('0x1')](_0x10cb('0x13'))),this[_0x10cb('0xc')][_0x10cb('0x2')][_0x10cb('0x1')](_0x10cb('0x13'))==_0x15df78?_0xe391a=this['context']:'editors'in this['context']&&this[_0x10cb('0xc')]['editors']&&(_0xe391a=this[_0x10cb('0xc')][_0x10cb('0xa')]['find'](_0x3d1522=>_0x3d1522[_0x10cb('0x2')][_0x10cb('0x1')](_0x10cb('0x13'))==_0x15df78)),!_0xe391a)throw new _0x214c9c('permissions-set-permissions-invalid-channel-id',null);const _0x5f26bc=_0xe391a[_0x10cb('0x3')],_0x1eaa88=_0x5f26bc[_0x10cb('0x15')](_0x10cb('0x4'))?_0x5f26bc[_0x10cb('0x1')](_0x10cb('0x4')):void 0x0,_0x292f4f=_0x5f26bc[_0x10cb('0x15')](_0x10cb('0x7'))&&_0x5f26bc[_0x10cb('0x1')]('CommentsOnly'),_0xed8b2=_0x39a540[_0x10cb('0xe')](_0x10cb('0x0')),_0x37f05b=_0x39a540[_0x10cb('0xe')](_0x10cb('0x10')),_0x1375d7=_0x39a540['includes'](_0x10cb('0xb')),_0x41e53c=_0x39a540['includes']('comment:write'),_0x664107=_0x41e53c||_0x1375d7,_0x44797c=_0x664107||_0x37f05b,_0x289a01=_0xed8b2||_0x664107;(_0x292f4f&&(_0x292f4f[_0x10cb('0x11')]=!_0xed8b2&&_0x44797c),_0xe391a instanceof _0x2e4789)&&(!(_0xed8b2||_0x44797c&&_0x1eaa88)?_0xe391a[_0x10cb('0xd')](_0x10cb('0x6')):_0xe391a['disableReadOnlyMode'](_0x10cb('0x6')));if(_0x1eaa88){_0x1eaa88[_0x10cb('0x8')]({'admin':_0x1375d7,'modifyAll':_0x37f05b,'write':_0x41e53c,'resolve':_0x289a01},_0x15df78);const _0x30b67a=_0xe391a instanceof _0x2e4789&&_0xe391a[_0x10cb('0xf')]['get'](_0x10cb('0x16'));_0x30b67a&&(_0x664107?_0x30b67a['clearForceDisabled'](_0x10cb('0x14')):_0x30b67a[_0x10cb('0x9')](_0x10cb('0x14')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40ac=['content','notificationView','avatar','initials','div','setTemplate','ck-user__notification','url(\x27','isAnonymous','push','extendTemplate','ck-user__anonymous','name','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__img'];(function(_0x59e776,_0x40ac4d){const _0x3525f0=function(_0x11a7c2){while(--_0x11a7c2){_0x59e776['push'](_0x59e776['shift']());}};_0x3525f0(++_0x40ac4d);}(_0x40ac,0x1de));const _0x3525=function(_0x59e776,_0x40ac4d){_0x59e776=_0x59e776-0x0;let _0x3525f0=_0x40ac[_0x59e776];return _0x3525f0;};import{View as _0x2763b5,IconView as _0x5f4016}from'ckeditor5/src/ui.js';import _0x36c1b0 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x2763b5{constructor(_0xeda99b,_0x4ffb73,_0x4fd9b1){super(_0xeda99b),this[_0x3525('0xe')]=_0x4ffb73[_0x3525('0xe')],this[_0x3525('0x3')]=null;const _0x116450=['ck',_0x3525('0x1')];if(_0x4ffb73[_0x3525('0xa')]&&_0x116450[_0x3525('0xb')](_0x3525('0xd')),_0x4ffb73[_0x3525('0x4')]&&_0x116450[_0x3525('0xb')]('ck-user__avatar'),_0x4fd9b1){const _0x4d0dfa=new _0x5f4016();_0x4d0dfa[_0x3525('0xc')]({'attributes':{'class':['ck-user__icon']}}),_0x4d0dfa[_0x3525('0x2')]=_0x36c1b0,this[_0x3525('0x3')]={'tag':_0x3525('0x6'),'attributes':{'class':['ck',_0x3525('0x8')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4fd9b1},'children':[_0x4d0dfa]};}const _0x2a1ba2=[{'tag':_0x3525('0x6'),'attributes':{'class':_0x116450,'style':{'background-image':_0x4ffb73[_0x3525('0x4')]?_0x3525('0x9')+_0x4ffb73['avatar']+'\x27)':''}}},{'tag':_0x3525('0x6'),'attributes':{'class':_0x4ffb73[_0x3525('0x4')]?_0x3525('0x0'):_0x3525('0xf')},'children':[{'text':_0x4ffb73[_0x3525('0x5')]}]}];this['notificationView']&&_0x2a1ba2[_0x3525('0xb')](this['notificationView']),this[_0x3525('0x7')]({'tag':'div','attributes':{'class':['ck','ck-user'],'data-user-id':_0x4ffb73['id']},'children':_0x2a1ba2});}}
23
+ const _0x4fcf=['ck-user_me','name','extendTemplate','isMe','ck-user__img','setTemplate','ck\x20ck-user__name','notificationView','div','ck-user__avatar','url(\x27','avatar','push','initials','ck-user','content','isAnonymous','ck-user__icon'];(function(_0x5b27eb,_0x4fcfcf){const _0x602669=function(_0x7a98ca){while(--_0x7a98ca){_0x5b27eb['push'](_0x5b27eb['shift']());}};_0x602669(++_0x4fcfcf);}(_0x4fcf,0x1e3));const _0x6026=function(_0x5b27eb,_0x4fcfcf){_0x5b27eb=_0x5b27eb-0x0;let _0x602669=_0x4fcf[_0x5b27eb];return _0x602669;};import{View as _0x10c7dc,IconView as _0x2051c7}from'ckeditor5/src/ui.js';import _0x5bdfb6 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x10c7dc{constructor(_0x5c2108,_0x1ddd9d,_0x5f3eff){super(_0x5c2108),this[_0x6026('0x4')]=_0x1ddd9d[_0x6026('0x4')],this[_0x6026('0xa')]=null;const _0x3f6029=['ck',_0x6026('0x11')],_0x1dd944=['ck',_0x6026('0x7')];if(_0x1ddd9d[_0x6026('0x1')]&&_0x1dd944['push']('ck-user__anonymous'),!_0x1ddd9d['isAnonymous']&&_0x1ddd9d[_0x6026('0x6')]&&_0x3f6029[_0x6026('0xf')](_0x6026('0x3')),_0x1ddd9d[_0x6026('0xe')]&&_0x1dd944[_0x6026('0xf')](_0x6026('0xc')),_0x5f3eff){const _0x5b8cf1=new _0x2051c7();_0x5b8cf1[_0x6026('0x5')]({'attributes':{'class':[_0x6026('0x2')]}}),_0x5b8cf1[_0x6026('0x0')]=_0x5bdfb6,this[_0x6026('0xa')]={'tag':_0x6026('0xb'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5f3eff},'children':[_0x5b8cf1]};}const _0x2d7d98=[{'tag':_0x6026('0xb'),'attributes':{'class':_0x1dd944,'style':{'background-image':_0x1ddd9d[_0x6026('0xe')]?_0x6026('0xd')+_0x1ddd9d[_0x6026('0xe')]+'\x27)':''}}},{'tag':_0x6026('0xb'),'attributes':{'class':_0x1ddd9d[_0x6026('0xe')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x6026('0x9')},'children':[{'text':_0x1ddd9d[_0x6026('0x10')]}]}];this[_0x6026('0xa')]&&_0x2d7d98['push'](this[_0x6026('0xa')]),this[_0x6026('0x8')]({'tag':'div','attributes':{'class':_0x3f6029,'data-user-id':_0x1ddd9d['id']},'children':_0x2d7d98});}}
package/src/users.d.ts CHANGED
@@ -121,6 +121,10 @@ export declare class User {
121
121
  * used by "guest" users of your application, or when the original user's account was removed.
122
122
  */
123
123
  get isAnonymous(): boolean;
124
+ /**
125
+ * Is `true` for the {@link module:collaboration-core/users~Users#me local user}.
126
+ */
127
+ get isMe(): boolean;
124
128
  /**
125
129
  * The initials of the user.
126
130
  *
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x373d=['getUser','initials','string','split','charAt','add','Anonymous','licenseKeyValid','_myId','users','pluginName','licenseKeyInvalid','trial-license-key-reached-limit-revisions','invalid-license-key','_locale','_getNextColor','define','users.colorsCount','anonymous-user','getBackgroundColorClass','has','requires','getSelectionClass','locale','context','licenseKeyTrialLimit:operations','get','_getInitial','licenseKeyTrialLimit:revisions','getMarkerClass','ck-user__bg-color--','licenseKeyTrial','avatar','destroy','addUser','licenseKey','_isAnonymous','ck-user__marker--','Users','getOperationAuthor','init','useAnonymousUser','config','users-add-duplicated-id','ck-user__selection--','color','users-me-missing-user','trim','users-add-invalid-id','name','_licenseKeyCheckInterval','_id','_addAnonymousUser','_lastColor','decorate','includes','users-me-already-defined','defineMe'];(function(_0x4a3372,_0x373dee){const _0x3ffbfb=function(_0x4cf907){while(--_0x4cf907){_0x4a3372['push'](_0x4a3372['shift']());}};_0x3ffbfb(++_0x373dee);}(_0x373d,0x19b));const _0x3ffb=function(_0x4a3372,_0x373dee){_0x4a3372=_0x4a3372-0x0;let _0x3ffbfb=_0x373d[_0x4a3372];return _0x3ffbfb;};import{ContextPlugin as _0x3f7f5a}from'ckeditor5/src/core.js';import{Collection as _0x606a3,CKEditorError as _0x2e01d4}from'ckeditor5/src/utils.js';import _0x2ad9c2 from'./permissions.js';import{getTranslation as _0x3f0644}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x3f7f5a{static get[_0x3ffb('0x5')](){return _0x3ffb('0x21');}static get[_0x3ffb('0x10')](){return[_0x2ad9c2];}constructor(_0x5cda91){super(_0x5cda91),this[_0x3ffb('0x13')][_0x3ffb('0x25')][_0x3ffb('0xb')]('users.anonymousUserId',_0x3ffb('0xd')),this[_0x3ffb('0x13')][_0x3ffb('0x25')]['define'](_0x3ffb('0xc'),0x8),this['users']=new _0x606a3(),this[_0x3ffb('0x9')]=_0x5cda91[_0x3ffb('0x12')],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this[_0x3ffb('0x3')]=null,this[_0x3ffb('0x31')](_0x3ffb('0x22'));}[_0x3ffb('0x23')](){const _0x13aa0b=this['context'];this[_0x3ffb('0x1e')]=_0x13aa0b['config'][_0x3ffb('0x15')](_0x3ffb('0x1e'));const _0x3af18a=[_0x3ffb('0x1a'),'licenseKeyInvalid',_0x3ffb('0x2'),_0x3ffb('0x14'),'licenseKeyTrialLimit:time',_0x3ffb('0x17')];this[_0x3ffb('0x2d')]=setInterval(()=>{let _0x19be56;for(const _0x4ca93d in _0x13aa0b){const _0x1fefaf=_0x13aa0b[_0x4ca93d];if(_0x3af18a[_0x3ffb('0x32')](_0x1fefaf)){delete _0x13aa0b[_0x4ca93d],_0x19be56=_0x1fefaf;break;}}if(_0x3ffb('0x6')===_0x19be56)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2e01d4(_0x3ffb('0x8'),null);if('licenseKeyTrial'===_0x19be56&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x19be56)throw clearInterval(this[_0x3ffb('0x2d')]),new _0x2e01d4('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x19be56)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2e01d4('trial-license-key-reached-limit-time',null);if('licenseKeyTrialLimit:revisions'===_0x19be56)throw clearInterval(this[_0x3ffb('0x2d')]),new _0x2e01d4(_0x3ffb('0x7'),null);_0x3ffb('0x2')===_0x19be56&&clearInterval(this[_0x3ffb('0x2d')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x3ffb('0x3')]?null:this[_0x3ffb('0x35')](this[_0x3ffb('0x3')]);}['addUser']({id:_0x20c4be,name:_0x21480e,..._0x518b1a}){if(!_0x20c4be||_0x3ffb('0x37')!=typeof _0x20c4be)throw new _0x2e01d4(_0x3ffb('0x2b'));if(this['users'][_0x3ffb('0xf')](_0x20c4be))throw new _0x2e01d4(_0x3ffb('0x26'),null,{'id':_0x20c4be});const _0x89d06f={..._0x518b1a,'id':_0x20c4be,'name':a(this['_locale'],_0x21480e),'color':this[_0x3ffb('0xa')]()};_0x89d06f[_0x3ffb('0x2c')]=a(this[_0x3ffb('0x9')],_0x89d06f[_0x3ffb('0x2c')]);const _0x1eee86=new User(_0x89d06f);return this[_0x3ffb('0x4')][_0x3ffb('0x0')](_0x1eee86),_0x1eee86;}[_0x3ffb('0x35')](_0x4d5e1b){return this[_0x3ffb('0x4')][_0x3ffb('0x15')](_0x4d5e1b);}[_0x3ffb('0x24')](){const _0x4ce784=this[_0x3ffb('0x13')][_0x3ffb('0x25')]['get']('users.anonymousUserId');this[_0x3ffb('0x3')]||this[_0x3ffb('0x34')](_0x4ce784);}['defineMe'](_0x13d7f){if(this[_0x3ffb('0x3')])throw new _0x2e01d4(_0x3ffb('0x33'),null);if(!this[_0x3ffb('0x35')](_0x13d7f))throw new _0x2e01d4(_0x3ffb('0x29'),null);this['_myId']=_0x13d7f;}['getOperationAuthor'](){return this['me'];}['destroy'](){super[_0x3ffb('0x1c')](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x235e20=this[_0x3ffb('0x13')][_0x3ffb('0x25')][_0x3ffb('0x15')](_0x3ffb('0xc'));return this[_0x3ffb('0x30')]>=_0x235e20&&(this['_lastColor']=0x0),new u(this[_0x3ffb('0x30')]++);}[_0x3ffb('0x2f')](){const _0x2f9636=this['context'][_0x3ffb('0x25')]['get']('users.anonymousUserId');this[_0x3ffb('0x1d')]({'id':_0x2f9636,'name':_0x3f0644(this[_0x3ffb('0x9')],_0x3ffb('0x1'))})[_0x3ffb('0x1f')]=!0x0;}}export class User{constructor(_0x4ec52f){this['id']=_0x4ec52f['id'],this[_0x3ffb('0x28')]=_0x4ec52f['color'],this[_0x3ffb('0x2c')]=_0x4ec52f[_0x3ffb('0x2c')],this[_0x3ffb('0x1b')]=_0x4ec52f[_0x3ffb('0x1b')],this[_0x3ffb('0x1f')]=!0x1;}get['isAnonymous'](){return this[_0x3ffb('0x1f')];}get[_0x3ffb('0x36')](){const _0xc354e1=this[_0x3ffb('0x2c')][_0x3ffb('0x38')]('\x20');return 0x1===_0xc354e1['length']?this[_0x3ffb('0x16')](_0xc354e1[0x0]):this[_0x3ffb('0x16')](_0xc354e1[0x0])+this[_0x3ffb('0x16')](_0xc354e1[_0xc354e1['length']-0x1]);}[_0x3ffb('0x16')](_0x3177f0){return _0x3177f0[_0x3ffb('0x39')](0x0)['toUpperCase']();}}function a(_0x5adb28,_0x15485c=''){return''==(_0x15485c=_0x15485c[_0x3ffb('0x2a')]())?_0x3f0644(_0x5adb28,_0x3ffb('0x1')):_0x15485c;}class u{constructor(_0x3f8a3a){this[_0x3ffb('0x2e')]=_0x3f8a3a;}[_0x3ffb('0xe')](){return _0x3ffb('0x19')+this['_id'];}[_0x3ffb('0x11')](){return _0x3ffb('0x27')+this['_id'];}[_0x3ffb('0x18')](){return _0x3ffb('0x20')+this[_0x3ffb('0x2e')];}}
23
+ const _0x2a0c=['_getNextColor','_isMe','getMarkerClass','requires','licenseKeyTrial','pluginName','trial-license-key-reached-limit-changes','licenseKey','invalid-license-key','getBackgroundColorClass','define','defineMe','users-me-missing-user','length','name','_lastColor','init','licenseKeyInvalid','info','config','get','_getInitial','users-me-already-defined','isAnonymous','locale','_id','licenseKeyTrialLimit:operations','add','_licenseKeyCheckInterval','_addAnonymousUser','licenseKeyValid','users.colorsCount','_myId','color','decorate','ck-user__marker--','_locale','toUpperCase','trim','users.anonymousUserId','useAnonymousUser','Users','avatar','getUser','destroy','licenseKeyTrialLimit:time','Anonymous','has','_isAnonymous','addUser','users','users-add-invalid-id','anonymous-user','context','getOperationAuthor','licenseKeyTrialLimit:revisions'];(function(_0x40f5f0,_0x2a0cbb){const _0x135478=function(_0x28539e){while(--_0x28539e){_0x40f5f0['push'](_0x40f5f0['shift']());}};_0x135478(++_0x2a0cbb);}(_0x2a0c,0x175));const _0x1354=function(_0x40f5f0,_0x2a0cbb){_0x40f5f0=_0x40f5f0-0x0;let _0x135478=_0x2a0c[_0x40f5f0];return _0x135478;};import{ContextPlugin as _0x55aa52}from'ckeditor5/src/core.js';import{Collection as _0x2dc3c5,CKEditorError as _0x481900}from'ckeditor5/src/utils.js';import _0x49e2a6 from'./permissions.js';import{getTranslation as _0x6394bb}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x55aa52{static get[_0x1354('0x18')](){return _0x1354('0x4');}static get[_0x1354('0x16')](){return[_0x49e2a6];}constructor(_0x18e358){super(_0x18e358),this[_0x1354('0x10')][_0x1354('0x26')][_0x1354('0x1d')](_0x1354('0x2'),_0x1354('0xf')),this[_0x1354('0x10')]['config'][_0x1354('0x1d')](_0x1354('0x32'),0x8),this['users']=new _0x2dc3c5(),this[_0x1354('0x37')]=_0x18e358[_0x1354('0x2b')],this[_0x1354('0x2f')]=null,this[_0x1354('0x22')]=0x0,this[_0x1354('0x33')]=null,this[_0x1354('0x35')](_0x1354('0x11'));}[_0x1354('0x23')](){const _0x5d0fd5=this['context'];this[_0x1354('0x1a')]=_0x5d0fd5[_0x1354('0x26')][_0x1354('0x27')]('licenseKey');const _0x402673=[_0x1354('0x17'),_0x1354('0x24'),_0x1354('0x31'),_0x1354('0x2d'),_0x1354('0x8'),_0x1354('0x12')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x432c99;for(const _0x38f4db in _0x5d0fd5){const _0x5d6cfb=_0x5d0fd5[_0x38f4db];if(_0x402673['includes'](_0x5d6cfb)){delete _0x5d0fd5[_0x38f4db],_0x432c99=_0x5d6cfb;break;}}if(_0x1354('0x24')===_0x432c99)throw clearInterval(this[_0x1354('0x2f')]),new _0x481900(_0x1354('0x1b'),null);if(_0x1354('0x17')===_0x432c99&&console[_0x1354('0x25')]('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),_0x1354('0x2d')===_0x432c99)throw clearInterval(this[_0x1354('0x2f')]),new _0x481900(_0x1354('0x19'),null);if(_0x1354('0x8')===_0x432c99)throw clearInterval(this[_0x1354('0x2f')]),new _0x481900('trial-license-key-reached-limit-time',null);if(_0x1354('0x12')===_0x432c99)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x481900('trial-license-key-reached-limit-revisions',null);_0x1354('0x31')===_0x432c99&&clearInterval(this[_0x1354('0x2f')]);},0x3e8),this[_0x1354('0x30')]();}get['me'](){return null==this[_0x1354('0x33')]?null:this[_0x1354('0x6')](this[_0x1354('0x33')]);}[_0x1354('0xc')]({id:_0x4ed19c,name:_0x49b830,..._0x2caa8f}){if(!_0x4ed19c||'string'!=typeof _0x4ed19c)throw new _0x481900(_0x1354('0xe'));if(this[_0x1354('0xd')][_0x1354('0xa')](_0x4ed19c))throw new _0x481900('users-add-duplicated-id',null,{'id':_0x4ed19c});const _0x3c664a={..._0x2caa8f,'id':_0x4ed19c,'name':a(this[_0x1354('0x37')],_0x49b830),'color':this[_0x1354('0x13')]()};_0x3c664a[_0x1354('0x21')]=a(this[_0x1354('0x37')],_0x3c664a[_0x1354('0x21')]);const _0x3c0a1a=new User(_0x3c664a);return this[_0x1354('0xd')][_0x1354('0x2e')](_0x3c0a1a),_0x3c0a1a;}[_0x1354('0x6')](_0x130caa){return this[_0x1354('0xd')][_0x1354('0x27')](_0x130caa);}[_0x1354('0x3')](){const _0x2465de=this[_0x1354('0x10')][_0x1354('0x26')][_0x1354('0x27')](_0x1354('0x2'));this[_0x1354('0x33')]||this[_0x1354('0x1e')](_0x2465de);}[_0x1354('0x1e')](_0x1c9bba){if(this['_myId'])throw new _0x481900(_0x1354('0x29'),null);const _0x409fb3=this['getUser'](_0x1c9bba);if(!_0x409fb3)throw new _0x481900(_0x1354('0x1f'),null);this[_0x1354('0x33')]=_0x1c9bba,_0x409fb3[_0x1354('0x14')]=!0x0;}[_0x1354('0x11')](){return this['me'];}[_0x1354('0x7')](){super['destroy'](),clearInterval(this[_0x1354('0x2f')]);}[_0x1354('0x13')](){const _0x359c92=this[_0x1354('0x10')]['config'][_0x1354('0x27')]('users.colorsCount');return this[_0x1354('0x22')]>=_0x359c92&&(this[_0x1354('0x22')]=0x0),new u(this[_0x1354('0x22')]++);}[_0x1354('0x30')](){const _0x461b70=this[_0x1354('0x10')]['config'][_0x1354('0x27')](_0x1354('0x2'));this[_0x1354('0xc')]({'id':_0x461b70,'name':_0x6394bb(this[_0x1354('0x37')],_0x1354('0x9'))})[_0x1354('0xb')]=!0x0;}}export class User{constructor(_0x35eed5){this['id']=_0x35eed5['id'],this[_0x1354('0x34')]=_0x35eed5[_0x1354('0x34')],this['name']=_0x35eed5[_0x1354('0x21')],this[_0x1354('0x5')]=_0x35eed5['avatar'],this[_0x1354('0xb')]=!0x1,this['_isMe']=!0x1;}get[_0x1354('0x2a')](){return this[_0x1354('0xb')];}get['isMe'](){return this[_0x1354('0x14')];}get['initials'](){const _0x187ff5=this[_0x1354('0x21')]['split']('\x20');return 0x1===_0x187ff5[_0x1354('0x20')]?this[_0x1354('0x28')](_0x187ff5[0x0]):this[_0x1354('0x28')](_0x187ff5[0x0])+this[_0x1354('0x28')](_0x187ff5[_0x187ff5['length']-0x1]);}[_0x1354('0x28')](_0x268b67){return _0x268b67['charAt'](0x0)[_0x1354('0x0')]();}}function a(_0x1a5fc4,_0x17eb3e=''){return''==(_0x17eb3e=_0x17eb3e[_0x1354('0x1')]())?_0x6394bb(_0x1a5fc4,_0x1354('0x9')):_0x17eb3e;}class u{constructor(_0x58abb2){this['_id']=_0x58abb2;}[_0x1354('0x1c')](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this[_0x1354('0x2c')];}[_0x1354('0x15')](){return _0x1354('0x36')+this[_0x1354('0x2c')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xf0ae91,_0xd336d1){const t=_0xf0ae91['t'];switch(_0xd336d1){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x45e7b4,_0x24d7c9){const t=_0x45e7b4['t'];switch(_0x24d7c9){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8146=['isConfirm','fire','destroy','cancel','showConfirm','locale','focus','submit','message','render','element','once','confirmView','deregisterChild','_removeConfirm','cancelConfirm','remove'];(function(_0x4709db,_0x8146fc){var _0x1e7845=function(_0x32d9ad){while(--_0x32d9ad){_0x4709db['push'](_0x4709db['shift']());}};_0x1e7845(++_0x8146fc);}(_0x8146,0x18e));var _0x1e78=function(_0x4709db,_0x8146fc){_0x4709db=_0x4709db-0x0;var _0x1e7845=_0x8146[_0x4709db];return _0x1e7845;};import _0x593731 from'./confirmview.js';export default function m(_0x25d8bf){return class extends _0x25d8bf{[_0x1e78('0xe')](_0x425240,_0x5a95f7){return this[_0x1e78('0x5')]=new _0x593731(this[_0x1e78('0xf')]),this[_0x1e78('0x5')][_0x1e78('0x2')](),this[_0x1e78('0x5')][_0x1e78('0x1')]=_0x425240,this['confirmView'][_0x1e78('0x4')](_0x1e78('0xd'),()=>{this[_0x1e78('0x7')]();}),this[_0x1e78('0x5')][_0x1e78('0x4')](_0x1e78('0x0'),()=>{this[_0x1e78('0x7')]();}),_0x5a95f7['appendChild'](this[_0x1e78('0x5')][_0x1e78('0x3')]),this['registerChild'](this['confirmView']),this['element'][_0x1e78('0x10')](),this['set'](_0x1e78('0xa'),!0x0),new Promise(_0x17ff4d=>this[_0x1e78('0x5')]['on'](_0x1e78('0x0'),_0x17ff4d));}[_0x1e78('0x8')](){this[_0x1e78('0xa')]&&this[_0x1e78('0x5')][_0x1e78('0xb')]('cancel');}[_0x1e78('0x7')](){this[_0x1e78('0x3')]&&this[_0x1e78('0x5')]&&this[_0x1e78('0x5')][_0x1e78('0x3')]&&(this[_0x1e78('0x3')][_0x1e78('0x10')](),this[_0x1e78('0x5')][_0x1e78('0x3')][_0x1e78('0x9')](),this[_0x1e78('0x6')](this[_0x1e78('0x5')]),this['isConfirm']=!0x1,this['confirmView'][_0x1e78('0xc')](),this[_0x1e78('0x5')]=void 0x0);}};}
23
+ var _0x6c88=['fire','confirmView','once','element','focus','cancel','deregisterChild','_removeConfirm','registerChild','submit','locale','message','appendChild','cancelConfirm','isConfirm','render'];(function(_0x312bb6,_0x6c88d9){var _0x226649=function(_0x415a6e){while(--_0x415a6e){_0x312bb6['push'](_0x312bb6['shift']());}};_0x226649(++_0x6c88d9);}(_0x6c88,0x132));var _0x2266=function(_0x312bb6,_0x6c88d9){_0x312bb6=_0x312bb6-0x0;var _0x226649=_0x6c88[_0x312bb6];return _0x226649;};import _0x1208df from'./confirmview.js';export default function m(_0x14fd76){return class extends _0x14fd76{['showConfirm'](_0x3ec453,_0x5ee5f0){return this[_0x2266('0xf')]=new _0x1208df(this[_0x2266('0x8')]),this[_0x2266('0xf')][_0x2266('0xd')](),this[_0x2266('0xf')][_0x2266('0x9')]=_0x3ec453,this[_0x2266('0xf')][_0x2266('0x0')](_0x2266('0x3'),()=>{this['_removeConfirm']();}),this[_0x2266('0xf')][_0x2266('0x0')](_0x2266('0x7'),()=>{this['_removeConfirm']();}),_0x5ee5f0[_0x2266('0xa')](this[_0x2266('0xf')][_0x2266('0x1')]),this[_0x2266('0x6')](this['confirmView']),this['element'][_0x2266('0x2')](),this['set'](_0x2266('0xc'),!0x0),new Promise(_0x1fc60b=>this[_0x2266('0xf')]['on'](_0x2266('0x7'),_0x1fc60b));}[_0x2266('0xb')](){this[_0x2266('0xc')]&&this[_0x2266('0xf')][_0x2266('0xe')](_0x2266('0x3'));}[_0x2266('0x5')](){this[_0x2266('0x1')]&&this[_0x2266('0xf')]&&this[_0x2266('0xf')][_0x2266('0x1')]&&(this[_0x2266('0x1')][_0x2266('0x2')](),this[_0x2266('0xf')]['element']['remove'](),this[_0x2266('0x4')](this[_0x2266('0xf')]),this[_0x2266('0xc')]=!0x1,this['confirmView']['destroy'](),this[_0x2266('0xf')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3219=['label','ck-thread__remove-confirm-inner','bindTemplate','cancelView','set','submitView','message','fire','Are\x20you\x20sure?','execute','ck-thread__remove-confirm','div','ck-thread__remove-confirm-','_createButtonView','Yes','setTemplate','ck-thread__remove-confirm-actions','submit','extendTemplate','cancel'];(function(_0x5ae5c7,_0x32199b){const _0x4f8e06=function(_0x22e001){while(--_0x22e001){_0x5ae5c7['push'](_0x5ae5c7['shift']());}};_0x4f8e06(++_0x32199b);}(_0x3219,0x1e2));const _0x4f8e=function(_0x5ae5c7,_0x32199b){_0x5ae5c7=_0x5ae5c7-0x0;let _0x4f8e06=_0x3219[_0x5ae5c7];return _0x4f8e06;};import{View as _0x18c315,ButtonView as _0x2ad872}from'ckeditor5/src/ui.js';import{icons as _0x534217}from'ckeditor5/src/core.js';import{getTranslation as _0xeaa399}from'./common-translations.js';export default class h extends _0x18c315{constructor(_0x111143){super(_0x111143);const _0x4fa76c=this[_0x4f8e('0x0')];this[_0x4f8e('0x3')]=this[_0x4f8e('0xb')](_0x111143,_0xeaa399(_0x111143,_0x4f8e('0xc')),_0x534217['check'],_0x4f8e('0xf')),this['cancelView']=this[_0x4f8e('0xb')](_0x111143,_0xeaa399(_0x111143,'No'),_0x534217[_0x4f8e('0x11')],'cancel'),this[_0x4f8e('0x2')](_0x4f8e('0x4'),_0xeaa399(_0x111143,_0x4f8e('0x6'))),this[_0x4f8e('0xd')]({'tag':_0x4f8e('0x9'),'attributes':{'class':[_0x4f8e('0x8')]},'children':[{'tag':_0x4f8e('0x9'),'attributes':{'class':_0x4f8e('0x13')},'children':[{'tag':'p','children':[{'text':_0x4fa76c['to']('message')}]},{'tag':_0x4f8e('0x9'),'attributes':{'class':_0x4f8e('0xe')},'children':[this[_0x4f8e('0x3')],this[_0x4f8e('0x1')]]}]}]});}[_0x4f8e('0xb')](_0x5246e1,_0x10cee8,_0xfff851,_0x3fcd97){const _0x4837c0=new _0x2ad872(_0x5246e1);return _0x4837c0[_0x4f8e('0x12')]=_0x10cee8,_0x4837c0['icon']=_0xfff851,_0x4837c0[_0x4f8e('0x10')]({'attributes':{'class':_0x4f8e('0xa')+_0x3fcd97}}),_0x4837c0['on'](_0x4f8e('0x7'),()=>this[_0x4f8e('0x5')](_0x3fcd97)),_0x4837c0;}}
23
+ const _0x5a81=['ck-thread__remove-confirm-inner','cancel','Yes','Are\x20you\x20sure?','_createButtonView','message','fire','cancelView','set','ck-thread__remove-confirm','setTemplate','div','extendTemplate','bindTemplate','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','icon','execute'];(function(_0xd3347b,_0x5a8174){const _0x40d04d=function(_0x418d9e){while(--_0x418d9e){_0xd3347b['push'](_0xd3347b['shift']());}};_0x40d04d(++_0x5a8174);}(_0x5a81,0x9b));const _0x40d0=function(_0xd3347b,_0x5a8174){_0xd3347b=_0xd3347b-0x0;let _0x40d04d=_0x5a81[_0xd3347b];return _0x40d04d;};import{View as _0x4476b0,ButtonView as _0x372fda}from'ckeditor5/src/ui.js';import{icons as _0xc40da0}from'ckeditor5/src/core.js';import{getTranslation as _0x3d6f7a}from'./common-translations.js';export default class h extends _0x4476b0{constructor(_0x24e28f){super(_0x24e28f);const _0x47dca0=this[_0x40d0('0x2')];this['submitView']=this[_0x40d0('0xb')](_0x24e28f,_0x3d6f7a(_0x24e28f,_0x40d0('0x9')),_0xc40da0['check'],'submit'),this[_0x40d0('0xe')]=this['_createButtonView'](_0x24e28f,_0x3d6f7a(_0x24e28f,'No'),_0xc40da0['cancel'],_0x40d0('0x8')),this[_0x40d0('0xf')](_0x40d0('0xc'),_0x3d6f7a(_0x24e28f,_0x40d0('0xa'))),this[_0x40d0('0x11')]({'tag':_0x40d0('0x0'),'attributes':{'class':[_0x40d0('0x10')]},'children':[{'tag':_0x40d0('0x0'),'attributes':{'class':_0x40d0('0x7')},'children':[{'tag':'p','children':[{'text':_0x47dca0['to']('message')}]},{'tag':'div','attributes':{'class':_0x40d0('0x4')},'children':[this['submitView'],this[_0x40d0('0xe')]]}]}]});}['_createButtonView'](_0x3b93c3,_0x3004bd,_0x5ff9ba,_0x346aba){const _0x5c1db4=new _0x372fda(_0x3b93c3);return _0x5c1db4['label']=_0x3004bd,_0x5c1db4[_0x40d0('0x5')]=_0x5ff9ba,_0x5c1db4[_0x40d0('0x1')]({'attributes':{'class':_0x40d0('0x3')+_0x346aba}}),_0x5c1db4['on'](_0x40d0('0x6'),()=>this[_0x40d0('0xd')](_0x346aba)),_0x5c1db4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cb0=['MM-dd-yyyy\x20hh:mma','dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','string','\x27Today\x27\x20hh:mma','function','\x27Yesterday\x27\x20hh:mma'];(function(_0x5171fd,_0x2cb0c7){const _0x1092b5=function(_0x5ddbe0){while(--_0x5ddbe0){_0x5171fd['push'](_0x5171fd['shift']());}};_0x1092b5(++_0x2cb0c7);}(_0x2cb0,0x1ba));const _0x1092=function(_0x5171fd,_0x2cb0c7){_0x5171fd=_0x5171fd-0x0;let _0x1092b5=_0x2cb0[_0x5171fd];return _0x1092b5;};import _0xad112e from'date-fns/format/index.js';import _0x54f544 from'date-fns/parseISO/index.js';import _0x20fa7b from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x10b8fa}from'ckeditor5/src/utils.js';export default function j(_0x574863={}){if(void 0x0!==_0x574863[_0x1092('0x7')]&&_0x1092('0x4')!=typeof _0x574863[_0x1092('0x7')])throw new _0x10b8fa(_0x1092('0x1'));return _0x2a7def=>{const _0x639e34=_0x1092('0x2')==typeof _0x2a7def?_0x54f544(_0x2a7def):_0x2a7def,_0x2a4cfc=new Date(),_0x346ef1=_0x20fa7b(_0x2a4cfc,_0x639e34);return _0x574863[_0x1092('0x7')]?_0x574863[_0x1092('0x7')](_0x639e34):_0xad112e(_0x639e34,0x0===_0x346ef1?_0x1092('0x3'):0x1===_0x346ef1?_0x1092('0x5'):_0x346ef1<0x7?_0x1092('0x0'):_0x1092('0x6'));};}
23
+ const _0x3b70=['dateTimeFormat','\x27Yesterday\x27\x20hh:mma','string','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','function'];(function(_0x1133b7,_0x3b7044){const _0x151286=function(_0x5119cb){while(--_0x5119cb){_0x1133b7['push'](_0x1133b7['shift']());}};_0x151286(++_0x3b7044);}(_0x3b70,0x68));const _0x1512=function(_0x1133b7,_0x3b7044){_0x1133b7=_0x1133b7-0x0;let _0x151286=_0x3b70[_0x1133b7];return _0x151286;};import _0x496e1d from'date-fns/format/index.js';import _0x4c3c86 from'date-fns/parseISO/index.js';import _0x2cc596 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x29d8dd}from'ckeditor5/src/utils.js';export default function j(_0x3b4fa7={}){if(void 0x0!==_0x3b4fa7['dateTimeFormat']&&_0x1512('0x0')!=typeof _0x3b4fa7[_0x1512('0x1')])throw new _0x29d8dd('invalid-date-time-format');return _0x3531a6=>{const _0x165d73=_0x1512('0x3')==typeof _0x3531a6?_0x4c3c86(_0x3531a6):_0x3531a6,_0xfa1492=new Date(),_0x46351d=_0x2cc596(_0xfa1492,_0x165d73);return _0x3b4fa7[_0x1512('0x1')]?_0x3b4fa7[_0x1512('0x1')](_0x165d73):_0x496e1d(_0x165d73,0x0===_0x46351d?_0x1512('0x6'):0x1===_0x46351d?_0x1512('0x2'):_0x46351d<0x7?_0x1512('0x5'):_0x1512('0x4'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2936=['map','filter','mapper','sort','mapViewToDom','length','markerNameToElements','domConverter','domElement','getClientRects','name','values','item'];(function(_0x59f229,_0x29365d){const _0x193f07=function(_0x1f2f1c){while(--_0x1f2f1c){_0x59f229['push'](_0x59f229['shift']());}};_0x193f07(++_0x29365d);}(_0x2936,0x1de));const _0x193f=function(_0x59f229,_0x29365d){_0x59f229=_0x59f229-0x0;let _0x193f07=_0x2936[_0x59f229];return _0x193f07;};import{first as _0x5e1bc2}from'ckeditor5/src/utils.js';export default function k(_0x444925,_0x4083a8){const _0x524f6d=_0x444925[_0x193f('0x5')][_0x193f('0x9')](_0x4083a8['name']);if(!_0x524f6d)return null;const _0x4812e3=_0x5e1bc2(_0x524f6d[_0x193f('0x1')]());return _0x444925['view'][_0x193f('0xa')]['mapViewToDom'](_0x4812e3)||null;}export function getAllMarkersDomElementsSorted(_0x1e6015,_0x29aae2){if(0x0===_0x29aae2[_0x193f('0x8')])return null;const _0x441731=[],_0x2425dc=_0x1e6015['view']['domConverter'];for(const _0x439ef6 of _0x29aae2){const _0x42b23d=_0x1e6015[_0x193f('0x5')][_0x193f('0x9')](_0x439ef6[_0x193f('0x0')]);if(!_0x42b23d)continue;const _0x1c0665=Array['from'](_0x42b23d)[_0x193f('0x3')](_0x47bbfe=>_0x2425dc[_0x193f('0x7')](_0x47bbfe))[_0x193f('0x4')](_0x87d666=>!!_0x87d666);_0x441731['push'](..._0x1c0665);}if(0x0===_0x441731['length'])return null;const _0x30fab7=[];for(const _0x49dfe9 of _0x441731){const _0xf2c6de=_0x49dfe9[_0x193f('0xc')]()[_0x193f('0x2')](0x0);_0xf2c6de&&_0x30fab7['push']({'x':_0xf2c6de['x'],'y':_0xf2c6de['y'],'domElement':_0x49dfe9});}return 0x0===_0x30fab7['length']?null:(_0x30fab7[_0x193f('0x6')]((_0x54362b,_0x6360d4)=>_0x54362b['y']-_0x6360d4['y']||_0x54362b['x']-_0x6360d4['x']),_0x30fab7[_0x193f('0x3')](_0x553f81=>_0x553f81[_0x193f('0xb')]));}
23
+ const _0x3ae8=['getClientRects','mapper','domConverter','map','values','item','view','length','mapViewToDom','from','sort','name','markerNameToElements','push','filter'];(function(_0x4250b8,_0x3ae85b){const _0x1d82b=function(_0xfba5b){while(--_0xfba5b){_0x4250b8['push'](_0x4250b8['shift']());}};_0x1d82b(++_0x3ae85b);}(_0x3ae8,0x17a));const _0x1d82=function(_0x4250b8,_0x3ae85b){_0x4250b8=_0x4250b8-0x0;let _0x1d82b=_0x3ae8[_0x4250b8];return _0x1d82b;};import{first as _0x495367}from'ckeditor5/src/utils.js';export default function k(_0x4a1474,_0x56df29){const _0x55cd4a=_0x4a1474['mapper'][_0x1d82('0x9')](_0x56df29[_0x1d82('0x8')]);if(!_0x55cd4a)return null;const _0x4d1d15=_0x495367(_0x55cd4a[_0x1d82('0x1')]());return _0x4a1474[_0x1d82('0x3')][_0x1d82('0xe')][_0x1d82('0x5')](_0x4d1d15)||null;}export function getAllMarkersDomElementsSorted(_0xd0c6a8,_0x3945d6){if(0x0===_0x3945d6[_0x1d82('0x4')])return null;const _0x17caab=[],_0x30b8b7=_0xd0c6a8['view']['domConverter'];for(const _0x10f4a7 of _0x3945d6){const _0x2840b3=_0xd0c6a8[_0x1d82('0xd')][_0x1d82('0x9')](_0x10f4a7[_0x1d82('0x8')]);if(!_0x2840b3)continue;const _0x2086fb=Array[_0x1d82('0x6')](_0x2840b3)[_0x1d82('0x0')](_0x4a2ceb=>_0x30b8b7['mapViewToDom'](_0x4a2ceb))[_0x1d82('0xb')](_0x28a488=>!!_0x28a488);_0x17caab[_0x1d82('0xa')](..._0x2086fb);}if(0x0===_0x17caab[_0x1d82('0x4')])return null;const _0x420f83=[];for(const _0x4f6a78 of _0x17caab){const _0x2f00df=_0x4f6a78[_0x1d82('0xc')]()[_0x1d82('0x2')](0x0);_0x2f00df&&_0x420f83[_0x1d82('0xa')]({'x':_0x2f00df['x'],'y':_0x2f00df['y'],'domElement':_0x4f6a78});}return 0x0===_0x420f83[_0x1d82('0x4')]?null:(_0x420f83[_0x1d82('0x7')]((_0x47efc3,_0x2b8609)=>_0x47efc3['y']-_0x2b8609['y']||_0x47efc3['x']-_0x2b8609['x']),_0x420f83[_0x1d82('0x0')](_0x718595=>_0x718595['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2047=['charCodeAt','toString','object','string','sign','keys','number','sort'];(function(_0x2d9a65,_0x20479d){const _0x453c39=function(_0x17c861){while(--_0x17c861){_0x2d9a65['push'](_0x2d9a65['shift']());}};_0x453c39(++_0x20479d);}(_0x2047,0x6f));const _0x453c=function(_0x2d9a65,_0x20479d){_0x2d9a65=_0x2d9a65-0x0;let _0x453c39=_0x2047[_0x2d9a65];return _0x453c39;};export default function b(_0x551656){let _0x295c9f=0x0,_0xbc127b=0x0;for(const _0x5d8f1e of A(_0x551656))_0x295c9f=(_0x295c9f<<0x5)-_0x295c9f+_0x5d8f1e,_0x295c9f&=_0x295c9f,[_0x295c9f,_0xbc127b]=[_0xbc127b,_0x295c9f];return q(_0x295c9f)+q(_0xbc127b);}function*g(_0x1b4fd3){null==_0x1b4fd3||null==_0x1b4fd3?yield 0x12b9b0a1:0x0===_0x1b4fd3||!0x1===_0x1b4fd3?yield 0x0:0x1===_0x1b4fd3||0x1==_0x1b4fd3?yield 0x1:Array['isArray'](_0x1b4fd3)?yield*function*(_0xde5c2c){for(const _0x4e9e02 of _0xde5c2c)yield*g(_0x4e9e02);}(_0x1b4fd3):_0x453c('0x3')==typeof _0x1b4fd3?yield*A(_0x1b4fd3):_0x453c('0x4')==typeof _0x1b4fd3?yield*M(_0x1b4fd3):_0x453c('0x7')==typeof _0x1b4fd3&&(yield _0x1b4fd3);}function*A(_0x4affda){if(yield O('{'),_0x4affda){const _0x5ea52f=Object[_0x453c('0x6')](_0x4affda)[_0x453c('0x0')]();for(const _0x21053f of _0x5ea52f){yield*M(_0x21053f),yield O(':');const _0xe02f1e=_0x4affda[_0x21053f];yield*g(_0xe02f1e);}}yield O('}');}function*M(_0x586a20){yield O('\x22');for(const _0x530b25 of _0x586a20)yield O(_0x530b25);yield O('\x22');}function O(_0x3b88f3){return _0x3b88f3[_0x453c('0x1')](0x0);}function q(_0xb91867){return(_0xb91867*=Math[_0x453c('0x5')](_0xb91867))[_0x453c('0x2')](0x24);}
23
+ const _0x15b4=['sign','keys','string','object','toString','isArray','charCodeAt'];(function(_0x3cbf87,_0x15b433){const _0x4f6dbe=function(_0x546aae){while(--_0x546aae){_0x3cbf87['push'](_0x3cbf87['shift']());}};_0x4f6dbe(++_0x15b433);}(_0x15b4,0x163));const _0x4f6d=function(_0x3cbf87,_0x15b433){_0x3cbf87=_0x3cbf87-0x0;let _0x4f6dbe=_0x15b4[_0x3cbf87];return _0x4f6dbe;};export default function b(_0x3b4c62){let _0x5c4b80=0x0,_0x2f9b60=0x0;for(const _0x9e5b07 of A(_0x3b4c62))_0x5c4b80=(_0x5c4b80<<0x5)-_0x5c4b80+_0x9e5b07,_0x5c4b80&=_0x5c4b80,[_0x5c4b80,_0x2f9b60]=[_0x2f9b60,_0x5c4b80];return q(_0x5c4b80)+q(_0x2f9b60);}function*g(_0x26f0db){null==_0x26f0db||null==_0x26f0db?yield 0x12b9b0a1:0x0===_0x26f0db||!0x1===_0x26f0db?yield 0x0:0x1===_0x26f0db||0x1==_0x26f0db?yield 0x1:Array[_0x4f6d('0x0')](_0x26f0db)?yield*function*(_0x44abb5){for(const _0x51de45 of _0x44abb5)yield*g(_0x51de45);}(_0x26f0db):_0x4f6d('0x5')==typeof _0x26f0db?yield*A(_0x26f0db):_0x4f6d('0x4')==typeof _0x26f0db?yield*M(_0x26f0db):'number'==typeof _0x26f0db&&(yield _0x26f0db);}function*A(_0x1e523f){if(yield O('{'),_0x1e523f){const _0x472911=Object[_0x4f6d('0x3')](_0x1e523f)['sort']();for(const _0x3bcfe8 of _0x472911){yield*M(_0x3bcfe8),yield O(':');const _0x3244e5=_0x1e523f[_0x3bcfe8];yield*g(_0x3244e5);}}yield O('}');}function*M(_0x3ecf08){yield O('\x22');for(const _0x416f95 of _0x3ecf08)yield O(_0x416f95);yield O('\x22');}function O(_0x23755c){return _0x23755c[_0x4f6d('0x1')](0x0);}function q(_0xa80e49){return(_0xa80e49*=Math[_0x4f6d('0x2')](_0xa80e49))[_0x4f6d('0x6')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bc1=['context','get','from','WProofreader','name','extraPlugins','removePlugins','pluginName','requires','constructor','Autosave','set','RevisionTracker','_context','plugins','has','toolbar','initialData','find','concat','config','string','builtinPlugins','filter','names','map','length','WordCount','includes','every'];(function(_0x31562c,_0x4bc193){const _0x26794f=function(_0xeacc01){while(--_0xeacc01){_0x31562c['push'](_0x31562c['shift']());}};_0x26794f(++_0x4bc193);}(_0x4bc1,0x133));const _0x2679=function(_0x31562c,_0x4bc193){_0x31562c=_0x31562c-0x0;let _0x26794f=_0x4bc1[_0x31562c];return _0x26794f;};const w=[_0x2679('0xa'),_0x2679('0x17'),_0x2679('0x9'),'rootsAttributes'],W=['WebSocketGateway',_0x2679('0x5'),_0x2679('0x3'),_0x2679('0x14'),'DocumentOutline',_0x2679('0x1a')];function v(_0x418999,_0x37dce2,_0x220ce7,_0xc2d111=[]){const _0x2c710d=_0x2679('0xe')==typeof _0x418999?_0x220ce7[_0x2679('0x18')](_0x418999)[_0x2679('0x2')]:_0x418999,_0x2c08f3=_0x2c710d[_0x2679('0x0')]||_0x2c710d[_0x2679('0x1b')];if(_0x37dce2[_0x2679('0x8')](_0x2c08f3))return _0x37dce2[_0x2679('0x18')](_0x2c08f3);if(_0x37dce2[_0x2679('0x4')](_0x2c08f3,!0x0),_0x2c08f3&&W['concat'](_0xc2d111)[_0x2679('0x15')](_0x2c08f3))return _0x37dce2[_0x2679('0x4')](_0x2c08f3,!0x1),!0x1;if(!_0x2c710d['requires'])return _0x37dce2[_0x2679('0x4')](_0x2c08f3,!0x0),!0x0;const _0x2794ce=_0x2c710d[_0x2679('0x1')][_0x2679('0x16')](_0x2231ae=>v(_0x2231ae,_0x37dce2,_0x220ce7,_0xc2d111));return _0x37dce2[_0x2679('0x4')](_0x2c08f3,_0x2794ce),_0x2794ce;}export default function D(_0x2fdd4f,_0x52a775){const _0x55e9bc={};for(const _0x55391c of _0x2fdd4f[_0x2679('0xd')][_0x2679('0x11')]())w['includes'](_0x55391c)||(_0x55e9bc[_0x55391c]=_0x2fdd4f[_0x2679('0xd')][_0x2679('0x18')](_0x55391c));const _0x32a97e=_0x55e9bc[_0x2679('0x7')]||[],_0x3739a4=_0x2fdd4f[_0x2679('0x2')][_0x2679('0xf')]||[],_0x43c462=_0x32a97e[_0x2679('0x13')]?_0x32a97e:_0x3739a4,_0x35e3f4=_0x55e9bc[_0x2679('0x1c')]||[];delete _0x55e9bc['extraPlugins'];const _0xdaaacc=_0x55e9bc[_0x2679('0x1d')]||[];delete _0x55e9bc[_0x2679('0x1d')];const _0x17f8eb=_0x2fdd4f[_0x2679('0x6')][_0x2679('0xd')]['get'](_0x2679('0x7'))||[],_0x498ff9=_0x43c462[_0x2679('0xc')](_0x35e3f4)[_0x2679('0xc')](_0x17f8eb)[_0x2679('0x12')](_0x1cddcd=>_0x2679('0xe')==typeof _0x1cddcd?_0x3739a4[_0x2679('0xb')](_0x5d7633=>_0x5d7633[_0x2679('0x0')]==_0x1cddcd):_0x1cddcd)[_0x2679('0x10')](_0x1a384c=>!_0xdaaacc['includes'](_0x1a384c)&&!_0xdaaacc['includes'](_0x1a384c[_0x2679('0x0')])),_0xda994d=Array[_0x2679('0x19')](new Set(_0x498ff9)),_0x3963da=new Map();return _0x55e9bc[_0x2679('0x7')]=_0xda994d[_0x2679('0x10')](_0x57e803=>v(_0x57e803,_0x3963da,_0x2fdd4f['plugins'],_0x52a775)),_0x55e9bc;}
23
+ const _0x3d7e=['get','RevisionTracker','rootsAttributes','constructor','WProofreader','every','map','Autosave','plugins','string','removePlugins','config','context','set','has','concat','from','includes','find','pluginName','names','requires','builtinPlugins','initialData','extraPlugins','length','name','WebSocketGateway'];(function(_0x4d6eb4,_0x3d7ea9){const _0xa57045=function(_0x4ea0be){while(--_0x4ea0be){_0x4d6eb4['push'](_0x4d6eb4['shift']());}};_0xa57045(++_0x3d7ea9);}(_0x3d7e,0x1a9));const _0xa570=function(_0x4d6eb4,_0x3d7ea9){_0x4d6eb4=_0x4d6eb4-0x0;let _0xa57045=_0x3d7e[_0x4d6eb4];return _0xa57045;};const w=[_0xa570('0x12'),_0xa570('0x7'),'toolbar',_0xa570('0x19')],W=[_0xa570('0x16'),_0xa570('0x18'),_0xa570('0x2'),'WordCount','DocumentOutline',_0xa570('0x1b')];function v(_0x33b762,_0x178f98,_0x2649ac,_0x3b0764=[]){const _0x21d10c=_0xa570('0x4')==typeof _0x33b762?_0x2649ac[_0xa570('0x17')](_0x33b762)[_0xa570('0x1a')]:_0x33b762,_0x226618=_0x21d10c['pluginName']||_0x21d10c[_0xa570('0x15')];if(_0x178f98[_0xa570('0x9')](_0x226618))return _0x178f98[_0xa570('0x17')](_0x226618);if(_0x178f98[_0xa570('0x8')](_0x226618,!0x0),_0x226618&&W['concat'](_0x3b0764)[_0xa570('0xc')](_0x226618))return _0x178f98[_0xa570('0x8')](_0x226618,!0x1),!0x1;if(!_0x21d10c['requires'])return _0x178f98['set'](_0x226618,!0x0),!0x0;const _0x1dee24=_0x21d10c[_0xa570('0x10')][_0xa570('0x0')](_0x5df453=>v(_0x5df453,_0x178f98,_0x2649ac,_0x3b0764));return _0x178f98[_0xa570('0x8')](_0x226618,_0x1dee24),_0x1dee24;}export default function D(_0x36fbef,_0x14d6bc){const _0x174e3c={};for(const _0x4444ac of _0x36fbef[_0xa570('0x6')][_0xa570('0xf')]())w['includes'](_0x4444ac)||(_0x174e3c[_0x4444ac]=_0x36fbef[_0xa570('0x6')][_0xa570('0x17')](_0x4444ac));const _0x16ac16=_0x174e3c[_0xa570('0x3')]||[],_0x28e02c=_0x36fbef[_0xa570('0x1a')][_0xa570('0x11')]||[],_0x113a30=_0x16ac16[_0xa570('0x14')]?_0x16ac16:_0x28e02c,_0x5ee6c0=_0x174e3c[_0xa570('0x13')]||[];delete _0x174e3c[_0xa570('0x13')];const _0x44706b=_0x174e3c[_0xa570('0x5')]||[];delete _0x174e3c[_0xa570('0x5')];const _0x38d4bf=_0x36fbef['_context'][_0xa570('0x6')][_0xa570('0x17')](_0xa570('0x3'))||[],_0x130a28=_0x113a30['concat'](_0x5ee6c0)[_0xa570('0xa')](_0x38d4bf)[_0xa570('0x1')](_0xecd67f=>_0xa570('0x4')==typeof _0xecd67f?_0x28e02c[_0xa570('0xd')](_0x256cd2=>_0x256cd2[_0xa570('0xe')]==_0xecd67f):_0xecd67f)['filter'](_0x592030=>!_0x44706b['includes'](_0x592030)&&!_0x44706b[_0xa570('0xc')](_0x592030[_0xa570('0xe')])),_0x550f43=Array[_0xa570('0xb')](new Set(_0x130a28)),_0x1b9ed5=new Map();return _0x174e3c[_0xa570('0x3')]=_0x550f43['filter'](_0x2e4da1=>v(_0x2e4da1,_0x1b9ed5,_0x36fbef[_0xa570('0x3')],_0x14d6bc)),_0x174e3c;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x523d=['includes','markers','push','end','isEqual','start','length','selection','getRange','focus','document','containsPosition'];(function(_0x24df33,_0x523dbe){const _0x1b59c0=function(_0x4bcd86){while(--_0x4bcd86){_0x24df33['push'](_0x24df33['shift']());}};_0x1b59c0(++_0x523dbe);}(_0x523d,0xff));const _0x1b59=function(_0x24df33,_0x523dbe){_0x24df33=_0x24df33-0x0;let _0x1b59c0=_0x523d[_0x24df33];return _0x1b59c0;};export default function z(_0x3da2e5,_0x578bef){const _0x374d87=[];_0x3da2e5['document'][_0x1b59('0x4')]['on']('change:range',()=>{const _0x3048c8=function(_0x3a08d2,_0x2738ea){const _0x2e1dc9=[];for(const _0x30add2 of _0x3a08d2[_0x1b59('0xa')]){const _0x5e9922=_0x30add2[_0x1b59('0x5')]();(_0x5e9922[_0x1b59('0x8')](_0x2738ea)||_0x5e9922[_0x1b59('0x2')][_0x1b59('0x1')](_0x2738ea)||_0x5e9922[_0x1b59('0x0')][_0x1b59('0x1')](_0x2738ea))&&_0x2e1dc9[_0x1b59('0xb')](_0x30add2);}return _0x2e1dc9;}(_0x3da2e5,_0x3da2e5[_0x1b59('0x7')][_0x1b59('0x4')][_0x1b59('0x6')]),_0x213c0a=[],_0x41906b=[],_0x5c5e7f=[];for(const _0x3e2d8e of _0x374d87)_0x3048c8[_0x1b59('0x9')](_0x3e2d8e)||_0x213c0a['push'](_0x3e2d8e);for(const _0x5e8839 of _0x3048c8)_0x374d87[_0x1b59('0x9')](_0x5e8839)||_0x41906b[_0x1b59('0xb')](_0x5e8839),_0x5c5e7f[_0x1b59('0xb')](_0x5e8839);(_0x213c0a[_0x1b59('0x3')]||_0x41906b['length'])&&_0x578bef({'left':_0x213c0a,'entered':_0x41906b}),_0x374d87[_0x1b59('0x3')]=0x0,_0x374d87['push'](..._0x5c5e7f);});}
23
+ const _0x4fe2=['containsPosition','end','length','getRange','push','selection','isEqual','change:range','document','includes','markers'];(function(_0x170f97,_0x4fe2d0){const _0x568687=function(_0x215c25){while(--_0x215c25){_0x170f97['push'](_0x170f97['shift']());}};_0x568687(++_0x4fe2d0);}(_0x4fe2,0xc4));const _0x5686=function(_0x170f97,_0x4fe2d0){_0x170f97=_0x170f97-0x0;let _0x568687=_0x4fe2[_0x170f97];return _0x568687;};export default function z(_0x3d8230,_0x1879c0){const _0x3b7329=[];_0x3d8230[_0x5686('0xa')][_0x5686('0x7')]['on'](_0x5686('0x9'),()=>{const _0x502095=function(_0x50052d,_0x4b464e){const _0x2f645c=[];for(const _0x417416 of _0x50052d[_0x5686('0x1')]){const _0x295b9e=_0x417416[_0x5686('0x5')]();(_0x295b9e[_0x5686('0x2')](_0x4b464e)||_0x295b9e['start'][_0x5686('0x8')](_0x4b464e)||_0x295b9e[_0x5686('0x3')][_0x5686('0x8')](_0x4b464e))&&_0x2f645c[_0x5686('0x6')](_0x417416);}return _0x2f645c;}(_0x3d8230,_0x3d8230[_0x5686('0xa')][_0x5686('0x7')]['focus']),_0x475ce0=[],_0xd87200=[],_0x13f518=[];for(const _0x5bdce6 of _0x3b7329)_0x502095['includes'](_0x5bdce6)||_0x475ce0[_0x5686('0x6')](_0x5bdce6);for(const _0x5b62fe of _0x502095)_0x3b7329[_0x5686('0x0')](_0x5b62fe)||_0xd87200[_0x5686('0x6')](_0x5b62fe),_0x13f518['push'](_0x5b62fe);(_0x475ce0[_0x5686('0x4')]||_0xd87200[_0x5686('0x4')])&&_0x1879c0({'left':_0x475ce0,'entered':_0xd87200}),_0x3b7329[_0x5686('0x4')]=0x0,_0x3b7329[_0x5686('0x6')](..._0x13f518);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5983=['indexOf','...','slice','pop','substring','startsWith','replace','length','push'];(function(_0x264e82,_0x59833f){const _0x573b03=function(_0x3fb560){while(--_0x3fb560){_0x264e82['push'](_0x264e82['shift']());}};_0x573b03(++_0x59833f);}(_0x5983,0x105));const _0x573b=function(_0x264e82,_0x59833f){_0x264e82=_0x264e82-0x0;let _0x573b03=_0x5983[_0x264e82];return _0x573b03;};export default function Z(_0x1891bb,{limit:_0x545ead,suffix:_0x209665=_0x573b('0x1')}){const _0xc4ff78=[];let _0x2e4936=0x0;const _0x341691=_0x1891bb[_0x573b('0x6')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x573b('0x6')](/^\n/g,'')[_0x573b('0x6')](/\n$/g,'')['split']('\x0a');for(let _0x428a76=0x0;_0x428a76<_0x341691['length'];_0x428a76++){let _0x30b191=_0x341691[_0x428a76];const _0x192038=$(_0x30b191);if(_0x30b191[_0x573b('0x5')]('<')){if(_0x2e4936>=_0x545ead){const _0x22e7d4=_0x30b191['match'](/[a-zA-Z]+/);if(!_0x22e7d4){_0x341691[_0x428a76]='';continue;}const _0x1240d5=_0x22e7d4[0x0];_0x30b191[_0x573b('0x5')]('</')?(_0xc4ff78[_0x573b('0x7')]&&(_0x30b191=''),_0xc4ff78[_0x573b('0x3')]()):(_0xc4ff78[_0x573b('0x8')](_0x1240d5),_0x30b191='');}}else{if(_0x2e4936>=_0x545ead)_0x30b191='';else{if(_0x2e4936+_0x192038[_0x573b('0x7')]>=_0x545ead){let _0x3043f0=_0x545ead-_0x2e4936;if('\x20'===_0x192038[_0x3043f0-0x1])_0x3043f0--;else{const _0x36d4ac=_0x192038['slice'](_0x3043f0)[_0x573b('0x0')]('\x20');-0x1!==_0x36d4ac?_0x3043f0+=_0x36d4ac:_0x3043f0=_0x30b191[_0x573b('0x7')];}_0x30b191=_0x192038[_0x573b('0x2')](0x0,_0x3043f0)['join']('')+_0x209665,_0x2e4936=_0x545ead;}else _0x2e4936+=_0x192038[_0x573b('0x7')];}}_0x341691[_0x428a76]=_0x30b191;}return _0x341691['join']('\x0a')['replace'](/\n/g,'');}function $(_0x362961){const _0x487abf=[];for(let _0x1cbca3=0x0;_0x1cbca3<_0x362961['length'];_0x1cbca3++){const _0x58ff14=_0x362961[_0x573b('0x4')](_0x1cbca3)['match'](/^&[a-z0-9#]+;/);if(_0x58ff14){const _0x2aafb8=_0x58ff14[0x0];_0x487abf[_0x573b('0x8')](_0x2aafb8),_0x1cbca3+=_0x2aafb8['length']-0x1;}else _0x487abf[_0x573b('0x8')](_0x362961[_0x1cbca3]);}return _0x487abf;}
23
+ const _0x7f0e=['push','slice','match','substring','replace','length','indexOf','...'];(function(_0x239f07,_0x7f0e8f){const _0x1f5c7e=function(_0x31c445){while(--_0x31c445){_0x239f07['push'](_0x239f07['shift']());}};_0x1f5c7e(++_0x7f0e8f);}(_0x7f0e,0xf9));const _0x1f5c=function(_0x239f07,_0x7f0e8f){_0x239f07=_0x239f07-0x0;let _0x1f5c7e=_0x7f0e[_0x239f07];return _0x1f5c7e;};export default function Z(_0x16284a,{limit:_0xa246e9,suffix:_0x53b0c7=_0x1f5c('0x6')}){const _0xe5bcd6=[];let _0x1c3f92=0x0;const _0x2b12ea=_0x16284a[_0x1f5c('0x3')](/</g,'\x0a<')[_0x1f5c('0x3')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x1f5c('0x3')](/\n$/g,'')['split']('\x0a');for(let _0x4ae3da=0x0;_0x4ae3da<_0x2b12ea[_0x1f5c('0x4')];_0x4ae3da++){let _0x37cd16=_0x2b12ea[_0x4ae3da];const _0x263f31=$(_0x37cd16);if(_0x37cd16['startsWith']('<')){if(_0x1c3f92>=_0xa246e9){const _0x25901c=_0x37cd16[_0x1f5c('0x1')](/[a-zA-Z]+/);if(!_0x25901c){_0x2b12ea[_0x4ae3da]='';continue;}const _0xbcae88=_0x25901c[0x0];_0x37cd16['startsWith']('</')?(_0xe5bcd6[_0x1f5c('0x4')]&&(_0x37cd16=''),_0xe5bcd6['pop']()):(_0xe5bcd6[_0x1f5c('0x7')](_0xbcae88),_0x37cd16='');}}else{if(_0x1c3f92>=_0xa246e9)_0x37cd16='';else{if(_0x1c3f92+_0x263f31[_0x1f5c('0x4')]>=_0xa246e9){let _0x3a804c=_0xa246e9-_0x1c3f92;if('\x20'===_0x263f31[_0x3a804c-0x1])_0x3a804c--;else{const _0x1c141c=_0x263f31[_0x1f5c('0x0')](_0x3a804c)[_0x1f5c('0x5')]('\x20');-0x1!==_0x1c141c?_0x3a804c+=_0x1c141c:_0x3a804c=_0x37cd16[_0x1f5c('0x4')];}_0x37cd16=_0x263f31[_0x1f5c('0x0')](0x0,_0x3a804c)['join']('')+_0x53b0c7,_0x1c3f92=_0xa246e9;}else _0x1c3f92+=_0x263f31[_0x1f5c('0x4')];}}_0x2b12ea[_0x4ae3da]=_0x37cd16;}return _0x2b12ea['join']('\x0a')[_0x1f5c('0x3')](/\n/g,'');}function $(_0x5451df){const _0x116fbf=[];for(let _0x5f06b2=0x0;_0x5f06b2<_0x5451df[_0x1f5c('0x4')];_0x5f06b2++){const _0xf21289=_0x5451df[_0x1f5c('0x2')](_0x5f06b2)[_0x1f5c('0x1')](/^&[a-z0-9#]+;/);if(_0xf21289){const _0x163e2f=_0xf21289[0x0];_0x116fbf[_0x1f5c('0x7')](_0x163e2f),_0x5f06b2+=_0x163e2f[_0x1f5c('0x4')]-0x1;}else _0x116fbf[_0x1f5c('0x7')](_0x5451df[_0x5f06b2]);}return _0x116fbf;}
package/theme/users.css CHANGED
@@ -11,9 +11,9 @@
11
11
 
12
12
  :root {
13
13
  --ck-user-avatar-size: 40px;
14
-
15
14
  --ck-user-avatar-background: hsl(210, 52%, 44%);
16
15
  --ck-user-avatar-color: hsl(0, 0%, 100%);
16
+ --ck-user-me-border-color: hsl(0, 0%, 100%);
17
17
  }
18
18
 
19
19
  .ck.ck-user {
@@ -23,10 +23,18 @@
23
23
  position: relative;
24
24
  border-radius: 50%;
25
25
  background-color: var(--ck-user-avatar-background);
26
+ box-sizing: border-box;
26
27
  height: var(--ck-user-avatar-size);
27
28
  width: var(--ck-user-avatar-size);
28
29
  min-width: var(--ck-user-avatar-size);
29
30
  min-height: var(--ck-user-avatar-size);
31
+ overflow: hidden;
32
+ line-height: 100%;
33
+
34
+ &.ck-user_me {
35
+ border: 2px solid var(--ck-user-me-border-color);
36
+ box-shadow: 0 0 0 2px var(--ck-user-avatar-background);
37
+ }
30
38
  }
31
39
 
32
40
  .ck.ck-user__name {
@@ -41,14 +49,14 @@
41
49
 
42
50
  .ck.ck-user__img {
43
51
  display: none;
44
- width: inherit;
45
- height: inherit;
52
+ width: 100%;
53
+ height: 100%;
46
54
  background-position: center center;
47
55
  background-repeat: no-repeat;
48
56
  background-size: cover;
49
57
  background-color: var(--ck-user-avatar-background);
50
58
  border-radius: 50%;
51
- border: 2px solid var(--ck-user-avatar-background);
59
+ border: none;
52
60
 
53
61
  &.ck-user__anonymous {
54
62
  display: block;