@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231219.0 → 0.0.0-nightly-20231220.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-20231219.0",
3
+ "version": "0.0.0-nightly-20231220.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/)",
@@ -32,7 +32,7 @@
32
32
  "type": "module",
33
33
  "main": "src/index.js",
34
34
  "dependencies": {
35
- "ckeditor5": "0.0.0-nightly-20231219.0",
35
+ "ckeditor5": "0.0.0-nightly-20231220.0",
36
36
  "date-fns": "2.30.0"
37
37
  },
38
38
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ab5=['plugins','has','permissions-set-permissions-invalid-channel-id','clearForceDisabled','CommentsOnly','addCommentThread','noPermissions','config','comment:modify_all','editors','comment:admin','CommentsRepository','get','disableReadOnlyMode','context','find','includes','document:write','commands','isEnabled','collaboration.channelId','comment:write','Permissions','enableReadOnlyMode','no-permissions','forceDisabled','setPermissions'];(function(_0x9331a0,_0x2ab5fd){const _0x56d8ce=function(_0x3b71fd){while(--_0x3b71fd){_0x9331a0['push'](_0x9331a0['shift']());}};_0x56d8ce(++_0x2ab5fd);}(_0x2ab5,0x8a));const _0x56d8=function(_0x9331a0,_0x2ab5fd){_0x9331a0=_0x9331a0-0x0;let _0x56d8ce=_0x2ab5[_0x9331a0];return _0x56d8ce;};import{ContextPlugin as _0x24ea4e,Editor as _0x4f88f7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4277ba}from'ckeditor5/src/utils.js';export default class n extends _0x24ea4e{static get['pluginName'](){return _0x56d8('0x13');}[_0x56d8('0x17')](_0x2c896d,_0x10d38f){let _0x453b11;if(_0x10d38f||(_0x10d38f=this[_0x56d8('0xb')][_0x56d8('0x4')][_0x56d8('0x9')](_0x56d8('0x11'))),this['context'][_0x56d8('0x4')][_0x56d8('0x9')]('collaboration.channelId')==_0x10d38f?_0x453b11=this[_0x56d8('0xb')]:'editors'in this[_0x56d8('0xb')]&&this[_0x56d8('0xb')][_0x56d8('0x6')]&&(_0x453b11=this[_0x56d8('0xb')][_0x56d8('0x6')][_0x56d8('0xc')](_0x4e35d6=>_0x4e35d6['config'][_0x56d8('0x9')](_0x56d8('0x11'))==_0x10d38f)),!_0x453b11)throw new _0x4277ba(_0x56d8('0x1a'),null);const _0x3a0912=_0x453b11[_0x56d8('0x18')],_0x33480f=_0x3a0912[_0x56d8('0x19')]('CommentsRepository')?_0x3a0912['get'](_0x56d8('0x8')):void 0x0,_0x41b241=_0x3a0912[_0x56d8('0x19')]('CommentsOnly')&&_0x3a0912[_0x56d8('0x9')](_0x56d8('0x1')),_0x435cf8=_0x2c896d[_0x56d8('0xd')](_0x56d8('0xe')),_0x98bdcd=_0x2c896d[_0x56d8('0xd')](_0x56d8('0x5')),_0x5d2ecf=_0x2c896d[_0x56d8('0xd')](_0x56d8('0x7')),_0x4a9fd4=_0x2c896d['includes'](_0x56d8('0x12')),_0x2fe463=_0x4a9fd4||_0x5d2ecf,_0x13ca14=_0x2fe463||_0x98bdcd,_0x84f089=_0x435cf8||_0x2fe463;(_0x41b241&&(_0x41b241[_0x56d8('0x10')]=!_0x435cf8&&_0x13ca14),_0x453b11 instanceof _0x4f88f7)&&(!(_0x435cf8||_0x13ca14&&_0x33480f)?_0x453b11[_0x56d8('0x14')](_0x56d8('0x15')):_0x453b11[_0x56d8('0xa')](_0x56d8('0x15')));if(_0x33480f){_0x33480f[_0x56d8('0x17')]({'admin':_0x5d2ecf,'modifyAll':_0x98bdcd,'write':_0x4a9fd4,'resolve':_0x84f089},_0x10d38f);const _0x1819de=_0x453b11 instanceof _0x4f88f7&&_0x453b11[_0x56d8('0xf')][_0x56d8('0x9')](_0x56d8('0x2'));_0x1819de&&(_0x2fe463?_0x1819de[_0x56d8('0x0')](_0x56d8('0x3')):_0x1819de[_0x56d8('0x16')](_0x56d8('0x3')));}}}
23
+ const _0x4bac=['noPermissions','Permissions','CommentsRepository','clearForceDisabled','disableReadOnlyMode','enableReadOnlyMode','has','plugins','get','forceDisabled','no-permissions','permissions-set-permissions-invalid-channel-id','comment:write','includes','editors','context','collaboration.channelId','isEnabled','setPermissions','document:write','addCommentThread','pluginName','CommentsOnly','config'];(function(_0x51f5b7,_0x4bacc2){const _0x160a86=function(_0x34433d){while(--_0x34433d){_0x51f5b7['push'](_0x51f5b7['shift']());}};_0x160a86(++_0x4bacc2);}(_0x4bac,0x1bc));const _0x160a=function(_0x51f5b7,_0x4bacc2){_0x51f5b7=_0x51f5b7-0x0;let _0x160a86=_0x4bac[_0x51f5b7];return _0x160a86;};import{ContextPlugin as _0x23930f,Editor as _0x6d7e8d}from'ckeditor5/src/core.js';import{CKEditorError as _0x40614a}from'ckeditor5/src/utils.js';export default class n extends _0x23930f{static get[_0x160a('0x9')](){return _0x160a('0xd');}[_0x160a('0x6')](_0x24cb46,_0x4663d6){let _0x41c55c;if(_0x4663d6||(_0x4663d6=this['context']['config']['get'](_0x160a('0x4'))),this[_0x160a('0x3')][_0x160a('0xb')][_0x160a('0x14')]('collaboration.channelId')==_0x4663d6?_0x41c55c=this[_0x160a('0x3')]:_0x160a('0x2')in this[_0x160a('0x3')]&&this[_0x160a('0x3')][_0x160a('0x2')]&&(_0x41c55c=this[_0x160a('0x3')][_0x160a('0x2')]['find'](_0x3726b3=>_0x3726b3['config'][_0x160a('0x14')](_0x160a('0x4'))==_0x4663d6)),!_0x41c55c)throw new _0x40614a(_0x160a('0x17'),null);const _0x3b53d6=_0x41c55c[_0x160a('0x13')],_0x1fb672=_0x3b53d6['has'](_0x160a('0xe'))?_0x3b53d6[_0x160a('0x14')]('CommentsRepository'):void 0x0,_0x34c492=_0x3b53d6[_0x160a('0x12')](_0x160a('0xa'))&&_0x3b53d6[_0x160a('0x14')]('CommentsOnly'),_0x4c2b9c=_0x24cb46[_0x160a('0x1')](_0x160a('0x7')),_0x272fcb=_0x24cb46[_0x160a('0x1')]('comment:modify_all'),_0x250e09=_0x24cb46[_0x160a('0x1')]('comment:admin'),_0x423f56=_0x24cb46[_0x160a('0x1')](_0x160a('0x0')),_0x4de2c=_0x423f56||_0x250e09,_0x44b38d=_0x4de2c||_0x272fcb,_0xcf13bd=_0x4c2b9c||_0x4de2c;(_0x34c492&&(_0x34c492[_0x160a('0x5')]=!_0x4c2b9c&&_0x44b38d),_0x41c55c instanceof _0x6d7e8d)&&(!(_0x4c2b9c||_0x44b38d&&_0x1fb672)?_0x41c55c[_0x160a('0x11')](_0x160a('0x16')):_0x41c55c[_0x160a('0x10')]('no-permissions'));if(_0x1fb672){_0x1fb672[_0x160a('0x6')]({'admin':_0x250e09,'modifyAll':_0x272fcb,'write':_0x423f56,'resolve':_0xcf13bd},_0x4663d6);const _0x32f9e6=_0x41c55c instanceof _0x6d7e8d&&_0x41c55c['commands']['get'](_0x160a('0x8'));_0x32f9e6&&(_0x4de2c?_0x32f9e6[_0x160a('0xf')](_0x160a('0xc')):_0x32f9e6[_0x160a('0x15')]('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f98=['avatar','extendTemplate','notificationView','ck-user','ck-user__avatar','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__notification','setTemplate','push','content','initials','ck\x20ck-user__name','div'];(function(_0x5c07fb,_0x3f98e1){const _0x49b4e6=function(_0x2a5e4f){while(--_0x2a5e4f){_0x5c07fb['push'](_0x5c07fb['shift']());}};_0x49b4e6(++_0x3f98e1);}(_0x3f98,0x7c));const _0x49b4=function(_0x5c07fb,_0x3f98e1){_0x5c07fb=_0x5c07fb-0x0;let _0x49b4e6=_0x3f98[_0x5c07fb];return _0x49b4e6;};import{View as _0x174458,IconView as _0x330c7c}from'ckeditor5/src/ui.js';import _0x591da3 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x174458{constructor(_0x5b80cf,_0xcddbeb,_0x1792c2){super(_0x5b80cf),this['name']=_0xcddbeb['name'],this[_0x49b4('0x8')]=null;const _0x435ca2=['ck','ck-user__img'];if(_0xcddbeb['isAnonymous']&&_0x435ca2[_0x49b4('0x1')]('ck-user__anonymous'),_0xcddbeb[_0x49b4('0x6')]&&_0x435ca2[_0x49b4('0x1')](_0x49b4('0xa')),_0x1792c2){const _0x443311=new _0x330c7c();_0x443311[_0x49b4('0x7')]({'attributes':{'class':['ck-user__icon']}}),_0x443311[_0x49b4('0x2')]=_0x591da3,this[_0x49b4('0x8')]={'tag':_0x49b4('0x5'),'attributes':{'class':['ck',_0x49b4('0xc')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1792c2},'children':[_0x443311]};}const _0x1e83d1=[{'tag':_0x49b4('0x5'),'attributes':{'class':_0x435ca2,'style':{'background-image':_0xcddbeb['avatar']?'url(\x27'+_0xcddbeb[_0x49b4('0x6')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0xcddbeb['avatar']?_0x49b4('0xb'):_0x49b4('0x4')},'children':[{'text':_0xcddbeb[_0x49b4('0x3')]}]}];this[_0x49b4('0x8')]&&_0x1e83d1[_0x49b4('0x1')](this['notificationView']),this[_0x49b4('0x0')]({'tag':_0x49b4('0x5'),'attributes':{'class':['ck',_0x49b4('0x9')],'data-user-id':_0xcddbeb['id']},'children':_0x1e83d1});}}
23
+ const _0x4c02=['ck\x20ck-user__name\x20ck-user__name--hidden','ck\x20ck-user__name','div','avatar','ck-user__anonymous','setTemplate','isAnonymous','ck-user__img','initials','ck-user__notification','ck-user__icon','url(\x27','push','name','notificationView','extendTemplate','ck-user'];(function(_0x18e379,_0x4c0222){const _0x49533d=function(_0x5c340d){while(--_0x5c340d){_0x18e379['push'](_0x18e379['shift']());}};_0x49533d(++_0x4c0222);}(_0x4c02,0xcc));const _0x4953=function(_0x18e379,_0x4c0222){_0x18e379=_0x18e379-0x0;let _0x49533d=_0x4c02[_0x18e379];return _0x49533d;};import{View as _0x5e7194,IconView as _0x1dc954}from'ckeditor5/src/ui.js';import _0x23120c from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x5e7194{constructor(_0x40efc4,_0x32fd8f,_0x442ecd){super(_0x40efc4),this['name']=_0x32fd8f[_0x4953('0xd')],this[_0x4953('0xe')]=null;const _0x4b3651=['ck',_0x4953('0x7')];if(_0x32fd8f[_0x4953('0x6')]&&_0x4b3651[_0x4953('0xc')](_0x4953('0x4')),_0x32fd8f[_0x4953('0x3')]&&_0x4b3651['push']('ck-user__avatar'),_0x442ecd){const _0x3d7f31=new _0x1dc954();_0x3d7f31[_0x4953('0xf')]({'attributes':{'class':[_0x4953('0xa')]}}),_0x3d7f31['content']=_0x23120c,this[_0x4953('0xe')]={'tag':_0x4953('0x2'),'attributes':{'class':['ck',_0x4953('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x442ecd},'children':[_0x3d7f31]};}const _0x2104db=[{'tag':'div','attributes':{'class':_0x4b3651,'style':{'background-image':_0x32fd8f['avatar']?_0x4953('0xb')+_0x32fd8f[_0x4953('0x3')]+'\x27)':''}}},{'tag':_0x4953('0x2'),'attributes':{'class':_0x32fd8f[_0x4953('0x3')]?_0x4953('0x0'):_0x4953('0x1')},'children':[{'text':_0x32fd8f[_0x4953('0x8')]}]}];this['notificationView']&&_0x2104db[_0x4953('0xc')](this[_0x4953('0xe')]),this[_0x4953('0x5')]({'tag':_0x4953('0x2'),'attributes':{'class':['ck',_0x4953('0x10')],'data-user-id':_0x32fd8f['id']},'children':_0x2104db});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ca=['config','licenseKey','init','context','info','decorate','_id','requires','useAnonymousUser','addUser','_addAnonymousUser','get','licenseKeyTrialLimit:time','getSelectionClass','_licenseKeyCheckInterval','getUser','invalid-license-key','has','string','name','users.anonymousUserId','licenseKeyInvalid','_isAnonymous','length','_getInitial','users-me-missing-user','ck-user__bg-color--','getMarkerClass','_lastColor','color','ck-user__selection--','locale','licenseKeyTrialLimit:revisions','licenseKeyValid','users-me-already-defined','Anonymous','toUpperCase','anonymous-user','trial-license-key-reached-limit-time','destroy','users','users-add-invalid-id','getOperationAuthor','trial-license-key-reached-limit-revisions','split','_locale','_myId','licenseKeyTrial','initials','avatar','users-add-duplicated-id','licenseKeyTrialLimit:operations','Users','users.colorsCount','getBackgroundColorClass'];(function(_0x101cd2,_0x28caca){const _0x156b34=function(_0x44354b){while(--_0x44354b){_0x101cd2['push'](_0x101cd2['shift']());}};_0x156b34(++_0x28caca);}(_0x28ca,0xa7));const _0x156b=function(_0x101cd2,_0x28caca){_0x101cd2=_0x101cd2-0x0;let _0x156b34=_0x28ca[_0x101cd2];return _0x156b34;};import{ContextPlugin as _0x43299c}from'ckeditor5/src/core.js';import{Collection as _0x4d6a7c,CKEditorError as _0x1a07c3}from'ckeditor5/src/utils.js';import _0x4f6541 from'./permissions.js';import{getTranslation as _0x431e02}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x43299c{static get['pluginName'](){return _0x156b('0x32');}static get[_0x156b('0x5')](){return[_0x4f6541];}constructor(_0x4b57a1){super(_0x4b57a1),this['context'][_0x156b('0x35')]['define']('users.anonymousUserId',_0x156b('0x23')),this[_0x156b('0x1')][_0x156b('0x35')]['define']('users.colorsCount',0x8),this[_0x156b('0x26')]=new _0x4d6a7c(),this[_0x156b('0x2b')]=_0x4b57a1[_0x156b('0x1d')],this[_0x156b('0xc')]=null,this[_0x156b('0x1a')]=0x0,this[_0x156b('0x2c')]=null,this[_0x156b('0x3')](_0x156b('0x28'));}[_0x156b('0x0')](){const _0x2905eb=this['context'];this[_0x156b('0x36')]=_0x2905eb[_0x156b('0x35')][_0x156b('0x9')](_0x156b('0x36'));const _0x547b84=[_0x156b('0x2d'),_0x156b('0x13'),'licenseKeyValid',_0x156b('0x31'),_0x156b('0xa'),_0x156b('0x1e')];this[_0x156b('0xc')]=setInterval(()=>{let _0x5d5f04;for(const _0x57f4ac in _0x2905eb){const _0x529130=_0x2905eb[_0x57f4ac];if(_0x547b84['includes'](_0x529130)){delete _0x2905eb[_0x57f4ac],_0x5d5f04=_0x529130;break;}}if(_0x156b('0x13')===_0x5d5f04)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1a07c3(_0x156b('0xe'),null);if('licenseKeyTrial'===_0x5d5f04&&console[_0x156b('0x2')]('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.'),_0x156b('0x31')===_0x5d5f04)throw clearInterval(this[_0x156b('0xc')]),new _0x1a07c3('trial-license-key-reached-limit-changes',null);if(_0x156b('0xa')===_0x5d5f04)throw clearInterval(this[_0x156b('0xc')]),new _0x1a07c3(_0x156b('0x24'),null);if(_0x156b('0x1e')===_0x5d5f04)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1a07c3(_0x156b('0x29'),null);_0x156b('0x1f')===_0x5d5f04&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x156b('0x2c')]?null:this[_0x156b('0xd')](this[_0x156b('0x2c')]);}[_0x156b('0x7')]({id:_0x3dc56b,name:_0x3f7ed8,..._0x2dfc4c}){if(!_0x3dc56b||_0x156b('0x10')!=typeof _0x3dc56b)throw new _0x1a07c3(_0x156b('0x27'));if(this['users'][_0x156b('0xf')](_0x3dc56b))throw new _0x1a07c3(_0x156b('0x30'),null,{'id':_0x3dc56b});const _0x56536c={..._0x2dfc4c,'id':_0x3dc56b,'name':a(this[_0x156b('0x2b')],_0x3f7ed8),'color':this['_getNextColor']()};_0x56536c['name']=a(this['_locale'],_0x56536c['name']);const _0x3db51c=new User(_0x56536c);return this['users']['add'](_0x3db51c),_0x3db51c;}[_0x156b('0xd')](_0x26d9a7){return this[_0x156b('0x26')]['get'](_0x26d9a7);}[_0x156b('0x6')](){const _0x96a021=this[_0x156b('0x1')][_0x156b('0x35')][_0x156b('0x9')](_0x156b('0x12'));this['_myId']||this['defineMe'](_0x96a021);}['defineMe'](_0x468431){if(this[_0x156b('0x2c')])throw new _0x1a07c3(_0x156b('0x20'),null);if(!this['getUser'](_0x468431))throw new _0x1a07c3(_0x156b('0x17'),null);this[_0x156b('0x2c')]=_0x468431;}[_0x156b('0x28')](){return this['me'];}[_0x156b('0x25')](){super[_0x156b('0x25')](),clearInterval(this[_0x156b('0xc')]);}['_getNextColor'](){const _0x549c6f=this[_0x156b('0x1')][_0x156b('0x35')][_0x156b('0x9')](_0x156b('0x33'));return this[_0x156b('0x1a')]>=_0x549c6f&&(this[_0x156b('0x1a')]=0x0),new u(this[_0x156b('0x1a')]++);}[_0x156b('0x8')](){const _0x88ab40=this[_0x156b('0x1')]['config']['get'](_0x156b('0x12'));this[_0x156b('0x7')]({'id':_0x88ab40,'name':_0x431e02(this[_0x156b('0x2b')],_0x156b('0x21'))})[_0x156b('0x14')]=!0x0;}}export class User{constructor(_0x1ae3bf){this['id']=_0x1ae3bf['id'],this['color']=_0x1ae3bf[_0x156b('0x1b')],this[_0x156b('0x11')]=_0x1ae3bf[_0x156b('0x11')],this[_0x156b('0x2f')]=_0x1ae3bf[_0x156b('0x2f')],this[_0x156b('0x14')]=!0x1;}get['isAnonymous'](){return this[_0x156b('0x14')];}get[_0x156b('0x2e')](){const _0x3fdd5f=this[_0x156b('0x11')][_0x156b('0x2a')]('\x20');return 0x1===_0x3fdd5f[_0x156b('0x15')]?this[_0x156b('0x16')](_0x3fdd5f[0x0]):this['_getInitial'](_0x3fdd5f[0x0])+this[_0x156b('0x16')](_0x3fdd5f[_0x3fdd5f[_0x156b('0x15')]-0x1]);}[_0x156b('0x16')](_0x501585){return _0x501585['charAt'](0x0)[_0x156b('0x22')]();}}function a(_0x4593df,_0x335048=''){return''==(_0x335048=_0x335048['trim']())?_0x431e02(_0x4593df,_0x156b('0x21')):_0x335048;}class u{constructor(_0x2a0df9){this[_0x156b('0x4')]=_0x2a0df9;}[_0x156b('0x34')](){return _0x156b('0x18')+this[_0x156b('0x4')];}[_0x156b('0xb')](){return _0x156b('0x1c')+this[_0x156b('0x4')];}[_0x156b('0x19')](){return'ck-user__marker--'+this[_0x156b('0x4')];}}
23
+ const _0x5a49=['users-me-missing-user','get','destroy','getUser','_locale','isAnonymous','charAt','string','licenseKeyTrialLimit:operations','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.','ck-user__selection--','_lastColor','requires','pluginName','ck-user__marker--','licenseKey','has','licenseKeyTrial','_isAnonymous','length','users.anonymousUserId','avatar','locale','_id','licenseKeyTrialLimit:time','invalid-license-key','Anonymous','_myId','trial-license-key-reached-limit-time','licenseKeyInvalid','users.colorsCount','getOperationAuthor','color','init','users-add-duplicated-id','includes','context','licenseKeyTrialLimit:revisions','trim','define','useAnonymousUser','_getNextColor','getSelectionClass','ck-user__bg-color--','licenseKeyValid','anonymous-user','users','initials','_licenseKeyCheckInterval','name','_getInitial','defineMe','config','split','getMarkerClass','getBackgroundColorClass','trial-license-key-reached-limit-revisions','Users','info','addUser','toUpperCase','_addAnonymousUser'];(function(_0x507547,_0x5a499b){const _0x960836=function(_0x14129a){while(--_0x14129a){_0x507547['push'](_0x507547['shift']());}};_0x960836(++_0x5a499b);}(_0x5a49,0x1b6));const _0x9608=function(_0x507547,_0x5a499b){_0x507547=_0x507547-0x0;let _0x960836=_0x5a49[_0x507547];return _0x960836;};import{ContextPlugin as _0x3e0401}from'ckeditor5/src/core.js';import{Collection as _0x1d7cdf,CKEditorError as _0x19f1ed}from'ckeditor5/src/utils.js';import _0xecfe27 from'./permissions.js';import{getTranslation as _0x20c9ba}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x3e0401{static get[_0x9608('0x9')](){return _0x9608('0x35');}static get[_0x9608('0x8')](){return[_0xecfe27];}constructor(_0x4ef5d1){super(_0x4ef5d1),this[_0x9608('0x20')][_0x9608('0x30')]['define'](_0x9608('0x10'),_0x9608('0x29')),this[_0x9608('0x20')][_0x9608('0x30')][_0x9608('0x23')]('users.colorsCount',0x8),this[_0x9608('0x2a')]=new _0x1d7cdf(),this[_0x9608('0x0')]=_0x4ef5d1[_0x9608('0x12')],this['_licenseKeyCheckInterval']=null,this[_0x9608('0x7')]=0x0,this['_myId']=null,this['decorate'](_0x9608('0x1b'));}[_0x9608('0x1d')](){const _0xa65d10=this['context'];this[_0x9608('0xb')]=_0xa65d10[_0x9608('0x30')][_0x9608('0x3b')](_0x9608('0xb'));const _0x3a3683=[_0x9608('0xd'),_0x9608('0x19'),_0x9608('0x28'),_0x9608('0x4'),_0x9608('0x14'),_0x9608('0x21')];this[_0x9608('0x2c')]=setInterval(()=>{let _0x35e5f4;for(const _0x530c3a in _0xa65d10){const _0x5ef35a=_0xa65d10[_0x530c3a];if(_0x3a3683[_0x9608('0x1f')](_0x5ef35a)){delete _0xa65d10[_0x530c3a],_0x35e5f4=_0x5ef35a;break;}}if(_0x9608('0x19')===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed(_0x9608('0x15'),null);if('licenseKeyTrial'===_0x35e5f4&&console[_0x9608('0x36')](_0x9608('0x5')),_0x9608('0x4')===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed('trial-license-key-reached-limit-changes',null);if(_0x9608('0x14')===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed(_0x9608('0x18'),null);if('licenseKeyTrialLimit:revisions'===_0x35e5f4)throw clearInterval(this[_0x9608('0x2c')]),new _0x19f1ed(_0x9608('0x34'),null);_0x9608('0x28')===_0x35e5f4&&clearInterval(this[_0x9608('0x2c')]);},0x3e8),this[_0x9608('0x39')]();}get['me'](){return null==this[_0x9608('0x17')]?null:this[_0x9608('0x3d')](this['_myId']);}[_0x9608('0x37')]({id:_0x1fa316,name:_0x1c86a5,..._0x46fa67}){if(!_0x1fa316||_0x9608('0x3')!=typeof _0x1fa316)throw new _0x19f1ed('users-add-invalid-id');if(this[_0x9608('0x2a')][_0x9608('0xc')](_0x1fa316))throw new _0x19f1ed(_0x9608('0x1e'),null,{'id':_0x1fa316});const _0x2862ec={..._0x46fa67,'id':_0x1fa316,'name':a(this[_0x9608('0x0')],_0x1c86a5),'color':this[_0x9608('0x25')]()};_0x2862ec[_0x9608('0x2d')]=a(this[_0x9608('0x0')],_0x2862ec['name']);const _0x4e99e7=new User(_0x2862ec);return this[_0x9608('0x2a')]['add'](_0x4e99e7),_0x4e99e7;}[_0x9608('0x3d')](_0x133a5f){return this['users'][_0x9608('0x3b')](_0x133a5f);}[_0x9608('0x24')](){const _0xe8dbad=this['context'][_0x9608('0x30')][_0x9608('0x3b')]('users.anonymousUserId');this['_myId']||this[_0x9608('0x2f')](_0xe8dbad);}[_0x9608('0x2f')](_0x43493e){if(this[_0x9608('0x17')])throw new _0x19f1ed('users-me-already-defined',null);if(!this['getUser'](_0x43493e))throw new _0x19f1ed(_0x9608('0x3a'),null);this[_0x9608('0x17')]=_0x43493e;}[_0x9608('0x1b')](){return this['me'];}[_0x9608('0x3c')](){super['destroy'](),clearInterval(this[_0x9608('0x2c')]);}[_0x9608('0x25')](){const _0x37d868=this['context'][_0x9608('0x30')]['get'](_0x9608('0x1a'));return this['_lastColor']>=_0x37d868&&(this[_0x9608('0x7')]=0x0),new u(this[_0x9608('0x7')]++);}[_0x9608('0x39')](){const _0x1f1afc=this['context'][_0x9608('0x30')]['get'](_0x9608('0x10'));this['addUser']({'id':_0x1f1afc,'name':_0x20c9ba(this[_0x9608('0x0')],'Anonymous')})[_0x9608('0xe')]=!0x0;}}export class User{constructor(_0x6aa374){this['id']=_0x6aa374['id'],this[_0x9608('0x1c')]=_0x6aa374['color'],this[_0x9608('0x2d')]=_0x6aa374[_0x9608('0x2d')],this[_0x9608('0x11')]=_0x6aa374[_0x9608('0x11')],this[_0x9608('0xe')]=!0x1;}get[_0x9608('0x1')](){return this['_isAnonymous'];}get[_0x9608('0x2b')](){const _0x403f6c=this[_0x9608('0x2d')][_0x9608('0x31')]('\x20');return 0x1===_0x403f6c['length']?this[_0x9608('0x2e')](_0x403f6c[0x0]):this[_0x9608('0x2e')](_0x403f6c[0x0])+this[_0x9608('0x2e')](_0x403f6c[_0x403f6c[_0x9608('0xf')]-0x1]);}[_0x9608('0x2e')](_0x116772){return _0x116772[_0x9608('0x2')](0x0)[_0x9608('0x38')]();}}function a(_0x2cf6d6,_0x9ef23e=''){return''==(_0x9ef23e=_0x9ef23e[_0x9608('0x22')]())?_0x20c9ba(_0x2cf6d6,_0x9608('0x16')):_0x9ef23e;}class u{constructor(_0x115f46){this[_0x9608('0x13')]=_0x115f46;}[_0x9608('0x33')](){return _0x9608('0x27')+this[_0x9608('0x13')];}[_0x9608('0x26')](){return _0x9608('0x6')+this[_0x9608('0x13')];}[_0x9608('0x32')](){return _0x9608('0xa')+this[_0x9608('0x13')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4111a1,_0x5373ea){const t=_0x4111a1['t'];switch(_0x5373ea){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(_0x4a335f,_0x3cb6c9){const t=_0x4a335f['t'];switch(_0x3cb6c9){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 _0x58ff=['_removeConfirm','element','cancel','render','locale','showConfirm','isConfirm','focus','deregisterChild','fire','remove','submit','destroy','once','registerChild','confirmView'];(function(_0x278b12,_0x58ff2b){var _0x20658d=function(_0x584143){while(--_0x584143){_0x278b12['push'](_0x278b12['shift']());}};_0x20658d(++_0x58ff2b);}(_0x58ff,0x10a));var _0x2065=function(_0x278b12,_0x58ff2b){_0x278b12=_0x278b12-0x0;var _0x20658d=_0x58ff[_0x278b12];return _0x20658d;};import _0x55be19 from'./confirmview.js';export default function m(_0x479701){return class extends _0x479701{[_0x2065('0xb')](_0x4f2a7e,_0x249dc2){return this['confirmView']=new _0x55be19(this[_0x2065('0xa')]),this[_0x2065('0x5')][_0x2065('0x9')](),this['confirmView']['message']=_0x4f2a7e,this[_0x2065('0x5')]['once'](_0x2065('0x8'),()=>{this[_0x2065('0x6')]();}),this[_0x2065('0x5')][_0x2065('0x3')]('submit',()=>{this[_0x2065('0x6')]();}),_0x249dc2['appendChild'](this[_0x2065('0x5')][_0x2065('0x7')]),this[_0x2065('0x4')](this[_0x2065('0x5')]),this['element'][_0x2065('0xd')](),this['set'](_0x2065('0xc'),!0x0),new Promise(_0x43f216=>this[_0x2065('0x5')]['on'](_0x2065('0x1'),_0x43f216));}['cancelConfirm'](){this[_0x2065('0xc')]&&this[_0x2065('0x5')][_0x2065('0xf')](_0x2065('0x8'));}[_0x2065('0x6')](){this[_0x2065('0x7')]&&this[_0x2065('0x5')]&&this[_0x2065('0x5')]['element']&&(this[_0x2065('0x7')]['focus'](),this[_0x2065('0x5')][_0x2065('0x7')][_0x2065('0x0')](),this[_0x2065('0xe')](this[_0x2065('0x5')]),this[_0x2065('0xc')]=!0x1,this['confirmView'][_0x2065('0x2')](),this[_0x2065('0x5')]=void 0x0);}};}
23
+ var _0x106d=['remove','showConfirm','focus','appendChild','deregisterChild','render','message','registerChild','set','fire','element','cancelConfirm','locale','isConfirm','_removeConfirm','once','submit','confirmView','destroy'];(function(_0x2fe560,_0x106d5d){var _0x406d88=function(_0x23fd6d){while(--_0x23fd6d){_0x2fe560['push'](_0x2fe560['shift']());}};_0x406d88(++_0x106d5d);}(_0x106d,0x12d));var _0x406d=function(_0x2fe560,_0x106d5d){_0x2fe560=_0x2fe560-0x0;var _0x406d88=_0x106d[_0x2fe560];return _0x406d88;};import _0x254767 from'./confirmview.js';export default function m(_0x3d38c0){return class extends _0x3d38c0{[_0x406d('0x4')](_0x5c467f,_0x43f918){return this[_0x406d('0x1')]=new _0x254767(this[_0x406d('0xf')]),this[_0x406d('0x1')][_0x406d('0x8')](),this[_0x406d('0x1')][_0x406d('0x9')]=_0x5c467f,this[_0x406d('0x1')][_0x406d('0x12')]('cancel',()=>{this[_0x406d('0x11')]();}),this[_0x406d('0x1')]['once'](_0x406d('0x0'),()=>{this['_removeConfirm']();}),_0x43f918[_0x406d('0x6')](this[_0x406d('0x1')][_0x406d('0xd')]),this[_0x406d('0xa')](this[_0x406d('0x1')]),this[_0x406d('0xd')]['focus'](),this[_0x406d('0xb')](_0x406d('0x10'),!0x0),new Promise(_0x3ca58a=>this['confirmView']['on'](_0x406d('0x0'),_0x3ca58a));}[_0x406d('0xe')](){this[_0x406d('0x10')]&&this['confirmView'][_0x406d('0xc')]('cancel');}['_removeConfirm'](){this[_0x406d('0xd')]&&this['confirmView']&&this[_0x406d('0x1')][_0x406d('0xd')]&&(this[_0x406d('0xd')][_0x406d('0x5')](),this[_0x406d('0x1')]['element'][_0x406d('0x3')](),this[_0x406d('0x7')](this[_0x406d('0x1')]),this[_0x406d('0x10')]=!0x1,this[_0x406d('0x1')][_0x406d('0x2')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b85=['ck-thread__remove-confirm-','submit','setTemplate','div','fire','submitView','ck-thread__remove-confirm-inner','Yes','ck-thread__remove-confirm','icon','label','bindTemplate','_createButtonView','cancelView','cancel','Are\x20you\x20sure?','execute','extendTemplate','ck-thread__remove-confirm-actions'];(function(_0x57e1cd,_0x5b85e6){const _0xdec776=function(_0x3127e9){while(--_0x3127e9){_0x57e1cd['push'](_0x57e1cd['shift']());}};_0xdec776(++_0x5b85e6);}(_0x5b85,0x1d5));const _0xdec7=function(_0x57e1cd,_0x5b85e6){_0x57e1cd=_0x57e1cd-0x0;let _0xdec776=_0x5b85[_0x57e1cd];return _0xdec776;};import{View as _0x30938e,ButtonView as _0x63b97}from'ckeditor5/src/ui.js';import{icons as _0x1cdcbc}from'ckeditor5/src/core.js';import{getTranslation as _0x2e955b}from'./common-translations.js';export default class h extends _0x30938e{constructor(_0x45e93d){super(_0x45e93d);const _0xf67842=this[_0xdec7('0x11')];this['submitView']=this['_createButtonView'](_0x45e93d,_0x2e955b(_0x45e93d,_0xdec7('0xd')),_0x1cdcbc['check'],_0xdec7('0x7')),this['cancelView']=this[_0xdec7('0x12')](_0x45e93d,_0x2e955b(_0x45e93d,'No'),_0x1cdcbc['cancel'],_0xdec7('0x1')),this['set']('message',_0x2e955b(_0x45e93d,_0xdec7('0x2'))),this[_0xdec7('0x8')]({'tag':_0xdec7('0x9'),'attributes':{'class':[_0xdec7('0xe')]},'children':[{'tag':_0xdec7('0x9'),'attributes':{'class':_0xdec7('0xc')},'children':[{'tag':'p','children':[{'text':_0xf67842['to']('message')}]},{'tag':_0xdec7('0x9'),'attributes':{'class':_0xdec7('0x5')},'children':[this[_0xdec7('0xb')],this[_0xdec7('0x0')]]}]}]});}[_0xdec7('0x12')](_0x2c29cb,_0x517802,_0x25d645,_0x20e2b1){const _0x283299=new _0x63b97(_0x2c29cb);return _0x283299[_0xdec7('0x10')]=_0x517802,_0x283299[_0xdec7('0xf')]=_0x25d645,_0x283299[_0xdec7('0x4')]({'attributes':{'class':_0xdec7('0x6')+_0x20e2b1}}),_0x283299['on'](_0xdec7('0x3'),()=>this[_0xdec7('0xa')](_0x20e2b1)),_0x283299;}}
23
+ const _0x5001=['ck-thread__remove-confirm-inner','extendTemplate','set','div','icon','fire','Yes','setTemplate','execute','submitView','Are\x20you\x20sure?','ck-thread__remove-confirm','message','label','check','submit','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','cancel','cancelView','_createButtonView'];(function(_0x2d436d,_0x500178){const _0xa29674=function(_0x4f9b09){while(--_0x4f9b09){_0x2d436d['push'](_0x2d436d['shift']());}};_0xa29674(++_0x500178);}(_0x5001,0x122));const _0xa296=function(_0x2d436d,_0x500178){_0x2d436d=_0x2d436d-0x0;let _0xa29674=_0x5001[_0x2d436d];return _0xa29674;};import{View as _0x12c936,ButtonView as _0x3fe166}from'ckeditor5/src/ui.js';import{icons as _0x3631ca}from'ckeditor5/src/core.js';import{getTranslation as _0x464204}from'./common-translations.js';export default class h extends _0x12c936{constructor(_0x1c34d9){super(_0x1c34d9);const _0x50f3be=this['bindTemplate'];this[_0xa296('0xd')]=this[_0xa296('0x3')](_0x1c34d9,_0x464204(_0x1c34d9,_0xa296('0xa')),_0x3631ca[_0xa296('0x12')],_0xa296('0x13')),this[_0xa296('0x2')]=this[_0xa296('0x3')](_0x1c34d9,_0x464204(_0x1c34d9,'No'),_0x3631ca[_0xa296('0x1')],_0xa296('0x1')),this[_0xa296('0x6')](_0xa296('0x10'),_0x464204(_0x1c34d9,_0xa296('0xe'))),this[_0xa296('0xb')]({'tag':_0xa296('0x7'),'attributes':{'class':[_0xa296('0xf')]},'children':[{'tag':'div','attributes':{'class':_0xa296('0x4')},'children':[{'tag':'p','children':[{'text':_0x50f3be['to'](_0xa296('0x10'))}]},{'tag':'div','attributes':{'class':_0xa296('0x0')},'children':[this[_0xa296('0xd')],this[_0xa296('0x2')]]}]}]});}[_0xa296('0x3')](_0x335321,_0x3c9396,_0x1b3524,_0x2911f3){const _0x484623=new _0x3fe166(_0x335321);return _0x484623[_0xa296('0x11')]=_0x3c9396,_0x484623[_0xa296('0x8')]=_0x1b3524,_0x484623[_0xa296('0x5')]({'attributes':{'class':_0xa296('0x14')+_0x2911f3}}),_0x484623['on'](_0xa296('0xc'),()=>this[_0xa296('0x9')](_0x2911f3)),_0x484623;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x497f=['\x27Yesterday\x27\x20hh:mma','invalid-date-time-format','string','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat'];(function(_0x172c55,_0x497f55){const _0x44c2b8=function(_0x3ffaa5){while(--_0x3ffaa5){_0x172c55['push'](_0x172c55['shift']());}};_0x44c2b8(++_0x497f55);}(_0x497f,0xc5));const _0x44c2=function(_0x172c55,_0x497f55){_0x172c55=_0x172c55-0x0;let _0x44c2b8=_0x497f[_0x172c55];return _0x44c2b8;};import _0x35e9e5 from'date-fns/format/index.js';import _0x1553a8 from'date-fns/parseISO/index.js';import _0x3cb59b from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x44091f}from'ckeditor5/src/utils.js';export default function j(_0x1b852e={}){if(void 0x0!==_0x1b852e[_0x44c2('0x5')]&&'function'!=typeof _0x1b852e['dateTimeFormat'])throw new _0x44091f(_0x44c2('0x0'));return _0x11d05c=>{const _0x3c7471=_0x44c2('0x1')==typeof _0x11d05c?_0x1553a8(_0x11d05c):_0x11d05c,_0x274579=new Date(),_0x3b9e5f=_0x3cb59b(_0x274579,_0x3c7471);return _0x1b852e['dateTimeFormat']?_0x1b852e[_0x44c2('0x5')](_0x3c7471):_0x35e9e5(_0x3c7471,0x0===_0x3b9e5f?_0x44c2('0x4'):0x1===_0x3b9e5f?_0x44c2('0x6'):_0x3b9e5f<0x7?_0x44c2('0x2'):_0x44c2('0x3'));};}
23
+ const _0x432d=['dateTimeFormat','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Yesterday\x27\x20hh:mma','invalid-date-time-format'];(function(_0xb3fffd,_0x432d6e){const _0x2bf413=function(_0x4660e0){while(--_0x4660e0){_0xb3fffd['push'](_0xb3fffd['shift']());}};_0x2bf413(++_0x432d6e);}(_0x432d,0x93));const _0x2bf4=function(_0xb3fffd,_0x432d6e){_0xb3fffd=_0xb3fffd-0x0;let _0x2bf413=_0x432d[_0xb3fffd];return _0x2bf413;};import _0xc13965 from'date-fns/format/index.js';import _0x1d46b3 from'date-fns/parseISO/index.js';import _0x4c3ce5 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x57b235}from'ckeditor5/src/utils.js';export default function j(_0x5b35f9={}){if(void 0x0!==_0x5b35f9['dateTimeFormat']&&'function'!=typeof _0x5b35f9[_0x2bf4('0x3')])throw new _0x57b235(_0x2bf4('0x2'));return _0x2f15da=>{const _0x17223e='string'==typeof _0x2f15da?_0x1d46b3(_0x2f15da):_0x2f15da,_0x1b18d3=new Date(),_0x227274=_0x4c3ce5(_0x1b18d3,_0x17223e);return _0x5b35f9[_0x2bf4('0x3')]?_0x5b35f9[_0x2bf4('0x3')](_0x17223e):_0xc13965(_0x17223e,0x0===_0x227274?_0x2bf4('0x4'):0x1===_0x227274?_0x2bf4('0x1'):_0x227274<0x7?_0x2bf4('0x5'):_0x2bf4('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46f0=['mapViewToDom','length','values','name','markerNameToElements','push','map','mapper','filter','domConverter','sort','domElement','getClientRects','from','item'];(function(_0x1d25fa,_0x46f0ef){const _0x141a76=function(_0x16ff6f){while(--_0x16ff6f){_0x1d25fa['push'](_0x1d25fa['shift']());}};_0x141a76(++_0x46f0ef);}(_0x46f0,0xde));const _0x141a=function(_0x1d25fa,_0x46f0ef){_0x1d25fa=_0x1d25fa-0x0;let _0x141a76=_0x46f0[_0x1d25fa];return _0x141a76;};import{first as _0x1e1500}from'ckeditor5/src/utils.js';export default function k(_0x133c49,_0x1ed24c){const _0xae66d2=_0x133c49[_0x141a('0xa')][_0x141a('0x7')](_0x1ed24c[_0x141a('0x6')]);if(!_0xae66d2)return null;const _0x3358cf=_0x1e1500(_0xae66d2[_0x141a('0x5')]());return _0x133c49['view'][_0x141a('0xc')][_0x141a('0x3')](_0x3358cf)||null;}export function getAllMarkersDomElementsSorted(_0x130e91,_0x3127ee){if(0x0===_0x3127ee['length'])return null;const _0x5e35ee=[],_0x523c1f=_0x130e91['view']['domConverter'];for(const _0x36e476 of _0x3127ee){const _0x157747=_0x130e91[_0x141a('0xa')]['markerNameToElements'](_0x36e476[_0x141a('0x6')]);if(!_0x157747)continue;const _0x3b7a62=Array[_0x141a('0x1')](_0x157747)[_0x141a('0x9')](_0x57ec3a=>_0x523c1f[_0x141a('0x3')](_0x57ec3a))[_0x141a('0xb')](_0x2e5b0f=>!!_0x2e5b0f);_0x5e35ee[_0x141a('0x8')](..._0x3b7a62);}if(0x0===_0x5e35ee[_0x141a('0x4')])return null;const _0x176abf=[];for(const _0x273a3d of _0x5e35ee){const _0x5dcf1a=_0x273a3d[_0x141a('0x0')]()[_0x141a('0x2')](0x0);_0x5dcf1a&&_0x176abf[_0x141a('0x8')]({'x':_0x5dcf1a['x'],'y':_0x5dcf1a['y'],'domElement':_0x273a3d});}return 0x0===_0x176abf[_0x141a('0x4')]?null:(_0x176abf[_0x141a('0xd')]((_0x22314c,_0x1eb9e0)=>_0x22314c['y']-_0x1eb9e0['y']||_0x22314c['x']-_0x1eb9e0['x']),_0x176abf[_0x141a('0x9')](_0x6f9fe0=>_0x6f9fe0[_0x141a('0xe')]));}
23
+ const _0x5429=['filter','mapViewToDom','item','mapper','length','domConverter','name','markerNameToElements','from','values','sort','map','view','push'];(function(_0x4ba58f,_0x5429ba){const _0x488abd=function(_0x3dac1a){while(--_0x3dac1a){_0x4ba58f['push'](_0x4ba58f['shift']());}};_0x488abd(++_0x5429ba);}(_0x5429,0x1a2));const _0x488a=function(_0x4ba58f,_0x5429ba){_0x4ba58f=_0x4ba58f-0x0;let _0x488abd=_0x5429[_0x4ba58f];return _0x488abd;};import{first as _0xcc28b0}from'ckeditor5/src/utils.js';export default function k(_0x2ee05e,_0x5acd79){const _0x583548=_0x2ee05e[_0x488a('0x5')][_0x488a('0x9')](_0x5acd79[_0x488a('0x8')]);if(!_0x583548)return null;const _0x236445=_0xcc28b0(_0x583548[_0x488a('0xb')]());return _0x2ee05e[_0x488a('0x0')][_0x488a('0x7')][_0x488a('0x3')](_0x236445)||null;}export function getAllMarkersDomElementsSorted(_0x59beab,_0x5e6b78){if(0x0===_0x5e6b78[_0x488a('0x6')])return null;const _0x10b930=[],_0x3a9580=_0x59beab['view']['domConverter'];for(const _0x22665e of _0x5e6b78){const _0x4623da=_0x59beab[_0x488a('0x5')][_0x488a('0x9')](_0x22665e[_0x488a('0x8')]);if(!_0x4623da)continue;const _0x294de0=Array[_0x488a('0xa')](_0x4623da)[_0x488a('0xd')](_0x3d6fdc=>_0x3a9580[_0x488a('0x3')](_0x3d6fdc))[_0x488a('0x2')](_0x28f7c1=>!!_0x28f7c1);_0x10b930[_0x488a('0x1')](..._0x294de0);}if(0x0===_0x10b930[_0x488a('0x6')])return null;const _0xbf7a41=[];for(const _0x812667 of _0x10b930){const _0x17e492=_0x812667['getClientRects']()[_0x488a('0x4')](0x0);_0x17e492&&_0xbf7a41['push']({'x':_0x17e492['x'],'y':_0x17e492['y'],'domElement':_0x812667});}return 0x0===_0xbf7a41[_0x488a('0x6')]?null:(_0xbf7a41[_0x488a('0xc')]((_0xf9b57e,_0x409684)=>_0xf9b57e['y']-_0x409684['y']||_0xf9b57e['x']-_0x409684['x']),_0xbf7a41[_0x488a('0xd')](_0x512c7e=>_0x512c7e['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f4a=['toString','sort','charCodeAt','object','keys','isArray','number'];(function(_0x336af3,_0x2f4add){const _0x368860=function(_0x8e9cdf){while(--_0x8e9cdf){_0x336af3['push'](_0x336af3['shift']());}};_0x368860(++_0x2f4add);}(_0x2f4a,0x13c));const _0x3688=function(_0x336af3,_0x2f4add){_0x336af3=_0x336af3-0x0;let _0x368860=_0x2f4a[_0x336af3];return _0x368860;};export default function b(_0x1c0b1d){let _0x4a09c7=0x0,_0x394f16=0x0;for(const _0xe24c7 of A(_0x1c0b1d))_0x4a09c7=(_0x4a09c7<<0x5)-_0x4a09c7+_0xe24c7,_0x4a09c7&=_0x4a09c7,[_0x4a09c7,_0x394f16]=[_0x394f16,_0x4a09c7];return q(_0x4a09c7)+q(_0x394f16);}function*g(_0x2d7d07){_0x2d7d07?'boolean'==typeof _0x2d7d07?yield 0x1:Array[_0x3688('0x4')](_0x2d7d07)?yield*function*(_0x4e337c){for(const _0x53159b of _0x4e337c)yield*g(_0x53159b);}(_0x2d7d07):_0x3688('0x2')==typeof _0x2d7d07?yield*A(_0x2d7d07):'string'==typeof _0x2d7d07?yield*M(_0x2d7d07):_0x3688('0x5')==typeof _0x2d7d07&&(yield _0x2d7d07):yield 0x0;}function*A(_0x4c54d8){if(yield O('{'),_0x4c54d8){const _0x522fd3=Object[_0x3688('0x3')](_0x4c54d8)[_0x3688('0x0')]();for(const _0x2177f1 of _0x522fd3){yield*M(_0x2177f1),yield O(':');const _0x27832c=_0x4c54d8[_0x2177f1];yield*g(_0x27832c);}}yield O('}');}function*M(_0x5a8adc){yield O('\x22');for(const _0xae508 of _0x5a8adc)yield O(_0xae508);yield O('\x22');}function O(_0x32cbd1){return _0x32cbd1[_0x3688('0x1')](0x0);}function q(_0x40ad55){return(_0x40ad55*=Math['sign'](_0x40ad55))[_0x3688('0x6')](0x24);}
23
+ const _0x1ad3=['object','boolean','sign','charCodeAt','sort','number'];(function(_0x172cf0,_0x1ad36a){const _0x30f8ac=function(_0x45cd6c){while(--_0x45cd6c){_0x172cf0['push'](_0x172cf0['shift']());}};_0x30f8ac(++_0x1ad36a);}(_0x1ad3,0xc5));const _0x30f8=function(_0x172cf0,_0x1ad36a){_0x172cf0=_0x172cf0-0x0;let _0x30f8ac=_0x1ad3[_0x172cf0];return _0x30f8ac;};export default function b(_0x2c934c){let _0x3cfaa6=0x0,_0x3a661c=0x0;for(const _0x1d8a78 of A(_0x2c934c))_0x3cfaa6=(_0x3cfaa6<<0x5)-_0x3cfaa6+_0x1d8a78,_0x3cfaa6&=_0x3cfaa6,[_0x3cfaa6,_0x3a661c]=[_0x3a661c,_0x3cfaa6];return q(_0x3cfaa6)+q(_0x3a661c);}function*g(_0x2e373e){_0x2e373e?_0x30f8('0x2')==typeof _0x2e373e?yield 0x1:Array['isArray'](_0x2e373e)?yield*function*(_0x1149f9){for(const _0x57871d of _0x1149f9)yield*g(_0x57871d);}(_0x2e373e):_0x30f8('0x1')==typeof _0x2e373e?yield*A(_0x2e373e):'string'==typeof _0x2e373e?yield*M(_0x2e373e):_0x30f8('0x0')==typeof _0x2e373e&&(yield _0x2e373e):yield 0x0;}function*A(_0x2b8426){if(yield O('{'),_0x2b8426){const _0x247aa3=Object['keys'](_0x2b8426)[_0x30f8('0x5')]();for(const _0x39f6e6 of _0x247aa3){yield*M(_0x39f6e6),yield O(':');const _0x5eaddb=_0x2b8426[_0x39f6e6];yield*g(_0x5eaddb);}}yield O('}');}function*M(_0x47362f){yield O('\x22');for(const _0x504880 of _0x47362f)yield O(_0x504880);yield O('\x22');}function O(_0x20c4af){return _0x20c4af[_0x30f8('0x4')](0x0);}function q(_0x2bce71){return(_0x2bce71*=Math[_0x30f8('0x3')](_0x2bce71))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d51=['extraPlugins','DocumentOutline','rootsAttributes','initialData','every','config','WebSocketGateway','filter','names','includes','set','requires','removePlugins','find','has','WordCount','map','Autosave','_context','get','builtinPlugins','concat','pluginName','length','name','RevisionTracker','WProofreader','toolbar','plugins','constructor'];(function(_0xeef905,_0x4d5114){const _0x117675=function(_0x29884c){while(--_0x29884c){_0xeef905['push'](_0xeef905['shift']());}};_0x117675(++_0x4d5114);}(_0x4d51,0xa2));const _0x1176=function(_0xeef905,_0x4d5114){_0xeef905=_0xeef905-0x0;let _0x117675=_0x4d51[_0xeef905];return _0x117675;};const w=[_0x1176('0x15'),'context',_0x1176('0xf'),_0x1176('0x14')],W=[_0x1176('0x18'),_0x1176('0xd'),_0x1176('0x5'),_0x1176('0x3'),_0x1176('0x13'),_0x1176('0xe')];function v(_0x308c4b,_0x1b8821,_0x141f1d,_0x20263f=[]){const _0x31d6cb='string'==typeof _0x308c4b?_0x141f1d['get'](_0x308c4b)[_0x1176('0x11')]:_0x308c4b,_0x337d19=_0x31d6cb[_0x1176('0xa')]||_0x31d6cb[_0x1176('0xc')];if(_0x1b8821[_0x1176('0x2')](_0x337d19))return _0x1b8821[_0x1176('0x7')](_0x337d19);if(_0x1b8821[_0x1176('0x1c')](_0x337d19,!0x0),_0x337d19&&W[_0x1176('0x9')](_0x20263f)['includes'](_0x337d19))return _0x1b8821[_0x1176('0x1c')](_0x337d19,!0x1),!0x1;if(!_0x31d6cb[_0x1176('0x1d')])return _0x1b8821[_0x1176('0x1c')](_0x337d19,!0x0),!0x0;const _0x4568e8=_0x31d6cb[_0x1176('0x1d')][_0x1176('0x16')](_0x37dc35=>v(_0x37dc35,_0x1b8821,_0x141f1d,_0x20263f));return _0x1b8821['set'](_0x337d19,_0x4568e8),_0x4568e8;}export default function D(_0x136ec,_0x19bfeb){const _0x41e806={};for(const _0x43fcdf of _0x136ec[_0x1176('0x17')][_0x1176('0x1a')]())w[_0x1176('0x1b')](_0x43fcdf)||(_0x41e806[_0x43fcdf]=_0x136ec[_0x1176('0x17')][_0x1176('0x7')](_0x43fcdf));const _0x1a5be0=_0x41e806[_0x1176('0x10')]||[],_0x36b1bd=_0x136ec[_0x1176('0x11')][_0x1176('0x8')]||[],_0x10e72=_0x1a5be0[_0x1176('0xb')]?_0x1a5be0:_0x36b1bd,_0x22fed1=_0x41e806[_0x1176('0x12')]||[];delete _0x41e806[_0x1176('0x12')];const _0x54fdee=_0x41e806['removePlugins']||[];delete _0x41e806[_0x1176('0x0')];const _0x44c4bb=_0x136ec[_0x1176('0x6')]['config'][_0x1176('0x7')](_0x1176('0x10'))||[],_0x9fce80=_0x10e72['concat'](_0x22fed1)[_0x1176('0x9')](_0x44c4bb)[_0x1176('0x4')](_0x1b22f7=>'string'==typeof _0x1b22f7?_0x36b1bd[_0x1176('0x1')](_0xf27d1f=>_0xf27d1f['pluginName']==_0x1b22f7):_0x1b22f7)['filter'](_0x49ad11=>!_0x54fdee[_0x1176('0x1b')](_0x49ad11)&&!_0x54fdee[_0x1176('0x1b')](_0x49ad11[_0x1176('0xa')])),_0x34c563=Array['from'](new Set(_0x9fce80)),_0x442dc3=new Map();return _0x41e806[_0x1176('0x10')]=_0x34c563[_0x1176('0x19')](_0x2d8d38=>v(_0x2d8d38,_0x442dc3,_0x136ec[_0x1176('0x10')],_0x19bfeb)),_0x41e806;}
23
+ const _0xf8a3=['toolbar','requires','names','get','WProofreader','_context','RevisionTracker','pluginName','find','initialData','plugins','DocumentOutline','includes','string','extraPlugins','constructor','builtinPlugins','context','removePlugins','from','Autosave','concat','length','has','rootsAttributes','set','name','config'];(function(_0x1185f2,_0xf8a362){const _0x57f3a6=function(_0x5f529d){while(--_0x5f529d){_0x1185f2['push'](_0x1185f2['shift']());}};_0x57f3a6(++_0xf8a362);}(_0xf8a3,0xad));const _0x57f3=function(_0x1185f2,_0xf8a362){_0x1185f2=_0x1185f2-0x0;let _0x57f3a6=_0xf8a3[_0x1185f2];return _0x57f3a6;};const w=[_0x57f3('0x4'),_0x57f3('0xc'),_0x57f3('0x17'),_0x57f3('0x13')],W=['WebSocketGateway',_0x57f3('0x1'),_0x57f3('0xf'),'WordCount',_0x57f3('0x6'),_0x57f3('0x1b')];function v(_0x468b98,_0x1e767f,_0x39ddeb,_0x4587e4=[]){const _0x344008=_0x57f3('0x8')==typeof _0x468b98?_0x39ddeb[_0x57f3('0x1a')](_0x468b98)[_0x57f3('0xa')]:_0x468b98,_0x3b9f87=_0x344008[_0x57f3('0x2')]||_0x344008[_0x57f3('0x15')];if(_0x1e767f[_0x57f3('0x12')](_0x3b9f87))return _0x1e767f[_0x57f3('0x1a')](_0x3b9f87);if(_0x1e767f[_0x57f3('0x14')](_0x3b9f87,!0x0),_0x3b9f87&&W['concat'](_0x4587e4)[_0x57f3('0x7')](_0x3b9f87))return _0x1e767f[_0x57f3('0x14')](_0x3b9f87,!0x1),!0x1;if(!_0x344008['requires'])return _0x1e767f[_0x57f3('0x14')](_0x3b9f87,!0x0),!0x0;const _0xeb3a4=_0x344008[_0x57f3('0x18')]['every'](_0x6004e1=>v(_0x6004e1,_0x1e767f,_0x39ddeb,_0x4587e4));return _0x1e767f[_0x57f3('0x14')](_0x3b9f87,_0xeb3a4),_0xeb3a4;}export default function D(_0x206d8c,_0x52a21a){const _0x31a98b={};for(const _0x5b9caa of _0x206d8c[_0x57f3('0x16')][_0x57f3('0x19')]())w['includes'](_0x5b9caa)||(_0x31a98b[_0x5b9caa]=_0x206d8c['config'][_0x57f3('0x1a')](_0x5b9caa));const _0x12b190=_0x31a98b[_0x57f3('0x5')]||[],_0x55d4ee=_0x206d8c['constructor'][_0x57f3('0xb')]||[],_0x5db717=_0x12b190[_0x57f3('0x11')]?_0x12b190:_0x55d4ee,_0x217854=_0x31a98b[_0x57f3('0x9')]||[];delete _0x31a98b[_0x57f3('0x9')];const _0x4ebe00=_0x31a98b[_0x57f3('0xd')]||[];delete _0x31a98b[_0x57f3('0xd')];const _0x1dbbb2=_0x206d8c[_0x57f3('0x0')][_0x57f3('0x16')][_0x57f3('0x1a')](_0x57f3('0x5'))||[],_0x16503a=_0x5db717['concat'](_0x217854)[_0x57f3('0x10')](_0x1dbbb2)['map'](_0x2e34a3=>_0x57f3('0x8')==typeof _0x2e34a3?_0x55d4ee[_0x57f3('0x3')](_0x150c00=>_0x150c00['pluginName']==_0x2e34a3):_0x2e34a3)['filter'](_0x53f5bd=>!_0x4ebe00[_0x57f3('0x7')](_0x53f5bd)&&!_0x4ebe00[_0x57f3('0x7')](_0x53f5bd[_0x57f3('0x2')])),_0x26884e=Array[_0x57f3('0xe')](new Set(_0x16503a)),_0x474b1b=new Map();return _0x31a98b[_0x57f3('0x5')]=_0x26884e['filter'](_0x177dc0=>v(_0x177dc0,_0x474b1b,_0x206d8c[_0x57f3('0x5')],_0x52a21a)),_0x31a98b;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e4f=['getRange','push','document','change:range','start','markers','end','includes','selection','isEqual','length'];(function(_0x4607da,_0x4e4fe6){const _0x52cbc2=function(_0x40f259){while(--_0x40f259){_0x4607da['push'](_0x4607da['shift']());}};_0x52cbc2(++_0x4e4fe6);}(_0x4e4f,0x18a));const _0x52cb=function(_0x4607da,_0x4e4fe6){_0x4607da=_0x4607da-0x0;let _0x52cbc2=_0x4e4f[_0x4607da];return _0x52cbc2;};export default function z(_0x2794e5,_0x5fd553){const _0xf6cdcf=[];_0x2794e5[_0x52cb('0x4')][_0x52cb('0xa')]['on'](_0x52cb('0x5'),()=>{const _0x1dac3f=function(_0x11fbdf,_0x401c1b){const _0x3b4f52=[];for(const _0x4b93a9 of _0x11fbdf[_0x52cb('0x7')]){const _0x1cd819=_0x4b93a9[_0x52cb('0x2')]();(_0x1cd819['containsPosition'](_0x401c1b)||_0x1cd819[_0x52cb('0x6')][_0x52cb('0x0')](_0x401c1b)||_0x1cd819[_0x52cb('0x8')][_0x52cb('0x0')](_0x401c1b))&&_0x3b4f52[_0x52cb('0x3')](_0x4b93a9);}return _0x3b4f52;}(_0x2794e5,_0x2794e5[_0x52cb('0x4')][_0x52cb('0xa')]['focus']),_0x385467=[],_0x783b78=[],_0x136570=[];for(const _0x102c1a of _0xf6cdcf)_0x1dac3f[_0x52cb('0x9')](_0x102c1a)||_0x385467[_0x52cb('0x3')](_0x102c1a);for(const _0x81ebe5 of _0x1dac3f)_0xf6cdcf['includes'](_0x81ebe5)||_0x783b78[_0x52cb('0x3')](_0x81ebe5),_0x136570['push'](_0x81ebe5);(_0x385467[_0x52cb('0x1')]||_0x783b78[_0x52cb('0x1')])&&_0x5fd553({'left':_0x385467,'entered':_0x783b78}),_0xf6cdcf['length']=0x0,_0xf6cdcf['push'](..._0x136570);});}
23
+ const _0x5a57=['start','document','focus','selection','includes','containsPosition','isEqual','length','change:range','getRange','push'];(function(_0x54dd32,_0x5a5794){const _0x81494f=function(_0x5171eb){while(--_0x5171eb){_0x54dd32['push'](_0x54dd32['shift']());}};_0x81494f(++_0x5a5794);}(_0x5a57,0x1c8));const _0x8149=function(_0x54dd32,_0x5a5794){_0x54dd32=_0x54dd32-0x0;let _0x81494f=_0x5a57[_0x54dd32];return _0x81494f;};export default function z(_0x5b32c1,_0x41e66a){const _0x5b2496=[];_0x5b32c1[_0x8149('0x7')][_0x8149('0x9')]['on'](_0x8149('0x3'),()=>{const _0x49874e=function(_0x9acb72,_0x38924c){const _0x3af749=[];for(const _0x555148 of _0x9acb72['markers']){const _0x943941=_0x555148[_0x8149('0x4')]();(_0x943941[_0x8149('0x0')](_0x38924c)||_0x943941[_0x8149('0x6')][_0x8149('0x1')](_0x38924c)||_0x943941['end'][_0x8149('0x1')](_0x38924c))&&_0x3af749[_0x8149('0x5')](_0x555148);}return _0x3af749;}(_0x5b32c1,_0x5b32c1[_0x8149('0x7')][_0x8149('0x9')][_0x8149('0x8')]),_0x43e495=[],_0x4108f9=[],_0x2f764a=[];for(const _0x13ee5a of _0x5b2496)_0x49874e['includes'](_0x13ee5a)||_0x43e495[_0x8149('0x5')](_0x13ee5a);for(const _0x456555 of _0x49874e)_0x5b2496[_0x8149('0xa')](_0x456555)||_0x4108f9[_0x8149('0x5')](_0x456555),_0x2f764a[_0x8149('0x5')](_0x456555);(_0x43e495[_0x8149('0x2')]||_0x4108f9[_0x8149('0x2')])&&_0x41e66a({'left':_0x43e495,'entered':_0x4108f9}),_0x5b2496[_0x8149('0x2')]=0x0,_0x5b2496[_0x8149('0x5')](..._0x2f764a);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54b4=['startsWith','replace','push','length','join','split','match','indexOf','slice','pop','...','substring'];(function(_0xb3682e,_0x54b422){const _0x40214c=function(_0x569407){while(--_0x569407){_0xb3682e['push'](_0xb3682e['shift']());}};_0x40214c(++_0x54b422);}(_0x54b4,0x93));const _0x4021=function(_0xb3682e,_0x54b422){_0xb3682e=_0xb3682e-0x0;let _0x40214c=_0x54b4[_0xb3682e];return _0x40214c;};export default function Z(_0x132b00,{limit:_0x481732,suffix:_0x39f89f=_0x4021('0x7')}){const _0x25701b=[];let _0x10504d=0x0;const _0x3c736e=_0x132b00[_0x4021('0xa')](/</g,'\x0a<')[_0x4021('0xa')](/>/g,'>\x0a')[_0x4021('0xa')](/^\n/g,'')[_0x4021('0xa')](/\n$/g,'')[_0x4021('0x2')]('\x0a');for(let _0x56e0ed=0x0;_0x56e0ed<_0x3c736e[_0x4021('0x0')];_0x56e0ed++){let _0xfffec4=_0x3c736e[_0x56e0ed];const _0x183ddc=$(_0xfffec4);if(_0xfffec4[_0x4021('0x9')]('<')){if(_0x10504d>=_0x481732){const _0x448312=_0xfffec4[_0x4021('0x3')](/[a-zA-Z]+/);if(!_0x448312){_0x3c736e[_0x56e0ed]='';continue;}const _0x29ccc9=_0x448312[0x0];_0xfffec4['startsWith']('</')?(_0x25701b[_0x4021('0x0')]&&(_0xfffec4=''),_0x25701b[_0x4021('0x6')]()):(_0x25701b[_0x4021('0xb')](_0x29ccc9),_0xfffec4='');}}else{if(_0x10504d>=_0x481732)_0xfffec4='';else{if(_0x10504d+_0x183ddc[_0x4021('0x0')]>=_0x481732){let _0x436d56=_0x481732-_0x10504d;if('\x20'===_0x183ddc[_0x436d56-0x1])_0x436d56--;else{const _0x1bd84a=_0x183ddc[_0x4021('0x5')](_0x436d56)[_0x4021('0x4')]('\x20');-0x1!==_0x1bd84a?_0x436d56+=_0x1bd84a:_0x436d56=_0xfffec4[_0x4021('0x0')];}_0xfffec4=_0x183ddc['slice'](0x0,_0x436d56)[_0x4021('0x1')]('')+_0x39f89f,_0x10504d=_0x481732;}else _0x10504d+=_0x183ddc[_0x4021('0x0')];}}_0x3c736e[_0x56e0ed]=_0xfffec4;}return _0x3c736e[_0x4021('0x1')]('\x0a')[_0x4021('0xa')](/\n/g,'');}function $(_0x13767b){const _0x1c65a4=[];for(let _0x5b1035=0x0;_0x5b1035<_0x13767b['length'];_0x5b1035++){const _0x4ce223=_0x13767b[_0x4021('0x8')](_0x5b1035)[_0x4021('0x3')](/^&[a-z0-9#]+;/);if(_0x4ce223){const _0x487bfe=_0x4ce223[0x0];_0x1c65a4['push'](_0x487bfe),_0x5b1035+=_0x487bfe[_0x4021('0x0')]-0x1;}else _0x1c65a4[_0x4021('0xb')](_0x13767b[_0x5b1035]);}return _0x1c65a4;}
23
+ const _0x15af=['replace','pop','split','match','join','indexOf','slice','length','push','...','startsWith'];(function(_0x5aad33,_0x15af08){const _0x142992=function(_0x21f842){while(--_0x21f842){_0x5aad33['push'](_0x5aad33['shift']());}};_0x142992(++_0x15af08);}(_0x15af,0x1e1));const _0x1429=function(_0x5aad33,_0x15af08){_0x5aad33=_0x5aad33-0x0;let _0x142992=_0x15af[_0x5aad33];return _0x142992;};export default function Z(_0x2366cf,{limit:_0x211ba7,suffix:_0x376cfa=_0x1429('0x1')}){const _0x29cdf1=[];let _0x1481c8=0x0;const _0x4ac81c=_0x2366cf['replace'](/</g,'\x0a<')[_0x1429('0x3')](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')[_0x1429('0x5')]('\x0a');for(let _0x504efa=0x0;_0x504efa<_0x4ac81c['length'];_0x504efa++){let _0x4de99b=_0x4ac81c[_0x504efa];const _0x276391=$(_0x4de99b);if(_0x4de99b['startsWith']('<')){if(_0x1481c8>=_0x211ba7){const _0x10fea4=_0x4de99b[_0x1429('0x6')](/[a-zA-Z]+/);if(!_0x10fea4){_0x4ac81c[_0x504efa]='';continue;}const _0x24fff2=_0x10fea4[0x0];_0x4de99b[_0x1429('0x2')]('</')?(_0x29cdf1[_0x1429('0xa')]&&(_0x4de99b=''),_0x29cdf1[_0x1429('0x4')]()):(_0x29cdf1['push'](_0x24fff2),_0x4de99b='');}}else{if(_0x1481c8>=_0x211ba7)_0x4de99b='';else{if(_0x1481c8+_0x276391['length']>=_0x211ba7){let _0x3381e5=_0x211ba7-_0x1481c8;if('\x20'===_0x276391[_0x3381e5-0x1])_0x3381e5--;else{const _0x17a137=_0x276391['slice'](_0x3381e5)[_0x1429('0x8')]('\x20');-0x1!==_0x17a137?_0x3381e5+=_0x17a137:_0x3381e5=_0x4de99b['length'];}_0x4de99b=_0x276391[_0x1429('0x9')](0x0,_0x3381e5)[_0x1429('0x7')]('')+_0x376cfa,_0x1481c8=_0x211ba7;}else _0x1481c8+=_0x276391[_0x1429('0xa')];}}_0x4ac81c[_0x504efa]=_0x4de99b;}return _0x4ac81c['join']('\x0a')[_0x1429('0x3')](/\n/g,'');}function $(_0x3b0966){const _0x5cba38=[];for(let _0x581e20=0x0;_0x581e20<_0x3b0966['length'];_0x581e20++){const _0xb56348=_0x3b0966['substring'](_0x581e20)[_0x1429('0x6')](/^&[a-z0-9#]+;/);if(_0xb56348){const _0x1b79df=_0xb56348[0x0];_0x5cba38[_0x1429('0x0')](_0x1b79df),_0x581e20+=_0x1b79df[_0x1429('0xa')]-0x1;}else _0x5cba38[_0x1429('0x0')](_0x3b0966[_0x581e20]);}return _0x5cba38;}