@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231023.0 → 0.0.0-nightly-20231025.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-20231023.0",
3
+ "version": "0.0.0-nightly-20231025.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-20231023.0",
34
+ "ckeditor5": "0.0.0-nightly-20231025.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 _0x3b78=['permissions-set-permissions-invalid-channel-id','comment:admin','config','has','get','noPermissions','clearForceDisabled','includes','isEnabled','Permissions','CommentsOnly','forceDisabled','editors','disableReadOnlyMode','commands','plugins','context','setPermissions','CommentsRepository','collaboration.channelId','pluginName','comment:modify_all','find'];(function(_0x1b645b,_0x3b7866){const _0x227493=function(_0x19820c){while(--_0x19820c){_0x1b645b['push'](_0x1b645b['shift']());}};_0x227493(++_0x3b7866);}(_0x3b78,0xd7));const _0x2274=function(_0x1b645b,_0x3b7866){_0x1b645b=_0x1b645b-0x0;let _0x227493=_0x3b78[_0x1b645b];return _0x227493;};import{ContextPlugin as _0x1825a5,Editor as _0xde7945}from'ckeditor5/src/core';import{CKEditorError as _0x4aecfc}from'ckeditor5/src/utils';export default class n extends _0x1825a5{static get[_0x2274('0xc')](){return _0x2274('0x1');}[_0x2274('0x9')](_0x271ee7,_0x5d8eae){let _0x343504;if(_0x5d8eae||(_0x5d8eae=this[_0x2274('0x8')][_0x2274('0x11')][_0x2274('0x13')](_0x2274('0xb'))),this[_0x2274('0x8')][_0x2274('0x11')][_0x2274('0x13')](_0x2274('0xb'))==_0x5d8eae?_0x343504=this[_0x2274('0x8')]:_0x2274('0x4')in this[_0x2274('0x8')]&&this[_0x2274('0x8')][_0x2274('0x4')]&&(_0x343504=this[_0x2274('0x8')][_0x2274('0x4')][_0x2274('0xe')](_0x5e3157=>_0x5e3157[_0x2274('0x11')][_0x2274('0x13')](_0x2274('0xb'))==_0x5d8eae)),!_0x343504)throw new _0x4aecfc(_0x2274('0xf'),null);const _0x393391=_0x343504[_0x2274('0x7')],_0x280abc=_0x393391[_0x2274('0x12')](_0x2274('0xa'))?_0x393391['get'](_0x2274('0xa')):void 0x0,_0x319d22=_0x393391[_0x2274('0x12')](_0x2274('0x2'))&&_0x393391[_0x2274('0x13')]('CommentsOnly'),_0x32b596=_0x271ee7[_0x2274('0x16')]('document:write'),_0x117a38=_0x271ee7[_0x2274('0x16')](_0x2274('0xd')),_0x453ce7=_0x271ee7[_0x2274('0x16')](_0x2274('0x10')),_0x34ee12=_0x271ee7['includes']('comment:write'),_0x2e668b=_0x34ee12||_0x453ce7,_0x471ab0=_0x2e668b||_0x117a38,_0x227a8c=_0x32b596||_0x2e668b;(_0x319d22&&(_0x319d22[_0x2274('0x0')]=!_0x32b596&&_0x471ab0),_0x343504 instanceof _0xde7945)&&(!(_0x32b596||_0x471ab0&&_0x280abc)?_0x343504['enableReadOnlyMode']('no-permissions'):_0x343504[_0x2274('0x5')]('no-permissions'));if(_0x280abc){_0x280abc[_0x2274('0x9')]({'admin':_0x453ce7,'modifyAll':_0x117a38,'write':_0x34ee12,'resolve':_0x227a8c},_0x5d8eae);const _0x490b41=_0x343504 instanceof _0xde7945&&_0x343504[_0x2274('0x6')][_0x2274('0x13')]('addCommentThread');_0x490b41&&(_0x2e668b?_0x490b41[_0x2274('0x15')]('noPermissions'):_0x490b41[_0x2274('0x3')](_0x2274('0x14')));}}}
23
+ const _0x348b=['includes','CommentsOnly','has','collaboration.channelId','noPermissions','no-permissions','comment:modify_all','find','commands','get','context','editors','isEnabled','plugins','Permissions','setPermissions','enableReadOnlyMode','CommentsRepository','comment:write','clearForceDisabled'];(function(_0x35c4fb,_0x348b19){const _0x4234f7=function(_0x1436db){while(--_0x1436db){_0x35c4fb['push'](_0x35c4fb['shift']());}};_0x4234f7(++_0x348b19);}(_0x348b,0x146));const _0x4234=function(_0x35c4fb,_0x348b19){_0x35c4fb=_0x35c4fb-0x0;let _0x4234f7=_0x348b[_0x35c4fb];return _0x4234f7;};import{ContextPlugin as _0x1e82c2,Editor as _0x5a420e}from'ckeditor5/src/core';import{CKEditorError as _0x481634}from'ckeditor5/src/utils';export default class n extends _0x1e82c2{static get['pluginName'](){return _0x4234('0x8');}[_0x4234('0x9')](_0x54b7c1,_0x335653){let _0x341904;if(_0x335653||(_0x335653=this[_0x4234('0x4')]['config']['get']('collaboration.channelId')),this[_0x4234('0x4')]['config'][_0x4234('0x3')](_0x4234('0x11'))==_0x335653?_0x341904=this['context']:_0x4234('0x5')in this[_0x4234('0x4')]&&this[_0x4234('0x4')][_0x4234('0x5')]&&(_0x341904=this[_0x4234('0x4')][_0x4234('0x5')][_0x4234('0x1')](_0xfa620c=>_0xfa620c['config'][_0x4234('0x3')](_0x4234('0x11'))==_0x335653)),!_0x341904)throw new _0x481634('permissions-set-permissions-invalid-channel-id',null);const _0x445733=_0x341904[_0x4234('0x7')],_0x3269ad=_0x445733[_0x4234('0x10')](_0x4234('0xb'))?_0x445733[_0x4234('0x3')](_0x4234('0xb')):void 0x0,_0x186eec=_0x445733[_0x4234('0x10')](_0x4234('0xf'))&&_0x445733[_0x4234('0x3')]('CommentsOnly'),_0x597083=_0x54b7c1['includes']('document:write'),_0x1271c3=_0x54b7c1[_0x4234('0xe')](_0x4234('0x0')),_0x232315=_0x54b7c1[_0x4234('0xe')]('comment:admin'),_0x347fbe=_0x54b7c1[_0x4234('0xe')](_0x4234('0xc')),_0x51e5ad=_0x347fbe||_0x232315,_0x26cc31=_0x51e5ad||_0x1271c3,_0x449142=_0x597083||_0x51e5ad;(_0x186eec&&(_0x186eec[_0x4234('0x6')]=!_0x597083&&_0x26cc31),_0x341904 instanceof _0x5a420e)&&(!(_0x597083||_0x26cc31&&_0x3269ad)?_0x341904[_0x4234('0xa')](_0x4234('0x13')):_0x341904['disableReadOnlyMode']('no-permissions'));if(_0x3269ad){_0x3269ad['setPermissions']({'admin':_0x232315,'modifyAll':_0x1271c3,'write':_0x347fbe,'resolve':_0x449142},_0x335653);const _0x4a3337=_0x341904 instanceof _0x5a420e&&_0x341904[_0x4234('0x2')][_0x4234('0x3')]('addCommentThread');_0x4a3337&&(_0x51e5ad?_0x4a3337[_0x4234('0xd')](_0x4234('0x12')):_0x4a3337['forceDisabled']('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40b1=['avatar','div','ck-user__avatar','notificationView','ck-user','ck\x20ck-user__name','initials','content','name','ck-user__anonymous','push','url(\x27'];(function(_0x46ff40,_0x40b1da){const _0x2d5b4b=function(_0x22d65d){while(--_0x22d65d){_0x46ff40['push'](_0x46ff40['shift']());}};_0x2d5b4b(++_0x40b1da);}(_0x40b1,0x18e));const _0x2d5b=function(_0x46ff40,_0x40b1da){_0x46ff40=_0x46ff40-0x0;let _0x2d5b4b=_0x40b1[_0x46ff40];return _0x2d5b4b;};import{View as _0x27f4a1,IconView as _0x2f9958}from'ckeditor5/src/ui';import _0x4e7079 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x27f4a1{constructor(_0x5c8bbd,_0x4e33f6,_0x2e7bb7){super(_0x5c8bbd),this[_0x2d5b('0x6')]=_0x4e33f6[_0x2d5b('0x6')],this['notificationView']=null;const _0x4b66e7=['ck','ck-user__img'];if(_0x4e33f6['isAnonymous']&&_0x4b66e7[_0x2d5b('0x8')](_0x2d5b('0x7')),_0x4e33f6[_0x2d5b('0xa')]&&_0x4b66e7[_0x2d5b('0x8')](_0x2d5b('0x0')),_0x2e7bb7){const _0x35499c=new _0x2f9958();_0x35499c['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x35499c[_0x2d5b('0x5')]=_0x4e7079,this['notificationView']={'tag':_0x2d5b('0xb'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2e7bb7},'children':[_0x35499c]};}const _0x3e24cf=[{'tag':_0x2d5b('0xb'),'attributes':{'class':_0x4b66e7,'style':{'background-image':_0x4e33f6[_0x2d5b('0xa')]?_0x2d5b('0x9')+_0x4e33f6[_0x2d5b('0xa')]+'\x27)':''}}},{'tag':_0x2d5b('0xb'),'attributes':{'class':_0x4e33f6[_0x2d5b('0xa')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x2d5b('0x3')},'children':[{'text':_0x4e33f6[_0x2d5b('0x4')]}]}];this[_0x2d5b('0x1')]&&_0x3e24cf['push'](this['notificationView']),this['setTemplate']({'tag':_0x2d5b('0xb'),'attributes':{'class':['ck',_0x2d5b('0x2')],'data-user-id':_0x4e33f6['id']},'children':_0x3e24cf});}}
23
+ const _0x4944=['url(\x27','ck-user__img','initials','setTemplate','div','ck-user','extendTemplate','avatar','notificationView','push','ck-user__anonymous','ck-user__avatar','name'];(function(_0x418c54,_0x4944a7){const _0x38e80b=function(_0x75530e){while(--_0x75530e){_0x418c54['push'](_0x418c54['shift']());}};_0x38e80b(++_0x4944a7);}(_0x4944,0x177));const _0x38e8=function(_0x418c54,_0x4944a7){_0x418c54=_0x418c54-0x0;let _0x38e80b=_0x4944[_0x418c54];return _0x38e80b;};import{View as _0x2bb125,IconView as _0x2e62d8}from'ckeditor5/src/ui';import _0x34dfcc from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x2bb125{constructor(_0x40a2de,_0x356b17,_0x4c1e51){super(_0x40a2de),this['name']=_0x356b17[_0x38e8('0x1')],this[_0x38e8('0xa')]=null;const _0x55a8b4=['ck',_0x38e8('0x3')];if(_0x356b17['isAnonymous']&&_0x55a8b4[_0x38e8('0xb')](_0x38e8('0xc')),_0x356b17[_0x38e8('0x9')]&&_0x55a8b4[_0x38e8('0xb')](_0x38e8('0x0')),_0x4c1e51){const _0x1a8a54=new _0x2e62d8();_0x1a8a54[_0x38e8('0x8')]({'attributes':{'class':['ck-user__icon']}}),_0x1a8a54['content']=_0x34dfcc,this[_0x38e8('0xa')]={'tag':_0x38e8('0x6'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4c1e51},'children':[_0x1a8a54]};}const _0x3b38f0=[{'tag':_0x38e8('0x6'),'attributes':{'class':_0x55a8b4,'style':{'background-image':_0x356b17[_0x38e8('0x9')]?_0x38e8('0x2')+_0x356b17[_0x38e8('0x9')]+'\x27)':''}}},{'tag':_0x38e8('0x6'),'attributes':{'class':_0x356b17[_0x38e8('0x9')]?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name'},'children':[{'text':_0x356b17[_0x38e8('0x4')]}]}];this[_0x38e8('0xa')]&&_0x3b38f0[_0x38e8('0xb')](this['notificationView']),this[_0x38e8('0x5')]({'tag':'div','attributes':{'class':['ck',_0x38e8('0x7')],'data-user-id':_0x356b17['id']},'children':_0x3b38f0});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa8cf=['pluginName','trial-license-key-reached-limit-changes','licenseKey','defineMe','users-me-missing-user','licenseKeyTrialLimit:revisions','destroy','users','isAnonymous','useAnonymousUser','Users','add','trial-license-key-reached-limit-time','licenseKeyInvalid','invalid-license-key','getSelectionClass','_id','_lastColor','requires','charAt','decorate','_isAnonymous','users-add-invalid-id','has','addUser','color','trial-license-key-reached-limit-revisions','context','init','length','string','licenseKeyValid','licenseKeyTrialLimit:operations','toUpperCase','_locale','users.anonymousUserId','info','_getInitial','_myId','users.colorsCount','licenseKeyTrialLimit:time','_addAnonymousUser','_licenseKeyCheckInterval','initials','getOperationAuthor','name','trim','define','getUser','getMarkerClass','split','licenseKeyTrial','locale','users-add-duplicated-id','config','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','anonymous-user','ck-user__selection--','Anonymous','get','_getNextColor'];(function(_0x4a91d2,_0xa8cf05){const _0x503b3a=function(_0x2717cf){while(--_0x2717cf){_0x4a91d2['push'](_0x4a91d2['shift']());}};_0x503b3a(++_0xa8cf05);}(_0xa8cf,0x19d));const _0x503b=function(_0x4a91d2,_0xa8cf05){_0x4a91d2=_0x4a91d2-0x0;let _0x503b3a=_0xa8cf[_0x4a91d2];return _0x503b3a;};import{ContextPlugin as _0x445bc5}from'ckeditor5/src/core';import{Collection as _0xc7f694,CKEditorError as _0x54c995}from'ckeditor5/src/utils';import _0x36ced9 from'./permissions';import{getTranslation as _0x1290f9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x445bc5{static get[_0x503b('0xe')](){return _0x503b('0x18');}static get[_0x503b('0x20')](){return[_0x36ced9];}constructor(_0x31e536){super(_0x31e536),this[_0x503b('0x29')][_0x503b('0x7')]['define'](_0x503b('0x31'),_0x503b('0x9')),this[_0x503b('0x29')][_0x503b('0x7')][_0x503b('0x0')]('users.colorsCount',0x8),this[_0x503b('0x15')]=new _0xc7f694(),this['_locale']=_0x31e536[_0x503b('0x5')],this[_0x503b('0x38')]=null,this[_0x503b('0x1f')]=0x0,this[_0x503b('0x34')]=null,this[_0x503b('0x22')](_0x503b('0x3a'));}[_0x503b('0x2a')](){const _0x3c25ce=this['context'];this[_0x503b('0x10')]=_0x3c25ce['config']['get'](_0x503b('0x10'));const _0x5ca2cc=[_0x503b('0x4'),_0x503b('0x1b'),_0x503b('0x2d'),_0x503b('0x2e'),'licenseKeyTrialLimit:time',_0x503b('0x13')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49076f;for(const _0x33fea1 in _0x3c25ce){const _0x99a56=_0x3c25ce[_0x33fea1];if(_0x5ca2cc['includes'](_0x99a56)){delete _0x3c25ce[_0x33fea1],_0x49076f=_0x99a56;break;}}if('licenseKeyInvalid'===_0x49076f)throw clearInterval(this[_0x503b('0x38')]),new _0x54c995(_0x503b('0x1c'),null);if(_0x503b('0x4')===_0x49076f&&console[_0x503b('0x32')](_0x503b('0x8')),_0x503b('0x2e')===_0x49076f)throw clearInterval(this[_0x503b('0x38')]),new _0x54c995(_0x503b('0xf'),null);if(_0x503b('0x36')===_0x49076f)throw clearInterval(this[_0x503b('0x38')]),new _0x54c995(_0x503b('0x1a'),null);if(_0x503b('0x13')===_0x49076f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x54c995(_0x503b('0x28'),null);_0x503b('0x2d')===_0x49076f&&clearInterval(this[_0x503b('0x38')]);},0x3e8),this[_0x503b('0x37')]();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x503b('0x34')]);}[_0x503b('0x26')]({id:_0x3db803,name:_0x34ace8,..._0x4999f8}){if(!_0x3db803||_0x503b('0x2c')!=typeof _0x3db803)throw new _0x54c995(_0x503b('0x24'));if(this[_0x503b('0x15')][_0x503b('0x25')](_0x3db803))throw new _0x54c995(_0x503b('0x6'),null,{'id':_0x3db803});const _0x158e5b={..._0x4999f8,'id':_0x3db803,'name':a(this[_0x503b('0x30')],_0x34ace8),'color':this['_getNextColor']()};_0x158e5b[_0x503b('0x3b')]=a(this[_0x503b('0x30')],_0x158e5b[_0x503b('0x3b')]);const _0x327a5c=new User(_0x158e5b);return this[_0x503b('0x15')][_0x503b('0x19')](_0x327a5c),_0x327a5c;}[_0x503b('0x1')](_0x2dbefb){return this[_0x503b('0x15')]['get'](_0x2dbefb);}[_0x503b('0x17')](){const _0xd27f0a=this[_0x503b('0x29')][_0x503b('0x7')][_0x503b('0xc')](_0x503b('0x31'));this['_myId']||this[_0x503b('0x11')](_0xd27f0a);}[_0x503b('0x11')](_0x1394b0){if(this[_0x503b('0x34')])throw new _0x54c995('users-me-already-defined',null);if(!this['getUser'](_0x1394b0))throw new _0x54c995(_0x503b('0x12'),null);this[_0x503b('0x34')]=_0x1394b0;}[_0x503b('0x3a')](){return this['me'];}[_0x503b('0x14')](){super[_0x503b('0x14')](),clearInterval(this[_0x503b('0x38')]);}[_0x503b('0xd')](){const _0x2f9a92=this[_0x503b('0x29')]['config'][_0x503b('0xc')](_0x503b('0x35'));return this[_0x503b('0x1f')]>=_0x2f9a92&&(this[_0x503b('0x1f')]=0x0),new u(this[_0x503b('0x1f')]++);}[_0x503b('0x37')](){const _0x458146=this['context'][_0x503b('0x7')][_0x503b('0xc')](_0x503b('0x31'));this[_0x503b('0x26')]({'id':_0x458146,'name':_0x1290f9(this[_0x503b('0x30')],_0x503b('0xb'))})[_0x503b('0x23')]=!0x0;}}export class User{constructor(_0x96e5a1){this['id']=_0x96e5a1['id'],this[_0x503b('0x27')]=_0x96e5a1['color'],this[_0x503b('0x3b')]=_0x96e5a1[_0x503b('0x3b')],this['avatar']=_0x96e5a1['avatar'],this[_0x503b('0x23')]=!0x1;}get[_0x503b('0x16')](){return this[_0x503b('0x23')];}get[_0x503b('0x39')](){const _0x280be2=this[_0x503b('0x3b')][_0x503b('0x3')]('\x20');return 0x1===_0x280be2[_0x503b('0x2b')]?this['_getInitial'](_0x280be2[0x0]):this[_0x503b('0x33')](_0x280be2[0x0])+this[_0x503b('0x33')](_0x280be2[_0x280be2[_0x503b('0x2b')]-0x1]);}['_getInitial'](_0x46f850){return _0x46f850[_0x503b('0x21')](0x0)[_0x503b('0x2f')]();}}function a(_0x40c236,_0x223ba9=''){return''==(_0x223ba9=_0x223ba9[_0x503b('0x3c')]())?_0x1290f9(_0x40c236,_0x503b('0xb')):_0x223ba9;}class u{constructor(_0x388824){this['_id']=_0x388824;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x503b('0x1e')];}[_0x503b('0x1d')](){return _0x503b('0xa')+this[_0x503b('0x1e')];}[_0x503b('0x2')](){return'ck-user__marker--'+this[_0x503b('0x1e')];}}
23
+ const _0x569a=['getOperationAuthor','licenseKeyValid','get','destroy','Users','name','_myId','context','avatar','split','licenseKeyTrialLimit:time','_addAnonymousUser','ck-user__selection--','_licenseKeyCheckInterval','defineMe','_locale','_getInitial','licenseKeyInvalid','initials','anonymous-user','ck-user__marker--','useAnonymousUser','locale','trial-license-key-reached-limit-changes','users.anonymousUserId','includes','licenseKey','users-add-duplicated-id','licenseKeyTrialLimit:operations','users.colorsCount','pluginName','toUpperCase','info','invalid-license-key','users-me-missing-user','length','_lastColor','users-add-invalid-id','_id','users','trial-license-key-reached-limit-revisions','getMarkerClass','define','_isAnonymous','config','licenseKeyTrialLimit:revisions','has','getUser','requires','addUser','_getNextColor','charAt','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.','Anonymous'];(function(_0x2c117c,_0x569ade){const _0x53441d=function(_0x138b7d){while(--_0x138b7d){_0x2c117c['push'](_0x2c117c['shift']());}};_0x53441d(++_0x569ade);}(_0x569a,0x11d));const _0x5344=function(_0x2c117c,_0x569ade){_0x2c117c=_0x2c117c-0x0;let _0x53441d=_0x569a[_0x2c117c];return _0x53441d;};import{ContextPlugin as _0x1f6404}from'ckeditor5/src/core';import{Collection as _0x9d2243,CKEditorError as _0x4483ef}from'ckeditor5/src/utils';import _0x250b38 from'./permissions';import{getTranslation as _0x371556}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x1f6404{static get[_0x5344('0xf')](){return _0x5344('0x2b');}static get[_0x5344('0x21')](){return[_0x250b38];}constructor(_0x5db7e8){super(_0x5db7e8),this[_0x5344('0x2e')][_0x5344('0x1d')][_0x5344('0x1b')](_0x5344('0x9'),_0x5344('0x4')),this[_0x5344('0x2e')][_0x5344('0x1d')][_0x5344('0x1b')]('users.colorsCount',0x8),this[_0x5344('0x18')]=new _0x9d2243(),this[_0x5344('0x0')]=_0x5db7e8[_0x5344('0x7')],this[_0x5344('0x34')]=null,this['_lastColor']=0x0,this[_0x5344('0x2d')]=null,this['decorate'](_0x5344('0x27'));}['init'](){const _0x2f0699=this[_0x5344('0x2e')];this[_0x5344('0xb')]=_0x2f0699[_0x5344('0x1d')][_0x5344('0x29')](_0x5344('0xb'));const _0x5eaa63=['licenseKeyTrial',_0x5344('0x2'),_0x5344('0x28'),'licenseKeyTrialLimit:operations',_0x5344('0x31'),_0x5344('0x1e')];this[_0x5344('0x34')]=setInterval(()=>{let _0x4846b7;for(const _0xcc581c in _0x2f0699){const _0x50d587=_0x2f0699[_0xcc581c];if(_0x5eaa63[_0x5344('0xa')](_0x50d587)){delete _0x2f0699[_0xcc581c],_0x4846b7=_0x50d587;break;}}if('licenseKeyInvalid'===_0x4846b7)throw clearInterval(this[_0x5344('0x34')]),new _0x4483ef(_0x5344('0x12'),null);if('licenseKeyTrial'===_0x4846b7&&console[_0x5344('0x11')](_0x5344('0x25')),_0x5344('0xd')===_0x4846b7)throw clearInterval(this[_0x5344('0x34')]),new _0x4483ef(_0x5344('0x8'),null);if(_0x5344('0x31')===_0x4846b7)throw clearInterval(this[_0x5344('0x34')]),new _0x4483ef('trial-license-key-reached-limit-time',null);if(_0x5344('0x1e')===_0x4846b7)throw clearInterval(this[_0x5344('0x34')]),new _0x4483ef(_0x5344('0x19'),null);_0x5344('0x28')===_0x4846b7&&clearInterval(this[_0x5344('0x34')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x5344('0x2d')]?null:this[_0x5344('0x20')](this[_0x5344('0x2d')]);}[_0x5344('0x22')]({id:_0x584de9,name:_0x2b4376,..._0x4c2647}){if(!_0x584de9||'string'!=typeof _0x584de9)throw new _0x4483ef(_0x5344('0x16'));if(this[_0x5344('0x18')][_0x5344('0x1f')](_0x584de9))throw new _0x4483ef(_0x5344('0xc'),null,{'id':_0x584de9});const _0x41344a={..._0x4c2647,'id':_0x584de9,'name':a(this[_0x5344('0x0')],_0x2b4376),'color':this[_0x5344('0x23')]()};_0x41344a[_0x5344('0x2c')]=a(this[_0x5344('0x0')],_0x41344a[_0x5344('0x2c')]);const _0x15ed45=new User(_0x41344a);return this['users']['add'](_0x15ed45),_0x15ed45;}['getUser'](_0x68a59d){return this[_0x5344('0x18')]['get'](_0x68a59d);}[_0x5344('0x6')](){const _0x266394=this['context'][_0x5344('0x1d')][_0x5344('0x29')](_0x5344('0x9'));this[_0x5344('0x2d')]||this[_0x5344('0x35')](_0x266394);}[_0x5344('0x35')](_0x11aa6e){if(this[_0x5344('0x2d')])throw new _0x4483ef('users-me-already-defined',null);if(!this[_0x5344('0x20')](_0x11aa6e))throw new _0x4483ef(_0x5344('0x13'),null);this['_myId']=_0x11aa6e;}[_0x5344('0x27')](){return this['me'];}[_0x5344('0x2a')](){super[_0x5344('0x2a')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x5344('0x23')](){const _0x3ca3c8=this['context']['config']['get'](_0x5344('0xe'));return this['_lastColor']>=_0x3ca3c8&&(this[_0x5344('0x15')]=0x0),new u(this[_0x5344('0x15')]++);}[_0x5344('0x32')](){const _0x2aa73e=this['context']['config'][_0x5344('0x29')](_0x5344('0x9'));this[_0x5344('0x22')]({'id':_0x2aa73e,'name':_0x371556(this[_0x5344('0x0')],_0x5344('0x26'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x43b649){this['id']=_0x43b649['id'],this['color']=_0x43b649['color'],this['name']=_0x43b649['name'],this[_0x5344('0x2f')]=_0x43b649[_0x5344('0x2f')],this[_0x5344('0x1c')]=!0x1;}get['isAnonymous'](){return this[_0x5344('0x1c')];}get[_0x5344('0x3')](){const _0x14cb14=this[_0x5344('0x2c')][_0x5344('0x30')]('\x20');return 0x1===_0x14cb14[_0x5344('0x14')]?this[_0x5344('0x1')](_0x14cb14[0x0]):this[_0x5344('0x1')](_0x14cb14[0x0])+this[_0x5344('0x1')](_0x14cb14[_0x14cb14[_0x5344('0x14')]-0x1]);}[_0x5344('0x1')](_0x314cc4){return _0x314cc4[_0x5344('0x24')](0x0)[_0x5344('0x10')]();}}function a(_0x33afb3,_0x189053=''){return''==(_0x189053=_0x189053['trim']())?_0x371556(_0x33afb3,_0x5344('0x26')):_0x189053;}class u{constructor(_0x262adb){this[_0x5344('0x17')]=_0x262adb;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x5344('0x17')];}['getSelectionClass'](){return _0x5344('0x33')+this['_id'];}[_0x5344('0x1a')](){return _0x5344('0x5')+this[_0x5344('0x17')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4e0e63,_0x13fd77){const t=_0x4e0e63['t'];switch(_0x13fd77){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(_0x3eddb3,_0x27d610){const t=_0x3eddb3['t'];switch(_0x27d610){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 _0x2301=['destroy','set','once','appendChild','fire','isConfirm','confirmView','cancel','element','deregisterChild','registerChild','focus','_removeConfirm','locale','message','remove'];(function(_0x45917a,_0x230104){var _0x1f6d59=function(_0x459aaf){while(--_0x459aaf){_0x45917a['push'](_0x45917a['shift']());}};_0x1f6d59(++_0x230104);}(_0x2301,0x188));var _0x1f6d=function(_0x45917a,_0x230104){_0x45917a=_0x45917a-0x0;var _0x1f6d59=_0x2301[_0x45917a];return _0x1f6d59;};import _0x347bb0 from'./confirmview';export default function m(_0x4fdca6){return class extends _0x4fdca6{['showConfirm'](_0x10d037,_0x5d6e58){return this['confirmView']=new _0x347bb0(this[_0x1f6d('0x5')]),this['confirmView']['render'](),this['confirmView'][_0x1f6d('0x6')]=_0x10d037,this[_0x1f6d('0xe')][_0x1f6d('0xa')]('cancel',()=>{this[_0x1f6d('0x4')]();}),this['confirmView'][_0x1f6d('0xa')]('submit',()=>{this[_0x1f6d('0x4')]();}),_0x5d6e58[_0x1f6d('0xb')](this[_0x1f6d('0xe')][_0x1f6d('0x0')]),this[_0x1f6d('0x2')](this[_0x1f6d('0xe')]),this[_0x1f6d('0x0')]['focus'](),this[_0x1f6d('0x9')]('isConfirm',!0x0),new Promise(_0x507d02=>this[_0x1f6d('0xe')]['on']('submit',_0x507d02));}['cancelConfirm'](){this[_0x1f6d('0xd')]&&this[_0x1f6d('0xe')][_0x1f6d('0xc')](_0x1f6d('0xf'));}[_0x1f6d('0x4')](){this['element']&&this['confirmView']&&this['confirmView'][_0x1f6d('0x0')]&&(this[_0x1f6d('0x0')][_0x1f6d('0x3')](),this['confirmView'][_0x1f6d('0x0')][_0x1f6d('0x7')](),this[_0x1f6d('0x1')](this[_0x1f6d('0xe')]),this[_0x1f6d('0xd')]=!0x1,this[_0x1f6d('0xe')][_0x1f6d('0x8')](),this['confirmView']=void 0x0);}};}
23
+ var _0x2e00=['fire','destroy','appendChild','submit','locale','registerChild','showConfirm','element','confirmView','set','isConfirm','remove','focus','deregisterChild','message','_removeConfirm','once','cancelConfirm'];(function(_0x44f623,_0x2e00f3){var _0x1750e4=function(_0x2bbc47){while(--_0x2bbc47){_0x44f623['push'](_0x44f623['shift']());}};_0x1750e4(++_0x2e00f3);}(_0x2e00,0x185));var _0x1750=function(_0x44f623,_0x2e00f3){_0x44f623=_0x44f623-0x0;var _0x1750e4=_0x2e00[_0x44f623];return _0x1750e4;};import _0x2da01c from'./confirmview';export default function m(_0x27a44c){return class extends _0x27a44c{[_0x1750('0xd')](_0x3cc913,_0x194495){return this[_0x1750('0xf')]=new _0x2da01c(this[_0x1750('0xb')]),this[_0x1750('0xf')]['render'](),this[_0x1750('0xf')][_0x1750('0x3')]=_0x3cc913,this[_0x1750('0xf')][_0x1750('0x5')]('cancel',()=>{this[_0x1750('0x4')]();}),this[_0x1750('0xf')][_0x1750('0x5')](_0x1750('0xa'),()=>{this[_0x1750('0x4')]();}),_0x194495[_0x1750('0x9')](this[_0x1750('0xf')]['element']),this[_0x1750('0xc')](this[_0x1750('0xf')]),this[_0x1750('0xe')][_0x1750('0x1')](),this[_0x1750('0x10')]('isConfirm',!0x0),new Promise(_0x49456a=>this[_0x1750('0xf')]['on'](_0x1750('0xa'),_0x49456a));}[_0x1750('0x6')](){this[_0x1750('0x11')]&&this[_0x1750('0xf')][_0x1750('0x7')]('cancel');}[_0x1750('0x4')](){this['element']&&this[_0x1750('0xf')]&&this['confirmView'][_0x1750('0xe')]&&(this[_0x1750('0xe')][_0x1750('0x1')](),this[_0x1750('0xf')][_0x1750('0xe')][_0x1750('0x0')](),this[_0x1750('0x2')](this[_0x1750('0xf')]),this[_0x1750('0x11')]=!0x1,this[_0x1750('0xf')][_0x1750('0x8')](),this[_0x1750('0xf')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12cb=['submit','fire','cancel','div','Yes','cancelView','message','extendTemplate','ck-thread__remove-confirm','check','ck-thread__remove-confirm-inner','_createButtonView','setTemplate','ck-thread__remove-confirm-actions','label','ck-thread__remove-confirm-','submitView','set'];(function(_0xa3db06,_0x12cb2b){const _0xaae452=function(_0x431078){while(--_0x431078){_0xa3db06['push'](_0xa3db06['shift']());}};_0xaae452(++_0x12cb2b);}(_0x12cb,0x8f));const _0xaae4=function(_0xa3db06,_0x12cb2b){_0xa3db06=_0xa3db06-0x0;let _0xaae452=_0x12cb[_0xa3db06];return _0xaae452;};import{View as _0xb364ee,ButtonView as _0x5de1d5}from'ckeditor5/src/ui';import{icons as _0x186b00}from'ckeditor5/src/core';import{getTranslation as _0x4ceb03}from'./common-translations';export default class h extends _0xb364ee{constructor(_0xd5519e){super(_0xd5519e);const _0x4c2ea9=this['bindTemplate'];this[_0xaae4('0x11')]=this[_0xaae4('0xc')](_0xd5519e,_0x4ceb03(_0xd5519e,_0xaae4('0x5')),_0x186b00[_0xaae4('0xa')],_0xaae4('0x1')),this[_0xaae4('0x6')]=this[_0xaae4('0xc')](_0xd5519e,_0x4ceb03(_0xd5519e,'No'),_0x186b00[_0xaae4('0x3')],'cancel'),this[_0xaae4('0x0')](_0xaae4('0x7'),_0x4ceb03(_0xd5519e,'Are\x20you\x20sure?')),this[_0xaae4('0xd')]({'tag':_0xaae4('0x4'),'attributes':{'class':[_0xaae4('0x9')]},'children':[{'tag':_0xaae4('0x4'),'attributes':{'class':_0xaae4('0xb')},'children':[{'tag':'p','children':[{'text':_0x4c2ea9['to'](_0xaae4('0x7'))}]},{'tag':_0xaae4('0x4'),'attributes':{'class':_0xaae4('0xe')},'children':[this[_0xaae4('0x11')],this[_0xaae4('0x6')]]}]}]});}[_0xaae4('0xc')](_0x31ea26,_0x24d80c,_0x85f633,_0x5c80c2){const _0x1f901d=new _0x5de1d5(_0x31ea26);return _0x1f901d[_0xaae4('0xf')]=_0x24d80c,_0x1f901d['icon']=_0x85f633,_0x1f901d[_0xaae4('0x8')]({'attributes':{'class':_0xaae4('0x10')+_0x5c80c2}}),_0x1f901d['on']('execute',()=>this[_0xaae4('0x2')](_0x5c80c2)),_0x1f901d;}}
23
+ const _0x1487=['Are\x20you\x20sure?','bindTemplate','_createButtonView','icon','cancelView','cancel','check','message','submit','label','fire','ck-thread__remove-confirm','div','ck-thread__remove-confirm-','submitView','ck-thread__remove-confirm-inner','extendTemplate','setTemplate','execute','set','Yes'];(function(_0x250334,_0x1487f0){const _0x5beee4=function(_0x3a9029){while(--_0x3a9029){_0x250334['push'](_0x250334['shift']());}};_0x5beee4(++_0x1487f0);}(_0x1487,0xff));const _0x5bee=function(_0x250334,_0x1487f0){_0x250334=_0x250334-0x0;let _0x5beee4=_0x1487[_0x250334];return _0x5beee4;};import{View as _0x46cbf0,ButtonView as _0xf024de}from'ckeditor5/src/ui';import{icons as _0x392818}from'ckeditor5/src/core';import{getTranslation as _0xb5f4de}from'./common-translations';export default class h extends _0x46cbf0{constructor(_0x4f8c47){super(_0x4f8c47);const _0x1018d4=this[_0x5bee('0x13')];this[_0x5bee('0xb')]=this['_createButtonView'](_0x4f8c47,_0xb5f4de(_0x4f8c47,_0x5bee('0x11')),_0x392818[_0x5bee('0x3')],_0x5bee('0x5')),this[_0x5bee('0x1')]=this[_0x5bee('0x14')](_0x4f8c47,_0xb5f4de(_0x4f8c47,'No'),_0x392818[_0x5bee('0x2')],_0x5bee('0x2')),this[_0x5bee('0x10')]('message',_0xb5f4de(_0x4f8c47,_0x5bee('0x12'))),this[_0x5bee('0xe')]({'tag':_0x5bee('0x9'),'attributes':{'class':[_0x5bee('0x8')]},'children':[{'tag':_0x5bee('0x9'),'attributes':{'class':_0x5bee('0xc')},'children':[{'tag':'p','children':[{'text':_0x1018d4['to'](_0x5bee('0x4'))}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x5bee('0xb')],this[_0x5bee('0x1')]]}]}]});}[_0x5bee('0x14')](_0x253c6e,_0x2b11bc,_0x2d2d7b,_0x2fb180){const _0x241570=new _0xf024de(_0x253c6e);return _0x241570[_0x5bee('0x6')]=_0x2b11bc,_0x241570[_0x5bee('0x0')]=_0x2d2d7b,_0x241570[_0x5bee('0xd')]({'attributes':{'class':_0x5bee('0xa')+_0x2fb180}}),_0x241570['on'](_0x5bee('0xf'),()=>this[_0x5bee('0x7')](_0x2fb180)),_0x241570;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a5=['invalid-date-time-format','MM-dd-yyyy\x20hh:mma','\x27Yesterday\x27\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma','string'];(function(_0x418c04,_0x36a5c9){const _0x3acec4=function(_0x446aad){while(--_0x446aad){_0x418c04['push'](_0x418c04['shift']());}};_0x3acec4(++_0x36a5c9);}(_0x36a5,0x177));const _0x3ace=function(_0x418c04,_0x36a5c9){_0x418c04=_0x418c04-0x0;let _0x3acec4=_0x36a5[_0x418c04];return _0x3acec4;};import _0x4752db from'date-fns/format';import _0x547821 from'date-fns/parseISO';import _0x5328c8 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2219b9}from'ckeditor5/src/utils';export default function E(_0x58172e={}){if(void 0x0!==_0x58172e['dateTimeFormat']&&'function'!=typeof _0x58172e['dateTimeFormat'])throw new _0x2219b9(_0x3ace('0x3'));return _0x572bf9=>{const _0x3ebc46=_0x3ace('0x2')==typeof _0x572bf9?_0x547821(_0x572bf9):_0x572bf9,_0xc7ac06=new Date(),_0x58f036=_0x5328c8(_0xc7ac06,_0x3ebc46);return _0x58172e[_0x3ace('0x0')]?_0x58172e['dateTimeFormat'](_0x3ebc46):_0x4752db(_0x3ebc46,0x0===_0x58f036?_0x3ace('0x1'):0x1===_0x58f036?_0x3ace('0x5'):_0x58f036<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x3ace('0x4'));};}
23
+ const _0x41b6=['dateTimeFormat','string','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','MM-dd-yyyy\x20hh:mma'];(function(_0x183c74,_0x41b6d1){const _0x3020cd=function(_0x37690f){while(--_0x37690f){_0x183c74['push'](_0x183c74['shift']());}};_0x3020cd(++_0x41b6d1);}(_0x41b6,0xc9));const _0x3020=function(_0x183c74,_0x41b6d1){_0x183c74=_0x183c74-0x0;let _0x3020cd=_0x41b6[_0x183c74];return _0x3020cd;};import _0x3049e7 from'date-fns/format';import _0x348b39 from'date-fns/parseISO';import _0x5b402f from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xd5f78d}from'ckeditor5/src/utils';export default function E(_0x3fa0d5={}){if(void 0x0!==_0x3fa0d5[_0x3020('0x3')]&&'function'!=typeof _0x3fa0d5[_0x3020('0x3')])throw new _0xd5f78d(_0x3020('0x1'));return _0x45b2cf=>{const _0x4455fc=_0x3020('0x4')==typeof _0x45b2cf?_0x348b39(_0x45b2cf):_0x45b2cf,_0x1d55e4=new Date(),_0x23c3d8=_0x5b402f(_0x1d55e4,_0x4455fc);return _0x3fa0d5[_0x3020('0x3')]?_0x3fa0d5['dateTimeFormat'](_0x4455fc):_0x3049e7(_0x4455fc,0x0===_0x23c3d8?'\x27Today\x27\x20hh:mma':0x1===_0x23c3d8?_0x3020('0x5'):_0x23c3d8<0x7?_0x3020('0x0'):_0x3020('0x2'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x138f=['getClientRects','from','domElement','length','view','item','sort','values','markerNameToElements','filter','mapViewToDom','push','name','mapper','map'];(function(_0x14e743,_0x138fb6){const _0x173ee7=function(_0x4eb2ff){while(--_0x4eb2ff){_0x14e743['push'](_0x14e743['shift']());}};_0x173ee7(++_0x138fb6);}(_0x138f,0xbb));const _0x173e=function(_0x14e743,_0x138fb6){_0x14e743=_0x14e743-0x0;let _0x173ee7=_0x138f[_0x14e743];return _0x173ee7;};import{first as _0x59ddee}from'ckeditor5/src/utils';export default function k(_0x142e10,_0x1df346){const _0x3a4d86=_0x142e10['mapper']['markerNameToElements'](_0x1df346[_0x173e('0x5')]);if(!_0x3a4d86)return null;const _0x61e688=_0x59ddee(_0x3a4d86[_0x173e('0x0')]());return _0x142e10['view']['domConverter'][_0x173e('0x3')](_0x61e688)||null;}export function getAllMarkersDomElementsSorted(_0x1c5fa4,_0x326d33){if(0x0===_0x326d33['length'])return null;const _0x37e863=[],_0x1e416f=_0x1c5fa4[_0x173e('0xc')]['domConverter'];for(const _0x42e5a2 of _0x326d33){const _0x3f0452=_0x1c5fa4[_0x173e('0x6')][_0x173e('0x1')](_0x42e5a2[_0x173e('0x5')]);if(!_0x3f0452)continue;const _0x2c1e67=Array[_0x173e('0x9')](_0x3f0452)[_0x173e('0x7')](_0x315993=>_0x1e416f[_0x173e('0x3')](_0x315993))[_0x173e('0x2')](_0x578994=>!!_0x578994);_0x37e863['push'](..._0x2c1e67);}if(0x0===_0x37e863[_0x173e('0xb')])return null;const _0x4abc88=[];for(const _0x984b7b of _0x37e863){const _0x53ac33=_0x984b7b[_0x173e('0x8')]()[_0x173e('0xd')](0x0);_0x53ac33&&_0x4abc88[_0x173e('0x4')]({'x':_0x53ac33['x'],'y':_0x53ac33['y'],'domElement':_0x984b7b});}return 0x0===_0x4abc88[_0x173e('0xb')]?null:(_0x4abc88[_0x173e('0xe')]((_0x92d85c,_0x58ff00)=>_0x92d85c['y']-_0x58ff00['y']||_0x92d85c['x']-_0x58ff00['x']),_0x4abc88[_0x173e('0x7')](_0x130e82=>_0x130e82[_0x173e('0xa')]));}
23
+ const _0x10c0=['markerNameToElements','mapper','view','sort','length','from','domConverter','map','getClientRects','name','push','item'];(function(_0x284bf9,_0x10c0a3){const _0x5976bb=function(_0x145052){while(--_0x145052){_0x284bf9['push'](_0x284bf9['shift']());}};_0x5976bb(++_0x10c0a3);}(_0x10c0,0x10d));const _0x5976=function(_0x284bf9,_0x10c0a3){_0x284bf9=_0x284bf9-0x0;let _0x5976bb=_0x10c0[_0x284bf9];return _0x5976bb;};import{first as _0xbfc137}from'ckeditor5/src/utils';export default function k(_0x44f59f,_0x5a2573){const _0x4ade0f=_0x44f59f[_0x5976('0x8')][_0x5976('0x7')](_0x5a2573[_0x5976('0x4')]);if(!_0x4ade0f)return null;const _0x5c8daa=_0xbfc137(_0x4ade0f['values']());return _0x44f59f[_0x5976('0x9')][_0x5976('0x1')]['mapViewToDom'](_0x5c8daa)||null;}export function getAllMarkersDomElementsSorted(_0x4c82d5,_0xaf13bc){if(0x0===_0xaf13bc[_0x5976('0xb')])return null;const _0x227228=[],_0x4a086d=_0x4c82d5[_0x5976('0x9')]['domConverter'];for(const _0x12af82 of _0xaf13bc){const _0x5b84ef=_0x4c82d5['mapper'][_0x5976('0x7')](_0x12af82[_0x5976('0x4')]);if(!_0x5b84ef)continue;const _0x3fa8c4=Array[_0x5976('0x0')](_0x5b84ef)[_0x5976('0x2')](_0x5eac71=>_0x4a086d['mapViewToDom'](_0x5eac71))['filter'](_0x3fd9cb=>!!_0x3fd9cb);_0x227228['push'](..._0x3fa8c4);}if(0x0===_0x227228['length'])return null;const _0x2406f4=[];for(const _0x5e2d45 of _0x227228){const _0x1a424f=_0x5e2d45[_0x5976('0x3')]()[_0x5976('0x6')](0x0);_0x1a424f&&_0x2406f4[_0x5976('0x5')]({'x':_0x1a424f['x'],'y':_0x1a424f['y'],'domElement':_0x5e2d45});}return 0x0===_0x2406f4['length']?null:(_0x2406f4[_0x5976('0xa')]((_0x5718b3,_0x27324e)=>_0x5718b3['y']-_0x27324e['y']||_0x5718b3['x']-_0x27324e['x']),_0x2406f4[_0x5976('0x2')](_0x3df275=>_0x3df275['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ccb=['object','sort','string','sign','charCodeAt','isArray','number','toString'];(function(_0x217bd0,_0x3ccb71){const _0x468edf=function(_0x3c0789){while(--_0x3c0789){_0x217bd0['push'](_0x217bd0['shift']());}};_0x468edf(++_0x3ccb71);}(_0x3ccb,0xf0));const _0x468e=function(_0x217bd0,_0x3ccb71){_0x217bd0=_0x217bd0-0x0;let _0x468edf=_0x3ccb[_0x217bd0];return _0x468edf;};export default function b(_0x2001c2){let _0x17920e=0x0,_0x11f236=0x0;for(const _0x88241 of g(_0x2001c2))_0x17920e=(_0x17920e<<0x5)-_0x17920e+_0x88241,_0x17920e&=_0x17920e,[_0x17920e,_0x11f236]=[_0x11f236,_0x17920e];return O(_0x17920e)+O(_0x11f236);}function*j(_0x1adf5d){_0x1adf5d?'boolean'==typeof _0x1adf5d?yield 0x1:Array[_0x468e('0x5')](_0x1adf5d)?yield*function*(_0x11d605){for(const _0x42e55b of _0x11d605)yield*j(_0x42e55b);}(_0x1adf5d):_0x468e('0x0')==typeof _0x1adf5d?yield*g(_0x1adf5d):_0x468e('0x2')==typeof _0x1adf5d?yield*A(_0x1adf5d):_0x468e('0x6')==typeof _0x1adf5d&&(yield _0x1adf5d):yield 0x0;}function*g(_0x290890){if(yield M('{'),_0x290890){const _0x5ba920=Object['keys'](_0x290890)[_0x468e('0x1')]();for(const _0x4b4ac1 of _0x5ba920){yield*A(_0x4b4ac1),yield M(':');const _0x24f8a2=_0x290890[_0x4b4ac1];yield*j(_0x24f8a2);}}yield M('}');}function*A(_0x26be73){yield M('\x22');for(const _0xf91e03 of _0x26be73)yield M(_0xf91e03);yield M('\x22');}function M(_0x357c6b){return _0x357c6b[_0x468e('0x4')](0x0);}function O(_0x220302){return(_0x220302*=Math[_0x468e('0x3')](_0x220302))[_0x468e('0x7')](0x24);}
23
+ const _0x1ccd=['sort','charCodeAt','object','keys','toString','number','string'];(function(_0x19b350,_0x1ccdcf){const _0x5401f8=function(_0x2cdcf1){while(--_0x2cdcf1){_0x19b350['push'](_0x19b350['shift']());}};_0x5401f8(++_0x1ccdcf);}(_0x1ccd,0xd0));const _0x5401=function(_0x19b350,_0x1ccdcf){_0x19b350=_0x19b350-0x0;let _0x5401f8=_0x1ccd[_0x19b350];return _0x5401f8;};export default function b(_0x99ccfe){let _0x1ece2a=0x0,_0x53e457=0x0;for(const _0x3ede3d of g(_0x99ccfe))_0x1ece2a=(_0x1ece2a<<0x5)-_0x1ece2a+_0x3ede3d,_0x1ece2a&=_0x1ece2a,[_0x1ece2a,_0x53e457]=[_0x53e457,_0x1ece2a];return O(_0x1ece2a)+O(_0x53e457);}function*j(_0x2e7b8f){_0x2e7b8f?'boolean'==typeof _0x2e7b8f?yield 0x1:Array['isArray'](_0x2e7b8f)?yield*function*(_0x5d60c7){for(const _0x177c6d of _0x5d60c7)yield*j(_0x177c6d);}(_0x2e7b8f):_0x5401('0x4')==typeof _0x2e7b8f?yield*g(_0x2e7b8f):_0x5401('0x1')==typeof _0x2e7b8f?yield*A(_0x2e7b8f):_0x5401('0x0')==typeof _0x2e7b8f&&(yield _0x2e7b8f):yield 0x0;}function*g(_0x565827){if(yield M('{'),_0x565827){const _0x14625e=Object[_0x5401('0x5')](_0x565827)[_0x5401('0x2')]();for(const _0x5b2489 of _0x14625e){yield*A(_0x5b2489),yield M(':');const _0x18b925=_0x565827[_0x5b2489];yield*j(_0x18b925);}}yield M('}');}function*A(_0x3890f2){yield M('\x22');for(const _0x53de06 of _0x3890f2)yield M(_0x53de06);yield M('\x22');}function M(_0x13ca11){return _0x13ca11[_0x5401('0x3')](0x0);}function O(_0xd890b8){return(_0xd890b8*=Math['sign'](_0xd890b8))[_0x5401('0x6')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e16=['config','includes','has','WordCount','toolbar','length','extraPlugins','Autosave','plugins','pluginName','_context','removePlugins','initialData','requires','filter','get','builtinPlugins','from','WebSocketGateway','name','every','rootsAttributes','WProofreader','set','names','constructor','concat','string'];(function(_0xc56be7,_0x2e1601){const _0x2fc2b8=function(_0x4096d3){while(--_0x4096d3){_0xc56be7['push'](_0xc56be7['shift']());}};_0x2fc2b8(++_0x2e1601);}(_0x2e16,0x97));const _0x2fc2=function(_0xc56be7,_0x2e1601){_0xc56be7=_0xc56be7-0x0;let _0x2fc2b8=_0x2e16[_0xc56be7];return _0x2fc2b8;};const w=[_0x2fc2('0x1'),'context',_0x2fc2('0x15'),_0x2fc2('0xa')],W=[_0x2fc2('0x7'),'RevisionTracker',_0x2fc2('0x18'),_0x2fc2('0x14'),'DocumentOutline',_0x2fc2('0xb')];function v(_0x163736,_0x2cbe5b,_0x3414d5,_0x199060=[]){const _0x43b217=_0x2fc2('0x10')==typeof _0x163736?_0x3414d5[_0x2fc2('0x4')](_0x163736)[_0x2fc2('0xe')]:_0x163736,_0x52fc1b=_0x43b217[_0x2fc2('0x1a')]||_0x43b217[_0x2fc2('0x8')];if(_0x2cbe5b[_0x2fc2('0x13')](_0x52fc1b))return _0x2cbe5b[_0x2fc2('0x4')](_0x52fc1b);if(_0x2cbe5b[_0x2fc2('0xc')](_0x52fc1b,!0x0),_0x52fc1b&&W[_0x2fc2('0xf')](_0x199060)[_0x2fc2('0x12')](_0x52fc1b))return _0x2cbe5b[_0x2fc2('0xc')](_0x52fc1b,!0x1),!0x1;if(!_0x43b217[_0x2fc2('0x2')])return _0x2cbe5b[_0x2fc2('0xc')](_0x52fc1b,!0x0),!0x0;const _0x2a6f81=_0x43b217[_0x2fc2('0x2')][_0x2fc2('0x9')](_0xe49ee=>v(_0xe49ee,_0x2cbe5b,_0x3414d5,_0x199060));return _0x2cbe5b[_0x2fc2('0xc')](_0x52fc1b,_0x2a6f81),_0x2a6f81;}export default function D(_0x196537,_0x30b13a){const _0xd9cbac={};for(const _0x12fb8f of _0x196537['config'][_0x2fc2('0xd')]())w[_0x2fc2('0x12')](_0x12fb8f)||(_0xd9cbac[_0x12fb8f]=_0x196537[_0x2fc2('0x11')]['get'](_0x12fb8f));const _0x3e9a45=_0xd9cbac[_0x2fc2('0x19')]||[],_0x239e2c=_0x196537[_0x2fc2('0xe')][_0x2fc2('0x5')]||[],_0x284775=_0x3e9a45[_0x2fc2('0x16')]?_0x3e9a45:_0x239e2c,_0x509fe3=_0xd9cbac[_0x2fc2('0x17')]||[];delete _0xd9cbac[_0x2fc2('0x17')];const _0x5de68d=_0xd9cbac[_0x2fc2('0x0')]||[];delete _0xd9cbac[_0x2fc2('0x0')];const _0xf53c11=_0x196537[_0x2fc2('0x1b')][_0x2fc2('0x11')]['get'](_0x2fc2('0x19'))||[],_0x142df1=_0x284775[_0x2fc2('0xf')](_0x509fe3)['concat'](_0xf53c11)['map'](_0x254cb8=>_0x2fc2('0x10')==typeof _0x254cb8?_0x239e2c['find'](_0xb2d7ea=>_0xb2d7ea[_0x2fc2('0x1a')]==_0x254cb8):_0x254cb8)[_0x2fc2('0x3')](_0x12a42d=>!_0x5de68d['includes'](_0x12a42d)),_0x26bcb9=Array[_0x2fc2('0x6')](new Set(_0x142df1)),_0x37c9e6=new Map();return _0xd9cbac[_0x2fc2('0x19')]=_0x26bcb9[_0x2fc2('0x3')](_0x4ce2c0=>v(_0x4ce2c0,_0x37c9e6,_0x196537[_0x2fc2('0x19')],_0x30b13a)),_0xd9cbac;}
23
+ const _0x2aec=['removePlugins','initialData','rootsAttributes','constructor','every','filter','map','string','set','pluginName','includes','WProofreader','DocumentOutline','_context','name','toolbar','names','extraPlugins','concat','RevisionTracker','Autosave','WordCount','builtinPlugins','requires','length','get','has','config','context','plugins'];(function(_0x2b2a41,_0x2aec6f){const _0x34618e=function(_0x4efa18){while(--_0x4efa18){_0x2b2a41['push'](_0x2b2a41['shift']());}};_0x34618e(++_0x2aec6f);}(_0x2aec,0x119));const _0x3461=function(_0x2b2a41,_0x2aec6f){_0x2b2a41=_0x2b2a41-0x0;let _0x34618e=_0x2aec[_0x2b2a41];return _0x34618e;};const w=[_0x3461('0x14'),_0x3461('0x11'),_0x3461('0x4'),_0x3461('0x15')],W=['WebSocketGateway',_0x3461('0x8'),_0x3461('0x9'),_0x3461('0xa'),_0x3461('0x1'),_0x3461('0x0')];function v(_0x4dc8be,_0x230bce,_0x2c970d,_0x150fa8=[]){const _0x35764a='string'==typeof _0x4dc8be?_0x2c970d[_0x3461('0xe')](_0x4dc8be)['constructor']:_0x4dc8be,_0xca316d=_0x35764a['pluginName']||_0x35764a[_0x3461('0x3')];if(_0x230bce[_0x3461('0xf')](_0xca316d))return _0x230bce[_0x3461('0xe')](_0xca316d);if(_0x230bce[_0x3461('0x1b')](_0xca316d,!0x0),_0xca316d&&W[_0x3461('0x7')](_0x150fa8)[_0x3461('0x1d')](_0xca316d))return _0x230bce['set'](_0xca316d,!0x1),!0x1;if(!_0x35764a['requires'])return _0x230bce['set'](_0xca316d,!0x0),!0x0;const _0x524d85=_0x35764a[_0x3461('0xc')][_0x3461('0x17')](_0x2cd072=>v(_0x2cd072,_0x230bce,_0x2c970d,_0x150fa8));return _0x230bce[_0x3461('0x1b')](_0xca316d,_0x524d85),_0x524d85;}export default function D(_0x4b1795,_0x46288f){const _0xc0cbc2={};for(const _0x223890 of _0x4b1795['config'][_0x3461('0x5')]())w['includes'](_0x223890)||(_0xc0cbc2[_0x223890]=_0x4b1795['config']['get'](_0x223890));const _0x5b4c55=_0xc0cbc2[_0x3461('0x12')]||[],_0x17a9c5=_0x4b1795[_0x3461('0x16')][_0x3461('0xb')]||[],_0x6a67b3=_0x5b4c55[_0x3461('0xd')]?_0x5b4c55:_0x17a9c5,_0x2878bc=_0xc0cbc2[_0x3461('0x6')]||[];delete _0xc0cbc2[_0x3461('0x6')];const _0x4dd79d=_0xc0cbc2[_0x3461('0x13')]||[];delete _0xc0cbc2[_0x3461('0x13')];const _0x527cbf=_0x4b1795[_0x3461('0x2')][_0x3461('0x10')]['get'](_0x3461('0x12'))||[],_0x1602ef=_0x6a67b3['concat'](_0x2878bc)[_0x3461('0x7')](_0x527cbf)[_0x3461('0x19')](_0x15629d=>_0x3461('0x1a')==typeof _0x15629d?_0x17a9c5['find'](_0x2e706e=>_0x2e706e[_0x3461('0x1c')]==_0x15629d):_0x15629d)['filter'](_0x58bb5c=>!_0x4dd79d[_0x3461('0x1d')](_0x58bb5c)),_0x3dec95=Array['from'](new Set(_0x1602ef)),_0x2bcab1=new Map();return _0xc0cbc2['plugins']=_0x3dec95[_0x3461('0x18')](_0x1a372c=>v(_0x1a372c,_0x2bcab1,_0x4b1795[_0x3461('0x12')],_0x46288f)),_0xc0cbc2;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12eb=['replace','join','slice','substring','match','startsWith','push','length','...','split'];(function(_0x253015,_0x12eb15){const _0x33585c=function(_0x114b74){while(--_0x114b74){_0x253015['push'](_0x253015['shift']());}};_0x33585c(++_0x12eb15);}(_0x12eb,0x100));const _0x3358=function(_0x253015,_0x12eb15){_0x253015=_0x253015-0x0;let _0x33585c=_0x12eb[_0x253015];return _0x33585c;};export default function z(_0x52d612,{limit:_0x320a4f,suffix:_0x40d8ab=_0x3358('0x2')}){const _0x435c95=[];let _0x58429f=0x0;const _0x278c8c=_0x52d612[_0x3358('0x4')](/</g,'\x0a<')[_0x3358('0x4')](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')[_0x3358('0x3')]('\x0a');for(let _0x523486=0x0;_0x523486<_0x278c8c[_0x3358('0x1')];_0x523486++){let _0x36c2f8=_0x278c8c[_0x523486];const _0x1ed0d7=Z(_0x36c2f8);if(_0x36c2f8[_0x3358('0x9')]('<')){if(_0x58429f>=_0x320a4f){const _0x365b9c=_0x36c2f8[_0x3358('0x8')](/[a-zA-Z]+/);if(!_0x365b9c){_0x278c8c[_0x523486]='';continue;}const _0x20c659=_0x365b9c[0x0];_0x36c2f8[_0x3358('0x9')]('</')?(_0x435c95['length']&&(_0x36c2f8=''),_0x435c95['pop']()):(_0x435c95[_0x3358('0x0')](_0x20c659),_0x36c2f8='');}}else{if(_0x58429f>=_0x320a4f)_0x36c2f8='';else{if(_0x58429f+_0x1ed0d7['length']>=_0x320a4f){let _0xd92f0d=_0x320a4f-_0x58429f;if('\x20'===_0x1ed0d7[_0xd92f0d-0x1])_0xd92f0d--;else{const _0x1b2824=_0x1ed0d7[_0x3358('0x6')](_0xd92f0d)['indexOf']('\x20');-0x1!==_0x1b2824?_0xd92f0d+=_0x1b2824:_0xd92f0d=_0x36c2f8['length'];}_0x36c2f8=_0x1ed0d7[_0x3358('0x6')](0x0,_0xd92f0d)[_0x3358('0x5')]('')+_0x40d8ab,_0x58429f=_0x320a4f;}else _0x58429f+=_0x1ed0d7[_0x3358('0x1')];}}_0x278c8c[_0x523486]=_0x36c2f8;}return _0x278c8c['join']('\x0a')[_0x3358('0x4')](/\n/g,'');}function Z(_0x450688){const _0x41e0ca=[];for(let _0x599673=0x0;_0x599673<_0x450688['length'];_0x599673++){const _0x35868d=_0x450688[_0x3358('0x7')](_0x599673)[_0x3358('0x8')](/^&[a-z0-9#]+;/);if(_0x35868d){const _0x2e1f63=_0x35868d[0x0];_0x41e0ca['push'](_0x2e1f63),_0x599673+=_0x2e1f63[_0x3358('0x1')]-0x1;}else _0x41e0ca[_0x3358('0x0')](_0x450688[_0x599673]);}return _0x41e0ca;}
23
+ const _0x485d=['replace','indexOf','substring','match','push','length','slice','startsWith','pop','split','join'];(function(_0x1ffb32,_0x485d15){const _0x765deb=function(_0x330aac){while(--_0x330aac){_0x1ffb32['push'](_0x1ffb32['shift']());}};_0x765deb(++_0x485d15);}(_0x485d,0x6c));const _0x765d=function(_0x1ffb32,_0x485d15){_0x1ffb32=_0x1ffb32-0x0;let _0x765deb=_0x485d[_0x1ffb32];return _0x765deb;};export default function z(_0x4a1263,{limit:_0x1d2707,suffix:_0x495871='...'}){const _0x585fb3=[];let _0x4b0df6=0x0;const _0x5b41f9=_0x4a1263[_0x765d('0x2')](/</g,'\x0a<')[_0x765d('0x2')](/>/g,'>\x0a')[_0x765d('0x2')](/^\n/g,'')[_0x765d('0x2')](/\n$/g,'')[_0x765d('0x0')]('\x0a');for(let _0x5b71ff=0x0;_0x5b71ff<_0x5b41f9[_0x765d('0x7')];_0x5b71ff++){let _0x41865c=_0x5b41f9[_0x5b71ff];const _0x3912b5=Z(_0x41865c);if(_0x41865c[_0x765d('0x9')]('<')){if(_0x4b0df6>=_0x1d2707){const _0x36ac91=_0x41865c['match'](/[a-zA-Z]+/);if(!_0x36ac91){_0x5b41f9[_0x5b71ff]='';continue;}const _0x61be08=_0x36ac91[0x0];_0x41865c[_0x765d('0x9')]('</')?(_0x585fb3[_0x765d('0x7')]&&(_0x41865c=''),_0x585fb3[_0x765d('0xa')]()):(_0x585fb3['push'](_0x61be08),_0x41865c='');}}else{if(_0x4b0df6>=_0x1d2707)_0x41865c='';else{if(_0x4b0df6+_0x3912b5['length']>=_0x1d2707){let _0x3f4d02=_0x1d2707-_0x4b0df6;if('\x20'===_0x3912b5[_0x3f4d02-0x1])_0x3f4d02--;else{const _0x4efdc6=_0x3912b5['slice'](_0x3f4d02)[_0x765d('0x3')]('\x20');-0x1!==_0x4efdc6?_0x3f4d02+=_0x4efdc6:_0x3f4d02=_0x41865c['length'];}_0x41865c=_0x3912b5[_0x765d('0x8')](0x0,_0x3f4d02)['join']('')+_0x495871,_0x4b0df6=_0x1d2707;}else _0x4b0df6+=_0x3912b5[_0x765d('0x7')];}}_0x5b41f9[_0x5b71ff]=_0x41865c;}return _0x5b41f9[_0x765d('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x4483b0){const _0xd2a4b=[];for(let _0x52bbc4=0x0;_0x52bbc4<_0x4483b0[_0x765d('0x7')];_0x52bbc4++){const _0x1f0757=_0x4483b0[_0x765d('0x4')](_0x52bbc4)[_0x765d('0x5')](/^&[a-z0-9#]+;/);if(_0x1f0757){const _0x1f43d3=_0x1f0757[0x0];_0xd2a4b[_0x765d('0x6')](_0x1f43d3),_0x52bbc4+=_0x1f43d3[_0x765d('0x7')]-0x1;}else _0xd2a4b['push'](_0x4483b0[_0x52bbc4]);}return _0xd2a4b;}