@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231203.0 → 0.0.0-nightly-20231205.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-20231203.0",
3
+ "version": "0.0.0-nightly-20231205.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-20231203.0",
34
+ "ckeditor5": "0.0.0-nightly-20231205.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 _0x2e25=['includes','has','Permissions','setPermissions','editors','context','no-permissions','addCommentThread','get','pluginName','find','clearForceDisabled','comment:modify_all','enableReadOnlyMode','CommentsRepository','forceDisabled','disableReadOnlyMode','collaboration.channelId','config','CommentsOnly','comment:admin'];(function(_0x5afb9e,_0x2e2571){const _0x122401=function(_0x22b74b){while(--_0x22b74b){_0x5afb9e['push'](_0x5afb9e['shift']());}};_0x122401(++_0x2e2571);}(_0x2e25,0x1e2));const _0x1224=function(_0x5afb9e,_0x2e2571){_0x5afb9e=_0x5afb9e-0x0;let _0x122401=_0x2e25[_0x5afb9e];return _0x122401;};import{ContextPlugin as _0x4e8822,Editor as _0x492c70}from'ckeditor5/src/core';import{CKEditorError as _0x31a0f3}from'ckeditor5/src/utils';export default class n extends _0x4e8822{static get[_0x1224('0xa')](){return _0x1224('0x3');}[_0x1224('0x4')](_0x2b08f0,_0x862490){let _0xc7a442;if(_0x862490||(_0x862490=this[_0x1224('0x6')]['config'][_0x1224('0x9')](_0x1224('0x12'))),this[_0x1224('0x6')]['config']['get'](_0x1224('0x12'))==_0x862490?_0xc7a442=this[_0x1224('0x6')]:'editors'in this[_0x1224('0x6')]&&this[_0x1224('0x6')][_0x1224('0x5')]&&(_0xc7a442=this[_0x1224('0x6')][_0x1224('0x5')][_0x1224('0xb')](_0x4cbb41=>_0x4cbb41[_0x1224('0x13')][_0x1224('0x9')](_0x1224('0x12'))==_0x862490)),!_0xc7a442)throw new _0x31a0f3('permissions-set-permissions-invalid-channel-id',null);const _0x575128=_0xc7a442['plugins'],_0x2682d=_0x575128[_0x1224('0x2')](_0x1224('0xf'))?_0x575128[_0x1224('0x9')](_0x1224('0xf')):void 0x0,_0x62fb09=_0x575128[_0x1224('0x2')](_0x1224('0x14'))&&_0x575128[_0x1224('0x9')]('CommentsOnly'),_0x36aad3=_0x2b08f0[_0x1224('0x1')]('document:write'),_0x20a3a7=_0x2b08f0['includes'](_0x1224('0xd')),_0x4a6dcd=_0x2b08f0['includes'](_0x1224('0x0')),_0x4b6351=_0x2b08f0['includes']('comment:write'),_0x5bd3de=_0x4b6351||_0x4a6dcd,_0x3b5b17=_0x5bd3de||_0x20a3a7,_0x13c990=_0x36aad3||_0x5bd3de;(_0x62fb09&&(_0x62fb09['isEnabled']=!_0x36aad3&&_0x3b5b17),_0xc7a442 instanceof _0x492c70)&&(!(_0x36aad3||_0x3b5b17&&_0x2682d)?_0xc7a442[_0x1224('0xe')](_0x1224('0x7')):_0xc7a442[_0x1224('0x11')]('no-permissions'));if(_0x2682d){_0x2682d['setPermissions']({'admin':_0x4a6dcd,'modifyAll':_0x20a3a7,'write':_0x4b6351,'resolve':_0x13c990},_0x862490);const _0x31c057=_0xc7a442 instanceof _0x492c70&&_0xc7a442['commands'][_0x1224('0x9')](_0x1224('0x8'));_0x31c057&&(_0x5bd3de?_0x31c057[_0x1224('0xc')]('noPermissions'):_0x31c057[_0x1224('0x10')]('noPermissions'));}}}
23
+ const _0x31eb=['enableReadOnlyMode','plugins','setPermissions','comment:write','disableReadOnlyMode','includes','pluginName','find','forceDisabled','addCommentThread','editors','config','has','no-permissions','isEnabled','CommentsRepository','context','collaboration.channelId','get','permissions-set-permissions-invalid-channel-id','noPermissions','Permissions','comment:admin','commands','document:write','CommentsOnly'];(function(_0x14bef4,_0x31ebbc){const _0x35ebf9=function(_0x4c50a2){while(--_0x4c50a2){_0x14bef4['push'](_0x14bef4['shift']());}};_0x35ebf9(++_0x31ebbc);}(_0x31eb,0xbb));const _0x35eb=function(_0x14bef4,_0x31ebbc){_0x14bef4=_0x14bef4-0x0;let _0x35ebf9=_0x31eb[_0x14bef4];return _0x35ebf9;};import{ContextPlugin as _0x5867fe,Editor as _0x1c83dd}from'ckeditor5/src/core';import{CKEditorError as _0x557ec8}from'ckeditor5/src/utils';export default class n extends _0x5867fe{static get[_0x35eb('0x1')](){return _0x35eb('0x10');}[_0x35eb('0x17')](_0x9e9f80,_0x45d312){let _0x13d552;if(_0x45d312||(_0x45d312=this[_0x35eb('0xb')][_0x35eb('0x6')][_0x35eb('0xd')](_0x35eb('0xc'))),this[_0x35eb('0xb')][_0x35eb('0x6')]['get'](_0x35eb('0xc'))==_0x45d312?_0x13d552=this[_0x35eb('0xb')]:_0x35eb('0x5')in this['context']&&this['context'][_0x35eb('0x5')]&&(_0x13d552=this[_0x35eb('0xb')][_0x35eb('0x5')][_0x35eb('0x2')](_0x385958=>_0x385958['config']['get'](_0x35eb('0xc'))==_0x45d312)),!_0x13d552)throw new _0x557ec8(_0x35eb('0xe'),null);const _0x2ef2a2=_0x13d552[_0x35eb('0x16')],_0x36566a=_0x2ef2a2[_0x35eb('0x7')](_0x35eb('0xa'))?_0x2ef2a2[_0x35eb('0xd')](_0x35eb('0xa')):void 0x0,_0x592cda=_0x2ef2a2[_0x35eb('0x7')](_0x35eb('0x14'))&&_0x2ef2a2[_0x35eb('0xd')](_0x35eb('0x14')),_0xff1151=_0x9e9f80[_0x35eb('0x0')](_0x35eb('0x13')),_0x2de3a4=_0x9e9f80[_0x35eb('0x0')]('comment:modify_all'),_0x4272d6=_0x9e9f80[_0x35eb('0x0')](_0x35eb('0x11')),_0x73e75a=_0x9e9f80['includes'](_0x35eb('0x18')),_0x987a7c=_0x73e75a||_0x4272d6,_0x222fd5=_0x987a7c||_0x2de3a4,_0x2e4666=_0xff1151||_0x987a7c;(_0x592cda&&(_0x592cda[_0x35eb('0x9')]=!_0xff1151&&_0x222fd5),_0x13d552 instanceof _0x1c83dd)&&(!(_0xff1151||_0x222fd5&&_0x36566a)?_0x13d552[_0x35eb('0x15')](_0x35eb('0x8')):_0x13d552[_0x35eb('0x19')](_0x35eb('0x8')));if(_0x36566a){_0x36566a[_0x35eb('0x17')]({'admin':_0x4272d6,'modifyAll':_0x2de3a4,'write':_0x73e75a,'resolve':_0x2e4666},_0x45d312);const _0x3dd7e5=_0x13d552 instanceof _0x1c83dd&&_0x13d552[_0x35eb('0x12')][_0x35eb('0xd')](_0x35eb('0x4'));_0x3dd7e5&&(_0x987a7c?_0x3dd7e5['clearForceDisabled'](_0x35eb('0xf')):_0x3dd7e5[_0x35eb('0x3')](_0x35eb('0xf')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x436b=['name','ck-user','ck-user__notification','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__anonymous','setTemplate','div','ck\x20ck-user__name','ck-user__img','isAnonymous','push','notificationView','avatar','url(\x27','initials'];(function(_0x3b3576,_0x436bd2){const _0x1c5b09=function(_0xe688d3){while(--_0xe688d3){_0x3b3576['push'](_0x3b3576['shift']());}};_0x1c5b09(++_0x436bd2);}(_0x436b,0x15c));const _0x1c5b=function(_0x3b3576,_0x436bd2){_0x3b3576=_0x3b3576-0x0;let _0x1c5b09=_0x436b[_0x3b3576];return _0x1c5b09;};import{View as _0x1b42a6,IconView as _0x1bc3a2}from'ckeditor5/src/ui';import _0x2a5022 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x1b42a6{constructor(_0x16cd76,_0x7a9ecc,_0x3ff3e5){super(_0x16cd76),this[_0x1c5b('0xc')]=_0x7a9ecc[_0x1c5b('0xc')],this['notificationView']=null;const _0x180693=['ck',_0x1c5b('0x5')];if(_0x7a9ecc[_0x1c5b('0x6')]&&_0x180693[_0x1c5b('0x7')](_0x1c5b('0x1')),_0x7a9ecc['avatar']&&_0x180693['push']('ck-user__avatar'),_0x3ff3e5){const _0x149134=new _0x1bc3a2();_0x149134['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x149134['content']=_0x2a5022,this['notificationView']={'tag':_0x1c5b('0x3'),'attributes':{'class':['ck',_0x1c5b('0xe')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3ff3e5},'children':[_0x149134]};}const _0x3985b2=[{'tag':'div','attributes':{'class':_0x180693,'style':{'background-image':_0x7a9ecc[_0x1c5b('0x9')]?_0x1c5b('0xa')+_0x7a9ecc[_0x1c5b('0x9')]+'\x27)':''}}},{'tag':_0x1c5b('0x3'),'attributes':{'class':_0x7a9ecc[_0x1c5b('0x9')]?_0x1c5b('0x0'):_0x1c5b('0x4')},'children':[{'text':_0x7a9ecc[_0x1c5b('0xb')]}]}];this[_0x1c5b('0x8')]&&_0x3985b2[_0x1c5b('0x7')](this[_0x1c5b('0x8')]),this[_0x1c5b('0x2')]({'tag':_0x1c5b('0x3'),'attributes':{'class':['ck',_0x1c5b('0xd')],'data-user-id':_0x7a9ecc['id']},'children':_0x3985b2});}}
23
+ const _0x4d48=['ck-user__anonymous','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__img','notificationView','name','ck-user','initials','push','content','ck-user__icon','isAnonymous','div','ck-user__notification','url(\x27'];(function(_0x2657df,_0x4d4893){const _0x29dc83=function(_0x2cef6d){while(--_0x2cef6d){_0x2657df['push'](_0x2657df['shift']());}};_0x29dc83(++_0x4d4893);}(_0x4d48,0x105));const _0x29dc=function(_0x2657df,_0x4d4893){_0x2657df=_0x2657df-0x0;let _0x29dc83=_0x4d48[_0x2657df];return _0x29dc83;};import{View as _0x4a7d25,IconView as _0x306ebf}from'ckeditor5/src/ui';import _0x5d73ae from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x4a7d25{constructor(_0x149eb9,_0x423358,_0x290cff){super(_0x149eb9),this['name']=_0x423358[_0x29dc('0x9')],this[_0x29dc('0x8')]=null;const _0x57edde=['ck',_0x29dc('0x7')];if(_0x423358[_0x29dc('0x1')]&&_0x57edde['push'](_0x29dc('0x5')),_0x423358['avatar']&&_0x57edde[_0x29dc('0xc')]('ck-user__avatar'),_0x290cff){const _0xe10e06=new _0x306ebf();_0xe10e06['extendTemplate']({'attributes':{'class':[_0x29dc('0x0')]}}),_0xe10e06[_0x29dc('0xd')]=_0x5d73ae,this[_0x29dc('0x8')]={'tag':_0x29dc('0x2'),'attributes':{'class':['ck',_0x29dc('0x3')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x290cff},'children':[_0xe10e06]};}const _0x3438fd=[{'tag':_0x29dc('0x2'),'attributes':{'class':_0x57edde,'style':{'background-image':_0x423358['avatar']?_0x29dc('0x4')+_0x423358['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x423358['avatar']?_0x29dc('0x6'):'ck\x20ck-user__name'},'children':[{'text':_0x423358[_0x29dc('0xb')]}]}];this['notificationView']&&_0x3438fd[_0x29dc('0xc')](this[_0x29dc('0x8')]),this['setTemplate']({'tag':_0x29dc('0x2'),'attributes':{'class':['ck',_0x29dc('0xa')],'data-user-id':_0x423358['id']},'children':_0x3438fd});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14af=['destroy','_getNextColor','ck-user__bg-color--','licenseKeyTrial','users.anonymousUserId','info','trial-license-key-reached-limit-revisions','has','trim','define','anonymous-user','trial-license-key-reached-limit-changes','_id','get','locale','ck-user__marker--','context','initials','getUser','Anonymous','config','isAnonymous','color','users.colorsCount','_licenseKeyCheckInterval','_myId','addUser','defineMe','decorate','licenseKeyInvalid','_isAnonymous','useAnonymousUser','getOperationAuthor','toUpperCase','add','length','invalid-license-key','licenseKeyTrialLimit:time','ck-user__selection--','getSelectionClass','Users','avatar','name','licenseKeyTrialLimit:revisions','_locale','users-add-invalid-id','init','users','_addAnonymousUser','_getInitial','pluginName','_lastColor','licenseKeyValid'];(function(_0x995cd6,_0x14afd3){const _0x3e0966=function(_0x414dda){while(--_0x414dda){_0x995cd6['push'](_0x995cd6['shift']());}};_0x3e0966(++_0x14afd3);}(_0x14af,0x8c));const _0x3e09=function(_0x995cd6,_0x14afd3){_0x995cd6=_0x995cd6-0x0;let _0x3e0966=_0x14af[_0x995cd6];return _0x3e0966;};import{ContextPlugin as _0x5eb857}from'ckeditor5/src/core';import{Collection as _0x3040ba,CKEditorError as _0x6516db}from'ckeditor5/src/utils';import _0x30e071 from'./permissions';import{getTranslation as _0x3e8277}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5eb857{static get[_0x3e09('0x10')](){return _0x3e09('0x6');}static get['requires'](){return[_0x30e071];}constructor(_0x43685a){super(_0x43685a),this[_0x3e09('0x23')][_0x3e09('0x27')][_0x3e09('0x1c')]('users.anonymousUserId',_0x3e09('0x1d')),this[_0x3e09('0x23')][_0x3e09('0x27')]['define'](_0x3e09('0x2a'),0x8),this[_0x3e09('0xd')]=new _0x3040ba(),this[_0x3e09('0xa')]=_0x43685a[_0x3e09('0x21')],this['_licenseKeyCheckInterval']=null,this[_0x3e09('0x11')]=0x0,this[_0x3e09('0x2c')]=null,this[_0x3e09('0x2f')](_0x3e09('0x33'));}[_0x3e09('0xc')](){const _0xc6f445=this[_0x3e09('0x23')];this['licenseKey']=_0xc6f445[_0x3e09('0x27')]['get']('licenseKey');const _0x44fb94=[_0x3e09('0x16'),_0x3e09('0x30'),_0x3e09('0x12'),'licenseKeyTrialLimit:operations',_0x3e09('0x3'),_0x3e09('0x9')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2dda4d;for(const _0x40ca3c in _0xc6f445){const _0x6cf8ad=_0xc6f445[_0x40ca3c];if(_0x44fb94['includes'](_0x6cf8ad)){delete _0xc6f445[_0x40ca3c],_0x2dda4d=_0x6cf8ad;break;}}if(_0x3e09('0x30')===_0x2dda4d)throw clearInterval(this[_0x3e09('0x2b')]),new _0x6516db(_0x3e09('0x2'),null);if(_0x3e09('0x16')===_0x2dda4d&&console[_0x3e09('0x18')]('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:operations'===_0x2dda4d)throw clearInterval(this[_0x3e09('0x2b')]),new _0x6516db(_0x3e09('0x1e'),null);if('licenseKeyTrialLimit:time'===_0x2dda4d)throw clearInterval(this[_0x3e09('0x2b')]),new _0x6516db('trial-license-key-reached-limit-time',null);if(_0x3e09('0x9')===_0x2dda4d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x6516db(_0x3e09('0x19'),null);_0x3e09('0x12')===_0x2dda4d&&clearInterval(this[_0x3e09('0x2b')]);},0x3e8),this[_0x3e09('0xe')]();}get['me'](){return null==this[_0x3e09('0x2c')]?null:this['getUser'](this[_0x3e09('0x2c')]);}[_0x3e09('0x2d')]({id:_0x5b96ea,name:_0x585fa2,..._0x28e365}){if(!_0x5b96ea||'string'!=typeof _0x5b96ea)throw new _0x6516db(_0x3e09('0xb'));if(this['users'][_0x3e09('0x1a')](_0x5b96ea))throw new _0x6516db('users-add-duplicated-id',null,{'id':_0x5b96ea});const _0x4e0874={..._0x28e365,'id':_0x5b96ea,'name':a(this[_0x3e09('0xa')],_0x585fa2),'color':this['_getNextColor']()};_0x4e0874[_0x3e09('0x8')]=a(this['_locale'],_0x4e0874[_0x3e09('0x8')]);const _0x182636=new User(_0x4e0874);return this[_0x3e09('0xd')][_0x3e09('0x0')](_0x182636),_0x182636;}[_0x3e09('0x25')](_0x605ceb){return this[_0x3e09('0xd')]['get'](_0x605ceb);}[_0x3e09('0x32')](){const _0x29024f=this[_0x3e09('0x23')][_0x3e09('0x27')][_0x3e09('0x20')](_0x3e09('0x17'));this[_0x3e09('0x2c')]||this[_0x3e09('0x2e')](_0x29024f);}[_0x3e09('0x2e')](_0xaa1198){if(this[_0x3e09('0x2c')])throw new _0x6516db('users-me-already-defined',null);if(!this[_0x3e09('0x25')](_0xaa1198))throw new _0x6516db('users-me-missing-user',null);this[_0x3e09('0x2c')]=_0xaa1198;}[_0x3e09('0x33')](){return this['me'];}['destroy'](){super[_0x3e09('0x13')](),clearInterval(this[_0x3e09('0x2b')]);}[_0x3e09('0x14')](){const _0x5ca77e=this[_0x3e09('0x23')][_0x3e09('0x27')][_0x3e09('0x20')](_0x3e09('0x2a'));return this['_lastColor']>=_0x5ca77e&&(this[_0x3e09('0x11')]=0x0),new u(this['_lastColor']++);}[_0x3e09('0xe')](){const _0x43ee6d=this['context']['config'][_0x3e09('0x20')](_0x3e09('0x17'));this[_0x3e09('0x2d')]({'id':_0x43ee6d,'name':_0x3e8277(this[_0x3e09('0xa')],_0x3e09('0x26'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x5dc994){this['id']=_0x5dc994['id'],this[_0x3e09('0x29')]=_0x5dc994[_0x3e09('0x29')],this['name']=_0x5dc994[_0x3e09('0x8')],this[_0x3e09('0x7')]=_0x5dc994['avatar'],this[_0x3e09('0x31')]=!0x1;}get[_0x3e09('0x28')](){return this[_0x3e09('0x31')];}get[_0x3e09('0x24')](){const _0x38f95e=this['name']['split']('\x20');return 0x1===_0x38f95e[_0x3e09('0x1')]?this[_0x3e09('0xf')](_0x38f95e[0x0]):this[_0x3e09('0xf')](_0x38f95e[0x0])+this[_0x3e09('0xf')](_0x38f95e[_0x38f95e[_0x3e09('0x1')]-0x1]);}[_0x3e09('0xf')](_0x15cffa){return _0x15cffa['charAt'](0x0)[_0x3e09('0x34')]();}}function a(_0x49f7fc,_0x101aab=''){return''==(_0x101aab=_0x101aab[_0x3e09('0x1b')]())?_0x3e8277(_0x49f7fc,_0x3e09('0x26')):_0x101aab;}class u{constructor(_0x315d04){this[_0x3e09('0x1f')]=_0x315d04;}['getBackgroundColorClass'](){return _0x3e09('0x15')+this[_0x3e09('0x1f')];}[_0x3e09('0x5')](){return _0x3e09('0x4')+this[_0x3e09('0x1f')];}['getMarkerClass'](){return _0x3e09('0x22')+this[_0x3e09('0x1f')];}}
23
+ const _0x398b=['init','includes','licenseKeyTrialLimit:revisions','licenseKeyTrialLimit:time','get','_isAnonymous','Anonymous','defineMe','ck-user__marker--','toUpperCase','users','users-add-duplicated-id','has','color','_id','licenseKeyTrial','getBackgroundColorClass','licenseKey','getUser','destroy','licenseKeyValid','licenseKeyTrialLimit:operations','_getInitial','getOperationAuthor','_licenseKeyCheckInterval','_lastColor','info','_getNextColor','_myId','useAnonymousUser','anonymous-user','_addAnonymousUser','string','config','ck-user__bg-color--','users.anonymousUserId','length','invalid-license-key','_locale','users.colorsCount','licenseKeyInvalid','define','avatar','locale','Users','users-add-invalid-id','initials','name','getSelectionClass','context'];(function(_0x3f45d1,_0x398ba1){const _0x3b95ac=function(_0x211dc9){while(--_0x211dc9){_0x3f45d1['push'](_0x3f45d1['shift']());}};_0x3b95ac(++_0x398ba1);}(_0x398b,0x16e));const _0x3b95=function(_0x3f45d1,_0x398ba1){_0x3f45d1=_0x3f45d1-0x0;let _0x3b95ac=_0x398b[_0x3f45d1];return _0x3b95ac;};import{ContextPlugin as _0x3cc40c}from'ckeditor5/src/core';import{Collection as _0x4640f2,CKEditorError as _0x5e0dc4}from'ckeditor5/src/utils';import _0x3014f6 from'./permissions';import{getTranslation as _0x36777f}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3cc40c{static get['pluginName'](){return _0x3b95('0x1c');}static get['requires'](){return[_0x3014f6];}constructor(_0x52c00a){super(_0x52c00a),this[_0x3b95('0x21')][_0x3b95('0x11')][_0x3b95('0x19')](_0x3b95('0x13'),_0x3b95('0xe')),this[_0x3b95('0x21')][_0x3b95('0x11')]['define'](_0x3b95('0x17'),0x8),this[_0x3b95('0x2c')]=new _0x4640f2(),this[_0x3b95('0x16')]=_0x52c00a[_0x3b95('0x1b')],this['_licenseKeyCheckInterval']=null,this[_0x3b95('0x9')]=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}[_0x3b95('0x22')](){const _0x36974d=this[_0x3b95('0x21')];this[_0x3b95('0x1')]=_0x36974d[_0x3b95('0x11')][_0x3b95('0x26')](_0x3b95('0x1'));const _0x41c8c6=[_0x3b95('0x31'),_0x3b95('0x18'),_0x3b95('0x4'),'licenseKeyTrialLimit:operations',_0x3b95('0x25'),'licenseKeyTrialLimit:revisions'];this[_0x3b95('0x8')]=setInterval(()=>{let _0xa80ec0;for(const _0x42a5b3 in _0x36974d){const _0x17f940=_0x36974d[_0x42a5b3];if(_0x41c8c6[_0x3b95('0x23')](_0x17f940)){delete _0x36974d[_0x42a5b3],_0xa80ec0=_0x17f940;break;}}if('licenseKeyInvalid'===_0xa80ec0)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5e0dc4(_0x3b95('0x15'),null);if('licenseKeyTrial'===_0xa80ec0&&console[_0x3b95('0xa')]('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.'),_0x3b95('0x5')===_0xa80ec0)throw clearInterval(this[_0x3b95('0x8')]),new _0x5e0dc4('trial-license-key-reached-limit-changes',null);if(_0x3b95('0x25')===_0xa80ec0)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5e0dc4('trial-license-key-reached-limit-time',null);if(_0x3b95('0x24')===_0xa80ec0)throw clearInterval(this[_0x3b95('0x8')]),new _0x5e0dc4('trial-license-key-reached-limit-revisions',null);_0x3b95('0x4')===_0xa80ec0&&clearInterval(this[_0x3b95('0x8')]);},0x3e8),this[_0x3b95('0xf')]();}get['me'](){return null==this['_myId']?null:this[_0x3b95('0x2')](this[_0x3b95('0xc')]);}['addUser']({id:_0x3f0e0c,name:_0xc54161,..._0x309332}){if(!_0x3f0e0c||_0x3b95('0x10')!=typeof _0x3f0e0c)throw new _0x5e0dc4(_0x3b95('0x1d'));if(this[_0x3b95('0x2c')][_0x3b95('0x2e')](_0x3f0e0c))throw new _0x5e0dc4(_0x3b95('0x2d'),null,{'id':_0x3f0e0c});const _0x5168f9={..._0x309332,'id':_0x3f0e0c,'name':a(this[_0x3b95('0x16')],_0xc54161),'color':this[_0x3b95('0xb')]()};_0x5168f9[_0x3b95('0x1f')]=a(this['_locale'],_0x5168f9[_0x3b95('0x1f')]);const _0x2c4a8b=new User(_0x5168f9);return this['users']['add'](_0x2c4a8b),_0x2c4a8b;}[_0x3b95('0x2')](_0x42f3ba){return this[_0x3b95('0x2c')][_0x3b95('0x26')](_0x42f3ba);}[_0x3b95('0xd')](){const _0x4d0c23=this[_0x3b95('0x21')][_0x3b95('0x11')][_0x3b95('0x26')]('users.anonymousUserId');this['_myId']||this['defineMe'](_0x4d0c23);}[_0x3b95('0x29')](_0x3bd4b0){if(this['_myId'])throw new _0x5e0dc4('users-me-already-defined',null);if(!this[_0x3b95('0x2')](_0x3bd4b0))throw new _0x5e0dc4('users-me-missing-user',null);this[_0x3b95('0xc')]=_0x3bd4b0;}[_0x3b95('0x7')](){return this['me'];}['destroy'](){super[_0x3b95('0x3')](),clearInterval(this[_0x3b95('0x8')]);}[_0x3b95('0xb')](){const _0x347aa5=this[_0x3b95('0x21')]['config'][_0x3b95('0x26')](_0x3b95('0x17'));return this[_0x3b95('0x9')]>=_0x347aa5&&(this[_0x3b95('0x9')]=0x0),new u(this[_0x3b95('0x9')]++);}[_0x3b95('0xf')](){const _0x4c5f72=this[_0x3b95('0x21')][_0x3b95('0x11')][_0x3b95('0x26')](_0x3b95('0x13'));this['addUser']({'id':_0x4c5f72,'name':_0x36777f(this[_0x3b95('0x16')],_0x3b95('0x28'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x5f5457){this['id']=_0x5f5457['id'],this[_0x3b95('0x2f')]=_0x5f5457[_0x3b95('0x2f')],this['name']=_0x5f5457['name'],this[_0x3b95('0x1a')]=_0x5f5457[_0x3b95('0x1a')],this[_0x3b95('0x27')]=!0x1;}get['isAnonymous'](){return this[_0x3b95('0x27')];}get[_0x3b95('0x1e')](){const _0x3e5c56=this[_0x3b95('0x1f')]['split']('\x20');return 0x1===_0x3e5c56[_0x3b95('0x14')]?this[_0x3b95('0x6')](_0x3e5c56[0x0]):this[_0x3b95('0x6')](_0x3e5c56[0x0])+this[_0x3b95('0x6')](_0x3e5c56[_0x3e5c56[_0x3b95('0x14')]-0x1]);}[_0x3b95('0x6')](_0x5d5b5b){return _0x5d5b5b['charAt'](0x0)[_0x3b95('0x2b')]();}}function a(_0xc06f5f,_0x47ca0c=''){return''==(_0x47ca0c=_0x47ca0c['trim']())?_0x36777f(_0xc06f5f,'Anonymous'):_0x47ca0c;}class u{constructor(_0x33533a){this['_id']=_0x33533a;}[_0x3b95('0x0')](){return _0x3b95('0x12')+this[_0x3b95('0x30')];}[_0x3b95('0x20')](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return _0x3b95('0x2a')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4235ce,_0x351b14){const t=_0x4235ce['t'];switch(_0x351b14){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(_0x2e1e11,_0xfabe4c){const t=_0x2e1e11['t'];switch(_0xfabe4c){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 _0x43ff=['confirmView','cancel','deregisterChild','_removeConfirm','set','cancelConfirm','message','fire','submit','element','showConfirm','once','registerChild','isConfirm','appendChild','remove','destroy','focus'];(function(_0xcc7024,_0x43ff81){var _0x2ae83f=function(_0x5890f5){while(--_0x5890f5){_0xcc7024['push'](_0xcc7024['shift']());}};_0x2ae83f(++_0x43ff81);}(_0x43ff,0x99));var _0x2ae8=function(_0xcc7024,_0x43ff81){_0xcc7024=_0xcc7024-0x0;var _0x2ae83f=_0x43ff[_0xcc7024];return _0x2ae83f;};import _0x34bccd from'./confirmview';export default function m(_0x512b85){return class extends _0x512b85{[_0x2ae8('0x1')](_0x18b51f,_0x38437b){return this[_0x2ae8('0x9')]=new _0x34bccd(this['locale']),this[_0x2ae8('0x9')]['render'](),this[_0x2ae8('0x9')][_0x2ae8('0xf')]=_0x18b51f,this[_0x2ae8('0x9')][_0x2ae8('0x2')](_0x2ae8('0xa'),()=>{this[_0x2ae8('0xc')]();}),this[_0x2ae8('0x9')]['once'](_0x2ae8('0x11'),()=>{this[_0x2ae8('0xc')]();}),_0x38437b[_0x2ae8('0x5')](this['confirmView'][_0x2ae8('0x0')]),this[_0x2ae8('0x3')](this[_0x2ae8('0x9')]),this[_0x2ae8('0x0')][_0x2ae8('0x8')](),this[_0x2ae8('0xd')](_0x2ae8('0x4'),!0x0),new Promise(_0x2c1e62=>this[_0x2ae8('0x9')]['on'](_0x2ae8('0x11'),_0x2c1e62));}[_0x2ae8('0xe')](){this[_0x2ae8('0x4')]&&this[_0x2ae8('0x9')][_0x2ae8('0x10')](_0x2ae8('0xa'));}[_0x2ae8('0xc')](){this[_0x2ae8('0x0')]&&this[_0x2ae8('0x9')]&&this[_0x2ae8('0x9')][_0x2ae8('0x0')]&&(this[_0x2ae8('0x0')][_0x2ae8('0x8')](),this['confirmView'][_0x2ae8('0x0')][_0x2ae8('0x6')](),this[_0x2ae8('0xb')](this[_0x2ae8('0x9')]),this[_0x2ae8('0x4')]=!0x1,this[_0x2ae8('0x9')][_0x2ae8('0x7')](),this[_0x2ae8('0x9')]=void 0x0);}};}
23
+ var _0x2b5a=['once','fire','showConfirm','appendChild','set','element','destroy','remove','cancelConfirm','message','registerChild','confirmView','deregisterChild','focus','isConfirm','locale','_removeConfirm','render','cancel','submit'];(function(_0x889d69,_0x2b5a8f){var _0x2ff840=function(_0x9a40fb){while(--_0x9a40fb){_0x889d69['push'](_0x889d69['shift']());}};_0x2ff840(++_0x2b5a8f);}(_0x2b5a,0x87));var _0x2ff8=function(_0x889d69,_0x2b5a8f){_0x889d69=_0x889d69-0x0;var _0x2ff840=_0x2b5a[_0x889d69];return _0x2ff840;};import _0x5c0e17 from'./confirmview';export default function m(_0x2dc3d5){return class extends _0x2dc3d5{[_0x2ff8('0x7')](_0x5e1b4f,_0xa59390){return this['confirmView']=new _0x5c0e17(this[_0x2ff8('0x0')]),this[_0x2ff8('0x10')][_0x2ff8('0x2')](),this[_0x2ff8('0x10')][_0x2ff8('0xe')]=_0x5e1b4f,this['confirmView'][_0x2ff8('0x5')](_0x2ff8('0x3'),()=>{this[_0x2ff8('0x1')]();}),this['confirmView']['once'](_0x2ff8('0x4'),()=>{this[_0x2ff8('0x1')]();}),_0xa59390[_0x2ff8('0x8')](this[_0x2ff8('0x10')]['element']),this[_0x2ff8('0xf')](this[_0x2ff8('0x10')]),this[_0x2ff8('0xa')]['focus'](),this[_0x2ff8('0x9')](_0x2ff8('0x13'),!0x0),new Promise(_0x4f01ca=>this[_0x2ff8('0x10')]['on']('submit',_0x4f01ca));}[_0x2ff8('0xd')](){this[_0x2ff8('0x13')]&&this[_0x2ff8('0x10')][_0x2ff8('0x6')](_0x2ff8('0x3'));}['_removeConfirm'](){this[_0x2ff8('0xa')]&&this[_0x2ff8('0x10')]&&this['confirmView']['element']&&(this['element'][_0x2ff8('0x12')](),this[_0x2ff8('0x10')]['element'][_0x2ff8('0xc')](),this[_0x2ff8('0x11')](this['confirmView']),this['isConfirm']=!0x1,this[_0x2ff8('0x10')][_0x2ff8('0xb')](),this[_0x2ff8('0x10')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252b=['div','cancelView','set','setTemplate','submitView','ck-thread__remove-confirm','icon','message','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','cancel','fire','submit','ck-thread__remove-confirm-actions','check','_createButtonView','execute','bindTemplate'];(function(_0x400d5c,_0x252b47){const _0x3854cf=function(_0x2af2ec){while(--_0x2af2ec){_0x400d5c['push'](_0x400d5c['shift']());}};_0x3854cf(++_0x252b47);}(_0x252b,0x171));const _0x3854=function(_0x400d5c,_0x252b47){_0x400d5c=_0x400d5c-0x0;let _0x3854cf=_0x252b[_0x400d5c];return _0x3854cf;};import{View as _0x26d726,ButtonView as _0x3e0ad6}from'ckeditor5/src/ui';import{icons as _0x165e2d}from'ckeditor5/src/core';import{getTranslation as _0x1afaf7}from'./common-translations';export default class h extends _0x26d726{constructor(_0x1b91a0){super(_0x1b91a0);const _0x44c222=this[_0x3854('0x8')];this['submitView']=this['_createButtonView'](_0x1b91a0,_0x1afaf7(_0x1b91a0,'Yes'),_0x165e2d[_0x3854('0x5')],_0x3854('0x3')),this['cancelView']=this[_0x3854('0x6')](_0x1b91a0,_0x1afaf7(_0x1b91a0,'No'),_0x165e2d[_0x3854('0x1')],_0x3854('0x1')),this[_0x3854('0xb')](_0x3854('0x10'),_0x1afaf7(_0x1b91a0,_0x3854('0x0'))),this[_0x3854('0xc')]({'tag':_0x3854('0x9'),'attributes':{'class':[_0x3854('0xe')]},'children':[{'tag':_0x3854('0x9'),'attributes':{'class':_0x3854('0x11')},'children':[{'tag':'p','children':[{'text':_0x44c222['to']('message')}]},{'tag':_0x3854('0x9'),'attributes':{'class':_0x3854('0x4')},'children':[this[_0x3854('0xd')],this[_0x3854('0xa')]]}]}]});}[_0x3854('0x6')](_0x8a8963,_0x5509c4,_0xfe2ef7,_0x321194){const _0x10130c=new _0x3e0ad6(_0x8a8963);return _0x10130c['label']=_0x5509c4,_0x10130c[_0x3854('0xf')]=_0xfe2ef7,_0x10130c['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x321194}}),_0x10130c['on'](_0x3854('0x7'),()=>this[_0x3854('0x2')](_0x321194)),_0x10130c;}}
23
+ const _0x515e=['icon','extendTemplate','submitView','label','cancel','cancelView','check','ck-thread__remove-confirm-inner','fire','setTemplate','submit','execute','div','_createButtonView','ck-thread__remove-confirm-actions'];(function(_0x3329e1,_0x515ebc){const _0x2564e1=function(_0x59287d){while(--_0x59287d){_0x3329e1['push'](_0x3329e1['shift']());}};_0x2564e1(++_0x515ebc);}(_0x515e,0x13b));const _0x2564=function(_0x3329e1,_0x515ebc){_0x3329e1=_0x3329e1-0x0;let _0x2564e1=_0x515e[_0x3329e1];return _0x2564e1;};import{View as _0xc23fd4,ButtonView as _0x4b392f}from'ckeditor5/src/ui';import{icons as _0x4f5744}from'ckeditor5/src/core';import{getTranslation as _0x4810a0}from'./common-translations';export default class h extends _0xc23fd4{constructor(_0x3a5184){super(_0x3a5184);const _0x5f551d=this['bindTemplate'];this[_0x2564('0x2')]=this[_0x2564('0xd')](_0x3a5184,_0x4810a0(_0x3a5184,'Yes'),_0x4f5744[_0x2564('0x6')],_0x2564('0xa')),this['cancelView']=this['_createButtonView'](_0x3a5184,_0x4810a0(_0x3a5184,'No'),_0x4f5744['cancel'],_0x2564('0x4')),this['set']('message',_0x4810a0(_0x3a5184,'Are\x20you\x20sure?')),this[_0x2564('0x9')]({'tag':_0x2564('0xc'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x2564('0xc'),'attributes':{'class':_0x2564('0x7')},'children':[{'tag':'p','children':[{'text':_0x5f551d['to']('message')}]},{'tag':_0x2564('0xc'),'attributes':{'class':_0x2564('0xe')},'children':[this[_0x2564('0x2')],this[_0x2564('0x5')]]}]}]});}[_0x2564('0xd')](_0x36d6e7,_0x502387,_0x481b3f,_0x40bd96){const _0x290f60=new _0x4b392f(_0x36d6e7);return _0x290f60[_0x2564('0x3')]=_0x502387,_0x290f60[_0x2564('0x0')]=_0x481b3f,_0x290f60[_0x2564('0x1')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x40bd96}}),_0x290f60['on'](_0x2564('0xb'),()=>this[_0x2564('0x8')](_0x40bd96)),_0x290f60;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6026=['MM-dd-yyyy\x20hh:mma','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','dateTimeFormat','\x27Today\x27\x20hh:mma','function','string'];(function(_0x7f7b4e,_0x602668){const _0x5a4055=function(_0x175804){while(--_0x175804){_0x7f7b4e['push'](_0x7f7b4e['shift']());}};_0x5a4055(++_0x602668);}(_0x6026,0x85));const _0x5a40=function(_0x7f7b4e,_0x602668){_0x7f7b4e=_0x7f7b4e-0x0;let _0x5a4055=_0x6026[_0x7f7b4e];return _0x5a4055;};import _0x1befb1 from'date-fns/format';import _0x572f8f from'date-fns/parseISO';import _0x54c035 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x45d901}from'ckeditor5/src/utils';export default function E(_0x21fe56={}){if(void 0x0!==_0x21fe56[_0x5a40('0x7')]&&_0x5a40('0x1')!=typeof _0x21fe56[_0x5a40('0x7')])throw new _0x45d901(_0x5a40('0x6'));return _0x198b76=>{const _0xa8f2c5=_0x5a40('0x2')==typeof _0x198b76?_0x572f8f(_0x198b76):_0x198b76,_0x1cac5c=new Date(),_0x256f9c=_0x54c035(_0x1cac5c,_0xa8f2c5);return _0x21fe56[_0x5a40('0x7')]?_0x21fe56[_0x5a40('0x7')](_0xa8f2c5):_0x1befb1(_0xa8f2c5,0x0===_0x256f9c?_0x5a40('0x0'):0x1===_0x256f9c?_0x5a40('0x4'):_0x256f9c<0x7?_0x5a40('0x5'):_0x5a40('0x3'));};}
23
+ const _0x28ba=['dateTimeFormat','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','string'];(function(_0x26838f,_0x28baea){const _0x18fa2b=function(_0x2a8183){while(--_0x2a8183){_0x26838f['push'](_0x26838f['shift']());}};_0x18fa2b(++_0x28baea);}(_0x28ba,0x105));const _0x18fa=function(_0x26838f,_0x28baea){_0x26838f=_0x26838f-0x0;let _0x18fa2b=_0x28ba[_0x26838f];return _0x18fa2b;};import _0x2714b2 from'date-fns/format';import _0x1e4097 from'date-fns/parseISO';import _0x3fd314 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x1df1a7}from'ckeditor5/src/utils';export default function E(_0x170c79={}){if(void 0x0!==_0x170c79[_0x18fa('0x4')]&&'function'!=typeof _0x170c79[_0x18fa('0x4')])throw new _0x1df1a7(_0x18fa('0x2'));return _0x1e8ac2=>{const _0x336bab=_0x18fa('0x3')==typeof _0x1e8ac2?_0x1e4097(_0x1e8ac2):_0x1e8ac2,_0x3d8d01=new Date(),_0x367682=_0x3fd314(_0x3d8d01,_0x336bab);return _0x170c79[_0x18fa('0x4')]?_0x170c79[_0x18fa('0x4')](_0x336bab):_0x2714b2(_0x336bab,0x0===_0x367682?_0x18fa('0x0'):0x1===_0x367682?'\x27Yesterday\x27\x20hh:mma':_0x367682<0x7?_0x18fa('0x1'):'MM-dd-yyyy\x20hh:mma');};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2177=['view','map','name','push','length','markerNameToElements','mapViewToDom','domConverter','filter','item','sort','from','domElement'];(function(_0x4dfccc,_0x21777e){const _0x2b8755=function(_0x4131d7){while(--_0x4131d7){_0x4dfccc['push'](_0x4dfccc['shift']());}};_0x2b8755(++_0x21777e);}(_0x2177,0x1ab));const _0x2b87=function(_0x4dfccc,_0x21777e){_0x4dfccc=_0x4dfccc-0x0;let _0x2b8755=_0x2177[_0x4dfccc];return _0x2b8755;};import{first as _0x1ced76}from'ckeditor5/src/utils';export default function k(_0x3f3a68,_0x2bb5e1){const _0x1af957=_0x3f3a68['mapper']['markerNameToElements'](_0x2bb5e1[_0x2b87('0x4')]);if(!_0x1af957)return null;const _0x54df07=_0x1ced76(_0x1af957['values']());return _0x3f3a68['view'][_0x2b87('0x9')][_0x2b87('0x8')](_0x54df07)||null;}export function getAllMarkersDomElementsSorted(_0x24ffd5,_0x180bdb){if(0x0===_0x180bdb[_0x2b87('0x6')])return null;const _0x56b43b=[],_0x191494=_0x24ffd5[_0x2b87('0x2')][_0x2b87('0x9')];for(const _0x474b6c of _0x180bdb){const _0x21c54a=_0x24ffd5['mapper'][_0x2b87('0x7')](_0x474b6c[_0x2b87('0x4')]);if(!_0x21c54a)continue;const _0xd2da3f=Array[_0x2b87('0x0')](_0x21c54a)[_0x2b87('0x3')](_0x4a2578=>_0x191494[_0x2b87('0x8')](_0x4a2578))[_0x2b87('0xa')](_0x3a071a=>!!_0x3a071a);_0x56b43b[_0x2b87('0x5')](..._0xd2da3f);}if(0x0===_0x56b43b[_0x2b87('0x6')])return null;const _0x12310d=[];for(const _0x4a6202 of _0x56b43b){const _0x43a10c=_0x4a6202['getClientRects']()[_0x2b87('0xb')](0x0);_0x43a10c&&_0x12310d[_0x2b87('0x5')]({'x':_0x43a10c['x'],'y':_0x43a10c['y'],'domElement':_0x4a6202});}return 0x0===_0x12310d[_0x2b87('0x6')]?null:(_0x12310d[_0x2b87('0xc')]((_0x100e6e,_0x2156bb)=>_0x100e6e['y']-_0x2156bb['y']||_0x100e6e['x']-_0x2156bb['x']),_0x12310d[_0x2b87('0x3')](_0x4fd501=>_0x4fd501[_0x2b87('0x1')]));}
23
+ const _0x5f16=['values','mapViewToDom','markerNameToElements','domConverter','mapper','length','view','from','map','sort','getClientRects','push','domElement'];(function(_0x2eedfc,_0x5f16f9){const _0x2bd48c=function(_0xf6a478){while(--_0xf6a478){_0x2eedfc['push'](_0x2eedfc['shift']());}};_0x2bd48c(++_0x5f16f9);}(_0x5f16,0x129));const _0x2bd4=function(_0x2eedfc,_0x5f16f9){_0x2eedfc=_0x2eedfc-0x0;let _0x2bd48c=_0x5f16[_0x2eedfc];return _0x2bd48c;};import{first as _0x162e06}from'ckeditor5/src/utils';export default function k(_0x2fb260,_0x5b6145){const _0x109c1a=_0x2fb260[_0x2bd4('0x6')][_0x2bd4('0x4')](_0x5b6145['name']);if(!_0x109c1a)return null;const _0x305749=_0x162e06(_0x109c1a[_0x2bd4('0x2')]());return _0x2fb260[_0x2bd4('0x8')][_0x2bd4('0x5')][_0x2bd4('0x3')](_0x305749)||null;}export function getAllMarkersDomElementsSorted(_0x152e5f,_0x3deacc){if(0x0===_0x3deacc['length'])return null;const _0x4d317c=[],_0x245bfa=_0x152e5f['view'][_0x2bd4('0x5')];for(const _0x2cad7f of _0x3deacc){const _0x56d19b=_0x152e5f[_0x2bd4('0x6')][_0x2bd4('0x4')](_0x2cad7f['name']);if(!_0x56d19b)continue;const _0x435952=Array[_0x2bd4('0x9')](_0x56d19b)[_0x2bd4('0xa')](_0x29c895=>_0x245bfa[_0x2bd4('0x3')](_0x29c895))['filter'](_0x3af4fa=>!!_0x3af4fa);_0x4d317c[_0x2bd4('0x0')](..._0x435952);}if(0x0===_0x4d317c[_0x2bd4('0x7')])return null;const _0x14a524=[];for(const _0xa0c6a8 of _0x4d317c){const _0x2c98d8=_0xa0c6a8[_0x2bd4('0xc')]()['item'](0x0);_0x2c98d8&&_0x14a524[_0x2bd4('0x0')]({'x':_0x2c98d8['x'],'y':_0x2c98d8['y'],'domElement':_0xa0c6a8});}return 0x0===_0x14a524['length']?null:(_0x14a524[_0x2bd4('0xb')]((_0x38d32b,_0x49f144)=>_0x38d32b['y']-_0x49f144['y']||_0x38d32b['x']-_0x49f144['x']),_0x14a524[_0x2bd4('0xa')](_0x415327=>_0x415327[_0x2bd4('0x1')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b2=['isArray','charCodeAt','string','toString','boolean','sign','number','object','sort','keys'];(function(_0x2572a6,_0x13b2b5){const _0x444368=function(_0x18d387){while(--_0x18d387){_0x2572a6['push'](_0x2572a6['shift']());}};_0x444368(++_0x13b2b5);}(_0x13b2,0x101));const _0x4443=function(_0x2572a6,_0x13b2b5){_0x2572a6=_0x2572a6-0x0;let _0x444368=_0x13b2[_0x2572a6];return _0x444368;};export default function b(_0x4fa7d9){let _0x2806c1=0x0,_0x275fc9=0x0;for(const _0x283bc7 of g(_0x4fa7d9))_0x2806c1=(_0x2806c1<<0x5)-_0x2806c1+_0x283bc7,_0x2806c1&=_0x2806c1,[_0x2806c1,_0x275fc9]=[_0x275fc9,_0x2806c1];return O(_0x2806c1)+O(_0x275fc9);}function*j(_0x2b6381){_0x2b6381?_0x4443('0x7')==typeof _0x2b6381?yield 0x1:Array[_0x4443('0x3')](_0x2b6381)?yield*function*(_0x23b9af){for(const _0xbe4b76 of _0x23b9af)yield*j(_0xbe4b76);}(_0x2b6381):_0x4443('0x0')==typeof _0x2b6381?yield*g(_0x2b6381):_0x4443('0x5')==typeof _0x2b6381?yield*A(_0x2b6381):_0x4443('0x9')==typeof _0x2b6381&&(yield _0x2b6381):yield 0x0;}function*g(_0x28c996){if(yield M('{'),_0x28c996){const _0x4892e3=Object[_0x4443('0x2')](_0x28c996)[_0x4443('0x1')]();for(const _0x248db0 of _0x4892e3){yield*A(_0x248db0),yield M(':');const _0x1cd34f=_0x28c996[_0x248db0];yield*j(_0x1cd34f);}}yield M('}');}function*A(_0x4e6515){yield M('\x22');for(const _0x3afc66 of _0x4e6515)yield M(_0x3afc66);yield M('\x22');}function M(_0x1dd327){return _0x1dd327[_0x4443('0x4')](0x0);}function O(_0x138b3d){return(_0x138b3d*=Math[_0x4443('0x8')](_0x138b3d))[_0x4443('0x6')](0x24);}
23
+ const _0x1433=['number','sign','keys','isArray','object','charCodeAt','string','toString'];(function(_0x244ecb,_0x143340){const _0x366c6c=function(_0x40975d){while(--_0x40975d){_0x244ecb['push'](_0x244ecb['shift']());}};_0x366c6c(++_0x143340);}(_0x1433,0xfc));const _0x366c=function(_0x244ecb,_0x143340){_0x244ecb=_0x244ecb-0x0;let _0x366c6c=_0x1433[_0x244ecb];return _0x366c6c;};export default function b(_0x14c67a){let _0x2ec8cb=0x0,_0x56df33=0x0;for(const _0x18828a of g(_0x14c67a))_0x2ec8cb=(_0x2ec8cb<<0x5)-_0x2ec8cb+_0x18828a,_0x2ec8cb&=_0x2ec8cb,[_0x2ec8cb,_0x56df33]=[_0x56df33,_0x2ec8cb];return O(_0x2ec8cb)+O(_0x56df33);}function*j(_0x1f7341){_0x1f7341?'boolean'==typeof _0x1f7341?yield 0x1:Array[_0x366c('0x7')](_0x1f7341)?yield*function*(_0x4cfbb7){for(const _0x46835b of _0x4cfbb7)yield*j(_0x46835b);}(_0x1f7341):_0x366c('0x0')==typeof _0x1f7341?yield*g(_0x1f7341):_0x366c('0x2')==typeof _0x1f7341?yield*A(_0x1f7341):_0x366c('0x4')==typeof _0x1f7341&&(yield _0x1f7341):yield 0x0;}function*g(_0x36aa17){if(yield M('{'),_0x36aa17){const _0x504f28=Object[_0x366c('0x6')](_0x36aa17)['sort']();for(const _0x24c441 of _0x504f28){yield*A(_0x24c441),yield M(':');const _0x3fe283=_0x36aa17[_0x24c441];yield*j(_0x3fe283);}}yield M('}');}function*A(_0x4114d6){yield M('\x22');for(const _0x1bb95d of _0x4114d6)yield M(_0x1bb95d);yield M('\x22');}function M(_0x328a38){return _0x328a38[_0x366c('0x1')](0x0);}function O(_0x580f22){return(_0x580f22*=Math[_0x366c('0x5')](_0x580f22))[_0x366c('0x3')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fd5=['concat','requires','map','extraPlugins','rootsAttributes','filter','initialData','get','Autosave','RevisionTracker','removePlugins','set','string','name','has','DocumentOutline','toolbar','builtinPlugins','length','WordCount','WProofreader','includes','pluginName','constructor','every','config','WebSocketGateway','context','plugins','names','_context','find'];(function(_0x36e8bf,_0x1fd571){const _0x42dd8b=function(_0x4bda90){while(--_0x4bda90){_0x36e8bf['push'](_0x36e8bf['shift']());}};_0x42dd8b(++_0x1fd571);}(_0x1fd5,0x14a));const _0x42dd=function(_0x36e8bf,_0x1fd571){_0x36e8bf=_0x36e8bf-0x0;let _0x42dd8b=_0x1fd5[_0x36e8bf];return _0x42dd8b;};const w=[_0x42dd('0x1c'),_0x42dd('0x11'),_0x42dd('0x6'),_0x42dd('0x1a')],W=[_0x42dd('0x10'),_0x42dd('0x1f'),_0x42dd('0x1e'),_0x42dd('0x9'),_0x42dd('0x5'),_0x42dd('0xa')];function v(_0x12a3c6,_0x434046,_0x5e26ba,_0x49b8cd=[]){const _0x3a8e06=_0x42dd('0x2')==typeof _0x12a3c6?_0x5e26ba[_0x42dd('0x1d')](_0x12a3c6)[_0x42dd('0xd')]:_0x12a3c6,_0x1fdfc=_0x3a8e06[_0x42dd('0xc')]||_0x3a8e06[_0x42dd('0x3')];if(_0x434046[_0x42dd('0x4')](_0x1fdfc))return _0x434046[_0x42dd('0x1d')](_0x1fdfc);if(_0x434046['set'](_0x1fdfc,!0x0),_0x1fdfc&&W[_0x42dd('0x16')](_0x49b8cd)[_0x42dd('0xb')](_0x1fdfc))return _0x434046[_0x42dd('0x1')](_0x1fdfc,!0x1),!0x1;if(!_0x3a8e06[_0x42dd('0x17')])return _0x434046[_0x42dd('0x1')](_0x1fdfc,!0x0),!0x0;const _0x21497c=_0x3a8e06[_0x42dd('0x17')][_0x42dd('0xe')](_0x3ecfd4=>v(_0x3ecfd4,_0x434046,_0x5e26ba,_0x49b8cd));return _0x434046[_0x42dd('0x1')](_0x1fdfc,_0x21497c),_0x21497c;}export default function D(_0x1ab2ce,_0x62b416){const _0x479c01={};for(const _0x26ed57 of _0x1ab2ce[_0x42dd('0xf')][_0x42dd('0x13')]())w[_0x42dd('0xb')](_0x26ed57)||(_0x479c01[_0x26ed57]=_0x1ab2ce['config'][_0x42dd('0x1d')](_0x26ed57));const _0x546c62=_0x479c01[_0x42dd('0x12')]||[],_0x175be7=_0x1ab2ce[_0x42dd('0xd')][_0x42dd('0x7')]||[],_0x4b2ecf=_0x546c62[_0x42dd('0x8')]?_0x546c62:_0x175be7,_0x41bba5=_0x479c01[_0x42dd('0x19')]||[];delete _0x479c01[_0x42dd('0x19')];const _0x5e9258=_0x479c01[_0x42dd('0x0')]||[];delete _0x479c01[_0x42dd('0x0')];const _0x4ca02b=_0x1ab2ce[_0x42dd('0x14')][_0x42dd('0xf')][_0x42dd('0x1d')]('plugins')||[],_0x52f5d3=_0x4b2ecf['concat'](_0x41bba5)[_0x42dd('0x16')](_0x4ca02b)[_0x42dd('0x18')](_0x525b86=>_0x42dd('0x2')==typeof _0x525b86?_0x175be7[_0x42dd('0x15')](_0x570c61=>_0x570c61[_0x42dd('0xc')]==_0x525b86):_0x525b86)['filter'](_0x2d7ab7=>!_0x5e9258['includes'](_0x2d7ab7)&&!_0x5e9258[_0x42dd('0xb')](_0x2d7ab7[_0x42dd('0xc')])),_0x8e99d1=Array['from'](new Set(_0x52f5d3)),_0x1c677b=new Map();return _0x479c01[_0x42dd('0x12')]=_0x8e99d1[_0x42dd('0x1b')](_0x170de5=>v(_0x170de5,_0x1c677b,_0x1ab2ce[_0x42dd('0x12')],_0x62b416)),_0x479c01;}
23
+ const _0x3bbe=['WProofreader','_context','context','rootsAttributes','WordCount','DocumentOutline','get','string','requires','length','concat','Autosave','extraPlugins','plugins','constructor','set','from','removePlugins','builtinPlugins','toolbar','pluginName','name','config','includes','every','has','filter','names','initialData'];(function(_0x5b62ec,_0x3bbedb){const _0x180ebc=function(_0x557e5c){while(--_0x557e5c){_0x5b62ec['push'](_0x5b62ec['shift']());}};_0x180ebc(++_0x3bbedb);}(_0x3bbe,0x1e4));const _0x180e=function(_0x5b62ec,_0x3bbedb){_0x5b62ec=_0x5b62ec-0x0;let _0x180ebc=_0x3bbe[_0x5b62ec];return _0x180ebc;};const w=[_0x180e('0x8'),_0x180e('0xb'),_0x180e('0x1c'),_0x180e('0xc')],W=['WebSocketGateway','RevisionTracker',_0x180e('0x14'),_0x180e('0xd'),_0x180e('0xe'),_0x180e('0x9')];function v(_0x2890c6,_0x44e54b,_0x1dc8df,_0x35d6bd=[]){const _0xdfd7bd=_0x180e('0x10')==typeof _0x2890c6?_0x1dc8df[_0x180e('0xf')](_0x2890c6)['constructor']:_0x2890c6,_0xc3a0f=_0xdfd7bd[_0x180e('0x0')]||_0xdfd7bd[_0x180e('0x1')];if(_0x44e54b[_0x180e('0x5')](_0xc3a0f))return _0x44e54b[_0x180e('0xf')](_0xc3a0f);if(_0x44e54b[_0x180e('0x18')](_0xc3a0f,!0x0),_0xc3a0f&&W['concat'](_0x35d6bd)[_0x180e('0x3')](_0xc3a0f))return _0x44e54b[_0x180e('0x18')](_0xc3a0f,!0x1),!0x1;if(!_0xdfd7bd['requires'])return _0x44e54b[_0x180e('0x18')](_0xc3a0f,!0x0),!0x0;const _0x5dcf77=_0xdfd7bd[_0x180e('0x11')][_0x180e('0x4')](_0xe7b267=>v(_0xe7b267,_0x44e54b,_0x1dc8df,_0x35d6bd));return _0x44e54b[_0x180e('0x18')](_0xc3a0f,_0x5dcf77),_0x5dcf77;}export default function D(_0x7b67e4,_0x220c28){const _0x5e34b0={};for(const _0x37bfdb of _0x7b67e4[_0x180e('0x2')][_0x180e('0x7')]())w[_0x180e('0x3')](_0x37bfdb)||(_0x5e34b0[_0x37bfdb]=_0x7b67e4['config'][_0x180e('0xf')](_0x37bfdb));const _0x39c20c=_0x5e34b0[_0x180e('0x16')]||[],_0x1b9e36=_0x7b67e4[_0x180e('0x17')][_0x180e('0x1b')]||[],_0x3db6da=_0x39c20c[_0x180e('0x12')]?_0x39c20c:_0x1b9e36,_0x5af9b5=_0x5e34b0['extraPlugins']||[];delete _0x5e34b0[_0x180e('0x15')];const _0x41ea7e=_0x5e34b0[_0x180e('0x1a')]||[];delete _0x5e34b0[_0x180e('0x1a')];const _0x3ef84a=_0x7b67e4[_0x180e('0xa')]['config'][_0x180e('0xf')](_0x180e('0x16'))||[],_0x42f94b=_0x3db6da[_0x180e('0x13')](_0x5af9b5)[_0x180e('0x13')](_0x3ef84a)['map'](_0x3dd9e9=>_0x180e('0x10')==typeof _0x3dd9e9?_0x1b9e36['find'](_0x4e7a45=>_0x4e7a45[_0x180e('0x0')]==_0x3dd9e9):_0x3dd9e9)[_0x180e('0x6')](_0x145da2=>!_0x41ea7e[_0x180e('0x3')](_0x145da2)&&!_0x41ea7e['includes'](_0x145da2[_0x180e('0x0')])),_0x302d34=Array[_0x180e('0x19')](new Set(_0x42f94b)),_0xf40f4b=new Map();return _0x5e34b0[_0x180e('0x16')]=_0x302d34['filter'](_0x320402=>v(_0x320402,_0xf40f4b,_0x7b67e4[_0x180e('0x16')],_0x220c28)),_0x5e34b0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53fa=['includes','length','markers','isEqual','selection','containsPosition','start','end','push','change:range','focus'];(function(_0x4cda11,_0x53fa18){const _0x32357c=function(_0x1e503f){while(--_0x1e503f){_0x4cda11['push'](_0x4cda11['shift']());}};_0x32357c(++_0x53fa18);}(_0x53fa,0x1a7));const _0x3235=function(_0x4cda11,_0x53fa18){_0x4cda11=_0x4cda11-0x0;let _0x32357c=_0x53fa[_0x4cda11];return _0x32357c;};export default function q(_0x3d6dbb,_0xcd2522){const _0x40deb1=[];_0x3d6dbb['document'][_0x3235('0xa')]['on'](_0x3235('0x4'),()=>{const _0x45c000=function(_0x3303bc,_0xd7ee1f){const _0x37f7a6=[];for(const _0x27bb93 of _0x3303bc[_0x3235('0x8')]){const _0xf4ea9=_0x27bb93['getRange']();(_0xf4ea9[_0x3235('0x0')](_0xd7ee1f)||_0xf4ea9[_0x3235('0x1')][_0x3235('0x9')](_0xd7ee1f)||_0xf4ea9[_0x3235('0x2')][_0x3235('0x9')](_0xd7ee1f))&&_0x37f7a6[_0x3235('0x3')](_0x27bb93);}return _0x37f7a6;}(_0x3d6dbb,_0x3d6dbb['document']['selection'][_0x3235('0x5')]),_0x379c08=[],_0x28dbb9=[],_0x3e0f05=[];for(const _0x26b7b2 of _0x40deb1)_0x45c000[_0x3235('0x6')](_0x26b7b2)||_0x379c08['push'](_0x26b7b2);for(const _0xddcacf of _0x45c000)_0x40deb1[_0x3235('0x6')](_0xddcacf)||_0x28dbb9[_0x3235('0x3')](_0xddcacf),_0x3e0f05[_0x3235('0x3')](_0xddcacf);(_0x379c08[_0x3235('0x7')]||_0x28dbb9[_0x3235('0x7')])&&_0xcd2522({'left':_0x379c08,'entered':_0x28dbb9}),_0x40deb1[_0x3235('0x7')]=0x0,_0x40deb1['push'](..._0x3e0f05);});}
23
+ const _0x1c03=['start','getRange','focus','selection','containsPosition','change:range','includes','document','isEqual','length','push','markers'];(function(_0x2ea1cc,_0x1c0313){const _0x16406c=function(_0x63cf5){while(--_0x63cf5){_0x2ea1cc['push'](_0x2ea1cc['shift']());}};_0x16406c(++_0x1c0313);}(_0x1c03,0x128));const _0x1640=function(_0x2ea1cc,_0x1c0313){_0x2ea1cc=_0x2ea1cc-0x0;let _0x16406c=_0x1c03[_0x2ea1cc];return _0x16406c;};export default function q(_0x443062,_0x686505){const _0x1f2336=[];_0x443062[_0x1640('0xb')][_0x1640('0x7')]['on'](_0x1640('0x9'),()=>{const _0x6d58e1=function(_0x35a922,_0x184f9a){const _0x1f2d1a=[];for(const _0x1accec of _0x35a922[_0x1640('0x3')]){const _0x584da3=_0x1accec[_0x1640('0x5')]();(_0x584da3[_0x1640('0x8')](_0x184f9a)||_0x584da3[_0x1640('0x4')][_0x1640('0x0')](_0x184f9a)||_0x584da3['end'][_0x1640('0x0')](_0x184f9a))&&_0x1f2d1a[_0x1640('0x2')](_0x1accec);}return _0x1f2d1a;}(_0x443062,_0x443062[_0x1640('0xb')][_0x1640('0x7')][_0x1640('0x6')]),_0x5b18a3=[],_0x2b0881=[],_0x4ca40e=[];for(const _0x10cdd of _0x1f2336)_0x6d58e1[_0x1640('0xa')](_0x10cdd)||_0x5b18a3[_0x1640('0x2')](_0x10cdd);for(const _0x106a97 of _0x6d58e1)_0x1f2336[_0x1640('0xa')](_0x106a97)||_0x2b0881[_0x1640('0x2')](_0x106a97),_0x4ca40e['push'](_0x106a97);(_0x5b18a3[_0x1640('0x1')]||_0x2b0881[_0x1640('0x1')])&&_0x686505({'left':_0x5b18a3,'entered':_0x2b0881}),_0x1f2336[_0x1640('0x1')]=0x0,_0x1f2336['push'](..._0x4ca40e);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f6d=['substring','startsWith','join','length','pop','indexOf','match','...','push','split','replace'];(function(_0x5f2243,_0x1f6d23){const _0x4000df=function(_0x3db371){while(--_0x3db371){_0x5f2243['push'](_0x5f2243['shift']());}};_0x4000df(++_0x1f6d23);}(_0x1f6d,0x1f4));const _0x4000=function(_0x5f2243,_0x1f6d23){_0x5f2243=_0x5f2243-0x0;let _0x4000df=_0x1f6d[_0x5f2243];return _0x4000df;};export default function z(_0x567bb5,{limit:_0x513501,suffix:_0x30b34d=_0x4000('0x2')}){const _0x20ee26=[];let _0x36ba6e=0x0;const _0x3b161a=_0x567bb5['replace'](/</g,'\x0a<')[_0x4000('0x5')](/>/g,'>\x0a')[_0x4000('0x5')](/^\n/g,'')[_0x4000('0x5')](/\n$/g,'')[_0x4000('0x4')]('\x0a');for(let _0x263019=0x0;_0x263019<_0x3b161a['length'];_0x263019++){let _0x26fc7d=_0x3b161a[_0x263019];const _0x5e57e6=Z(_0x26fc7d);if(_0x26fc7d[_0x4000('0x7')]('<')){if(_0x36ba6e>=_0x513501){const _0x4848c1=_0x26fc7d[_0x4000('0x1')](/[a-zA-Z]+/);if(!_0x4848c1){_0x3b161a[_0x263019]='';continue;}const _0x4f86d3=_0x4848c1[0x0];_0x26fc7d['startsWith']('</')?(_0x20ee26[_0x4000('0x9')]&&(_0x26fc7d=''),_0x20ee26[_0x4000('0xa')]()):(_0x20ee26['push'](_0x4f86d3),_0x26fc7d='');}}else{if(_0x36ba6e>=_0x513501)_0x26fc7d='';else{if(_0x36ba6e+_0x5e57e6[_0x4000('0x9')]>=_0x513501){let _0x263521=_0x513501-_0x36ba6e;if('\x20'===_0x5e57e6[_0x263521-0x1])_0x263521--;else{const _0xef26d5=_0x5e57e6['slice'](_0x263521)[_0x4000('0x0')]('\x20');-0x1!==_0xef26d5?_0x263521+=_0xef26d5:_0x263521=_0x26fc7d[_0x4000('0x9')];}_0x26fc7d=_0x5e57e6['slice'](0x0,_0x263521)[_0x4000('0x8')]('')+_0x30b34d,_0x36ba6e=_0x513501;}else _0x36ba6e+=_0x5e57e6[_0x4000('0x9')];}}_0x3b161a[_0x263019]=_0x26fc7d;}return _0x3b161a[_0x4000('0x8')]('\x0a')[_0x4000('0x5')](/\n/g,'');}function Z(_0x4b1616){const _0x3cd070=[];for(let _0x2f6833=0x0;_0x2f6833<_0x4b1616[_0x4000('0x9')];_0x2f6833++){const _0x31cc92=_0x4b1616[_0x4000('0x6')](_0x2f6833)[_0x4000('0x1')](/^&[a-z0-9#]+;/);if(_0x31cc92){const _0x5cc09f=_0x31cc92[0x0];_0x3cd070[_0x4000('0x3')](_0x5cc09f),_0x2f6833+=_0x5cc09f[_0x4000('0x9')]-0x1;}else _0x3cd070[_0x4000('0x3')](_0x4b1616[_0x2f6833]);}return _0x3cd070;}
23
+ const _0x3239=['...','substring','join','pop','split','replace','startsWith','slice','push','length'];(function(_0x54ba5a,_0x3239cc){const _0x39dd32=function(_0x251761){while(--_0x251761){_0x54ba5a['push'](_0x54ba5a['shift']());}};_0x39dd32(++_0x3239cc);}(_0x3239,0x1c8));const _0x39dd=function(_0x54ba5a,_0x3239cc){_0x54ba5a=_0x54ba5a-0x0;let _0x39dd32=_0x3239[_0x54ba5a];return _0x39dd32;};export default function z(_0x19b590,{limit:_0x47c42a,suffix:_0x563082=_0x39dd('0x4')}){const _0x3fb29b=[];let _0x3c96ab=0x0;const _0x490980=_0x19b590['replace'](/</g,'\x0a<')[_0x39dd('0x9')](/>/g,'>\x0a')[_0x39dd('0x9')](/^\n/g,'')[_0x39dd('0x9')](/\n$/g,'')[_0x39dd('0x8')]('\x0a');for(let _0x260429=0x0;_0x260429<_0x490980['length'];_0x260429++){let _0x473c21=_0x490980[_0x260429];const _0x324947=Z(_0x473c21);if(_0x473c21[_0x39dd('0x0')]('<')){if(_0x3c96ab>=_0x47c42a){const _0x471207=_0x473c21['match'](/[a-zA-Z]+/);if(!_0x471207){_0x490980[_0x260429]='';continue;}const _0x579c59=_0x471207[0x0];_0x473c21[_0x39dd('0x0')]('</')?(_0x3fb29b[_0x39dd('0x3')]&&(_0x473c21=''),_0x3fb29b[_0x39dd('0x7')]()):(_0x3fb29b[_0x39dd('0x2')](_0x579c59),_0x473c21='');}}else{if(_0x3c96ab>=_0x47c42a)_0x473c21='';else{if(_0x3c96ab+_0x324947[_0x39dd('0x3')]>=_0x47c42a){let _0xad8c9f=_0x47c42a-_0x3c96ab;if('\x20'===_0x324947[_0xad8c9f-0x1])_0xad8c9f--;else{const _0x11b774=_0x324947[_0x39dd('0x1')](_0xad8c9f)['indexOf']('\x20');-0x1!==_0x11b774?_0xad8c9f+=_0x11b774:_0xad8c9f=_0x473c21[_0x39dd('0x3')];}_0x473c21=_0x324947[_0x39dd('0x1')](0x0,_0xad8c9f)['join']('')+_0x563082,_0x3c96ab=_0x47c42a;}else _0x3c96ab+=_0x324947[_0x39dd('0x3')];}}_0x490980[_0x260429]=_0x473c21;}return _0x490980[_0x39dd('0x6')]('\x0a')[_0x39dd('0x9')](/\n/g,'');}function Z(_0x49ca3d){const _0x380228=[];for(let _0xcda5a8=0x0;_0xcda5a8<_0x49ca3d[_0x39dd('0x3')];_0xcda5a8++){const _0x546a91=_0x49ca3d[_0x39dd('0x5')](_0xcda5a8)['match'](/^&[a-z0-9#]+;/);if(_0x546a91){const _0x1fdb83=_0x546a91[0x0];_0x380228[_0x39dd('0x2')](_0x1fdb83),_0xcda5a8+=_0x1fdb83[_0x39dd('0x3')]-0x1;}else _0x380228[_0x39dd('0x2')](_0x49ca3d[_0xcda5a8]);}return _0x380228;}