@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231026.0 → 0.0.0-nightly-20231028.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-20231026.0",
3
+ "version": "0.0.0-nightly-20231028.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-20231026.0",
34
+ "ckeditor5": "0.0.0-nightly-20231028.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 _0xf9c5=['has','editors','document:write','comment:admin','comment:write','CommentsRepository','get','disableReadOnlyMode','includes','comment:modify_all','collaboration.channelId','enableReadOnlyMode','forceDisabled','noPermissions','pluginName','permissions-set-permissions-invalid-channel-id','clearForceDisabled','plugins','find','context','setPermissions','CommentsOnly','no-permissions','config'];(function(_0x1401b0,_0xf9c5d5){const _0x15d2ef=function(_0x7c58ae){while(--_0x7c58ae){_0x1401b0['push'](_0x1401b0['shift']());}};_0x15d2ef(++_0xf9c5d5);}(_0xf9c5,0xb8));const _0x15d2=function(_0x1401b0,_0xf9c5d5){_0x1401b0=_0x1401b0-0x0;let _0x15d2ef=_0xf9c5[_0x1401b0];return _0x15d2ef;};import{ContextPlugin as _0x416387,Editor as _0x5b06c6}from'ckeditor5/src/core';import{CKEditorError as _0x37795e}from'ckeditor5/src/utils';export default class n extends _0x416387{static get[_0x15d2('0x16')](){return'Permissions';}[_0x15d2('0x4')](_0xbd03c3,_0x2dd79e){let _0xbb32b4;if(_0x2dd79e||(_0x2dd79e=this[_0x15d2('0x3')][_0x15d2('0x7')]['get']('collaboration.channelId')),this[_0x15d2('0x3')][_0x15d2('0x7')][_0x15d2('0xe')](_0x15d2('0x12'))==_0x2dd79e?_0xbb32b4=this[_0x15d2('0x3')]:_0x15d2('0x9')in this[_0x15d2('0x3')]&&this[_0x15d2('0x3')][_0x15d2('0x9')]&&(_0xbb32b4=this['context'][_0x15d2('0x9')][_0x15d2('0x2')](_0xbfd40e=>_0xbfd40e['config'][_0x15d2('0xe')](_0x15d2('0x12'))==_0x2dd79e)),!_0xbb32b4)throw new _0x37795e(_0x15d2('0x17'),null);const _0xd38a3f=_0xbb32b4[_0x15d2('0x1')],_0x4e8084=_0xd38a3f[_0x15d2('0x8')](_0x15d2('0xd'))?_0xd38a3f[_0x15d2('0xe')](_0x15d2('0xd')):void 0x0,_0x5051da=_0xd38a3f[_0x15d2('0x8')](_0x15d2('0x5'))&&_0xd38a3f['get'](_0x15d2('0x5')),_0x1b9dc2=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0xa')),_0x20729e=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0x11')),_0x2a2a8b=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0xb')),_0x1d14fa=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0xc')),_0x1125f5=_0x1d14fa||_0x2a2a8b,_0x3530ed=_0x1125f5||_0x20729e,_0x85ce1e=_0x1b9dc2||_0x1125f5;(_0x5051da&&(_0x5051da['isEnabled']=!_0x1b9dc2&&_0x3530ed),_0xbb32b4 instanceof _0x5b06c6)&&(!(_0x1b9dc2||_0x3530ed&&_0x4e8084)?_0xbb32b4[_0x15d2('0x13')](_0x15d2('0x6')):_0xbb32b4[_0x15d2('0xf')](_0x15d2('0x6')));if(_0x4e8084){_0x4e8084['setPermissions']({'admin':_0x2a2a8b,'modifyAll':_0x20729e,'write':_0x1d14fa,'resolve':_0x85ce1e},_0x2dd79e);const _0x2f0c6b=_0xbb32b4 instanceof _0x5b06c6&&_0xbb32b4['commands'][_0x15d2('0xe')]('addCommentThread');_0x2f0c6b&&(_0x1125f5?_0x2f0c6b[_0x15d2('0x0')](_0x15d2('0x15')):_0x2f0c6b[_0x15d2('0x14')](_0x15d2('0x15')));}}}
23
+ const _0x16e5=['noPermissions','plugins','comment:admin','addCommentThread','CommentsRepository','forceDisabled','collaboration.channelId','config','clearForceDisabled','has','isEnabled','enableReadOnlyMode','get','editors','CommentsOnly','includes','setPermissions','context','document:write','no-permissions','comment:modify_all','pluginName','disableReadOnlyMode','comment:write','find'];(function(_0x23aaee,_0x16e525){const _0x40abbd=function(_0x90642e){while(--_0x90642e){_0x23aaee['push'](_0x23aaee['shift']());}};_0x40abbd(++_0x16e525);}(_0x16e5,0xf9));const _0x40ab=function(_0x23aaee,_0x16e525){_0x23aaee=_0x23aaee-0x0;let _0x40abbd=_0x16e5[_0x23aaee];return _0x40abbd;};import{ContextPlugin as _0x251636,Editor as _0x57b979}from'ckeditor5/src/core';import{CKEditorError as _0xbf6961}from'ckeditor5/src/utils';export default class n extends _0x251636{static get[_0x40ab('0x16')](){return'Permissions';}[_0x40ab('0x11')](_0x33bc42,_0x3740da){let _0xf7317f;if(_0x3740da||(_0x3740da=this[_0x40ab('0x12')][_0x40ab('0x8')]['get']('collaboration.channelId')),this[_0x40ab('0x12')][_0x40ab('0x8')]['get'](_0x40ab('0x7'))==_0x3740da?_0xf7317f=this[_0x40ab('0x12')]:_0x40ab('0xe')in this[_0x40ab('0x12')]&&this[_0x40ab('0x12')]['editors']&&(_0xf7317f=this[_0x40ab('0x12')][_0x40ab('0xe')][_0x40ab('0x0')](_0x3ecfe2=>_0x3ecfe2[_0x40ab('0x8')]['get'](_0x40ab('0x7'))==_0x3740da)),!_0xf7317f)throw new _0xbf6961('permissions-set-permissions-invalid-channel-id',null);const _0xc4a9d7=_0xf7317f[_0x40ab('0x2')],_0x40c39a=_0xc4a9d7[_0x40ab('0xa')](_0x40ab('0x5'))?_0xc4a9d7[_0x40ab('0xd')](_0x40ab('0x5')):void 0x0,_0x33ed1a=_0xc4a9d7[_0x40ab('0xa')](_0x40ab('0xf'))&&_0xc4a9d7[_0x40ab('0xd')](_0x40ab('0xf')),_0xbba994=_0x33bc42['includes'](_0x40ab('0x13')),_0x4a8ab5=_0x33bc42[_0x40ab('0x10')](_0x40ab('0x15')),_0x256e4f=_0x33bc42[_0x40ab('0x10')](_0x40ab('0x3')),_0x10e97c=_0x33bc42[_0x40ab('0x10')](_0x40ab('0x18')),_0x3b8ff0=_0x10e97c||_0x256e4f,_0x2a3245=_0x3b8ff0||_0x4a8ab5,_0x567d12=_0xbba994||_0x3b8ff0;(_0x33ed1a&&(_0x33ed1a[_0x40ab('0xb')]=!_0xbba994&&_0x2a3245),_0xf7317f instanceof _0x57b979)&&(!(_0xbba994||_0x2a3245&&_0x40c39a)?_0xf7317f[_0x40ab('0xc')](_0x40ab('0x14')):_0xf7317f[_0x40ab('0x17')](_0x40ab('0x14')));if(_0x40c39a){_0x40c39a[_0x40ab('0x11')]({'admin':_0x256e4f,'modifyAll':_0x4a8ab5,'write':_0x10e97c,'resolve':_0x567d12},_0x3740da);const _0x1b2c45=_0xf7317f instanceof _0x57b979&&_0xf7317f['commands'][_0x40ab('0xd')](_0x40ab('0x4'));_0x1b2c45&&(_0x3b8ff0?_0x1b2c45[_0x40ab('0x9')](_0x40ab('0x1')):_0x1b2c45[_0x40ab('0x6')]('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42c4=['ck\x20ck-user__name\x20ck-user__name--hidden','notificationView','ck\x20ck-user__name','div','name','isAnonymous','ck-user__avatar','initials','ck-user__notification','extendTemplate','avatar','ck-user__icon','ck-user__anonymous','url(\x27','push','ck-user__img'];(function(_0x447c51,_0x42c46a){const _0x102f5f=function(_0x584f8){while(--_0x584f8){_0x447c51['push'](_0x447c51['shift']());}};_0x102f5f(++_0x42c46a);}(_0x42c4,0x183));const _0x102f=function(_0x447c51,_0x42c46a){_0x447c51=_0x447c51-0x0;let _0x102f5f=_0x42c4[_0x447c51];return _0x102f5f;};import{View as _0x664988,IconView as _0x4ad76a}from'ckeditor5/src/ui';import _0x2081d1 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x664988{constructor(_0x31eaa4,_0x58bcbc,_0x590a94){super(_0x31eaa4),this[_0x102f('0x1')]=_0x58bcbc['name'],this['notificationView']=null;const _0x159be1=['ck',_0x102f('0xc')];if(_0x58bcbc[_0x102f('0x2')]&&_0x159be1[_0x102f('0xb')](_0x102f('0x9')),_0x58bcbc[_0x102f('0x7')]&&_0x159be1[_0x102f('0xb')](_0x102f('0x3')),_0x590a94){const _0x844a5e=new _0x4ad76a();_0x844a5e[_0x102f('0x6')]({'attributes':{'class':[_0x102f('0x8')]}}),_0x844a5e['content']=_0x2081d1,this[_0x102f('0xe')]={'tag':_0x102f('0x0'),'attributes':{'class':['ck',_0x102f('0x5')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x590a94},'children':[_0x844a5e]};}const _0x5f4101=[{'tag':_0x102f('0x0'),'attributes':{'class':_0x159be1,'style':{'background-image':_0x58bcbc[_0x102f('0x7')]?_0x102f('0xa')+_0x58bcbc[_0x102f('0x7')]+'\x27)':''}}},{'tag':_0x102f('0x0'),'attributes':{'class':_0x58bcbc[_0x102f('0x7')]?_0x102f('0xd'):_0x102f('0xf')},'children':[{'text':_0x58bcbc[_0x102f('0x4')]}]}];this[_0x102f('0xe')]&&_0x5f4101[_0x102f('0xb')](this[_0x102f('0xe')]),this['setTemplate']({'tag':_0x102f('0x0'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x58bcbc['id']},'children':_0x5f4101});}}
23
+ const _0x4a57=['ck\x20ck-user__name\x20ck-user__name--hidden','ck-user','content','ck-user__img','ck-user__icon','initials','url(\x27','name','push','ck-user__avatar','div','avatar','ck-user__notification','ck-user__anonymous','notificationView','setTemplate','isAnonymous'];(function(_0x291ca3,_0x4a57bf){const _0x378daf=function(_0x1b25c4){while(--_0x1b25c4){_0x291ca3['push'](_0x291ca3['shift']());}};_0x378daf(++_0x4a57bf);}(_0x4a57,0x110));const _0x378d=function(_0x291ca3,_0x4a57bf){_0x291ca3=_0x291ca3-0x0;let _0x378daf=_0x4a57[_0x291ca3];return _0x378daf;};import{View as _0x1576bc,IconView as _0x1a71f9}from'ckeditor5/src/ui';import _0x2252ce from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x1576bc{constructor(_0x17bd0a,_0x570caa,_0x1a3c65){super(_0x17bd0a),this[_0x378d('0x7')]=_0x570caa['name'],this['notificationView']=null;const _0x1257e5=['ck',_0x378d('0x3')];if(_0x570caa[_0x378d('0x10')]&&_0x1257e5[_0x378d('0x8')](_0x378d('0xd')),_0x570caa[_0x378d('0xb')]&&_0x1257e5[_0x378d('0x8')](_0x378d('0x9')),_0x1a3c65){const _0x199df3=new _0x1a71f9();_0x199df3['extendTemplate']({'attributes':{'class':[_0x378d('0x4')]}}),_0x199df3[_0x378d('0x2')]=_0x2252ce,this[_0x378d('0xe')]={'tag':_0x378d('0xa'),'attributes':{'class':['ck',_0x378d('0xc')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1a3c65},'children':[_0x199df3]};}const _0x326eca=[{'tag':'div','attributes':{'class':_0x1257e5,'style':{'background-image':_0x570caa[_0x378d('0xb')]?_0x378d('0x6')+_0x570caa['avatar']+'\x27)':''}}},{'tag':_0x378d('0xa'),'attributes':{'class':_0x570caa['avatar']?_0x378d('0x0'):'ck\x20ck-user__name'},'children':[{'text':_0x570caa[_0x378d('0x5')]}]}];this[_0x378d('0xe')]&&_0x326eca['push'](this[_0x378d('0xe')]),this[_0x378d('0xf')]({'tag':_0x378d('0xa'),'attributes':{'class':['ck',_0x378d('0x1')],'data-user-id':_0x570caa['id']},'children':_0x326eca});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5695=['pluginName','users-me-missing-user','init','charAt','users-me-already-defined','ck-user__marker--','_licenseKeyCheckInterval','string','getBackgroundColorClass','_isAnonymous','_myId','name','licenseKeyInvalid','licenseKey','defineMe','licenseKeyTrialLimit:time','_getNextColor','ck-user__bg-color--','trial-license-key-reached-limit-changes','getSelectionClass','_getInitial','licenseKeyTrial','users-add-duplicated-id','users.colorsCount','info','destroy','has','users.anonymousUserId','length','trim','decorate','getUser','invalid-license-key','licenseKeyTrialLimit:revisions','define','useAnonymousUser','requires','config','avatar','isAnonymous','get','_id','initials','ck-user__selection--','users','licenseKeyValid','color','Anonymous','_addAnonymousUser','locale','trial-license-key-reached-limit-time','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','_locale','_lastColor','context','getMarkerClass','add','Users','anonymous-user','addUser','licenseKeyTrialLimit:operations'];(function(_0x36def6,_0x569558){const _0xaf8872=function(_0x3eacec){while(--_0x3eacec){_0x36def6['push'](_0x36def6['shift']());}};_0xaf8872(++_0x569558);}(_0x5695,0x14a));const _0xaf88=function(_0x36def6,_0x569558){_0x36def6=_0x36def6-0x0;let _0xaf8872=_0x5695[_0x36def6];return _0xaf8872;};import{ContextPlugin as _0x4bcfb7}from'ckeditor5/src/core';import{Collection as _0xf0d45c,CKEditorError as _0x30ee4b}from'ckeditor5/src/utils';import _0x423043 from'./permissions';import{getTranslation as _0x5610f2}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x4bcfb7{static get[_0xaf88('0x24')](){return _0xaf88('0x20');}static get[_0xaf88('0xb')](){return[_0x423043];}constructor(_0x550be7){super(_0x550be7),this['context'][_0xaf88('0xc')][_0xaf88('0x9')](_0xaf88('0x2'),_0xaf88('0x21')),this['context'][_0xaf88('0xc')][_0xaf88('0x9')]('users.colorsCount',0x8),this[_0xaf88('0x13')]=new _0xf0d45c(),this['_locale']=_0x550be7[_0xaf88('0x18')],this['_licenseKeyCheckInterval']=null,this[_0xaf88('0x1c')]=0x0,this['_myId']=null,this[_0xaf88('0x5')]('getOperationAuthor');}[_0xaf88('0x26')](){const _0x2c80f3=this[_0xaf88('0x1d')];this['licenseKey']=_0x2c80f3[_0xaf88('0xc')][_0xaf88('0xf')](_0xaf88('0x31'));const _0x18ba20=[_0xaf88('0x39'),_0xaf88('0x30'),_0xaf88('0x14'),_0xaf88('0x23'),_0xaf88('0x33'),_0xaf88('0x8')];this[_0xaf88('0x2a')]=setInterval(()=>{let _0x2a953f;for(const _0xf19911 in _0x2c80f3){const _0x9c7980=_0x2c80f3[_0xf19911];if(_0x18ba20['includes'](_0x9c7980)){delete _0x2c80f3[_0xf19911],_0x2a953f=_0x9c7980;break;}}if(_0xaf88('0x30')===_0x2a953f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x30ee4b(_0xaf88('0x7'),null);if(_0xaf88('0x39')===_0x2a953f&&console[_0xaf88('0x3c')](_0xaf88('0x1a')),_0xaf88('0x23')===_0x2a953f)throw clearInterval(this[_0xaf88('0x2a')]),new _0x30ee4b(_0xaf88('0x36'),null);if(_0xaf88('0x33')===_0x2a953f)throw clearInterval(this[_0xaf88('0x2a')]),new _0x30ee4b(_0xaf88('0x19'),null);if(_0xaf88('0x8')===_0x2a953f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x30ee4b('trial-license-key-reached-limit-revisions',null);_0xaf88('0x14')===_0x2a953f&&clearInterval(this[_0xaf88('0x2a')]);},0x3e8),this[_0xaf88('0x17')]();}get['me'](){return null==this[_0xaf88('0x2e')]?null:this[_0xaf88('0x6')](this[_0xaf88('0x2e')]);}[_0xaf88('0x22')]({id:_0x4d71e1,name:_0x52d78e,..._0x2037f4}){if(!_0x4d71e1||_0xaf88('0x2b')!=typeof _0x4d71e1)throw new _0x30ee4b('users-add-invalid-id');if(this[_0xaf88('0x13')][_0xaf88('0x1')](_0x4d71e1))throw new _0x30ee4b(_0xaf88('0x3a'),null,{'id':_0x4d71e1});const _0x503a18={..._0x2037f4,'id':_0x4d71e1,'name':a(this[_0xaf88('0x1b')],_0x52d78e),'color':this[_0xaf88('0x34')]()};_0x503a18[_0xaf88('0x2f')]=a(this[_0xaf88('0x1b')],_0x503a18[_0xaf88('0x2f')]);const _0x4de010=new User(_0x503a18);return this[_0xaf88('0x13')][_0xaf88('0x1f')](_0x4de010),_0x4de010;}[_0xaf88('0x6')](_0x47daa7){return this[_0xaf88('0x13')][_0xaf88('0xf')](_0x47daa7);}[_0xaf88('0xa')](){const _0x5b80e2=this['context']['config'][_0xaf88('0xf')](_0xaf88('0x2'));this['_myId']||this['defineMe'](_0x5b80e2);}[_0xaf88('0x32')](_0x41882f){if(this[_0xaf88('0x2e')])throw new _0x30ee4b(_0xaf88('0x28'),null);if(!this[_0xaf88('0x6')](_0x41882f))throw new _0x30ee4b(_0xaf88('0x25'),null);this[_0xaf88('0x2e')]=_0x41882f;}['getOperationAuthor'](){return this['me'];}[_0xaf88('0x0')](){super[_0xaf88('0x0')](),clearInterval(this[_0xaf88('0x2a')]);}[_0xaf88('0x34')](){const _0x3ccd85=this[_0xaf88('0x1d')][_0xaf88('0xc')][_0xaf88('0xf')](_0xaf88('0x3b'));return this['_lastColor']>=_0x3ccd85&&(this[_0xaf88('0x1c')]=0x0),new u(this[_0xaf88('0x1c')]++);}['_addAnonymousUser'](){const _0x53d0d6=this['context'][_0xaf88('0xc')]['get'](_0xaf88('0x2'));this['addUser']({'id':_0x53d0d6,'name':_0x5610f2(this[_0xaf88('0x1b')],_0xaf88('0x16'))})[_0xaf88('0x2d')]=!0x0;}}export class User{constructor(_0x4bd00f){this['id']=_0x4bd00f['id'],this[_0xaf88('0x15')]=_0x4bd00f[_0xaf88('0x15')],this['name']=_0x4bd00f[_0xaf88('0x2f')],this[_0xaf88('0xd')]=_0x4bd00f[_0xaf88('0xd')],this[_0xaf88('0x2d')]=!0x1;}get[_0xaf88('0xe')](){return this[_0xaf88('0x2d')];}get[_0xaf88('0x11')](){const _0x2a6116=this[_0xaf88('0x2f')]['split']('\x20');return 0x1===_0x2a6116[_0xaf88('0x3')]?this[_0xaf88('0x38')](_0x2a6116[0x0]):this[_0xaf88('0x38')](_0x2a6116[0x0])+this['_getInitial'](_0x2a6116[_0x2a6116['length']-0x1]);}[_0xaf88('0x38')](_0x2c0ced){return _0x2c0ced[_0xaf88('0x27')](0x0)['toUpperCase']();}}function a(_0x4a7f4f,_0x533dbf=''){return''==(_0x533dbf=_0x533dbf[_0xaf88('0x4')]())?_0x5610f2(_0x4a7f4f,_0xaf88('0x16')):_0x533dbf;}class u{constructor(_0x12c5ac){this[_0xaf88('0x10')]=_0x12c5ac;}[_0xaf88('0x2c')](){return _0xaf88('0x35')+this[_0xaf88('0x10')];}[_0xaf88('0x37')](){return _0xaf88('0x12')+this[_0xaf88('0x10')];}[_0xaf88('0x1e')](){return _0xaf88('0x29')+this[_0xaf88('0x10')];}}
23
+ const _0x3dbd=['length','name','config','licenseKeyTrialLimit:revisions','_licenseKeyCheckInterval','users-add-invalid-id','getSelectionClass','users','requires','users-me-already-defined','users.anonymousUserId','info','Users','_getNextColor','define','users.colorsCount','licenseKeyTrial','_lastColor','licenseKeyInvalid','Anonymous','pluginName','_id','trial-license-key-reached-limit-time','_addAnonymousUser','licenseKeyTrialLimit:time','_getInitial','get','_locale','toUpperCase','getMarkerClass','trial-license-key-reached-limit-revisions','getOperationAuthor','users-add-duplicated-id','trial-license-key-reached-limit-changes','color','includes','add','defineMe','_isAnonymous','isAnonymous','avatar','destroy','has','getUser','addUser','licenseKeyValid','ck-user__marker--','_myId','context','users-me-missing-user','getBackgroundColorClass'];(function(_0x360121,_0x3dbd8d){const _0x16d666=function(_0x35d3aa){while(--_0x35d3aa){_0x360121['push'](_0x360121['shift']());}};_0x16d666(++_0x3dbd8d);}(_0x3dbd,0x147));const _0x16d6=function(_0x360121,_0x3dbd8d){_0x360121=_0x360121-0x0;let _0x16d666=_0x3dbd[_0x360121];return _0x16d666;};import{ContextPlugin as _0x621cec}from'ckeditor5/src/core';import{Collection as _0x22d742,CKEditorError as _0x5ba3b1}from'ckeditor5/src/utils';import _0x5888b4 from'./permissions';import{getTranslation as _0xc885c8}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x621cec{static get[_0x16d6('0x32')](){return _0x16d6('0x2a');}static get[_0x16d6('0x26')](){return[_0x5888b4];}constructor(_0x173784){super(_0x173784),this[_0x16d6('0x1b')]['config'][_0x16d6('0x2c')]('users.anonymousUserId','anonymous-user'),this[_0x16d6('0x1b')][_0x16d6('0x20')]['define'](_0x16d6('0x2d'),0x8),this[_0x16d6('0x25')]=new _0x22d742(),this['_locale']=_0x173784['locale'],this['_licenseKeyCheckInterval']=null,this[_0x16d6('0x2f')]=0x0,this[_0x16d6('0x1a')]=null,this['decorate'](_0x16d6('0xa'));}['init'](){const _0x320070=this[_0x16d6('0x1b')];this['licenseKey']=_0x320070['config'][_0x16d6('0x5')]('licenseKey');const _0x4c7e83=[_0x16d6('0x2e'),_0x16d6('0x30'),'licenseKeyValid','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time',_0x16d6('0x21')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4889c3;for(const _0x449bea in _0x320070){const _0xd1f959=_0x320070[_0x449bea];if(_0x4c7e83[_0x16d6('0xe')](_0xd1f959)){delete _0x320070[_0x449bea],_0x4889c3=_0xd1f959;break;}}if(_0x16d6('0x30')===_0x4889c3)throw clearInterval(this[_0x16d6('0x22')]),new _0x5ba3b1('invalid-license-key',null);if(_0x16d6('0x2e')===_0x4889c3&&console[_0x16d6('0x29')]('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'licenseKeyTrialLimit:operations'===_0x4889c3)throw clearInterval(this[_0x16d6('0x22')]),new _0x5ba3b1(_0x16d6('0xc'),null);if(_0x16d6('0x3')===_0x4889c3)throw clearInterval(this[_0x16d6('0x22')]),new _0x5ba3b1(_0x16d6('0x1'),null);if(_0x16d6('0x21')===_0x4889c3)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ba3b1(_0x16d6('0x9'),null);_0x16d6('0x18')===_0x4889c3&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x16d6('0x2')]();}get['me'](){return null==this[_0x16d6('0x1a')]?null:this[_0x16d6('0x16')](this[_0x16d6('0x1a')]);}[_0x16d6('0x17')]({id:_0x2d8d40,name:_0x265f17,..._0x18e630}){if(!_0x2d8d40||'string'!=typeof _0x2d8d40)throw new _0x5ba3b1(_0x16d6('0x23'));if(this[_0x16d6('0x25')][_0x16d6('0x15')](_0x2d8d40))throw new _0x5ba3b1(_0x16d6('0xb'),null,{'id':_0x2d8d40});const _0x256541={..._0x18e630,'id':_0x2d8d40,'name':a(this[_0x16d6('0x6')],_0x265f17),'color':this['_getNextColor']()};_0x256541[_0x16d6('0x1f')]=a(this[_0x16d6('0x6')],_0x256541[_0x16d6('0x1f')]);const _0x20fa6a=new User(_0x256541);return this[_0x16d6('0x25')][_0x16d6('0xf')](_0x20fa6a),_0x20fa6a;}[_0x16d6('0x16')](_0x28b875){return this['users'][_0x16d6('0x5')](_0x28b875);}['useAnonymousUser'](){const _0x258945=this[_0x16d6('0x1b')]['config']['get'](_0x16d6('0x28'));this[_0x16d6('0x1a')]||this[_0x16d6('0x10')](_0x258945);}[_0x16d6('0x10')](_0xcb2de7){if(this[_0x16d6('0x1a')])throw new _0x5ba3b1(_0x16d6('0x27'),null);if(!this['getUser'](_0xcb2de7))throw new _0x5ba3b1(_0x16d6('0x1c'),null);this[_0x16d6('0x1a')]=_0xcb2de7;}['getOperationAuthor'](){return this['me'];}[_0x16d6('0x14')](){super[_0x16d6('0x14')](),clearInterval(this[_0x16d6('0x22')]);}[_0x16d6('0x2b')](){const _0x26e96d=this['context'][_0x16d6('0x20')]['get'](_0x16d6('0x2d'));return this[_0x16d6('0x2f')]>=_0x26e96d&&(this['_lastColor']=0x0),new u(this[_0x16d6('0x2f')]++);}[_0x16d6('0x2')](){const _0x4c432d=this['context']['config'][_0x16d6('0x5')](_0x16d6('0x28'));this[_0x16d6('0x17')]({'id':_0x4c432d,'name':_0xc885c8(this[_0x16d6('0x6')],_0x16d6('0x31'))})[_0x16d6('0x11')]=!0x0;}}export class User{constructor(_0x4c6706){this['id']=_0x4c6706['id'],this[_0x16d6('0xd')]=_0x4c6706['color'],this['name']=_0x4c6706[_0x16d6('0x1f')],this[_0x16d6('0x13')]=_0x4c6706['avatar'],this[_0x16d6('0x11')]=!0x1;}get[_0x16d6('0x12')](){return this[_0x16d6('0x11')];}get['initials'](){const _0x20fbf5=this[_0x16d6('0x1f')]['split']('\x20');return 0x1===_0x20fbf5[_0x16d6('0x1e')]?this['_getInitial'](_0x20fbf5[0x0]):this[_0x16d6('0x4')](_0x20fbf5[0x0])+this[_0x16d6('0x4')](_0x20fbf5[_0x20fbf5[_0x16d6('0x1e')]-0x1]);}['_getInitial'](_0xb4c59){return _0xb4c59['charAt'](0x0)[_0x16d6('0x7')]();}}function a(_0x595c89,_0x3d9e83=''){return''==(_0x3d9e83=_0x3d9e83['trim']())?_0xc885c8(_0x595c89,'Anonymous'):_0x3d9e83;}class u{constructor(_0x17f494){this[_0x16d6('0x0')]=_0x17f494;}[_0x16d6('0x1d')](){return'ck-user__bg-color--'+this['_id'];}[_0x16d6('0x24')](){return'ck-user__selection--'+this[_0x16d6('0x0')];}[_0x16d6('0x8')](){return _0x16d6('0x19')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1d3095,_0x5e2041){const t=_0x1d3095['t'];switch(_0x5e2041){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(_0x1ddfb8,_0x56a652){const t=_0x1ddfb8['t'];switch(_0x56a652){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 _0x4db6=['remove','focus','fire','submit','destroy','showConfirm','deregisterChild','element','render','once','_removeConfirm','set','confirmView','locale','isConfirm'];(function(_0x2d1f12,_0x4db6bf){var _0x143797=function(_0x24212e){while(--_0x24212e){_0x2d1f12['push'](_0x2d1f12['shift']());}};_0x143797(++_0x4db6bf);}(_0x4db6,0x121));var _0x1437=function(_0x2d1f12,_0x4db6bf){_0x2d1f12=_0x2d1f12-0x0;var _0x143797=_0x4db6[_0x2d1f12];return _0x143797;};import _0x309d1e from'./confirmview';export default function m(_0x58fb9a){return class extends _0x58fb9a{[_0x1437('0x1')](_0xfea05a,_0x23fe82){return this[_0x1437('0x8')]=new _0x309d1e(this[_0x1437('0x9')]),this[_0x1437('0x8')][_0x1437('0x4')](),this[_0x1437('0x8')]['message']=_0xfea05a,this['confirmView'][_0x1437('0x5')]('cancel',()=>{this[_0x1437('0x6')]();}),this[_0x1437('0x8')][_0x1437('0x5')](_0x1437('0xe'),()=>{this[_0x1437('0x6')]();}),_0x23fe82['appendChild'](this[_0x1437('0x8')][_0x1437('0x3')]),this['registerChild'](this[_0x1437('0x8')]),this[_0x1437('0x3')][_0x1437('0xc')](),this[_0x1437('0x7')](_0x1437('0xa'),!0x0),new Promise(_0x4cf9a7=>this[_0x1437('0x8')]['on']('submit',_0x4cf9a7));}['cancelConfirm'](){this['isConfirm']&&this['confirmView'][_0x1437('0xd')]('cancel');}[_0x1437('0x6')](){this[_0x1437('0x3')]&&this[_0x1437('0x8')]&&this['confirmView']['element']&&(this[_0x1437('0x3')][_0x1437('0xc')](),this[_0x1437('0x8')][_0x1437('0x3')][_0x1437('0xb')](),this[_0x1437('0x2')](this[_0x1437('0x8')]),this[_0x1437('0xa')]=!0x1,this[_0x1437('0x8')][_0x1437('0x0')](),this['confirmView']=void 0x0);}};}
23
+ var _0x1c77=['element','confirmView','once','fire','deregisterChild','locale','appendChild','set','message','focus','submit','_removeConfirm','remove'];(function(_0x1dfa1b,_0x1c7753){var _0x44227e=function(_0x51a0fa){while(--_0x51a0fa){_0x1dfa1b['push'](_0x1dfa1b['shift']());}};_0x44227e(++_0x1c7753);}(_0x1c77,0xe2));var _0x4422=function(_0x1dfa1b,_0x1c7753){_0x1dfa1b=_0x1dfa1b-0x0;var _0x44227e=_0x1c77[_0x1dfa1b];return _0x44227e;};import _0x5c51d9 from'./confirmview';export default function m(_0x330bec){return class extends _0x330bec{['showConfirm'](_0x24d606,_0x137c33){return this['confirmView']=new _0x5c51d9(this[_0x4422('0x0')]),this['confirmView']['render'](),this[_0x4422('0x9')][_0x4422('0x3')]=_0x24d606,this['confirmView'][_0x4422('0xa')]('cancel',()=>{this[_0x4422('0x6')]();}),this[_0x4422('0x9')][_0x4422('0xa')](_0x4422('0x5'),()=>{this[_0x4422('0x6')]();}),_0x137c33[_0x4422('0x1')](this[_0x4422('0x9')][_0x4422('0x8')]),this['registerChild'](this[_0x4422('0x9')]),this['element'][_0x4422('0x4')](),this[_0x4422('0x2')]('isConfirm',!0x0),new Promise(_0x50eb83=>this[_0x4422('0x9')]['on']('submit',_0x50eb83));}['cancelConfirm'](){this['isConfirm']&&this[_0x4422('0x9')][_0x4422('0xb')]('cancel');}[_0x4422('0x6')](){this[_0x4422('0x8')]&&this[_0x4422('0x9')]&&this[_0x4422('0x9')][_0x4422('0x8')]&&(this['element'][_0x4422('0x4')](),this[_0x4422('0x9')]['element'][_0x4422('0x7')](),this[_0x4422('0xc')](this[_0x4422('0x9')]),this['isConfirm']=!0x1,this[_0x4422('0x9')]['destroy'](),this[_0x4422('0x9')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x450a=['fire','div','_createButtonView','ck-thread__remove-confirm','submitView','bindTemplate','execute','cancelView','set','icon','extendTemplate','cancel','submit','ck-thread__remove-confirm-','Yes','message'];(function(_0x1a0af2,_0x450a8b){const _0x1e500a=function(_0x3136b2){while(--_0x3136b2){_0x1a0af2['push'](_0x1a0af2['shift']());}};_0x1e500a(++_0x450a8b);}(_0x450a,0xd1));const _0x1e50=function(_0x1a0af2,_0x450a8b){_0x1a0af2=_0x1a0af2-0x0;let _0x1e500a=_0x450a[_0x1a0af2];return _0x1e500a;};import{View as _0x2ecdcc,ButtonView as _0x3e4eec}from'ckeditor5/src/ui';import{icons as _0x3f3cc8}from'ckeditor5/src/core';import{getTranslation as _0x11c656}from'./common-translations';export default class h extends _0x2ecdcc{constructor(_0x13b59a){super(_0x13b59a);const _0x4447f1=this[_0x1e50('0x4')];this[_0x1e50('0x3')]=this[_0x1e50('0x1')](_0x13b59a,_0x11c656(_0x13b59a,_0x1e50('0xd')),_0x3f3cc8['check'],_0x1e50('0xb')),this[_0x1e50('0x6')]=this[_0x1e50('0x1')](_0x13b59a,_0x11c656(_0x13b59a,'No'),_0x3f3cc8[_0x1e50('0xa')],_0x1e50('0xa')),this[_0x1e50('0x7')](_0x1e50('0xe'),_0x11c656(_0x13b59a,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x1e50('0x2')]},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x4447f1['to']('message')}]},{'tag':_0x1e50('0x0'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x1e50('0x3')],this['cancelView']]}]}]});}[_0x1e50('0x1')](_0x9a5c81,_0x4e08ca,_0x404cea,_0x3b376c){const _0x869367=new _0x3e4eec(_0x9a5c81);return _0x869367['label']=_0x4e08ca,_0x869367[_0x1e50('0x8')]=_0x404cea,_0x869367[_0x1e50('0x9')]({'attributes':{'class':_0x1e50('0xc')+_0x3b376c}}),_0x869367['on'](_0x1e50('0x5'),()=>this[_0x1e50('0xf')](_0x3b376c)),_0x869367;}}
23
+ const _0x4f1e=['execute','div','bindTemplate','submit','label','submitView','icon','set','_createButtonView','ck-thread__remove-confirm','cancel','message','ck-thread__remove-confirm-','check','fire'];(function(_0x4b380a,_0x4f1e20){const _0x392748=function(_0x845bf5){while(--_0x845bf5){_0x4b380a['push'](_0x4b380a['shift']());}};_0x392748(++_0x4f1e20);}(_0x4f1e,0x1a0));const _0x3927=function(_0x4b380a,_0x4f1e20){_0x4b380a=_0x4b380a-0x0;let _0x392748=_0x4f1e[_0x4b380a];return _0x392748;};import{View as _0x148233,ButtonView as _0x58b9d0}from'ckeditor5/src/ui';import{icons as _0x15d5f0}from'ckeditor5/src/core';import{getTranslation as _0x42de0f}from'./common-translations';export default class h extends _0x148233{constructor(_0x5578ab){super(_0x5578ab);const _0x3ab488=this[_0x3927('0x6')];this['submitView']=this[_0x3927('0xc')](_0x5578ab,_0x42de0f(_0x5578ab,'Yes'),_0x15d5f0[_0x3927('0x2')],_0x3927('0x7')),this['cancelView']=this['_createButtonView'](_0x5578ab,_0x42de0f(_0x5578ab,'No'),_0x15d5f0[_0x3927('0xe')],_0x3927('0xe')),this[_0x3927('0xb')](_0x3927('0x0'),_0x42de0f(_0x5578ab,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x3927('0xd')]},'children':[{'tag':_0x3927('0x5'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x3ab488['to']('message')}]},{'tag':_0x3927('0x5'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x3927('0x9')],this['cancelView']]}]}]});}[_0x3927('0xc')](_0x4c10d8,_0x4153b6,_0x3bbd6f,_0x104baa){const _0x6de35a=new _0x58b9d0(_0x4c10d8);return _0x6de35a[_0x3927('0x8')]=_0x4153b6,_0x6de35a[_0x3927('0xa')]=_0x3bbd6f,_0x6de35a['extendTemplate']({'attributes':{'class':_0x3927('0x1')+_0x104baa}}),_0x6de35a['on'](_0x3927('0x4'),()=>this[_0x3927('0x3')](_0x104baa)),_0x6de35a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb941=['\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','string','dateTimeFormat','function'];(function(_0x3c46f6,_0xb9414a){const _0x131e5d=function(_0x4a088f){while(--_0x4a088f){_0x3c46f6['push'](_0x3c46f6['shift']());}};_0x131e5d(++_0xb9414a);}(_0xb941,0x161));const _0x131e=function(_0x3c46f6,_0xb9414a){_0x3c46f6=_0x3c46f6-0x0;let _0x131e5d=_0xb941[_0x3c46f6];return _0x131e5d;};import _0x3a648d from'date-fns/format';import _0x5b0ff4 from'date-fns/parseISO';import _0x2133ef from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2ee999}from'ckeditor5/src/utils';export default function E(_0x3786ef={}){if(void 0x0!==_0x3786ef[_0x131e('0x2')]&&_0x131e('0x3')!=typeof _0x3786ef['dateTimeFormat'])throw new _0x2ee999('invalid-date-time-format');return _0x3decc0=>{const _0x5afbc2=_0x131e('0x1')==typeof _0x3decc0?_0x5b0ff4(_0x3decc0):_0x3decc0,_0x57b298=new Date(),_0x53aa96=_0x2133ef(_0x57b298,_0x5afbc2);return _0x3786ef[_0x131e('0x2')]?_0x3786ef[_0x131e('0x2')](_0x5afbc2):_0x3a648d(_0x5afbc2,0x0===_0x53aa96?_0x131e('0x5'):0x1===_0x53aa96?_0x131e('0x4'):_0x53aa96<0x7?_0x131e('0x6'):_0x131e('0x0'));};}
23
+ const _0x4fea=['MM-dd-yyyy\x20hh:mma','invalid-date-time-format','string','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','function'];(function(_0x4813f2,_0x4fea28){const _0xa97c4f=function(_0xe46a36){while(--_0xe46a36){_0x4813f2['push'](_0x4813f2['shift']());}};_0xa97c4f(++_0x4fea28);}(_0x4fea,0x193));const _0xa97c=function(_0x4813f2,_0x4fea28){_0x4813f2=_0x4813f2-0x0;let _0xa97c4f=_0x4fea[_0x4813f2];return _0xa97c4f;};import _0x531486 from'date-fns/format';import _0x1ea742 from'date-fns/parseISO';import _0x581f38 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xcb1c21}from'ckeditor5/src/utils';export default function E(_0x3cd7a4={}){if(void 0x0!==_0x3cd7a4[_0xa97c('0x1')]&&_0xa97c('0x2')!=typeof _0x3cd7a4['dateTimeFormat'])throw new _0xcb1c21(_0xa97c('0x4'));return _0x423186=>{const _0x7c7156=_0xa97c('0x5')==typeof _0x423186?_0x1ea742(_0x423186):_0x423186,_0x322e36=new Date(),_0x421747=_0x581f38(_0x322e36,_0x7c7156);return _0x3cd7a4['dateTimeFormat']?_0x3cd7a4['dateTimeFormat'](_0x7c7156):_0x531486(_0x7c7156,0x0===_0x421747?'\x27Today\x27\x20hh:mma':0x1===_0x421747?_0xa97c('0x6'):_0x421747<0x7?_0xa97c('0x0'):_0xa97c('0x3'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d90=['getClientRects','view','item','domConverter','from','markerNameToElements','map','name','mapper','length','mapViewToDom','domElement','push'];(function(_0x5056e1,_0x5d9052){const _0x162c7d=function(_0x5187c8){while(--_0x5187c8){_0x5056e1['push'](_0x5056e1['shift']());}};_0x162c7d(++_0x5d9052);}(_0x5d90,0x1b5));const _0x162c=function(_0x5056e1,_0x5d9052){_0x5056e1=_0x5056e1-0x0;let _0x162c7d=_0x5d90[_0x5056e1];return _0x162c7d;};import{first as _0x21a8bc}from'ckeditor5/src/utils';export default function k(_0x2f829c,_0x4fb1d7){const _0x37a0e6=_0x2f829c[_0x162c('0x0')]['markerNameToElements'](_0x4fb1d7['name']);if(!_0x37a0e6)return null;const _0x236ec1=_0x21a8bc(_0x37a0e6['values']());return _0x2f829c[_0x162c('0x6')]['domConverter']['mapViewToDom'](_0x236ec1)||null;}export function getAllMarkersDomElementsSorted(_0x2e6c3,_0x38ad4f){if(0x0===_0x38ad4f[_0x162c('0x1')])return null;const _0x5f4309=[],_0x2998a2=_0x2e6c3[_0x162c('0x6')][_0x162c('0x8')];for(const _0x4e7beb of _0x38ad4f){const _0x1fd62a=_0x2e6c3['mapper'][_0x162c('0xa')](_0x4e7beb[_0x162c('0xc')]);if(!_0x1fd62a)continue;const _0x54b728=Array[_0x162c('0x9')](_0x1fd62a)[_0x162c('0xb')](_0x17fcae=>_0x2998a2[_0x162c('0x2')](_0x17fcae))['filter'](_0x48fb93=>!!_0x48fb93);_0x5f4309['push'](..._0x54b728);}if(0x0===_0x5f4309[_0x162c('0x1')])return null;const _0x2598c3=[];for(const _0x2a1fed of _0x5f4309){const _0x4afd53=_0x2a1fed[_0x162c('0x5')]()[_0x162c('0x7')](0x0);_0x4afd53&&_0x2598c3[_0x162c('0x4')]({'x':_0x4afd53['x'],'y':_0x4afd53['y'],'domElement':_0x2a1fed});}return 0x0===_0x2598c3[_0x162c('0x1')]?null:(_0x2598c3['sort']((_0x50efa2,_0x131f45)=>_0x50efa2['y']-_0x131f45['y']||_0x50efa2['x']-_0x131f45['x']),_0x2598c3[_0x162c('0xb')](_0xfafd04=>_0xfafd04[_0x162c('0x3')]));}
23
+ const _0x1b5f=['map','name','sort','length','mapper','getClientRects','domConverter','item','view','mapViewToDom','push','markerNameToElements','domElement','from'];(function(_0x2f2640,_0x1b5f19){const _0x413d00=function(_0x3cdeef){while(--_0x3cdeef){_0x2f2640['push'](_0x2f2640['shift']());}};_0x413d00(++_0x1b5f19);}(_0x1b5f,0x12a));const _0x413d=function(_0x2f2640,_0x1b5f19){_0x2f2640=_0x2f2640-0x0;let _0x413d00=_0x1b5f[_0x2f2640];return _0x413d00;};import{first as _0x6a8d1a}from'ckeditor5/src/utils';export default function k(_0x24c7d1,_0x14b15a){const _0x48a647=_0x24c7d1[_0x413d('0x0')]['markerNameToElements'](_0x14b15a[_0x413d('0xb')]);if(!_0x48a647)return null;const _0x1a6c9f=_0x6a8d1a(_0x48a647['values']());return _0x24c7d1[_0x413d('0x4')][_0x413d('0x2')]['mapViewToDom'](_0x1a6c9f)||null;}export function getAllMarkersDomElementsSorted(_0x19a7ad,_0x3f88e0){if(0x0===_0x3f88e0[_0x413d('0xd')])return null;const _0x33f452=[],_0x7ee69e=_0x19a7ad[_0x413d('0x4')][_0x413d('0x2')];for(const _0x1b9a98 of _0x3f88e0){const _0x24e6d3=_0x19a7ad[_0x413d('0x0')][_0x413d('0x7')](_0x1b9a98['name']);if(!_0x24e6d3)continue;const _0x4c0559=Array[_0x413d('0x9')](_0x24e6d3)[_0x413d('0xa')](_0x30f489=>_0x7ee69e[_0x413d('0x5')](_0x30f489))['filter'](_0x103303=>!!_0x103303);_0x33f452[_0x413d('0x6')](..._0x4c0559);}if(0x0===_0x33f452['length'])return null;const _0x4d81a0=[];for(const _0x2866e4 of _0x33f452){const _0x2eb192=_0x2866e4[_0x413d('0x1')]()[_0x413d('0x3')](0x0);_0x2eb192&&_0x4d81a0[_0x413d('0x6')]({'x':_0x2eb192['x'],'y':_0x2eb192['y'],'domElement':_0x2866e4});}return 0x0===_0x4d81a0['length']?null:(_0x4d81a0[_0x413d('0xc')]((_0x1c1845,_0x30ded7)=>_0x1c1845['y']-_0x30ded7['y']||_0x1c1845['x']-_0x30ded7['x']),_0x4d81a0[_0x413d('0xa')](_0x459026=>_0x459026[_0x413d('0x8')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3909=['keys','number','boolean','string','toString','object','sort','charCodeAt'];(function(_0x230cdd,_0x3909af){const _0x4e0451=function(_0x3071d2){while(--_0x3071d2){_0x230cdd['push'](_0x230cdd['shift']());}};_0x4e0451(++_0x3909af);}(_0x3909,0xf7));const _0x4e04=function(_0x230cdd,_0x3909af){_0x230cdd=_0x230cdd-0x0;let _0x4e0451=_0x3909[_0x230cdd];return _0x4e0451;};export default function b(_0x1bd73d){let _0x4bc76c=0x0,_0x589ad2=0x0;for(const _0x2ba6c9 of g(_0x1bd73d))_0x4bc76c=(_0x4bc76c<<0x5)-_0x4bc76c+_0x2ba6c9,_0x4bc76c&=_0x4bc76c,[_0x4bc76c,_0x589ad2]=[_0x589ad2,_0x4bc76c];return O(_0x4bc76c)+O(_0x589ad2);}function*j(_0x2e26c5){_0x2e26c5?_0x4e04('0x3')==typeof _0x2e26c5?yield 0x1:Array['isArray'](_0x2e26c5)?yield*function*(_0x5112a7){for(const _0x45fc68 of _0x5112a7)yield*j(_0x45fc68);}(_0x2e26c5):_0x4e04('0x6')==typeof _0x2e26c5?yield*g(_0x2e26c5):_0x4e04('0x4')==typeof _0x2e26c5?yield*A(_0x2e26c5):_0x4e04('0x2')==typeof _0x2e26c5&&(yield _0x2e26c5):yield 0x0;}function*g(_0x1a9945){if(yield M('{'),_0x1a9945){const _0x3f8dd5=Object[_0x4e04('0x1')](_0x1a9945)[_0x4e04('0x7')]();for(const _0x339670 of _0x3f8dd5){yield*A(_0x339670),yield M(':');const _0x5b4ad1=_0x1a9945[_0x339670];yield*j(_0x5b4ad1);}}yield M('}');}function*A(_0x59d731){yield M('\x22');for(const _0x350b03 of _0x59d731)yield M(_0x350b03);yield M('\x22');}function M(_0x451ab9){return _0x451ab9[_0x4e04('0x0')](0x0);}function O(_0x5c369b){return(_0x5c369b*=Math['sign'](_0x5c369b))[_0x4e04('0x5')](0x24);}
23
+ const _0x5673=['string','sign','object','sort','toString','number','keys','isArray'];(function(_0x42a99c,_0x567395){const _0x525e2a=function(_0x2ce107){while(--_0x2ce107){_0x42a99c['push'](_0x42a99c['shift']());}};_0x525e2a(++_0x567395);}(_0x5673,0x17c));const _0x525e=function(_0x42a99c,_0x567395){_0x42a99c=_0x42a99c-0x0;let _0x525e2a=_0x5673[_0x42a99c];return _0x525e2a;};export default function b(_0x16677c){let _0x210fe8=0x0,_0x483419=0x0;for(const _0x1cdac4 of g(_0x16677c))_0x210fe8=(_0x210fe8<<0x5)-_0x210fe8+_0x1cdac4,_0x210fe8&=_0x210fe8,[_0x210fe8,_0x483419]=[_0x483419,_0x210fe8];return O(_0x210fe8)+O(_0x483419);}function*j(_0x393200){_0x393200?'boolean'==typeof _0x393200?yield 0x1:Array[_0x525e('0x3')](_0x393200)?yield*function*(_0x329627){for(const _0x5dff2c of _0x329627)yield*j(_0x5dff2c);}(_0x393200):_0x525e('0x6')==typeof _0x393200?yield*g(_0x393200):_0x525e('0x4')==typeof _0x393200?yield*A(_0x393200):_0x525e('0x1')==typeof _0x393200&&(yield _0x393200):yield 0x0;}function*g(_0x2f3c0d){if(yield M('{'),_0x2f3c0d){const _0x45c5e6=Object[_0x525e('0x2')](_0x2f3c0d)[_0x525e('0x7')]();for(const _0x5a8838 of _0x45c5e6){yield*A(_0x5a8838),yield M(':');const _0x1172fa=_0x2f3c0d[_0x5a8838];yield*j(_0x1172fa);}}yield M('}');}function*A(_0x34dff2){yield M('\x22');for(const _0x414b98 of _0x34dff2)yield M(_0x414b98);yield M('\x22');}function M(_0x594467){return _0x594467['charCodeAt'](0x0);}function O(_0x7919d6){return(_0x7919d6*=Math[_0x525e('0x5')](_0x7919d6))[_0x525e('0x0')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2395=['toolbar','WordCount','rootsAttributes','get','find','removePlugins','pluginName','set','concat','constructor','from','includes','_context','Autosave','string','DocumentOutline','extraPlugins','every','has','context','config','name','filter','names','length','plugins','WProofreader','requires','map','initialData'];(function(_0x974528,_0x239558){const _0x9876ee=function(_0x3beccc){while(--_0x3beccc){_0x974528['push'](_0x974528['shift']());}};_0x9876ee(++_0x239558);}(_0x2395,0x8b));const _0x9876=function(_0x974528,_0x239558){_0x974528=_0x974528-0x0;let _0x9876ee=_0x2395[_0x974528];return _0x9876ee;};const w=[_0x9876('0xa'),_0x9876('0x0'),_0x9876('0xb'),_0x9876('0xd')],W=['WebSocketGateway','RevisionTracker',_0x9876('0x18'),_0x9876('0xc'),_0x9876('0x1a'),_0x9876('0x7')];function v(_0x4d291b,_0x4fd358,_0x4b67ae,_0x24e5fb=[]){const _0x2320ad=_0x9876('0x19')==typeof _0x4d291b?_0x4b67ae['get'](_0x4d291b)[_0x9876('0x14')]:_0x4d291b,_0x44c185=_0x2320ad[_0x9876('0x11')]||_0x2320ad[_0x9876('0x2')];if(_0x4fd358[_0x9876('0x1d')](_0x44c185))return _0x4fd358[_0x9876('0xe')](_0x44c185);if(_0x4fd358[_0x9876('0x12')](_0x44c185,!0x0),_0x44c185&&W['concat'](_0x24e5fb)[_0x9876('0x16')](_0x44c185))return _0x4fd358['set'](_0x44c185,!0x1),!0x1;if(!_0x2320ad['requires'])return _0x4fd358[_0x9876('0x12')](_0x44c185,!0x0),!0x0;const _0x144646=_0x2320ad[_0x9876('0x8')][_0x9876('0x1c')](_0x366f34=>v(_0x366f34,_0x4fd358,_0x4b67ae,_0x24e5fb));return _0x4fd358[_0x9876('0x12')](_0x44c185,_0x144646),_0x144646;}export default function D(_0x22cfa8,_0x481e51){const _0x355c1b={};for(const _0x1accbb of _0x22cfa8['config'][_0x9876('0x4')]())w['includes'](_0x1accbb)||(_0x355c1b[_0x1accbb]=_0x22cfa8[_0x9876('0x1')][_0x9876('0xe')](_0x1accbb));const _0x463d63=_0x355c1b['plugins']||[],_0x28c7d6=_0x22cfa8[_0x9876('0x14')]['builtinPlugins']||[],_0x1b5b8a=_0x463d63[_0x9876('0x5')]?_0x463d63:_0x28c7d6,_0xed78dd=_0x355c1b[_0x9876('0x1b')]||[];delete _0x355c1b['extraPlugins'];const _0x1e183f=_0x355c1b[_0x9876('0x10')]||[];delete _0x355c1b['removePlugins'];const _0x48b93a=_0x22cfa8[_0x9876('0x17')][_0x9876('0x1')][_0x9876('0xe')](_0x9876('0x6'))||[],_0xf423bf=_0x1b5b8a[_0x9876('0x13')](_0xed78dd)['concat'](_0x48b93a)[_0x9876('0x9')](_0x2e52bf=>'string'==typeof _0x2e52bf?_0x28c7d6[_0x9876('0xf')](_0x25c5c7=>_0x25c5c7['pluginName']==_0x2e52bf):_0x2e52bf)[_0x9876('0x3')](_0x589888=>!_0x1e183f['includes'](_0x589888)),_0x803f20=Array[_0x9876('0x15')](new Set(_0xf423bf)),_0x3522f8=new Map();return _0x355c1b['plugins']=_0x803f20[_0x9876('0x3')](_0x2a82a1=>v(_0x2a82a1,_0x3522f8,_0x22cfa8[_0x9876('0x6')],_0x481e51)),_0x355c1b;}
23
+ const _0x2928=['constructor','pluginName','requires','plugins','context','WordCount','_context','filter','from','length','RevisionTracker','has','string','extraPlugins','names','includes','get','initialData','removePlugins','map','concat','set','every','config','find'];(function(_0x573f37,_0x2928cc){const _0x623309=function(_0x1d75a5){while(--_0x1d75a5){_0x573f37['push'](_0x573f37['shift']());}};_0x623309(++_0x2928cc);}(_0x2928,0x7a));const _0x6233=function(_0x573f37,_0x2928cc){_0x573f37=_0x573f37-0x0;let _0x623309=_0x2928[_0x573f37];return _0x623309;};const w=[_0x6233('0x14'),_0x6233('0x7'),'toolbar','rootsAttributes'],W=['WebSocketGateway',_0x6233('0xd'),'Autosave',_0x6233('0x8'),'DocumentOutline','WProofreader'];function v(_0x546350,_0x28bece,_0x652890,_0x4c0be3=[]){const _0x1fedde=_0x6233('0xf')==typeof _0x546350?_0x652890[_0x6233('0x13')](_0x546350)[_0x6233('0x3')]:_0x546350,_0x4eda7e=_0x1fedde[_0x6233('0x4')]||_0x1fedde['name'];if(_0x28bece[_0x6233('0xe')](_0x4eda7e))return _0x28bece['get'](_0x4eda7e);if(_0x28bece[_0x6233('0x18')](_0x4eda7e,!0x0),_0x4eda7e&&W['concat'](_0x4c0be3)[_0x6233('0x12')](_0x4eda7e))return _0x28bece[_0x6233('0x18')](_0x4eda7e,!0x1),!0x1;if(!_0x1fedde[_0x6233('0x5')])return _0x28bece['set'](_0x4eda7e,!0x0),!0x0;const _0x41246c=_0x1fedde[_0x6233('0x5')][_0x6233('0x0')](_0x39d515=>v(_0x39d515,_0x28bece,_0x652890,_0x4c0be3));return _0x28bece[_0x6233('0x18')](_0x4eda7e,_0x41246c),_0x41246c;}export default function D(_0x1202ce,_0x207485){const _0x1afc14={};for(const _0x56d6a9 of _0x1202ce[_0x6233('0x1')][_0x6233('0x11')]())w[_0x6233('0x12')](_0x56d6a9)||(_0x1afc14[_0x56d6a9]=_0x1202ce[_0x6233('0x1')][_0x6233('0x13')](_0x56d6a9));const _0x52b97e=_0x1afc14[_0x6233('0x6')]||[],_0x29102f=_0x1202ce['constructor']['builtinPlugins']||[],_0x1dd727=_0x52b97e[_0x6233('0xc')]?_0x52b97e:_0x29102f,_0x5a41ed=_0x1afc14[_0x6233('0x10')]||[];delete _0x1afc14['extraPlugins'];const _0x303c4a=_0x1afc14[_0x6233('0x15')]||[];delete _0x1afc14['removePlugins'];const _0x5cc6ec=_0x1202ce[_0x6233('0x9')][_0x6233('0x1')][_0x6233('0x13')](_0x6233('0x6'))||[],_0x566683=_0x1dd727[_0x6233('0x17')](_0x5a41ed)[_0x6233('0x17')](_0x5cc6ec)[_0x6233('0x16')](_0xbb5be3=>'string'==typeof _0xbb5be3?_0x29102f[_0x6233('0x2')](_0x20935b=>_0x20935b['pluginName']==_0xbb5be3):_0xbb5be3)['filter'](_0x2965d6=>!_0x303c4a[_0x6233('0x12')](_0x2965d6)),_0x3999b7=Array[_0x6233('0xb')](new Set(_0x566683)),_0x563aef=new Map();return _0x1afc14[_0x6233('0x6')]=_0x3999b7[_0x6233('0xa')](_0x235746=>v(_0x235746,_0x563aef,_0x1202ce['plugins'],_0x207485)),_0x1afc14;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5275=['push','pop','replace','...','startsWith','match','join','length','slice','substring'];(function(_0x13b182,_0x52757b){const _0x598f4b=function(_0x56b2e5){while(--_0x56b2e5){_0x13b182['push'](_0x13b182['shift']());}};_0x598f4b(++_0x52757b);}(_0x5275,0xb6));const _0x598f=function(_0x13b182,_0x52757b){_0x13b182=_0x13b182-0x0;let _0x598f4b=_0x5275[_0x13b182];return _0x598f4b;};export default function z(_0x55ce28,{limit:_0x84740d,suffix:_0x54a769=_0x598f('0x1')}){const _0x3be0d9=[];let _0x152e1f=0x0;const _0x52eb32=_0x55ce28[_0x598f('0x0')](/</g,'\x0a<')[_0x598f('0x0')](/>/g,'>\x0a')[_0x598f('0x0')](/^\n/g,'')[_0x598f('0x0')](/\n$/g,'')['split']('\x0a');for(let _0x800d89=0x0;_0x800d89<_0x52eb32[_0x598f('0x5')];_0x800d89++){let _0x481af0=_0x52eb32[_0x800d89];const _0x15da2e=Z(_0x481af0);if(_0x481af0[_0x598f('0x2')]('<')){if(_0x152e1f>=_0x84740d){const _0x5056be=_0x481af0[_0x598f('0x3')](/[a-zA-Z]+/);if(!_0x5056be){_0x52eb32[_0x800d89]='';continue;}const _0x211856=_0x5056be[0x0];_0x481af0[_0x598f('0x2')]('</')?(_0x3be0d9[_0x598f('0x5')]&&(_0x481af0=''),_0x3be0d9[_0x598f('0x9')]()):(_0x3be0d9[_0x598f('0x8')](_0x211856),_0x481af0='');}}else{if(_0x152e1f>=_0x84740d)_0x481af0='';else{if(_0x152e1f+_0x15da2e[_0x598f('0x5')]>=_0x84740d){let _0x4c1d18=_0x84740d-_0x152e1f;if('\x20'===_0x15da2e[_0x4c1d18-0x1])_0x4c1d18--;else{const _0x29b3e1=_0x15da2e[_0x598f('0x6')](_0x4c1d18)['indexOf']('\x20');-0x1!==_0x29b3e1?_0x4c1d18+=_0x29b3e1:_0x4c1d18=_0x481af0['length'];}_0x481af0=_0x15da2e[_0x598f('0x6')](0x0,_0x4c1d18)[_0x598f('0x4')]('')+_0x54a769,_0x152e1f=_0x84740d;}else _0x152e1f+=_0x15da2e['length'];}}_0x52eb32[_0x800d89]=_0x481af0;}return _0x52eb32[_0x598f('0x4')]('\x0a')['replace'](/\n/g,'');}function Z(_0x4ce995){const _0x13675a=[];for(let _0x542c05=0x0;_0x542c05<_0x4ce995[_0x598f('0x5')];_0x542c05++){const _0x3518e0=_0x4ce995[_0x598f('0x7')](_0x542c05)[_0x598f('0x3')](/^&[a-z0-9#]+;/);if(_0x3518e0){const _0x36ce67=_0x3518e0[0x0];_0x13675a[_0x598f('0x8')](_0x36ce67),_0x542c05+=_0x36ce67[_0x598f('0x5')]-0x1;}else _0x13675a[_0x598f('0x8')](_0x4ce995[_0x542c05]);}return _0x13675a;}
23
+ const _0x1d5a=['slice','push','startsWith','split','length','replace','match','substring','join'];(function(_0x3692e7,_0x1d5a44){const _0x1e6472=function(_0x360bcf){while(--_0x360bcf){_0x3692e7['push'](_0x3692e7['shift']());}};_0x1e6472(++_0x1d5a44);}(_0x1d5a,0x149));const _0x1e64=function(_0x3692e7,_0x1d5a44){_0x3692e7=_0x3692e7-0x0;let _0x1e6472=_0x1d5a[_0x3692e7];return _0x1e6472;};export default function z(_0x4272d9,{limit:_0x138d53,suffix:_0x2bd400='...'}){const _0x4d357c=[];let _0x5b4f50=0x0;const _0x50fa76=_0x4272d9[_0x1e64('0x0')](/</g,'\x0a<')[_0x1e64('0x0')](/>/g,'>\x0a')[_0x1e64('0x0')](/^\n/g,'')[_0x1e64('0x0')](/\n$/g,'')[_0x1e64('0x7')]('\x0a');for(let _0x2596bd=0x0;_0x2596bd<_0x50fa76['length'];_0x2596bd++){let _0x5a8924=_0x50fa76[_0x2596bd];const _0x413f1d=Z(_0x5a8924);if(_0x5a8924[_0x1e64('0x6')]('<')){if(_0x5b4f50>=_0x138d53){const _0xffb3e5=_0x5a8924['match'](/[a-zA-Z]+/);if(!_0xffb3e5){_0x50fa76[_0x2596bd]='';continue;}const _0x213804=_0xffb3e5[0x0];_0x5a8924[_0x1e64('0x6')]('</')?(_0x4d357c['length']&&(_0x5a8924=''),_0x4d357c['pop']()):(_0x4d357c[_0x1e64('0x5')](_0x213804),_0x5a8924='');}}else{if(_0x5b4f50>=_0x138d53)_0x5a8924='';else{if(_0x5b4f50+_0x413f1d[_0x1e64('0x8')]>=_0x138d53){let _0x5b19fa=_0x138d53-_0x5b4f50;if('\x20'===_0x413f1d[_0x5b19fa-0x1])_0x5b19fa--;else{const _0x5abfe5=_0x413f1d[_0x1e64('0x4')](_0x5b19fa)['indexOf']('\x20');-0x1!==_0x5abfe5?_0x5b19fa+=_0x5abfe5:_0x5b19fa=_0x5a8924[_0x1e64('0x8')];}_0x5a8924=_0x413f1d[_0x1e64('0x4')](0x0,_0x5b19fa)[_0x1e64('0x3')]('')+_0x2bd400,_0x5b4f50=_0x138d53;}else _0x5b4f50+=_0x413f1d['length'];}}_0x50fa76[_0x2596bd]=_0x5a8924;}return _0x50fa76[_0x1e64('0x3')]('\x0a')[_0x1e64('0x0')](/\n/g,'');}function Z(_0x39d78b){const _0x1d7e36=[];for(let _0x3f367f=0x0;_0x3f367f<_0x39d78b['length'];_0x3f367f++){const _0x113d10=_0x39d78b[_0x1e64('0x2')](_0x3f367f)[_0x1e64('0x1')](/^&[a-z0-9#]+;/);if(_0x113d10){const _0x5424d8=_0x113d10[0x0];_0x1d7e36[_0x1e64('0x5')](_0x5424d8),_0x3f367f+=_0x5424d8[_0x1e64('0x8')]-0x1;}else _0x1d7e36[_0x1e64('0x5')](_0x39d78b[_0x3f367f]);}return _0x1d7e36;}