@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231127.0 → 0.0.0-nightly-20231129.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-20231127.0",
3
+ "version": "0.0.0-nightly-20231129.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-20231127.0",
34
+ "ckeditor5": "0.0.0-nightly-20231129.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 _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')));}}}
23
+ const _0x352d=['editors','find','setPermissions','has','noPermissions','CommentsRepository','pluginName','comment:modify_all','forceDisabled','comment:admin','includes','config','collaboration.channelId','no-permissions','context','plugins','addCommentThread','enableReadOnlyMode','get'];(function(_0x5c765b,_0x352d1d){const _0x5e58c9=function(_0x4beb72){while(--_0x4beb72){_0x5c765b['push'](_0x5c765b['shift']());}};_0x5e58c9(++_0x352d1d);}(_0x352d,0x1e8));const _0x5e58=function(_0x5c765b,_0x352d1d){_0x5c765b=_0x5c765b-0x0;let _0x5e58c9=_0x352d[_0x5c765b];return _0x5e58c9;};import{ContextPlugin as _0x1c9a07,Editor as _0x554d5b}from'ckeditor5/src/core';import{CKEditorError as _0x157158}from'ckeditor5/src/utils';export default class n extends _0x1c9a07{static get[_0x5e58('0xc')](){return'Permissions';}[_0x5e58('0x8')](_0x37b0a2,_0x321066){let _0x565605;if(_0x321066||(_0x321066=this[_0x5e58('0x1')][_0x5e58('0x11')]['get'](_0x5e58('0x12'))),this[_0x5e58('0x1')]['config']['get']('collaboration.channelId')==_0x321066?_0x565605=this[_0x5e58('0x1')]:_0x5e58('0x6')in this[_0x5e58('0x1')]&&this[_0x5e58('0x1')][_0x5e58('0x6')]&&(_0x565605=this[_0x5e58('0x1')]['editors'][_0x5e58('0x7')](_0x497914=>_0x497914[_0x5e58('0x11')][_0x5e58('0x5')](_0x5e58('0x12'))==_0x321066)),!_0x565605)throw new _0x157158('permissions-set-permissions-invalid-channel-id',null);const _0x5a0e96=_0x565605[_0x5e58('0x2')],_0x3158d5=_0x5a0e96[_0x5e58('0x9')](_0x5e58('0xb'))?_0x5a0e96[_0x5e58('0x5')](_0x5e58('0xb')):void 0x0,_0x7c7e50=_0x5a0e96['has']('CommentsOnly')&&_0x5a0e96[_0x5e58('0x5')]('CommentsOnly'),_0x2b9a8f=_0x37b0a2['includes']('document:write'),_0x552031=_0x37b0a2[_0x5e58('0x10')](_0x5e58('0xd')),_0x3ff8d2=_0x37b0a2[_0x5e58('0x10')](_0x5e58('0xf')),_0x1f7ec7=_0x37b0a2[_0x5e58('0x10')]('comment:write'),_0x389b80=_0x1f7ec7||_0x3ff8d2,_0x45d9c7=_0x389b80||_0x552031,_0x81297b=_0x2b9a8f||_0x389b80;(_0x7c7e50&&(_0x7c7e50['isEnabled']=!_0x2b9a8f&&_0x45d9c7),_0x565605 instanceof _0x554d5b)&&(!(_0x2b9a8f||_0x45d9c7&&_0x3158d5)?_0x565605[_0x5e58('0x4')](_0x5e58('0x0')):_0x565605['disableReadOnlyMode'](_0x5e58('0x0')));if(_0x3158d5){_0x3158d5['setPermissions']({'admin':_0x3ff8d2,'modifyAll':_0x552031,'write':_0x1f7ec7,'resolve':_0x81297b},_0x321066);const _0x98a137=_0x565605 instanceof _0x554d5b&&_0x565605['commands'][_0x5e58('0x5')](_0x5e58('0x3'));_0x98a137&&(_0x389b80?_0x98a137['clearForceDisabled'](_0x5e58('0xa')):_0x98a137[_0x5e58('0xe')](_0x5e58('0xa')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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});}}
23
+ const _0x2ee7=['div','ck-user__icon','name','ck-user','ck-user__notification','ck\x20ck-user__name\x20ck-user__name--hidden','extendTemplate','ck-user__img','setTemplate','notificationView','avatar','ck-user__anonymous','url(\x27','push','initials','content','isAnonymous'];(function(_0xfdae19,_0x2ee726){const _0x39047e=function(_0x46b43c){while(--_0x46b43c){_0xfdae19['push'](_0xfdae19['shift']());}};_0x39047e(++_0x2ee726);}(_0x2ee7,0xa6));const _0x3904=function(_0xfdae19,_0x2ee726){_0xfdae19=_0xfdae19-0x0;let _0x39047e=_0x2ee7[_0xfdae19];return _0x39047e;};import{View as _0x25eb44,IconView as _0x5eb354}from'ckeditor5/src/ui';import _0xbcf2ab from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x25eb44{constructor(_0x41f4ed,_0x2b11c1,_0x26e8b3){super(_0x41f4ed),this[_0x3904('0x6')]=_0x2b11c1['name'],this[_0x3904('0xd')]=null;const _0x23c84d=['ck',_0x3904('0xb')];if(_0x2b11c1[_0x3904('0x3')]&&_0x23c84d[_0x3904('0x0')](_0x3904('0xf')),_0x2b11c1['avatar']&&_0x23c84d[_0x3904('0x0')]('ck-user__avatar'),_0x26e8b3){const _0x252387=new _0x5eb354();_0x252387[_0x3904('0xa')]({'attributes':{'class':[_0x3904('0x5')]}}),_0x252387[_0x3904('0x2')]=_0xbcf2ab,this[_0x3904('0xd')]={'tag':_0x3904('0x4'),'attributes':{'class':['ck',_0x3904('0x8')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x26e8b3},'children':[_0x252387]};}const _0x4a877e=[{'tag':_0x3904('0x4'),'attributes':{'class':_0x23c84d,'style':{'background-image':_0x2b11c1[_0x3904('0xe')]?_0x3904('0x10')+_0x2b11c1[_0x3904('0xe')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2b11c1[_0x3904('0xe')]?_0x3904('0x9'):'ck\x20ck-user__name'},'children':[{'text':_0x2b11c1[_0x3904('0x1')]}]}];this[_0x3904('0xd')]&&_0x4a877e[_0x3904('0x0')](this[_0x3904('0xd')]),this[_0x3904('0xc')]({'tag':_0x3904('0x4'),'attributes':{'class':['ck',_0x3904('0x7')],'data-user-id':_0x2b11c1['id']},'children':_0x4a877e});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')];}}
23
+ const _0x3c98=['ck-user__selection--','getSelectionClass','split','length','Anonymous','getUser','Users','users-me-missing-user','defineMe','_getInitial','color','licenseKeyInvalid','addUser','name','avatar','getOperationAuthor','trial-license-key-reached-limit-time','users-me-already-defined','trial-license-key-reached-limit-revisions','isAnonymous','users.anonymousUserId','_myId','licenseKeyValid','_isAnonymous','decorate','ck-user__marker--','licenseKeyTrial','licenseKey','users.colorsCount','string','config','charAt','users','getMarkerClass','useAnonymousUser','licenseKeyTrialLimit:time','_licenseKeyCheckInterval','_lastColor','init','invalid-license-key','define','initials','_id','licenseKeyTrialLimit:operations','locale','ck-user__bg-color--','context','trim','_getNextColor','destroy','get','info','requires','has','_locale','_addAnonymousUser','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.','licenseKeyTrialLimit:revisions','users-add-duplicated-id'];(function(_0x297f92,_0x3c981d){const _0x4b9783=function(_0x5ce4e4){while(--_0x5ce4e4){_0x297f92['push'](_0x297f92['shift']());}};_0x4b9783(++_0x3c981d);}(_0x3c98,0x112));const _0x4b97=function(_0x297f92,_0x3c981d){_0x297f92=_0x297f92-0x0;let _0x4b9783=_0x3c98[_0x297f92];return _0x4b9783;};import{ContextPlugin as _0x1040c4}from'ckeditor5/src/core';import{Collection as _0x17ffbe,CKEditorError as _0x3f277f}from'ckeditor5/src/utils';import _0x325f52 from'./permissions';import{getTranslation as _0x56d67d}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x1040c4{static get['pluginName'](){return _0x4b97('0x1b');}static get[_0x4b97('0xe')](){return[_0x325f52];}constructor(_0x47462a){super(_0x47462a),this['context']['config'][_0x4b97('0x2')](_0x4b97('0x29'),'anonymous-user'),this[_0x4b97('0x8')][_0x4b97('0x33')][_0x4b97('0x2')]('users.colorsCount',0x8),this[_0x4b97('0x35')]=new _0x17ffbe(),this['_locale']=_0x47462a[_0x4b97('0x6')],this['_licenseKeyCheckInterval']=null,this[_0x4b97('0x3a')]=0x0,this['_myId']=null,this[_0x4b97('0x2d')](_0x4b97('0x24'));}[_0x4b97('0x0')](){const _0x4f3e64=this['context'];this['licenseKey']=_0x4f3e64[_0x4b97('0x33')]['get'](_0x4b97('0x30'));const _0x19613a=[_0x4b97('0x2f'),'licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations',_0x4b97('0x38'),_0x4b97('0x13')];this[_0x4b97('0x39')]=setInterval(()=>{let _0x54e437;for(const _0x1a5d94 in _0x4f3e64){const _0x37e282=_0x4f3e64[_0x1a5d94];if(_0x19613a['includes'](_0x37e282)){delete _0x4f3e64[_0x1a5d94],_0x54e437=_0x37e282;break;}}if(_0x4b97('0x20')===_0x54e437)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3f277f(_0x4b97('0x1'),null);if(_0x4b97('0x2f')===_0x54e437&&console[_0x4b97('0xd')](_0x4b97('0x12')),_0x4b97('0x5')===_0x54e437)throw clearInterval(this[_0x4b97('0x39')]),new _0x3f277f('trial-license-key-reached-limit-changes',null);if(_0x4b97('0x38')===_0x54e437)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3f277f(_0x4b97('0x25'),null);if(_0x4b97('0x13')===_0x54e437)throw clearInterval(this[_0x4b97('0x39')]),new _0x3f277f(_0x4b97('0x27'),null);_0x4b97('0x2b')===_0x54e437&&clearInterval(this[_0x4b97('0x39')]);},0x3e8),this[_0x4b97('0x11')]();}get['me'](){return null==this['_myId']?null:this[_0x4b97('0x1a')](this[_0x4b97('0x2a')]);}[_0x4b97('0x21')]({id:_0x525a44,name:_0x28a220,..._0x2a54d4}){if(!_0x525a44||_0x4b97('0x32')!=typeof _0x525a44)throw new _0x3f277f('users-add-invalid-id');if(this[_0x4b97('0x35')][_0x4b97('0xf')](_0x525a44))throw new _0x3f277f(_0x4b97('0x14'),null,{'id':_0x525a44});const _0x398de0={..._0x2a54d4,'id':_0x525a44,'name':a(this[_0x4b97('0x10')],_0x28a220),'color':this[_0x4b97('0xa')]()};_0x398de0['name']=a(this['_locale'],_0x398de0['name']);const _0x38d1de=new User(_0x398de0);return this[_0x4b97('0x35')]['add'](_0x38d1de),_0x38d1de;}[_0x4b97('0x1a')](_0x1ede43){return this[_0x4b97('0x35')][_0x4b97('0xc')](_0x1ede43);}[_0x4b97('0x37')](){const _0x557f43=this[_0x4b97('0x8')][_0x4b97('0x33')][_0x4b97('0xc')](_0x4b97('0x29'));this['_myId']||this[_0x4b97('0x1d')](_0x557f43);}[_0x4b97('0x1d')](_0x4a1d17){if(this[_0x4b97('0x2a')])throw new _0x3f277f(_0x4b97('0x26'),null);if(!this['getUser'](_0x4a1d17))throw new _0x3f277f(_0x4b97('0x1c'),null);this[_0x4b97('0x2a')]=_0x4a1d17;}[_0x4b97('0x24')](){return this['me'];}[_0x4b97('0xb')](){super['destroy'](),clearInterval(this[_0x4b97('0x39')]);}['_getNextColor'](){const _0x21fc93=this[_0x4b97('0x8')][_0x4b97('0x33')]['get'](_0x4b97('0x31'));return this[_0x4b97('0x3a')]>=_0x21fc93&&(this[_0x4b97('0x3a')]=0x0),new u(this[_0x4b97('0x3a')]++);}[_0x4b97('0x11')](){const _0x577cef=this[_0x4b97('0x8')][_0x4b97('0x33')][_0x4b97('0xc')]('users.anonymousUserId');this[_0x4b97('0x21')]({'id':_0x577cef,'name':_0x56d67d(this['_locale'],'Anonymous')})[_0x4b97('0x2c')]=!0x0;}}export class User{constructor(_0x42e029){this['id']=_0x42e029['id'],this[_0x4b97('0x1f')]=_0x42e029['color'],this['name']=_0x42e029[_0x4b97('0x22')],this['avatar']=_0x42e029[_0x4b97('0x23')],this[_0x4b97('0x2c')]=!0x1;}get[_0x4b97('0x28')](){return this[_0x4b97('0x2c')];}get[_0x4b97('0x3')](){const _0xed4a2f=this[_0x4b97('0x22')][_0x4b97('0x17')]('\x20');return 0x1===_0xed4a2f[_0x4b97('0x18')]?this[_0x4b97('0x1e')](_0xed4a2f[0x0]):this[_0x4b97('0x1e')](_0xed4a2f[0x0])+this[_0x4b97('0x1e')](_0xed4a2f[_0xed4a2f[_0x4b97('0x18')]-0x1]);}[_0x4b97('0x1e')](_0x381f63){return _0x381f63[_0x4b97('0x34')](0x0)['toUpperCase']();}}function a(_0x9122be,_0x4dbd7c=''){return''==(_0x4dbd7c=_0x4dbd7c[_0x4b97('0x9')]())?_0x56d67d(_0x9122be,_0x4b97('0x19')):_0x4dbd7c;}class u{constructor(_0x1f675a){this[_0x4b97('0x4')]=_0x1f675a;}['getBackgroundColorClass'](){return _0x4b97('0x7')+this[_0x4b97('0x4')];}[_0x4b97('0x16')](){return _0x4b97('0x15')+this[_0x4b97('0x4')];}[_0x4b97('0x36')](){return _0x4b97('0x2e')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'';}}
23
+ export function getTranslation(_0x4db33e,_0x5b0e58){const t=_0x4db33e['t'];switch(_0x5b0e58){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 _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);}};}
23
+ var _0x5640=['once','message','remove','_removeConfirm','cancel','locale','element','cancelConfirm','focus','render','set','fire','deregisterChild','showConfirm','submit','destroy','confirmView','isConfirm'];(function(_0x145cd0,_0x56404a){var _0x5672d1=function(_0x227697){while(--_0x227697){_0x145cd0['push'](_0x145cd0['shift']());}};_0x5672d1(++_0x56404a);}(_0x5640,0xb9));var _0x5672=function(_0x145cd0,_0x56404a){_0x145cd0=_0x145cd0-0x0;var _0x5672d1=_0x5640[_0x145cd0];return _0x5672d1;};import _0xdf09e0 from'./confirmview';export default function m(_0xc43b1d){return class extends _0xc43b1d{[_0x5672('0x8')](_0x2b4fcf,_0x56927e){return this[_0x5672('0xb')]=new _0xdf09e0(this[_0x5672('0x0')]),this[_0x5672('0xb')][_0x5672('0x4')](),this[_0x5672('0xb')][_0x5672('0xe')]=_0x2b4fcf,this[_0x5672('0xb')][_0x5672('0xd')]('cancel',()=>{this[_0x5672('0x10')]();}),this[_0x5672('0xb')]['once'](_0x5672('0x9'),()=>{this[_0x5672('0x10')]();}),_0x56927e['appendChild'](this[_0x5672('0xb')][_0x5672('0x1')]),this['registerChild'](this[_0x5672('0xb')]),this[_0x5672('0x1')][_0x5672('0x3')](),this[_0x5672('0x5')]('isConfirm',!0x0),new Promise(_0x36322e=>this[_0x5672('0xb')]['on'](_0x5672('0x9'),_0x36322e));}[_0x5672('0x2')](){this['isConfirm']&&this['confirmView'][_0x5672('0x6')](_0x5672('0x11'));}['_removeConfirm'](){this[_0x5672('0x1')]&&this['confirmView']&&this[_0x5672('0xb')][_0x5672('0x1')]&&(this[_0x5672('0x1')][_0x5672('0x3')](),this['confirmView']['element'][_0x5672('0xf')](),this[_0x5672('0x7')](this['confirmView']),this[_0x5672('0xc')]=!0x1,this[_0x5672('0xb')][_0x5672('0xa')](),this[_0x5672('0xb')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x54b4=['Yes','ck-thread__remove-confirm-actions','cancelView','fire','ck-thread__remove-confirm-','check','div','message','submit','submitView','set','Are\x20you\x20sure?','execute','label','cancel','ck-thread__remove-confirm-inner','setTemplate','_createButtonView','ck-thread__remove-confirm'];(function(_0x41f149,_0x54b409){const _0xb3f76=function(_0x6fb4c5){while(--_0x6fb4c5){_0x41f149['push'](_0x41f149['shift']());}};_0xb3f76(++_0x54b409);}(_0x54b4,0x179));const _0xb3f7=function(_0x41f149,_0x54b409){_0x41f149=_0x41f149-0x0;let _0xb3f76=_0x54b4[_0x41f149];return _0xb3f76;};import{View as _0x40f136,ButtonView as _0x3fe0c4}from'ckeditor5/src/ui';import{icons as _0x27cca8}from'ckeditor5/src/core';import{getTranslation as _0xab5510}from'./common-translations';export default class h extends _0x40f136{constructor(_0x53222a){super(_0x53222a);const _0x1c0295=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x53222a,_0xab5510(_0x53222a,_0xb3f7('0x3')),_0x27cca8[_0xb3f7('0x8')],_0xb3f7('0xb')),this[_0xb3f7('0x5')]=this[_0xb3f7('0x1')](_0x53222a,_0xab5510(_0x53222a,'No'),_0x27cca8[_0xb3f7('0x11')],_0xb3f7('0x11')),this[_0xb3f7('0xd')]('message',_0xab5510(_0x53222a,_0xb3f7('0xe'))),this[_0xb3f7('0x0')]({'tag':_0xb3f7('0x9'),'attributes':{'class':[_0xb3f7('0x2')]},'children':[{'tag':_0xb3f7('0x9'),'attributes':{'class':_0xb3f7('0x12')},'children':[{'tag':'p','children':[{'text':_0x1c0295['to'](_0xb3f7('0xa'))}]},{'tag':_0xb3f7('0x9'),'attributes':{'class':_0xb3f7('0x4')},'children':[this[_0xb3f7('0xc')],this[_0xb3f7('0x5')]]}]}]});}[_0xb3f7('0x1')](_0x40350e,_0x3de2c8,_0x4bc221,_0x45cad1){const _0x2848b3=new _0x3fe0c4(_0x40350e);return _0x2848b3[_0xb3f7('0x10')]=_0x3de2c8,_0x2848b3['icon']=_0x4bc221,_0x2848b3['extendTemplate']({'attributes':{'class':_0xb3f7('0x7')+_0x45cad1}}),_0x2848b3['on'](_0xb3f7('0xf'),()=>this[_0xb3f7('0x6')](_0x45cad1)),_0x2848b3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));};}
23
+ const _0x3a92=['MM-dd-yyyy\x20hh:mma','dateTimeFormat','string','invalid-date-time-format','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma'];(function(_0x43a159,_0x3a9256){const _0x1082b1=function(_0x42b303){while(--_0x42b303){_0x43a159['push'](_0x43a159['shift']());}};_0x1082b1(++_0x3a9256);}(_0x3a92,0x180));const _0x1082=function(_0x43a159,_0x3a9256){_0x43a159=_0x43a159-0x0;let _0x1082b1=_0x3a92[_0x43a159];return _0x1082b1;};import _0x21b8e5 from'date-fns/format';import _0x77750d from'date-fns/parseISO';import _0x4fd86d from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x446f63}from'ckeditor5/src/utils';export default function E(_0x32db15={}){if(void 0x0!==_0x32db15[_0x1082('0x2')]&&'function'!=typeof _0x32db15[_0x1082('0x2')])throw new _0x446f63(_0x1082('0x4'));return _0x84803b=>{const _0x4a7131=_0x1082('0x3')==typeof _0x84803b?_0x77750d(_0x84803b):_0x84803b,_0x2dbca7=new Date(),_0x702f15=_0x4fd86d(_0x2dbca7,_0x4a7131);return _0x32db15[_0x1082('0x2')]?_0x32db15['dateTimeFormat'](_0x4a7131):_0x21b8e5(_0x4a7131,0x0===_0x702f15?_0x1082('0x5'):0x1===_0x702f15?_0x1082('0x0'):_0x702f15<0x7?_0x1082('0x6'):_0x1082('0x1'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]));}
23
+ const _0x4c0e=['view','mapper','length','values','getClientRects','map','push','sort','mapViewToDom','domElement','domConverter','name','markerNameToElements','filter'];(function(_0x3083e8,_0x4c0e0c){const _0xf3d5e5=function(_0xe63f6a){while(--_0xe63f6a){_0x3083e8['push'](_0x3083e8['shift']());}};_0xf3d5e5(++_0x4c0e0c);}(_0x4c0e,0x12f));const _0xf3d5=function(_0x3083e8,_0x4c0e0c){_0x3083e8=_0x3083e8-0x0;let _0xf3d5e5=_0x4c0e[_0x3083e8];return _0xf3d5e5;};import{first as _0x5c982a}from'ckeditor5/src/utils';export default function k(_0x36f0d5,_0x4ccc69){const _0x6485bb=_0x36f0d5[_0xf3d5('0x6')][_0xf3d5('0x3')](_0x4ccc69[_0xf3d5('0x2')]);if(!_0x6485bb)return null;const _0x2e570d=_0x5c982a(_0x6485bb[_0xf3d5('0x8')]());return _0x36f0d5[_0xf3d5('0x5')][_0xf3d5('0x1')][_0xf3d5('0xd')](_0x2e570d)||null;}export function getAllMarkersDomElementsSorted(_0x4fc394,_0xb5197){if(0x0===_0xb5197[_0xf3d5('0x7')])return null;const _0x5577f4=[],_0x5c4943=_0x4fc394[_0xf3d5('0x5')][_0xf3d5('0x1')];for(const _0x3dc999 of _0xb5197){const _0x841312=_0x4fc394[_0xf3d5('0x6')][_0xf3d5('0x3')](_0x3dc999[_0xf3d5('0x2')]);if(!_0x841312)continue;const _0x228aa6=Array['from'](_0x841312)[_0xf3d5('0xa')](_0x37c4f1=>_0x5c4943['mapViewToDom'](_0x37c4f1))[_0xf3d5('0x4')](_0xb72b63=>!!_0xb72b63);_0x5577f4[_0xf3d5('0xb')](..._0x228aa6);}if(0x0===_0x5577f4[_0xf3d5('0x7')])return null;const _0x4dd263=[];for(const _0x5bb435 of _0x5577f4){const _0x2ccb3a=_0x5bb435[_0xf3d5('0x9')]()['item'](0x0);_0x2ccb3a&&_0x4dd263[_0xf3d5('0xb')]({'x':_0x2ccb3a['x'],'y':_0x2ccb3a['y'],'domElement':_0x5bb435});}return 0x0===_0x4dd263['length']?null:(_0x4dd263[_0xf3d5('0xc')]((_0x30681f,_0x30185f)=>_0x30681f['y']-_0x30185f['y']||_0x30681f['x']-_0x30185f['x']),_0x4dd263['map'](_0xf9059c=>_0xf9059c[_0xf3d5('0x0')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}
23
+ const _0x471a=['sort','object','charCodeAt','isArray','keys','number','string'];(function(_0x26184e,_0x471a40){const _0x2b448d=function(_0xa34afa){while(--_0xa34afa){_0x26184e['push'](_0x26184e['shift']());}};_0x2b448d(++_0x471a40);}(_0x471a,0x104));const _0x2b44=function(_0x26184e,_0x471a40){_0x26184e=_0x26184e-0x0;let _0x2b448d=_0x471a[_0x26184e];return _0x2b448d;};export default function b(_0x34e29b){let _0x130795=0x0,_0x5a9498=0x0;for(const _0x3f5d4a of g(_0x34e29b))_0x130795=(_0x130795<<0x5)-_0x130795+_0x3f5d4a,_0x130795&=_0x130795,[_0x130795,_0x5a9498]=[_0x5a9498,_0x130795];return O(_0x130795)+O(_0x5a9498);}function*j(_0x2e448a){_0x2e448a?'boolean'==typeof _0x2e448a?yield 0x1:Array[_0x2b44('0x2')](_0x2e448a)?yield*function*(_0x4e4491){for(const _0x5c2bbc of _0x4e4491)yield*j(_0x5c2bbc);}(_0x2e448a):_0x2b44('0x0')==typeof _0x2e448a?yield*g(_0x2e448a):_0x2b44('0x5')==typeof _0x2e448a?yield*A(_0x2e448a):_0x2b44('0x4')==typeof _0x2e448a&&(yield _0x2e448a):yield 0x0;}function*g(_0x59f7c6){if(yield M('{'),_0x59f7c6){const _0x3d60a6=Object[_0x2b44('0x3')](_0x59f7c6)[_0x2b44('0x6')]();for(const _0x201ecc of _0x3d60a6){yield*A(_0x201ecc),yield M(':');const _0x4772f3=_0x59f7c6[_0x201ecc];yield*j(_0x4772f3);}}yield M('}');}function*A(_0x4598c1){yield M('\x22');for(const _0x2f4ed8 of _0x4598c1)yield M(_0x2f4ed8);yield M('\x22');}function M(_0x480f7f){return _0x480f7f[_0x2b44('0x1')](0x0);}function O(_0x58813e){return(_0x58813e*=Math['sign'](_0x58813e))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x4747=['builtinPlugins','map','get','extraPlugins','WProofreader','pluginName','includes','toolbar','set','context','constructor','has','requires','DocumentOutline','removePlugins','Autosave','concat','plugins','length','string','from','find','_context','config','every','name'];(function(_0x14f786,_0x474781){const _0x282a9c=function(_0x1b9453){while(--_0x1b9453){_0x14f786['push'](_0x14f786['shift']());}};_0x282a9c(++_0x474781);}(_0x4747,0xbc));const _0x282a=function(_0x14f786,_0x474781){_0x14f786=_0x14f786-0x0;let _0x282a9c=_0x4747[_0x14f786];return _0x282a9c;};const w=['initialData',_0x282a('0x3'),_0x282a('0x1'),'rootsAttributes'],W=['WebSocketGateway','RevisionTracker',_0x282a('0x9'),'WordCount',_0x282a('0x7'),_0x282a('0x18')];function v(_0x35be8e,_0x2be077,_0x315da2,_0x3af824=[]){const _0x15bbf0=_0x282a('0xd')==typeof _0x35be8e?_0x315da2[_0x282a('0x16')](_0x35be8e)[_0x282a('0x4')]:_0x35be8e,_0x396629=_0x15bbf0['pluginName']||_0x15bbf0[_0x282a('0x13')];if(_0x2be077[_0x282a('0x5')](_0x396629))return _0x2be077[_0x282a('0x16')](_0x396629);if(_0x2be077[_0x282a('0x2')](_0x396629,!0x0),_0x396629&&W[_0x282a('0xa')](_0x3af824)[_0x282a('0x0')](_0x396629))return _0x2be077[_0x282a('0x2')](_0x396629,!0x1),!0x1;if(!_0x15bbf0[_0x282a('0x6')])return _0x2be077[_0x282a('0x2')](_0x396629,!0x0),!0x0;const _0x3ba292=_0x15bbf0[_0x282a('0x6')][_0x282a('0x12')](_0x4947e1=>v(_0x4947e1,_0x2be077,_0x315da2,_0x3af824));return _0x2be077[_0x282a('0x2')](_0x396629,_0x3ba292),_0x3ba292;}export default function D(_0x11ec0d,_0x33ff92){const _0x18b272={};for(const _0x1f8b7f of _0x11ec0d[_0x282a('0x11')]['names']())w[_0x282a('0x0')](_0x1f8b7f)||(_0x18b272[_0x1f8b7f]=_0x11ec0d[_0x282a('0x11')][_0x282a('0x16')](_0x1f8b7f));const _0x5881a1=_0x18b272[_0x282a('0xb')]||[],_0x82fe5c=_0x11ec0d['constructor'][_0x282a('0x14')]||[],_0x6651d6=_0x5881a1[_0x282a('0xc')]?_0x5881a1:_0x82fe5c,_0x38df59=_0x18b272['extraPlugins']||[];delete _0x18b272[_0x282a('0x17')];const _0x347313=_0x18b272['removePlugins']||[];delete _0x18b272[_0x282a('0x8')];const _0x50c007=_0x11ec0d[_0x282a('0x10')][_0x282a('0x11')][_0x282a('0x16')](_0x282a('0xb'))||[],_0x4a18c2=_0x6651d6['concat'](_0x38df59)[_0x282a('0xa')](_0x50c007)[_0x282a('0x15')](_0x550b50=>_0x282a('0xd')==typeof _0x550b50?_0x82fe5c[_0x282a('0xf')](_0x4c116e=>_0x4c116e[_0x282a('0x19')]==_0x550b50):_0x550b50)['filter'](_0x3a3968=>!_0x347313[_0x282a('0x0')](_0x3a3968)&&!_0x347313[_0x282a('0x0')](_0x3a3968[_0x282a('0x19')])),_0x109dce=Array[_0x282a('0xe')](new Set(_0x4a18c2)),_0x356f31=new Map();return _0x18b272[_0x282a('0xb')]=_0x109dce['filter'](_0x14eb06=>v(_0x14eb06,_0x356f31,_0x11ec0d['plugins'],_0x33ff92)),_0x18b272;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}
23
+ const _0x5bc9=['change:range','document','containsPosition','length','getRange','markers','focus','push','includes','isEqual','end'];(function(_0x2b3159,_0x5bc97c){const _0x2f3a07=function(_0x12acb){while(--_0x12acb){_0x2b3159['push'](_0x2b3159['shift']());}};_0x2f3a07(++_0x5bc97c);}(_0x5bc9,0x119));const _0x2f3a=function(_0x2b3159,_0x5bc97c){_0x2b3159=_0x2b3159-0x0;let _0x2f3a07=_0x5bc9[_0x2b3159];return _0x2f3a07;};export default function q(_0x4dc58d,_0xd6cba6){const _0x2cec9e=[];_0x4dc58d[_0x2f3a('0x6')]['selection']['on'](_0x2f3a('0x5'),()=>{const _0xfefaaa=function(_0x3122bc,_0xec983d){const _0x154df1=[];for(const _0x4fb12b of _0x3122bc[_0x2f3a('0xa')]){const _0x16bd52=_0x4fb12b[_0x2f3a('0x9')]();(_0x16bd52[_0x2f3a('0x7')](_0xec983d)||_0x16bd52['start'][_0x2f3a('0x3')](_0xec983d)||_0x16bd52[_0x2f3a('0x4')]['isEqual'](_0xec983d))&&_0x154df1[_0x2f3a('0x1')](_0x4fb12b);}return _0x154df1;}(_0x4dc58d,_0x4dc58d[_0x2f3a('0x6')]['selection'][_0x2f3a('0x0')]),_0xc696b1=[],_0x525eaa=[],_0x5434d7=[];for(const _0xd2eb96 of _0x2cec9e)_0xfefaaa[_0x2f3a('0x2')](_0xd2eb96)||_0xc696b1[_0x2f3a('0x1')](_0xd2eb96);for(const _0x31d3d6 of _0xfefaaa)_0x2cec9e[_0x2f3a('0x2')](_0x31d3d6)||_0x525eaa['push'](_0x31d3d6),_0x5434d7[_0x2f3a('0x1')](_0x31d3d6);(_0xc696b1[_0x2f3a('0x8')]||_0x525eaa[_0x2f3a('0x8')])&&_0xd6cba6({'left':_0xc696b1,'entered':_0x525eaa}),_0x2cec9e['length']=0x0,_0x2cec9e['push'](..._0x5434d7);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x2871=['startsWith','indexOf','length','push','match','replace','join','...','slice','split','substring'];(function(_0x2cef31,_0x287194){const _0x24f665=function(_0x20c651){while(--_0x20c651){_0x2cef31['push'](_0x2cef31['shift']());}};_0x24f665(++_0x287194);}(_0x2871,0x120));const _0x24f6=function(_0x2cef31,_0x287194){_0x2cef31=_0x2cef31-0x0;let _0x24f665=_0x2871[_0x2cef31];return _0x24f665;};export default function z(_0x564af1,{limit:_0x37fc39,suffix:_0x25c293=_0x24f6('0x5')}){const _0xb6f78=[];let _0x143441=0x0;const _0x5af57e=_0x564af1['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x24f6('0x3')](/^\n/g,'')[_0x24f6('0x3')](/\n$/g,'')[_0x24f6('0x7')]('\x0a');for(let _0x9614ee=0x0;_0x9614ee<_0x5af57e[_0x24f6('0x0')];_0x9614ee++){let _0x1c7731=_0x5af57e[_0x9614ee];const _0x4431e0=Z(_0x1c7731);if(_0x1c7731[_0x24f6('0x9')]('<')){if(_0x143441>=_0x37fc39){const _0x5992f8=_0x1c7731['match'](/[a-zA-Z]+/);if(!_0x5992f8){_0x5af57e[_0x9614ee]='';continue;}const _0x2f7f5c=_0x5992f8[0x0];_0x1c7731['startsWith']('</')?(_0xb6f78[_0x24f6('0x0')]&&(_0x1c7731=''),_0xb6f78['pop']()):(_0xb6f78[_0x24f6('0x1')](_0x2f7f5c),_0x1c7731='');}}else{if(_0x143441>=_0x37fc39)_0x1c7731='';else{if(_0x143441+_0x4431e0[_0x24f6('0x0')]>=_0x37fc39){let _0x4692ce=_0x37fc39-_0x143441;if('\x20'===_0x4431e0[_0x4692ce-0x1])_0x4692ce--;else{const _0x305633=_0x4431e0['slice'](_0x4692ce)[_0x24f6('0xa')]('\x20');-0x1!==_0x305633?_0x4692ce+=_0x305633:_0x4692ce=_0x1c7731[_0x24f6('0x0')];}_0x1c7731=_0x4431e0[_0x24f6('0x6')](0x0,_0x4692ce)['join']('')+_0x25c293,_0x143441=_0x37fc39;}else _0x143441+=_0x4431e0[_0x24f6('0x0')];}}_0x5af57e[_0x9614ee]=_0x1c7731;}return _0x5af57e[_0x24f6('0x4')]('\x0a')[_0x24f6('0x3')](/\n/g,'');}function Z(_0x44dd08){const _0x183b7c=[];for(let _0x151732=0x0;_0x151732<_0x44dd08[_0x24f6('0x0')];_0x151732++){const _0x1b1fb5=_0x44dd08[_0x24f6('0x8')](_0x151732)[_0x24f6('0x2')](/^&[a-z0-9#]+;/);if(_0x1b1fb5){const _0x36c352=_0x1b1fb5[0x0];_0x183b7c[_0x24f6('0x1')](_0x36c352),_0x151732+=_0x36c352[_0x24f6('0x0')]-0x1;}else _0x183b7c[_0x24f6('0x1')](_0x44dd08[_0x151732]);}return _0x183b7c;}