@ckeditor/ckeditor5-collaboration-core 34.1.0 → 35.1.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.
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"
16
+ "Language: ar\n"
17
+ "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "مجهول الهوية"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "نعم"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "لا"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "هل أنت متأكد؟"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
16
+ "Language: bg\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Анонимен"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Да"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Не"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Сигурни ли сте?"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Bengali (https://www.transifex.com/ckeditor/teams/11143/bn/)\n"
16
+ "Language: bn\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "নামহীন"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "হ্যাঁ"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "না"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "আপনি কি নিশ্চিত?"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Catalan (https://www.transifex.com/ckeditor/teams/11143/ca/)\n"
16
+ "Language: ca\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Anònim"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Sí"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "No"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "N'estàs segur?"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
16
16
  "Language: es\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Finnish (https://www.transifex.com/ckeditor/teams/11143/fi/)\n"
16
+ "Language: fi\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Anonyymi"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Kyllä"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Ei"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Oletko varma?"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
16
16
  "Language: fr\n"
17
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Hebrew (https://www.transifex.com/ckeditor/teams/11143/he/)\n"
16
+ "Language: he\n"
17
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "אנונימי"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "כן"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "לא"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "האם הנך בטוח/ה?"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
16
16
  "Language: it\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Lithuanian (https://www.transifex.com/ckeditor/teams/11143/lt/)\n"
16
+ "Language: lt\n"
17
+ "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Anoniminis"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Taip"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Ne"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Ar esate tikri?"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Malay (https://www.transifex.com/ckeditor/teams/11143/ms/)\n"
16
+ "Language: ms\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Tanpa nama"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Ya"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Tidak"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Anda pasti?"
@@ -14,7 +14,7 @@ msgid ""
14
14
  msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
16
+ "Language: pt\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Anónimo"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Sim"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Não"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Tem a certeza?"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"
16
+ "Language: sv\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Anonym"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Ja"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Nej"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Är du säker?"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Thai (https://www.transifex.com/ckeditor/teams/11143/th/)\n"
16
+ "Language: th\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "ไม่ระบุตัวตน"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "ใช่"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "ไม่"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "แน่ใจหรือ"
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Tatar (https://www.transifex.com/ckeditor/teams/11143/tt/)\n"
16
+ "Language: tt\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr ""
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Әйе"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Юк"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr ""
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Vietnamese (https://www.transifex.com/ckeditor/teams/11143/vi/)\n"
16
+ "Language: vi\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "A label for the anonymous user icon"
20
+ msgid "Anonymous"
21
+ msgstr "Ẩn danh"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Có"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Không"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Bạn có chắc chắn không?"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "34.1.0",
3
+ "version": "35.1.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/)",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "main": "src/index.js",
30
30
  "dependencies": {
31
- "ckeditor5": "^34.1.0",
31
+ "ckeditor5": "^35.1.0",
32
32
  "date-fns": "^2.17.0"
33
33
  }
34
34
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37ab=['plugins','no-permissions','clearForceDisabled','isEnabled','setPermissions','setAdminPermissions','addCommentThread','collaboration.channelId','CommentsOnly','editors','config','permissions-set-permissions-invalid-channel-id','context','find','forceDisabled','get','disableReadOnlyMode','noPermissions','comment:write','commands','enableReadOnlyMode','comment:admin','pluginName','CommentsRepository','has','Permissions','includes'];(function(_0x1ecdeb,_0x37aba7){const _0x82df2=function(_0x10f1a5){while(--_0x10f1a5){_0x1ecdeb['push'](_0x1ecdeb['shift']());}};_0x82df2(++_0x37aba7);}(_0x37ab,0xe5));const _0x82df=function(_0x1ecdeb,_0x37aba7){_0x1ecdeb=_0x1ecdeb-0x0;let _0x82df2=_0x37ab[_0x1ecdeb];return _0x82df2;};import{ContextPlugin as _0x5224df,Editor as _0x202a08}from'ckeditor5/src/core';import{CKEditorError as _0x27ff79}from'ckeditor5/src/utils';export default class i extends _0x5224df{static get[_0x82df('0x9')](){return _0x82df('0xc');}[_0x82df('0x12')](_0x34b72b,_0x4edda4){let _0x580978;if(_0x4edda4||(_0x4edda4=this['context'][_0x82df('0x18')][_0x82df('0x2')](_0x82df('0x15'))),this[_0x82df('0x1a')][_0x82df('0x18')][_0x82df('0x2')](_0x82df('0x15'))==_0x4edda4?_0x580978=this[_0x82df('0x1a')]:this[_0x82df('0x1a')]['editors']&&(_0x580978=this['context'][_0x82df('0x17')][_0x82df('0x0')](_0xa2a731=>_0xa2a731['config'][_0x82df('0x2')](_0x82df('0x15'))==_0x4edda4)),!_0x580978)throw new _0x27ff79(_0x82df('0x19'),null);const _0x2d5b84=_0x580978[_0x82df('0xe')],_0x1a5b1d=_0x580978 instanceof _0x202a08,_0x4f7b00=_0x2d5b84[_0x82df('0xb')]('CommentsRepository')&&_0x2d5b84[_0x82df('0x2')](_0x82df('0xa')),_0x20e8ff=_0x2d5b84[_0x82df('0xb')](_0x82df('0x16'))&&_0x2d5b84[_0x82df('0x2')](_0x82df('0x16')),_0x214f49=_0x34b72b[_0x82df('0xd')]('document:write'),_0x2a3d6d=_0x34b72b[_0x82df('0xd')](_0x82df('0x8')),_0x4a2c8a=_0x34b72b[_0x82df('0xd')](_0x82df('0x5'))||_0x2a3d6d;(_0x20e8ff&&(_0x20e8ff[_0x82df('0x11')]=!_0x214f49&&_0x4a2c8a),_0x1a5b1d)&&(!(_0x214f49||_0x4a2c8a&&_0x4f7b00)?_0x580978[_0x82df('0x7')]('no-permissions'):_0x580978[_0x82df('0x3')](_0x82df('0xf')));if(_0x4f7b00){_0x4f7b00['switchReadOnly'](!_0x4a2c8a,_0x4edda4),_0x4f7b00[_0x82df('0x13')](_0x2a3d6d,_0x4edda4);const _0x1bc256=_0x1a5b1d&&_0x580978[_0x82df('0x6')][_0x82df('0x2')](_0x82df('0x14'));_0x1bc256&&(_0x4a2c8a?_0x1bc256[_0x82df('0x10')](_0x82df('0x4')):_0x1bc256[_0x82df('0x1')](_0x82df('0x4')));}}}
23
+ const _0x19a4=['switchReadOnly','permissions-set-permissions-invalid-channel-id','has','noPermissions','editors','CommentsRepository','disableReadOnlyMode','get','enableReadOnlyMode','config','clearForceDisabled','collaboration.channelId','context','includes','Permissions','setAdminPermissions','forceDisabled','no-permissions','document:write','CommentsOnly','comment:write'];(function(_0x2dd359,_0x19a443){const _0x556929=function(_0x43d0c9){while(--_0x43d0c9){_0x2dd359['push'](_0x2dd359['shift']());}};_0x556929(++_0x19a443);}(_0x19a4,0x124));const _0x5569=function(_0x2dd359,_0x19a443){_0x2dd359=_0x2dd359-0x0;let _0x556929=_0x19a4[_0x2dd359];return _0x556929;};import{ContextPlugin as _0x485269,Editor as _0x3f4d11}from'ckeditor5/src/core';import{CKEditorError as _0x47479b}from'ckeditor5/src/utils';export default class i extends _0x485269{static get['pluginName'](){return _0x5569('0x10');}['setPermissions'](_0x5f573c,_0x5a3545){let _0x1fe132;if(_0x5a3545||(_0x5a3545=this[_0x5569('0xe')][_0x5569('0xb')][_0x5569('0x9')](_0x5569('0xd'))),this[_0x5569('0xe')][_0x5569('0xb')][_0x5569('0x9')]('collaboration.channelId')==_0x5a3545?_0x1fe132=this['context']:this[_0x5569('0xe')]['editors']&&(_0x1fe132=this[_0x5569('0xe')][_0x5569('0x6')]['find'](_0x224855=>_0x224855['config'][_0x5569('0x9')](_0x5569('0xd'))==_0x5a3545)),!_0x1fe132)throw new _0x47479b(_0x5569('0x3'),null);const _0x18438c=_0x1fe132['plugins'],_0x5e45e1=_0x1fe132 instanceof _0x3f4d11,_0x51b50e=_0x18438c['has'](_0x5569('0x7'))&&_0x18438c[_0x5569('0x9')](_0x5569('0x7')),_0x3f9a23=_0x18438c[_0x5569('0x4')]('CommentsOnly')&&_0x18438c['get'](_0x5569('0x0')),_0x227ae2=_0x5f573c[_0x5569('0xf')](_0x5569('0x14')),_0x4a1409=_0x5f573c[_0x5569('0xf')]('comment:admin'),_0x8bef07=_0x5f573c[_0x5569('0xf')](_0x5569('0x1'))||_0x4a1409;(_0x3f9a23&&(_0x3f9a23['isEnabled']=!_0x227ae2&&_0x8bef07),_0x5e45e1)&&(!(_0x227ae2||_0x8bef07&&_0x51b50e)?_0x1fe132[_0x5569('0xa')]('no-permissions'):_0x1fe132[_0x5569('0x8')](_0x5569('0x13')));if(_0x51b50e){_0x51b50e[_0x5569('0x2')](!_0x8bef07,_0x5a3545),_0x51b50e[_0x5569('0x11')](_0x4a1409,_0x5a3545);const _0x1ab1f2=_0x5e45e1&&_0x1fe132['commands'][_0x5569('0x9')]('addCommentThread');_0x1ab1f2&&(_0x8bef07?_0x1ab1f2[_0x5569('0xc')](_0x5569('0x5')):_0x1ab1f2[_0x5569('0x12')](_0x5569('0x5')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';
23
+ import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';import'../theme/integrations/codeblock.css';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22bc=['ck-user__anonymous','url(\x27','initials','ck-user','ck-user__avatar','isAnonymous','setTemplate','ck-user__img','name','avatar','push','ck\x20ck-user__name'];(function(_0x5cb5e8,_0x22bc7e){const _0x4a3821=function(_0x317dd4){while(--_0x317dd4){_0x5cb5e8['push'](_0x5cb5e8['shift']());}};_0x4a3821(++_0x22bc7e);}(_0x22bc,0x1e9));const _0x4a38=function(_0x5cb5e8,_0x22bc7e){_0x5cb5e8=_0x5cb5e8-0x0;let _0x4a3821=_0x22bc[_0x5cb5e8];return _0x4a3821;};import{View as _0x19cbdc}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class _ extends _0x19cbdc{constructor(_0x1be055,_0x478c13){super(_0x1be055),this[_0x4a38('0xb')]=_0x478c13[_0x4a38('0xb')];const _0x5ba09b=['ck',_0x4a38('0xa')];_0x478c13[_0x4a38('0x8')]&&_0x5ba09b[_0x4a38('0x1')](_0x4a38('0x3')),_0x478c13[_0x4a38('0x0')]&&_0x5ba09b[_0x4a38('0x1')](_0x4a38('0x7')),this[_0x4a38('0x9')]({'tag':'div','attributes':{'class':['ck',_0x4a38('0x6')],'data-user-id':_0x478c13['id']},'children':[{'tag':'div','attributes':{'class':_0x5ba09b,'style':{'background-image':_0x478c13['avatar']?_0x4a38('0x4')+_0x478c13[_0x4a38('0x0')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x478c13[_0x4a38('0x0')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x4a38('0x2')},'children':[{'text':_0x478c13[_0x4a38('0x5')]}]}]});}}
23
+ const _0xd600=['ck-user__img','div','avatar','isAnonymous','ck-user__avatar','ck-user__anonymous','push','name','url(\x27','setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden'];(function(_0x5307aa,_0xd60006){const _0x2dd690=function(_0x22f343){while(--_0x22f343){_0x5307aa['push'](_0x5307aa['shift']());}};_0x2dd690(++_0xd60006);}(_0xd600,0x1c1));const _0x2dd6=function(_0x5307aa,_0xd60006){_0x5307aa=_0x5307aa-0x0;let _0x2dd690=_0xd600[_0x5307aa];return _0x2dd690;};import{View as _0x479681}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class _ extends _0x479681{constructor(_0x56c246,_0x209f4b){super(_0x56c246),this[_0x2dd6('0x9')]=_0x209f4b['name'];const _0x346b90=['ck',_0x2dd6('0x2')];_0x209f4b[_0x2dd6('0x5')]&&_0x346b90['push'](_0x2dd6('0x7')),_0x209f4b[_0x2dd6('0x4')]&&_0x346b90[_0x2dd6('0x8')](_0x2dd6('0x6')),this[_0x2dd6('0x0')]({'tag':_0x2dd6('0x3'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x209f4b['id']},'children':[{'tag':'div','attributes':{'class':_0x346b90,'style':{'background-image':_0x209f4b[_0x2dd6('0x4')]?_0x2dd6('0xa')+_0x209f4b['avatar']+'\x27)':''}}},{'tag':_0x2dd6('0x3'),'attributes':{'class':_0x209f4b[_0x2dd6('0x4')]?_0x2dd6('0x1'):'ck\x20ck-user__name'},'children':[{'text':_0x209f4b['initials']}]}]});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x332a=['_getNextColor','initials','toUpperCase','users.colorsCount','getMarkerClass','name','split','destroy','get','_lastColor','has','_myId','_id','users-me-already-defined','users.anonymousUserId','users-add-invalid-id','trial-license-key-reached-limit','define','users-add-duplicated-id','anonymous-user','Anonymous','ck-user__selection--','isAnonymous','_licenseKeyCheckInterval','_addAnonymousUser','licenseKeyValid','decorate','licenseKey','getSelectionClass','Users','context','string','ck-user__marker--','addUser','_getInitial','getUser','length','invalid-license-key','licenseKeyInvalid','config','init','ck-user__bg-color--','licenseKeyTrialLimit','defineMe','color','getOperationAuthor','licenseKeyTrial','trim','assign','_isAnonymous','_locale','requires','avatar','users'];(function(_0x5174cd,_0x332a86){const _0x57b80c=function(_0x1747ef){while(--_0x1747ef){_0x5174cd['push'](_0x5174cd['shift']());}};_0x57b80c(++_0x332a86);}(_0x332a,0x1ba));const _0x57b8=function(_0x5174cd,_0x332a86){_0x5174cd=_0x5174cd-0x0;let _0x57b80c=_0x332a[_0x5174cd];return _0x57b80c;};import{ContextPlugin as _0x422e81}from'ckeditor5/src/core';import{Collection as _0x2f5c5a,CKEditorError as _0x4f5723}from'ckeditor5/src/utils';import _0x4b147b from'./permissions';import{getTranslation as _0x337e60}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x422e81{static get['pluginName'](){return _0x57b8('0x13');}static get[_0x57b8('0x29')](){return[_0x4b147b];}constructor(_0x4b74bf){super(_0x4b74bf),_0x4b74bf[_0x57b8('0x1d')][_0x57b8('0x7')](_0x57b8('0x4'),_0x57b8('0x9')),_0x4b74bf[_0x57b8('0x1d')][_0x57b8('0x7')](_0x57b8('0x2f'),0x8),this[_0x57b8('0x2b')]=new _0x2f5c5a(),this[_0x57b8('0x28')]=_0x4b74bf['locale'],this[_0x57b8('0xd')]=null,this['_lastColor']=0x0,this['_myId']=null,this[_0x57b8('0x10')](_0x57b8('0x23'));}[_0x57b8('0x1e')](){const _0x414172=this['context'];this[_0x57b8('0x11')]=_0x414172['config'][_0x57b8('0x34')](_0x57b8('0x11')),this[_0x57b8('0xd')]=setInterval(()=>{let _0x30d2de;for(const _0x489255 in _0x414172){const _0x39ff46=_0x414172[_0x489255];if(_0x57b8('0x24')===_0x39ff46||_0x57b8('0x1c')===_0x39ff46||_0x57b8('0xf')===_0x39ff46||'licenseKeyTrialLimit'==_0x39ff46){delete _0x414172[_0x489255],_0x30d2de=_0x39ff46;break;}}if(_0x57b8('0x1c')===_0x30d2de)throw clearInterval(this[_0x57b8('0xd')]),new _0x4f5723(_0x57b8('0x1b'),null);if(_0x57b8('0x24')===_0x30d2de&&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.'),_0x57b8('0x20')===_0x30d2de)throw clearInterval(this[_0x57b8('0xd')]),new _0x4f5723(_0x57b8('0x6'),null);_0x57b8('0xf')===_0x30d2de&&clearInterval(this[_0x57b8('0xd')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x57b8('0x1')]?null:this[_0x57b8('0x19')](this[_0x57b8('0x1')]);}[_0x57b8('0x17')](_0x4b7381){if(!(_0x4b7381=Object[_0x57b8('0x26')]({},_0x4b7381,{'color':this['_getNextColor']()}))['id']||_0x57b8('0x15')!=typeof _0x4b7381['id'])throw new _0x4f5723(_0x57b8('0x5'));if(this['users'][_0x57b8('0x0')](_0x4b7381['id']))throw new _0x4f5723(_0x57b8('0x8'),null,{'id':_0x4b7381['id']});_0x4b7381[_0x57b8('0x31')]=function(_0x10c5ee,_0x2ef016=''){return''==(_0x2ef016=_0x2ef016[_0x57b8('0x25')]())?_0x337e60(_0x10c5ee,'Anonymous'):_0x2ef016;}(this['_locale'],_0x4b7381[_0x57b8('0x31')]);const _0x4066d3=new u(_0x4b7381);return this['users']['add'](_0x4066d3),_0x4066d3;}[_0x57b8('0x19')](_0x32a8db){return this[_0x57b8('0x2b')][_0x57b8('0x34')](_0x32a8db);}['useAnonymousUser'](){const _0x4fae3b=this[_0x57b8('0x14')]['config'][_0x57b8('0x34')]('users.anonymousUserId');this[_0x57b8('0x1')]||this[_0x57b8('0x21')](_0x4fae3b);}['defineMe'](_0x4506a5){if(this[_0x57b8('0x1')])throw new _0x4f5723(_0x57b8('0x3'),null);if(!this['getUser'](_0x4506a5))throw new _0x4f5723('users-me-missing-user',null);this[_0x57b8('0x1')]=_0x4506a5;}['getOperationAuthor'](){return this['me'];}['destroy'](){super[_0x57b8('0x33')](),clearInterval(this[_0x57b8('0xd')]);}[_0x57b8('0x2c')](){const _0xf97efb=this[_0x57b8('0x14')][_0x57b8('0x1d')][_0x57b8('0x34')]('users.colorsCount');return this[_0x57b8('0x35')]>=_0xf97efb&&(this['_lastColor']=0x0),new h(this[_0x57b8('0x35')]++);}[_0x57b8('0xe')](){const _0x3f3d14=this['context'][_0x57b8('0x1d')]['get'](_0x57b8('0x4'));this[_0x57b8('0x17')]({'id':_0x3f3d14,'name':_0x337e60(this[_0x57b8('0x28')],_0x57b8('0xa'))})[_0x57b8('0x27')]=!0x0;}}class u{constructor(_0x460e9e){this['id']=_0x460e9e['id'],this[_0x57b8('0x22')]=_0x460e9e[_0x57b8('0x22')],this['name']=_0x460e9e[_0x57b8('0x31')],this['avatar']=_0x460e9e[_0x57b8('0x2a')],this[_0x57b8('0x27')]=!0x1;}get[_0x57b8('0xc')](){return this['_isAnonymous'];}get[_0x57b8('0x2d')](){const _0x373eff=this[_0x57b8('0x31')][_0x57b8('0x32')]('\x20');return 0x1===_0x373eff[_0x57b8('0x1a')]?this[_0x57b8('0x18')](_0x373eff[0x0]):this['_getInitial'](_0x373eff[0x0])+this[_0x57b8('0x18')](_0x373eff[_0x373eff[_0x57b8('0x1a')]-0x1]);}[_0x57b8('0x18')](_0x478447){return _0x478447['charAt'](0x0)[_0x57b8('0x2e')]();}}class h{constructor(_0x4953e1){this['_id']=_0x4953e1;}['getBackgroundColorClass'](){return _0x57b8('0x1f')+this[_0x57b8('0x2')];}[_0x57b8('0x12')](){return _0x57b8('0xb')+this[_0x57b8('0x2')];}[_0x57b8('0x30')](){return _0x57b8('0x16')+this[_0x57b8('0x2')];}}
23
+ const _0x3221=['invalid-license-key','_id','_addAnonymousUser','_isAnonymous','avatar','useAnonymousUser','initials','pluginName','context','licenseKeyTrial','licenseKeyValid','get','string','add','trial-license-key-reached-limit','_getInitial','getOperationAuthor','charAt','ck-user__bg-color--','users.anonymousUserId','users.colorsCount','addUser','ck-user__marker--','color','users-add-duplicated-id','info','assign','users-add-invalid-id','has','_myId','_getNextColor','licenseKeyTrialLimit','locale','getSelectionClass','licenseKeyInvalid','getBackgroundColorClass','_lastColor','Users','toUpperCase','_locale','split','defineMe','ck-user__selection--','config','_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.','trim','name','define','Anonymous','users-me-missing-user','licenseKey','getUser','users','users-me-already-defined','destroy'];(function(_0x3a7c2e,_0x322186){const _0x47326c=function(_0x5bd9ad){while(--_0x5bd9ad){_0x3a7c2e['push'](_0x3a7c2e['shift']());}};_0x47326c(++_0x322186);}(_0x3221,0x159));const _0x4732=function(_0x3a7c2e,_0x322186){_0x3a7c2e=_0x3a7c2e-0x0;let _0x47326c=_0x3221[_0x3a7c2e];return _0x47326c;};import{ContextPlugin as _0x2b0e90}from'ckeditor5/src/core';import{Collection as _0x2b2759,CKEditorError as _0x7931ef}from'ckeditor5/src/utils';import _0x509dae from'./permissions';import{getTranslation as _0x538f40}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x2b0e90{static get[_0x4732('0x36')](){return _0x4732('0x1c');}static get['requires'](){return[_0x509dae];}constructor(_0x3c2e2c){super(_0x3c2e2c),_0x3c2e2c[_0x4732('0x22')][_0x4732('0x27')]('users.anonymousUserId','anonymous-user'),_0x3c2e2c[_0x4732('0x22')]['define'](_0x4732('0xb'),0x8),this[_0x4732('0x2c')]=new _0x2b2759(),this[_0x4732('0x1e')]=_0x3c2e2c[_0x4732('0x17')],this[_0x4732('0x23')]=null,this[_0x4732('0x1b')]=0x0,this[_0x4732('0x14')]=null,this['decorate'](_0x4732('0x7'));}['init'](){const _0x2ebbb2=this[_0x4732('0x37')];this[_0x4732('0x2a')]=_0x2ebbb2[_0x4732('0x22')]['get'](_0x4732('0x2a')),this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fffcd;for(const _0x598b13 in _0x2ebbb2){const _0x21e8b9=_0x2ebbb2[_0x598b13];if(_0x4732('0x0')===_0x21e8b9||_0x4732('0x19')===_0x21e8b9||_0x4732('0x1')===_0x21e8b9||_0x4732('0x16')==_0x21e8b9){delete _0x2ebbb2[_0x598b13],_0x2fffcd=_0x21e8b9;break;}}if(_0x4732('0x19')===_0x2fffcd)throw clearInterval(this[_0x4732('0x23')]),new _0x7931ef(_0x4732('0x2f'),null);if(_0x4732('0x0')===_0x2fffcd&&console[_0x4732('0x10')](_0x4732('0x24')),_0x4732('0x16')===_0x2fffcd)throw clearInterval(this[_0x4732('0x23')]),new _0x7931ef(_0x4732('0x5'),null);'licenseKeyValid'===_0x2fffcd&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x4732('0x31')]();}get['me'](){return null==this[_0x4732('0x14')]?null:this[_0x4732('0x2b')](this[_0x4732('0x14')]);}[_0x4732('0xc')](_0x388d83){if(!(_0x388d83=Object[_0x4732('0x11')]({},_0x388d83,{'color':this[_0x4732('0x15')]()}))['id']||_0x4732('0x3')!=typeof _0x388d83['id'])throw new _0x7931ef(_0x4732('0x12'));if(this[_0x4732('0x2c')][_0x4732('0x13')](_0x388d83['id']))throw new _0x7931ef(_0x4732('0xf'),null,{'id':_0x388d83['id']});_0x388d83['name']=function(_0x3cfde4,_0x167378=''){return''==(_0x167378=_0x167378[_0x4732('0x25')]())?_0x538f40(_0x3cfde4,_0x4732('0x28')):_0x167378;}(this[_0x4732('0x1e')],_0x388d83[_0x4732('0x26')]);const _0x5461db=new u(_0x388d83);return this[_0x4732('0x2c')][_0x4732('0x4')](_0x5461db),_0x5461db;}[_0x4732('0x2b')](_0x5e7352){return this['users']['get'](_0x5e7352);}[_0x4732('0x34')](){const _0x5a6f11=this['context']['config'][_0x4732('0x2')](_0x4732('0xa'));this['_myId']||this['defineMe'](_0x5a6f11);}[_0x4732('0x20')](_0x12f3ac){if(this[_0x4732('0x14')])throw new _0x7931ef(_0x4732('0x2d'),null);if(!this[_0x4732('0x2b')](_0x12f3ac))throw new _0x7931ef(_0x4732('0x29'),null);this['_myId']=_0x12f3ac;}[_0x4732('0x7')](){return this['me'];}[_0x4732('0x2e')](){super[_0x4732('0x2e')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x4732('0x15')](){const _0x40d119=this[_0x4732('0x37')]['config'][_0x4732('0x2')](_0x4732('0xb'));return this[_0x4732('0x1b')]>=_0x40d119&&(this[_0x4732('0x1b')]=0x0),new h(this['_lastColor']++);}[_0x4732('0x31')](){const _0x4a430d=this[_0x4732('0x37')][_0x4732('0x22')]['get'](_0x4732('0xa'));this[_0x4732('0xc')]({'id':_0x4a430d,'name':_0x538f40(this[_0x4732('0x1e')],_0x4732('0x28'))})[_0x4732('0x32')]=!0x0;}}class u{constructor(_0x2ff9a5){this['id']=_0x2ff9a5['id'],this[_0x4732('0xe')]=_0x2ff9a5['color'],this[_0x4732('0x26')]=_0x2ff9a5['name'],this['avatar']=_0x2ff9a5[_0x4732('0x33')],this[_0x4732('0x32')]=!0x1;}get['isAnonymous'](){return this[_0x4732('0x32')];}get[_0x4732('0x35')](){const _0x4e0953=this[_0x4732('0x26')][_0x4732('0x1f')]('\x20');return 0x1===_0x4e0953['length']?this[_0x4732('0x6')](_0x4e0953[0x0]):this[_0x4732('0x6')](_0x4e0953[0x0])+this[_0x4732('0x6')](_0x4e0953[_0x4e0953['length']-0x1]);}[_0x4732('0x6')](_0x5056f7){return _0x5056f7[_0x4732('0x8')](0x0)[_0x4732('0x1d')]();}}class h{constructor(_0x123867){this[_0x4732('0x30')]=_0x123867;}[_0x4732('0x1a')](){return _0x4732('0x9')+this[_0x4732('0x30')];}[_0x4732('0x18')](){return _0x4732('0x21')+this[_0x4732('0x30')];}['getMarkerClass'](){return _0x4732('0xd')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x156241,_0x4713a6){const t=_0x156241['t'];switch(_0x4713a6){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
23
+ export function getTranslation(_0x4d3766,_0x5050f9){const t=_0x4d3766['t'];switch(_0x5050f9){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x169d=['isConfirm','message','deregisterChild','destroy','confirmView','once','element','cancel','remove','_removeConfirm','set','registerChild','render','submit'];(function(_0x215f95,_0x169dad){var _0x4058c9=function(_0x461081){while(--_0x461081){_0x215f95['push'](_0x215f95['shift']());}};_0x4058c9(++_0x169dad);}(_0x169d,0xf0));var _0x4058=function(_0x215f95,_0x169dad){_0x215f95=_0x215f95-0x0;var _0x4058c9=_0x169d[_0x215f95];return _0x4058c9;};import _0x2a9c7a from'./confirmview';export default{'showConfirm'(_0x415594,_0x2a536d){return this[_0x4058('0x2')]=new _0x2a9c7a(this['locale']),this[_0x4058('0x2')][_0x4058('0xa')](),this[_0x4058('0x2')][_0x4058('0xd')]=_0x415594,this[_0x4058('0x2')][_0x4058('0x3')](_0x4058('0x5'),()=>{this[_0x4058('0x7')]();}),this[_0x4058('0x2')][_0x4058('0x3')](_0x4058('0xb'),()=>{this[_0x4058('0x7')]();}),_0x2a536d['appendChild'](this['confirmView'][_0x4058('0x4')]),this[_0x4058('0x9')](this[_0x4058('0x2')]),this[_0x4058('0x8')]('isConfirm',!0x0),new Promise(_0x180277=>this[_0x4058('0x2')]['on'](_0x4058('0xb'),_0x180277));},'cancelConfirm'(){this[_0x4058('0xc')]&&this['confirmView']['fire'](_0x4058('0x5'));},'_removeConfirm'(){this[_0x4058('0x2')]['element'][_0x4058('0x6')](),this[_0x4058('0x0')](this[_0x4058('0x2')]),this['isConfirm']=!0x1,this[_0x4058('0x2')][_0x4058('0x1')](),delete this[_0x4058('0x2')];}};
23
+ var _0x550e=['appendChild','set','remove','deregisterChild','fire','confirmView','once','element','_removeConfirm','message','cancel','isConfirm','submit','locale'];(function(_0x438525,_0x550e10){var _0x21813a=function(_0x2cf4df){while(--_0x2cf4df){_0x438525['push'](_0x438525['shift']());}};_0x21813a(++_0x550e10);}(_0x550e,0x17f));var _0x2181=function(_0x438525,_0x550e10){_0x438525=_0x438525-0x0;var _0x21813a=_0x550e[_0x438525];return _0x21813a;};import _0x5b1671 from'./confirmview';export default{'showConfirm'(_0x303d4c,_0x54acd4){return this[_0x2181('0x0')]=new _0x5b1671(this[_0x2181('0x8')]),this[_0x2181('0x0')]['render'](),this[_0x2181('0x0')][_0x2181('0x4')]=_0x303d4c,this[_0x2181('0x0')]['once']('cancel',()=>{this[_0x2181('0x3')]();}),this[_0x2181('0x0')][_0x2181('0x1')](_0x2181('0x7'),()=>{this[_0x2181('0x3')]();}),_0x54acd4[_0x2181('0x9')](this[_0x2181('0x0')]['element']),this['registerChild'](this[_0x2181('0x0')]),this[_0x2181('0xa')]('isConfirm',!0x0),new Promise(_0xf78ec5=>this[_0x2181('0x0')]['on'](_0x2181('0x7'),_0xf78ec5));},'cancelConfirm'(){this['isConfirm']&&this[_0x2181('0x0')][_0x2181('0xd')](_0x2181('0x5'));},'_removeConfirm'(){this[_0x2181('0x0')][_0x2181('0x2')][_0x2181('0xb')](),this[_0x2181('0xc')](this[_0x2181('0x0')]),this[_0x2181('0x6')]=!0x1,this['confirmView']['destroy'](),delete this[_0x2181('0x0')];}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5134=['setTemplate','message','set','ck-thread__remove-confirm-','submit','label','_createButtonView','submitView','extendTemplate','icon','Are\x20you\x20sure?','cancelView','div','ck-thread__remove-confirm-actions','cancel','ck-thread__remove-confirm-inner'];(function(_0x1e6fb3,_0x5134b6){const _0x225d60=function(_0x564d42){while(--_0x564d42){_0x1e6fb3['push'](_0x1e6fb3['shift']());}};_0x225d60(++_0x5134b6);}(_0x5134,0xe3));const _0x225d=function(_0x1e6fb3,_0x5134b6){_0x1e6fb3=_0x1e6fb3-0x0;let _0x225d60=_0x5134[_0x1e6fb3];return _0x225d60;};import{View as _0x37a37c,ButtonView as _0x547aaa}from'ckeditor5/src/ui';import{icons as _0x324bfe}from'ckeditor5/src/core';import{getTranslation as _0x1a9ea5}from'./common-translations';export default class m extends _0x37a37c{constructor(_0x3ae19e){super(_0x3ae19e);const _0x4a18c1=this['bindTemplate'];this[_0x225d('0x4')]=this[_0x225d('0x3')](_0x3ae19e,_0x1a9ea5(_0x3ae19e,'Yes'),_0x324bfe['check'],_0x225d('0x1')),this['cancelView']=this[_0x225d('0x3')](_0x3ae19e,_0x1a9ea5(_0x3ae19e,'No'),_0x324bfe[_0x225d('0xb')],_0x225d('0xb')),this[_0x225d('0xf')](_0x225d('0xe'),_0x1a9ea5(_0x3ae19e,_0x225d('0x7'))),this[_0x225d('0xd')]({'tag':_0x225d('0x9'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':_0x225d('0xc')},'children':[{'tag':'p','children':[{'text':_0x4a18c1['to'](_0x225d('0xe'))}]},{'tag':'div','attributes':{'class':_0x225d('0xa')},'children':[this['submitView'],this[_0x225d('0x8')]]}]}]});}['_createButtonView'](_0x93b1ea,_0x4349c3,_0x1c80b0,_0x31efdf){const _0x181c8f=new _0x547aaa(_0x93b1ea);return _0x181c8f[_0x225d('0x2')]=_0x4349c3,_0x181c8f[_0x225d('0x6')]=_0x1c80b0,_0x181c8f[_0x225d('0x5')]({'attributes':{'class':_0x225d('0x0')+_0x31efdf}}),_0x181c8f['on']('execute',()=>this['fire'](_0x31efdf)),_0x181c8f;}}
23
+ const _0x2f73=['label','Are\x20you\x20sure?','_createButtonView','cancelView','div','Yes','submitView','ck-thread__remove-confirm','execute','cancel','setTemplate','bindTemplate','message','check','ck-thread__remove-confirm-actions','fire','ck-thread__remove-confirm-','icon'];(function(_0x462f72,_0x2f730c){const _0x28483f=function(_0x1f6e37){while(--_0x1f6e37){_0x462f72['push'](_0x462f72['shift']());}};_0x28483f(++_0x2f730c);}(_0x2f73,0x18b));const _0x2848=function(_0x462f72,_0x2f730c){_0x462f72=_0x462f72-0x0;let _0x28483f=_0x2f73[_0x462f72];return _0x28483f;};import{View as _0x4f1183,ButtonView as _0x55c6ef}from'ckeditor5/src/ui';import{icons as _0x340d89}from'ckeditor5/src/core';import{getTranslation as _0x1d6bf8}from'./common-translations';export default class m extends _0x4f1183{constructor(_0x410df8){super(_0x410df8);const _0x5f0fe0=this[_0x2848('0xc')];this[_0x2848('0x7')]=this[_0x2848('0x3')](_0x410df8,_0x1d6bf8(_0x410df8,_0x2848('0x6')),_0x340d89[_0x2848('0xe')],'submit'),this[_0x2848('0x4')]=this['_createButtonView'](_0x410df8,_0x1d6bf8(_0x410df8,'No'),_0x340d89[_0x2848('0xa')],_0x2848('0xa')),this['set'](_0x2848('0xd'),_0x1d6bf8(_0x410df8,_0x2848('0x2'))),this[_0x2848('0xb')]({'tag':_0x2848('0x5'),'attributes':{'class':[_0x2848('0x8')]},'children':[{'tag':_0x2848('0x5'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x5f0fe0['to']('message')}]},{'tag':_0x2848('0x5'),'attributes':{'class':_0x2848('0xf')},'children':[this[_0x2848('0x7')],this[_0x2848('0x4')]]}]}]});}['_createButtonView'](_0x1001cb,_0xe0ff65,_0x19a5e5,_0x212965){const _0x4e3360=new _0x55c6ef(_0x1001cb);return _0x4e3360[_0x2848('0x1')]=_0xe0ff65,_0x4e3360[_0x2848('0x0')]=_0x19a5e5,_0x4e3360['extendTemplate']({'attributes':{'class':_0x2848('0x11')+_0x212965}}),_0x4e3360['on'](_0x2848('0x9'),()=>this[_0x2848('0x10')](_0x212965)),_0x4e3360;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5312=['MM-dd-yyyy\x20hh:mma','\x27Yesterday\x27\x20hh:mma','dateTimeFormat','function','invalid-date-time-format','\x27Today\x27\x20hh:mma'];(function(_0x4e41df,_0x5312bd){const _0x752af5=function(_0x31f3f3){while(--_0x31f3f3){_0x4e41df['push'](_0x4e41df['shift']());}};_0x752af5(++_0x5312bd);}(_0x5312,0x1ad));const _0x752a=function(_0x4e41df,_0x5312bd){_0x4e41df=_0x4e41df-0x0;let _0x752af5=_0x5312[_0x4e41df];return _0x752af5;};import _0xe629ba from'date-fns/format';import _0x27661e from'date-fns/parseISO';import _0x39a750 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x53485d}from'ckeditor5/src/utils';export default function E(_0x39c5ae={}){if(void 0x0!==_0x39c5ae['dateTimeFormat']&&_0x752a('0x0')!=typeof _0x39c5ae[_0x752a('0x5')])throw new _0x53485d(_0x752a('0x1'));return _0x428392=>{const _0x3fbf07='string'==typeof _0x428392?_0x27661e(_0x428392):_0x428392,_0x3f5f3e=new Date(),_0x4b2260=_0x39a750(_0x3f5f3e,_0x3fbf07);return _0x39c5ae[_0x752a('0x5')]?_0x39c5ae[_0x752a('0x5')](_0x3fbf07):_0xe629ba(_0x3fbf07,0x0===_0x4b2260?_0x752a('0x2'):0x1===_0x4b2260?_0x752a('0x4'):_0x4b2260<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x752a('0x3'));};}
23
+ const _0x5894=['string','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','invalid-date-time-format'];(function(_0x53960e,_0x5894bf){const _0x279f77=function(_0x578fd1){while(--_0x578fd1){_0x53960e['push'](_0x53960e['shift']());}};_0x279f77(++_0x5894bf);}(_0x5894,0x1c3));const _0x279f=function(_0x53960e,_0x5894bf){_0x53960e=_0x53960e-0x0;let _0x279f77=_0x5894[_0x53960e];return _0x279f77;};import _0x1487e1 from'date-fns/format';import _0x176aaf from'date-fns/parseISO';import _0xcfaa1d from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x1d5500}from'ckeditor5/src/utils';export default function E(_0x471014={}){if(void 0x0!==_0x471014['dateTimeFormat']&&'function'!=typeof _0x471014['dateTimeFormat'])throw new _0x1d5500(_0x279f('0x4'));return _0x201358=>{const _0x1b0021=_0x279f('0x5')==typeof _0x201358?_0x176aaf(_0x201358):_0x201358,_0x5e5c0c=new Date(),_0xb25823=_0xcfaa1d(_0x5e5c0c,_0x1b0021);return _0x471014['dateTimeFormat']?_0x471014[_0x279f('0x3')](_0x1b0021):_0x1487e1(_0x1b0021,0x0===_0xb25823?_0x279f('0x1'):0x1===_0xb25823?_0x279f('0x0'):_0xb25823<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x279f('0x2'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x78bd=['markerNameToElements','mapper','mapViewToDom','values','name','view'];(function(_0x5637cf,_0x78bdd7){const _0x41b78e=function(_0x48f914){while(--_0x48f914){_0x5637cf['push'](_0x5637cf['shift']());}};_0x41b78e(++_0x78bdd7);}(_0x78bd,0x1ce));const _0x41b7=function(_0x5637cf,_0x78bdd7){_0x5637cf=_0x5637cf-0x0;let _0x41b78e=_0x78bd[_0x5637cf];return _0x41b78e;};import{first as _0x4dfc32}from'ckeditor5/src/utils';export default function x(_0x159e63,_0x17e24c){const _0x16766d=_0x159e63[_0x41b7('0x1')][_0x41b7('0x0')](_0x17e24c[_0x41b7('0x4')]),_0x142f80=_0x4dfc32(_0x16766d[_0x41b7('0x3')]());return _0x159e63[_0x41b7('0x5')]['domConverter'][_0x41b7('0x2')](_0x142f80);}
23
+ const _0x41e0=['markerNameToElements','name','view','values','domConverter'];(function(_0x229f34,_0x41e0be){const _0x22b97a=function(_0x182a44){while(--_0x182a44){_0x229f34['push'](_0x229f34['shift']());}};_0x22b97a(++_0x41e0be);}(_0x41e0,0xf5));const _0x22b9=function(_0x229f34,_0x41e0be){_0x229f34=_0x229f34-0x0;let _0x22b97a=_0x41e0[_0x229f34];return _0x22b97a;};import{first as _0x8cd4c4}from'ckeditor5/src/utils';export default function x(_0x4fc21a,_0x56416d){const _0x2f100b=_0x4fc21a['mapper'][_0x22b9('0x0')](_0x56416d[_0x22b9('0x1')]),_0x2cfe56=_0x8cd4c4(_0x2f100b[_0x22b9('0x3')]());return _0x4fc21a[_0x22b9('0x2')][_0x22b9('0x4')]['mapViewToDom'](_0x2cfe56);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2333=['match','push','replace','join','indexOf','substring','split','slice','length','pop','startsWith','...'];(function(_0x1ad52d,_0x23330f){const _0x53d268=function(_0x5ddd5e){while(--_0x5ddd5e){_0x1ad52d['push'](_0x1ad52d['shift']());}};_0x53d268(++_0x23330f);}(_0x2333,0xd4));const _0x53d2=function(_0x1ad52d,_0x23330f){_0x1ad52d=_0x1ad52d-0x0;let _0x53d268=_0x2333[_0x1ad52d];return _0x53d268;};export default function g(_0x187792,{limit:_0x2ab69b,suffix:_0x33da22=_0x53d2('0x3')}){const _0x28c127=[];let _0x225ebe=0x0;const _0x4f9400=_0x187792[_0x53d2('0x6')](/</g,'\x0a<')[_0x53d2('0x6')](/>/g,'>\x0a')[_0x53d2('0x6')](/^\n/g,'')[_0x53d2('0x6')](/\n$/g,'')[_0x53d2('0xa')]('\x0a');for(let _0x3a902c=0x0;_0x3a902c<_0x4f9400['length'];_0x3a902c++){let _0x19e2ca=_0x4f9400[_0x3a902c];const _0x2cafbb=z(_0x19e2ca);if(_0x19e2ca[_0x53d2('0x2')]('<')){if(_0x225ebe>=_0x2ab69b){const _0x1e0d0b=_0x19e2ca[_0x53d2('0x4')](/[a-zA-Z]+/)[0x0];_0x19e2ca[_0x53d2('0x2')]('</')?(_0x28c127['length']&&(_0x19e2ca=''),_0x28c127[_0x53d2('0x1')]()):(_0x28c127[_0x53d2('0x5')](_0x1e0d0b),_0x19e2ca='');}}else{if(_0x225ebe>=_0x2ab69b)_0x19e2ca='';else{if(_0x225ebe+_0x2cafbb[_0x53d2('0x0')]>=_0x2ab69b){let _0x4730d4=_0x2ab69b-_0x225ebe;if('\x20'===_0x2cafbb[_0x4730d4-0x1])_0x4730d4--;else{const _0x5054db=_0x2cafbb[_0x53d2('0xb')](_0x4730d4)[_0x53d2('0x8')]('\x20');-0x1!==_0x5054db?_0x4730d4+=_0x5054db:_0x4730d4=_0x19e2ca[_0x53d2('0x0')];}_0x19e2ca=_0x2cafbb['slice'](0x0,_0x4730d4)[_0x53d2('0x7')]('')+_0x33da22,_0x225ebe=_0x2ab69b;}else _0x225ebe+=_0x2cafbb[_0x53d2('0x0')];}}_0x4f9400[_0x3a902c]=_0x19e2ca;}return _0x4f9400[_0x53d2('0x7')]('\x0a')[_0x53d2('0x6')](/\n/g,'');}function z(_0x539610){const _0x23a576=[];for(let _0x56b54f=0x0;_0x56b54f<_0x539610[_0x53d2('0x0')];_0x56b54f++){const _0xb3ad0f=_0x539610[_0x53d2('0x9')](_0x56b54f)['match'](/^&[a-z0-9#]+;/);if(_0xb3ad0f){const _0x3ef2dc=_0xb3ad0f[0x0];_0x23a576[_0x53d2('0x5')](_0x3ef2dc),_0x56b54f+=_0x3ef2dc['length']-0x1;}else _0x23a576[_0x53d2('0x5')](_0x539610[_0x56b54f]);}return _0x23a576;}
23
+ const _0x25e6=['length','...','startsWith','slice','match','indexOf','pop','replace','push','join','split','substring'];(function(_0x12f86a,_0x25e664){const _0x9d6ed5=function(_0x523ed7){while(--_0x523ed7){_0x12f86a['push'](_0x12f86a['shift']());}};_0x9d6ed5(++_0x25e664);}(_0x25e6,0xb3));const _0x9d6e=function(_0x12f86a,_0x25e664){_0x12f86a=_0x12f86a-0x0;let _0x9d6ed5=_0x25e6[_0x12f86a];return _0x9d6ed5;};export default function g(_0x43e90a,{limit:_0xa55152,suffix:_0x305c96=_0x9d6e('0x2')}){const _0xdaad2a=[];let _0x2a07e8=0x0;const _0x15e7b9=_0x43e90a[_0x9d6e('0x8')](/</g,'\x0a<')[_0x9d6e('0x8')](/>/g,'>\x0a')[_0x9d6e('0x8')](/^\n/g,'')[_0x9d6e('0x8')](/\n$/g,'')[_0x9d6e('0xb')]('\x0a');for(let _0x4da923=0x0;_0x4da923<_0x15e7b9[_0x9d6e('0x1')];_0x4da923++){let _0x530438=_0x15e7b9[_0x4da923];const _0xde71d9=z(_0x530438);if(_0x530438['startsWith']('<')){if(_0x2a07e8>=_0xa55152){const _0x539551=_0x530438['match'](/[a-zA-Z]+/)[0x0];_0x530438[_0x9d6e('0x3')]('</')?(_0xdaad2a[_0x9d6e('0x1')]&&(_0x530438=''),_0xdaad2a[_0x9d6e('0x7')]()):(_0xdaad2a[_0x9d6e('0x9')](_0x539551),_0x530438='');}}else{if(_0x2a07e8>=_0xa55152)_0x530438='';else{if(_0x2a07e8+_0xde71d9['length']>=_0xa55152){let _0x1772d1=_0xa55152-_0x2a07e8;if('\x20'===_0xde71d9[_0x1772d1-0x1])_0x1772d1--;else{const _0x76ee56=_0xde71d9[_0x9d6e('0x4')](_0x1772d1)[_0x9d6e('0x6')]('\x20');-0x1!==_0x76ee56?_0x1772d1+=_0x76ee56:_0x1772d1=_0x530438[_0x9d6e('0x1')];}_0x530438=_0xde71d9[_0x9d6e('0x4')](0x0,_0x1772d1)[_0x9d6e('0xa')]('')+_0x305c96,_0x2a07e8=_0xa55152;}else _0x2a07e8+=_0xde71d9[_0x9d6e('0x1')];}}_0x15e7b9[_0x4da923]=_0x530438;}return _0x15e7b9[_0x9d6e('0xa')]('\x0a')[_0x9d6e('0x8')](/\n/g,'');}function z(_0x262a32){const _0x22ae9f=[];for(let _0xdc8ab0=0x0;_0xdc8ab0<_0x262a32[_0x9d6e('0x1')];_0xdc8ab0++){const _0x24d5e6=_0x262a32[_0x9d6e('0x0')](_0xdc8ab0)[_0x9d6e('0x5')](/^&[a-z0-9#]+;/);if(_0x24d5e6){const _0x4a5fd8=_0x24d5e6[0x0];_0x22ae9f[_0x9d6e('0x9')](_0x4a5fd8),_0xdc8ab0+=_0x4a5fd8['length']-0x1;}else _0x22ae9f[_0x9d6e('0x9')](_0x262a32[_0xdc8ab0]);}return _0x22ae9f;}
@@ -0,0 +1,8 @@
1
+ .ck-content pre > code.ck-suggestion-marker-formatBlock {
2
+ display: block;
3
+ box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
4
+
5
+ &.ck-suggestion-marker--active {
6
+ box-shadow: -5px 0 0 0 hsl(0deg 0% 93%), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
7
+ }
8
+ }