@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230806.0 → 0.0.0-nightly-20230808.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
@@ -101,4 +101,4 @@ Internal changes only (updated dependencies, documentation, etc.).
101
101
 
102
102
  ## 1.0.0 (2018-12-06)
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 for two collaboration features: [real-time collaboration](https://ckeditor.com/collaboration/real-time/) and [comments](https://ckeditor.com/collaboration/comments/).
package/LICENSE.md CHANGED
@@ -1,18 +1,18 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor 5 collaboration core** (https://ckeditor.com/collaboration/)<br>
4
+ **CKEditor&nbsp;5 collaboration core** (https://ckeditor.com/collaboration/)<br>
5
5
  Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
7
+ CKEditor&nbsp;5 collaboration core is licensed under a commercial license and is protected by copyright law.
8
8
  We operate on subscription-based licensing terms. For more details about available licensing options please contact us at sales@cksource.com.
9
9
 
10
- Sources of Intellectual Property Included in CKEditor 5 collaboration core
10
+ Sources of Intellectual Property Included in CKEditor&nbsp;5 collaboration core
11
11
  --------------------------------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor 5 collaboration core content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor&nbsp;5 collaboration core content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
15
- The following libraries are included in CKEditor 5 collaboration core under the [MIT license](https://opensource.org/licenses/MIT):
15
+ The following libraries are included in CKEditor&nbsp;5 collaboration core under the [MIT license](https://opensource.org/licenses/MIT):
16
16
 
17
17
  * Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas,
18
18
  * date-fns - Copyright (c) Sasha Koss.
package/README.md CHANGED
@@ -1,27 +1,27 @@
1
- # CKEditor 5 collaboration core
1
+ # CKEditor&nbsp;5 collaboration core
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-collaboration-core.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-collaboration-core)
4
4
 
5
- CKEditor 5 collaboration core is a low-level API that provides base features to support multiple users working together in a rich text editor. It is used in collaborative features such as [comments](https://ckeditor.com/collaboration/comments/), [track changes](https://ckeditor.com/collaboration/track-changes/) or [real-time collaboration](https://ckeditor.com/collaboration/real-time/) in CKEditor 5.
5
+ CKEditor&nbsp;5 collaboration core is a low-level API that provides base features to support multiple users working together in a rich text editor. It is used in collaborative features such as [comments](https://ckeditor.com/collaboration/comments/), [track changes](https://ckeditor.com/collaboration/track-changes/) or [real-time collaboration](https://ckeditor.com/collaboration/real-time/) in CKEditor&nbsp;5.
6
6
 
7
7
  ## Documentation
8
8
 
9
- For more information about collaboration features visit [CKEditor 5 collaboration features overview documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/collaboration.html).
9
+ For more information about collaboration features visit [CKEditor&nbsp;5 collaboration features overview documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/collaboration.html).
10
10
 
11
- Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
11
+ Also, make sure you visit the [CKEditor&nbsp;5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
12
12
 
13
13
  ## Getting support
14
14
 
15
- CKEditor 5 collaboration core comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 collaboration features with your application.
15
+ CKEditor&nbsp;5 collaboration core comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor&nbsp;5 collaboration features with your application.
16
16
 
17
- As a licensed CKEditor 5 collaboration features user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
17
+ As a licensed CKEditor&nbsp;5 collaboration features user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
18
18
 
19
19
  ## License
20
20
 
21
- **CKEditor 5 collaboration core**<br>
21
+ **CKEditor&nbsp;5 collaboration core**<br>
22
22
  Copyright (c) 2003-2022, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
23
23
 
24
- CKEditor 5 collaboration core is licensed under a commercial license and is protected by copyright law.
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.
26
26
 
27
27
  ### Trademarks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "0.0.0-nightly-20230806.0",
3
+ "version": "0.0.0-nightly-20230808.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-20230806.0",
34
+ "ckeditor5": "0.0.0-nightly-20230808.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 _0x4ab3=['CommentsOnly','clearForceDisabled','commands','permissions-set-permissions-invalid-channel-id','isEnabled','find','forceDisabled','plugins','comment:admin','config','has','editors','context','setPermissions','enableReadOnlyMode','collaboration.channelId','CommentsRepository','no-permissions','pluginName','document:write','noPermissions','Permissions','includes','get'];(function(_0x587f0c,_0x4ab3ed){const _0x44a8c2=function(_0x431895){while(--_0x431895){_0x587f0c['push'](_0x587f0c['shift']());}};_0x44a8c2(++_0x4ab3ed);}(_0x4ab3,0x1d8));const _0x44a8=function(_0x587f0c,_0x4ab3ed){_0x587f0c=_0x587f0c-0x0;let _0x44a8c2=_0x4ab3[_0x587f0c];return _0x44a8c2;};import{ContextPlugin as _0x377ec4,Editor as _0x22623c}from'ckeditor5/src/core';import{CKEditorError as _0x41a298}from'ckeditor5/src/utils';export default class n extends _0x377ec4{static get[_0x44a8('0x2')](){return _0x44a8('0x5');}[_0x44a8('0x15')](_0x52e976,_0x5b22a9){let _0x230fa2;if(_0x5b22a9||(_0x5b22a9=this[_0x44a8('0x14')][_0x44a8('0x11')][_0x44a8('0x7')](_0x44a8('0x17'))),this[_0x44a8('0x14')][_0x44a8('0x11')][_0x44a8('0x7')](_0x44a8('0x17'))==_0x5b22a9?_0x230fa2=this[_0x44a8('0x14')]:_0x44a8('0x13')in this['context']&&this[_0x44a8('0x14')][_0x44a8('0x13')]&&(_0x230fa2=this[_0x44a8('0x14')][_0x44a8('0x13')][_0x44a8('0xd')](_0x5ba31e=>_0x5ba31e[_0x44a8('0x11')]['get'](_0x44a8('0x17'))==_0x5b22a9)),!_0x230fa2)throw new _0x41a298(_0x44a8('0xb'),null);const _0x4b17d7=_0x230fa2[_0x44a8('0xf')],_0x11f080=_0x4b17d7[_0x44a8('0x12')](_0x44a8('0x0'))?_0x4b17d7[_0x44a8('0x7')](_0x44a8('0x0')):void 0x0,_0x93ca47=_0x4b17d7['has'](_0x44a8('0x8'))&&_0x4b17d7[_0x44a8('0x7')](_0x44a8('0x8')),_0x23e4ba=_0x52e976[_0x44a8('0x6')](_0x44a8('0x3')),_0x4caf87=_0x52e976['includes']('comment:modify_all'),_0x5397e9=_0x52e976['includes'](_0x44a8('0x10')),_0x5ee3da=_0x52e976[_0x44a8('0x6')]('comment:write'),_0x482e8d=_0x5ee3da||_0x5397e9,_0x3fe962=_0x482e8d||_0x4caf87,_0x498e49=_0x23e4ba||_0x482e8d;(_0x93ca47&&(_0x93ca47[_0x44a8('0xc')]=!_0x23e4ba&&_0x3fe962),_0x230fa2 instanceof _0x22623c)&&(!(_0x23e4ba||_0x3fe962&&_0x11f080)?_0x230fa2[_0x44a8('0x16')](_0x44a8('0x1')):_0x230fa2['disableReadOnlyMode'](_0x44a8('0x1')));if(_0x11f080){_0x11f080['setPermissions']({'admin':_0x5397e9,'modifyAll':_0x4caf87,'write':_0x5ee3da,'resolve':_0x498e49},_0x5b22a9);const _0x1b15ca=_0x230fa2 instanceof _0x22623c&&_0x230fa2[_0x44a8('0xa')][_0x44a8('0x7')]('addCommentThread');_0x1b15ca&&(_0x482e8d?_0x1b15ca[_0x44a8('0x9')]('noPermissions'):_0x1b15ca[_0x44a8('0xe')](_0x44a8('0x4')));}}}
23
+ const _0x5e9d=['isEnabled','enableReadOnlyMode','has','collaboration.channelId','CommentsOnly','context','editors','get','document:write','permissions-set-permissions-invalid-channel-id','pluginName','comment:modify_all','config','commands','comment:admin','clearForceDisabled','no-permissions','Permissions','CommentsRepository','includes','addCommentThread','disableReadOnlyMode','comment:write'];(function(_0x177b49,_0x5e9de7){const _0x4e93d6=function(_0x23983f){while(--_0x23983f){_0x177b49['push'](_0x177b49['shift']());}};_0x4e93d6(++_0x5e9de7);}(_0x5e9d,0xc6));const _0x4e93=function(_0x177b49,_0x5e9de7){_0x177b49=_0x177b49-0x0;let _0x4e93d6=_0x5e9d[_0x177b49];return _0x4e93d6;};import{ContextPlugin as _0x5790ab,Editor as _0x56f411}from'ckeditor5/src/core';import{CKEditorError as _0x13607c}from'ckeditor5/src/utils';export default class n extends _0x5790ab{static get[_0x4e93('0x13')](){return _0x4e93('0x3');}['setPermissions'](_0x337398,_0x49b4b5){let _0x4cf468;if(_0x49b4b5||(_0x49b4b5=this[_0x4e93('0xe')][_0x4e93('0x15')]['get'](_0x4e93('0xc'))),this['context']['config'][_0x4e93('0x10')](_0x4e93('0xc'))==_0x49b4b5?_0x4cf468=this[_0x4e93('0xe')]:_0x4e93('0xf')in this['context']&&this[_0x4e93('0xe')][_0x4e93('0xf')]&&(_0x4cf468=this[_0x4e93('0xe')][_0x4e93('0xf')]['find'](_0x19a70e=>_0x19a70e[_0x4e93('0x15')]['get'](_0x4e93('0xc'))==_0x49b4b5)),!_0x4cf468)throw new _0x13607c(_0x4e93('0x12'),null);const _0x4aecb3=_0x4cf468['plugins'],_0x411f54=_0x4aecb3[_0x4e93('0xb')](_0x4e93('0x4'))?_0x4aecb3[_0x4e93('0x10')]('CommentsRepository'):void 0x0,_0x2457a9=_0x4aecb3['has']('CommentsOnly')&&_0x4aecb3[_0x4e93('0x10')](_0x4e93('0xd')),_0x160c5c=_0x337398['includes'](_0x4e93('0x11')),_0xf93acb=_0x337398[_0x4e93('0x5')](_0x4e93('0x14')),_0xfc3301=_0x337398[_0x4e93('0x5')](_0x4e93('0x0')),_0x51519e=_0x337398[_0x4e93('0x5')](_0x4e93('0x8')),_0x45a6ef=_0x51519e||_0xfc3301,_0x45f2b1=_0x45a6ef||_0xf93acb,_0x3018c3=_0x160c5c||_0x45a6ef;(_0x2457a9&&(_0x2457a9[_0x4e93('0x9')]=!_0x160c5c&&_0x45f2b1),_0x4cf468 instanceof _0x56f411)&&(!(_0x160c5c||_0x45f2b1&&_0x411f54)?_0x4cf468[_0x4e93('0xa')](_0x4e93('0x2')):_0x4cf468[_0x4e93('0x7')](_0x4e93('0x2')));if(_0x411f54){_0x411f54['setPermissions']({'admin':_0xfc3301,'modifyAll':_0xf93acb,'write':_0x51519e,'resolve':_0x3018c3},_0x49b4b5);const _0x3a6ee8=_0x4cf468 instanceof _0x56f411&&_0x4cf468[_0x4e93('0x16')][_0x4e93('0x10')](_0x4e93('0x6'));_0x3a6ee8&&(_0x45a6ef?_0x3a6ee8[_0x4e93('0x1')]('noPermissions'):_0x3a6ee8['forceDisabled']('noPermissions'));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1484=['ck-user__img','ck-user__notification','name','isAnonymous','avatar','push','div','notificationView','content','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','ck-user__anonymous','ck-user__avatar','ck-user__icon','url(\x27'];(function(_0x4dd853,_0x148446){const _0x5148d8=function(_0x2cd633){while(--_0x2cd633){_0x4dd853['push'](_0x4dd853['shift']());}};_0x5148d8(++_0x148446);}(_0x1484,0x1ab));const _0x5148=function(_0x4dd853,_0x148446){_0x4dd853=_0x4dd853-0x0;let _0x5148d8=_0x1484[_0x4dd853];return _0x5148d8;};import{View as _0x3b8ba8,IconView as _0x4ac0f7}from'ckeditor5/src/ui';import _0x9b4282 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x3b8ba8{constructor(_0x222309,_0xfde04,_0x5aa225){super(_0x222309),this['name']=_0xfde04[_0x5148('0x7')],this[_0x5148('0xc')]=null;const _0x3946b4=['ck',_0x5148('0x5')];if(_0xfde04[_0x5148('0x8')]&&_0x3946b4[_0x5148('0xa')](_0x5148('0x1')),_0xfde04[_0x5148('0x9')]&&_0x3946b4[_0x5148('0xa')](_0x5148('0x2')),_0x5aa225){const _0x41a934=new _0x4ac0f7();_0x41a934['extendTemplate']({'attributes':{'class':[_0x5148('0x3')]}}),_0x41a934[_0x5148('0xd')]=_0x9b4282,this['notificationView']={'tag':_0x5148('0xb'),'attributes':{'class':['ck',_0x5148('0x6')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5aa225},'children':[_0x41a934]};}const _0x4a2d87=[{'tag':'div','attributes':{'class':_0x3946b4,'style':{'background-image':_0xfde04[_0x5148('0x9')]?_0x5148('0x4')+_0xfde04[_0x5148('0x9')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0xfde04['avatar']?_0x5148('0xf'):_0x5148('0xe')},'children':[{'text':_0xfde04['initials']}]}];this['notificationView']&&_0x4a2d87[_0x5148('0xa')](this[_0x5148('0xc')]),this[_0x5148('0x0')]({'tag':_0x5148('0xb'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0xfde04['id']},'children':_0x4a2d87});}}
23
+ const _0x24c2=['ck\x20ck-user__name\x20ck-user__name--hidden','ck\x20ck-user__name','initials','push','ck-user','ck-user__img','content','avatar','name','url(\x27','notificationView','extendTemplate','ck-user__avatar','div','ck-user__icon'];(function(_0x1416c0,_0x24c24d){const _0x1b44ee=function(_0x27fdbe){while(--_0x27fdbe){_0x1416c0['push'](_0x1416c0['shift']());}};_0x1b44ee(++_0x24c24d);}(_0x24c2,0xb8));const _0x1b44=function(_0x1416c0,_0x24c24d){_0x1416c0=_0x1416c0-0x0;let _0x1b44ee=_0x24c2[_0x1416c0];return _0x1b44ee;};import{View as _0x433f6e,IconView as _0x587acd}from'ckeditor5/src/ui';import _0x445a25 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x433f6e{constructor(_0x33a7f,_0x1a1ba4,_0x265438){super(_0x33a7f),this['name']=_0x1a1ba4[_0x1b44('0x4')],this['notificationView']=null;const _0xe801db=['ck',_0x1b44('0x1')];if(_0x1a1ba4['isAnonymous']&&_0xe801db[_0x1b44('0xe')]('ck-user__anonymous'),_0x1a1ba4[_0x1b44('0x3')]&&_0xe801db[_0x1b44('0xe')](_0x1b44('0x8')),_0x265438){const _0x45636b=new _0x587acd();_0x45636b[_0x1b44('0x7')]({'attributes':{'class':[_0x1b44('0xa')]}}),_0x45636b[_0x1b44('0x2')]=_0x445a25,this[_0x1b44('0x6')]={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x265438},'children':[_0x45636b]};}const _0x3b7ccd=[{'tag':'div','attributes':{'class':_0xe801db,'style':{'background-image':_0x1a1ba4[_0x1b44('0x3')]?_0x1b44('0x5')+_0x1a1ba4[_0x1b44('0x3')]+'\x27)':''}}},{'tag':_0x1b44('0x9'),'attributes':{'class':_0x1a1ba4[_0x1b44('0x3')]?_0x1b44('0xb'):_0x1b44('0xc')},'children':[{'text':_0x1a1ba4[_0x1b44('0xd')]}]}];this[_0x1b44('0x6')]&&_0x3b7ccd[_0x1b44('0xe')](this[_0x1b44('0x6')]),this['setTemplate']({'tag':_0x1b44('0x9'),'attributes':{'class':['ck',_0x1b44('0x0')],'data-user-id':_0x1a1ba4['id']},'children':_0x3b7ccd});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35e9=['toUpperCase','_isAnonymous','getUser','has','addUser','_getInitial','users-add-invalid-id','config','licenseKeyTrialLimit:time','_myId','anonymous-user','name','get','length','trim','ck-user__marker--','users-me-missing-user','licenseKeyTrialLimit:revisions','_addAnonymousUser','string','getSelectionClass','define','ck-user__bg-color--','isAnonymous','destroy','init','_lastColor','getBackgroundColorClass','context','licenseKeyTrial','trial-license-key-reached-limit-changes','licenseKey','users-me-already-defined','pluginName','getOperationAuthor','ck-user__selection--','defineMe','users-add-duplicated-id','charAt','users.anonymousUserId','color','trial-license-key-reached-limit-revisions','decorate','licenseKeyValid','Users','_locale','requires','trial-license-key-reached-limit-time','licenseKeyInvalid','licenseKeyTrialLimit:operations','avatar','Anonymous','getMarkerClass','_id','_licenseKeyCheckInterval','useAnonymousUser','users'];(function(_0x127078,_0x35e946){const _0x6c00a=function(_0x54d1f1){while(--_0x54d1f1){_0x127078['push'](_0x127078['shift']());}};_0x6c00a(++_0x35e946);}(_0x35e9,0xb1));const _0x6c00=function(_0x127078,_0x35e946){_0x127078=_0x127078-0x0;let _0x6c00a=_0x35e9[_0x127078];return _0x6c00a;};import{ContextPlugin as _0x464539}from'ckeditor5/src/core';import{Collection as _0x5be277,CKEditorError as _0xd63edf}from'ckeditor5/src/utils';import _0x133543 from'./permissions';import{getTranslation as _0x4d183a}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x464539{static get[_0x6c00('0x1b')](){return _0x6c00('0x26');}static get[_0x6c00('0x28')](){return[_0x133543];}constructor(_0x2b2045){super(_0x2b2045),this[_0x6c00('0x16')]['config'][_0x6c00('0xf')](_0x6c00('0x21'),_0x6c00('0x4')),this['context'][_0x6c00('0x1')][_0x6c00('0xf')]('users.colorsCount',0x8),this[_0x6c00('0x32')]=new _0x5be277(),this[_0x6c00('0x27')]=_0x2b2045['locale'],this[_0x6c00('0x30')]=null,this[_0x6c00('0x14')]=0x0,this['_myId']=null,this[_0x6c00('0x24')](_0x6c00('0x1c'));}[_0x6c00('0x13')](){const _0x5dbdec=this[_0x6c00('0x16')];this[_0x6c00('0x19')]=_0x5dbdec[_0x6c00('0x1')][_0x6c00('0x6')](_0x6c00('0x19'));const _0x15cbed=[_0x6c00('0x17'),_0x6c00('0x2a'),_0x6c00('0x25'),'licenseKeyTrialLimit:operations',_0x6c00('0x2'),_0x6c00('0xb')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ceb66;for(const _0x38a3d5 in _0x5dbdec){const _0x49c795=_0x5dbdec[_0x38a3d5];if(_0x15cbed['includes'](_0x49c795)){delete _0x5dbdec[_0x38a3d5],_0x5ceb66=_0x49c795;break;}}if(_0x6c00('0x2a')===_0x5ceb66)throw clearInterval(this[_0x6c00('0x30')]),new _0xd63edf('invalid-license-key',null);if(_0x6c00('0x17')===_0x5ceb66&&console['info']('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.'),_0x6c00('0x2b')===_0x5ceb66)throw clearInterval(this[_0x6c00('0x30')]),new _0xd63edf(_0x6c00('0x18'),null);if('licenseKeyTrialLimit:time'===_0x5ceb66)throw clearInterval(this[_0x6c00('0x30')]),new _0xd63edf(_0x6c00('0x29'),null);if('licenseKeyTrialLimit:revisions'===_0x5ceb66)throw clearInterval(this[_0x6c00('0x30')]),new _0xd63edf(_0x6c00('0x23'),null);'licenseKeyValid'===_0x5ceb66&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x6c00('0xc')]();}get['me'](){return null==this[_0x6c00('0x3')]?null:this[_0x6c00('0x35')](this[_0x6c00('0x3')]);}['addUser']({id:_0xf09128,name:_0x719cec,..._0x59cf9d}){if(!_0xf09128||_0x6c00('0xd')!=typeof _0xf09128)throw new _0xd63edf(_0x6c00('0x0'));if(this[_0x6c00('0x32')][_0x6c00('0x36')](_0xf09128))throw new _0xd63edf(_0x6c00('0x1f'),null,{'id':_0xf09128});const _0x217dca={..._0x59cf9d,'id':_0xf09128,'name':a(this[_0x6c00('0x27')],_0x719cec),'color':this['_getNextColor']()};_0x217dca[_0x6c00('0x5')]=a(this[_0x6c00('0x27')],_0x217dca[_0x6c00('0x5')]);const _0x48320b=new User(_0x217dca);return this[_0x6c00('0x32')]['add'](_0x48320b),_0x48320b;}[_0x6c00('0x35')](_0x306a33){return this[_0x6c00('0x32')][_0x6c00('0x6')](_0x306a33);}[_0x6c00('0x31')](){const _0x31b29e=this[_0x6c00('0x16')]['config'][_0x6c00('0x6')](_0x6c00('0x21'));this['_myId']||this[_0x6c00('0x1e')](_0x31b29e);}[_0x6c00('0x1e')](_0x382320){if(this[_0x6c00('0x3')])throw new _0xd63edf(_0x6c00('0x1a'),null);if(!this[_0x6c00('0x35')](_0x382320))throw new _0xd63edf(_0x6c00('0xa'),null);this[_0x6c00('0x3')]=_0x382320;}['getOperationAuthor'](){return this['me'];}[_0x6c00('0x12')](){super[_0x6c00('0x12')](),clearInterval(this[_0x6c00('0x30')]);}['_getNextColor'](){const _0x479083=this[_0x6c00('0x16')]['config'][_0x6c00('0x6')]('users.colorsCount');return this['_lastColor']>=_0x479083&&(this[_0x6c00('0x14')]=0x0),new u(this['_lastColor']++);}[_0x6c00('0xc')](){const _0x1f39a0=this[_0x6c00('0x16')]['config']['get'](_0x6c00('0x21'));this[_0x6c00('0x37')]({'id':_0x1f39a0,'name':_0x4d183a(this['_locale'],_0x6c00('0x2d'))})[_0x6c00('0x34')]=!0x0;}}export class User{constructor(_0x185280){this['id']=_0x185280['id'],this[_0x6c00('0x22')]=_0x185280['color'],this[_0x6c00('0x5')]=_0x185280[_0x6c00('0x5')],this['avatar']=_0x185280[_0x6c00('0x2c')],this['_isAnonymous']=!0x1;}get[_0x6c00('0x11')](){return this[_0x6c00('0x34')];}get['initials'](){const _0x89e45=this[_0x6c00('0x5')]['split']('\x20');return 0x1===_0x89e45[_0x6c00('0x7')]?this['_getInitial'](_0x89e45[0x0]):this[_0x6c00('0x38')](_0x89e45[0x0])+this[_0x6c00('0x38')](_0x89e45[_0x89e45[_0x6c00('0x7')]-0x1]);}[_0x6c00('0x38')](_0x2b9b36){return _0x2b9b36[_0x6c00('0x20')](0x0)[_0x6c00('0x33')]();}}function a(_0x2bd9ac,_0x2f8dcb=''){return''==(_0x2f8dcb=_0x2f8dcb[_0x6c00('0x8')]())?_0x4d183a(_0x2bd9ac,_0x6c00('0x2d')):_0x2f8dcb;}class u{constructor(_0xac3926){this[_0x6c00('0x2f')]=_0xac3926;}[_0x6c00('0x15')](){return _0x6c00('0x10')+this[_0x6c00('0x2f')];}[_0x6c00('0xe')](){return _0x6c00('0x1d')+this[_0x6c00('0x2f')];}[_0x6c00('0x2e')](){return _0x6c00('0x9')+this[_0x6c00('0x2f')];}}
23
+ const _0x8ac2=['requires','string','config','anonymous-user','users','get','defineMe','has','users-me-already-defined','isAnonymous','name','licenseKeyTrial','getMarkerClass','context','_getInitial','includes','_lastColor','licenseKeyTrialLimit:revisions','avatar','destroy','_myId','invalid-license-key','init','_locale','Users','licenseKeyValid','color','trial-license-key-reached-limit-changes','_getNextColor','getBackgroundColorClass','users.anonymousUserId','split','define','licenseKeyTrialLimit:operations','licenseKeyInvalid','ck-user__bg-color--','licenseKeyTrialLimit:time','charAt','_isAnonymous','users-add-invalid-id','users.colorsCount','length','initials','_licenseKeyCheckInterval','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.','decorate','_addAnonymousUser','_id','users-add-duplicated-id','Anonymous','addUser','ck-user__selection--','licenseKey'];(function(_0x1e1a2d,_0x8ac28b){const _0x54b902=function(_0x51ac36){while(--_0x51ac36){_0x1e1a2d['push'](_0x1e1a2d['shift']());}};_0x54b902(++_0x8ac28b);}(_0x8ac2,0xe2));const _0x54b9=function(_0x1e1a2d,_0x8ac28b){_0x1e1a2d=_0x1e1a2d-0x0;let _0x54b902=_0x8ac2[_0x1e1a2d];return _0x54b902;};import{ContextPlugin as _0x5d62ca}from'ckeditor5/src/core';import{Collection as _0x273f7b,CKEditorError as _0x166da9}from'ckeditor5/src/utils';import _0x464788 from'./permissions';import{getTranslation as _0x15b4d7}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5d62ca{static get['pluginName'](){return _0x54b9('0xa');}static get[_0x54b9('0x27')](){return[_0x464788];}constructor(_0x1a4551){super(_0x1a4551),this[_0x54b9('0x34')][_0x54b9('0x29')][_0x54b9('0x12')](_0x54b9('0x10'),_0x54b9('0x2a')),this['context'][_0x54b9('0x29')][_0x54b9('0x12')](_0x54b9('0x1a'),0x8),this['users']=new _0x273f7b(),this[_0x54b9('0x9')]=_0x1a4551['locale'],this['_licenseKeyCheckInterval']=null,this[_0x54b9('0x2')]=0x0,this[_0x54b9('0x6')]=null,this[_0x54b9('0x1f')]('getOperationAuthor');}[_0x54b9('0x8')](){const _0x3b1d97=this[_0x54b9('0x34')];this[_0x54b9('0x26')]=_0x3b1d97[_0x54b9('0x29')]['get'](_0x54b9('0x26'));const _0x258d3e=[_0x54b9('0x32'),'licenseKeyInvalid',_0x54b9('0xb'),'licenseKeyTrialLimit:operations',_0x54b9('0x16'),_0x54b9('0x3')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x512874;for(const _0x15b872 in _0x3b1d97){const _0x5e75e2=_0x3b1d97[_0x15b872];if(_0x258d3e[_0x54b9('0x1')](_0x5e75e2)){delete _0x3b1d97[_0x15b872],_0x512874=_0x5e75e2;break;}}if(_0x54b9('0x14')===_0x512874)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x166da9(_0x54b9('0x7'),null);if(_0x54b9('0x32')===_0x512874&&console['info'](_0x54b9('0x1e')),_0x54b9('0x13')===_0x512874)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x166da9(_0x54b9('0xd'),null);if('licenseKeyTrialLimit:time'===_0x512874)throw clearInterval(this[_0x54b9('0x1d')]),new _0x166da9('trial-license-key-reached-limit-time',null);if(_0x54b9('0x3')===_0x512874)throw clearInterval(this[_0x54b9('0x1d')]),new _0x166da9('trial-license-key-reached-limit-revisions',null);_0x54b9('0xb')===_0x512874&&clearInterval(this[_0x54b9('0x1d')]);},0x3e8),this[_0x54b9('0x20')]();}get['me'](){return null==this[_0x54b9('0x6')]?null:this['getUser'](this['_myId']);}[_0x54b9('0x24')]({id:_0x3cfef9,name:_0x2273f4,..._0x96aa3a}){if(!_0x3cfef9||_0x54b9('0x28')!=typeof _0x3cfef9)throw new _0x166da9(_0x54b9('0x19'));if(this[_0x54b9('0x2b')][_0x54b9('0x2e')](_0x3cfef9))throw new _0x166da9(_0x54b9('0x22'),null,{'id':_0x3cfef9});const _0x266de3={..._0x96aa3a,'id':_0x3cfef9,'name':a(this['_locale'],_0x2273f4),'color':this[_0x54b9('0xe')]()};_0x266de3[_0x54b9('0x31')]=a(this['_locale'],_0x266de3['name']);const _0x25aee4=new User(_0x266de3);return this['users']['add'](_0x25aee4),_0x25aee4;}['getUser'](_0x55d11c){return this['users'][_0x54b9('0x2c')](_0x55d11c);}['useAnonymousUser'](){const _0x46d9bc=this[_0x54b9('0x34')][_0x54b9('0x29')][_0x54b9('0x2c')](_0x54b9('0x10'));this[_0x54b9('0x6')]||this['defineMe'](_0x46d9bc);}[_0x54b9('0x2d')](_0x50d90a){if(this[_0x54b9('0x6')])throw new _0x166da9(_0x54b9('0x2f'),null);if(!this['getUser'](_0x50d90a))throw new _0x166da9('users-me-missing-user',null);this[_0x54b9('0x6')]=_0x50d90a;}['getOperationAuthor'](){return this['me'];}[_0x54b9('0x5')](){super['destroy'](),clearInterval(this[_0x54b9('0x1d')]);}['_getNextColor'](){const _0x4f4258=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4f4258&&(this[_0x54b9('0x2')]=0x0),new u(this['_lastColor']++);}[_0x54b9('0x20')](){const _0x4cc38d=this[_0x54b9('0x34')][_0x54b9('0x29')][_0x54b9('0x2c')](_0x54b9('0x10'));this[_0x54b9('0x24')]({'id':_0x4cc38d,'name':_0x15b4d7(this['_locale'],_0x54b9('0x23'))})[_0x54b9('0x18')]=!0x0;}}export class User{constructor(_0x575912){this['id']=_0x575912['id'],this[_0x54b9('0xc')]=_0x575912[_0x54b9('0xc')],this[_0x54b9('0x31')]=_0x575912['name'],this[_0x54b9('0x4')]=_0x575912['avatar'],this['_isAnonymous']=!0x1;}get[_0x54b9('0x30')](){return this[_0x54b9('0x18')];}get[_0x54b9('0x1c')](){const _0x34d956=this[_0x54b9('0x31')][_0x54b9('0x11')]('\x20');return 0x1===_0x34d956[_0x54b9('0x1b')]?this['_getInitial'](_0x34d956[0x0]):this['_getInitial'](_0x34d956[0x0])+this['_getInitial'](_0x34d956[_0x34d956[_0x54b9('0x1b')]-0x1]);}[_0x54b9('0x0')](_0x400709){return _0x400709[_0x54b9('0x17')](0x0)['toUpperCase']();}}function a(_0x4da787,_0x1ca51f=''){return''==(_0x1ca51f=_0x1ca51f['trim']())?_0x15b4d7(_0x4da787,_0x54b9('0x23')):_0x1ca51f;}class u{constructor(_0xec60a6){this[_0x54b9('0x21')]=_0xec60a6;}[_0x54b9('0xf')](){return _0x54b9('0x15')+this['_id'];}['getSelectionClass'](){return _0x54b9('0x25')+this[_0x54b9('0x21')];}[_0x54b9('0x33')](){return'ck-user__marker--'+this[_0x54b9('0x21')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x332bc2,_0x46d938){const t=_0x332bc2['t'];switch(_0x46d938){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(_0x1096ad,_0x2f9ba9){const t=_0x1096ad['t'];switch(_0x2f9ba9){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 _0x4dd1=['deregisterChild','element','focus','showConfirm','render','cancelConfirm','cancel','locale','once','_removeConfirm','appendChild','remove','isConfirm','set','registerChild','destroy','confirmView'];(function(_0x46089c,_0x4dd1c7){var _0x6acf1e=function(_0x2d3f5d){while(--_0x2d3f5d){_0x46089c['push'](_0x46089c['shift']());}};_0x6acf1e(++_0x4dd1c7);}(_0x4dd1,0x18a));var _0x6acf=function(_0x46089c,_0x4dd1c7){_0x46089c=_0x46089c-0x0;var _0x6acf1e=_0x4dd1[_0x46089c];return _0x6acf1e;};import _0x5d0292 from'./confirmview';export default function m(_0x340b5c){return class extends _0x340b5c{[_0x6acf('0x0')](_0xb52b7d,_0x7c6ee4){return this[_0x6acf('0xd')]=new _0x5d0292(this[_0x6acf('0x4')]),this[_0x6acf('0xd')][_0x6acf('0x1')](),this[_0x6acf('0xd')]['message']=_0xb52b7d,this['confirmView']['once'](_0x6acf('0x3'),()=>{this[_0x6acf('0x6')]();}),this[_0x6acf('0xd')][_0x6acf('0x5')]('submit',()=>{this[_0x6acf('0x6')]();}),_0x7c6ee4[_0x6acf('0x7')](this['confirmView'][_0x6acf('0xf')]),this[_0x6acf('0xb')](this[_0x6acf('0xd')]),this[_0x6acf('0xf')][_0x6acf('0x10')](),this[_0x6acf('0xa')](_0x6acf('0x9'),!0x0),new Promise(_0x3543ae=>this[_0x6acf('0xd')]['on']('submit',_0x3543ae));}[_0x6acf('0x2')](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this[_0x6acf('0xf')]&&this[_0x6acf('0xd')]&&this[_0x6acf('0xd')]['element']&&(this[_0x6acf('0xf')]['focus'](),this[_0x6acf('0xd')]['element'][_0x6acf('0x8')](),this[_0x6acf('0xe')](this['confirmView']),this['isConfirm']=!0x1,this[_0x6acf('0xd')][_0x6acf('0xc')](),this[_0x6acf('0xd')]=void 0x0);}};}
23
+ var _0x3eab=['element','cancel','isConfirm','appendChild','submit','showConfirm','set','confirmView','_removeConfirm','once','deregisterChild','render','remove','destroy','focus','cancelConfirm','message','registerChild'];(function(_0xe5aee5,_0x3eabcd){var _0x328270=function(_0x30b5a8){while(--_0x30b5a8){_0xe5aee5['push'](_0xe5aee5['shift']());}};_0x328270(++_0x3eabcd);}(_0x3eab,0xa0));var _0x3282=function(_0xe5aee5,_0x3eabcd){_0xe5aee5=_0xe5aee5-0x0;var _0x328270=_0x3eab[_0xe5aee5];return _0x328270;};import _0x25013b from'./confirmview';export default function m(_0x2d1a76){return class extends _0x2d1a76{[_0x3282('0x7')](_0x2d4d2f,_0x129f9a){return this[_0x3282('0x9')]=new _0x25013b(this['locale']),this[_0x3282('0x9')][_0x3282('0xd')](),this[_0x3282('0x9')][_0x3282('0x0')]=_0x2d4d2f,this['confirmView'][_0x3282('0xb')]('cancel',()=>{this[_0x3282('0xa')]();}),this['confirmView'][_0x3282('0xb')](_0x3282('0x6'),()=>{this[_0x3282('0xa')]();}),_0x129f9a[_0x3282('0x5')](this[_0x3282('0x9')][_0x3282('0x2')]),this[_0x3282('0x1')](this[_0x3282('0x9')]),this[_0x3282('0x2')][_0x3282('0x10')](),this[_0x3282('0x8')]('isConfirm',!0x0),new Promise(_0x2c3312=>this['confirmView']['on']('submit',_0x2c3312));}[_0x3282('0x11')](){this[_0x3282('0x4')]&&this['confirmView']['fire'](_0x3282('0x3'));}[_0x3282('0xa')](){this[_0x3282('0x2')]&&this['confirmView']&&this[_0x3282('0x9')][_0x3282('0x2')]&&(this[_0x3282('0x2')][_0x3282('0x10')](),this['confirmView'][_0x3282('0x2')][_0x3282('0xe')](),this[_0x3282('0xc')](this[_0x3282('0x9')]),this[_0x3282('0x4')]=!0x1,this['confirmView'][_0x3282('0xf')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ed6=['Are\x20you\x20sure?','message','_createButtonView','ck-thread__remove-confirm-inner','fire','submit','cancel','div','label','execute','bindTemplate','submitView','check','cancelView','ck-thread__remove-confirm-','extendTemplate','setTemplate','ck-thread__remove-confirm'];(function(_0x45faf9,_0x5ed6d7){const _0x19f457=function(_0x3942be){while(--_0x3942be){_0x45faf9['push'](_0x45faf9['shift']());}};_0x19f457(++_0x5ed6d7);}(_0x5ed6,0x18a));const _0x19f4=function(_0x45faf9,_0x5ed6d7){_0x45faf9=_0x45faf9-0x0;let _0x19f457=_0x5ed6[_0x45faf9];return _0x19f457;};import{View as _0x5cb1ce,ButtonView as _0xd00855}from'ckeditor5/src/ui';import{icons as _0x4b1964}from'ckeditor5/src/core';import{getTranslation as _0x29db8f}from'./common-translations';export default class h extends _0x5cb1ce{constructor(_0x4d3c4f){super(_0x4d3c4f);const _0x13111a=this[_0x19f4('0xc')];this[_0x19f4('0xd')]=this[_0x19f4('0x4')](_0x4d3c4f,_0x29db8f(_0x4d3c4f,'Yes'),_0x4b1964[_0x19f4('0xe')],_0x19f4('0x7')),this['cancelView']=this[_0x19f4('0x4')](_0x4d3c4f,_0x29db8f(_0x4d3c4f,'No'),_0x4b1964[_0x19f4('0x8')],_0x19f4('0x8')),this['set'](_0x19f4('0x3'),_0x29db8f(_0x4d3c4f,_0x19f4('0x2'))),this[_0x19f4('0x0')]({'tag':_0x19f4('0x9'),'attributes':{'class':[_0x19f4('0x1')]},'children':[{'tag':_0x19f4('0x9'),'attributes':{'class':_0x19f4('0x5')},'children':[{'tag':'p','children':[{'text':_0x13111a['to'](_0x19f4('0x3'))}]},{'tag':_0x19f4('0x9'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x19f4('0xd')],this[_0x19f4('0xf')]]}]}]});}[_0x19f4('0x4')](_0x44bae3,_0x157949,_0x27fea2,_0x125ac4){const _0x470d72=new _0xd00855(_0x44bae3);return _0x470d72[_0x19f4('0xa')]=_0x157949,_0x470d72['icon']=_0x27fea2,_0x470d72[_0x19f4('0x11')]({'attributes':{'class':_0x19f4('0x10')+_0x125ac4}}),_0x470d72['on'](_0x19f4('0xb'),()=>this[_0x19f4('0x6')](_0x125ac4)),_0x470d72;}}
23
+ const _0x5a7c=['Are\x20you\x20sure?','cancelView','check','submitView','bindTemplate','setTemplate','_createButtonView','execute','label','ck-thread__remove-confirm-inner','Yes','icon','submit','ck-thread__remove-confirm','fire','message'];(function(_0x1901a6,_0x5a7c27){const _0x2dd074=function(_0x2d494b){while(--_0x2d494b){_0x1901a6['push'](_0x1901a6['shift']());}};_0x2dd074(++_0x5a7c27);}(_0x5a7c,0xcd));const _0x2dd0=function(_0x1901a6,_0x5a7c27){_0x1901a6=_0x1901a6-0x0;let _0x2dd074=_0x5a7c[_0x1901a6];return _0x2dd074;};import{View as _0x576f83,ButtonView as _0x1010e3}from'ckeditor5/src/ui';import{icons as _0x5f2db8}from'ckeditor5/src/core';import{getTranslation as _0x5c3e8e}from'./common-translations';export default class h extends _0x576f83{constructor(_0x46cb83){super(_0x46cb83);const _0x4f0042=this[_0x2dd0('0x7')];this[_0x2dd0('0x6')]=this[_0x2dd0('0x9')](_0x46cb83,_0x5c3e8e(_0x46cb83,_0x2dd0('0xd')),_0x5f2db8[_0x2dd0('0x5')],_0x2dd0('0xf')),this[_0x2dd0('0x4')]=this[_0x2dd0('0x9')](_0x46cb83,_0x5c3e8e(_0x46cb83,'No'),_0x5f2db8['cancel'],'cancel'),this['set'](_0x2dd0('0x2'),_0x5c3e8e(_0x46cb83,_0x2dd0('0x3'))),this[_0x2dd0('0x8')]({'tag':'div','attributes':{'class':[_0x2dd0('0x0')]},'children':[{'tag':'div','attributes':{'class':_0x2dd0('0xc')},'children':[{'tag':'p','children':[{'text':_0x4f0042['to'](_0x2dd0('0x2'))}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x2dd0('0x6')],this[_0x2dd0('0x4')]]}]}]});}[_0x2dd0('0x9')](_0x216a51,_0x28443c,_0x191d3f,_0x1b13e2){const _0x4c6357=new _0x1010e3(_0x216a51);return _0x4c6357[_0x2dd0('0xb')]=_0x28443c,_0x4c6357[_0x2dd0('0xe')]=_0x191d3f,_0x4c6357['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x1b13e2}}),_0x4c6357['on'](_0x2dd0('0xa'),()=>this[_0x2dd0('0x1')](_0x1b13e2)),_0x4c6357;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5547=['string','dateTimeFormat','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','function','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x144f4,_0x5547c2){const _0x1938b2=function(_0x41b9b4){while(--_0x41b9b4){_0x144f4['push'](_0x144f4['shift']());}};_0x1938b2(++_0x5547c2);}(_0x5547,0x64));const _0x1938=function(_0x144f4,_0x5547c2){_0x144f4=_0x144f4-0x0;let _0x1938b2=_0x5547[_0x144f4];return _0x1938b2;};import _0x3a92fa from'date-fns/format';import _0x17d887 from'date-fns/parseISO';import _0x48a643 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xbba4c3}from'ckeditor5/src/utils';export default function E(_0x59f300={}){if(void 0x0!==_0x59f300[_0x1938('0x3')]&&_0x1938('0x0')!=typeof _0x59f300[_0x1938('0x3')])throw new _0xbba4c3('invalid-date-time-format');return _0x4691e2=>{const _0x304c6f=_0x1938('0x2')==typeof _0x4691e2?_0x17d887(_0x4691e2):_0x4691e2,_0x515903=new Date(),_0x58b868=_0x48a643(_0x515903,_0x304c6f);return _0x59f300['dateTimeFormat']?_0x59f300[_0x1938('0x3')](_0x304c6f):_0x3a92fa(_0x304c6f,0x0===_0x58b868?_0x1938('0x5'):0x1===_0x58b868?'\x27Yesterday\x27\x20hh:mma':_0x58b868<0x7?_0x1938('0x1'):_0x1938('0x4'));};}
23
+ const _0x3d5a=['MM-dd-yyyy\x20hh:mma','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format'];(function(_0x3aa36c,_0x3d5a24){const _0x713830=function(_0x1456c3){while(--_0x1456c3){_0x3aa36c['push'](_0x3aa36c['shift']());}};_0x713830(++_0x3d5a24);}(_0x3d5a,0x15a));const _0x7138=function(_0x3aa36c,_0x3d5a24){_0x3aa36c=_0x3aa36c-0x0;let _0x713830=_0x3d5a[_0x3aa36c];return _0x713830;};import _0x5318de from'date-fns/format';import _0x6a0f7 from'date-fns/parseISO';import _0x317803 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x203087}from'ckeditor5/src/utils';export default function E(_0x31dad6={}){if(void 0x0!==_0x31dad6[_0x7138('0x3')]&&'function'!=typeof _0x31dad6[_0x7138('0x3')])throw new _0x203087(_0x7138('0x1'));return _0x956ab8=>{const _0x3d2077='string'==typeof _0x956ab8?_0x6a0f7(_0x956ab8):_0x956ab8,_0x3c4bd7=new Date(),_0x58dee8=_0x317803(_0x3c4bd7,_0x3d2077);return _0x31dad6['dateTimeFormat']?_0x31dad6[_0x7138('0x3')](_0x3d2077):_0x5318de(_0x3d2077,0x0===_0x58dee8?_0x7138('0x5'):0x1===_0x58dee8?_0x7138('0x4'):_0x58dee8<0x7?_0x7138('0x0'):_0x7138('0x2'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a02=['map','name','mapViewToDom','sort','length','domElement','filter','markerNameToElements','view','domConverter','values','push'];(function(_0x3b2c28,_0x2a0293){const _0x1445b1=function(_0x424037){while(--_0x424037){_0x3b2c28['push'](_0x3b2c28['shift']());}};_0x1445b1(++_0x2a0293);}(_0x2a02,0x15c));const _0x1445=function(_0x3b2c28,_0x2a0293){_0x3b2c28=_0x3b2c28-0x0;let _0x1445b1=_0x2a02[_0x3b2c28];return _0x1445b1;};import{first as _0x4c0b6f}from'ckeditor5/src/utils';export default function k(_0x4a61e5,_0x3419f6){const _0xa5f48c=_0x4a61e5['mapper'][_0x1445('0x7')](_0x3419f6['name']);if(!_0xa5f48c)return null;const _0x28c00c=_0x4c0b6f(_0xa5f48c[_0x1445('0xa')]());return _0x4a61e5[_0x1445('0x8')][_0x1445('0x9')][_0x1445('0x2')](_0x28c00c)||null;}export function getAllMarkersDomElementsSorted(_0x75fb84,_0x2348b5){if(0x0===_0x2348b5[_0x1445('0x4')])return null;const _0x576fbd=[],_0x56dfb0=_0x75fb84[_0x1445('0x8')][_0x1445('0x9')];for(const _0x5f04bb of _0x2348b5){const _0xe10600=_0x75fb84['mapper'][_0x1445('0x7')](_0x5f04bb[_0x1445('0x1')]);if(!_0xe10600)continue;const _0x5c7ef8=Array['from'](_0xe10600)['map'](_0x2b6158=>_0x56dfb0[_0x1445('0x2')](_0x2b6158))[_0x1445('0x6')](_0x5c322a=>!!_0x5c322a);_0x576fbd[_0x1445('0xb')](..._0x5c7ef8);}if(0x0===_0x576fbd[_0x1445('0x4')])return null;const _0x25c7ce=[];for(const _0x354a68 of _0x576fbd){const _0x438a9a=_0x354a68['getClientRects']()['item'](0x0);_0x438a9a&&_0x25c7ce[_0x1445('0xb')]({'x':_0x438a9a['x'],'y':_0x438a9a['y'],'domElement':_0x354a68});}return 0x0===_0x25c7ce[_0x1445('0x4')]?null:(_0x25c7ce[_0x1445('0x3')]((_0x1b9ffd,_0x57a6ac)=>_0x1b9ffd['y']-_0x57a6ac['y']||_0x1b9ffd['x']-_0x57a6ac['x']),_0x25c7ce[_0x1445('0x0')](_0x33eaa8=>_0x33eaa8[_0x1445('0x5')]));}
23
+ const _0x110e=['filter','mapViewToDom','values','push','length','from','getClientRects','markerNameToElements','view','domElement','name','mapper','sort'];(function(_0x2b6fd9,_0x110e06){const _0xb72a23=function(_0x368d6b){while(--_0x368d6b){_0x2b6fd9['push'](_0x2b6fd9['shift']());}};_0xb72a23(++_0x110e06);}(_0x110e,0x11a));const _0xb72a=function(_0x2b6fd9,_0x110e06){_0x2b6fd9=_0x2b6fd9-0x0;let _0xb72a23=_0x110e[_0x2b6fd9];return _0xb72a23;};import{first as _0x3465e8}from'ckeditor5/src/utils';export default function k(_0x44c10e,_0x2fa294){const _0x12aa06=_0x44c10e[_0xb72a('0x2')]['markerNameToElements'](_0x2fa294['name']);if(!_0x12aa06)return null;const _0x57a105=_0x3465e8(_0x12aa06[_0xb72a('0x6')]());return _0x44c10e[_0xb72a('0xc')]['domConverter'][_0xb72a('0x5')](_0x57a105)||null;}export function getAllMarkersDomElementsSorted(_0xbb9b65,_0x2748a4){if(0x0===_0x2748a4[_0xb72a('0x8')])return null;const _0xf2a4d2=[],_0x346579=_0xbb9b65['view']['domConverter'];for(const _0x11fd31 of _0x2748a4){const _0x2bb1ff=_0xbb9b65[_0xb72a('0x2')][_0xb72a('0xb')](_0x11fd31[_0xb72a('0x1')]);if(!_0x2bb1ff)continue;const _0x124052=Array[_0xb72a('0x9')](_0x2bb1ff)['map'](_0x14d706=>_0x346579[_0xb72a('0x5')](_0x14d706))[_0xb72a('0x4')](_0x275904=>!!_0x275904);_0xf2a4d2[_0xb72a('0x7')](..._0x124052);}if(0x0===_0xf2a4d2[_0xb72a('0x8')])return null;const _0x2e85ae=[];for(const _0x4ee1ef of _0xf2a4d2){const _0x395df5=_0x4ee1ef[_0xb72a('0xa')]()['item'](0x0);_0x395df5&&_0x2e85ae['push']({'x':_0x395df5['x'],'y':_0x395df5['y'],'domElement':_0x4ee1ef});}return 0x0===_0x2e85ae[_0xb72a('0x8')]?null:(_0x2e85ae[_0xb72a('0x3')]((_0x29fb68,_0x4ab3b5)=>_0x29fb68['y']-_0x4ab3b5['y']||_0x29fb68['x']-_0x4ab3b5['x']),_0x2e85ae['map'](_0x100111=>_0x100111[_0xb72a('0x0')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f52=['object','boolean','keys','string','sign','toString'];(function(_0x2bc2e5,_0x5f52a5){const _0xf99d4b=function(_0x123788){while(--_0x123788){_0x2bc2e5['push'](_0x2bc2e5['shift']());}};_0xf99d4b(++_0x5f52a5);}(_0x5f52,0x11b));const _0xf99d=function(_0x2bc2e5,_0x5f52a5){_0x2bc2e5=_0x2bc2e5-0x0;let _0xf99d4b=_0x5f52[_0x2bc2e5];return _0xf99d4b;};export default function b(_0x1c73fd){let _0x31a515=0x0,_0x1c22b6=0x0;for(const _0x30c2e3 of g(_0x1c73fd))_0x31a515=(_0x31a515<<0x5)-_0x31a515+_0x30c2e3,_0x31a515&=_0x31a515,[_0x31a515,_0x1c22b6]=[_0x1c22b6,_0x31a515];return O(_0x31a515)+O(_0x1c22b6);}function*j(_0x5f1431){_0x5f1431?_0xf99d('0x0')==typeof _0x5f1431?yield 0x1:Array['isArray'](_0x5f1431)?yield*function*(_0x1f5436){for(const _0x89dc39 of _0x1f5436)yield*j(_0x89dc39);}(_0x5f1431):_0xf99d('0x5')==typeof _0x5f1431?yield*g(_0x5f1431):_0xf99d('0x2')==typeof _0x5f1431?yield*A(_0x5f1431):'number'==typeof _0x5f1431&&(yield _0x5f1431):yield 0x0;}function*g(_0x3a8f00){if(yield M('{'),_0x3a8f00){const _0x596366=Object[_0xf99d('0x1')](_0x3a8f00)['sort']();for(const _0x52c4a7 of _0x596366){yield*A(_0x52c4a7),yield M(':');const _0x1b90e0=_0x3a8f00[_0x52c4a7];yield*j(_0x1b90e0);}}yield M('}');}function*A(_0x16e7f9){yield M('\x22');for(const _0x3e3fc6 of _0x16e7f9)yield M(_0x3e3fc6);yield M('\x22');}function M(_0x4de8ff){return _0x4de8ff['charCodeAt'](0x0);}function O(_0x48371f){return(_0x48371f*=Math[_0xf99d('0x3')](_0x48371f))[_0xf99d('0x4')](0x24);}
23
+ const _0x576d=['number','sort','charCodeAt','sign','object','isArray','string'];(function(_0x31e1aa,_0x576dc1){const _0x479aa9=function(_0x5d51a4){while(--_0x5d51a4){_0x31e1aa['push'](_0x31e1aa['shift']());}};_0x479aa9(++_0x576dc1);}(_0x576d,0x135));const _0x479a=function(_0x31e1aa,_0x576dc1){_0x31e1aa=_0x31e1aa-0x0;let _0x479aa9=_0x576d[_0x31e1aa];return _0x479aa9;};export default function b(_0xc09dff){let _0x3e0782=0x0,_0x378250=0x0;for(const _0x14df59 of g(_0xc09dff))_0x3e0782=(_0x3e0782<<0x5)-_0x3e0782+_0x14df59,_0x3e0782&=_0x3e0782,[_0x3e0782,_0x378250]=[_0x378250,_0x3e0782];return O(_0x3e0782)+O(_0x378250);}function*j(_0xb88b3c){_0xb88b3c?'boolean'==typeof _0xb88b3c?yield 0x1:Array[_0x479a('0x4')](_0xb88b3c)?yield*function*(_0x2ce688){for(const _0x5bbf40 of _0x2ce688)yield*j(_0x5bbf40);}(_0xb88b3c):_0x479a('0x3')==typeof _0xb88b3c?yield*g(_0xb88b3c):_0x479a('0x5')==typeof _0xb88b3c?yield*A(_0xb88b3c):_0x479a('0x6')==typeof _0xb88b3c&&(yield _0xb88b3c):yield 0x0;}function*g(_0x57651d){if(yield M('{'),_0x57651d){const _0x573a17=Object['keys'](_0x57651d)[_0x479a('0x0')]();for(const _0x32b3e7 of _0x573a17){yield*A(_0x32b3e7),yield M(':');const _0x419252=_0x57651d[_0x32b3e7];yield*j(_0x419252);}}yield M('}');}function*A(_0x4bf166){yield M('\x22');for(const _0x28b236 of _0x4bf166)yield M(_0x28b236);yield M('\x22');}function M(_0x1563f3){return _0x1563f3[_0x479a('0x1')](0x0);}function O(_0x340ef2){return(_0x340ef2*=Math[_0x479a('0x2')](_0x340ef2))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cd0=['DocumentOutline','includes','requires','has','name','get','config','context','plugins','concat','RevisionTracker','pluginName','set','names','WProofreader','filter','Autosave','from','_context','find','constructor','length','toolbar','builtinPlugins','removePlugins','extraPlugins','initialData','string'];(function(_0x181cfe,_0x5cd05f){const _0x435e86=function(_0xc6d77c){while(--_0xc6d77c){_0x181cfe['push'](_0x181cfe['shift']());}};_0x435e86(++_0x5cd05f);}(_0x5cd0,0xc9));const _0x435e=function(_0x181cfe,_0x5cd05f){_0x181cfe=_0x181cfe-0x0;let _0x435e86=_0x5cd0[_0x181cfe];return _0x435e86;};const w=[_0x435e('0x15'),_0x435e('0x2'),_0x435e('0x11'),'rootsAttributes'],W=['WebSocketGateway',_0x435e('0x5'),_0x435e('0xb'),'WordCount',_0x435e('0x17'),_0x435e('0x9')];function v(_0x566076,_0xa7bdae,_0x95b85d,_0x541ca6=[]){const _0x498103=_0x435e('0x16')==typeof _0x566076?_0x95b85d[_0x435e('0x0')](_0x566076)[_0x435e('0xf')]:_0x566076,_0x4bb6ce=_0x498103[_0x435e('0x6')]||_0x498103[_0x435e('0x1b')];if(_0xa7bdae[_0x435e('0x1a')](_0x4bb6ce))return _0xa7bdae[_0x435e('0x0')](_0x4bb6ce);if(_0xa7bdae['set'](_0x4bb6ce,!0x0),_0x4bb6ce&&W[_0x435e('0x4')](_0x541ca6)[_0x435e('0x18')](_0x4bb6ce))return _0xa7bdae[_0x435e('0x7')](_0x4bb6ce,!0x1),!0x1;if(!_0x498103[_0x435e('0x19')])return _0xa7bdae[_0x435e('0x7')](_0x4bb6ce,!0x0),!0x0;const _0x551c7a=_0x498103[_0x435e('0x19')]['every'](_0x522036=>v(_0x522036,_0xa7bdae,_0x95b85d,_0x541ca6));return _0xa7bdae[_0x435e('0x7')](_0x4bb6ce,_0x551c7a),_0x551c7a;}export default function D(_0x1e3f77,_0x105557){const _0x42bd2f={};for(const _0x213712 of _0x1e3f77[_0x435e('0x1')][_0x435e('0x8')]())w[_0x435e('0x18')](_0x213712)||(_0x42bd2f[_0x213712]=_0x1e3f77[_0x435e('0x1')][_0x435e('0x0')](_0x213712));const _0x1f3bda=_0x42bd2f[_0x435e('0x3')]||[],_0x17a586=_0x1e3f77[_0x435e('0xf')][_0x435e('0x12')]||[],_0x38026e=_0x1f3bda[_0x435e('0x10')]?_0x1f3bda:_0x17a586,_0x4fba94=_0x42bd2f[_0x435e('0x14')]||[];delete _0x42bd2f[_0x435e('0x14')];const _0x4d0c13=_0x42bd2f[_0x435e('0x13')]||[];delete _0x42bd2f[_0x435e('0x13')];const _0x5644ee=_0x1e3f77[_0x435e('0xd')]['config'][_0x435e('0x0')](_0x435e('0x3'))||[],_0x995ae3=_0x38026e[_0x435e('0x4')](_0x4fba94)[_0x435e('0x4')](_0x5644ee)['map'](_0x3e747e=>'string'==typeof _0x3e747e?_0x17a586[_0x435e('0xe')](_0x1ae383=>_0x1ae383[_0x435e('0x6')]==_0x3e747e):_0x3e747e)[_0x435e('0xa')](_0x1cb37e=>!_0x4d0c13[_0x435e('0x18')](_0x1cb37e)),_0x2a415b=Array[_0x435e('0xc')](new Set(_0x995ae3)),_0x40fec1=new Map();return _0x42bd2f[_0x435e('0x3')]=_0x2a415b[_0x435e('0xa')](_0x107742=>v(_0x107742,_0x40fec1,_0x1e3f77[_0x435e('0x3')],_0x105557)),_0x42bd2f;}
23
+ const _0x39f6=['string','context','config','WordCount','concat','name','filter','get','extraPlugins','requires','WebSocketGateway','from','every','WProofreader','Autosave','plugins','has','constructor','DocumentOutline','includes','toolbar','map','removePlugins','names','set','_context','rootsAttributes','length','pluginName'];(function(_0x3d1697,_0x39f6d5){const _0x26eeac=function(_0x42b664){while(--_0x42b664){_0x3d1697['push'](_0x3d1697['shift']());}};_0x26eeac(++_0x39f6d5);}(_0x39f6,0x164));const _0x26ee=function(_0x3d1697,_0x39f6d5){_0x3d1697=_0x3d1697-0x0;let _0x26eeac=_0x39f6[_0x3d1697];return _0x26eeac;};const w=['initialData',_0x26ee('0x16'),_0x26ee('0xc'),_0x26ee('0x12')],W=[_0x26ee('0x2'),'RevisionTracker',_0x26ee('0x6'),_0x26ee('0x18'),_0x26ee('0xa'),_0x26ee('0x5')];function v(_0x1bfa4f,_0x2f0c7e,_0x1956d2,_0x2a583c=[]){const _0x270fdb=_0x26ee('0x15')==typeof _0x1bfa4f?_0x1956d2[_0x26ee('0x1c')](_0x1bfa4f)[_0x26ee('0x9')]:_0x1bfa4f,_0x4c0b77=_0x270fdb[_0x26ee('0x14')]||_0x270fdb[_0x26ee('0x1a')];if(_0x2f0c7e[_0x26ee('0x8')](_0x4c0b77))return _0x2f0c7e[_0x26ee('0x1c')](_0x4c0b77);if(_0x2f0c7e[_0x26ee('0x10')](_0x4c0b77,!0x0),_0x4c0b77&&W['concat'](_0x2a583c)['includes'](_0x4c0b77))return _0x2f0c7e[_0x26ee('0x10')](_0x4c0b77,!0x1),!0x1;if(!_0x270fdb['requires'])return _0x2f0c7e[_0x26ee('0x10')](_0x4c0b77,!0x0),!0x0;const _0xb10696=_0x270fdb[_0x26ee('0x1')][_0x26ee('0x4')](_0x4a8a96=>v(_0x4a8a96,_0x2f0c7e,_0x1956d2,_0x2a583c));return _0x2f0c7e[_0x26ee('0x10')](_0x4c0b77,_0xb10696),_0xb10696;}export default function D(_0x24bfc9,_0x4a7263){const _0x2e3898={};for(const _0xa8b540 of _0x24bfc9[_0x26ee('0x17')][_0x26ee('0xf')]())w[_0x26ee('0xb')](_0xa8b540)||(_0x2e3898[_0xa8b540]=_0x24bfc9['config'][_0x26ee('0x1c')](_0xa8b540));const _0xd4e913=_0x2e3898[_0x26ee('0x7')]||[],_0x4f1b03=_0x24bfc9['constructor']['builtinPlugins']||[],_0x4f9e87=_0xd4e913[_0x26ee('0x13')]?_0xd4e913:_0x4f1b03,_0x519fb0=_0x2e3898[_0x26ee('0x0')]||[];delete _0x2e3898[_0x26ee('0x0')];const _0x2ad03c=_0x2e3898[_0x26ee('0xe')]||[];delete _0x2e3898[_0x26ee('0xe')];const _0x4f786a=_0x24bfc9[_0x26ee('0x11')][_0x26ee('0x17')][_0x26ee('0x1c')](_0x26ee('0x7'))||[],_0x242332=_0x4f9e87[_0x26ee('0x19')](_0x519fb0)[_0x26ee('0x19')](_0x4f786a)[_0x26ee('0xd')](_0x25ba13=>_0x26ee('0x15')==typeof _0x25ba13?_0x4f1b03['find'](_0x23395e=>_0x23395e['pluginName']==_0x25ba13):_0x25ba13)['filter'](_0x24a5b5=>!_0x2ad03c[_0x26ee('0xb')](_0x24a5b5)),_0x3a3f7=Array[_0x26ee('0x3')](new Set(_0x242332)),_0x2d20b7=new Map();return _0x2e3898[_0x26ee('0x7')]=_0x3a3f7[_0x26ee('0x1b')](_0x578b1a=>v(_0x578b1a,_0x2d20b7,_0x24bfc9['plugins'],_0x4a7263)),_0x2e3898;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1200=['split','match','indexOf','length','pop','replace','join','substring','startsWith','push','slice'];(function(_0x26af9d,_0x12004e){const _0x4bc9d6=function(_0x1d4e53){while(--_0x1d4e53){_0x26af9d['push'](_0x26af9d['shift']());}};_0x4bc9d6(++_0x12004e);}(_0x1200,0x106));const _0x4bc9=function(_0x26af9d,_0x12004e){_0x26af9d=_0x26af9d-0x0;let _0x4bc9d6=_0x1200[_0x26af9d];return _0x4bc9d6;};export default function z(_0x30ca76,{limit:_0x292161,suffix:_0x46901d='...'}){const _0x17ef7a=[];let _0x5b94c9=0x0;const _0x366412=_0x30ca76[_0x4bc9('0x7')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x4bc9('0x7')](/^\n/g,'')[_0x4bc9('0x7')](/\n$/g,'')[_0x4bc9('0x2')]('\x0a');for(let _0x377980=0x0;_0x377980<_0x366412['length'];_0x377980++){let _0x12e1d8=_0x366412[_0x377980];const _0x8c9617=Z(_0x12e1d8);if(_0x12e1d8[_0x4bc9('0xa')]('<')){if(_0x5b94c9>=_0x292161){const _0x2f896f=_0x12e1d8['match'](/[a-zA-Z]+/);if(!_0x2f896f){_0x366412[_0x377980]='';continue;}const _0x781c3e=_0x2f896f[0x0];_0x12e1d8[_0x4bc9('0xa')]('</')?(_0x17ef7a['length']&&(_0x12e1d8=''),_0x17ef7a[_0x4bc9('0x6')]()):(_0x17ef7a['push'](_0x781c3e),_0x12e1d8='');}}else{if(_0x5b94c9>=_0x292161)_0x12e1d8='';else{if(_0x5b94c9+_0x8c9617['length']>=_0x292161){let _0x13e641=_0x292161-_0x5b94c9;if('\x20'===_0x8c9617[_0x13e641-0x1])_0x13e641--;else{const _0x41fa7a=_0x8c9617[_0x4bc9('0x1')](_0x13e641)[_0x4bc9('0x4')]('\x20');-0x1!==_0x41fa7a?_0x13e641+=_0x41fa7a:_0x13e641=_0x12e1d8[_0x4bc9('0x5')];}_0x12e1d8=_0x8c9617[_0x4bc9('0x1')](0x0,_0x13e641)[_0x4bc9('0x8')]('')+_0x46901d,_0x5b94c9=_0x292161;}else _0x5b94c9+=_0x8c9617[_0x4bc9('0x5')];}}_0x366412[_0x377980]=_0x12e1d8;}return _0x366412[_0x4bc9('0x8')]('\x0a')[_0x4bc9('0x7')](/\n/g,'');}function Z(_0x47bc58){const _0x4c2537=[];for(let _0x7c140d=0x0;_0x7c140d<_0x47bc58['length'];_0x7c140d++){const _0x3251d4=_0x47bc58[_0x4bc9('0x9')](_0x7c140d)[_0x4bc9('0x3')](/^&[a-z0-9#]+;/);if(_0x3251d4){const _0xf49948=_0x3251d4[0x0];_0x4c2537['push'](_0xf49948),_0x7c140d+=_0xf49948[_0x4bc9('0x5')]-0x1;}else _0x4c2537[_0x4bc9('0x0')](_0x47bc58[_0x7c140d]);}return _0x4c2537;}
23
+ const _0x3cae=['indexOf','pop','startsWith','split','...','push','join','length','replace','match'];(function(_0x2f00ea,_0x3cae55){const _0x168cbc=function(_0x20c1d0){while(--_0x20c1d0){_0x2f00ea['push'](_0x2f00ea['shift']());}};_0x168cbc(++_0x3cae55);}(_0x3cae,0x129));const _0x168c=function(_0x2f00ea,_0x3cae55){_0x2f00ea=_0x2f00ea-0x0;let _0x168cbc=_0x3cae[_0x2f00ea];return _0x168cbc;};export default function z(_0xaed960,{limit:_0x2e0764,suffix:_0x2c9cf4=_0x168c('0x7')}){const _0x36135d=[];let _0x43c396=0x0;const _0x44a3d8=_0xaed960[_0x168c('0x1')](/</g,'\x0a<')[_0x168c('0x1')](/>/g,'>\x0a')[_0x168c('0x1')](/^\n/g,'')[_0x168c('0x1')](/\n$/g,'')[_0x168c('0x6')]('\x0a');for(let _0x465a53=0x0;_0x465a53<_0x44a3d8[_0x168c('0x0')];_0x465a53++){let _0x59a95d=_0x44a3d8[_0x465a53];const _0x38d4dd=Z(_0x59a95d);if(_0x59a95d[_0x168c('0x5')]('<')){if(_0x43c396>=_0x2e0764){const _0x44a282=_0x59a95d[_0x168c('0x2')](/[a-zA-Z]+/);if(!_0x44a282){_0x44a3d8[_0x465a53]='';continue;}const _0x1f0472=_0x44a282[0x0];_0x59a95d[_0x168c('0x5')]('</')?(_0x36135d[_0x168c('0x0')]&&(_0x59a95d=''),_0x36135d[_0x168c('0x4')]()):(_0x36135d['push'](_0x1f0472),_0x59a95d='');}}else{if(_0x43c396>=_0x2e0764)_0x59a95d='';else{if(_0x43c396+_0x38d4dd[_0x168c('0x0')]>=_0x2e0764){let _0x22dc11=_0x2e0764-_0x43c396;if('\x20'===_0x38d4dd[_0x22dc11-0x1])_0x22dc11--;else{const _0xb7f7ac=_0x38d4dd['slice'](_0x22dc11)[_0x168c('0x3')]('\x20');-0x1!==_0xb7f7ac?_0x22dc11+=_0xb7f7ac:_0x22dc11=_0x59a95d[_0x168c('0x0')];}_0x59a95d=_0x38d4dd['slice'](0x0,_0x22dc11)[_0x168c('0x9')]('')+_0x2c9cf4,_0x43c396=_0x2e0764;}else _0x43c396+=_0x38d4dd['length'];}}_0x44a3d8[_0x465a53]=_0x59a95d;}return _0x44a3d8[_0x168c('0x9')]('\x0a')[_0x168c('0x1')](/\n/g,'');}function Z(_0x1aab7f){const _0x1e8f7f=[];for(let _0x2cf3d9=0x0;_0x2cf3d9<_0x1aab7f[_0x168c('0x0')];_0x2cf3d9++){const _0x29eb8c=_0x1aab7f['substring'](_0x2cf3d9)['match'](/^&[a-z0-9#]+;/);if(_0x29eb8c){const _0x3a0158=_0x29eb8c[0x0];_0x1e8f7f[_0x168c('0x8')](_0x3a0158),_0x2cf3d9+=_0x3a0158['length']-0x1;}else _0x1e8f7f['push'](_0x1aab7f[_0x2cf3d9]);}return _0x1e8f7f;}