@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231105.0 → 0.0.0-nightly-20231107.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-20231105.0",
3
+ "version": "0.0.0-nightly-20231107.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-20231105.0",
34
+ "ckeditor5": "0.0.0-nightly-20231107.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 _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'));}}}
23
+ const _0x3a58=['noPermissions','setPermissions','addCommentThread','forceDisabled','comment:write','CommentsOnly','plugins','enableReadOnlyMode','isEnabled','disableReadOnlyMode','editors','permissions-set-permissions-invalid-channel-id','clearForceDisabled','no-permissions','includes','collaboration.channelId','get','config','has','document:write','context','Permissions','find','comment:admin','CommentsRepository','comment:modify_all'];(function(_0x5c524b,_0x3a5848){const _0x373bb9=function(_0x32f967){while(--_0x32f967){_0x5c524b['push'](_0x5c524b['shift']());}};_0x373bb9(++_0x3a5848);}(_0x3a58,0x1e8));const _0x373b=function(_0x5c524b,_0x3a5848){_0x5c524b=_0x5c524b-0x0;let _0x373bb9=_0x3a58[_0x5c524b];return _0x373bb9;};import{ContextPlugin as _0x5189ea,Editor as _0x5d704e}from'ckeditor5/src/core';import{CKEditorError as _0x1e257d}from'ckeditor5/src/utils';export default class n extends _0x5189ea{static get['pluginName'](){return _0x373b('0x1');}[_0x373b('0x7')](_0x3b4f63,_0x2c47f4){let _0x4f2922;if(_0x2c47f4||(_0x2c47f4=this[_0x373b('0x0')][_0x373b('0x17')]['get'](_0x373b('0x15'))),this[_0x373b('0x0')][_0x373b('0x17')][_0x373b('0x16')](_0x373b('0x15'))==_0x2c47f4?_0x4f2922=this['context']:_0x373b('0x10')in this[_0x373b('0x0')]&&this[_0x373b('0x0')][_0x373b('0x10')]&&(_0x4f2922=this[_0x373b('0x0')][_0x373b('0x10')][_0x373b('0x2')](_0x1e8f59=>_0x1e8f59[_0x373b('0x17')]['get']('collaboration.channelId')==_0x2c47f4)),!_0x4f2922)throw new _0x1e257d(_0x373b('0x11'),null);const _0x114e4f=_0x4f2922[_0x373b('0xc')],_0xa46cf=_0x114e4f[_0x373b('0x18')](_0x373b('0x4'))?_0x114e4f[_0x373b('0x16')]('CommentsRepository'):void 0x0,_0x4b8d38=_0x114e4f[_0x373b('0x18')](_0x373b('0xb'))&&_0x114e4f[_0x373b('0x16')](_0x373b('0xb')),_0x3e2a4b=_0x3b4f63[_0x373b('0x14')](_0x373b('0x19')),_0xa3af7b=_0x3b4f63['includes'](_0x373b('0x5')),_0x155120=_0x3b4f63[_0x373b('0x14')](_0x373b('0x3')),_0x213e16=_0x3b4f63['includes'](_0x373b('0xa')),_0x46bd99=_0x213e16||_0x155120,_0x5d07f5=_0x46bd99||_0xa3af7b,_0x1e6fa8=_0x3e2a4b||_0x46bd99;(_0x4b8d38&&(_0x4b8d38[_0x373b('0xe')]=!_0x3e2a4b&&_0x5d07f5),_0x4f2922 instanceof _0x5d704e)&&(!(_0x3e2a4b||_0x5d07f5&&_0xa46cf)?_0x4f2922[_0x373b('0xd')](_0x373b('0x13')):_0x4f2922[_0x373b('0xf')]('no-permissions'));if(_0xa46cf){_0xa46cf[_0x373b('0x7')]({'admin':_0x155120,'modifyAll':_0xa3af7b,'write':_0x213e16,'resolve':_0x1e6fa8},_0x2c47f4);const _0x1ccab3=_0x4f2922 instanceof _0x5d704e&&_0x4f2922['commands']['get'](_0x373b('0x8'));_0x1ccab3&&(_0x46bd99?_0x1ccab3[_0x373b('0x12')]('noPermissions'):_0x1ccab3[_0x373b('0x9')](_0x373b('0x6')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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});}}
23
+ const _0x95e0=['setTemplate','notificationView','url(\x27','ck-user__anonymous','avatar','ck\x20ck-user__name\x20ck-user__name--hidden','div','ck-user__avatar','ck-user','isAnonymous','ck\x20ck-user__name','content','name','push'];(function(_0x34f2fe,_0x95e0e9){const _0x2f5a23=function(_0x421af1){while(--_0x421af1){_0x34f2fe['push'](_0x34f2fe['shift']());}};_0x2f5a23(++_0x95e0e9);}(_0x95e0,0x142));const _0x2f5a=function(_0x34f2fe,_0x95e0e9){_0x34f2fe=_0x34f2fe-0x0;let _0x2f5a23=_0x95e0[_0x34f2fe];return _0x2f5a23;};import{View as _0x466fb3,IconView as _0x393f2c}from'ckeditor5/src/ui';import _0x37450a from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x466fb3{constructor(_0x4e5544,_0x41c201,_0x56d9ca){super(_0x4e5544),this[_0x2f5a('0xc')]=_0x41c201['name'],this[_0x2f5a('0x1')]=null;const _0x3ce363=['ck','ck-user__img'];if(_0x41c201[_0x2f5a('0x9')]&&_0x3ce363['push'](_0x2f5a('0x3')),_0x41c201['avatar']&&_0x3ce363[_0x2f5a('0xd')](_0x2f5a('0x7')),_0x56d9ca){const _0x7befdd=new _0x393f2c();_0x7befdd['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x7befdd[_0x2f5a('0xb')]=_0x37450a,this[_0x2f5a('0x1')]={'tag':_0x2f5a('0x6'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x56d9ca},'children':[_0x7befdd]};}const _0x475600=[{'tag':_0x2f5a('0x6'),'attributes':{'class':_0x3ce363,'style':{'background-image':_0x41c201[_0x2f5a('0x4')]?_0x2f5a('0x2')+_0x41c201[_0x2f5a('0x4')]+'\x27)':''}}},{'tag':_0x2f5a('0x6'),'attributes':{'class':_0x41c201[_0x2f5a('0x4')]?_0x2f5a('0x5'):_0x2f5a('0xa')},'children':[{'text':_0x41c201['initials']}]}];this[_0x2f5a('0x1')]&&_0x475600[_0x2f5a('0xd')](this[_0x2f5a('0x1')]),this[_0x2f5a('0x0')]({'tag':_0x2f5a('0x6'),'attributes':{'class':['ck',_0x2f5a('0x8')],'data-user-id':_0x41c201['id']},'children':_0x475600});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')];}}
23
+ const _0xb14e=['getBackgroundColorClass','getSelectionClass','licenseKeyInvalid','trial-license-key-reached-limit-revisions','isAnonymous','info','length','get','licenseKeyTrialLimit:operations','users.anonymousUserId','_addAnonymousUser','getUser','users.colorsCount','users-me-already-defined','licenseKeyTrialLimit:time','toUpperCase','ck-user__selection--','users','licenseKey','licenseKeyTrial','_id','destroy','_locale','init','getOperationAuthor','users-add-invalid-id','pluginName','ck-user__bg-color--','_lastColor','avatar','has','_myId','useAnonymousUser','context','_licenseKeyCheckInterval','licenseKeyValid','define','defineMe','users-add-duplicated-id','_getInitial','includes','trial-license-key-reached-limit-changes','name','trial-license-key-reached-limit-time','addUser','color','initials','split','decorate','config','Anonymous','string','anonymous-user','requires','licenseKeyTrialLimit:revisions','_isAnonymous','_getNextColor'];(function(_0x3c56da,_0xb14eb6){const _0x14259f=function(_0xaeaecb){while(--_0xaeaecb){_0x3c56da['push'](_0x3c56da['shift']());}};_0x14259f(++_0xb14eb6);}(_0xb14e,0x161));const _0x1425=function(_0x3c56da,_0xb14eb6){_0x3c56da=_0x3c56da-0x0;let _0x14259f=_0xb14e[_0x3c56da];return _0x14259f;};import{ContextPlugin as _0x24aa89}from'ckeditor5/src/core';import{Collection as _0x2d674c,CKEditorError as _0x5161c9}from'ckeditor5/src/utils';import _0x169675 from'./permissions';import{getTranslation as _0x4843ee}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x24aa89{static get[_0x1425('0xf')](){return'Users';}static get[_0x1425('0x2a')](){return[_0x169675];}constructor(_0x2ff47f){super(_0x2ff47f),this[_0x1425('0x16')][_0x1425('0x26')]['define'](_0x1425('0x37'),_0x1425('0x29')),this['context'][_0x1425('0x26')][_0x1425('0x19')](_0x1425('0x1'),0x8),this[_0x1425('0x6')]=new _0x2d674c(),this['_locale']=_0x2ff47f['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this[_0x1425('0x14')]=null,this[_0x1425('0x25')](_0x1425('0xd'));}[_0x1425('0xc')](){const _0x511d99=this[_0x1425('0x16')];this[_0x1425('0x7')]=_0x511d99['config'][_0x1425('0x35')](_0x1425('0x7'));const _0x5385c0=['licenseKeyTrial',_0x1425('0x30'),_0x1425('0x18'),_0x1425('0x36'),'licenseKeyTrialLimit:time',_0x1425('0x2b')];this[_0x1425('0x17')]=setInterval(()=>{let _0x590746;for(const _0x3321d2 in _0x511d99){const _0x382c40=_0x511d99[_0x3321d2];if(_0x5385c0[_0x1425('0x1d')](_0x382c40)){delete _0x511d99[_0x3321d2],_0x590746=_0x382c40;break;}}if(_0x1425('0x30')===_0x590746)throw clearInterval(this[_0x1425('0x17')]),new _0x5161c9('invalid-license-key',null);if(_0x1425('0x8')===_0x590746&&console[_0x1425('0x33')]('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.'),_0x1425('0x36')===_0x590746)throw clearInterval(this[_0x1425('0x17')]),new _0x5161c9(_0x1425('0x1e'),null);if(_0x1425('0x3')===_0x590746)throw clearInterval(this[_0x1425('0x17')]),new _0x5161c9(_0x1425('0x20'),null);if('licenseKeyTrialLimit:revisions'===_0x590746)throw clearInterval(this[_0x1425('0x17')]),new _0x5161c9(_0x1425('0x31'),null);_0x1425('0x18')===_0x590746&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x1425('0x38')]();}get['me'](){return null==this[_0x1425('0x14')]?null:this['getUser'](this[_0x1425('0x14')]);}[_0x1425('0x21')]({id:_0x28974f,name:_0x4cd848,..._0x28c62f}){if(!_0x28974f||_0x1425('0x28')!=typeof _0x28974f)throw new _0x5161c9(_0x1425('0xe'));if(this[_0x1425('0x6')][_0x1425('0x13')](_0x28974f))throw new _0x5161c9(_0x1425('0x1b'),null,{'id':_0x28974f});const _0x3546bf={..._0x28c62f,'id':_0x28974f,'name':a(this[_0x1425('0xb')],_0x4cd848),'color':this[_0x1425('0x2d')]()};_0x3546bf[_0x1425('0x1f')]=a(this[_0x1425('0xb')],_0x3546bf['name']);const _0x2ff322=new User(_0x3546bf);return this[_0x1425('0x6')]['add'](_0x2ff322),_0x2ff322;}[_0x1425('0x0')](_0x419049){return this[_0x1425('0x6')][_0x1425('0x35')](_0x419049);}[_0x1425('0x15')](){const _0x4faa84=this['context'][_0x1425('0x26')][_0x1425('0x35')](_0x1425('0x37'));this[_0x1425('0x14')]||this[_0x1425('0x1a')](_0x4faa84);}[_0x1425('0x1a')](_0x4bb1ab){if(this[_0x1425('0x14')])throw new _0x5161c9(_0x1425('0x2'),null);if(!this[_0x1425('0x0')](_0x4bb1ab))throw new _0x5161c9('users-me-missing-user',null);this[_0x1425('0x14')]=_0x4bb1ab;}[_0x1425('0xd')](){return this['me'];}[_0x1425('0xa')](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x1425('0x2d')](){const _0x6af499=this[_0x1425('0x16')][_0x1425('0x26')]['get'](_0x1425('0x1'));return this[_0x1425('0x11')]>=_0x6af499&&(this[_0x1425('0x11')]=0x0),new u(this[_0x1425('0x11')]++);}[_0x1425('0x38')](){const _0x34c51e=this[_0x1425('0x16')]['config'][_0x1425('0x35')](_0x1425('0x37'));this[_0x1425('0x21')]({'id':_0x34c51e,'name':_0x4843ee(this[_0x1425('0xb')],_0x1425('0x27'))})[_0x1425('0x2c')]=!0x0;}}export class User{constructor(_0x228e31){this['id']=_0x228e31['id'],this[_0x1425('0x22')]=_0x228e31[_0x1425('0x22')],this[_0x1425('0x1f')]=_0x228e31[_0x1425('0x1f')],this[_0x1425('0x12')]=_0x228e31['avatar'],this['_isAnonymous']=!0x1;}get[_0x1425('0x32')](){return this['_isAnonymous'];}get[_0x1425('0x23')](){const _0x2ec14a=this[_0x1425('0x1f')][_0x1425('0x24')]('\x20');return 0x1===_0x2ec14a[_0x1425('0x34')]?this[_0x1425('0x1c')](_0x2ec14a[0x0]):this[_0x1425('0x1c')](_0x2ec14a[0x0])+this[_0x1425('0x1c')](_0x2ec14a[_0x2ec14a[_0x1425('0x34')]-0x1]);}[_0x1425('0x1c')](_0x526542){return _0x526542['charAt'](0x0)[_0x1425('0x4')]();}}function a(_0x1fbdd9,_0x187e96=''){return''==(_0x187e96=_0x187e96['trim']())?_0x4843ee(_0x1fbdd9,'Anonymous'):_0x187e96;}class u{constructor(_0x45a150){this['_id']=_0x45a150;}[_0x1425('0x2e')](){return _0x1425('0x10')+this[_0x1425('0x9')];}[_0x1425('0x2f')](){return _0x1425('0x5')+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'';}}
23
+ export function getTranslation(_0xaf036b,_0x49665f){const t=_0xaf036b['t'];switch(_0x49665f){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 _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);}};}
23
+ var _0x4b77=['cancel','message','_removeConfirm','fire','once','remove','element','isConfirm','locale','submit','focus','confirmView','render','set','appendChild','destroy'];(function(_0x1fe58f,_0x4b7789){var _0x5c4224=function(_0x1af368){while(--_0x1af368){_0x1fe58f['push'](_0x1fe58f['shift']());}};_0x5c4224(++_0x4b7789);}(_0x4b77,0xea));var _0x5c42=function(_0x1fe58f,_0x4b7789){_0x1fe58f=_0x1fe58f-0x0;var _0x5c4224=_0x4b77[_0x1fe58f];return _0x5c4224;};import _0xa81a10 from'./confirmview';export default function m(_0x3c94d5){return class extends _0x3c94d5{['showConfirm'](_0x3a14c2,_0x324551){return this['confirmView']=new _0xa81a10(this[_0x5c42('0xe')]),this[_0x5c42('0x1')][_0x5c42('0x2')](),this[_0x5c42('0x1')][_0x5c42('0x7')]=_0x3a14c2,this[_0x5c42('0x1')]['once'](_0x5c42('0x6'),()=>{this[_0x5c42('0x8')]();}),this[_0x5c42('0x1')][_0x5c42('0xa')](_0x5c42('0xf'),()=>{this[_0x5c42('0x8')]();}),_0x324551[_0x5c42('0x4')](this[_0x5c42('0x1')][_0x5c42('0xc')]),this['registerChild'](this['confirmView']),this[_0x5c42('0xc')][_0x5c42('0x0')](),this[_0x5c42('0x3')]('isConfirm',!0x0),new Promise(_0x50085d=>this['confirmView']['on'](_0x5c42('0xf'),_0x50085d));}['cancelConfirm'](){this[_0x5c42('0xd')]&&this[_0x5c42('0x1')][_0x5c42('0x9')](_0x5c42('0x6'));}[_0x5c42('0x8')](){this[_0x5c42('0xc')]&&this[_0x5c42('0x1')]&&this['confirmView'][_0x5c42('0xc')]&&(this[_0x5c42('0xc')][_0x5c42('0x0')](),this[_0x5c42('0x1')][_0x5c42('0xc')][_0x5c42('0xb')](),this['deregisterChild'](this[_0x5c42('0x1')]),this[_0x5c42('0xd')]=!0x1,this[_0x5c42('0x1')][_0x5c42('0x5')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0xd1af=['ck-thread__remove-confirm-','extendTemplate','div','check','_createButtonView','ck-thread__remove-confirm-actions','fire','submit','Yes','setTemplate','execute','ck-thread__remove-confirm-inner','set','cancel','icon','submitView'];(function(_0x46ec8c,_0xd1afcf){const _0x4c4c1a=function(_0x5dd8a1){while(--_0x5dd8a1){_0x46ec8c['push'](_0x46ec8c['shift']());}};_0x4c4c1a(++_0xd1afcf);}(_0xd1af,0x18e));const _0x4c4c=function(_0x46ec8c,_0xd1afcf){_0x46ec8c=_0x46ec8c-0x0;let _0x4c4c1a=_0xd1af[_0x46ec8c];return _0x4c4c1a;};import{View as _0x11df71,ButtonView as _0x3e04d2}from'ckeditor5/src/ui';import{icons as _0xa533}from'ckeditor5/src/core';import{getTranslation as _0x437a7c}from'./common-translations';export default class h extends _0x11df71{constructor(_0x340339){super(_0x340339);const _0x27778d=this['bindTemplate'];this[_0x4c4c('0x1')]=this[_0x4c4c('0x6')](_0x340339,_0x437a7c(_0x340339,_0x4c4c('0xa')),_0xa533[_0x4c4c('0x5')],_0x4c4c('0x9')),this['cancelView']=this['_createButtonView'](_0x340339,_0x437a7c(_0x340339,'No'),_0xa533['cancel'],_0x4c4c('0xf')),this[_0x4c4c('0xe')]('message',_0x437a7c(_0x340339,'Are\x20you\x20sure?')),this[_0x4c4c('0xb')]({'tag':_0x4c4c('0x4'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x4c4c('0x4'),'attributes':{'class':_0x4c4c('0xd')},'children':[{'tag':'p','children':[{'text':_0x27778d['to']('message')}]},{'tag':_0x4c4c('0x4'),'attributes':{'class':_0x4c4c('0x7')},'children':[this[_0x4c4c('0x1')],this['cancelView']]}]}]});}[_0x4c4c('0x6')](_0x4c89a2,_0x5c3bfc,_0x3cb75c,_0x4a9916){const _0xa04ba0=new _0x3e04d2(_0x4c89a2);return _0xa04ba0['label']=_0x5c3bfc,_0xa04ba0[_0x4c4c('0x0')]=_0x3cb75c,_0xa04ba0[_0x4c4c('0x3')]({'attributes':{'class':_0x4c4c('0x2')+_0x4a9916}}),_0xa04ba0['on'](_0x4c4c('0xc'),()=>this[_0x4c4c('0x8')](_0x4a9916)),_0xa04ba0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));};}
23
+ const _0x14cc=['MM-dd-yyyy\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma','string','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x202dcc,_0x14cc02){const _0xb3faba=function(_0x5c17b1){while(--_0x5c17b1){_0x202dcc['push'](_0x202dcc['shift']());}};_0xb3faba(++_0x14cc02);}(_0x14cc,0xeb));const _0xb3fa=function(_0x202dcc,_0x14cc02){_0x202dcc=_0x202dcc-0x0;let _0xb3faba=_0x14cc[_0x202dcc];return _0xb3faba;};import _0xb6125c from'date-fns/format';import _0x424a9e from'date-fns/parseISO';import _0x3a2604 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x3c83b2}from'ckeditor5/src/utils';export default function E(_0x3607ed={}){if(void 0x0!==_0x3607ed[_0xb3fa('0x1')]&&'function'!=typeof _0x3607ed['dateTimeFormat'])throw new _0x3c83b2('invalid-date-time-format');return _0x3ea35b=>{const _0x2e7151=_0xb3fa('0x3')==typeof _0x3ea35b?_0x424a9e(_0x3ea35b):_0x3ea35b,_0x2cedf1=new Date(),_0x6d899f=_0x3a2604(_0x2cedf1,_0x2e7151);return _0x3607ed[_0xb3fa('0x1')]?_0x3607ed[_0xb3fa('0x1')](_0x2e7151):_0xb6125c(_0x2e7151,0x0===_0x6d899f?_0xb3fa('0x2'):0x1===_0x6d899f?'\x27Yesterday\x27\x20hh:mma':_0x6d899f<0x7?_0xb3fa('0x4'):_0xb3fa('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]));}
23
+ const _0x4534=['view','length','domElement','mapViewToDom','markerNameToElements','name','getClientRects','domConverter','push','map'];(function(_0x272a34,_0x4534d3){const _0x39fcd7=function(_0x1fb57d){while(--_0x1fb57d){_0x272a34['push'](_0x272a34['shift']());}};_0x39fcd7(++_0x4534d3);}(_0x4534,0x108));const _0x39fc=function(_0x272a34,_0x4534d3){_0x272a34=_0x272a34-0x0;let _0x39fcd7=_0x4534[_0x272a34];return _0x39fcd7;};import{first as _0x36d9ed}from'ckeditor5/src/utils';export default function k(_0x51d22a,_0x3686c5){const _0x3c0eb1=_0x51d22a['mapper']['markerNameToElements'](_0x3686c5[_0x39fc('0x1')]);if(!_0x3c0eb1)return null;const _0x458a50=_0x36d9ed(_0x3c0eb1['values']());return _0x51d22a[_0x39fc('0x6')][_0x39fc('0x3')][_0x39fc('0x9')](_0x458a50)||null;}export function getAllMarkersDomElementsSorted(_0x35b9f2,_0x3d5079){if(0x0===_0x3d5079[_0x39fc('0x7')])return null;const _0x51d868=[],_0x5d1d7e=_0x35b9f2[_0x39fc('0x6')][_0x39fc('0x3')];for(const _0x3cd9a2 of _0x3d5079){const _0x1ac29d=_0x35b9f2['mapper'][_0x39fc('0x0')](_0x3cd9a2[_0x39fc('0x1')]);if(!_0x1ac29d)continue;const _0x53f16d=Array['from'](_0x1ac29d)[_0x39fc('0x5')](_0x583fa1=>_0x5d1d7e[_0x39fc('0x9')](_0x583fa1))['filter'](_0x2f7bdf=>!!_0x2f7bdf);_0x51d868[_0x39fc('0x4')](..._0x53f16d);}if(0x0===_0x51d868[_0x39fc('0x7')])return null;const _0x114369=[];for(const _0x1765b5 of _0x51d868){const _0x3ecda0=_0x1765b5[_0x39fc('0x2')]()['item'](0x0);_0x3ecda0&&_0x114369[_0x39fc('0x4')]({'x':_0x3ecda0['x'],'y':_0x3ecda0['y'],'domElement':_0x1765b5});}return 0x0===_0x114369[_0x39fc('0x7')]?null:(_0x114369['sort']((_0xb64f0a,_0xa9b524)=>_0xb64f0a['y']-_0xa9b524['y']||_0xb64f0a['x']-_0xa9b524['x']),_0x114369[_0x39fc('0x5')](_0x3a65aa=>_0x3a65aa[_0x39fc('0x8')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}
23
+ const _0x195d=['boolean','object','keys','sign','string','toString','number','charCodeAt','sort'];(function(_0x322ef9,_0x195d20){const _0x49c862=function(_0x56cc47){while(--_0x56cc47){_0x322ef9['push'](_0x322ef9['shift']());}};_0x49c862(++_0x195d20);}(_0x195d,0x136));const _0x49c8=function(_0x322ef9,_0x195d20){_0x322ef9=_0x322ef9-0x0;let _0x49c862=_0x195d[_0x322ef9];return _0x49c862;};export default function b(_0x524f6c){let _0x3a2a47=0x0,_0x522507=0x0;for(const _0x754750 of g(_0x524f6c))_0x3a2a47=(_0x3a2a47<<0x5)-_0x3a2a47+_0x754750,_0x3a2a47&=_0x3a2a47,[_0x3a2a47,_0x522507]=[_0x522507,_0x3a2a47];return O(_0x3a2a47)+O(_0x522507);}function*j(_0x9e91a){_0x9e91a?_0x49c8('0x5')==typeof _0x9e91a?yield 0x1:Array['isArray'](_0x9e91a)?yield*function*(_0xddb264){for(const _0x23e219 of _0xddb264)yield*j(_0x23e219);}(_0x9e91a):_0x49c8('0x6')==typeof _0x9e91a?yield*g(_0x9e91a):_0x49c8('0x0')==typeof _0x9e91a?yield*A(_0x9e91a):_0x49c8('0x2')==typeof _0x9e91a&&(yield _0x9e91a):yield 0x0;}function*g(_0x9c933e){if(yield M('{'),_0x9c933e){const _0x6d96d3=Object[_0x49c8('0x7')](_0x9c933e)[_0x49c8('0x4')]();for(const _0x443237 of _0x6d96d3){yield*A(_0x443237),yield M(':');const _0x3b4c50=_0x9c933e[_0x443237];yield*j(_0x3b4c50);}}yield M('}');}function*A(_0x336c91){yield M('\x22');for(const _0x2501a6 of _0x336c91)yield M(_0x2501a6);yield M('\x22');}function M(_0x1cb811){return _0x1cb811[_0x49c8('0x3')](0x0);}function O(_0x1258a8){return(_0x1258a8*=Math[_0x49c8('0x8')](_0x1258a8))[_0x49c8('0x1')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0xc209=['plugins','requires','get','pluginName','removePlugins','DocumentOutline','WebSocketGateway','includes','concat','has','map','initialData','find','rootsAttributes','toolbar','WordCount','WProofreader','config','names','builtinPlugins','extraPlugins','length','set','constructor','_context','name','string'];(function(_0x13a34b,_0xc209e7){const _0x491fe=function(_0x566eef){while(--_0x566eef){_0x13a34b['push'](_0x13a34b['shift']());}};_0x491fe(++_0xc209e7);}(_0xc209,0x69));const _0x491f=function(_0x13a34b,_0xc209e7){_0x13a34b=_0x13a34b-0x0;let _0x491fe=_0xc209[_0x13a34b];return _0x491fe;};const w=[_0x491f('0xe'),'context',_0x491f('0x11'),_0x491f('0x10')],W=[_0x491f('0x9'),'RevisionTracker','Autosave',_0x491f('0x12'),_0x491f('0x8'),_0x491f('0x13')];function v(_0x237e8d,_0x752dc5,_0x1bbe74,_0x446644=[]){const _0x33fabe=_0x491f('0x2')==typeof _0x237e8d?_0x1bbe74[_0x491f('0x5')](_0x237e8d)[_0x491f('0x1a')]:_0x237e8d,_0x3dd93b=_0x33fabe[_0x491f('0x6')]||_0x33fabe[_0x491f('0x1')];if(_0x752dc5[_0x491f('0xc')](_0x3dd93b))return _0x752dc5['get'](_0x3dd93b);if(_0x752dc5['set'](_0x3dd93b,!0x0),_0x3dd93b&&W['concat'](_0x446644)[_0x491f('0xa')](_0x3dd93b))return _0x752dc5[_0x491f('0x19')](_0x3dd93b,!0x1),!0x1;if(!_0x33fabe[_0x491f('0x4')])return _0x752dc5[_0x491f('0x19')](_0x3dd93b,!0x0),!0x0;const _0x252b1c=_0x33fabe[_0x491f('0x4')]['every'](_0x3270a5=>v(_0x3270a5,_0x752dc5,_0x1bbe74,_0x446644));return _0x752dc5[_0x491f('0x19')](_0x3dd93b,_0x252b1c),_0x252b1c;}export default function D(_0x5cd6d0,_0x3cc8dc){const _0x4205e1={};for(const _0x2003eb of _0x5cd6d0[_0x491f('0x14')][_0x491f('0x15')]())w[_0x491f('0xa')](_0x2003eb)||(_0x4205e1[_0x2003eb]=_0x5cd6d0['config'][_0x491f('0x5')](_0x2003eb));const _0x5c4c6b=_0x4205e1[_0x491f('0x3')]||[],_0x5b1b5e=_0x5cd6d0[_0x491f('0x1a')][_0x491f('0x16')]||[],_0xf69f37=_0x5c4c6b[_0x491f('0x18')]?_0x5c4c6b:_0x5b1b5e,_0x12cf09=_0x4205e1[_0x491f('0x17')]||[];delete _0x4205e1[_0x491f('0x17')];const _0x1a34b3=_0x4205e1[_0x491f('0x7')]||[];delete _0x4205e1[_0x491f('0x7')];const _0x1156ce=_0x5cd6d0[_0x491f('0x0')]['config'][_0x491f('0x5')]('plugins')||[],_0x447722=_0xf69f37[_0x491f('0xb')](_0x12cf09)['concat'](_0x1156ce)[_0x491f('0xd')](_0x5d0cf2=>_0x491f('0x2')==typeof _0x5d0cf2?_0x5b1b5e[_0x491f('0xf')](_0xcbb637=>_0xcbb637[_0x491f('0x6')]==_0x5d0cf2):_0x5d0cf2)['filter'](_0x4eccb5=>!_0x1a34b3['includes'](_0x4eccb5)),_0x4f4a61=Array['from'](new Set(_0x447722)),_0x52ee07=new Map();return _0x4205e1[_0x491f('0x3')]=_0x4f4a61['filter'](_0x1d665a=>v(_0x1d665a,_0x52ee07,_0x5cd6d0['plugins'],_0x3cc8dc)),_0x4205e1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x3694=['replace','...','slice','length','pop','push','startsWith','match','indexOf','substring','join'];(function(_0x84d1ff,_0x3694a1){const _0x42a4ce=function(_0xe06b45){while(--_0xe06b45){_0x84d1ff['push'](_0x84d1ff['shift']());}};_0x42a4ce(++_0x3694a1);}(_0x3694,0x86));const _0x42a4=function(_0x84d1ff,_0x3694a1){_0x84d1ff=_0x84d1ff-0x0;let _0x42a4ce=_0x3694[_0x84d1ff];return _0x42a4ce;};export default function z(_0x16d3a1,{limit:_0x2b0314,suffix:_0x179387=_0x42a4('0xa')}){const _0x467263=[];let _0x4b65ba=0x0;const _0xbeaab8=_0x16d3a1[_0x42a4('0x9')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x42a4('0x9')](/^\n/g,'')[_0x42a4('0x9')](/\n$/g,'')['split']('\x0a');for(let _0x5f012a=0x0;_0x5f012a<_0xbeaab8['length'];_0x5f012a++){let _0x64be8d=_0xbeaab8[_0x5f012a];const _0x3b5c2e=Z(_0x64be8d);if(_0x64be8d['startsWith']('<')){if(_0x4b65ba>=_0x2b0314){const _0x19a1c4=_0x64be8d[_0x42a4('0x5')](/[a-zA-Z]+/);if(!_0x19a1c4){_0xbeaab8[_0x5f012a]='';continue;}const _0x44c6a3=_0x19a1c4[0x0];_0x64be8d[_0x42a4('0x4')]('</')?(_0x467263[_0x42a4('0x1')]&&(_0x64be8d=''),_0x467263[_0x42a4('0x2')]()):(_0x467263[_0x42a4('0x3')](_0x44c6a3),_0x64be8d='');}}else{if(_0x4b65ba>=_0x2b0314)_0x64be8d='';else{if(_0x4b65ba+_0x3b5c2e[_0x42a4('0x1')]>=_0x2b0314){let _0x82e8d=_0x2b0314-_0x4b65ba;if('\x20'===_0x3b5c2e[_0x82e8d-0x1])_0x82e8d--;else{const _0x20f569=_0x3b5c2e['slice'](_0x82e8d)[_0x42a4('0x6')]('\x20');-0x1!==_0x20f569?_0x82e8d+=_0x20f569:_0x82e8d=_0x64be8d[_0x42a4('0x1')];}_0x64be8d=_0x3b5c2e[_0x42a4('0x0')](0x0,_0x82e8d)[_0x42a4('0x8')]('')+_0x179387,_0x4b65ba=_0x2b0314;}else _0x4b65ba+=_0x3b5c2e[_0x42a4('0x1')];}}_0xbeaab8[_0x5f012a]=_0x64be8d;}return _0xbeaab8[_0x42a4('0x8')]('\x0a')[_0x42a4('0x9')](/\n/g,'');}function Z(_0x562e7e){const _0x3f50b0=[];for(let _0x2eb2c8=0x0;_0x2eb2c8<_0x562e7e[_0x42a4('0x1')];_0x2eb2c8++){const _0x111bdd=_0x562e7e[_0x42a4('0x7')](_0x2eb2c8)[_0x42a4('0x5')](/^&[a-z0-9#]+;/);if(_0x111bdd){const _0x2053c6=_0x111bdd[0x0];_0x3f50b0[_0x42a4('0x3')](_0x2053c6),_0x2eb2c8+=_0x2053c6[_0x42a4('0x1')]-0x1;}else _0x3f50b0[_0x42a4('0x3')](_0x562e7e[_0x2eb2c8]);}return _0x3f50b0;}