@ckeditor/ckeditor5-comments 32.0.0 → 34.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.
Files changed (131) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/comments.js +5 -0
  4. package/build/translations/af.js +1 -0
  5. package/build/translations/bs.js +1 -0
  6. package/build/translations/cs.js +1 -0
  7. package/build/translations/da.js +1 -0
  8. package/build/translations/de-ch.js +1 -0
  9. package/build/translations/de.js +1 -0
  10. package/build/translations/el.js +1 -0
  11. package/build/translations/en-au.js +1 -0
  12. package/build/translations/es.js +1 -0
  13. package/build/translations/et.js +1 -0
  14. package/build/translations/fr.js +1 -0
  15. package/build/translations/gl.js +1 -0
  16. package/build/translations/hi.js +1 -0
  17. package/build/translations/hr.js +1 -0
  18. package/build/translations/hu.js +1 -0
  19. package/build/translations/id.js +1 -0
  20. package/build/translations/it.js +1 -0
  21. package/build/translations/ja.js +1 -0
  22. package/build/translations/jv.js +1 -0
  23. package/build/translations/ko.js +1 -0
  24. package/build/translations/lv.js +1 -0
  25. package/build/translations/nl.js +1 -0
  26. package/build/translations/no.js +1 -0
  27. package/build/translations/pl.js +1 -0
  28. package/build/translations/pt-br.js +1 -0
  29. package/build/translations/ro.js +1 -0
  30. package/build/translations/ru.js +1 -0
  31. package/build/translations/sk.js +1 -0
  32. package/build/translations/sr-latn.js +1 -0
  33. package/build/translations/sr.js +1 -0
  34. package/build/translations/tk.js +1 -0
  35. package/build/translations/tr.js +1 -0
  36. package/build/translations/ug.js +1 -0
  37. package/build/translations/uk.js +1 -0
  38. package/build/translations/ur.js +1 -0
  39. package/build/translations/zh-cn.js +1 -0
  40. package/build/translations/zh.js +1 -0
  41. package/lang/contexts.json +0 -3
  42. package/lang/translations/af.po +67 -0
  43. package/lang/translations/bs.po +0 -12
  44. package/lang/translations/cs.po +0 -12
  45. package/lang/translations/da.po +0 -12
  46. package/lang/translations/de-ch.po +0 -12
  47. package/lang/translations/de.po +0 -12
  48. package/lang/translations/el.po +67 -0
  49. package/lang/translations/en-au.po +0 -12
  50. package/lang/translations/en.po +0 -12
  51. package/lang/translations/es.po +0 -12
  52. package/lang/translations/et.po +0 -12
  53. package/lang/translations/fr.po +0 -12
  54. package/lang/translations/gl.po +0 -12
  55. package/lang/translations/hi.po +0 -12
  56. package/lang/translations/hr.po +0 -12
  57. package/lang/translations/hu.po +0 -12
  58. package/lang/translations/id.po +0 -12
  59. package/lang/translations/it.po +0 -12
  60. package/lang/translations/ja.po +0 -12
  61. package/lang/translations/jv.po +66 -0
  62. package/lang/translations/ko.po +0 -12
  63. package/lang/translations/lv.po +68 -0
  64. package/lang/translations/nl.po +0 -12
  65. package/lang/translations/no.po +0 -12
  66. package/lang/translations/pl.po +0 -12
  67. package/lang/translations/pt-br.po +0 -12
  68. package/lang/translations/ro.po +0 -12
  69. package/lang/translations/ru.po +0 -12
  70. package/lang/translations/sk.po +0 -12
  71. package/lang/translations/sr-latn.po +0 -12
  72. package/lang/translations/sr.po +0 -12
  73. package/lang/translations/tk.po +0 -12
  74. package/lang/translations/tr.po +0 -12
  75. package/lang/translations/ug.po +0 -12
  76. package/lang/translations/uk.po +0 -12
  77. package/lang/translations/ur.po +67 -0
  78. package/lang/translations/zh-cn.po +0 -12
  79. package/lang/translations/zh.po +0 -12
  80. package/package.json +4 -9
  81. package/src/annotations/annotation.js +1 -1
  82. package/src/annotations/annotationcollection.js +1 -1
  83. package/src/annotations/annotations.js +1 -1
  84. package/src/annotations/annotationsuis.js +1 -1
  85. package/src/annotations/editorannotations.js +1 -1
  86. package/src/annotations/inlineannotations.js +1 -1
  87. package/src/annotations/narrowsidebar.js +1 -1
  88. package/src/annotations/sidebar.js +1 -1
  89. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  90. package/src/annotations/view/annotationview.js +1 -1
  91. package/src/annotations/view/sidebaritemview.js +1 -1
  92. package/src/annotations/view/sidebarview.js +1 -1
  93. package/src/annotations/widesidebar.js +1 -1
  94. package/src/comments/addcommentthreadcommand.js +1 -1
  95. package/src/comments/commentsediting.js +1 -1
  96. package/src/comments/commentsrepository.js +1 -1
  97. package/src/comments/commentsui.js +1 -1
  98. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  99. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  100. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  101. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  102. package/src/comments/ui/commentthreadcontroller.js +1 -1
  103. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  104. package/src/comments/ui/view/basecommentview.js +1 -1
  105. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  106. package/src/comments/ui/view/commentcontentview.js +1 -1
  107. package/src/comments/ui/view/commentinputview.js +1 -1
  108. package/src/comments/ui/view/commentslistview.js +1 -1
  109. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  110. package/src/comments/ui/view/commentthreadview.js +1 -1
  111. package/src/comments/ui/view/commentview.js +1 -1
  112. package/src/comments.js +1 -1
  113. package/src/commentsonly.js +1 -1
  114. package/src/{utils/getmarkerdomelement.js → index.js} +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/createmutationobserver.js +1 -1
  117. package/theme/annotation-inline.css +1 -1
  118. package/theme/annotation.css +1 -1
  119. package/theme/comment.css +1 -1
  120. package/theme/commentinput.css +1 -1
  121. package/theme/commentmarker.css +1 -1
  122. package/theme/commentthread.css +1 -1
  123. package/theme/icons/add-comment.svg +1 -1
  124. package/theme/icons/edit-comment.svg +1 -1
  125. package/theme/icons/remove-comment.svg +1 -1
  126. package/theme/sidebar-narrow.css +1 -1
  127. package/theme/sidebar.css +1 -1
  128. package/src/comments/ui/view/confirmmixin.js +0 -23
  129. package/src/comments/ui/view/confirmview.js +0 -23
  130. package/src/utils/getdatetimeformatter.js +0 -23
  131. package/src/utils/trim-html.js +0 -23
@@ -0,0 +1,66 @@
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: Javanese (https://www.transifex.com/ckeditor/teams/11143/jv/)\n"
16
+ "Language: jv\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "Editor komentar"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "%0 Komentar"
27
+
28
+ msgctxt "The alert displayed for a comment that is too long."
29
+ msgid "TOO_LONG_COMMENT_ALERT"
30
+ msgstr "Komentar sanget-sanget panjang. Komentar sampeyan gadhah %0 aksara nanging watesipun %1 aksara."
31
+
32
+ msgctxt "The placeholder for the reply field."
33
+ msgid "Reply..."
34
+ msgstr "Wangsuli..."
35
+
36
+ msgctxt "The placeholder for the new commend field."
37
+ msgid "Write a comment..."
38
+ msgstr "Serat komentar..."
39
+
40
+ msgctxt "The label for the button that enables editing a comment."
41
+ msgid "Edit"
42
+ msgstr "Ebah"
43
+
44
+ msgctxt "The label for the button that deletes a comment."
45
+ msgid "Remove"
46
+ msgstr "Busek"
47
+
48
+ msgctxt "The label for for the button that submits a comment."
49
+ msgid "Submit"
50
+ msgstr "Kirim"
51
+
52
+ msgctxt "The confirmation message shown after pressing the delete comment button."
53
+ msgid "Delete comment?"
54
+ msgstr "Busek komentar?"
55
+
56
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
57
+ msgid "Delete comment thread?"
58
+ msgstr ""
59
+
60
+ msgctxt "The tooltip for the comment toolbar button."
61
+ msgid "Comment"
62
+ msgstr "Komentar"
63
+
64
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
65
+ msgid "PENDING_ACTION_COMMENT_THREAD"
66
+ msgstr ""
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "의견 글타래를 삭제할까요?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "예"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "아니요"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "확실한가요?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "의견"
@@ -0,0 +1,68 @@
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: Latvian (https://www.transifex.com/ckeditor/teams/11143/lv/)\n"
16
+ "Language: lv\n"
17
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "Komentāri"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "%0 Komentāru"
27
+ msgstr[1] "%0 Komentārs"
28
+ msgstr[2] "%0 Komentāri"
29
+
30
+ msgctxt "The alert displayed for a comment that is too long."
31
+ msgid "TOO_LONG_COMMENT_ALERT"
32
+ msgstr "Komentāra saturs ir pārāk garš. Komentārs nedrīkst pārsniegt %1 rakstzīmes, šobrīd ir %0 rakstzīmju."
33
+
34
+ msgctxt "The placeholder for the reply field."
35
+ msgid "Reply..."
36
+ msgstr "Atbilde..."
37
+
38
+ msgctxt "The placeholder for the new commend field."
39
+ msgid "Write a comment..."
40
+ msgstr "Rakstiet komentāru..."
41
+
42
+ msgctxt "The label for the button that enables editing a comment."
43
+ msgid "Edit"
44
+ msgstr "Labot"
45
+
46
+ msgctxt "The label for the button that deletes a comment."
47
+ msgid "Remove"
48
+ msgstr "Noņemt"
49
+
50
+ msgctxt "The label for for the button that submits a comment."
51
+ msgid "Submit"
52
+ msgstr "Saglabāt"
53
+
54
+ msgctxt "The confirmation message shown after pressing the delete comment button."
55
+ msgid "Delete comment?"
56
+ msgstr "Dzēst komentāru?"
57
+
58
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
59
+ msgid "Delete comment thread?"
60
+ msgstr "Dzēst komentāra saraksti?"
61
+
62
+ msgctxt "The tooltip for the comment toolbar button."
63
+ msgid "Comment"
64
+ msgstr "Komentārs"
65
+
66
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
67
+ msgid "PENDING_ACTION_COMMENT_THREAD"
68
+ msgstr "Nesaglabātas komentāra izmaiņas."
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Discussie verwijderen?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Ja"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Nee"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Weet u het zeker?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Opmerking"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Slett kommentartråd?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Ja"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Nei"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Er du sikker?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Kommenter"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Usunąć wątek komentarzy?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Tak"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Nie"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Jesteś pewny/pewna?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Skomentuj"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Excluir segmento de comentários?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Sim"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Não"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Você tem certeza?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Comentário"
@@ -59,18 +59,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
59
59
  msgid "Delete comment thread?"
60
60
  msgstr "Ștergeți firul de comentarii? "
61
61
 
62
- msgctxt "The label for confirming an action."
63
- msgid "Yes"
64
- msgstr "Da"
65
-
66
- msgctxt "The label for rejecting an action."
67
- msgid "No"
68
- msgstr "Nu"
69
-
70
- msgctxt "The label for confirming a dangerous action."
71
- msgid "Are you sure?"
72
- msgstr "Sunteți sigur?"
73
-
74
62
  msgctxt "The tooltip for the comment toolbar button."
75
63
  msgid "Comment"
76
64
  msgstr "Comentează"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Удалить ветку комментариев?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Да"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Нет"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Вы уверены?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Комментарий"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Vymazať vlákno komentáru?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Áno"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Nie"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Ste si istý?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Komentár"
@@ -59,18 +59,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
59
59
  msgid "Delete comment thread?"
60
60
  msgstr "Brišete nit napomene?"
61
61
 
62
- msgctxt "The label for confirming an action."
63
- msgid "Yes"
64
- msgstr "Da"
65
-
66
- msgctxt "The label for rejecting an action."
67
- msgid "No"
68
- msgstr "Ne"
69
-
70
- msgctxt "The label for confirming a dangerous action."
71
- msgid "Are you sure?"
72
- msgstr "Jesi siguran?"
73
-
74
62
  msgctxt "The tooltip for the comment toolbar button."
75
63
  msgid "Comment"
76
64
  msgstr "Napomena"
@@ -59,18 +59,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
59
59
  msgid "Delete comment thread?"
60
60
  msgstr "Бришете нит напомене?"
61
61
 
62
- msgctxt "The label for confirming an action."
63
- msgid "Yes"
64
- msgstr "Да"
65
-
66
- msgctxt "The label for rejecting an action."
67
- msgid "No"
68
- msgstr "Не"
69
-
70
- msgctxt "The label for confirming a dangerous action."
71
- msgid "Are you sure?"
72
- msgstr "Сигуран си?"
73
-
74
62
  msgctxt "The tooltip for the comment toolbar button."
75
63
  msgid "Comment"
76
64
  msgstr "Напомена"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Teswir bölümini pozuň?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Hawa"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Ýok"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Ynanýarsyňyzmy?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Teswir"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "Yorum dizesi silinsin mi?"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "Evet"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "Hayır"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "Emin misiniz?"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "Yorum"
@@ -58,18 +58,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
58
58
  msgid "Delete comment thread?"
59
59
  msgstr "ئىنكاس باغلىمىنى ئۆچۈرەمسىز؟"
60
60
 
61
- msgctxt "The label for confirming an action."
62
- msgid "Yes"
63
- msgstr "ھەئە"
64
-
65
- msgctxt "The label for rejecting an action."
66
- msgid "No"
67
- msgstr "ياق"
68
-
69
- msgctxt "The label for confirming a dangerous action."
70
- msgid "Are you sure?"
71
- msgstr "جەزملەشتۈرەمسىز؟"
72
-
73
61
  msgctxt "The tooltip for the comment toolbar button."
74
62
  msgid "Comment"
75
63
  msgstr "ئىنكاس"
@@ -60,18 +60,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
60
60
  msgid "Delete comment thread?"
61
61
  msgstr "Видати ланцюжок коментарів?"
62
62
 
63
- msgctxt "The label for confirming an action."
64
- msgid "Yes"
65
- msgstr "Так"
66
-
67
- msgctxt "The label for rejecting an action."
68
- msgid "No"
69
- msgstr "Ні"
70
-
71
- msgctxt "The label for confirming a dangerous action."
72
- msgid "Are you sure?"
73
- msgstr "Ви впевнені?"
74
-
75
63
  msgctxt "The tooltip for the comment toolbar button."
76
64
  msgid "Comment"
77
65
  msgstr "Коментар"
@@ -0,0 +1,67 @@
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: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
16
+ "Language: ur\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "The label for the comment editor."
20
+ msgid "Comment editor"
21
+ msgstr "تبصرہ ایڈیٹر"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "0% تبصرہ"
27
+ msgstr[1] "0% تبصرے"
28
+
29
+ msgctxt "The alert displayed for a comment that is too long."
30
+ msgid "TOO_LONG_COMMENT_ALERT"
31
+ msgstr "آپ کا تبصرہ طویل ہے۔ آپ کے تبصرے میں 0% حروف ہیں جبکہ 1% حروف کی حد ہے۔"
32
+
33
+ msgctxt "The placeholder for the reply field."
34
+ msgid "Reply..."
35
+ msgstr "جواب۔۔۔"
36
+
37
+ msgctxt "The placeholder for the new commend field."
38
+ msgid "Write a comment..."
39
+ msgstr "تبصرہ کریں۔۔۔"
40
+
41
+ msgctxt "The label for the button that enables editing a comment."
42
+ msgid "Edit"
43
+ msgstr "ترمیم"
44
+
45
+ msgctxt "The label for the button that deletes a comment."
46
+ msgid "Remove"
47
+ msgstr "حذف کریں"
48
+
49
+ msgctxt "The label for for the button that submits a comment."
50
+ msgid "Submit"
51
+ msgstr "داخل کریں"
52
+
53
+ msgctxt "The confirmation message shown after pressing the delete comment button."
54
+ msgid "Delete comment?"
55
+ msgstr "تبصرہ حذف کریں؟"
56
+
57
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
58
+ msgid "Delete comment thread?"
59
+ msgstr "تبصرے کا دھاگہ حذف کریں؟"
60
+
61
+ msgctxt "The tooltip for the comment toolbar button."
62
+ msgid "Comment"
63
+ msgstr "تبصرہ"
64
+
65
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
66
+ msgid "PENDING_ACTION_COMMENT_THREAD"
67
+ msgstr "تبصرے دھاگے میں غیر محفوظ تبدیلیاں ہیں۔"
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "删除这组评论?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "确定"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "取消"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "你确定吗?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "评论"
@@ -57,18 +57,6 @@ msgctxt "The confirmation message shown after pressing the delete comment thread
57
57
  msgid "Delete comment thread?"
58
58
  msgstr "刪除討論串?"
59
59
 
60
- msgctxt "The label for confirming an action."
61
- msgid "Yes"
62
- msgstr "好"
63
-
64
- msgctxt "The label for rejecting an action."
65
- msgid "No"
66
- msgstr "先不要"
67
-
68
- msgctxt "The label for confirming a dangerous action."
69
- msgid "Are you sure?"
70
- msgstr "確定做此操作?"
71
-
72
60
  msgctxt "The tooltip for the comment toolbar button."
73
61
  msgid "Comment"
74
62
  msgstr "留言"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "32.0.0",
3
+ "version": "34.1.0",
4
4
  "description": "Collaborative comments feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -29,15 +29,10 @@
29
29
  "discussion",
30
30
  "discussions"
31
31
  ],
32
+ "main": "src/index.js",
32
33
  "dependencies": {
33
- "@ckeditor/ckeditor5-autoformat": "^32.0.0",
34
- "@ckeditor/ckeditor5-basic-styles": "^32.0.0",
35
- "@ckeditor/ckeditor5-collaboration-core": "^32.0.0",
36
- "@ckeditor/ckeditor5-essentials": "^32.0.0",
37
- "@ckeditor/ckeditor5-list": "^32.0.0",
38
- "@ckeditor/ckeditor5-utils": "^32.0.0",
39
- "ckeditor5": "^32.0.0",
40
- "date-fns": "^2.17.0",
34
+ "ckeditor5": "^34.1.0",
35
+ "ckeditor5-collaboration": "^34.1.0",
41
36
  "lodash-es": "^4.17.11"
42
37
  }
43
38
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ade=['render','target','_id','item','_isTargetElementVisible','remove','stopListening','add','isActive','_type','refreshVisibility','isVisible','targetRect','_target','focusableElements','destroy','getClientRects','clear','focusTracker','view','_assertCorrectTarget','element','offsetParent','mainView','function'];(function(_0x5cf400,_0x5ade59){const _0x410122=function(_0x3f8687){while(--_0x3f8687){_0x5cf400['push'](_0x5cf400['shift']());}};_0x410122(++_0x5ade59);}(_0x5ade,0x1ea));const _0x4101=function(_0x5cf400,_0x5ade59){_0x5cf400=_0x5cf400-0x0;let _0x410122=_0x5ade[_0x5cf400];return _0x410122;};import{CKEditorError as _0x1d16c9,Rect as _0xd51009,Collection as _0x365ed9,mix as _0x2df483,ObservableMixin as _0x2edda8}from'ckeditor5/src/utils';import{isElement as _0x21a448}from'lodash-es';export default class p{constructor({view:_0x2d9e2a,target:_0x49949e,type:_0x3450b8,isVisible:_0x1f3f8e=!0x0}){this['view']=_0x2d9e2a,this[_0x4101('0x4')][_0x4101('0x6')]||this[_0x4101('0x4')][_0x4101('0xa')](),this['_type']=_0x3450b8,this[_0x4101('0x17')]=_0x49949e,this[_0x4101('0x5')](),this['focusableElements']=new _0x365ed9([this[_0x4101('0x4')][_0x4101('0x6')]],{'idProperty':_0x4101('0xc')}),this[_0x4101('0x18')]['on'](_0x4101('0x11'),(_0x1fb597,_0x9073fd)=>{this[_0x4101('0x4')][_0x4101('0x3')][_0x4101('0x11')](_0x9073fd);}),this[_0x4101('0x18')]['on'](_0x4101('0xf'),(_0x2d4b8a,_0x47b53d)=>{this[_0x4101('0x4')][_0x4101('0x3')]['remove'](_0x47b53d);}),this['set'](_0x4101('0x15'),_0x1f3f8e);}get['type'](){return _0x4101('0x9')==typeof this[_0x4101('0x13')]?this['_type']():this[_0x4101('0x13')];}get['innerView'](){return this[_0x4101('0x4')][_0x4101('0x8')];}get[_0x4101('0xb')](){return'function'==typeof this[_0x4101('0x17')]?this['_target']():this['_target'];}get[_0x4101('0x16')](){const _0x20aba9=this['target'];return this[_0x4101('0x5')](),null!==_0x20aba9&&this[_0x4101('0xe')]()?new _0xd51009(_0x20aba9):null;}get[_0x4101('0x12')](){return this[_0x4101('0x4')][_0x4101('0x12')];}set[_0x4101('0x12')](_0x2a69a4){this['view'][_0x4101('0x12')]=_0x2a69a4,this[_0x4101('0x4')][_0x4101('0x8')]['isActive']=_0x2a69a4;}['updateTargetRect'](){this['view'][_0x4101('0x16')]=this[_0x4101('0x16')];}[_0x4101('0x0')](){this[_0x4101('0x18')][_0x4101('0x10')](),this[_0x4101('0x18')][_0x4101('0x2')](),this[_0x4101('0x10')]();}[_0x4101('0x14')](){this[_0x4101('0x15')]=this[_0x4101('0xe')]();}[_0x4101('0xe')](){const _0xf869e6=this[_0x4101('0xb')];if(_0x21a448(_0xf869e6)){const _0x1f6e99=_0xf869e6[_0x4101('0x1')]()[_0x4101('0xd')](0x0),_0x1e5de6=_0xf869e6[_0x4101('0x7')];if(!_0x1f6e99||!_0x1e5de6)return!0x1;}return!0x0;}[_0x4101('0x5')](){const _0x43c9e2=this[_0x4101('0xb')];if(!(null===_0x43c9e2||_0x43c9e2 instanceof _0xd51009||_0x21a448(_0x43c9e2)))throw new _0x1d16c9('annotation-invalid-target',null,{'target':_0x43c9e2});}}_0x2df483(p,_0x2edda8);
23
+ const _0x4c33=['type','element','view','targetRect','refreshVisibility','updateTargetRect','focusableElements','_assertCorrectTarget','mainView','stopListening','remove','isActive','_type','getClientRects','innerView','isVisible','item','destroy','target','_target','annotation-invalid-target','_isTargetElementVisible','function','add','focusTracker','render'];(function(_0x2778c1,_0x4c33bf){const _0x17ba85=function(_0x3be3fe){while(--_0x3be3fe){_0x2778c1['push'](_0x2778c1['shift']());}};_0x17ba85(++_0x4c33bf);}(_0x4c33,0x109));const _0x17ba=function(_0x2778c1,_0x4c33bf){_0x2778c1=_0x2778c1-0x0;let _0x17ba85=_0x4c33[_0x2778c1];return _0x17ba85;};import{CKEditorError as _0x147e75,Rect as _0x2c09cb,Collection as _0xaaf32d,mix as _0x22d224,ObservableMixin as _0x501d58}from'ckeditor5/src/utils';import{isElement as _0x76682e}from'lodash-es';export default class W{constructor({view:_0x41581d,target:_0xe04421,type:_0x498fce,isVisible:_0x43c3be=!0x0}){this[_0x17ba('0x17')]=_0x41581d,this['view'][_0x17ba('0x16')]||this['view'][_0x17ba('0x14')](),this['_type']=_0x498fce,this[_0x17ba('0xe')]=_0xe04421,this[_0x17ba('0x2')](),this[_0x17ba('0x1')]=new _0xaaf32d([this[_0x17ba('0x17')][_0x17ba('0x16')]],{'idProperty':'_id'}),this['focusableElements']['on'](_0x17ba('0x12'),(_0x30c075,_0xad6572)=>{this[_0x17ba('0x17')][_0x17ba('0x13')]['add'](_0xad6572);}),this['focusableElements']['on'](_0x17ba('0x5'),(_0x14987b,_0x424567)=>{this[_0x17ba('0x17')][_0x17ba('0x13')][_0x17ba('0x5')](_0x424567);}),this['set'](_0x17ba('0xa'),_0x43c3be);}get[_0x17ba('0x15')](){return _0x17ba('0x11')==typeof this[_0x17ba('0x7')]?this[_0x17ba('0x7')]():this[_0x17ba('0x7')];}get[_0x17ba('0x9')](){return this[_0x17ba('0x17')][_0x17ba('0x3')];}get['target'](){return'function'==typeof this[_0x17ba('0xe')]?this['_target']():this[_0x17ba('0xe')];}get[_0x17ba('0x18')](){const _0x3200aa=this[_0x17ba('0xd')];return this[_0x17ba('0x2')](),null!==_0x3200aa&&this[_0x17ba('0x10')]()?new _0x2c09cb(_0x3200aa):null;}get[_0x17ba('0x6')](){return this[_0x17ba('0x17')][_0x17ba('0x6')];}set['isActive'](_0x321b35){this[_0x17ba('0x17')][_0x17ba('0x6')]=_0x321b35,this[_0x17ba('0x17')]['mainView'][_0x17ba('0x6')]=_0x321b35;}[_0x17ba('0x0')](){this['view']['targetRect']=this['targetRect'];}[_0x17ba('0xc')](){this[_0x17ba('0x1')][_0x17ba('0x4')](),this[_0x17ba('0x1')]['clear'](),this[_0x17ba('0x4')]();}[_0x17ba('0x19')](){this[_0x17ba('0xa')]=this[_0x17ba('0x10')]();}[_0x17ba('0x10')](){const _0x518b1d=this[_0x17ba('0xd')];if(_0x76682e(_0x518b1d)){const _0x146c49=_0x518b1d[_0x17ba('0x8')]()[_0x17ba('0xb')](0x0),_0x20525b=_0x518b1d['offsetParent'];if(!_0x146c49||!_0x20525b)return!0x1;}return!0x0;}[_0x17ba('0x2')](){const _0x2762aa=this['target'];if(!(null===_0x2762aa||_0x2762aa instanceof _0x2c09cb||_0x76682e(_0x2762aa)))throw new _0x147e75(_0x17ba('0xf'),null,{'target':_0x2762aa});}}_0x22d224(W,_0x501d58);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x179d=['stopListening','length','delete','getByInnerView','focusableElements','change:isFocused','isFocused','from','getByView','annotationcollection-not-existing-item','innerView','view','get','focusTracker','_items','_getOrderInContent','annotationcollection-duplicated-item','remove','clear','listenTo','_innerViewToAnnotation','has','refreshPositioning','set','add','fire','left','sort','targetRect','top','getIndex','_viewToAnnotation','updateTargetRect','focus','_focusTracker'];(function(_0x33e300,_0x179ddd){const _0x3ecfa2=function(_0x5ba055){while(--_0x5ba055){_0x33e300['push'](_0x33e300['shift']());}};_0x3ecfa2(++_0x179ddd);}(_0x179d,0x13e));const _0x3ecf=function(_0x33e300,_0x179ddd){_0x33e300=_0x33e300-0x0;let _0x3ecfa2=_0x179d[_0x33e300];return _0x3ecfa2;};import{CKEditorError as _0x36332e,Collection as _0x214faf,FocusTracker as _0x1b3679}from'ckeditor5/src/utils';export default class x extends _0x214faf{constructor(_0x286a02=[]){super(),this[_0x3ecf('0x11')]=new Map(),this[_0x3ecf('0x1c')]=new Map(),this[_0x3ecf('0x1f')]=new _0x1b3679(),this[_0x3ecf('0x1f')]['on'](_0x3ecf('0x2'),(_0x36c84a,_0x7a54a,_0x13eed5)=>{_0x13eed5||this['fire']('blur');});for(const _0x29ec6f of _0x286a02)this['add'](_0x29ec6f);}get[_0x3ecf('0x3')](){return this[_0x3ecf('0x1f')][_0x3ecf('0x3')];}[_0x3ecf('0x15')](_0x318c4d){if(this[_0x3ecf('0x12')](_0x318c4d))throw new _0x36332e(_0x3ecf('0xd'),null);this[_0x3ecf('0x11')]['set'](_0x318c4d[_0x3ecf('0x7')],_0x318c4d),this[_0x3ecf('0x1c')][_0x3ecf('0x14')](_0x318c4d[_0x3ecf('0x8')],_0x318c4d);for(const _0x153b4b of _0x318c4d[_0x3ecf('0x1')])this['_focusTracker']['add'](_0x153b4b);this[_0x3ecf('0x10')](_0x318c4d[_0x3ecf('0x1')],'add',(_0x12af1c,_0x532e83)=>{this[_0x3ecf('0x1f')][_0x3ecf('0x15')](_0x532e83);}),this[_0x3ecf('0x10')](_0x318c4d[_0x3ecf('0x1')],_0x3ecf('0xe'),(_0x33a585,_0xc7274a)=>{this['_focusTracker'][_0x3ecf('0xe')](_0xc7274a);}),this[_0x3ecf('0x10')](_0x318c4d[_0x3ecf('0x8')]['focusTracker'],_0x3ecf('0x2'),(_0x1707a3,_0x41c5cf,_0x4f40f8)=>{_0x4f40f8&&this[_0x3ecf('0x16')](_0x3ecf('0x1e'),_0x318c4d);});const _0x1d97f5=this[_0x3ecf('0xc')](_0x318c4d);super['add'](_0x318c4d,_0x1d97f5),_0x318c4d[_0x3ecf('0x1d')]();}[_0x3ecf('0xe')](_0x13e9c7){if(!this[_0x3ecf('0x12')](_0x13e9c7))throw new _0x36332e(_0x3ecf('0x6'),null);this[_0x3ecf('0x20')](_0x13e9c7[_0x3ecf('0x8')][_0x3ecf('0xa')]),this[_0x3ecf('0x20')](_0x13e9c7[_0x3ecf('0x1')]);for(const _0x1a95ad of _0x13e9c7['focusableElements'])this['_focusTracker'][_0x3ecf('0xe')](_0x1a95ad);this[_0x3ecf('0x1c')][_0x3ecf('0x22')](_0x13e9c7[_0x3ecf('0x8')]),this['_innerViewToAnnotation'][_0x3ecf('0x22')](_0x13e9c7[_0x3ecf('0x7')]),super[_0x3ecf('0xe')](_0x13e9c7);}[_0x3ecf('0x0')](_0x11f7b6){return this['_innerViewToAnnotation'][_0x3ecf('0x9')](_0x11f7b6);}[_0x3ecf('0x5')](_0x968906){return this['_viewToAnnotation']['get'](_0x968906);}['destroy'](){super[_0x3ecf('0xf')](),this[_0x3ecf('0x20')](),this[_0x3ecf('0x11')][_0x3ecf('0xf')](),this[_0x3ecf('0x1c')][_0x3ecf('0xf')](),this[_0x3ecf('0x1f')]['destroy']();}[_0x3ecf('0x13')](){for(const _0x2af30b of this)_0x2af30b[_0x3ecf('0x1d')]();this['_sort']();}['_sort'](){const _0x2dac65=Array[_0x3ecf('0x4')](this)[_0x3ecf('0x18')]((_0x4bc007,_0x8f89d8)=>y(_0x4bc007['targetRect'],_0x8f89d8[_0x3ecf('0x19')]));for(let _0x185c40=_0x2dac65[_0x3ecf('0x21')]-0x1;_0x185c40>0x0;_0x185c40--){const _0x1d2cc0=_0x2dac65[_0x185c40];_0x185c40!==this[_0x3ecf('0x1b')](_0x1d2cc0)&&(this[_0x3ecf('0xe')](_0x1d2cc0),this['add'](_0x1d2cc0,_0x185c40));}}[_0x3ecf('0xc')](_0x4f1d5e){let _0x56bbeb=0x0;const _0x2d0574=_0x4f1d5e[_0x3ecf('0x19')];if(!_0x2d0574)return this[_0x3ecf('0xb')][_0x3ecf('0x21')];for(const _0x2f7368 of this){const _0x16555b=_0x2f7368[_0x3ecf('0x19')];if(_0x16555b){if(y(_0x2d0574,_0x16555b)<0x0)return _0x56bbeb;_0x56bbeb++;}}return _0x56bbeb;}}export function bindAnnotationCollections({source:_0x890f07,target:_0x25349b,filter:_0x389ef3}){for(const _0x2be3cb of _0x890f07)_0x389ef3(_0x2be3cb)&&_0x25349b[_0x3ecf('0x15')](_0x2be3cb);_0x25349b[_0x3ecf('0x10')](_0x890f07,_0x3ecf('0x15'),(_0xc089eb,_0x498a84)=>{_0x389ef3(_0x498a84)&&_0x25349b['add'](_0x498a84);}),_0x25349b[_0x3ecf('0x10')](_0x890f07,'remove',(_0x1da88e,_0x34f992)=>{_0x25349b['has'](_0x34f992)&&_0x25349b[_0x3ecf('0xe')](_0x34f992);});}function y(_0x5508b3,_0x3353c5){if(null===_0x5508b3&&null===_0x3353c5)return 0x0;if(null===_0x5508b3)return-0x1;if(null===_0x3353c5)return 0x1;const _0x5e3bbe=_0x5508b3[_0x3ecf('0x1a')]-_0x3353c5[_0x3ecf('0x1a')];return 0x0==_0x5e3bbe?_0x5508b3[_0x3ecf('0x17')]-_0x3353c5[_0x3ecf('0x17')]:_0x5e3bbe;}
23
+ const _0x301a=['innerView','getByView','isFocused','getIndex','stopListening','get','focus','annotationcollection-not-existing-item','targetRect','left','_items','blur','set','change:isFocused','_focusTracker','add','fire','view','delete','remove','sort','_getOrderInContent','length','destroy','focusTracker','listenTo','has','_innerViewToAnnotation','updateTargetRect','getByInnerView','refreshPositioning','annotationcollection-duplicated-item','clear','focusableElements','_sort','top','_viewToAnnotation'];(function(_0x2fab11,_0x301a1f){const _0x3b8900=function(_0x410cb0){while(--_0x410cb0){_0x2fab11['push'](_0x2fab11['shift']());}};_0x3b8900(++_0x301a1f);}(_0x301a,0x12c));const _0x3b89=function(_0x2fab11,_0x301a1f){_0x2fab11=_0x2fab11-0x0;let _0x3b8900=_0x301a[_0x2fab11];return _0x3b8900;};import{CKEditorError as _0x5dbadb,Collection as _0x328276,FocusTracker as _0x4051ef}from'ckeditor5/src/utils';export default class K extends _0x328276{constructor(_0x21dbfd=[]){super(),this['_innerViewToAnnotation']=new Map(),this[_0x3b89('0x20')]=new Map(),this[_0x3b89('0xa')]=new _0x4051ef(),this['_focusTracker']['on'](_0x3b89('0x9'),(_0x49f9bf,_0x12eb26,_0x41787c)=>{_0x41787c||this['fire'](_0x3b89('0x7'));});for(const _0x1e4e7f of _0x21dbfd)this[_0x3b89('0xb')](_0x1e4e7f);}get[_0x3b89('0x23')](){return this[_0x3b89('0xa')][_0x3b89('0x23')];}[_0x3b89('0xb')](_0x21ac5b){if(this['has'](_0x21ac5b))throw new _0x5dbadb(_0x3b89('0x1b'),null);this[_0x3b89('0x17')][_0x3b89('0x8')](_0x21ac5b[_0x3b89('0x21')],_0x21ac5b),this[_0x3b89('0x20')][_0x3b89('0x8')](_0x21ac5b[_0x3b89('0xd')],_0x21ac5b);for(const _0x22fe92 of _0x21ac5b[_0x3b89('0x1d')])this[_0x3b89('0xa')]['add'](_0x22fe92);this[_0x3b89('0x15')](_0x21ac5b[_0x3b89('0x1d')],_0x3b89('0xb'),(_0x957127,_0xfba690)=>{this['_focusTracker'][_0x3b89('0xb')](_0xfba690);}),this[_0x3b89('0x15')](_0x21ac5b[_0x3b89('0x1d')],_0x3b89('0xf'),(_0x1b9f7b,_0x6aec99)=>{this[_0x3b89('0xa')]['remove'](_0x6aec99);}),this[_0x3b89('0x15')](_0x21ac5b[_0x3b89('0xd')]['focusTracker'],_0x3b89('0x9'),(_0xe4e612,_0x4cc8b9,_0x578aaf)=>{_0x578aaf&&this[_0x3b89('0xc')](_0x3b89('0x2'),_0x21ac5b);});const _0xde6c37=this['_getOrderInContent'](_0x21ac5b);super['add'](_0x21ac5b,_0xde6c37),_0x21ac5b[_0x3b89('0x18')]();}[_0x3b89('0xf')](_0x1b4d06){if(!this[_0x3b89('0x16')](_0x1b4d06))throw new _0x5dbadb(_0x3b89('0x3'),null);this[_0x3b89('0x0')](_0x1b4d06[_0x3b89('0xd')][_0x3b89('0x14')]),this['stopListening'](_0x1b4d06[_0x3b89('0x1d')]);for(const _0x3c7fbd of _0x1b4d06[_0x3b89('0x1d')])this['_focusTracker'][_0x3b89('0xf')](_0x3c7fbd);this['_viewToAnnotation']['delete'](_0x1b4d06[_0x3b89('0xd')]),this['_innerViewToAnnotation'][_0x3b89('0xe')](_0x1b4d06['innerView']),super[_0x3b89('0xf')](_0x1b4d06);}[_0x3b89('0x19')](_0x261f5d){return this[_0x3b89('0x17')][_0x3b89('0x1')](_0x261f5d);}[_0x3b89('0x22')](_0x2293cf){return this[_0x3b89('0x20')][_0x3b89('0x1')](_0x2293cf);}[_0x3b89('0x13')](){super[_0x3b89('0x1c')](),this[_0x3b89('0x0')](),this[_0x3b89('0x17')][_0x3b89('0x1c')](),this[_0x3b89('0x20')][_0x3b89('0x1c')](),this['_focusTracker']['destroy']();}[_0x3b89('0x1a')](){for(const _0x57cb9a of this)_0x57cb9a[_0x3b89('0x18')]();this['_sort']();}[_0x3b89('0x1e')](){const _0x7fa241=Array['from'](this)[_0x3b89('0x10')]((_0x1e7b7a,_0x5410bf)=>Q(_0x1e7b7a[_0x3b89('0x4')],_0x5410bf[_0x3b89('0x4')]));for(let _0xbd5239=_0x7fa241[_0x3b89('0x12')]-0x1;_0xbd5239>0x0;_0xbd5239--){const _0x3b8673=_0x7fa241[_0xbd5239];_0xbd5239!==this[_0x3b89('0x24')](_0x3b8673)&&(this[_0x3b89('0xf')](_0x3b8673),this[_0x3b89('0xb')](_0x3b8673,_0xbd5239));}}[_0x3b89('0x11')](_0x1c6c60){let _0x4e838e=0x0;const _0x114213=_0x1c6c60[_0x3b89('0x4')];if(!_0x114213)return this[_0x3b89('0x6')][_0x3b89('0x12')];for(const _0x171986 of this){const _0x24e566=_0x171986['targetRect'];if(_0x24e566){if(Q(_0x114213,_0x24e566)<0x0)return _0x4e838e;_0x4e838e++;}}return _0x4e838e;}}export function bindAnnotationCollections({source:_0x1b3eb1,target:_0x199f4a,filter:_0x31b2ac}){for(const _0x40277e of _0x1b3eb1)_0x31b2ac(_0x40277e)&&_0x199f4a['add'](_0x40277e);_0x199f4a[_0x3b89('0x15')](_0x1b3eb1,_0x3b89('0xb'),(_0x17fec9,_0x40efca)=>{_0x31b2ac(_0x40efca)&&_0x199f4a[_0x3b89('0xb')](_0x40efca);}),_0x199f4a[_0x3b89('0x15')](_0x1b3eb1,_0x3b89('0xf'),(_0x57e918,_0x22856b)=>{_0x199f4a[_0x3b89('0x16')](_0x22856b)&&_0x199f4a['remove'](_0x22856b);});}function Q(_0x2695f0,_0x58a4ef){if(null===_0x2695f0&&null===_0x58a4ef)return 0x0;if(null===_0x2695f0)return-0x1;if(null===_0x58a4ef)return 0x1;const _0x53097f=_0x2695f0[_0x3b89('0x1f')]-_0x58a4ef['top'];return 0x0==_0x53097f?_0x2695f0[_0x3b89('0x5')]-_0x58a4ef['left']:_0x53097f;}