@ckeditor/ckeditor5-collaboration-core
Advanced tools
Comparing version 39.0.0 to 39.0.1
{ | ||
"name": "@ckeditor/ckeditor5-collaboration-core", | ||
"version": "39.0.0", | ||
"version": "39.0.1", | ||
"description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.", | ||
@@ -34,3 +34,3 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"dependencies": { | ||
"ckeditor5": "39.0.0", | ||
"ckeditor5": "39.0.1", | ||
"date-fns": "2.30.0" | ||
@@ -37,0 +37,0 @@ }, |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x408f=['setPermissions','editors','Permissions','collaboration.channelId','comment:admin','find','comment:modify_all','commands','CommentsRepository','has','forceDisabled','plugins','context','noPermissions','no-permissions','includes','pluginName','config','CommentsOnly','get','permissions-set-permissions-invalid-channel-id','clearForceDisabled'];(function(_0x460b8d,_0x408fac){const _0x5106de=function(_0x25afa9){while(--_0x25afa9){_0x460b8d['push'](_0x460b8d['shift']());}};_0x5106de(++_0x408fac);}(_0x408f,0x18a));const _0x5106=function(_0x460b8d,_0x408fac){_0x460b8d=_0x460b8d-0x0;let _0x5106de=_0x408f[_0x460b8d];return _0x5106de;};import{ContextPlugin as _0x95b39a,Editor as _0x12cc52}from'ckeditor5/src/core';import{CKEditorError as _0x5230b7}from'ckeditor5/src/utils';export default class n extends _0x95b39a{static get[_0x5106('0x12')](){return _0x5106('0x4');}[_0x5106('0x2')](_0x5e87a1,_0x2eac34){let _0x12401d;if(_0x2eac34||(_0x2eac34=this[_0x5106('0xe')][_0x5106('0x13')][_0x5106('0x15')]('collaboration.channelId')),this[_0x5106('0xe')][_0x5106('0x13')][_0x5106('0x15')]('collaboration.channelId')==_0x2eac34?_0x12401d=this[_0x5106('0xe')]:_0x5106('0x3')in this[_0x5106('0xe')]&&this[_0x5106('0xe')][_0x5106('0x3')]&&(_0x12401d=this['context'][_0x5106('0x3')][_0x5106('0x7')](_0x5de7e8=>_0x5de7e8[_0x5106('0x13')][_0x5106('0x15')](_0x5106('0x5'))==_0x2eac34)),!_0x12401d)throw new _0x5230b7(_0x5106('0x0'),null);const _0x42eb88=_0x12401d[_0x5106('0xd')],_0x598c59=_0x42eb88[_0x5106('0xb')](_0x5106('0xa'))?_0x42eb88[_0x5106('0x15')]('CommentsRepository'):void 0x0,_0x197bbe=_0x42eb88[_0x5106('0xb')]('CommentsOnly')&&_0x42eb88[_0x5106('0x15')](_0x5106('0x14')),_0x3a5f90=_0x5e87a1[_0x5106('0x11')]('document:write'),_0x54687f=_0x5e87a1[_0x5106('0x11')](_0x5106('0x8')),_0x231983=_0x5e87a1[_0x5106('0x11')](_0x5106('0x6')),_0x131b78=_0x5e87a1[_0x5106('0x11')]('comment:write'),_0x28711a=_0x131b78||_0x231983,_0x55791d=_0x28711a||_0x54687f,_0x3359e8=_0x3a5f90||_0x28711a;(_0x197bbe&&(_0x197bbe['isEnabled']=!_0x3a5f90&&_0x55791d),_0x12401d instanceof _0x12cc52)&&(!(_0x3a5f90||_0x55791d&&_0x598c59)?_0x12401d['enableReadOnlyMode'](_0x5106('0x10')):_0x12401d['disableReadOnlyMode'](_0x5106('0x10')));if(_0x598c59){_0x598c59[_0x5106('0x2')]({'admin':_0x231983,'modifyAll':_0x54687f,'write':_0x131b78,'resolve':_0x3359e8},_0x2eac34);const _0x51a292=_0x12401d instanceof _0x12cc52&&_0x12401d[_0x5106('0x9')][_0x5106('0x15')]('addCommentThread');_0x51a292&&(_0x28711a?_0x51a292[_0x5106('0x1')](_0x5106('0xf')):_0x51a292[_0x5106('0xc')](_0x5106('0xf')));}}} | ||
const _0xac1c=['plugins','collaboration.channelId','isEnabled','find','noPermissions','commands','permissions-set-permissions-invalid-channel-id','pluginName','CommentsRepository','disableReadOnlyMode','comment:modify_all','Permissions','no-permissions','context','get','setPermissions','forceDisabled','includes','clearForceDisabled','comment:write','enableReadOnlyMode','editors','config','CommentsOnly'];(function(_0x27fef9,_0xac1cf9){const _0x1ba86e=function(_0x340c6c){while(--_0x340c6c){_0x27fef9['push'](_0x27fef9['shift']());}};_0x1ba86e(++_0xac1cf9);}(_0xac1c,0x10c));const _0x1ba8=function(_0x27fef9,_0xac1cf9){_0x27fef9=_0x27fef9-0x0;let _0x1ba86e=_0xac1c[_0x27fef9];return _0x1ba86e;};import{ContextPlugin as _0x342656,Editor as _0x22f10f}from'ckeditor5/src/core';import{CKEditorError as _0x2aa86d}from'ckeditor5/src/utils';export default class n extends _0x342656{static get[_0x1ba8('0x3')](){return _0x1ba8('0x7');}['setPermissions'](_0x57f15c,_0x50262a){let _0x2f3068;if(_0x50262a||(_0x50262a=this[_0x1ba8('0x9')][_0x1ba8('0x12')][_0x1ba8('0xa')]('collaboration.channelId')),this['context'][_0x1ba8('0x12')][_0x1ba8('0xa')]('collaboration.channelId')==_0x50262a?_0x2f3068=this['context']:_0x1ba8('0x11')in this[_0x1ba8('0x9')]&&this[_0x1ba8('0x9')][_0x1ba8('0x11')]&&(_0x2f3068=this[_0x1ba8('0x9')][_0x1ba8('0x11')][_0x1ba8('0x17')](_0x461857=>_0x461857[_0x1ba8('0x12')][_0x1ba8('0xa')](_0x1ba8('0x15'))==_0x50262a)),!_0x2f3068)throw new _0x2aa86d(_0x1ba8('0x2'),null);const _0x4a8b4a=_0x2f3068[_0x1ba8('0x14')],_0x81c06e=_0x4a8b4a['has'](_0x1ba8('0x4'))?_0x4a8b4a[_0x1ba8('0xa')](_0x1ba8('0x4')):void 0x0,_0x183a8c=_0x4a8b4a['has'](_0x1ba8('0x13'))&&_0x4a8b4a[_0x1ba8('0xa')]('CommentsOnly'),_0x456852=_0x57f15c['includes']('document:write'),_0x37da27=_0x57f15c['includes'](_0x1ba8('0x6')),_0x1459ac=_0x57f15c[_0x1ba8('0xd')]('comment:admin'),_0x250fc0=_0x57f15c['includes'](_0x1ba8('0xf')),_0x3e7a9f=_0x250fc0||_0x1459ac,_0x5e178b=_0x3e7a9f||_0x37da27,_0x2f2bc4=_0x456852||_0x3e7a9f;(_0x183a8c&&(_0x183a8c[_0x1ba8('0x16')]=!_0x456852&&_0x5e178b),_0x2f3068 instanceof _0x22f10f)&&(!(_0x456852||_0x5e178b&&_0x81c06e)?_0x2f3068[_0x1ba8('0x10')](_0x1ba8('0x8')):_0x2f3068[_0x1ba8('0x5')]('no-permissions'));if(_0x81c06e){_0x81c06e[_0x1ba8('0xb')]({'admin':_0x1459ac,'modifyAll':_0x37da27,'write':_0x250fc0,'resolve':_0x2f2bc4},_0x50262a);const _0x54001a=_0x2f3068 instanceof _0x22f10f&&_0x2f3068[_0x1ba8('0x1')][_0x1ba8('0xa')]('addCommentThread');_0x54001a&&(_0x3e7a9f?_0x54001a[_0x1ba8('0xe')](_0x1ba8('0x0')):_0x54001a[_0x1ba8('0xc')](_0x1ba8('0x0')));}}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x2104=['avatar','trial-license-key-reached-limit-revisions','licenseKey','Users','users.anonymousUserId','isAnonymous','get','length','Anonymous','requires','trial-license-key-reached-limit-time','_locale','define','includes','pluginName','_addAnonymousUser','name','getOperationAuthor','licenseKeyTrialLimit:operations','locale','ck-user__marker--','ck-user__bg-color--','defineMe','color','_isAnonymous','licenseKeyTrialLimit:revisions','decorate','trim','destroy','licenseKeyTrial','useAnonymousUser','_licenseKeyCheckInterval','licenseKeyValid','add','getBackgroundColorClass','config','licenseKeyTrialLimit:time','charAt','users-add-duplicated-id','_getInitial','_getNextColor','invalid-license-key','getUser','_myId','users','info','string','users-add-invalid-id','split','_id','getSelectionClass','users.colorsCount','_lastColor','context','addUser','trial-license-key-reached-limit-changes'];(function(_0x751277,_0x210459){const _0xf78630=function(_0x82ba1d){while(--_0x82ba1d){_0x751277['push'](_0x751277['shift']());}};_0xf78630(++_0x210459);}(_0x2104,0x82));const _0xf786=function(_0x751277,_0x210459){_0x751277=_0x751277-0x0;let _0xf78630=_0x2104[_0x751277];return _0xf78630;};import{ContextPlugin as _0x2c77e9}from'ckeditor5/src/core';import{Collection as _0x447847,CKEditorError as _0x587aad}from'ckeditor5/src/utils';import _0xb094c3 from'./permissions';import{getTranslation as _0x442064}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x2c77e9{static get[_0xf786('0x34')](){return _0xf786('0x29');}static get[_0xf786('0x2f')](){return[_0xb094c3];}constructor(_0x4402df){super(_0x4402df),this[_0xf786('0x23')][_0xf786('0x11')]['define'](_0xf786('0x2a'),'anonymous-user'),this[_0xf786('0x23')][_0xf786('0x11')][_0xf786('0x32')]('users.colorsCount',0x8),this[_0xf786('0x1a')]=new _0x447847(),this[_0xf786('0x31')]=_0x4402df[_0xf786('0x1')],this[_0xf786('0xd')]=null,this[_0xf786('0x22')]=0x0,this[_0xf786('0x19')]=null,this[_0xf786('0x8')]('getOperationAuthor');}['init'](){const _0x1371dd=this['context'];this[_0xf786('0x28')]=_0x1371dd[_0xf786('0x11')]['get'](_0xf786('0x28'));const _0x3dbcce=[_0xf786('0xb'),'licenseKeyInvalid','licenseKeyValid',_0xf786('0x0'),_0xf786('0x12'),_0xf786('0x7')];this[_0xf786('0xd')]=setInterval(()=>{let _0x298324;for(const _0x1242e3 in _0x1371dd){const _0x43d8c2=_0x1371dd[_0x1242e3];if(_0x3dbcce[_0xf786('0x33')](_0x43d8c2)){delete _0x1371dd[_0x1242e3],_0x298324=_0x43d8c2;break;}}if('licenseKeyInvalid'===_0x298324)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x587aad(_0xf786('0x17'),null);if(_0xf786('0xb')===_0x298324&&console[_0xf786('0x1b')]('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.'),_0xf786('0x0')===_0x298324)throw clearInterval(this[_0xf786('0xd')]),new _0x587aad(_0xf786('0x25'),null);if(_0xf786('0x12')===_0x298324)throw clearInterval(this[_0xf786('0xd')]),new _0x587aad(_0xf786('0x30'),null);if('licenseKeyTrialLimit:revisions'===_0x298324)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x587aad(_0xf786('0x27'),null);_0xf786('0xe')===_0x298324&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0xf786('0x35')]();}get['me'](){return null==this[_0xf786('0x19')]?null:this[_0xf786('0x18')](this[_0xf786('0x19')]);}['addUser']({id:_0x23e17e,name:_0x8060f8,..._0x3a37f1}){if(!_0x23e17e||_0xf786('0x1c')!=typeof _0x23e17e)throw new _0x587aad(_0xf786('0x1d'));if(this[_0xf786('0x1a')]['has'](_0x23e17e))throw new _0x587aad(_0xf786('0x14'),null,{'id':_0x23e17e});const _0x1bff04={..._0x3a37f1,'id':_0x23e17e,'name':a(this[_0xf786('0x31')],_0x8060f8),'color':this[_0xf786('0x16')]()};_0x1bff04[_0xf786('0x36')]=a(this['_locale'],_0x1bff04['name']);const _0x3eeafe=new User(_0x1bff04);return this[_0xf786('0x1a')][_0xf786('0xf')](_0x3eeafe),_0x3eeafe;}[_0xf786('0x18')](_0x31d33b){return this[_0xf786('0x1a')][_0xf786('0x2c')](_0x31d33b);}[_0xf786('0xc')](){const _0x18ae9f=this[_0xf786('0x23')][_0xf786('0x11')][_0xf786('0x2c')](_0xf786('0x2a'));this[_0xf786('0x19')]||this[_0xf786('0x4')](_0x18ae9f);}[_0xf786('0x4')](_0x5262ba){if(this['_myId'])throw new _0x587aad('users-me-already-defined',null);if(!this['getUser'](_0x5262ba))throw new _0x587aad('users-me-missing-user',null);this[_0xf786('0x19')]=_0x5262ba;}[_0xf786('0x37')](){return this['me'];}[_0xf786('0xa')](){super[_0xf786('0xa')](),clearInterval(this[_0xf786('0xd')]);}[_0xf786('0x16')](){const _0x6d0c1e=this[_0xf786('0x23')][_0xf786('0x11')][_0xf786('0x2c')](_0xf786('0x21'));return this[_0xf786('0x22')]>=_0x6d0c1e&&(this[_0xf786('0x22')]=0x0),new u(this[_0xf786('0x22')]++);}['_addAnonymousUser'](){const _0x40c358=this[_0xf786('0x23')][_0xf786('0x11')][_0xf786('0x2c')](_0xf786('0x2a'));this[_0xf786('0x24')]({'id':_0x40c358,'name':_0x442064(this[_0xf786('0x31')],_0xf786('0x2e'))})[_0xf786('0x6')]=!0x0;}}export class User{constructor(_0x5c6efc){this['id']=_0x5c6efc['id'],this[_0xf786('0x5')]=_0x5c6efc['color'],this[_0xf786('0x36')]=_0x5c6efc[_0xf786('0x36')],this[_0xf786('0x26')]=_0x5c6efc['avatar'],this[_0xf786('0x6')]=!0x1;}get[_0xf786('0x2b')](){return this[_0xf786('0x6')];}get['initials'](){const _0x10b0db=this['name'][_0xf786('0x1e')]('\x20');return 0x1===_0x10b0db[_0xf786('0x2d')]?this[_0xf786('0x15')](_0x10b0db[0x0]):this['_getInitial'](_0x10b0db[0x0])+this['_getInitial'](_0x10b0db[_0x10b0db['length']-0x1]);}['_getInitial'](_0x401b75){return _0x401b75[_0xf786('0x13')](0x0)['toUpperCase']();}}function a(_0x5c4167,_0x529001=''){return''==(_0x529001=_0x529001[_0xf786('0x9')]())?_0x442064(_0x5c4167,_0xf786('0x2e')):_0x529001;}class u{constructor(_0x7c8565){this[_0xf786('0x1f')]=_0x7c8565;}[_0xf786('0x10')](){return _0xf786('0x3')+this[_0xf786('0x1f')];}[_0xf786('0x20')](){return'ck-user__selection--'+this[_0xf786('0x1f')];}['getMarkerClass'](){return _0xf786('0x2')+this[_0xf786('0x1f')];}} | ||
const _0x2425=['avatar','users-add-invalid-id','locale','_addAnonymousUser','context','_getInitial','destroy','trial-license-key-reached-limit-time','users-me-already-defined','getBackgroundColorClass','pluginName','initials','licenseKeyTrialLimit:time','licenseKeyTrialLimit:operations','Anonymous','getMarkerClass','init','users.colorsCount','_locale','length','ck-user__selection--','get','_isAnonymous','ck-user__marker--','_id','users-me-missing-user','includes','getUser','trial-license-key-reached-limit-changes','requires','_lastColor','getSelectionClass','decorate','users','getOperationAuthor','users-add-duplicated-id','licenseKey','anonymous-user','color','licenseKeyInvalid','licenseKeyValid','useAnonymousUser','string','config','toUpperCase','addUser','_licenseKeyCheckInterval','_getNextColor','licenseKeyTrialLimit:revisions','licenseKeyTrial','define','defineMe','info','name','_myId','users.anonymousUserId','invalid-license-key'];(function(_0x3ac4c9,_0x2425a0){const _0x29e3cf=function(_0x248c71){while(--_0x248c71){_0x3ac4c9['push'](_0x3ac4c9['shift']());}};_0x29e3cf(++_0x2425a0);}(_0x2425,0x15b));const _0x29e3=function(_0x3ac4c9,_0x2425a0){_0x3ac4c9=_0x3ac4c9-0x0;let _0x29e3cf=_0x2425[_0x3ac4c9];return _0x29e3cf;};import{ContextPlugin as _0x32f3a8}from'ckeditor5/src/core';import{Collection as _0x53eff0,CKEditorError as _0x29f1d9}from'ckeditor5/src/utils';import _0x2e45f8 from'./permissions';import{getTranslation as _0x2d9ece}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x32f3a8{static get[_0x29e3('0x5')](){return'Users';}static get[_0x29e3('0x18')](){return[_0x2e45f8];}constructor(_0x8048c){super(_0x8048c),this[_0x29e3('0x38')]['config'][_0x29e3('0x2d')]('users.anonymousUserId',_0x29e3('0x20')),this[_0x29e3('0x38')][_0x29e3('0x26')][_0x29e3('0x2d')](_0x29e3('0xc'),0x8),this['users']=new _0x53eff0(),this[_0x29e3('0xd')]=_0x8048c[_0x29e3('0x36')],this['_licenseKeyCheckInterval']=null,this[_0x29e3('0x19')]=0x0,this[_0x29e3('0x31')]=null,this[_0x29e3('0x1b')]('getOperationAuthor');}[_0x29e3('0xb')](){const _0xb510fe=this[_0x29e3('0x38')];this['licenseKey']=_0xb510fe[_0x29e3('0x26')][_0x29e3('0x10')](_0x29e3('0x1f'));const _0xc32d73=[_0x29e3('0x2c'),'licenseKeyInvalid',_0x29e3('0x23'),'licenseKeyTrialLimit:operations',_0x29e3('0x7'),_0x29e3('0x2b')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4567ee;for(const _0xe91fdc in _0xb510fe){const _0x13a194=_0xb510fe[_0xe91fdc];if(_0xc32d73[_0x29e3('0x15')](_0x13a194)){delete _0xb510fe[_0xe91fdc],_0x4567ee=_0x13a194;break;}}if(_0x29e3('0x22')===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9(_0x29e3('0x33'),null);if(_0x29e3('0x2c')===_0x4567ee&&console[_0x29e3('0x2f')]('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.'),_0x29e3('0x8')===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9(_0x29e3('0x17'),null);if(_0x29e3('0x7')===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9(_0x29e3('0x2'),null);if('licenseKeyTrialLimit:revisions'===_0x4567ee)throw clearInterval(this[_0x29e3('0x29')]),new _0x29f1d9('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x4567ee&&clearInterval(this[_0x29e3('0x29')]);},0x3e8),this[_0x29e3('0x37')]();}get['me'](){return null==this[_0x29e3('0x31')]?null:this[_0x29e3('0x16')](this[_0x29e3('0x31')]);}['addUser']({id:_0x1cc5a9,name:_0xa3a947,..._0x64606f}){if(!_0x1cc5a9||_0x29e3('0x25')!=typeof _0x1cc5a9)throw new _0x29f1d9(_0x29e3('0x35'));if(this[_0x29e3('0x1c')]['has'](_0x1cc5a9))throw new _0x29f1d9(_0x29e3('0x1e'),null,{'id':_0x1cc5a9});const _0x2f1c19={..._0x64606f,'id':_0x1cc5a9,'name':a(this['_locale'],_0xa3a947),'color':this[_0x29e3('0x2a')]()};_0x2f1c19['name']=a(this[_0x29e3('0xd')],_0x2f1c19['name']);const _0x5826f6=new User(_0x2f1c19);return this[_0x29e3('0x1c')]['add'](_0x5826f6),_0x5826f6;}[_0x29e3('0x16')](_0x19502e){return this['users']['get'](_0x19502e);}[_0x29e3('0x24')](){const _0x147f3b=this['context'][_0x29e3('0x26')][_0x29e3('0x10')](_0x29e3('0x32'));this[_0x29e3('0x31')]||this[_0x29e3('0x2e')](_0x147f3b);}[_0x29e3('0x2e')](_0x506cee){if(this['_myId'])throw new _0x29f1d9(_0x29e3('0x3'),null);if(!this[_0x29e3('0x16')](_0x506cee))throw new _0x29f1d9(_0x29e3('0x14'),null);this[_0x29e3('0x31')]=_0x506cee;}[_0x29e3('0x1d')](){return this['me'];}['destroy'](){super[_0x29e3('0x1')](),clearInterval(this[_0x29e3('0x29')]);}[_0x29e3('0x2a')](){const _0x3ebc48=this[_0x29e3('0x38')][_0x29e3('0x26')][_0x29e3('0x10')](_0x29e3('0xc'));return this['_lastColor']>=_0x3ebc48&&(this[_0x29e3('0x19')]=0x0),new u(this[_0x29e3('0x19')]++);}[_0x29e3('0x37')](){const _0x21ce4e=this[_0x29e3('0x38')][_0x29e3('0x26')][_0x29e3('0x10')]('users.anonymousUserId');this[_0x29e3('0x28')]({'id':_0x21ce4e,'name':_0x2d9ece(this[_0x29e3('0xd')],_0x29e3('0x9'))})[_0x29e3('0x11')]=!0x0;}}export class User{constructor(_0x44eddb){this['id']=_0x44eddb['id'],this[_0x29e3('0x21')]=_0x44eddb[_0x29e3('0x21')],this[_0x29e3('0x30')]=_0x44eddb[_0x29e3('0x30')],this[_0x29e3('0x34')]=_0x44eddb['avatar'],this[_0x29e3('0x11')]=!0x1;}get['isAnonymous'](){return this[_0x29e3('0x11')];}get[_0x29e3('0x6')](){const _0x5c5fad=this['name']['split']('\x20');return 0x1===_0x5c5fad[_0x29e3('0xe')]?this[_0x29e3('0x0')](_0x5c5fad[0x0]):this[_0x29e3('0x0')](_0x5c5fad[0x0])+this[_0x29e3('0x0')](_0x5c5fad[_0x5c5fad[_0x29e3('0xe')]-0x1]);}[_0x29e3('0x0')](_0x27dbdc){return _0x27dbdc['charAt'](0x0)[_0x29e3('0x27')]();}}function a(_0x18e201,_0x4d9121=''){return''==(_0x4d9121=_0x4d9121['trim']())?_0x2d9ece(_0x18e201,_0x29e3('0x9')):_0x4d9121;}class u{constructor(_0x2df19a){this['_id']=_0x2df19a;}[_0x29e3('0x4')](){return'ck-user__bg-color--'+this[_0x29e3('0x13')];}[_0x29e3('0x1a')](){return _0x29e3('0xf')+this[_0x29e3('0x13')];}[_0x29e3('0xa')](){return _0x29e3('0x12')+this['_id'];}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x5d29=['isAnonymous','name','div','url(\x27','ck-user__img','ck\x20ck-user__name','avatar','ck-user','setTemplate','notificationView','extendTemplate','push','ck-user__anonymous','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__notification'];(function(_0x16321e,_0x5d299d){const _0xf610b8=function(_0x3d63ac){while(--_0x3d63ac){_0x16321e['push'](_0x16321e['shift']());}};_0xf610b8(++_0x5d299d);}(_0x5d29,0xc1));const _0xf610=function(_0x16321e,_0x5d299d){_0x16321e=_0x16321e-0x0;let _0xf610b8=_0x5d29[_0x16321e];return _0xf610b8;};import{View as _0x91e063,IconView as _0x6487a6}from'ckeditor5/src/ui';import _0x231592 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x91e063{constructor(_0x44464a,_0x1f31d0,_0x88caaa){super(_0x44464a),this[_0xf610('0x3')]=_0x1f31d0[_0xf610('0x3')],this[_0xf610('0xb')]=null;const _0x1593c7=['ck',_0xf610('0x6')];if(_0x1f31d0[_0xf610('0x2')]&&_0x1593c7[_0xf610('0xd')](_0xf610('0xe')),_0x1f31d0[_0xf610('0x8')]&&_0x1593c7[_0xf610('0xd')]('ck-user__avatar'),_0x88caaa){const _0x23b927=new _0x6487a6();_0x23b927[_0xf610('0xc')]({'attributes':{'class':['ck-user__icon']}}),_0x23b927['content']=_0x231592,this[_0xf610('0xb')]={'tag':_0xf610('0x4'),'attributes':{'class':['ck',_0xf610('0x1')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x88caaa},'children':[_0x23b927]};}const _0x56e764=[{'tag':'div','attributes':{'class':_0x1593c7,'style':{'background-image':_0x1f31d0[_0xf610('0x8')]?_0xf610('0x5')+_0x1f31d0[_0xf610('0x8')]+'\x27)':''}}},{'tag':_0xf610('0x4'),'attributes':{'class':_0x1f31d0['avatar']?_0xf610('0x0'):_0xf610('0x7')},'children':[{'text':_0x1f31d0['initials']}]}];this[_0xf610('0xb')]&&_0x56e764[_0xf610('0xd')](this[_0xf610('0xb')]),this[_0xf610('0xa')]({'tag':'div','attributes':{'class':['ck',_0xf610('0x9')],'data-user-id':_0x1f31d0['id']},'children':_0x56e764});}} | ||
const _0x6e9b=['initials','ck-user__anonymous','ck\x20ck-user__name','ck-user__img','push','setTemplate','notificationView','ck-user','div','isAnonymous','extendTemplate','url(\x27','ck-user__notification','avatar','name','ck\x20ck-user__name\x20ck-user__name--hidden'];(function(_0x3f65b4,_0x6e9b6a){const _0x5893a8=function(_0x3b115d){while(--_0x3b115d){_0x3f65b4['push'](_0x3f65b4['shift']());}};_0x5893a8(++_0x6e9b6a);}(_0x6e9b,0x16e));const _0x5893=function(_0x3f65b4,_0x6e9b6a){_0x3f65b4=_0x3f65b4-0x0;let _0x5893a8=_0x6e9b[_0x3f65b4];return _0x5893a8;};import{View as _0x34ed80,IconView as _0xa80182}from'ckeditor5/src/ui';import _0x33880d from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x34ed80{constructor(_0x155de8,_0x548b7d,_0x4e7a57){super(_0x155de8),this[_0x5893('0x0')]=_0x548b7d[_0x5893('0x0')],this[_0x5893('0x8')]=null;const _0x5e11ae=['ck',_0x5893('0x5')];if(_0x548b7d[_0x5893('0xb')]&&_0x5e11ae[_0x5893('0x6')](_0x5893('0x3')),_0x548b7d[_0x5893('0xf')]&&_0x5e11ae[_0x5893('0x6')]('ck-user__avatar'),_0x4e7a57){const _0x5ae556=new _0xa80182();_0x5ae556[_0x5893('0xc')]({'attributes':{'class':['ck-user__icon']}}),_0x5ae556['content']=_0x33880d,this[_0x5893('0x8')]={'tag':_0x5893('0xa'),'attributes':{'class':['ck',_0x5893('0xe')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4e7a57},'children':[_0x5ae556]};}const _0x311cc5=[{'tag':'div','attributes':{'class':_0x5e11ae,'style':{'background-image':_0x548b7d['avatar']?_0x5893('0xd')+_0x548b7d[_0x5893('0xf')]+'\x27)':''}}},{'tag':_0x5893('0xa'),'attributes':{'class':_0x548b7d['avatar']?_0x5893('0x1'):_0x5893('0x4')},'children':[{'text':_0x548b7d[_0x5893('0x2')]}]}];this[_0x5893('0x8')]&&_0x311cc5[_0x5893('0x6')](this['notificationView']),this[_0x5893('0x7')]({'tag':_0x5893('0xa'),'attributes':{'class':['ck',_0x5893('0x9')],'data-user-id':_0x548b7d['id']},'children':_0x311cc5});}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
export function getTranslation(_0x555bce,_0x4bda92){const t=_0x555bce['t'];switch(_0x4bda92){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'';}} | ||
export function getTranslation(_0x4c1d0d,_0x5cee2d){const t=_0x4c1d0d['t'];switch(_0x5cee2d){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,2 +23,2 @@ /* | ||
*/ | ||
var _0x4928=['cancel','once','fire','confirmView','remove','deregisterChild','isConfirm','registerChild','submit','appendChild','cancelConfirm','showConfirm','locale','_removeConfirm','render','element','set','focus'];(function(_0x3a5be4,_0x492886){var _0x4dd990=function(_0x260e01){while(--_0x260e01){_0x3a5be4['push'](_0x3a5be4['shift']());}};_0x4dd990(++_0x492886);}(_0x4928,0x159));var _0x4dd9=function(_0x3a5be4,_0x492886){_0x3a5be4=_0x3a5be4-0x0;var _0x4dd990=_0x4928[_0x3a5be4];return _0x4dd990;};import _0x1c07b3 from'./confirmview';export default function m(_0x411661){return class extends _0x411661{[_0x4dd9('0x8')](_0x3f3a41,_0x28e09a){return this[_0x4dd9('0x0')]=new _0x1c07b3(this[_0x4dd9('0x9')]),this[_0x4dd9('0x0')][_0x4dd9('0xb')](),this[_0x4dd9('0x0')]['message']=_0x3f3a41,this[_0x4dd9('0x0')][_0x4dd9('0x10')](_0x4dd9('0xf'),()=>{this['_removeConfirm']();}),this[_0x4dd9('0x0')]['once'](_0x4dd9('0x5'),()=>{this[_0x4dd9('0xa')]();}),_0x28e09a[_0x4dd9('0x6')](this[_0x4dd9('0x0')][_0x4dd9('0xc')]),this[_0x4dd9('0x4')](this['confirmView']),this[_0x4dd9('0xc')]['focus'](),this[_0x4dd9('0xd')](_0x4dd9('0x3'),!0x0),new Promise(_0x50dc16=>this[_0x4dd9('0x0')]['on'](_0x4dd9('0x5'),_0x50dc16));}[_0x4dd9('0x7')](){this[_0x4dd9('0x3')]&&this[_0x4dd9('0x0')][_0x4dd9('0x11')](_0x4dd9('0xf'));}['_removeConfirm'](){this[_0x4dd9('0xc')]&&this[_0x4dd9('0x0')]&&this[_0x4dd9('0x0')]['element']&&(this[_0x4dd9('0xc')][_0x4dd9('0xe')](),this['confirmView']['element'][_0x4dd9('0x1')](),this[_0x4dd9('0x2')](this[_0x4dd9('0x0')]),this[_0x4dd9('0x3')]=!0x1,this[_0x4dd9('0x0')]['destroy'](),this[_0x4dd9('0x0')]=void 0x0);}};} | ||
var _0x41ae=['message','element','focus','locale','isConfirm','destroy','submit','once','deregisterChild','remove','cancel','confirmView','cancelConfirm','set','appendChild','fire','showConfirm','_removeConfirm'];(function(_0x35e017,_0x41ae9c){var _0x2de17f=function(_0x567cba){while(--_0x567cba){_0x35e017['push'](_0x35e017['shift']());}};_0x2de17f(++_0x41ae9c);}(_0x41ae,0x146));var _0x2de1=function(_0x35e017,_0x41ae9c){_0x35e017=_0x35e017-0x0;var _0x2de17f=_0x41ae[_0x35e017];return _0x2de17f;};import _0x2103af from'./confirmview';export default function m(_0x20687d){return class extends _0x20687d{[_0x2de1('0xe')](_0xe9c989,_0x1a71fc){return this[_0x2de1('0x9')]=new _0x2103af(this[_0x2de1('0x1')]),this['confirmView']['render'](),this[_0x2de1('0x9')][_0x2de1('0x10')]=_0xe9c989,this[_0x2de1('0x9')][_0x2de1('0x5')]('cancel',()=>{this[_0x2de1('0xf')]();}),this[_0x2de1('0x9')][_0x2de1('0x5')]('submit',()=>{this[_0x2de1('0xf')]();}),_0x1a71fc[_0x2de1('0xc')](this[_0x2de1('0x9')]['element']),this['registerChild'](this[_0x2de1('0x9')]),this[_0x2de1('0x11')][_0x2de1('0x0')](),this[_0x2de1('0xb')](_0x2de1('0x2'),!0x0),new Promise(_0x50d85c=>this[_0x2de1('0x9')]['on'](_0x2de1('0x4'),_0x50d85c));}[_0x2de1('0xa')](){this[_0x2de1('0x2')]&&this[_0x2de1('0x9')][_0x2de1('0xd')](_0x2de1('0x8'));}[_0x2de1('0xf')](){this[_0x2de1('0x11')]&&this[_0x2de1('0x9')]&&this[_0x2de1('0x9')][_0x2de1('0x11')]&&(this[_0x2de1('0x11')][_0x2de1('0x0')](),this['confirmView'][_0x2de1('0x11')][_0x2de1('0x7')](),this[_0x2de1('0x6')](this['confirmView']),this[_0x2de1('0x2')]=!0x1,this[_0x2de1('0x9')][_0x2de1('0x3')](),this['confirmView']=void 0x0);}};} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x154a=['execute','Are\x20you\x20sure?','label','ck-thread__remove-confirm-inner','message','ck-thread__remove-confirm-','icon','div','bindTemplate','submitView','ck-thread__remove-confirm-actions','setTemplate','fire','ck-thread__remove-confirm','submit','_createButtonView','extendTemplate','check','cancel','set'];(function(_0x2cb24d,_0x154a60){const _0x14e287=function(_0x1cbb4a){while(--_0x1cbb4a){_0x2cb24d['push'](_0x2cb24d['shift']());}};_0x14e287(++_0x154a60);}(_0x154a,0x11f));const _0x14e2=function(_0x2cb24d,_0x154a60){_0x2cb24d=_0x2cb24d-0x0;let _0x14e287=_0x154a[_0x2cb24d];return _0x14e287;};import{View as _0x9f8ee,ButtonView as _0x3be0ca}from'ckeditor5/src/ui';import{icons as _0x519b28}from'ckeditor5/src/core';import{getTranslation as _0x67926f}from'./common-translations';export default class h extends _0x9f8ee{constructor(_0x29d536){super(_0x29d536);const _0x2ba6c6=this[_0x14e2('0x1')];this[_0x14e2('0x2')]=this[_0x14e2('0x8')](_0x29d536,_0x67926f(_0x29d536,'Yes'),_0x519b28[_0x14e2('0xa')],_0x14e2('0x7')),this['cancelView']=this[_0x14e2('0x8')](_0x29d536,_0x67926f(_0x29d536,'No'),_0x519b28[_0x14e2('0xb')],'cancel'),this[_0x14e2('0xc')](_0x14e2('0x11'),_0x67926f(_0x29d536,_0x14e2('0xe'))),this[_0x14e2('0x4')]({'tag':_0x14e2('0x0'),'attributes':{'class':[_0x14e2('0x6')]},'children':[{'tag':_0x14e2('0x0'),'attributes':{'class':_0x14e2('0x10')},'children':[{'tag':'p','children':[{'text':_0x2ba6c6['to'](_0x14e2('0x11'))}]},{'tag':'div','attributes':{'class':_0x14e2('0x3')},'children':[this[_0x14e2('0x2')],this['cancelView']]}]}]});}[_0x14e2('0x8')](_0x423a94,_0x17e831,_0x2ebdc6,_0x3fd9e8){const _0x27fd72=new _0x3be0ca(_0x423a94);return _0x27fd72[_0x14e2('0xf')]=_0x17e831,_0x27fd72[_0x14e2('0x13')]=_0x2ebdc6,_0x27fd72[_0x14e2('0x9')]({'attributes':{'class':_0x14e2('0x12')+_0x3fd9e8}}),_0x27fd72['on'](_0x14e2('0xd'),()=>this[_0x14e2('0x5')](_0x3fd9e8)),_0x27fd72;}} | ||
const _0x2db1=['icon','submitView','Are\x20you\x20sure?','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','div','bindTemplate','set','message','setTemplate','execute','_createButtonView','ck-thread__remove-confirm-inner','cancelView','fire','submit','cancel','ck-thread__remove-confirm','extendTemplate','label'];(function(_0x132f4b,_0x2db137){const _0x41a6b8=function(_0x43e425){while(--_0x43e425){_0x132f4b['push'](_0x132f4b['shift']());}};_0x41a6b8(++_0x2db137);}(_0x2db1,0xb4));const _0x41a6=function(_0x132f4b,_0x2db137){_0x132f4b=_0x132f4b-0x0;let _0x41a6b8=_0x2db1[_0x132f4b];return _0x41a6b8;};import{View as _0x2f43c0,ButtonView as _0x22845f}from'ckeditor5/src/ui';import{icons as _0x3c1d0f}from'ckeditor5/src/core';import{getTranslation as _0x36e032}from'./common-translations';export default class h extends _0x2f43c0{constructor(_0x2c36f4){super(_0x2c36f4);const _0x516cb4=this[_0x41a6('0x6')];this[_0x41a6('0x1')]=this[_0x41a6('0xb')](_0x2c36f4,_0x36e032(_0x2c36f4,'Yes'),_0x3c1d0f['check'],_0x41a6('0xf')),this[_0x41a6('0xd')]=this['_createButtonView'](_0x2c36f4,_0x36e032(_0x2c36f4,'No'),_0x3c1d0f[_0x41a6('0x10')],'cancel'),this[_0x41a6('0x7')](_0x41a6('0x8'),_0x36e032(_0x2c36f4,_0x41a6('0x2'))),this[_0x41a6('0x9')]({'tag':_0x41a6('0x5'),'attributes':{'class':[_0x41a6('0x11')]},'children':[{'tag':'div','attributes':{'class':_0x41a6('0xc')},'children':[{'tag':'p','children':[{'text':_0x516cb4['to']('message')}]},{'tag':_0x41a6('0x5'),'attributes':{'class':_0x41a6('0x4')},'children':[this[_0x41a6('0x1')],this[_0x41a6('0xd')]]}]}]});}[_0x41a6('0xb')](_0x5b3f82,_0x2391f6,_0x6bb6f0,_0x1beba3){const _0x15d337=new _0x22845f(_0x5b3f82);return _0x15d337[_0x41a6('0x13')]=_0x2391f6,_0x15d337[_0x41a6('0x0')]=_0x6bb6f0,_0x15d337[_0x41a6('0x12')]({'attributes':{'class':_0x41a6('0x3')+_0x1beba3}}),_0x15d337['on'](_0x41a6('0xa'),()=>this[_0x41a6('0xe')](_0x1beba3)),_0x15d337;}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x3e3b=['\x27Yesterday\x27\x20hh:mma','dateTimeFormat','invalid-date-time-format','\x27Today\x27\x20hh:mma','function','MM-dd-yyyy\x20hh:mma','string','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x2d9f3e,_0x3e3bba){const _0x4eb216=function(_0xf80aac){while(--_0xf80aac){_0x2d9f3e['push'](_0x2d9f3e['shift']());}};_0x4eb216(++_0x3e3bba);}(_0x3e3b,0x123));const _0x4eb2=function(_0x2d9f3e,_0x3e3bba){_0x2d9f3e=_0x2d9f3e-0x0;let _0x4eb216=_0x3e3b[_0x2d9f3e];return _0x4eb216;};import _0x2942d7 from'date-fns/format';import _0x457080 from'date-fns/parseISO';import _0x5e1941 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x31f45b}from'ckeditor5/src/utils';export default function E(_0x3a4a6a={}){if(void 0x0!==_0x3a4a6a[_0x4eb2('0x6')]&&_0x4eb2('0x1')!=typeof _0x3a4a6a[_0x4eb2('0x6')])throw new _0x31f45b(_0x4eb2('0x7'));return _0xbb72ae=>{const _0x5ca530=_0x4eb2('0x3')==typeof _0xbb72ae?_0x457080(_0xbb72ae):_0xbb72ae,_0xb3ef76=new Date(),_0x261e89=_0x5e1941(_0xb3ef76,_0x5ca530);return _0x3a4a6a[_0x4eb2('0x6')]?_0x3a4a6a[_0x4eb2('0x6')](_0x5ca530):_0x2942d7(_0x5ca530,0x0===_0x261e89?_0x4eb2('0x0'):0x1===_0x261e89?_0x4eb2('0x5'):_0x261e89<0x7?_0x4eb2('0x4'):_0x4eb2('0x2'));};} | ||
const _0x6f9b=['function','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','string','dateTimeFormat','\x27Yesterday\x27\x20hh:mma'];(function(_0x52de90,_0x6f9b4){const _0x129610=function(_0x2da718){while(--_0x2da718){_0x52de90['push'](_0x52de90['shift']());}};_0x129610(++_0x6f9b4);}(_0x6f9b,0x1c0));const _0x1296=function(_0x52de90,_0x6f9b4){_0x52de90=_0x52de90-0x0;let _0x129610=_0x6f9b[_0x52de90];return _0x129610;};import _0x1319c2 from'date-fns/format';import _0x5aaa61 from'date-fns/parseISO';import _0x4d87a5 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x16d9cf}from'ckeditor5/src/utils';export default function E(_0x53bf8c={}){if(void 0x0!==_0x53bf8c[_0x1296('0x0')]&&_0x1296('0x2')!=typeof _0x53bf8c[_0x1296('0x0')])throw new _0x16d9cf('invalid-date-time-format');return _0x2eb18b=>{const _0x49f10b=_0x1296('0x5')==typeof _0x2eb18b?_0x5aaa61(_0x2eb18b):_0x2eb18b,_0x6557c8=new Date(),_0x58c12f=_0x4d87a5(_0x6557c8,_0x49f10b);return _0x53bf8c[_0x1296('0x0')]?_0x53bf8c[_0x1296('0x0')](_0x49f10b):_0x1319c2(_0x49f10b,0x0===_0x58c12f?'\x27Today\x27\x20hh:mma':0x1===_0x58c12f?_0x1296('0x1'):_0x58c12f<0x7?_0x1296('0x3'):_0x1296('0x4'));};} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x4b3f=['push','length','view','getClientRects','item','filter','markerNameToElements','sort','map','mapViewToDom','domConverter','domElement','mapper','name','from','values'];(function(_0x3195ee,_0x4b3f12){const _0x14fe94=function(_0x3fee6c){while(--_0x3fee6c){_0x3195ee['push'](_0x3195ee['shift']());}};_0x14fe94(++_0x4b3f12);}(_0x4b3f,0x134));const _0x14fe=function(_0x3195ee,_0x4b3f12){_0x3195ee=_0x3195ee-0x0;let _0x14fe94=_0x4b3f[_0x3195ee];return _0x14fe94;};import{first as _0x152f87}from'ckeditor5/src/utils';export default function k(_0x3fca48,_0x22073f){const _0x18e1c5=_0x3fca48['mapper']['markerNameToElements'](_0x22073f[_0x14fe('0x9')]);if(!_0x18e1c5)return null;const _0x29fc52=_0x152f87(_0x18e1c5[_0x14fe('0xb')]());return _0x3fca48[_0x14fe('0xe')][_0x14fe('0x6')][_0x14fe('0x5')](_0x29fc52)||null;}export function getAllMarkersDomElementsSorted(_0x25010b,_0x24f76d){if(0x0===_0x24f76d['length'])return null;const _0x49da0e=[],_0x183214=_0x25010b[_0x14fe('0xe')]['domConverter'];for(const _0x2b8daf of _0x24f76d){const _0x5ad2af=_0x25010b[_0x14fe('0x8')][_0x14fe('0x2')](_0x2b8daf[_0x14fe('0x9')]);if(!_0x5ad2af)continue;const _0x2f7c81=Array[_0x14fe('0xa')](_0x5ad2af)[_0x14fe('0x4')](_0x1ebf18=>_0x183214['mapViewToDom'](_0x1ebf18))[_0x14fe('0x1')](_0x4badda=>!!_0x4badda);_0x49da0e[_0x14fe('0xc')](..._0x2f7c81);}if(0x0===_0x49da0e[_0x14fe('0xd')])return null;const _0x25f706=[];for(const _0x3ad053 of _0x49da0e){const _0x59040e=_0x3ad053[_0x14fe('0xf')]()[_0x14fe('0x0')](0x0);_0x59040e&&_0x25f706[_0x14fe('0xc')]({'x':_0x59040e['x'],'y':_0x59040e['y'],'domElement':_0x3ad053});}return 0x0===_0x25f706[_0x14fe('0xd')]?null:(_0x25f706[_0x14fe('0x3')]((_0xc3b9b3,_0x166acf)=>_0xc3b9b3['y']-_0x166acf['y']||_0xc3b9b3['x']-_0x166acf['x']),_0x25f706[_0x14fe('0x4')](_0x1ea11d=>_0x1ea11d[_0x14fe('0x7')]));} | ||
const _0x1104=['domConverter','length','name','sort','filter','push','values','domElement','mapper','item','view','map','getClientRects','mapViewToDom'];(function(_0xfcfb3a,_0x11049d){const _0x20a1f2=function(_0x1f1fa7){while(--_0x1f1fa7){_0xfcfb3a['push'](_0xfcfb3a['shift']());}};_0x20a1f2(++_0x11049d);}(_0x1104,0xa6));const _0x20a1=function(_0xfcfb3a,_0x11049d){_0xfcfb3a=_0xfcfb3a-0x0;let _0x20a1f2=_0x1104[_0xfcfb3a];return _0x20a1f2;};import{first as _0x39828e}from'ckeditor5/src/utils';export default function k(_0x1ab420,_0x536057){const _0x14761b=_0x1ab420[_0x20a1('0xa')]['markerNameToElements'](_0x536057[_0x20a1('0x4')]);if(!_0x14761b)return null;const _0x4a6967=_0x39828e(_0x14761b[_0x20a1('0x8')]());return _0x1ab420[_0x20a1('0xc')][_0x20a1('0x2')][_0x20a1('0x1')](_0x4a6967)||null;}export function getAllMarkersDomElementsSorted(_0x5e80af,_0x5ab756){if(0x0===_0x5ab756['length'])return null;const _0x16a46b=[],_0x457d22=_0x5e80af[_0x20a1('0xc')][_0x20a1('0x2')];for(const _0x23864f of _0x5ab756){const _0x4dbea3=_0x5e80af['mapper']['markerNameToElements'](_0x23864f[_0x20a1('0x4')]);if(!_0x4dbea3)continue;const _0x2e1628=Array['from'](_0x4dbea3)[_0x20a1('0xd')](_0x30e355=>_0x457d22[_0x20a1('0x1')](_0x30e355))[_0x20a1('0x6')](_0x5471f8=>!!_0x5471f8);_0x16a46b['push'](..._0x2e1628);}if(0x0===_0x16a46b[_0x20a1('0x3')])return null;const _0x4c6f1f=[];for(const _0x41ecdc of _0x16a46b){const _0x3be2ee=_0x41ecdc[_0x20a1('0x0')]()[_0x20a1('0xb')](0x0);_0x3be2ee&&_0x4c6f1f[_0x20a1('0x7')]({'x':_0x3be2ee['x'],'y':_0x3be2ee['y'],'domElement':_0x41ecdc});}return 0x0===_0x4c6f1f[_0x20a1('0x3')]?null:(_0x4c6f1f[_0x20a1('0x5')]((_0xc0647,_0x5e1cf3)=>_0xc0647['y']-_0x5e1cf3['y']||_0xc0647['x']-_0x5e1cf3['x']),_0x4c6f1f[_0x20a1('0xd')](_0x4c6d6c=>_0x4c6d6c[_0x20a1('0x9')]));} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x1d47=['sign','object','sort','toString','charCodeAt','isArray'];(function(_0x2cf51b,_0x1d4723){const _0x2938e0=function(_0x4e30c6){while(--_0x4e30c6){_0x2cf51b['push'](_0x2cf51b['shift']());}};_0x2938e0(++_0x1d4723);}(_0x1d47,0x121));const _0x2938=function(_0x2cf51b,_0x1d4723){_0x2cf51b=_0x2cf51b-0x0;let _0x2938e0=_0x1d47[_0x2cf51b];return _0x2938e0;};export default function b(_0x25f7e1){let _0x17d039=0x0,_0x581e57=0x0;for(const _0x147050 of g(_0x25f7e1))_0x17d039=(_0x17d039<<0x5)-_0x17d039+_0x147050,_0x17d039&=_0x17d039,[_0x17d039,_0x581e57]=[_0x581e57,_0x17d039];return O(_0x17d039)+O(_0x581e57);}function*j(_0x15760d){_0x15760d?'boolean'==typeof _0x15760d?yield 0x1:Array[_0x2938('0x4')](_0x15760d)?yield*function*(_0x29f0db){for(const _0x5c4561 of _0x29f0db)yield*j(_0x5c4561);}(_0x15760d):_0x2938('0x0')==typeof _0x15760d?yield*g(_0x15760d):'string'==typeof _0x15760d?yield*A(_0x15760d):'number'==typeof _0x15760d&&(yield _0x15760d):yield 0x0;}function*g(_0x56f864){if(yield M('{'),_0x56f864){const _0x24e7b5=Object['keys'](_0x56f864)[_0x2938('0x1')]();for(const _0x291da4 of _0x24e7b5){yield*A(_0x291da4),yield M(':');const _0x3324ca=_0x56f864[_0x291da4];yield*j(_0x3324ca);}}yield M('}');}function*A(_0x32c334){yield M('\x22');for(const _0x12125a of _0x32c334)yield M(_0x12125a);yield M('\x22');}function M(_0x2c6d2d){return _0x2c6d2d[_0x2938('0x3')](0x0);}function O(_0x427661){return(_0x427661*=Math[_0x2938('0x5')](_0x427661))[_0x2938('0x2')](0x24);} | ||
const _0x6f37=['sign','keys','sort','string','isArray','number','object'];(function(_0x3f536d,_0x6f3739){const _0x223a1e=function(_0x3fffe9){while(--_0x3fffe9){_0x3f536d['push'](_0x3f536d['shift']());}};_0x223a1e(++_0x6f3739);}(_0x6f37,0x16e));const _0x223a=function(_0x3f536d,_0x6f3739){_0x3f536d=_0x3f536d-0x0;let _0x223a1e=_0x6f37[_0x3f536d];return _0x223a1e;};export default function b(_0x536cf0){let _0x34befc=0x0,_0x545005=0x0;for(const _0x34ce71 of g(_0x536cf0))_0x34befc=(_0x34befc<<0x5)-_0x34befc+_0x34ce71,_0x34befc&=_0x34befc,[_0x34befc,_0x545005]=[_0x545005,_0x34befc];return O(_0x34befc)+O(_0x545005);}function*j(_0x1b4f28){_0x1b4f28?'boolean'==typeof _0x1b4f28?yield 0x1:Array[_0x223a('0x2')](_0x1b4f28)?yield*function*(_0x1ab0a0){for(const _0x203ccc of _0x1ab0a0)yield*j(_0x203ccc);}(_0x1b4f28):_0x223a('0x4')==typeof _0x1b4f28?yield*g(_0x1b4f28):_0x223a('0x1')==typeof _0x1b4f28?yield*A(_0x1b4f28):_0x223a('0x3')==typeof _0x1b4f28&&(yield _0x1b4f28):yield 0x0;}function*g(_0x1364a1){if(yield M('{'),_0x1364a1){const _0x4e3c06=Object[_0x223a('0x6')](_0x1364a1)[_0x223a('0x0')]();for(const _0x485e2b of _0x4e3c06){yield*A(_0x485e2b),yield M(':');const _0x310d8e=_0x1364a1[_0x485e2b];yield*j(_0x310d8e);}}yield M('}');}function*A(_0x5b3f58){yield M('\x22');for(const _0x24dbfa of _0x5b3f58)yield M(_0x24dbfa);yield M('\x22');}function M(_0x326f3a){return _0x326f3a['charCodeAt'](0x0);}function O(_0x40647a){return(_0x40647a*=Math[_0x223a('0x5')](_0x40647a))['toString'](0x24);} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x35b0=['filter','concat','config','constructor','removePlugins','WebSocketGateway','toolbar','plugins','name','get','includes','RevisionTracker','extraPlugins','_context','Autosave','set','from','WProofreader','initialData','context','requires','pluginName','string','rootsAttributes','DocumentOutline'];(function(_0x36a840,_0x35b0d7){const _0x4f7651=function(_0x28fa69){while(--_0x28fa69){_0x36a840['push'](_0x36a840['shift']());}};_0x4f7651(++_0x35b0d7);}(_0x35b0,0x149));const _0x4f76=function(_0x36a840,_0x35b0d7){_0x36a840=_0x36a840-0x0;let _0x4f7651=_0x35b0[_0x36a840];return _0x4f7651;};const w=[_0x4f76('0xe'),_0x4f76('0xf'),_0x4f76('0x2'),_0x4f76('0x13')],W=[_0x4f76('0x1'),_0x4f76('0x7'),_0x4f76('0xa'),'WordCount',_0x4f76('0x14'),_0x4f76('0xd')];function v(_0x123d45,_0xba37af,_0x28b927,_0x481a7e=[]){const _0x2726a2=_0x4f76('0x12')==typeof _0x123d45?_0x28b927[_0x4f76('0x5')](_0x123d45)[_0x4f76('0x18')]:_0x123d45,_0x3a148d=_0x2726a2['pluginName']||_0x2726a2[_0x4f76('0x4')];if(_0xba37af['has'](_0x3a148d))return _0xba37af['get'](_0x3a148d);if(_0xba37af['set'](_0x3a148d,!0x0),_0x3a148d&&W[_0x4f76('0x16')](_0x481a7e)[_0x4f76('0x6')](_0x3a148d))return _0xba37af[_0x4f76('0xb')](_0x3a148d,!0x1),!0x1;if(!_0x2726a2['requires'])return _0xba37af['set'](_0x3a148d,!0x0),!0x0;const _0x3f10cf=_0x2726a2[_0x4f76('0x10')]['every'](_0xc416c2=>v(_0xc416c2,_0xba37af,_0x28b927,_0x481a7e));return _0xba37af['set'](_0x3a148d,_0x3f10cf),_0x3f10cf;}export default function D(_0x20b353,_0x253ae0){const _0x562920={};for(const _0x3fcbba of _0x20b353['config']['names']())w[_0x4f76('0x6')](_0x3fcbba)||(_0x562920[_0x3fcbba]=_0x20b353[_0x4f76('0x17')][_0x4f76('0x5')](_0x3fcbba));const _0x54fc55=_0x562920[_0x4f76('0x3')]||[],_0xf22991=_0x20b353[_0x4f76('0x18')]['builtinPlugins']||[],_0x366b9c=_0x54fc55['length']?_0x54fc55:_0xf22991,_0x4e5ceb=_0x562920[_0x4f76('0x8')]||[];delete _0x562920[_0x4f76('0x8')];const _0x3ea8a0=_0x562920[_0x4f76('0x0')]||[];delete _0x562920['removePlugins'];const _0x2e95dc=_0x20b353[_0x4f76('0x9')]['config'][_0x4f76('0x5')](_0x4f76('0x3'))||[],_0x21f4a=_0x366b9c[_0x4f76('0x16')](_0x4e5ceb)[_0x4f76('0x16')](_0x2e95dc)['map'](_0x10c1a5=>'string'==typeof _0x10c1a5?_0xf22991['find'](_0x11894f=>_0x11894f[_0x4f76('0x11')]==_0x10c1a5):_0x10c1a5)[_0x4f76('0x15')](_0x4f2e69=>!_0x3ea8a0['includes'](_0x4f2e69)),_0x4641df=Array[_0x4f76('0xc')](new Set(_0x21f4a)),_0xc62498=new Map();return _0x562920[_0x4f76('0x3')]=_0x4641df[_0x4f76('0x15')](_0x45d883=>v(_0x45d883,_0xc62498,_0x20b353[_0x4f76('0x3')],_0x253ae0)),_0x562920;} | ||
const _0x4a2f=['get','initialData','extraPlugins','length','WebSocketGateway','name','rootsAttributes','string','filter','DocumentOutline','toolbar','constructor','_context','requires','map','Autosave','removePlugins','config','WProofreader','WordCount','every','concat','includes','from','pluginName','names','plugins','set'];(function(_0x55e54b,_0x4a2f49){const _0x317169=function(_0x3c6228){while(--_0x3c6228){_0x55e54b['push'](_0x55e54b['shift']());}};_0x317169(++_0x4a2f49);}(_0x4a2f,0x1cd));const _0x3171=function(_0x55e54b,_0x4a2f49){_0x55e54b=_0x55e54b-0x0;let _0x317169=_0x4a2f[_0x55e54b];return _0x317169;};const w=[_0x3171('0x10'),'context',_0x3171('0x19'),_0x3171('0x15')],W=[_0x3171('0x13'),'RevisionTracker',_0x3171('0x2'),_0x3171('0x6'),_0x3171('0x18'),_0x3171('0x5')];function v(_0x31e67a,_0x535a83,_0x32e84d,_0x5921c8=[]){const _0x46f0ea='string'==typeof _0x31e67a?_0x32e84d[_0x3171('0xf')](_0x31e67a)['constructor']:_0x31e67a,_0x3b364b=_0x46f0ea[_0x3171('0xb')]||_0x46f0ea[_0x3171('0x14')];if(_0x535a83['has'](_0x3b364b))return _0x535a83['get'](_0x3b364b);if(_0x535a83['set'](_0x3b364b,!0x0),_0x3b364b&&W[_0x3171('0x8')](_0x5921c8)[_0x3171('0x9')](_0x3b364b))return _0x535a83[_0x3171('0xe')](_0x3b364b,!0x1),!0x1;if(!_0x46f0ea[_0x3171('0x0')])return _0x535a83[_0x3171('0xe')](_0x3b364b,!0x0),!0x0;const _0x142741=_0x46f0ea[_0x3171('0x0')][_0x3171('0x7')](_0x2e462a=>v(_0x2e462a,_0x535a83,_0x32e84d,_0x5921c8));return _0x535a83['set'](_0x3b364b,_0x142741),_0x142741;}export default function D(_0x81ff3f,_0x3b45ef){const _0x1df824={};for(const _0x65da3a of _0x81ff3f[_0x3171('0x4')][_0x3171('0xc')]())w[_0x3171('0x9')](_0x65da3a)||(_0x1df824[_0x65da3a]=_0x81ff3f[_0x3171('0x4')][_0x3171('0xf')](_0x65da3a));const _0x4039af=_0x1df824[_0x3171('0xd')]||[],_0x2cde18=_0x81ff3f[_0x3171('0x1a')]['builtinPlugins']||[],_0x4a746d=_0x4039af[_0x3171('0x12')]?_0x4039af:_0x2cde18,_0x2f1fa0=_0x1df824[_0x3171('0x11')]||[];delete _0x1df824['extraPlugins'];const _0x5c7daa=_0x1df824[_0x3171('0x3')]||[];delete _0x1df824[_0x3171('0x3')];const _0x3f51d2=_0x81ff3f[_0x3171('0x1b')]['config'][_0x3171('0xf')](_0x3171('0xd'))||[],_0x4494fd=_0x4a746d[_0x3171('0x8')](_0x2f1fa0)[_0x3171('0x8')](_0x3f51d2)[_0x3171('0x1')](_0x170473=>_0x3171('0x16')==typeof _0x170473?_0x2cde18['find'](_0x35ec97=>_0x35ec97[_0x3171('0xb')]==_0x170473):_0x170473)[_0x3171('0x17')](_0x4c9797=>!_0x5c7daa['includes'](_0x4c9797)),_0xee56d8=Array[_0x3171('0xa')](new Set(_0x4494fd)),_0x8ba3d4=new Map();return _0x1df824[_0x3171('0xd')]=_0xee56d8[_0x3171('0x17')](_0x381d9d=>v(_0x381d9d,_0x8ba3d4,_0x81ff3f[_0x3171('0xd')],_0x3b45ef)),_0x1df824;} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x4c1f=['...','match','split','pop','indexOf','startsWith','push','replace','slice','length','join'];(function(_0x4167e9,_0x4c1f8b){const _0x48ea17=function(_0x38107d){while(--_0x38107d){_0x4167e9['push'](_0x4167e9['shift']());}};_0x48ea17(++_0x4c1f8b);}(_0x4c1f,0x177));const _0x48ea=function(_0x4167e9,_0x4c1f8b){_0x4167e9=_0x4167e9-0x0;let _0x48ea17=_0x4c1f[_0x4167e9];return _0x48ea17;};export default function z(_0x5d8f60,{limit:_0x5f1bab,suffix:_0x4fecb9=_0x48ea('0xa')}){const _0x315125=[];let _0x3aaca0=0x0;const _0x18374c=_0x5d8f60[_0x48ea('0x6')](/</g,'\x0a<')[_0x48ea('0x6')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x48ea('0x6')](/\n$/g,'')[_0x48ea('0x1')]('\x0a');for(let _0x3e75a1=0x0;_0x3e75a1<_0x18374c[_0x48ea('0x8')];_0x3e75a1++){let _0x8523f9=_0x18374c[_0x3e75a1];const _0x156148=Z(_0x8523f9);if(_0x8523f9[_0x48ea('0x4')]('<')){if(_0x3aaca0>=_0x5f1bab){const _0x3a6b65=_0x8523f9[_0x48ea('0x0')](/[a-zA-Z]+/);if(!_0x3a6b65){_0x18374c[_0x3e75a1]='';continue;}const _0x4b40fb=_0x3a6b65[0x0];_0x8523f9[_0x48ea('0x4')]('</')?(_0x315125[_0x48ea('0x8')]&&(_0x8523f9=''),_0x315125[_0x48ea('0x2')]()):(_0x315125['push'](_0x4b40fb),_0x8523f9='');}}else{if(_0x3aaca0>=_0x5f1bab)_0x8523f9='';else{if(_0x3aaca0+_0x156148[_0x48ea('0x8')]>=_0x5f1bab){let _0x46b388=_0x5f1bab-_0x3aaca0;if('\x20'===_0x156148[_0x46b388-0x1])_0x46b388--;else{const _0x4ba449=_0x156148[_0x48ea('0x7')](_0x46b388)[_0x48ea('0x3')]('\x20');-0x1!==_0x4ba449?_0x46b388+=_0x4ba449:_0x46b388=_0x8523f9['length'];}_0x8523f9=_0x156148[_0x48ea('0x7')](0x0,_0x46b388)[_0x48ea('0x9')]('')+_0x4fecb9,_0x3aaca0=_0x5f1bab;}else _0x3aaca0+=_0x156148['length'];}}_0x18374c[_0x3e75a1]=_0x8523f9;}return _0x18374c['join']('\x0a')[_0x48ea('0x6')](/\n/g,'');}function Z(_0x120ad4){const _0x786545=[];for(let _0x348611=0x0;_0x348611<_0x120ad4[_0x48ea('0x8')];_0x348611++){const _0x766479=_0x120ad4['substring'](_0x348611)[_0x48ea('0x0')](/^&[a-z0-9#]+;/);if(_0x766479){const _0x1f7485=_0x766479[0x0];_0x786545[_0x48ea('0x5')](_0x1f7485),_0x348611+=_0x1f7485[_0x48ea('0x8')]-0x1;}else _0x786545['push'](_0x120ad4[_0x348611]);}return _0x786545;} | ||
const _0xb59b=['join','push','match','split','indexOf','replace','slice','substring','length','pop','...'];(function(_0x1213ab,_0xb59b5c){const _0x23f5b9=function(_0x3261dd){while(--_0x3261dd){_0x1213ab['push'](_0x1213ab['shift']());}};_0x23f5b9(++_0xb59b5c);}(_0xb59b,0xaf));const _0x23f5=function(_0x1213ab,_0xb59b5c){_0x1213ab=_0x1213ab-0x0;let _0x23f5b9=_0xb59b[_0x1213ab];return _0x23f5b9;};export default function z(_0x1cf72f,{limit:_0x23d656,suffix:_0xcfa9c3=_0x23f5('0x0')}){const _0x3d6a66=[];let _0x42e238=0x0;const _0x47d274=_0x1cf72f[_0x23f5('0x6')](/</g,'\x0a<')[_0x23f5('0x6')](/>/g,'>\x0a')[_0x23f5('0x6')](/^\n/g,'')[_0x23f5('0x6')](/\n$/g,'')[_0x23f5('0x4')]('\x0a');for(let _0x157dc7=0x0;_0x157dc7<_0x47d274[_0x23f5('0x9')];_0x157dc7++){let _0x375e2d=_0x47d274[_0x157dc7];const _0x1a7b88=Z(_0x375e2d);if(_0x375e2d['startsWith']('<')){if(_0x42e238>=_0x23d656){const _0x5654d9=_0x375e2d[_0x23f5('0x3')](/[a-zA-Z]+/);if(!_0x5654d9){_0x47d274[_0x157dc7]='';continue;}const _0x4728d1=_0x5654d9[0x0];_0x375e2d['startsWith']('</')?(_0x3d6a66['length']&&(_0x375e2d=''),_0x3d6a66[_0x23f5('0xa')]()):(_0x3d6a66[_0x23f5('0x2')](_0x4728d1),_0x375e2d='');}}else{if(_0x42e238>=_0x23d656)_0x375e2d='';else{if(_0x42e238+_0x1a7b88[_0x23f5('0x9')]>=_0x23d656){let _0x236db6=_0x23d656-_0x42e238;if('\x20'===_0x1a7b88[_0x236db6-0x1])_0x236db6--;else{const _0x3e69c3=_0x1a7b88[_0x23f5('0x7')](_0x236db6)[_0x23f5('0x5')]('\x20');-0x1!==_0x3e69c3?_0x236db6+=_0x3e69c3:_0x236db6=_0x375e2d[_0x23f5('0x9')];}_0x375e2d=_0x1a7b88['slice'](0x0,_0x236db6)[_0x23f5('0x1')]('')+_0xcfa9c3,_0x42e238=_0x23d656;}else _0x42e238+=_0x1a7b88[_0x23f5('0x9')];}}_0x47d274[_0x157dc7]=_0x375e2d;}return _0x47d274[_0x23f5('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x4eab7e){const _0x19263b=[];for(let _0x563621=0x0;_0x563621<_0x4eab7e[_0x23f5('0x9')];_0x563621++){const _0x43207a=_0x4eab7e[_0x23f5('0x8')](_0x563621)[_0x23f5('0x3')](/^&[a-z0-9#]+;/);if(_0x43207a){const _0x5e42ac=_0x43207a[0x0];_0x19263b['push'](_0x5e42ac),_0x563621+=_0x5e42ac[_0x23f5('0x9')]-0x1;}else _0x19263b[_0x23f5('0x2')](_0x4eab7e[_0x563621]);}return _0x19263b;} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156625
+ Added@ckeditor/ckeditor5-clipboard@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-core@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-engine@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-enter@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-paragraph@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-select-all@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-typing@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-ui@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-undo@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-upload@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-utils@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-watchdog@39.0.1(transitive)
+ Added@ckeditor/ckeditor5-widget@39.0.1(transitive)
+ Addedckeditor5@39.0.1(transitive)
- Removed@ckeditor/ckeditor5-clipboard@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-enter@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-paragraph@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-select-all@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-typing@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-undo@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-upload@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-watchdog@39.0.0(transitive)
- Removed@ckeditor/ckeditor5-widget@39.0.0(transitive)
- Removedckeditor5@39.0.0(transitive)
Updatedckeditor5@39.0.1