@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231102.0 → 0.0.0-nightly-20231104.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/LICENSE.md CHANGED
@@ -2,10 +2,10 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 collaboration core** (https://ckeditor.com/collaboration/)<br>
5
- Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 20032023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  CKEditor&nbsp;5 collaboration core is licensed under a commercial license and is protected by copyright law.
8
- We operate on subscription-based licensing terms. For more details about available licensing options please contact us at sales@cksource.com.
8
+ For more details about available licensing options please contact us at sales@cksource.com.
9
9
 
10
10
  Sources of Intellectual Property Included in CKEditor&nbsp;5 collaboration core
11
11
  --------------------------------------------------------------------------
@@ -14,10 +14,10 @@ Where not otherwise indicated, all CKEditor&nbsp;5 collaboration core content is
14
14
 
15
15
  The following libraries are included in CKEditor&nbsp;5 collaboration core under the [MIT license](https://opensource.org/licenses/MIT):
16
16
 
17
- * Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas,
18
- * date-fns - Copyright (c) Sasha Koss.
17
+ * date-fns - Copyright (c) 2021 Sasha Koss and Lesha Koss https://kossnocorp.mit-license.org.
18
+ * Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
19
19
 
20
20
  Trademarks
21
21
  ----------
22
22
 
23
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
23
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "0.0.0-nightly-20231102.0",
3
+ "version": "0.0.0-nightly-20231104.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-20231102.0",
34
+ "ckeditor5": "0.0.0-nightly-20231104.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 _0x2594=['get','config','CommentsOnly','context','addCommentThread','plugins','commands','comment:modify_all','includes','has','isEnabled','no-permissions','editors','CommentsRepository','permissions-set-permissions-invalid-channel-id','comment:write','collaboration.channelId','disableReadOnlyMode','noPermissions','forceDisabled','clearForceDisabled','find','Permissions','enableReadOnlyMode','document:write'];(function(_0xa25de4,_0x2594b9){const _0x472289=function(_0x878c5e){while(--_0x878c5e){_0xa25de4['push'](_0xa25de4['shift']());}};_0x472289(++_0x2594b9);}(_0x2594,0x8e));const _0x4722=function(_0xa25de4,_0x2594b9){_0xa25de4=_0xa25de4-0x0;let _0x472289=_0x2594[_0xa25de4];return _0x472289;};import{ContextPlugin as _0xadc5c,Editor as _0x20e311}from'ckeditor5/src/core';import{CKEditorError as _0x3bd408}from'ckeditor5/src/utils';export default class n extends _0xadc5c{static get['pluginName'](){return _0x4722('0x5');}['setPermissions'](_0x49f40d,_0x29550b){let _0x2362e1;if(_0x29550b||(_0x29550b=this[_0x4722('0xb')][_0x4722('0x9')][_0x4722('0x8')]('collaboration.channelId')),this[_0x4722('0xb')][_0x4722('0x9')][_0x4722('0x8')](_0x4722('0x18'))==_0x29550b?_0x2362e1=this[_0x4722('0xb')]:_0x4722('0x14')in this[_0x4722('0xb')]&&this[_0x4722('0xb')][_0x4722('0x14')]&&(_0x2362e1=this[_0x4722('0xb')][_0x4722('0x14')][_0x4722('0x4')](_0x5289f5=>_0x5289f5[_0x4722('0x9')][_0x4722('0x8')](_0x4722('0x18'))==_0x29550b)),!_0x2362e1)throw new _0x3bd408(_0x4722('0x16'),null);const _0x545e6b=_0x2362e1[_0x4722('0xd')],_0x3e1034=_0x545e6b[_0x4722('0x11')](_0x4722('0x15'))?_0x545e6b[_0x4722('0x8')]('CommentsRepository'):void 0x0,_0x469818=_0x545e6b[_0x4722('0x11')](_0x4722('0xa'))&&_0x545e6b[_0x4722('0x8')]('CommentsOnly'),_0x247309=_0x49f40d[_0x4722('0x10')](_0x4722('0x7')),_0x46efa5=_0x49f40d['includes'](_0x4722('0xf')),_0x2843f1=_0x49f40d['includes']('comment:admin'),_0xf03db7=_0x49f40d[_0x4722('0x10')](_0x4722('0x17')),_0x34b859=_0xf03db7||_0x2843f1,_0x18ead0=_0x34b859||_0x46efa5,_0x169ef8=_0x247309||_0x34b859;(_0x469818&&(_0x469818[_0x4722('0x12')]=!_0x247309&&_0x18ead0),_0x2362e1 instanceof _0x20e311)&&(!(_0x247309||_0x18ead0&&_0x3e1034)?_0x2362e1[_0x4722('0x6')](_0x4722('0x13')):_0x2362e1[_0x4722('0x0')]('no-permissions'));if(_0x3e1034){_0x3e1034['setPermissions']({'admin':_0x2843f1,'modifyAll':_0x46efa5,'write':_0xf03db7,'resolve':_0x169ef8},_0x29550b);const _0x2c9138=_0x2362e1 instanceof _0x20e311&&_0x2362e1[_0x4722('0xe')][_0x4722('0x8')](_0x4722('0xc'));_0x2c9138&&(_0x34b859?_0x2c9138[_0x4722('0x3')](_0x4722('0x1')):_0x2c9138[_0x4722('0x2')](_0x4722('0x1')));}}}
23
+ const _0x37c4=['document:write','plugins','Permissions','enableReadOnlyMode','has','config','disableReadOnlyMode','permissions-set-permissions-invalid-channel-id','collaboration.channelId','setPermissions','editors','context','find','noPermissions','forceDisabled','no-permissions','comment:modify_all','CommentsOnly','includes','CommentsRepository','isEnabled','addCommentThread','comment:admin','comment:write','get'];(function(_0x814a2e,_0x37c4fd){const _0xfb477d=function(_0x2540e2){while(--_0x2540e2){_0x814a2e['push'](_0x814a2e['shift']());}};_0xfb477d(++_0x37c4fd);}(_0x37c4,0x85));const _0xfb47=function(_0x814a2e,_0x37c4fd){_0x814a2e=_0x814a2e-0x0;let _0xfb477d=_0x37c4[_0x814a2e];return _0xfb477d;};import{ContextPlugin as _0x3599b7,Editor as _0x2e13d7}from'ckeditor5/src/core';import{CKEditorError as _0x1e4019}from'ckeditor5/src/utils';export default class n extends _0x3599b7{static get['pluginName'](){return _0xfb47('0x13');}['setPermissions'](_0x3b391d,_0xf3d99c){let _0x5c0432;if(_0xf3d99c||(_0xf3d99c=this[_0xfb47('0x3')][_0xfb47('0x16')]['get'](_0xfb47('0x0'))),this[_0xfb47('0x3')][_0xfb47('0x16')]['get'](_0xfb47('0x0'))==_0xf3d99c?_0x5c0432=this[_0xfb47('0x3')]:_0xfb47('0x2')in this[_0xfb47('0x3')]&&this[_0xfb47('0x3')][_0xfb47('0x2')]&&(_0x5c0432=this['context']['editors'][_0xfb47('0x4')](_0xa92f23=>_0xa92f23['config'][_0xfb47('0x10')]('collaboration.channelId')==_0xf3d99c)),!_0x5c0432)throw new _0x1e4019(_0xfb47('0x18'),null);const _0x4cb444=_0x5c0432[_0xfb47('0x12')],_0x33f648=_0x4cb444['has'](_0xfb47('0xb'))?_0x4cb444['get']('CommentsRepository'):void 0x0,_0x1eb2b1=_0x4cb444[_0xfb47('0x15')](_0xfb47('0x9'))&&_0x4cb444[_0xfb47('0x10')](_0xfb47('0x9')),_0xe1fcce=_0x3b391d['includes'](_0xfb47('0x11')),_0x2042af=_0x3b391d['includes'](_0xfb47('0x8')),_0xe8e586=_0x3b391d[_0xfb47('0xa')](_0xfb47('0xe')),_0x209300=_0x3b391d[_0xfb47('0xa')](_0xfb47('0xf')),_0x31cf8f=_0x209300||_0xe8e586,_0x4ad051=_0x31cf8f||_0x2042af,_0x59a421=_0xe1fcce||_0x31cf8f;(_0x1eb2b1&&(_0x1eb2b1[_0xfb47('0xc')]=!_0xe1fcce&&_0x4ad051),_0x5c0432 instanceof _0x2e13d7)&&(!(_0xe1fcce||_0x4ad051&&_0x33f648)?_0x5c0432[_0xfb47('0x14')](_0xfb47('0x7')):_0x5c0432[_0xfb47('0x17')](_0xfb47('0x7')));if(_0x33f648){_0x33f648[_0xfb47('0x1')]({'admin':_0xe8e586,'modifyAll':_0x2042af,'write':_0x209300,'resolve':_0x59a421},_0xf3d99c);const _0x30848b=_0x5c0432 instanceof _0x2e13d7&&_0x5c0432['commands']['get'](_0xfb47('0xd'));_0x30848b&&(_0x31cf8f?_0x30848b['clearForceDisabled'](_0xfb47('0x5')):_0x30848b[_0xfb47('0x6')]('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3178=['ck-user','push','notificationView','content','avatar','ck-user__icon','initials','div','ck-user__notification','extendTemplate','name','ck-user__img','setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__avatar','ck\x20ck-user__name','url(\x27'];(function(_0x2930ee,_0x31780a){const _0x59e899=function(_0x3925cf){while(--_0x3925cf){_0x2930ee['push'](_0x2930ee['shift']());}};_0x59e899(++_0x31780a);}(_0x3178,0x111));const _0x59e8=function(_0x2930ee,_0x31780a){_0x2930ee=_0x2930ee-0x0;let _0x59e899=_0x3178[_0x2930ee];return _0x59e899;};import{View as _0x127065,IconView as _0x13bf54}from'ckeditor5/src/ui';import _0x19bb48 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x127065{constructor(_0x2cd20f,_0x2082d9,_0x5138f0){super(_0x2cd20f),this[_0x59e8('0x9')]=_0x2082d9[_0x59e8('0x9')],this[_0x59e8('0x1')]=null;const _0x49f28d=['ck',_0x59e8('0xa')];if(_0x2082d9['isAnonymous']&&_0x49f28d[_0x59e8('0x0')]('ck-user__anonymous'),_0x2082d9['avatar']&&_0x49f28d[_0x59e8('0x0')](_0x59e8('0xd')),_0x5138f0){const _0x3d37eb=new _0x13bf54();_0x3d37eb[_0x59e8('0x8')]({'attributes':{'class':[_0x59e8('0x4')]}}),_0x3d37eb[_0x59e8('0x2')]=_0x19bb48,this[_0x59e8('0x1')]={'tag':'div','attributes':{'class':['ck',_0x59e8('0x7')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5138f0},'children':[_0x3d37eb]};}const _0x10345e=[{'tag':'div','attributes':{'class':_0x49f28d,'style':{'background-image':_0x2082d9[_0x59e8('0x3')]?_0x59e8('0xf')+_0x2082d9['avatar']+'\x27)':''}}},{'tag':_0x59e8('0x6'),'attributes':{'class':_0x2082d9['avatar']?_0x59e8('0xc'):_0x59e8('0xe')},'children':[{'text':_0x2082d9[_0x59e8('0x5')]}]}];this[_0x59e8('0x1')]&&_0x10345e[_0x59e8('0x0')](this[_0x59e8('0x1')]),this[_0x59e8('0xb')]({'tag':_0x59e8('0x6'),'attributes':{'class':['ck',_0x59e8('0x10')],'data-user-id':_0x2082d9['id']},'children':_0x10345e});}}
23
+ const _0x2863=['ck-user__anonymous','ck-user__notification','setTemplate','div','url(\x27','extendTemplate','content','notificationView','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__avatar','isAnonymous','push','ck\x20ck-user__name','name','avatar'];(function(_0xb6c622,_0x286357){const _0x1cb00d=function(_0x6e9f64){while(--_0x6e9f64){_0xb6c622['push'](_0xb6c622['shift']());}};_0x1cb00d(++_0x286357);}(_0x2863,0x93));const _0x1cb0=function(_0xb6c622,_0x286357){_0xb6c622=_0xb6c622-0x0;let _0x1cb00d=_0x2863[_0xb6c622];return _0x1cb00d;};import{View as _0x594243,IconView as _0x1bdfca}from'ckeditor5/src/ui';import _0x1781ce from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x594243{constructor(_0x1a4983,_0x576feb,_0x584c2b){super(_0x1a4983),this['name']=_0x576feb[_0x1cb0('0x1')],this['notificationView']=null;const _0x144f5a=['ck','ck-user__img'];if(_0x576feb[_0x1cb0('0xd')]&&_0x144f5a[_0x1cb0('0xe')](_0x1cb0('0x3')),_0x576feb['avatar']&&_0x144f5a[_0x1cb0('0xe')](_0x1cb0('0xc')),_0x584c2b){const _0xf70a83=new _0x1bdfca();_0xf70a83[_0x1cb0('0x8')]({'attributes':{'class':['ck-user__icon']}}),_0xf70a83[_0x1cb0('0x9')]=_0x1781ce,this[_0x1cb0('0xa')]={'tag':_0x1cb0('0x6'),'attributes':{'class':['ck',_0x1cb0('0x4')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x584c2b},'children':[_0xf70a83]};}const _0xe35081=[{'tag':'div','attributes':{'class':_0x144f5a,'style':{'background-image':_0x576feb[_0x1cb0('0x2')]?_0x1cb0('0x7')+_0x576feb['avatar']+'\x27)':''}}},{'tag':_0x1cb0('0x6'),'attributes':{'class':_0x576feb[_0x1cb0('0x2')]?_0x1cb0('0xb'):_0x1cb0('0x0')},'children':[{'text':_0x576feb['initials']}]}];this[_0x1cb0('0xa')]&&_0xe35081[_0x1cb0('0xe')](this[_0x1cb0('0xa')]),this[_0x1cb0('0x5')]({'tag':_0x1cb0('0x6'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x576feb['id']},'children':_0xe35081});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59bc=['users','users-me-missing-user','licenseKeyTrialLimit:operations','licenseKey','licenseKeyValid','name','length','users.anonymousUserId','_addAnonymousUser','ck-user__selection--','getOperationAuthor','toUpperCase','_locale','initials','users-add-invalid-id','licenseKeyTrialLimit:time','string','_myId','get','trial-license-key-reached-limit-revisions','getMarkerClass','licenseKeyInvalid','anonymous-user','isAnonymous','addUser','requires','_getInitial','color','split','avatar','defineMe','licenseKeyTrial','useAnonymousUser','trial-license-key-reached-limit-changes','_id','info','getUser','invalid-license-key','_isAnonymous','includes','ck-user__marker--','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','context','trial-license-key-reached-limit-time','licenseKeyTrialLimit:revisions','_lastColor','destroy','has','add','_licenseKeyCheckInterval','users.colorsCount','define','Users','users-add-duplicated-id','Anonymous','_getNextColor','config','pluginName'];(function(_0x2a7c5d,_0x59bc17){const _0x24d7d5=function(_0x13cbf9){while(--_0x13cbf9){_0x2a7c5d['push'](_0x2a7c5d['shift']());}};_0x24d7d5(++_0x59bc17);}(_0x59bc,0x116));const _0x24d7=function(_0x2a7c5d,_0x59bc17){_0x2a7c5d=_0x2a7c5d-0x0;let _0x24d7d5=_0x59bc[_0x2a7c5d];return _0x24d7d5;};import{ContextPlugin as _0x10508b}from'ckeditor5/src/core';import{Collection as _0x2d480f,CKEditorError as _0x2e9c7a}from'ckeditor5/src/utils';import _0x342963 from'./permissions';import{getTranslation as _0x572998}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x10508b{static get[_0x24d7('0xb')](){return _0x24d7('0x6');}static get[_0x24d7('0x25')](){return[_0x342963];}constructor(_0x57a577){super(_0x57a577),this[_0x24d7('0x36')]['config'][_0x24d7('0x5')](_0x24d7('0x13'),_0x24d7('0x22')),this[_0x24d7('0x36')][_0x24d7('0xa')][_0x24d7('0x5')](_0x24d7('0x4'),0x8),this[_0x24d7('0xc')]=new _0x2d480f(),this[_0x24d7('0x18')]=_0x57a577['locale'],this[_0x24d7('0x3')]=null,this[_0x24d7('0x39')]=0x0,this[_0x24d7('0x1d')]=null,this['decorate'](_0x24d7('0x16'));}['init'](){const _0x556bcf=this[_0x24d7('0x36')];this[_0x24d7('0xf')]=_0x556bcf[_0x24d7('0xa')][_0x24d7('0x1e')](_0x24d7('0xf'));const _0x24eb74=[_0x24d7('0x2b'),_0x24d7('0x21'),_0x24d7('0x10'),_0x24d7('0xe'),_0x24d7('0x1b'),_0x24d7('0x38')];this[_0x24d7('0x3')]=setInterval(()=>{let _0x1a713f;for(const _0x305062 in _0x556bcf){const _0x86c0ff=_0x556bcf[_0x305062];if(_0x24eb74[_0x24d7('0x33')](_0x86c0ff)){delete _0x556bcf[_0x305062],_0x1a713f=_0x86c0ff;break;}}if(_0x24d7('0x21')===_0x1a713f)throw clearInterval(this[_0x24d7('0x3')]),new _0x2e9c7a(_0x24d7('0x31'),null);if(_0x24d7('0x2b')===_0x1a713f&&console[_0x24d7('0x2f')](_0x24d7('0x35')),_0x24d7('0xe')===_0x1a713f)throw clearInterval(this[_0x24d7('0x3')]),new _0x2e9c7a(_0x24d7('0x2d'),null);if('licenseKeyTrialLimit:time'===_0x1a713f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2e9c7a(_0x24d7('0x37'),null);if('licenseKeyTrialLimit:revisions'===_0x1a713f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2e9c7a(_0x24d7('0x1f'),null);_0x24d7('0x10')===_0x1a713f&&clearInterval(this[_0x24d7('0x3')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x24d7('0x1d')]?null:this[_0x24d7('0x30')](this[_0x24d7('0x1d')]);}[_0x24d7('0x24')]({id:_0x4e599d,name:_0x5082c0,..._0x1c831f}){if(!_0x4e599d||_0x24d7('0x1c')!=typeof _0x4e599d)throw new _0x2e9c7a(_0x24d7('0x1a'));if(this['users'][_0x24d7('0x1')](_0x4e599d))throw new _0x2e9c7a(_0x24d7('0x7'),null,{'id':_0x4e599d});const _0x9ade43={..._0x1c831f,'id':_0x4e599d,'name':a(this[_0x24d7('0x18')],_0x5082c0),'color':this[_0x24d7('0x9')]()};_0x9ade43['name']=a(this[_0x24d7('0x18')],_0x9ade43[_0x24d7('0x11')]);const _0x4212c7=new User(_0x9ade43);return this['users'][_0x24d7('0x2')](_0x4212c7),_0x4212c7;}[_0x24d7('0x30')](_0x24ae74){return this['users']['get'](_0x24ae74);}[_0x24d7('0x2c')](){const _0x358b83=this[_0x24d7('0x36')][_0x24d7('0xa')]['get'](_0x24d7('0x13'));this[_0x24d7('0x1d')]||this['defineMe'](_0x358b83);}[_0x24d7('0x2a')](_0xf21674){if(this[_0x24d7('0x1d')])throw new _0x2e9c7a('users-me-already-defined',null);if(!this[_0x24d7('0x30')](_0xf21674))throw new _0x2e9c7a(_0x24d7('0xd'),null);this[_0x24d7('0x1d')]=_0xf21674;}[_0x24d7('0x16')](){return this['me'];}[_0x24d7('0x0')](){super[_0x24d7('0x0')](),clearInterval(this[_0x24d7('0x3')]);}[_0x24d7('0x9')](){const _0x36e9a7=this[_0x24d7('0x36')][_0x24d7('0xa')]['get'](_0x24d7('0x4'));return this[_0x24d7('0x39')]>=_0x36e9a7&&(this[_0x24d7('0x39')]=0x0),new u(this['_lastColor']++);}[_0x24d7('0x14')](){const _0x16872e=this['context'][_0x24d7('0xa')][_0x24d7('0x1e')](_0x24d7('0x13'));this[_0x24d7('0x24')]({'id':_0x16872e,'name':_0x572998(this[_0x24d7('0x18')],_0x24d7('0x8'))})[_0x24d7('0x32')]=!0x0;}}export class User{constructor(_0x279ab9){this['id']=_0x279ab9['id'],this[_0x24d7('0x27')]=_0x279ab9[_0x24d7('0x27')],this[_0x24d7('0x11')]=_0x279ab9['name'],this['avatar']=_0x279ab9[_0x24d7('0x29')],this[_0x24d7('0x32')]=!0x1;}get[_0x24d7('0x23')](){return this[_0x24d7('0x32')];}get[_0x24d7('0x19')](){const _0x18ccc4=this[_0x24d7('0x11')][_0x24d7('0x28')]('\x20');return 0x1===_0x18ccc4[_0x24d7('0x12')]?this[_0x24d7('0x26')](_0x18ccc4[0x0]):this['_getInitial'](_0x18ccc4[0x0])+this['_getInitial'](_0x18ccc4[_0x18ccc4[_0x24d7('0x12')]-0x1]);}['_getInitial'](_0x24ee0d){return _0x24ee0d['charAt'](0x0)[_0x24d7('0x17')]();}}function a(_0x595372,_0x290684=''){return''==(_0x290684=_0x290684['trim']())?_0x572998(_0x595372,_0x24d7('0x8')):_0x290684;}class u{constructor(_0x36cb71){this[_0x24d7('0x2e')]=_0x36cb71;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x24d7('0x2e')];}['getSelectionClass'](){return _0x24d7('0x15')+this[_0x24d7('0x2e')];}[_0x24d7('0x20')](){return _0x24d7('0x34')+this[_0x24d7('0x2e')];}}
23
+ const _0xc87d=['getMarkerClass','_id','licenseKeyValid','locale','users.anonymousUserId','trial-license-key-reached-limit-revisions','Users','licenseKey','licenseKeyInvalid','_addAnonymousUser','_isAnonymous','useAnonymousUser','ck-user__bg-color--','initials','ck-user__marker--','get','users-me-missing-user','define','users-add-duplicated-id','users','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.','getBackgroundColorClass','avatar','color','_lastColor','_myId','_getNextColor','decorate','users.colorsCount','_licenseKeyCheckInterval','isAnonymous','trial-license-key-reached-limit-changes','licenseKeyTrialLimit:operations','ck-user__selection--','requires','getOperationAuthor','destroy','context','length','getSelectionClass','licenseKeyTrial','licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions','includes','config','users-add-invalid-id','getUser','invalid-license-key','_locale','Anonymous','name','toUpperCase','addUser','_getInitial','trial-license-key-reached-limit-time','pluginName'];(function(_0x317a12,_0xc87db2){const _0x15668f=function(_0x188fb6){while(--_0x188fb6){_0x317a12['push'](_0x317a12['shift']());}};_0x15668f(++_0xc87db2);}(_0xc87d,0x134));const _0x1566=function(_0x317a12,_0xc87db2){_0x317a12=_0x317a12-0x0;let _0x15668f=_0xc87d[_0x317a12];return _0x15668f;};import{ContextPlugin as _0x50f82f}from'ckeditor5/src/core';import{Collection as _0x411409,CKEditorError as _0x34704c}from'ckeditor5/src/utils';import _0x134a2c from'./permissions';import{getTranslation as _0x30f901}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x50f82f{static get[_0x1566('0x1b')](){return _0x1566('0x22');}static get[_0x1566('0x6')](){return[_0x134a2c];}constructor(_0x145ccb){super(_0x145ccb),this[_0x1566('0x9')][_0x1566('0x10')][_0x1566('0x2d')]('users.anonymousUserId','anonymous-user'),this[_0x1566('0x9')][_0x1566('0x10')][_0x1566('0x2d')](_0x1566('0x0'),0x8),this[_0x1566('0x2f')]=new _0x411409(),this['_locale']=_0x145ccb[_0x1566('0x1f')],this[_0x1566('0x1')]=null,this[_0x1566('0x34')]=0x0,this[_0x1566('0x35')]=null,this[_0x1566('0x37')](_0x1566('0x7'));}['init'](){const _0x2c2b2b=this[_0x1566('0x9')];this[_0x1566('0x23')]=_0x2c2b2b[_0x1566('0x10')][_0x1566('0x2b')](_0x1566('0x23'));const _0x160c61=[_0x1566('0xc'),_0x1566('0x24'),_0x1566('0x1e'),'licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time',_0x1566('0xe')];this[_0x1566('0x1')]=setInterval(()=>{let _0x2d18c8;for(const _0x38f7cb in _0x2c2b2b){const _0x4c0aa2=_0x2c2b2b[_0x38f7cb];if(_0x160c61[_0x1566('0xf')](_0x4c0aa2)){delete _0x2c2b2b[_0x38f7cb],_0x2d18c8=_0x4c0aa2;break;}}if('licenseKeyInvalid'===_0x2d18c8)throw clearInterval(this[_0x1566('0x1')]),new _0x34704c(_0x1566('0x13'),null);if(_0x1566('0xc')===_0x2d18c8&&console['info'](_0x1566('0x30')),_0x1566('0x4')===_0x2d18c8)throw clearInterval(this[_0x1566('0x1')]),new _0x34704c(_0x1566('0x3'),null);if(_0x1566('0xd')===_0x2d18c8)throw clearInterval(this[_0x1566('0x1')]),new _0x34704c(_0x1566('0x1a'),null);if(_0x1566('0xe')===_0x2d18c8)throw clearInterval(this[_0x1566('0x1')]),new _0x34704c(_0x1566('0x21'),null);_0x1566('0x1e')===_0x2d18c8&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x1566('0x25')]();}get['me'](){return null==this[_0x1566('0x35')]?null:this[_0x1566('0x12')](this['_myId']);}[_0x1566('0x18')]({id:_0x11b25c,name:_0x19d34d,..._0x33991e}){if(!_0x11b25c||'string'!=typeof _0x11b25c)throw new _0x34704c(_0x1566('0x11'));if(this['users']['has'](_0x11b25c))throw new _0x34704c(_0x1566('0x2e'),null,{'id':_0x11b25c});const _0x431d0b={..._0x33991e,'id':_0x11b25c,'name':a(this[_0x1566('0x14')],_0x19d34d),'color':this[_0x1566('0x36')]()};_0x431d0b[_0x1566('0x16')]=a(this[_0x1566('0x14')],_0x431d0b['name']);const _0x7b53ef=new User(_0x431d0b);return this[_0x1566('0x2f')]['add'](_0x7b53ef),_0x7b53ef;}[_0x1566('0x12')](_0x1f3193){return this[_0x1566('0x2f')][_0x1566('0x2b')](_0x1f3193);}[_0x1566('0x27')](){const _0x3f3b63=this[_0x1566('0x9')][_0x1566('0x10')]['get'](_0x1566('0x20'));this[_0x1566('0x35')]||this['defineMe'](_0x3f3b63);}['defineMe'](_0x5c96a9){if(this['_myId'])throw new _0x34704c('users-me-already-defined',null);if(!this[_0x1566('0x12')](_0x5c96a9))throw new _0x34704c(_0x1566('0x2c'),null);this['_myId']=_0x5c96a9;}[_0x1566('0x7')](){return this['me'];}[_0x1566('0x8')](){super['destroy'](),clearInterval(this[_0x1566('0x1')]);}['_getNextColor'](){const _0x45ea9d=this[_0x1566('0x9')][_0x1566('0x10')]['get'](_0x1566('0x0'));return this[_0x1566('0x34')]>=_0x45ea9d&&(this[_0x1566('0x34')]=0x0),new u(this[_0x1566('0x34')]++);}[_0x1566('0x25')](){const _0x3ce47e=this['context']['config'][_0x1566('0x2b')](_0x1566('0x20'));this[_0x1566('0x18')]({'id':_0x3ce47e,'name':_0x30f901(this[_0x1566('0x14')],_0x1566('0x15'))})[_0x1566('0x26')]=!0x0;}}export class User{constructor(_0x265398){this['id']=_0x265398['id'],this[_0x1566('0x33')]=_0x265398['color'],this[_0x1566('0x16')]=_0x265398[_0x1566('0x16')],this['avatar']=_0x265398[_0x1566('0x32')],this[_0x1566('0x26')]=!0x1;}get[_0x1566('0x2')](){return this[_0x1566('0x26')];}get[_0x1566('0x29')](){const _0x23b0e7=this[_0x1566('0x16')]['split']('\x20');return 0x1===_0x23b0e7[_0x1566('0xa')]?this[_0x1566('0x19')](_0x23b0e7[0x0]):this['_getInitial'](_0x23b0e7[0x0])+this['_getInitial'](_0x23b0e7[_0x23b0e7[_0x1566('0xa')]-0x1]);}[_0x1566('0x19')](_0x2b8ddc){return _0x2b8ddc['charAt'](0x0)[_0x1566('0x17')]();}}function a(_0x582a69,_0x47716=''){return''==(_0x47716=_0x47716['trim']())?_0x30f901(_0x582a69,_0x1566('0x15')):_0x47716;}class u{constructor(_0x1fae8d){this['_id']=_0x1fae8d;}[_0x1566('0x31')](){return _0x1566('0x28')+this[_0x1566('0x1d')];}[_0x1566('0xb')](){return _0x1566('0x5')+this[_0x1566('0x1d')];}[_0x1566('0x1c')](){return _0x1566('0x2a')+this[_0x1566('0x1d')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5bcb06,_0xb8254e){const t=_0x5bcb06['t'];switch(_0xb8254e){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(_0x5f11cd,_0x2bb30a){const t=_0x5f11cd['t'];switch(_0x2bb30a){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 _0x2842=['submit','destroy','fire','remove','message','_removeConfirm','once','focus','confirmView','deregisterChild','isConfirm','cancel','render','cancelConfirm','element','showConfirm'];(function(_0x32a639,_0x2842ac){var _0x44ecb7=function(_0x334764){while(--_0x334764){_0x32a639['push'](_0x32a639['shift']());}};_0x44ecb7(++_0x2842ac);}(_0x2842,0x138));var _0x44ec=function(_0x32a639,_0x2842ac){_0x32a639=_0x32a639-0x0;var _0x44ecb7=_0x2842[_0x32a639];return _0x44ecb7;};import _0x31c3df from'./confirmview';export default function m(_0xdd43fe){return class extends _0xdd43fe{[_0x44ec('0x7')](_0xa644c3,_0x6bec21){return this[_0x44ec('0x0')]=new _0x31c3df(this['locale']),this['confirmView'][_0x44ec('0x4')](),this[_0x44ec('0x0')][_0x44ec('0xc')]=_0xa644c3,this['confirmView'][_0x44ec('0xe')](_0x44ec('0x3'),()=>{this[_0x44ec('0xd')]();}),this[_0x44ec('0x0')]['once']('submit',()=>{this[_0x44ec('0xd')]();}),_0x6bec21['appendChild'](this[_0x44ec('0x0')][_0x44ec('0x6')]),this['registerChild'](this[_0x44ec('0x0')]),this['element'][_0x44ec('0xf')](),this['set']('isConfirm',!0x0),new Promise(_0x2c4702=>this[_0x44ec('0x0')]['on'](_0x44ec('0x8'),_0x2c4702));}[_0x44ec('0x5')](){this['isConfirm']&&this['confirmView'][_0x44ec('0xa')](_0x44ec('0x3'));}[_0x44ec('0xd')](){this[_0x44ec('0x6')]&&this[_0x44ec('0x0')]&&this[_0x44ec('0x0')]['element']&&(this['element']['focus'](),this[_0x44ec('0x0')]['element'][_0x44ec('0xb')](),this[_0x44ec('0x1')](this[_0x44ec('0x0')]),this[_0x44ec('0x2')]=!0x1,this['confirmView'][_0x44ec('0x9')](),this[_0x44ec('0x0')]=void 0x0);}};}
23
+ var _0x3085=['registerChild','fire','focus','isConfirm','cancel','submit','deregisterChild','_removeConfirm','message','locale','remove','element','showConfirm','set','once','appendChild','confirmView','render','cancelConfirm'];(function(_0x3abe66,_0x3085b9){var _0x5b56b4=function(_0x1f1e2a){while(--_0x1f1e2a){_0x3abe66['push'](_0x3abe66['shift']());}};_0x5b56b4(++_0x3085b9);}(_0x3085,0x15a));var _0x5b56=function(_0x3abe66,_0x3085b9){_0x3abe66=_0x3abe66-0x0;var _0x5b56b4=_0x3085[_0x3abe66];return _0x5b56b4;};import _0x2c8ac0 from'./confirmview';export default function m(_0x2a9e32){return class extends _0x2a9e32{[_0x5b56('0x8')](_0x4e9ef9,_0x333305){return this[_0x5b56('0xc')]=new _0x2c8ac0(this[_0x5b56('0x5')]),this[_0x5b56('0xc')][_0x5b56('0xd')](),this[_0x5b56('0xc')][_0x5b56('0x4')]=_0x4e9ef9,this[_0x5b56('0xc')][_0x5b56('0xa')]('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once'](_0x5b56('0x1'),()=>{this[_0x5b56('0x3')]();}),_0x333305[_0x5b56('0xb')](this['confirmView'][_0x5b56('0x7')]),this[_0x5b56('0xf')](this['confirmView']),this[_0x5b56('0x7')][_0x5b56('0x11')](),this[_0x5b56('0x9')](_0x5b56('0x12'),!0x0),new Promise(_0x2f258c=>this[_0x5b56('0xc')]['on'](_0x5b56('0x1'),_0x2f258c));}[_0x5b56('0xe')](){this[_0x5b56('0x12')]&&this[_0x5b56('0xc')][_0x5b56('0x10')](_0x5b56('0x0'));}[_0x5b56('0x3')](){this[_0x5b56('0x7')]&&this[_0x5b56('0xc')]&&this[_0x5b56('0xc')][_0x5b56('0x7')]&&(this[_0x5b56('0x7')][_0x5b56('0x11')](),this[_0x5b56('0xc')][_0x5b56('0x7')][_0x5b56('0x6')](),this[_0x5b56('0x2')](this[_0x5b56('0xc')]),this[_0x5b56('0x12')]=!0x1,this[_0x5b56('0xc')]['destroy'](),this[_0x5b56('0xc')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3527=['setTemplate','div','set','extendTemplate','icon','ck-thread__remove-confirm-','submitView','fire','bindTemplate','cancelView','ck-thread__remove-confirm-inner','ck-thread__remove-confirm','check','execute','label','cancel','message','Are\x20you\x20sure?','_createButtonView'];(function(_0x438edd,_0x352789){const _0xbbe736=function(_0x1eae05){while(--_0x1eae05){_0x438edd['push'](_0x438edd['shift']());}};_0xbbe736(++_0x352789);}(_0x3527,0x180));const _0xbbe7=function(_0x438edd,_0x352789){_0x438edd=_0x438edd-0x0;let _0xbbe736=_0x3527[_0x438edd];return _0xbbe736;};import{View as _0x2666eb,ButtonView as _0x1c7f94}from'ckeditor5/src/ui';import{icons as _0x10d2d0}from'ckeditor5/src/core';import{getTranslation as _0x537000}from'./common-translations';export default class h extends _0x2666eb{constructor(_0x8c9890){super(_0x8c9890);const _0x28f440=this[_0xbbe7('0x4')];this['submitView']=this['_createButtonView'](_0x8c9890,_0x537000(_0x8c9890,'Yes'),_0x10d2d0[_0xbbe7('0x8')],'submit'),this[_0xbbe7('0x5')]=this[_0xbbe7('0xe')](_0x8c9890,_0x537000(_0x8c9890,'No'),_0x10d2d0['cancel'],_0xbbe7('0xb')),this[_0xbbe7('0x11')](_0xbbe7('0xc'),_0x537000(_0x8c9890,_0xbbe7('0xd'))),this[_0xbbe7('0xf')]({'tag':_0xbbe7('0x10'),'attributes':{'class':[_0xbbe7('0x7')]},'children':[{'tag':'div','attributes':{'class':_0xbbe7('0x6')},'children':[{'tag':'p','children':[{'text':_0x28f440['to']('message')}]},{'tag':_0xbbe7('0x10'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0xbbe7('0x2')],this['cancelView']]}]}]});}[_0xbbe7('0xe')](_0x4f76b2,_0x197b40,_0x21e28d,_0x54ee66){const _0x477492=new _0x1c7f94(_0x4f76b2);return _0x477492[_0xbbe7('0xa')]=_0x197b40,_0x477492[_0xbbe7('0x0')]=_0x21e28d,_0x477492[_0xbbe7('0x12')]({'attributes':{'class':_0xbbe7('0x1')+_0x54ee66}}),_0x477492['on'](_0xbbe7('0x9'),()=>this[_0xbbe7('0x3')](_0x54ee66)),_0x477492;}}
23
+ const _0x16df=['ck-thread__remove-confirm-','_createButtonView','Are\x20you\x20sure?','setTemplate','label','ck-thread__remove-confirm','div','extendTemplate','fire','Yes','icon','set','ck-thread__remove-confirm-actions','bindTemplate','ck-thread__remove-confirm-inner','submit','submitView','message','cancel'];(function(_0x5d9698,_0x16dfd6){const _0x5838c6=function(_0x10f9dd){while(--_0x10f9dd){_0x5d9698['push'](_0x5d9698['shift']());}};_0x5838c6(++_0x16dfd6);}(_0x16df,0x1ed));const _0x5838=function(_0x5d9698,_0x16dfd6){_0x5d9698=_0x5d9698-0x0;let _0x5838c6=_0x16df[_0x5d9698];return _0x5838c6;};import{View as _0x5d8c97,ButtonView as _0x2e8156}from'ckeditor5/src/ui';import{icons as _0x486c98}from'ckeditor5/src/core';import{getTranslation as _0x209cda}from'./common-translations';export default class h extends _0x5d8c97{constructor(_0x2f5ace){super(_0x2f5ace);const _0x4900e4=this[_0x5838('0xe')];this[_0x5838('0x11')]=this[_0x5838('0x2')](_0x2f5ace,_0x209cda(_0x2f5ace,_0x5838('0xa')),_0x486c98['check'],_0x5838('0x10')),this['cancelView']=this[_0x5838('0x2')](_0x2f5ace,_0x209cda(_0x2f5ace,'No'),_0x486c98[_0x5838('0x0')],_0x5838('0x0')),this[_0x5838('0xc')](_0x5838('0x12'),_0x209cda(_0x2f5ace,_0x5838('0x3'))),this[_0x5838('0x4')]({'tag':_0x5838('0x7'),'attributes':{'class':[_0x5838('0x6')]},'children':[{'tag':_0x5838('0x7'),'attributes':{'class':_0x5838('0xf')},'children':[{'tag':'p','children':[{'text':_0x4900e4['to'](_0x5838('0x12'))}]},{'tag':_0x5838('0x7'),'attributes':{'class':_0x5838('0xd')},'children':[this[_0x5838('0x11')],this['cancelView']]}]}]});}[_0x5838('0x2')](_0x5e899b,_0x4298c4,_0x97061,_0x191af1){const _0x18afd9=new _0x2e8156(_0x5e899b);return _0x18afd9[_0x5838('0x5')]=_0x4298c4,_0x18afd9[_0x5838('0xb')]=_0x97061,_0x18afd9[_0x5838('0x8')]({'attributes':{'class':_0x5838('0x1')+_0x191af1}}),_0x18afd9['on']('execute',()=>this[_0x5838('0x9')](_0x191af1)),_0x18afd9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42f1=['MM-dd-yyyy\x20hh:mma','string','invalid-date-time-format','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat'];(function(_0x418b00,_0x42f1b8){const _0x34378e=function(_0xe155eb){while(--_0xe155eb){_0x418b00['push'](_0x418b00['shift']());}};_0x34378e(++_0x42f1b8);}(_0x42f1,0x177));const _0x3437=function(_0x418b00,_0x42f1b8){_0x418b00=_0x418b00-0x0;let _0x34378e=_0x42f1[_0x418b00];return _0x34378e;};import _0x126c34 from'date-fns/format';import _0x2454e2 from'date-fns/parseISO';import _0x218fec from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x5084d5}from'ckeditor5/src/utils';export default function E(_0x1a14d0={}){if(void 0x0!==_0x1a14d0[_0x3437('0x2')]&&'function'!=typeof _0x1a14d0[_0x3437('0x2')])throw new _0x5084d5(_0x3437('0x5'));return _0x1abf5d=>{const _0x287b6a=_0x3437('0x4')==typeof _0x1abf5d?_0x2454e2(_0x1abf5d):_0x1abf5d,_0x2182ec=new Date(),_0x472b27=_0x218fec(_0x2182ec,_0x287b6a);return _0x1a14d0[_0x3437('0x2')]?_0x1a14d0[_0x3437('0x2')](_0x287b6a):_0x126c34(_0x287b6a,0x0===_0x472b27?_0x3437('0x0'):0x1===_0x472b27?'\x27Yesterday\x27\x20hh:mma':_0x472b27<0x7?_0x3437('0x1'):_0x3437('0x3'));};}
23
+ const _0x2f9b=['\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','string','invalid-date-time-format','MM-dd-yyyy\x20hh:mma','function'];(function(_0x5aadc2,_0x2f9b92){const _0x35f05e=function(_0x19d0d7){while(--_0x19d0d7){_0x5aadc2['push'](_0x5aadc2['shift']());}};_0x35f05e(++_0x2f9b92);}(_0x2f9b,0x1e1));const _0x35f0=function(_0x5aadc2,_0x2f9b92){_0x5aadc2=_0x5aadc2-0x0;let _0x35f05e=_0x2f9b[_0x5aadc2];return _0x35f05e;};import _0x1de831 from'date-fns/format';import _0x54be86 from'date-fns/parseISO';import _0x58478a from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x329fcf}from'ckeditor5/src/utils';export default function E(_0x58f0a8={}){if(void 0x0!==_0x58f0a8['dateTimeFormat']&&_0x35f0('0x1')!=typeof _0x58f0a8['dateTimeFormat'])throw new _0x329fcf(_0x35f0('0x6'));return _0x5d35e3=>{const _0x27788a=_0x35f0('0x5')==typeof _0x5d35e3?_0x54be86(_0x5d35e3):_0x5d35e3,_0x1b73db=new Date(),_0x4ad4e4=_0x58478a(_0x1b73db,_0x27788a);return _0x58f0a8['dateTimeFormat']?_0x58f0a8['dateTimeFormat'](_0x27788a):_0x1de831(_0x27788a,0x0===_0x4ad4e4?_0x35f0('0x2'):0x1===_0x4ad4e4?_0x35f0('0x4'):_0x4ad4e4<0x7?_0x35f0('0x3'):_0x35f0('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x567b=['markerNameToElements','domConverter','sort','mapViewToDom','view','mapper','filter','from','name','map','push','item','length'];(function(_0x30635e,_0x567b86){const _0xbe70a9=function(_0x36b57d){while(--_0x36b57d){_0x30635e['push'](_0x30635e['shift']());}};_0xbe70a9(++_0x567b86);}(_0x567b,0x12f));const _0xbe70=function(_0x30635e,_0x567b86){_0x30635e=_0x30635e-0x0;let _0xbe70a9=_0x567b[_0x30635e];return _0xbe70a9;};import{first as _0x3c93b9}from'ckeditor5/src/utils';export default function k(_0x5687df,_0x39f741){const _0xd26960=_0x5687df[_0xbe70('0x1')][_0xbe70('0x9')](_0x39f741[_0xbe70('0x4')]);if(!_0xd26960)return null;const _0x5ab8b6=_0x3c93b9(_0xd26960['values']());return _0x5687df['view'][_0xbe70('0xa')][_0xbe70('0xc')](_0x5ab8b6)||null;}export function getAllMarkersDomElementsSorted(_0x21d179,_0x4e067a){if(0x0===_0x4e067a[_0xbe70('0x8')])return null;const _0x40bf94=[],_0x468fe4=_0x21d179[_0xbe70('0x0')][_0xbe70('0xa')];for(const _0xa65116 of _0x4e067a){const _0x4e90e4=_0x21d179[_0xbe70('0x1')][_0xbe70('0x9')](_0xa65116[_0xbe70('0x4')]);if(!_0x4e90e4)continue;const _0x2f3776=Array[_0xbe70('0x3')](_0x4e90e4)[_0xbe70('0x5')](_0x56947d=>_0x468fe4[_0xbe70('0xc')](_0x56947d))[_0xbe70('0x2')](_0x49df32=>!!_0x49df32);_0x40bf94[_0xbe70('0x6')](..._0x2f3776);}if(0x0===_0x40bf94[_0xbe70('0x8')])return null;const _0x57fca4=[];for(const _0x4bf3a2 of _0x40bf94){const _0x4236c3=_0x4bf3a2['getClientRects']()[_0xbe70('0x7')](0x0);_0x4236c3&&_0x57fca4[_0xbe70('0x6')]({'x':_0x4236c3['x'],'y':_0x4236c3['y'],'domElement':_0x4bf3a2});}return 0x0===_0x57fca4[_0xbe70('0x8')]?null:(_0x57fca4[_0xbe70('0xb')]((_0x5b8e4c,_0x126c12)=>_0x5b8e4c['y']-_0x126c12['y']||_0x5b8e4c['x']-_0x126c12['x']),_0x57fca4[_0xbe70('0x5')](_0x26a387=>_0x26a387['domElement']));}
23
+ const _0x11e0=['domConverter','markerNameToElements','mapViewToDom','getClientRects','domElement','map','mapper','from','push','item','view','name','values','length'];(function(_0x55fabf,_0x11e06f){const _0x265b55=function(_0x2e3501){while(--_0x2e3501){_0x55fabf['push'](_0x55fabf['shift']());}};_0x265b55(++_0x11e06f);}(_0x11e0,0x1cd));const _0x265b=function(_0x55fabf,_0x11e06f){_0x55fabf=_0x55fabf-0x0;let _0x265b55=_0x11e0[_0x55fabf];return _0x265b55;};import{first as _0x172736}from'ckeditor5/src/utils';export default function k(_0x3c48d3,_0x28d2c1){const _0x48b6b9=_0x3c48d3['mapper'][_0x265b('0x2')](_0x28d2c1[_0x265b('0xc')]);if(!_0x48b6b9)return null;const _0xe2d4f1=_0x172736(_0x48b6b9[_0x265b('0xd')]());return _0x3c48d3[_0x265b('0xb')]['domConverter'][_0x265b('0x3')](_0xe2d4f1)||null;}export function getAllMarkersDomElementsSorted(_0x13e209,_0x29bb39){if(0x0===_0x29bb39[_0x265b('0x0')])return null;const _0x4b1cc8=[],_0x34c987=_0x13e209[_0x265b('0xb')][_0x265b('0x1')];for(const _0x594237 of _0x29bb39){const _0x4ffbd6=_0x13e209[_0x265b('0x7')]['markerNameToElements'](_0x594237[_0x265b('0xc')]);if(!_0x4ffbd6)continue;const _0x35712d=Array[_0x265b('0x8')](_0x4ffbd6)[_0x265b('0x6')](_0x106007=>_0x34c987[_0x265b('0x3')](_0x106007))['filter'](_0xf6c84e=>!!_0xf6c84e);_0x4b1cc8[_0x265b('0x9')](..._0x35712d);}if(0x0===_0x4b1cc8[_0x265b('0x0')])return null;const _0xe2c1f3=[];for(const _0x2c4664 of _0x4b1cc8){const _0x5d522b=_0x2c4664[_0x265b('0x4')]()[_0x265b('0xa')](0x0);_0x5d522b&&_0xe2c1f3['push']({'x':_0x5d522b['x'],'y':_0x5d522b['y'],'domElement':_0x2c4664});}return 0x0===_0xe2c1f3[_0x265b('0x0')]?null:(_0xe2c1f3['sort']((_0x350905,_0x47ecbe)=>_0x350905['y']-_0x47ecbe['y']||_0x350905['x']-_0x47ecbe['x']),_0xe2c1f3['map'](_0x2176eb=>_0x2176eb[_0x265b('0x5')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4862=['isArray','sign','toString','keys','charCodeAt','number'];(function(_0x8b3403,_0x486288){const _0x206255=function(_0x481adb){while(--_0x481adb){_0x8b3403['push'](_0x8b3403['shift']());}};_0x206255(++_0x486288);}(_0x4862,0x88));const _0x2062=function(_0x8b3403,_0x486288){_0x8b3403=_0x8b3403-0x0;let _0x206255=_0x4862[_0x8b3403];return _0x206255;};export default function b(_0x310928){let _0x97ee30=0x0,_0x3565f2=0x0;for(const _0x5c22a0 of g(_0x310928))_0x97ee30=(_0x97ee30<<0x5)-_0x97ee30+_0x5c22a0,_0x97ee30&=_0x97ee30,[_0x97ee30,_0x3565f2]=[_0x3565f2,_0x97ee30];return O(_0x97ee30)+O(_0x3565f2);}function*j(_0x2e1b1e){_0x2e1b1e?'boolean'==typeof _0x2e1b1e?yield 0x1:Array[_0x2062('0x2')](_0x2e1b1e)?yield*function*(_0x35d892){for(const _0x53a17a of _0x35d892)yield*j(_0x53a17a);}(_0x2e1b1e):'object'==typeof _0x2e1b1e?yield*g(_0x2e1b1e):'string'==typeof _0x2e1b1e?yield*A(_0x2e1b1e):_0x2062('0x1')==typeof _0x2e1b1e&&(yield _0x2e1b1e):yield 0x0;}function*g(_0x44a7c7){if(yield M('{'),_0x44a7c7){const _0x533348=Object[_0x2062('0x5')](_0x44a7c7)['sort']();for(const _0x292787 of _0x533348){yield*A(_0x292787),yield M(':');const _0x3c061b=_0x44a7c7[_0x292787];yield*j(_0x3c061b);}}yield M('}');}function*A(_0x2e6f52){yield M('\x22');for(const _0x4723df of _0x2e6f52)yield M(_0x4723df);yield M('\x22');}function M(_0x28b0f6){return _0x28b0f6[_0x2062('0x0')](0x0);}function O(_0x1a7127){return(_0x1a7127*=Math[_0x2062('0x3')](_0x1a7127))[_0x2062('0x4')](0x24);}
23
+ const _0x10b4=['boolean','sort','isArray','object','toString','charCodeAt','number','keys'];(function(_0x5c744a,_0x10b463){const _0x266a2f=function(_0x56c516){while(--_0x56c516){_0x5c744a['push'](_0x5c744a['shift']());}};_0x266a2f(++_0x10b463);}(_0x10b4,0x1e8));const _0x266a=function(_0x5c744a,_0x10b463){_0x5c744a=_0x5c744a-0x0;let _0x266a2f=_0x10b4[_0x5c744a];return _0x266a2f;};export default function b(_0x56fb41){let _0x420f09=0x0,_0x22c214=0x0;for(const _0x1e7e5a of g(_0x56fb41))_0x420f09=(_0x420f09<<0x5)-_0x420f09+_0x1e7e5a,_0x420f09&=_0x420f09,[_0x420f09,_0x22c214]=[_0x22c214,_0x420f09];return O(_0x420f09)+O(_0x22c214);}function*j(_0x5f15b3){_0x5f15b3?_0x266a('0x0')==typeof _0x5f15b3?yield 0x1:Array[_0x266a('0x2')](_0x5f15b3)?yield*function*(_0x1a2f5b){for(const _0x5d7534 of _0x1a2f5b)yield*j(_0x5d7534);}(_0x5f15b3):_0x266a('0x3')==typeof _0x5f15b3?yield*g(_0x5f15b3):'string'==typeof _0x5f15b3?yield*A(_0x5f15b3):_0x266a('0x6')==typeof _0x5f15b3&&(yield _0x5f15b3):yield 0x0;}function*g(_0x3b2cfc){if(yield M('{'),_0x3b2cfc){const _0x4f23d0=Object[_0x266a('0x7')](_0x3b2cfc)[_0x266a('0x1')]();for(const _0x1acf6b of _0x4f23d0){yield*A(_0x1acf6b),yield M(':');const _0x2cac7d=_0x3b2cfc[_0x1acf6b];yield*j(_0x2cac7d);}}yield M('}');}function*A(_0x39ea78){yield M('\x22');for(const _0x2e8b24 of _0x39ea78)yield M(_0x2e8b24);yield M('\x22');}function M(_0x23bc54){return _0x23bc54[_0x266a('0x5')](0x0);}function O(_0x21c894){return(_0x21c894*=Math['sign'](_0x21c894))[_0x266a('0x4')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18d6=['constructor','requires','config','string','initialData','concat','context','names','WordCount','pluginName','filter','every','removePlugins','plugins','toolbar','WebSocketGateway','includes','extraPlugins','name','DocumentOutline','has','get','set'];(function(_0x5d6020,_0x18d608){const _0x520a65=function(_0x49ce71){while(--_0x49ce71){_0x5d6020['push'](_0x5d6020['shift']());}};_0x520a65(++_0x18d608);}(_0x18d6,0x7c));const _0x520a=function(_0x5d6020,_0x18d608){_0x5d6020=_0x5d6020-0x0;let _0x520a65=_0x18d6[_0x5d6020];return _0x520a65;};const w=[_0x520a('0x12'),_0x520a('0x14'),_0x520a('0x5'),'rootsAttributes'],W=[_0x520a('0x6'),'RevisionTracker','Autosave',_0x520a('0x16'),_0x520a('0xa'),'WProofreader'];function v(_0x3f0354,_0x3bc317,_0x1fd2a9,_0x9bc82c=[]){const _0x368d7c=_0x520a('0x11')==typeof _0x3f0354?_0x1fd2a9[_0x520a('0xc')](_0x3f0354)[_0x520a('0xe')]:_0x3f0354,_0x34e4c9=_0x368d7c[_0x520a('0x0')]||_0x368d7c[_0x520a('0x9')];if(_0x3bc317[_0x520a('0xb')](_0x34e4c9))return _0x3bc317[_0x520a('0xc')](_0x34e4c9);if(_0x3bc317[_0x520a('0xd')](_0x34e4c9,!0x0),_0x34e4c9&&W[_0x520a('0x13')](_0x9bc82c)[_0x520a('0x7')](_0x34e4c9))return _0x3bc317[_0x520a('0xd')](_0x34e4c9,!0x1),!0x1;if(!_0x368d7c[_0x520a('0xf')])return _0x3bc317['set'](_0x34e4c9,!0x0),!0x0;const _0x388a2d=_0x368d7c[_0x520a('0xf')][_0x520a('0x2')](_0x1df06a=>v(_0x1df06a,_0x3bc317,_0x1fd2a9,_0x9bc82c));return _0x3bc317[_0x520a('0xd')](_0x34e4c9,_0x388a2d),_0x388a2d;}export default function D(_0x303781,_0x252c7f){const _0x4bd097={};for(const _0x4be06a of _0x303781['config'][_0x520a('0x15')]())w[_0x520a('0x7')](_0x4be06a)||(_0x4bd097[_0x4be06a]=_0x303781['config']['get'](_0x4be06a));const _0x2f600c=_0x4bd097[_0x520a('0x4')]||[],_0x31350c=_0x303781[_0x520a('0xe')]['builtinPlugins']||[],_0x1ee59a=_0x2f600c['length']?_0x2f600c:_0x31350c,_0x4fa7c1=_0x4bd097['extraPlugins']||[];delete _0x4bd097[_0x520a('0x8')];const _0x4a8a38=_0x4bd097[_0x520a('0x3')]||[];delete _0x4bd097[_0x520a('0x3')];const _0x42993c=_0x303781['_context'][_0x520a('0x10')][_0x520a('0xc')]('plugins')||[],_0x1d7493=_0x1ee59a[_0x520a('0x13')](_0x4fa7c1)[_0x520a('0x13')](_0x42993c)['map'](_0x445be5=>'string'==typeof _0x445be5?_0x31350c['find'](_0x1933f1=>_0x1933f1[_0x520a('0x0')]==_0x445be5):_0x445be5)[_0x520a('0x1')](_0x302d85=>!_0x4a8a38[_0x520a('0x7')](_0x302d85)),_0x328648=Array['from'](new Set(_0x1d7493)),_0x2b6dc8=new Map();return _0x4bd097[_0x520a('0x4')]=_0x328648[_0x520a('0x1')](_0x44b345=>v(_0x44b345,_0x2b6dc8,_0x303781[_0x520a('0x4')],_0x252c7f)),_0x4bd097;}
23
+ const _0x2ede=['plugins','from','has','Autosave','removePlugins','config','toolbar','requires','length','extraPlugins','get','set','find','string','name','includes','pluginName','constructor','WebSocketGateway','context','concat','RevisionTracker','filter','every','rootsAttributes'];(function(_0x297bdf,_0x2ede28){const _0x5d8da8=function(_0x3ece4b){while(--_0x3ece4b){_0x297bdf['push'](_0x297bdf['shift']());}};_0x5d8da8(++_0x2ede28);}(_0x2ede,0x112));const _0x5d8d=function(_0x297bdf,_0x2ede28){_0x297bdf=_0x297bdf-0x0;let _0x5d8da8=_0x2ede[_0x297bdf];return _0x5d8da8;};const w=['initialData',_0x5d8d('0x14'),_0x5d8d('0x7'),_0x5d8d('0x0')],W=[_0x5d8d('0x13'),_0x5d8d('0x16'),_0x5d8d('0x4'),'WordCount','DocumentOutline','WProofreader'];function v(_0xa26a43,_0x45a407,_0x252edd,_0x5f08a7=[]){const _0x506a5b=_0x5d8d('0xe')==typeof _0xa26a43?_0x252edd[_0x5d8d('0xb')](_0xa26a43)['constructor']:_0xa26a43,_0x4d6a39=_0x506a5b[_0x5d8d('0x11')]||_0x506a5b[_0x5d8d('0xf')];if(_0x45a407[_0x5d8d('0x3')](_0x4d6a39))return _0x45a407[_0x5d8d('0xb')](_0x4d6a39);if(_0x45a407[_0x5d8d('0xc')](_0x4d6a39,!0x0),_0x4d6a39&&W[_0x5d8d('0x15')](_0x5f08a7)[_0x5d8d('0x10')](_0x4d6a39))return _0x45a407[_0x5d8d('0xc')](_0x4d6a39,!0x1),!0x1;if(!_0x506a5b[_0x5d8d('0x8')])return _0x45a407[_0x5d8d('0xc')](_0x4d6a39,!0x0),!0x0;const _0x9a7733=_0x506a5b[_0x5d8d('0x8')][_0x5d8d('0x18')](_0x136c01=>v(_0x136c01,_0x45a407,_0x252edd,_0x5f08a7));return _0x45a407[_0x5d8d('0xc')](_0x4d6a39,_0x9a7733),_0x9a7733;}export default function D(_0x3209c5,_0x2552b0){const _0x442995={};for(const _0x3e2500 of _0x3209c5['config']['names']())w[_0x5d8d('0x10')](_0x3e2500)||(_0x442995[_0x3e2500]=_0x3209c5[_0x5d8d('0x6')][_0x5d8d('0xb')](_0x3e2500));const _0xa62660=_0x442995[_0x5d8d('0x1')]||[],_0x34e586=_0x3209c5[_0x5d8d('0x12')]['builtinPlugins']||[],_0x58882e=_0xa62660[_0x5d8d('0x9')]?_0xa62660:_0x34e586,_0x43c3c6=_0x442995[_0x5d8d('0xa')]||[];delete _0x442995['extraPlugins'];const _0x2e7523=_0x442995[_0x5d8d('0x5')]||[];delete _0x442995['removePlugins'];const _0x21bff0=_0x3209c5['_context'][_0x5d8d('0x6')][_0x5d8d('0xb')](_0x5d8d('0x1'))||[],_0x334332=_0x58882e[_0x5d8d('0x15')](_0x43c3c6)[_0x5d8d('0x15')](_0x21bff0)['map'](_0x5b4397=>_0x5d8d('0xe')==typeof _0x5b4397?_0x34e586[_0x5d8d('0xd')](_0x508de7=>_0x508de7['pluginName']==_0x5b4397):_0x5b4397)['filter'](_0x17ab2b=>!_0x2e7523[_0x5d8d('0x10')](_0x17ab2b)),_0x511695=Array[_0x5d8d('0x2')](new Set(_0x334332)),_0x46a128=new Map();return _0x442995[_0x5d8d('0x1')]=_0x511695[_0x5d8d('0x17')](_0x57dfb0=>v(_0x57dfb0,_0x46a128,_0x3209c5['plugins'],_0x2552b0)),_0x442995;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ef3=['slice','length','...','match','split','indexOf','push','replace','startsWith','join','substring'];(function(_0x2a9b63,_0x1ef3b2){const _0x5ba074=function(_0x578174){while(--_0x578174){_0x2a9b63['push'](_0x2a9b63['shift']());}};_0x5ba074(++_0x1ef3b2);}(_0x1ef3,0x117));const _0x5ba0=function(_0x2a9b63,_0x1ef3b2){_0x2a9b63=_0x2a9b63-0x0;let _0x5ba074=_0x1ef3[_0x2a9b63];return _0x5ba074;};export default function z(_0x1713b2,{limit:_0xc5f734,suffix:_0x19043c=_0x5ba0('0x9')}){const _0x2ad374=[];let _0x554d74=0x0;const _0x40465d=_0x1713b2[_0x5ba0('0x3')](/</g,'\x0a<')[_0x5ba0('0x3')](/>/g,'>\x0a')[_0x5ba0('0x3')](/^\n/g,'')['replace'](/\n$/g,'')[_0x5ba0('0x0')]('\x0a');for(let _0x34c926=0x0;_0x34c926<_0x40465d[_0x5ba0('0x8')];_0x34c926++){let _0x27e74b=_0x40465d[_0x34c926];const _0x5bb25d=Z(_0x27e74b);if(_0x27e74b[_0x5ba0('0x4')]('<')){if(_0x554d74>=_0xc5f734){const _0x26be7b=_0x27e74b[_0x5ba0('0xa')](/[a-zA-Z]+/);if(!_0x26be7b){_0x40465d[_0x34c926]='';continue;}const _0x290b8c=_0x26be7b[0x0];_0x27e74b['startsWith']('</')?(_0x2ad374[_0x5ba0('0x8')]&&(_0x27e74b=''),_0x2ad374['pop']()):(_0x2ad374[_0x5ba0('0x2')](_0x290b8c),_0x27e74b='');}}else{if(_0x554d74>=_0xc5f734)_0x27e74b='';else{if(_0x554d74+_0x5bb25d[_0x5ba0('0x8')]>=_0xc5f734){let _0x39e580=_0xc5f734-_0x554d74;if('\x20'===_0x5bb25d[_0x39e580-0x1])_0x39e580--;else{const _0x43b37f=_0x5bb25d[_0x5ba0('0x7')](_0x39e580)[_0x5ba0('0x1')]('\x20');-0x1!==_0x43b37f?_0x39e580+=_0x43b37f:_0x39e580=_0x27e74b[_0x5ba0('0x8')];}_0x27e74b=_0x5bb25d[_0x5ba0('0x7')](0x0,_0x39e580)[_0x5ba0('0x5')]('')+_0x19043c,_0x554d74=_0xc5f734;}else _0x554d74+=_0x5bb25d[_0x5ba0('0x8')];}}_0x40465d[_0x34c926]=_0x27e74b;}return _0x40465d['join']('\x0a')[_0x5ba0('0x3')](/\n/g,'');}function Z(_0x214d29){const _0xe4e1b2=[];for(let _0xe5ab3e=0x0;_0xe5ab3e<_0x214d29['length'];_0xe5ab3e++){const _0x39d7dc=_0x214d29[_0x5ba0('0x6')](_0xe5ab3e)[_0x5ba0('0xa')](/^&[a-z0-9#]+;/);if(_0x39d7dc){const _0x3e839e=_0x39d7dc[0x0];_0xe4e1b2[_0x5ba0('0x2')](_0x3e839e),_0xe5ab3e+=_0x3e839e[_0x5ba0('0x8')]-0x1;}else _0xe4e1b2['push'](_0x214d29[_0xe5ab3e]);}return _0xe4e1b2;}
23
+ const _0x4283=['length','...','replace','match','startsWith','slice','substring','indexOf','split','push'];(function(_0x30a29c,_0x4283ea){const _0x420481=function(_0x5354b7){while(--_0x5354b7){_0x30a29c['push'](_0x30a29c['shift']());}};_0x420481(++_0x4283ea);}(_0x4283,0x130));const _0x4204=function(_0x30a29c,_0x4283ea){_0x30a29c=_0x30a29c-0x0;let _0x420481=_0x4283[_0x30a29c];return _0x420481;};export default function z(_0x7e16d1,{limit:_0xde4a19,suffix:_0x5f5b1b=_0x4204('0x7')}){const _0x83959b=[];let _0x1b93c3=0x0;const _0xfbbbe1=_0x7e16d1['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x4204('0x8')](/^\n/g,'')[_0x4204('0x8')](/\n$/g,'')[_0x4204('0x4')]('\x0a');for(let _0x16511a=0x0;_0x16511a<_0xfbbbe1[_0x4204('0x6')];_0x16511a++){let _0x32476b=_0xfbbbe1[_0x16511a];const _0x243fba=Z(_0x32476b);if(_0x32476b[_0x4204('0x0')]('<')){if(_0x1b93c3>=_0xde4a19){const _0x1ebfa4=_0x32476b[_0x4204('0x9')](/[a-zA-Z]+/);if(!_0x1ebfa4){_0xfbbbe1[_0x16511a]='';continue;}const _0x2358b8=_0x1ebfa4[0x0];_0x32476b[_0x4204('0x0')]('</')?(_0x83959b[_0x4204('0x6')]&&(_0x32476b=''),_0x83959b['pop']()):(_0x83959b[_0x4204('0x5')](_0x2358b8),_0x32476b='');}}else{if(_0x1b93c3>=_0xde4a19)_0x32476b='';else{if(_0x1b93c3+_0x243fba[_0x4204('0x6')]>=_0xde4a19){let _0x53c30e=_0xde4a19-_0x1b93c3;if('\x20'===_0x243fba[_0x53c30e-0x1])_0x53c30e--;else{const _0x51d88a=_0x243fba[_0x4204('0x1')](_0x53c30e)[_0x4204('0x3')]('\x20');-0x1!==_0x51d88a?_0x53c30e+=_0x51d88a:_0x53c30e=_0x32476b[_0x4204('0x6')];}_0x32476b=_0x243fba[_0x4204('0x1')](0x0,_0x53c30e)['join']('')+_0x5f5b1b,_0x1b93c3=_0xde4a19;}else _0x1b93c3+=_0x243fba[_0x4204('0x6')];}}_0xfbbbe1[_0x16511a]=_0x32476b;}return _0xfbbbe1['join']('\x0a')[_0x4204('0x8')](/\n/g,'');}function Z(_0x21b171){const _0x50e325=[];for(let _0x40f8c0=0x0;_0x40f8c0<_0x21b171['length'];_0x40f8c0++){const _0x4be775=_0x21b171[_0x4204('0x2')](_0x40f8c0)[_0x4204('0x9')](/^&[a-z0-9#]+;/);if(_0x4be775){const _0x479919=_0x4be775[0x0];_0x50e325[_0x4204('0x5')](_0x479919),_0x40f8c0+=_0x479919[_0x4204('0x6')]-0x1;}else _0x50e325['push'](_0x21b171[_0x40f8c0]);}return _0x50e325;}