@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240131.0 → 0.0.0-nightly-20240201.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-20240131.0",
3
+ "version": "0.0.0-nightly-20240201.0",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -32,7 +32,7 @@
32
32
  "type": "module",
33
33
  "main": "src/index.js",
34
34
  "dependencies": {
35
- "ckeditor5": "0.0.0-nightly-20240131.0",
35
+ "ckeditor5": "0.0.0-nightly-20240201.0",
36
36
  "date-fns": "2.30.0"
37
37
  },
38
38
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a2=['addCommentThread','document:write','get','config','plugins','CommentsRepository','Permissions','no-permissions','CommentsOnly','setPermissions','forceDisabled','editors','comment:admin','context','enableReadOnlyMode','includes','commands','comment:modify_all','isEnabled','pluginName','collaboration.channelId','noPermissions','has'];(function(_0x19c760,_0x39a2f7){const _0x10cb97=function(_0xe2f4aa){while(--_0xe2f4aa){_0x19c760['push'](_0x19c760['shift']());}};_0x10cb97(++_0x39a2f7);}(_0x39a2,0xd0));const _0x10cb=function(_0x19c760,_0x39a2f7){_0x19c760=_0x19c760-0x0;let _0x10cb97=_0x39a2[_0x19c760];return _0x10cb97;};import{ContextPlugin as _0x2c5134,Editor as _0x2e4789}from'ckeditor5/src/core.js';import{CKEditorError as _0x214c9c}from'ckeditor5/src/utils.js';export default class n extends _0x2c5134{static get[_0x10cb('0x12')](){return _0x10cb('0x5');}[_0x10cb('0x8')](_0x39a540,_0x15df78){let _0xe391a;if(_0x15df78||(_0x15df78=this[_0x10cb('0xc')][_0x10cb('0x2')][_0x10cb('0x1')](_0x10cb('0x13'))),this[_0x10cb('0xc')][_0x10cb('0x2')][_0x10cb('0x1')](_0x10cb('0x13'))==_0x15df78?_0xe391a=this['context']:'editors'in this['context']&&this[_0x10cb('0xc')]['editors']&&(_0xe391a=this[_0x10cb('0xc')][_0x10cb('0xa')]['find'](_0x3d1522=>_0x3d1522[_0x10cb('0x2')][_0x10cb('0x1')](_0x10cb('0x13'))==_0x15df78)),!_0xe391a)throw new _0x214c9c('permissions-set-permissions-invalid-channel-id',null);const _0x5f26bc=_0xe391a[_0x10cb('0x3')],_0x1eaa88=_0x5f26bc[_0x10cb('0x15')](_0x10cb('0x4'))?_0x5f26bc[_0x10cb('0x1')](_0x10cb('0x4')):void 0x0,_0x292f4f=_0x5f26bc[_0x10cb('0x15')](_0x10cb('0x7'))&&_0x5f26bc[_0x10cb('0x1')]('CommentsOnly'),_0xed8b2=_0x39a540[_0x10cb('0xe')](_0x10cb('0x0')),_0x37f05b=_0x39a540[_0x10cb('0xe')](_0x10cb('0x10')),_0x1375d7=_0x39a540['includes'](_0x10cb('0xb')),_0x41e53c=_0x39a540['includes']('comment:write'),_0x664107=_0x41e53c||_0x1375d7,_0x44797c=_0x664107||_0x37f05b,_0x289a01=_0xed8b2||_0x664107;(_0x292f4f&&(_0x292f4f[_0x10cb('0x11')]=!_0xed8b2&&_0x44797c),_0xe391a instanceof _0x2e4789)&&(!(_0xed8b2||_0x44797c&&_0x1eaa88)?_0xe391a[_0x10cb('0xd')](_0x10cb('0x6')):_0xe391a['disableReadOnlyMode'](_0x10cb('0x6')));if(_0x1eaa88){_0x1eaa88[_0x10cb('0x8')]({'admin':_0x1375d7,'modifyAll':_0x37f05b,'write':_0x41e53c,'resolve':_0x289a01},_0x15df78);const _0x30b67a=_0xe391a instanceof _0x2e4789&&_0xe391a[_0x10cb('0xf')]['get'](_0x10cb('0x16'));_0x30b67a&&(_0x664107?_0x30b67a['clearForceDisabled'](_0x10cb('0x14')):_0x30b67a[_0x10cb('0x9')](_0x10cb('0x14')));}}}
23
+ const _0x3dfc=['setPermissions','commands','comment:admin','document:write','permissions-set-permissions-invalid-channel-id','context','Permissions','collaboration.channelId','no-permissions','editors','addCommentThread','forceDisabled','enableReadOnlyMode','CommentsRepository','includes','plugins','has','get','config','CommentsOnly','disableReadOnlyMode','noPermissions'];(function(_0x24e6b1,_0x3dfc04){const _0xc17bfd=function(_0x5aa740){while(--_0x5aa740){_0x24e6b1['push'](_0x24e6b1['shift']());}};_0xc17bfd(++_0x3dfc04);}(_0x3dfc,0x6d));const _0xc17b=function(_0x24e6b1,_0x3dfc04){_0x24e6b1=_0x24e6b1-0x0;let _0xc17bfd=_0x3dfc[_0x24e6b1];return _0xc17bfd;};import{ContextPlugin as _0x38e8d7,Editor as _0x818a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x21c076}from'ckeditor5/src/utils.js';export default class n extends _0x38e8d7{static get['pluginName'](){return _0xc17b('0x7');}[_0xc17b('0x1')](_0x59116,_0x25c29a){let _0x27b50e;if(_0x25c29a||(_0x25c29a=this[_0xc17b('0x6')][_0xc17b('0x13')][_0xc17b('0x12')]('collaboration.channelId')),this[_0xc17b('0x6')][_0xc17b('0x13')][_0xc17b('0x12')](_0xc17b('0x8'))==_0x25c29a?_0x27b50e=this['context']:_0xc17b('0xa')in this['context']&&this[_0xc17b('0x6')][_0xc17b('0xa')]&&(_0x27b50e=this[_0xc17b('0x6')]['editors']['find'](_0x1e979a=>_0x1e979a['config'][_0xc17b('0x12')](_0xc17b('0x8'))==_0x25c29a)),!_0x27b50e)throw new _0x21c076(_0xc17b('0x5'),null);const _0x2ca86d=_0x27b50e[_0xc17b('0x10')],_0x28af67=_0x2ca86d['has'](_0xc17b('0xe'))?_0x2ca86d[_0xc17b('0x12')](_0xc17b('0xe')):void 0x0,_0x2776e1=_0x2ca86d[_0xc17b('0x11')]('CommentsOnly')&&_0x2ca86d[_0xc17b('0x12')](_0xc17b('0x14')),_0xe1510=_0x59116[_0xc17b('0xf')](_0xc17b('0x4')),_0x5a2b0d=_0x59116[_0xc17b('0xf')]('comment:modify_all'),_0x1ac63f=_0x59116[_0xc17b('0xf')](_0xc17b('0x3')),_0x47ac32=_0x59116[_0xc17b('0xf')]('comment:write'),_0x30064f=_0x47ac32||_0x1ac63f,_0x3aa17f=_0x30064f||_0x5a2b0d,_0x10e38b=_0xe1510||_0x30064f;(_0x2776e1&&(_0x2776e1['isEnabled']=!_0xe1510&&_0x3aa17f),_0x27b50e instanceof _0x818a5)&&(!(_0xe1510||_0x3aa17f&&_0x28af67)?_0x27b50e[_0xc17b('0xd')](_0xc17b('0x9')):_0x27b50e[_0xc17b('0x15')](_0xc17b('0x9')));if(_0x28af67){_0x28af67[_0xc17b('0x1')]({'admin':_0x1ac63f,'modifyAll':_0x5a2b0d,'write':_0x47ac32,'resolve':_0x10e38b},_0x25c29a);const _0x3799e5=_0x27b50e instanceof _0x818a5&&_0x27b50e[_0xc17b('0x2')][_0xc17b('0x12')](_0xc17b('0xb'));_0x3799e5&&(_0x30064f?_0x3799e5['clearForceDisabled']('noPermissions'):_0x3799e5[_0xc17b('0xc')](_0xc17b('0x0')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fcf=['ck-user_me','name','extendTemplate','isMe','ck-user__img','setTemplate','ck\x20ck-user__name','notificationView','div','ck-user__avatar','url(\x27','avatar','push','initials','ck-user','content','isAnonymous','ck-user__icon'];(function(_0x5b27eb,_0x4fcfcf){const _0x602669=function(_0x7a98ca){while(--_0x7a98ca){_0x5b27eb['push'](_0x5b27eb['shift']());}};_0x602669(++_0x4fcfcf);}(_0x4fcf,0x1e3));const _0x6026=function(_0x5b27eb,_0x4fcfcf){_0x5b27eb=_0x5b27eb-0x0;let _0x602669=_0x4fcf[_0x5b27eb];return _0x602669;};import{View as _0x10c7dc,IconView as _0x2051c7}from'ckeditor5/src/ui.js';import _0x5bdfb6 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x10c7dc{constructor(_0x5c2108,_0x1ddd9d,_0x5f3eff){super(_0x5c2108),this[_0x6026('0x4')]=_0x1ddd9d[_0x6026('0x4')],this[_0x6026('0xa')]=null;const _0x3f6029=['ck',_0x6026('0x11')],_0x1dd944=['ck',_0x6026('0x7')];if(_0x1ddd9d[_0x6026('0x1')]&&_0x1dd944['push']('ck-user__anonymous'),!_0x1ddd9d['isAnonymous']&&_0x1ddd9d[_0x6026('0x6')]&&_0x3f6029[_0x6026('0xf')](_0x6026('0x3')),_0x1ddd9d[_0x6026('0xe')]&&_0x1dd944[_0x6026('0xf')](_0x6026('0xc')),_0x5f3eff){const _0x5b8cf1=new _0x2051c7();_0x5b8cf1[_0x6026('0x5')]({'attributes':{'class':[_0x6026('0x2')]}}),_0x5b8cf1[_0x6026('0x0')]=_0x5bdfb6,this[_0x6026('0xa')]={'tag':_0x6026('0xb'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5f3eff},'children':[_0x5b8cf1]};}const _0x2d7d98=[{'tag':_0x6026('0xb'),'attributes':{'class':_0x1dd944,'style':{'background-image':_0x1ddd9d[_0x6026('0xe')]?_0x6026('0xd')+_0x1ddd9d[_0x6026('0xe')]+'\x27)':''}}},{'tag':_0x6026('0xb'),'attributes':{'class':_0x1ddd9d[_0x6026('0xe')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x6026('0x9')},'children':[{'text':_0x1ddd9d[_0x6026('0x10')]}]}];this[_0x6026('0xa')]&&_0x2d7d98['push'](this[_0x6026('0xa')]),this[_0x6026('0x8')]({'tag':'div','attributes':{'class':_0x3f6029,'data-user-id':_0x1ddd9d['id']},'children':_0x2d7d98});}}
23
+ const _0x31e6=['ck-user__icon','isMe','notificationView','ck\x20ck-user__name','ck-user__anonymous','ck-user','ck-user__avatar','name','content','ck-user_me','ck-user__img','setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','div','push','extendTemplate','isAnonymous','avatar','url(\x27'];(function(_0xa5aa35,_0x31e6bb){const _0x2b7174=function(_0x3b7f38){while(--_0x3b7f38){_0xa5aa35['push'](_0xa5aa35['shift']());}};_0x2b7174(++_0x31e6bb);}(_0x31e6,0x8f));const _0x2b71=function(_0xa5aa35,_0x31e6bb){_0xa5aa35=_0xa5aa35-0x0;let _0x2b7174=_0x31e6[_0xa5aa35];return _0x2b7174;};import{View as _0x47c775,IconView as _0x5628fc}from'ckeditor5/src/ui.js';import _0xd24c72 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x47c775{constructor(_0x3b7faa,_0x410206,_0x124f51){super(_0x3b7faa),this[_0x2b71('0x10')]=_0x410206[_0x2b71('0x10')],this['notificationView']=null;const _0x34182d=['ck',_0x2b71('0xe')],_0x54f66a=['ck',_0x2b71('0x0')];if(_0x410206[_0x2b71('0x6')]&&_0x54f66a[_0x2b71('0x4')](_0x2b71('0xd')),!_0x410206['isAnonymous']&&_0x410206[_0x2b71('0xa')]&&_0x34182d[_0x2b71('0x4')](_0x2b71('0x12')),_0x410206[_0x2b71('0x7')]&&_0x54f66a[_0x2b71('0x4')](_0x2b71('0xf')),_0x124f51){const _0x132c95=new _0x5628fc();_0x132c95[_0x2b71('0x5')]({'attributes':{'class':[_0x2b71('0x9')]}}),_0x132c95[_0x2b71('0x11')]=_0xd24c72,this[_0x2b71('0xb')]={'tag':_0x2b71('0x3'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x124f51},'children':[_0x132c95]};}const _0x335f2b=[{'tag':_0x2b71('0x3'),'attributes':{'class':_0x54f66a,'style':{'background-image':_0x410206[_0x2b71('0x7')]?_0x2b71('0x8')+_0x410206[_0x2b71('0x7')]+'\x27)':''}}},{'tag':_0x2b71('0x3'),'attributes':{'class':_0x410206[_0x2b71('0x7')]?_0x2b71('0x2'):_0x2b71('0xc')},'children':[{'text':_0x410206['initials']}]}];this[_0x2b71('0xb')]&&_0x335f2b[_0x2b71('0x4')](this[_0x2b71('0xb')]),this[_0x2b71('0x1')]({'tag':_0x2b71('0x3'),'attributes':{'class':_0x34182d,'data-user-id':_0x410206['id']},'children':_0x335f2b});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a0c=['_getNextColor','_isMe','getMarkerClass','requires','licenseKeyTrial','pluginName','trial-license-key-reached-limit-changes','licenseKey','invalid-license-key','getBackgroundColorClass','define','defineMe','users-me-missing-user','length','name','_lastColor','init','licenseKeyInvalid','info','config','get','_getInitial','users-me-already-defined','isAnonymous','locale','_id','licenseKeyTrialLimit:operations','add','_licenseKeyCheckInterval','_addAnonymousUser','licenseKeyValid','users.colorsCount','_myId','color','decorate','ck-user__marker--','_locale','toUpperCase','trim','users.anonymousUserId','useAnonymousUser','Users','avatar','getUser','destroy','licenseKeyTrialLimit:time','Anonymous','has','_isAnonymous','addUser','users','users-add-invalid-id','anonymous-user','context','getOperationAuthor','licenseKeyTrialLimit:revisions'];(function(_0x40f5f0,_0x2a0cbb){const _0x135478=function(_0x28539e){while(--_0x28539e){_0x40f5f0['push'](_0x40f5f0['shift']());}};_0x135478(++_0x2a0cbb);}(_0x2a0c,0x175));const _0x1354=function(_0x40f5f0,_0x2a0cbb){_0x40f5f0=_0x40f5f0-0x0;let _0x135478=_0x2a0c[_0x40f5f0];return _0x135478;};import{ContextPlugin as _0x55aa52}from'ckeditor5/src/core.js';import{Collection as _0x2dc3c5,CKEditorError as _0x481900}from'ckeditor5/src/utils.js';import _0x49e2a6 from'./permissions.js';import{getTranslation as _0x6394bb}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x55aa52{static get[_0x1354('0x18')](){return _0x1354('0x4');}static get[_0x1354('0x16')](){return[_0x49e2a6];}constructor(_0x18e358){super(_0x18e358),this[_0x1354('0x10')][_0x1354('0x26')][_0x1354('0x1d')](_0x1354('0x2'),_0x1354('0xf')),this[_0x1354('0x10')]['config'][_0x1354('0x1d')](_0x1354('0x32'),0x8),this['users']=new _0x2dc3c5(),this[_0x1354('0x37')]=_0x18e358[_0x1354('0x2b')],this[_0x1354('0x2f')]=null,this[_0x1354('0x22')]=0x0,this[_0x1354('0x33')]=null,this[_0x1354('0x35')](_0x1354('0x11'));}[_0x1354('0x23')](){const _0x5d0fd5=this['context'];this[_0x1354('0x1a')]=_0x5d0fd5[_0x1354('0x26')][_0x1354('0x27')]('licenseKey');const _0x402673=[_0x1354('0x17'),_0x1354('0x24'),_0x1354('0x31'),_0x1354('0x2d'),_0x1354('0x8'),_0x1354('0x12')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x432c99;for(const _0x38f4db in _0x5d0fd5){const _0x5d6cfb=_0x5d0fd5[_0x38f4db];if(_0x402673['includes'](_0x5d6cfb)){delete _0x5d0fd5[_0x38f4db],_0x432c99=_0x5d6cfb;break;}}if(_0x1354('0x24')===_0x432c99)throw clearInterval(this[_0x1354('0x2f')]),new _0x481900(_0x1354('0x1b'),null);if(_0x1354('0x17')===_0x432c99&&console[_0x1354('0x25')]('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.'),_0x1354('0x2d')===_0x432c99)throw clearInterval(this[_0x1354('0x2f')]),new _0x481900(_0x1354('0x19'),null);if(_0x1354('0x8')===_0x432c99)throw clearInterval(this[_0x1354('0x2f')]),new _0x481900('trial-license-key-reached-limit-time',null);if(_0x1354('0x12')===_0x432c99)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x481900('trial-license-key-reached-limit-revisions',null);_0x1354('0x31')===_0x432c99&&clearInterval(this[_0x1354('0x2f')]);},0x3e8),this[_0x1354('0x30')]();}get['me'](){return null==this[_0x1354('0x33')]?null:this[_0x1354('0x6')](this[_0x1354('0x33')]);}[_0x1354('0xc')]({id:_0x4ed19c,name:_0x49b830,..._0x2caa8f}){if(!_0x4ed19c||'string'!=typeof _0x4ed19c)throw new _0x481900(_0x1354('0xe'));if(this[_0x1354('0xd')][_0x1354('0xa')](_0x4ed19c))throw new _0x481900('users-add-duplicated-id',null,{'id':_0x4ed19c});const _0x3c664a={..._0x2caa8f,'id':_0x4ed19c,'name':a(this[_0x1354('0x37')],_0x49b830),'color':this[_0x1354('0x13')]()};_0x3c664a[_0x1354('0x21')]=a(this[_0x1354('0x37')],_0x3c664a[_0x1354('0x21')]);const _0x3c0a1a=new User(_0x3c664a);return this[_0x1354('0xd')][_0x1354('0x2e')](_0x3c0a1a),_0x3c0a1a;}[_0x1354('0x6')](_0x130caa){return this[_0x1354('0xd')][_0x1354('0x27')](_0x130caa);}[_0x1354('0x3')](){const _0x2465de=this[_0x1354('0x10')][_0x1354('0x26')][_0x1354('0x27')](_0x1354('0x2'));this[_0x1354('0x33')]||this[_0x1354('0x1e')](_0x2465de);}[_0x1354('0x1e')](_0x1c9bba){if(this['_myId'])throw new _0x481900(_0x1354('0x29'),null);const _0x409fb3=this['getUser'](_0x1c9bba);if(!_0x409fb3)throw new _0x481900(_0x1354('0x1f'),null);this[_0x1354('0x33')]=_0x1c9bba,_0x409fb3[_0x1354('0x14')]=!0x0;}[_0x1354('0x11')](){return this['me'];}[_0x1354('0x7')](){super['destroy'](),clearInterval(this[_0x1354('0x2f')]);}[_0x1354('0x13')](){const _0x359c92=this[_0x1354('0x10')]['config'][_0x1354('0x27')]('users.colorsCount');return this[_0x1354('0x22')]>=_0x359c92&&(this[_0x1354('0x22')]=0x0),new u(this[_0x1354('0x22')]++);}[_0x1354('0x30')](){const _0x461b70=this[_0x1354('0x10')]['config'][_0x1354('0x27')](_0x1354('0x2'));this[_0x1354('0xc')]({'id':_0x461b70,'name':_0x6394bb(this[_0x1354('0x37')],_0x1354('0x9'))})[_0x1354('0xb')]=!0x0;}}export class User{constructor(_0x35eed5){this['id']=_0x35eed5['id'],this[_0x1354('0x34')]=_0x35eed5[_0x1354('0x34')],this['name']=_0x35eed5[_0x1354('0x21')],this[_0x1354('0x5')]=_0x35eed5['avatar'],this[_0x1354('0xb')]=!0x1,this['_isMe']=!0x1;}get[_0x1354('0x2a')](){return this[_0x1354('0xb')];}get['isMe'](){return this[_0x1354('0x14')];}get['initials'](){const _0x187ff5=this[_0x1354('0x21')]['split']('\x20');return 0x1===_0x187ff5[_0x1354('0x20')]?this[_0x1354('0x28')](_0x187ff5[0x0]):this[_0x1354('0x28')](_0x187ff5[0x0])+this[_0x1354('0x28')](_0x187ff5[_0x187ff5['length']-0x1]);}[_0x1354('0x28')](_0x268b67){return _0x268b67['charAt'](0x0)[_0x1354('0x0')]();}}function a(_0x1a5fc4,_0x17eb3e=''){return''==(_0x17eb3e=_0x17eb3e[_0x1354('0x1')]())?_0x6394bb(_0x1a5fc4,_0x1354('0x9')):_0x17eb3e;}class u{constructor(_0x58abb2){this['_id']=_0x58abb2;}[_0x1354('0x1c')](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this[_0x1354('0x2c')];}[_0x1354('0x15')](){return _0x1354('0x36')+this[_0x1354('0x2c')];}}
23
+ const _0xf249=['context','avatar','Anonymous','_lastColor','licenseKeyInvalid','users.colorsCount','isMe','licenseKeyTrialLimit:operations','_myId','ck-user__bg-color--','initials','getBackgroundColorClass','_licenseKeyCheckInterval','getSelectionClass','color','getMarkerClass','users.anonymousUserId','length','name','trim','toUpperCase','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.','trial-license-key-reached-limit-time','pluginName','config','getUser','_locale','licenseKeyTrialLimit:revisions','users-me-already-defined','_id','split','licenseKeyValid','Users','licenseKey','decorate','users-me-missing-user','useAnonymousUser','addUser','_getNextColor','users-add-duplicated-id','trial-license-key-reached-limit-changes','_addAnonymousUser','get','users','_isAnonymous','includes','_getInitial','getOperationAuthor','destroy','defineMe','define','info','licenseKeyTrialLimit:time','licenseKeyTrial','_isMe','charAt','requires','has','locale','users-add-invalid-id','anonymous-user','string'];(function(_0x3ba666,_0xf249b7){const _0x25e50b=function(_0x4e6632){while(--_0x4e6632){_0x3ba666['push'](_0x3ba666['shift']());}};_0x25e50b(++_0xf249b7);}(_0xf249,0x15e));const _0x25e5=function(_0x3ba666,_0xf249b7){_0x3ba666=_0x3ba666-0x0;let _0x25e50b=_0xf249[_0x3ba666];return _0x25e50b;};import{ContextPlugin as _0x50a526}from'ckeditor5/src/core.js';import{Collection as _0x4ee45b,CKEditorError as _0x41231d}from'ckeditor5/src/utils.js';import _0x318600 from'./permissions.js';import{getTranslation as _0x4a4c5a}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x50a526{static get[_0x25e5('0x2d')](){return _0x25e5('0x36');}static get[_0x25e5('0x10')](){return[_0x318600];}constructor(_0x1fea29){super(_0x1fea29),this['context']['config'][_0x25e5('0xa')]('users.anonymousUserId',_0x25e5('0x14')),this[_0x25e5('0x16')][_0x25e5('0x2e')][_0x25e5('0xa')](_0x25e5('0x1b'),0x8),this['users']=new _0x4ee45b(),this[_0x25e5('0x30')]=_0x1fea29[_0x25e5('0x12')],this['_licenseKeyCheckInterval']=null,this[_0x25e5('0x19')]=0x0,this[_0x25e5('0x1e')]=null,this[_0x25e5('0x38')]('getOperationAuthor');}['init'](){const _0x22140e=this[_0x25e5('0x16')];this['licenseKey']=_0x22140e[_0x25e5('0x2e')][_0x25e5('0x2')](_0x25e5('0x37'));const _0x87dfd2=[_0x25e5('0xd'),_0x25e5('0x1a'),'licenseKeyValid',_0x25e5('0x1d'),_0x25e5('0xc'),'licenseKeyTrialLimit:revisions'];this[_0x25e5('0x22')]=setInterval(()=>{let _0x466be4;for(const _0x59951a in _0x22140e){const _0x2d73e1=_0x22140e[_0x59951a];if(_0x87dfd2[_0x25e5('0x5')](_0x2d73e1)){delete _0x22140e[_0x59951a],_0x466be4=_0x2d73e1;break;}}if(_0x25e5('0x1a')===_0x466be4)throw clearInterval(this[_0x25e5('0x22')]),new _0x41231d('invalid-license-key',null);if(_0x25e5('0xd')===_0x466be4&&console[_0x25e5('0xb')](_0x25e5('0x2b')),_0x25e5('0x1d')===_0x466be4)throw clearInterval(this[_0x25e5('0x22')]),new _0x41231d(_0x25e5('0x0'),null);if(_0x25e5('0xc')===_0x466be4)throw clearInterval(this[_0x25e5('0x22')]),new _0x41231d(_0x25e5('0x2c'),null);if(_0x25e5('0x31')===_0x466be4)throw clearInterval(this[_0x25e5('0x22')]),new _0x41231d('trial-license-key-reached-limit-revisions',null);_0x25e5('0x35')===_0x466be4&&clearInterval(this[_0x25e5('0x22')]);},0x3e8),this[_0x25e5('0x1')]();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x25e5('0x1e')]);}[_0x25e5('0x3b')]({id:_0x96ffaa,name:_0x51d851,..._0x121724}){if(!_0x96ffaa||_0x25e5('0x15')!=typeof _0x96ffaa)throw new _0x41231d(_0x25e5('0x13'));if(this[_0x25e5('0x3')][_0x25e5('0x11')](_0x96ffaa))throw new _0x41231d(_0x25e5('0x3d'),null,{'id':_0x96ffaa});const _0x9bd86d={..._0x121724,'id':_0x96ffaa,'name':a(this[_0x25e5('0x30')],_0x51d851),'color':this[_0x25e5('0x3c')]()};_0x9bd86d['name']=a(this['_locale'],_0x9bd86d[_0x25e5('0x28')]);const _0x2bf79d=new User(_0x9bd86d);return this['users']['add'](_0x2bf79d),_0x2bf79d;}[_0x25e5('0x2f')](_0x9019b4){return this[_0x25e5('0x3')]['get'](_0x9019b4);}[_0x25e5('0x3a')](){const _0x61d1e4=this[_0x25e5('0x16')]['config']['get'](_0x25e5('0x26'));this[_0x25e5('0x1e')]||this[_0x25e5('0x9')](_0x61d1e4);}['defineMe'](_0x9086b2){if(this[_0x25e5('0x1e')])throw new _0x41231d(_0x25e5('0x32'),null);const _0x338175=this[_0x25e5('0x2f')](_0x9086b2);if(!_0x338175)throw new _0x41231d(_0x25e5('0x39'),null);this[_0x25e5('0x1e')]=_0x9086b2,_0x338175[_0x25e5('0xe')]=!0x0;}[_0x25e5('0x7')](){return this['me'];}[_0x25e5('0x8')](){super[_0x25e5('0x8')](),clearInterval(this[_0x25e5('0x22')]);}[_0x25e5('0x3c')](){const _0x236733=this[_0x25e5('0x16')]['config']['get']('users.colorsCount');return this[_0x25e5('0x19')]>=_0x236733&&(this['_lastColor']=0x0),new u(this[_0x25e5('0x19')]++);}[_0x25e5('0x1')](){const _0xc074d=this[_0x25e5('0x16')][_0x25e5('0x2e')][_0x25e5('0x2')]('users.anonymousUserId');this['addUser']({'id':_0xc074d,'name':_0x4a4c5a(this[_0x25e5('0x30')],'Anonymous')})[_0x25e5('0x4')]=!0x0;}}export class User{constructor(_0x12d3b1){this['id']=_0x12d3b1['id'],this[_0x25e5('0x24')]=_0x12d3b1[_0x25e5('0x24')],this[_0x25e5('0x28')]=_0x12d3b1['name'],this[_0x25e5('0x17')]=_0x12d3b1[_0x25e5('0x17')],this[_0x25e5('0x4')]=!0x1,this[_0x25e5('0xe')]=!0x1;}get['isAnonymous'](){return this[_0x25e5('0x4')];}get[_0x25e5('0x1c')](){return this['_isMe'];}get[_0x25e5('0x20')](){const _0x5ab1e5=this['name'][_0x25e5('0x34')]('\x20');return 0x1===_0x5ab1e5[_0x25e5('0x27')]?this[_0x25e5('0x6')](_0x5ab1e5[0x0]):this[_0x25e5('0x6')](_0x5ab1e5[0x0])+this[_0x25e5('0x6')](_0x5ab1e5[_0x5ab1e5[_0x25e5('0x27')]-0x1]);}['_getInitial'](_0x15863d){return _0x15863d[_0x25e5('0xf')](0x0)[_0x25e5('0x2a')]();}}function a(_0x554e58,_0x1962db=''){return''==(_0x1962db=_0x1962db[_0x25e5('0x29')]())?_0x4a4c5a(_0x554e58,_0x25e5('0x18')):_0x1962db;}class u{constructor(_0x19bf21){this[_0x25e5('0x33')]=_0x19bf21;}[_0x25e5('0x21')](){return _0x25e5('0x1f')+this['_id'];}[_0x25e5('0x23')](){return'ck-user__selection--'+this['_id'];}[_0x25e5('0x25')](){return'ck-user__marker--'+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x45e7b4,_0x24d7c9){const t=_0x45e7b4['t'];switch(_0x24d7c9){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(_0x2cd7bb,_0x43f436){const t=_0x2cd7bb['t'];switch(_0x43f436){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 _0x6c88=['fire','confirmView','once','element','focus','cancel','deregisterChild','_removeConfirm','registerChild','submit','locale','message','appendChild','cancelConfirm','isConfirm','render'];(function(_0x312bb6,_0x6c88d9){var _0x226649=function(_0x415a6e){while(--_0x415a6e){_0x312bb6['push'](_0x312bb6['shift']());}};_0x226649(++_0x6c88d9);}(_0x6c88,0x132));var _0x2266=function(_0x312bb6,_0x6c88d9){_0x312bb6=_0x312bb6-0x0;var _0x226649=_0x6c88[_0x312bb6];return _0x226649;};import _0x1208df from'./confirmview.js';export default function m(_0x14fd76){return class extends _0x14fd76{['showConfirm'](_0x3ec453,_0x5ee5f0){return this[_0x2266('0xf')]=new _0x1208df(this[_0x2266('0x8')]),this[_0x2266('0xf')][_0x2266('0xd')](),this[_0x2266('0xf')][_0x2266('0x9')]=_0x3ec453,this[_0x2266('0xf')][_0x2266('0x0')](_0x2266('0x3'),()=>{this['_removeConfirm']();}),this[_0x2266('0xf')][_0x2266('0x0')](_0x2266('0x7'),()=>{this['_removeConfirm']();}),_0x5ee5f0[_0x2266('0xa')](this[_0x2266('0xf')][_0x2266('0x1')]),this[_0x2266('0x6')](this['confirmView']),this['element'][_0x2266('0x2')](),this['set'](_0x2266('0xc'),!0x0),new Promise(_0x1fc60b=>this[_0x2266('0xf')]['on'](_0x2266('0x7'),_0x1fc60b));}[_0x2266('0xb')](){this[_0x2266('0xc')]&&this[_0x2266('0xf')][_0x2266('0xe')](_0x2266('0x3'));}[_0x2266('0x5')](){this[_0x2266('0x1')]&&this[_0x2266('0xf')]&&this[_0x2266('0xf')][_0x2266('0x1')]&&(this[_0x2266('0x1')][_0x2266('0x2')](),this[_0x2266('0xf')]['element']['remove'](),this[_0x2266('0x4')](this[_0x2266('0xf')]),this[_0x2266('0xc')]=!0x1,this['confirmView']['destroy'](),this[_0x2266('0xf')]=void 0x0);}};}
23
+ var _0x4ec5=['fire','cancel','isConfirm','focus','_removeConfirm','set','showConfirm','message','element','once','cancelConfirm','destroy','confirmView','registerChild','remove','appendChild','submit'];(function(_0x51da2b,_0x4ec5e7){var _0x43618a=function(_0x3e29f2){while(--_0x3e29f2){_0x51da2b['push'](_0x51da2b['shift']());}};_0x43618a(++_0x4ec5e7);}(_0x4ec5,0x1bc));var _0x4361=function(_0x51da2b,_0x4ec5e7){_0x51da2b=_0x51da2b-0x0;var _0x43618a=_0x4ec5[_0x51da2b];return _0x43618a;};import _0x481fd4 from'./confirmview.js';export default function m(_0x2ca8a4){return class extends _0x2ca8a4{[_0x4361('0x4')](_0x166a11,_0x5688d1){return this[_0x4361('0xa')]=new _0x481fd4(this['locale']),this['confirmView']['render'](),this['confirmView'][_0x4361('0x5')]=_0x166a11,this[_0x4361('0xa')][_0x4361('0x7')](_0x4361('0x10'),()=>{this[_0x4361('0x2')]();}),this['confirmView'][_0x4361('0x7')](_0x4361('0xe'),()=>{this[_0x4361('0x2')]();}),_0x5688d1[_0x4361('0xd')](this[_0x4361('0xa')][_0x4361('0x6')]),this[_0x4361('0xb')](this['confirmView']),this[_0x4361('0x6')][_0x4361('0x1')](),this[_0x4361('0x3')](_0x4361('0x0'),!0x0),new Promise(_0x10e761=>this['confirmView']['on'](_0x4361('0xe'),_0x10e761));}[_0x4361('0x8')](){this['isConfirm']&&this['confirmView'][_0x4361('0xf')](_0x4361('0x10'));}[_0x4361('0x2')](){this[_0x4361('0x6')]&&this[_0x4361('0xa')]&&this[_0x4361('0xa')][_0x4361('0x6')]&&(this[_0x4361('0x6')][_0x4361('0x1')](),this['confirmView'][_0x4361('0x6')][_0x4361('0xc')](),this['deregisterChild'](this[_0x4361('0xa')]),this['isConfirm']=!0x1,this[_0x4361('0xa')][_0x4361('0x9')](),this[_0x4361('0xa')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a81=['ck-thread__remove-confirm-inner','cancel','Yes','Are\x20you\x20sure?','_createButtonView','message','fire','cancelView','set','ck-thread__remove-confirm','setTemplate','div','extendTemplate','bindTemplate','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','icon','execute'];(function(_0xd3347b,_0x5a8174){const _0x40d04d=function(_0x418d9e){while(--_0x418d9e){_0xd3347b['push'](_0xd3347b['shift']());}};_0x40d04d(++_0x5a8174);}(_0x5a81,0x9b));const _0x40d0=function(_0xd3347b,_0x5a8174){_0xd3347b=_0xd3347b-0x0;let _0x40d04d=_0x5a81[_0xd3347b];return _0x40d04d;};import{View as _0x4476b0,ButtonView as _0x372fda}from'ckeditor5/src/ui.js';import{icons as _0xc40da0}from'ckeditor5/src/core.js';import{getTranslation as _0x3d6f7a}from'./common-translations.js';export default class h extends _0x4476b0{constructor(_0x24e28f){super(_0x24e28f);const _0x47dca0=this[_0x40d0('0x2')];this['submitView']=this[_0x40d0('0xb')](_0x24e28f,_0x3d6f7a(_0x24e28f,_0x40d0('0x9')),_0xc40da0['check'],'submit'),this[_0x40d0('0xe')]=this['_createButtonView'](_0x24e28f,_0x3d6f7a(_0x24e28f,'No'),_0xc40da0['cancel'],_0x40d0('0x8')),this[_0x40d0('0xf')](_0x40d0('0xc'),_0x3d6f7a(_0x24e28f,_0x40d0('0xa'))),this[_0x40d0('0x11')]({'tag':_0x40d0('0x0'),'attributes':{'class':[_0x40d0('0x10')]},'children':[{'tag':_0x40d0('0x0'),'attributes':{'class':_0x40d0('0x7')},'children':[{'tag':'p','children':[{'text':_0x47dca0['to']('message')}]},{'tag':'div','attributes':{'class':_0x40d0('0x4')},'children':[this['submitView'],this[_0x40d0('0xe')]]}]}]});}['_createButtonView'](_0x3b93c3,_0x3004bd,_0x5ff9ba,_0x346aba){const _0x5c1db4=new _0x372fda(_0x3b93c3);return _0x5c1db4['label']=_0x3004bd,_0x5c1db4[_0x40d0('0x5')]=_0x5ff9ba,_0x5c1db4[_0x40d0('0x1')]({'attributes':{'class':_0x40d0('0x3')+_0x346aba}}),_0x5c1db4['on'](_0x40d0('0x6'),()=>this[_0x40d0('0xd')](_0x346aba)),_0x5c1db4;}}
23
+ const _0x3f25=['label','cancelView','Are\x20you\x20sure?','execute','fire','extendTemplate','setTemplate','message','div','Yes','check','_createButtonView','submit','icon','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-','submitView','ck-thread__remove-confirm-actions','bindTemplate','ck-thread__remove-confirm','set','cancel'];(function(_0x516848,_0x3f2521){const _0x4409af=function(_0x6450ff){while(--_0x6450ff){_0x516848['push'](_0x516848['shift']());}};_0x4409af(++_0x3f2521);}(_0x3f25,0x1ba));const _0x4409=function(_0x516848,_0x3f2521){_0x516848=_0x516848-0x0;let _0x4409af=_0x3f25[_0x516848];return _0x4409af;};import{View as _0x21835d,ButtonView as _0x139ba4}from'ckeditor5/src/ui.js';import{icons as _0x1998f0}from'ckeditor5/src/core.js';import{getTranslation as _0x2302ca}from'./common-translations.js';export default class h extends _0x21835d{constructor(_0x43ffe9){super(_0x43ffe9);const _0x3c5ad=this[_0x4409('0x10')];this[_0x4409('0xe')]=this[_0x4409('0x9')](_0x43ffe9,_0x2302ca(_0x43ffe9,_0x4409('0x7')),_0x1998f0[_0x4409('0x8')],_0x4409('0xa')),this[_0x4409('0x15')]=this[_0x4409('0x9')](_0x43ffe9,_0x2302ca(_0x43ffe9,'No'),_0x1998f0['cancel'],_0x4409('0x13')),this[_0x4409('0x12')](_0x4409('0x5'),_0x2302ca(_0x43ffe9,_0x4409('0x0'))),this[_0x4409('0x4')]({'tag':_0x4409('0x6'),'attributes':{'class':[_0x4409('0x11')]},'children':[{'tag':_0x4409('0x6'),'attributes':{'class':_0x4409('0xc')},'children':[{'tag':'p','children':[{'text':_0x3c5ad['to']('message')}]},{'tag':_0x4409('0x6'),'attributes':{'class':_0x4409('0xf')},'children':[this['submitView'],this[_0x4409('0x15')]]}]}]});}[_0x4409('0x9')](_0x1f300d,_0x478564,_0xc6a92f,_0x890a08){const _0x22bff2=new _0x139ba4(_0x1f300d);return _0x22bff2[_0x4409('0x14')]=_0x478564,_0x22bff2[_0x4409('0xb')]=_0xc6a92f,_0x22bff2[_0x4409('0x3')]({'attributes':{'class':_0x4409('0xd')+_0x890a08}}),_0x22bff2['on'](_0x4409('0x1'),()=>this[_0x4409('0x2')](_0x890a08)),_0x22bff2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b70=['dateTimeFormat','\x27Yesterday\x27\x20hh:mma','string','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','function'];(function(_0x1133b7,_0x3b7044){const _0x151286=function(_0x5119cb){while(--_0x5119cb){_0x1133b7['push'](_0x1133b7['shift']());}};_0x151286(++_0x3b7044);}(_0x3b70,0x68));const _0x1512=function(_0x1133b7,_0x3b7044){_0x1133b7=_0x1133b7-0x0;let _0x151286=_0x3b70[_0x1133b7];return _0x151286;};import _0x496e1d from'date-fns/format/index.js';import _0x4c3c86 from'date-fns/parseISO/index.js';import _0x2cc596 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x29d8dd}from'ckeditor5/src/utils.js';export default function j(_0x3b4fa7={}){if(void 0x0!==_0x3b4fa7['dateTimeFormat']&&_0x1512('0x0')!=typeof _0x3b4fa7[_0x1512('0x1')])throw new _0x29d8dd('invalid-date-time-format');return _0x3531a6=>{const _0x165d73=_0x1512('0x3')==typeof _0x3531a6?_0x4c3c86(_0x3531a6):_0x3531a6,_0xfa1492=new Date(),_0x46351d=_0x2cc596(_0xfa1492,_0x165d73);return _0x3b4fa7[_0x1512('0x1')]?_0x3b4fa7[_0x1512('0x1')](_0x165d73):_0x496e1d(_0x165d73,0x0===_0x46351d?_0x1512('0x6'):0x1===_0x46351d?_0x1512('0x2'):_0x46351d<0x7?_0x1512('0x5'):_0x1512('0x4'));};}
23
+ const _0x14f0=['\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','MM-dd-yyyy\x20hh:mma','function','string','\x27Today\x27\x20hh:mma'];(function(_0x49a492,_0x14f0ac){const _0x2cc5a8=function(_0x4af764){while(--_0x4af764){_0x49a492['push'](_0x49a492['shift']());}};_0x2cc5a8(++_0x14f0ac);}(_0x14f0,0x199));const _0x2cc5=function(_0x49a492,_0x14f0ac){_0x49a492=_0x49a492-0x0;let _0x2cc5a8=_0x14f0[_0x49a492];return _0x2cc5a8;};import _0x54db3e from'date-fns/format/index.js';import _0x2eafa8 from'date-fns/parseISO/index.js';import _0x364771 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x567432}from'ckeditor5/src/utils.js';export default function j(_0x1a4164={}){if(void 0x0!==_0x1a4164[_0x2cc5('0x6')]&&_0x2cc5('0x1')!=typeof _0x1a4164[_0x2cc5('0x6')])throw new _0x567432('invalid-date-time-format');return _0x3a94ae=>{const _0x18753b=_0x2cc5('0x2')==typeof _0x3a94ae?_0x2eafa8(_0x3a94ae):_0x3a94ae,_0x31638b=new Date(),_0x484cb0=_0x364771(_0x31638b,_0x18753b);return _0x1a4164[_0x2cc5('0x6')]?_0x1a4164[_0x2cc5('0x6')](_0x18753b):_0x54db3e(_0x18753b,0x0===_0x484cb0?_0x2cc5('0x3'):0x1===_0x484cb0?_0x2cc5('0x4'):_0x484cb0<0x7?_0x2cc5('0x5'):_0x2cc5('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ae8=['getClientRects','mapper','domConverter','map','values','item','view','length','mapViewToDom','from','sort','name','markerNameToElements','push','filter'];(function(_0x4250b8,_0x3ae85b){const _0x1d82b=function(_0xfba5b){while(--_0xfba5b){_0x4250b8['push'](_0x4250b8['shift']());}};_0x1d82b(++_0x3ae85b);}(_0x3ae8,0x17a));const _0x1d82=function(_0x4250b8,_0x3ae85b){_0x4250b8=_0x4250b8-0x0;let _0x1d82b=_0x3ae8[_0x4250b8];return _0x1d82b;};import{first as _0x495367}from'ckeditor5/src/utils.js';export default function k(_0x4a1474,_0x56df29){const _0x55cd4a=_0x4a1474['mapper'][_0x1d82('0x9')](_0x56df29[_0x1d82('0x8')]);if(!_0x55cd4a)return null;const _0x4d1d15=_0x495367(_0x55cd4a[_0x1d82('0x1')]());return _0x4a1474[_0x1d82('0x3')][_0x1d82('0xe')][_0x1d82('0x5')](_0x4d1d15)||null;}export function getAllMarkersDomElementsSorted(_0xd0c6a8,_0x3945d6){if(0x0===_0x3945d6[_0x1d82('0x4')])return null;const _0x17caab=[],_0x30b8b7=_0xd0c6a8['view']['domConverter'];for(const _0x10f4a7 of _0x3945d6){const _0x2840b3=_0xd0c6a8[_0x1d82('0xd')][_0x1d82('0x9')](_0x10f4a7[_0x1d82('0x8')]);if(!_0x2840b3)continue;const _0x2086fb=Array[_0x1d82('0x6')](_0x2840b3)[_0x1d82('0x0')](_0x4a2ceb=>_0x30b8b7['mapViewToDom'](_0x4a2ceb))[_0x1d82('0xb')](_0x28a488=>!!_0x28a488);_0x17caab[_0x1d82('0xa')](..._0x2086fb);}if(0x0===_0x17caab[_0x1d82('0x4')])return null;const _0x420f83=[];for(const _0x4f6a78 of _0x17caab){const _0x2f00df=_0x4f6a78[_0x1d82('0xc')]()[_0x1d82('0x2')](0x0);_0x2f00df&&_0x420f83[_0x1d82('0xa')]({'x':_0x2f00df['x'],'y':_0x2f00df['y'],'domElement':_0x4f6a78});}return 0x0===_0x420f83[_0x1d82('0x4')]?null:(_0x420f83[_0x1d82('0x7')]((_0x47efc3,_0x2b8609)=>_0x47efc3['y']-_0x2b8609['y']||_0x47efc3['x']-_0x2b8609['x']),_0x420f83[_0x1d82('0x0')](_0x718595=>_0x718595['domElement']));}
23
+ const _0x245f=['getClientRects','view','markerNameToElements','mapViewToDom','item','mapper','values','name','domElement','from','push','map','length','domConverter'];(function(_0x5271fe,_0x245f58){const _0xe69f82=function(_0x116993){while(--_0x116993){_0x5271fe['push'](_0x5271fe['shift']());}};_0xe69f82(++_0x245f58);}(_0x245f,0x1be));const _0xe69f=function(_0x5271fe,_0x245f58){_0x5271fe=_0x5271fe-0x0;let _0xe69f82=_0x245f[_0x5271fe];return _0xe69f82;};import{first as _0x3ef3c8}from'ckeditor5/src/utils.js';export default function k(_0x491f6c,_0x525a69){const _0x1c32f2=_0x491f6c['mapper'][_0xe69f('0x4')](_0x525a69[_0xe69f('0x9')]);if(!_0x1c32f2)return null;const _0x27e5dd=_0x3ef3c8(_0x1c32f2[_0xe69f('0x8')]());return _0x491f6c[_0xe69f('0x3')][_0xe69f('0x1')]['mapViewToDom'](_0x27e5dd)||null;}export function getAllMarkersDomElementsSorted(_0x12f687,_0x1a8885){if(0x0===_0x1a8885[_0xe69f('0x0')])return null;const _0x14f7d9=[],_0x38b51e=_0x12f687[_0xe69f('0x3')][_0xe69f('0x1')];for(const _0x19a15b of _0x1a8885){const _0x63597a=_0x12f687[_0xe69f('0x7')][_0xe69f('0x4')](_0x19a15b[_0xe69f('0x9')]);if(!_0x63597a)continue;const _0x1d8574=Array[_0xe69f('0xb')](_0x63597a)[_0xe69f('0xd')](_0x33cc5c=>_0x38b51e[_0xe69f('0x5')](_0x33cc5c))['filter'](_0x3285ff=>!!_0x3285ff);_0x14f7d9['push'](..._0x1d8574);}if(0x0===_0x14f7d9['length'])return null;const _0x55037e=[];for(const _0x9b4246 of _0x14f7d9){const _0x10ac06=_0x9b4246[_0xe69f('0x2')]()[_0xe69f('0x6')](0x0);_0x10ac06&&_0x55037e[_0xe69f('0xc')]({'x':_0x10ac06['x'],'y':_0x10ac06['y'],'domElement':_0x9b4246});}return 0x0===_0x55037e[_0xe69f('0x0')]?null:(_0x55037e['sort']((_0x352dce,_0x4c6a80)=>_0x352dce['y']-_0x4c6a80['y']||_0x352dce['x']-_0x4c6a80['x']),_0x55037e[_0xe69f('0xd')](_0x40c04f=>_0x40c04f[_0xe69f('0xa')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15b4=['sign','keys','string','object','toString','isArray','charCodeAt'];(function(_0x3cbf87,_0x15b433){const _0x4f6dbe=function(_0x546aae){while(--_0x546aae){_0x3cbf87['push'](_0x3cbf87['shift']());}};_0x4f6dbe(++_0x15b433);}(_0x15b4,0x163));const _0x4f6d=function(_0x3cbf87,_0x15b433){_0x3cbf87=_0x3cbf87-0x0;let _0x4f6dbe=_0x15b4[_0x3cbf87];return _0x4f6dbe;};export default function b(_0x3b4c62){let _0x5c4b80=0x0,_0x2f9b60=0x0;for(const _0x9e5b07 of A(_0x3b4c62))_0x5c4b80=(_0x5c4b80<<0x5)-_0x5c4b80+_0x9e5b07,_0x5c4b80&=_0x5c4b80,[_0x5c4b80,_0x2f9b60]=[_0x2f9b60,_0x5c4b80];return q(_0x5c4b80)+q(_0x2f9b60);}function*g(_0x26f0db){null==_0x26f0db||null==_0x26f0db?yield 0x12b9b0a1:0x0===_0x26f0db||!0x1===_0x26f0db?yield 0x0:0x1===_0x26f0db||0x1==_0x26f0db?yield 0x1:Array[_0x4f6d('0x0')](_0x26f0db)?yield*function*(_0x44abb5){for(const _0x51de45 of _0x44abb5)yield*g(_0x51de45);}(_0x26f0db):_0x4f6d('0x5')==typeof _0x26f0db?yield*A(_0x26f0db):_0x4f6d('0x4')==typeof _0x26f0db?yield*M(_0x26f0db):'number'==typeof _0x26f0db&&(yield _0x26f0db);}function*A(_0x1e523f){if(yield O('{'),_0x1e523f){const _0x472911=Object[_0x4f6d('0x3')](_0x1e523f)['sort']();for(const _0x3bcfe8 of _0x472911){yield*M(_0x3bcfe8),yield O(':');const _0x3244e5=_0x1e523f[_0x3bcfe8];yield*g(_0x3244e5);}}yield O('}');}function*M(_0x3ecf08){yield O('\x22');for(const _0x416f95 of _0x3ecf08)yield O(_0x416f95);yield O('\x22');}function O(_0x23755c){return _0x23755c[_0x4f6d('0x1')](0x0);}function q(_0xa80e49){return(_0xa80e49*=Math[_0x4f6d('0x2')](_0xa80e49))[_0x4f6d('0x6')](0x24);}
23
+ const _0xe85b=['isArray','sign','charCodeAt','number','string','sort','toString'];(function(_0x2297dd,_0xe85b0a){const _0x2c4734=function(_0x4c4317){while(--_0x4c4317){_0x2297dd['push'](_0x2297dd['shift']());}};_0x2c4734(++_0xe85b0a);}(_0xe85b,0xf5));const _0x2c47=function(_0x2297dd,_0xe85b0a){_0x2297dd=_0x2297dd-0x0;let _0x2c4734=_0xe85b[_0x2297dd];return _0x2c4734;};export default function b(_0x431f61){let _0x2f7586=0x0,_0xaecab1=0x0;for(const _0x1e0f4c of A(_0x431f61))_0x2f7586=(_0x2f7586<<0x5)-_0x2f7586+_0x1e0f4c,_0x2f7586&=_0x2f7586,[_0x2f7586,_0xaecab1]=[_0xaecab1,_0x2f7586];return q(_0x2f7586)+q(_0xaecab1);}function*g(_0x49cabf){null==_0x49cabf||null==_0x49cabf?yield 0x12b9b0a1:0x0===_0x49cabf||!0x1===_0x49cabf?yield 0x0:0x1===_0x49cabf||0x1==_0x49cabf?yield 0x1:Array[_0x2c47('0x0')](_0x49cabf)?yield*function*(_0x1e20ac){for(const _0x6490c4 of _0x1e20ac)yield*g(_0x6490c4);}(_0x49cabf):'object'==typeof _0x49cabf?yield*A(_0x49cabf):_0x2c47('0x4')==typeof _0x49cabf?yield*M(_0x49cabf):_0x2c47('0x3')==typeof _0x49cabf&&(yield _0x49cabf);}function*A(_0x16ee67){if(yield O('{'),_0x16ee67){const _0x28bfd1=Object['keys'](_0x16ee67)[_0x2c47('0x5')]();for(const _0x538d2f of _0x28bfd1){yield*M(_0x538d2f),yield O(':');const _0xdfe65f=_0x16ee67[_0x538d2f];yield*g(_0xdfe65f);}}yield O('}');}function*M(_0x133520){yield O('\x22');for(const _0x14dd5e of _0x133520)yield O(_0x14dd5e);yield O('\x22');}function O(_0x55b568){return _0x55b568[_0x2c47('0x2')](0x0);}function q(_0x114dd3){return(_0x114dd3*=Math[_0x2c47('0x1')](_0x114dd3))[_0x2c47('0x6')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d7e=['get','RevisionTracker','rootsAttributes','constructor','WProofreader','every','map','Autosave','plugins','string','removePlugins','config','context','set','has','concat','from','includes','find','pluginName','names','requires','builtinPlugins','initialData','extraPlugins','length','name','WebSocketGateway'];(function(_0x4d6eb4,_0x3d7ea9){const _0xa57045=function(_0x4ea0be){while(--_0x4ea0be){_0x4d6eb4['push'](_0x4d6eb4['shift']());}};_0xa57045(++_0x3d7ea9);}(_0x3d7e,0x1a9));const _0xa570=function(_0x4d6eb4,_0x3d7ea9){_0x4d6eb4=_0x4d6eb4-0x0;let _0xa57045=_0x3d7e[_0x4d6eb4];return _0xa57045;};const w=[_0xa570('0x12'),_0xa570('0x7'),'toolbar',_0xa570('0x19')],W=[_0xa570('0x16'),_0xa570('0x18'),_0xa570('0x2'),'WordCount','DocumentOutline',_0xa570('0x1b')];function v(_0x33b762,_0x178f98,_0x2649ac,_0x3b0764=[]){const _0x21d10c=_0xa570('0x4')==typeof _0x33b762?_0x2649ac[_0xa570('0x17')](_0x33b762)[_0xa570('0x1a')]:_0x33b762,_0x226618=_0x21d10c['pluginName']||_0x21d10c[_0xa570('0x15')];if(_0x178f98[_0xa570('0x9')](_0x226618))return _0x178f98[_0xa570('0x17')](_0x226618);if(_0x178f98[_0xa570('0x8')](_0x226618,!0x0),_0x226618&&W['concat'](_0x3b0764)[_0xa570('0xc')](_0x226618))return _0x178f98[_0xa570('0x8')](_0x226618,!0x1),!0x1;if(!_0x21d10c['requires'])return _0x178f98['set'](_0x226618,!0x0),!0x0;const _0x1dee24=_0x21d10c[_0xa570('0x10')][_0xa570('0x0')](_0x5df453=>v(_0x5df453,_0x178f98,_0x2649ac,_0x3b0764));return _0x178f98[_0xa570('0x8')](_0x226618,_0x1dee24),_0x1dee24;}export default function D(_0x36fbef,_0x14d6bc){const _0x174e3c={};for(const _0x4444ac of _0x36fbef[_0xa570('0x6')][_0xa570('0xf')]())w['includes'](_0x4444ac)||(_0x174e3c[_0x4444ac]=_0x36fbef[_0xa570('0x6')][_0xa570('0x17')](_0x4444ac));const _0x16ac16=_0x174e3c[_0xa570('0x3')]||[],_0x28e02c=_0x36fbef[_0xa570('0x1a')][_0xa570('0x11')]||[],_0x113a30=_0x16ac16[_0xa570('0x14')]?_0x16ac16:_0x28e02c,_0x5ee6c0=_0x174e3c[_0xa570('0x13')]||[];delete _0x174e3c[_0xa570('0x13')];const _0x44706b=_0x174e3c[_0xa570('0x5')]||[];delete _0x174e3c[_0xa570('0x5')];const _0x38d4bf=_0x36fbef['_context'][_0xa570('0x6')][_0xa570('0x17')](_0xa570('0x3'))||[],_0x130a28=_0x113a30['concat'](_0x5ee6c0)[_0xa570('0xa')](_0x38d4bf)[_0xa570('0x1')](_0xecd67f=>_0xa570('0x4')==typeof _0xecd67f?_0x28e02c[_0xa570('0xd')](_0x256cd2=>_0x256cd2[_0xa570('0xe')]==_0xecd67f):_0xecd67f)['filter'](_0x592030=>!_0x44706b['includes'](_0x592030)&&!_0x44706b[_0xa570('0xc')](_0x592030[_0xa570('0xe')])),_0x550f43=Array[_0xa570('0xb')](new Set(_0x130a28)),_0x1b9ed5=new Map();return _0x174e3c[_0xa570('0x3')]=_0x550f43['filter'](_0x2e4da1=>v(_0x2e4da1,_0x1b9ed5,_0x36fbef[_0xa570('0x3')],_0x14d6bc)),_0x174e3c;}
23
+ const _0x2812=['WordCount','from','toolbar','set','includes','_context','pluginName','RevisionTracker','name','initialData','extraPlugins','rootsAttributes','concat','Autosave','plugins','removePlugins','DocumentOutline','config','constructor','names','every','WProofreader','context','get','length','builtinPlugins'];(function(_0x5233c8,_0x2812fd){const _0x3e397f=function(_0x4df114){while(--_0x4df114){_0x5233c8['push'](_0x5233c8['shift']());}};_0x3e397f(++_0x2812fd);}(_0x2812,0x1bd));const _0x3e39=function(_0x5233c8,_0x2812fd){_0x5233c8=_0x5233c8-0x0;let _0x3e397f=_0x2812[_0x5233c8];return _0x3e397f;};const w=[_0x3e39('0x6'),_0x3e39('0x13'),_0x3e39('0x19'),_0x3e39('0x8')],W=['WebSocketGateway',_0x3e39('0x4'),_0x3e39('0xa'),_0x3e39('0x17'),_0x3e39('0xd'),_0x3e39('0x12')];function v(_0x1ef52c,_0x3fa11f,_0x2f1a32,_0x4a703e=[]){const _0x382060='string'==typeof _0x1ef52c?_0x2f1a32[_0x3e39('0x14')](_0x1ef52c)['constructor']:_0x1ef52c,_0x3b19a5=_0x382060[_0x3e39('0x3')]||_0x382060[_0x3e39('0x5')];if(_0x3fa11f['has'](_0x3b19a5))return _0x3fa11f[_0x3e39('0x14')](_0x3b19a5);if(_0x3fa11f[_0x3e39('0x0')](_0x3b19a5,!0x0),_0x3b19a5&&W[_0x3e39('0x9')](_0x4a703e)[_0x3e39('0x1')](_0x3b19a5))return _0x3fa11f['set'](_0x3b19a5,!0x1),!0x1;if(!_0x382060['requires'])return _0x3fa11f['set'](_0x3b19a5,!0x0),!0x0;const _0x36615c=_0x382060['requires'][_0x3e39('0x11')](_0x358059=>v(_0x358059,_0x3fa11f,_0x2f1a32,_0x4a703e));return _0x3fa11f[_0x3e39('0x0')](_0x3b19a5,_0x36615c),_0x36615c;}export default function D(_0x1a6020,_0xe9078){const _0x16ff8d={};for(const _0x117398 of _0x1a6020[_0x3e39('0xe')][_0x3e39('0x10')]())w['includes'](_0x117398)||(_0x16ff8d[_0x117398]=_0x1a6020[_0x3e39('0xe')]['get'](_0x117398));const _0x21f3a9=_0x16ff8d[_0x3e39('0xb')]||[],_0x4f4684=_0x1a6020[_0x3e39('0xf')][_0x3e39('0x16')]||[],_0xfc20f3=_0x21f3a9[_0x3e39('0x15')]?_0x21f3a9:_0x4f4684,_0x1031f7=_0x16ff8d[_0x3e39('0x7')]||[];delete _0x16ff8d[_0x3e39('0x7')];const _0x2c782a=_0x16ff8d[_0x3e39('0xc')]||[];delete _0x16ff8d[_0x3e39('0xc')];const _0x227a56=_0x1a6020[_0x3e39('0x2')]['config'][_0x3e39('0x14')](_0x3e39('0xb'))||[],_0x119b60=_0xfc20f3[_0x3e39('0x9')](_0x1031f7)['concat'](_0x227a56)['map'](_0x3ccb75=>'string'==typeof _0x3ccb75?_0x4f4684['find'](_0x50c06c=>_0x50c06c[_0x3e39('0x3')]==_0x3ccb75):_0x3ccb75)['filter'](_0x352c1b=>!_0x2c782a[_0x3e39('0x1')](_0x352c1b)&&!_0x2c782a[_0x3e39('0x1')](_0x352c1b[_0x3e39('0x3')])),_0x50ea3a=Array[_0x3e39('0x18')](new Set(_0x119b60)),_0x14dced=new Map();return _0x16ff8d[_0x3e39('0xb')]=_0x50ea3a['filter'](_0x5c4708=>v(_0x5c4708,_0x14dced,_0x1a6020[_0x3e39('0xb')],_0xe9078)),_0x16ff8d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fe2=['containsPosition','end','length','getRange','push','selection','isEqual','change:range','document','includes','markers'];(function(_0x170f97,_0x4fe2d0){const _0x568687=function(_0x215c25){while(--_0x215c25){_0x170f97['push'](_0x170f97['shift']());}};_0x568687(++_0x4fe2d0);}(_0x4fe2,0xc4));const _0x5686=function(_0x170f97,_0x4fe2d0){_0x170f97=_0x170f97-0x0;let _0x568687=_0x4fe2[_0x170f97];return _0x568687;};export default function z(_0x3d8230,_0x1879c0){const _0x3b7329=[];_0x3d8230[_0x5686('0xa')][_0x5686('0x7')]['on'](_0x5686('0x9'),()=>{const _0x502095=function(_0x50052d,_0x4b464e){const _0x2f645c=[];for(const _0x417416 of _0x50052d[_0x5686('0x1')]){const _0x295b9e=_0x417416[_0x5686('0x5')]();(_0x295b9e[_0x5686('0x2')](_0x4b464e)||_0x295b9e['start'][_0x5686('0x8')](_0x4b464e)||_0x295b9e[_0x5686('0x3')][_0x5686('0x8')](_0x4b464e))&&_0x2f645c[_0x5686('0x6')](_0x417416);}return _0x2f645c;}(_0x3d8230,_0x3d8230[_0x5686('0xa')][_0x5686('0x7')]['focus']),_0x475ce0=[],_0xd87200=[],_0x13f518=[];for(const _0x5bdce6 of _0x3b7329)_0x502095['includes'](_0x5bdce6)||_0x475ce0[_0x5686('0x6')](_0x5bdce6);for(const _0x5b62fe of _0x502095)_0x3b7329[_0x5686('0x0')](_0x5b62fe)||_0xd87200[_0x5686('0x6')](_0x5b62fe),_0x13f518['push'](_0x5b62fe);(_0x475ce0[_0x5686('0x4')]||_0xd87200[_0x5686('0x4')])&&_0x1879c0({'left':_0x475ce0,'entered':_0xd87200}),_0x3b7329[_0x5686('0x4')]=0x0,_0x3b7329[_0x5686('0x6')](..._0x13f518);});}
23
+ const _0x3bc7=['includes','selection','change:range','document','start','isEqual','length','focus','containsPosition','end','getRange','markers','push'];(function(_0x1a8d11,_0x3bc777){const _0x4ef08a=function(_0x208fd3){while(--_0x208fd3){_0x1a8d11['push'](_0x1a8d11['shift']());}};_0x4ef08a(++_0x3bc777);}(_0x3bc7,0xd3));const _0x4ef0=function(_0x1a8d11,_0x3bc777){_0x1a8d11=_0x1a8d11-0x0;let _0x4ef08a=_0x3bc7[_0x1a8d11];return _0x4ef08a;};export default function z(_0x11ac1d,_0x2bca96){const _0x39439b=[];_0x11ac1d[_0x4ef0('0x0')]['selection']['on'](_0x4ef0('0xc'),()=>{const _0x12601c=function(_0x4ad7e7,_0x1ded3a){const _0x40f408=[];for(const _0x563a98 of _0x4ad7e7[_0x4ef0('0x8')]){const _0x553b76=_0x563a98[_0x4ef0('0x7')]();(_0x553b76[_0x4ef0('0x5')](_0x1ded3a)||_0x553b76[_0x4ef0('0x1')][_0x4ef0('0x2')](_0x1ded3a)||_0x553b76[_0x4ef0('0x6')][_0x4ef0('0x2')](_0x1ded3a))&&_0x40f408[_0x4ef0('0x9')](_0x563a98);}return _0x40f408;}(_0x11ac1d,_0x11ac1d['document'][_0x4ef0('0xb')][_0x4ef0('0x4')]),_0x38816b=[],_0x2921ae=[],_0x4f7696=[];for(const _0x32a873 of _0x39439b)_0x12601c[_0x4ef0('0xa')](_0x32a873)||_0x38816b[_0x4ef0('0x9')](_0x32a873);for(const _0x298999 of _0x12601c)_0x39439b[_0x4ef0('0xa')](_0x298999)||_0x2921ae['push'](_0x298999),_0x4f7696['push'](_0x298999);(_0x38816b[_0x4ef0('0x3')]||_0x2921ae['length'])&&_0x2bca96({'left':_0x38816b,'entered':_0x2921ae}),_0x39439b[_0x4ef0('0x3')]=0x0,_0x39439b[_0x4ef0('0x9')](..._0x4f7696);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7f0e=['push','slice','match','substring','replace','length','indexOf','...'];(function(_0x239f07,_0x7f0e8f){const _0x1f5c7e=function(_0x31c445){while(--_0x31c445){_0x239f07['push'](_0x239f07['shift']());}};_0x1f5c7e(++_0x7f0e8f);}(_0x7f0e,0xf9));const _0x1f5c=function(_0x239f07,_0x7f0e8f){_0x239f07=_0x239f07-0x0;let _0x1f5c7e=_0x7f0e[_0x239f07];return _0x1f5c7e;};export default function Z(_0x16284a,{limit:_0xa246e9,suffix:_0x53b0c7=_0x1f5c('0x6')}){const _0xe5bcd6=[];let _0x1c3f92=0x0;const _0x2b12ea=_0x16284a[_0x1f5c('0x3')](/</g,'\x0a<')[_0x1f5c('0x3')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x1f5c('0x3')](/\n$/g,'')['split']('\x0a');for(let _0x4ae3da=0x0;_0x4ae3da<_0x2b12ea[_0x1f5c('0x4')];_0x4ae3da++){let _0x37cd16=_0x2b12ea[_0x4ae3da];const _0x263f31=$(_0x37cd16);if(_0x37cd16['startsWith']('<')){if(_0x1c3f92>=_0xa246e9){const _0x25901c=_0x37cd16[_0x1f5c('0x1')](/[a-zA-Z]+/);if(!_0x25901c){_0x2b12ea[_0x4ae3da]='';continue;}const _0xbcae88=_0x25901c[0x0];_0x37cd16['startsWith']('</')?(_0xe5bcd6[_0x1f5c('0x4')]&&(_0x37cd16=''),_0xe5bcd6['pop']()):(_0xe5bcd6[_0x1f5c('0x7')](_0xbcae88),_0x37cd16='');}}else{if(_0x1c3f92>=_0xa246e9)_0x37cd16='';else{if(_0x1c3f92+_0x263f31[_0x1f5c('0x4')]>=_0xa246e9){let _0x3a804c=_0xa246e9-_0x1c3f92;if('\x20'===_0x263f31[_0x3a804c-0x1])_0x3a804c--;else{const _0x1c141c=_0x263f31[_0x1f5c('0x0')](_0x3a804c)[_0x1f5c('0x5')]('\x20');-0x1!==_0x1c141c?_0x3a804c+=_0x1c141c:_0x3a804c=_0x37cd16[_0x1f5c('0x4')];}_0x37cd16=_0x263f31[_0x1f5c('0x0')](0x0,_0x3a804c)['join']('')+_0x53b0c7,_0x1c3f92=_0xa246e9;}else _0x1c3f92+=_0x263f31[_0x1f5c('0x4')];}}_0x2b12ea[_0x4ae3da]=_0x37cd16;}return _0x2b12ea['join']('\x0a')[_0x1f5c('0x3')](/\n/g,'');}function $(_0x5451df){const _0x116fbf=[];for(let _0x5f06b2=0x0;_0x5f06b2<_0x5451df[_0x1f5c('0x4')];_0x5f06b2++){const _0xf21289=_0x5451df[_0x1f5c('0x2')](_0x5f06b2)[_0x1f5c('0x1')](/^&[a-z0-9#]+;/);if(_0xf21289){const _0x163e2f=_0xf21289[0x0];_0x116fbf[_0x1f5c('0x7')](_0x163e2f),_0x5f06b2+=_0x163e2f[_0x1f5c('0x4')]-0x1;}else _0x116fbf[_0x1f5c('0x7')](_0x5451df[_0x5f06b2]);}return _0x116fbf;}
23
+ const _0x14e4=['indexOf','replace','push','length','...','match','pop','startsWith','substring','split','join'];(function(_0x232f83,_0x14e419){const _0x2d60d4=function(_0x58ab6a){while(--_0x58ab6a){_0x232f83['push'](_0x232f83['shift']());}};_0x2d60d4(++_0x14e419);}(_0x14e4,0xf7));const _0x2d60=function(_0x232f83,_0x14e419){_0x232f83=_0x232f83-0x0;let _0x2d60d4=_0x14e4[_0x232f83];return _0x2d60d4;};export default function Z(_0x478ae8,{limit:_0x2776ba,suffix:_0x3c1d03=_0x2d60('0xa')}){const _0x523108=[];let _0x1a3616=0x0;const _0x1386e6=_0x478ae8[_0x2d60('0x7')](/</g,'\x0a<')[_0x2d60('0x7')](/>/g,'>\x0a')[_0x2d60('0x7')](/^\n/g,'')[_0x2d60('0x7')](/\n$/g,'')[_0x2d60('0x4')]('\x0a');for(let _0x41c804=0x0;_0x41c804<_0x1386e6[_0x2d60('0x9')];_0x41c804++){let _0x6879a=_0x1386e6[_0x41c804];const _0x41960c=$(_0x6879a);if(_0x6879a[_0x2d60('0x2')]('<')){if(_0x1a3616>=_0x2776ba){const _0x5e68db=_0x6879a[_0x2d60('0x0')](/[a-zA-Z]+/);if(!_0x5e68db){_0x1386e6[_0x41c804]='';continue;}const _0x1f808c=_0x5e68db[0x0];_0x6879a[_0x2d60('0x2')]('</')?(_0x523108[_0x2d60('0x9')]&&(_0x6879a=''),_0x523108[_0x2d60('0x1')]()):(_0x523108['push'](_0x1f808c),_0x6879a='');}}else{if(_0x1a3616>=_0x2776ba)_0x6879a='';else{if(_0x1a3616+_0x41960c['length']>=_0x2776ba){let _0x13c20a=_0x2776ba-_0x1a3616;if('\x20'===_0x41960c[_0x13c20a-0x1])_0x13c20a--;else{const _0x20df18=_0x41960c['slice'](_0x13c20a)[_0x2d60('0x6')]('\x20');-0x1!==_0x20df18?_0x13c20a+=_0x20df18:_0x13c20a=_0x6879a[_0x2d60('0x9')];}_0x6879a=_0x41960c['slice'](0x0,_0x13c20a)[_0x2d60('0x5')]('')+_0x3c1d03,_0x1a3616=_0x2776ba;}else _0x1a3616+=_0x41960c[_0x2d60('0x9')];}}_0x1386e6[_0x41c804]=_0x6879a;}return _0x1386e6[_0x2d60('0x5')]('\x0a')['replace'](/\n/g,'');}function $(_0xf11374){const _0x1bc163=[];for(let _0x20b3ea=0x0;_0x20b3ea<_0xf11374['length'];_0x20b3ea++){const _0x509832=_0xf11374[_0x2d60('0x3')](_0x20b3ea)[_0x2d60('0x0')](/^&[a-z0-9#]+;/);if(_0x509832){const _0x4c65cd=_0x509832[0x0];_0x1bc163[_0x2d60('0x8')](_0x4c65cd),_0x20b3ea+=_0x4c65cd[_0x2d60('0x9')]-0x1;}else _0x1bc163[_0x2d60('0x8')](_0xf11374[_0x20b3ea]);}return _0x1bc163;}