@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230811.0 → 0.0.0-nightly-20230812.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-20230811.0",
3
+ "version": "0.0.0-nightly-20230812.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-20230811.0",
34
+ "ckeditor5": "0.0.0-nightly-20230812.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 _0x5984=['document:write','isEnabled','noPermissions','CommentsRepository','has','no-permissions','commands','comment:modify_all','editors','comment:write','includes','Permissions','enableReadOnlyMode','config','CommentsOnly','disableReadOnlyMode','pluginName','clearForceDisabled','get','permissions-set-permissions-invalid-channel-id','find','context','collaboration.channelId','forceDisabled','setPermissions'];(function(_0x5912ad,_0x5984ab){const _0x26645a=function(_0x104cba){while(--_0x104cba){_0x5912ad['push'](_0x5912ad['shift']());}};_0x26645a(++_0x5984ab);}(_0x5984,0x1da));const _0x2664=function(_0x5912ad,_0x5984ab){_0x5912ad=_0x5912ad-0x0;let _0x26645a=_0x5984[_0x5912ad];return _0x26645a;};import{ContextPlugin as _0x54f596,Editor as _0x13dd5e}from'ckeditor5/src/core';import{CKEditorError as _0x1cc3ee}from'ckeditor5/src/utils';export default class n extends _0x54f596{static get[_0x2664('0x11')](){return _0x2664('0xc');}[_0x2664('0x0')](_0x41a4e6,_0x5b86e5){let _0x56cf49;if(_0x5b86e5||(_0x5b86e5=this[_0x2664('0x16')][_0x2664('0xe')]['get'](_0x2664('0x17'))),this[_0x2664('0x16')]['config'][_0x2664('0x13')]('collaboration.channelId')==_0x5b86e5?_0x56cf49=this[_0x2664('0x16')]:_0x2664('0x9')in this[_0x2664('0x16')]&&this[_0x2664('0x16')]['editors']&&(_0x56cf49=this['context'][_0x2664('0x9')][_0x2664('0x15')](_0x3dbf5f=>_0x3dbf5f[_0x2664('0xe')]['get'](_0x2664('0x17'))==_0x5b86e5)),!_0x56cf49)throw new _0x1cc3ee(_0x2664('0x14'),null);const _0x4d6c93=_0x56cf49['plugins'],_0x13f921=_0x4d6c93[_0x2664('0x5')](_0x2664('0x4'))?_0x4d6c93[_0x2664('0x13')](_0x2664('0x4')):void 0x0,_0x3db0f0=_0x4d6c93[_0x2664('0x5')](_0x2664('0xf'))&&_0x4d6c93[_0x2664('0x13')](_0x2664('0xf')),_0x1a98c0=_0x41a4e6[_0x2664('0xb')](_0x2664('0x1')),_0xebdd5b=_0x41a4e6[_0x2664('0xb')](_0x2664('0x8')),_0x4743fe=_0x41a4e6[_0x2664('0xb')]('comment:admin'),_0x22a2b4=_0x41a4e6['includes'](_0x2664('0xa')),_0x520d33=_0x22a2b4||_0x4743fe,_0x25baff=_0x520d33||_0xebdd5b,_0x356c1e=_0x1a98c0||_0x520d33;(_0x3db0f0&&(_0x3db0f0[_0x2664('0x2')]=!_0x1a98c0&&_0x25baff),_0x56cf49 instanceof _0x13dd5e)&&(!(_0x1a98c0||_0x25baff&&_0x13f921)?_0x56cf49[_0x2664('0xd')]('no-permissions'):_0x56cf49[_0x2664('0x10')](_0x2664('0x6')));if(_0x13f921){_0x13f921[_0x2664('0x0')]({'admin':_0x4743fe,'modifyAll':_0xebdd5b,'write':_0x22a2b4,'resolve':_0x356c1e},_0x5b86e5);const _0x4033f5=_0x56cf49 instanceof _0x13dd5e&&_0x56cf49[_0x2664('0x7')][_0x2664('0x13')]('addCommentThread');_0x4033f5&&(_0x520d33?_0x4033f5[_0x2664('0x12')](_0x2664('0x3')):_0x4033f5[_0x2664('0x18')](_0x2664('0x3')));}}}
23
+ const _0x398b=['pluginName','setPermissions','disableReadOnlyMode','CommentsOnly','addCommentThread','plugins','has','forceDisabled','context','comment:admin','Permissions','editors','noPermissions','comment:write','permissions-set-permissions-invalid-channel-id','document:write','get','no-permissions','find','comment:modify_all','config','collaboration.channelId','includes','isEnabled'];(function(_0xb1ae88,_0x398b85){const _0x564673=function(_0x5252a4){while(--_0x5252a4){_0xb1ae88['push'](_0xb1ae88['shift']());}};_0x564673(++_0x398b85);}(_0x398b,0x92));const _0x5646=function(_0xb1ae88,_0x398b85){_0xb1ae88=_0xb1ae88-0x0;let _0x564673=_0x398b[_0xb1ae88];return _0x564673;};import{ContextPlugin as _0x27d33d,Editor as _0x54703c}from'ckeditor5/src/core';import{CKEditorError as _0x3bd3db}from'ckeditor5/src/utils';export default class n extends _0x27d33d{static get[_0x5646('0x16')](){return _0x5646('0x8');}[_0x5646('0x17')](_0x494c72,_0x39f154){let _0x3b72ce;if(_0x39f154||(_0x39f154=this[_0x5646('0x6')][_0x5646('0x12')][_0x5646('0xe')](_0x5646('0x13'))),this[_0x5646('0x6')][_0x5646('0x12')][_0x5646('0xe')](_0x5646('0x13'))==_0x39f154?_0x3b72ce=this[_0x5646('0x6')]:_0x5646('0x9')in this[_0x5646('0x6')]&&this['context'][_0x5646('0x9')]&&(_0x3b72ce=this['context'][_0x5646('0x9')][_0x5646('0x10')](_0x279c40=>_0x279c40[_0x5646('0x12')][_0x5646('0xe')]('collaboration.channelId')==_0x39f154)),!_0x3b72ce)throw new _0x3bd3db(_0x5646('0xc'),null);const _0x4e70f9=_0x3b72ce[_0x5646('0x3')],_0xccec1b=_0x4e70f9['has']('CommentsRepository')?_0x4e70f9[_0x5646('0xe')]('CommentsRepository'):void 0x0,_0x533810=_0x4e70f9[_0x5646('0x4')](_0x5646('0x1'))&&_0x4e70f9[_0x5646('0xe')](_0x5646('0x1')),_0x30574b=_0x494c72[_0x5646('0x14')](_0x5646('0xd')),_0x23967c=_0x494c72['includes'](_0x5646('0x11')),_0x1b924e=_0x494c72['includes'](_0x5646('0x7')),_0x4ca9f8=_0x494c72['includes'](_0x5646('0xb')),_0x452bf7=_0x4ca9f8||_0x1b924e,_0x13e21a=_0x452bf7||_0x23967c,_0x1c8b1d=_0x30574b||_0x452bf7;(_0x533810&&(_0x533810[_0x5646('0x15')]=!_0x30574b&&_0x13e21a),_0x3b72ce instanceof _0x54703c)&&(!(_0x30574b||_0x13e21a&&_0xccec1b)?_0x3b72ce['enableReadOnlyMode'](_0x5646('0xf')):_0x3b72ce[_0x5646('0x0')](_0x5646('0xf')));if(_0xccec1b){_0xccec1b[_0x5646('0x17')]({'admin':_0x1b924e,'modifyAll':_0x23967c,'write':_0x4ca9f8,'resolve':_0x1c8b1d},_0x39f154);const _0x1f73a1=_0x3b72ce instanceof _0x54703c&&_0x3b72ce['commands'][_0x5646('0xe')](_0x5646('0x2'));_0x1f73a1&&(_0x452bf7?_0x1f73a1['clearForceDisabled'](_0x5646('0xa')):_0x1f73a1[_0x5646('0x5')](_0x5646('0xa')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2520=['ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__notification','ck\x20ck-user__name','initials','notificationView','ck-user__icon','setTemplate','url(\x27','div','name','push','ck-user__anonymous','isAnonymous','ck-user__avatar','avatar','extendTemplate'];(function(_0x6ff108,_0x25202a){const _0x1a0b67=function(_0x5520f6){while(--_0x5520f6){_0x6ff108['push'](_0x6ff108['shift']());}};_0x1a0b67(++_0x25202a);}(_0x2520,0x81));const _0x1a0b=function(_0x6ff108,_0x25202a){_0x6ff108=_0x6ff108-0x0;let _0x1a0b67=_0x2520[_0x6ff108];return _0x1a0b67;};import{View as _0x137ec6,IconView as _0x4e5c69}from'ckeditor5/src/ui';import _0x21fa73 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x137ec6{constructor(_0x26a3ae,_0x50fc64,_0x14e6df){super(_0x26a3ae),this['name']=_0x50fc64[_0x1a0b('0x0')],this[_0x1a0b('0xc')]=null;const _0x36e7d0=['ck','ck-user__img'];if(_0x50fc64[_0x1a0b('0x3')]&&_0x36e7d0['push'](_0x1a0b('0x2')),_0x50fc64['avatar']&&_0x36e7d0[_0x1a0b('0x1')](_0x1a0b('0x4')),_0x14e6df){const _0x3c0bc7=new _0x4e5c69();_0x3c0bc7[_0x1a0b('0x6')]({'attributes':{'class':[_0x1a0b('0xd')]}}),_0x3c0bc7['content']=_0x21fa73,this['notificationView']={'tag':_0x1a0b('0x10'),'attributes':{'class':['ck',_0x1a0b('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x14e6df},'children':[_0x3c0bc7]};}const _0x11a978=[{'tag':_0x1a0b('0x10'),'attributes':{'class':_0x36e7d0,'style':{'background-image':_0x50fc64[_0x1a0b('0x5')]?_0x1a0b('0xf')+_0x50fc64['avatar']+'\x27)':''}}},{'tag':_0x1a0b('0x10'),'attributes':{'class':_0x50fc64[_0x1a0b('0x5')]?_0x1a0b('0x8'):_0x1a0b('0xa')},'children':[{'text':_0x50fc64[_0x1a0b('0xb')]}]}];this['notificationView']&&_0x11a978[_0x1a0b('0x1')](this[_0x1a0b('0xc')]),this[_0x1a0b('0xe')]({'tag':_0x1a0b('0x10'),'attributes':{'class':['ck',_0x1a0b('0x7')],'data-user-id':_0x50fc64['id']},'children':_0x11a978});}}
23
+ const _0x5a94=['ck-user__img','notificationView','initials','div','url(\x27','isAnonymous','ck-user__notification','avatar','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','content','name','push','ck-user','extendTemplate'];(function(_0x309fdc,_0x5a94a8){const _0x3513bb=function(_0x5a2b9b){while(--_0x5a2b9b){_0x309fdc['push'](_0x309fdc['shift']());}};_0x3513bb(++_0x5a94a8);}(_0x5a94,0x130));const _0x3513=function(_0x309fdc,_0x5a94a8){_0x309fdc=_0x309fdc-0x0;let _0x3513bb=_0x5a94[_0x309fdc];return _0x3513bb;};import{View as _0x2e0109,IconView as _0x431d4d}from'ckeditor5/src/ui';import _0xfc50c2 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x2e0109{constructor(_0x421344,_0x1fff2a,_0x3349cc){super(_0x421344),this[_0x3513('0x7')]=_0x1fff2a[_0x3513('0x7')],this[_0x3513('0xc')]=null;const _0x1af0b1=['ck',_0x3513('0xb')];if(_0x1fff2a[_0x3513('0x1')]&&_0x1af0b1[_0x3513('0x8')]('ck-user__anonymous'),_0x1fff2a[_0x3513('0x3')]&&_0x1af0b1['push']('ck-user__avatar'),_0x3349cc){const _0x2c343c=new _0x431d4d();_0x2c343c[_0x3513('0xa')]({'attributes':{'class':['ck-user__icon']}}),_0x2c343c[_0x3513('0x6')]=_0xfc50c2,this[_0x3513('0xc')]={'tag':_0x3513('0xe'),'attributes':{'class':['ck',_0x3513('0x2')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3349cc},'children':[_0x2c343c]};}const _0x5467fe=[{'tag':_0x3513('0xe'),'attributes':{'class':_0x1af0b1,'style':{'background-image':_0x1fff2a[_0x3513('0x3')]?_0x3513('0x0')+_0x1fff2a['avatar']+'\x27)':''}}},{'tag':_0x3513('0xe'),'attributes':{'class':_0x1fff2a[_0x3513('0x3')]?_0x3513('0x4'):'ck\x20ck-user__name'},'children':[{'text':_0x1fff2a[_0x3513('0xd')]}]}];this[_0x3513('0xc')]&&_0x5467fe[_0x3513('0x8')](this[_0x3513('0xc')]),this[_0x3513('0x5')]({'tag':_0x3513('0xe'),'attributes':{'class':['ck',_0x3513('0x9')],'data-user-id':_0x1fff2a['id']},'children':_0x5467fe});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x279c=['You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','pluginName','licenseKeyInvalid','trial-license-key-reached-limit-time','users-add-invalid-id','config','locale','split','trim','_getNextColor','users-me-already-defined','getSelectionClass','anonymous-user','color','_addAnonymousUser','users-add-duplicated-id','getBackgroundColorClass','users','_licenseKeyCheckInterval','licenseKeyTrialLimit:operations','has','decorate','length','licenseKeyTrialLimit:revisions','_isAnonymous','trial-license-key-reached-limit-revisions','isAnonymous','licenseKeyValid','_myId','string','trial-license-key-reached-limit-changes','toUpperCase','defineMe','licenseKeyTrial','_locale','avatar','requires','ck-user__marker--','getOperationAuthor','_id','users.anonymousUserId','ck-user__selection--','_lastColor','name','licenseKeyTrialLimit:time','licenseKey','invalid-license-key','get','_getInitial','destroy','add','info','addUser','Anonymous','includes','getUser','context','initials','init','ck-user__bg-color--'];(function(_0x278a28,_0x279c95){const _0x30537d=function(_0x2687d1){while(--_0x2687d1){_0x278a28['push'](_0x278a28['shift']());}};_0x30537d(++_0x279c95);}(_0x279c,0x10a));const _0x3053=function(_0x278a28,_0x279c95){_0x278a28=_0x278a28-0x0;let _0x30537d=_0x279c[_0x278a28];return _0x30537d;};import{ContextPlugin as _0x5c8df7}from'ckeditor5/src/core';import{Collection as _0x5a3e88,CKEditorError as _0x5ebe8f}from'ckeditor5/src/utils';import _0x321467 from'./permissions';import{getTranslation as _0x31c6b9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5c8df7{static get[_0x3053('0x23')](){return'Users';}static get[_0x3053('0xa')](){return[_0x321467];}constructor(_0x566429){super(_0x566429),this[_0x3053('0x1e')]['config']['define']('users.anonymousUserId',_0x3053('0x2e')),this[_0x3053('0x1e')]['config']['define']('users.colorsCount',0x8),this[_0x3053('0x33')]=new _0x5a3e88(),this[_0x3053('0x8')]=_0x566429[_0x3053('0x28')],this[_0x3053('0x34')]=null,this[_0x3053('0x10')]=0x0,this['_myId']=null,this[_0x3053('0x37')](_0x3053('0xc'));}[_0x3053('0x20')](){const _0x15f59f=this[_0x3053('0x1e')];this['licenseKey']=_0x15f59f['config'][_0x3053('0x15')](_0x3053('0x13'));const _0x1746f8=[_0x3053('0x7'),_0x3053('0x24'),_0x3053('0x1'),_0x3053('0x35'),_0x3053('0x12'),_0x3053('0x39')];this[_0x3053('0x34')]=setInterval(()=>{let _0x43fdc2;for(const _0x31e589 in _0x15f59f){const _0x221535=_0x15f59f[_0x31e589];if(_0x1746f8[_0x3053('0x1c')](_0x221535)){delete _0x15f59f[_0x31e589],_0x43fdc2=_0x221535;break;}}if(_0x3053('0x24')===_0x43fdc2)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ebe8f(_0x3053('0x14'),null);if('licenseKeyTrial'===_0x43fdc2&&console[_0x3053('0x19')](_0x3053('0x22')),'licenseKeyTrialLimit:operations'===_0x43fdc2)throw clearInterval(this[_0x3053('0x34')]),new _0x5ebe8f(_0x3053('0x4'),null);if('licenseKeyTrialLimit:time'===_0x43fdc2)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ebe8f(_0x3053('0x25'),null);if(_0x3053('0x39')===_0x43fdc2)throw clearInterval(this[_0x3053('0x34')]),new _0x5ebe8f(_0x3053('0x3b'),null);_0x3053('0x1')===_0x43fdc2&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x3053('0x30')]();}get['me'](){return null==this[_0x3053('0x2')]?null:this[_0x3053('0x1d')](this[_0x3053('0x2')]);}[_0x3053('0x1a')]({id:_0x2026cf,name:_0x249454,..._0x26b8bd}){if(!_0x2026cf||_0x3053('0x3')!=typeof _0x2026cf)throw new _0x5ebe8f(_0x3053('0x26'));if(this['users'][_0x3053('0x36')](_0x2026cf))throw new _0x5ebe8f(_0x3053('0x31'),null,{'id':_0x2026cf});const _0x1881c6={..._0x26b8bd,'id':_0x2026cf,'name':a(this[_0x3053('0x8')],_0x249454),'color':this['_getNextColor']()};_0x1881c6[_0x3053('0x11')]=a(this[_0x3053('0x8')],_0x1881c6['name']);const _0x51c33b=new User(_0x1881c6);return this[_0x3053('0x33')][_0x3053('0x18')](_0x51c33b),_0x51c33b;}[_0x3053('0x1d')](_0xe55704){return this['users'][_0x3053('0x15')](_0xe55704);}['useAnonymousUser'](){const _0x54f1a8=this['context'][_0x3053('0x27')][_0x3053('0x15')]('users.anonymousUserId');this[_0x3053('0x2')]||this['defineMe'](_0x54f1a8);}[_0x3053('0x6')](_0x182d69){if(this[_0x3053('0x2')])throw new _0x5ebe8f(_0x3053('0x2c'),null);if(!this[_0x3053('0x1d')](_0x182d69))throw new _0x5ebe8f('users-me-missing-user',null);this[_0x3053('0x2')]=_0x182d69;}[_0x3053('0xc')](){return this['me'];}[_0x3053('0x17')](){super['destroy'](),clearInterval(this[_0x3053('0x34')]);}[_0x3053('0x2b')](){const _0xcf5907=this[_0x3053('0x1e')][_0x3053('0x27')]['get']('users.colorsCount');return this['_lastColor']>=_0xcf5907&&(this[_0x3053('0x10')]=0x0),new u(this[_0x3053('0x10')]++);}[_0x3053('0x30')](){const _0x3513d=this[_0x3053('0x1e')][_0x3053('0x27')][_0x3053('0x15')](_0x3053('0xe'));this[_0x3053('0x1a')]({'id':_0x3513d,'name':_0x31c6b9(this[_0x3053('0x8')],_0x3053('0x1b'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0xf8073c){this['id']=_0xf8073c['id'],this[_0x3053('0x2f')]=_0xf8073c[_0x3053('0x2f')],this[_0x3053('0x11')]=_0xf8073c[_0x3053('0x11')],this[_0x3053('0x9')]=_0xf8073c[_0x3053('0x9')],this[_0x3053('0x3a')]=!0x1;}get[_0x3053('0x0')](){return this[_0x3053('0x3a')];}get[_0x3053('0x1f')](){const _0x1a4cb8=this[_0x3053('0x11')][_0x3053('0x29')]('\x20');return 0x1===_0x1a4cb8[_0x3053('0x38')]?this[_0x3053('0x16')](_0x1a4cb8[0x0]):this[_0x3053('0x16')](_0x1a4cb8[0x0])+this[_0x3053('0x16')](_0x1a4cb8[_0x1a4cb8[_0x3053('0x38')]-0x1]);}[_0x3053('0x16')](_0x5438cd){return _0x5438cd['charAt'](0x0)[_0x3053('0x5')]();}}function a(_0x32b75d,_0x2dcc1d=''){return''==(_0x2dcc1d=_0x2dcc1d[_0x3053('0x2a')]())?_0x31c6b9(_0x32b75d,_0x3053('0x1b')):_0x2dcc1d;}class u{constructor(_0x26b382){this['_id']=_0x26b382;}[_0x3053('0x32')](){return _0x3053('0x21')+this['_id'];}[_0x3053('0x2d')](){return _0x3053('0xf')+this['_id'];}['getMarkerClass'](){return _0x3053('0xb')+this[_0x3053('0xd')];}}
23
+ const _0x341d=['trial-license-key-reached-limit-revisions','licenseKeyTrialLimit:revisions','color','defineMe','split','string','licenseKey','_licenseKeyCheckInterval','_id','_locale','name','ck-user__selection--','Anonymous','info','context','licenseKeyTrial','getMarkerClass','toUpperCase','licenseKeyTrialLimit:time','licenseKeyValid','_getInitial','_myId','charAt','locale','length','getUser','pluginName','Users','destroy','users','avatar','trim','_addAnonymousUser','getOperationAuthor','licenseKeyTrialLimit:operations','_isAnonymous','get','useAnonymousUser','define','users.anonymousUserId','users-me-already-defined','licenseKeyInvalid','ck-user__bg-color--','requires','users-add-invalid-id','decorate','addUser','users.colorsCount','users-me-missing-user','ck-user__marker--','_getNextColor','add','users-add-duplicated-id','getBackgroundColorClass','trial-license-key-reached-limit-changes','anonymous-user','config','has','getSelectionClass','_lastColor','initials'];(function(_0x1b0946,_0x341d2e){const _0x4cfacc=function(_0x3371a){while(--_0x3371a){_0x1b0946['push'](_0x1b0946['shift']());}};_0x4cfacc(++_0x341d2e);}(_0x341d,0xd5));const _0x4cfa=function(_0x1b0946,_0x341d2e){_0x1b0946=_0x1b0946-0x0;let _0x4cfacc=_0x341d[_0x1b0946];return _0x4cfacc;};import{ContextPlugin as _0x3f775c}from'ckeditor5/src/core';import{Collection as _0x25db4a,CKEditorError as _0xbf8825}from'ckeditor5/src/utils';import _0x281f5a from'./permissions';import{getTranslation as _0x4ec609}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3f775c{static get[_0x4cfa('0x39')](){return _0x4cfa('0x3a');}static get[_0x4cfa('0xd')](){return[_0x281f5a];}constructor(_0x35aa19){super(_0x35aa19),this['context'][_0x4cfa('0x1a')][_0x4cfa('0x8')](_0x4cfa('0x9'),_0x4cfa('0x19')),this[_0x4cfa('0x2d')][_0x4cfa('0x1a')][_0x4cfa('0x8')](_0x4cfa('0x11'),0x8),this['users']=new _0x25db4a(),this[_0x4cfa('0x28')]=_0x35aa19[_0x4cfa('0x36')],this[_0x4cfa('0x26')]=null,this['_lastColor']=0x0,this[_0x4cfa('0x34')]=null,this[_0x4cfa('0xf')]('getOperationAuthor');}['init'](){const _0x5097f0=this['context'];this[_0x4cfa('0x25')]=_0x5097f0['config'][_0x4cfa('0x6')](_0x4cfa('0x25'));const _0x591019=[_0x4cfa('0x2e'),_0x4cfa('0xb'),_0x4cfa('0x32'),_0x4cfa('0x4'),_0x4cfa('0x31'),_0x4cfa('0x20')];this[_0x4cfa('0x26')]=setInterval(()=>{let _0xe9bddc;for(const _0x34f807 in _0x5097f0){const _0x519c45=_0x5097f0[_0x34f807];if(_0x591019['includes'](_0x519c45)){delete _0x5097f0[_0x34f807],_0xe9bddc=_0x519c45;break;}}if(_0x4cfa('0xb')===_0xe9bddc)throw clearInterval(this[_0x4cfa('0x26')]),new _0xbf8825('invalid-license-key',null);if(_0x4cfa('0x2e')===_0xe9bddc&&console[_0x4cfa('0x2c')]('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.'),_0x4cfa('0x4')===_0xe9bddc)throw clearInterval(this[_0x4cfa('0x26')]),new _0xbf8825(_0x4cfa('0x18'),null);if(_0x4cfa('0x31')===_0xe9bddc)throw clearInterval(this[_0x4cfa('0x26')]),new _0xbf8825('trial-license-key-reached-limit-time',null);if(_0x4cfa('0x20')===_0xe9bddc)throw clearInterval(this[_0x4cfa('0x26')]),new _0xbf8825(_0x4cfa('0x1f'),null);'licenseKeyValid'===_0xe9bddc&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x4cfa('0x2')]();}get['me'](){return null==this['_myId']?null:this[_0x4cfa('0x38')](this['_myId']);}['addUser']({id:_0x23ef90,name:_0x1a41a5,..._0x47b6be}){if(!_0x23ef90||_0x4cfa('0x24')!=typeof _0x23ef90)throw new _0xbf8825(_0x4cfa('0xe'));if(this[_0x4cfa('0x3c')][_0x4cfa('0x1b')](_0x23ef90))throw new _0xbf8825(_0x4cfa('0x16'),null,{'id':_0x23ef90});const _0x3d16c3={..._0x47b6be,'id':_0x23ef90,'name':a(this[_0x4cfa('0x28')],_0x1a41a5),'color':this[_0x4cfa('0x14')]()};_0x3d16c3[_0x4cfa('0x29')]=a(this[_0x4cfa('0x28')],_0x3d16c3[_0x4cfa('0x29')]);const _0x15d51d=new User(_0x3d16c3);return this[_0x4cfa('0x3c')][_0x4cfa('0x15')](_0x15d51d),_0x15d51d;}['getUser'](_0x17c005){return this[_0x4cfa('0x3c')][_0x4cfa('0x6')](_0x17c005);}[_0x4cfa('0x7')](){const _0xaac538=this[_0x4cfa('0x2d')][_0x4cfa('0x1a')][_0x4cfa('0x6')](_0x4cfa('0x9'));this['_myId']||this[_0x4cfa('0x22')](_0xaac538);}['defineMe'](_0x32e5cf){if(this[_0x4cfa('0x34')])throw new _0xbf8825(_0x4cfa('0xa'),null);if(!this[_0x4cfa('0x38')](_0x32e5cf))throw new _0xbf8825(_0x4cfa('0x12'),null);this[_0x4cfa('0x34')]=_0x32e5cf;}[_0x4cfa('0x3')](){return this['me'];}[_0x4cfa('0x3b')](){super['destroy'](),clearInterval(this[_0x4cfa('0x26')]);}['_getNextColor'](){const _0x4ba6eb=this[_0x4cfa('0x2d')][_0x4cfa('0x1a')][_0x4cfa('0x6')](_0x4cfa('0x11'));return this[_0x4cfa('0x1d')]>=_0x4ba6eb&&(this['_lastColor']=0x0),new u(this[_0x4cfa('0x1d')]++);}[_0x4cfa('0x2')](){const _0x439ed7=this[_0x4cfa('0x2d')][_0x4cfa('0x1a')][_0x4cfa('0x6')](_0x4cfa('0x9'));this[_0x4cfa('0x10')]({'id':_0x439ed7,'name':_0x4ec609(this[_0x4cfa('0x28')],_0x4cfa('0x2b'))})[_0x4cfa('0x5')]=!0x0;}}export class User{constructor(_0xd21b25){this['id']=_0xd21b25['id'],this[_0x4cfa('0x21')]=_0xd21b25[_0x4cfa('0x21')],this['name']=_0xd21b25['name'],this[_0x4cfa('0x0')]=_0xd21b25[_0x4cfa('0x0')],this['_isAnonymous']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get[_0x4cfa('0x1e')](){const _0x3db3f3=this['name'][_0x4cfa('0x23')]('\x20');return 0x1===_0x3db3f3[_0x4cfa('0x37')]?this[_0x4cfa('0x33')](_0x3db3f3[0x0]):this[_0x4cfa('0x33')](_0x3db3f3[0x0])+this['_getInitial'](_0x3db3f3[_0x3db3f3[_0x4cfa('0x37')]-0x1]);}['_getInitial'](_0xb3aa47){return _0xb3aa47[_0x4cfa('0x35')](0x0)[_0x4cfa('0x30')]();}}function a(_0x498860,_0x78d3af=''){return''==(_0x78d3af=_0x78d3af[_0x4cfa('0x1')]())?_0x4ec609(_0x498860,_0x4cfa('0x2b')):_0x78d3af;}class u{constructor(_0x49d79a){this[_0x4cfa('0x27')]=_0x49d79a;}[_0x4cfa('0x17')](){return _0x4cfa('0xc')+this['_id'];}[_0x4cfa('0x1c')](){return _0x4cfa('0x2a')+this['_id'];}[_0x4cfa('0x2f')](){return _0x4cfa('0x13')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x350c58,_0x20e5bb){const t=_0x350c58['t'];switch(_0x20e5bb){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x51c90a,_0x5634fb){const t=_0x51c90a['t'];switch(_0x5634fb){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 _0x412c=['_removeConfirm','cancelConfirm','confirmView','appendChild','cancel','fire','element','showConfirm','set','isConfirm','once','render','remove','deregisterChild','focus','submit','destroy'];(function(_0x23c097,_0x412c4b){var _0x1eb556=function(_0x552b3d){while(--_0x552b3d){_0x23c097['push'](_0x23c097['shift']());}};_0x1eb556(++_0x412c4b);}(_0x412c,0xfa));var _0x1eb5=function(_0x23c097,_0x412c4b){_0x23c097=_0x23c097-0x0;var _0x1eb556=_0x412c[_0x23c097];return _0x1eb556;};import _0x419ff4 from'./confirmview';export default function m(_0x23c3f9){return class extends _0x23c3f9{[_0x1eb5('0xc')](_0x5776ae,_0x378be7){return this['confirmView']=new _0x419ff4(this['locale']),this[_0x1eb5('0x7')][_0x1eb5('0x10')](),this['confirmView']['message']=_0x5776ae,this[_0x1eb5('0x7')][_0x1eb5('0xf')](_0x1eb5('0x9'),()=>{this[_0x1eb5('0x5')]();}),this['confirmView'][_0x1eb5('0xf')](_0x1eb5('0x3'),()=>{this['_removeConfirm']();}),_0x378be7[_0x1eb5('0x8')](this[_0x1eb5('0x7')]['element']),this['registerChild'](this[_0x1eb5('0x7')]),this[_0x1eb5('0xb')][_0x1eb5('0x2')](),this[_0x1eb5('0xd')](_0x1eb5('0xe'),!0x0),new Promise(_0x3a500f=>this[_0x1eb5('0x7')]['on']('submit',_0x3a500f));}[_0x1eb5('0x6')](){this[_0x1eb5('0xe')]&&this[_0x1eb5('0x7')][_0x1eb5('0xa')](_0x1eb5('0x9'));}[_0x1eb5('0x5')](){this[_0x1eb5('0xb')]&&this[_0x1eb5('0x7')]&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView'][_0x1eb5('0xb')][_0x1eb5('0x0')](),this[_0x1eb5('0x1')](this['confirmView']),this[_0x1eb5('0xe')]=!0x1,this['confirmView'][_0x1eb5('0x4')](),this[_0x1eb5('0x7')]=void 0x0);}};}
23
+ var _0x4cb8=['set','focus','confirmView','element','fire','_removeConfirm','isConfirm','once','cancel','submit','registerChild','destroy','render','remove','message'];(function(_0x268c89,_0x4cb8ac){var _0xcb884f=function(_0x560d02){while(--_0x560d02){_0x268c89['push'](_0x268c89['shift']());}};_0xcb884f(++_0x4cb8ac);}(_0x4cb8,0x106));var _0xcb88=function(_0x268c89,_0x4cb8ac){_0x268c89=_0x268c89-0x0;var _0xcb884f=_0x4cb8[_0x268c89];return _0xcb884f;};import _0x2370de from'./confirmview';export default function m(_0x49ffdf){return class extends _0x49ffdf{['showConfirm'](_0x2e707d,_0x310dcf){return this['confirmView']=new _0x2370de(this['locale']),this[_0xcb88('0xa')][_0xcb88('0x5')](),this[_0xcb88('0xa')][_0xcb88('0x7')]=_0x2e707d,this[_0xcb88('0xa')]['once']('cancel',()=>{this[_0xcb88('0xd')]();}),this['confirmView'][_0xcb88('0x0')](_0xcb88('0x2'),()=>{this['_removeConfirm']();}),_0x310dcf['appendChild'](this[_0xcb88('0xa')]['element']),this[_0xcb88('0x3')](this[_0xcb88('0xa')]),this[_0xcb88('0xb')][_0xcb88('0x9')](),this[_0xcb88('0x8')](_0xcb88('0xe'),!0x0),new Promise(_0x591685=>this[_0xcb88('0xa')]['on']('submit',_0x591685));}['cancelConfirm'](){this[_0xcb88('0xe')]&&this['confirmView'][_0xcb88('0xc')](_0xcb88('0x1'));}[_0xcb88('0xd')](){this['element']&&this[_0xcb88('0xa')]&&this[_0xcb88('0xa')][_0xcb88('0xb')]&&(this[_0xcb88('0xb')]['focus'](),this['confirmView'][_0xcb88('0xb')][_0xcb88('0x6')](),this['deregisterChild'](this[_0xcb88('0xa')]),this[_0xcb88('0xe')]=!0x1,this['confirmView'][_0xcb88('0x4')](),this[_0xcb88('0xa')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e58=['submitView','Yes','check','message','cancel','ck-thread__remove-confirm','_createButtonView','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','extendTemplate','icon','setTemplate','ck-thread__remove-confirm-actions','bindTemplate','cancelView','set','div','ck-thread__remove-confirm-','execute','label','fire','submit'];(function(_0x11f828,_0x1e5879){const _0x3c0d7e=function(_0x5d6dac){while(--_0x5d6dac){_0x11f828['push'](_0x11f828['shift']());}};_0x3c0d7e(++_0x1e5879);}(_0x1e58,0xaf));const _0x3c0d=function(_0x11f828,_0x1e5879){_0x11f828=_0x11f828-0x0;let _0x3c0d7e=_0x1e58[_0x11f828];return _0x3c0d7e;};import{View as _0xe389cc,ButtonView as _0xe4d18f}from'ckeditor5/src/ui';import{icons as _0x2ae899}from'ckeditor5/src/core';import{getTranslation as _0x56e9b4}from'./common-translations';export default class h extends _0xe389cc{constructor(_0x6a7f72){super(_0x6a7f72);const _0x2be5e8=this[_0x3c0d('0xe')];this[_0x3c0d('0x1')]=this[_0x3c0d('0x7')](_0x6a7f72,_0x56e9b4(_0x6a7f72,_0x3c0d('0x2')),_0x2ae899[_0x3c0d('0x3')],_0x3c0d('0x0')),this[_0x3c0d('0xf')]=this[_0x3c0d('0x7')](_0x6a7f72,_0x56e9b4(_0x6a7f72,'No'),_0x2ae899[_0x3c0d('0x5')],_0x3c0d('0x5')),this[_0x3c0d('0x10')](_0x3c0d('0x4'),_0x56e9b4(_0x6a7f72,_0x3c0d('0x9'))),this[_0x3c0d('0xc')]({'tag':_0x3c0d('0x11'),'attributes':{'class':[_0x3c0d('0x6')]},'children':[{'tag':_0x3c0d('0x11'),'attributes':{'class':_0x3c0d('0x8')},'children':[{'tag':'p','children':[{'text':_0x2be5e8['to'](_0x3c0d('0x4'))}]},{'tag':_0x3c0d('0x11'),'attributes':{'class':_0x3c0d('0xd')},'children':[this[_0x3c0d('0x1')],this[_0x3c0d('0xf')]]}]}]});}['_createButtonView'](_0xbfb9b6,_0x43f85c,_0x17ef7a,_0x2d8735){const _0xcadd88=new _0xe4d18f(_0xbfb9b6);return _0xcadd88[_0x3c0d('0x14')]=_0x43f85c,_0xcadd88[_0x3c0d('0xb')]=_0x17ef7a,_0xcadd88[_0x3c0d('0xa')]({'attributes':{'class':_0x3c0d('0x12')+_0x2d8735}}),_0xcadd88['on'](_0x3c0d('0x13'),()=>this[_0x3c0d('0x15')](_0x2d8735)),_0xcadd88;}}
23
+ const _0xe091=['message','cancelView','icon','extendTemplate','bindTemplate','ck-thread__remove-confirm-actions','setTemplate','submit','Are\x20you\x20sure?','Yes','set','cancel','submitView','ck-thread__remove-confirm','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-','label','div','fire','_createButtonView'];(function(_0x367297,_0xe091a9){const _0x2c838d=function(_0x47a875){while(--_0x47a875){_0x367297['push'](_0x367297['shift']());}};_0x2c838d(++_0xe091a9);}(_0xe091,0x148));const _0x2c83=function(_0x367297,_0xe091a9){_0x367297=_0x367297-0x0;let _0x2c838d=_0xe091[_0x367297];return _0x2c838d;};import{View as _0x3a80b5,ButtonView as _0x5c1546}from'ckeditor5/src/ui';import{icons as _0x2415a1}from'ckeditor5/src/core';import{getTranslation as _0x3b10c6}from'./common-translations';export default class h extends _0x3a80b5{constructor(_0x136d1e){super(_0x136d1e);const _0x1abb01=this[_0x2c83('0x10')];this['submitView']=this[_0x2c83('0xb')](_0x136d1e,_0x3b10c6(_0x136d1e,_0x2c83('0x1')),_0x2415a1['check'],_0x2c83('0x13')),this[_0x2c83('0xd')]=this['_createButtonView'](_0x136d1e,_0x3b10c6(_0x136d1e,'No'),_0x2415a1[_0x2c83('0x3')],_0x2c83('0x3')),this[_0x2c83('0x2')](_0x2c83('0xc'),_0x3b10c6(_0x136d1e,_0x2c83('0x0'))),this[_0x2c83('0x12')]({'tag':_0x2c83('0x9'),'attributes':{'class':[_0x2c83('0x5')]},'children':[{'tag':_0x2c83('0x9'),'attributes':{'class':_0x2c83('0x6')},'children':[{'tag':'p','children':[{'text':_0x1abb01['to']('message')}]},{'tag':_0x2c83('0x9'),'attributes':{'class':_0x2c83('0x11')},'children':[this[_0x2c83('0x4')],this[_0x2c83('0xd')]]}]}]});}['_createButtonView'](_0x3c6dfc,_0xd24c3b,_0x16ac13,_0x522500){const _0xcb100b=new _0x5c1546(_0x3c6dfc);return _0xcb100b[_0x2c83('0x8')]=_0xd24c3b,_0xcb100b[_0x2c83('0xe')]=_0x16ac13,_0xcb100b[_0x2c83('0xf')]({'attributes':{'class':_0x2c83('0x7')+_0x522500}}),_0xcb100b['on']('execute',()=>this[_0x2c83('0xa')](_0x522500)),_0xcb100b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd605=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','invalid-date-time-format','dateTimeFormat','string','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma'];(function(_0x238f3a,_0xd605f0){const _0x4907f7=function(_0x1d7e65){while(--_0x1d7e65){_0x238f3a['push'](_0x238f3a['shift']());}};_0x4907f7(++_0xd605f0);}(_0xd605,0xf9));const _0x4907=function(_0x238f3a,_0xd605f0){_0x238f3a=_0x238f3a-0x0;let _0x4907f7=_0xd605[_0x238f3a];return _0x4907f7;};import _0x4df54b from'date-fns/format';import _0x3501bf from'date-fns/parseISO';import _0x7a21a2 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x46c496}from'ckeditor5/src/utils';export default function E(_0x9ebb={}){if(void 0x0!==_0x9ebb[_0x4907('0x6')]&&'function'!=typeof _0x9ebb[_0x4907('0x6')])throw new _0x46c496(_0x4907('0x5'));return _0x1b026e=>{const _0xa94483=_0x4907('0x0')==typeof _0x1b026e?_0x3501bf(_0x1b026e):_0x1b026e,_0x12b234=new Date(),_0x1a2db6=_0x7a21a2(_0x12b234,_0xa94483);return _0x9ebb['dateTimeFormat']?_0x9ebb[_0x4907('0x6')](_0xa94483):_0x4df54b(_0xa94483,0x0===_0x1a2db6?_0x4907('0x4'):0x1===_0x1a2db6?_0x4907('0x1'):_0x1a2db6<0x7?_0x4907('0x3'):_0x4907('0x2'));};}
23
+ const _0x202c=['MM-dd-yyyy\x20hh:mma','invalid-date-time-format','dateTimeFormat','function','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','string'];(function(_0x4591e3,_0x202c28){const _0x32630c=function(_0x2b5180){while(--_0x2b5180){_0x4591e3['push'](_0x4591e3['shift']());}};_0x32630c(++_0x202c28);}(_0x202c,0x188));const _0x3263=function(_0x4591e3,_0x202c28){_0x4591e3=_0x4591e3-0x0;let _0x32630c=_0x202c[_0x4591e3];return _0x32630c;};import _0x2cb9ec from'date-fns/format';import _0x3b3a16 from'date-fns/parseISO';import _0x944f0a from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x114e79}from'ckeditor5/src/utils';export default function E(_0x5f52ca={}){if(void 0x0!==_0x5f52ca['dateTimeFormat']&&_0x3263('0x3')!=typeof _0x5f52ca['dateTimeFormat'])throw new _0x114e79(_0x3263('0x1'));return _0x149c1a=>{const _0x5e135e=_0x3263('0x6')==typeof _0x149c1a?_0x3b3a16(_0x149c1a):_0x149c1a,_0x1a0236=new Date(),_0x5cfc83=_0x944f0a(_0x1a0236,_0x5e135e);return _0x5f52ca[_0x3263('0x2')]?_0x5f52ca[_0x3263('0x2')](_0x5e135e):_0x2cb9ec(_0x5e135e,0x0===_0x5cfc83?_0x3263('0x5'):0x1===_0x5cfc83?'\x27Yesterday\x27\x20hh:mma':_0x5cfc83<0x7?_0x3263('0x4'):_0x3263('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ec2=['item','domElement','name','mapViewToDom','filter','domConverter','push','values','length','view','from','mapper','markerNameToElements'];(function(_0x15a118,_0x3ec2ff){const _0x5c70fa=function(_0x3d8a34){while(--_0x3d8a34){_0x15a118['push'](_0x15a118['shift']());}};_0x5c70fa(++_0x3ec2ff);}(_0x3ec2,0xbe));const _0x5c70=function(_0x15a118,_0x3ec2ff){_0x15a118=_0x15a118-0x0;let _0x5c70fa=_0x3ec2[_0x15a118];return _0x5c70fa;};import{first as _0xa1e02}from'ckeditor5/src/utils';export default function k(_0x39f021,_0x1e9632){const _0xde327=_0x39f021[_0x5c70('0x3')][_0x5c70('0x4')](_0x1e9632[_0x5c70('0x7')]);if(!_0xde327)return null;const _0x3e0443=_0xa1e02(_0xde327[_0x5c70('0xc')]());return _0x39f021['view'][_0x5c70('0xa')][_0x5c70('0x8')](_0x3e0443)||null;}export function getAllMarkersDomElementsSorted(_0x2aee31,_0x57fa99){if(0x0===_0x57fa99['length'])return null;const _0x140227=[],_0x2318a1=_0x2aee31[_0x5c70('0x1')][_0x5c70('0xa')];for(const _0x133bf0 of _0x57fa99){const _0x3f15b3=_0x2aee31[_0x5c70('0x3')][_0x5c70('0x4')](_0x133bf0['name']);if(!_0x3f15b3)continue;const _0x48b7d1=Array[_0x5c70('0x2')](_0x3f15b3)['map'](_0x3c07fd=>_0x2318a1[_0x5c70('0x8')](_0x3c07fd))[_0x5c70('0x9')](_0x2bc23e=>!!_0x2bc23e);_0x140227[_0x5c70('0xb')](..._0x48b7d1);}if(0x0===_0x140227[_0x5c70('0x0')])return null;const _0x52ab87=[];for(const _0x2a79fe of _0x140227){const _0x184402=_0x2a79fe['getClientRects']()[_0x5c70('0x5')](0x0);_0x184402&&_0x52ab87['push']({'x':_0x184402['x'],'y':_0x184402['y'],'domElement':_0x2a79fe});}return 0x0===_0x52ab87[_0x5c70('0x0')]?null:(_0x52ab87['sort']((_0x4984ff,_0x16b6c5)=>_0x4984ff['y']-_0x16b6c5['y']||_0x4984ff['x']-_0x16b6c5['x']),_0x52ab87['map'](_0x20cab2=>_0x20cab2[_0x5c70('0x6')]));}
23
+ const _0x21cf=['mapper','sort','markerNameToElements','domElement','values','length','filter','domConverter','map','push','from','mapViewToDom','item','name','view','getClientRects'];(function(_0x2ad57a,_0x21cfe8){const _0x25cdd5=function(_0x1ad92e){while(--_0x1ad92e){_0x2ad57a['push'](_0x2ad57a['shift']());}};_0x25cdd5(++_0x21cfe8);}(_0x21cf,0x118));const _0x25cd=function(_0x2ad57a,_0x21cfe8){_0x2ad57a=_0x2ad57a-0x0;let _0x25cdd5=_0x21cf[_0x2ad57a];return _0x25cdd5;};import{first as _0x6aacfe}from'ckeditor5/src/utils';export default function k(_0x500812,_0x20e6d1){const _0x1b4762=_0x500812[_0x25cd('0x8')]['markerNameToElements'](_0x20e6d1['name']);if(!_0x1b4762)return null;const _0x3f115d=_0x6aacfe(_0x1b4762[_0x25cd('0xc')]());return _0x500812[_0x25cd('0x6')][_0x25cd('0xf')][_0x25cd('0x3')](_0x3f115d)||null;}export function getAllMarkersDomElementsSorted(_0x3bfc4f,_0x523a5f){if(0x0===_0x523a5f[_0x25cd('0xd')])return null;const _0x3b6c43=[],_0x400196=_0x3bfc4f[_0x25cd('0x6')]['domConverter'];for(const _0xf3ebea of _0x523a5f){const _0x5c8e76=_0x3bfc4f[_0x25cd('0x8')][_0x25cd('0xa')](_0xf3ebea[_0x25cd('0x5')]);if(!_0x5c8e76)continue;const _0x8424d7=Array[_0x25cd('0x2')](_0x5c8e76)[_0x25cd('0x0')](_0xce6916=>_0x400196[_0x25cd('0x3')](_0xce6916))[_0x25cd('0xe')](_0x2deb57=>!!_0x2deb57);_0x3b6c43[_0x25cd('0x1')](..._0x8424d7);}if(0x0===_0x3b6c43[_0x25cd('0xd')])return null;const _0x125b90=[];for(const _0x2bd768 of _0x3b6c43){const _0x59b15e=_0x2bd768[_0x25cd('0x7')]()[_0x25cd('0x4')](0x0);_0x59b15e&&_0x125b90['push']({'x':_0x59b15e['x'],'y':_0x59b15e['y'],'domElement':_0x2bd768});}return 0x0===_0x125b90[_0x25cd('0xd')]?null:(_0x125b90[_0x25cd('0x9')]((_0x52e11e,_0x4241cd)=>_0x52e11e['y']-_0x4241cd['y']||_0x52e11e['x']-_0x4241cd['x']),_0x125b90[_0x25cd('0x0')](_0x49f7cc=>_0x49f7cc[_0x25cd('0xb')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a67=['string','keys','boolean','sign','sort','number','charCodeAt','toString','object','isArray'];(function(_0xa82b9f,_0x2a6730){const _0x51e800=function(_0x6799da){while(--_0x6799da){_0xa82b9f['push'](_0xa82b9f['shift']());}};_0x51e800(++_0x2a6730);}(_0x2a67,0x90));const _0x51e8=function(_0xa82b9f,_0x2a6730){_0xa82b9f=_0xa82b9f-0x0;let _0x51e800=_0x2a67[_0xa82b9f];return _0x51e800;};export default function b(_0x5bfbe3){let _0x1e9bc=0x0,_0x32c88b=0x0;for(const _0x5f0055 of g(_0x5bfbe3))_0x1e9bc=(_0x1e9bc<<0x5)-_0x1e9bc+_0x5f0055,_0x1e9bc&=_0x1e9bc,[_0x1e9bc,_0x32c88b]=[_0x32c88b,_0x1e9bc];return O(_0x1e9bc)+O(_0x32c88b);}function*j(_0x65598f){_0x65598f?_0x51e8('0x8')==typeof _0x65598f?yield 0x1:Array[_0x51e8('0x5')](_0x65598f)?yield*function*(_0x553c91){for(const _0x5ca224 of _0x553c91)yield*j(_0x5ca224);}(_0x65598f):_0x51e8('0x4')==typeof _0x65598f?yield*g(_0x65598f):_0x51e8('0x6')==typeof _0x65598f?yield*A(_0x65598f):_0x51e8('0x1')==typeof _0x65598f&&(yield _0x65598f):yield 0x0;}function*g(_0x2a5b9d){if(yield M('{'),_0x2a5b9d){const _0x527aa1=Object[_0x51e8('0x7')](_0x2a5b9d)[_0x51e8('0x0')]();for(const _0x44e45c of _0x527aa1){yield*A(_0x44e45c),yield M(':');const _0xbc6f84=_0x2a5b9d[_0x44e45c];yield*j(_0xbc6f84);}}yield M('}');}function*A(_0x3d3d4b){yield M('\x22');for(const _0x30ec70 of _0x3d3d4b)yield M(_0x30ec70);yield M('\x22');}function M(_0x151f34){return _0x151f34[_0x51e8('0x2')](0x0);}function O(_0x33b11c){return(_0x33b11c*=Math[_0x51e8('0x9')](_0x33b11c))[_0x51e8('0x3')](0x24);}
23
+ const _0x3a98=['sort','sign','string','boolean','number','charCodeAt','isArray'];(function(_0x585c73,_0x3a9862){const _0x288dc7=function(_0x21091b){while(--_0x21091b){_0x585c73['push'](_0x585c73['shift']());}};_0x288dc7(++_0x3a9862);}(_0x3a98,0x1d7));const _0x288d=function(_0x585c73,_0x3a9862){_0x585c73=_0x585c73-0x0;let _0x288dc7=_0x3a98[_0x585c73];return _0x288dc7;};export default function b(_0x4f48c7){let _0x2b1c7f=0x0,_0x28317f=0x0;for(const _0x1465a4 of g(_0x4f48c7))_0x2b1c7f=(_0x2b1c7f<<0x5)-_0x2b1c7f+_0x1465a4,_0x2b1c7f&=_0x2b1c7f,[_0x2b1c7f,_0x28317f]=[_0x28317f,_0x2b1c7f];return O(_0x2b1c7f)+O(_0x28317f);}function*j(_0x2ad2ce){_0x2ad2ce?_0x288d('0x1')==typeof _0x2ad2ce?yield 0x1:Array[_0x288d('0x4')](_0x2ad2ce)?yield*function*(_0x4a13c9){for(const _0x5909f8 of _0x4a13c9)yield*j(_0x5909f8);}(_0x2ad2ce):'object'==typeof _0x2ad2ce?yield*g(_0x2ad2ce):_0x288d('0x0')==typeof _0x2ad2ce?yield*A(_0x2ad2ce):_0x288d('0x2')==typeof _0x2ad2ce&&(yield _0x2ad2ce):yield 0x0;}function*g(_0x54302c){if(yield M('{'),_0x54302c){const _0x32cae4=Object['keys'](_0x54302c)[_0x288d('0x5')]();for(const _0x1835ee of _0x32cae4){yield*A(_0x1835ee),yield M(':');const _0x24f77f=_0x54302c[_0x1835ee];yield*j(_0x24f77f);}}yield M('}');}function*A(_0x9c629c){yield M('\x22');for(const _0x339d43 of _0x9c629c)yield M(_0x339d43);yield M('\x22');}function M(_0x5817f3){return _0x5817f3[_0x288d('0x3')](0x0);}function O(_0xc77488){return(_0xc77488*=Math[_0x288d('0x6')](_0xc77488))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32b6=['builtinPlugins','RevisionTracker','removePlugins','concat','pluginName','name','every','get','constructor','WordCount','DocumentOutline','plugins','config','includes','find','length','has','requires','toolbar','_context','context','WProofreader','extraPlugins','rootsAttributes','set','filter','initialData'];(function(_0x2f162b,_0x32b662){const _0x3e5ffb=function(_0x54b7b0){while(--_0x54b7b0){_0x2f162b['push'](_0x2f162b['shift']());}};_0x3e5ffb(++_0x32b662);}(_0x32b6,0x129));const _0x3e5f=function(_0x2f162b,_0x32b662){_0x2f162b=_0x2f162b-0x0;let _0x3e5ffb=_0x32b6[_0x2f162b];return _0x3e5ffb;};const w=[_0x3e5f('0x1a'),_0x3e5f('0x14'),_0x3e5f('0x12'),_0x3e5f('0x17')],W=['WebSocketGateway',_0x3e5f('0x1'),'Autosave',_0x3e5f('0x9'),_0x3e5f('0xa'),_0x3e5f('0x15')];function v(_0x2c9020,_0x493bc2,_0x464c8a,_0xf3d70a=[]){const _0x5bf920='string'==typeof _0x2c9020?_0x464c8a[_0x3e5f('0x7')](_0x2c9020)[_0x3e5f('0x8')]:_0x2c9020,_0x9c5de1=_0x5bf920[_0x3e5f('0x4')]||_0x5bf920[_0x3e5f('0x5')];if(_0x493bc2[_0x3e5f('0x10')](_0x9c5de1))return _0x493bc2[_0x3e5f('0x7')](_0x9c5de1);if(_0x493bc2[_0x3e5f('0x18')](_0x9c5de1,!0x0),_0x9c5de1&&W[_0x3e5f('0x3')](_0xf3d70a)[_0x3e5f('0xd')](_0x9c5de1))return _0x493bc2['set'](_0x9c5de1,!0x1),!0x1;if(!_0x5bf920[_0x3e5f('0x11')])return _0x493bc2[_0x3e5f('0x18')](_0x9c5de1,!0x0),!0x0;const _0x102ae1=_0x5bf920[_0x3e5f('0x11')][_0x3e5f('0x6')](_0x2e5407=>v(_0x2e5407,_0x493bc2,_0x464c8a,_0xf3d70a));return _0x493bc2['set'](_0x9c5de1,_0x102ae1),_0x102ae1;}export default function D(_0x5403dd,_0x5c0ba5){const _0x734e54={};for(const _0x30afc9 of _0x5403dd['config']['names']())w[_0x3e5f('0xd')](_0x30afc9)||(_0x734e54[_0x30afc9]=_0x5403dd[_0x3e5f('0xc')]['get'](_0x30afc9));const _0x35e9b0=_0x734e54[_0x3e5f('0xb')]||[],_0x386f6b=_0x5403dd[_0x3e5f('0x8')][_0x3e5f('0x0')]||[],_0x430c4c=_0x35e9b0[_0x3e5f('0xf')]?_0x35e9b0:_0x386f6b,_0x40d212=_0x734e54[_0x3e5f('0x16')]||[];delete _0x734e54[_0x3e5f('0x16')];const _0x54c3d9=_0x734e54[_0x3e5f('0x2')]||[];delete _0x734e54['removePlugins'];const _0x4af922=_0x5403dd[_0x3e5f('0x13')]['config'][_0x3e5f('0x7')](_0x3e5f('0xb'))||[],_0x274a3e=_0x430c4c[_0x3e5f('0x3')](_0x40d212)[_0x3e5f('0x3')](_0x4af922)['map'](_0x36a2de=>'string'==typeof _0x36a2de?_0x386f6b[_0x3e5f('0xe')](_0x38c0c7=>_0x38c0c7[_0x3e5f('0x4')]==_0x36a2de):_0x36a2de)[_0x3e5f('0x19')](_0x5d87dd=>!_0x54c3d9[_0x3e5f('0xd')](_0x5d87dd)),_0x17ae25=Array['from'](new Set(_0x274a3e)),_0x4a8e30=new Map();return _0x734e54[_0x3e5f('0xb')]=_0x17ae25['filter'](_0x374e8d=>v(_0x374e8d,_0x4a8e30,_0x5403dd[_0x3e5f('0xb')],_0x5c0ba5)),_0x734e54;}
23
+ const _0xaafb=['find','constructor','map','initialData','pluginName','includes','removePlugins','get','DocumentOutline','filter','from','config','concat','WebSocketGateway','every','set','toolbar','WordCount','rootsAttributes','builtinPlugins','extraPlugins','plugins','names','RevisionTracker'];(function(_0x1cf233,_0xaafb37){const _0x1c9c73=function(_0x53130f){while(--_0x53130f){_0x1cf233['push'](_0x1cf233['shift']());}};_0x1c9c73(++_0xaafb37);}(_0xaafb,0xdd));const _0x1c9c=function(_0x1cf233,_0xaafb37){_0x1cf233=_0x1cf233-0x0;let _0x1c9c73=_0xaafb[_0x1cf233];return _0x1c9c73;};const w=[_0x1c9c('0x16'),'context',_0x1c9c('0xb'),_0x1c9c('0xd')],W=[_0x1c9c('0x8'),_0x1c9c('0x12'),'Autosave',_0x1c9c('0xc'),_0x1c9c('0x3'),'WProofreader'];function v(_0x302937,_0x3b82d2,_0x6f2b68,_0x238a3a=[]){const _0x3c4a08='string'==typeof _0x302937?_0x6f2b68[_0x1c9c('0x2')](_0x302937)[_0x1c9c('0x14')]:_0x302937,_0x1adf87=_0x3c4a08[_0x1c9c('0x17')]||_0x3c4a08['name'];if(_0x3b82d2['has'](_0x1adf87))return _0x3b82d2['get'](_0x1adf87);if(_0x3b82d2[_0x1c9c('0xa')](_0x1adf87,!0x0),_0x1adf87&&W[_0x1c9c('0x7')](_0x238a3a)[_0x1c9c('0x0')](_0x1adf87))return _0x3b82d2[_0x1c9c('0xa')](_0x1adf87,!0x1),!0x1;if(!_0x3c4a08['requires'])return _0x3b82d2[_0x1c9c('0xa')](_0x1adf87,!0x0),!0x0;const _0x1bf4ed=_0x3c4a08['requires'][_0x1c9c('0x9')](_0x5c914b=>v(_0x5c914b,_0x3b82d2,_0x6f2b68,_0x238a3a));return _0x3b82d2['set'](_0x1adf87,_0x1bf4ed),_0x1bf4ed;}export default function D(_0x31c8ce,_0x33ea0c){const _0x523a06={};for(const _0x5218f of _0x31c8ce[_0x1c9c('0x6')][_0x1c9c('0x11')]())w['includes'](_0x5218f)||(_0x523a06[_0x5218f]=_0x31c8ce[_0x1c9c('0x6')][_0x1c9c('0x2')](_0x5218f));const _0x301ad0=_0x523a06[_0x1c9c('0x10')]||[],_0x3abee1=_0x31c8ce['constructor'][_0x1c9c('0xe')]||[],_0x3a07e3=_0x301ad0['length']?_0x301ad0:_0x3abee1,_0x1c1768=_0x523a06[_0x1c9c('0xf')]||[];delete _0x523a06[_0x1c9c('0xf')];const _0x20763f=_0x523a06[_0x1c9c('0x1')]||[];delete _0x523a06[_0x1c9c('0x1')];const _0x20d0d1=_0x31c8ce['_context'][_0x1c9c('0x6')]['get']('plugins')||[],_0x3b1598=_0x3a07e3[_0x1c9c('0x7')](_0x1c1768)[_0x1c9c('0x7')](_0x20d0d1)[_0x1c9c('0x15')](_0x1267e6=>'string'==typeof _0x1267e6?_0x3abee1[_0x1c9c('0x13')](_0x49685e=>_0x49685e['pluginName']==_0x1267e6):_0x1267e6)[_0x1c9c('0x4')](_0x1374a1=>!_0x20763f[_0x1c9c('0x0')](_0x1374a1)),_0xb172e9=Array[_0x1c9c('0x5')](new Set(_0x3b1598)),_0x5c7f4c=new Map();return _0x523a06[_0x1c9c('0x10')]=_0xb172e9[_0x1c9c('0x4')](_0x11bd7f=>v(_0x11bd7f,_0x5c7f4c,_0x31c8ce[_0x1c9c('0x10')],_0x33ea0c)),_0x523a06;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x414d=['indexOf','length','match','substring','...','replace','push','startsWith','join','slice','pop','split'];(function(_0x2646a3,_0x414d9f){const _0x40e795=function(_0x6bda8c){while(--_0x6bda8c){_0x2646a3['push'](_0x2646a3['shift']());}};_0x40e795(++_0x414d9f);}(_0x414d,0x6e));const _0x40e7=function(_0x2646a3,_0x414d9f){_0x2646a3=_0x2646a3-0x0;let _0x40e795=_0x414d[_0x2646a3];return _0x40e795;};export default function z(_0xd82f60,{limit:_0x56c149,suffix:_0x4fad04=_0x40e7('0x2')}){const _0x484608=[];let _0x554904=0x0;const _0x496ee4=_0xd82f60[_0x40e7('0x3')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x40e7('0x3')](/^\n/g,'')[_0x40e7('0x3')](/\n$/g,'')[_0x40e7('0x9')]('\x0a');for(let _0x27477f=0x0;_0x27477f<_0x496ee4[_0x40e7('0xb')];_0x27477f++){let _0xdc3e3=_0x496ee4[_0x27477f];const _0x249ea8=Z(_0xdc3e3);if(_0xdc3e3['startsWith']('<')){if(_0x554904>=_0x56c149){const _0x23f5c3=_0xdc3e3[_0x40e7('0x0')](/[a-zA-Z]+/);if(!_0x23f5c3){_0x496ee4[_0x27477f]='';continue;}const _0x14512e=_0x23f5c3[0x0];_0xdc3e3[_0x40e7('0x5')]('</')?(_0x484608[_0x40e7('0xb')]&&(_0xdc3e3=''),_0x484608[_0x40e7('0x8')]()):(_0x484608[_0x40e7('0x4')](_0x14512e),_0xdc3e3='');}}else{if(_0x554904>=_0x56c149)_0xdc3e3='';else{if(_0x554904+_0x249ea8['length']>=_0x56c149){let _0x42f12a=_0x56c149-_0x554904;if('\x20'===_0x249ea8[_0x42f12a-0x1])_0x42f12a--;else{const _0x1b2bd4=_0x249ea8[_0x40e7('0x7')](_0x42f12a)[_0x40e7('0xa')]('\x20');-0x1!==_0x1b2bd4?_0x42f12a+=_0x1b2bd4:_0x42f12a=_0xdc3e3['length'];}_0xdc3e3=_0x249ea8[_0x40e7('0x7')](0x0,_0x42f12a)[_0x40e7('0x6')]('')+_0x4fad04,_0x554904=_0x56c149;}else _0x554904+=_0x249ea8[_0x40e7('0xb')];}}_0x496ee4[_0x27477f]=_0xdc3e3;}return _0x496ee4['join']('\x0a')['replace'](/\n/g,'');}function Z(_0x5bd384){const _0x5c8dd7=[];for(let _0x4f787b=0x0;_0x4f787b<_0x5bd384[_0x40e7('0xb')];_0x4f787b++){const _0x2f79d4=_0x5bd384[_0x40e7('0x1')](_0x4f787b)[_0x40e7('0x0')](/^&[a-z0-9#]+;/);if(_0x2f79d4){const _0x293361=_0x2f79d4[0x0];_0x5c8dd7['push'](_0x293361),_0x4f787b+=_0x293361['length']-0x1;}else _0x5c8dd7[_0x40e7('0x4')](_0x5bd384[_0x4f787b]);}return _0x5c8dd7;}
23
+ const _0x194d=['match','...','slice','indexOf','split','replace','join','length','pop','push','startsWith'];(function(_0x154e8c,_0x194d8e){const _0x5b4f6e=function(_0x204d44){while(--_0x204d44){_0x154e8c['push'](_0x154e8c['shift']());}};_0x5b4f6e(++_0x194d8e);}(_0x194d,0xbd));const _0x5b4f=function(_0x154e8c,_0x194d8e){_0x154e8c=_0x154e8c-0x0;let _0x5b4f6e=_0x194d[_0x154e8c];return _0x5b4f6e;};export default function z(_0x63564e,{limit:_0x354154,suffix:_0x594719=_0x5b4f('0xa')}){const _0x4583d2=[];let _0x2c0780=0x0;const _0x608f29=_0x63564e[_0x5b4f('0x3')](/</g,'\x0a<')[_0x5b4f('0x3')](/>/g,'>\x0a')[_0x5b4f('0x3')](/^\n/g,'')[_0x5b4f('0x3')](/\n$/g,'')[_0x5b4f('0x2')]('\x0a');for(let _0xfb6ec5=0x0;_0xfb6ec5<_0x608f29[_0x5b4f('0x5')];_0xfb6ec5++){let _0x256fa3=_0x608f29[_0xfb6ec5];const _0x1f768f=Z(_0x256fa3);if(_0x256fa3[_0x5b4f('0x8')]('<')){if(_0x2c0780>=_0x354154){const _0x1ab7f8=_0x256fa3[_0x5b4f('0x9')](/[a-zA-Z]+/);if(!_0x1ab7f8){_0x608f29[_0xfb6ec5]='';continue;}const _0x22e19=_0x1ab7f8[0x0];_0x256fa3[_0x5b4f('0x8')]('</')?(_0x4583d2[_0x5b4f('0x5')]&&(_0x256fa3=''),_0x4583d2[_0x5b4f('0x6')]()):(_0x4583d2['push'](_0x22e19),_0x256fa3='');}}else{if(_0x2c0780>=_0x354154)_0x256fa3='';else{if(_0x2c0780+_0x1f768f[_0x5b4f('0x5')]>=_0x354154){let _0x4a25dd=_0x354154-_0x2c0780;if('\x20'===_0x1f768f[_0x4a25dd-0x1])_0x4a25dd--;else{const _0x33d617=_0x1f768f[_0x5b4f('0x0')](_0x4a25dd)[_0x5b4f('0x1')]('\x20');-0x1!==_0x33d617?_0x4a25dd+=_0x33d617:_0x4a25dd=_0x256fa3[_0x5b4f('0x5')];}_0x256fa3=_0x1f768f[_0x5b4f('0x0')](0x0,_0x4a25dd)[_0x5b4f('0x4')]('')+_0x594719,_0x2c0780=_0x354154;}else _0x2c0780+=_0x1f768f[_0x5b4f('0x5')];}}_0x608f29[_0xfb6ec5]=_0x256fa3;}return _0x608f29[_0x5b4f('0x4')]('\x0a')[_0x5b4f('0x3')](/\n/g,'');}function Z(_0x9b14ad){const _0x15f996=[];for(let _0xed2410=0x0;_0xed2410<_0x9b14ad[_0x5b4f('0x5')];_0xed2410++){const _0x32f63f=_0x9b14ad['substring'](_0xed2410)[_0x5b4f('0x9')](/^&[a-z0-9#]+;/);if(_0x32f63f){const _0x269d22=_0x32f63f[0x0];_0x15f996[_0x5b4f('0x7')](_0x269d22),_0xed2410+=_0x269d22['length']-0x1;}else _0x15f996[_0x5b4f('0x7')](_0x9b14ad[_0xed2410]);}return _0x15f996;}