@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230802.0 → 0.0.0-nightly-20230804.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-20230802.0",
3
+ "version": "0.0.0-nightly-20230804.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/)",
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "0.0.0-nightly-20230802.0",
34
+ "ckeditor5": "0.0.0-nightly-20230804.0",
35
35
  "date-fns": "2.30.0"
36
36
  },
37
37
  "engines": {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2769=['addCommentThread','commands','find','document:write','clearForceDisabled','no-permissions','comment:admin','context','includes','config','editors','permissions-set-permissions-invalid-channel-id','enableReadOnlyMode','CommentsOnly','setPermissions','noPermissions','CommentsRepository','comment:modify_all','collaboration.channelId','isEnabled','comment:write','has','pluginName','get'];(function(_0x13d1d5,_0x27698e){const _0x4af054=function(_0x43646f){while(--_0x43646f){_0x13d1d5['push'](_0x13d1d5['shift']());}};_0x4af054(++_0x27698e);}(_0x2769,0xb7));const _0x4af0=function(_0x13d1d5,_0x27698e){_0x13d1d5=_0x13d1d5-0x0;let _0x4af054=_0x2769[_0x13d1d5];return _0x4af054;};import{ContextPlugin as _0x27519a,Editor as _0xf555d9}from'ckeditor5/src/core';import{CKEditorError as _0x4b3954}from'ckeditor5/src/utils';export default class n extends _0x27519a{static get[_0x4af0('0x7')](){return'Permissions';}[_0x4af0('0x17')](_0x32884c,_0x459f39){let _0x56a22e;if(_0x459f39||(_0x459f39=this[_0x4af0('0x10')][_0x4af0('0x12')][_0x4af0('0x8')]('collaboration.channelId')),this['context']['config']['get'](_0x4af0('0x3'))==_0x459f39?_0x56a22e=this[_0x4af0('0x10')]:_0x4af0('0x13')in this[_0x4af0('0x10')]&&this[_0x4af0('0x10')]['editors']&&(_0x56a22e=this['context'][_0x4af0('0x13')][_0x4af0('0xb')](_0x195771=>_0x195771[_0x4af0('0x12')][_0x4af0('0x8')]('collaboration.channelId')==_0x459f39)),!_0x56a22e)throw new _0x4b3954(_0x4af0('0x14'),null);const _0xa000e2=_0x56a22e['plugins'],_0x16ce85=_0xa000e2['has']('CommentsRepository')?_0xa000e2[_0x4af0('0x8')](_0x4af0('0x1')):void 0x0,_0x4504eb=_0xa000e2[_0x4af0('0x6')](_0x4af0('0x16'))&&_0xa000e2[_0x4af0('0x8')](_0x4af0('0x16')),_0xda4c93=_0x32884c[_0x4af0('0x11')](_0x4af0('0xc')),_0x1b0cdf=_0x32884c[_0x4af0('0x11')](_0x4af0('0x2')),_0x4372f8=_0x32884c[_0x4af0('0x11')](_0x4af0('0xf')),_0x12d2a8=_0x32884c['includes'](_0x4af0('0x5')),_0x2b6204=_0x12d2a8||_0x4372f8,_0x2dff64=_0x2b6204||_0x1b0cdf,_0x4ae533=_0xda4c93||_0x2b6204;(_0x4504eb&&(_0x4504eb[_0x4af0('0x4')]=!_0xda4c93&&_0x2dff64),_0x56a22e instanceof _0xf555d9)&&(!(_0xda4c93||_0x2dff64&&_0x16ce85)?_0x56a22e[_0x4af0('0x15')](_0x4af0('0xe')):_0x56a22e['disableReadOnlyMode'](_0x4af0('0xe')));if(_0x16ce85){_0x16ce85[_0x4af0('0x17')]({'admin':_0x4372f8,'modifyAll':_0x1b0cdf,'write':_0x12d2a8,'resolve':_0x4ae533},_0x459f39);const _0x1a420c=_0x56a22e instanceof _0xf555d9&&_0x56a22e[_0x4af0('0xa')][_0x4af0('0x8')](_0x4af0('0x9'));_0x1a420c&&(_0x2b6204?_0x1a420c[_0x4af0('0xd')]('noPermissions'):_0x1a420c['forceDisabled'](_0x4af0('0x0')));}}}
23
+ const _0x1732=['has','enableReadOnlyMode','forceDisabled','setPermissions','no-permissions','disableReadOnlyMode','context','comment:admin','get','isEnabled','plugins','comment:write','clearForceDisabled','CommentsOnly','editors','includes','config','pluginName','collaboration.channelId','comment:modify_all','commands','noPermissions','addCommentThread','find','CommentsRepository'];(function(_0xda66e7,_0x17326e){const _0xa8ef58=function(_0x21bf96){while(--_0x21bf96){_0xda66e7['push'](_0xda66e7['shift']());}};_0xa8ef58(++_0x17326e);}(_0x1732,0x9d));const _0xa8ef=function(_0xda66e7,_0x17326e){_0xda66e7=_0xda66e7-0x0;let _0xa8ef58=_0x1732[_0xda66e7];return _0xa8ef58;};import{ContextPlugin as _0x4d63ea,Editor as _0x4fd41f}from'ckeditor5/src/core';import{CKEditorError as _0x49a1c8}from'ckeditor5/src/utils';export default class n extends _0x4d63ea{static get[_0xa8ef('0xa')](){return'Permissions';}[_0xa8ef('0x15')](_0x3c6222,_0x5af111){let _0x46aea7;if(_0x5af111||(_0x5af111=this[_0xa8ef('0x18')][_0xa8ef('0x9')][_0xa8ef('0x1')](_0xa8ef('0xb'))),this[_0xa8ef('0x18')][_0xa8ef('0x9')][_0xa8ef('0x1')]('collaboration.channelId')==_0x5af111?_0x46aea7=this['context']:_0xa8ef('0x7')in this['context']&&this[_0xa8ef('0x18')][_0xa8ef('0x7')]&&(_0x46aea7=this[_0xa8ef('0x18')][_0xa8ef('0x7')][_0xa8ef('0x10')](_0x43b4ac=>_0x43b4ac[_0xa8ef('0x9')][_0xa8ef('0x1')](_0xa8ef('0xb'))==_0x5af111)),!_0x46aea7)throw new _0x49a1c8('permissions-set-permissions-invalid-channel-id',null);const _0x5c42df=_0x46aea7[_0xa8ef('0x3')],_0x2deeaa=_0x5c42df[_0xa8ef('0x12')](_0xa8ef('0x11'))?_0x5c42df[_0xa8ef('0x1')](_0xa8ef('0x11')):void 0x0,_0x4169ec=_0x5c42df[_0xa8ef('0x12')]('CommentsOnly')&&_0x5c42df[_0xa8ef('0x1')](_0xa8ef('0x6')),_0x309f48=_0x3c6222['includes']('document:write'),_0x46aede=_0x3c6222['includes'](_0xa8ef('0xc')),_0x32b7b0=_0x3c6222[_0xa8ef('0x8')](_0xa8ef('0x0')),_0x4915f9=_0x3c6222[_0xa8ef('0x8')](_0xa8ef('0x4')),_0x56eded=_0x4915f9||_0x32b7b0,_0x52121b=_0x56eded||_0x46aede,_0x1d1fe6=_0x309f48||_0x56eded;(_0x4169ec&&(_0x4169ec[_0xa8ef('0x2')]=!_0x309f48&&_0x52121b),_0x46aea7 instanceof _0x4fd41f)&&(!(_0x309f48||_0x52121b&&_0x2deeaa)?_0x46aea7[_0xa8ef('0x13')]('no-permissions'):_0x46aea7[_0xa8ef('0x17')](_0xa8ef('0x16')));if(_0x2deeaa){_0x2deeaa['setPermissions']({'admin':_0x32b7b0,'modifyAll':_0x46aede,'write':_0x4915f9,'resolve':_0x1d1fe6},_0x5af111);const _0x325e9f=_0x46aea7 instanceof _0x4fd41f&&_0x46aea7[_0xa8ef('0xd')][_0xa8ef('0x1')](_0xa8ef('0xf'));_0x325e9f&&(_0x56eded?_0x325e9f[_0xa8ef('0x5')]('noPermissions'):_0x325e9f[_0xa8ef('0x14')](_0xa8ef('0xe')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5465=['div','isAnonymous','content','setTemplate','push','url(\x27','ck-user__notification','ck\x20ck-user__name','ck-user__avatar','name','avatar','ck-user__img','notificationView','ck-user__icon','ck-user'];(function(_0x12b3f5,_0x546503){const _0x4e7a58=function(_0x2d93d6){while(--_0x2d93d6){_0x12b3f5['push'](_0x12b3f5['shift']());}};_0x4e7a58(++_0x546503);}(_0x5465,0xb2));const _0x4e7a=function(_0x12b3f5,_0x546503){_0x12b3f5=_0x12b3f5-0x0;let _0x4e7a58=_0x5465[_0x12b3f5];return _0x4e7a58;};import{View as _0x3511d1,IconView as _0x5311df}from'ckeditor5/src/ui';import _0x28974e from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x3511d1{constructor(_0x684861,_0x25197f,_0x54ac6f){super(_0x684861),this[_0x4e7a('0xb')]=_0x25197f[_0x4e7a('0xb')],this[_0x4e7a('0xe')]=null;const _0x236898=['ck',_0x4e7a('0xd')];if(_0x25197f[_0x4e7a('0x3')]&&_0x236898[_0x4e7a('0x6')]('ck-user__anonymous'),_0x25197f[_0x4e7a('0xc')]&&_0x236898['push'](_0x4e7a('0xa')),_0x54ac6f){const _0x14489e=new _0x5311df();_0x14489e['extendTemplate']({'attributes':{'class':[_0x4e7a('0x0')]}}),_0x14489e[_0x4e7a('0x4')]=_0x28974e,this[_0x4e7a('0xe')]={'tag':_0x4e7a('0x2'),'attributes':{'class':['ck',_0x4e7a('0x8')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x54ac6f},'children':[_0x14489e]};}const _0x2ab0a3=[{'tag':_0x4e7a('0x2'),'attributes':{'class':_0x236898,'style':{'background-image':_0x25197f[_0x4e7a('0xc')]?_0x4e7a('0x7')+_0x25197f[_0x4e7a('0xc')]+'\x27)':''}}},{'tag':_0x4e7a('0x2'),'attributes':{'class':_0x25197f['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x4e7a('0x9')},'children':[{'text':_0x25197f['initials']}]}];this['notificationView']&&_0x2ab0a3[_0x4e7a('0x6')](this[_0x4e7a('0xe')]),this[_0x4e7a('0x5')]({'tag':_0x4e7a('0x2'),'attributes':{'class':['ck',_0x4e7a('0x1')],'data-user-id':_0x25197f['id']},'children':_0x2ab0a3});}}
23
+ const _0x550d=['notificationView','url(\x27','isAnonymous','push','ck\x20ck-user__name\x20ck-user__name--hidden','div','ck-user__notification','ck-user','extendTemplate','name','avatar','ck\x20ck-user__name','ck-user__img','content','ck-user__avatar'];(function(_0x2efd6f,_0x550d20){const _0xe1d62b=function(_0x718ed4){while(--_0x718ed4){_0x2efd6f['push'](_0x2efd6f['shift']());}};_0xe1d62b(++_0x550d20);}(_0x550d,0x129));const _0xe1d6=function(_0x2efd6f,_0x550d20){_0x2efd6f=_0x2efd6f-0x0;let _0xe1d62b=_0x550d[_0x2efd6f];return _0xe1d62b;};import{View as _0x3868a,IconView as _0x1bc677}from'ckeditor5/src/ui';import _0x18e2fc from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x3868a{constructor(_0x4c0dde,_0xdd426b,_0x1c3f83){super(_0x4c0dde),this[_0xe1d6('0xc')]=_0xdd426b[_0xe1d6('0xc')],this[_0xe1d6('0x3')]=null;const _0x3dea2e=['ck',_0xe1d6('0x0')];if(_0xdd426b[_0xe1d6('0x5')]&&_0x3dea2e[_0xe1d6('0x6')]('ck-user__anonymous'),_0xdd426b[_0xe1d6('0xd')]&&_0x3dea2e[_0xe1d6('0x6')](_0xe1d6('0x2')),_0x1c3f83){const _0x141032=new _0x1bc677();_0x141032[_0xe1d6('0xb')]({'attributes':{'class':['ck-user__icon']}}),_0x141032[_0xe1d6('0x1')]=_0x18e2fc,this[_0xe1d6('0x3')]={'tag':_0xe1d6('0x8'),'attributes':{'class':['ck',_0xe1d6('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1c3f83},'children':[_0x141032]};}const _0x49c65a=[{'tag':'div','attributes':{'class':_0x3dea2e,'style':{'background-image':_0xdd426b['avatar']?_0xe1d6('0x4')+_0xdd426b[_0xe1d6('0xd')]+'\x27)':''}}},{'tag':_0xe1d6('0x8'),'attributes':{'class':_0xdd426b['avatar']?_0xe1d6('0x7'):_0xe1d6('0xe')},'children':[{'text':_0xdd426b['initials']}]}];this['notificationView']&&_0x49c65a[_0xe1d6('0x6')](this['notificationView']),this['setTemplate']({'tag':_0xe1d6('0x8'),'attributes':{'class':['ck',_0xe1d6('0xa')],'data-user-id':_0xdd426b['id']},'children':_0x49c65a});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57a8=['_id','users','split','getMarkerClass','ck-user__selection--','getOperationAuthor','_getNextColor','_getInitial','getSelectionClass','ck-user__bg-color--','anonymous-user','toUpperCase','licenseKeyTrialLimit:time','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.','defineMe','includes','invalid-license-key','pluginName','length','addUser','_addAnonymousUser','_myId','_isAnonymous','licenseKeyTrialLimit:operations','color','users-add-invalid-id','licenseKey','charAt','licenseKeyTrial','users.anonymousUserId','Users','requires','useAnonymousUser','Anonymous','users-add-duplicated-id','users-me-already-defined','destroy','context','name','users.colorsCount','trial-license-key-reached-limit-revisions','_lastColor','licenseKeyValid','ck-user__marker--','define','getUser','trim','get','trial-license-key-reached-limit-time','avatar','config','_locale','licenseKeyTrialLimit:revisions','licenseKeyInvalid','info','trial-license-key-reached-limit-changes','decorate','_licenseKeyCheckInterval','init','string','locale'];(function(_0x2bec62,_0x57a845){const _0x2cfd9a=function(_0x30cdce){while(--_0x30cdce){_0x2bec62['push'](_0x2bec62['shift']());}};_0x2cfd9a(++_0x57a845);}(_0x57a8,0x11c));const _0x2cfd=function(_0x2bec62,_0x57a845){_0x2bec62=_0x2bec62-0x0;let _0x2cfd9a=_0x57a8[_0x2bec62];return _0x2cfd9a;};import{ContextPlugin as _0x222e45}from'ckeditor5/src/core';import{Collection as _0xd11628,CKEditorError as _0x56dc0e}from'ckeditor5/src/utils';import _0x5bb77e from'./permissions';import{getTranslation as _0x4ef5d9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x222e45{static get[_0x2cfd('0x26')](){return _0x2cfd('0x33');}static get[_0x2cfd('0x34')](){return[_0x5bb77e];}constructor(_0x3875bf){super(_0x3875bf),this[_0x2cfd('0x3a')][_0x2cfd('0xa')][_0x2cfd('0x4')]('users.anonymousUserId',_0x2cfd('0x1f')),this[_0x2cfd('0x3a')]['config'][_0x2cfd('0x4')](_0x2cfd('0x3c'),0x8),this[_0x2cfd('0x16')]=new _0xd11628(),this[_0x2cfd('0xb')]=_0x3875bf[_0x2cfd('0x14')],this['_licenseKeyCheckInterval']=null,this[_0x2cfd('0x1')]=0x0,this['_myId']=null,this[_0x2cfd('0x10')](_0x2cfd('0x1a'));}[_0x2cfd('0x12')](){const _0x5958fd=this[_0x2cfd('0x3a')];this[_0x2cfd('0x2f')]=_0x5958fd[_0x2cfd('0xa')]['get']('licenseKey');const _0x3de38a=[_0x2cfd('0x31'),_0x2cfd('0xd'),_0x2cfd('0x2'),_0x2cfd('0x2c'),_0x2cfd('0x21'),_0x2cfd('0xc')];this[_0x2cfd('0x11')]=setInterval(()=>{let _0x171260;for(const _0xff12b2 in _0x5958fd){const _0x1bbc88=_0x5958fd[_0xff12b2];if(_0x3de38a[_0x2cfd('0x24')](_0x1bbc88)){delete _0x5958fd[_0xff12b2],_0x171260=_0x1bbc88;break;}}if(_0x2cfd('0xd')===_0x171260)throw clearInterval(this[_0x2cfd('0x11')]),new _0x56dc0e(_0x2cfd('0x25'),null);if(_0x2cfd('0x31')===_0x171260&&console[_0x2cfd('0xe')](_0x2cfd('0x22')),_0x2cfd('0x2c')===_0x171260)throw clearInterval(this[_0x2cfd('0x11')]),new _0x56dc0e(_0x2cfd('0xf'),null);if(_0x2cfd('0x21')===_0x171260)throw clearInterval(this[_0x2cfd('0x11')]),new _0x56dc0e(_0x2cfd('0x8'),null);if(_0x2cfd('0xc')===_0x171260)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x56dc0e(_0x2cfd('0x0'),null);_0x2cfd('0x2')===_0x171260&&clearInterval(this[_0x2cfd('0x11')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this[_0x2cfd('0x5')](this[_0x2cfd('0x2a')]);}[_0x2cfd('0x28')]({id:_0x3d6961,name:_0x4669ce,..._0x6889f0}){if(!_0x3d6961||_0x2cfd('0x13')!=typeof _0x3d6961)throw new _0x56dc0e(_0x2cfd('0x2e'));if(this[_0x2cfd('0x16')]['has'](_0x3d6961))throw new _0x56dc0e(_0x2cfd('0x37'),null,{'id':_0x3d6961});const _0x5f0ab1={..._0x6889f0,'id':_0x3d6961,'name':a(this['_locale'],_0x4669ce),'color':this[_0x2cfd('0x1b')]()};_0x5f0ab1['name']=a(this['_locale'],_0x5f0ab1[_0x2cfd('0x3b')]);const _0x5a6d62=new User(_0x5f0ab1);return this[_0x2cfd('0x16')]['add'](_0x5a6d62),_0x5a6d62;}['getUser'](_0x36a22d){return this[_0x2cfd('0x16')][_0x2cfd('0x7')](_0x36a22d);}[_0x2cfd('0x35')](){const _0x196f31=this[_0x2cfd('0x3a')][_0x2cfd('0xa')][_0x2cfd('0x7')](_0x2cfd('0x32'));this[_0x2cfd('0x2a')]||this[_0x2cfd('0x23')](_0x196f31);}[_0x2cfd('0x23')](_0x5da47a){if(this[_0x2cfd('0x2a')])throw new _0x56dc0e(_0x2cfd('0x38'),null);if(!this[_0x2cfd('0x5')](_0x5da47a))throw new _0x56dc0e('users-me-missing-user',null);this[_0x2cfd('0x2a')]=_0x5da47a;}[_0x2cfd('0x1a')](){return this['me'];}[_0x2cfd('0x39')](){super[_0x2cfd('0x39')](),clearInterval(this[_0x2cfd('0x11')]);}[_0x2cfd('0x1b')](){const _0x5b0537=this[_0x2cfd('0x3a')]['config'][_0x2cfd('0x7')](_0x2cfd('0x3c'));return this[_0x2cfd('0x1')]>=_0x5b0537&&(this[_0x2cfd('0x1')]=0x0),new u(this[_0x2cfd('0x1')]++);}[_0x2cfd('0x29')](){const _0xa43bec=this[_0x2cfd('0x3a')][_0x2cfd('0xa')][_0x2cfd('0x7')]('users.anonymousUserId');this['addUser']({'id':_0xa43bec,'name':_0x4ef5d9(this[_0x2cfd('0xb')],_0x2cfd('0x36'))})[_0x2cfd('0x2b')]=!0x0;}}export class User{constructor(_0x4f2a4c){this['id']=_0x4f2a4c['id'],this['color']=_0x4f2a4c[_0x2cfd('0x2d')],this[_0x2cfd('0x3b')]=_0x4f2a4c[_0x2cfd('0x3b')],this['avatar']=_0x4f2a4c[_0x2cfd('0x9')],this[_0x2cfd('0x2b')]=!0x1;}get['isAnonymous'](){return this[_0x2cfd('0x2b')];}get['initials'](){const _0x13fe8e=this[_0x2cfd('0x3b')][_0x2cfd('0x17')]('\x20');return 0x1===_0x13fe8e[_0x2cfd('0x27')]?this['_getInitial'](_0x13fe8e[0x0]):this[_0x2cfd('0x1c')](_0x13fe8e[0x0])+this['_getInitial'](_0x13fe8e[_0x13fe8e['length']-0x1]);}['_getInitial'](_0x5cb8b0){return _0x5cb8b0[_0x2cfd('0x30')](0x0)[_0x2cfd('0x20')]();}}function a(_0x2f0d27,_0x24e8d6=''){return''==(_0x24e8d6=_0x24e8d6[_0x2cfd('0x6')]())?_0x4ef5d9(_0x2f0d27,'Anonymous'):_0x24e8d6;}class u{constructor(_0x537c5b){this[_0x2cfd('0x15')]=_0x537c5b;}['getBackgroundColorClass'](){return _0x2cfd('0x1e')+this[_0x2cfd('0x15')];}[_0x2cfd('0x1d')](){return _0x2cfd('0x19')+this['_id'];}[_0x2cfd('0x18')](){return _0x2cfd('0x3')+this['_id'];}}
23
+ const _0x50f9=['defineMe','trial-license-key-reached-limit-time','_isAnonymous','ck-user__bg-color--','color','licenseKeyInvalid','avatar','requires','init','string','users-me-already-defined','useAnonymousUser','users-add-invalid-id','_licenseKeyCheckInterval','info','_getInitial','config','has','addUser','split','charAt','length','trial-license-key-reached-limit-revisions','initials','users.colorsCount','licenseKeyTrialLimit:revisions','licenseKeyTrial','isAnonymous','getMarkerClass','add','trial-license-key-reached-limit-changes','anonymous-user','licenseKeyValid','getUser','getSelectionClass','decorate','users.anonymousUserId','_locale','name','getOperationAuthor','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.','define','_id','users-me-missing-user','_myId','get','licenseKey','destroy','context','includes','users','ck-user__marker--','_lastColor','licenseKeyTrialLimit:time','getBackgroundColorClass','_addAnonymousUser','Anonymous','_getNextColor'];(function(_0x281a41,_0x50f9eb){const _0x3b8c0d=function(_0x407c32){while(--_0x407c32){_0x281a41['push'](_0x281a41['shift']());}};_0x3b8c0d(++_0x50f9eb);}(_0x50f9,0x10c));const _0x3b8c=function(_0x281a41,_0x50f9eb){_0x281a41=_0x281a41-0x0;let _0x3b8c0d=_0x50f9[_0x281a41];return _0x3b8c0d;};import{ContextPlugin as _0x548aa4}from'ckeditor5/src/core';import{Collection as _0xcd7d52,CKEditorError as _0x3c50c9}from'ckeditor5/src/utils';import _0x3c59ca from'./permissions';import{getTranslation as _0x2a32ab}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x548aa4{static get['pluginName'](){return'Users';}static get[_0x3b8c('0x1d')](){return[_0x3c59ca];}constructor(_0x3ec216){super(_0x3ec216),this[_0x3b8c('0xc')][_0x3b8c('0x26')]['define'](_0x3b8c('0x0'),_0x3b8c('0x35')),this[_0x3b8c('0xc')][_0x3b8c('0x26')][_0x3b8c('0x5')](_0x3b8c('0x2e'),0x8),this['users']=new _0xcd7d52(),this['_locale']=_0x3ec216['locale'],this[_0x3b8c('0x23')]=null,this[_0x3b8c('0x10')]=0x0,this['_myId']=null,this[_0x3b8c('0x39')](_0x3b8c('0x3'));}[_0x3b8c('0x1e')](){const _0xf7ab77=this[_0x3b8c('0xc')];this['licenseKey']=_0xf7ab77[_0x3b8c('0x26')]['get'](_0x3b8c('0xa'));const _0x43dfb3=['licenseKeyTrial','licenseKeyInvalid',_0x3b8c('0x36'),'licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time',_0x3b8c('0x2f')];this[_0x3b8c('0x23')]=setInterval(()=>{let _0x190e52;for(const _0x4c73ff in _0xf7ab77){const _0x1945a2=_0xf7ab77[_0x4c73ff];if(_0x43dfb3[_0x3b8c('0xd')](_0x1945a2)){delete _0xf7ab77[_0x4c73ff],_0x190e52=_0x1945a2;break;}}if(_0x3b8c('0x1b')===_0x190e52)throw clearInterval(this[_0x3b8c('0x23')]),new _0x3c50c9('invalid-license-key',null);if(_0x3b8c('0x30')===_0x190e52&&console[_0x3b8c('0x24')](_0x3b8c('0x4')),'licenseKeyTrialLimit:operations'===_0x190e52)throw clearInterval(this[_0x3b8c('0x23')]),new _0x3c50c9(_0x3b8c('0x34'),null);if(_0x3b8c('0x11')===_0x190e52)throw clearInterval(this[_0x3b8c('0x23')]),new _0x3c50c9(_0x3b8c('0x17'),null);if(_0x3b8c('0x2f')===_0x190e52)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3c50c9(_0x3b8c('0x2c'),null);_0x3b8c('0x36')===_0x190e52&&clearInterval(this[_0x3b8c('0x23')]);},0x3e8),this[_0x3b8c('0x13')]();}get['me'](){return null==this[_0x3b8c('0x8')]?null:this[_0x3b8c('0x37')](this[_0x3b8c('0x8')]);}[_0x3b8c('0x28')]({id:_0x370daf,name:_0x35efff,..._0x5b90b8}){if(!_0x370daf||_0x3b8c('0x1f')!=typeof _0x370daf)throw new _0x3c50c9(_0x3b8c('0x22'));if(this[_0x3b8c('0xe')][_0x3b8c('0x27')](_0x370daf))throw new _0x3c50c9('users-add-duplicated-id',null,{'id':_0x370daf});const _0x177aad={..._0x5b90b8,'id':_0x370daf,'name':a(this[_0x3b8c('0x1')],_0x35efff),'color':this[_0x3b8c('0x15')]()};_0x177aad[_0x3b8c('0x2')]=a(this[_0x3b8c('0x1')],_0x177aad['name']);const _0x116bed=new User(_0x177aad);return this['users'][_0x3b8c('0x33')](_0x116bed),_0x116bed;}[_0x3b8c('0x37')](_0x4ebe87){return this[_0x3b8c('0xe')][_0x3b8c('0x9')](_0x4ebe87);}[_0x3b8c('0x21')](){const _0x54a386=this[_0x3b8c('0xc')][_0x3b8c('0x26')][_0x3b8c('0x9')]('users.anonymousUserId');this[_0x3b8c('0x8')]||this[_0x3b8c('0x16')](_0x54a386);}[_0x3b8c('0x16')](_0x30385d){if(this[_0x3b8c('0x8')])throw new _0x3c50c9(_0x3b8c('0x20'),null);if(!this[_0x3b8c('0x37')](_0x30385d))throw new _0x3c50c9(_0x3b8c('0x7'),null);this['_myId']=_0x30385d;}[_0x3b8c('0x3')](){return this['me'];}[_0x3b8c('0xb')](){super[_0x3b8c('0xb')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x3b8c('0x15')](){const _0x463090=this[_0x3b8c('0xc')][_0x3b8c('0x26')][_0x3b8c('0x9')](_0x3b8c('0x2e'));return this[_0x3b8c('0x10')]>=_0x463090&&(this[_0x3b8c('0x10')]=0x0),new u(this[_0x3b8c('0x10')]++);}[_0x3b8c('0x13')](){const _0x419729=this[_0x3b8c('0xc')]['config'][_0x3b8c('0x9')](_0x3b8c('0x0'));this[_0x3b8c('0x28')]({'id':_0x419729,'name':_0x2a32ab(this['_locale'],_0x3b8c('0x14'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x247ad9){this['id']=_0x247ad9['id'],this[_0x3b8c('0x1a')]=_0x247ad9[_0x3b8c('0x1a')],this[_0x3b8c('0x2')]=_0x247ad9['name'],this[_0x3b8c('0x1c')]=_0x247ad9[_0x3b8c('0x1c')],this[_0x3b8c('0x18')]=!0x1;}get[_0x3b8c('0x31')](){return this['_isAnonymous'];}get[_0x3b8c('0x2d')](){const _0x53b308=this[_0x3b8c('0x2')][_0x3b8c('0x29')]('\x20');return 0x1===_0x53b308[_0x3b8c('0x2b')]?this['_getInitial'](_0x53b308[0x0]):this[_0x3b8c('0x25')](_0x53b308[0x0])+this[_0x3b8c('0x25')](_0x53b308[_0x53b308[_0x3b8c('0x2b')]-0x1]);}[_0x3b8c('0x25')](_0x5be9fd){return _0x5be9fd[_0x3b8c('0x2a')](0x0)['toUpperCase']();}}function a(_0x13df90,_0x35c7b9=''){return''==(_0x35c7b9=_0x35c7b9['trim']())?_0x2a32ab(_0x13df90,'Anonymous'):_0x35c7b9;}class u{constructor(_0x1f4cc4){this[_0x3b8c('0x6')]=_0x1f4cc4;}[_0x3b8c('0x12')](){return _0x3b8c('0x19')+this['_id'];}[_0x3b8c('0x38')](){return'ck-user__selection--'+this[_0x3b8c('0x6')];}[_0x3b8c('0x32')](){return _0x3b8c('0xf')+this[_0x3b8c('0x6')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x43f9dd,_0x1143ab){const t=_0x43f9dd['t'];switch(_0x1143ab){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(_0x1adcad,_0x5c1f14){const t=_0x1adcad['t'];switch(_0x5c1f14){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 _0x44c4=['cancelConfirm','appendChild','locale','_removeConfirm','set','fire','once','element','submit','cancel','remove','message','focus','isConfirm','confirmView','render'];(function(_0x4ea470,_0x44c433){var _0xefc96d=function(_0x1c263b){while(--_0x1c263b){_0x4ea470['push'](_0x4ea470['shift']());}};_0xefc96d(++_0x44c433);}(_0x44c4,0x1ae));var _0xefc9=function(_0x4ea470,_0x44c433){_0x4ea470=_0x4ea470-0x0;var _0xefc96d=_0x44c4[_0x4ea470];return _0xefc96d;};import _0x3f0c93 from'./confirmview';export default function m(_0x2b8206){return class extends _0x2b8206{['showConfirm'](_0x1ff310,_0x4f1806){return this['confirmView']=new _0x3f0c93(this[_0xefc9('0x4')]),this['confirmView'][_0xefc9('0x1')](),this[_0xefc9('0x0')][_0xefc9('0xd')]=_0x1ff310,this[_0xefc9('0x0')][_0xefc9('0x8')](_0xefc9('0xb'),()=>{this[_0xefc9('0x5')]();}),this[_0xefc9('0x0')][_0xefc9('0x8')]('submit',()=>{this[_0xefc9('0x5')]();}),_0x4f1806[_0xefc9('0x3')](this[_0xefc9('0x0')]['element']),this['registerChild'](this[_0xefc9('0x0')]),this[_0xefc9('0x9')]['focus'](),this[_0xefc9('0x6')](_0xefc9('0xf'),!0x0),new Promise(_0x3a8c39=>this[_0xefc9('0x0')]['on'](_0xefc9('0xa'),_0x3a8c39));}[_0xefc9('0x2')](){this[_0xefc9('0xf')]&&this[_0xefc9('0x0')][_0xefc9('0x7')](_0xefc9('0xb'));}[_0xefc9('0x5')](){this[_0xefc9('0x9')]&&this[_0xefc9('0x0')]&&this[_0xefc9('0x0')][_0xefc9('0x9')]&&(this[_0xefc9('0x9')][_0xefc9('0xe')](),this[_0xefc9('0x0')][_0xefc9('0x9')][_0xefc9('0xc')](),this['deregisterChild'](this[_0xefc9('0x0')]),this[_0xefc9('0xf')]=!0x1,this[_0xefc9('0x0')]['destroy'](),this[_0xefc9('0x0')]=void 0x0);}};}
23
+ var _0xdbc5=['set','showConfirm','cancel','locale','once','_removeConfirm','remove','element','appendChild','registerChild','focus','cancelConfirm','submit','message','isConfirm','confirmView'];(function(_0x137cf6,_0xdbc5fe){var _0x4b8b5b=function(_0x2abb43){while(--_0x2abb43){_0x137cf6['push'](_0x137cf6['shift']());}};_0x4b8b5b(++_0xdbc5fe);}(_0xdbc5,0xb5));var _0x4b8b=function(_0x137cf6,_0xdbc5fe){_0x137cf6=_0x137cf6-0x0;var _0x4b8b5b=_0xdbc5[_0x137cf6];return _0x4b8b5b;};import _0xb990b0 from'./confirmview';export default function m(_0x574cd5){return class extends _0x574cd5{[_0x4b8b('0xc')](_0x40f4de,_0x5d57ae){return this[_0x4b8b('0xa')]=new _0xb990b0(this[_0x4b8b('0xe')]),this[_0x4b8b('0xa')]['render'](),this['confirmView'][_0x4b8b('0x8')]=_0x40f4de,this[_0x4b8b('0xa')][_0x4b8b('0xf')](_0x4b8b('0xd'),()=>{this[_0x4b8b('0x0')]();}),this[_0x4b8b('0xa')][_0x4b8b('0xf')]('submit',()=>{this['_removeConfirm']();}),_0x5d57ae[_0x4b8b('0x3')](this['confirmView'][_0x4b8b('0x2')]),this[_0x4b8b('0x4')](this[_0x4b8b('0xa')]),this['element'][_0x4b8b('0x5')](),this[_0x4b8b('0xb')]('isConfirm',!0x0),new Promise(_0x1cfe9f=>this[_0x4b8b('0xa')]['on'](_0x4b8b('0x7'),_0x1cfe9f));}[_0x4b8b('0x6')](){this[_0x4b8b('0x9')]&&this[_0x4b8b('0xa')]['fire'](_0x4b8b('0xd'));}[_0x4b8b('0x0')](){this[_0x4b8b('0x2')]&&this[_0x4b8b('0xa')]&&this[_0x4b8b('0xa')][_0x4b8b('0x2')]&&(this['element'][_0x4b8b('0x5')](),this['confirmView'][_0x4b8b('0x2')][_0x4b8b('0x1')](),this['deregisterChild'](this['confirmView']),this[_0x4b8b('0x9')]=!0x1,this[_0x4b8b('0xa')]['destroy'](),this[_0x4b8b('0xa')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32cf=['label','submit','ck-thread__remove-confirm-actions','set','cancel','fire','extendTemplate','bindTemplate','icon','submitView','Yes','div','_createButtonView','setTemplate'];(function(_0x3b3442,_0x32cf70){const _0x5cc880=function(_0x44e311){while(--_0x44e311){_0x3b3442['push'](_0x3b3442['shift']());}};_0x5cc880(++_0x32cf70);}(_0x32cf,0x15c));const _0x5cc8=function(_0x3b3442,_0x32cf70){_0x3b3442=_0x3b3442-0x0;let _0x5cc880=_0x32cf[_0x3b3442];return _0x5cc880;};import{View as _0x5e0a03,ButtonView as _0xa1f427}from'ckeditor5/src/ui';import{icons as _0x5ab7d5}from'ckeditor5/src/core';import{getTranslation as _0x44aabe}from'./common-translations';export default class h extends _0x5e0a03{constructor(_0x3e69f6){super(_0x3e69f6);const _0x2b1c81=this[_0x5cc8('0x9')];this[_0x5cc8('0xb')]=this[_0x5cc8('0x0')](_0x3e69f6,_0x44aabe(_0x3e69f6,_0x5cc8('0xc')),_0x5ab7d5['check'],_0x5cc8('0x3')),this['cancelView']=this['_createButtonView'](_0x3e69f6,_0x44aabe(_0x3e69f6,'No'),_0x5ab7d5['cancel'],_0x5cc8('0x6')),this[_0x5cc8('0x5')]('message',_0x44aabe(_0x3e69f6,'Are\x20you\x20sure?')),this[_0x5cc8('0x1')]({'tag':_0x5cc8('0xd'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x5cc8('0xd'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x2b1c81['to']('message')}]},{'tag':_0x5cc8('0xd'),'attributes':{'class':_0x5cc8('0x4')},'children':[this[_0x5cc8('0xb')],this['cancelView']]}]}]});}[_0x5cc8('0x0')](_0x324f03,_0x2a6708,_0x3abc1a,_0x87b180){const _0x3f09dc=new _0xa1f427(_0x324f03);return _0x3f09dc[_0x5cc8('0x2')]=_0x2a6708,_0x3f09dc[_0x5cc8('0xa')]=_0x3abc1a,_0x3f09dc[_0x5cc8('0x8')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x87b180}}),_0x3f09dc['on']('execute',()=>this[_0x5cc8('0x7')](_0x87b180)),_0x3f09dc;}}
23
+ const _0xea40=['message','ck-thread__remove-confirm-inner','ck-thread__remove-confirm','Yes','submitView','ck-thread__remove-confirm-','cancel','set','div','_createButtonView','execute','bindTemplate','fire','Are\x20you\x20sure?','icon'];(function(_0x1d1a9d,_0xea408b){const _0x1a4492=function(_0x29acaa){while(--_0x29acaa){_0x1d1a9d['push'](_0x1d1a9d['shift']());}};_0x1a4492(++_0xea408b);}(_0xea40,0xde));const _0x1a44=function(_0x1d1a9d,_0xea408b){_0x1d1a9d=_0x1d1a9d-0x0;let _0x1a4492=_0xea40[_0x1d1a9d];return _0x1a4492;};import{View as _0x3e0e19,ButtonView as _0x2d1ef6}from'ckeditor5/src/ui';import{icons as _0x28dd61}from'ckeditor5/src/core';import{getTranslation as _0x5ddbfa}from'./common-translations';export default class h extends _0x3e0e19{constructor(_0x3a297f){super(_0x3a297f);const _0x277617=this[_0x1a44('0xe')];this['submitView']=this[_0x1a44('0xc')](_0x3a297f,_0x5ddbfa(_0x3a297f,_0x1a44('0x6')),_0x28dd61['check'],'submit'),this['cancelView']=this[_0x1a44('0xc')](_0x3a297f,_0x5ddbfa(_0x3a297f,'No'),_0x28dd61[_0x1a44('0x9')],'cancel'),this[_0x1a44('0xa')](_0x1a44('0x3'),_0x5ddbfa(_0x3a297f,_0x1a44('0x1'))),this['setTemplate']({'tag':_0x1a44('0xb'),'attributes':{'class':[_0x1a44('0x5')]},'children':[{'tag':_0x1a44('0xb'),'attributes':{'class':_0x1a44('0x4')},'children':[{'tag':'p','children':[{'text':_0x277617['to'](_0x1a44('0x3'))}]},{'tag':_0x1a44('0xb'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x1a44('0x7')],this['cancelView']]}]}]});}['_createButtonView'](_0x9cf5e,_0xa0c4ab,_0x340212,_0x8818d5){const _0x2236b2=new _0x2d1ef6(_0x9cf5e);return _0x2236b2['label']=_0xa0c4ab,_0x2236b2[_0x1a44('0x2')]=_0x340212,_0x2236b2['extendTemplate']({'attributes':{'class':_0x1a44('0x8')+_0x8818d5}}),_0x2236b2['on'](_0x1a44('0xd'),()=>this[_0x1a44('0x0')](_0x8818d5)),_0x2236b2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd040=['\x27Yesterday\x27\x20hh:mma','function','string','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat'];(function(_0x178146,_0xd04008){const _0x337641=function(_0x2cac9e){while(--_0x2cac9e){_0x178146['push'](_0x178146['shift']());}};_0x337641(++_0xd04008);}(_0xd040,0xc6));const _0x3376=function(_0x178146,_0xd04008){_0x178146=_0x178146-0x0;let _0x337641=_0xd040[_0x178146];return _0x337641;};import _0x48bb32 from'date-fns/format';import _0x1e5c84 from'date-fns/parseISO';import _0x1731ef from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x230245}from'ckeditor5/src/utils';export default function E(_0x5c3bb4={}){if(void 0x0!==_0x5c3bb4[_0x3376('0x4')]&&_0x3376('0x6')!=typeof _0x5c3bb4[_0x3376('0x4')])throw new _0x230245(_0x3376('0x1'));return _0x104dbe=>{const _0x353380=_0x3376('0x0')==typeof _0x104dbe?_0x1e5c84(_0x104dbe):_0x104dbe,_0x97fa05=new Date(),_0x6dd47d=_0x1731ef(_0x97fa05,_0x353380);return _0x5c3bb4[_0x3376('0x4')]?_0x5c3bb4['dateTimeFormat'](_0x353380):_0x48bb32(_0x353380,0x0===_0x6dd47d?'\x27Today\x27\x20hh:mma':0x1===_0x6dd47d?_0x3376('0x5'):_0x6dd47d<0x7?_0x3376('0x2'):_0x3376('0x3'));};}
23
+ const _0x509a=['dateTimeFormat','function','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','string'];(function(_0x61d18b,_0x509a15){const _0x15c36e=function(_0x4a6a1){while(--_0x4a6a1){_0x61d18b['push'](_0x61d18b['shift']());}};_0x15c36e(++_0x509a15);}(_0x509a,0x7d));const _0x15c3=function(_0x61d18b,_0x509a15){_0x61d18b=_0x61d18b-0x0;let _0x15c36e=_0x509a[_0x61d18b];return _0x15c36e;};import _0x18dc4e from'date-fns/format';import _0x3c5f12 from'date-fns/parseISO';import _0x479449 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x9ce1fa}from'ckeditor5/src/utils';export default function E(_0x1f75c0={}){if(void 0x0!==_0x1f75c0[_0x15c3('0x1')]&&_0x15c3('0x2')!=typeof _0x1f75c0[_0x15c3('0x1')])throw new _0x9ce1fa(_0x15c3('0x6'));return _0x2d464a=>{const _0xfcdb4b=_0x15c3('0x0')==typeof _0x2d464a?_0x3c5f12(_0x2d464a):_0x2d464a,_0x4bbac1=new Date(),_0xa70cdd=_0x479449(_0x4bbac1,_0xfcdb4b);return _0x1f75c0[_0x15c3('0x1')]?_0x1f75c0[_0x15c3('0x1')](_0xfcdb4b):_0x18dc4e(_0xfcdb4b,0x0===_0xa70cdd?'\x27Today\x27\x20hh:mma':0x1===_0xa70cdd?_0x15c3('0x3'):_0xa70cdd<0x7?_0x15c3('0x5'):_0x15c3('0x4'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f90=['domConverter','markerNameToElements','name','map','sort','getClientRects','length','mapViewToDom','view','domElement','mapper','item','from'];(function(_0x4f2317,_0x1f9063){const _0x271c72=function(_0x2640bb){while(--_0x2640bb){_0x4f2317['push'](_0x4f2317['shift']());}};_0x271c72(++_0x1f9063);}(_0x1f90,0x1b0));const _0x271c=function(_0x4f2317,_0x1f9063){_0x4f2317=_0x4f2317-0x0;let _0x271c72=_0x1f90[_0x4f2317];return _0x271c72;};import{first as _0x12b6da}from'ckeditor5/src/utils';export default function k(_0x72a877,_0x3d4e48){const _0x557db5=_0x72a877[_0x271c('0x7')][_0x271c('0xb')](_0x3d4e48['name']);if(!_0x557db5)return null;const _0x81bcf0=_0x12b6da(_0x557db5['values']());return _0x72a877['view']['domConverter'][_0x271c('0x4')](_0x81bcf0)||null;}export function getAllMarkersDomElementsSorted(_0x2141a5,_0x234f07){if(0x0===_0x234f07[_0x271c('0x3')])return null;const _0x55e96a=[],_0x231c3b=_0x2141a5[_0x271c('0x5')][_0x271c('0xa')];for(const _0x447d8d of _0x234f07){const _0xbb3216=_0x2141a5[_0x271c('0x7')][_0x271c('0xb')](_0x447d8d[_0x271c('0xc')]);if(!_0xbb3216)continue;const _0x1f5c78=Array[_0x271c('0x9')](_0xbb3216)['map'](_0x1a37ae=>_0x231c3b[_0x271c('0x4')](_0x1a37ae))['filter'](_0x125996=>!!_0x125996);_0x55e96a['push'](..._0x1f5c78);}if(0x0===_0x55e96a[_0x271c('0x3')])return null;const _0x48457e=[];for(const _0x5945ec of _0x55e96a){const _0xdf7c8d=_0x5945ec[_0x271c('0x2')]()[_0x271c('0x8')](0x0);_0xdf7c8d&&_0x48457e['push']({'x':_0xdf7c8d['x'],'y':_0xdf7c8d['y'],'domElement':_0x5945ec});}return 0x0===_0x48457e[_0x271c('0x3')]?null:(_0x48457e[_0x271c('0x1')]((_0x2bb63f,_0x3bda3e)=>_0x2bb63f['y']-_0x3bda3e['y']||_0x2bb63f['x']-_0x3bda3e['x']),_0x48457e[_0x271c('0x0')](_0x5bf568=>_0x5bf568[_0x271c('0x6')]));}
23
+ const _0x575e=['markerNameToElements','map','domConverter','from','filter','mapper','view','name','domElement','push','mapViewToDom','length','item'];(function(_0xe7fd6,_0x575e84){const _0x4f9a72=function(_0x3c4bd9){while(--_0x3c4bd9){_0xe7fd6['push'](_0xe7fd6['shift']());}};_0x4f9a72(++_0x575e84);}(_0x575e,0x67));const _0x4f9a=function(_0xe7fd6,_0x575e84){_0xe7fd6=_0xe7fd6-0x0;let _0x4f9a72=_0x575e[_0xe7fd6];return _0x4f9a72;};import{first as _0x3fbcad}from'ckeditor5/src/utils';export default function k(_0x502b1d,_0x3fdc3e){const _0x457c19=_0x502b1d[_0x4f9a('0x6')][_0x4f9a('0x1')](_0x3fdc3e[_0x4f9a('0x8')]);if(!_0x457c19)return null;const _0xc2f526=_0x3fbcad(_0x457c19['values']());return _0x502b1d[_0x4f9a('0x7')][_0x4f9a('0x3')][_0x4f9a('0xb')](_0xc2f526)||null;}export function getAllMarkersDomElementsSorted(_0x47ff80,_0x216f32){if(0x0===_0x216f32[_0x4f9a('0xc')])return null;const _0x2d406b=[],_0xbbb3b9=_0x47ff80[_0x4f9a('0x7')][_0x4f9a('0x3')];for(const _0x348be9 of _0x216f32){const _0x2c45e7=_0x47ff80[_0x4f9a('0x6')][_0x4f9a('0x1')](_0x348be9['name']);if(!_0x2c45e7)continue;const _0x5e5bec=Array[_0x4f9a('0x4')](_0x2c45e7)[_0x4f9a('0x2')](_0x463ad5=>_0xbbb3b9['mapViewToDom'](_0x463ad5))[_0x4f9a('0x5')](_0x10c05f=>!!_0x10c05f);_0x2d406b[_0x4f9a('0xa')](..._0x5e5bec);}if(0x0===_0x2d406b[_0x4f9a('0xc')])return null;const _0x1bc565=[];for(const _0x4d49b6 of _0x2d406b){const _0x47f8c2=_0x4d49b6['getClientRects']()[_0x4f9a('0x0')](0x0);_0x47f8c2&&_0x1bc565['push']({'x':_0x47f8c2['x'],'y':_0x47f8c2['y'],'domElement':_0x4d49b6});}return 0x0===_0x1bc565[_0x4f9a('0xc')]?null:(_0x1bc565['sort']((_0xe75635,_0x189642)=>_0xe75635['y']-_0x189642['y']||_0xe75635['x']-_0x189642['x']),_0x1bc565[_0x4f9a('0x2')](_0x5b0a3b=>_0x5b0a3b[_0x4f9a('0x9')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7c5b=['boolean','sort','string','keys','isArray'];(function(_0x376c7f,_0x7c5ba7){const _0x59f07b=function(_0xfcbb92){while(--_0xfcbb92){_0x376c7f['push'](_0x376c7f['shift']());}};_0x59f07b(++_0x7c5ba7);}(_0x7c5b,0x14d));const _0x59f0=function(_0x376c7f,_0x7c5ba7){_0x376c7f=_0x376c7f-0x0;let _0x59f07b=_0x7c5b[_0x376c7f];return _0x59f07b;};export default function b(_0x3dabd5){let _0x397699=0x0,_0x5d6495=0x0;for(const _0x2721ff of g(_0x3dabd5))_0x397699=(_0x397699<<0x5)-_0x397699+_0x2721ff,_0x397699&=_0x397699,[_0x397699,_0x5d6495]=[_0x5d6495,_0x397699];return O(_0x397699)+O(_0x5d6495);}function*j(_0x211b7e){_0x211b7e?_0x59f0('0x2')==typeof _0x211b7e?yield 0x1:Array[_0x59f0('0x1')](_0x211b7e)?yield*function*(_0x5bd875){for(const _0xeb689e of _0x5bd875)yield*j(_0xeb689e);}(_0x211b7e):'object'==typeof _0x211b7e?yield*g(_0x211b7e):_0x59f0('0x4')==typeof _0x211b7e?yield*A(_0x211b7e):'number'==typeof _0x211b7e&&(yield _0x211b7e):yield 0x0;}function*g(_0x3cbff9){if(yield M('{'),_0x3cbff9){const _0x4d314c=Object[_0x59f0('0x0')](_0x3cbff9)[_0x59f0('0x3')]();for(const _0x190948 of _0x4d314c){yield*A(_0x190948),yield M(':');const _0x7f3aae=_0x3cbff9[_0x190948];yield*j(_0x7f3aae);}}yield M('}');}function*A(_0x5bd5e0){yield M('\x22');for(const _0x43ab19 of _0x5bd5e0)yield M(_0x43ab19);yield M('\x22');}function M(_0x1f3b83){return _0x1f3b83['charCodeAt'](0x0);}function O(_0x1e6a95){return(_0x1e6a95*=Math['sign'](_0x1e6a95))['toString'](0x24);}
23
+ const _0x5e30=['toString','charCodeAt','boolean','number','isArray','sign','string','sort'];(function(_0x4831a8,_0x5e30ed){const _0x49d8f6=function(_0x1f1733){while(--_0x1f1733){_0x4831a8['push'](_0x4831a8['shift']());}};_0x49d8f6(++_0x5e30ed);}(_0x5e30,0x193));const _0x49d8=function(_0x4831a8,_0x5e30ed){_0x4831a8=_0x4831a8-0x0;let _0x49d8f6=_0x5e30[_0x4831a8];return _0x49d8f6;};export default function b(_0x38b328){let _0x12e07e=0x0,_0x465808=0x0;for(const _0x33adb3 of g(_0x38b328))_0x12e07e=(_0x12e07e<<0x5)-_0x12e07e+_0x33adb3,_0x12e07e&=_0x12e07e,[_0x12e07e,_0x465808]=[_0x465808,_0x12e07e];return O(_0x12e07e)+O(_0x465808);}function*j(_0x4aa523){_0x4aa523?_0x49d8('0x7')==typeof _0x4aa523?yield 0x1:Array[_0x49d8('0x1')](_0x4aa523)?yield*function*(_0x23ccb8){for(const _0xa07a90 of _0x23ccb8)yield*j(_0xa07a90);}(_0x4aa523):'object'==typeof _0x4aa523?yield*g(_0x4aa523):_0x49d8('0x3')==typeof _0x4aa523?yield*A(_0x4aa523):_0x49d8('0x0')==typeof _0x4aa523&&(yield _0x4aa523):yield 0x0;}function*g(_0x28d0b4){if(yield M('{'),_0x28d0b4){const _0x2a180f=Object['keys'](_0x28d0b4)[_0x49d8('0x4')]();for(const _0x3541a7 of _0x2a180f){yield*A(_0x3541a7),yield M(':');const _0x3d0a05=_0x28d0b4[_0x3541a7];yield*j(_0x3d0a05);}}yield M('}');}function*A(_0x3996fd){yield M('\x22');for(const _0x4302f9 of _0x3996fd)yield M(_0x4302f9);yield M('\x22');}function M(_0x4e0bac){return _0x4e0bac[_0x49d8('0x6')](0x0);}function O(_0x17745c){return(_0x17745c*=Math[_0x49d8('0x2')](_0x17745c))[_0x49d8('0x5')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42ba=['names','removePlugins','WProofreader','RevisionTracker','requires','get','plugins','length','constructor','initialData','extraPlugins','config','toolbar','DocumentOutline','function','map','rootsAttributes','_context','name','has','find','set','concat','filter','WebSocketGateway','every','pluginName'];(function(_0x49c31a,_0x42ba9a){const _0x588892=function(_0x1ce60a){while(--_0x1ce60a){_0x49c31a['push'](_0x49c31a['shift']());}};_0x588892(++_0x42ba9a);}(_0x42ba,0x19a));const _0x5888=function(_0x49c31a,_0x42ba9a){_0x49c31a=_0x49c31a-0x0;let _0x588892=_0x42ba[_0x49c31a];return _0x588892;};const w=[_0x5888('0x4'),'context',_0x5888('0x7'),_0x5888('0xb')],W=[_0x5888('0x13'),_0x5888('0x19'),'Autosave','WordCount',_0x5888('0x8'),_0x5888('0x18')];function v(_0xb4c25c,_0x3ad518,_0x34fcb3=[]){const _0x253e25=_0x5888('0x9')==typeof _0xb4c25c?_0xb4c25c['pluginName']||_0xb4c25c[_0x5888('0xd')]:_0xb4c25c;if(_0x3ad518[_0x5888('0xe')](_0x253e25))return _0x3ad518[_0x5888('0x0')](_0x253e25);if(_0x3ad518[_0x5888('0x10')](_0x253e25,!0x0),_0x253e25&&W['concat'](_0x34fcb3)['includes'](_0x253e25))return _0x3ad518[_0x5888('0x10')](_0x253e25,!0x1),!0x1;if(!_0xb4c25c[_0x5888('0x1a')])return _0x3ad518[_0x5888('0x10')](_0x253e25,!0x0),!0x0;const _0x146adf=_0xb4c25c[_0x5888('0x1a')][_0x5888('0x14')](_0x2b2e64=>v(_0x2b2e64,_0x3ad518,_0x34fcb3));return _0x3ad518[_0x5888('0x10')](_0x253e25,_0x146adf),_0x146adf;}export default function D(_0x54a0c5,_0xb47395){const _0x1d3717={};for(const _0x16811a of _0x54a0c5[_0x5888('0x6')][_0x5888('0x16')]())w['includes'](_0x16811a)||(_0x1d3717[_0x16811a]=_0x54a0c5[_0x5888('0x6')][_0x5888('0x0')](_0x16811a));const _0x14e91e=_0x1d3717[_0x5888('0x1')]||[],_0x261f8e=_0x54a0c5[_0x5888('0x3')]['builtinPlugins']||[],_0x4b9954=_0x14e91e[_0x5888('0x2')]?_0x14e91e:_0x261f8e,_0xa8fc0c=_0x1d3717[_0x5888('0x5')]||[];delete _0x1d3717[_0x5888('0x5')];const _0x1ce746=_0x1d3717[_0x5888('0x17')]||[];delete _0x1d3717['removePlugins'];const _0x310397=_0x54a0c5[_0x5888('0xc')][_0x5888('0x6')][_0x5888('0x0')](_0x5888('0x1'))||[],_0xf01b0b=_0x4b9954[_0x5888('0x11')](_0xa8fc0c)[_0x5888('0x11')](_0x310397)[_0x5888('0xa')](_0x38e740=>'string'==typeof _0x38e740?_0x261f8e[_0x5888('0xf')](_0xb3078f=>_0xb3078f[_0x5888('0x15')]==_0x38e740):_0x38e740)[_0x5888('0x12')](_0x1413d2=>!_0x1ce746['includes'](_0x1413d2)),_0x3cdea3=Array['from'](new Set(_0xf01b0b)),_0x47232a=new Map();return _0x1d3717[_0x5888('0x1')]=_0x3cdea3[_0x5888('0x12')](_0x5de61d=>v(_0x5de61d,_0x47232a,_0xb47395)),_0x1d3717;}
23
+ const _0x3d71=['config','constructor','RevisionTracker','requires','filter','has','toolbar','from','removePlugins','Autosave','map','plugins','context','rootsAttributes','find','includes','string','_context','WebSocketGateway','concat','length','extraPlugins','DocumentOutline','name','pluginName','set','get','initialData','WordCount'];(function(_0x26e48f,_0x3d71cb){const _0x1029c8=function(_0xdb7bf6){while(--_0xdb7bf6){_0x26e48f['push'](_0x26e48f['shift']());}};_0x1029c8(++_0x3d71cb);}(_0x3d71,0x107));const _0x1029=function(_0x26e48f,_0x3d71cb){_0x26e48f=_0x26e48f-0x0;let _0x1029c8=_0x3d71[_0x26e48f];return _0x1029c8;};const w=[_0x1029('0x19'),_0x1029('0xa'),_0x1029('0x4'),_0x1029('0xb')],W=[_0x1029('0x10'),_0x1029('0x0'),_0x1029('0x7'),_0x1029('0x1a'),_0x1029('0x14'),'WProofreader'];function v(_0x2c342c,_0x5099ef,_0x526222,_0x5c7094=[]){const _0x1dd2eb=_0x1029('0xe')==typeof _0x2c342c?_0x526222[_0x1029('0x18')](_0x2c342c)[_0x1029('0x1c')]:_0x2c342c,_0x755bb4=_0x1dd2eb[_0x1029('0x16')]||_0x1dd2eb[_0x1029('0x15')];if(_0x5099ef[_0x1029('0x3')](_0x755bb4))return _0x5099ef[_0x1029('0x18')](_0x755bb4);if(_0x5099ef[_0x1029('0x17')](_0x755bb4,!0x0),_0x755bb4&&W[_0x1029('0x11')](_0x5c7094)['includes'](_0x755bb4))return _0x5099ef[_0x1029('0x17')](_0x755bb4,!0x1),!0x1;if(!_0x1dd2eb[_0x1029('0x1')])return _0x5099ef[_0x1029('0x17')](_0x755bb4,!0x0),!0x0;const _0x10281b=_0x1dd2eb[_0x1029('0x1')]['every'](_0x17f47c=>v(_0x17f47c,_0x5099ef,_0x526222,_0x5c7094));return _0x5099ef[_0x1029('0x17')](_0x755bb4,_0x10281b),_0x10281b;}export default function D(_0x320785,_0x1a63a1){const _0x579c2d={};for(const _0xdb0eea of _0x320785[_0x1029('0x1b')]['names']())w[_0x1029('0xd')](_0xdb0eea)||(_0x579c2d[_0xdb0eea]=_0x320785[_0x1029('0x1b')][_0x1029('0x18')](_0xdb0eea));const _0x38a35b=_0x579c2d[_0x1029('0x9')]||[],_0x382d9d=_0x320785[_0x1029('0x1c')]['builtinPlugins']||[],_0x3a7eb9=_0x38a35b[_0x1029('0x12')]?_0x38a35b:_0x382d9d,_0x4b35be=_0x579c2d[_0x1029('0x13')]||[];delete _0x579c2d[_0x1029('0x13')];const _0x53ec3c=_0x579c2d[_0x1029('0x6')]||[];delete _0x579c2d['removePlugins'];const _0x264be6=_0x320785[_0x1029('0xf')][_0x1029('0x1b')]['get']('plugins')||[],_0x382120=_0x3a7eb9[_0x1029('0x11')](_0x4b35be)[_0x1029('0x11')](_0x264be6)[_0x1029('0x8')](_0x422a42=>_0x1029('0xe')==typeof _0x422a42?_0x382d9d[_0x1029('0xc')](_0x594f8d=>_0x594f8d[_0x1029('0x16')]==_0x422a42):_0x422a42)[_0x1029('0x2')](_0x360bf9=>!_0x53ec3c[_0x1029('0xd')](_0x360bf9)),_0x5ea07d=Array[_0x1029('0x5')](new Set(_0x382120)),_0x3e1d44=new Map();return _0x579c2d[_0x1029('0x9')]=_0x5ea07d['filter'](_0x491d6a=>v(_0x491d6a,_0x3e1d44,_0x320785[_0x1029('0x9')],_0x1a63a1)),_0x579c2d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c0d=['slice','replace','match','push','split','length','join','startsWith','pop','...','substring'];(function(_0x4f4a6c,_0x5c0dda){const _0x5e3982=function(_0x2d83ab){while(--_0x2d83ab){_0x4f4a6c['push'](_0x4f4a6c['shift']());}};_0x5e3982(++_0x5c0dda);}(_0x5c0d,0x1b1));const _0x5e39=function(_0x4f4a6c,_0x5c0dda){_0x4f4a6c=_0x4f4a6c-0x0;let _0x5e3982=_0x5c0d[_0x4f4a6c];return _0x5e3982;};export default function z(_0x5d4db2,{limit:_0x36f005,suffix:_0x38445b=_0x5e39('0x5')}){const _0x1896a3=[];let _0x8e2881=0x0;const _0x3026c9=_0x5d4db2[_0x5e39('0x8')](/</g,'\x0a<')[_0x5e39('0x8')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x5e39('0x8')](/\n$/g,'')[_0x5e39('0x0')]('\x0a');for(let _0x53fda8=0x0;_0x53fda8<_0x3026c9[_0x5e39('0x1')];_0x53fda8++){let _0x135b10=_0x3026c9[_0x53fda8];const _0x4c2017=Z(_0x135b10);if(_0x135b10[_0x5e39('0x3')]('<')){if(_0x8e2881>=_0x36f005){const _0x359de4=_0x135b10[_0x5e39('0x9')](/[a-zA-Z]+/);if(!_0x359de4){_0x3026c9[_0x53fda8]='';continue;}const _0x51d776=_0x359de4[0x0];_0x135b10['startsWith']('</')?(_0x1896a3[_0x5e39('0x1')]&&(_0x135b10=''),_0x1896a3[_0x5e39('0x4')]()):(_0x1896a3[_0x5e39('0xa')](_0x51d776),_0x135b10='');}}else{if(_0x8e2881>=_0x36f005)_0x135b10='';else{if(_0x8e2881+_0x4c2017[_0x5e39('0x1')]>=_0x36f005){let _0x772a48=_0x36f005-_0x8e2881;if('\x20'===_0x4c2017[_0x772a48-0x1])_0x772a48--;else{const _0x3116c7=_0x4c2017[_0x5e39('0x7')](_0x772a48)['indexOf']('\x20');-0x1!==_0x3116c7?_0x772a48+=_0x3116c7:_0x772a48=_0x135b10[_0x5e39('0x1')];}_0x135b10=_0x4c2017[_0x5e39('0x7')](0x0,_0x772a48)[_0x5e39('0x2')]('')+_0x38445b,_0x8e2881=_0x36f005;}else _0x8e2881+=_0x4c2017[_0x5e39('0x1')];}}_0x3026c9[_0x53fda8]=_0x135b10;}return _0x3026c9['join']('\x0a')['replace'](/\n/g,'');}function Z(_0x119831){const _0x39dd83=[];for(let _0x43d132=0x0;_0x43d132<_0x119831[_0x5e39('0x1')];_0x43d132++){const _0x417fbe=_0x119831[_0x5e39('0x6')](_0x43d132)[_0x5e39('0x9')](/^&[a-z0-9#]+;/);if(_0x417fbe){const _0x168adf=_0x417fbe[0x0];_0x39dd83[_0x5e39('0xa')](_0x168adf),_0x43d132+=_0x168adf[_0x5e39('0x1')]-0x1;}else _0x39dd83[_0x5e39('0xa')](_0x119831[_0x43d132]);}return _0x39dd83;}
23
+ const _0x59e9=['match','substring','split','slice','...','join','length','push','replace','startsWith'];(function(_0x5193fd,_0x59e91a){const _0x15376b=function(_0x4c41c1){while(--_0x4c41c1){_0x5193fd['push'](_0x5193fd['shift']());}};_0x15376b(++_0x59e91a);}(_0x59e9,0x1bb));const _0x1537=function(_0x5193fd,_0x59e91a){_0x5193fd=_0x5193fd-0x0;let _0x15376b=_0x59e9[_0x5193fd];return _0x15376b;};export default function z(_0x54d5f8,{limit:_0x3f136f,suffix:_0x38ae7c=_0x1537('0x1')}){const _0x238bcc=[];let _0x32d8b3=0x0;const _0x4a6951=_0x54d5f8[_0x1537('0x5')](/</g,'\x0a<')[_0x1537('0x5')](/>/g,'>\x0a')[_0x1537('0x5')](/^\n/g,'')[_0x1537('0x5')](/\n$/g,'')[_0x1537('0x9')]('\x0a');for(let _0x21ac57=0x0;_0x21ac57<_0x4a6951[_0x1537('0x3')];_0x21ac57++){let _0x18bf94=_0x4a6951[_0x21ac57];const _0x181679=Z(_0x18bf94);if(_0x18bf94[_0x1537('0x6')]('<')){if(_0x32d8b3>=_0x3f136f){const _0x1067cb=_0x18bf94[_0x1537('0x7')](/[a-zA-Z]+/);if(!_0x1067cb){_0x4a6951[_0x21ac57]='';continue;}const _0x401b09=_0x1067cb[0x0];_0x18bf94[_0x1537('0x6')]('</')?(_0x238bcc['length']&&(_0x18bf94=''),_0x238bcc['pop']()):(_0x238bcc[_0x1537('0x4')](_0x401b09),_0x18bf94='');}}else{if(_0x32d8b3>=_0x3f136f)_0x18bf94='';else{if(_0x32d8b3+_0x181679[_0x1537('0x3')]>=_0x3f136f){let _0x11f1f7=_0x3f136f-_0x32d8b3;if('\x20'===_0x181679[_0x11f1f7-0x1])_0x11f1f7--;else{const _0x136010=_0x181679[_0x1537('0x0')](_0x11f1f7)['indexOf']('\x20');-0x1!==_0x136010?_0x11f1f7+=_0x136010:_0x11f1f7=_0x18bf94[_0x1537('0x3')];}_0x18bf94=_0x181679[_0x1537('0x0')](0x0,_0x11f1f7)[_0x1537('0x2')]('')+_0x38ae7c,_0x32d8b3=_0x3f136f;}else _0x32d8b3+=_0x181679[_0x1537('0x3')];}}_0x4a6951[_0x21ac57]=_0x18bf94;}return _0x4a6951['join']('\x0a')[_0x1537('0x5')](/\n/g,'');}function Z(_0xc66f54){const _0x40523d=[];for(let _0x503f17=0x0;_0x503f17<_0xc66f54['length'];_0x503f17++){const _0xff40dc=_0xc66f54[_0x1537('0x8')](_0x503f17)[_0x1537('0x7')](/^&[a-z0-9#]+;/);if(_0xff40dc){const _0x1a4166=_0xff40dc[0x0];_0x40523d[_0x1537('0x4')](_0x1a4166),_0x503f17+=_0x1a4166[_0x1537('0x3')]-0x1;}else _0x40523d[_0x1537('0x4')](_0xc66f54[_0x503f17]);}return _0x40523d;}
@@ -1,3 +1,23 @@
1
+ .ck-content .ck-widget.image > figcaption {
2
+ &.ck-suggestion-marker-deletion {
3
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
4
+ border: none;
5
+
6
+ &.ck-suggestion-marker--active {
7
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
8
+ }
9
+ }
10
+
11
+ &.ck-suggestion-marker-insertion {
12
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
13
+ border: none;
14
+
15
+ &.ck-suggestion-marker--active {
16
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
17
+ }
18
+ }
19
+ }
20
+
1
21
  .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
2
22
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
23
 
@@ -21,9 +41,11 @@
21
41
  .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
22
42
  background-color: var(--ck-color-suggestion-widget-insertion-background);
23
43
 
44
+ /* stylelint-disable no-descending-specificity */
24
45
  & figcaption {
25
46
  background-color: var(--ck-color-suggestion-widget-insertion-background);
26
47
  }
48
+ /* stylelint-enable no-descending-specificity */
27
49
 
28
50
  &.ck-suggestion-marker--active {
29
51
  background-color: var(--ck-color-suggestion-widget-insertion-background-active);
@@ -33,23 +55,3 @@
33
55
  }
34
56
  }
35
57
  }
36
-
37
- .ck-content .ck-widget.image > figcaption {
38
- &.ck-suggestion-marker-deletion {
39
- background-color: var(--ck-color-suggestion-widget-deletion-background);
40
- border: none;
41
-
42
- &.ck-suggestion-marker--active {
43
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
44
- }
45
- }
46
-
47
- &.ck-suggestion-marker-insertion {
48
- background-color: var(--ck-color-suggestion-widget-insertion-background);
49
- border: none;
50
-
51
- &.ck-suggestion-marker--active {
52
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
53
- }
54
- }
55
- }
@@ -14,6 +14,26 @@
14
14
  }
15
15
  }
16
16
 
17
+ .ck-content .ck-widget.table > figcaption {
18
+ &.ck-suggestion-marker-deletion {
19
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
20
+ border: none;
21
+
22
+ &.ck-suggestion-marker--active {
23
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
24
+ }
25
+ }
26
+
27
+ &.ck-suggestion-marker-insertion {
28
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
29
+ border: none;
30
+
31
+ &.ck-suggestion-marker--active {
32
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
33
+ }
34
+ }
35
+ }
36
+
17
37
  .ck-content .ck-suggestion-marker-insertion.table {
18
38
  border-color: var(--ck-color-suggestion-marker-insertion-border);
19
39
 
@@ -21,7 +41,7 @@
21
41
  background-color: var(--ck-color-suggestion-widget-insertion-background);
22
42
  }
23
43
 
24
- & > table {
44
+ & > table {
25
45
  & > tbody > tr > th {
26
46
  background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
47
  border-color: var(--ck-color-suggestion-marker-insertion-border);
@@ -89,7 +109,7 @@
89
109
  border-color: var(--ck-color-suggestion-marker-deletion-border);
90
110
  text-decoration: none;
91
111
  }
92
- }
112
+ }
93
113
  }
94
114
 
95
115
  .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
@@ -99,7 +119,7 @@
99
119
  background-color: var(--ck-color-suggestion-widget-deletion-background-active);
100
120
  }
101
121
 
102
- & > table {
122
+ & > table {
103
123
  & > tbody > tr > th {
104
124
  background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
105
125
  border-color: var(--ck-color-suggestion-marker-deletion-border-active);
@@ -117,26 +137,6 @@
117
137
  }
118
138
  }
119
139
 
120
- .ck-content .ck-widget.table > figcaption {
121
- &.ck-suggestion-marker-deletion {
122
- background-color: var(--ck-color-suggestion-widget-deletion-background);
123
- border: none;
124
-
125
- &.ck-suggestion-marker--active {
126
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
127
- }
128
- }
129
-
130
- &.ck-suggestion-marker-insertion {
131
- background-color: var(--ck-color-suggestion-widget-insertion-background);
132
- border: none;
133
-
134
- &.ck-suggestion-marker--active {
135
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
136
- }
137
- }
138
- }
139
-
140
140
  /*
141
141
  * We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
142
142
  * See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
@@ -61,7 +61,7 @@ With track-changes feature enabled, we need to distinguish various types of anno
61
61
  border-radius: 14px;
62
62
  vertical-align: text-bottom;
63
63
  margin: 0 5px;
64
- box-shadow: 0 0 0 1px #444;
64
+ box-shadow: 0 0 0 1px hsl(0, 0%, 27%);
65
65
  }
66
66
 
67
67
  /* Comments inside suggestion. */
package/theme/users.css CHANGED
@@ -77,8 +77,8 @@
77
77
  height: 15px;
78
78
  justify-content: center;
79
79
  align-items: center;
80
- background: white;
81
- border: 2px solid white;
80
+ background: var(--ck-color-base-background);
81
+ border: 2px solid var(--ck-color-base-background);
82
82
  border-radius: 50%;
83
83
  box-sizing: content-box;
84
84
 
@@ -90,7 +90,7 @@
90
90
 
91
91
  & .ck-user__icon {
92
92
  color: var(--ck-color-annotation-info);
93
- background: white;
93
+ background: var(--ck-color-base-background);
94
94
  width: 19px;
95
95
  height: 19px;
96
96
  max-width: 19px;