@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231129.0 → 0.0.0-nightly-20231130.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": "0.0.0-nightly-20231129.0",
3
+ "version": "0.0.0-nightly-20231130.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-20231129.0",
34
+ "ckeditor5": "0.0.0-nightly-20231130.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 _0x352d=['editors','find','setPermissions','has','noPermissions','CommentsRepository','pluginName','comment:modify_all','forceDisabled','comment:admin','includes','config','collaboration.channelId','no-permissions','context','plugins','addCommentThread','enableReadOnlyMode','get'];(function(_0x5c765b,_0x352d1d){const _0x5e58c9=function(_0x4beb72){while(--_0x4beb72){_0x5c765b['push'](_0x5c765b['shift']());}};_0x5e58c9(++_0x352d1d);}(_0x352d,0x1e8));const _0x5e58=function(_0x5c765b,_0x352d1d){_0x5c765b=_0x5c765b-0x0;let _0x5e58c9=_0x352d[_0x5c765b];return _0x5e58c9;};import{ContextPlugin as _0x1c9a07,Editor as _0x554d5b}from'ckeditor5/src/core';import{CKEditorError as _0x157158}from'ckeditor5/src/utils';export default class n extends _0x1c9a07{static get[_0x5e58('0xc')](){return'Permissions';}[_0x5e58('0x8')](_0x37b0a2,_0x321066){let _0x565605;if(_0x321066||(_0x321066=this[_0x5e58('0x1')][_0x5e58('0x11')]['get'](_0x5e58('0x12'))),this[_0x5e58('0x1')]['config']['get']('collaboration.channelId')==_0x321066?_0x565605=this[_0x5e58('0x1')]:_0x5e58('0x6')in this[_0x5e58('0x1')]&&this[_0x5e58('0x1')][_0x5e58('0x6')]&&(_0x565605=this[_0x5e58('0x1')]['editors'][_0x5e58('0x7')](_0x497914=>_0x497914[_0x5e58('0x11')][_0x5e58('0x5')](_0x5e58('0x12'))==_0x321066)),!_0x565605)throw new _0x157158('permissions-set-permissions-invalid-channel-id',null);const _0x5a0e96=_0x565605[_0x5e58('0x2')],_0x3158d5=_0x5a0e96[_0x5e58('0x9')](_0x5e58('0xb'))?_0x5a0e96[_0x5e58('0x5')](_0x5e58('0xb')):void 0x0,_0x7c7e50=_0x5a0e96['has']('CommentsOnly')&&_0x5a0e96[_0x5e58('0x5')]('CommentsOnly'),_0x2b9a8f=_0x37b0a2['includes']('document:write'),_0x552031=_0x37b0a2[_0x5e58('0x10')](_0x5e58('0xd')),_0x3ff8d2=_0x37b0a2[_0x5e58('0x10')](_0x5e58('0xf')),_0x1f7ec7=_0x37b0a2[_0x5e58('0x10')]('comment:write'),_0x389b80=_0x1f7ec7||_0x3ff8d2,_0x45d9c7=_0x389b80||_0x552031,_0x81297b=_0x2b9a8f||_0x389b80;(_0x7c7e50&&(_0x7c7e50['isEnabled']=!_0x2b9a8f&&_0x45d9c7),_0x565605 instanceof _0x554d5b)&&(!(_0x2b9a8f||_0x45d9c7&&_0x3158d5)?_0x565605[_0x5e58('0x4')](_0x5e58('0x0')):_0x565605['disableReadOnlyMode'](_0x5e58('0x0')));if(_0x3158d5){_0x3158d5['setPermissions']({'admin':_0x3ff8d2,'modifyAll':_0x552031,'write':_0x1f7ec7,'resolve':_0x81297b},_0x321066);const _0x98a137=_0x565605 instanceof _0x554d5b&&_0x565605['commands'][_0x5e58('0x5')](_0x5e58('0x3'));_0x98a137&&(_0x389b80?_0x98a137['clearForceDisabled'](_0x5e58('0xa')):_0x98a137[_0x5e58('0xe')](_0x5e58('0xa')));}}}
23
+ const _0x1d81=['no-permissions','get','has','comment:write','Permissions','find','includes','context','enableReadOnlyMode','CommentsRepository','document:write','comment:modify_all','collaboration.channelId','forceDisabled','addCommentThread','setPermissions','plugins','comment:admin','editors','config','clearForceDisabled','noPermissions'];(function(_0x335c41,_0x1d81ab){const _0x27d633=function(_0x1568ae){while(--_0x1568ae){_0x335c41['push'](_0x335c41['shift']());}};_0x27d633(++_0x1d81ab);}(_0x1d81,0x13b));const _0x27d6=function(_0x335c41,_0x1d81ab){_0x335c41=_0x335c41-0x0;let _0x27d633=_0x1d81[_0x335c41];return _0x27d633;};import{ContextPlugin as _0x25ad86,Editor as _0x1f2ba4}from'ckeditor5/src/core';import{CKEditorError as _0x536870}from'ckeditor5/src/utils';export default class n extends _0x25ad86{static get['pluginName'](){return _0x27d6('0x13');}[_0x27d6('0x8')](_0x6948d7,_0x2ee559){let _0x2de28a;if(_0x2ee559||(_0x2ee559=this['context'][_0x27d6('0xc')]['get']('collaboration.channelId')),this[_0x27d6('0x0')][_0x27d6('0xc')]['get']('collaboration.channelId')==_0x2ee559?_0x2de28a=this[_0x27d6('0x0')]:_0x27d6('0xb')in this[_0x27d6('0x0')]&&this[_0x27d6('0x0')][_0x27d6('0xb')]&&(_0x2de28a=this[_0x27d6('0x0')][_0x27d6('0xb')][_0x27d6('0x14')](_0x27dfe1=>_0x27dfe1[_0x27d6('0xc')][_0x27d6('0x10')](_0x27d6('0x5'))==_0x2ee559)),!_0x2de28a)throw new _0x536870('permissions-set-permissions-invalid-channel-id',null);const _0x4f7251=_0x2de28a[_0x27d6('0x9')],_0x20ce43=_0x4f7251[_0x27d6('0x11')](_0x27d6('0x2'))?_0x4f7251['get'](_0x27d6('0x2')):void 0x0,_0x355d37=_0x4f7251[_0x27d6('0x11')]('CommentsOnly')&&_0x4f7251[_0x27d6('0x10')]('CommentsOnly'),_0x16aa8b=_0x6948d7[_0x27d6('0x15')](_0x27d6('0x3')),_0x3a3b28=_0x6948d7[_0x27d6('0x15')](_0x27d6('0x4')),_0x5ad2b6=_0x6948d7[_0x27d6('0x15')](_0x27d6('0xa')),_0x251b6b=_0x6948d7[_0x27d6('0x15')](_0x27d6('0x12')),_0x2b9bde=_0x251b6b||_0x5ad2b6,_0x4d44d7=_0x2b9bde||_0x3a3b28,_0x3db65e=_0x16aa8b||_0x2b9bde;(_0x355d37&&(_0x355d37['isEnabled']=!_0x16aa8b&&_0x4d44d7),_0x2de28a instanceof _0x1f2ba4)&&(!(_0x16aa8b||_0x4d44d7&&_0x20ce43)?_0x2de28a[_0x27d6('0x1')](_0x27d6('0xf')):_0x2de28a['disableReadOnlyMode'](_0x27d6('0xf')));if(_0x20ce43){_0x20ce43['setPermissions']({'admin':_0x5ad2b6,'modifyAll':_0x3a3b28,'write':_0x251b6b,'resolve':_0x3db65e},_0x2ee559);const _0x2f9478=_0x2de28a instanceof _0x1f2ba4&&_0x2de28a['commands'][_0x27d6('0x10')](_0x27d6('0x7'));_0x2f9478&&(_0x2b9bde?_0x2f9478[_0x27d6('0xd')]('noPermissions'):_0x2f9478[_0x27d6('0x6')](_0x27d6('0xe')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ee7=['div','ck-user__icon','name','ck-user','ck-user__notification','ck\x20ck-user__name\x20ck-user__name--hidden','extendTemplate','ck-user__img','setTemplate','notificationView','avatar','ck-user__anonymous','url(\x27','push','initials','content','isAnonymous'];(function(_0xfdae19,_0x2ee726){const _0x39047e=function(_0x46b43c){while(--_0x46b43c){_0xfdae19['push'](_0xfdae19['shift']());}};_0x39047e(++_0x2ee726);}(_0x2ee7,0xa6));const _0x3904=function(_0xfdae19,_0x2ee726){_0xfdae19=_0xfdae19-0x0;let _0x39047e=_0x2ee7[_0xfdae19];return _0x39047e;};import{View as _0x25eb44,IconView as _0x5eb354}from'ckeditor5/src/ui';import _0xbcf2ab from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x25eb44{constructor(_0x41f4ed,_0x2b11c1,_0x26e8b3){super(_0x41f4ed),this[_0x3904('0x6')]=_0x2b11c1['name'],this[_0x3904('0xd')]=null;const _0x23c84d=['ck',_0x3904('0xb')];if(_0x2b11c1[_0x3904('0x3')]&&_0x23c84d[_0x3904('0x0')](_0x3904('0xf')),_0x2b11c1['avatar']&&_0x23c84d[_0x3904('0x0')]('ck-user__avatar'),_0x26e8b3){const _0x252387=new _0x5eb354();_0x252387[_0x3904('0xa')]({'attributes':{'class':[_0x3904('0x5')]}}),_0x252387[_0x3904('0x2')]=_0xbcf2ab,this[_0x3904('0xd')]={'tag':_0x3904('0x4'),'attributes':{'class':['ck',_0x3904('0x8')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x26e8b3},'children':[_0x252387]};}const _0x4a877e=[{'tag':_0x3904('0x4'),'attributes':{'class':_0x23c84d,'style':{'background-image':_0x2b11c1[_0x3904('0xe')]?_0x3904('0x10')+_0x2b11c1[_0x3904('0xe')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2b11c1[_0x3904('0xe')]?_0x3904('0x9'):'ck\x20ck-user__name'},'children':[{'text':_0x2b11c1[_0x3904('0x1')]}]}];this[_0x3904('0xd')]&&_0x4a877e[_0x3904('0x0')](this[_0x3904('0xd')]),this[_0x3904('0xc')]({'tag':_0x3904('0x4'),'attributes':{'class':['ck',_0x3904('0x7')],'data-user-id':_0x2b11c1['id']},'children':_0x4a877e});}}
23
+ const _0x3cd2=['avatar','ck-user__img','name','extendTemplate','initials','setTemplate','div','url(\x27','notificationView','ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','isAnonymous','ck-user__notification','content','push','ck\x20ck-user__name'];(function(_0x436ec8,_0x3cd209){const _0x142420=function(_0x3c6b5a){while(--_0x3c6b5a){_0x436ec8['push'](_0x436ec8['shift']());}};_0x142420(++_0x3cd209);}(_0x3cd2,0x17f));const _0x1424=function(_0x436ec8,_0x3cd209){_0x436ec8=_0x436ec8-0x0;let _0x142420=_0x3cd2[_0x436ec8];return _0x142420;};import{View as _0x14f18a,IconView as _0x38d81c}from'ckeditor5/src/ui';import _0x30794d from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x14f18a{constructor(_0x5f1d92,_0x9792f,_0x334bbf){super(_0x5f1d92),this[_0x1424('0x3')]=_0x9792f[_0x1424('0x3')],this[_0x1424('0x9')]=null;const _0x3f9024=['ck',_0x1424('0x2')];if(_0x9792f[_0x1424('0xc')]&&_0x3f9024[_0x1424('0xf')]('ck-user__anonymous'),_0x9792f[_0x1424('0x1')]&&_0x3f9024['push']('ck-user__avatar'),_0x334bbf){const _0x342470=new _0x38d81c();_0x342470[_0x1424('0x4')]({'attributes':{'class':['ck-user__icon']}}),_0x342470[_0x1424('0xe')]=_0x30794d,this[_0x1424('0x9')]={'tag':_0x1424('0x7'),'attributes':{'class':['ck',_0x1424('0xd')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x334bbf},'children':[_0x342470]};}const _0x35930c=[{'tag':_0x1424('0x7'),'attributes':{'class':_0x3f9024,'style':{'background-image':_0x9792f['avatar']?_0x1424('0x8')+_0x9792f['avatar']+'\x27)':''}}},{'tag':_0x1424('0x7'),'attributes':{'class':_0x9792f['avatar']?_0x1424('0xb'):_0x1424('0x0')},'children':[{'text':_0x9792f[_0x1424('0x5')]}]}];this['notificationView']&&_0x35930c[_0x1424('0xf')](this[_0x1424('0x9')]),this[_0x1424('0x6')]({'tag':_0x1424('0x7'),'attributes':{'class':['ck',_0x1424('0xa')],'data-user-id':_0x9792f['id']},'children':_0x35930c});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c98=['ck-user__selection--','getSelectionClass','split','length','Anonymous','getUser','Users','users-me-missing-user','defineMe','_getInitial','color','licenseKeyInvalid','addUser','name','avatar','getOperationAuthor','trial-license-key-reached-limit-time','users-me-already-defined','trial-license-key-reached-limit-revisions','isAnonymous','users.anonymousUserId','_myId','licenseKeyValid','_isAnonymous','decorate','ck-user__marker--','licenseKeyTrial','licenseKey','users.colorsCount','string','config','charAt','users','getMarkerClass','useAnonymousUser','licenseKeyTrialLimit:time','_licenseKeyCheckInterval','_lastColor','init','invalid-license-key','define','initials','_id','licenseKeyTrialLimit:operations','locale','ck-user__bg-color--','context','trim','_getNextColor','destroy','get','info','requires','has','_locale','_addAnonymousUser','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','licenseKeyTrialLimit:revisions','users-add-duplicated-id'];(function(_0x297f92,_0x3c981d){const _0x4b9783=function(_0x5ce4e4){while(--_0x5ce4e4){_0x297f92['push'](_0x297f92['shift']());}};_0x4b9783(++_0x3c981d);}(_0x3c98,0x112));const _0x4b97=function(_0x297f92,_0x3c981d){_0x297f92=_0x297f92-0x0;let _0x4b9783=_0x3c98[_0x297f92];return _0x4b9783;};import{ContextPlugin as _0x1040c4}from'ckeditor5/src/core';import{Collection as _0x17ffbe,CKEditorError as _0x3f277f}from'ckeditor5/src/utils';import _0x325f52 from'./permissions';import{getTranslation as _0x56d67d}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x1040c4{static get['pluginName'](){return _0x4b97('0x1b');}static get[_0x4b97('0xe')](){return[_0x325f52];}constructor(_0x47462a){super(_0x47462a),this['context']['config'][_0x4b97('0x2')](_0x4b97('0x29'),'anonymous-user'),this[_0x4b97('0x8')][_0x4b97('0x33')][_0x4b97('0x2')]('users.colorsCount',0x8),this[_0x4b97('0x35')]=new _0x17ffbe(),this['_locale']=_0x47462a[_0x4b97('0x6')],this['_licenseKeyCheckInterval']=null,this[_0x4b97('0x3a')]=0x0,this['_myId']=null,this[_0x4b97('0x2d')](_0x4b97('0x24'));}[_0x4b97('0x0')](){const _0x4f3e64=this['context'];this['licenseKey']=_0x4f3e64[_0x4b97('0x33')]['get'](_0x4b97('0x30'));const _0x19613a=[_0x4b97('0x2f'),'licenseKeyInvalid','licenseKeyValid','licenseKeyTrialLimit:operations',_0x4b97('0x38'),_0x4b97('0x13')];this[_0x4b97('0x39')]=setInterval(()=>{let _0x54e437;for(const _0x1a5d94 in _0x4f3e64){const _0x37e282=_0x4f3e64[_0x1a5d94];if(_0x19613a['includes'](_0x37e282)){delete _0x4f3e64[_0x1a5d94],_0x54e437=_0x37e282;break;}}if(_0x4b97('0x20')===_0x54e437)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3f277f(_0x4b97('0x1'),null);if(_0x4b97('0x2f')===_0x54e437&&console[_0x4b97('0xd')](_0x4b97('0x12')),_0x4b97('0x5')===_0x54e437)throw clearInterval(this[_0x4b97('0x39')]),new _0x3f277f('trial-license-key-reached-limit-changes',null);if(_0x4b97('0x38')===_0x54e437)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3f277f(_0x4b97('0x25'),null);if(_0x4b97('0x13')===_0x54e437)throw clearInterval(this[_0x4b97('0x39')]),new _0x3f277f(_0x4b97('0x27'),null);_0x4b97('0x2b')===_0x54e437&&clearInterval(this[_0x4b97('0x39')]);},0x3e8),this[_0x4b97('0x11')]();}get['me'](){return null==this['_myId']?null:this[_0x4b97('0x1a')](this[_0x4b97('0x2a')]);}[_0x4b97('0x21')]({id:_0x525a44,name:_0x28a220,..._0x2a54d4}){if(!_0x525a44||_0x4b97('0x32')!=typeof _0x525a44)throw new _0x3f277f('users-add-invalid-id');if(this[_0x4b97('0x35')][_0x4b97('0xf')](_0x525a44))throw new _0x3f277f(_0x4b97('0x14'),null,{'id':_0x525a44});const _0x398de0={..._0x2a54d4,'id':_0x525a44,'name':a(this[_0x4b97('0x10')],_0x28a220),'color':this[_0x4b97('0xa')]()};_0x398de0['name']=a(this['_locale'],_0x398de0['name']);const _0x38d1de=new User(_0x398de0);return this[_0x4b97('0x35')]['add'](_0x38d1de),_0x38d1de;}[_0x4b97('0x1a')](_0x1ede43){return this[_0x4b97('0x35')][_0x4b97('0xc')](_0x1ede43);}[_0x4b97('0x37')](){const _0x557f43=this[_0x4b97('0x8')][_0x4b97('0x33')][_0x4b97('0xc')](_0x4b97('0x29'));this['_myId']||this[_0x4b97('0x1d')](_0x557f43);}[_0x4b97('0x1d')](_0x4a1d17){if(this[_0x4b97('0x2a')])throw new _0x3f277f(_0x4b97('0x26'),null);if(!this['getUser'](_0x4a1d17))throw new _0x3f277f(_0x4b97('0x1c'),null);this[_0x4b97('0x2a')]=_0x4a1d17;}[_0x4b97('0x24')](){return this['me'];}[_0x4b97('0xb')](){super['destroy'](),clearInterval(this[_0x4b97('0x39')]);}['_getNextColor'](){const _0x21fc93=this[_0x4b97('0x8')][_0x4b97('0x33')]['get'](_0x4b97('0x31'));return this[_0x4b97('0x3a')]>=_0x21fc93&&(this[_0x4b97('0x3a')]=0x0),new u(this[_0x4b97('0x3a')]++);}[_0x4b97('0x11')](){const _0x577cef=this[_0x4b97('0x8')][_0x4b97('0x33')][_0x4b97('0xc')]('users.anonymousUserId');this[_0x4b97('0x21')]({'id':_0x577cef,'name':_0x56d67d(this['_locale'],'Anonymous')})[_0x4b97('0x2c')]=!0x0;}}export class User{constructor(_0x42e029){this['id']=_0x42e029['id'],this[_0x4b97('0x1f')]=_0x42e029['color'],this['name']=_0x42e029[_0x4b97('0x22')],this['avatar']=_0x42e029[_0x4b97('0x23')],this[_0x4b97('0x2c')]=!0x1;}get[_0x4b97('0x28')](){return this[_0x4b97('0x2c')];}get[_0x4b97('0x3')](){const _0xed4a2f=this[_0x4b97('0x22')][_0x4b97('0x17')]('\x20');return 0x1===_0xed4a2f[_0x4b97('0x18')]?this[_0x4b97('0x1e')](_0xed4a2f[0x0]):this[_0x4b97('0x1e')](_0xed4a2f[0x0])+this[_0x4b97('0x1e')](_0xed4a2f[_0xed4a2f[_0x4b97('0x18')]-0x1]);}[_0x4b97('0x1e')](_0x381f63){return _0x381f63[_0x4b97('0x34')](0x0)['toUpperCase']();}}function a(_0x9122be,_0x4dbd7c=''){return''==(_0x4dbd7c=_0x4dbd7c[_0x4b97('0x9')]())?_0x56d67d(_0x9122be,_0x4b97('0x19')):_0x4dbd7c;}class u{constructor(_0x1f675a){this[_0x4b97('0x4')]=_0x1f675a;}['getBackgroundColorClass'](){return _0x4b97('0x7')+this[_0x4b97('0x4')];}[_0x4b97('0x16')](){return _0x4b97('0x15')+this[_0x4b97('0x4')];}[_0x4b97('0x36')](){return _0x4b97('0x2e')+this['_id'];}}
23
+ const _0x3b79=['toUpperCase','info','charAt','users','_licenseKeyCheckInterval','users-add-invalid-id','isAnonymous','anonymous-user','get','users.colorsCount','_id','_locale','string','licenseKey','config','Anonymous','_myId','licenseKeyValid','has','trial-license-key-reached-limit-changes','color','Users','defineMe','_getInitial','includes','licenseKeyTrialLimit:operations','users-me-missing-user','invalid-license-key','getUser','addUser','length','licenseKeyTrialLimit:time','users-me-already-defined','_isAnonymous','avatar','useAnonymousUser','ck-user__selection--','destroy','define','licenseKeyTrialLimit:revisions','users-add-duplicated-id','_getNextColor','getMarkerClass','_lastColor','split','ck-user__bg-color--','licenseKeyInvalid','ck-user__marker--','licenseKeyTrial','context','name','trim','getOperationAuthor','requires','users.anonymousUserId'];(function(_0xe6ba8a,_0x3b79b0){const _0x14b904=function(_0x25c7ee){while(--_0x25c7ee){_0xe6ba8a['push'](_0xe6ba8a['shift']());}};_0x14b904(++_0x3b79b0);}(_0x3b79,0xa0));const _0x14b9=function(_0xe6ba8a,_0x3b79b0){_0xe6ba8a=_0xe6ba8a-0x0;let _0x14b904=_0x3b79[_0xe6ba8a];return _0x14b904;};import{ContextPlugin as _0x3842d9}from'ckeditor5/src/core';import{Collection as _0x1c0ceb,CKEditorError as _0x5bb938}from'ckeditor5/src/utils';import _0x138f34 from'./permissions';import{getTranslation as _0x4ed55e}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3842d9{static get['pluginName'](){return _0x14b9('0x1a');}static get[_0x14b9('0x3')](){return[_0x138f34];}constructor(_0x23f54d){super(_0x23f54d),this[_0x14b9('0x36')][_0x14b9('0x13')][_0x14b9('0x2b')](_0x14b9('0x4'),_0x14b9('0xc')),this[_0x14b9('0x36')]['config']['define'](_0x14b9('0xe'),0x8),this[_0x14b9('0x8')]=new _0x1c0ceb(),this[_0x14b9('0x10')]=_0x23f54d['locale'],this[_0x14b9('0x9')]=null,this['_lastColor']=0x0,this[_0x14b9('0x15')]=null,this['decorate'](_0x14b9('0x2'));}['init'](){const _0x1b7952=this[_0x14b9('0x36')];this[_0x14b9('0x12')]=_0x1b7952['config'][_0x14b9('0xd')](_0x14b9('0x12'));const _0x1afc32=['licenseKeyTrial',_0x14b9('0x33'),_0x14b9('0x16'),'licenseKeyTrialLimit:operations',_0x14b9('0x24'),_0x14b9('0x2c')];this[_0x14b9('0x9')]=setInterval(()=>{let _0x1beb3f;for(const _0x3533ae in _0x1b7952){const _0x44c3a1=_0x1b7952[_0x3533ae];if(_0x1afc32[_0x14b9('0x1d')](_0x44c3a1)){delete _0x1b7952[_0x3533ae],_0x1beb3f=_0x44c3a1;break;}}if('licenseKeyInvalid'===_0x1beb3f)throw clearInterval(this[_0x14b9('0x9')]),new _0x5bb938(_0x14b9('0x20'),null);if(_0x14b9('0x35')===_0x1beb3f&&console[_0x14b9('0x6')]('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.'),_0x14b9('0x1e')===_0x1beb3f)throw clearInterval(this[_0x14b9('0x9')]),new _0x5bb938(_0x14b9('0x18'),null);if('licenseKeyTrialLimit:time'===_0x1beb3f)throw clearInterval(this[_0x14b9('0x9')]),new _0x5bb938('trial-license-key-reached-limit-time',null);if(_0x14b9('0x2c')===_0x1beb3f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5bb938('trial-license-key-reached-limit-revisions',null);_0x14b9('0x16')===_0x1beb3f&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x14b9('0x15')]?null:this['getUser'](this[_0x14b9('0x15')]);}[_0x14b9('0x22')]({id:_0x3ad978,name:_0x5ec2e5,..._0x207ce7}){if(!_0x3ad978||_0x14b9('0x11')!=typeof _0x3ad978)throw new _0x5bb938(_0x14b9('0xa'));if(this[_0x14b9('0x8')][_0x14b9('0x17')](_0x3ad978))throw new _0x5bb938(_0x14b9('0x2d'),null,{'id':_0x3ad978});const _0x374310={..._0x207ce7,'id':_0x3ad978,'name':a(this['_locale'],_0x5ec2e5),'color':this[_0x14b9('0x2e')]()};_0x374310[_0x14b9('0x0')]=a(this[_0x14b9('0x10')],_0x374310['name']);const _0x9c1d87=new User(_0x374310);return this[_0x14b9('0x8')]['add'](_0x9c1d87),_0x9c1d87;}[_0x14b9('0x21')](_0xf9cbc3){return this[_0x14b9('0x8')][_0x14b9('0xd')](_0xf9cbc3);}[_0x14b9('0x28')](){const _0x5a45c2=this[_0x14b9('0x36')][_0x14b9('0x13')]['get'](_0x14b9('0x4'));this[_0x14b9('0x15')]||this[_0x14b9('0x1b')](_0x5a45c2);}[_0x14b9('0x1b')](_0x300e63){if(this[_0x14b9('0x15')])throw new _0x5bb938(_0x14b9('0x25'),null);if(!this[_0x14b9('0x21')](_0x300e63))throw new _0x5bb938(_0x14b9('0x1f'),null);this[_0x14b9('0x15')]=_0x300e63;}[_0x14b9('0x2')](){return this['me'];}[_0x14b9('0x2a')](){super[_0x14b9('0x2a')](),clearInterval(this[_0x14b9('0x9')]);}[_0x14b9('0x2e')](){const _0x395ebb=this['context']['config']['get'](_0x14b9('0xe'));return this['_lastColor']>=_0x395ebb&&(this['_lastColor']=0x0),new u(this[_0x14b9('0x30')]++);}['_addAnonymousUser'](){const _0x2a7847=this[_0x14b9('0x36')]['config'][_0x14b9('0xd')](_0x14b9('0x4'));this['addUser']({'id':_0x2a7847,'name':_0x4ed55e(this[_0x14b9('0x10')],_0x14b9('0x14'))})[_0x14b9('0x26')]=!0x0;}}export class User{constructor(_0x940cc5){this['id']=_0x940cc5['id'],this[_0x14b9('0x19')]=_0x940cc5[_0x14b9('0x19')],this[_0x14b9('0x0')]=_0x940cc5[_0x14b9('0x0')],this[_0x14b9('0x27')]=_0x940cc5[_0x14b9('0x27')],this['_isAnonymous']=!0x1;}get[_0x14b9('0xb')](){return this[_0x14b9('0x26')];}get['initials'](){const _0xb080e2=this[_0x14b9('0x0')][_0x14b9('0x31')]('\x20');return 0x1===_0xb080e2['length']?this[_0x14b9('0x1c')](_0xb080e2[0x0]):this['_getInitial'](_0xb080e2[0x0])+this['_getInitial'](_0xb080e2[_0xb080e2[_0x14b9('0x23')]-0x1]);}[_0x14b9('0x1c')](_0x403ba0){return _0x403ba0[_0x14b9('0x7')](0x0)[_0x14b9('0x5')]();}}function a(_0x38452d,_0x50cb54=''){return''==(_0x50cb54=_0x50cb54[_0x14b9('0x1')]())?_0x4ed55e(_0x38452d,_0x14b9('0x14')):_0x50cb54;}class u{constructor(_0x5adad1){this[_0x14b9('0xf')]=_0x5adad1;}['getBackgroundColorClass'](){return _0x14b9('0x32')+this[_0x14b9('0xf')];}['getSelectionClass'](){return _0x14b9('0x29')+this[_0x14b9('0xf')];}[_0x14b9('0x2f')](){return _0x14b9('0x34')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4db33e,_0x5b0e58){const t=_0x4db33e['t'];switch(_0x5b0e58){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x17d0ef,_0x16d357){const t=_0x17d0ef['t'];switch(_0x16d357){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 _0x5640=['once','message','remove','_removeConfirm','cancel','locale','element','cancelConfirm','focus','render','set','fire','deregisterChild','showConfirm','submit','destroy','confirmView','isConfirm'];(function(_0x145cd0,_0x56404a){var _0x5672d1=function(_0x227697){while(--_0x227697){_0x145cd0['push'](_0x145cd0['shift']());}};_0x5672d1(++_0x56404a);}(_0x5640,0xb9));var _0x5672=function(_0x145cd0,_0x56404a){_0x145cd0=_0x145cd0-0x0;var _0x5672d1=_0x5640[_0x145cd0];return _0x5672d1;};import _0xdf09e0 from'./confirmview';export default function m(_0xc43b1d){return class extends _0xc43b1d{[_0x5672('0x8')](_0x2b4fcf,_0x56927e){return this[_0x5672('0xb')]=new _0xdf09e0(this[_0x5672('0x0')]),this[_0x5672('0xb')][_0x5672('0x4')](),this[_0x5672('0xb')][_0x5672('0xe')]=_0x2b4fcf,this[_0x5672('0xb')][_0x5672('0xd')]('cancel',()=>{this[_0x5672('0x10')]();}),this[_0x5672('0xb')]['once'](_0x5672('0x9'),()=>{this[_0x5672('0x10')]();}),_0x56927e['appendChild'](this[_0x5672('0xb')][_0x5672('0x1')]),this['registerChild'](this[_0x5672('0xb')]),this[_0x5672('0x1')][_0x5672('0x3')](),this[_0x5672('0x5')]('isConfirm',!0x0),new Promise(_0x36322e=>this[_0x5672('0xb')]['on'](_0x5672('0x9'),_0x36322e));}[_0x5672('0x2')](){this['isConfirm']&&this['confirmView'][_0x5672('0x6')](_0x5672('0x11'));}['_removeConfirm'](){this[_0x5672('0x1')]&&this['confirmView']&&this[_0x5672('0xb')][_0x5672('0x1')]&&(this[_0x5672('0x1')][_0x5672('0x3')](),this['confirmView']['element'][_0x5672('0xf')](),this[_0x5672('0x7')](this['confirmView']),this[_0x5672('0xc')]=!0x1,this[_0x5672('0xb')][_0x5672('0xa')](),this[_0x5672('0xb')]=void 0x0);}};}
23
+ var _0x3f30=['destroy','isConfirm','render','message','cancel','registerChild','element','_removeConfirm','fire','appendChild','locale','submit','confirmView','once','focus'];(function(_0x14c805,_0x3f30af){var _0x3bb324=function(_0x4c1f0f){while(--_0x4c1f0f){_0x14c805['push'](_0x14c805['shift']());}};_0x3bb324(++_0x3f30af);}(_0x3f30,0xbb));var _0x3bb3=function(_0x14c805,_0x3f30af){_0x14c805=_0x14c805-0x0;var _0x3bb324=_0x3f30[_0x14c805];return _0x3bb324;};import _0x215f44 from'./confirmview';export default function m(_0x94deb7){return class extends _0x94deb7{['showConfirm'](_0x3ce18c,_0x87127d){return this[_0x3bb3('0x5')]=new _0x215f44(this[_0x3bb3('0x3')]),this[_0x3bb3('0x5')][_0x3bb3('0xa')](),this[_0x3bb3('0x5')][_0x3bb3('0xb')]=_0x3ce18c,this[_0x3bb3('0x5')][_0x3bb3('0x6')](_0x3bb3('0xc'),()=>{this[_0x3bb3('0x0')]();}),this[_0x3bb3('0x5')][_0x3bb3('0x6')](_0x3bb3('0x4'),()=>{this['_removeConfirm']();}),_0x87127d[_0x3bb3('0x2')](this['confirmView']['element']),this[_0x3bb3('0xd')](this[_0x3bb3('0x5')]),this[_0x3bb3('0xe')][_0x3bb3('0x7')](),this['set'](_0x3bb3('0x9'),!0x0),new Promise(_0x2f1dcb=>this[_0x3bb3('0x5')]['on'](_0x3bb3('0x4'),_0x2f1dcb));}['cancelConfirm'](){this['isConfirm']&&this[_0x3bb3('0x5')][_0x3bb3('0x1')](_0x3bb3('0xc'));}[_0x3bb3('0x0')](){this['element']&&this[_0x3bb3('0x5')]&&this[_0x3bb3('0x5')][_0x3bb3('0xe')]&&(this[_0x3bb3('0xe')]['focus'](),this['confirmView'][_0x3bb3('0xe')]['remove'](),this['deregisterChild'](this['confirmView']),this[_0x3bb3('0x9')]=!0x1,this[_0x3bb3('0x5')][_0x3bb3('0x8')](),this[_0x3bb3('0x5')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54b4=['Yes','ck-thread__remove-confirm-actions','cancelView','fire','ck-thread__remove-confirm-','check','div','message','submit','submitView','set','Are\x20you\x20sure?','execute','label','cancel','ck-thread__remove-confirm-inner','setTemplate','_createButtonView','ck-thread__remove-confirm'];(function(_0x41f149,_0x54b409){const _0xb3f76=function(_0x6fb4c5){while(--_0x6fb4c5){_0x41f149['push'](_0x41f149['shift']());}};_0xb3f76(++_0x54b409);}(_0x54b4,0x179));const _0xb3f7=function(_0x41f149,_0x54b409){_0x41f149=_0x41f149-0x0;let _0xb3f76=_0x54b4[_0x41f149];return _0xb3f76;};import{View as _0x40f136,ButtonView as _0x3fe0c4}from'ckeditor5/src/ui';import{icons as _0x27cca8}from'ckeditor5/src/core';import{getTranslation as _0xab5510}from'./common-translations';export default class h extends _0x40f136{constructor(_0x53222a){super(_0x53222a);const _0x1c0295=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x53222a,_0xab5510(_0x53222a,_0xb3f7('0x3')),_0x27cca8[_0xb3f7('0x8')],_0xb3f7('0xb')),this[_0xb3f7('0x5')]=this[_0xb3f7('0x1')](_0x53222a,_0xab5510(_0x53222a,'No'),_0x27cca8[_0xb3f7('0x11')],_0xb3f7('0x11')),this[_0xb3f7('0xd')]('message',_0xab5510(_0x53222a,_0xb3f7('0xe'))),this[_0xb3f7('0x0')]({'tag':_0xb3f7('0x9'),'attributes':{'class':[_0xb3f7('0x2')]},'children':[{'tag':_0xb3f7('0x9'),'attributes':{'class':_0xb3f7('0x12')},'children':[{'tag':'p','children':[{'text':_0x1c0295['to'](_0xb3f7('0xa'))}]},{'tag':_0xb3f7('0x9'),'attributes':{'class':_0xb3f7('0x4')},'children':[this[_0xb3f7('0xc')],this[_0xb3f7('0x5')]]}]}]});}[_0xb3f7('0x1')](_0x40350e,_0x3de2c8,_0x4bc221,_0x45cad1){const _0x2848b3=new _0x3fe0c4(_0x40350e);return _0x2848b3[_0xb3f7('0x10')]=_0x3de2c8,_0x2848b3['icon']=_0x4bc221,_0x2848b3['extendTemplate']({'attributes':{'class':_0xb3f7('0x7')+_0x45cad1}}),_0x2848b3['on'](_0xb3f7('0xf'),()=>this[_0xb3f7('0x6')](_0x45cad1)),_0x2848b3;}}
23
+ const _0x2cef=['submitView','ck-thread__remove-confirm','div','setTemplate','check','message','bindTemplate','icon','cancel','set','label','cancelView','Yes','_createButtonView'];(function(_0x19f8ff,_0x2ceff1){const _0xfb290e=function(_0x4e1c83){while(--_0x4e1c83){_0x19f8ff['push'](_0x19f8ff['shift']());}};_0xfb290e(++_0x2ceff1);}(_0x2cef,0xd1));const _0xfb29=function(_0x19f8ff,_0x2ceff1){_0x19f8ff=_0x19f8ff-0x0;let _0xfb290e=_0x2cef[_0x19f8ff];return _0xfb290e;};import{View as _0x4c0e5f,ButtonView as _0x2cfd43}from'ckeditor5/src/ui';import{icons as _0x23b22b}from'ckeditor5/src/core';import{getTranslation as _0x5e4758}from'./common-translations';export default class h extends _0x4c0e5f{constructor(_0x1c1a22){super(_0x1c1a22);const _0x1e548e=this[_0xfb29('0x7')];this[_0xfb29('0x1')]=this[_0xfb29('0x0')](_0x1c1a22,_0x5e4758(_0x1c1a22,_0xfb29('0xd')),_0x23b22b[_0xfb29('0x5')],'submit'),this[_0xfb29('0xc')]=this['_createButtonView'](_0x1c1a22,_0x5e4758(_0x1c1a22,'No'),_0x23b22b[_0xfb29('0x9')],'cancel'),this[_0xfb29('0xa')](_0xfb29('0x6'),_0x5e4758(_0x1c1a22,'Are\x20you\x20sure?')),this[_0xfb29('0x4')]({'tag':_0xfb29('0x3'),'attributes':{'class':[_0xfb29('0x2')]},'children':[{'tag':_0xfb29('0x3'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x1e548e['to'](_0xfb29('0x6'))}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0xfb29('0xc')]]}]}]});}[_0xfb29('0x0')](_0x25349c,_0xf4f174,_0x57e46e,_0x35df6f){const _0x4a4af1=new _0x2cfd43(_0x25349c);return _0x4a4af1[_0xfb29('0xb')]=_0xf4f174,_0x4a4af1[_0xfb29('0x8')]=_0x57e46e,_0x4a4af1['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x35df6f}}),_0x4a4af1['on']('execute',()=>this['fire'](_0x35df6f)),_0x4a4af1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a92=['MM-dd-yyyy\x20hh:mma','dateTimeFormat','string','invalid-date-time-format','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma'];(function(_0x43a159,_0x3a9256){const _0x1082b1=function(_0x42b303){while(--_0x42b303){_0x43a159['push'](_0x43a159['shift']());}};_0x1082b1(++_0x3a9256);}(_0x3a92,0x180));const _0x1082=function(_0x43a159,_0x3a9256){_0x43a159=_0x43a159-0x0;let _0x1082b1=_0x3a92[_0x43a159];return _0x1082b1;};import _0x21b8e5 from'date-fns/format';import _0x77750d from'date-fns/parseISO';import _0x4fd86d from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x446f63}from'ckeditor5/src/utils';export default function E(_0x32db15={}){if(void 0x0!==_0x32db15[_0x1082('0x2')]&&'function'!=typeof _0x32db15[_0x1082('0x2')])throw new _0x446f63(_0x1082('0x4'));return _0x84803b=>{const _0x4a7131=_0x1082('0x3')==typeof _0x84803b?_0x77750d(_0x84803b):_0x84803b,_0x2dbca7=new Date(),_0x702f15=_0x4fd86d(_0x2dbca7,_0x4a7131);return _0x32db15[_0x1082('0x2')]?_0x32db15['dateTimeFormat'](_0x4a7131):_0x21b8e5(_0x4a7131,0x0===_0x702f15?_0x1082('0x5'):0x1===_0x702f15?_0x1082('0x0'):_0x702f15<0x7?_0x1082('0x6'):_0x1082('0x1'));};}
23
+ const _0x2265=['\x27Today\x27\x20hh:mma','invalid-date-time-format','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','string','function'];(function(_0x2f4642,_0x2265ea){const _0x3420a7=function(_0x453433){while(--_0x453433){_0x2f4642['push'](_0x2f4642['shift']());}};_0x3420a7(++_0x2265ea);}(_0x2265,0x12a));const _0x3420=function(_0x2f4642,_0x2265ea){_0x2f4642=_0x2f4642-0x0;let _0x3420a7=_0x2265[_0x2f4642];return _0x3420a7;};import _0x210147 from'date-fns/format';import _0x3f7a75 from'date-fns/parseISO';import _0x53b375 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2985f4}from'ckeditor5/src/utils';export default function E(_0x197347={}){if(void 0x0!==_0x197347['dateTimeFormat']&&_0x3420('0x5')!=typeof _0x197347[_0x3420('0x0')])throw new _0x2985f4(_0x3420('0x7'));return _0x72041e=>{const _0x4101d7=_0x3420('0x4')==typeof _0x72041e?_0x3f7a75(_0x72041e):_0x72041e,_0x41f560=new Date(),_0x25024c=_0x53b375(_0x41f560,_0x4101d7);return _0x197347[_0x3420('0x0')]?_0x197347[_0x3420('0x0')](_0x4101d7):_0x210147(_0x4101d7,0x0===_0x25024c?_0x3420('0x6'):0x1===_0x25024c?_0x3420('0x1'):_0x25024c<0x7?_0x3420('0x2'):_0x3420('0x3'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c0e=['view','mapper','length','values','getClientRects','map','push','sort','mapViewToDom','domElement','domConverter','name','markerNameToElements','filter'];(function(_0x3083e8,_0x4c0e0c){const _0xf3d5e5=function(_0xe63f6a){while(--_0xe63f6a){_0x3083e8['push'](_0x3083e8['shift']());}};_0xf3d5e5(++_0x4c0e0c);}(_0x4c0e,0x12f));const _0xf3d5=function(_0x3083e8,_0x4c0e0c){_0x3083e8=_0x3083e8-0x0;let _0xf3d5e5=_0x4c0e[_0x3083e8];return _0xf3d5e5;};import{first as _0x5c982a}from'ckeditor5/src/utils';export default function k(_0x36f0d5,_0x4ccc69){const _0x6485bb=_0x36f0d5[_0xf3d5('0x6')][_0xf3d5('0x3')](_0x4ccc69[_0xf3d5('0x2')]);if(!_0x6485bb)return null;const _0x2e570d=_0x5c982a(_0x6485bb[_0xf3d5('0x8')]());return _0x36f0d5[_0xf3d5('0x5')][_0xf3d5('0x1')][_0xf3d5('0xd')](_0x2e570d)||null;}export function getAllMarkersDomElementsSorted(_0x4fc394,_0xb5197){if(0x0===_0xb5197[_0xf3d5('0x7')])return null;const _0x5577f4=[],_0x5c4943=_0x4fc394[_0xf3d5('0x5')][_0xf3d5('0x1')];for(const _0x3dc999 of _0xb5197){const _0x841312=_0x4fc394[_0xf3d5('0x6')][_0xf3d5('0x3')](_0x3dc999[_0xf3d5('0x2')]);if(!_0x841312)continue;const _0x228aa6=Array['from'](_0x841312)[_0xf3d5('0xa')](_0x37c4f1=>_0x5c4943['mapViewToDom'](_0x37c4f1))[_0xf3d5('0x4')](_0xb72b63=>!!_0xb72b63);_0x5577f4[_0xf3d5('0xb')](..._0x228aa6);}if(0x0===_0x5577f4[_0xf3d5('0x7')])return null;const _0x4dd263=[];for(const _0x5bb435 of _0x5577f4){const _0x2ccb3a=_0x5bb435[_0xf3d5('0x9')]()['item'](0x0);_0x2ccb3a&&_0x4dd263[_0xf3d5('0xb')]({'x':_0x2ccb3a['x'],'y':_0x2ccb3a['y'],'domElement':_0x5bb435});}return 0x0===_0x4dd263['length']?null:(_0x4dd263[_0xf3d5('0xc')]((_0x30681f,_0x30185f)=>_0x30681f['y']-_0x30185f['y']||_0x30681f['x']-_0x30185f['x']),_0x4dd263['map'](_0xf9059c=>_0xf9059c[_0xf3d5('0x0')]));}
23
+ const _0x2dd2=['mapper','domElement','from','view','filter','name','item','domConverter','values','mapViewToDom','length','markerNameToElements','map','sort','push'];(function(_0x34ef7f,_0x2dd20c){const _0x24509e=function(_0x31ee93){while(--_0x31ee93){_0x34ef7f['push'](_0x34ef7f['shift']());}};_0x24509e(++_0x2dd20c);}(_0x2dd2,0x142));const _0x2450=function(_0x34ef7f,_0x2dd20c){_0x34ef7f=_0x34ef7f-0x0;let _0x24509e=_0x2dd2[_0x34ef7f];return _0x24509e;};import{first as _0x46db6a}from'ckeditor5/src/utils';export default function k(_0x419afa,_0x32dbb9){const _0x17238a=_0x419afa[_0x2450('0x8')]['markerNameToElements'](_0x32dbb9[_0x2450('0xd')]);if(!_0x17238a)return null;const _0x2c4b2f=_0x46db6a(_0x17238a[_0x2450('0x1')]());return _0x419afa[_0x2450('0xb')][_0x2450('0x0')][_0x2450('0x2')](_0x2c4b2f)||null;}export function getAllMarkersDomElementsSorted(_0x561694,_0x258f07){if(0x0===_0x258f07[_0x2450('0x3')])return null;const _0x17b27b=[],_0x2433c4=_0x561694[_0x2450('0xb')]['domConverter'];for(const _0xf11406 of _0x258f07){const _0x5adb7b=_0x561694[_0x2450('0x8')][_0x2450('0x4')](_0xf11406[_0x2450('0xd')]);if(!_0x5adb7b)continue;const _0x535f59=Array[_0x2450('0xa')](_0x5adb7b)[_0x2450('0x5')](_0x2acb0d=>_0x2433c4[_0x2450('0x2')](_0x2acb0d))[_0x2450('0xc')](_0x2e30a0=>!!_0x2e30a0);_0x17b27b[_0x2450('0x7')](..._0x535f59);}if(0x0===_0x17b27b[_0x2450('0x3')])return null;const _0x649529=[];for(const _0x397e5d of _0x17b27b){const _0x49c2d3=_0x397e5d['getClientRects']()[_0x2450('0xe')](0x0);_0x49c2d3&&_0x649529[_0x2450('0x7')]({'x':_0x49c2d3['x'],'y':_0x49c2d3['y'],'domElement':_0x397e5d});}return 0x0===_0x649529['length']?null:(_0x649529[_0x2450('0x6')]((_0x21e681,_0x6fd0fd)=>_0x21e681['y']-_0x6fd0fd['y']||_0x21e681['x']-_0x6fd0fd['x']),_0x649529['map'](_0x59f1e0=>_0x59f1e0[_0x2450('0x9')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x471a=['sort','object','charCodeAt','isArray','keys','number','string'];(function(_0x26184e,_0x471a40){const _0x2b448d=function(_0xa34afa){while(--_0xa34afa){_0x26184e['push'](_0x26184e['shift']());}};_0x2b448d(++_0x471a40);}(_0x471a,0x104));const _0x2b44=function(_0x26184e,_0x471a40){_0x26184e=_0x26184e-0x0;let _0x2b448d=_0x471a[_0x26184e];return _0x2b448d;};export default function b(_0x34e29b){let _0x130795=0x0,_0x5a9498=0x0;for(const _0x3f5d4a of g(_0x34e29b))_0x130795=(_0x130795<<0x5)-_0x130795+_0x3f5d4a,_0x130795&=_0x130795,[_0x130795,_0x5a9498]=[_0x5a9498,_0x130795];return O(_0x130795)+O(_0x5a9498);}function*j(_0x2e448a){_0x2e448a?'boolean'==typeof _0x2e448a?yield 0x1:Array[_0x2b44('0x2')](_0x2e448a)?yield*function*(_0x4e4491){for(const _0x5c2bbc of _0x4e4491)yield*j(_0x5c2bbc);}(_0x2e448a):_0x2b44('0x0')==typeof _0x2e448a?yield*g(_0x2e448a):_0x2b44('0x5')==typeof _0x2e448a?yield*A(_0x2e448a):_0x2b44('0x4')==typeof _0x2e448a&&(yield _0x2e448a):yield 0x0;}function*g(_0x59f7c6){if(yield M('{'),_0x59f7c6){const _0x3d60a6=Object[_0x2b44('0x3')](_0x59f7c6)[_0x2b44('0x6')]();for(const _0x201ecc of _0x3d60a6){yield*A(_0x201ecc),yield M(':');const _0x4772f3=_0x59f7c6[_0x201ecc];yield*j(_0x4772f3);}}yield M('}');}function*A(_0x4598c1){yield M('\x22');for(const _0x2f4ed8 of _0x4598c1)yield M(_0x2f4ed8);yield M('\x22');}function M(_0x480f7f){return _0x480f7f[_0x2b44('0x1')](0x0);}function O(_0x58813e){return(_0x58813e*=Math['sign'](_0x58813e))['toString'](0x24);}
23
+ const _0x2431=['boolean','keys','sign','string','object','isArray','toString','charCodeAt','number'];(function(_0x513955,_0x243157){const _0x4984dc=function(_0x116d9d){while(--_0x116d9d){_0x513955['push'](_0x513955['shift']());}};_0x4984dc(++_0x243157);}(_0x2431,0x1b9));const _0x4984=function(_0x513955,_0x243157){_0x513955=_0x513955-0x0;let _0x4984dc=_0x2431[_0x513955];return _0x4984dc;};export default function b(_0x4a60ea){let _0x1527d3=0x0,_0x195f77=0x0;for(const _0x9345ac of g(_0x4a60ea))_0x1527d3=(_0x1527d3<<0x5)-_0x1527d3+_0x9345ac,_0x1527d3&=_0x1527d3,[_0x1527d3,_0x195f77]=[_0x195f77,_0x1527d3];return O(_0x1527d3)+O(_0x195f77);}function*j(_0x553433){_0x553433?_0x4984('0x0')==typeof _0x553433?yield 0x1:Array[_0x4984('0x5')](_0x553433)?yield*function*(_0x5583b7){for(const _0x19af5d of _0x5583b7)yield*j(_0x19af5d);}(_0x553433):_0x4984('0x4')==typeof _0x553433?yield*g(_0x553433):_0x4984('0x3')==typeof _0x553433?yield*A(_0x553433):_0x4984('0x8')==typeof _0x553433&&(yield _0x553433):yield 0x0;}function*g(_0x3f7582){if(yield M('{'),_0x3f7582){const _0x332390=Object[_0x4984('0x1')](_0x3f7582)['sort']();for(const _0x1b3a91 of _0x332390){yield*A(_0x1b3a91),yield M(':');const _0x38172c=_0x3f7582[_0x1b3a91];yield*j(_0x38172c);}}yield M('}');}function*A(_0x370033){yield M('\x22');for(const _0x4e33e2 of _0x370033)yield M(_0x4e33e2);yield M('\x22');}function M(_0x1a8b67){return _0x1a8b67[_0x4984('0x7')](0x0);}function O(_0x3658ae){return(_0x3658ae*=Math[_0x4984('0x2')](_0x3658ae))[_0x4984('0x6')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4747=['builtinPlugins','map','get','extraPlugins','WProofreader','pluginName','includes','toolbar','set','context','constructor','has','requires','DocumentOutline','removePlugins','Autosave','concat','plugins','length','string','from','find','_context','config','every','name'];(function(_0x14f786,_0x474781){const _0x282a9c=function(_0x1b9453){while(--_0x1b9453){_0x14f786['push'](_0x14f786['shift']());}};_0x282a9c(++_0x474781);}(_0x4747,0xbc));const _0x282a=function(_0x14f786,_0x474781){_0x14f786=_0x14f786-0x0;let _0x282a9c=_0x4747[_0x14f786];return _0x282a9c;};const w=['initialData',_0x282a('0x3'),_0x282a('0x1'),'rootsAttributes'],W=['WebSocketGateway','RevisionTracker',_0x282a('0x9'),'WordCount',_0x282a('0x7'),_0x282a('0x18')];function v(_0x35be8e,_0x2be077,_0x315da2,_0x3af824=[]){const _0x15bbf0=_0x282a('0xd')==typeof _0x35be8e?_0x315da2[_0x282a('0x16')](_0x35be8e)[_0x282a('0x4')]:_0x35be8e,_0x396629=_0x15bbf0['pluginName']||_0x15bbf0[_0x282a('0x13')];if(_0x2be077[_0x282a('0x5')](_0x396629))return _0x2be077[_0x282a('0x16')](_0x396629);if(_0x2be077[_0x282a('0x2')](_0x396629,!0x0),_0x396629&&W[_0x282a('0xa')](_0x3af824)[_0x282a('0x0')](_0x396629))return _0x2be077[_0x282a('0x2')](_0x396629,!0x1),!0x1;if(!_0x15bbf0[_0x282a('0x6')])return _0x2be077[_0x282a('0x2')](_0x396629,!0x0),!0x0;const _0x3ba292=_0x15bbf0[_0x282a('0x6')][_0x282a('0x12')](_0x4947e1=>v(_0x4947e1,_0x2be077,_0x315da2,_0x3af824));return _0x2be077[_0x282a('0x2')](_0x396629,_0x3ba292),_0x3ba292;}export default function D(_0x11ec0d,_0x33ff92){const _0x18b272={};for(const _0x1f8b7f of _0x11ec0d[_0x282a('0x11')]['names']())w[_0x282a('0x0')](_0x1f8b7f)||(_0x18b272[_0x1f8b7f]=_0x11ec0d[_0x282a('0x11')][_0x282a('0x16')](_0x1f8b7f));const _0x5881a1=_0x18b272[_0x282a('0xb')]||[],_0x82fe5c=_0x11ec0d['constructor'][_0x282a('0x14')]||[],_0x6651d6=_0x5881a1[_0x282a('0xc')]?_0x5881a1:_0x82fe5c,_0x38df59=_0x18b272['extraPlugins']||[];delete _0x18b272[_0x282a('0x17')];const _0x347313=_0x18b272['removePlugins']||[];delete _0x18b272[_0x282a('0x8')];const _0x50c007=_0x11ec0d[_0x282a('0x10')][_0x282a('0x11')][_0x282a('0x16')](_0x282a('0xb'))||[],_0x4a18c2=_0x6651d6['concat'](_0x38df59)[_0x282a('0xa')](_0x50c007)[_0x282a('0x15')](_0x550b50=>_0x282a('0xd')==typeof _0x550b50?_0x82fe5c[_0x282a('0xf')](_0x4c116e=>_0x4c116e[_0x282a('0x19')]==_0x550b50):_0x550b50)['filter'](_0x3a3968=>!_0x347313[_0x282a('0x0')](_0x3a3968)&&!_0x347313[_0x282a('0x0')](_0x3a3968[_0x282a('0x19')])),_0x109dce=Array[_0x282a('0xe')](new Set(_0x4a18c2)),_0x356f31=new Map();return _0x18b272[_0x282a('0xb')]=_0x109dce['filter'](_0x14eb06=>v(_0x14eb06,_0x356f31,_0x11ec0d['plugins'],_0x33ff92)),_0x18b272;}
23
+ const _0x38d6=['requires','concat','extraPlugins','WProofreader','WordCount','constructor','set','filter','get','map','builtinPlugins','pluginName','string','config','plugins','WebSocketGateway','from','includes','context','_context','find','names','rootsAttributes','every'];(function(_0x24fbdb,_0x38d6a2){const _0x2fc42a=function(_0x4a5ea5){while(--_0x4a5ea5){_0x24fbdb['push'](_0x24fbdb['shift']());}};_0x2fc42a(++_0x38d6a2);}(_0x38d6,0xff));const _0x2fc4=function(_0x24fbdb,_0x38d6a2){_0x24fbdb=_0x24fbdb-0x0;let _0x2fc42a=_0x38d6[_0x24fbdb];return _0x2fc42a;};const w=['initialData',_0x2fc4('0x3'),'toolbar',_0x2fc4('0x7')],W=[_0x2fc4('0x0'),'RevisionTracker','Autosave',_0x2fc4('0xd'),'DocumentOutline',_0x2fc4('0xc')];function v(_0x2a53fa,_0x408bc6,_0x464820,_0x14ca5a=[]){const _0x59cfa5=_0x2fc4('0x15')==typeof _0x2a53fa?_0x464820['get'](_0x2a53fa)['constructor']:_0x2a53fa,_0x194f37=_0x59cfa5[_0x2fc4('0x14')]||_0x59cfa5['name'];if(_0x408bc6['has'](_0x194f37))return _0x408bc6[_0x2fc4('0x11')](_0x194f37);if(_0x408bc6[_0x2fc4('0xf')](_0x194f37,!0x0),_0x194f37&&W[_0x2fc4('0xa')](_0x14ca5a)[_0x2fc4('0x2')](_0x194f37))return _0x408bc6[_0x2fc4('0xf')](_0x194f37,!0x1),!0x1;if(!_0x59cfa5[_0x2fc4('0x9')])return _0x408bc6[_0x2fc4('0xf')](_0x194f37,!0x0),!0x0;const _0x2fc9bf=_0x59cfa5[_0x2fc4('0x9')][_0x2fc4('0x8')](_0x424bf4=>v(_0x424bf4,_0x408bc6,_0x464820,_0x14ca5a));return _0x408bc6[_0x2fc4('0xf')](_0x194f37,_0x2fc9bf),_0x2fc9bf;}export default function D(_0x751d8,_0x420b10){const _0xfe037e={};for(const _0x235fb3 of _0x751d8[_0x2fc4('0x16')][_0x2fc4('0x6')]())w[_0x2fc4('0x2')](_0x235fb3)||(_0xfe037e[_0x235fb3]=_0x751d8[_0x2fc4('0x16')][_0x2fc4('0x11')](_0x235fb3));const _0x505d9f=_0xfe037e['plugins']||[],_0x300ec0=_0x751d8[_0x2fc4('0xe')][_0x2fc4('0x13')]||[],_0x37d7f9=_0x505d9f['length']?_0x505d9f:_0x300ec0,_0x59a439=_0xfe037e[_0x2fc4('0xb')]||[];delete _0xfe037e[_0x2fc4('0xb')];const _0x140071=_0xfe037e['removePlugins']||[];delete _0xfe037e['removePlugins'];const _0x4fec6f=_0x751d8[_0x2fc4('0x4')][_0x2fc4('0x16')][_0x2fc4('0x11')](_0x2fc4('0x17'))||[],_0x15ea9f=_0x37d7f9[_0x2fc4('0xa')](_0x59a439)[_0x2fc4('0xa')](_0x4fec6f)[_0x2fc4('0x12')](_0x12717b=>_0x2fc4('0x15')==typeof _0x12717b?_0x300ec0[_0x2fc4('0x5')](_0x47211b=>_0x47211b[_0x2fc4('0x14')]==_0x12717b):_0x12717b)[_0x2fc4('0x10')](_0x5547e2=>!_0x140071[_0x2fc4('0x2')](_0x5547e2)&&!_0x140071[_0x2fc4('0x2')](_0x5547e2['pluginName'])),_0xdfab11=Array[_0x2fc4('0x1')](new Set(_0x15ea9f)),_0x1e3f9f=new Map();return _0xfe037e[_0x2fc4('0x17')]=_0xdfab11[_0x2fc4('0x10')](_0x339f73=>v(_0x339f73,_0x1e3f9f,_0x751d8[_0x2fc4('0x17')],_0x420b10)),_0xfe037e;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bc9=['change:range','document','containsPosition','length','getRange','markers','focus','push','includes','isEqual','end'];(function(_0x2b3159,_0x5bc97c){const _0x2f3a07=function(_0x12acb){while(--_0x12acb){_0x2b3159['push'](_0x2b3159['shift']());}};_0x2f3a07(++_0x5bc97c);}(_0x5bc9,0x119));const _0x2f3a=function(_0x2b3159,_0x5bc97c){_0x2b3159=_0x2b3159-0x0;let _0x2f3a07=_0x5bc9[_0x2b3159];return _0x2f3a07;};export default function q(_0x4dc58d,_0xd6cba6){const _0x2cec9e=[];_0x4dc58d[_0x2f3a('0x6')]['selection']['on'](_0x2f3a('0x5'),()=>{const _0xfefaaa=function(_0x3122bc,_0xec983d){const _0x154df1=[];for(const _0x4fb12b of _0x3122bc[_0x2f3a('0xa')]){const _0x16bd52=_0x4fb12b[_0x2f3a('0x9')]();(_0x16bd52[_0x2f3a('0x7')](_0xec983d)||_0x16bd52['start'][_0x2f3a('0x3')](_0xec983d)||_0x16bd52[_0x2f3a('0x4')]['isEqual'](_0xec983d))&&_0x154df1[_0x2f3a('0x1')](_0x4fb12b);}return _0x154df1;}(_0x4dc58d,_0x4dc58d[_0x2f3a('0x6')]['selection'][_0x2f3a('0x0')]),_0xc696b1=[],_0x525eaa=[],_0x5434d7=[];for(const _0xd2eb96 of _0x2cec9e)_0xfefaaa[_0x2f3a('0x2')](_0xd2eb96)||_0xc696b1[_0x2f3a('0x1')](_0xd2eb96);for(const _0x31d3d6 of _0xfefaaa)_0x2cec9e[_0x2f3a('0x2')](_0x31d3d6)||_0x525eaa['push'](_0x31d3d6),_0x5434d7[_0x2f3a('0x1')](_0x31d3d6);(_0xc696b1[_0x2f3a('0x8')]||_0x525eaa[_0x2f3a('0x8')])&&_0xd6cba6({'left':_0xc696b1,'entered':_0x525eaa}),_0x2cec9e['length']=0x0,_0x2cec9e['push'](..._0x5434d7);});}
23
+ const _0x5ee0=['start','containsPosition','selection','change:range','length','focus','end','markers','push','getRange','isEqual'];(function(_0x529902,_0x5ee065){const _0x5422f7=function(_0x3ec3a9){while(--_0x3ec3a9){_0x529902['push'](_0x529902['shift']());}};_0x5422f7(++_0x5ee065);}(_0x5ee0,0x1bf));const _0x5422=function(_0x529902,_0x5ee065){_0x529902=_0x529902-0x0;let _0x5422f7=_0x5ee0[_0x529902];return _0x5422f7;};export default function q(_0x26a732,_0x22ea4f){const _0x4d460d=[];_0x26a732['document'][_0x5422('0x6')]['on'](_0x5422('0x7'),()=>{const _0x33f1a3=function(_0x5e1d0e,_0x97fa5d){const _0x3cc3a5=[];for(const _0x50f66a of _0x5e1d0e[_0x5422('0x0')]){const _0x57ac2e=_0x50f66a[_0x5422('0x2')]();(_0x57ac2e[_0x5422('0x5')](_0x97fa5d)||_0x57ac2e[_0x5422('0x4')][_0x5422('0x3')](_0x97fa5d)||_0x57ac2e[_0x5422('0xa')][_0x5422('0x3')](_0x97fa5d))&&_0x3cc3a5[_0x5422('0x1')](_0x50f66a);}return _0x3cc3a5;}(_0x26a732,_0x26a732['document'][_0x5422('0x6')][_0x5422('0x9')]),_0x3fd055=[],_0x33824d=[],_0x3b8530=[];for(const _0x4e5d75 of _0x4d460d)_0x33f1a3['includes'](_0x4e5d75)||_0x3fd055[_0x5422('0x1')](_0x4e5d75);for(const _0x5916d3 of _0x33f1a3)_0x4d460d['includes'](_0x5916d3)||_0x33824d[_0x5422('0x1')](_0x5916d3),_0x3b8530[_0x5422('0x1')](_0x5916d3);(_0x3fd055[_0x5422('0x8')]||_0x33824d[_0x5422('0x8')])&&_0x22ea4f({'left':_0x3fd055,'entered':_0x33824d}),_0x4d460d[_0x5422('0x8')]=0x0,_0x4d460d[_0x5422('0x1')](..._0x3b8530);});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2871=['startsWith','indexOf','length','push','match','replace','join','...','slice','split','substring'];(function(_0x2cef31,_0x287194){const _0x24f665=function(_0x20c651){while(--_0x20c651){_0x2cef31['push'](_0x2cef31['shift']());}};_0x24f665(++_0x287194);}(_0x2871,0x120));const _0x24f6=function(_0x2cef31,_0x287194){_0x2cef31=_0x2cef31-0x0;let _0x24f665=_0x2871[_0x2cef31];return _0x24f665;};export default function z(_0x564af1,{limit:_0x37fc39,suffix:_0x25c293=_0x24f6('0x5')}){const _0xb6f78=[];let _0x143441=0x0;const _0x5af57e=_0x564af1['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x24f6('0x3')](/^\n/g,'')[_0x24f6('0x3')](/\n$/g,'')[_0x24f6('0x7')]('\x0a');for(let _0x9614ee=0x0;_0x9614ee<_0x5af57e[_0x24f6('0x0')];_0x9614ee++){let _0x1c7731=_0x5af57e[_0x9614ee];const _0x4431e0=Z(_0x1c7731);if(_0x1c7731[_0x24f6('0x9')]('<')){if(_0x143441>=_0x37fc39){const _0x5992f8=_0x1c7731['match'](/[a-zA-Z]+/);if(!_0x5992f8){_0x5af57e[_0x9614ee]='';continue;}const _0x2f7f5c=_0x5992f8[0x0];_0x1c7731['startsWith']('</')?(_0xb6f78[_0x24f6('0x0')]&&(_0x1c7731=''),_0xb6f78['pop']()):(_0xb6f78[_0x24f6('0x1')](_0x2f7f5c),_0x1c7731='');}}else{if(_0x143441>=_0x37fc39)_0x1c7731='';else{if(_0x143441+_0x4431e0[_0x24f6('0x0')]>=_0x37fc39){let _0x4692ce=_0x37fc39-_0x143441;if('\x20'===_0x4431e0[_0x4692ce-0x1])_0x4692ce--;else{const _0x305633=_0x4431e0['slice'](_0x4692ce)[_0x24f6('0xa')]('\x20');-0x1!==_0x305633?_0x4692ce+=_0x305633:_0x4692ce=_0x1c7731[_0x24f6('0x0')];}_0x1c7731=_0x4431e0[_0x24f6('0x6')](0x0,_0x4692ce)['join']('')+_0x25c293,_0x143441=_0x37fc39;}else _0x143441+=_0x4431e0[_0x24f6('0x0')];}}_0x5af57e[_0x9614ee]=_0x1c7731;}return _0x5af57e[_0x24f6('0x4')]('\x0a')[_0x24f6('0x3')](/\n/g,'');}function Z(_0x44dd08){const _0x183b7c=[];for(let _0x151732=0x0;_0x151732<_0x44dd08[_0x24f6('0x0')];_0x151732++){const _0x1b1fb5=_0x44dd08[_0x24f6('0x8')](_0x151732)[_0x24f6('0x2')](/^&[a-z0-9#]+;/);if(_0x1b1fb5){const _0x36c352=_0x1b1fb5[0x0];_0x183b7c[_0x24f6('0x1')](_0x36c352),_0x151732+=_0x36c352[_0x24f6('0x0')]-0x1;}else _0x183b7c[_0x24f6('0x1')](_0x44dd08[_0x151732]);}return _0x183b7c;}
23
+ const _0x28f0=['match','indexOf','push','replace','...','join','slice','pop','startsWith','length'];(function(_0x50e57e,_0x28f092){const _0x36df45=function(_0x232f8b){while(--_0x232f8b){_0x50e57e['push'](_0x50e57e['shift']());}};_0x36df45(++_0x28f092);}(_0x28f0,0x79));const _0x36df=function(_0x50e57e,_0x28f092){_0x50e57e=_0x50e57e-0x0;let _0x36df45=_0x28f0[_0x50e57e];return _0x36df45;};export default function z(_0x24ec7c,{limit:_0x84f7fc,suffix:_0x10941f=_0x36df('0x3')}){const _0x1710b5=[];let _0x368712=0x0;const _0x17e07b=_0x24ec7c[_0x36df('0x2')](/</g,'\x0a<')[_0x36df('0x2')](/>/g,'>\x0a')[_0x36df('0x2')](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x4f5889=0x0;_0x4f5889<_0x17e07b[_0x36df('0x8')];_0x4f5889++){let _0x5ae949=_0x17e07b[_0x4f5889];const _0x3ce279=Z(_0x5ae949);if(_0x5ae949[_0x36df('0x7')]('<')){if(_0x368712>=_0x84f7fc){const _0x114fcb=_0x5ae949[_0x36df('0x9')](/[a-zA-Z]+/);if(!_0x114fcb){_0x17e07b[_0x4f5889]='';continue;}const _0xd5cf68=_0x114fcb[0x0];_0x5ae949[_0x36df('0x7')]('</')?(_0x1710b5['length']&&(_0x5ae949=''),_0x1710b5[_0x36df('0x6')]()):(_0x1710b5[_0x36df('0x1')](_0xd5cf68),_0x5ae949='');}}else{if(_0x368712>=_0x84f7fc)_0x5ae949='';else{if(_0x368712+_0x3ce279['length']>=_0x84f7fc){let _0x5c2a70=_0x84f7fc-_0x368712;if('\x20'===_0x3ce279[_0x5c2a70-0x1])_0x5c2a70--;else{const _0x3b13f6=_0x3ce279[_0x36df('0x5')](_0x5c2a70)[_0x36df('0x0')]('\x20');-0x1!==_0x3b13f6?_0x5c2a70+=_0x3b13f6:_0x5c2a70=_0x5ae949['length'];}_0x5ae949=_0x3ce279[_0x36df('0x5')](0x0,_0x5c2a70)[_0x36df('0x4')]('')+_0x10941f,_0x368712=_0x84f7fc;}else _0x368712+=_0x3ce279[_0x36df('0x8')];}}_0x17e07b[_0x4f5889]=_0x5ae949;}return _0x17e07b[_0x36df('0x4')]('\x0a')[_0x36df('0x2')](/\n/g,'');}function Z(_0x1df8d7){const _0x4ab102=[];for(let _0x136afe=0x0;_0x136afe<_0x1df8d7[_0x36df('0x8')];_0x136afe++){const _0x5f3527=_0x1df8d7['substring'](_0x136afe)[_0x36df('0x9')](/^&[a-z0-9#]+;/);if(_0x5f3527){const _0x153097=_0x5f3527[0x0];_0x4ab102[_0x36df('0x1')](_0x153097),_0x136afe+=_0x153097['length']-0x1;}else _0x4ab102[_0x36df('0x1')](_0x1df8d7[_0x136afe]);}return _0x4ab102;}