@ckeditor/ckeditor5-collaboration-core 35.2.1 → 35.3.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/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- All changes in the package are documented at https://ckeditor.com/collaboration/changelog/ and https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
4
+ All changes in the package are documented at https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
5
 
6
6
  Changes for the past releases are available below.
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "35.2.1",
3
+ "version": "35.3.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/)",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "main": "src/index.js",
30
30
  "dependencies": {
31
- "ckeditor5": "^35.2.1",
31
+ "ckeditor5": "^35.3.0",
32
32
  "date-fns": "^2.17.0"
33
33
  }
34
34
  }
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export*from'./suggestionstyles';
23
+ export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export{default as hashObject}from'./utils/hashobject';export*from'./suggestionstyles';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44b0=['addCommentThread','collaboration.channelId','permissions-set-permissions-invalid-channel-id','editors','CommentsOnly','has','context','pluginName','config','comment:admin','plugins','document:write','switchReadOnly','clearForceDisabled','find','get','enableReadOnlyMode','commands','disableReadOnlyMode','no-permissions','CommentsRepository','noPermissions','comment:write'];(function(_0x242b61,_0x44b089){const _0x4a4fa0=function(_0x5462f9){while(--_0x5462f9){_0x242b61['push'](_0x242b61['shift']());}};_0x4a4fa0(++_0x44b089);}(_0x44b0,0xfc));const _0x4a4f=function(_0x242b61,_0x44b089){_0x242b61=_0x242b61-0x0;let _0x4a4fa0=_0x44b0[_0x242b61];return _0x4a4fa0;};import{ContextPlugin as _0x200af7,Editor as _0x139e14}from'ckeditor5/src/core';import{CKEditorError as _0x165745}from'ckeditor5/src/utils';export default class i extends _0x200af7{static get[_0x4a4f('0x8')](){return'Permissions';}['setPermissions'](_0x361ab6,_0x2c7925){let _0x10e45b;if(_0x2c7925||(_0x2c7925=this['context'][_0x4a4f('0x9')][_0x4a4f('0x10')](_0x4a4f('0x2'))),this[_0x4a4f('0x7')]['config'][_0x4a4f('0x10')](_0x4a4f('0x2'))==_0x2c7925?_0x10e45b=this[_0x4a4f('0x7')]:this[_0x4a4f('0x7')]['editors']&&(_0x10e45b=this[_0x4a4f('0x7')][_0x4a4f('0x4')][_0x4a4f('0xf')](_0x2bd294=>_0x2bd294[_0x4a4f('0x9')]['get']('collaboration.channelId')==_0x2c7925)),!_0x10e45b)throw new _0x165745(_0x4a4f('0x3'),null);const _0x5d4838=_0x10e45b[_0x4a4f('0xb')],_0x5d5b5f=_0x10e45b instanceof _0x139e14,_0x4bf1b4=_0x5d4838['has']('CommentsRepository')&&_0x5d4838[_0x4a4f('0x10')](_0x4a4f('0x15')),_0x4643c0=_0x5d4838[_0x4a4f('0x6')](_0x4a4f('0x5'))&&_0x5d4838['get'](_0x4a4f('0x5')),_0x56a149=_0x361ab6['includes'](_0x4a4f('0xc')),_0x141a28=_0x361ab6['includes'](_0x4a4f('0xa')),_0x7db07d=_0x361ab6['includes'](_0x4a4f('0x0'))||_0x141a28;(_0x4643c0&&(_0x4643c0['isEnabled']=!_0x56a149&&_0x7db07d),_0x5d5b5f)&&(!(_0x56a149||_0x7db07d&&_0x4bf1b4)?_0x10e45b[_0x4a4f('0x11')](_0x4a4f('0x14')):_0x10e45b[_0x4a4f('0x13')](_0x4a4f('0x14')));if(_0x4bf1b4){_0x4bf1b4[_0x4a4f('0xd')](!_0x7db07d,_0x2c7925),_0x4bf1b4['setAdminPermissions'](_0x141a28,_0x2c7925);const _0x21a1b7=_0x5d5b5f&&_0x10e45b[_0x4a4f('0x12')][_0x4a4f('0x10')](_0x4a4f('0x1'));_0x21a1b7&&(_0x7db07d?_0x21a1b7[_0x4a4f('0xe')](_0x4a4f('0x16')):_0x21a1b7['forceDisabled'](_0x4a4f('0x16')));}}}
23
+ const _0x2584=['includes','noPermissions','enableReadOnlyMode','has','context','plugins','config','no-permissions','CommentsOnly','setAdminPermissions','editors','find','commands','disableReadOnlyMode','clearForceDisabled','get','setPermissions','isEnabled','collaboration.channelId','comment:write','addCommentThread','document:write','Permissions','CommentsRepository'];(function(_0x18fc95,_0x2584c4){const _0x2415ad=function(_0x3c6927){while(--_0x3c6927){_0x18fc95['push'](_0x18fc95['shift']());}};_0x2415ad(++_0x2584c4);}(_0x2584,0xcd));const _0x2415=function(_0x18fc95,_0x2584c4){_0x18fc95=_0x18fc95-0x0;let _0x2415ad=_0x2584[_0x18fc95];return _0x2415ad;};import{ContextPlugin as _0x158da0,Editor as _0x42d238}from'ckeditor5/src/core';import{CKEditorError as _0x3963e0}from'ckeditor5/src/utils';export default class i extends _0x158da0{static get['pluginName'](){return _0x2415('0x9');}[_0x2415('0x3')](_0x17f4c3,_0x43d33d){let _0x5827f0;if(_0x43d33d||(_0x43d33d=this[_0x2415('0xf')][_0x2415('0x11')][_0x2415('0x2')]('collaboration.channelId')),this[_0x2415('0xf')][_0x2415('0x11')]['get'](_0x2415('0x5'))==_0x43d33d?_0x5827f0=this[_0x2415('0xf')]:this[_0x2415('0xf')][_0x2415('0x15')]&&(_0x5827f0=this['context'][_0x2415('0x15')][_0x2415('0x16')](_0x38b8a1=>_0x38b8a1[_0x2415('0x11')][_0x2415('0x2')](_0x2415('0x5'))==_0x43d33d)),!_0x5827f0)throw new _0x3963e0('permissions-set-permissions-invalid-channel-id',null);const _0x42bbd9=_0x5827f0[_0x2415('0x10')],_0x25bb08=_0x5827f0 instanceof _0x42d238,_0x56aa47=_0x42bbd9[_0x2415('0xe')](_0x2415('0xa'))&&_0x42bbd9[_0x2415('0x2')](_0x2415('0xa')),_0x517a49=_0x42bbd9[_0x2415('0xe')](_0x2415('0x13'))&&_0x42bbd9[_0x2415('0x2')]('CommentsOnly'),_0x49b455=_0x17f4c3[_0x2415('0xb')](_0x2415('0x8')),_0x2ce56e=_0x17f4c3['includes']('comment:admin'),_0x42a874=_0x17f4c3[_0x2415('0xb')](_0x2415('0x6'))||_0x2ce56e;(_0x517a49&&(_0x517a49[_0x2415('0x4')]=!_0x49b455&&_0x42a874),_0x25bb08)&&(!(_0x49b455||_0x42a874&&_0x56aa47)?_0x5827f0[_0x2415('0xd')](_0x2415('0x12')):_0x5827f0[_0x2415('0x0')](_0x2415('0x12')));if(_0x56aa47){_0x56aa47['switchReadOnly'](!_0x42a874,_0x43d33d),_0x56aa47[_0x2415('0x14')](_0x2ce56e,_0x43d33d);const _0x4bfae6=_0x25bb08&&_0x5827f0[_0x2415('0x17')]['get'](_0x2415('0x7'));_0x4bfae6&&(_0x42a874?_0x4bfae6[_0x2415('0x1')](_0x2415('0xc')):_0x4bfae6['forceDisabled']('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1851=['ck-user__img','name','ck-user','div','push','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','initials','ck-user__anonymous','avatar','isAnonymous'];(function(_0x599305,_0x18510e){const _0x1b4d41=function(_0x5e4b66){while(--_0x5e4b66){_0x599305['push'](_0x599305['shift']());}};_0x1b4d41(++_0x18510e);}(_0x1851,0x1dc));const _0x1b4d=function(_0x599305,_0x18510e){_0x599305=_0x599305-0x0;let _0x1b4d41=_0x1851[_0x599305];return _0x1b4d41;};import{View as _0x2434d4}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class _ extends _0x2434d4{constructor(_0x5ab44a,_0x3d7b72){super(_0x5ab44a),this[_0x1b4d('0x9')]=_0x3d7b72['name'];const _0x3fd6c3=['ck',_0x1b4d('0x8')];_0x3d7b72[_0x1b4d('0x7')]&&_0x3fd6c3[_0x1b4d('0x1')](_0x1b4d('0x5')),_0x3d7b72[_0x1b4d('0x6')]&&_0x3fd6c3[_0x1b4d('0x1')]('ck-user__avatar'),this[_0x1b4d('0x3')]({'tag':_0x1b4d('0x0'),'attributes':{'class':['ck',_0x1b4d('0xa')],'data-user-id':_0x3d7b72['id']},'children':[{'tag':_0x1b4d('0x0'),'attributes':{'class':_0x3fd6c3,'style':{'background-image':_0x3d7b72[_0x1b4d('0x6')]?'url(\x27'+_0x3d7b72[_0x1b4d('0x6')]+'\x27)':''}}},{'tag':_0x1b4d('0x0'),'attributes':{'class':_0x3d7b72[_0x1b4d('0x6')]?_0x1b4d('0x2'):'ck\x20ck-user__name'},'children':[{'text':_0x3d7b72[_0x1b4d('0x4')]}]}]});}}
23
+ const _0x436e=['ck-user__icon','div','notificationView','ck-user__notification','initials','ck-user__avatar','ck-user','ck\x20ck-user__name','push','avatar','name','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','ck-user__anonymous','ck-user__img','content','isAnonymous'];(function(_0xce8789,_0x436e26){const _0x1cc5db=function(_0x848734){while(--_0x848734){_0xce8789['push'](_0xce8789['shift']());}};_0x1cc5db(++_0x436e26);}(_0x436e,0x9a));const _0x1cc5=function(_0xce8789,_0x436e26){_0xce8789=_0xce8789-0x0;let _0x1cc5db=_0x436e[_0xce8789];return _0x1cc5db;};import{View as _0x19f798,IconView as _0x2a819f}from'ckeditor5/src/ui';import _0x171661 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x19f798{constructor(_0x446e12,_0x4d39f4,_0x5d6d37){super(_0x446e12),this[_0x1cc5('0x9')]=_0x4d39f4[_0x1cc5('0x9')],this[_0x1cc5('0x1')]=null;const _0x488671=['ck',_0x1cc5('0xd')];if(_0x4d39f4[_0x1cc5('0xf')]&&_0x488671[_0x1cc5('0x7')](_0x1cc5('0xc')),_0x4d39f4[_0x1cc5('0x8')]&&_0x488671[_0x1cc5('0x7')](_0x1cc5('0x4')),_0x5d6d37){const _0x157211=new _0x2a819f();_0x157211['extendTemplate']({'attributes':{'class':[_0x1cc5('0x10')]}}),_0x157211[_0x1cc5('0xe')]=_0x171661,this[_0x1cc5('0x1')]={'tag':_0x1cc5('0x0'),'attributes':{'class':['ck',_0x1cc5('0x2')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5d6d37},'children':[_0x157211]};}const _0x3eb71d=[{'tag':_0x1cc5('0x0'),'attributes':{'class':_0x488671,'style':{'background-image':_0x4d39f4[_0x1cc5('0x8')]?'url(\x27'+_0x4d39f4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x4d39f4[_0x1cc5('0x8')]?_0x1cc5('0xa'):_0x1cc5('0x6')},'children':[{'text':_0x4d39f4[_0x1cc5('0x3')]}]}];this[_0x1cc5('0x1')]&&_0x3eb71d[_0x1cc5('0x7')](this[_0x1cc5('0x1')]),this[_0x1cc5('0xb')]({'tag':'div','attributes':{'class':['ck',_0x1cc5('0x5')],'data-user-id':_0x4d39f4['id']},'children':_0x3eb71d});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7336=['initials','ck-user__selection--','licenseKeyTrialLimit:operations','defineMe','ck-user__bg-color--','length','licenseKeyTrial','trial-license-key-reached-limit-revisions','_isAnonymous','users','_id','_locale','decorate','licenseKeyValid','define','config','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:time','licenseKeyInvalid','init','anonymous-user','toUpperCase','_getInitial','_getNextColor','users-me-already-defined','users-me-missing-user','name','color','_lastColor','getMarkerClass','_myId','users.anonymousUserId','addUser','destroy','_addAnonymousUser','getSelectionClass','Anonymous','assign','trim','charAt','getOperationAuthor','requires','context','avatar','licenseKeyTrialLimit:revisions','getBackgroundColorClass','isAnonymous','licenseKey','useAnonymousUser','users.colorsCount','get','locale','_licenseKeyCheckInterval','has','getUser','users-add-invalid-id','trial-license-key-reached-limit-time'];(function(_0x56dc43,_0x7336c5){const _0x400a4a=function(_0x5ee307){while(--_0x5ee307){_0x56dc43['push'](_0x56dc43['shift']());}};_0x400a4a(++_0x7336c5);}(_0x7336,0x1d1));const _0x400a=function(_0x56dc43,_0x7336c5){_0x56dc43=_0x56dc43-0x0;let _0x400a4a=_0x7336[_0x56dc43];return _0x400a4a;};import{ContextPlugin as _0x42c108}from'ckeditor5/src/core';import{Collection as _0x533d15,CKEditorError as _0x270292}from'ckeditor5/src/utils';import _0x3af45d from'./permissions';import{getTranslation as _0x2e3cb2}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x42c108{static get['pluginName'](){return'Users';}static get[_0x400a('0x20')](){return[_0x3af45d];}constructor(_0x20792b){super(_0x20792b),_0x20792b[_0x400a('0x6')][_0x400a('0x5')](_0x400a('0x16'),_0x400a('0xb')),_0x20792b['config'][_0x400a('0x5')]('users.colorsCount',0x8),this[_0x400a('0x0')]=new _0x533d15(),this[_0x400a('0x2')]=_0x20792b[_0x400a('0x2a')],this[_0x400a('0x2b')]=null,this['_lastColor']=0x0,this[_0x400a('0x15')]=null,this[_0x400a('0x3')](_0x400a('0x1f'));}[_0x400a('0xa')](){const _0x263add=this[_0x400a('0x21')];this[_0x400a('0x26')]=_0x263add[_0x400a('0x6')][_0x400a('0x29')](_0x400a('0x26'));const _0x239002=['licenseKeyTrial',_0x400a('0x9'),_0x400a('0x4'),_0x400a('0x32'),'licenseKeyTrialLimit:time',_0x400a('0x23')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a8568;for(const _0x56385f in _0x263add){const _0x27ceef=_0x263add[_0x56385f];if(_0x239002['includes'](_0x27ceef)){delete _0x263add[_0x56385f],_0x2a8568=_0x27ceef;break;}}if(_0x400a('0x9')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292('invalid-license-key',null);if(_0x400a('0x36')===_0x2a8568&&console['info'](_0x400a('0x7')),_0x400a('0x32')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292('trial-license-key-reached-limit-changes',null);if(_0x400a('0x8')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292(_0x400a('0x2f'),null);if(_0x400a('0x23')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292(_0x400a('0x37'),null);_0x400a('0x4')===_0x2a8568&&clearInterval(this[_0x400a('0x2b')]);},0x3e8),this[_0x400a('0x19')]();}get['me'](){return null==this['_myId']?null:this[_0x400a('0x2d')](this[_0x400a('0x15')]);}[_0x400a('0x17')](_0x5c324e){if(!(_0x5c324e=Object[_0x400a('0x1c')]({},_0x5c324e,{'color':this[_0x400a('0xe')]()}))['id']||'string'!=typeof _0x5c324e['id'])throw new _0x270292(_0x400a('0x2e'));if(this[_0x400a('0x0')][_0x400a('0x2c')](_0x5c324e['id']))throw new _0x270292('users-add-duplicated-id',null,{'id':_0x5c324e['id']});_0x5c324e['name']=function(_0x4218af,_0x1dc64e=''){return''==(_0x1dc64e=_0x1dc64e[_0x400a('0x1d')]())?_0x2e3cb2(_0x4218af,'Anonymous'):_0x1dc64e;}(this[_0x400a('0x2')],_0x5c324e[_0x400a('0x11')]);const _0x32477d=new u(_0x5c324e);return this['users']['add'](_0x32477d),_0x32477d;}['getUser'](_0x188b3b){return this[_0x400a('0x0')][_0x400a('0x29')](_0x188b3b);}[_0x400a('0x27')](){const _0x1c9723=this[_0x400a('0x21')][_0x400a('0x6')][_0x400a('0x29')](_0x400a('0x16'));this[_0x400a('0x15')]||this[_0x400a('0x33')](_0x1c9723);}[_0x400a('0x33')](_0x228a2c){if(this[_0x400a('0x15')])throw new _0x270292(_0x400a('0xf'),null);if(!this[_0x400a('0x2d')](_0x228a2c))throw new _0x270292(_0x400a('0x10'),null);this[_0x400a('0x15')]=_0x228a2c;}[_0x400a('0x1f')](){return this['me'];}['destroy'](){super[_0x400a('0x18')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x400a('0xe')](){const _0x1670e9=this[_0x400a('0x21')]['config'][_0x400a('0x29')](_0x400a('0x28'));return this[_0x400a('0x13')]>=_0x1670e9&&(this['_lastColor']=0x0),new a(this[_0x400a('0x13')]++);}[_0x400a('0x19')](){const _0x38f631=this[_0x400a('0x21')][_0x400a('0x6')][_0x400a('0x29')](_0x400a('0x16'));this['addUser']({'id':_0x38f631,'name':_0x2e3cb2(this[_0x400a('0x2')],_0x400a('0x1b'))})['_isAnonymous']=!0x0;}}class u{constructor(_0x4bc0e8){this['id']=_0x4bc0e8['id'],this[_0x400a('0x12')]=_0x4bc0e8[_0x400a('0x12')],this['name']=_0x4bc0e8['name'],this['avatar']=_0x4bc0e8[_0x400a('0x22')],this[_0x400a('0x38')]=!0x1;}get[_0x400a('0x25')](){return this[_0x400a('0x38')];}get[_0x400a('0x30')](){const _0x50193e=this['name']['split']('\x20');return 0x1===_0x50193e['length']?this['_getInitial'](_0x50193e[0x0]):this[_0x400a('0xd')](_0x50193e[0x0])+this['_getInitial'](_0x50193e[_0x50193e[_0x400a('0x35')]-0x1]);}[_0x400a('0xd')](_0x1f588d){return _0x1f588d[_0x400a('0x1e')](0x0)[_0x400a('0xc')]();}}class a{constructor(_0x2fab92){this[_0x400a('0x1')]=_0x2fab92;}[_0x400a('0x24')](){return _0x400a('0x34')+this['_id'];}[_0x400a('0x1a')](){return _0x400a('0x31')+this[_0x400a('0x1')];}[_0x400a('0x14')](){return'ck-user__marker--'+this['_id'];}}
23
+ const _0xbeb5=['licenseKeyTrialLimit:time','_getNextColor','ck-user__selection--','split','trial-license-key-reached-limit-changes','Anonymous','anonymous-user','info','ck-user__bg-color--','_getInitial','invalid-license-key','length','destroy','users-add-invalid-id','Users','getUser','users-me-already-defined','name','useAnonymousUser','users.colorsCount','_isAnonymous','licenseKeyValid','has','charAt','_locale','users-add-duplicated-id','_lastColor','licenseKeyTrialLimit:operations','_addAnonymousUser','getSelectionClass','addUser','users-me-missing-user','init','assign','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.','trial-license-key-reached-limit-revisions','requires','string','trial-license-key-reached-limit-time','_myId','licenseKeyInvalid','define','_id','config','licenseKeyTrial','pluginName','defineMe','context','locale','licenseKeyTrialLimit:revisions','users','trim','_licenseKeyCheckInterval','licenseKey','get','color','getBackgroundColorClass','users.anonymousUserId','isAnonymous','avatar'];(function(_0x49c218,_0xbeb549){const _0x5db873=function(_0x3799e0){while(--_0x3799e0){_0x49c218['push'](_0x49c218['shift']());}};_0x5db873(++_0xbeb549);}(_0xbeb5,0x19a));const _0x5db8=function(_0x49c218,_0xbeb549){_0x49c218=_0x49c218-0x0;let _0x5db873=_0xbeb5[_0x49c218];return _0x5db873;};import{ContextPlugin as _0x5104ea}from'ckeditor5/src/core';import{Collection as _0x5ecafa,CKEditorError as _0x4035f6}from'ckeditor5/src/utils';import _0x4d4199 from'./permissions';import{getTranslation as _0x4e8bf5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5104ea{static get[_0x5db8('0x37')](){return _0x5db8('0x18');}static get[_0x5db8('0x2e')](){return[_0x4d4199];}constructor(_0x5803c8){super(_0x5803c8),_0x5803c8[_0x5db8('0x35')][_0x5db8('0x33')](_0x5db8('0x7'),_0x5db8('0x10')),_0x5803c8[_0x5db8('0x35')][_0x5db8('0x33')](_0x5db8('0x1d'),0x8),this[_0x5db8('0x0')]=new _0x5ecafa(),this[_0x5db8('0x22')]=_0x5803c8[_0x5db8('0x3a')],this[_0x5db8('0x2')]=null,this['_lastColor']=0x0,this[_0x5db8('0x31')]=null,this['decorate']('getOperationAuthor');}[_0x5db8('0x2a')](){const _0x8031a4=this['context'];this['licenseKey']=_0x8031a4[_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x3'));const _0x44e565=[_0x5db8('0x36'),_0x5db8('0x32'),_0x5db8('0x1f'),'licenseKeyTrialLimit:operations',_0x5db8('0xa'),_0x5db8('0x3b')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48ecb4;for(const _0x4893a0 in _0x8031a4){const _0x56eedf=_0x8031a4[_0x4893a0];if(_0x44e565['includes'](_0x56eedf)){delete _0x8031a4[_0x4893a0],_0x48ecb4=_0x56eedf;break;}}if(_0x5db8('0x32')===_0x48ecb4)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4035f6(_0x5db8('0x14'),null);if('licenseKeyTrial'===_0x48ecb4&&console[_0x5db8('0x11')](_0x5db8('0x2c')),_0x5db8('0x25')===_0x48ecb4)throw clearInterval(this[_0x5db8('0x2')]),new _0x4035f6(_0x5db8('0xe'),null);if('licenseKeyTrialLimit:time'===_0x48ecb4)throw clearInterval(this[_0x5db8('0x2')]),new _0x4035f6(_0x5db8('0x30'),null);if(_0x5db8('0x3b')===_0x48ecb4)throw clearInterval(this[_0x5db8('0x2')]),new _0x4035f6(_0x5db8('0x2d'),null);_0x5db8('0x1f')===_0x48ecb4&&clearInterval(this[_0x5db8('0x2')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x5db8('0x31')]);}['addUser'](_0x1552a1){if(!(_0x1552a1=Object[_0x5db8('0x2b')]({},_0x1552a1,{'color':this[_0x5db8('0xb')]()}))['id']||_0x5db8('0x2f')!=typeof _0x1552a1['id'])throw new _0x4035f6(_0x5db8('0x17'));if(this[_0x5db8('0x0')][_0x5db8('0x20')](_0x1552a1['id']))throw new _0x4035f6(_0x5db8('0x23'),null,{'id':_0x1552a1['id']});_0x1552a1[_0x5db8('0x1b')]=function(_0x3e8c02,_0xbb7ff0=''){return''==(_0xbb7ff0=_0xbb7ff0[_0x5db8('0x1')]())?_0x4e8bf5(_0x3e8c02,'Anonymous'):_0xbb7ff0;}(this[_0x5db8('0x22')],_0x1552a1[_0x5db8('0x1b')]);const _0x5b0296=new u(_0x1552a1);return this[_0x5db8('0x0')]['add'](_0x5b0296),_0x5b0296;}[_0x5db8('0x19')](_0x277ab9){return this[_0x5db8('0x0')]['get'](_0x277ab9);}[_0x5db8('0x1c')](){const _0x5e343e=this[_0x5db8('0x39')][_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x7'));this[_0x5db8('0x31')]||this['defineMe'](_0x5e343e);}[_0x5db8('0x38')](_0x8c691c){if(this[_0x5db8('0x31')])throw new _0x4035f6(_0x5db8('0x1a'),null);if(!this[_0x5db8('0x19')](_0x8c691c))throw new _0x4035f6(_0x5db8('0x29'),null);this['_myId']=_0x8c691c;}['getOperationAuthor'](){return this['me'];}[_0x5db8('0x16')](){super[_0x5db8('0x16')](),clearInterval(this[_0x5db8('0x2')]);}[_0x5db8('0xb')](){const _0x40f13d=this['context'][_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x1d'));return this[_0x5db8('0x24')]>=_0x40f13d&&(this[_0x5db8('0x24')]=0x0),new a(this[_0x5db8('0x24')]++);}[_0x5db8('0x26')](){const _0x41faf6=this[_0x5db8('0x39')][_0x5db8('0x35')][_0x5db8('0x4')](_0x5db8('0x7'));this[_0x5db8('0x28')]({'id':_0x41faf6,'name':_0x4e8bf5(this[_0x5db8('0x22')],_0x5db8('0xf'))})[_0x5db8('0x1e')]=!0x0;}}class u{constructor(_0x1ec12c){this['id']=_0x1ec12c['id'],this[_0x5db8('0x5')]=_0x1ec12c[_0x5db8('0x5')],this[_0x5db8('0x1b')]=_0x1ec12c[_0x5db8('0x1b')],this[_0x5db8('0x9')]=_0x1ec12c[_0x5db8('0x9')],this['_isAnonymous']=!0x1;}get[_0x5db8('0x8')](){return this[_0x5db8('0x1e')];}get['initials'](){const _0x54b8be=this[_0x5db8('0x1b')][_0x5db8('0xd')]('\x20');return 0x1===_0x54b8be['length']?this[_0x5db8('0x13')](_0x54b8be[0x0]):this[_0x5db8('0x13')](_0x54b8be[0x0])+this[_0x5db8('0x13')](_0x54b8be[_0x54b8be[_0x5db8('0x15')]-0x1]);}[_0x5db8('0x13')](_0x4c9d4c){return _0x4c9d4c[_0x5db8('0x21')](0x0)['toUpperCase']();}}class a{constructor(_0x51ab23){this['_id']=_0x51ab23;}[_0x5db8('0x6')](){return _0x5db8('0x12')+this[_0x5db8('0x34')];}[_0x5db8('0x27')](){return _0x5db8('0xc')+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this[_0x5db8('0x34')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4d14f4,_0x2e1483){const t=_0x4d14f4['t'];switch(_0x2e1483){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
23
+ export function getTranslation(_0x579541,_0x1a93c2){const t=_0x579541['t'];switch(_0x1a93c2){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x571d=['once','confirmView','message','appendChild','remove','deregisterChild','registerChild','_removeConfirm','destroy','isConfirm','element','set','cancel','locale'];(function(_0x23105d,_0x571de7){var _0x22c95d=function(_0x6d68b4){while(--_0x6d68b4){_0x23105d['push'](_0x23105d['shift']());}};_0x22c95d(++_0x571de7);}(_0x571d,0xf7));var _0x22c9=function(_0x23105d,_0x571de7){_0x23105d=_0x23105d-0x0;var _0x22c95d=_0x571d[_0x23105d];return _0x22c95d;};import _0x827ef5 from'./confirmview';export default{'showConfirm'(_0x5ca858,_0x16b7ac){return this['confirmView']=new _0x827ef5(this[_0x22c9('0x4')]),this[_0x22c9('0x6')]['render'](),this['confirmView'][_0x22c9('0x7')]=_0x5ca858,this[_0x22c9('0x6')][_0x22c9('0x5')]('cancel',()=>{this[_0x22c9('0xc')]();}),this['confirmView'][_0x22c9('0x5')]('submit',()=>{this['_removeConfirm']();}),_0x16b7ac[_0x22c9('0x8')](this[_0x22c9('0x6')]['element']),this[_0x22c9('0xb')](this[_0x22c9('0x6')]),this[_0x22c9('0x2')](_0x22c9('0x0'),!0x0),new Promise(_0x1b5a9f=>this[_0x22c9('0x6')]['on']('submit',_0x1b5a9f));},'cancelConfirm'(){this[_0x22c9('0x0')]&&this[_0x22c9('0x6')]['fire'](_0x22c9('0x3'));},'_removeConfirm'(){this['confirmView'][_0x22c9('0x1')][_0x22c9('0x9')](),this[_0x22c9('0xa')](this[_0x22c9('0x6')]),this[_0x22c9('0x0')]=!0x1,this[_0x22c9('0x6')][_0x22c9('0xd')](),delete this[_0x22c9('0x6')];}};
23
+ var _0x47aa=['appendChild','message','render','destroy','once','isConfirm','set','_removeConfirm','confirmView','element','cancel','locale','submit','remove'];(function(_0x4dcbcd,_0x47aa7a){var _0x1581ee=function(_0x1e6274){while(--_0x1e6274){_0x4dcbcd['push'](_0x4dcbcd['shift']());}};_0x1581ee(++_0x47aa7a);}(_0x47aa,0x1ab));var _0x1581=function(_0x4dcbcd,_0x47aa7a){_0x4dcbcd=_0x4dcbcd-0x0;var _0x1581ee=_0x47aa[_0x4dcbcd];return _0x1581ee;};import _0x2826ff from'./confirmview';export default{'showConfirm'(_0x377f0a,_0x527e4d){return this[_0x1581('0x1')]=new _0x2826ff(this[_0x1581('0x4')]),this[_0x1581('0x1')][_0x1581('0x9')](),this[_0x1581('0x1')][_0x1581('0x8')]=_0x377f0a,this[_0x1581('0x1')][_0x1581('0xb')](_0x1581('0x3'),()=>{this[_0x1581('0x0')]();}),this[_0x1581('0x1')][_0x1581('0xb')](_0x1581('0x5'),()=>{this[_0x1581('0x0')]();}),_0x527e4d[_0x1581('0x7')](this[_0x1581('0x1')]['element']),this['registerChild'](this[_0x1581('0x1')]),this[_0x1581('0xd')](_0x1581('0xc'),!0x0),new Promise(_0x1699ed=>this[_0x1581('0x1')]['on'](_0x1581('0x5'),_0x1699ed));},'cancelConfirm'(){this[_0x1581('0xc')]&&this[_0x1581('0x1')]['fire'](_0x1581('0x3'));},'_removeConfirm'(){this[_0x1581('0x1')][_0x1581('0x2')][_0x1581('0x6')](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this[_0x1581('0x1')][_0x1581('0xa')](),delete this[_0x1581('0x1')];}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25fb=['set','cancelView','setTemplate','ck-thread__remove-confirm-inner','submit','ck-thread__remove-confirm-','icon','ck-thread__remove-confirm','submitView','div','label','check','extendTemplate','_createButtonView','cancel','message','Are\x20you\x20sure?'];(function(_0x262145,_0x25fba9){const _0x5eb067=function(_0x374608){while(--_0x374608){_0x262145['push'](_0x262145['shift']());}};_0x5eb067(++_0x25fba9);}(_0x25fb,0x104));const _0x5eb0=function(_0x262145,_0x25fba9){_0x262145=_0x262145-0x0;let _0x5eb067=_0x25fb[_0x262145];return _0x5eb067;};import{View as _0x5ca91b,ButtonView as _0x29e1bd}from'ckeditor5/src/ui';import{icons as _0x9c6e95}from'ckeditor5/src/core';import{getTranslation as _0x19c0dc}from'./common-translations';export default class h extends _0x5ca91b{constructor(_0x239a7e){super(_0x239a7e);const _0xedcc59=this['bindTemplate'];this[_0x5eb0('0x3')]=this[_0x5eb0('0x8')](_0x239a7e,_0x19c0dc(_0x239a7e,'Yes'),_0x9c6e95[_0x5eb0('0x6')],_0x5eb0('0x10')),this[_0x5eb0('0xd')]=this[_0x5eb0('0x8')](_0x239a7e,_0x19c0dc(_0x239a7e,'No'),_0x9c6e95[_0x5eb0('0x9')],_0x5eb0('0x9')),this[_0x5eb0('0xc')]('message',_0x19c0dc(_0x239a7e,_0x5eb0('0xb'))),this[_0x5eb0('0xe')]({'tag':'div','attributes':{'class':[_0x5eb0('0x2')]},'children':[{'tag':_0x5eb0('0x4'),'attributes':{'class':_0x5eb0('0xf')},'children':[{'tag':'p','children':[{'text':_0xedcc59['to'](_0x5eb0('0xa'))}]},{'tag':_0x5eb0('0x4'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x5eb0('0x3')],this[_0x5eb0('0xd')]]}]}]});}[_0x5eb0('0x8')](_0x7a2b91,_0x5a3e39,_0xa8005c,_0x5e1415){const _0x558d59=new _0x29e1bd(_0x7a2b91);return _0x558d59[_0x5eb0('0x5')]=_0x5a3e39,_0x558d59[_0x5eb0('0x1')]=_0xa8005c,_0x558d59[_0x5eb0('0x7')]({'attributes':{'class':_0x5eb0('0x0')+_0x5e1415}}),_0x558d59['on']('execute',()=>this['fire'](_0x5e1415)),_0x558d59;}}
23
+ const _0x1c85=['execute','cancelView','icon','Yes','fire','submit','bindTemplate','ck-thread__remove-confirm-actions','Are\x20you\x20sure?','extendTemplate','div','ck-thread__remove-confirm-','ck-thread__remove-confirm','label','message','check','_createButtonView','submitView','set','ck-thread__remove-confirm-inner','cancel'];(function(_0x5850a8,_0x1c8591){const _0x330749=function(_0x34efdf){while(--_0x34efdf){_0x5850a8['push'](_0x5850a8['shift']());}};_0x330749(++_0x1c8591);}(_0x1c85,0x1d7));const _0x3307=function(_0x5850a8,_0x1c8591){_0x5850a8=_0x5850a8-0x0;let _0x330749=_0x1c85[_0x5850a8];return _0x330749;};import{View as _0x525a68,ButtonView as _0x20af12}from'ckeditor5/src/ui';import{icons as _0x37f330}from'ckeditor5/src/core';import{getTranslation as _0x3c1977}from'./common-translations';export default class h extends _0x525a68{constructor(_0x5e1184){super(_0x5e1184);const _0x459b3d=this[_0x3307('0x12')];this[_0x3307('0x8')]=this[_0x3307('0x7')](_0x5e1184,_0x3c1977(_0x5e1184,_0x3307('0xf')),_0x37f330[_0x3307('0x6')],_0x3307('0x11')),this[_0x3307('0xd')]=this[_0x3307('0x7')](_0x5e1184,_0x3c1977(_0x5e1184,'No'),_0x37f330[_0x3307('0xb')],_0x3307('0xb')),this[_0x3307('0x9')]('message',_0x3c1977(_0x5e1184,_0x3307('0x14'))),this['setTemplate']({'tag':_0x3307('0x1'),'attributes':{'class':[_0x3307('0x3')]},'children':[{'tag':_0x3307('0x1'),'attributes':{'class':_0x3307('0xa')},'children':[{'tag':'p','children':[{'text':_0x459b3d['to'](_0x3307('0x5'))}]},{'tag':_0x3307('0x1'),'attributes':{'class':_0x3307('0x13')},'children':[this[_0x3307('0x8')],this[_0x3307('0xd')]]}]}]});}['_createButtonView'](_0xf8aebe,_0x1791f9,_0x3e0126,_0x3662fa){const _0x1e83e0=new _0x20af12(_0xf8aebe);return _0x1e83e0[_0x3307('0x4')]=_0x1791f9,_0x1e83e0[_0x3307('0xe')]=_0x3e0126,_0x1e83e0[_0x3307('0x0')]({'attributes':{'class':_0x3307('0x2')+_0x3662fa}}),_0x1e83e0['on'](_0x3307('0xc'),()=>this[_0x3307('0x10')](_0x3662fa)),_0x1e83e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4755=['MM-dd-yyyy\x20hh:mma','invalid-date-time-format','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','function','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x3eda5a,_0x475591){const _0x421829=function(_0x29f6c3){while(--_0x29f6c3){_0x3eda5a['push'](_0x3eda5a['shift']());}};_0x421829(++_0x475591);}(_0x4755,0x16c));const _0x4218=function(_0x3eda5a,_0x475591){_0x3eda5a=_0x3eda5a-0x0;let _0x421829=_0x4755[_0x3eda5a];return _0x421829;};import _0x129ed1 from'date-fns/format';import _0x32a05f from'date-fns/parseISO';import _0x2572e7 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x302aec}from'ckeditor5/src/utils';export default function E(_0xcea747={}){if(void 0x0!==_0xcea747[_0x4218('0x2')]&&_0x4218('0x5')!=typeof _0xcea747[_0x4218('0x2')])throw new _0x302aec(_0x4218('0x1'));return _0x1bd7e9=>{const _0x4f237e='string'==typeof _0x1bd7e9?_0x32a05f(_0x1bd7e9):_0x1bd7e9,_0x407726=new Date(),_0x241a7a=_0x2572e7(_0x407726,_0x4f237e);return _0xcea747[_0x4218('0x2')]?_0xcea747['dateTimeFormat'](_0x4f237e):_0x129ed1(_0x4f237e,0x0===_0x241a7a?_0x4218('0x4'):0x1===_0x241a7a?_0x4218('0x3'):_0x241a7a<0x7?_0x4218('0x6'):_0x4218('0x0'));};}
23
+ const _0x54d4=['string','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma'];(function(_0x43f152,_0x54d4cc){const _0x418f19=function(_0x7323d9){while(--_0x7323d9){_0x43f152['push'](_0x43f152['shift']());}};_0x418f19(++_0x54d4cc);}(_0x54d4,0x75));const _0x418f=function(_0x43f152,_0x54d4cc){_0x43f152=_0x43f152-0x0;let _0x418f19=_0x54d4[_0x43f152];return _0x418f19;};import _0x47eda8 from'date-fns/format';import _0x4c3066 from'date-fns/parseISO';import _0x156acb from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x32deb3}from'ckeditor5/src/utils';export default function E(_0x575ed8={}){if(void 0x0!==_0x575ed8[_0x418f('0x4')]&&'function'!=typeof _0x575ed8['dateTimeFormat'])throw new _0x32deb3('invalid-date-time-format');return _0x48d635=>{const _0xad5d9=_0x418f('0x3')==typeof _0x48d635?_0x4c3066(_0x48d635):_0x48d635,_0x551948=new Date(),_0x4075d1=_0x156acb(_0x551948,_0xad5d9);return _0x575ed8['dateTimeFormat']?_0x575ed8['dateTimeFormat'](_0xad5d9):_0x47eda8(_0xad5d9,0x0===_0x4075d1?_0x418f('0x2'):0x1===_0x4075d1?_0x418f('0x0'):_0x4075d1<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x418f('0x1'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b4f=['view','mapper','mapViewToDom','domConverter','values','markerNameToElements','name'];(function(_0x42f376,_0x5b4f9b){const _0x14e892=function(_0x327aa9){while(--_0x327aa9){_0x42f376['push'](_0x42f376['shift']());}};_0x14e892(++_0x5b4f9b);}(_0x5b4f,0x17d));const _0x14e8=function(_0x42f376,_0x5b4f9b){_0x42f376=_0x42f376-0x0;let _0x14e892=_0x5b4f[_0x42f376];return _0x14e892;};import{first as _0x54f7c1}from'ckeditor5/src/utils';export default function x(_0x81c84b,_0x317c48){const _0x3be0d3=_0x81c84b[_0x14e8('0x5')][_0x14e8('0x2')](_0x317c48[_0x14e8('0x3')]),_0x221e73=_0x54f7c1(_0x3be0d3[_0x14e8('0x1')]());return _0x81c84b[_0x14e8('0x4')][_0x14e8('0x0')][_0x14e8('0x6')](_0x221e73);}
23
+ const _0x1a40=['values','domConverter','markerNameToElements','view','name','mapper'];(function(_0x3ab975,_0x1a40e1){const _0x579207=function(_0x19b60c){while(--_0x19b60c){_0x3ab975['push'](_0x3ab975['shift']());}};_0x579207(++_0x1a40e1);}(_0x1a40,0x15a));const _0x5792=function(_0x3ab975,_0x1a40e1){_0x3ab975=_0x3ab975-0x0;let _0x579207=_0x1a40[_0x3ab975];return _0x579207;};import{first as _0x4a3800}from'ckeditor5/src/utils';export default function x(_0x200c8b,_0x4eb65f){const _0x2e5cf3=_0x200c8b[_0x5792('0x1')][_0x5792('0x4')](_0x4eb65f[_0x5792('0x0')]),_0x2dd1fb=_0x4a3800(_0x2e5cf3[_0x5792('0x2')]());return _0x200c8b[_0x5792('0x5')][_0x5792('0x3')]['mapViewToDom'](_0x2dd1fb);}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4165=['toString','number','keys','sign','sort','boolean'];(function(_0x5f4807,_0x416536){const _0x17c4b9=function(_0xd81a6a){while(--_0xd81a6a){_0x5f4807['push'](_0x5f4807['shift']());}};_0x17c4b9(++_0x416536);}(_0x4165,0x1f4));const _0x17c4=function(_0x5f4807,_0x416536){_0x5f4807=_0x5f4807-0x0;let _0x17c4b9=_0x4165[_0x5f4807];return _0x17c4b9;};export default function b(_0x1aec4f){let _0x226f44=0x0,_0x3e14ed=0x0;for(const _0x487619 of g(_0x1aec4f))_0x226f44=(_0x226f44<<0x5)-_0x226f44+_0x487619,_0x226f44&=_0x226f44,[_0x226f44,_0x3e14ed]=[_0x3e14ed,_0x226f44];return O(_0x226f44)+O(_0x3e14ed);}function*j(_0x34a01e){_0x34a01e?_0x17c4('0x3')==typeof _0x34a01e?yield 0x1:Array['isArray'](_0x34a01e)?yield*function*(_0x5f2a46){for(const _0x1bcd6e of _0x5f2a46)yield*j(_0x1bcd6e);}(_0x34a01e):'object'==typeof _0x34a01e?yield*g(_0x34a01e):'string'==typeof _0x34a01e?yield*A(_0x34a01e):_0x17c4('0x5')==typeof _0x34a01e&&(yield _0x34a01e):yield 0x0;}function*g(_0x13bcb3){if(yield M('{'),_0x13bcb3){const _0x5698c0=Object[_0x17c4('0x0')](_0x13bcb3)[_0x17c4('0x2')]();for(const _0xe017e1 of _0x5698c0){yield*A(_0xe017e1),yield M(':');const _0x5af064=_0x13bcb3[_0xe017e1];yield*j(_0x5af064);}}yield M('}');}function*A(_0x49d2fc){yield M('\x22');for(const _0x25c2d6 of _0x49d2fc)yield M(_0x25c2d6);yield M('\x22');}function M(_0x146da6){return _0x146da6['charCodeAt'](0x0);}function O(_0x403884){return(_0x403884*=Math[_0x17c4('0x1')](_0x403884))[_0x17c4('0x4')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x90f9=['match','length','split','slice','replace','push','startsWith','join'];(function(_0x12f75b,_0x90f964){const _0x1d8301=function(_0x43ce2f){while(--_0x43ce2f){_0x12f75b['push'](_0x12f75b['shift']());}};_0x1d8301(++_0x90f964);}(_0x90f9,0xb3));const _0x1d83=function(_0x12f75b,_0x90f964){_0x12f75b=_0x12f75b-0x0;let _0x1d8301=_0x90f9[_0x12f75b];return _0x1d8301;};export default function g(_0x108049,{limit:_0x469bbb,suffix:_0x2f907a='...'}){const _0x1c8d37=[];let _0x12bb8e=0x0;const _0x1eec15=_0x108049[_0x1d83('0x1')](/</g,'\x0a<')[_0x1d83('0x1')](/>/g,'>\x0a')[_0x1d83('0x1')](/^\n/g,'')[_0x1d83('0x1')](/\n$/g,'')[_0x1d83('0x7')]('\x0a');for(let _0x4e3f4e=0x0;_0x4e3f4e<_0x1eec15[_0x1d83('0x6')];_0x4e3f4e++){let _0x554a0a=_0x1eec15[_0x4e3f4e];const _0x3f2cb6=z(_0x554a0a);if(_0x554a0a[_0x1d83('0x3')]('<')){if(_0x12bb8e>=_0x469bbb){const _0x31ee03=_0x554a0a[_0x1d83('0x5')](/[a-zA-Z]+/)[0x0];_0x554a0a['startsWith']('</')?(_0x1c8d37[_0x1d83('0x6')]&&(_0x554a0a=''),_0x1c8d37['pop']()):(_0x1c8d37['push'](_0x31ee03),_0x554a0a='');}}else{if(_0x12bb8e>=_0x469bbb)_0x554a0a='';else{if(_0x12bb8e+_0x3f2cb6['length']>=_0x469bbb){let _0x38d174=_0x469bbb-_0x12bb8e;if('\x20'===_0x3f2cb6[_0x38d174-0x1])_0x38d174--;else{const _0x6c13eb=_0x3f2cb6[_0x1d83('0x0')](_0x38d174)['indexOf']('\x20');-0x1!==_0x6c13eb?_0x38d174+=_0x6c13eb:_0x38d174=_0x554a0a[_0x1d83('0x6')];}_0x554a0a=_0x3f2cb6[_0x1d83('0x0')](0x0,_0x38d174)[_0x1d83('0x4')]('')+_0x2f907a,_0x12bb8e=_0x469bbb;}else _0x12bb8e+=_0x3f2cb6[_0x1d83('0x6')];}}_0x1eec15[_0x4e3f4e]=_0x554a0a;}return _0x1eec15[_0x1d83('0x4')]('\x0a')[_0x1d83('0x1')](/\n/g,'');}function z(_0xf86bab){const _0x15e75e=[];for(let _0x1cc1a2=0x0;_0x1cc1a2<_0xf86bab['length'];_0x1cc1a2++){const _0x1ddcd8=_0xf86bab['substring'](_0x1cc1a2)['match'](/^&[a-z0-9#]+;/);if(_0x1ddcd8){const _0x5cdd26=_0x1ddcd8[0x0];_0x15e75e[_0x1d83('0x2')](_0x5cdd26),_0x1cc1a2+=_0x5cdd26['length']-0x1;}else _0x15e75e['push'](_0xf86bab[_0x1cc1a2]);}return _0x15e75e;}
23
+ const _0x25bb=['indexOf','push','join','replace','length','...','split','pop','slice','substring','startsWith'];(function(_0x472db1,_0x25bbd4){const _0x28fdc5=function(_0x1c8aaf){while(--_0x1c8aaf){_0x472db1['push'](_0x472db1['shift']());}};_0x28fdc5(++_0x25bbd4);}(_0x25bb,0x18f));const _0x28fd=function(_0x472db1,_0x25bbd4){_0x472db1=_0x472db1-0x0;let _0x28fdc5=_0x25bb[_0x472db1];return _0x28fdc5;};export default function z(_0x24038a,{limit:_0x58236e,suffix:_0x4bf071=_0x28fd('0x2')}){const _0x52dad9=[];let _0x29bab5=0x0;const _0x4936a2=_0x24038a[_0x28fd('0x0')](/</g,'\x0a<')[_0x28fd('0x0')](/>/g,'>\x0a')[_0x28fd('0x0')](/^\n/g,'')[_0x28fd('0x0')](/\n$/g,'')[_0x28fd('0x3')]('\x0a');for(let _0x5e00f8=0x0;_0x5e00f8<_0x4936a2['length'];_0x5e00f8++){let _0x4d43a3=_0x4936a2[_0x5e00f8];const _0x3b906e=Z(_0x4d43a3);if(_0x4d43a3[_0x28fd('0x7')]('<')){if(_0x29bab5>=_0x58236e){const _0x158853=_0x4d43a3['match'](/[a-zA-Z]+/)[0x0];_0x4d43a3[_0x28fd('0x7')]('</')?(_0x52dad9['length']&&(_0x4d43a3=''),_0x52dad9[_0x28fd('0x4')]()):(_0x52dad9['push'](_0x158853),_0x4d43a3='');}}else{if(_0x29bab5>=_0x58236e)_0x4d43a3='';else{if(_0x29bab5+_0x3b906e[_0x28fd('0x1')]>=_0x58236e){let _0x475345=_0x58236e-_0x29bab5;if('\x20'===_0x3b906e[_0x475345-0x1])_0x475345--;else{const _0x3bea2c=_0x3b906e[_0x28fd('0x5')](_0x475345)[_0x28fd('0x8')]('\x20');-0x1!==_0x3bea2c?_0x475345+=_0x3bea2c:_0x475345=_0x4d43a3[_0x28fd('0x1')];}_0x4d43a3=_0x3b906e[_0x28fd('0x5')](0x0,_0x475345)['join']('')+_0x4bf071,_0x29bab5=_0x58236e;}else _0x29bab5+=_0x3b906e[_0x28fd('0x1')];}}_0x4936a2[_0x5e00f8]=_0x4d43a3;}return _0x4936a2[_0x28fd('0xa')]('\x0a')[_0x28fd('0x0')](/\n/g,'');}function Z(_0x14789a){const _0x37d2fd=[];for(let _0x2990fb=0x0;_0x2990fb<_0x14789a[_0x28fd('0x1')];_0x2990fb++){const _0x5f29fa=_0x14789a[_0x28fd('0x6')](_0x2990fb)['match'](/^&[a-z0-9#]+;/);if(_0x5f29fa){const _0x12e798=_0x5f29fa[0x0];_0x37d2fd[_0x28fd('0x9')](_0x12e798),_0x2990fb+=_0x12e798[_0x28fd('0x1')]-0x1;}else _0x37d2fd['push'](_0x14789a[_0x2990fb]);}return _0x37d2fd;}
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ Letters is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all Letters content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm1 15H9v-2h2v2zm0-4H9V5h2v6z"/></svg>
@@ -14,82 +14,126 @@
14
14
  }
15
15
  }
16
16
 
17
- .ck-content .ck-suggestion-marker-insertion.table > table {
17
+ .ck-content .ck-suggestion-marker-insertion.table {
18
18
  border-color: var(--ck-color-suggestion-marker-insertion-border);
19
19
 
20
- & > tbody > tr > th {
21
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
22
- border-color: var(--ck-color-suggestion-marker-insertion-border);
20
+ & > figcaption {
21
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
23
22
  }
24
23
 
25
- & > thead > tr > th {
26
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
- border-color: var(--ck-color-suggestion-marker-insertion-border);
28
- }
24
+ & > table {
25
+ & > tbody > tr > th {
26
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
28
+ }
29
29
 
30
- & > tbody > tr > td {
31
- background-color: var(--ck-color-suggestion-widget-insertion-background);
32
- border-color: var(--ck-color-suggestion-marker-insertion-border);
30
+ & > thead > tr > th {
31
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
32
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
33
+ }
34
+
35
+ & > tbody > tr > td {
36
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
37
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
38
+ }
33
39
  }
34
40
  }
35
41
 
36
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table {
42
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table {
37
43
  border-color: var(--ck-color-suggestion-marker-insertion-border-active);
38
44
 
39
- & > tbody > tr > th {
40
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
41
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
45
+ & > figcaption {
46
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
42
47
  }
43
48
 
44
- & > thead > tr > th {
45
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
46
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
47
- }
49
+ & > table {
50
+ & > tbody > tr > th {
51
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
52
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
53
+ }
48
54
 
49
- & > tbody > tr > td {
50
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
51
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
55
+ & > thead > tr > th {
56
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
57
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
58
+ }
59
+
60
+ & > tbody > tr > td {
61
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
62
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
63
+ }
52
64
  }
53
65
  }
54
66
 
55
- .ck-content .ck-suggestion-marker-deletion.table > table {
67
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table {
56
68
  border-color: var(--ck-color-suggestion-marker-deletion-border);
57
69
 
58
- & > tbody > tr > th {
59
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
60
- border-color: var(--ck-color-suggestion-marker-deletion-border);
61
- text-decoration: none;
70
+ & > figcaption {
71
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
62
72
  }
63
73
 
64
- & > thead > tr > th {
65
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
66
- border-color: var(--ck-color-suggestion-marker-deletion-border);
67
- text-decoration: none;
68
- }
74
+ & > table {
75
+ & > tbody > tr > th {
76
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
77
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
78
+ text-decoration: none;
79
+ }
69
80
 
70
- & > tbody > tr > td {
71
- background-color: var(--ck-color-suggestion-widget-deletion-background);
72
- border-color: var(--ck-color-suggestion-marker-deletion-border);
73
- text-decoration: none;
74
- }
81
+ & > thead > tr > th {
82
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
83
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
84
+ text-decoration: none;
85
+ }
86
+
87
+ & > tbody > tr > td {
88
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
89
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
90
+ text-decoration: none;
91
+ }
92
+ }
75
93
  }
76
94
 
77
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table {
95
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
78
96
  border-color: var(--ck-color-suggestion-marker-deletion-border-active);
79
97
 
80
- & > tbody > tr > th {
81
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
82
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
98
+ & > figcaption {
99
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
83
100
  }
84
101
 
85
- & > thead > tr > th {
86
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
87
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
102
+ & > table {
103
+ & > tbody > tr > th {
104
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
105
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
106
+ }
107
+
108
+ & > thead > tr > th {
109
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
110
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
111
+ }
112
+
113
+ & > tbody > tr > td {
114
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
115
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
116
+ }
88
117
  }
118
+ }
89
119
 
90
- & > tbody > tr > td {
91
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
92
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
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
+ }
93
137
  }
94
138
  }
95
139
 
package/theme/users.css CHANGED
@@ -21,7 +21,6 @@
21
21
  align-items: center;
22
22
  position: relative;
23
23
  border-radius: 50%;
24
- overflow: hidden;
25
24
  background-color: var(--ck-user-avatar-background);
26
25
  height: var(--ck-user-avatar-size);
27
26
  width: var(--ck-user-avatar-size);
@@ -71,3 +70,32 @@
71
70
  display: none;
72
71
  }
73
72
  }
73
+
74
+ .ck.ck-user__notification {
75
+ display: flex;
76
+ width: 15px;
77
+ height: 15px;
78
+ justify-content: center;
79
+ align-items: center;
80
+ background: white;
81
+ border: 2px solid white;
82
+ border-radius: 50%;
83
+ box-sizing: content-box;
84
+
85
+ position: absolute;
86
+ top: -8px;
87
+ right: -7px;
88
+ overflow: hidden;
89
+ transform: translateZ(0);
90
+
91
+ & .ck-user__icon {
92
+ color: var(--ck-color-annotation-info);
93
+ background: white;
94
+ width: 19px;
95
+ height: 19px;
96
+ max-width: 19px;
97
+ max-height: 19px;
98
+ min-width: 19px;
99
+ min-height: 19px;
100
+ }
101
+ }