@ckeditor/ckeditor5-collaboration-core 40.1.0 → 40.2.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/CHANGELOG.md CHANGED
@@ -6,31 +6,31 @@ All changes in the package are documented at https://github.com/ckeditor/ckedito
6
6
  Changes for the past releases are available below.
7
7
 
8
8
 
9
- ## 23.0.0 (2020-09-25)
9
+ ## 23.0.0 (September 25, 2020)
10
10
 
11
11
  Internal changes only (updated dependencies, documentation, etc.).
12
12
 
13
13
 
14
- ## 22.0.0 (2020-08-25)
14
+ ## 22.0.0 (August 25, 2020)
15
15
 
16
16
  Internal changes only (updated dependencies, documentation, etc.).
17
17
 
18
- ## 21.0.0 (2020-07-24)
18
+ ## 21.0.0 (July 24, 2020)
19
19
 
20
20
  Internal changes only (updated dependencies, documentation, etc.).
21
21
 
22
22
 
23
- ## 20.0.1 (2020-06-26)
23
+ ## 20.0.1 (June 26, 2020)
24
24
 
25
25
  Internal changes only (updated dependencies, documentation, etc.).
26
26
 
27
27
 
28
- ## 19.0.2 (2020-05-25)
28
+ ## 19.0.2 (May 25, 2020)
29
29
 
30
30
  Internal changes only (updated dependencies, documentation, etc.).
31
31
 
32
32
 
33
- ## 19.0.1 (2020-04-30)
33
+ ## 19.0.1 (April 30, 2020)
34
34
 
35
35
  ### BREAKING CHANGES
36
36
 
@@ -46,59 +46,59 @@ Internal changes only (updated dependencies, documentation, etc.).
46
46
  * `Users#me` will no longer set the local user to anonymous by default (if `Users#defineMe()` was not called).
47
47
 
48
48
 
49
- ## 18.0.0 (2020-03-19)
49
+ ## 18.0.0 (March 19, 2020)
50
50
 
51
51
  Internal changes only (updated dependencies, documentation, etc.).
52
52
 
53
53
 
54
- ## 17.0.0 (2020-02-20)
54
+ ## 17.0.0 (February 20, 2020)
55
55
 
56
56
  Internal changes only (updated dependencies, documentation, etc.).
57
57
 
58
58
 
59
- ## 16.0.0 (2019-12-02)
59
+ ## 16.0.0 (December 2, 2019)
60
60
 
61
61
  ### Features
62
62
 
63
63
  * Introduced the [`users.colorsCount`](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html#adding-more-users-colors) configuration option.
64
64
 
65
65
 
66
- ## 15.0.0 (2019-10-23)
66
+ ## 15.0.0 (October 23, 2019)
67
67
 
68
68
  ### Other changes
69
69
 
70
70
  * Added a more explanatory message for an error that is thrown when the local user is not defined.
71
71
 
72
72
 
73
- ## 1.2.0 (2019-08-22)
73
+ ## 1.2.0 (August 22, 2019)
74
74
 
75
75
  ### Features
76
76
 
77
77
  * Added a method to get an operation author. See the [Users API guide](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html#operation-authors) for more information.
78
78
 
79
79
 
80
- ## 1.1.0 (2019-07-04)
80
+ ## 1.1.0 (July 4, 2019)
81
81
 
82
82
  ### Features
83
83
 
84
84
  * Added the `user-id` data attribute to the `user` element. Now you can attach some action to user avatars in the presence list and comments.
85
85
 
86
86
 
87
- ## 1.0.3 (2019-06-05)
87
+ ## 1.0.3 (June 5, 2019)
88
88
 
89
89
  Internal changes only (updated dependencies, documentation, etc.).
90
90
 
91
91
 
92
- ## 1.0.2 (2019-04-05)
92
+ ## 1.0.2 (April 4, 2019)
93
93
 
94
94
  Internal changes only (updated dependencies, documentation, etc.).
95
95
 
96
96
 
97
- ## 1.0.1 (2019-02-25)
97
+ ## 1.0.1 (February 5, 2019)
98
98
 
99
99
  Internal changes only (updated dependencies, documentation, etc.).
100
100
 
101
101
 
102
- ## 1.0.0 (2018-12-06)
102
+ ## 1.0.0 (December 6, 2018)
103
103
 
104
- The initialization of this repository. CKEditor 5 collaboration core was extracted from the CKEditor 5 collaboration package. It contains a plugin that supports [user handling](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html) which is a common part for two collaboration features: [real-time collaboration](https://ckeditor.com/collaboration/real-time/) and [comments](https://ckeditor.com/collaboration/comments/).
104
+ The initialization of this repository. CKEditor 5 collaboration core was extracted from the CKEditor 5 collaboration package. It contains a plugin that supports [user handling](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html) which is a common part of two collaboration features: [real-time collaboration](https://ckeditor.com/collaboration/real-time/) and [comments](https://ckeditor.com/collaboration/comments/).
package/README.md CHANGED
@@ -19,7 +19,7 @@ As a licensed CKEditor 5 collaboration features user you can report bugs an
19
19
  ## License
20
20
 
21
21
  **CKEditor&nbsp;5 collaboration core**<br>
22
- Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
22
+ Copyright (c) 20032023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
23
23
 
24
24
  CKEditor&nbsp;5 collaboration core is licensed under a commercial license and is protected by copyright law.
25
25
  For more details about available licensing options please contact us at sales@cksource.com.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "40.1.0",
3
+ "version": "40.2.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": "40.1.0",
34
+ "ckeditor5": "40.2.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 _0x142f=['setPermissions','noPermissions','CommentsRepository','comment:admin','collaboration.channelId','includes','context','no-permissions','forceDisabled','disableReadOnlyMode','addCommentThread','comment:modify_all','has','isEnabled','config','document:write','find','plugins','commands','editors','Permissions','get','permissions-set-permissions-invalid-channel-id','pluginName'];(function(_0x272124,_0x142fff){const _0x791c89=function(_0x4c286a){while(--_0x4c286a){_0x272124['push'](_0x272124['shift']());}};_0x791c89(++_0x142fff);}(_0x142f,0x108));const _0x791c=function(_0x272124,_0x142fff){_0x272124=_0x272124-0x0;let _0x791c89=_0x142f[_0x272124];return _0x791c89;};import{ContextPlugin as _0x2e12ad,Editor as _0x2149cb}from'ckeditor5/src/core';import{CKEditorError as _0xabdcfe}from'ckeditor5/src/utils';export default class n extends _0x2e12ad{static get[_0x791c('0x17')](){return _0x791c('0x14');}[_0x791c('0x0')](_0x2a310c,_0x529305){let _0x951671;if(_0x529305||(_0x529305=this['context'][_0x791c('0xe')][_0x791c('0x15')]('collaboration.channelId')),this[_0x791c('0x6')][_0x791c('0xe')][_0x791c('0x15')](_0x791c('0x4'))==_0x529305?_0x951671=this['context']:_0x791c('0x13')in this[_0x791c('0x6')]&&this[_0x791c('0x6')][_0x791c('0x13')]&&(_0x951671=this['context']['editors'][_0x791c('0x10')](_0x4c499f=>_0x4c499f[_0x791c('0xe')][_0x791c('0x15')](_0x791c('0x4'))==_0x529305)),!_0x951671)throw new _0xabdcfe(_0x791c('0x16'),null);const _0xd932fc=_0x951671[_0x791c('0x11')],_0x9f5c31=_0xd932fc[_0x791c('0xc')](_0x791c('0x2'))?_0xd932fc[_0x791c('0x15')](_0x791c('0x2')):void 0x0,_0x4c88f2=_0xd932fc[_0x791c('0xc')]('CommentsOnly')&&_0xd932fc[_0x791c('0x15')]('CommentsOnly'),_0x3ce590=_0x2a310c[_0x791c('0x5')](_0x791c('0xf')),_0x13205f=_0x2a310c[_0x791c('0x5')](_0x791c('0xb')),_0xc44818=_0x2a310c['includes'](_0x791c('0x3')),_0x985c00=_0x2a310c[_0x791c('0x5')]('comment:write'),_0x223543=_0x985c00||_0xc44818,_0xfdd836=_0x223543||_0x13205f,_0x5804de=_0x3ce590||_0x223543;(_0x4c88f2&&(_0x4c88f2[_0x791c('0xd')]=!_0x3ce590&&_0xfdd836),_0x951671 instanceof _0x2149cb)&&(!(_0x3ce590||_0xfdd836&&_0x9f5c31)?_0x951671['enableReadOnlyMode']('no-permissions'):_0x951671[_0x791c('0x9')](_0x791c('0x7')));if(_0x9f5c31){_0x9f5c31[_0x791c('0x0')]({'admin':_0xc44818,'modifyAll':_0x13205f,'write':_0x985c00,'resolve':_0x5804de},_0x529305);const _0x438456=_0x951671 instanceof _0x2149cb&&_0x951671[_0x791c('0x12')][_0x791c('0x15')](_0x791c('0xa'));_0x438456&&(_0x223543?_0x438456['clearForceDisabled'](_0x791c('0x1')):_0x438456[_0x791c('0x8')](_0x791c('0x1')));}}}
23
+ const _0x1c8f=['commands','CommentsOnly','setPermissions','get','no-permissions','isEnabled','noPermissions','permissions-set-permissions-invalid-channel-id','enableReadOnlyMode','document:write','CommentsRepository','editors','includes','comment:write','context','collaboration.channelId','pluginName','comment:modify_all','addCommentThread','plugins','Permissions','has','comment:admin','config','clearForceDisabled'];(function(_0x3f6bb3,_0x1c8fbf){const _0x3671bb=function(_0x7a50a9){while(--_0x7a50a9){_0x3f6bb3['push'](_0x3f6bb3['shift']());}};_0x3671bb(++_0x1c8fbf);}(_0x1c8f,0x16e));const _0x3671=function(_0x3f6bb3,_0x1c8fbf){_0x3f6bb3=_0x3f6bb3-0x0;let _0x3671bb=_0x1c8f[_0x3f6bb3];return _0x3671bb;};import{ContextPlugin as _0x35894c,Editor as _0x40bf17}from'ckeditor5/src/core';import{CKEditorError as _0xc209e2}from'ckeditor5/src/utils';export default class n extends _0x35894c{static get[_0x3671('0x0')](){return _0x3671('0x4');}[_0x3671('0xb')](_0x5444ca,_0x2dfb4b){let _0x57c5d0;if(_0x2dfb4b||(_0x2dfb4b=this[_0x3671('0x17')]['config'][_0x3671('0xc')](_0x3671('0x18'))),this['context']['config']['get']('collaboration.channelId')==_0x2dfb4b?_0x57c5d0=this[_0x3671('0x17')]:_0x3671('0x14')in this['context']&&this[_0x3671('0x17')][_0x3671('0x14')]&&(_0x57c5d0=this['context'][_0x3671('0x14')]['find'](_0x4162a2=>_0x4162a2[_0x3671('0x7')]['get']('collaboration.channelId')==_0x2dfb4b)),!_0x57c5d0)throw new _0xc209e2(_0x3671('0x10'),null);const _0x2fabd8=_0x57c5d0[_0x3671('0x3')],_0x5cc24f=_0x2fabd8[_0x3671('0x5')]('CommentsRepository')?_0x2fabd8['get'](_0x3671('0x13')):void 0x0,_0x14ad9f=_0x2fabd8[_0x3671('0x5')]('CommentsOnly')&&_0x2fabd8[_0x3671('0xc')](_0x3671('0xa')),_0x38f347=_0x5444ca[_0x3671('0x15')](_0x3671('0x12')),_0xd85eb1=_0x5444ca[_0x3671('0x15')](_0x3671('0x1')),_0xf8c5a0=_0x5444ca[_0x3671('0x15')](_0x3671('0x6')),_0x3a0e84=_0x5444ca[_0x3671('0x15')](_0x3671('0x16')),_0x243a6b=_0x3a0e84||_0xf8c5a0,_0x566783=_0x243a6b||_0xd85eb1,_0x5b1e4d=_0x38f347||_0x243a6b;(_0x14ad9f&&(_0x14ad9f[_0x3671('0xe')]=!_0x38f347&&_0x566783),_0x57c5d0 instanceof _0x40bf17)&&(!(_0x38f347||_0x566783&&_0x5cc24f)?_0x57c5d0[_0x3671('0x11')]('no-permissions'):_0x57c5d0['disableReadOnlyMode'](_0x3671('0xd')));if(_0x5cc24f){_0x5cc24f['setPermissions']({'admin':_0xf8c5a0,'modifyAll':_0xd85eb1,'write':_0x3a0e84,'resolve':_0x5b1e4d},_0x2dfb4b);const _0x496807=_0x57c5d0 instanceof _0x40bf17&&_0x57c5d0[_0x3671('0x9')][_0x3671('0xc')](_0x3671('0x2'));_0x496807&&(_0x243a6b?_0x496807[_0x3671('0x8')](_0x3671('0xf')):_0x496807['forceDisabled']('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x304b=['name','avatar','setTemplate','notificationView','ck-user__avatar','ck-user__anonymous','extendTemplate','ck\x20ck-user__name','push','initials','ck-user','url(\x27','ck\x20ck-user__name\x20ck-user__name--hidden','div'];(function(_0x5cb055,_0x304b8e){const _0x20477b=function(_0x30d817){while(--_0x30d817){_0x5cb055['push'](_0x5cb055['shift']());}};_0x20477b(++_0x304b8e);}(_0x304b,0x7c));const _0x2047=function(_0x5cb055,_0x304b8e){_0x5cb055=_0x5cb055-0x0;let _0x20477b=_0x304b[_0x5cb055];return _0x20477b;};import{View as _0x5d1bb6,IconView as _0x59d7b5}from'ckeditor5/src/ui';import _0x252157 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x5d1bb6{constructor(_0x53825e,_0x3ac28f,_0x46cd46){super(_0x53825e),this['name']=_0x3ac28f[_0x2047('0x2')],this[_0x2047('0x5')]=null;const _0x2c0367=['ck','ck-user__img'];if(_0x3ac28f['isAnonymous']&&_0x2c0367['push'](_0x2047('0x7')),_0x3ac28f[_0x2047('0x3')]&&_0x2c0367[_0x2047('0xa')](_0x2047('0x6')),_0x46cd46){const _0x700ec8=new _0x59d7b5();_0x700ec8[_0x2047('0x8')]({'attributes':{'class':['ck-user__icon']}}),_0x700ec8['content']=_0x252157,this[_0x2047('0x5')]={'tag':_0x2047('0x1'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x46cd46},'children':[_0x700ec8]};}const _0x3d3baa=[{'tag':_0x2047('0x1'),'attributes':{'class':_0x2c0367,'style':{'background-image':_0x3ac28f['avatar']?_0x2047('0xd')+_0x3ac28f['avatar']+'\x27)':''}}},{'tag':_0x2047('0x1'),'attributes':{'class':_0x3ac28f[_0x2047('0x3')]?_0x2047('0x0'):_0x2047('0x9')},'children':[{'text':_0x3ac28f[_0x2047('0xb')]}]}];this['notificationView']&&_0x3d3baa[_0x2047('0xa')](this[_0x2047('0x5')]),this[_0x2047('0x4')]({'tag':_0x2047('0x1'),'attributes':{'class':['ck',_0x2047('0xc')],'data-user-id':_0x3ac28f['id']},'children':_0x3d3baa});}}
23
+ const _0x1df4=['url(\x27','ck-user__notification','ck-user__avatar','avatar','div','content','ck\x20ck-user__name\x20ck-user__name--hidden','name','extendTemplate','initials','setTemplate','push','ck-user','ck\x20ck-user__name','ck-user__img','isAnonymous','notificationView','ck-user__icon'];(function(_0xc72dfb,_0x1df4bc){const _0x2eccc3=function(_0x91a364){while(--_0x91a364){_0xc72dfb['push'](_0xc72dfb['shift']());}};_0x2eccc3(++_0x1df4bc);}(_0x1df4,0x98));const _0x2ecc=function(_0xc72dfb,_0x1df4bc){_0xc72dfb=_0xc72dfb-0x0;let _0x2eccc3=_0x1df4[_0xc72dfb];return _0x2eccc3;};import{View as _0x24c3c8,IconView as _0x2cbf3f}from'ckeditor5/src/ui';import _0x172991 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x24c3c8{constructor(_0xe341e3,_0x39ff41,_0x100ea0){super(_0xe341e3),this[_0x2ecc('0x11')]=_0x39ff41[_0x2ecc('0x11')],this['notificationView']=null;const _0x671f48=['ck',_0x2ecc('0x6')];if(_0x39ff41[_0x2ecc('0x7')]&&_0x671f48[_0x2ecc('0x3')]('ck-user__anonymous'),_0x39ff41['avatar']&&_0x671f48[_0x2ecc('0x3')](_0x2ecc('0xc')),_0x100ea0){const _0x127798=new _0x2cbf3f();_0x127798[_0x2ecc('0x0')]({'attributes':{'class':[_0x2ecc('0x9')]}}),_0x127798[_0x2ecc('0xf')]=_0x172991,this[_0x2ecc('0x8')]={'tag':'div','attributes':{'class':['ck',_0x2ecc('0xb')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x100ea0},'children':[_0x127798]};}const _0x5ed59c=[{'tag':_0x2ecc('0xe'),'attributes':{'class':_0x671f48,'style':{'background-image':_0x39ff41[_0x2ecc('0xd')]?_0x2ecc('0xa')+_0x39ff41[_0x2ecc('0xd')]+'\x27)':''}}},{'tag':_0x2ecc('0xe'),'attributes':{'class':_0x39ff41[_0x2ecc('0xd')]?_0x2ecc('0x10'):_0x2ecc('0x5')},'children':[{'text':_0x39ff41[_0x2ecc('0x1')]}]}];this['notificationView']&&_0x5ed59c[_0x2ecc('0x3')](this[_0x2ecc('0x8')]),this[_0x2ecc('0x2')]({'tag':_0x2ecc('0xe'),'attributes':{'class':['ck',_0x2ecc('0x4')],'data-user-id':_0x39ff41['id']},'children':_0x5ed59c});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16de=['context','_locale','getUser','useAnonymousUser','pluginName','string','_addAnonymousUser','add','locale','defineMe','users.anonymousUserId','licenseKey','includes','licenseKeyTrialLimit:operations','users-me-missing-user','licenseKeyValid','avatar','users.colorsCount','info','getBackgroundColorClass','anonymous-user','config','requires','split','charAt','licenseKeyTrialLimit:time','init','ck-user__marker--','length','licenseKeyTrial','_getInitial','trial-license-key-reached-limit-revisions','users-add-invalid-id','trim','_id','_getNextColor','users-me-already-defined','getOperationAuthor','initials','name','color','destroy','licenseKeyTrialLimit:revisions','define','Users','decorate','users-add-duplicated-id','get','addUser','_myId','Anonymous','_lastColor','_licenseKeyCheckInterval','_isAnonymous','toUpperCase','licenseKeyInvalid','has','ck-user__selection--','getMarkerClass','isAnonymous','users','trial-license-key-reached-limit-changes'];(function(_0x55a658,_0x16de49){const _0x286f6a=function(_0x386cc5){while(--_0x386cc5){_0x55a658['push'](_0x55a658['shift']());}};_0x286f6a(++_0x16de49);}(_0x16de,0x1cc));const _0x286f=function(_0x55a658,_0x16de49){_0x55a658=_0x55a658-0x0;let _0x286f6a=_0x16de[_0x55a658];return _0x286f6a;};import{ContextPlugin as _0x4938a6}from'ckeditor5/src/core';import{Collection as _0x4e1d08,CKEditorError as _0x56dd20}from'ckeditor5/src/utils';import _0x26ea13 from'./permissions';import{getTranslation as _0x1e2661}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x4938a6{static get[_0x286f('0x28')](){return _0x286f('0x12');}static get[_0x286f('0x3a')](){return[_0x26ea13];}constructor(_0x17a965){super(_0x17a965),this[_0x286f('0x24')]['config'][_0x286f('0x11')](_0x286f('0x2e'),_0x286f('0x38')),this['context']['config'][_0x286f('0x11')]('users.colorsCount',0x8),this['users']=new _0x4e1d08(),this[_0x286f('0x25')]=_0x17a965[_0x286f('0x2c')],this[_0x286f('0x1a')]=null,this[_0x286f('0x19')]=0x0,this[_0x286f('0x17')]=null,this[_0x286f('0x13')](_0x286f('0xb'));}[_0x286f('0x0')](){const _0x33a35e=this[_0x286f('0x24')];this[_0x286f('0x2f')]=_0x33a35e['config'][_0x286f('0x15')](_0x286f('0x2f'));const _0x28c235=[_0x286f('0x3'),'licenseKeyInvalid',_0x286f('0x33'),'licenseKeyTrialLimit:operations',_0x286f('0x3d'),_0x286f('0x10')];this[_0x286f('0x1a')]=setInterval(()=>{let _0x209f16;for(const _0x29da21 in _0x33a35e){const _0x4d483d=_0x33a35e[_0x29da21];if(_0x28c235[_0x286f('0x30')](_0x4d483d)){delete _0x33a35e[_0x29da21],_0x209f16=_0x4d483d;break;}}if(_0x286f('0x1d')===_0x209f16)throw clearInterval(this[_0x286f('0x1a')]),new _0x56dd20('invalid-license-key',null);if(_0x286f('0x3')===_0x209f16&&console[_0x286f('0x36')]('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.'),_0x286f('0x31')===_0x209f16)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x56dd20(_0x286f('0x23'),null);if(_0x286f('0x3d')===_0x209f16)throw clearInterval(this[_0x286f('0x1a')]),new _0x56dd20('trial-license-key-reached-limit-time',null);if(_0x286f('0x10')===_0x209f16)throw clearInterval(this[_0x286f('0x1a')]),new _0x56dd20(_0x286f('0x5'),null);_0x286f('0x33')===_0x209f16&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x286f('0x2a')]();}get['me'](){return null==this[_0x286f('0x17')]?null:this[_0x286f('0x26')](this['_myId']);}[_0x286f('0x16')]({id:_0x40ef6d,name:_0x44eef3,..._0x15d7ea}){if(!_0x40ef6d||_0x286f('0x29')!=typeof _0x40ef6d)throw new _0x56dd20(_0x286f('0x6'));if(this[_0x286f('0x22')][_0x286f('0x1e')](_0x40ef6d))throw new _0x56dd20(_0x286f('0x14'),null,{'id':_0x40ef6d});const _0x1dc794={..._0x15d7ea,'id':_0x40ef6d,'name':a(this['_locale'],_0x44eef3),'color':this[_0x286f('0x9')]()};_0x1dc794[_0x286f('0xd')]=a(this[_0x286f('0x25')],_0x1dc794[_0x286f('0xd')]);const _0x1ccb20=new User(_0x1dc794);return this[_0x286f('0x22')][_0x286f('0x2b')](_0x1ccb20),_0x1ccb20;}['getUser'](_0x386a47){return this[_0x286f('0x22')]['get'](_0x386a47);}[_0x286f('0x27')](){const _0x3b8d54=this[_0x286f('0x24')][_0x286f('0x39')][_0x286f('0x15')](_0x286f('0x2e'));this[_0x286f('0x17')]||this[_0x286f('0x2d')](_0x3b8d54);}['defineMe'](_0x402e61){if(this[_0x286f('0x17')])throw new _0x56dd20(_0x286f('0xa'),null);if(!this[_0x286f('0x26')](_0x402e61))throw new _0x56dd20(_0x286f('0x32'),null);this[_0x286f('0x17')]=_0x402e61;}['getOperationAuthor'](){return this['me'];}[_0x286f('0xf')](){super['destroy'](),clearInterval(this[_0x286f('0x1a')]);}[_0x286f('0x9')](){const _0x1aba40=this['context'][_0x286f('0x39')][_0x286f('0x15')](_0x286f('0x35'));return this[_0x286f('0x19')]>=_0x1aba40&&(this['_lastColor']=0x0),new u(this[_0x286f('0x19')]++);}[_0x286f('0x2a')](){const _0x41224a=this[_0x286f('0x24')]['config'][_0x286f('0x15')]('users.anonymousUserId');this[_0x286f('0x16')]({'id':_0x41224a,'name':_0x1e2661(this['_locale'],_0x286f('0x18'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x4ada04){this['id']=_0x4ada04['id'],this[_0x286f('0xe')]=_0x4ada04[_0x286f('0xe')],this[_0x286f('0xd')]=_0x4ada04['name'],this[_0x286f('0x34')]=_0x4ada04[_0x286f('0x34')],this[_0x286f('0x1b')]=!0x1;}get[_0x286f('0x21')](){return this[_0x286f('0x1b')];}get[_0x286f('0xc')](){const _0x2dffb5=this[_0x286f('0xd')][_0x286f('0x3b')]('\x20');return 0x1===_0x2dffb5[_0x286f('0x2')]?this[_0x286f('0x4')](_0x2dffb5[0x0]):this[_0x286f('0x4')](_0x2dffb5[0x0])+this['_getInitial'](_0x2dffb5[_0x2dffb5[_0x286f('0x2')]-0x1]);}[_0x286f('0x4')](_0x13fb5b){return _0x13fb5b[_0x286f('0x3c')](0x0)[_0x286f('0x1c')]();}}function a(_0x59881f,_0x5b291e=''){return''==(_0x5b291e=_0x5b291e[_0x286f('0x7')]())?_0x1e2661(_0x59881f,_0x286f('0x18')):_0x5b291e;}class u{constructor(_0x488494){this[_0x286f('0x8')]=_0x488494;}[_0x286f('0x37')](){return'ck-user__bg-color--'+this[_0x286f('0x8')];}['getSelectionClass'](){return _0x286f('0x1f')+this[_0x286f('0x8')];}[_0x286f('0x20')](){return _0x286f('0x1')+this[_0x286f('0x8')];}}
23
+ const _0x128a=['split','licenseKeyTrialLimit:operations','pluginName','users.anonymousUserId','licenseKey','licenseKeyTrialLimit:revisions','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.','toUpperCase','locale','trim','_id','init','destroy','users','licenseKeyValid','string','requires','initials','_licenseKeyCheckInterval','_getInitial','includes','ck-user__marker--','add','useAnonymousUser','Anonymous','_locale','context','_getNextColor','anonymous-user','invalid-license-key','config','licenseKeyTrialLimit:time','trial-license-key-reached-limit-time','users-add-duplicated-id','define','name','decorate','getSelectionClass','getUser','avatar','users-me-already-defined','ck-user__selection--','defineMe','users-me-missing-user','trial-license-key-reached-limit-revisions','users.colorsCount','length','info','addUser','isAnonymous','trial-license-key-reached-limit-changes','has','_myId','licenseKeyTrial','_isAnonymous','_lastColor','charAt','get','licenseKeyInvalid','getMarkerClass','getOperationAuthor'];(function(_0x4ea929,_0x128a80){const _0x3bb480=function(_0x279ff5){while(--_0x279ff5){_0x4ea929['push'](_0x4ea929['shift']());}};_0x3bb480(++_0x128a80);}(_0x128a,0x1ae));const _0x3bb4=function(_0x4ea929,_0x128a80){_0x4ea929=_0x4ea929-0x0;let _0x3bb480=_0x128a[_0x4ea929];return _0x3bb480;};import{ContextPlugin as _0x44f272}from'ckeditor5/src/core';import{Collection as _0x5492b1,CKEditorError as _0x309315}from'ckeditor5/src/utils';import _0xd42d29 from'./permissions';import{getTranslation as _0x4351b5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x44f272{static get[_0x3bb4('0x3c')](){return'Users';}static get[_0x3bb4('0xd')](){return[_0xd42d29];}constructor(_0x441eea){super(_0x441eea),this['context'][_0x3bb4('0x1b')][_0x3bb4('0x1f')](_0x3bb4('0x0'),_0x3bb4('0x19')),this[_0x3bb4('0x17')][_0x3bb4('0x1b')][_0x3bb4('0x1f')](_0x3bb4('0x2a'),0x8),this[_0x3bb4('0xa')]=new _0x5492b1(),this[_0x3bb4('0x16')]=_0x441eea[_0x3bb4('0x5')],this[_0x3bb4('0xf')]=null,this[_0x3bb4('0x34')]=0x0,this[_0x3bb4('0x31')]=null,this[_0x3bb4('0x21')](_0x3bb4('0x39'));}[_0x3bb4('0x8')](){const _0x3e7cda=this[_0x3bb4('0x17')];this['licenseKey']=_0x3e7cda[_0x3bb4('0x1b')]['get'](_0x3bb4('0x1'));const _0x537009=[_0x3bb4('0x32'),_0x3bb4('0x37'),_0x3bb4('0xb'),'licenseKeyTrialLimit:operations',_0x3bb4('0x1c'),_0x3bb4('0x2')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22a97d;for(const _0x479048 in _0x3e7cda){const _0x35276c=_0x3e7cda[_0x479048];if(_0x537009[_0x3bb4('0x11')](_0x35276c)){delete _0x3e7cda[_0x479048],_0x22a97d=_0x35276c;break;}}if(_0x3bb4('0x37')===_0x22a97d)throw clearInterval(this[_0x3bb4('0xf')]),new _0x309315(_0x3bb4('0x1a'),null);if(_0x3bb4('0x32')===_0x22a97d&&console[_0x3bb4('0x2c')](_0x3bb4('0x3')),_0x3bb4('0x3b')===_0x22a97d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x309315(_0x3bb4('0x2f'),null);if('licenseKeyTrialLimit:time'===_0x22a97d)throw clearInterval(this[_0x3bb4('0xf')]),new _0x309315(_0x3bb4('0x1d'),null);if(_0x3bb4('0x2')===_0x22a97d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x309315(_0x3bb4('0x29'),null);_0x3bb4('0xb')===_0x22a97d&&clearInterval(this[_0x3bb4('0xf')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x3bb4('0x31')]?null:this[_0x3bb4('0x23')](this[_0x3bb4('0x31')]);}[_0x3bb4('0x2d')]({id:_0x5cc999,name:_0x3676a0,..._0x51b47c}){if(!_0x5cc999||_0x3bb4('0xc')!=typeof _0x5cc999)throw new _0x309315('users-add-invalid-id');if(this[_0x3bb4('0xa')][_0x3bb4('0x30')](_0x5cc999))throw new _0x309315(_0x3bb4('0x1e'),null,{'id':_0x5cc999});const _0xe66c35={..._0x51b47c,'id':_0x5cc999,'name':a(this[_0x3bb4('0x16')],_0x3676a0),'color':this[_0x3bb4('0x18')]()};_0xe66c35[_0x3bb4('0x20')]=a(this[_0x3bb4('0x16')],_0xe66c35[_0x3bb4('0x20')]);const _0x31919d=new User(_0xe66c35);return this[_0x3bb4('0xa')][_0x3bb4('0x13')](_0x31919d),_0x31919d;}[_0x3bb4('0x23')](_0x10403a){return this[_0x3bb4('0xa')][_0x3bb4('0x36')](_0x10403a);}[_0x3bb4('0x14')](){const _0x4d9cb5=this['context'][_0x3bb4('0x1b')]['get'](_0x3bb4('0x0'));this['_myId']||this[_0x3bb4('0x27')](_0x4d9cb5);}[_0x3bb4('0x27')](_0x5aad9e){if(this['_myId'])throw new _0x309315(_0x3bb4('0x25'),null);if(!this['getUser'](_0x5aad9e))throw new _0x309315(_0x3bb4('0x28'),null);this[_0x3bb4('0x31')]=_0x5aad9e;}[_0x3bb4('0x39')](){return this['me'];}[_0x3bb4('0x9')](){super['destroy'](),clearInterval(this[_0x3bb4('0xf')]);}[_0x3bb4('0x18')](){const _0x439ae6=this[_0x3bb4('0x17')][_0x3bb4('0x1b')][_0x3bb4('0x36')](_0x3bb4('0x2a'));return this['_lastColor']>=_0x439ae6&&(this[_0x3bb4('0x34')]=0x0),new u(this[_0x3bb4('0x34')]++);}['_addAnonymousUser'](){const _0x472873=this[_0x3bb4('0x17')][_0x3bb4('0x1b')][_0x3bb4('0x36')](_0x3bb4('0x0'));this[_0x3bb4('0x2d')]({'id':_0x472873,'name':_0x4351b5(this[_0x3bb4('0x16')],'Anonymous')})[_0x3bb4('0x33')]=!0x0;}}export class User{constructor(_0x248428){this['id']=_0x248428['id'],this['color']=_0x248428['color'],this[_0x3bb4('0x20')]=_0x248428[_0x3bb4('0x20')],this[_0x3bb4('0x24')]=_0x248428['avatar'],this[_0x3bb4('0x33')]=!0x1;}get[_0x3bb4('0x2e')](){return this[_0x3bb4('0x33')];}get[_0x3bb4('0xe')](){const _0x54b72b=this[_0x3bb4('0x20')][_0x3bb4('0x3a')]('\x20');return 0x1===_0x54b72b['length']?this['_getInitial'](_0x54b72b[0x0]):this['_getInitial'](_0x54b72b[0x0])+this[_0x3bb4('0x10')](_0x54b72b[_0x54b72b[_0x3bb4('0x2b')]-0x1]);}[_0x3bb4('0x10')](_0x5612bf){return _0x5612bf[_0x3bb4('0x35')](0x0)[_0x3bb4('0x4')]();}}function a(_0x1dd28,_0x5a50df=''){return''==(_0x5a50df=_0x5a50df[_0x3bb4('0x6')]())?_0x4351b5(_0x1dd28,_0x3bb4('0x15')):_0x5a50df;}class u{constructor(_0xb96d1c){this[_0x3bb4('0x7')]=_0xb96d1c;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x3bb4('0x7')];}[_0x3bb4('0x22')](){return _0x3bb4('0x26')+this[_0x3bb4('0x7')];}[_0x3bb4('0x38')](){return _0x3bb4('0x12')+this[_0x3bb4('0x7')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2b4476,_0x44d6b3){const t=_0x2b4476['t'];switch(_0x44d6b3){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(_0x4ffdac,_0x21b646){const t=_0x4ffdac['t'];switch(_0x21b646){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 _0x37bd=['appendChild','set','destroy','_removeConfirm','deregisterChild','showConfirm','registerChild','isConfirm','focus','cancel','confirmView','once','element','render','locale','fire'];(function(_0x55eee5,_0x37bddb){var _0x5f2813=function(_0x3cdda4){while(--_0x3cdda4){_0x55eee5['push'](_0x55eee5['shift']());}};_0x5f2813(++_0x37bddb);}(_0x37bd,0x7a));var _0x5f28=function(_0x55eee5,_0x37bddb){_0x55eee5=_0x55eee5-0x0;var _0x5f2813=_0x37bd[_0x55eee5];return _0x5f2813;};import _0x529d28 from'./confirmview';export default function m(_0x1f11cf){return class extends _0x1f11cf{[_0x5f28('0xb')](_0x5c4253,_0x4568fd){return this['confirmView']=new _0x529d28(this[_0x5f28('0x4')]),this[_0x5f28('0x0')][_0x5f28('0x3')](),this[_0x5f28('0x0')]['message']=_0x5c4253,this[_0x5f28('0x0')][_0x5f28('0x1')](_0x5f28('0xf'),()=>{this[_0x5f28('0x9')]();}),this[_0x5f28('0x0')][_0x5f28('0x1')]('submit',()=>{this[_0x5f28('0x9')]();}),_0x4568fd[_0x5f28('0x6')](this['confirmView'][_0x5f28('0x2')]),this[_0x5f28('0xc')](this[_0x5f28('0x0')]),this[_0x5f28('0x2')][_0x5f28('0xe')](),this[_0x5f28('0x7')](_0x5f28('0xd'),!0x0),new Promise(_0x13933d=>this[_0x5f28('0x0')]['on']('submit',_0x13933d));}['cancelConfirm'](){this[_0x5f28('0xd')]&&this[_0x5f28('0x0')][_0x5f28('0x5')](_0x5f28('0xf'));}[_0x5f28('0x9')](){this[_0x5f28('0x2')]&&this[_0x5f28('0x0')]&&this[_0x5f28('0x0')][_0x5f28('0x2')]&&(this['element'][_0x5f28('0xe')](),this['confirmView'][_0x5f28('0x2')]['remove'](),this[_0x5f28('0xa')](this[_0x5f28('0x0')]),this[_0x5f28('0xd')]=!0x1,this[_0x5f28('0x0')][_0x5f28('0x8')](),this[_0x5f28('0x0')]=void 0x0);}};}
23
+ var _0xb61d=['set','focus','element','isConfirm','appendChild','render','deregisterChild','cancel','submit','cancelConfirm','registerChild','remove','message','confirmView','_removeConfirm','fire','destroy','once'];(function(_0x4513f9,_0xb61d7){var _0x13fb5c=function(_0x2a686f){while(--_0x2a686f){_0x4513f9['push'](_0x4513f9['shift']());}};_0x13fb5c(++_0xb61d7);}(_0xb61d,0x186));var _0x13fb=function(_0x4513f9,_0xb61d7){_0x4513f9=_0x4513f9-0x0;var _0x13fb5c=_0xb61d[_0x4513f9];return _0x13fb5c;};import _0x5e7629 from'./confirmview';export default function m(_0x4f2e9b){return class extends _0x4f2e9b{['showConfirm'](_0x417a1d,_0x38bd0e){return this['confirmView']=new _0x5e7629(this['locale']),this[_0x13fb('0x1')][_0x13fb('0xb')](),this[_0x13fb('0x1')][_0x13fb('0x0')]=_0x417a1d,this[_0x13fb('0x1')][_0x13fb('0x5')]('cancel',()=>{this[_0x13fb('0x2')]();}),this[_0x13fb('0x1')]['once'](_0x13fb('0xe'),()=>{this[_0x13fb('0x2')]();}),_0x38bd0e[_0x13fb('0xa')](this[_0x13fb('0x1')][_0x13fb('0x8')]),this[_0x13fb('0x10')](this[_0x13fb('0x1')]),this['element'][_0x13fb('0x7')](),this[_0x13fb('0x6')](_0x13fb('0x9'),!0x0),new Promise(_0x988b6f=>this[_0x13fb('0x1')]['on'](_0x13fb('0xe'),_0x988b6f));}[_0x13fb('0xf')](){this['isConfirm']&&this[_0x13fb('0x1')][_0x13fb('0x3')](_0x13fb('0xd'));}['_removeConfirm'](){this[_0x13fb('0x8')]&&this[_0x13fb('0x1')]&&this[_0x13fb('0x1')][_0x13fb('0x8')]&&(this[_0x13fb('0x8')][_0x13fb('0x7')](),this['confirmView'][_0x13fb('0x8')][_0x13fb('0x11')](),this[_0x13fb('0xc')](this[_0x13fb('0x1')]),this[_0x13fb('0x9')]=!0x1,this[_0x13fb('0x1')][_0x13fb('0x4')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a94=['cancel','ck-thread__remove-confirm','bindTemplate','set','setTemplate','submit','icon','fire','cancelView','ck-thread__remove-confirm-','label','div','submitView','message','check','execute'];(function(_0x35cb57,_0x2a9457){const _0x39db85=function(_0x567752){while(--_0x567752){_0x35cb57['push'](_0x35cb57['shift']());}};_0x39db85(++_0x2a9457);}(_0x2a94,0x146));const _0x39db=function(_0x35cb57,_0x2a9457){_0x35cb57=_0x35cb57-0x0;let _0x39db85=_0x2a94[_0x35cb57];return _0x39db85;};import{View as _0x49fe4c,ButtonView as _0x1487e8}from'ckeditor5/src/ui';import{icons as _0x5a2ac7}from'ckeditor5/src/core';import{getTranslation as _0x395d31}from'./common-translations';export default class h extends _0x49fe4c{constructor(_0x10939e){super(_0x10939e);const _0xe0d727=this[_0x39db('0xc')];this['submitView']=this['_createButtonView'](_0x10939e,_0x395d31(_0x10939e,'Yes'),_0x5a2ac7[_0x39db('0x8')],_0x39db('0xf')),this[_0x39db('0x2')]=this['_createButtonView'](_0x10939e,_0x395d31(_0x10939e,'No'),_0x5a2ac7['cancel'],_0x39db('0xa')),this[_0x39db('0xd')]('message',_0x395d31(_0x10939e,'Are\x20you\x20sure?')),this[_0x39db('0xe')]({'tag':'div','attributes':{'class':[_0x39db('0xb')]},'children':[{'tag':_0x39db('0x5'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0xe0d727['to'](_0x39db('0x7'))}]},{'tag':_0x39db('0x5'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x39db('0x6')],this[_0x39db('0x2')]]}]}]});}['_createButtonView'](_0x35bc91,_0x32e301,_0x4b4aa3,_0x367c67){const _0x34c1f3=new _0x1487e8(_0x35bc91);return _0x34c1f3[_0x39db('0x4')]=_0x32e301,_0x34c1f3[_0x39db('0x0')]=_0x4b4aa3,_0x34c1f3['extendTemplate']({'attributes':{'class':_0x39db('0x3')+_0x367c67}}),_0x34c1f3['on'](_0x39db('0x9'),()=>this[_0x39db('0x1')](_0x367c67)),_0x34c1f3;}}
23
+ const _0x4b48=['bindTemplate','set','submitView','check','submit','cancelView','Are\x20you\x20sure?','extendTemplate','div','cancel','message','setTemplate','ck-thread__remove-confirm-','_createButtonView','Yes'];(function(_0x5618a4,_0x4b48ee){const _0x15c149=function(_0x4fe446){while(--_0x4fe446){_0x5618a4['push'](_0x5618a4['shift']());}};_0x15c149(++_0x4b48ee);}(_0x4b48,0x1ce));const _0x15c1=function(_0x5618a4,_0x4b48ee){_0x5618a4=_0x5618a4-0x0;let _0x15c149=_0x4b48[_0x5618a4];return _0x15c149;};import{View as _0x36ae8b,ButtonView as _0x13b3ee}from'ckeditor5/src/ui';import{icons as _0x576402}from'ckeditor5/src/core';import{getTranslation as _0x576352}from'./common-translations';export default class h extends _0x36ae8b{constructor(_0x20d061){super(_0x20d061);const _0x5e4254=this[_0x15c1('0x3')];this[_0x15c1('0x5')]=this['_createButtonView'](_0x20d061,_0x576352(_0x20d061,_0x15c1('0x2')),_0x576402[_0x15c1('0x6')],_0x15c1('0x7')),this[_0x15c1('0x8')]=this[_0x15c1('0x1')](_0x20d061,_0x576352(_0x20d061,'No'),_0x576402[_0x15c1('0xc')],_0x15c1('0xc')),this[_0x15c1('0x4')](_0x15c1('0xd'),_0x576352(_0x20d061,_0x15c1('0x9'))),this[_0x15c1('0xe')]({'tag':_0x15c1('0xb'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x15c1('0xb'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x5e4254['to'](_0x15c1('0xd'))}]},{'tag':_0x15c1('0xb'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0x15c1('0x8')]]}]}]});}['_createButtonView'](_0x139a3c,_0x159d5c,_0x1f3f0e,_0xf3cc76){const _0x4f1bc3=new _0x13b3ee(_0x139a3c);return _0x4f1bc3['label']=_0x159d5c,_0x4f1bc3['icon']=_0x1f3f0e,_0x4f1bc3[_0x15c1('0xa')]({'attributes':{'class':_0x15c1('0x0')+_0xf3cc76}}),_0x4f1bc3['on']('execute',()=>this['fire'](_0xf3cc76)),_0x4f1bc3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43ad=['\x27Last\x27\x20EEEE\x20hh:mma','function','\x27Yesterday\x27\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','invalid-date-time-format'];(function(_0x5f093f,_0x43ad90){const _0x497cbb=function(_0x2b1d93){while(--_0x2b1d93){_0x5f093f['push'](_0x5f093f['shift']());}};_0x497cbb(++_0x43ad90);}(_0x43ad,0x7c));const _0x497c=function(_0x5f093f,_0x43ad90){_0x5f093f=_0x5f093f-0x0;let _0x497cbb=_0x43ad[_0x5f093f];return _0x497cbb;};import _0x581785 from'date-fns/format';import _0x3682fd from'date-fns/parseISO';import _0x2cff41 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x290564}from'ckeditor5/src/utils';export default function E(_0x3539cf={}){if(void 0x0!==_0x3539cf[_0x497c('0x5')]&&_0x497c('0x3')!=typeof _0x3539cf[_0x497c('0x5')])throw new _0x290564(_0x497c('0x1'));return _0x41b7eb=>{const _0x5e499e='string'==typeof _0x41b7eb?_0x3682fd(_0x41b7eb):_0x41b7eb,_0x48f0e3=new Date(),_0x2ba3f0=_0x2cff41(_0x48f0e3,_0x5e499e);return _0x3539cf[_0x497c('0x5')]?_0x3539cf[_0x497c('0x5')](_0x5e499e):_0x581785(_0x5e499e,0x0===_0x2ba3f0?_0x497c('0x6'):0x1===_0x2ba3f0?_0x497c('0x4'):_0x2ba3f0<0x7?_0x497c('0x2'):_0x497c('0x0'));};}
23
+ const _0x3ec3=['dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','invalid-date-time-format','string','\x27Yesterday\x27\x20hh:mma','function'];(function(_0x2cf09d,_0x3ec31f){const _0x1a99a6=function(_0x3687b5){while(--_0x3687b5){_0x2cf09d['push'](_0x2cf09d['shift']());}};_0x1a99a6(++_0x3ec31f);}(_0x3ec3,0x120));const _0x1a99=function(_0x2cf09d,_0x3ec31f){_0x2cf09d=_0x2cf09d-0x0;let _0x1a99a6=_0x3ec3[_0x2cf09d];return _0x1a99a6;};import _0x3a626b from'date-fns/format';import _0x51f831 from'date-fns/parseISO';import _0x444378 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xc9dbfd}from'ckeditor5/src/utils';export default function E(_0x4d7b15={}){if(void 0x0!==_0x4d7b15[_0x1a99('0x0')]&&_0x1a99('0x7')!=typeof _0x4d7b15['dateTimeFormat'])throw new _0xc9dbfd(_0x1a99('0x4'));return _0x20adeb=>{const _0x210786=_0x1a99('0x5')==typeof _0x20adeb?_0x51f831(_0x20adeb):_0x20adeb,_0x25a4fe=new Date(),_0x308c75=_0x444378(_0x25a4fe,_0x210786);return _0x4d7b15[_0x1a99('0x0')]?_0x4d7b15[_0x1a99('0x0')](_0x210786):_0x3a626b(_0x210786,0x0===_0x308c75?_0x1a99('0x3'):0x1===_0x308c75?_0x1a99('0x6'):_0x308c75<0x7?_0x1a99('0x1'):_0x1a99('0x2'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4538=['domConverter','filter','length','mapper','sort','name','view','from','markerNameToElements','mapViewToDom','values','item','map'];(function(_0x5f28a8,_0x4538ae){const _0x417710=function(_0x1ea4f0){while(--_0x1ea4f0){_0x5f28a8['push'](_0x5f28a8['shift']());}};_0x417710(++_0x4538ae);}(_0x4538,0x1f4));const _0x4177=function(_0x5f28a8,_0x4538ae){_0x5f28a8=_0x5f28a8-0x0;let _0x417710=_0x4538[_0x5f28a8];return _0x417710;};import{first as _0x54ef67}from'ckeditor5/src/utils';export default function k(_0xe498fc,_0x3e8203){const _0x1b7ec8=_0xe498fc[_0x4177('0xa')][_0x4177('0x2')](_0x3e8203[_0x4177('0xc')]);if(!_0x1b7ec8)return null;const _0x1d8a59=_0x54ef67(_0x1b7ec8[_0x4177('0x4')]());return _0xe498fc[_0x4177('0x0')]['domConverter'][_0x4177('0x3')](_0x1d8a59)||null;}export function getAllMarkersDomElementsSorted(_0x5e3578,_0x5a27ef){if(0x0===_0x5a27ef[_0x4177('0x9')])return null;const _0x476755=[],_0x3fa5e0=_0x5e3578[_0x4177('0x0')][_0x4177('0x7')];for(const _0x491ae2 of _0x5a27ef){const _0x2d061c=_0x5e3578[_0x4177('0xa')]['markerNameToElements'](_0x491ae2[_0x4177('0xc')]);if(!_0x2d061c)continue;const _0x32a16e=Array[_0x4177('0x1')](_0x2d061c)[_0x4177('0x6')](_0x48c533=>_0x3fa5e0[_0x4177('0x3')](_0x48c533))[_0x4177('0x8')](_0x437103=>!!_0x437103);_0x476755['push'](..._0x32a16e);}if(0x0===_0x476755['length'])return null;const _0x3e12ef=[];for(const _0x2f1448 of _0x476755){const _0x4dc2fb=_0x2f1448['getClientRects']()[_0x4177('0x5')](0x0);_0x4dc2fb&&_0x3e12ef['push']({'x':_0x4dc2fb['x'],'y':_0x4dc2fb['y'],'domElement':_0x2f1448});}return 0x0===_0x3e12ef[_0x4177('0x9')]?null:(_0x3e12ef[_0x4177('0xb')]((_0xb1c381,_0x57c3e7)=>_0xb1c381['y']-_0x57c3e7['y']||_0xb1c381['x']-_0x57c3e7['x']),_0x3e12ef['map'](_0x49e0b9=>_0x49e0b9['domElement']));}
23
+ const _0x5ac7=['domConverter','getClientRects','mapper','name','filter','mapViewToDom','length','sort','values','map','view'];(function(_0x1679d6,_0x5ac75e){const _0x14cd3f=function(_0x12c431){while(--_0x12c431){_0x1679d6['push'](_0x1679d6['shift']());}};_0x14cd3f(++_0x5ac75e);}(_0x5ac7,0xc2));const _0x14cd=function(_0x1679d6,_0x5ac75e){_0x1679d6=_0x1679d6-0x0;let _0x14cd3f=_0x5ac7[_0x1679d6];return _0x14cd3f;};import{first as _0x1f39c6}from'ckeditor5/src/utils';export default function k(_0x47b163,_0x567bbd){const _0x585922=_0x47b163[_0x14cd('0x6')]['markerNameToElements'](_0x567bbd['name']);if(!_0x585922)return null;const _0x2fe562=_0x1f39c6(_0x585922[_0x14cd('0x1')]());return _0x47b163[_0x14cd('0x3')][_0x14cd('0x4')][_0x14cd('0x9')](_0x2fe562)||null;}export function getAllMarkersDomElementsSorted(_0xfd18e3,_0x50b806){if(0x0===_0x50b806[_0x14cd('0xa')])return null;const _0x488b96=[],_0x1e4114=_0xfd18e3[_0x14cd('0x3')]['domConverter'];for(const _0x2e0574 of _0x50b806){const _0x5a53c4=_0xfd18e3[_0x14cd('0x6')]['markerNameToElements'](_0x2e0574[_0x14cd('0x7')]);if(!_0x5a53c4)continue;const _0x490a3e=Array['from'](_0x5a53c4)[_0x14cd('0x2')](_0x821f3f=>_0x1e4114['mapViewToDom'](_0x821f3f))[_0x14cd('0x8')](_0xc3af0f=>!!_0xc3af0f);_0x488b96['push'](..._0x490a3e);}if(0x0===_0x488b96[_0x14cd('0xa')])return null;const _0xebdf09=[];for(const _0x467efa of _0x488b96){const _0x1d5dce=_0x467efa[_0x14cd('0x5')]()['item'](0x0);_0x1d5dce&&_0xebdf09['push']({'x':_0x1d5dce['x'],'y':_0x1d5dce['y'],'domElement':_0x467efa});}return 0x0===_0xebdf09['length']?null:(_0xebdf09[_0x14cd('0x0')]((_0x2822a8,_0x34a856)=>_0x2822a8['y']-_0x34a856['y']||_0x2822a8['x']-_0x34a856['x']),_0xebdf09['map'](_0x152e74=>_0x152e74['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36da=['boolean','object','keys','toString','charCodeAt','sign','string'];(function(_0x4cc31a,_0x36da94){const _0x274a1e=function(_0x51c6af){while(--_0x51c6af){_0x4cc31a['push'](_0x4cc31a['shift']());}};_0x274a1e(++_0x36da94);}(_0x36da,0x1a6));const _0x274a=function(_0x4cc31a,_0x36da94){_0x4cc31a=_0x4cc31a-0x0;let _0x274a1e=_0x36da[_0x4cc31a];return _0x274a1e;};export default function b(_0x3afe89){let _0xd2854=0x0,_0x2c62c3=0x0;for(const _0x71f7d1 of g(_0x3afe89))_0xd2854=(_0xd2854<<0x5)-_0xd2854+_0x71f7d1,_0xd2854&=_0xd2854,[_0xd2854,_0x2c62c3]=[_0x2c62c3,_0xd2854];return O(_0xd2854)+O(_0x2c62c3);}function*j(_0x424408){_0x424408?_0x274a('0x5')==typeof _0x424408?yield 0x1:Array['isArray'](_0x424408)?yield*function*(_0x599cce){for(const _0x518808 of _0x599cce)yield*j(_0x518808);}(_0x424408):_0x274a('0x6')==typeof _0x424408?yield*g(_0x424408):_0x274a('0x4')==typeof _0x424408?yield*A(_0x424408):'number'==typeof _0x424408&&(yield _0x424408):yield 0x0;}function*g(_0x5d2876){if(yield M('{'),_0x5d2876){const _0x911a5c=Object[_0x274a('0x0')](_0x5d2876)['sort']();for(const _0x43b8e4 of _0x911a5c){yield*A(_0x43b8e4),yield M(':');const _0x46827f=_0x5d2876[_0x43b8e4];yield*j(_0x46827f);}}yield M('}');}function*A(_0x523af3){yield M('\x22');for(const _0x12f90c of _0x523af3)yield M(_0x12f90c);yield M('\x22');}function M(_0x4bf549){return _0x4bf549[_0x274a('0x2')](0x0);}function O(_0x3cd833){return(_0x3cd833*=Math[_0x274a('0x3')](_0x3cd833))[_0x274a('0x1')](0x24);}
23
+ const _0x3521=['toString','keys','sort','boolean','charCodeAt','isArray','number'];(function(_0x3fa1e4,_0x3521b3){const _0x5c6e40=function(_0xf015a6){while(--_0xf015a6){_0x3fa1e4['push'](_0x3fa1e4['shift']());}};_0x5c6e40(++_0x3521b3);}(_0x3521,0x16f));const _0x5c6e=function(_0x3fa1e4,_0x3521b3){_0x3fa1e4=_0x3fa1e4-0x0;let _0x5c6e40=_0x3521[_0x3fa1e4];return _0x5c6e40;};export default function b(_0x466822){let _0x47b119=0x0,_0x5bce35=0x0;for(const _0x24f254 of g(_0x466822))_0x47b119=(_0x47b119<<0x5)-_0x47b119+_0x24f254,_0x47b119&=_0x47b119,[_0x47b119,_0x5bce35]=[_0x5bce35,_0x47b119];return O(_0x47b119)+O(_0x5bce35);}function*j(_0x277ebb){_0x277ebb?_0x5c6e('0x0')==typeof _0x277ebb?yield 0x1:Array[_0x5c6e('0x2')](_0x277ebb)?yield*function*(_0x377a1a){for(const _0x588983 of _0x377a1a)yield*j(_0x588983);}(_0x277ebb):'object'==typeof _0x277ebb?yield*g(_0x277ebb):'string'==typeof _0x277ebb?yield*A(_0x277ebb):_0x5c6e('0x3')==typeof _0x277ebb&&(yield _0x277ebb):yield 0x0;}function*g(_0x333668){if(yield M('{'),_0x333668){const _0x161dd1=Object[_0x5c6e('0x5')](_0x333668)[_0x5c6e('0x6')]();for(const _0x4e181c of _0x161dd1){yield*A(_0x4e181c),yield M(':');const _0x4952ca=_0x333668[_0x4e181c];yield*j(_0x4952ca);}}yield M('}');}function*A(_0x1939f4){yield M('\x22');for(const _0x101442 of _0x1939f4)yield M(_0x101442);yield M('\x22');}function M(_0x569a28){return _0x569a28[_0x5c6e('0x1')](0x0);}function O(_0x4a3cf5){return(_0x4a3cf5*=Math['sign'](_0x4a3cf5))[_0x5c6e('0x4')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b0e=['filter','DocumentOutline','get','requires','set','has','WebSocketGateway','extraPlugins','length','constructor','rootsAttributes','toolbar','names','context','WProofreader','string','find','every','plugins','concat','includes','WordCount','removePlugins','config','pluginName','initialData'];(function(_0x59c1b1,_0x3b0e57){const _0x334383=function(_0x5337a7){while(--_0x5337a7){_0x59c1b1['push'](_0x59c1b1['shift']());}};_0x334383(++_0x3b0e57);}(_0x3b0e,0x1dd));const _0x3343=function(_0x59c1b1,_0x3b0e57){_0x59c1b1=_0x59c1b1-0x0;let _0x334383=_0x3b0e[_0x59c1b1];return _0x334383;};const w=[_0x3343('0x10'),_0x3343('0x4'),_0x3343('0x2'),_0x3343('0x1')],W=[_0x3343('0x17'),'RevisionTracker','Autosave',_0x3343('0xc'),_0x3343('0x12'),_0x3343('0x5')];function v(_0x590e32,_0x529940,_0x3c8a2f,_0x30e9f0=[]){const _0x541453=_0x3343('0x6')==typeof _0x590e32?_0x3c8a2f[_0x3343('0x13')](_0x590e32)[_0x3343('0x0')]:_0x590e32,_0x17e606=_0x541453[_0x3343('0xf')]||_0x541453['name'];if(_0x529940[_0x3343('0x16')](_0x17e606))return _0x529940[_0x3343('0x13')](_0x17e606);if(_0x529940[_0x3343('0x15')](_0x17e606,!0x0),_0x17e606&&W[_0x3343('0xa')](_0x30e9f0)[_0x3343('0xb')](_0x17e606))return _0x529940[_0x3343('0x15')](_0x17e606,!0x1),!0x1;if(!_0x541453[_0x3343('0x14')])return _0x529940[_0x3343('0x15')](_0x17e606,!0x0),!0x0;const _0x18fcf5=_0x541453['requires'][_0x3343('0x8')](_0xffed6f=>v(_0xffed6f,_0x529940,_0x3c8a2f,_0x30e9f0));return _0x529940['set'](_0x17e606,_0x18fcf5),_0x18fcf5;}export default function D(_0x4e6732,_0x1aed28){const _0x2d78a9={};for(const _0x475f51 of _0x4e6732['config'][_0x3343('0x3')]())w[_0x3343('0xb')](_0x475f51)||(_0x2d78a9[_0x475f51]=_0x4e6732[_0x3343('0xe')]['get'](_0x475f51));const _0x4ed7a4=_0x2d78a9[_0x3343('0x9')]||[],_0x397934=_0x4e6732[_0x3343('0x0')]['builtinPlugins']||[],_0x27d33b=_0x4ed7a4[_0x3343('0x19')]?_0x4ed7a4:_0x397934,_0x5ec248=_0x2d78a9[_0x3343('0x18')]||[];delete _0x2d78a9[_0x3343('0x18')];const _0x4f397f=_0x2d78a9[_0x3343('0xd')]||[];delete _0x2d78a9[_0x3343('0xd')];const _0x5e6484=_0x4e6732['_context'][_0x3343('0xe')][_0x3343('0x13')](_0x3343('0x9'))||[],_0x133b6f=_0x27d33b['concat'](_0x5ec248)[_0x3343('0xa')](_0x5e6484)['map'](_0x4cc82e=>'string'==typeof _0x4cc82e?_0x397934[_0x3343('0x7')](_0x45d43b=>_0x45d43b['pluginName']==_0x4cc82e):_0x4cc82e)['filter'](_0x80b2fb=>!_0x4f397f[_0x3343('0xb')](_0x80b2fb)&&!_0x4f397f['includes'](_0x80b2fb[_0x3343('0xf')])),_0x76dc31=Array['from'](new Set(_0x133b6f)),_0x2c4252=new Map();return _0x2d78a9['plugins']=_0x76dc31[_0x3343('0x11')](_0x186792=>v(_0x186792,_0x2c4252,_0x4e6732[_0x3343('0x9')],_0x1aed28)),_0x2d78a9;}
23
+ const _0x47d5=['set','WebSocketGateway','WordCount','DocumentOutline','get','Autosave','pluginName','plugins','has','includes','length','rootsAttributes','every','requires','extraPlugins','_context','names','map','from','context','constructor','removePlugins','config','concat','WProofreader'];(function(_0x2dc08a,_0x47d537){const _0x548b6d=function(_0x4ccfde){while(--_0x4ccfde){_0x2dc08a['push'](_0x2dc08a['shift']());}};_0x548b6d(++_0x47d537);}(_0x47d5,0x124));const _0x548b=function(_0x2dc08a,_0x47d537){_0x2dc08a=_0x2dc08a-0x0;let _0x548b6d=_0x47d5[_0x2dc08a];return _0x548b6d;};const w=['initialData',_0x548b('0x2'),'toolbar',_0x548b('0x13')],W=[_0x548b('0x9'),'RevisionTracker',_0x548b('0xd'),_0x548b('0xa'),_0x548b('0xb'),_0x548b('0x7')];function v(_0x2eb786,_0x85ba84,_0x30f392,_0x2c0205=[]){const _0x32e8ca='string'==typeof _0x2eb786?_0x30f392[_0x548b('0xc')](_0x2eb786)[_0x548b('0x3')]:_0x2eb786,_0x4ff296=_0x32e8ca[_0x548b('0xe')]||_0x32e8ca['name'];if(_0x85ba84[_0x548b('0x10')](_0x4ff296))return _0x85ba84['get'](_0x4ff296);if(_0x85ba84['set'](_0x4ff296,!0x0),_0x4ff296&&W[_0x548b('0x6')](_0x2c0205)['includes'](_0x4ff296))return _0x85ba84[_0x548b('0x8')](_0x4ff296,!0x1),!0x1;if(!_0x32e8ca[_0x548b('0x15')])return _0x85ba84[_0x548b('0x8')](_0x4ff296,!0x0),!0x0;const _0x4cb3e7=_0x32e8ca[_0x548b('0x15')][_0x548b('0x14')](_0x173f44=>v(_0x173f44,_0x85ba84,_0x30f392,_0x2c0205));return _0x85ba84['set'](_0x4ff296,_0x4cb3e7),_0x4cb3e7;}export default function D(_0x3237c7,_0x3d494e){const _0x2350f4={};for(const _0x30700d of _0x3237c7['config'][_0x548b('0x18')]())w['includes'](_0x30700d)||(_0x2350f4[_0x30700d]=_0x3237c7[_0x548b('0x5')][_0x548b('0xc')](_0x30700d));const _0x21c831=_0x2350f4[_0x548b('0xf')]||[],_0x2f3f99=_0x3237c7[_0x548b('0x3')]['builtinPlugins']||[],_0x643721=_0x21c831[_0x548b('0x12')]?_0x21c831:_0x2f3f99,_0x3d45f7=_0x2350f4[_0x548b('0x16')]||[];delete _0x2350f4[_0x548b('0x16')];const _0x32bdb1=_0x2350f4[_0x548b('0x4')]||[];delete _0x2350f4['removePlugins'];const _0x112481=_0x3237c7[_0x548b('0x17')][_0x548b('0x5')][_0x548b('0xc')](_0x548b('0xf'))||[],_0x623686=_0x643721[_0x548b('0x6')](_0x3d45f7)['concat'](_0x112481)[_0x548b('0x0')](_0x3e620b=>'string'==typeof _0x3e620b?_0x2f3f99['find'](_0x74d172=>_0x74d172[_0x548b('0xe')]==_0x3e620b):_0x3e620b)['filter'](_0x4c55a0=>!_0x32bdb1['includes'](_0x4c55a0)&&!_0x32bdb1[_0x548b('0x11')](_0x4c55a0[_0x548b('0xe')])),_0x5a97a4=Array[_0x548b('0x1')](new Set(_0x623686)),_0x2c76a4=new Map();return _0x2350f4[_0x548b('0xf')]=_0x5a97a4['filter'](_0xd055c=>v(_0xd055c,_0x2c76a4,_0x3237c7['plugins'],_0x3d494e)),_0x2350f4;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30a4=['containsPosition','push','end','getRange','isEqual','change:range','includes','markers','length','focus','document','selection'];(function(_0x25e302,_0x30a47a){const _0x564172=function(_0x23ba1b){while(--_0x23ba1b){_0x25e302['push'](_0x25e302['shift']());}};_0x564172(++_0x30a47a);}(_0x30a4,0x103));const _0x5641=function(_0x25e302,_0x30a47a){_0x25e302=_0x25e302-0x0;let _0x564172=_0x30a4[_0x25e302];return _0x564172;};export default function q(_0x327a59,_0x4a80d4){const _0x42e373=[];_0x327a59[_0x5641('0x3')][_0x5641('0x4')]['on'](_0x5641('0xa'),()=>{const _0x24b494=function(_0x1a22f5,_0x538cac){const _0x12b591=[];for(const _0x43a346 of _0x1a22f5[_0x5641('0x0')]){const _0x24886c=_0x43a346[_0x5641('0x8')]();(_0x24886c[_0x5641('0x5')](_0x538cac)||_0x24886c['start'][_0x5641('0x9')](_0x538cac)||_0x24886c[_0x5641('0x7')]['isEqual'](_0x538cac))&&_0x12b591[_0x5641('0x6')](_0x43a346);}return _0x12b591;}(_0x327a59,_0x327a59[_0x5641('0x3')][_0x5641('0x4')][_0x5641('0x2')]),_0x336c07=[],_0x254e8e=[],_0x53da59=[];for(const _0x4f705c of _0x42e373)_0x24b494[_0x5641('0xb')](_0x4f705c)||_0x336c07[_0x5641('0x6')](_0x4f705c);for(const _0x2b96c3 of _0x24b494)_0x42e373['includes'](_0x2b96c3)||_0x254e8e[_0x5641('0x6')](_0x2b96c3),_0x53da59['push'](_0x2b96c3);(_0x336c07[_0x5641('0x1')]||_0x254e8e[_0x5641('0x1')])&&_0x4a80d4({'left':_0x336c07,'entered':_0x254e8e}),_0x42e373[_0x5641('0x1')]=0x0,_0x42e373[_0x5641('0x6')](..._0x53da59);});}
23
+ const _0x25f2=['start','containsPosition','focus','markers','change:range','push','length','selection','includes','getRange','isEqual'];(function(_0x24cf0b,_0x25f28b){const _0x34abf3=function(_0x4ac443){while(--_0x4ac443){_0x24cf0b['push'](_0x24cf0b['shift']());}};_0x34abf3(++_0x25f28b);}(_0x25f2,0xfe));const _0x34ab=function(_0x24cf0b,_0x25f28b){_0x24cf0b=_0x24cf0b-0x0;let _0x34abf3=_0x25f2[_0x24cf0b];return _0x34abf3;};export default function q(_0x23eac0,_0x54905c){const _0x4cac47=[];_0x23eac0['document'][_0x34ab('0x6')]['on'](_0x34ab('0x3'),()=>{const _0x387b13=function(_0x42a0d4,_0x259522){const _0x289040=[];for(const _0x185c22 of _0x42a0d4[_0x34ab('0x2')]){const _0x4b50e4=_0x185c22[_0x34ab('0x8')]();(_0x4b50e4[_0x34ab('0x0')](_0x259522)||_0x4b50e4[_0x34ab('0xa')][_0x34ab('0x9')](_0x259522)||_0x4b50e4['end'][_0x34ab('0x9')](_0x259522))&&_0x289040['push'](_0x185c22);}return _0x289040;}(_0x23eac0,_0x23eac0['document'][_0x34ab('0x6')][_0x34ab('0x1')]),_0x22751d=[],_0x1fe1dd=[],_0x5083d2=[];for(const _0x2ff7d8 of _0x4cac47)_0x387b13['includes'](_0x2ff7d8)||_0x22751d[_0x34ab('0x4')](_0x2ff7d8);for(const _0x21bcb0 of _0x387b13)_0x4cac47[_0x34ab('0x7')](_0x21bcb0)||_0x1fe1dd['push'](_0x21bcb0),_0x5083d2[_0x34ab('0x4')](_0x21bcb0);(_0x22751d[_0x34ab('0x5')]||_0x1fe1dd['length'])&&_0x54905c({'left':_0x22751d,'entered':_0x1fe1dd}),_0x4cac47[_0x34ab('0x5')]=0x0,_0x4cac47[_0x34ab('0x4')](..._0x5083d2);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4743=['indexOf','slice','push','join','...','split','replace','substring','match','startsWith','length','pop'];(function(_0x447c2f,_0x4743ba){const _0x27c7a0=function(_0x3ca80f){while(--_0x3ca80f){_0x447c2f['push'](_0x447c2f['shift']());}};_0x27c7a0(++_0x4743ba);}(_0x4743,0x183));const _0x27c7=function(_0x447c2f,_0x4743ba){_0x447c2f=_0x447c2f-0x0;let _0x27c7a0=_0x4743[_0x447c2f];return _0x27c7a0;};export default function z(_0x2c05c3,{limit:_0x336952,suffix:_0xd4d38e=_0x27c7('0x1')}){const _0x3bb196=[];let _0x22bab8=0x0;const _0x42e8bb=_0x2c05c3[_0x27c7('0x3')](/</g,'\x0a<')[_0x27c7('0x3')](/>/g,'>\x0a')[_0x27c7('0x3')](/^\n/g,'')['replace'](/\n$/g,'')[_0x27c7('0x2')]('\x0a');for(let _0x200b1c=0x0;_0x200b1c<_0x42e8bb[_0x27c7('0x7')];_0x200b1c++){let _0x584e16=_0x42e8bb[_0x200b1c];const _0x5b3ab1=Z(_0x584e16);if(_0x584e16[_0x27c7('0x6')]('<')){if(_0x22bab8>=_0x336952){const _0x52bd32=_0x584e16[_0x27c7('0x5')](/[a-zA-Z]+/);if(!_0x52bd32){_0x42e8bb[_0x200b1c]='';continue;}const _0x1ed9f6=_0x52bd32[0x0];_0x584e16[_0x27c7('0x6')]('</')?(_0x3bb196[_0x27c7('0x7')]&&(_0x584e16=''),_0x3bb196[_0x27c7('0x8')]()):(_0x3bb196[_0x27c7('0xb')](_0x1ed9f6),_0x584e16='');}}else{if(_0x22bab8>=_0x336952)_0x584e16='';else{if(_0x22bab8+_0x5b3ab1['length']>=_0x336952){let _0x24afb1=_0x336952-_0x22bab8;if('\x20'===_0x5b3ab1[_0x24afb1-0x1])_0x24afb1--;else{const _0x150b43=_0x5b3ab1[_0x27c7('0xa')](_0x24afb1)[_0x27c7('0x9')]('\x20');-0x1!==_0x150b43?_0x24afb1+=_0x150b43:_0x24afb1=_0x584e16[_0x27c7('0x7')];}_0x584e16=_0x5b3ab1[_0x27c7('0xa')](0x0,_0x24afb1)[_0x27c7('0x0')]('')+_0xd4d38e,_0x22bab8=_0x336952;}else _0x22bab8+=_0x5b3ab1[_0x27c7('0x7')];}}_0x42e8bb[_0x200b1c]=_0x584e16;}return _0x42e8bb[_0x27c7('0x0')]('\x0a')[_0x27c7('0x3')](/\n/g,'');}function Z(_0xde7f7){const _0x1d71e7=[];for(let _0x2f8365=0x0;_0x2f8365<_0xde7f7[_0x27c7('0x7')];_0x2f8365++){const _0x5289eb=_0xde7f7[_0x27c7('0x4')](_0x2f8365)[_0x27c7('0x5')](/^&[a-z0-9#]+;/);if(_0x5289eb){const _0x5a9ff9=_0x5289eb[0x0];_0x1d71e7[_0x27c7('0xb')](_0x5a9ff9),_0x2f8365+=_0x5a9ff9[_0x27c7('0x7')]-0x1;}else _0x1d71e7['push'](_0xde7f7[_0x2f8365]);}return _0x1d71e7;}
23
+ const _0x264c=['pop','length','slice','split','...','indexOf','push','match','join','startsWith','replace','substring'];(function(_0x325abf,_0x264c9e){const _0x4508b9=function(_0x87217e){while(--_0x87217e){_0x325abf['push'](_0x325abf['shift']());}};_0x4508b9(++_0x264c9e);}(_0x264c,0x137));const _0x4508=function(_0x325abf,_0x264c9e){_0x325abf=_0x325abf-0x0;let _0x4508b9=_0x264c[_0x325abf];return _0x4508b9;};export default function z(_0x28dab1,{limit:_0x3b5990,suffix:_0x5e0fce=_0x4508('0x5')}){const _0x320bc2=[];let _0x416e34=0x0;const _0x26cb61=_0x28dab1[_0x4508('0xb')](/</g,'\x0a<')[_0x4508('0xb')](/>/g,'>\x0a')[_0x4508('0xb')](/^\n/g,'')['replace'](/\n$/g,'')[_0x4508('0x4')]('\x0a');for(let _0x39aac7=0x0;_0x39aac7<_0x26cb61['length'];_0x39aac7++){let _0x499751=_0x26cb61[_0x39aac7];const _0x3462d5=Z(_0x499751);if(_0x499751[_0x4508('0xa')]('<')){if(_0x416e34>=_0x3b5990){const _0x345889=_0x499751[_0x4508('0x8')](/[a-zA-Z]+/);if(!_0x345889){_0x26cb61[_0x39aac7]='';continue;}const _0x2097d3=_0x345889[0x0];_0x499751['startsWith']('</')?(_0x320bc2[_0x4508('0x2')]&&(_0x499751=''),_0x320bc2[_0x4508('0x1')]()):(_0x320bc2[_0x4508('0x7')](_0x2097d3),_0x499751='');}}else{if(_0x416e34>=_0x3b5990)_0x499751='';else{if(_0x416e34+_0x3462d5[_0x4508('0x2')]>=_0x3b5990){let _0x5ce393=_0x3b5990-_0x416e34;if('\x20'===_0x3462d5[_0x5ce393-0x1])_0x5ce393--;else{const _0x5b4c69=_0x3462d5[_0x4508('0x3')](_0x5ce393)[_0x4508('0x6')]('\x20');-0x1!==_0x5b4c69?_0x5ce393+=_0x5b4c69:_0x5ce393=_0x499751['length'];}_0x499751=_0x3462d5[_0x4508('0x3')](0x0,_0x5ce393)[_0x4508('0x9')]('')+_0x5e0fce,_0x416e34=_0x3b5990;}else _0x416e34+=_0x3462d5[_0x4508('0x2')];}}_0x26cb61[_0x39aac7]=_0x499751;}return _0x26cb61['join']('\x0a')[_0x4508('0xb')](/\n/g,'');}function Z(_0x59cc3d){const _0x340d22=[];for(let _0x4655dd=0x0;_0x4655dd<_0x59cc3d[_0x4508('0x2')];_0x4655dd++){const _0x43f7e4=_0x59cc3d[_0x4508('0x0')](_0x4655dd)[_0x4508('0x8')](/^&[a-z0-9#]+;/);if(_0x43f7e4){const _0x3deb98=_0x43f7e4[0x0];_0x340d22[_0x4508('0x7')](_0x3deb98),_0x4655dd+=_0x3deb98[_0x4508('0x2')]-0x1;}else _0x340d22['push'](_0x59cc3d[_0x4655dd]);}return _0x340d22;}