@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230908.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "0.0.0-nightly-20230907.0",
3
+ "version": "0.0.0-nightly-20230908.0",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "0.0.0-nightly-20230907.0",
34
+ "ckeditor5": "0.0.0-nightly-20230908.0",
35
35
  "date-fns": "2.30.0"
36
36
  },
37
37
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56dc=['has','comment:write','isEnabled','CommentsRepository','addCommentThread','context','CommentsOnly','noPermissions','plugins','pluginName','comment:admin','config','includes','get','clearForceDisabled','comment:modify_all','disableReadOnlyMode','forceDisabled','editors','setPermissions','collaboration.channelId','document:write','find','enableReadOnlyMode','no-permissions'];(function(_0x145565,_0x56dc38){const _0x57c413=function(_0x4ae69d){while(--_0x4ae69d){_0x145565['push'](_0x145565['shift']());}};_0x57c413(++_0x56dc38);}(_0x56dc,0xb9));const _0x57c4=function(_0x145565,_0x56dc38){_0x145565=_0x145565-0x0;let _0x57c413=_0x56dc[_0x145565];return _0x57c413;};import{ContextPlugin as _0x2ab1c5,Editor as _0x3969c2}from'ckeditor5/src/core';import{CKEditorError as _0x1bb48e}from'ckeditor5/src/utils';export default class n extends _0x2ab1c5{static get[_0x57c4('0x18')](){return'Permissions';}[_0x57c4('0x9')](_0x2abc34,_0x48c806){let _0x27c290;if(_0x48c806||(_0x48c806=this[_0x57c4('0x14')][_0x57c4('0x1')][_0x57c4('0x3')](_0x57c4('0xa'))),this[_0x57c4('0x14')][_0x57c4('0x1')][_0x57c4('0x3')](_0x57c4('0xa'))==_0x48c806?_0x27c290=this[_0x57c4('0x14')]:_0x57c4('0x8')in this[_0x57c4('0x14')]&&this[_0x57c4('0x14')]['editors']&&(_0x27c290=this[_0x57c4('0x14')][_0x57c4('0x8')][_0x57c4('0xc')](_0x390eb1=>_0x390eb1[_0x57c4('0x1')][_0x57c4('0x3')](_0x57c4('0xa'))==_0x48c806)),!_0x27c290)throw new _0x1bb48e('permissions-set-permissions-invalid-channel-id',null);const _0x357c0f=_0x27c290[_0x57c4('0x17')],_0x4e4bd1=_0x357c0f[_0x57c4('0xf')](_0x57c4('0x12'))?_0x357c0f[_0x57c4('0x3')]('CommentsRepository'):void 0x0,_0x588cc4=_0x357c0f[_0x57c4('0xf')](_0x57c4('0x15'))&&_0x357c0f[_0x57c4('0x3')](_0x57c4('0x15')),_0x1f7f81=_0x2abc34[_0x57c4('0x2')](_0x57c4('0xb')),_0x37ada9=_0x2abc34['includes'](_0x57c4('0x5')),_0x126f5d=_0x2abc34[_0x57c4('0x2')](_0x57c4('0x0')),_0x5a70e3=_0x2abc34[_0x57c4('0x2')](_0x57c4('0x10')),_0x55ba39=_0x5a70e3||_0x126f5d,_0x5da7e7=_0x55ba39||_0x37ada9,_0x4ed262=_0x1f7f81||_0x55ba39;(_0x588cc4&&(_0x588cc4[_0x57c4('0x11')]=!_0x1f7f81&&_0x5da7e7),_0x27c290 instanceof _0x3969c2)&&(!(_0x1f7f81||_0x5da7e7&&_0x4e4bd1)?_0x27c290[_0x57c4('0xd')](_0x57c4('0xe')):_0x27c290[_0x57c4('0x6')](_0x57c4('0xe')));if(_0x4e4bd1){_0x4e4bd1[_0x57c4('0x9')]({'admin':_0x126f5d,'modifyAll':_0x37ada9,'write':_0x5a70e3,'resolve':_0x4ed262},_0x48c806);const _0x2b2d2c=_0x27c290 instanceof _0x3969c2&&_0x27c290['commands'][_0x57c4('0x3')](_0x57c4('0x13'));_0x2b2d2c&&(_0x55ba39?_0x2b2d2c[_0x57c4('0x4')](_0x57c4('0x16')):_0x2b2d2c[_0x57c4('0x7')](_0x57c4('0x16')));}}}
23
+ const _0xa074=['enableReadOnlyMode','has','no-permissions','addCommentThread','clearForceDisabled','setPermissions','get','pluginName','editors','disableReadOnlyMode','includes','plugins','CommentsOnly','forceDisabled','config','noPermissions','permissions-set-permissions-invalid-channel-id','comment:write','collaboration.channelId','document:write','comment:modify_all','context','commands','CommentsRepository'];(function(_0xa4d18,_0xa07428){const _0x1e970e=function(_0x129756){while(--_0x129756){_0xa4d18['push'](_0xa4d18['shift']());}};_0x1e970e(++_0xa07428);}(_0xa074,0x66));const _0x1e97=function(_0xa4d18,_0xa07428){_0xa4d18=_0xa4d18-0x0;let _0x1e970e=_0xa074[_0xa4d18];return _0x1e970e;};import{ContextPlugin as _0x2adef1,Editor as _0xc2adc4}from'ckeditor5/src/core';import{CKEditorError as _0x582cb3}from'ckeditor5/src/utils';export default class n extends _0x2adef1{static get[_0x1e97('0x1')](){return'Permissions';}[_0x1e97('0x17')](_0x225b07,_0x13e655){let _0x7e61ad;if(_0x13e655||(_0x13e655=this[_0x1e97('0xf')][_0x1e97('0x8')]['get']('collaboration.channelId')),this[_0x1e97('0xf')][_0x1e97('0x8')][_0x1e97('0x0')](_0x1e97('0xc'))==_0x13e655?_0x7e61ad=this['context']:_0x1e97('0x2')in this[_0x1e97('0xf')]&&this[_0x1e97('0xf')][_0x1e97('0x2')]&&(_0x7e61ad=this[_0x1e97('0xf')][_0x1e97('0x2')]['find'](_0x39746f=>_0x39746f[_0x1e97('0x8')]['get'](_0x1e97('0xc'))==_0x13e655)),!_0x7e61ad)throw new _0x582cb3(_0x1e97('0xa'),null);const _0xb1e146=_0x7e61ad[_0x1e97('0x5')],_0x38b765=_0xb1e146[_0x1e97('0x13')](_0x1e97('0x11'))?_0xb1e146[_0x1e97('0x0')](_0x1e97('0x11')):void 0x0,_0x190b08=_0xb1e146[_0x1e97('0x13')](_0x1e97('0x6'))&&_0xb1e146['get'](_0x1e97('0x6')),_0x1462c1=_0x225b07[_0x1e97('0x4')](_0x1e97('0xd')),_0x9738f1=_0x225b07[_0x1e97('0x4')](_0x1e97('0xe')),_0x5b1bc=_0x225b07[_0x1e97('0x4')]('comment:admin'),_0x495ca8=_0x225b07[_0x1e97('0x4')](_0x1e97('0xb')),_0x589adf=_0x495ca8||_0x5b1bc,_0xc6e7ec=_0x589adf||_0x9738f1,_0x2bfcec=_0x1462c1||_0x589adf;(_0x190b08&&(_0x190b08['isEnabled']=!_0x1462c1&&_0xc6e7ec),_0x7e61ad instanceof _0xc2adc4)&&(!(_0x1462c1||_0xc6e7ec&&_0x38b765)?_0x7e61ad[_0x1e97('0x12')](_0x1e97('0x14')):_0x7e61ad[_0x1e97('0x3')](_0x1e97('0x14')));if(_0x38b765){_0x38b765[_0x1e97('0x17')]({'admin':_0x5b1bc,'modifyAll':_0x9738f1,'write':_0x495ca8,'resolve':_0x2bfcec},_0x13e655);const _0x50199c=_0x7e61ad instanceof _0xc2adc4&&_0x7e61ad[_0x1e97('0x10')][_0x1e97('0x0')](_0x1e97('0x15'));_0x50199c&&(_0x589adf?_0x50199c[_0x1e97('0x16')](_0x1e97('0x9')):_0x50199c[_0x1e97('0x7')](_0x1e97('0x9')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3157=['ck-user__anonymous','ck-user__notification','ck\x20ck-user__name','avatar','ck-user__icon','content','ck-user__img','push','div','ck-user__avatar','initials','notificationView','name','url(\x27'];(function(_0x44bec2,_0x31575c){const _0x1a4e30=function(_0x59e858){while(--_0x59e858){_0x44bec2['push'](_0x44bec2['shift']());}};_0x1a4e30(++_0x31575c);}(_0x3157,0x185));const _0x1a4e=function(_0x44bec2,_0x31575c){_0x44bec2=_0x44bec2-0x0;let _0x1a4e30=_0x3157[_0x44bec2];return _0x1a4e30;};import{View as _0xf732f3,IconView as _0x50c1a6}from'ckeditor5/src/ui';import _0x412ac6 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0xf732f3{constructor(_0x432106,_0x2901bc,_0x2aed18){super(_0x432106),this[_0x1a4e('0x1')]=_0x2901bc[_0x1a4e('0x1')],this[_0x1a4e('0x0')]=null;const _0x327e76=['ck',_0x1a4e('0x9')];if(_0x2901bc['isAnonymous']&&_0x327e76[_0x1a4e('0xa')](_0x1a4e('0x3')),_0x2901bc[_0x1a4e('0x6')]&&_0x327e76[_0x1a4e('0xa')](_0x1a4e('0xc')),_0x2aed18){const _0x4fe0c7=new _0x50c1a6();_0x4fe0c7['extendTemplate']({'attributes':{'class':[_0x1a4e('0x7')]}}),_0x4fe0c7[_0x1a4e('0x8')]=_0x412ac6,this[_0x1a4e('0x0')]={'tag':'div','attributes':{'class':['ck',_0x1a4e('0x4')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2aed18},'children':[_0x4fe0c7]};}const _0x5156cf=[{'tag':_0x1a4e('0xb'),'attributes':{'class':_0x327e76,'style':{'background-image':_0x2901bc[_0x1a4e('0x6')]?_0x1a4e('0x2')+_0x2901bc[_0x1a4e('0x6')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2901bc['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x1a4e('0x5')},'children':[{'text':_0x2901bc[_0x1a4e('0xd')]}]}];this[_0x1a4e('0x0')]&&_0x5156cf[_0x1a4e('0xa')](this[_0x1a4e('0x0')]),this['setTemplate']({'tag':_0x1a4e('0xb'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x2901bc['id']},'children':_0x5156cf});}}
23
+ const _0x5597=['initials','div','isAnonymous','url(\x27','ck-user','avatar','ck-user__notification','push','ck\x20ck-user__name\x20ck-user__name--hidden','notificationView','setTemplate','ck-user__icon','ck\x20ck-user__name','ck-user__img','ck-user__avatar','content','name'];(function(_0x5c3a2e,_0x5597eb){const _0x90bbb2=function(_0x5b9016){while(--_0x5b9016){_0x5c3a2e['push'](_0x5c3a2e['shift']());}};_0x90bbb2(++_0x5597eb);}(_0x5597,0x7c));const _0x90bb=function(_0x5c3a2e,_0x5597eb){_0x5c3a2e=_0x5c3a2e-0x0;let _0x90bbb2=_0x5597[_0x5c3a2e];return _0x90bbb2;};import{View as _0xd0e8b1,IconView as _0x53a950}from'ckeditor5/src/ui';import _0x2e0d69 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0xd0e8b1{constructor(_0x1825ae,_0x3d0f2b,_0x23d310){super(_0x1825ae),this[_0x90bb('0xb')]=_0x3d0f2b['name'],this[_0x90bb('0x4')]=null;const _0x5bc355=['ck',_0x90bb('0x8')];if(_0x3d0f2b[_0x90bb('0xe')]&&_0x5bc355[_0x90bb('0x2')]('ck-user__anonymous'),_0x3d0f2b[_0x90bb('0x0')]&&_0x5bc355[_0x90bb('0x2')](_0x90bb('0x9')),_0x23d310){const _0x2fbc62=new _0x53a950();_0x2fbc62['extendTemplate']({'attributes':{'class':[_0x90bb('0x6')]}}),_0x2fbc62[_0x90bb('0xa')]=_0x2e0d69,this[_0x90bb('0x4')]={'tag':_0x90bb('0xd'),'attributes':{'class':['ck',_0x90bb('0x1')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x23d310},'children':[_0x2fbc62]};}const _0x39143d=[{'tag':_0x90bb('0xd'),'attributes':{'class':_0x5bc355,'style':{'background-image':_0x3d0f2b[_0x90bb('0x0')]?_0x90bb('0xf')+_0x3d0f2b[_0x90bb('0x0')]+'\x27)':''}}},{'tag':_0x90bb('0xd'),'attributes':{'class':_0x3d0f2b[_0x90bb('0x0')]?_0x90bb('0x3'):_0x90bb('0x7')},'children':[{'text':_0x3d0f2b[_0x90bb('0xc')]}]}];this[_0x90bb('0x4')]&&_0x39143d['push'](this[_0x90bb('0x4')]),this[_0x90bb('0x5')]({'tag':_0x90bb('0xd'),'attributes':{'class':['ck',_0x90bb('0x10')],'data-user-id':_0x3d0f2b['id']},'children':_0x39143d});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bbe=['Anonymous','users','requires','defineMe','_lastColor','_getNextColor','color','_addAnonymousUser','includes','decorate','config','add','licenseKey','getMarkerClass','info','name','getUser','anonymous-user','get','getSelectionClass','_locale','users-add-duplicated-id','addUser','_myId','init','trial-license-key-reached-limit-revisions','licenseKeyValid','users.colorsCount','licenseKeyTrialLimit:operations','isAnonymous','trim','avatar','charAt','_licenseKeyCheckInterval','define','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.','context','_id','users-me-missing-user','string','pluginName','licenseKeyTrialLimit:revisions','licenseKeyTrialLimit:time','getOperationAuthor','_getInitial','initials','users.anonymousUserId','_isAnonymous','licenseKeyInvalid','destroy','users-add-invalid-id','trial-license-key-reached-limit-time','Users','licenseKeyTrial','getBackgroundColorClass','invalid-license-key'];(function(_0x1d32a1,_0x5bbeb3){const _0xc8ec6e=function(_0xdcb6dd){while(--_0xdcb6dd){_0x1d32a1['push'](_0x1d32a1['shift']());}};_0xc8ec6e(++_0x5bbeb3);}(_0x5bbe,0xde));const _0xc8ec=function(_0x1d32a1,_0x5bbeb3){_0x1d32a1=_0x1d32a1-0x0;let _0xc8ec6e=_0x5bbe[_0x1d32a1];return _0xc8ec6e;};import{ContextPlugin as _0x33057c}from'ckeditor5/src/core';import{Collection as _0xcec594,CKEditorError as _0x1dc260}from'ckeditor5/src/utils';import _0x4a8bec from'./permissions';import{getTranslation as _0x1806a9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x33057c{static get[_0xc8ec('0x2a')](){return _0xc8ec('0x36');}static get[_0xc8ec('0x4')](){return[_0x4a8bec];}constructor(_0x4be366){super(_0x4be366),this[_0xc8ec('0x26')]['config']['define']('users.anonymousUserId',_0xc8ec('0x13')),this[_0xc8ec('0x26')]['config'][_0xc8ec('0x24')](_0xc8ec('0x1d'),0x8),this[_0xc8ec('0x3')]=new _0xcec594(),this[_0xc8ec('0x16')]=_0x4be366['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this[_0xc8ec('0x19')]=null,this[_0xc8ec('0xb')]('getOperationAuthor');}[_0xc8ec('0x1a')](){const _0x505705=this[_0xc8ec('0x26')];this[_0xc8ec('0xe')]=_0x505705[_0xc8ec('0xc')]['get'](_0xc8ec('0xe'));const _0x117843=[_0xc8ec('0x37'),'licenseKeyInvalid',_0xc8ec('0x1c'),_0xc8ec('0x1e'),_0xc8ec('0x2c'),_0xc8ec('0x2b')];this[_0xc8ec('0x23')]=setInterval(()=>{let _0x5cadae;for(const _0x1ef463 in _0x505705){const _0x254407=_0x505705[_0x1ef463];if(_0x117843[_0xc8ec('0xa')](_0x254407)){delete _0x505705[_0x1ef463],_0x5cadae=_0x254407;break;}}if(_0xc8ec('0x32')===_0x5cadae)throw clearInterval(this[_0xc8ec('0x23')]),new _0x1dc260(_0xc8ec('0x1'),null);if(_0xc8ec('0x37')===_0x5cadae&&console[_0xc8ec('0x10')](_0xc8ec('0x25')),_0xc8ec('0x1e')===_0x5cadae)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1dc260('trial-license-key-reached-limit-changes',null);if(_0xc8ec('0x2c')===_0x5cadae)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1dc260(_0xc8ec('0x35'),null);if(_0xc8ec('0x2b')===_0x5cadae)throw clearInterval(this[_0xc8ec('0x23')]),new _0x1dc260(_0xc8ec('0x1b'),null);'licenseKeyValid'===_0x5cadae&&clearInterval(this[_0xc8ec('0x23')]);},0x3e8),this[_0xc8ec('0x9')]();}get['me'](){return null==this[_0xc8ec('0x19')]?null:this[_0xc8ec('0x12')](this['_myId']);}[_0xc8ec('0x18')]({id:_0x2778ef,name:_0x348b99,..._0x24e5f3}){if(!_0x2778ef||_0xc8ec('0x29')!=typeof _0x2778ef)throw new _0x1dc260(_0xc8ec('0x34'));if(this['users']['has'](_0x2778ef))throw new _0x1dc260(_0xc8ec('0x17'),null,{'id':_0x2778ef});const _0xe0e324={..._0x24e5f3,'id':_0x2778ef,'name':a(this['_locale'],_0x348b99),'color':this[_0xc8ec('0x7')]()};_0xe0e324[_0xc8ec('0x11')]=a(this['_locale'],_0xe0e324[_0xc8ec('0x11')]);const _0x247024=new User(_0xe0e324);return this[_0xc8ec('0x3')][_0xc8ec('0xd')](_0x247024),_0x247024;}['getUser'](_0x373987){return this['users'][_0xc8ec('0x14')](_0x373987);}['useAnonymousUser'](){const _0x21cb87=this[_0xc8ec('0x26')]['config'][_0xc8ec('0x14')]('users.anonymousUserId');this[_0xc8ec('0x19')]||this[_0xc8ec('0x5')](_0x21cb87);}['defineMe'](_0x205c7d){if(this[_0xc8ec('0x19')])throw new _0x1dc260('users-me-already-defined',null);if(!this[_0xc8ec('0x12')](_0x205c7d))throw new _0x1dc260(_0xc8ec('0x28'),null);this['_myId']=_0x205c7d;}[_0xc8ec('0x2d')](){return this['me'];}[_0xc8ec('0x33')](){super[_0xc8ec('0x33')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0xc8ec('0x7')](){const _0x1001aa=this[_0xc8ec('0x26')][_0xc8ec('0xc')][_0xc8ec('0x14')](_0xc8ec('0x1d'));return this[_0xc8ec('0x6')]>=_0x1001aa&&(this['_lastColor']=0x0),new u(this[_0xc8ec('0x6')]++);}[_0xc8ec('0x9')](){const _0x399cc5=this[_0xc8ec('0x26')][_0xc8ec('0xc')][_0xc8ec('0x14')](_0xc8ec('0x30'));this[_0xc8ec('0x18')]({'id':_0x399cc5,'name':_0x1806a9(this[_0xc8ec('0x16')],_0xc8ec('0x2'))})[_0xc8ec('0x31')]=!0x0;}}export class User{constructor(_0x55b4a2){this['id']=_0x55b4a2['id'],this['color']=_0x55b4a2[_0xc8ec('0x8')],this[_0xc8ec('0x11')]=_0x55b4a2[_0xc8ec('0x11')],this[_0xc8ec('0x21')]=_0x55b4a2[_0xc8ec('0x21')],this[_0xc8ec('0x31')]=!0x1;}get[_0xc8ec('0x1f')](){return this[_0xc8ec('0x31')];}get[_0xc8ec('0x2f')](){const _0x1a298d=this[_0xc8ec('0x11')]['split']('\x20');return 0x1===_0x1a298d['length']?this[_0xc8ec('0x2e')](_0x1a298d[0x0]):this[_0xc8ec('0x2e')](_0x1a298d[0x0])+this[_0xc8ec('0x2e')](_0x1a298d[_0x1a298d['length']-0x1]);}[_0xc8ec('0x2e')](_0x22b0b5){return _0x22b0b5[_0xc8ec('0x22')](0x0)['toUpperCase']();}}function a(_0x958e5f,_0x3c81c9=''){return''==(_0x3c81c9=_0x3c81c9[_0xc8ec('0x20')]())?_0x1806a9(_0x958e5f,_0xc8ec('0x2')):_0x3c81c9;}class u{constructor(_0x1d8a07){this[_0xc8ec('0x27')]=_0x1d8a07;}[_0xc8ec('0x0')](){return'ck-user__bg-color--'+this[_0xc8ec('0x27')];}[_0xc8ec('0x15')](){return'ck-user__selection--'+this[_0xc8ec('0x27')];}[_0xc8ec('0xf')](){return'ck-user__marker--'+this[_0xc8ec('0x27')];}}
23
+ const _0x2c50=['anonymous-user','color','licenseKeyValid','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.','users-add-duplicated-id','get','_lastColor','charAt','_id','users.anonymousUserId','_isAnonymous','ck-user__selection--','users','Anonymous','licenseKeyTrial','trim','ck-user__marker--','initials','avatar','requires','define','context','init','ck-user__bg-color--','licenseKey','has','trial-license-key-reached-limit-changes','_getNextColor','split','getUser','config','defineMe','_myId','users-add-invalid-id','destroy','licenseKeyInvalid','licenseKeyTrialLimit:revisions','_addAnonymousUser','decorate','info','getOperationAuthor','includes','length','useAnonymousUser','_locale','users-me-already-defined','getMarkerClass','getSelectionClass','name','addUser','_licenseKeyCheckInterval','Users','isAnonymous','_getInitial','pluginName','locale','add','users.colorsCount','users-me-missing-user','licenseKeyTrialLimit:time'];(function(_0x1cb18a,_0x2c5072){const _0x329924=function(_0x134e02){while(--_0x134e02){_0x1cb18a['push'](_0x1cb18a['shift']());}};_0x329924(++_0x2c5072);}(_0x2c50,0xdc));const _0x3299=function(_0x1cb18a,_0x2c5072){_0x1cb18a=_0x1cb18a-0x0;let _0x329924=_0x2c50[_0x1cb18a];return _0x329924;};import{ContextPlugin as _0xafff22}from'ckeditor5/src/core';import{Collection as _0x4b0e48,CKEditorError as _0x2e683d}from'ckeditor5/src/utils';import _0x5cf600 from'./permissions';import{getTranslation as _0x3cdd1f}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0xafff22{static get[_0x3299('0xe')](){return _0x3299('0xb');}static get[_0x3299('0x27')](){return[_0x5cf600];}constructor(_0x231438){super(_0x231438),this[_0x3299('0x29')][_0x3299('0x32')][_0x3299('0x28')](_0x3299('0x1d'),_0x3299('0x14')),this[_0x3299('0x29')]['config']['define'](_0x3299('0x11'),0x8),this['users']=new _0x4b0e48(),this['_locale']=_0x231438[_0x3299('0xf')],this[_0x3299('0xa')]=null,this[_0x3299('0x1a')]=0x0,this[_0x3299('0x34')]=null,this[_0x3299('0x3a')](_0x3299('0x0'));}[_0x3299('0x2a')](){const _0x53dd37=this['context'];this[_0x3299('0x2c')]=_0x53dd37['config'][_0x3299('0x19')](_0x3299('0x2c'));const _0x36a872=[_0x3299('0x22'),_0x3299('0x37'),_0x3299('0x16'),'licenseKeyTrialLimit:operations',_0x3299('0x13'),_0x3299('0x38')];this[_0x3299('0xa')]=setInterval(()=>{let _0x495056;for(const _0x4acfc8 in _0x53dd37){const _0x474a9d=_0x53dd37[_0x4acfc8];if(_0x36a872[_0x3299('0x1')](_0x474a9d)){delete _0x53dd37[_0x4acfc8],_0x495056=_0x474a9d;break;}}if(_0x3299('0x37')===_0x495056)throw clearInterval(this[_0x3299('0xa')]),new _0x2e683d('invalid-license-key',null);if(_0x3299('0x22')===_0x495056&&console[_0x3299('0x3b')](_0x3299('0x17')),'licenseKeyTrialLimit:operations'===_0x495056)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2e683d(_0x3299('0x2e'),null);if('licenseKeyTrialLimit:time'===_0x495056)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2e683d('trial-license-key-reached-limit-time',null);if(_0x3299('0x38')===_0x495056)throw clearInterval(this[_0x3299('0xa')]),new _0x2e683d('trial-license-key-reached-limit-revisions',null);_0x3299('0x16')===_0x495056&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x3299('0x39')]();}get['me'](){return null==this[_0x3299('0x34')]?null:this[_0x3299('0x31')](this[_0x3299('0x34')]);}[_0x3299('0x9')]({id:_0x441122,name:_0x9c3556,..._0xcbf7fb}){if(!_0x441122||'string'!=typeof _0x441122)throw new _0x2e683d(_0x3299('0x35'));if(this[_0x3299('0x20')][_0x3299('0x2d')](_0x441122))throw new _0x2e683d(_0x3299('0x18'),null,{'id':_0x441122});const _0x5a1ec2={..._0xcbf7fb,'id':_0x441122,'name':a(this[_0x3299('0x4')],_0x9c3556),'color':this[_0x3299('0x2f')]()};_0x5a1ec2[_0x3299('0x8')]=a(this[_0x3299('0x4')],_0x5a1ec2[_0x3299('0x8')]);const _0x47d33c=new User(_0x5a1ec2);return this[_0x3299('0x20')][_0x3299('0x10')](_0x47d33c),_0x47d33c;}['getUser'](_0x5ae04d){return this[_0x3299('0x20')]['get'](_0x5ae04d);}[_0x3299('0x3')](){const _0x54487d=this[_0x3299('0x29')][_0x3299('0x32')]['get']('users.anonymousUserId');this[_0x3299('0x34')]||this[_0x3299('0x33')](_0x54487d);}[_0x3299('0x33')](_0x509853){if(this['_myId'])throw new _0x2e683d(_0x3299('0x5'),null);if(!this['getUser'](_0x509853))throw new _0x2e683d(_0x3299('0x12'),null);this[_0x3299('0x34')]=_0x509853;}[_0x3299('0x0')](){return this['me'];}[_0x3299('0x36')](){super[_0x3299('0x36')](),clearInterval(this[_0x3299('0xa')]);}['_getNextColor'](){const _0x8e8a54=this[_0x3299('0x29')][_0x3299('0x32')][_0x3299('0x19')]('users.colorsCount');return this[_0x3299('0x1a')]>=_0x8e8a54&&(this[_0x3299('0x1a')]=0x0),new u(this[_0x3299('0x1a')]++);}[_0x3299('0x39')](){const _0xf5ccc8=this[_0x3299('0x29')]['config']['get'](_0x3299('0x1d'));this[_0x3299('0x9')]({'id':_0xf5ccc8,'name':_0x3cdd1f(this[_0x3299('0x4')],_0x3299('0x21'))})[_0x3299('0x1e')]=!0x0;}}export class User{constructor(_0x16f10b){this['id']=_0x16f10b['id'],this[_0x3299('0x15')]=_0x16f10b['color'],this['name']=_0x16f10b[_0x3299('0x8')],this[_0x3299('0x26')]=_0x16f10b['avatar'],this[_0x3299('0x1e')]=!0x1;}get[_0x3299('0xc')](){return this[_0x3299('0x1e')];}get[_0x3299('0x25')](){const _0x5b1d88=this['name'][_0x3299('0x30')]('\x20');return 0x1===_0x5b1d88[_0x3299('0x2')]?this[_0x3299('0xd')](_0x5b1d88[0x0]):this[_0x3299('0xd')](_0x5b1d88[0x0])+this['_getInitial'](_0x5b1d88[_0x5b1d88[_0x3299('0x2')]-0x1]);}[_0x3299('0xd')](_0x552ac8){return _0x552ac8[_0x3299('0x1b')](0x0)['toUpperCase']();}}function a(_0x1648c3,_0x1fbf39=''){return''==(_0x1fbf39=_0x1fbf39[_0x3299('0x23')]())?_0x3cdd1f(_0x1648c3,_0x3299('0x21')):_0x1fbf39;}class u{constructor(_0x1703e7){this[_0x3299('0x1c')]=_0x1703e7;}['getBackgroundColorClass'](){return _0x3299('0x2b')+this['_id'];}[_0x3299('0x7')](){return _0x3299('0x1f')+this['_id'];}[_0x3299('0x6')](){return _0x3299('0x24')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1fd628,_0x11232c){const t=_0x1fd628['t'];switch(_0x11232c){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x147efd,_0x5455ce){const t=_0x147efd['t'];switch(_0x5455ce){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d10=['message','locale','confirmView','set','focus','remove','submit','once','fire','render','deregisterChild','_removeConfirm','element','cancel','showConfirm','appendChild','isConfirm','destroy'];(function(_0x3d3f76,_0x1d103d){var _0x143bc8=function(_0x33a2be){while(--_0x33a2be){_0x3d3f76['push'](_0x3d3f76['shift']());}};_0x143bc8(++_0x1d103d);}(_0x1d10,0x165));var _0x143b=function(_0x3d3f76,_0x1d103d){_0x3d3f76=_0x3d3f76-0x0;var _0x143bc8=_0x1d10[_0x3d3f76];return _0x143bc8;};import _0x3b701f from'./confirmview';export default function m(_0x3396e2){return class extends _0x3396e2{[_0x143b('0x11')](_0x1cc3be,_0x4cf3cd){return this[_0x143b('0x5')]=new _0x3b701f(this[_0x143b('0x4')]),this[_0x143b('0x5')][_0x143b('0xc')](),this[_0x143b('0x5')][_0x143b('0x3')]=_0x1cc3be,this[_0x143b('0x5')][_0x143b('0xa')]('cancel',()=>{this[_0x143b('0xe')]();}),this[_0x143b('0x5')][_0x143b('0xa')](_0x143b('0x9'),()=>{this[_0x143b('0xe')]();}),_0x4cf3cd[_0x143b('0x0')](this[_0x143b('0x5')]['element']),this['registerChild'](this[_0x143b('0x5')]),this[_0x143b('0xf')][_0x143b('0x7')](),this[_0x143b('0x6')](_0x143b('0x1'),!0x0),new Promise(_0x54f9f9=>this[_0x143b('0x5')]['on'](_0x143b('0x9'),_0x54f9f9));}['cancelConfirm'](){this[_0x143b('0x1')]&&this[_0x143b('0x5')][_0x143b('0xb')](_0x143b('0x10'));}[_0x143b('0xe')](){this[_0x143b('0xf')]&&this[_0x143b('0x5')]&&this['confirmView']['element']&&(this['element']['focus'](),this[_0x143b('0x5')]['element'][_0x143b('0x8')](),this[_0x143b('0xd')](this[_0x143b('0x5')]),this[_0x143b('0x1')]=!0x1,this['confirmView'][_0x143b('0x2')](),this[_0x143b('0x5')]=void 0x0);}};}
23
+ var _0xd813=['confirmView','cancel','isConfirm','message','showConfirm','locale','_removeConfirm','render','element','once','deregisterChild','destroy','focus','fire','appendChild','submit'];(function(_0x1a14f9,_0xd813cc){var _0x5e1596=function(_0x291c0a){while(--_0x291c0a){_0x1a14f9['push'](_0x1a14f9['shift']());}};_0x5e1596(++_0xd813cc);}(_0xd813,0xd1));var _0x5e15=function(_0x1a14f9,_0xd813cc){_0x1a14f9=_0x1a14f9-0x0;var _0x5e1596=_0xd813[_0x1a14f9];return _0x5e1596;};import _0xde178e from'./confirmview';export default function m(_0x7ca3c2){return class extends _0x7ca3c2{[_0x5e15('0x3')](_0x22906e,_0x4ba25a){return this[_0x5e15('0xf')]=new _0xde178e(this[_0x5e15('0x4')]),this[_0x5e15('0xf')][_0x5e15('0x6')](),this[_0x5e15('0xf')][_0x5e15('0x2')]=_0x22906e,this[_0x5e15('0xf')][_0x5e15('0x8')](_0x5e15('0x0'),()=>{this[_0x5e15('0x5')]();}),this['confirmView'][_0x5e15('0x8')]('submit',()=>{this[_0x5e15('0x5')]();}),_0x4ba25a[_0x5e15('0xd')](this[_0x5e15('0xf')][_0x5e15('0x7')]),this['registerChild'](this[_0x5e15('0xf')]),this[_0x5e15('0x7')][_0x5e15('0xb')](),this['set'](_0x5e15('0x1'),!0x0),new Promise(_0x55a43d=>this['confirmView']['on'](_0x5e15('0xe'),_0x55a43d));}['cancelConfirm'](){this[_0x5e15('0x1')]&&this[_0x5e15('0xf')][_0x5e15('0xc')]('cancel');}[_0x5e15('0x5')](){this['element']&&this['confirmView']&&this[_0x5e15('0xf')][_0x5e15('0x7')]&&(this['element'][_0x5e15('0xb')](),this[_0x5e15('0xf')]['element']['remove'](),this[_0x5e15('0x9')](this['confirmView']),this[_0x5e15('0x1')]=!0x1,this[_0x5e15('0xf')][_0x5e15('0xa')](),this[_0x5e15('0xf')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a1b=['cancelView','div','setTemplate','message','ck-thread__remove-confirm-actions','cancel','_createButtonView','Are\x20you\x20sure?','check','fire','extendTemplate','submitView','submit'];(function(_0x2b652a,_0x4a1b7e){const _0x30522a=function(_0x495f78){while(--_0x495f78){_0x2b652a['push'](_0x2b652a['shift']());}};_0x30522a(++_0x4a1b7e);}(_0x4a1b,0x11a));const _0x3052=function(_0x2b652a,_0x4a1b7e){_0x2b652a=_0x2b652a-0x0;let _0x30522a=_0x4a1b[_0x2b652a];return _0x30522a;};import{View as _0x590391,ButtonView as _0x31547f}from'ckeditor5/src/ui';import{icons as _0x20104f}from'ckeditor5/src/core';import{getTranslation as _0x13d9c8}from'./common-translations';export default class h extends _0x590391{constructor(_0xa835d0){super(_0xa835d0);const _0x46ae54=this['bindTemplate'];this[_0x3052('0x2')]=this[_0x3052('0xa')](_0xa835d0,_0x13d9c8(_0xa835d0,'Yes'),_0x20104f[_0x3052('0xc')],_0x3052('0x3')),this[_0x3052('0x4')]=this['_createButtonView'](_0xa835d0,_0x13d9c8(_0xa835d0,'No'),_0x20104f[_0x3052('0x9')],_0x3052('0x9')),this['set'](_0x3052('0x7'),_0x13d9c8(_0xa835d0,_0x3052('0xb'))),this[_0x3052('0x6')]({'tag':_0x3052('0x5'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x46ae54['to'](_0x3052('0x7'))}]},{'tag':_0x3052('0x5'),'attributes':{'class':_0x3052('0x8')},'children':[this['submitView'],this[_0x3052('0x4')]]}]}]});}[_0x3052('0xa')](_0x1836b6,_0x14a7c5,_0x1e63bb,_0x5a9292){const _0x101c3a=new _0x31547f(_0x1836b6);return _0x101c3a['label']=_0x14a7c5,_0x101c3a['icon']=_0x1e63bb,_0x101c3a[_0x3052('0x1')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x5a9292}}),_0x101c3a['on']('execute',()=>this[_0x3052('0x0')](_0x5a9292)),_0x101c3a;}}
23
+ const _0x1d33=['icon','execute','fire','cancelView','_createButtonView','Are\x20you\x20sure?','Yes','bindTemplate','submitView','div','label','cancel','submit','extendTemplate','ck-thread__remove-confirm','set'];(function(_0x28841f,_0x1d335a){const _0x40a84e=function(_0x306247){while(--_0x306247){_0x28841f['push'](_0x28841f['shift']());}};_0x40a84e(++_0x1d335a);}(_0x1d33,0x10e));const _0x40a8=function(_0x28841f,_0x1d335a){_0x28841f=_0x28841f-0x0;let _0x40a84e=_0x1d33[_0x28841f];return _0x40a84e;};import{View as _0x756045,ButtonView as _0x2fb235}from'ckeditor5/src/ui';import{icons as _0x464745}from'ckeditor5/src/core';import{getTranslation as _0x36a2c3}from'./common-translations';export default class h extends _0x756045{constructor(_0x2aae6d){super(_0x2aae6d);const _0x43fd95=this[_0x40a8('0x9')];this[_0x40a8('0xa')]=this[_0x40a8('0x6')](_0x2aae6d,_0x36a2c3(_0x2aae6d,_0x40a8('0x8')),_0x464745['check'],_0x40a8('0xe')),this['cancelView']=this[_0x40a8('0x6')](_0x2aae6d,_0x36a2c3(_0x2aae6d,'No'),_0x464745[_0x40a8('0xd')],'cancel'),this[_0x40a8('0x1')]('message',_0x36a2c3(_0x2aae6d,_0x40a8('0x7'))),this['setTemplate']({'tag':_0x40a8('0xb'),'attributes':{'class':[_0x40a8('0x0')]},'children':[{'tag':_0x40a8('0xb'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x43fd95['to']('message')}]},{'tag':_0x40a8('0xb'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x40a8('0xa')],this[_0x40a8('0x5')]]}]}]});}['_createButtonView'](_0x478ace,_0x445146,_0x6842ae,_0xb6e559){const _0x457cf1=new _0x2fb235(_0x478ace);return _0x457cf1[_0x40a8('0xc')]=_0x445146,_0x457cf1[_0x40a8('0x2')]=_0x6842ae,_0x457cf1[_0x40a8('0xf')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0xb6e559}}),_0x457cf1['on'](_0x40a8('0x3'),()=>this[_0x40a8('0x4')](_0xb6e559)),_0x457cf1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5289=['MM-dd-yyyy\x20hh:mma','string','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','function'];(function(_0x2ce387,_0x528911){const _0x569804=function(_0xdd4e66){while(--_0xdd4e66){_0x2ce387['push'](_0x2ce387['shift']());}};_0x569804(++_0x528911);}(_0x5289,0x120));const _0x5698=function(_0x2ce387,_0x528911){_0x2ce387=_0x2ce387-0x0;let _0x569804=_0x5289[_0x2ce387];return _0x569804;};import _0x1feff8 from'date-fns/format';import _0x807819 from'date-fns/parseISO';import _0x471610 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xfac8c0}from'ckeditor5/src/utils';export default function E(_0x241743={}){if(void 0x0!==_0x241743[_0x5698('0x5')]&&_0x5698('0x7')!=typeof _0x241743[_0x5698('0x5')])throw new _0xfac8c0(_0x5698('0x2'));return _0x28a293=>{const _0x32ad1b=_0x5698('0x1')==typeof _0x28a293?_0x807819(_0x28a293):_0x28a293,_0x1fecbb=new Date(),_0x3df1a5=_0x471610(_0x1fecbb,_0x32ad1b);return _0x241743[_0x5698('0x5')]?_0x241743['dateTimeFormat'](_0x32ad1b):_0x1feff8(_0x32ad1b,0x0===_0x3df1a5?_0x5698('0x4'):0x1===_0x3df1a5?_0x5698('0x6'):_0x3df1a5<0x7?_0x5698('0x3'):_0x5698('0x0'));};}
23
+ const _0x27f0=['invalid-date-time-format','string','dateTimeFormat','function','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma'];(function(_0x1e1789,_0x27f0c7){const _0x5dfdf=function(_0x3efd1f){while(--_0x3efd1f){_0x1e1789['push'](_0x1e1789['shift']());}};_0x5dfdf(++_0x27f0c7);}(_0x27f0,0xe2));const _0x5dfd=function(_0x1e1789,_0x27f0c7){_0x1e1789=_0x1e1789-0x0;let _0x5dfdf=_0x27f0[_0x1e1789];return _0x5dfdf;};import _0x2bfb50 from'date-fns/format';import _0x44ea7d from'date-fns/parseISO';import _0xf49f7a from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x5c5a1a}from'ckeditor5/src/utils';export default function E(_0x4fd157={}){if(void 0x0!==_0x4fd157[_0x5dfd('0x0')]&&_0x5dfd('0x1')!=typeof _0x4fd157[_0x5dfd('0x0')])throw new _0x5c5a1a(_0x5dfd('0x5'));return _0x147a9f=>{const _0x140c88=_0x5dfd('0x6')==typeof _0x147a9f?_0x44ea7d(_0x147a9f):_0x147a9f,_0x330c97=new Date(),_0x37f33d=_0xf49f7a(_0x330c97,_0x140c88);return _0x4fd157[_0x5dfd('0x0')]?_0x4fd157[_0x5dfd('0x0')](_0x140c88):_0x2bfb50(_0x140c88,0x0===_0x37f33d?'\x27Today\x27\x20hh:mma':0x1===_0x37f33d?_0x5dfd('0x3'):_0x37f33d<0x7?_0x5dfd('0x2'):_0x5dfd('0x4'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41e4=['view','markerNameToElements','mapViewToDom','length','filter','getClientRects','domConverter','item','name','domElement','push','mapper','map','values'];(function(_0x23e0e0,_0x41e494){const _0x3b2367=function(_0xa805be){while(--_0xa805be){_0x23e0e0['push'](_0x23e0e0['shift']());}};_0x3b2367(++_0x41e494);}(_0x41e4,0x6d));const _0x3b23=function(_0x23e0e0,_0x41e494){_0x23e0e0=_0x23e0e0-0x0;let _0x3b2367=_0x41e4[_0x23e0e0];return _0x3b2367;};import{first as _0x2d6814}from'ckeditor5/src/utils';export default function k(_0x5f3395,_0x20f3aa){const _0x3ef6d8=_0x5f3395['mapper']['markerNameToElements'](_0x20f3aa['name']);if(!_0x3ef6d8)return null;const _0x217a18=_0x2d6814(_0x3ef6d8[_0x3b23('0x2')]());return _0x5f3395[_0x3b23('0x3')][_0x3b23('0x9')][_0x3b23('0x5')](_0x217a18)||null;}export function getAllMarkersDomElementsSorted(_0x134511,_0x3481b0){if(0x0===_0x3481b0[_0x3b23('0x6')])return null;const _0x22c779=[],_0x5c4978=_0x134511[_0x3b23('0x3')]['domConverter'];for(const _0x19fd9f of _0x3481b0){const _0x54daa6=_0x134511[_0x3b23('0x0')][_0x3b23('0x4')](_0x19fd9f[_0x3b23('0xb')]);if(!_0x54daa6)continue;const _0x524196=Array['from'](_0x54daa6)['map'](_0x2ecee8=>_0x5c4978[_0x3b23('0x5')](_0x2ecee8))[_0x3b23('0x7')](_0x2d7095=>!!_0x2d7095);_0x22c779[_0x3b23('0xd')](..._0x524196);}if(0x0===_0x22c779[_0x3b23('0x6')])return null;const _0x1d4029=[];for(const _0x5871ad of _0x22c779){const _0x22d59a=_0x5871ad[_0x3b23('0x8')]()[_0x3b23('0xa')](0x0);_0x22d59a&&_0x1d4029[_0x3b23('0xd')]({'x':_0x22d59a['x'],'y':_0x22d59a['y'],'domElement':_0x5871ad});}return 0x0===_0x1d4029['length']?null:(_0x1d4029['sort']((_0x2caf58,_0x506d48)=>_0x2caf58['y']-_0x506d48['y']||_0x2caf58['x']-_0x506d48['x']),_0x1d4029[_0x3b23('0x1')](_0x31c866=>_0x31c866[_0x3b23('0xc')]));}
23
+ const _0x1d58=['view','name','mapViewToDom','domElement','values','sort','push','markerNameToElements','filter','mapper','map','from','item','length','domConverter'];(function(_0x22b8c2,_0x1d58dd){const _0x51ae38=function(_0x24fb45){while(--_0x24fb45){_0x22b8c2['push'](_0x22b8c2['shift']());}};_0x51ae38(++_0x1d58dd);}(_0x1d58,0xf5));const _0x51ae=function(_0x22b8c2,_0x1d58dd){_0x22b8c2=_0x22b8c2-0x0;let _0x51ae38=_0x1d58[_0x22b8c2];return _0x51ae38;};import{first as _0x307e5e}from'ckeditor5/src/utils';export default function k(_0x5a912d,_0x2c8c7b){const _0x2676fd=_0x5a912d[_0x51ae('0x4')][_0x51ae('0x2')](_0x2c8c7b[_0x51ae('0xb')]);if(!_0x2676fd)return null;const _0x267665=_0x307e5e(_0x2676fd[_0x51ae('0xe')]());return _0x5a912d[_0x51ae('0xa')][_0x51ae('0x9')][_0x51ae('0xc')](_0x267665)||null;}export function getAllMarkersDomElementsSorted(_0x377592,_0x607f11){if(0x0===_0x607f11[_0x51ae('0x8')])return null;const _0x2ddc57=[],_0x5dfdda=_0x377592[_0x51ae('0xa')]['domConverter'];for(const _0x3cf039 of _0x607f11){const _0x57ee3d=_0x377592[_0x51ae('0x4')][_0x51ae('0x2')](_0x3cf039[_0x51ae('0xb')]);if(!_0x57ee3d)continue;const _0x59c5c5=Array[_0x51ae('0x6')](_0x57ee3d)['map'](_0x428bc4=>_0x5dfdda[_0x51ae('0xc')](_0x428bc4))[_0x51ae('0x3')](_0x180488=>!!_0x180488);_0x2ddc57[_0x51ae('0x1')](..._0x59c5c5);}if(0x0===_0x2ddc57[_0x51ae('0x8')])return null;const _0x4d1ac7=[];for(const _0x156306 of _0x2ddc57){const _0x100add=_0x156306['getClientRects']()[_0x51ae('0x7')](0x0);_0x100add&&_0x4d1ac7[_0x51ae('0x1')]({'x':_0x100add['x'],'y':_0x100add['y'],'domElement':_0x156306});}return 0x0===_0x4d1ac7['length']?null:(_0x4d1ac7[_0x51ae('0x0')]((_0x37350f,_0x34171f)=>_0x37350f['y']-_0x34171f['y']||_0x37350f['x']-_0x34171f['x']),_0x4d1ac7[_0x51ae('0x5')](_0x4f654f=>_0x4f654f[_0x51ae('0xd')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36af=['sign','toString','charCodeAt','boolean','number','string','isArray','sort','object'];(function(_0x5e08be,_0x36af31){const _0x463429=function(_0x457131){while(--_0x457131){_0x5e08be['push'](_0x5e08be['shift']());}};_0x463429(++_0x36af31);}(_0x36af,0x1ef));const _0x4634=function(_0x5e08be,_0x36af31){_0x5e08be=_0x5e08be-0x0;let _0x463429=_0x36af[_0x5e08be];return _0x463429;};export default function b(_0x33349a){let _0x4d8329=0x0,_0x27cc66=0x0;for(const _0x2e7bf4 of g(_0x33349a))_0x4d8329=(_0x4d8329<<0x5)-_0x4d8329+_0x2e7bf4,_0x4d8329&=_0x4d8329,[_0x4d8329,_0x27cc66]=[_0x27cc66,_0x4d8329];return O(_0x4d8329)+O(_0x27cc66);}function*j(_0x3a6e8c){_0x3a6e8c?_0x4634('0x3')==typeof _0x3a6e8c?yield 0x1:Array[_0x4634('0x6')](_0x3a6e8c)?yield*function*(_0x1b4a57){for(const _0x3f7531 of _0x1b4a57)yield*j(_0x3f7531);}(_0x3a6e8c):_0x4634('0x8')==typeof _0x3a6e8c?yield*g(_0x3a6e8c):_0x4634('0x5')==typeof _0x3a6e8c?yield*A(_0x3a6e8c):_0x4634('0x4')==typeof _0x3a6e8c&&(yield _0x3a6e8c):yield 0x0;}function*g(_0x2f3075){if(yield M('{'),_0x2f3075){const _0x34b4ce=Object['keys'](_0x2f3075)[_0x4634('0x7')]();for(const _0x3ad59a of _0x34b4ce){yield*A(_0x3ad59a),yield M(':');const _0x73b1e3=_0x2f3075[_0x3ad59a];yield*j(_0x73b1e3);}}yield M('}');}function*A(_0x258360){yield M('\x22');for(const _0x105048 of _0x258360)yield M(_0x105048);yield M('\x22');}function M(_0x29cb97){return _0x29cb97[_0x4634('0x2')](0x0);}function O(_0x6fd79b){return(_0x6fd79b*=Math[_0x4634('0x0')](_0x6fd79b))[_0x4634('0x1')](0x24);}
23
+ const _0x1c2a=['number','toString','object','charCodeAt','boolean'];(function(_0x584fcf,_0x1c2a00){const _0x5a9eb1=function(_0x13b42e){while(--_0x13b42e){_0x584fcf['push'](_0x584fcf['shift']());}};_0x5a9eb1(++_0x1c2a00);}(_0x1c2a,0x1d7));const _0x5a9e=function(_0x584fcf,_0x1c2a00){_0x584fcf=_0x584fcf-0x0;let _0x5a9eb1=_0x1c2a[_0x584fcf];return _0x5a9eb1;};export default function b(_0x27a69f){let _0x22ea14=0x0,_0x272f69=0x0;for(const _0x2f99bd of g(_0x27a69f))_0x22ea14=(_0x22ea14<<0x5)-_0x22ea14+_0x2f99bd,_0x22ea14&=_0x22ea14,[_0x22ea14,_0x272f69]=[_0x272f69,_0x22ea14];return O(_0x22ea14)+O(_0x272f69);}function*j(_0x264c32){_0x264c32?_0x5a9e('0x3')==typeof _0x264c32?yield 0x1:Array['isArray'](_0x264c32)?yield*function*(_0x28f34f){for(const _0x3966f7 of _0x28f34f)yield*j(_0x3966f7);}(_0x264c32):_0x5a9e('0x1')==typeof _0x264c32?yield*g(_0x264c32):'string'==typeof _0x264c32?yield*A(_0x264c32):_0x5a9e('0x4')==typeof _0x264c32&&(yield _0x264c32):yield 0x0;}function*g(_0x2f76b7){if(yield M('{'),_0x2f76b7){const _0x480f60=Object['keys'](_0x2f76b7)['sort']();for(const _0x97c4fc of _0x480f60){yield*A(_0x97c4fc),yield M(':');const _0x5da7de=_0x2f76b7[_0x97c4fc];yield*j(_0x5da7de);}}yield M('}');}function*A(_0x543706){yield M('\x22');for(const _0x37a2c7 of _0x543706)yield M(_0x37a2c7);yield M('\x22');}function M(_0x5adf7a){return _0x5adf7a[_0x5a9e('0x2')](0x0);}function O(_0x390d2b){return(_0x390d2b*=Math['sign'](_0x390d2b))[_0x5a9e('0x0')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fa2=['extraPlugins','builtinPlugins','name','get','every','concat','string','WProofreader','map','filter','initialData','DocumentOutline','plugins','length','has','WordCount','Autosave','rootsAttributes','config','names','set','find','includes','toolbar','from','pluginName'];(function(_0x321428,_0x3fa251){const _0x3b2e51=function(_0x4dd2e2){while(--_0x4dd2e2){_0x321428['push'](_0x321428['shift']());}};_0x3b2e51(++_0x3fa251);}(_0x3fa2,0x136));const _0x3b2e=function(_0x321428,_0x3fa251){_0x321428=_0x321428-0x0;let _0x3b2e51=_0x3fa2[_0x321428];return _0x3b2e51;};const w=[_0x3b2e('0xc'),'context',_0x3b2e('0x19'),_0x3b2e('0x13')],W=['WebSocketGateway','RevisionTracker',_0x3b2e('0x12'),_0x3b2e('0x11'),_0x3b2e('0xd'),_0x3b2e('0x9')];function v(_0x11a1ea,_0xbfbd2f,_0x3d3783,_0xe918=[]){const _0x53f474=_0x3b2e('0x8')==typeof _0x11a1ea?_0x3d3783[_0x3b2e('0x5')](_0x11a1ea)['constructor']:_0x11a1ea,_0x3c4d68=_0x53f474[_0x3b2e('0x1')]||_0x53f474[_0x3b2e('0x4')];if(_0xbfbd2f[_0x3b2e('0x10')](_0x3c4d68))return _0xbfbd2f['get'](_0x3c4d68);if(_0xbfbd2f[_0x3b2e('0x16')](_0x3c4d68,!0x0),_0x3c4d68&&W[_0x3b2e('0x7')](_0xe918)[_0x3b2e('0x18')](_0x3c4d68))return _0xbfbd2f['set'](_0x3c4d68,!0x1),!0x1;if(!_0x53f474['requires'])return _0xbfbd2f[_0x3b2e('0x16')](_0x3c4d68,!0x0),!0x0;const _0x518403=_0x53f474['requires'][_0x3b2e('0x6')](_0x53fb35=>v(_0x53fb35,_0xbfbd2f,_0x3d3783,_0xe918));return _0xbfbd2f['set'](_0x3c4d68,_0x518403),_0x518403;}export default function D(_0x20d45a,_0x2d4ba1){const _0x19947e={};for(const _0x28c07d of _0x20d45a['config'][_0x3b2e('0x15')]())w[_0x3b2e('0x18')](_0x28c07d)||(_0x19947e[_0x28c07d]=_0x20d45a[_0x3b2e('0x14')][_0x3b2e('0x5')](_0x28c07d));const _0x3dcff7=_0x19947e[_0x3b2e('0xe')]||[],_0x5cdd1d=_0x20d45a['constructor'][_0x3b2e('0x3')]||[],_0x10e0d6=_0x3dcff7[_0x3b2e('0xf')]?_0x3dcff7:_0x5cdd1d,_0x157db4=_0x19947e[_0x3b2e('0x2')]||[];delete _0x19947e[_0x3b2e('0x2')];const _0x2ee2a0=_0x19947e['removePlugins']||[];delete _0x19947e['removePlugins'];const _0x551aef=_0x20d45a['_context'][_0x3b2e('0x14')]['get'](_0x3b2e('0xe'))||[],_0x353299=_0x10e0d6[_0x3b2e('0x7')](_0x157db4)[_0x3b2e('0x7')](_0x551aef)[_0x3b2e('0xa')](_0x1bbc2a=>_0x3b2e('0x8')==typeof _0x1bbc2a?_0x5cdd1d[_0x3b2e('0x17')](_0x37d2cb=>_0x37d2cb['pluginName']==_0x1bbc2a):_0x1bbc2a)[_0x3b2e('0xb')](_0x3c5912=>!_0x2ee2a0[_0x3b2e('0x18')](_0x3c5912)),_0x48e3fc=Array[_0x3b2e('0x0')](new Set(_0x353299)),_0x47246b=new Map();return _0x19947e[_0x3b2e('0xe')]=_0x48e3fc[_0x3b2e('0xb')](_0x1ab64b=>v(_0x1ab64b,_0x47246b,_0x20d45a['plugins'],_0x2d4ba1)),_0x19947e;}
23
+ const _0x43d9=['get','find','config','removePlugins','pluginName','constructor','map','_context','initialData','builtinPlugins','WProofreader','from','plugins','filter','extraPlugins','requires','context','has','RevisionTracker','set','toolbar','includes','names','rootsAttributes','Autosave','name','string','concat','every'];(function(_0x40462c,_0x43d9a9){const _0x271e2b=function(_0x176cac){while(--_0x176cac){_0x40462c['push'](_0x40462c['shift']());}};_0x271e2b(++_0x43d9a9);}(_0x43d9,0x74));const _0x271e=function(_0x40462c,_0x43d9a9){_0x40462c=_0x40462c-0x0;let _0x271e2b=_0x43d9[_0x40462c];return _0x271e2b;};const w=[_0x271e('0x8'),_0x271e('0x10'),_0x271e('0x14'),_0x271e('0x17')],W=['WebSocketGateway',_0x271e('0x12'),_0x271e('0x18'),'WordCount','DocumentOutline',_0x271e('0xa')];function v(_0x446c94,_0xe0bef9,_0x555b39,_0x859c6e=[]){const _0x4eacc4=_0x271e('0x1a')==typeof _0x446c94?_0x555b39[_0x271e('0x0')](_0x446c94)['constructor']:_0x446c94,_0x286353=_0x4eacc4[_0x271e('0x4')]||_0x4eacc4[_0x271e('0x19')];if(_0xe0bef9[_0x271e('0x11')](_0x286353))return _0xe0bef9[_0x271e('0x0')](_0x286353);if(_0xe0bef9[_0x271e('0x13')](_0x286353,!0x0),_0x286353&&W[_0x271e('0x1b')](_0x859c6e)['includes'](_0x286353))return _0xe0bef9[_0x271e('0x13')](_0x286353,!0x1),!0x1;if(!_0x4eacc4['requires'])return _0xe0bef9[_0x271e('0x13')](_0x286353,!0x0),!0x0;const _0x4f43ee=_0x4eacc4[_0x271e('0xf')][_0x271e('0x1c')](_0x5b1f63=>v(_0x5b1f63,_0xe0bef9,_0x555b39,_0x859c6e));return _0xe0bef9['set'](_0x286353,_0x4f43ee),_0x4f43ee;}export default function D(_0x23766b,_0x12be85){const _0x108a50={};for(const _0x3c98c3 of _0x23766b[_0x271e('0x2')][_0x271e('0x16')]())w['includes'](_0x3c98c3)||(_0x108a50[_0x3c98c3]=_0x23766b[_0x271e('0x2')][_0x271e('0x0')](_0x3c98c3));const _0x35f0db=_0x108a50['plugins']||[],_0x175140=_0x23766b[_0x271e('0x5')][_0x271e('0x9')]||[],_0x3d1ed2=_0x35f0db['length']?_0x35f0db:_0x175140,_0x18728d=_0x108a50[_0x271e('0xe')]||[];delete _0x108a50['extraPlugins'];const _0x13ef50=_0x108a50[_0x271e('0x3')]||[];delete _0x108a50[_0x271e('0x3')];const _0x21c7ab=_0x23766b[_0x271e('0x7')][_0x271e('0x2')]['get']('plugins')||[],_0x1d2499=_0x3d1ed2[_0x271e('0x1b')](_0x18728d)[_0x271e('0x1b')](_0x21c7ab)[_0x271e('0x6')](_0x2d74d7=>'string'==typeof _0x2d74d7?_0x175140[_0x271e('0x1')](_0x121754=>_0x121754['pluginName']==_0x2d74d7):_0x2d74d7)['filter'](_0x4bbe59=>!_0x13ef50[_0x271e('0x15')](_0x4bbe59)),_0x378ebc=Array[_0x271e('0xb')](new Set(_0x1d2499)),_0x2ae5e3=new Map();return _0x108a50[_0x271e('0xc')]=_0x378ebc[_0x271e('0xd')](_0x51749b=>v(_0x51749b,_0x2ae5e3,_0x23766b[_0x271e('0xc')],_0x12be85)),_0x108a50;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28a5=['startsWith','length','match','split','replace','substring','join','...','pop','slice','indexOf','push'];(function(_0x7448ca,_0x28a54b){const _0x302003=function(_0x2ec64a){while(--_0x2ec64a){_0x7448ca['push'](_0x7448ca['shift']());}};_0x302003(++_0x28a54b);}(_0x28a5,0x82));const _0x3020=function(_0x7448ca,_0x28a54b){_0x7448ca=_0x7448ca-0x0;let _0x302003=_0x28a5[_0x7448ca];return _0x302003;};export default function z(_0x59c011,{limit:_0x250d87,suffix:_0x284c88=_0x3020('0x9')}){const _0x4c776b=[];let _0x261bfa=0x0;const _0x21ff5f=_0x59c011[_0x3020('0x6')](/</g,'\x0a<')[_0x3020('0x6')](/>/g,'>\x0a')[_0x3020('0x6')](/^\n/g,'')[_0x3020('0x6')](/\n$/g,'')[_0x3020('0x5')]('\x0a');for(let _0x3ea5f6=0x0;_0x3ea5f6<_0x21ff5f[_0x3020('0x3')];_0x3ea5f6++){let _0x5911c9=_0x21ff5f[_0x3ea5f6];const _0x54ef3d=Z(_0x5911c9);if(_0x5911c9[_0x3020('0x2')]('<')){if(_0x261bfa>=_0x250d87){const _0x4d740a=_0x5911c9[_0x3020('0x4')](/[a-zA-Z]+/);if(!_0x4d740a){_0x21ff5f[_0x3ea5f6]='';continue;}const _0x16fd8b=_0x4d740a[0x0];_0x5911c9[_0x3020('0x2')]('</')?(_0x4c776b['length']&&(_0x5911c9=''),_0x4c776b[_0x3020('0xa')]()):(_0x4c776b['push'](_0x16fd8b),_0x5911c9='');}}else{if(_0x261bfa>=_0x250d87)_0x5911c9='';else{if(_0x261bfa+_0x54ef3d[_0x3020('0x3')]>=_0x250d87){let _0x1f3620=_0x250d87-_0x261bfa;if('\x20'===_0x54ef3d[_0x1f3620-0x1])_0x1f3620--;else{const _0x1021df=_0x54ef3d[_0x3020('0xb')](_0x1f3620)[_0x3020('0x0')]('\x20');-0x1!==_0x1021df?_0x1f3620+=_0x1021df:_0x1f3620=_0x5911c9[_0x3020('0x3')];}_0x5911c9=_0x54ef3d[_0x3020('0xb')](0x0,_0x1f3620)[_0x3020('0x8')]('')+_0x284c88,_0x261bfa=_0x250d87;}else _0x261bfa+=_0x54ef3d[_0x3020('0x3')];}}_0x21ff5f[_0x3ea5f6]=_0x5911c9;}return _0x21ff5f[_0x3020('0x8')]('\x0a')['replace'](/\n/g,'');}function Z(_0x1e7cb7){const _0x371353=[];for(let _0x2429ad=0x0;_0x2429ad<_0x1e7cb7['length'];_0x2429ad++){const _0x4358d4=_0x1e7cb7[_0x3020('0x7')](_0x2429ad)[_0x3020('0x4')](/^&[a-z0-9#]+;/);if(_0x4358d4){const _0x253ac7=_0x4358d4[0x0];_0x371353['push'](_0x253ac7),_0x2429ad+=_0x253ac7['length']-0x1;}else _0x371353[_0x3020('0x1')](_0x1e7cb7[_0x2429ad]);}return _0x371353;}
23
+ const _0x3a3c=['startsWith','substring','join','pop','replace','length','push','slice','...','match'];(function(_0x51fe4d,_0x3a3c88){const _0x5ebc9d=function(_0x4446cc){while(--_0x4446cc){_0x51fe4d['push'](_0x51fe4d['shift']());}};_0x5ebc9d(++_0x3a3c88);}(_0x3a3c,0x1bc));const _0x5ebc=function(_0x51fe4d,_0x3a3c88){_0x51fe4d=_0x51fe4d-0x0;let _0x5ebc9d=_0x3a3c[_0x51fe4d];return _0x5ebc9d;};export default function z(_0x46dc5d,{limit:_0x55b61c,suffix:_0x514a2f=_0x5ebc('0x4')}){const _0x16f8f3=[];let _0x15f48a=0x0;const _0x3bf07e=_0x46dc5d[_0x5ebc('0x0')](/</g,'\x0a<')[_0x5ebc('0x0')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x5ebc('0x0')](/\n$/g,'')['split']('\x0a');for(let _0x42822c=0x0;_0x42822c<_0x3bf07e[_0x5ebc('0x1')];_0x42822c++){let _0x4db714=_0x3bf07e[_0x42822c];const _0xffa36c=Z(_0x4db714);if(_0x4db714[_0x5ebc('0x6')]('<')){if(_0x15f48a>=_0x55b61c){const _0x6002eb=_0x4db714[_0x5ebc('0x5')](/[a-zA-Z]+/);if(!_0x6002eb){_0x3bf07e[_0x42822c]='';continue;}const _0x4cee4c=_0x6002eb[0x0];_0x4db714[_0x5ebc('0x6')]('</')?(_0x16f8f3[_0x5ebc('0x1')]&&(_0x4db714=''),_0x16f8f3[_0x5ebc('0x9')]()):(_0x16f8f3['push'](_0x4cee4c),_0x4db714='');}}else{if(_0x15f48a>=_0x55b61c)_0x4db714='';else{if(_0x15f48a+_0xffa36c[_0x5ebc('0x1')]>=_0x55b61c){let _0x546136=_0x55b61c-_0x15f48a;if('\x20'===_0xffa36c[_0x546136-0x1])_0x546136--;else{const _0x598bc7=_0xffa36c['slice'](_0x546136)['indexOf']('\x20');-0x1!==_0x598bc7?_0x546136+=_0x598bc7:_0x546136=_0x4db714[_0x5ebc('0x1')];}_0x4db714=_0xffa36c[_0x5ebc('0x3')](0x0,_0x546136)[_0x5ebc('0x8')]('')+_0x514a2f,_0x15f48a=_0x55b61c;}else _0x15f48a+=_0xffa36c[_0x5ebc('0x1')];}}_0x3bf07e[_0x42822c]=_0x4db714;}return _0x3bf07e['join']('\x0a')[_0x5ebc('0x0')](/\n/g,'');}function Z(_0xf0d132){const _0x146ded=[];for(let _0x4dfb2d=0x0;_0x4dfb2d<_0xf0d132['length'];_0x4dfb2d++){const _0x3fa19d=_0xf0d132[_0x5ebc('0x7')](_0x4dfb2d)[_0x5ebc('0x5')](/^&[a-z0-9#]+;/);if(_0x3fa19d){const _0x1cdd62=_0x3fa19d[0x0];_0x146ded[_0x5ebc('0x2')](_0x1cdd62),_0x4dfb2d+=_0x1cdd62[_0x5ebc('0x1')]-0x1;}else _0x146ded[_0x5ebc('0x2')](_0xf0d132[_0x4dfb2d]);}return _0x146ded;}