@ckeditor/ckeditor5-comments 29.2.0 → 32.0.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 (88) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/lang/translations/bs.po +80 -0
  4. package/lang/translations/cs.po +1 -1
  5. package/lang/translations/da.po +79 -0
  6. package/lang/translations/de-ch.po +1 -1
  7. package/lang/translations/de.po +1 -1
  8. package/lang/translations/en-au.po +1 -1
  9. package/lang/translations/en.po +1 -1
  10. package/lang/translations/es.po +1 -1
  11. package/lang/translations/et.po +1 -1
  12. package/lang/translations/fr.po +1 -1
  13. package/lang/translations/gl.po +1 -1
  14. package/lang/translations/hi.po +1 -1
  15. package/lang/translations/hr.po +1 -1
  16. package/lang/translations/hu.po +1 -1
  17. package/lang/translations/id.po +78 -0
  18. package/lang/translations/it.po +1 -1
  19. package/lang/translations/ja.po +1 -1
  20. package/lang/translations/ko.po +1 -1
  21. package/lang/translations/nl.po +1 -1
  22. package/lang/translations/no.po +1 -1
  23. package/lang/translations/pl.po +1 -1
  24. package/lang/translations/pt-br.po +1 -1
  25. package/lang/translations/ro.po +1 -1
  26. package/lang/translations/ru.po +1 -1
  27. package/lang/translations/sk.po +1 -1
  28. package/lang/translations/sr-latn.po +1 -1
  29. package/lang/translations/sr.po +1 -1
  30. package/lang/translations/tk.po +1 -1
  31. package/lang/translations/tr.po +1 -1
  32. package/lang/translations/ug.po +1 -1
  33. package/lang/translations/uk.po +1 -1
  34. package/lang/translations/zh-cn.po +1 -1
  35. package/lang/translations/zh.po +1 -1
  36. package/package.json +8 -8
  37. package/src/annotations/annotation.js +2 -2
  38. package/src/annotations/annotationcollection.js +2 -2
  39. package/src/annotations/annotations.js +2 -2
  40. package/src/annotations/annotationsuis.js +2 -2
  41. package/src/annotations/editorannotations.js +2 -2
  42. package/src/annotations/inlineannotations.js +2 -2
  43. package/src/annotations/narrowsidebar.js +2 -2
  44. package/src/annotations/sidebar.js +2 -2
  45. package/src/annotations/view/annotationcounterbuttonview.js +2 -2
  46. package/src/annotations/view/annotationview.js +2 -2
  47. package/src/annotations/view/sidebaritemview.js +2 -2
  48. package/src/annotations/view/sidebarview.js +2 -2
  49. package/src/annotations/widesidebar.js +2 -2
  50. package/src/comments/addcommentthreadcommand.js +2 -2
  51. package/src/comments/commentsediting.js +2 -2
  52. package/src/comments/commentsrepository.js +2 -2
  53. package/src/comments/commentsui.js +2 -2
  54. package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
  55. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  56. package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
  57. package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
  58. package/src/comments/ui/commentthreadcontroller.js +2 -2
  59. package/src/comments/ui/view/basecommentthreadview.js +2 -2
  60. package/src/comments/ui/view/basecommentview.js +2 -2
  61. package/src/comments/ui/view/collapsedcommentsview.js +2 -2
  62. package/src/comments/ui/view/commentcontentview.js +2 -2
  63. package/src/comments/ui/view/commentinputview.js +2 -2
  64. package/src/comments/ui/view/commentslistview.js +2 -2
  65. package/src/comments/ui/view/commentthreadinputview.js +2 -2
  66. package/src/comments/ui/view/commentthreadview.js +2 -2
  67. package/src/comments/ui/view/commentview.js +2 -2
  68. package/src/comments/ui/view/confirmmixin.js +2 -2
  69. package/src/comments/ui/view/confirmview.js +2 -2
  70. package/src/comments.js +2 -2
  71. package/src/commentsonly.js +2 -2
  72. package/src/utils/common-translations.js +2 -2
  73. package/src/utils/createmutationobserver.js +2 -2
  74. package/src/utils/getdatetimeformatter.js +2 -2
  75. package/src/utils/getmarkerdomelement.js +2 -2
  76. package/src/utils/trim-html.js +2 -2
  77. package/theme/annotation-inline.css +1 -1
  78. package/theme/annotation.css +1 -1
  79. package/theme/comment.css +1 -1
  80. package/theme/commentinput.css +1 -1
  81. package/theme/commentmarker.css +1 -1
  82. package/theme/commentthread.css +1 -1
  83. package/theme/icons/add-comment.svg +2 -2
  84. package/theme/icons/edit-comment.svg +1 -1
  85. package/theme/icons/remove-comment.svg +1 -1
  86. package/theme/sidebar-narrow.css +3 -3
  87. package/theme/sidebar.css +1 -1
  88. package/theme/icons/add-comment-inverted.svg +0 -11
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
5
- Copyright (c) 2003-2021, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
5
+ Copyright (c) 2003-2021, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
6
6
 
7
7
  CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
8
8
  For more details about available licensing options please contact us at sales@cksource.com.
@@ -20,4 +20,4 @@ The following libraries are included in CKEditor 5 comments under the [MIT licen
20
20
  Trademarks
21
21
  ----------
22
22
 
23
- **CKEditor** is a trademark of [CKSource](http://cksource.com) Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
23
+ **CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
package/README.md CHANGED
@@ -40,11 +40,11 @@ As a licensed CKEditor 5 comments user you can report bugs and request features
40
40
  ## License
41
41
 
42
42
  **CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
43
- Copyright (c) 2003-2021, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
43
+ Copyright (c) 2003-2021, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
44
44
 
45
45
  CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
46
46
  For more details about available licensing options please contact us at sales@cksource.com.
47
47
 
48
48
  ### Trademarks
49
49
 
50
- **CKEditor** is a trademark of [CKSource](http://cksource.com) Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
50
+ **CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
@@ -0,0 +1,80 @@
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: Bosnian (https://www.transifex.com/ckeditor/teams/11143/bs/)\n"
16
+ "Language: bs\n"
17
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\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 komentar"
27
+ msgstr[1] "%0 komentara"
28
+ msgstr[2] "%0 komentara"
29
+
30
+ msgctxt "The alert displayed for a comment that is too long."
31
+ msgid "TOO_LONG_COMMENT_ALERT"
32
+ msgstr "Sadržaj komentara je predug. Vaš komentar ima %0 znakova, a limit za unos je %1 znakova."
33
+
34
+ msgctxt "The placeholder for the reply field."
35
+ msgid "Reply..."
36
+ msgstr "Odgovori..."
37
+
38
+ msgctxt "The placeholder for the new commend field."
39
+ msgid "Write a comment..."
40
+ msgstr "Napiši komentar..."
41
+
42
+ msgctxt "The label for the button that enables editing a comment."
43
+ msgid "Edit"
44
+ msgstr "Uredi"
45
+
46
+ msgctxt "The label for the button that deletes a comment."
47
+ msgid "Remove"
48
+ msgstr "Ukloni"
49
+
50
+ msgctxt "The label for for the button that submits a comment."
51
+ msgid "Submit"
52
+ msgstr ""
53
+
54
+ msgctxt "The confirmation message shown after pressing the delete comment button."
55
+ msgid "Delete comment?"
56
+ msgstr "Obriši komentar?"
57
+
58
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
59
+ msgid "Delete comment thread?"
60
+ msgstr "Obriši niz komentara?"
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 "Da li ste sigurni?"
73
+
74
+ msgctxt "The tooltip for the comment toolbar button."
75
+ msgid "Comment"
76
+ msgstr "Komentar"
77
+
78
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
79
+ msgid "PENDING_ACTION_COMMENT_THREAD"
80
+ msgstr "Imate nesačuvane izmjene."
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -0,0 +1,79 @@
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: Danish (https://www.transifex.com/ckeditor/teams/11143/da/)\n"
16
+ "Language: da\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 "Kommentarer"
22
+
23
+ msgctxt "The label for the number of comments."
24
+ msgid "NUMBER_OF_COMMENTS"
25
+ msgid_plural "%0 Comments"
26
+ msgstr[0] "%0 kommentar."
27
+ msgstr[1] "%0 kommentarer."
28
+
29
+ msgctxt "The alert displayed for a comment that is too long."
30
+ msgid "TOO_LONG_COMMENT_ALERT"
31
+ msgstr "Kommentar er for lang. Din kommentar indeholder %0 tegn, men grænsen er %1 tegn."
32
+
33
+ msgctxt "The placeholder for the reply field."
34
+ msgid "Reply..."
35
+ msgstr "Besvar..."
36
+
37
+ msgctxt "The placeholder for the new commend field."
38
+ msgid "Write a comment..."
39
+ msgstr "Skriv en kommentar..."
40
+
41
+ msgctxt "The label for the button that enables editing a comment."
42
+ msgid "Edit"
43
+ msgstr "Rediger"
44
+
45
+ msgctxt "The label for the button that deletes a comment."
46
+ msgid "Remove"
47
+ msgstr "Slet"
48
+
49
+ msgctxt "The label for for the button that submits a comment."
50
+ msgid "Submit"
51
+ msgstr "Send"
52
+
53
+ msgctxt "The confirmation message shown after pressing the delete comment button."
54
+ msgid "Delete comment?"
55
+ msgstr "Slet kommentar?"
56
+
57
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
58
+ msgid "Delete comment thread?"
59
+ msgstr "Slet kommentartråd?"
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 "Nej"
68
+
69
+ msgctxt "The label for confirming a dangerous action."
70
+ msgid "Are you sure?"
71
+ msgstr "Er du sikker?"
72
+
73
+ msgctxt "The tooltip for the comment toolbar button."
74
+ msgid "Comment"
75
+ msgstr "Kommentar"
76
+
77
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
78
+ msgid "PENDING_ACTION_COMMENT_THREAD"
79
+ msgstr "Ikke gemte ændringer i kommentartråd."
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -0,0 +1,78 @@
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: Indonesian (https://www.transifex.com/ckeditor/teams/11143/id/)\n"
16
+ "Language: id\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 terlalu panjang. Komentar Anda berisi %0 karakter tapi batas maksimalnya adalah %1 karakter."
31
+
32
+ msgctxt "The placeholder for the reply field."
33
+ msgid "Reply..."
34
+ msgstr "Balas..."
35
+
36
+ msgctxt "The placeholder for the new commend field."
37
+ msgid "Write a comment..."
38
+ msgstr "Tulis sebuah komentar..."
39
+
40
+ msgctxt "The label for the button that enables editing a comment."
41
+ msgid "Edit"
42
+ msgstr "Ubah"
43
+
44
+ msgctxt "The label for the button that deletes a comment."
45
+ msgid "Remove"
46
+ msgstr "Hapus"
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 "Hapus komentar?"
55
+
56
+ msgctxt "The confirmation message shown after pressing the delete comment thread button."
57
+ msgid "Delete comment thread?"
58
+ msgstr "Hapus utas komentar?"
59
+
60
+ msgctxt "The label for confirming an action."
61
+ msgid "Yes"
62
+ msgstr "Ya"
63
+
64
+ msgctxt "The label for rejecting an action."
65
+ msgid "No"
66
+ msgstr "Tidak"
67
+
68
+ msgctxt "The label for confirming a dangerous action."
69
+ msgid "Are you sure?"
70
+ msgstr "Apakah Anda yakin?"
71
+
72
+ msgctxt "The tooltip for the comment toolbar button."
73
+ msgid "Comment"
74
+ msgstr "Komentar"
75
+
76
+ msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
77
+ msgid "PENDING_ACTION_COMMENT_THREAD"
78
+ msgstr "Perubahan tidak tersimpar di utas komentar"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "29.2.0",
3
+ "version": "32.0.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/)",
@@ -30,13 +30,13 @@
30
30
  "discussions"
31
31
  ],
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-autoformat": "^29.2.0",
34
- "@ckeditor/ckeditor5-basic-styles": "^29.2.0",
35
- "@ckeditor/ckeditor5-collaboration-core": "^29.2.0",
36
- "@ckeditor/ckeditor5-essentials": "^29.2.0",
37
- "@ckeditor/ckeditor5-list": "^29.2.0",
38
- "@ckeditor/ckeditor5-utils": "^29.2.0",
39
- "ckeditor5": "^29.2.0",
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
40
  "date-fns": "^2.17.0",
41
41
  "lodash-es": "^4.17.11"
42
42
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e5b=['function','updateTargetRect','target','remove','focusableElements','add','focusTracker','mainView','view','_target','clear','element','render','_assertCorrectTarget','targetRect','_type','stopListening','destroy','isActive','_id','type'];(function(_0x28a0e6,_0x1e5b11){const _0x3c9fc0=function(_0x384968){while(--_0x384968){_0x28a0e6['push'](_0x28a0e6['shift']());}};_0x3c9fc0(++_0x1e5b11);}(_0x1e5b,0x10e));const _0x3c9f=function(_0x28a0e6,_0x1e5b11){_0x28a0e6=_0x28a0e6-0x0;let _0x3c9fc0=_0x1e5b[_0x28a0e6];return _0x3c9fc0;};import{CKEditorError as _0x490785,Rect as _0x36754b,Collection as _0x14e864}from'ckeditor5/src/utils';import{isElement as _0x1b7c14}from'lodash-es';export default class d{constructor({view:_0x43c097,target:_0x4d5486,type:_0x3c0d2a}){this['view']=_0x43c097,this['view'][_0x3c9f('0xe')]||this[_0x3c9f('0xb')][_0x3c9f('0xf')](),this[_0x3c9f('0x12')]=_0x3c0d2a,this[_0x3c9f('0xc')]=_0x4d5486,this['_assertCorrectTarget'](),this[_0x3c9f('0x7')]=new _0x14e864([this[_0x3c9f('0xb')][_0x3c9f('0xe')]],{'idProperty':_0x3c9f('0x1')}),this[_0x3c9f('0x7')]['on']('add',(_0x19a3bf,_0x5d189b)=>{this[_0x3c9f('0xb')][_0x3c9f('0x9')][_0x3c9f('0x8')](_0x5d189b);}),this[_0x3c9f('0x7')]['on']('remove',(_0x18ed4c,_0x38f1e3)=>{this[_0x3c9f('0xb')][_0x3c9f('0x9')][_0x3c9f('0x6')](_0x38f1e3);});}get[_0x3c9f('0x2')](){return _0x3c9f('0x3')==typeof this['_type']?this[_0x3c9f('0x12')]():this['_type'];}get['innerView'](){return this[_0x3c9f('0xb')][_0x3c9f('0xa')];}get[_0x3c9f('0x5')](){return'function'==typeof this['_target']?this[_0x3c9f('0xc')]():this['_target'];}get['targetRect'](){const _0x3e1e50=this[_0x3c9f('0x5')];return this[_0x3c9f('0x10')](),null===_0x3e1e50?null:new _0x36754b(_0x3e1e50);}get[_0x3c9f('0x0')](){return this['view'][_0x3c9f('0x0')];}set[_0x3c9f('0x0')](_0x54de01){this[_0x3c9f('0xb')][_0x3c9f('0x0')]=_0x54de01,this['view'][_0x3c9f('0xa')][_0x3c9f('0x0')]=_0x54de01;}[_0x3c9f('0x4')](){this[_0x3c9f('0xb')][_0x3c9f('0x11')]=this[_0x3c9f('0x11')];}[_0x3c9f('0x14')](){this['focusableElements'][_0x3c9f('0x13')](),this[_0x3c9f('0x7')][_0x3c9f('0xd')]();}['_assertCorrectTarget'](){const _0x128348=this[_0x3c9f('0x5')];if(!(null===_0x128348||_0x128348 instanceof _0x36754b||_0x1b7c14(_0x128348)))throw new _0x490785('annotation-invalid-target',null,{'target':_0x128348});}}
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);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f77=['_sort','delete','focusableElements','remove','stopListening','listenTo','length','fire','_focusTracker','destroy','focus','add','getByInnerView','change:isFocused','annotationcollection-duplicated-item','set','view','blur','isFocused','targetRect','getByView','sort','has','focusTracker','_viewToAnnotation','top','getIndex','_getOrderInContent','target','_innerViewToAnnotation','refreshPositioning','innerView','left','annotationcollection-not-existing-item','get'];(function(_0x397fef,_0x2f7773){const _0x49ba87=function(_0x3f9d76){while(--_0x3f9d76){_0x397fef['push'](_0x397fef['shift']());}};_0x49ba87(++_0x2f7773);}(_0x2f77,0x155));const _0x49ba=function(_0x397fef,_0x2f7773){_0x397fef=_0x397fef-0x0;let _0x49ba87=_0x2f77[_0x397fef];return _0x49ba87;};import{CKEditorError as _0x251615,Collection as _0x5f52b5,Rect as _0x46afca,FocusTracker as _0x4c555f}from'ckeditor5/src/utils';export default class p extends _0x5f52b5{constructor(_0x40ca99=[]){super(),this[_0x49ba('0x3')]=new Map(),this[_0x49ba('0x21')]=new Map(),this[_0x49ba('0x11')]=new _0x4c555f(),this[_0x49ba('0x11')]['on'](_0x49ba('0x16'),(_0x351bce,_0x32e86f,_0x28e4a3)=>{_0x28e4a3||this[_0x49ba('0x10')](_0x49ba('0x1a'));});for(const _0x1f751c of _0x40ca99)this['add'](_0x1f751c);}get[_0x49ba('0x1b')](){return this['_focusTracker']['isFocused'];}['add'](_0x11f944){if(this[_0x49ba('0x1f')](_0x11f944))throw new _0x251615(_0x49ba('0x17'),null);this[_0x49ba('0x3')][_0x49ba('0x18')](_0x11f944[_0x49ba('0x5')],_0x11f944),this['_viewToAnnotation'][_0x49ba('0x18')](_0x11f944[_0x49ba('0x19')],_0x11f944);for(const _0xc58453 of _0x11f944[_0x49ba('0xb')])this[_0x49ba('0x11')][_0x49ba('0x14')](_0xc58453);this[_0x49ba('0xe')](_0x11f944['focusableElements'],_0x49ba('0x14'),(_0x3504ad,_0x1347fa)=>{this['_focusTracker']['add'](_0x1347fa);}),this[_0x49ba('0xe')](_0x11f944[_0x49ba('0xb')],'remove',(_0xaefcf,_0x413d7f)=>{this['_focusTracker'][_0x49ba('0xc')](_0x413d7f);}),this[_0x49ba('0xe')](_0x11f944['view'][_0x49ba('0x20')],'change:isFocused',(_0x5ddc58,_0x585fb7,_0x4a24bb)=>{_0x4a24bb&&this[_0x49ba('0x10')](_0x49ba('0x13'),_0x11f944);});const _0x591824=this[_0x49ba('0x1')](_0x11f944);super[_0x49ba('0x14')](_0x11f944,_0x591824),_0x11f944['updateTargetRect']();}[_0x49ba('0xc')](_0x2ec28d){if(!this[_0x49ba('0x1f')](_0x2ec28d))throw new _0x251615(_0x49ba('0x7'),null);this['stopListening'](_0x2ec28d['view']['focusTracker']),this[_0x49ba('0xd')](_0x2ec28d[_0x49ba('0xb')]);for(const _0x40d946 of _0x2ec28d[_0x49ba('0xb')])this[_0x49ba('0x11')]['remove'](_0x40d946);this[_0x49ba('0x21')][_0x49ba('0xa')](_0x2ec28d['view']),this['_innerViewToAnnotation'][_0x49ba('0xa')](_0x2ec28d[_0x49ba('0x5')]),super[_0x49ba('0xc')](_0x2ec28d);}[_0x49ba('0x15')](_0x44c08e){return this[_0x49ba('0x3')]['get'](_0x44c08e);}[_0x49ba('0x1d')](_0x3acaf4){return this[_0x49ba('0x21')][_0x49ba('0x8')](_0x3acaf4);}[_0x49ba('0x12')](){super['clear'](),this['stopListening'](),this[_0x49ba('0x3')]=null,this['_viewToAnnotation']=null,this[_0x49ba('0x11')][_0x49ba('0x12')]();}[_0x49ba('0x4')](){for(const _0x1dcc7a of this)_0x1dcc7a['updateTargetRect']();this['_sort']();}[_0x49ba('0x9')](){const _0x561299=Array['from'](this)[_0x49ba('0x1e')]((_0x2ebab9,_0x461438)=>w(_0x2ebab9[_0x49ba('0x1c')],_0x461438[_0x49ba('0x1c')]));for(let _0xc6ff63=_0x561299[_0x49ba('0xf')]-0x1;_0xc6ff63>0x0;_0xc6ff63--){const _0x12dda5=_0x561299[_0xc6ff63];_0xc6ff63!==this[_0x49ba('0x0')](_0x12dda5)&&(this[_0x49ba('0xc')](_0x12dda5),this['add'](_0x12dda5,_0xc6ff63));}}[_0x49ba('0x1')](_0x3c236d){let _0x3ed43e=0x0;const _0x121901=_0x3c236d[_0x49ba('0x1c')];for(const _0x5d1126 of this){const _0x108699=_0x5d1126[_0x49ba('0x2')];if(_0x108699){if(w(_0x121901,new _0x46afca(_0x108699))<0x0)return _0x3ed43e;_0x3ed43e++;}}return Math['max'](0x0,_0x3ed43e);}}export function bindAnnotationCollections({source:_0x4105c8,target:_0x5cb4f9,filter:_0x2f7c3c}){for(const _0x15eb1c of _0x4105c8)_0x2f7c3c(_0x15eb1c)&&_0x5cb4f9[_0x49ba('0x14')](_0x15eb1c);_0x5cb4f9[_0x49ba('0xe')](_0x4105c8,_0x49ba('0x14'),(_0x4e9a9a,_0x59c25b)=>{_0x2f7c3c(_0x59c25b)&&_0x5cb4f9[_0x49ba('0x14')](_0x59c25b);}),_0x5cb4f9['listenTo'](_0x4105c8,_0x49ba('0xc'),(_0x1ff827,_0x30ff0d)=>{_0x2f7c3c(_0x30ff0d)&&_0x5cb4f9[_0x49ba('0xc')](_0x30ff0d);});}function w(_0x1fb49d,_0x7217ab){const _0x325b4f=_0x1fb49d[_0x49ba('0x22')]-_0x7217ab[_0x49ba('0x22')];return 0x0==_0x325b4f?_0x1fb49d[_0x49ba('0x6')]-_0x7217ab[_0x49ba('0x6')]:_0x325b4f;}
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;}