@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230810.0 → 0.0.0-nightly-20230811.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-20230810.0",
3
+ "version": "0.0.0-nightly-20230811.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-20230810.0",
34
+ "ckeditor5": "0.0.0-nightly-20230811.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 _0x3a94=['isEnabled','comment:modify_all','permissions-set-permissions-invalid-channel-id','collaboration.channelId','no-permissions','context','setPermissions','disableReadOnlyMode','forceDisabled','CommentsOnly','find','pluginName','includes','clearForceDisabled','config','plugins','Permissions','get','noPermissions','addCommentThread','comment:admin','editors','comment:write','CommentsRepository'];(function(_0x2e0462,_0x3a94a5){const _0x43e11e=function(_0x2f1fbd){while(--_0x2f1fbd){_0x2e0462['push'](_0x2e0462['shift']());}};_0x43e11e(++_0x3a94a5);}(_0x3a94,0x125));const _0x43e1=function(_0x2e0462,_0x3a94a5){_0x2e0462=_0x2e0462-0x0;let _0x43e11e=_0x3a94[_0x2e0462];return _0x43e11e;};import{ContextPlugin as _0x53a030,Editor as _0x31634e}from'ckeditor5/src/core';import{CKEditorError as _0x1b3c00}from'ckeditor5/src/utils';export default class n extends _0x53a030{static get[_0x43e1('0x6')](){return _0x43e1('0xb');}[_0x43e1('0x1')](_0x2b7632,_0x38f0e4){let _0x159138;if(_0x38f0e4||(_0x38f0e4=this[_0x43e1('0x0')][_0x43e1('0x9')][_0x43e1('0xc')]('collaboration.channelId')),this[_0x43e1('0x0')]['config'][_0x43e1('0xc')](_0x43e1('0x16'))==_0x38f0e4?_0x159138=this[_0x43e1('0x0')]:_0x43e1('0x10')in this[_0x43e1('0x0')]&&this[_0x43e1('0x0')]['editors']&&(_0x159138=this[_0x43e1('0x0')][_0x43e1('0x10')][_0x43e1('0x5')](_0x26f58c=>_0x26f58c['config']['get']('collaboration.channelId')==_0x38f0e4)),!_0x159138)throw new _0x1b3c00(_0x43e1('0x15'),null);const _0x3c0bc9=_0x159138[_0x43e1('0xa')],_0x1ff436=_0x3c0bc9['has'](_0x43e1('0x12'))?_0x3c0bc9[_0x43e1('0xc')](_0x43e1('0x12')):void 0x0,_0x35f2c8=_0x3c0bc9['has']('CommentsOnly')&&_0x3c0bc9[_0x43e1('0xc')](_0x43e1('0x4')),_0x53561a=_0x2b7632['includes']('document:write'),_0x48825b=_0x2b7632[_0x43e1('0x7')](_0x43e1('0x14')),_0x2e0e2c=_0x2b7632[_0x43e1('0x7')](_0x43e1('0xf')),_0xc58f07=_0x2b7632[_0x43e1('0x7')](_0x43e1('0x11')),_0x4713e2=_0xc58f07||_0x2e0e2c,_0x4fb34c=_0x4713e2||_0x48825b,_0x21e2b5=_0x53561a||_0x4713e2;(_0x35f2c8&&(_0x35f2c8[_0x43e1('0x13')]=!_0x53561a&&_0x4fb34c),_0x159138 instanceof _0x31634e)&&(!(_0x53561a||_0x4fb34c&&_0x1ff436)?_0x159138['enableReadOnlyMode']('no-permissions'):_0x159138[_0x43e1('0x2')](_0x43e1('0x17')));if(_0x1ff436){_0x1ff436[_0x43e1('0x1')]({'admin':_0x2e0e2c,'modifyAll':_0x48825b,'write':_0xc58f07,'resolve':_0x21e2b5},_0x38f0e4);const _0x19686f=_0x159138 instanceof _0x31634e&&_0x159138['commands'][_0x43e1('0xc')](_0x43e1('0xe'));_0x19686f&&(_0x4713e2?_0x19686f[_0x43e1('0x8')](_0x43e1('0xd')):_0x19686f[_0x43e1('0x3')](_0x43e1('0xd')));}}}
23
+ const _0x5984=['document:write','isEnabled','noPermissions','CommentsRepository','has','no-permissions','commands','comment:modify_all','editors','comment:write','includes','Permissions','enableReadOnlyMode','config','CommentsOnly','disableReadOnlyMode','pluginName','clearForceDisabled','get','permissions-set-permissions-invalid-channel-id','find','context','collaboration.channelId','forceDisabled','setPermissions'];(function(_0x5912ad,_0x5984ab){const _0x26645a=function(_0x104cba){while(--_0x104cba){_0x5912ad['push'](_0x5912ad['shift']());}};_0x26645a(++_0x5984ab);}(_0x5984,0x1da));const _0x2664=function(_0x5912ad,_0x5984ab){_0x5912ad=_0x5912ad-0x0;let _0x26645a=_0x5984[_0x5912ad];return _0x26645a;};import{ContextPlugin as _0x54f596,Editor as _0x13dd5e}from'ckeditor5/src/core';import{CKEditorError as _0x1cc3ee}from'ckeditor5/src/utils';export default class n extends _0x54f596{static get[_0x2664('0x11')](){return _0x2664('0xc');}[_0x2664('0x0')](_0x41a4e6,_0x5b86e5){let _0x56cf49;if(_0x5b86e5||(_0x5b86e5=this[_0x2664('0x16')][_0x2664('0xe')]['get'](_0x2664('0x17'))),this[_0x2664('0x16')]['config'][_0x2664('0x13')]('collaboration.channelId')==_0x5b86e5?_0x56cf49=this[_0x2664('0x16')]:_0x2664('0x9')in this[_0x2664('0x16')]&&this[_0x2664('0x16')]['editors']&&(_0x56cf49=this['context'][_0x2664('0x9')][_0x2664('0x15')](_0x3dbf5f=>_0x3dbf5f[_0x2664('0xe')]['get'](_0x2664('0x17'))==_0x5b86e5)),!_0x56cf49)throw new _0x1cc3ee(_0x2664('0x14'),null);const _0x4d6c93=_0x56cf49['plugins'],_0x13f921=_0x4d6c93[_0x2664('0x5')](_0x2664('0x4'))?_0x4d6c93[_0x2664('0x13')](_0x2664('0x4')):void 0x0,_0x3db0f0=_0x4d6c93[_0x2664('0x5')](_0x2664('0xf'))&&_0x4d6c93[_0x2664('0x13')](_0x2664('0xf')),_0x1a98c0=_0x41a4e6[_0x2664('0xb')](_0x2664('0x1')),_0xebdd5b=_0x41a4e6[_0x2664('0xb')](_0x2664('0x8')),_0x4743fe=_0x41a4e6[_0x2664('0xb')]('comment:admin'),_0x22a2b4=_0x41a4e6['includes'](_0x2664('0xa')),_0x520d33=_0x22a2b4||_0x4743fe,_0x25baff=_0x520d33||_0xebdd5b,_0x356c1e=_0x1a98c0||_0x520d33;(_0x3db0f0&&(_0x3db0f0[_0x2664('0x2')]=!_0x1a98c0&&_0x25baff),_0x56cf49 instanceof _0x13dd5e)&&(!(_0x1a98c0||_0x25baff&&_0x13f921)?_0x56cf49[_0x2664('0xd')]('no-permissions'):_0x56cf49[_0x2664('0x10')](_0x2664('0x6')));if(_0x13f921){_0x13f921[_0x2664('0x0')]({'admin':_0x4743fe,'modifyAll':_0xebdd5b,'write':_0x22a2b4,'resolve':_0x356c1e},_0x5b86e5);const _0x4033f5=_0x56cf49 instanceof _0x13dd5e&&_0x56cf49[_0x2664('0x7')][_0x2664('0x13')]('addCommentThread');_0x4033f5&&(_0x520d33?_0x4033f5[_0x2664('0x12')](_0x2664('0x3')):_0x4033f5[_0x2664('0x18')](_0x2664('0x3')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf0a8=['ck-user__img','push','isAnonymous','div','setTemplate','avatar','initials','ck-user__icon','content','ck-user__avatar','ck-user','extendTemplate','ck\x20ck-user__name','notificationView','ck-user__notification','name','ck\x20ck-user__name\x20ck-user__name--hidden','url(\x27'];(function(_0x27cd95,_0xf0a8b4){const _0xb4fcd5=function(_0x36f743){while(--_0x36f743){_0x27cd95['push'](_0x27cd95['shift']());}};_0xb4fcd5(++_0xf0a8b4);}(_0xf0a8,0x10b));const _0xb4fc=function(_0x27cd95,_0xf0a8b4){_0x27cd95=_0x27cd95-0x0;let _0xb4fcd5=_0xf0a8[_0x27cd95];return _0xb4fcd5;};import{View as _0x2c95fc,IconView as _0x4892c9}from'ckeditor5/src/ui';import _0x324556 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x2c95fc{constructor(_0x48e695,_0x1fd4c5,_0x3b8660){super(_0x48e695),this[_0xb4fc('0x0')]=_0x1fd4c5[_0xb4fc('0x0')],this[_0xb4fc('0x10')]=null;const _0x1b9248=['ck',_0xb4fc('0x3')];if(_0x1fd4c5[_0xb4fc('0x5')]&&_0x1b9248[_0xb4fc('0x4')]('ck-user__anonymous'),_0x1fd4c5['avatar']&&_0x1b9248[_0xb4fc('0x4')](_0xb4fc('0xc')),_0x3b8660){const _0x33c323=new _0x4892c9();_0x33c323[_0xb4fc('0xe')]({'attributes':{'class':[_0xb4fc('0xa')]}}),_0x33c323[_0xb4fc('0xb')]=_0x324556,this[_0xb4fc('0x10')]={'tag':_0xb4fc('0x6'),'attributes':{'class':['ck',_0xb4fc('0x11')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3b8660},'children':[_0x33c323]};}const _0x3a25dc=[{'tag':'div','attributes':{'class':_0x1b9248,'style':{'background-image':_0x1fd4c5[_0xb4fc('0x8')]?_0xb4fc('0x2')+_0x1fd4c5[_0xb4fc('0x8')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1fd4c5['avatar']?_0xb4fc('0x1'):_0xb4fc('0xf')},'children':[{'text':_0x1fd4c5[_0xb4fc('0x9')]}]}];this[_0xb4fc('0x10')]&&_0x3a25dc['push'](this[_0xb4fc('0x10')]),this[_0xb4fc('0x7')]({'tag':_0xb4fc('0x6'),'attributes':{'class':['ck',_0xb4fc('0xd')],'data-user-id':_0x1fd4c5['id']},'children':_0x3a25dc});}}
23
+ const _0x2520=['ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__notification','ck\x20ck-user__name','initials','notificationView','ck-user__icon','setTemplate','url(\x27','div','name','push','ck-user__anonymous','isAnonymous','ck-user__avatar','avatar','extendTemplate'];(function(_0x6ff108,_0x25202a){const _0x1a0b67=function(_0x5520f6){while(--_0x5520f6){_0x6ff108['push'](_0x6ff108['shift']());}};_0x1a0b67(++_0x25202a);}(_0x2520,0x81));const _0x1a0b=function(_0x6ff108,_0x25202a){_0x6ff108=_0x6ff108-0x0;let _0x1a0b67=_0x2520[_0x6ff108];return _0x1a0b67;};import{View as _0x137ec6,IconView as _0x4e5c69}from'ckeditor5/src/ui';import _0x21fa73 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x137ec6{constructor(_0x26a3ae,_0x50fc64,_0x14e6df){super(_0x26a3ae),this['name']=_0x50fc64[_0x1a0b('0x0')],this[_0x1a0b('0xc')]=null;const _0x36e7d0=['ck','ck-user__img'];if(_0x50fc64[_0x1a0b('0x3')]&&_0x36e7d0['push'](_0x1a0b('0x2')),_0x50fc64['avatar']&&_0x36e7d0[_0x1a0b('0x1')](_0x1a0b('0x4')),_0x14e6df){const _0x3c0bc7=new _0x4e5c69();_0x3c0bc7[_0x1a0b('0x6')]({'attributes':{'class':[_0x1a0b('0xd')]}}),_0x3c0bc7['content']=_0x21fa73,this['notificationView']={'tag':_0x1a0b('0x10'),'attributes':{'class':['ck',_0x1a0b('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x14e6df},'children':[_0x3c0bc7]};}const _0x11a978=[{'tag':_0x1a0b('0x10'),'attributes':{'class':_0x36e7d0,'style':{'background-image':_0x50fc64[_0x1a0b('0x5')]?_0x1a0b('0xf')+_0x50fc64['avatar']+'\x27)':''}}},{'tag':_0x1a0b('0x10'),'attributes':{'class':_0x50fc64[_0x1a0b('0x5')]?_0x1a0b('0x8'):_0x1a0b('0xa')},'children':[{'text':_0x50fc64[_0x1a0b('0xb')]}]}];this['notificationView']&&_0x11a978[_0x1a0b('0x1')](this[_0x1a0b('0xc')]),this[_0x1a0b('0xe')]({'tag':_0x1a0b('0x10'),'attributes':{'class':['ck',_0x1a0b('0x7')],'data-user-id':_0x50fc64['id']},'children':_0x11a978});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16b0=['requires','getBackgroundColorClass','_isAnonymous','has','length','ck-user__marker--','getOperationAuthor','_getInitial','users-me-already-defined','users-add-invalid-id','users-add-duplicated-id','_lastColor','destroy','licenseKey','name','getMarkerClass','trial-license-key-reached-limit-revisions','_locale','includes','users.anonymousUserId','_id','info','licenseKeyTrial','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.','initials','define','licenseKeyInvalid','_addAnonymousUser','trial-license-key-reached-limit-changes','string','users','Users','licenseKeyTrialLimit:revisions','config','_getNextColor','decorate','trim','_licenseKeyCheckInterval','_myId','isAnonymous','users.colorsCount','licenseKeyTrialLimit:time','trial-license-key-reached-limit-time','charAt','get','users-me-missing-user','locale','getUser','color','context','defineMe','addUser','licenseKeyValid','licenseKeyTrialLimit:operations','split','anonymous-user','pluginName','Anonymous'];(function(_0x1a327b,_0x16b02d){const _0x1ba811=function(_0x123fb3){while(--_0x123fb3){_0x1a327b['push'](_0x1a327b['shift']());}};_0x1ba811(++_0x16b02d);}(_0x16b0,0xd2));const _0x1ba8=function(_0x1a327b,_0x16b02d){_0x1a327b=_0x1a327b-0x0;let _0x1ba811=_0x16b0[_0x1a327b];return _0x1ba811;};import{ContextPlugin as _0x2493ad}from'ckeditor5/src/core';import{Collection as _0xa94985,CKEditorError as _0x62335}from'ckeditor5/src/utils';import _0x45790a from'./permissions';import{getTranslation as _0x489db4}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x2493ad{static get[_0x1ba8('0x14')](){return _0x1ba8('0x35');}static get[_0x1ba8('0x16')](){return[_0x45790a];}constructor(_0x3a8077){super(_0x3a8077),this[_0x1ba8('0xd')][_0x1ba8('0x37')][_0x1ba8('0x2f')](_0x1ba8('0x29'),_0x1ba8('0x13')),this[_0x1ba8('0xd')][_0x1ba8('0x37')][_0x1ba8('0x2f')](_0x1ba8('0x4'),0x8),this[_0x1ba8('0x34')]=new _0xa94985(),this[_0x1ba8('0x27')]=_0x3a8077[_0x1ba8('0xa')],this[_0x1ba8('0x1')]=null,this[_0x1ba8('0x21')]=0x0,this[_0x1ba8('0x2')]=null,this[_0x1ba8('0x39')]('getOperationAuthor');}['init'](){const _0x4ef340=this[_0x1ba8('0xd')];this[_0x1ba8('0x23')]=_0x4ef340[_0x1ba8('0x37')][_0x1ba8('0x8')](_0x1ba8('0x23'));const _0x524726=[_0x1ba8('0x2c'),_0x1ba8('0x30'),_0x1ba8('0x10'),_0x1ba8('0x11'),'licenseKeyTrialLimit:time',_0x1ba8('0x36')];this[_0x1ba8('0x1')]=setInterval(()=>{let _0x361dbe;for(const _0x31380b in _0x4ef340){const _0x588fb8=_0x4ef340[_0x31380b];if(_0x524726[_0x1ba8('0x28')](_0x588fb8)){delete _0x4ef340[_0x31380b],_0x361dbe=_0x588fb8;break;}}if(_0x1ba8('0x30')===_0x361dbe)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x62335('invalid-license-key',null);if('licenseKeyTrial'===_0x361dbe&&console[_0x1ba8('0x2b')](_0x1ba8('0x2d')),_0x1ba8('0x11')===_0x361dbe)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x62335(_0x1ba8('0x32'),null);if(_0x1ba8('0x5')===_0x361dbe)throw clearInterval(this[_0x1ba8('0x1')]),new _0x62335(_0x1ba8('0x6'),null);if(_0x1ba8('0x36')===_0x361dbe)throw clearInterval(this[_0x1ba8('0x1')]),new _0x62335(_0x1ba8('0x26'),null);_0x1ba8('0x10')===_0x361dbe&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x1ba8('0x2')]?null:this['getUser'](this[_0x1ba8('0x2')]);}[_0x1ba8('0xf')]({id:_0x4d57e9,name:_0x1781ab,..._0x237445}){if(!_0x4d57e9||_0x1ba8('0x33')!=typeof _0x4d57e9)throw new _0x62335(_0x1ba8('0x1f'));if(this[_0x1ba8('0x34')][_0x1ba8('0x19')](_0x4d57e9))throw new _0x62335(_0x1ba8('0x20'),null,{'id':_0x4d57e9});const _0x134389={..._0x237445,'id':_0x4d57e9,'name':a(this[_0x1ba8('0x27')],_0x1781ab),'color':this[_0x1ba8('0x38')]()};_0x134389[_0x1ba8('0x24')]=a(this[_0x1ba8('0x27')],_0x134389[_0x1ba8('0x24')]);const _0x3719fe=new User(_0x134389);return this[_0x1ba8('0x34')]['add'](_0x3719fe),_0x3719fe;}['getUser'](_0xe19a64){return this[_0x1ba8('0x34')][_0x1ba8('0x8')](_0xe19a64);}['useAnonymousUser'](){const _0xff8ce0=this[_0x1ba8('0xd')][_0x1ba8('0x37')]['get'](_0x1ba8('0x29'));this[_0x1ba8('0x2')]||this[_0x1ba8('0xe')](_0xff8ce0);}['defineMe'](_0x17e197){if(this[_0x1ba8('0x2')])throw new _0x62335(_0x1ba8('0x1e'),null);if(!this[_0x1ba8('0xb')](_0x17e197))throw new _0x62335(_0x1ba8('0x9'),null);this[_0x1ba8('0x2')]=_0x17e197;}[_0x1ba8('0x1c')](){return this['me'];}[_0x1ba8('0x22')](){super[_0x1ba8('0x22')](),clearInterval(this[_0x1ba8('0x1')]);}[_0x1ba8('0x38')](){const _0x390bf7=this['context']['config'][_0x1ba8('0x8')]('users.colorsCount');return this['_lastColor']>=_0x390bf7&&(this[_0x1ba8('0x21')]=0x0),new u(this[_0x1ba8('0x21')]++);}[_0x1ba8('0x31')](){const _0x2fbec6=this[_0x1ba8('0xd')][_0x1ba8('0x37')]['get'](_0x1ba8('0x29'));this[_0x1ba8('0xf')]({'id':_0x2fbec6,'name':_0x489db4(this[_0x1ba8('0x27')],_0x1ba8('0x15'))})[_0x1ba8('0x18')]=!0x0;}}export class User{constructor(_0x19c584){this['id']=_0x19c584['id'],this['color']=_0x19c584[_0x1ba8('0xc')],this[_0x1ba8('0x24')]=_0x19c584[_0x1ba8('0x24')],this['avatar']=_0x19c584['avatar'],this[_0x1ba8('0x18')]=!0x1;}get[_0x1ba8('0x3')](){return this[_0x1ba8('0x18')];}get[_0x1ba8('0x2e')](){const _0x5efd12=this[_0x1ba8('0x24')][_0x1ba8('0x12')]('\x20');return 0x1===_0x5efd12[_0x1ba8('0x1a')]?this[_0x1ba8('0x1d')](_0x5efd12[0x0]):this[_0x1ba8('0x1d')](_0x5efd12[0x0])+this[_0x1ba8('0x1d')](_0x5efd12[_0x5efd12[_0x1ba8('0x1a')]-0x1]);}['_getInitial'](_0x5b5fe5){return _0x5b5fe5[_0x1ba8('0x7')](0x0)['toUpperCase']();}}function a(_0x59c994,_0xde34b0=''){return''==(_0xde34b0=_0xde34b0[_0x1ba8('0x0')]())?_0x489db4(_0x59c994,_0x1ba8('0x15')):_0xde34b0;}class u{constructor(_0x5a8ac2){this[_0x1ba8('0x2a')]=_0x5a8ac2;}[_0x1ba8('0x17')](){return'ck-user__bg-color--'+this[_0x1ba8('0x2a')];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}[_0x1ba8('0x25')](){return _0x1ba8('0x1b')+this[_0x1ba8('0x2a')];}}
23
+ const _0x279c=['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.','pluginName','licenseKeyInvalid','trial-license-key-reached-limit-time','users-add-invalid-id','config','locale','split','trim','_getNextColor','users-me-already-defined','getSelectionClass','anonymous-user','color','_addAnonymousUser','users-add-duplicated-id','getBackgroundColorClass','users','_licenseKeyCheckInterval','licenseKeyTrialLimit:operations','has','decorate','length','licenseKeyTrialLimit:revisions','_isAnonymous','trial-license-key-reached-limit-revisions','isAnonymous','licenseKeyValid','_myId','string','trial-license-key-reached-limit-changes','toUpperCase','defineMe','licenseKeyTrial','_locale','avatar','requires','ck-user__marker--','getOperationAuthor','_id','users.anonymousUserId','ck-user__selection--','_lastColor','name','licenseKeyTrialLimit:time','licenseKey','invalid-license-key','get','_getInitial','destroy','add','info','addUser','Anonymous','includes','getUser','context','initials','init','ck-user__bg-color--'];(function(_0x278a28,_0x279c95){const _0x30537d=function(_0x2687d1){while(--_0x2687d1){_0x278a28['push'](_0x278a28['shift']());}};_0x30537d(++_0x279c95);}(_0x279c,0x10a));const _0x3053=function(_0x278a28,_0x279c95){_0x278a28=_0x278a28-0x0;let _0x30537d=_0x279c[_0x278a28];return _0x30537d;};import{ContextPlugin as _0x5c8df7}from'ckeditor5/src/core';import{Collection as _0x5a3e88,CKEditorError as _0x5ebe8f}from'ckeditor5/src/utils';import _0x321467 from'./permissions';import{getTranslation as _0x31c6b9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5c8df7{static get[_0x3053('0x23')](){return'Users';}static get[_0x3053('0xa')](){return[_0x321467];}constructor(_0x566429){super(_0x566429),this[_0x3053('0x1e')]['config']['define']('users.anonymousUserId',_0x3053('0x2e')),this[_0x3053('0x1e')]['config']['define']('users.colorsCount',0x8),this[_0x3053('0x33')]=new _0x5a3e88(),this[_0x3053('0x8')]=_0x566429[_0x3053('0x28')],this[_0x3053('0x34')]=null,this[_0x3053('0x10')]=0x0,this['_myId']=null,this[_0x3053('0x37')](_0x3053('0xc'));}[_0x3053('0x20')](){const _0x15f59f=this[_0x3053('0x1e')];this['licenseKey']=_0x15f59f['config'][_0x3053('0x15')](_0x3053('0x13'));const _0x1746f8=[_0x3053('0x7'),_0x3053('0x24'),_0x3053('0x1'),_0x3053('0x35'),_0x3053('0x12'),_0x3053('0x39')];this[_0x3053('0x34')]=setInterval(()=>{let _0x43fdc2;for(const _0x31e589 in _0x15f59f){const _0x221535=_0x15f59f[_0x31e589];if(_0x1746f8[_0x3053('0x1c')](_0x221535)){delete _0x15f59f[_0x31e589],_0x43fdc2=_0x221535;break;}}if(_0x3053('0x24')===_0x43fdc2)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ebe8f(_0x3053('0x14'),null);if('licenseKeyTrial'===_0x43fdc2&&console[_0x3053('0x19')](_0x3053('0x22')),'licenseKeyTrialLimit:operations'===_0x43fdc2)throw clearInterval(this[_0x3053('0x34')]),new _0x5ebe8f(_0x3053('0x4'),null);if('licenseKeyTrialLimit:time'===_0x43fdc2)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ebe8f(_0x3053('0x25'),null);if(_0x3053('0x39')===_0x43fdc2)throw clearInterval(this[_0x3053('0x34')]),new _0x5ebe8f(_0x3053('0x3b'),null);_0x3053('0x1')===_0x43fdc2&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x3053('0x30')]();}get['me'](){return null==this[_0x3053('0x2')]?null:this[_0x3053('0x1d')](this[_0x3053('0x2')]);}[_0x3053('0x1a')]({id:_0x2026cf,name:_0x249454,..._0x26b8bd}){if(!_0x2026cf||_0x3053('0x3')!=typeof _0x2026cf)throw new _0x5ebe8f(_0x3053('0x26'));if(this['users'][_0x3053('0x36')](_0x2026cf))throw new _0x5ebe8f(_0x3053('0x31'),null,{'id':_0x2026cf});const _0x1881c6={..._0x26b8bd,'id':_0x2026cf,'name':a(this[_0x3053('0x8')],_0x249454),'color':this['_getNextColor']()};_0x1881c6[_0x3053('0x11')]=a(this[_0x3053('0x8')],_0x1881c6['name']);const _0x51c33b=new User(_0x1881c6);return this[_0x3053('0x33')][_0x3053('0x18')](_0x51c33b),_0x51c33b;}[_0x3053('0x1d')](_0xe55704){return this['users'][_0x3053('0x15')](_0xe55704);}['useAnonymousUser'](){const _0x54f1a8=this['context'][_0x3053('0x27')][_0x3053('0x15')]('users.anonymousUserId');this[_0x3053('0x2')]||this['defineMe'](_0x54f1a8);}[_0x3053('0x6')](_0x182d69){if(this[_0x3053('0x2')])throw new _0x5ebe8f(_0x3053('0x2c'),null);if(!this[_0x3053('0x1d')](_0x182d69))throw new _0x5ebe8f('users-me-missing-user',null);this[_0x3053('0x2')]=_0x182d69;}[_0x3053('0xc')](){return this['me'];}[_0x3053('0x17')](){super['destroy'](),clearInterval(this[_0x3053('0x34')]);}[_0x3053('0x2b')](){const _0xcf5907=this[_0x3053('0x1e')][_0x3053('0x27')]['get']('users.colorsCount');return this['_lastColor']>=_0xcf5907&&(this[_0x3053('0x10')]=0x0),new u(this[_0x3053('0x10')]++);}[_0x3053('0x30')](){const _0x3513d=this[_0x3053('0x1e')][_0x3053('0x27')][_0x3053('0x15')](_0x3053('0xe'));this[_0x3053('0x1a')]({'id':_0x3513d,'name':_0x31c6b9(this[_0x3053('0x8')],_0x3053('0x1b'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0xf8073c){this['id']=_0xf8073c['id'],this[_0x3053('0x2f')]=_0xf8073c[_0x3053('0x2f')],this[_0x3053('0x11')]=_0xf8073c[_0x3053('0x11')],this[_0x3053('0x9')]=_0xf8073c[_0x3053('0x9')],this[_0x3053('0x3a')]=!0x1;}get[_0x3053('0x0')](){return this[_0x3053('0x3a')];}get[_0x3053('0x1f')](){const _0x1a4cb8=this[_0x3053('0x11')][_0x3053('0x29')]('\x20');return 0x1===_0x1a4cb8[_0x3053('0x38')]?this[_0x3053('0x16')](_0x1a4cb8[0x0]):this[_0x3053('0x16')](_0x1a4cb8[0x0])+this[_0x3053('0x16')](_0x1a4cb8[_0x1a4cb8[_0x3053('0x38')]-0x1]);}[_0x3053('0x16')](_0x5438cd){return _0x5438cd['charAt'](0x0)[_0x3053('0x5')]();}}function a(_0x32b75d,_0x2dcc1d=''){return''==(_0x2dcc1d=_0x2dcc1d[_0x3053('0x2a')]())?_0x31c6b9(_0x32b75d,_0x3053('0x1b')):_0x2dcc1d;}class u{constructor(_0x26b382){this['_id']=_0x26b382;}[_0x3053('0x32')](){return _0x3053('0x21')+this['_id'];}[_0x3053('0x2d')](){return _0x3053('0xf')+this['_id'];}['getMarkerClass'](){return _0x3053('0xb')+this[_0x3053('0xd')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x13587c,_0x1fb1b1){const t=_0x13587c['t'];switch(_0x1fb1b1){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(_0x350c58,_0x20e5bb){const t=_0x350c58['t'];switch(_0x20e5bb){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 _0x2567=['submit','render','cancel','fire','destroy','appendChild','element','once','message','remove','locale','registerChild','cancelConfirm','_removeConfirm','isConfirm','focus','deregisterChild','confirmView','set'];(function(_0x1d3edd,_0x2567da){var _0x4aa4c2=function(_0x2614a7){while(--_0x2614a7){_0x1d3edd['push'](_0x1d3edd['shift']());}};_0x4aa4c2(++_0x2567da);}(_0x2567,0xde));var _0x4aa4=function(_0x1d3edd,_0x2567da){_0x1d3edd=_0x1d3edd-0x0;var _0x4aa4c2=_0x2567[_0x1d3edd];return _0x4aa4c2;};import _0xa82f0f from'./confirmview';export default function m(_0x25c6cf){return class extends _0x25c6cf{['showConfirm'](_0x5ec929,_0x132061){return this[_0x4aa4('0x4')]=new _0xa82f0f(this[_0x4aa4('0x10')]),this['confirmView'][_0x4aa4('0x7')](),this[_0x4aa4('0x4')][_0x4aa4('0xe')]=_0x5ec929,this[_0x4aa4('0x4')][_0x4aa4('0xd')](_0x4aa4('0x8'),()=>{this[_0x4aa4('0x0')]();}),this[_0x4aa4('0x4')][_0x4aa4('0xd')](_0x4aa4('0x6'),()=>{this[_0x4aa4('0x0')]();}),_0x132061[_0x4aa4('0xb')](this[_0x4aa4('0x4')][_0x4aa4('0xc')]),this[_0x4aa4('0x11')](this['confirmView']),this[_0x4aa4('0xc')]['focus'](),this[_0x4aa4('0x5')](_0x4aa4('0x1'),!0x0),new Promise(_0xc90b96=>this[_0x4aa4('0x4')]['on'](_0x4aa4('0x6'),_0xc90b96));}[_0x4aa4('0x12')](){this[_0x4aa4('0x1')]&&this[_0x4aa4('0x4')][_0x4aa4('0x9')](_0x4aa4('0x8'));}[_0x4aa4('0x0')](){this['element']&&this[_0x4aa4('0x4')]&&this[_0x4aa4('0x4')][_0x4aa4('0xc')]&&(this[_0x4aa4('0xc')][_0x4aa4('0x2')](),this['confirmView'][_0x4aa4('0xc')][_0x4aa4('0xf')](),this[_0x4aa4('0x3')](this[_0x4aa4('0x4')]),this[_0x4aa4('0x1')]=!0x1,this[_0x4aa4('0x4')][_0x4aa4('0xa')](),this[_0x4aa4('0x4')]=void 0x0);}};}
23
+ var _0x412c=['_removeConfirm','cancelConfirm','confirmView','appendChild','cancel','fire','element','showConfirm','set','isConfirm','once','render','remove','deregisterChild','focus','submit','destroy'];(function(_0x23c097,_0x412c4b){var _0x1eb556=function(_0x552b3d){while(--_0x552b3d){_0x23c097['push'](_0x23c097['shift']());}};_0x1eb556(++_0x412c4b);}(_0x412c,0xfa));var _0x1eb5=function(_0x23c097,_0x412c4b){_0x23c097=_0x23c097-0x0;var _0x1eb556=_0x412c[_0x23c097];return _0x1eb556;};import _0x419ff4 from'./confirmview';export default function m(_0x23c3f9){return class extends _0x23c3f9{[_0x1eb5('0xc')](_0x5776ae,_0x378be7){return this['confirmView']=new _0x419ff4(this['locale']),this[_0x1eb5('0x7')][_0x1eb5('0x10')](),this['confirmView']['message']=_0x5776ae,this[_0x1eb5('0x7')][_0x1eb5('0xf')](_0x1eb5('0x9'),()=>{this[_0x1eb5('0x5')]();}),this['confirmView'][_0x1eb5('0xf')](_0x1eb5('0x3'),()=>{this['_removeConfirm']();}),_0x378be7[_0x1eb5('0x8')](this[_0x1eb5('0x7')]['element']),this['registerChild'](this[_0x1eb5('0x7')]),this[_0x1eb5('0xb')][_0x1eb5('0x2')](),this[_0x1eb5('0xd')](_0x1eb5('0xe'),!0x0),new Promise(_0x3a500f=>this[_0x1eb5('0x7')]['on']('submit',_0x3a500f));}[_0x1eb5('0x6')](){this[_0x1eb5('0xe')]&&this[_0x1eb5('0x7')][_0x1eb5('0xa')](_0x1eb5('0x9'));}[_0x1eb5('0x5')](){this[_0x1eb5('0xb')]&&this[_0x1eb5('0x7')]&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView'][_0x1eb5('0xb')][_0x1eb5('0x0')](),this[_0x1eb5('0x1')](this['confirmView']),this[_0x1eb5('0xe')]=!0x1,this['confirmView'][_0x1eb5('0x4')](),this[_0x1eb5('0x7')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15f9=['message','label','submit','div','_createButtonView','Yes','ck-thread__remove-confirm','cancel','cancelView','ck-thread__remove-confirm-actions','bindTemplate','ck-thread__remove-confirm-','Are\x20you\x20sure?','icon','check','fire','set','submitView'];(function(_0xe3b4f2,_0x15f9ab){const _0x400062=function(_0x37e0da){while(--_0x37e0da){_0xe3b4f2['push'](_0xe3b4f2['shift']());}};_0x400062(++_0x15f9ab);}(_0x15f9,0x9f));const _0x4000=function(_0xe3b4f2,_0x15f9ab){_0xe3b4f2=_0xe3b4f2-0x0;let _0x400062=_0x15f9[_0xe3b4f2];return _0x400062;};import{View as _0x4cb54b,ButtonView as _0x2b47fa}from'ckeditor5/src/ui';import{icons as _0x537589}from'ckeditor5/src/core';import{getTranslation as _0x1ab431}from'./common-translations';export default class h extends _0x4cb54b{constructor(_0x5eb06b){super(_0x5eb06b);const _0xfa5cee=this[_0x4000('0xd')];this[_0x4000('0x2')]=this[_0x4000('0x7')](_0x5eb06b,_0x1ab431(_0x5eb06b,_0x4000('0x8')),_0x537589[_0x4000('0x11')],_0x4000('0x5')),this[_0x4000('0xb')]=this[_0x4000('0x7')](_0x5eb06b,_0x1ab431(_0x5eb06b,'No'),_0x537589[_0x4000('0xa')],_0x4000('0xa')),this[_0x4000('0x1')]('message',_0x1ab431(_0x5eb06b,_0x4000('0xf'))),this['setTemplate']({'tag':_0x4000('0x6'),'attributes':{'class':[_0x4000('0x9')]},'children':[{'tag':_0x4000('0x6'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0xfa5cee['to'](_0x4000('0x3'))}]},{'tag':_0x4000('0x6'),'attributes':{'class':_0x4000('0xc')},'children':[this['submitView'],this['cancelView']]}]}]});}[_0x4000('0x7')](_0x2e88fb,_0xfa20c0,_0x41f315,_0x3acddf){const _0x49e755=new _0x2b47fa(_0x2e88fb);return _0x49e755[_0x4000('0x4')]=_0xfa20c0,_0x49e755[_0x4000('0x10')]=_0x41f315,_0x49e755['extendTemplate']({'attributes':{'class':_0x4000('0xe')+_0x3acddf}}),_0x49e755['on']('execute',()=>this[_0x4000('0x0')](_0x3acddf)),_0x49e755;}}
23
+ const _0x1e58=['submitView','Yes','check','message','cancel','ck-thread__remove-confirm','_createButtonView','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','extendTemplate','icon','setTemplate','ck-thread__remove-confirm-actions','bindTemplate','cancelView','set','div','ck-thread__remove-confirm-','execute','label','fire','submit'];(function(_0x11f828,_0x1e5879){const _0x3c0d7e=function(_0x5d6dac){while(--_0x5d6dac){_0x11f828['push'](_0x11f828['shift']());}};_0x3c0d7e(++_0x1e5879);}(_0x1e58,0xaf));const _0x3c0d=function(_0x11f828,_0x1e5879){_0x11f828=_0x11f828-0x0;let _0x3c0d7e=_0x1e58[_0x11f828];return _0x3c0d7e;};import{View as _0xe389cc,ButtonView as _0xe4d18f}from'ckeditor5/src/ui';import{icons as _0x2ae899}from'ckeditor5/src/core';import{getTranslation as _0x56e9b4}from'./common-translations';export default class h extends _0xe389cc{constructor(_0x6a7f72){super(_0x6a7f72);const _0x2be5e8=this[_0x3c0d('0xe')];this[_0x3c0d('0x1')]=this[_0x3c0d('0x7')](_0x6a7f72,_0x56e9b4(_0x6a7f72,_0x3c0d('0x2')),_0x2ae899[_0x3c0d('0x3')],_0x3c0d('0x0')),this[_0x3c0d('0xf')]=this[_0x3c0d('0x7')](_0x6a7f72,_0x56e9b4(_0x6a7f72,'No'),_0x2ae899[_0x3c0d('0x5')],_0x3c0d('0x5')),this[_0x3c0d('0x10')](_0x3c0d('0x4'),_0x56e9b4(_0x6a7f72,_0x3c0d('0x9'))),this[_0x3c0d('0xc')]({'tag':_0x3c0d('0x11'),'attributes':{'class':[_0x3c0d('0x6')]},'children':[{'tag':_0x3c0d('0x11'),'attributes':{'class':_0x3c0d('0x8')},'children':[{'tag':'p','children':[{'text':_0x2be5e8['to'](_0x3c0d('0x4'))}]},{'tag':_0x3c0d('0x11'),'attributes':{'class':_0x3c0d('0xd')},'children':[this[_0x3c0d('0x1')],this[_0x3c0d('0xf')]]}]}]});}['_createButtonView'](_0xbfb9b6,_0x43f85c,_0x17ef7a,_0x2d8735){const _0xcadd88=new _0xe4d18f(_0xbfb9b6);return _0xcadd88[_0x3c0d('0x14')]=_0x43f85c,_0xcadd88[_0x3c0d('0xb')]=_0x17ef7a,_0xcadd88[_0x3c0d('0xa')]({'attributes':{'class':_0x3c0d('0x12')+_0x2d8735}}),_0xcadd88['on'](_0x3c0d('0x13'),()=>this[_0x3c0d('0x15')](_0x2d8735)),_0xcadd88;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7f8d=['MM-dd-yyyy\x20hh:mma','function','string','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','invalid-date-time-format','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma'];(function(_0x50f5e1,_0x7f8d57){const _0x4db455=function(_0x185790){while(--_0x185790){_0x50f5e1['push'](_0x50f5e1['shift']());}};_0x4db455(++_0x7f8d57);}(_0x7f8d,0x1b8));const _0x4db4=function(_0x50f5e1,_0x7f8d57){_0x50f5e1=_0x50f5e1-0x0;let _0x4db455=_0x7f8d[_0x50f5e1];return _0x4db455;};import _0x4d246c from'date-fns/format';import _0x229a5a from'date-fns/parseISO';import _0x21f941 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x6f7114}from'ckeditor5/src/utils';export default function E(_0x240ef0={}){if(void 0x0!==_0x240ef0[_0x4db4('0x4')]&&_0x4db4('0x1')!=typeof _0x240ef0[_0x4db4('0x4')])throw new _0x6f7114(_0x4db4('0x5'));return _0x1180d5=>{const _0x156314=_0x4db4('0x2')==typeof _0x1180d5?_0x229a5a(_0x1180d5):_0x1180d5,_0x4f8bc2=new Date(),_0x5d78c2=_0x21f941(_0x4f8bc2,_0x156314);return _0x240ef0[_0x4db4('0x4')]?_0x240ef0[_0x4db4('0x4')](_0x156314):_0x4d246c(_0x156314,0x0===_0x5d78c2?_0x4db4('0x6'):0x1===_0x5d78c2?_0x4db4('0x7'):_0x5d78c2<0x7?_0x4db4('0x3'):_0x4db4('0x0'));};}
23
+ const _0xd605=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','invalid-date-time-format','dateTimeFormat','string','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma'];(function(_0x238f3a,_0xd605f0){const _0x4907f7=function(_0x1d7e65){while(--_0x1d7e65){_0x238f3a['push'](_0x238f3a['shift']());}};_0x4907f7(++_0xd605f0);}(_0xd605,0xf9));const _0x4907=function(_0x238f3a,_0xd605f0){_0x238f3a=_0x238f3a-0x0;let _0x4907f7=_0xd605[_0x238f3a];return _0x4907f7;};import _0x4df54b from'date-fns/format';import _0x3501bf from'date-fns/parseISO';import _0x7a21a2 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x46c496}from'ckeditor5/src/utils';export default function E(_0x9ebb={}){if(void 0x0!==_0x9ebb[_0x4907('0x6')]&&'function'!=typeof _0x9ebb[_0x4907('0x6')])throw new _0x46c496(_0x4907('0x5'));return _0x1b026e=>{const _0xa94483=_0x4907('0x0')==typeof _0x1b026e?_0x3501bf(_0x1b026e):_0x1b026e,_0x12b234=new Date(),_0x1a2db6=_0x7a21a2(_0x12b234,_0xa94483);return _0x9ebb['dateTimeFormat']?_0x9ebb[_0x4907('0x6')](_0xa94483):_0x4df54b(_0xa94483,0x0===_0x1a2db6?_0x4907('0x4'):0x1===_0x1a2db6?_0x4907('0x1'):_0x1a2db6<0x7?_0x4907('0x3'):_0x4907('0x2'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5411=['mapViewToDom','sort','item','map','view','push','length','values','domConverter','markerNameToElements','domElement','mapper'];(function(_0xd0d798,_0x541113){const _0x19eedb=function(_0x50697e){while(--_0x50697e){_0xd0d798['push'](_0xd0d798['shift']());}};_0x19eedb(++_0x541113);}(_0x5411,0x9a));const _0x19ee=function(_0xd0d798,_0x541113){_0xd0d798=_0xd0d798-0x0;let _0x19eedb=_0x5411[_0xd0d798];return _0x19eedb;};import{first as _0x92d790}from'ckeditor5/src/utils';export default function k(_0x23550f,_0x56e1f5){const _0x396cae=_0x23550f[_0x19ee('0x1')]['markerNameToElements'](_0x56e1f5['name']);if(!_0x396cae)return null;const _0x380018=_0x92d790(_0x396cae[_0x19ee('0x9')]());return _0x23550f[_0x19ee('0x6')][_0x19ee('0xa')][_0x19ee('0x2')](_0x380018)||null;}export function getAllMarkersDomElementsSorted(_0x33cf21,_0x2b7210){if(0x0===_0x2b7210[_0x19ee('0x8')])return null;const _0x5bb3e3=[],_0x597d5e=_0x33cf21[_0x19ee('0x6')]['domConverter'];for(const _0x573f29 of _0x2b7210){const _0x53d229=_0x33cf21['mapper'][_0x19ee('0xb')](_0x573f29['name']);if(!_0x53d229)continue;const _0x367aed=Array['from'](_0x53d229)['map'](_0x59655a=>_0x597d5e[_0x19ee('0x2')](_0x59655a))['filter'](_0x29ccc9=>!!_0x29ccc9);_0x5bb3e3[_0x19ee('0x7')](..._0x367aed);}if(0x0===_0x5bb3e3[_0x19ee('0x8')])return null;const _0x2d03ef=[];for(const _0x44ae5a of _0x5bb3e3){const _0x4a11c2=_0x44ae5a['getClientRects']()[_0x19ee('0x4')](0x0);_0x4a11c2&&_0x2d03ef[_0x19ee('0x7')]({'x':_0x4a11c2['x'],'y':_0x4a11c2['y'],'domElement':_0x44ae5a});}return 0x0===_0x2d03ef[_0x19ee('0x8')]?null:(_0x2d03ef[_0x19ee('0x3')]((_0x3cb838,_0xe6667e)=>_0x3cb838['y']-_0xe6667e['y']||_0x3cb838['x']-_0xe6667e['x']),_0x2d03ef[_0x19ee('0x5')](_0x46169c=>_0x46169c[_0x19ee('0x0')]));}
23
+ const _0x3ec2=['item','domElement','name','mapViewToDom','filter','domConverter','push','values','length','view','from','mapper','markerNameToElements'];(function(_0x15a118,_0x3ec2ff){const _0x5c70fa=function(_0x3d8a34){while(--_0x3d8a34){_0x15a118['push'](_0x15a118['shift']());}};_0x5c70fa(++_0x3ec2ff);}(_0x3ec2,0xbe));const _0x5c70=function(_0x15a118,_0x3ec2ff){_0x15a118=_0x15a118-0x0;let _0x5c70fa=_0x3ec2[_0x15a118];return _0x5c70fa;};import{first as _0xa1e02}from'ckeditor5/src/utils';export default function k(_0x39f021,_0x1e9632){const _0xde327=_0x39f021[_0x5c70('0x3')][_0x5c70('0x4')](_0x1e9632[_0x5c70('0x7')]);if(!_0xde327)return null;const _0x3e0443=_0xa1e02(_0xde327[_0x5c70('0xc')]());return _0x39f021['view'][_0x5c70('0xa')][_0x5c70('0x8')](_0x3e0443)||null;}export function getAllMarkersDomElementsSorted(_0x2aee31,_0x57fa99){if(0x0===_0x57fa99['length'])return null;const _0x140227=[],_0x2318a1=_0x2aee31[_0x5c70('0x1')][_0x5c70('0xa')];for(const _0x133bf0 of _0x57fa99){const _0x3f15b3=_0x2aee31[_0x5c70('0x3')][_0x5c70('0x4')](_0x133bf0['name']);if(!_0x3f15b3)continue;const _0x48b7d1=Array[_0x5c70('0x2')](_0x3f15b3)['map'](_0x3c07fd=>_0x2318a1[_0x5c70('0x8')](_0x3c07fd))[_0x5c70('0x9')](_0x2bc23e=>!!_0x2bc23e);_0x140227[_0x5c70('0xb')](..._0x48b7d1);}if(0x0===_0x140227[_0x5c70('0x0')])return null;const _0x52ab87=[];for(const _0x2a79fe of _0x140227){const _0x184402=_0x2a79fe['getClientRects']()[_0x5c70('0x5')](0x0);_0x184402&&_0x52ab87['push']({'x':_0x184402['x'],'y':_0x184402['y'],'domElement':_0x2a79fe});}return 0x0===_0x52ab87[_0x5c70('0x0')]?null:(_0x52ab87['sort']((_0x4984ff,_0x16b6c5)=>_0x4984ff['y']-_0x16b6c5['y']||_0x4984ff['x']-_0x16b6c5['x']),_0x52ab87['map'](_0x20cab2=>_0x20cab2[_0x5c70('0x6')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aa7=['toString','number','string','boolean','sign'];(function(_0x4d952d,_0x1aa77f){const _0x111ae4=function(_0x349272){while(--_0x349272){_0x4d952d['push'](_0x4d952d['shift']());}};_0x111ae4(++_0x1aa77f);}(_0x1aa7,0x1aa));const _0x111a=function(_0x4d952d,_0x1aa77f){_0x4d952d=_0x4d952d-0x0;let _0x111ae4=_0x1aa7[_0x4d952d];return _0x111ae4;};export default function b(_0x1f744c){let _0x39f94f=0x0,_0x5f106d=0x0;for(const _0x24fc83 of g(_0x1f744c))_0x39f94f=(_0x39f94f<<0x5)-_0x39f94f+_0x24fc83,_0x39f94f&=_0x39f94f,[_0x39f94f,_0x5f106d]=[_0x5f106d,_0x39f94f];return O(_0x39f94f)+O(_0x5f106d);}function*j(_0x2c24b2){_0x2c24b2?_0x111a('0x2')==typeof _0x2c24b2?yield 0x1:Array['isArray'](_0x2c24b2)?yield*function*(_0x28207a){for(const _0x50b65e of _0x28207a)yield*j(_0x50b65e);}(_0x2c24b2):'object'==typeof _0x2c24b2?yield*g(_0x2c24b2):_0x111a('0x1')==typeof _0x2c24b2?yield*A(_0x2c24b2):_0x111a('0x0')==typeof _0x2c24b2&&(yield _0x2c24b2):yield 0x0;}function*g(_0x1661e6){if(yield M('{'),_0x1661e6){const _0x4172ec=Object['keys'](_0x1661e6)['sort']();for(const _0x5e17fc of _0x4172ec){yield*A(_0x5e17fc),yield M(':');const _0x360d14=_0x1661e6[_0x5e17fc];yield*j(_0x360d14);}}yield M('}');}function*A(_0x158a52){yield M('\x22');for(const _0x417df2 of _0x158a52)yield M(_0x417df2);yield M('\x22');}function M(_0x5ed666){return _0x5ed666['charCodeAt'](0x0);}function O(_0x4d66d2){return(_0x4d66d2*=Math[_0x111a('0x3')](_0x4d66d2))[_0x111a('0x4')](0x24);}
23
+ const _0x2a67=['string','keys','boolean','sign','sort','number','charCodeAt','toString','object','isArray'];(function(_0xa82b9f,_0x2a6730){const _0x51e800=function(_0x6799da){while(--_0x6799da){_0xa82b9f['push'](_0xa82b9f['shift']());}};_0x51e800(++_0x2a6730);}(_0x2a67,0x90));const _0x51e8=function(_0xa82b9f,_0x2a6730){_0xa82b9f=_0xa82b9f-0x0;let _0x51e800=_0x2a67[_0xa82b9f];return _0x51e800;};export default function b(_0x5bfbe3){let _0x1e9bc=0x0,_0x32c88b=0x0;for(const _0x5f0055 of g(_0x5bfbe3))_0x1e9bc=(_0x1e9bc<<0x5)-_0x1e9bc+_0x5f0055,_0x1e9bc&=_0x1e9bc,[_0x1e9bc,_0x32c88b]=[_0x32c88b,_0x1e9bc];return O(_0x1e9bc)+O(_0x32c88b);}function*j(_0x65598f){_0x65598f?_0x51e8('0x8')==typeof _0x65598f?yield 0x1:Array[_0x51e8('0x5')](_0x65598f)?yield*function*(_0x553c91){for(const _0x5ca224 of _0x553c91)yield*j(_0x5ca224);}(_0x65598f):_0x51e8('0x4')==typeof _0x65598f?yield*g(_0x65598f):_0x51e8('0x6')==typeof _0x65598f?yield*A(_0x65598f):_0x51e8('0x1')==typeof _0x65598f&&(yield _0x65598f):yield 0x0;}function*g(_0x2a5b9d){if(yield M('{'),_0x2a5b9d){const _0x527aa1=Object[_0x51e8('0x7')](_0x2a5b9d)[_0x51e8('0x0')]();for(const _0x44e45c of _0x527aa1){yield*A(_0x44e45c),yield M(':');const _0xbc6f84=_0x2a5b9d[_0x44e45c];yield*j(_0xbc6f84);}}yield M('}');}function*A(_0x3d3d4b){yield M('\x22');for(const _0x30ec70 of _0x3d3d4b)yield M(_0x30ec70);yield M('\x22');}function M(_0x151f34){return _0x151f34[_0x51e8('0x2')](0x0);}function O(_0x33b11c){return(_0x33b11c*=Math[_0x51e8('0x9')](_0x33b11c))[_0x51e8('0x3')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35c3=['builtinPlugins','plugins','every','includes','name','toolbar','constructor','get','concat','set','filter','requires','map','removePlugins','names','extraPlugins','config','pluginName','rootsAttributes','find','string','from','WordCount','_context','WebSocketGateway','DocumentOutline'];(function(_0x3a124b,_0x35c32b){const _0x711320=function(_0xe15e9d){while(--_0xe15e9d){_0x3a124b['push'](_0x3a124b['shift']());}};_0x711320(++_0x35c32b);}(_0x35c3,0x158));const _0x7113=function(_0x3a124b,_0x35c32b){_0x3a124b=_0x3a124b-0x0;let _0x711320=_0x35c3[_0x3a124b];return _0x711320;};const w=['initialData','context',_0x7113('0x19'),_0x7113('0xc')],W=[_0x7113('0x12'),'RevisionTracker','Autosave',_0x7113('0x10'),_0x7113('0x13'),'WProofreader'];function v(_0x4cd8cd,_0x4f50b3,_0x14a506,_0x4ebd1b=[]){const _0x1d2dc2=_0x7113('0xe')==typeof _0x4cd8cd?_0x14a506[_0x7113('0x1')](_0x4cd8cd)[_0x7113('0x0')]:_0x4cd8cd,_0x16901f=_0x1d2dc2['pluginName']||_0x1d2dc2[_0x7113('0x18')];if(_0x4f50b3['has'](_0x16901f))return _0x4f50b3[_0x7113('0x1')](_0x16901f);if(_0x4f50b3[_0x7113('0x3')](_0x16901f,!0x0),_0x16901f&&W['concat'](_0x4ebd1b)['includes'](_0x16901f))return _0x4f50b3[_0x7113('0x3')](_0x16901f,!0x1),!0x1;if(!_0x1d2dc2[_0x7113('0x5')])return _0x4f50b3['set'](_0x16901f,!0x0),!0x0;const _0x43ac70=_0x1d2dc2[_0x7113('0x5')][_0x7113('0x16')](_0x217174=>v(_0x217174,_0x4f50b3,_0x14a506,_0x4ebd1b));return _0x4f50b3['set'](_0x16901f,_0x43ac70),_0x43ac70;}export default function D(_0xb13a22,_0x5c2cae){const _0x4d6195={};for(const _0x38cb78 of _0xb13a22[_0x7113('0xa')][_0x7113('0x8')]())w['includes'](_0x38cb78)||(_0x4d6195[_0x38cb78]=_0xb13a22['config'][_0x7113('0x1')](_0x38cb78));const _0x91d3a4=_0x4d6195[_0x7113('0x15')]||[],_0x31dd8e=_0xb13a22[_0x7113('0x0')][_0x7113('0x14')]||[],_0x4b96d3=_0x91d3a4['length']?_0x91d3a4:_0x31dd8e,_0x219ceb=_0x4d6195[_0x7113('0x9')]||[];delete _0x4d6195[_0x7113('0x9')];const _0x204d3d=_0x4d6195[_0x7113('0x7')]||[];delete _0x4d6195[_0x7113('0x7')];const _0x8555ba=_0xb13a22[_0x7113('0x11')][_0x7113('0xa')][_0x7113('0x1')](_0x7113('0x15'))||[],_0x176df3=_0x4b96d3[_0x7113('0x2')](_0x219ceb)['concat'](_0x8555ba)[_0x7113('0x6')](_0x7283fe=>_0x7113('0xe')==typeof _0x7283fe?_0x31dd8e[_0x7113('0xd')](_0x3b4c3e=>_0x3b4c3e[_0x7113('0xb')]==_0x7283fe):_0x7283fe)['filter'](_0x3fa0aa=>!_0x204d3d[_0x7113('0x17')](_0x3fa0aa)),_0x289cc7=Array[_0x7113('0xf')](new Set(_0x176df3)),_0x189c12=new Map();return _0x4d6195[_0x7113('0x15')]=_0x289cc7[_0x7113('0x4')](_0x5f4ed3=>v(_0x5f4ed3,_0x189c12,_0xb13a22['plugins'],_0x5c2cae)),_0x4d6195;}
23
+ const _0x32b6=['builtinPlugins','RevisionTracker','removePlugins','concat','pluginName','name','every','get','constructor','WordCount','DocumentOutline','plugins','config','includes','find','length','has','requires','toolbar','_context','context','WProofreader','extraPlugins','rootsAttributes','set','filter','initialData'];(function(_0x2f162b,_0x32b662){const _0x3e5ffb=function(_0x54b7b0){while(--_0x54b7b0){_0x2f162b['push'](_0x2f162b['shift']());}};_0x3e5ffb(++_0x32b662);}(_0x32b6,0x129));const _0x3e5f=function(_0x2f162b,_0x32b662){_0x2f162b=_0x2f162b-0x0;let _0x3e5ffb=_0x32b6[_0x2f162b];return _0x3e5ffb;};const w=[_0x3e5f('0x1a'),_0x3e5f('0x14'),_0x3e5f('0x12'),_0x3e5f('0x17')],W=['WebSocketGateway',_0x3e5f('0x1'),'Autosave',_0x3e5f('0x9'),_0x3e5f('0xa'),_0x3e5f('0x15')];function v(_0x2c9020,_0x493bc2,_0x464c8a,_0xf3d70a=[]){const _0x5bf920='string'==typeof _0x2c9020?_0x464c8a[_0x3e5f('0x7')](_0x2c9020)[_0x3e5f('0x8')]:_0x2c9020,_0x9c5de1=_0x5bf920[_0x3e5f('0x4')]||_0x5bf920[_0x3e5f('0x5')];if(_0x493bc2[_0x3e5f('0x10')](_0x9c5de1))return _0x493bc2[_0x3e5f('0x7')](_0x9c5de1);if(_0x493bc2[_0x3e5f('0x18')](_0x9c5de1,!0x0),_0x9c5de1&&W[_0x3e5f('0x3')](_0xf3d70a)[_0x3e5f('0xd')](_0x9c5de1))return _0x493bc2['set'](_0x9c5de1,!0x1),!0x1;if(!_0x5bf920[_0x3e5f('0x11')])return _0x493bc2[_0x3e5f('0x18')](_0x9c5de1,!0x0),!0x0;const _0x102ae1=_0x5bf920[_0x3e5f('0x11')][_0x3e5f('0x6')](_0x2e5407=>v(_0x2e5407,_0x493bc2,_0x464c8a,_0xf3d70a));return _0x493bc2['set'](_0x9c5de1,_0x102ae1),_0x102ae1;}export default function D(_0x5403dd,_0x5c0ba5){const _0x734e54={};for(const _0x30afc9 of _0x5403dd['config']['names']())w[_0x3e5f('0xd')](_0x30afc9)||(_0x734e54[_0x30afc9]=_0x5403dd[_0x3e5f('0xc')]['get'](_0x30afc9));const _0x35e9b0=_0x734e54[_0x3e5f('0xb')]||[],_0x386f6b=_0x5403dd[_0x3e5f('0x8')][_0x3e5f('0x0')]||[],_0x430c4c=_0x35e9b0[_0x3e5f('0xf')]?_0x35e9b0:_0x386f6b,_0x40d212=_0x734e54[_0x3e5f('0x16')]||[];delete _0x734e54[_0x3e5f('0x16')];const _0x54c3d9=_0x734e54[_0x3e5f('0x2')]||[];delete _0x734e54['removePlugins'];const _0x4af922=_0x5403dd[_0x3e5f('0x13')]['config'][_0x3e5f('0x7')](_0x3e5f('0xb'))||[],_0x274a3e=_0x430c4c[_0x3e5f('0x3')](_0x40d212)[_0x3e5f('0x3')](_0x4af922)['map'](_0x36a2de=>'string'==typeof _0x36a2de?_0x386f6b[_0x3e5f('0xe')](_0x38c0c7=>_0x38c0c7[_0x3e5f('0x4')]==_0x36a2de):_0x36a2de)[_0x3e5f('0x19')](_0x5d87dd=>!_0x54c3d9[_0x3e5f('0xd')](_0x5d87dd)),_0x17ae25=Array['from'](new Set(_0x274a3e)),_0x4a8e30=new Map();return _0x734e54[_0x3e5f('0xb')]=_0x17ae25['filter'](_0x374e8d=>v(_0x374e8d,_0x4a8e30,_0x5403dd[_0x3e5f('0xb')],_0x5c0ba5)),_0x734e54;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26d6=['length','startsWith','push','join','split','slice','pop','indexOf','substring','match','replace'];(function(_0x933fbb,_0x26d668){const _0x4714b4=function(_0x55de23){while(--_0x55de23){_0x933fbb['push'](_0x933fbb['shift']());}};_0x4714b4(++_0x26d668);}(_0x26d6,0x8a));const _0x4714=function(_0x933fbb,_0x26d668){_0x933fbb=_0x933fbb-0x0;let _0x4714b4=_0x26d6[_0x933fbb];return _0x4714b4;};export default function z(_0x266cd1,{limit:_0x36b244,suffix:_0x2ae437='...'}){const _0x5933fa=[];let _0xff07c0=0x0;const _0x3c2ead=_0x266cd1[_0x4714('0x4')](/</g,'\x0a<')[_0x4714('0x4')](/>/g,'>\x0a')[_0x4714('0x4')](/^\n/g,'')[_0x4714('0x4')](/\n$/g,'')[_0x4714('0x9')]('\x0a');for(let _0x55efd2=0x0;_0x55efd2<_0x3c2ead[_0x4714('0x5')];_0x55efd2++){let _0x8f0ae6=_0x3c2ead[_0x55efd2];const _0x4b4b00=Z(_0x8f0ae6);if(_0x8f0ae6['startsWith']('<')){if(_0xff07c0>=_0x36b244){const _0x286fad=_0x8f0ae6[_0x4714('0x3')](/[a-zA-Z]+/);if(!_0x286fad){_0x3c2ead[_0x55efd2]='';continue;}const _0x20c344=_0x286fad[0x0];_0x8f0ae6[_0x4714('0x6')]('</')?(_0x5933fa[_0x4714('0x5')]&&(_0x8f0ae6=''),_0x5933fa[_0x4714('0x0')]()):(_0x5933fa[_0x4714('0x7')](_0x20c344),_0x8f0ae6='');}}else{if(_0xff07c0>=_0x36b244)_0x8f0ae6='';else{if(_0xff07c0+_0x4b4b00[_0x4714('0x5')]>=_0x36b244){let _0x4b2f26=_0x36b244-_0xff07c0;if('\x20'===_0x4b4b00[_0x4b2f26-0x1])_0x4b2f26--;else{const _0x4f6f6b=_0x4b4b00[_0x4714('0xa')](_0x4b2f26)[_0x4714('0x1')]('\x20');-0x1!==_0x4f6f6b?_0x4b2f26+=_0x4f6f6b:_0x4b2f26=_0x8f0ae6[_0x4714('0x5')];}_0x8f0ae6=_0x4b4b00['slice'](0x0,_0x4b2f26)['join']('')+_0x2ae437,_0xff07c0=_0x36b244;}else _0xff07c0+=_0x4b4b00['length'];}}_0x3c2ead[_0x55efd2]=_0x8f0ae6;}return _0x3c2ead[_0x4714('0x8')]('\x0a')[_0x4714('0x4')](/\n/g,'');}function Z(_0x548a51){const _0xd67f6b=[];for(let _0x1c5e9e=0x0;_0x1c5e9e<_0x548a51[_0x4714('0x5')];_0x1c5e9e++){const _0x1e6496=_0x548a51[_0x4714('0x2')](_0x1c5e9e)[_0x4714('0x3')](/^&[a-z0-9#]+;/);if(_0x1e6496){const _0x46291d=_0x1e6496[0x0];_0xd67f6b[_0x4714('0x7')](_0x46291d),_0x1c5e9e+=_0x46291d[_0x4714('0x5')]-0x1;}else _0xd67f6b[_0x4714('0x7')](_0x548a51[_0x1c5e9e]);}return _0xd67f6b;}
23
+ const _0x414d=['indexOf','length','match','substring','...','replace','push','startsWith','join','slice','pop','split'];(function(_0x2646a3,_0x414d9f){const _0x40e795=function(_0x6bda8c){while(--_0x6bda8c){_0x2646a3['push'](_0x2646a3['shift']());}};_0x40e795(++_0x414d9f);}(_0x414d,0x6e));const _0x40e7=function(_0x2646a3,_0x414d9f){_0x2646a3=_0x2646a3-0x0;let _0x40e795=_0x414d[_0x2646a3];return _0x40e795;};export default function z(_0xd82f60,{limit:_0x56c149,suffix:_0x4fad04=_0x40e7('0x2')}){const _0x484608=[];let _0x554904=0x0;const _0x496ee4=_0xd82f60[_0x40e7('0x3')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x40e7('0x3')](/^\n/g,'')[_0x40e7('0x3')](/\n$/g,'')[_0x40e7('0x9')]('\x0a');for(let _0x27477f=0x0;_0x27477f<_0x496ee4[_0x40e7('0xb')];_0x27477f++){let _0xdc3e3=_0x496ee4[_0x27477f];const _0x249ea8=Z(_0xdc3e3);if(_0xdc3e3['startsWith']('<')){if(_0x554904>=_0x56c149){const _0x23f5c3=_0xdc3e3[_0x40e7('0x0')](/[a-zA-Z]+/);if(!_0x23f5c3){_0x496ee4[_0x27477f]='';continue;}const _0x14512e=_0x23f5c3[0x0];_0xdc3e3[_0x40e7('0x5')]('</')?(_0x484608[_0x40e7('0xb')]&&(_0xdc3e3=''),_0x484608[_0x40e7('0x8')]()):(_0x484608[_0x40e7('0x4')](_0x14512e),_0xdc3e3='');}}else{if(_0x554904>=_0x56c149)_0xdc3e3='';else{if(_0x554904+_0x249ea8['length']>=_0x56c149){let _0x42f12a=_0x56c149-_0x554904;if('\x20'===_0x249ea8[_0x42f12a-0x1])_0x42f12a--;else{const _0x1b2bd4=_0x249ea8[_0x40e7('0x7')](_0x42f12a)[_0x40e7('0xa')]('\x20');-0x1!==_0x1b2bd4?_0x42f12a+=_0x1b2bd4:_0x42f12a=_0xdc3e3['length'];}_0xdc3e3=_0x249ea8[_0x40e7('0x7')](0x0,_0x42f12a)[_0x40e7('0x6')]('')+_0x4fad04,_0x554904=_0x56c149;}else _0x554904+=_0x249ea8[_0x40e7('0xb')];}}_0x496ee4[_0x27477f]=_0xdc3e3;}return _0x496ee4['join']('\x0a')['replace'](/\n/g,'');}function Z(_0x5bd384){const _0x5c8dd7=[];for(let _0x4f787b=0x0;_0x4f787b<_0x5bd384[_0x40e7('0xb')];_0x4f787b++){const _0x2f79d4=_0x5bd384[_0x40e7('0x1')](_0x4f787b)[_0x40e7('0x0')](/^&[a-z0-9#]+;/);if(_0x2f79d4){const _0x293361=_0x2f79d4[0x0];_0x5c8dd7['push'](_0x293361),_0x4f787b+=_0x293361['length']-0x1;}else _0x5c8dd7[_0x40e7('0x4')](_0x5bd384[_0x4f787b]);}return _0x5c8dd7;}