@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231124.0 → 0.0.0-nightly-20231126.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-20231124.0",
3
+ "version": "0.0.0-nightly-20231126.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-20231124.0",
34
+ "ckeditor5": "0.0.0-nightly-20231126.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 _0x75bb=['pluginName','noPermissions','no-permissions','plugins','setPermissions','Permissions','get','enableReadOnlyMode','addCommentThread','context','comment:write','CommentsOnly','document:write','forceDisabled','disableReadOnlyMode','comment:admin','comment:modify_all','includes','has','config','permissions-set-permissions-invalid-channel-id','CommentsRepository','commands','collaboration.channelId','editors'];(function(_0x2ae1fd,_0x75bb7){const _0x19ed02=function(_0x52e978){while(--_0x52e978){_0x2ae1fd['push'](_0x2ae1fd['shift']());}};_0x19ed02(++_0x75bb7);}(_0x75bb,0x118));const _0x19ed=function(_0x2ae1fd,_0x75bb7){_0x2ae1fd=_0x2ae1fd-0x0;let _0x19ed02=_0x75bb[_0x2ae1fd];return _0x19ed02;};import{ContextPlugin as _0x4f0160,Editor as _0x10058a}from'ckeditor5/src/core';import{CKEditorError as _0x5de241}from'ckeditor5/src/utils';export default class n extends _0x4f0160{static get[_0x19ed('0x14')](){return _0x19ed('0x0');}[_0x19ed('0x18')](_0x4741ba,_0x598c78){let _0x2fe57d;if(_0x598c78||(_0x598c78=this[_0x19ed('0x4')][_0x19ed('0xe')][_0x19ed('0x1')](_0x19ed('0x12'))),this[_0x19ed('0x4')][_0x19ed('0xe')][_0x19ed('0x1')](_0x19ed('0x12'))==_0x598c78?_0x2fe57d=this[_0x19ed('0x4')]:_0x19ed('0x13')in this[_0x19ed('0x4')]&&this[_0x19ed('0x4')][_0x19ed('0x13')]&&(_0x2fe57d=this[_0x19ed('0x4')][_0x19ed('0x13')]['find'](_0x317978=>_0x317978[_0x19ed('0xe')][_0x19ed('0x1')](_0x19ed('0x12'))==_0x598c78)),!_0x2fe57d)throw new _0x5de241(_0x19ed('0xf'),null);const _0x2f287e=_0x2fe57d[_0x19ed('0x17')],_0x150d6a=_0x2f287e[_0x19ed('0xd')](_0x19ed('0x10'))?_0x2f287e[_0x19ed('0x1')](_0x19ed('0x10')):void 0x0,_0x16b583=_0x2f287e[_0x19ed('0xd')](_0x19ed('0x6'))&&_0x2f287e['get'](_0x19ed('0x6')),_0x3f7506=_0x4741ba[_0x19ed('0xc')](_0x19ed('0x7')),_0x3fa401=_0x4741ba['includes'](_0x19ed('0xb')),_0x5679fe=_0x4741ba[_0x19ed('0xc')](_0x19ed('0xa')),_0x1678d8=_0x4741ba[_0x19ed('0xc')](_0x19ed('0x5')),_0x2ed23e=_0x1678d8||_0x5679fe,_0x13d55c=_0x2ed23e||_0x3fa401,_0x1268cd=_0x3f7506||_0x2ed23e;(_0x16b583&&(_0x16b583['isEnabled']=!_0x3f7506&&_0x13d55c),_0x2fe57d instanceof _0x10058a)&&(!(_0x3f7506||_0x13d55c&&_0x150d6a)?_0x2fe57d[_0x19ed('0x2')](_0x19ed('0x16')):_0x2fe57d[_0x19ed('0x9')](_0x19ed('0x16')));if(_0x150d6a){_0x150d6a[_0x19ed('0x18')]({'admin':_0x5679fe,'modifyAll':_0x3fa401,'write':_0x1678d8,'resolve':_0x1268cd},_0x598c78);const _0x351238=_0x2fe57d instanceof _0x10058a&&_0x2fe57d[_0x19ed('0x11')][_0x19ed('0x1')](_0x19ed('0x3'));_0x351238&&(_0x2ed23e?_0x351238['clearForceDisabled'](_0x19ed('0x15')):_0x351238[_0x19ed('0x8')]('noPermissions'));}}}
23
+ const _0x169e=['permissions-set-permissions-invalid-channel-id','enableReadOnlyMode','comment:modify_all','context','get','comment:write','CommentsOnly','addCommentThread','editors','document:write','no-permissions','noPermissions','forceDisabled','find','comment:admin','collaboration.channelId','config','setPermissions','pluginName','has','Permissions','includes','disableReadOnlyMode','plugins'];(function(_0x48ae46,_0x169e43){const _0x5fdab=function(_0x549b84){while(--_0x549b84){_0x48ae46['push'](_0x48ae46['shift']());}};_0x5fdab(++_0x169e43);}(_0x169e,0x195));const _0x5fda=function(_0x48ae46,_0x169e43){_0x48ae46=_0x48ae46-0x0;let _0x5fdab=_0x169e[_0x48ae46];return _0x5fdab;};import{ContextPlugin as _0x588a7b,Editor as _0x1ff922}from'ckeditor5/src/core';import{CKEditorError as _0x3a7e2c}from'ckeditor5/src/utils';export default class n extends _0x588a7b{static get[_0x5fda('0x15')](){return _0x5fda('0x17');}[_0x5fda('0x14')](_0x75c45,_0x5c5ef9){let _0x464f66;if(_0x5c5ef9||(_0x5c5ef9=this[_0x5fda('0x6')][_0x5fda('0x13')]['get'](_0x5fda('0x12'))),this[_0x5fda('0x6')][_0x5fda('0x13')]['get']('collaboration.channelId')==_0x5c5ef9?_0x464f66=this[_0x5fda('0x6')]:'editors'in this[_0x5fda('0x6')]&&this[_0x5fda('0x6')]['editors']&&(_0x464f66=this['context'][_0x5fda('0xb')][_0x5fda('0x10')](_0x24c047=>_0x24c047[_0x5fda('0x13')][_0x5fda('0x7')](_0x5fda('0x12'))==_0x5c5ef9)),!_0x464f66)throw new _0x3a7e2c(_0x5fda('0x3'),null);const _0x29032f=_0x464f66[_0x5fda('0x2')],_0x311dff=_0x29032f['has']('CommentsRepository')?_0x29032f[_0x5fda('0x7')]('CommentsRepository'):void 0x0,_0x2c4f6a=_0x29032f[_0x5fda('0x16')](_0x5fda('0x9'))&&_0x29032f[_0x5fda('0x7')](_0x5fda('0x9')),_0x679ab8=_0x75c45['includes'](_0x5fda('0xc')),_0x2c81f3=_0x75c45[_0x5fda('0x0')](_0x5fda('0x5')),_0x315871=_0x75c45[_0x5fda('0x0')](_0x5fda('0x11')),_0x24abd5=_0x75c45[_0x5fda('0x0')](_0x5fda('0x8')),_0x4ac8db=_0x24abd5||_0x315871,_0x1fecb=_0x4ac8db||_0x2c81f3,_0x4df926=_0x679ab8||_0x4ac8db;(_0x2c4f6a&&(_0x2c4f6a['isEnabled']=!_0x679ab8&&_0x1fecb),_0x464f66 instanceof _0x1ff922)&&(!(_0x679ab8||_0x1fecb&&_0x311dff)?_0x464f66[_0x5fda('0x4')](_0x5fda('0xd')):_0x464f66[_0x5fda('0x1')](_0x5fda('0xd')));if(_0x311dff){_0x311dff[_0x5fda('0x14')]({'admin':_0x315871,'modifyAll':_0x2c81f3,'write':_0x24abd5,'resolve':_0x4df926},_0x5c5ef9);const _0xf1b942=_0x464f66 instanceof _0x1ff922&&_0x464f66['commands'][_0x5fda('0x7')](_0x5fda('0xa'));_0xf1b942&&(_0x4ac8db?_0xf1b942['clearForceDisabled'](_0x5fda('0xe')):_0xf1b942[_0x5fda('0xf')](_0x5fda('0xe')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2439=['ck-user__icon','setTemplate','content','div','push','ck\x20ck-user__name\x20ck-user__name--hidden','name','ck-user__avatar','ck-user','ck\x20ck-user__name','ck-user__img','extendTemplate','avatar','notificationView','ck-user__anonymous','initials'];(function(_0xfefe16,_0x243995){const _0x1c5a86=function(_0x2fbe95){while(--_0x2fbe95){_0xfefe16['push'](_0xfefe16['shift']());}};_0x1c5a86(++_0x243995);}(_0x2439,0xa6));const _0x1c5a=function(_0xfefe16,_0x243995){_0xfefe16=_0xfefe16-0x0;let _0x1c5a86=_0x2439[_0xfefe16];return _0x1c5a86;};import{View as _0x1a6599,IconView as _0x2a57b3}from'ckeditor5/src/ui';import _0x317610 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x1a6599{constructor(_0x1c7a32,_0x5a9e49,_0x12f1b6){super(_0x1c7a32),this[_0x1c5a('0x0')]=_0x5a9e49[_0x1c5a('0x0')],this[_0x1c5a('0x7')]=null;const _0x1b1aab=['ck',_0x1c5a('0x4')];if(_0x5a9e49['isAnonymous']&&_0x1b1aab[_0x1c5a('0xe')](_0x1c5a('0x8')),_0x5a9e49[_0x1c5a('0x6')]&&_0x1b1aab['push'](_0x1c5a('0x1')),_0x12f1b6){const _0x325d11=new _0x2a57b3();_0x325d11[_0x1c5a('0x5')]({'attributes':{'class':[_0x1c5a('0xa')]}}),_0x325d11[_0x1c5a('0xc')]=_0x317610,this[_0x1c5a('0x7')]={'tag':_0x1c5a('0xd'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x12f1b6},'children':[_0x325d11]};}const _0x54d6ba=[{'tag':_0x1c5a('0xd'),'attributes':{'class':_0x1b1aab,'style':{'background-image':_0x5a9e49[_0x1c5a('0x6')]?'url(\x27'+_0x5a9e49[_0x1c5a('0x6')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5a9e49[_0x1c5a('0x6')]?_0x1c5a('0xf'):_0x1c5a('0x3')},'children':[{'text':_0x5a9e49[_0x1c5a('0x9')]}]}];this[_0x1c5a('0x7')]&&_0x54d6ba[_0x1c5a('0xe')](this['notificationView']),this[_0x1c5a('0xb')]({'tag':_0x1c5a('0xd'),'attributes':{'class':['ck',_0x1c5a('0x2')],'data-user-id':_0x5a9e49['id']},'children':_0x54d6ba});}}
23
+ const _0x85cd=['ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','avatar','isAnonymous','initials','push','ck-user__notification','ck-user__icon','extendTemplate','notificationView','ck-user__img','div','setTemplate','content','name','ck-user__anonymous'];(function(_0x5b180c,_0x85cdef){const _0x59dc03=function(_0xbcd13b){while(--_0xbcd13b){_0x5b180c['push'](_0x5b180c['shift']());}};_0x59dc03(++_0x85cdef);}(_0x85cd,0x1e3));const _0x59dc=function(_0x5b180c,_0x85cdef){_0x5b180c=_0x5b180c-0x0;let _0x59dc03=_0x85cd[_0x5b180c];return _0x59dc03;};import{View as _0xe57160,IconView as _0x1d7b08}from'ckeditor5/src/ui';import _0x25d1dd from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0xe57160{constructor(_0x1e30f6,_0x121fdf,_0x324ab8){super(_0x1e30f6),this[_0x59dc('0xb')]=_0x121fdf['name'],this['notificationView']=null;const _0x18f776=['ck',_0x59dc('0x7')];if(_0x121fdf[_0x59dc('0x0')]&&_0x18f776['push'](_0x59dc('0xc')),_0x121fdf[_0x59dc('0xf')]&&_0x18f776[_0x59dc('0x2')]('ck-user__avatar'),_0x324ab8){const _0x580a00=new _0x1d7b08();_0x580a00[_0x59dc('0x5')]({'attributes':{'class':[_0x59dc('0x4')]}}),_0x580a00[_0x59dc('0xa')]=_0x25d1dd,this[_0x59dc('0x6')]={'tag':_0x59dc('0x8'),'attributes':{'class':['ck',_0x59dc('0x3')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x324ab8},'children':[_0x580a00]};}const _0x5c937f=[{'tag':_0x59dc('0x8'),'attributes':{'class':_0x18f776,'style':{'background-image':_0x121fdf[_0x59dc('0xf')]?'url(\x27'+_0x121fdf[_0x59dc('0xf')]+'\x27)':''}}},{'tag':_0x59dc('0x8'),'attributes':{'class':_0x121fdf['avatar']?_0x59dc('0xe'):'ck\x20ck-user__name'},'children':[{'text':_0x121fdf[_0x59dc('0x1')]}]}];this[_0x59dc('0x6')]&&_0x5c937f[_0x59dc('0x2')](this['notificationView']),this[_0x59dc('0x9')]({'tag':_0x59dc('0x8'),'attributes':{'class':['ck',_0x59dc('0xd')],'data-user-id':_0x121fdf['id']},'children':_0x5c937f});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x407f=['requires','toUpperCase','invalid-license-key','getSelectionClass','ck-user__marker--','users-me-already-defined','define','licenseKeyTrialLimit:time','Anonymous','_id','string','init','useAnonymousUser','licenseKeyValid','_addAnonymousUser','_licenseKeyCheckInterval','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','context','_getInitial','trial-license-key-reached-limit-revisions','_isAnonymous','defineMe','addUser','users.colorsCount','users-me-missing-user','anonymous-user','getBackgroundColorClass','trial-license-key-reached-limit-changes','name','licenseKeyInvalid','_getNextColor','trial-license-key-reached-limit-time','_lastColor','ck-user__bg-color--','color','pluginName','_locale','users','includes','users-add-duplicated-id','Users','isAnonymous','users.anonymousUserId','decorate','initials','licenseKeyTrial','getUser','info','length','_myId','licenseKey','get','add','getMarkerClass','avatar','users-add-invalid-id','getOperationAuthor','config','licenseKeyTrialLimit:revisions','destroy'];(function(_0x25618e,_0x407faf){const _0x48f5a7=function(_0x1a9cdf){while(--_0x1a9cdf){_0x25618e['push'](_0x25618e['shift']());}};_0x48f5a7(++_0x407faf);}(_0x407f,0x101));const _0x48f5=function(_0x25618e,_0x407faf){_0x25618e=_0x25618e-0x0;let _0x48f5a7=_0x407f[_0x25618e];return _0x48f5a7;};import{ContextPlugin as _0xe685d1}from'ckeditor5/src/core';import{Collection as _0x234412,CKEditorError as _0x3ab3b7}from'ckeditor5/src/utils';import _0x134086 from'./permissions';import{getTranslation as _0x432103}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0xe685d1{static get[_0x48f5('0x12')](){return _0x48f5('0x17');}static get[_0x48f5('0x2b')](){return[_0x134086];}constructor(_0xad7cc5){super(_0xad7cc5),this[_0x48f5('0x0')][_0x48f5('0x28')][_0x48f5('0x31')]('users.anonymousUserId',_0x48f5('0x8')),this['context']['config']['define'](_0x48f5('0x6'),0x8),this['users']=new _0x234412(),this[_0x48f5('0x13')]=_0xad7cc5['locale'],this['_licenseKeyCheckInterval']=null,this[_0x48f5('0xf')]=0x0,this[_0x48f5('0x20')]=null,this[_0x48f5('0x1a')]('getOperationAuthor');}[_0x48f5('0x36')](){const _0x404f9f=this[_0x48f5('0x0')];this['licenseKey']=_0x404f9f['config'][_0x48f5('0x22')](_0x48f5('0x21'));const _0x37d3ab=[_0x48f5('0x1c'),_0x48f5('0xc'),_0x48f5('0x38'),'licenseKeyTrialLimit:operations',_0x48f5('0x32'),'licenseKeyTrialLimit:revisions'];this[_0x48f5('0x3a')]=setInterval(()=>{let _0x502970;for(const _0x19b32f in _0x404f9f){const _0x2f45b3=_0x404f9f[_0x19b32f];if(_0x37d3ab[_0x48f5('0x15')](_0x2f45b3)){delete _0x404f9f[_0x19b32f],_0x502970=_0x2f45b3;break;}}if(_0x48f5('0xc')===_0x502970)throw clearInterval(this[_0x48f5('0x3a')]),new _0x3ab3b7(_0x48f5('0x2d'),null);if(_0x48f5('0x1c')===_0x502970&&console[_0x48f5('0x1e')](_0x48f5('0x3b')),'licenseKeyTrialLimit:operations'===_0x502970)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3ab3b7(_0x48f5('0xa'),null);if(_0x48f5('0x32')===_0x502970)throw clearInterval(this[_0x48f5('0x3a')]),new _0x3ab3b7(_0x48f5('0xe'),null);if(_0x48f5('0x29')===_0x502970)throw clearInterval(this[_0x48f5('0x3a')]),new _0x3ab3b7(_0x48f5('0x2'),null);_0x48f5('0x38')===_0x502970&&clearInterval(this[_0x48f5('0x3a')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x48f5('0x20')]?null:this[_0x48f5('0x1d')](this['_myId']);}[_0x48f5('0x5')]({id:_0x4f0e91,name:_0x561b80,..._0x53fb11}){if(!_0x4f0e91||_0x48f5('0x35')!=typeof _0x4f0e91)throw new _0x3ab3b7(_0x48f5('0x26'));if(this[_0x48f5('0x14')]['has'](_0x4f0e91))throw new _0x3ab3b7(_0x48f5('0x16'),null,{'id':_0x4f0e91});const _0x168aac={..._0x53fb11,'id':_0x4f0e91,'name':a(this[_0x48f5('0x13')],_0x561b80),'color':this[_0x48f5('0xd')]()};_0x168aac[_0x48f5('0xb')]=a(this[_0x48f5('0x13')],_0x168aac['name']);const _0xa59704=new User(_0x168aac);return this[_0x48f5('0x14')][_0x48f5('0x23')](_0xa59704),_0xa59704;}['getUser'](_0xf56d4e){return this[_0x48f5('0x14')][_0x48f5('0x22')](_0xf56d4e);}[_0x48f5('0x37')](){const _0x5995a2=this[_0x48f5('0x0')][_0x48f5('0x28')][_0x48f5('0x22')](_0x48f5('0x19'));this[_0x48f5('0x20')]||this[_0x48f5('0x4')](_0x5995a2);}['defineMe'](_0x58bb52){if(this[_0x48f5('0x20')])throw new _0x3ab3b7(_0x48f5('0x30'),null);if(!this[_0x48f5('0x1d')](_0x58bb52))throw new _0x3ab3b7(_0x48f5('0x7'),null);this[_0x48f5('0x20')]=_0x58bb52;}[_0x48f5('0x27')](){return this['me'];}[_0x48f5('0x2a')](){super['destroy'](),clearInterval(this[_0x48f5('0x3a')]);}[_0x48f5('0xd')](){const _0x5f2e09=this[_0x48f5('0x0')][_0x48f5('0x28')][_0x48f5('0x22')](_0x48f5('0x6'));return this['_lastColor']>=_0x5f2e09&&(this[_0x48f5('0xf')]=0x0),new u(this[_0x48f5('0xf')]++);}[_0x48f5('0x39')](){const _0x4d4bb2=this[_0x48f5('0x0')][_0x48f5('0x28')]['get'](_0x48f5('0x19'));this[_0x48f5('0x5')]({'id':_0x4d4bb2,'name':_0x432103(this['_locale'],_0x48f5('0x33'))})[_0x48f5('0x3')]=!0x0;}}export class User{constructor(_0x1f91a4){this['id']=_0x1f91a4['id'],this[_0x48f5('0x11')]=_0x1f91a4[_0x48f5('0x11')],this[_0x48f5('0xb')]=_0x1f91a4[_0x48f5('0xb')],this[_0x48f5('0x25')]=_0x1f91a4['avatar'],this['_isAnonymous']=!0x1;}get[_0x48f5('0x18')](){return this[_0x48f5('0x3')];}get[_0x48f5('0x1b')](){const _0x361f08=this[_0x48f5('0xb')]['split']('\x20');return 0x1===_0x361f08[_0x48f5('0x1f')]?this[_0x48f5('0x1')](_0x361f08[0x0]):this[_0x48f5('0x1')](_0x361f08[0x0])+this[_0x48f5('0x1')](_0x361f08[_0x361f08['length']-0x1]);}[_0x48f5('0x1')](_0x214085){return _0x214085['charAt'](0x0)[_0x48f5('0x2c')]();}}function a(_0x36d06a,_0x3fd8e2=''){return''==(_0x3fd8e2=_0x3fd8e2['trim']())?_0x432103(_0x36d06a,_0x48f5('0x33')):_0x3fd8e2;}class u{constructor(_0x31f07f){this[_0x48f5('0x34')]=_0x31f07f;}[_0x48f5('0x9')](){return _0x48f5('0x10')+this[_0x48f5('0x34')];}[_0x48f5('0x2e')](){return'ck-user__selection--'+this[_0x48f5('0x34')];}[_0x48f5('0x24')](){return _0x48f5('0x2f')+this[_0x48f5('0x34')];}}
23
+ const _0x3745=['licenseKeyValid','requires','getUser','string','avatar','users','config','toUpperCase','get','destroy','_getInitial','ck-user__marker--','length','getOperationAuthor','Anonymous','name','anonymous-user','licenseKeyTrialLimit:operations','users-add-invalid-id','ck-user__bg-color--','includes','getBackgroundColorClass','users-me-already-defined','_myId','has','trial-license-key-reached-limit-time','getSelectionClass','info','init','define','_id','_lastColor','_locale','pluginName','_licenseKeyCheckInterval','context','trial-license-key-reached-limit-revisions','decorate','licenseKeyTrialLimit:revisions','locale','charAt','addUser','ck-user__selection--','users.anonymousUserId','isAnonymous','_getNextColor','_isAnonymous','licenseKeyTrialLimit:time','_addAnonymousUser','getMarkerClass','trial-license-key-reached-limit-changes','licenseKeyTrial','users-me-missing-user','licenseKey','useAnonymousUser','color','Users','licenseKeyInvalid','invalid-license-key','add'];(function(_0x261009,_0x37450b){const _0x91d9d1=function(_0x55b6d4){while(--_0x55b6d4){_0x261009['push'](_0x261009['shift']());}};_0x91d9d1(++_0x37450b);}(_0x3745,0x104));const _0x91d9=function(_0x261009,_0x37450b){_0x261009=_0x261009-0x0;let _0x91d9d1=_0x3745[_0x261009];return _0x91d9d1;};import{ContextPlugin as _0x29897c}from'ckeditor5/src/core';import{Collection as _0x413b68,CKEditorError as _0x4cba14}from'ckeditor5/src/utils';import _0x309ddf from'./permissions';import{getTranslation as _0x36cac6}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x29897c{static get[_0x91d9('0xd')](){return _0x91d9('0x24');}static get[_0x91d9('0x29')](){return[_0x309ddf];}constructor(_0x297022){super(_0x297022),this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x9')](_0x91d9('0x17'),_0x91d9('0x38')),this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x9')]('users.colorsCount',0x8),this[_0x91d9('0x2d')]=new _0x413b68(),this[_0x91d9('0xc')]=_0x297022[_0x91d9('0x13')],this[_0x91d9('0xe')]=null,this[_0x91d9('0xb')]=0x0,this[_0x91d9('0x3')]=null,this[_0x91d9('0x11')](_0x91d9('0x35'));}[_0x91d9('0x8')](){const _0x3535c2=this[_0x91d9('0xf')];this[_0x91d9('0x21')]=_0x3535c2[_0x91d9('0x2e')]['get'](_0x91d9('0x21'));const _0x5955f7=[_0x91d9('0x1f'),_0x91d9('0x25'),_0x91d9('0x28'),_0x91d9('0x39'),_0x91d9('0x1b'),_0x91d9('0x12')];this[_0x91d9('0xe')]=setInterval(()=>{let _0x50d546;for(const _0x5dee0e in _0x3535c2){const _0x58f3b5=_0x3535c2[_0x5dee0e];if(_0x5955f7[_0x91d9('0x0')](_0x58f3b5)){delete _0x3535c2[_0x5dee0e],_0x50d546=_0x58f3b5;break;}}if('licenseKeyInvalid'===_0x50d546)throw clearInterval(this[_0x91d9('0xe')]),new _0x4cba14(_0x91d9('0x26'),null);if('licenseKeyTrial'===_0x50d546&&console[_0x91d9('0x7')]('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.'),_0x91d9('0x39')===_0x50d546)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4cba14(_0x91d9('0x1e'),null);if(_0x91d9('0x1b')===_0x50d546)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4cba14(_0x91d9('0x5'),null);if(_0x91d9('0x12')===_0x50d546)throw clearInterval(this[_0x91d9('0xe')]),new _0x4cba14(_0x91d9('0x10'),null);_0x91d9('0x28')===_0x50d546&&clearInterval(this[_0x91d9('0xe')]);},0x3e8),this[_0x91d9('0x1c')]();}get['me'](){return null==this[_0x91d9('0x3')]?null:this[_0x91d9('0x2a')](this[_0x91d9('0x3')]);}[_0x91d9('0x15')]({id:_0x47b262,name:_0x4e57b9,..._0x4b0462}){if(!_0x47b262||_0x91d9('0x2b')!=typeof _0x47b262)throw new _0x4cba14(_0x91d9('0x3a'));if(this[_0x91d9('0x2d')][_0x91d9('0x4')](_0x47b262))throw new _0x4cba14('users-add-duplicated-id',null,{'id':_0x47b262});const _0x2b9b11={..._0x4b0462,'id':_0x47b262,'name':a(this[_0x91d9('0xc')],_0x4e57b9),'color':this[_0x91d9('0x19')]()};_0x2b9b11[_0x91d9('0x37')]=a(this[_0x91d9('0xc')],_0x2b9b11[_0x91d9('0x37')]);const _0x4985e0=new User(_0x2b9b11);return this[_0x91d9('0x2d')][_0x91d9('0x27')](_0x4985e0),_0x4985e0;}['getUser'](_0x3e5c5e){return this['users'][_0x91d9('0x30')](_0x3e5c5e);}[_0x91d9('0x22')](){const _0x557dc2=this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x30')](_0x91d9('0x17'));this[_0x91d9('0x3')]||this['defineMe'](_0x557dc2);}['defineMe'](_0x566c3a){if(this['_myId'])throw new _0x4cba14(_0x91d9('0x2'),null);if(!this[_0x91d9('0x2a')](_0x566c3a))throw new _0x4cba14(_0x91d9('0x20'),null);this[_0x91d9('0x3')]=_0x566c3a;}[_0x91d9('0x35')](){return this['me'];}['destroy'](){super[_0x91d9('0x31')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x91d9('0x19')](){const _0x480c56=this['context'][_0x91d9('0x2e')][_0x91d9('0x30')]('users.colorsCount');return this[_0x91d9('0xb')]>=_0x480c56&&(this[_0x91d9('0xb')]=0x0),new u(this[_0x91d9('0xb')]++);}[_0x91d9('0x1c')](){const _0x3c59fb=this[_0x91d9('0xf')][_0x91d9('0x2e')][_0x91d9('0x30')](_0x91d9('0x17'));this[_0x91d9('0x15')]({'id':_0x3c59fb,'name':_0x36cac6(this['_locale'],_0x91d9('0x36'))})[_0x91d9('0x1a')]=!0x0;}}export class User{constructor(_0x27c092){this['id']=_0x27c092['id'],this[_0x91d9('0x23')]=_0x27c092[_0x91d9('0x23')],this[_0x91d9('0x37')]=_0x27c092[_0x91d9('0x37')],this[_0x91d9('0x2c')]=_0x27c092[_0x91d9('0x2c')],this[_0x91d9('0x1a')]=!0x1;}get[_0x91d9('0x18')](){return this[_0x91d9('0x1a')];}get['initials'](){const _0x5bffe9=this[_0x91d9('0x37')]['split']('\x20');return 0x1===_0x5bffe9[_0x91d9('0x34')]?this[_0x91d9('0x32')](_0x5bffe9[0x0]):this[_0x91d9('0x32')](_0x5bffe9[0x0])+this[_0x91d9('0x32')](_0x5bffe9[_0x5bffe9[_0x91d9('0x34')]-0x1]);}['_getInitial'](_0x4abcde){return _0x4abcde[_0x91d9('0x14')](0x0)[_0x91d9('0x2f')]();}}function a(_0x225611,_0x20f72c=''){return''==(_0x20f72c=_0x20f72c['trim']())?_0x36cac6(_0x225611,_0x91d9('0x36')):_0x20f72c;}class u{constructor(_0x1bb217){this[_0x91d9('0xa')]=_0x1bb217;}[_0x91d9('0x1')](){return _0x91d9('0x3b')+this['_id'];}[_0x91d9('0x6')](){return _0x91d9('0x16')+this[_0x91d9('0xa')];}[_0x91d9('0x1d')](){return _0x91d9('0x33')+this[_0x91d9('0xa')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x25589a,_0x127358){const t=_0x25589a['t'];switch(_0x127358){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(_0x1048ca,_0x130587){const t=_0x1048ca['t'];switch(_0x130587){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 _0x539f=['isConfirm','submit','deregisterChild','_removeConfirm','confirmView','remove','locale','registerChild','focus','once','element','render','destroy','cancel','fire'];(function(_0x35627b,_0x539fa7){var _0x956fb3=function(_0x117853){while(--_0x117853){_0x35627b['push'](_0x35627b['shift']());}};_0x956fb3(++_0x539fa7);}(_0x539f,0x71));var _0x956f=function(_0x35627b,_0x539fa7){_0x35627b=_0x35627b-0x0;var _0x956fb3=_0x539f[_0x35627b];return _0x956fb3;};import _0x5ac6b5 from'./confirmview';export default function m(_0x5289a2){return class extends _0x5289a2{['showConfirm'](_0x560366,_0x1a0a91){return this[_0x956f('0xb')]=new _0x5ac6b5(this[_0x956f('0xd')]),this[_0x956f('0xb')][_0x956f('0x3')](),this[_0x956f('0xb')]['message']=_0x560366,this[_0x956f('0xb')][_0x956f('0x1')](_0x956f('0x5'),()=>{this['_removeConfirm']();}),this[_0x956f('0xb')]['once'](_0x956f('0x8'),()=>{this[_0x956f('0xa')]();}),_0x1a0a91['appendChild'](this[_0x956f('0xb')][_0x956f('0x2')]),this[_0x956f('0xe')](this[_0x956f('0xb')]),this['element'][_0x956f('0x0')](),this['set'](_0x956f('0x7'),!0x0),new Promise(_0x326544=>this[_0x956f('0xb')]['on'](_0x956f('0x8'),_0x326544));}['cancelConfirm'](){this['isConfirm']&&this[_0x956f('0xb')][_0x956f('0x6')](_0x956f('0x5'));}['_removeConfirm'](){this[_0x956f('0x2')]&&this['confirmView']&&this[_0x956f('0xb')][_0x956f('0x2')]&&(this[_0x956f('0x2')]['focus'](),this[_0x956f('0xb')][_0x956f('0x2')][_0x956f('0xc')](),this[_0x956f('0x9')](this[_0x956f('0xb')]),this['isConfirm']=!0x1,this[_0x956f('0xb')][_0x956f('0x4')](),this['confirmView']=void 0x0);}};}
23
+ var _0x3b01=['message','registerChild','set','fire','showConfirm','remove','focus','confirmView','element','_removeConfirm','once','destroy','submit','cancel','isConfirm'];(function(_0x1e2e1d,_0x3b010e){var _0x230490=function(_0x1b4b26){while(--_0x1b4b26){_0x1e2e1d['push'](_0x1e2e1d['shift']());}};_0x230490(++_0x3b010e);}(_0x3b01,0xe2));var _0x2304=function(_0x1e2e1d,_0x3b010e){_0x1e2e1d=_0x1e2e1d-0x0;var _0x230490=_0x3b01[_0x1e2e1d];return _0x230490;};import _0x3f3bde from'./confirmview';export default function m(_0x2365ae){return class extends _0x2365ae{[_0x2304('0x3')](_0xcc4da4,_0x4ef75a){return this['confirmView']=new _0x3f3bde(this['locale']),this[_0x2304('0x6')]['render'](),this[_0x2304('0x6')][_0x2304('0xe')]=_0xcc4da4,this[_0x2304('0x6')][_0x2304('0x9')](_0x2304('0xc'),()=>{this[_0x2304('0x8')]();}),this[_0x2304('0x6')][_0x2304('0x9')](_0x2304('0xb'),()=>{this[_0x2304('0x8')]();}),_0x4ef75a['appendChild'](this[_0x2304('0x6')][_0x2304('0x7')]),this[_0x2304('0x0')](this[_0x2304('0x6')]),this[_0x2304('0x7')][_0x2304('0x5')](),this[_0x2304('0x1')](_0x2304('0xd'),!0x0),new Promise(_0x190c4a=>this[_0x2304('0x6')]['on'](_0x2304('0xb'),_0x190c4a));}['cancelConfirm'](){this[_0x2304('0xd')]&&this[_0x2304('0x6')][_0x2304('0x2')](_0x2304('0xc'));}[_0x2304('0x8')](){this['element']&&this[_0x2304('0x6')]&&this[_0x2304('0x6')][_0x2304('0x7')]&&(this[_0x2304('0x7')]['focus'](),this[_0x2304('0x6')]['element'][_0x2304('0x4')](),this['deregisterChild'](this['confirmView']),this[_0x2304('0xd')]=!0x1,this['confirmView'][_0x2304('0xa')](),this[_0x2304('0x6')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b31=['submit','icon','check','ck-thread__remove-confirm-actions','div','cancelView','ck-thread__remove-confirm-','extendTemplate','ck-thread__remove-confirm','execute','message','submitView','Are\x20you\x20sure?','cancel','ck-thread__remove-confirm-inner','_createButtonView','fire'];(function(_0x5d0279,_0x3b31a1){const _0xdd9d2=function(_0xb28849){while(--_0xb28849){_0x5d0279['push'](_0x5d0279['shift']());}};_0xdd9d2(++_0x3b31a1);}(_0x3b31,0x1eb));const _0xdd9d=function(_0x5d0279,_0x3b31a1){_0x5d0279=_0x5d0279-0x0;let _0xdd9d2=_0x3b31[_0x5d0279];return _0xdd9d2;};import{View as _0x573db9,ButtonView as _0x165e1f}from'ckeditor5/src/ui';import{icons as _0xaf611d}from'ckeditor5/src/core';import{getTranslation as _0x1a3422}from'./common-translations';export default class h extends _0x573db9{constructor(_0x5c28e0){super(_0x5c28e0);const _0x11c5b8=this['bindTemplate'];this[_0xdd9d('0xd')]=this[_0xdd9d('0x0')](_0x5c28e0,_0x1a3422(_0x5c28e0,'Yes'),_0xaf611d[_0xdd9d('0x4')],_0xdd9d('0x2')),this[_0xdd9d('0x7')]=this[_0xdd9d('0x0')](_0x5c28e0,_0x1a3422(_0x5c28e0,'No'),_0xaf611d[_0xdd9d('0xf')],_0xdd9d('0xf')),this['set'](_0xdd9d('0xc'),_0x1a3422(_0x5c28e0,_0xdd9d('0xe'))),this['setTemplate']({'tag':_0xdd9d('0x6'),'attributes':{'class':[_0xdd9d('0xa')]},'children':[{'tag':_0xdd9d('0x6'),'attributes':{'class':_0xdd9d('0x10')},'children':[{'tag':'p','children':[{'text':_0x11c5b8['to'](_0xdd9d('0xc'))}]},{'tag':'div','attributes':{'class':_0xdd9d('0x5')},'children':[this['submitView'],this[_0xdd9d('0x7')]]}]}]});}['_createButtonView'](_0x30e40d,_0x564f47,_0xabf961,_0x427c6b){const _0x4d0aae=new _0x165e1f(_0x30e40d);return _0x4d0aae['label']=_0x564f47,_0x4d0aae[_0xdd9d('0x3')]=_0xabf961,_0x4d0aae[_0xdd9d('0x9')]({'attributes':{'class':_0xdd9d('0x8')+_0x427c6b}}),_0x4d0aae['on'](_0xdd9d('0xb'),()=>this[_0xdd9d('0x1')](_0x427c6b)),_0x4d0aae;}}
23
+ const _0x5153=['ck-thread__remove-confirm-','execute','_createButtonView','extendTemplate','message','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','submitView','fire','cancelView','cancel','setTemplate','div','icon','submit','set','ck-thread__remove-confirm','Yes'];(function(_0x589bbf,_0x5153cc){const _0xf06cc0=function(_0x57766b){while(--_0x57766b){_0x589bbf['push'](_0x589bbf['shift']());}};_0xf06cc0(++_0x5153cc);}(_0x5153,0x1d8));const _0xf06c=function(_0x589bbf,_0x5153cc){_0x589bbf=_0x589bbf-0x0;let _0xf06cc0=_0x5153[_0x589bbf];return _0xf06cc0;};import{View as _0x1983f9,ButtonView as _0x9f1325}from'ckeditor5/src/ui';import{icons as _0x38f232}from'ckeditor5/src/core';import{getTranslation as _0x34ae2d}from'./common-translations';export default class h extends _0x1983f9{constructor(_0x129394){super(_0x129394);const _0x4c8b30=this['bindTemplate'];this[_0xf06c('0x3')]=this[_0xf06c('0x10')](_0x129394,_0x34ae2d(_0x129394,_0xf06c('0xd')),_0x38f232['check'],_0xf06c('0xa')),this['cancelView']=this[_0xf06c('0x10')](_0x129394,_0x34ae2d(_0x129394,'No'),_0x38f232[_0xf06c('0x6')],'cancel'),this[_0xf06c('0xb')](_0xf06c('0x0'),_0x34ae2d(_0x129394,_0xf06c('0x2'))),this[_0xf06c('0x7')]({'tag':_0xf06c('0x8'),'attributes':{'class':[_0xf06c('0xc')]},'children':[{'tag':_0xf06c('0x8'),'attributes':{'class':_0xf06c('0x1')},'children':[{'tag':'p','children':[{'text':_0x4c8b30['to'](_0xf06c('0x0'))}]},{'tag':_0xf06c('0x8'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0xf06c('0x5')]]}]}]});}[_0xf06c('0x10')](_0x1c346c,_0x19177c,_0x2b6a05,_0xa6b7e4){const _0x2dd868=new _0x9f1325(_0x1c346c);return _0x2dd868['label']=_0x19177c,_0x2dd868[_0xf06c('0x9')]=_0x2b6a05,_0x2dd868[_0xf06c('0x11')]({'attributes':{'class':_0xf06c('0xe')+_0xa6b7e4}}),_0x2dd868['on'](_0xf06c('0xf'),()=>this[_0xf06c('0x4')](_0xa6b7e4)),_0x2dd868;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32ae=['\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','invalid-date-time-format','\x27Today\x27\x20hh:mma','dateTimeFormat'];(function(_0x144608,_0x32aeef){const _0xbaaa18=function(_0x36526c){while(--_0x36526c){_0x144608['push'](_0x144608['shift']());}};_0xbaaa18(++_0x32aeef);}(_0x32ae,0xb9));const _0xbaaa=function(_0x144608,_0x32aeef){_0x144608=_0x144608-0x0;let _0xbaaa18=_0x32ae[_0x144608];return _0xbaaa18;};import _0x6dc59b from'date-fns/format';import _0x1982f2 from'date-fns/parseISO';import _0x4a21da from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x429033}from'ckeditor5/src/utils';export default function E(_0x136a75={}){if(void 0x0!==_0x136a75['dateTimeFormat']&&'function'!=typeof _0x136a75[_0xbaaa('0x4')])throw new _0x429033(_0xbaaa('0x2'));return _0x2dee2e=>{const _0x4cecfb='string'==typeof _0x2dee2e?_0x1982f2(_0x2dee2e):_0x2dee2e,_0x4765d8=new Date(),_0x3c29ba=_0x4a21da(_0x4765d8,_0x4cecfb);return _0x136a75[_0xbaaa('0x4')]?_0x136a75[_0xbaaa('0x4')](_0x4cecfb):_0x6dc59b(_0x4cecfb,0x0===_0x3c29ba?_0xbaaa('0x3'):0x1===_0x3c29ba?'\x27Yesterday\x27\x20hh:mma':_0x3c29ba<0x7?_0xbaaa('0x0'):_0xbaaa('0x1'));};}
23
+ const _0x2ecb=['\x27Yesterday\x27\x20hh:mma','invalid-date-time-format','function','string','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma'];(function(_0x44afbb,_0x2ecbbd){const _0x580f41=function(_0x43a484){while(--_0x43a484){_0x44afbb['push'](_0x44afbb['shift']());}};_0x580f41(++_0x2ecbbd);}(_0x2ecb,0x184));const _0x580f=function(_0x44afbb,_0x2ecbbd){_0x44afbb=_0x44afbb-0x0;let _0x580f41=_0x2ecb[_0x44afbb];return _0x580f41;};import _0xdd6d83 from'date-fns/format';import _0x574f5b from'date-fns/parseISO';import _0x176a50 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x5d670c}from'ckeditor5/src/utils';export default function E(_0x244c79={}){if(void 0x0!==_0x244c79['dateTimeFormat']&&_0x580f('0x6')!=typeof _0x244c79[_0x580f('0x2')])throw new _0x5d670c(_0x580f('0x5'));return _0x2f18b0=>{const _0x1972cd=_0x580f('0x7')==typeof _0x2f18b0?_0x574f5b(_0x2f18b0):_0x2f18b0,_0x26c8a0=new Date(),_0x245c84=_0x176a50(_0x26c8a0,_0x1972cd);return _0x244c79['dateTimeFormat']?_0x244c79[_0x580f('0x2')](_0x1972cd):_0xdd6d83(_0x1972cd,0x0===_0x245c84?_0x580f('0x3'):0x1===_0x245c84?_0x580f('0x4'):_0x245c84<0x7?_0x580f('0x1'):_0x580f('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c29=['from','view','domConverter','map','markerNameToElements','domElement','length','push','item','mapper','values','getClientRects','name','mapViewToDom'];(function(_0x20fc52,_0x2c29e9){const _0xc85922=function(_0x4744cc){while(--_0x4744cc){_0x20fc52['push'](_0x20fc52['shift']());}};_0xc85922(++_0x2c29e9);}(_0x2c29,0xee));const _0xc859=function(_0x20fc52,_0x2c29e9){_0x20fc52=_0x20fc52-0x0;let _0xc85922=_0x2c29[_0x20fc52];return _0xc85922;};import{first as _0x5b4ccc}from'ckeditor5/src/utils';export default function k(_0x178d29,_0x156bef){const _0x5e1c76=_0x178d29[_0xc859('0x9')]['markerNameToElements'](_0x156bef[_0xc859('0xc')]);if(!_0x5e1c76)return null;const _0x550330=_0x5b4ccc(_0x5e1c76[_0xc859('0xa')]());return _0x178d29[_0xc859('0x1')][_0xc859('0x2')][_0xc859('0xd')](_0x550330)||null;}export function getAllMarkersDomElementsSorted(_0x3afd4c,_0x19394d){if(0x0===_0x19394d[_0xc859('0x6')])return null;const _0x1c80c8=[],_0xb7f7ba=_0x3afd4c['view'][_0xc859('0x2')];for(const _0x3cf0fa of _0x19394d){const _0x54a03a=_0x3afd4c[_0xc859('0x9')][_0xc859('0x4')](_0x3cf0fa['name']);if(!_0x54a03a)continue;const _0x5d96ad=Array[_0xc859('0x0')](_0x54a03a)[_0xc859('0x3')](_0x356b7d=>_0xb7f7ba['mapViewToDom'](_0x356b7d))['filter'](_0x2dcac2=>!!_0x2dcac2);_0x1c80c8['push'](..._0x5d96ad);}if(0x0===_0x1c80c8[_0xc859('0x6')])return null;const _0x205a7d=[];for(const _0x3523d9 of _0x1c80c8){const _0x5b1620=_0x3523d9[_0xc859('0xb')]()[_0xc859('0x8')](0x0);_0x5b1620&&_0x205a7d[_0xc859('0x7')]({'x':_0x5b1620['x'],'y':_0x5b1620['y'],'domElement':_0x3523d9});}return 0x0===_0x205a7d[_0xc859('0x6')]?null:(_0x205a7d['sort']((_0x3cf8fc,_0x140096)=>_0x3cf8fc['y']-_0x140096['y']||_0x3cf8fc['x']-_0x140096['x']),_0x205a7d[_0xc859('0x3')](_0x4ffce6=>_0x4ffce6[_0xc859('0x5')]));}
23
+ const _0x2665=['values','item','mapViewToDom','from','name','push','markerNameToElements','length','domElement','domConverter','getClientRects','view','mapper','sort','map'];(function(_0x274a16,_0x2665fb){const _0x2a990c=function(_0x40cc18){while(--_0x40cc18){_0x274a16['push'](_0x274a16['shift']());}};_0x2a990c(++_0x2665fb);}(_0x2665,0x109));const _0x2a99=function(_0x274a16,_0x2665fb){_0x274a16=_0x274a16-0x0;let _0x2a990c=_0x2665[_0x274a16];return _0x2a990c;};import{first as _0x1d2d46}from'ckeditor5/src/utils';export default function k(_0x171c0e,_0x5e9188){const _0x2dd6b6=_0x171c0e[_0x2a99('0x2')][_0x2a99('0xb')](_0x5e9188['name']);if(!_0x2dd6b6)return null;const _0x65d634=_0x1d2d46(_0x2dd6b6[_0x2a99('0x5')]());return _0x171c0e[_0x2a99('0x1')][_0x2a99('0xe')][_0x2a99('0x7')](_0x65d634)||null;}export function getAllMarkersDomElementsSorted(_0x1c0689,_0xb01df9){if(0x0===_0xb01df9['length'])return null;const _0x489264=[],_0x2bc4a7=_0x1c0689['view'][_0x2a99('0xe')];for(const _0x5c31b3 of _0xb01df9){const _0x330b45=_0x1c0689[_0x2a99('0x2')][_0x2a99('0xb')](_0x5c31b3[_0x2a99('0x9')]);if(!_0x330b45)continue;const _0x21e990=Array[_0x2a99('0x8')](_0x330b45)[_0x2a99('0x4')](_0x17c41c=>_0x2bc4a7['mapViewToDom'](_0x17c41c))['filter'](_0x3a1629=>!!_0x3a1629);_0x489264[_0x2a99('0xa')](..._0x21e990);}if(0x0===_0x489264[_0x2a99('0xc')])return null;const _0x4f0574=[];for(const _0xe3ba48 of _0x489264){const _0x59a69d=_0xe3ba48[_0x2a99('0x0')]()[_0x2a99('0x6')](0x0);_0x59a69d&&_0x4f0574['push']({'x':_0x59a69d['x'],'y':_0x59a69d['y'],'domElement':_0xe3ba48});}return 0x0===_0x4f0574[_0x2a99('0xc')]?null:(_0x4f0574[_0x2a99('0x3')]((_0x47d081,_0x4c56d5)=>_0x47d081['y']-_0x4c56d5['y']||_0x47d081['x']-_0x4c56d5['x']),_0x4f0574[_0x2a99('0x4')](_0x41bd8a=>_0x41bd8a[_0x2a99('0xd')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28cd=['number','sort','string','keys','charCodeAt','toString','isArray'];(function(_0x101a69,_0x28cd93){const _0x1cd7f3=function(_0x3aaf62){while(--_0x3aaf62){_0x101a69['push'](_0x101a69['shift']());}};_0x1cd7f3(++_0x28cd93);}(_0x28cd,0xa7));const _0x1cd7=function(_0x101a69,_0x28cd93){_0x101a69=_0x101a69-0x0;let _0x1cd7f3=_0x28cd[_0x101a69];return _0x1cd7f3;};export default function b(_0x5ba4e1){let _0x5ae17a=0x0,_0x105318=0x0;for(const _0x582d24 of g(_0x5ba4e1))_0x5ae17a=(_0x5ae17a<<0x5)-_0x5ae17a+_0x582d24,_0x5ae17a&=_0x5ae17a,[_0x5ae17a,_0x105318]=[_0x105318,_0x5ae17a];return O(_0x5ae17a)+O(_0x105318);}function*j(_0x1c39e6){_0x1c39e6?'boolean'==typeof _0x1c39e6?yield 0x1:Array[_0x1cd7('0x0')](_0x1c39e6)?yield*function*(_0x3f3203){for(const _0x4bfca9 of _0x3f3203)yield*j(_0x4bfca9);}(_0x1c39e6):'object'==typeof _0x1c39e6?yield*g(_0x1c39e6):_0x1cd7('0x3')==typeof _0x1c39e6?yield*A(_0x1c39e6):_0x1cd7('0x1')==typeof _0x1c39e6&&(yield _0x1c39e6):yield 0x0;}function*g(_0x4e5187){if(yield M('{'),_0x4e5187){const _0x260779=Object[_0x1cd7('0x4')](_0x4e5187)[_0x1cd7('0x2')]();for(const _0x115e75 of _0x260779){yield*A(_0x115e75),yield M(':');const _0x592dfc=_0x4e5187[_0x115e75];yield*j(_0x592dfc);}}yield M('}');}function*A(_0x259972){yield M('\x22');for(const _0x258865 of _0x259972)yield M(_0x258865);yield M('\x22');}function M(_0x38f69e){return _0x38f69e[_0x1cd7('0x5')](0x0);}function O(_0x2d11b8){return(_0x2d11b8*=Math['sign'](_0x2d11b8))[_0x1cd7('0x6')](0x24);}
23
+ const _0x65dd=['object','sign','boolean','sort','charCodeAt','number','isArray'];(function(_0x45a9af,_0x65dd27){const _0x4c6a80=function(_0x2e88ac){while(--_0x2e88ac){_0x45a9af['push'](_0x45a9af['shift']());}};_0x4c6a80(++_0x65dd27);}(_0x65dd,0x188));const _0x4c6a=function(_0x45a9af,_0x65dd27){_0x45a9af=_0x45a9af-0x0;let _0x4c6a80=_0x65dd[_0x45a9af];return _0x4c6a80;};export default function b(_0x3292eb){let _0x512622=0x0,_0x125a54=0x0;for(const _0x5d8d5e of g(_0x3292eb))_0x512622=(_0x512622<<0x5)-_0x512622+_0x5d8d5e,_0x512622&=_0x512622,[_0x512622,_0x125a54]=[_0x125a54,_0x512622];return O(_0x512622)+O(_0x125a54);}function*j(_0x31f97c){_0x31f97c?_0x4c6a('0x2')==typeof _0x31f97c?yield 0x1:Array[_0x4c6a('0x6')](_0x31f97c)?yield*function*(_0x1f20ff){for(const _0x54365a of _0x1f20ff)yield*j(_0x54365a);}(_0x31f97c):_0x4c6a('0x0')==typeof _0x31f97c?yield*g(_0x31f97c):'string'==typeof _0x31f97c?yield*A(_0x31f97c):_0x4c6a('0x5')==typeof _0x31f97c&&(yield _0x31f97c):yield 0x0;}function*g(_0x1c0f85){if(yield M('{'),_0x1c0f85){const _0x1eaca7=Object['keys'](_0x1c0f85)[_0x4c6a('0x3')]();for(const _0x531aea of _0x1eaca7){yield*A(_0x531aea),yield M(':');const _0x5c4173=_0x1c0f85[_0x531aea];yield*j(_0x5c4173);}}yield M('}');}function*A(_0x142a7a){yield M('\x22');for(const _0x40160d of _0x142a7a)yield M(_0x40160d);yield M('\x22');}function M(_0x585997){return _0x585997[_0x4c6a('0x4')](0x0);}function O(_0x3f83c3){return(_0x3f83c3*=Math[_0x4c6a('0x1')](_0x3f83c3))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4480=['map','DocumentOutline','name','toolbar','constructor','includes','find','rootsAttributes','initialData','removePlugins','get','WProofreader','extraPlugins','plugins','from','builtinPlugins','requires','every','_context','length','pluginName','names','set','concat','filter','has','string','WebSocketGateway','config'];(function(_0x2cf717,_0x44802e){const _0x5032c0=function(_0x477b2a){while(--_0x477b2a){_0x2cf717['push'](_0x2cf717['shift']());}};_0x5032c0(++_0x44802e);}(_0x4480,0x121));const _0x5032=function(_0x2cf717,_0x44802e){_0x2cf717=_0x2cf717-0x0;let _0x5032c0=_0x4480[_0x2cf717];return _0x5032c0;};const w=[_0x5032('0x9'),'context',_0x5032('0x4'),_0x5032('0x8')],W=[_0x5032('0x1c'),'RevisionTracker','Autosave','WordCount',_0x5032('0x2'),_0x5032('0xc')];function v(_0x3a84c6,_0x59840f,_0x36a4c2,_0x334dad=[]){const _0x4c4875='string'==typeof _0x3a84c6?_0x36a4c2[_0x5032('0xb')](_0x3a84c6)[_0x5032('0x5')]:_0x3a84c6,_0xbf8ddd=_0x4c4875[_0x5032('0x15')]||_0x4c4875[_0x5032('0x3')];if(_0x59840f[_0x5032('0x1a')](_0xbf8ddd))return _0x59840f['get'](_0xbf8ddd);if(_0x59840f[_0x5032('0x17')](_0xbf8ddd,!0x0),_0xbf8ddd&&W[_0x5032('0x18')](_0x334dad)[_0x5032('0x6')](_0xbf8ddd))return _0x59840f[_0x5032('0x17')](_0xbf8ddd,!0x1),!0x1;if(!_0x4c4875['requires'])return _0x59840f[_0x5032('0x17')](_0xbf8ddd,!0x0),!0x0;const _0x3050c9=_0x4c4875[_0x5032('0x11')][_0x5032('0x12')](_0x25a6f2=>v(_0x25a6f2,_0x59840f,_0x36a4c2,_0x334dad));return _0x59840f[_0x5032('0x17')](_0xbf8ddd,_0x3050c9),_0x3050c9;}export default function D(_0x2e8cec,_0x53755f){const _0x151360={};for(const _0x45f3bd of _0x2e8cec[_0x5032('0x0')][_0x5032('0x16')]())w['includes'](_0x45f3bd)||(_0x151360[_0x45f3bd]=_0x2e8cec[_0x5032('0x0')][_0x5032('0xb')](_0x45f3bd));const _0x49e77a=_0x151360['plugins']||[],_0x361d50=_0x2e8cec[_0x5032('0x5')][_0x5032('0x10')]||[],_0x37ba87=_0x49e77a[_0x5032('0x14')]?_0x49e77a:_0x361d50,_0x232cf6=_0x151360[_0x5032('0xd')]||[];delete _0x151360['extraPlugins'];const _0x32b72d=_0x151360[_0x5032('0xa')]||[];delete _0x151360['removePlugins'];const _0x4a741f=_0x2e8cec[_0x5032('0x13')][_0x5032('0x0')]['get'](_0x5032('0xe'))||[],_0x438e87=_0x37ba87[_0x5032('0x18')](_0x232cf6)[_0x5032('0x18')](_0x4a741f)[_0x5032('0x1')](_0x1da487=>_0x5032('0x1b')==typeof _0x1da487?_0x361d50[_0x5032('0x7')](_0x25bc28=>_0x25bc28[_0x5032('0x15')]==_0x1da487):_0x1da487)[_0x5032('0x19')](_0x4e00ad=>!_0x32b72d[_0x5032('0x6')](_0x4e00ad)&&!_0x32b72d['includes'](_0x4e00ad[_0x5032('0x15')])),_0x269ea6=Array[_0x5032('0xf')](new Set(_0x438e87)),_0xfce2da=new Map();return _0x151360[_0x5032('0xe')]=_0x269ea6['filter'](_0x167808=>v(_0x167808,_0xfce2da,_0x2e8cec[_0x5032('0xe')],_0x53755f)),_0x151360;}
23
+ const _0xa937=['extraPlugins','context','requires','plugins','every','removePlugins','concat','rootsAttributes','pluginName','builtinPlugins','name','RevisionTracker','WordCount','Autosave','WProofreader','toolbar','constructor','names','length','map','initialData','WebSocketGateway','set','has','config','DocumentOutline','_context','find','string','get','includes'];(function(_0x3e54b6,_0xa9373){const _0x1d9a02=function(_0x421e49){while(--_0x421e49){_0x3e54b6['push'](_0x3e54b6['shift']());}};_0x1d9a02(++_0xa9373);}(_0xa937,0x16a));const _0x1d9a=function(_0x3e54b6,_0xa9373){_0x3e54b6=_0x3e54b6-0x0;let _0x1d9a02=_0xa937[_0x3e54b6];return _0x1d9a02;};const w=[_0x1d9a('0x1e'),_0x1d9a('0xb'),_0x1d9a('0x19'),_0x1d9a('0x11')],W=[_0x1d9a('0x0'),_0x1d9a('0x15'),_0x1d9a('0x17'),_0x1d9a('0x16'),_0x1d9a('0x4'),_0x1d9a('0x18')];function v(_0x5a2d98,_0x118962,_0x35a9d4,_0x36db52=[]){const _0x5665d6='string'==typeof _0x5a2d98?_0x35a9d4[_0x1d9a('0x8')](_0x5a2d98)[_0x1d9a('0x1a')]:_0x5a2d98,_0x4b107a=_0x5665d6[_0x1d9a('0x12')]||_0x5665d6[_0x1d9a('0x14')];if(_0x118962[_0x1d9a('0x2')](_0x4b107a))return _0x118962[_0x1d9a('0x8')](_0x4b107a);if(_0x118962[_0x1d9a('0x1')](_0x4b107a,!0x0),_0x4b107a&&W[_0x1d9a('0x10')](_0x36db52)['includes'](_0x4b107a))return _0x118962[_0x1d9a('0x1')](_0x4b107a,!0x1),!0x1;if(!_0x5665d6[_0x1d9a('0xc')])return _0x118962[_0x1d9a('0x1')](_0x4b107a,!0x0),!0x0;const _0x870870=_0x5665d6[_0x1d9a('0xc')][_0x1d9a('0xe')](_0x286efc=>v(_0x286efc,_0x118962,_0x35a9d4,_0x36db52));return _0x118962['set'](_0x4b107a,_0x870870),_0x870870;}export default function D(_0x4cefdb,_0x5a0003){const _0x306175={};for(const _0x4418ae of _0x4cefdb['config'][_0x1d9a('0x1b')]())w[_0x1d9a('0x9')](_0x4418ae)||(_0x306175[_0x4418ae]=_0x4cefdb[_0x1d9a('0x3')][_0x1d9a('0x8')](_0x4418ae));const _0x2263bb=_0x306175[_0x1d9a('0xd')]||[],_0x438d06=_0x4cefdb[_0x1d9a('0x1a')][_0x1d9a('0x13')]||[],_0x2aed45=_0x2263bb[_0x1d9a('0x1c')]?_0x2263bb:_0x438d06,_0x55fcae=_0x306175[_0x1d9a('0xa')]||[];delete _0x306175['extraPlugins'];const _0x45e072=_0x306175[_0x1d9a('0xf')]||[];delete _0x306175[_0x1d9a('0xf')];const _0x30be0c=_0x4cefdb[_0x1d9a('0x5')]['config']['get']('plugins')||[],_0x1f5018=_0x2aed45['concat'](_0x55fcae)[_0x1d9a('0x10')](_0x30be0c)[_0x1d9a('0x1d')](_0x4bc01d=>_0x1d9a('0x7')==typeof _0x4bc01d?_0x438d06[_0x1d9a('0x6')](_0x289f85=>_0x289f85['pluginName']==_0x4bc01d):_0x4bc01d)['filter'](_0x500095=>!_0x45e072['includes'](_0x500095)&&!_0x45e072[_0x1d9a('0x9')](_0x500095['pluginName'])),_0x46e5f0=Array['from'](new Set(_0x1f5018)),_0x4f267f=new Map();return _0x306175[_0x1d9a('0xd')]=_0x46e5f0['filter'](_0x371195=>v(_0x371195,_0x4f267f,_0x4cefdb['plugins'],_0x5a0003)),_0x306175;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2767=['isEqual','document','end','push','selection','containsPosition','change:range','includes','length'];(function(_0x33641d,_0x276791){const _0x2b8d5c=function(_0x24c080){while(--_0x24c080){_0x33641d['push'](_0x33641d['shift']());}};_0x2b8d5c(++_0x276791);}(_0x2767,0x13c));const _0x2b8d=function(_0x33641d,_0x276791){_0x33641d=_0x33641d-0x0;let _0x2b8d5c=_0x2767[_0x33641d];return _0x2b8d5c;};export default function q(_0x3e3d9d,_0x185caa){const _0x2dfae8=[];_0x3e3d9d['document'][_0x2b8d('0x3')]['on'](_0x2b8d('0x5'),()=>{const _0x5705a5=function(_0x25cfa3,_0x56b9e4){const _0x4c69de=[];for(const _0x33fe2d of _0x25cfa3['markers']){const _0x5ca5e6=_0x33fe2d['getRange']();(_0x5ca5e6[_0x2b8d('0x4')](_0x56b9e4)||_0x5ca5e6['start'][_0x2b8d('0x8')](_0x56b9e4)||_0x5ca5e6[_0x2b8d('0x1')][_0x2b8d('0x8')](_0x56b9e4))&&_0x4c69de[_0x2b8d('0x2')](_0x33fe2d);}return _0x4c69de;}(_0x3e3d9d,_0x3e3d9d[_0x2b8d('0x0')]['selection']['focus']),_0x5243f0=[],_0x5eb06c=[],_0x40bcc0=[];for(const _0x158949 of _0x2dfae8)_0x5705a5[_0x2b8d('0x6')](_0x158949)||_0x5243f0['push'](_0x158949);for(const _0x371539 of _0x5705a5)_0x2dfae8[_0x2b8d('0x6')](_0x371539)||_0x5eb06c[_0x2b8d('0x2')](_0x371539),_0x40bcc0[_0x2b8d('0x2')](_0x371539);(_0x5243f0[_0x2b8d('0x7')]||_0x5eb06c[_0x2b8d('0x7')])&&_0x185caa({'left':_0x5243f0,'entered':_0x5eb06c}),_0x2dfae8[_0x2b8d('0x7')]=0x0,_0x2dfae8[_0x2b8d('0x2')](..._0x40bcc0);});}
23
+ const _0x3895=['markers','selection','change:range','getRange','isEqual','includes','document','length','push','containsPosition','start'];(function(_0x19cd22,_0x389567){const _0x41a182=function(_0xb184d3){while(--_0xb184d3){_0x19cd22['push'](_0x19cd22['shift']());}};_0x41a182(++_0x389567);}(_0x3895,0xd0));const _0x41a1=function(_0x19cd22,_0x389567){_0x19cd22=_0x19cd22-0x0;let _0x41a182=_0x3895[_0x19cd22];return _0x41a182;};export default function q(_0x381e19,_0x5c56d8){const _0x3da715=[];_0x381e19['document'][_0x41a1('0x2')]['on'](_0x41a1('0x3'),()=>{const _0x2e2c98=function(_0x331810,_0x555e77){const _0x46a6dd=[];for(const _0x25cb1a of _0x331810[_0x41a1('0x1')]){const _0x5e376d=_0x25cb1a[_0x41a1('0x4')]();(_0x5e376d[_0x41a1('0xa')](_0x555e77)||_0x5e376d[_0x41a1('0x0')]['isEqual'](_0x555e77)||_0x5e376d['end'][_0x41a1('0x5')](_0x555e77))&&_0x46a6dd[_0x41a1('0x9')](_0x25cb1a);}return _0x46a6dd;}(_0x381e19,_0x381e19[_0x41a1('0x7')][_0x41a1('0x2')]['focus']),_0x2bd617=[],_0x160f0b=[],_0x2539c7=[];for(const _0x19a745 of _0x3da715)_0x2e2c98['includes'](_0x19a745)||_0x2bd617[_0x41a1('0x9')](_0x19a745);for(const _0x3b2c71 of _0x2e2c98)_0x3da715[_0x41a1('0x6')](_0x3b2c71)||_0x160f0b[_0x41a1('0x9')](_0x3b2c71),_0x2539c7[_0x41a1('0x9')](_0x3b2c71);(_0x2bd617[_0x41a1('0x8')]||_0x160f0b[_0x41a1('0x8')])&&_0x5c56d8({'left':_0x2bd617,'entered':_0x160f0b}),_0x3da715[_0x41a1('0x8')]=0x0,_0x3da715[_0x41a1('0x9')](..._0x2539c7);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd9ef=['slice','join','push','split','length','pop','startsWith','...','substring','indexOf','match','replace'];(function(_0x16ef65,_0xd9ef9b){const _0x582c51=function(_0x1eb754){while(--_0x1eb754){_0x16ef65['push'](_0x16ef65['shift']());}};_0x582c51(++_0xd9ef9b);}(_0xd9ef,0xc4));const _0x582c=function(_0x16ef65,_0xd9ef9b){_0x16ef65=_0x16ef65-0x0;let _0x582c51=_0xd9ef[_0x16ef65];return _0x582c51;};export default function z(_0x34c6b3,{limit:_0xe337ab,suffix:_0x3d02be=_0x582c('0x3')}){const _0x1eb285=[];let _0x327f4f=0x0;const _0x4f4bbf=_0x34c6b3[_0x582c('0x7')](/</g,'\x0a<')[_0x582c('0x7')](/>/g,'>\x0a')[_0x582c('0x7')](/^\n/g,'')[_0x582c('0x7')](/\n$/g,'')[_0x582c('0xb')]('\x0a');for(let _0x39bc00=0x0;_0x39bc00<_0x4f4bbf[_0x582c('0x0')];_0x39bc00++){let _0x5eb6da=_0x4f4bbf[_0x39bc00];const _0x20e90f=Z(_0x5eb6da);if(_0x5eb6da[_0x582c('0x2')]('<')){if(_0x327f4f>=_0xe337ab){const _0x37a9d6=_0x5eb6da[_0x582c('0x6')](/[a-zA-Z]+/);if(!_0x37a9d6){_0x4f4bbf[_0x39bc00]='';continue;}const _0x3faa28=_0x37a9d6[0x0];_0x5eb6da[_0x582c('0x2')]('</')?(_0x1eb285[_0x582c('0x0')]&&(_0x5eb6da=''),_0x1eb285[_0x582c('0x1')]()):(_0x1eb285[_0x582c('0xa')](_0x3faa28),_0x5eb6da='');}}else{if(_0x327f4f>=_0xe337ab)_0x5eb6da='';else{if(_0x327f4f+_0x20e90f[_0x582c('0x0')]>=_0xe337ab){let _0x5e3f83=_0xe337ab-_0x327f4f;if('\x20'===_0x20e90f[_0x5e3f83-0x1])_0x5e3f83--;else{const _0x287358=_0x20e90f[_0x582c('0x8')](_0x5e3f83)[_0x582c('0x5')]('\x20');-0x1!==_0x287358?_0x5e3f83+=_0x287358:_0x5e3f83=_0x5eb6da['length'];}_0x5eb6da=_0x20e90f[_0x582c('0x8')](0x0,_0x5e3f83)[_0x582c('0x9')]('')+_0x3d02be,_0x327f4f=_0xe337ab;}else _0x327f4f+=_0x20e90f['length'];}}_0x4f4bbf[_0x39bc00]=_0x5eb6da;}return _0x4f4bbf[_0x582c('0x9')]('\x0a')[_0x582c('0x7')](/\n/g,'');}function Z(_0x595dee){const _0x4c8c48=[];for(let _0x13cfd4=0x0;_0x13cfd4<_0x595dee[_0x582c('0x0')];_0x13cfd4++){const _0x17bf88=_0x595dee[_0x582c('0x4')](_0x13cfd4)[_0x582c('0x6')](/^&[a-z0-9#]+;/);if(_0x17bf88){const _0x34b9ef=_0x17bf88[0x0];_0x4c8c48[_0x582c('0xa')](_0x34b9ef),_0x13cfd4+=_0x34b9ef[_0x582c('0x0')]-0x1;}else _0x4c8c48['push'](_0x595dee[_0x13cfd4]);}return _0x4c8c48;}
23
+ const _0x22d4=['startsWith','match','substring','slice','push','split','length','replace','pop'];(function(_0x1f4cc8,_0x22d412){const _0x587c6d=function(_0x253e95){while(--_0x253e95){_0x1f4cc8['push'](_0x1f4cc8['shift']());}};_0x587c6d(++_0x22d412);}(_0x22d4,0xe7));const _0x587c=function(_0x1f4cc8,_0x22d412){_0x1f4cc8=_0x1f4cc8-0x0;let _0x587c6d=_0x22d4[_0x1f4cc8];return _0x587c6d;};export default function z(_0x241805,{limit:_0x17d81c,suffix:_0x24536b='...'}){const _0x5ccd25=[];let _0x5dc8cd=0x0;const _0x4fb957=_0x241805['replace'](/</g,'\x0a<')[_0x587c('0x1')](/>/g,'>\x0a')[_0x587c('0x1')](/^\n/g,'')[_0x587c('0x1')](/\n$/g,'')[_0x587c('0x8')]('\x0a');for(let _0x4e17fa=0x0;_0x4e17fa<_0x4fb957[_0x587c('0x0')];_0x4e17fa++){let _0x4bfccc=_0x4fb957[_0x4e17fa];const _0x413bca=Z(_0x4bfccc);if(_0x4bfccc[_0x587c('0x3')]('<')){if(_0x5dc8cd>=_0x17d81c){const _0x315fe0=_0x4bfccc[_0x587c('0x4')](/[a-zA-Z]+/);if(!_0x315fe0){_0x4fb957[_0x4e17fa]='';continue;}const _0x9c81fc=_0x315fe0[0x0];_0x4bfccc[_0x587c('0x3')]('</')?(_0x5ccd25[_0x587c('0x0')]&&(_0x4bfccc=''),_0x5ccd25[_0x587c('0x2')]()):(_0x5ccd25[_0x587c('0x7')](_0x9c81fc),_0x4bfccc='');}}else{if(_0x5dc8cd>=_0x17d81c)_0x4bfccc='';else{if(_0x5dc8cd+_0x413bca[_0x587c('0x0')]>=_0x17d81c){let _0x2fa6cf=_0x17d81c-_0x5dc8cd;if('\x20'===_0x413bca[_0x2fa6cf-0x1])_0x2fa6cf--;else{const _0x4458d1=_0x413bca[_0x587c('0x6')](_0x2fa6cf)['indexOf']('\x20');-0x1!==_0x4458d1?_0x2fa6cf+=_0x4458d1:_0x2fa6cf=_0x4bfccc['length'];}_0x4bfccc=_0x413bca[_0x587c('0x6')](0x0,_0x2fa6cf)['join']('')+_0x24536b,_0x5dc8cd=_0x17d81c;}else _0x5dc8cd+=_0x413bca['length'];}}_0x4fb957[_0x4e17fa]=_0x4bfccc;}return _0x4fb957['join']('\x0a')['replace'](/\n/g,'');}function Z(_0x427282){const _0x252878=[];for(let _0x1ad0cb=0x0;_0x1ad0cb<_0x427282['length'];_0x1ad0cb++){const _0x1de17c=_0x427282[_0x587c('0x5')](_0x1ad0cb)[_0x587c('0x4')](/^&[a-z0-9#]+;/);if(_0x1de17c){const _0x168a59=_0x1de17c[0x0];_0x252878[_0x587c('0x7')](_0x168a59),_0x1ad0cb+=_0x168a59[_0x587c('0x0')]-0x1;}else _0x252878[_0x587c('0x7')](_0x427282[_0x1ad0cb]);}return _0x252878;}