@ckeditor/ckeditor5-comments 45.2.1 → 46.0.0-alpha.1

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 (242) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +69 -67
  3. package/dist/index.css +80 -78
  4. package/dist/index.js +11 -9
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +19 -19
  152. package/src/annotations/annotation.d.ts +4 -4
  153. package/src/annotations/annotation.js +2 -2
  154. package/src/annotations/annotationcollection.d.ts +2 -2
  155. package/src/annotations/annotationcollection.js +1 -1
  156. package/src/annotations/annotations.d.ts +4 -4
  157. package/src/annotations/annotations.js +1 -1
  158. package/src/annotations/annotationsuis.d.ts +4 -4
  159. package/src/annotations/annotationsuis.js +1 -1
  160. package/src/annotations/editorannotations.d.ts +4 -4
  161. package/src/annotations/editorannotations.js +1 -1
  162. package/src/annotations/inlineannotations.d.ts +5 -5
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.d.ts +5 -5
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.d.ts +14 -13
  167. package/src/annotations/sidebar.js +1 -1
  168. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  169. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  170. package/src/annotations/view/annotationview.d.ts +1 -1
  171. package/src/annotations/view/annotationview.js +1 -1
  172. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  173. package/src/annotations/view/sidebaritemview.js +2 -1
  174. package/src/annotations/view/sidebarview.d.ts +4 -4
  175. package/src/annotations/view/sidebarview.js +2 -1
  176. package/src/annotations/widesidebar.d.ts +5 -5
  177. package/src/annotations/widesidebar.js +1 -1
  178. package/src/augmentation.d.ts +2 -2
  179. package/src/comments/addcommentthreadcommand.d.ts +48 -9
  180. package/src/comments/addcommentthreadcommand.js +1 -1
  181. package/src/comments/commentsarchive.d.ts +3 -3
  182. package/src/comments/commentsarchive.js +1 -1
  183. package/src/comments/commentsarchiveui.d.ts +4 -4
  184. package/src/comments/commentsarchiveui.js +1 -1
  185. package/src/comments/commentsediting.d.ts +7 -7
  186. package/src/comments/commentsediting.js +1 -1
  187. package/src/comments/commentsrepository.d.ts +14 -6
  188. package/src/comments/commentsrepository.js +3 -3
  189. package/src/comments/commentsui.d.ts +5 -5
  190. package/src/comments/commentsui.js +1 -1
  191. package/src/comments/integrations/clipboard.d.ts +1 -1
  192. package/src/comments/integrations/clipboard.js +1 -1
  193. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  194. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  195. package/src/comments/integrations/importword.d.ts +1 -1
  196. package/src/comments/integrations/importword.js +1 -1
  197. package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
  198. package/src/comments/integrations/showcommenthighlights.js +1 -1
  199. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  200. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  201. package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  202. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  203. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  204. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  205. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  206. package/src/comments/ui/commentthreadcontroller.js +2 -2
  207. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
  208. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  209. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  210. package/src/comments/ui/view/basecommentview.js +1 -1
  211. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  212. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  213. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  214. package/src/comments/ui/view/commentcontentview.js +1 -1
  215. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  216. package/src/comments/ui/view/commentinputview.js +1 -1
  217. package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
  218. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  219. package/src/comments/ui/view/commentslistview.d.ts +2 -2
  220. package/src/comments/ui/view/commentslistview.js +1 -1
  221. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  222. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  223. package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  224. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  225. package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
  226. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  227. package/src/comments/ui/view/commentthreadview.d.ts +2 -2
  228. package/src/comments/ui/view/commentthreadview.js +2 -2
  229. package/src/comments/ui/view/commentview.d.ts +3 -3
  230. package/src/comments/ui/view/commentview.js +2 -2
  231. package/src/comments.d.ts +10 -10
  232. package/src/comments.js +1 -1
  233. package/src/commentsonly.d.ts +2 -2
  234. package/src/commentsonly.js +1 -1
  235. package/src/config.d.ts +3 -3
  236. package/src/index.d.ts +29 -25
  237. package/src/index.js +1 -1
  238. package/src/utils/common-translations.js +1 -1
  239. package/src/utils/createmutationobserver.d.ts +1 -1
  240. package/src/utils/createmutationobserver.js +1 -1
  241. package/theme/comment.css +2 -1
  242. package/theme/commentinput.css +2 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x219629=>{const {zh:{dictionary:_0x22d683,getPluralForm:_0x43eba6}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x183254=>0x0}};_0x219629['zh']||={'dictionary':{},'getPluralForm':null},_0x219629['zh']['dictionary']=Object['assign'](_0x219629['zh']['dictionary'],_0x22d683),_0x219629['zh']['getPluralForm']=_0x43eba6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x246125=>{const {zh:{dictionary:_0x18f513,getPluralForm:_0xf7bd52}}={'zh':{'dictionary':{'Comment\x20editor':'留言編輯器','NUMBER_OF_COMMENTS':'%0\x20則留言','TOO_LONG_COMMENT_ALERT':'留言內容太長。你的留言有\x20%0\x20個字,上限字數為\x20%1。','Reply...':'回覆...','Reply\x20to\x20reopen\x20discussion...':'回覆以重新開啟討論...','Write\x20a\x20comment...':'撰寫留言...','Comment\x20was\x20made\x20on\x20an\x20element':'對元件進行的留言','Edit':'編輯','Resolve':'解決','Reopen':'重新開啟','Remove':'刪除','Reply':'回覆','Delete\x20comment?':'刪除留言?','Delete\x20comment\x20thread?':'刪除討論串?','Marked\x20as\x20resolved':'已標記為解決','Comment':'留言','Annotations\x20sidebar':'註釋側邊欄','Annotations\x20list':'註釋清單','Thread\x20comments':'討論串留言','THREAD_CONTEXT_LABEL':'討論串脈絡:%0','COMMENT_THREAD_LABEL':'留言討論串發起人:%1。%1\x20則回覆。','COMMENT_THREAD_DESCRIPTION':'按\x20Enter\x20鍵可取得更多選項。按\x20Esc\x20鍵即可退出。','COMMENT_ARIA_LABEL':'留言者:%0。建立時間:%1。%2。%3','COMMENTS_ARCHIVE_LIST_LABEL':'留言清單','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':'能夠與註釋討論串互動的按鍵輸入(例如留言、追蹤變更建議)','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':'當選取範圍錨定於其標記處時,將焦點移至討論串','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':'離開註釋並將焦點移回已編輯的內容','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':'瀏覽已聚焦的註釋討論串或討論串留言','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':'在註釋討論串內部移動','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':'在撰寫留言時提交回覆','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':'移至註釋側邊欄或留言封存中的上一個或下一個討論串','ENTER_COMMENT_ANNOUNCEMENT':'正在進入含有留言的內容。按\x20%0\x20即可前往討論區。','LEAVE_COMMENT_ANNOUNCEMENT':'正在離開含有留言的內容。','PENDING_ACTION_COMMENT_THREAD':'討論串尚未儲存。','EXTERNAL_COMMENT':'此留言來自外部來源。','EXTERNAL_IMPORT_WORD_COMMENT':'此留言來自匯入的\x20Word\x20檔案。','EXTERNAL_AVATAR':'顯示的作者名稱來自外部來源(由\x20%0\x20新增)','EXTERNAL_IMPORT_WORD_AVATAR':'顯示的作者名稱來自由\x20%0\x20匯入的\x20Word\x20文件','COMMENTS_ARCHIVE':'留言封存紀錄','EMPTY_COMMENTS_ARCHIVE':'無封存的留言串。'},'getPluralForm':_0x4b6f80=>0x0}};_0x246125['zh']||={'dictionary':{},'getPluralForm':null},_0x246125['zh']['dictionary']=Object['assign'](_0x246125['zh']['dictionary'],_0x18f513),_0x246125['zh']['getPluralForm']=_0xf7bd52;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "45.2.1",
3
+ "version": "46.0.0-alpha.1",
4
4
  "description": "Collaborative comments feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -45,24 +45,24 @@
45
45
  "CHANGELOG.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@ckeditor/ckeditor5-clipboard": "45.2.1",
49
- "@ckeditor/ckeditor5-collaboration-core": "45.2.1",
50
- "@ckeditor/ckeditor5-core": "45.2.1",
51
- "@ckeditor/ckeditor5-engine": "45.2.1",
52
- "@ckeditor/ckeditor5-enter": "45.2.1",
53
- "@ckeditor/ckeditor5-icons": "45.2.1",
54
- "@ckeditor/ckeditor5-paragraph": "45.2.1",
55
- "@ckeditor/ckeditor5-select-all": "45.2.1",
56
- "@ckeditor/ckeditor5-source-editing": "45.2.1",
57
- "@ckeditor/ckeditor5-theme-lark": "45.2.1",
58
- "@ckeditor/ckeditor5-typing": "45.2.1",
59
- "@ckeditor/ckeditor5-ui": "45.2.1",
60
- "@ckeditor/ckeditor5-undo": "45.2.1",
61
- "@ckeditor/ckeditor5-utils": "45.2.1",
62
- "@ckeditor/ckeditor5-widget": "45.2.1",
63
- "ckeditor5": "45.2.1",
64
- "ckeditor5-collaboration": "45.2.1",
65
- "es-toolkit": "1.32.0"
48
+ "@ckeditor/ckeditor5-clipboard": "46.0.0-alpha.1",
49
+ "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.1",
50
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.1",
51
+ "@ckeditor/ckeditor5-engine": "46.0.0-alpha.1",
52
+ "@ckeditor/ckeditor5-enter": "46.0.0-alpha.1",
53
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.1",
54
+ "@ckeditor/ckeditor5-paragraph": "46.0.0-alpha.1",
55
+ "@ckeditor/ckeditor5-select-all": "46.0.0-alpha.1",
56
+ "@ckeditor/ckeditor5-source-editing": "46.0.0-alpha.1",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.1",
58
+ "@ckeditor/ckeditor5-typing": "46.0.0-alpha.1",
59
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.1",
60
+ "@ckeditor/ckeditor5-undo": "46.0.0-alpha.1",
61
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.1",
62
+ "@ckeditor/ckeditor5-widget": "46.0.0-alpha.1",
63
+ "ckeditor5": "46.0.0-alpha.1",
64
+ "ckeditor5-collaboration": "46.0.0-alpha.1",
65
+ "es-toolkit": "1.39.5"
66
66
  },
67
67
  "types": "src/index.d.ts",
68
68
  "exports": {
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { Rect, Collection } from 'ckeditor5/src/utils.js';
10
10
  import type { View } from 'ckeditor5/src/ui.js';
11
- import type AnnotationView from './view/annotationview.js';
11
+ import { type AnnotationView } from './view/annotationview.js';
12
12
  import type { AnnotationOptions } from './annotations.js';
13
13
  declare const Annotation_base: {
14
14
  new (): import("ckeditor5/src/utils.js").Observable;
@@ -20,7 +20,7 @@ declare const Annotation_base: {
20
20
  * Annotation is an entity that combines an {@link module:comments/annotations/view/annotationview~AnnotationView}
21
21
  * and an annotation target (a DOM element or a {@link module:utils/dom/rect~Rect}) to which the annotation is bound.
22
22
  */
23
- export default class Annotation extends /* #__PURE__ -- @preserve */ Annotation_base {
23
+ export declare class Annotation extends /* #__PURE__ -- @preserve */ Annotation_base {
24
24
  /**
25
25
  * The visibility of the annotation. Annotations that are not visible, are filtered from Annotation UI collections.
26
26
  *
@@ -85,8 +85,8 @@ export default class Annotation extends /* #__PURE__ -- @preserve */ Annotation_
85
85
  */
86
86
  refreshVisibility(): void;
87
87
  }
88
- type Target = Rect | HTMLElement | null;
89
- export type AnnotationTarget = Target | (() => Target | Array<Target>);
88
+ export type AnnotationTargetBase = Rect | HTMLElement | null;
89
+ export type AnnotationTarget = AnnotationTargetBase | (() => AnnotationTargetBase | Array<AnnotationTargetBase>);
90
90
  /**
91
91
  * An event fired when the user pressed Escape key while the annotation view was focused.
92
92
  */
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a2051=_0x873a;(function(_0x377794,_0x285272){const _0x26a0a1=_0x873a,_0x66a68a=_0x377794();while(!![]){try{const _0x663be3=parseInt(_0x26a0a1(0x1fa))/0x1*(-parseInt(_0x26a0a1(0x1e8))/0x2)+-parseInt(_0x26a0a1(0x1f7))/0x3+-parseInt(_0x26a0a1(0x211))/0x4*(-parseInt(_0x26a0a1(0x1f2))/0x5)+parseInt(_0x26a0a1(0x201))/0x6*(parseInt(_0x26a0a1(0x210))/0x7)+-parseInt(_0x26a0a1(0x20a))/0x8+parseInt(_0x26a0a1(0x1ef))/0x9+-parseInt(_0x26a0a1(0x1fc))/0xa*(-parseInt(_0x26a0a1(0x1f9))/0xb);if(_0x663be3===_0x285272)break;else _0x66a68a['push'](_0x66a68a['shift']());}catch(_0x57f5e4){_0x66a68a['push'](_0x66a68a['shift']());}}}(_0x1943,0x85b6f));import{CKEditorError as _0x527fee,Rect as _0x20fab3,Collection as _0x51f23d,ObservableMixin as _0x2a5ac8}from'ckeditor5/src/utils.js';function _0x873a(_0x496f2d,_0x204f3a){const _0x1943cc=_0x1943();return _0x873a=function(_0x873a2e,_0x5e1aab){_0x873a2e=_0x873a2e-0x1e4;let _0x2d40d6=_0x1943cc[_0x873a2e];return _0x2d40d6;},_0x873a(_0x496f2d,_0x204f3a);}export default class d extends/* #__PURE__ -- @preserve */
24
- _0x2a5ac8(){[_0x3a2051(0x205)];[_0x3a2051(0x204)];[_0x3a2051(0x1e9)];[_0x3a2051(0x1f3)];constructor({view:_0x44a036,target:_0x4351da,type:_0x4c4286,isVisible:_0x262e1f=!0x0}){const _0x1783d9=_0x3a2051;super(),this[_0x1783d9(0x205)]=_0x44a036,this[_0x1783d9(0x205)][_0x1783d9(0x208)]||this[_0x1783d9(0x205)][_0x1783d9(0x1ec)](),this[_0x1783d9(0x1e9)]=_0x4c4286,this[_0x1783d9(0x1f3)]=_0x4351da,d[_0x1783d9(0x1ff)](this[_0x1783d9(0x212)]()),this[_0x1783d9(0x204)]=new _0x51f23d([this[_0x1783d9(0x205)][_0x1783d9(0x208)]],{'idProperty':_0x1783d9(0x20b)}),this[_0x1783d9(0x204)]['on'](_0x1783d9(0x209),(_0x14de67,_0x3df839)=>{const _0x378bd4=_0x1783d9;this[_0x378bd4(0x205)][_0x378bd4(0x200)][_0x378bd4(0x209)](_0x3df839);}),this[_0x1783d9(0x204)]['on'](_0x1783d9(0x20d),(_0x59aac9,_0x4b8753)=>{const _0x50e210=_0x1783d9;this[_0x50e210(0x205)][_0x50e210(0x200)][_0x50e210(0x20d)](_0x4b8753);}),this[_0x1783d9(0x203)](_0x1783d9(0x1f0),_0x262e1f);}get[_0x3a2051(0x1ed)](){const _0x34ac26=_0x3a2051;return _0x34ac26(0x1e7)==typeof this[_0x34ac26(0x1e9)]?this[_0x34ac26(0x1e9)]():this[_0x34ac26(0x1e9)];}get[_0x3a2051(0x207)](){const _0x21e691=_0x3a2051;return this[_0x21e691(0x205)][_0x21e691(0x1f4)];}get[_0x3a2051(0x1ea)](){const _0x54e202=_0x3a2051,_0x3ee136=this[_0x54e202(0x212)]();return d[_0x54e202(0x1ff)](_0x3ee136),_0x3ee136;}get[_0x3a2051(0x20c)](){const _0x474812=_0x3a2051,_0x5ecb9e=this[_0x474812(0x1ea)];if(null===_0x5ecb9e)return null;if(_0x5ecb9e instanceof _0x20fab3)return _0x5ecb9e;const _0x21480d=_0x5ecb9e[_0x474812(0x1fe)](_0x3ebb0e=>function(_0x407d5a){const _0xa9d06e=_0x474812,_0x44e4ba=_0x407d5a[_0xa9d06e(0x1f8)];if(_0x44e4ba)return!0x0;const _0x2694f3=_0x407d5a[_0xa9d06e(0x20f)]()[_0xa9d06e(0x1f1)](0x0);return!!_0x2694f3;}(_0x3ebb0e));return 0x0===_0x21480d[_0x474812(0x20e)]?null:new _0x20fab3(_0x21480d[0x0][_0x474812(0x20f)]()[_0x474812(0x1f1)](0x0));}get[_0x3a2051(0x1e5)](){const _0x8b41fe=_0x3a2051;return this[_0x8b41fe(0x205)][_0x8b41fe(0x1e5)];}set[_0x3a2051(0x1e5)](_0x3a97f5){const _0x35b707=_0x3a2051;this[_0x35b707(0x205)][_0x35b707(0x1e5)]=_0x3a97f5,this[_0x35b707(0x205)][_0x35b707(0x1f4)][_0x35b707(0x1e5)]=_0x3a97f5;}[_0x3a2051(0x1ee)](){const _0x1c4cad=_0x3a2051;this[_0x1c4cad(0x205)][_0x1c4cad(0x20c)]=this[_0x1c4cad(0x20c)];}[_0x3a2051(0x1f5)](){const _0x35c368=_0x3a2051;this[_0x35c368(0x204)][_0x35c368(0x1e4)](),this[_0x35c368(0x204)][_0x35c368(0x1fd)](),this[_0x35c368(0x1e4)]();}[_0x3a2051(0x1fb)](){const _0x4cb845=_0x3a2051;this[_0x4cb845(0x1f0)]=!!this[_0x4cb845(0x20c)];}static[_0x3a2051(0x1ff)](_0x402777){const _0x294456=_0x3a2051;if(!(null===_0x402777||_0x402777 instanceof _0x20fab3||Array[_0x294456(0x206)](_0x402777)&&_0x402777[_0x294456(0x202)](_0x3fb763=>y(_0x3fb763))))throw new _0x527fee(_0x294456(0x1eb),null,{'target':_0x402777});}[_0x3a2051(0x212)](){const _0x67ea38=_0x3a2051,_0x6bebc6=_0x67ea38(0x1e7)==typeof this[_0x67ea38(0x1f3)]?this[_0x67ea38(0x1f3)]():this[_0x67ea38(0x1f3)];return y(_0x6bebc6)?[_0x6bebc6]:_0x6bebc6;}}function _0x1943(){const _0x34f717=['view','isArray','innerView','element','add','4332312SEwqiQ','_id','targetRect','remove','length','getClientRects','35atJAVZ','876SgZFzl','_getNormalizedTarget','stopListening','isActive','object','function','18FPZPJw','_type','target','annotation-invalid-target','render','type','updateTargetRect','6115194VDwvLN','isVisible','item','17370lndtQZ','_target','mainView','destroy','nodeType','2861439paSSMc','offsetParent','11TihGrv','48721rNxmly','refreshVisibility','8790440wigJAT','clear','filter','_assertCorrectTarget','focusTracker','194664qWZqld','every','set','focusableElements'];_0x1943=function(){return _0x34f717;};return _0x1943();}function y(_0x3a3884){const _0x5e75f1=_0x3a2051;return null!==_0x3a3884&&_0x5e75f1(0x1e6)==typeof _0x3a3884&&_0x5e75f1(0x1f6)in _0x3a3884&&0x1===_0x3a3884[_0x5e75f1(0x1f6)];}
23
+ function _0x1760(){const _0xb4bb66=['focusTracker','function','450dfItCv','299AEesGg','set','_getNormalizedTarget','view','element','type','updateTargetRect','every','158ynjTEP','annotation-invalid-target','isActive','item','remove','_target','_type','mainView','stopListening','destroy','getClientRects','nodeType','render','refreshVisibility','456579GllQqD','2032591hDMtmK','isVisible','clear','focusableElements','230SVFRfa','19864gGvUzn','offsetParent','134ceNuDE','isArray','innerView','530742NfMLHz','_assertCorrectTarget','targetRect','_id','21lqrmmu','add','28240LYXCMj','123492DAxxQA','filter','length','object','target','10KUdUhV'];_0x1760=function(){return _0xb4bb66;};return _0x1760();}const _0x10034c=_0x5706;(function(_0x4fb0ae,_0x207cad){const _0x359f7b=_0x5706,_0xd0ce6f=_0x4fb0ae();while(!![]){try{const _0x14bced=parseInt(_0x359f7b(0x14a))/0x1*(parseInt(_0x359f7b(0x12f))/0x2)+-parseInt(_0x359f7b(0x127))/0x3+-parseInt(_0x359f7b(0x12d))/0x4*(parseInt(_0x359f7b(0x12c))/0x5)+parseInt(_0x359f7b(0x132))/0x6*(parseInt(_0x359f7b(0x136))/0x7)+parseInt(_0x359f7b(0x138))/0x8*(-parseInt(_0x359f7b(0x141))/0x9)+parseInt(_0x359f7b(0x13e))/0xa*(parseInt(_0x359f7b(0x128))/0xb)+-parseInt(_0x359f7b(0x139))/0xc*(-parseInt(_0x359f7b(0x142))/0xd);if(_0x14bced===_0x207cad)break;else _0xd0ce6f['push'](_0xd0ce6f['shift']());}catch(_0x11ea14){_0xd0ce6f['push'](_0xd0ce6f['shift']());}}}(_0x1760,0x2240e));import{CKEditorError as _0x498052,Rect as _0x1b1eb9,Collection as _0xa1f030,ObservableMixin as _0x497811}from'ckeditor5/src/utils.js';function _0x5706(_0x48ee30,_0x553110){const _0x1760e9=_0x1760();return _0x5706=function(_0x57062a,_0x363106){_0x57062a=_0x57062a-0x127;let _0x72e154=_0x1760e9[_0x57062a];return _0x72e154;},_0x5706(_0x48ee30,_0x553110);}export class Annotation extends/* #__PURE__ -- @preserve */
24
+ _0x497811(){[_0x10034c(0x145)];[_0x10034c(0x12b)];[_0x10034c(0x150)];[_0x10034c(0x14f)];constructor({view:_0x3a4a7c,target:_0x31a87c,type:_0x43397e,isVisible:_0x590998=!0x0}){const _0x1ae686=_0x10034c;super(),this[_0x1ae686(0x145)]=_0x3a4a7c,this[_0x1ae686(0x145)][_0x1ae686(0x146)]||this[_0x1ae686(0x145)][_0x1ae686(0x156)](),this[_0x1ae686(0x150)]=_0x43397e,this[_0x1ae686(0x14f)]=_0x31a87c,Annotation[_0x1ae686(0x133)](this[_0x1ae686(0x144)]()),this[_0x1ae686(0x12b)]=new _0xa1f030([this[_0x1ae686(0x145)][_0x1ae686(0x146)]],{'idProperty':_0x1ae686(0x135)}),this[_0x1ae686(0x12b)]['on'](_0x1ae686(0x137),(_0x445a50,_0x59df74)=>{const _0x1820a3=_0x1ae686;this[_0x1820a3(0x145)][_0x1820a3(0x13f)][_0x1820a3(0x137)](_0x59df74);}),this[_0x1ae686(0x12b)]['on'](_0x1ae686(0x14e),(_0x3b252f,_0x36172a)=>{const _0x56a487=_0x1ae686;this[_0x56a487(0x145)][_0x56a487(0x13f)][_0x56a487(0x14e)](_0x36172a);}),this[_0x1ae686(0x143)](_0x1ae686(0x129),_0x590998);}get[_0x10034c(0x147)](){const _0x1e6c4d=_0x10034c;return _0x1e6c4d(0x140)==typeof this[_0x1e6c4d(0x150)]?this[_0x1e6c4d(0x150)]():this[_0x1e6c4d(0x150)];}get[_0x10034c(0x131)](){const _0x48900d=_0x10034c;return this[_0x48900d(0x145)][_0x48900d(0x151)];}get[_0x10034c(0x13d)](){const _0x2e1239=_0x10034c,_0x42c4bc=this[_0x2e1239(0x144)]();return Annotation[_0x2e1239(0x133)](_0x42c4bc),_0x42c4bc;}get[_0x10034c(0x134)](){const _0x253990=_0x10034c,_0x53e22c=this[_0x253990(0x13d)];if(null===_0x53e22c)return null;if(_0x53e22c instanceof _0x1b1eb9)return _0x53e22c;const _0x4a6ee3=_0x53e22c[_0x253990(0x13a)](_0x3a3500=>function(_0x2210ef){const _0x44cbf2=_0x253990,_0x203bbf=_0x2210ef[_0x44cbf2(0x12e)];if(_0x203bbf)return!0x0;const _0x87038d=_0x2210ef[_0x44cbf2(0x154)]()[_0x44cbf2(0x14d)](0x0);return!!_0x87038d;}(_0x3a3500));return 0x0===_0x4a6ee3[_0x253990(0x13b)]?null:new _0x1b1eb9(_0x4a6ee3[0x0][_0x253990(0x154)]()[_0x253990(0x14d)](0x0));}get[_0x10034c(0x14c)](){const _0x3a432a=_0x10034c;return this[_0x3a432a(0x145)][_0x3a432a(0x14c)];}set[_0x10034c(0x14c)](_0x503f18){const _0x306171=_0x10034c;this[_0x306171(0x145)][_0x306171(0x14c)]=_0x503f18,this[_0x306171(0x145)][_0x306171(0x151)][_0x306171(0x14c)]=_0x503f18;}[_0x10034c(0x148)](){const _0x2764d2=_0x10034c;this[_0x2764d2(0x145)][_0x2764d2(0x134)]=this[_0x2764d2(0x134)];}[_0x10034c(0x153)](){const _0x3069bb=_0x10034c;this[_0x3069bb(0x12b)][_0x3069bb(0x152)](),this[_0x3069bb(0x12b)][_0x3069bb(0x12a)](),this[_0x3069bb(0x152)]();}[_0x10034c(0x157)](){const _0x5626b6=_0x10034c;this[_0x5626b6(0x129)]=!!this[_0x5626b6(0x134)];}static[_0x10034c(0x133)](_0x25629b){const _0x38aa2d=_0x10034c;if(!(null===_0x25629b||_0x25629b instanceof _0x1b1eb9||Array[_0x38aa2d(0x130)](_0x25629b)&&_0x25629b[_0x38aa2d(0x149)](_0x44034d=>g(_0x44034d))))throw new _0x498052(_0x38aa2d(0x14b),null,{'target':_0x25629b});}[_0x10034c(0x144)](){const _0x1f76cb=_0x10034c,_0xea0af0=_0x1f76cb(0x140)==typeof this[_0x1f76cb(0x14f)]?this[_0x1f76cb(0x14f)]():this[_0x1f76cb(0x14f)];return g(_0xea0af0)?[_0xea0af0]:_0xea0af0;}}function g(_0x1de64b){const _0x326d75=_0x10034c;return null!==_0x1de64b&&_0x326d75(0x13c)==typeof _0x1de64b&&_0x326d75(0x155)in _0x1de64b&&0x1===_0x1de64b[_0x326d75(0x155)];}
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { Collection } from 'ckeditor5/src/utils.js';
10
10
  import type { View } from 'ckeditor5/src/ui.js';
11
- import type Annotation from './annotation.js';
11
+ import { type Annotation } from './annotation.js';
12
12
  /**
13
13
  * A collection of {@link module:comments/annotations/annotation~Annotation annotations}.
14
14
  *
@@ -19,7 +19,7 @@ import type Annotation from './annotation.js';
19
19
  * becomes focused and {@link module:comments/annotations/annotationcollection~AnnotationCollection#event:blur} when all annotations
20
20
  * lose focus.
21
21
  */
22
- export default class AnnotationCollection extends Collection<Annotation> {
22
+ export declare class AnnotationCollection extends Collection<Annotation> {
23
23
  /**
24
24
  * @param annotations Initial annotations.
25
25
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22ec5b=_0x2cfb;(function(_0x182d9b,_0x262d90){const _0x3bf3f8=_0x2cfb,_0x4b489d=_0x182d9b();while(!![]){try{const _0x57c3ff=-parseInt(_0x3bf3f8(0x185))/0x1*(-parseInt(_0x3bf3f8(0x1a6))/0x2)+-parseInt(_0x3bf3f8(0x186))/0x3+-parseInt(_0x3bf3f8(0x1ab))/0x4*(parseInt(_0x3bf3f8(0x1ac))/0x5)+parseInt(_0x3bf3f8(0x1ae))/0x6*(parseInt(_0x3bf3f8(0x1a7))/0x7)+-parseInt(_0x3bf3f8(0x1ad))/0x8+parseInt(_0x3bf3f8(0x1a9))/0x9+parseInt(_0x3bf3f8(0x1a4))/0xa;if(_0x57c3ff===_0x262d90)break;else _0x4b489d['push'](_0x4b489d['shift']());}catch(_0x556aee){_0x4b489d['push'](_0x4b489d['shift']());}}}(_0x197b,0xe4caa));function _0x2cfb(_0x5a036e,_0x46a947){const _0x197b83=_0x197b();return _0x2cfb=function(_0x2cfb81,_0xdc0217){_0x2cfb81=_0x2cfb81-0x185;let _0x630e43=_0x197b83[_0x2cfb81];return _0x630e43;},_0x2cfb(_0x5a036e,_0x46a947);}function _0x197b(){const _0x55aeea=['9244116AFHxom','annotationcollection-not-existing-item','6561044ljQmhF','5miButM','10725528ClSiXh','6cvADDD','change:isFocused','clear','listenTo','top','refreshPositioning','2evWipl','5287932hMsEoi','stopListening','sort','updateTargetRect','getByInnerView','blur','targetRect','remove','focusTracker','_sort','from','_focusTracker','has','_viewToAnnotation','focus','isFocused','add','annotationcollection-duplicated-item','set','_innerViewToAnnotation','get','getIndex','focusableElements','length','fire','left','getByView','destroy','view','innerView','23147900DfDDQb','_getOrderInContent','556098bFibsj','12478998isFGSS','delete'];_0x197b=function(){return _0x55aeea;};return _0x197b();}import{CKEditorError as _0x3bfd6f,Collection as _0x180a98,FocusTracker as _0x1fa546}from'ckeditor5/src/utils.js';export default class _ extends _0x180a98{[_0x22ec5b(0x199)];[_0x22ec5b(0x193)];[_0x22ec5b(0x191)];constructor(_0x482148=[]){const _0x468b41=_0x22ec5b;super(),this[_0x468b41(0x199)]=new Map(),this[_0x468b41(0x193)]=new Map(),this[_0x468b41(0x191)]=new _0x1fa546(),this[_0x468b41(0x191)]['on'](_0x468b41(0x1af),(_0x7618ed,_0x39a61d,_0x5bac7f)=>{const _0x561f5d=_0x468b41;_0x5bac7f||this[_0x561f5d(0x19e)](_0x561f5d(0x18b));});for(const _0x205920 of _0x482148)this[_0x468b41(0x196)](_0x205920);}get[_0x22ec5b(0x195)](){const _0x2aa9c5=_0x22ec5b;return this[_0x2aa9c5(0x191)][_0x2aa9c5(0x195)];}[_0x22ec5b(0x196)](_0x148442){const _0x2b5255=_0x22ec5b;if(this[_0x2b5255(0x192)](_0x148442))throw new _0x3bfd6f(_0x2b5255(0x197),null);this[_0x2b5255(0x199)][_0x2b5255(0x198)](_0x148442[_0x2b5255(0x1a3)],_0x148442),this[_0x2b5255(0x193)][_0x2b5255(0x198)](_0x148442[_0x2b5255(0x1a2)],_0x148442);for(const _0x5d8cdb of _0x148442[_0x2b5255(0x19c)])this[_0x2b5255(0x191)][_0x2b5255(0x196)](_0x5d8cdb);this[_0x2b5255(0x1b1)](_0x148442[_0x2b5255(0x19c)],_0x2b5255(0x196),(_0x3dede2,_0x5d4ca7)=>{const _0x4380b6=_0x2b5255;this[_0x4380b6(0x191)][_0x4380b6(0x196)](_0x5d4ca7);}),this[_0x2b5255(0x1b1)](_0x148442[_0x2b5255(0x19c)],_0x2b5255(0x18d),(_0x36f5cc,_0x279fbc)=>{const _0x329b1c=_0x2b5255;this[_0x329b1c(0x191)][_0x329b1c(0x18d)](_0x279fbc);}),this[_0x2b5255(0x1b1)](_0x148442[_0x2b5255(0x1a2)][_0x2b5255(0x18e)],_0x2b5255(0x1af),(_0x15d896,_0x50ebc7,_0x1d0f6a)=>{const _0x298c78=_0x2b5255;_0x1d0f6a&&this[_0x298c78(0x19e)](_0x298c78(0x194),_0x148442);}),_0x148442[_0x2b5255(0x189)]();const _0x38d45d=this[_0x2b5255(0x1a5)](_0x148442[_0x2b5255(0x1a2)][_0x2b5255(0x18c)]);return super[_0x2b5255(0x196)](_0x148442,_0x38d45d);}[_0x22ec5b(0x18d)](_0x209e73){const _0x3597d8=_0x22ec5b;if(!this[_0x3597d8(0x192)](_0x209e73))throw new _0x3bfd6f(_0x3597d8(0x1aa),null);this[_0x3597d8(0x187)](_0x209e73[_0x3597d8(0x1a2)][_0x3597d8(0x18e)]),this[_0x3597d8(0x187)](_0x209e73[_0x3597d8(0x19c)]);for(const _0x1f7e3a of _0x209e73[_0x3597d8(0x19c)])this[_0x3597d8(0x191)][_0x3597d8(0x18d)](_0x1f7e3a);return this[_0x3597d8(0x193)][_0x3597d8(0x1a8)](_0x209e73[_0x3597d8(0x1a2)]),this[_0x3597d8(0x199)][_0x3597d8(0x1a8)](_0x209e73[_0x3597d8(0x1a3)]),super[_0x3597d8(0x18d)](_0x209e73);}[_0x22ec5b(0x18a)](_0xeacf07){const _0x229a5a=_0x22ec5b;return this[_0x229a5a(0x199)][_0x229a5a(0x19a)](_0xeacf07);}[_0x22ec5b(0x1a0)](_0x23a5e6){const _0x1e40c4=_0x22ec5b;return this[_0x1e40c4(0x193)][_0x1e40c4(0x19a)](_0x23a5e6);}[_0x22ec5b(0x1a1)](){const _0x174268=_0x22ec5b;super[_0x174268(0x1b0)](),this[_0x174268(0x187)](),this[_0x174268(0x199)][_0x174268(0x1b0)](),this[_0x174268(0x193)][_0x174268(0x1b0)](),this[_0x174268(0x191)][_0x174268(0x1a1)]();}[_0x22ec5b(0x1b3)](){const _0x5565dd=_0x22ec5b;for(const _0x38731c of this)_0x38731c[_0x5565dd(0x189)]();this[_0x5565dd(0x18f)]();}[_0x22ec5b(0x18f)](){const _0x26b590=_0x22ec5b,_0x5a7819=Array[_0x26b590(0x190)](this)[_0x26b590(0x188)]((_0x4db027,_0x2e9d1c)=>v(_0x4db027[_0x26b590(0x1a2)][_0x26b590(0x18c)],_0x2e9d1c[_0x26b590(0x1a2)][_0x26b590(0x18c)]));for(let _0x27b95d=_0x5a7819[_0x26b590(0x19d)]-0x1;_0x27b95d>0x0;_0x27b95d--){const _0x1af9e5=_0x5a7819[_0x27b95d];_0x27b95d!==this[_0x26b590(0x19b)](_0x1af9e5)&&(this[_0x26b590(0x18d)](_0x1af9e5),this[_0x26b590(0x196)](_0x1af9e5));}}[_0x22ec5b(0x1a5)](_0x5eadbd){const _0x272e34=_0x22ec5b;let _0x242074=0x0;if(!_0x5eadbd)return this[_0x272e34(0x19d)];for(const _0x3b3681 of this){const _0x547fc7=_0x3b3681[_0x272e34(0x1a2)][_0x272e34(0x18c)];if(_0x547fc7){if(v(_0x5eadbd,_0x547fc7)<0x0)return _0x242074;_0x242074++;}}return _0x242074;}}export function bindAnnotationCollections({source:_0x2afe9c,target:_0x5b8625,filter:_0x4d9752}){const _0x182e06=_0x22ec5b;for(const _0x5d10e1 of _0x2afe9c)_0x4d9752(_0x5d10e1)&&_0x5b8625[_0x182e06(0x196)](_0x5d10e1);_0x5b8625[_0x182e06(0x1b1)](_0x2afe9c,_0x182e06(0x196),(_0x45da7d,_0x305fa3)=>{const _0x44f206=_0x182e06;_0x4d9752(_0x305fa3)&&_0x5b8625[_0x44f206(0x196)](_0x305fa3);}),_0x5b8625[_0x182e06(0x1b1)](_0x2afe9c,_0x182e06(0x18d),(_0x45b777,_0x249e0e)=>{const _0x508524=_0x182e06;_0x5b8625[_0x508524(0x192)](_0x249e0e)&&_0x5b8625[_0x508524(0x18d)](_0x249e0e);});}function v(_0x1f0ced,_0x4d67d2){const _0x464daa=_0x22ec5b;if(null===_0x1f0ced&&null===_0x4d67d2)return 0x0;if(null===_0x1f0ced)return-0x1;if(null===_0x4d67d2)return 0x1;const _0x55e94b=_0x1f0ced[_0x464daa(0x1b2)]-_0x4d67d2[_0x464daa(0x1b2)];return 0x0==_0x55e94b?_0x1f0ced[_0x464daa(0x19f)]-_0x4d67d2[_0x464daa(0x19f)]:_0x55e94b;}
23
+ const _0x29856e=_0xe935;function _0x2d71(){const _0x1896ba=['length','getIndex','2CBdaAO','368zpRbaX','top','_getOrderInContent','targetRect','blur','focus','focusableElements','_focusTracker','sort','clear','getByView','left','set','view','has','updateTargetRect','annotationcollection-not-existing-item','_sort','destroy','add','innerView','stopListening','21721480BSFNqW','11BRCLLn','5451650MZwMPe','60282edgNZP','annotationcollection-duplicated-item','2034908MEBwCn','2938596ufINMP','get','refreshPositioning','remove','listenTo','getByInnerView','5201xxkNxp','focusTracker','fire','5970nyIUFx','_viewToAnnotation','delete','change:isFocused','isFocused','from','1073953dHanQj','_innerViewToAnnotation'];_0x2d71=function(){return _0x1896ba;};return _0x2d71();}function _0xe935(_0x4734dd,_0x5927db){const _0x2d7175=_0x2d71();return _0xe935=function(_0xe9350e,_0x3c10ad){_0xe9350e=_0xe9350e-0x1ce;let _0x2c6a80=_0x2d7175[_0xe9350e];return _0x2c6a80;},_0xe935(_0x4734dd,_0x5927db);}(function(_0x124026,_0x2be45b){const _0x14280c=_0xe935,_0x5de6e6=_0x124026();while(!![]){try{const _0x219922=parseInt(_0x14280c(0x1d1))/0x1*(-parseInt(_0x14280c(0x1d5))/0x2)+-parseInt(_0x14280c(0x1f2))/0x3+parseInt(_0x14280c(0x1f1))/0x4+parseInt(_0x14280c(0x1ee))/0x5+-parseInt(_0x14280c(0x1fb))/0x6*(parseInt(_0x14280c(0x1f8))/0x7)+parseInt(_0x14280c(0x1d6))/0x8*(-parseInt(_0x14280c(0x1ef))/0x9)+parseInt(_0x14280c(0x1ec))/0xa*(parseInt(_0x14280c(0x1ed))/0xb);if(_0x219922===_0x2be45b)break;else _0x5de6e6['push'](_0x5de6e6['shift']());}catch(_0x10e745){_0x5de6e6['push'](_0x5de6e6['shift']());}}}(_0x2d71,0xa3a77));import{CKEditorError as _0xe521ea,Collection as _0x3b72a5,FocusTracker as _0x2488ac}from'ckeditor5/src/utils.js';export class AnnotationCollection extends _0x3b72a5{[_0x29856e(0x1d2)];[_0x29856e(0x1fc)];[_0x29856e(0x1dd)];constructor(_0x9e3f7a=[]){const _0x437f6c=_0x29856e;super(),this[_0x437f6c(0x1d2)]=new Map(),this[_0x437f6c(0x1fc)]=new Map(),this[_0x437f6c(0x1dd)]=new _0x2488ac(),this[_0x437f6c(0x1dd)]['on'](_0x437f6c(0x1ce),(_0x157824,_0x597550,_0x406d8c)=>{const _0x3dacfc=_0x437f6c;_0x406d8c||this[_0x3dacfc(0x1fa)](_0x3dacfc(0x1da));});for(const _0xefdb7a of _0x9e3f7a)this[_0x437f6c(0x1e9)](_0xefdb7a);}get[_0x29856e(0x1cf)](){const _0x24b46c=_0x29856e;return this[_0x24b46c(0x1dd)][_0x24b46c(0x1cf)];}[_0x29856e(0x1e9)](_0x1d5bbc){const _0x4b141a=_0x29856e;if(this[_0x4b141a(0x1e4)](_0x1d5bbc))throw new _0xe521ea(_0x4b141a(0x1f0),null);this[_0x4b141a(0x1d2)][_0x4b141a(0x1e2)](_0x1d5bbc[_0x4b141a(0x1ea)],_0x1d5bbc),this[_0x4b141a(0x1fc)][_0x4b141a(0x1e2)](_0x1d5bbc[_0x4b141a(0x1e3)],_0x1d5bbc);for(const _0x50eb36 of _0x1d5bbc[_0x4b141a(0x1dc)])this[_0x4b141a(0x1dd)][_0x4b141a(0x1e9)](_0x50eb36);this[_0x4b141a(0x1f6)](_0x1d5bbc[_0x4b141a(0x1dc)],_0x4b141a(0x1e9),(_0x28f949,_0x3d23ab)=>{const _0x2c4cd8=_0x4b141a;this[_0x2c4cd8(0x1dd)][_0x2c4cd8(0x1e9)](_0x3d23ab);}),this[_0x4b141a(0x1f6)](_0x1d5bbc[_0x4b141a(0x1dc)],_0x4b141a(0x1f5),(_0x2d6959,_0x4712f2)=>{const _0x4ca270=_0x4b141a;this[_0x4ca270(0x1dd)][_0x4ca270(0x1f5)](_0x4712f2);}),this[_0x4b141a(0x1f6)](_0x1d5bbc[_0x4b141a(0x1e3)][_0x4b141a(0x1f9)],_0x4b141a(0x1ce),(_0x514d4b,_0x1afa78,_0x578124)=>{const _0x1f6856=_0x4b141a;_0x578124&&this[_0x1f6856(0x1fa)](_0x1f6856(0x1db),_0x1d5bbc);}),_0x1d5bbc[_0x4b141a(0x1e5)]();const _0x38c333=this[_0x4b141a(0x1d8)](_0x1d5bbc[_0x4b141a(0x1e3)][_0x4b141a(0x1d9)]);return super[_0x4b141a(0x1e9)](_0x1d5bbc,_0x38c333);}[_0x29856e(0x1f5)](_0x4e0aef){const _0x35a9e0=_0x29856e;if(!this[_0x35a9e0(0x1e4)](_0x4e0aef))throw new _0xe521ea(_0x35a9e0(0x1e6),null);this[_0x35a9e0(0x1eb)](_0x4e0aef[_0x35a9e0(0x1e3)][_0x35a9e0(0x1f9)]),this[_0x35a9e0(0x1eb)](_0x4e0aef[_0x35a9e0(0x1dc)]);for(const _0x4bb446 of _0x4e0aef[_0x35a9e0(0x1dc)])this[_0x35a9e0(0x1dd)][_0x35a9e0(0x1f5)](_0x4bb446);return this[_0x35a9e0(0x1fc)][_0x35a9e0(0x1fd)](_0x4e0aef[_0x35a9e0(0x1e3)]),this[_0x35a9e0(0x1d2)][_0x35a9e0(0x1fd)](_0x4e0aef[_0x35a9e0(0x1ea)]),super[_0x35a9e0(0x1f5)](_0x4e0aef);}[_0x29856e(0x1f7)](_0x1b5fbe){const _0x481cbd=_0x29856e;return this[_0x481cbd(0x1d2)][_0x481cbd(0x1f3)](_0x1b5fbe);}[_0x29856e(0x1e0)](_0x4628a4){const _0x11014d=_0x29856e;return this[_0x11014d(0x1fc)][_0x11014d(0x1f3)](_0x4628a4);}[_0x29856e(0x1e8)](){const _0x3caef3=_0x29856e;super[_0x3caef3(0x1df)](),this[_0x3caef3(0x1eb)](),this[_0x3caef3(0x1d2)][_0x3caef3(0x1df)](),this[_0x3caef3(0x1fc)][_0x3caef3(0x1df)](),this[_0x3caef3(0x1dd)][_0x3caef3(0x1e8)]();}[_0x29856e(0x1f4)](){const _0x25d42a=_0x29856e;for(const _0x5c4aa9 of this)_0x5c4aa9[_0x25d42a(0x1e5)]();this[_0x25d42a(0x1e7)]();}[_0x29856e(0x1e7)](){const _0x1a9fb4=_0x29856e,_0x27f772=Array[_0x1a9fb4(0x1d0)](this)[_0x1a9fb4(0x1de)]((_0x1a3455,_0x55c3e7)=>w(_0x1a3455[_0x1a9fb4(0x1e3)][_0x1a9fb4(0x1d9)],_0x55c3e7[_0x1a9fb4(0x1e3)][_0x1a9fb4(0x1d9)]));for(let _0x2274e6=_0x27f772[_0x1a9fb4(0x1d3)]-0x1;_0x2274e6>0x0;_0x2274e6--){const _0x507eb5=_0x27f772[_0x2274e6];_0x2274e6!==this[_0x1a9fb4(0x1d4)](_0x507eb5)&&(this[_0x1a9fb4(0x1f5)](_0x507eb5),this[_0x1a9fb4(0x1e9)](_0x507eb5));}}[_0x29856e(0x1d8)](_0x45c41f){const _0x15ed80=_0x29856e;let _0x21581c=0x0;if(!_0x45c41f)return this[_0x15ed80(0x1d3)];for(const _0x282c90 of this){const _0x48ff6a=_0x282c90[_0x15ed80(0x1e3)][_0x15ed80(0x1d9)];if(_0x48ff6a){if(w(_0x45c41f,_0x48ff6a)<0x0)return _0x21581c;_0x21581c++;}}return _0x21581c;}}export function bindAnnotationCollections({source:_0x4eaa81,target:_0x45f912,filter:_0xd73c80}){const _0x22c131=_0x29856e;for(const _0x4c5968 of _0x4eaa81)_0xd73c80(_0x4c5968)&&_0x45f912[_0x22c131(0x1e9)](_0x4c5968);_0x45f912[_0x22c131(0x1f6)](_0x4eaa81,_0x22c131(0x1e9),(_0x422b9e,_0x515a11)=>{const _0x3b1c99=_0x22c131;_0xd73c80(_0x515a11)&&_0x45f912[_0x3b1c99(0x1e9)](_0x515a11);}),_0x45f912[_0x22c131(0x1f6)](_0x4eaa81,_0x22c131(0x1f5),(_0x438b9e,_0x4c8245)=>{const _0x4a5e0f=_0x22c131;_0x45f912[_0x4a5e0f(0x1e4)](_0x4c8245)&&_0x45f912[_0x4a5e0f(0x1f5)](_0x4c8245);});}function w(_0x5ea649,_0x276f5d){const _0x16c7ec=_0x29856e;if(null===_0x5ea649&&null===_0x276f5d)return 0x0;if(null===_0x5ea649)return-0x1;if(null===_0x276f5d)return 0x1;const _0x156525=_0x5ea649[_0x16c7ec(0x1d7)]-_0x276f5d[_0x16c7ec(0x1d7)];return 0x0==_0x156525?_0x5ea649[_0x16c7ec(0x1e1)]-_0x276f5d[_0x16c7ec(0x1e1)]:_0x156525;}
@@ -9,9 +9,9 @@
9
9
  import { ContextPlugin, Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import type { View } from 'ckeditor5/src/ui.js';
11
11
  import { type Locale } from 'ckeditor5/src/utils.js';
12
- import Annotation, { type AnnotationTarget } from './annotation.js';
13
- import AnnotationCollection from './annotationcollection.js';
14
- import AnnotationView, { type AnnotationMainView } from './view/annotationview.js';
12
+ import { Annotation, type AnnotationTarget } from './annotation.js';
13
+ import { AnnotationCollection } from './annotationcollection.js';
14
+ import { AnnotationView, type AnnotationMainView } from './view/annotationview.js';
15
15
  /**
16
16
  * Stores and manages all {@link module:comments/annotations/annotation~Annotation annotations} created
17
17
  * for the entire {@link module:core/context~Context} or {@link module:core/editor/editor~Editor}.
@@ -29,7 +29,7 @@ import AnnotationView, { type AnnotationMainView } from './view/annotationview.j
29
29
  * `Annotations` is linked with {@link module:comments/annotations/annotationsuis~AnnotationsUIs}, which listens to events fired by
30
30
  * `Annotations` and propagates information to and from annotations UI plugins.
31
31
  */
32
- export default class Annotations extends ContextPlugin {
32
+ export declare class Annotations extends ContextPlugin {
33
33
  /**
34
34
  * A set of currently active annotations.
35
35
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ba42f=_0xa7c5;(function(_0x251b22,_0x446564){const _0xa61c57=_0xa7c5,_0x1c3d38=_0x251b22();while(!![]){try{const _0x3998f5=parseInt(_0xa61c57(0x1ec))/0x1*(-parseInt(_0xa61c57(0x1c7))/0x2)+parseInt(_0xa61c57(0x1ea))/0x3+parseInt(_0xa61c57(0x1d7))/0x4*(parseInt(_0xa61c57(0x1f9))/0x5)+-parseInt(_0xa61c57(0x1f4))/0x6*(-parseInt(_0xa61c57(0x20b))/0x7)+-parseInt(_0xa61c57(0x1e1))/0x8*(parseInt(_0xa61c57(0x1e4))/0x9)+parseInt(_0xa61c57(0x1ce))/0xa+parseInt(_0xa61c57(0x1c2))/0xb*(parseInt(_0xa61c57(0x1d2))/0xc);if(_0x3998f5===_0x446564)break;else _0x1c3d38['push'](_0x1c3d38['shift']());}catch(_0x2f0368){_0x1c3d38['push'](_0x1c3d38['shift']());}}}(_0x47c6,0x88b47));import{ContextPlugin as _0x3e1c99,Editor as _0x23e801}from'ckeditor5/src/core.js';import{first as _0x310fe0}from'ckeditor5/src/utils.js';import _0x2ecc8b from'./annotation.js';import _0x2c6254 from'./annotationcollection.js';import _0x1068e8 from'./view/annotationview.js';function _0xa7c5(_0x34489c,_0x5d84bc){const _0x47c6fa=_0x47c6();return _0xa7c5=function(_0xa7c5b,_0xfbba01){_0xa7c5b=_0xa7c5b-0x1bd;let _0x11ef8a=_0x47c6fa[_0xa7c5b];return _0x11ef8a;},_0xa7c5(_0x34489c,_0x5d84bc);}import{getTranslation as _0x1ca151}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x561630}from'@ckeditor/ckeditor5-collaboration-core';function _0x47c6(){const _0x250681=['createAnnotation','target','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','keystrokes','Esc','activeAnnotations','focus','3663544XTnhAU','Ctrl+Shift+E','_setupEscapeAnnotationHandling','9qcxOqx','add','listenTo','_removeActiveAnnotation','isArray','set','1141272TxkCvu','editing','67JOUHgL','stopListening','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','Arrowdown','pluginName','push','refreshPositioning','3516684oxCTAf','change:isVisible','Enter','createAnnotationView','element','24095fArJrS','activate','context','isVisible','contains','_addActiveAnnotation','Ctrl+Enter','remove','accessibility','Annotations','focusTracker','has','_activateAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','ready','refreshVisibility','delete','7qzbvrp','_visibleAnnotations','values','_setupEnterAnnotationKeystroke','Arrowup','source','destroy','Shift+Tab','3000657LYdSTJ','isOfficialPlugin','fire','getByInnerView','_deactivateAllAnnotations','27656FQRWJl','isPremiumPlugin','_bindAnnotationsToVisibleAnnotations','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','editors','escape','annotations','6472090VYSmnx','addKeystrokeInfoGroup','domRoots','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','12VFKejf','deactivateAll','locale','collection','low','48oJeDnn','Tab','view'];_0x47c6=function(){return _0x250681;};return _0x47c6();}export default class O extends _0x3e1c99{[_0x1ba42f(0x1d5)];[_0x1ba42f(0x20c)];static get[_0x1ba42f(0x1f1)](){const _0x4372fe=_0x1ba42f;return _0x4372fe(0x202);}static get[_0x1ba42f(0x1c3)](){return!0x0;}static get[_0x1ba42f(0x1c8)](){return!0x0;}constructor(_0x450ce1){const _0xd9afdc=_0x1ba42f;if(super(_0x450ce1),this[_0xd9afdc(0x1d5)]=new _0x2c6254(),this[_0xd9afdc(0x20c)]=new _0x2c6254(),this[_0xd9afdc(0x1e9)](_0xd9afdc(0x1df),new Set()),this[_0xd9afdc(0x1c9)](),_0x450ce1 instanceof _0x23e801){const _0x218ea4=_0x450ce1[_0xd9afdc(0x1d4)];_0x450ce1[_0xd9afdc(0x201)][_0xd9afdc(0x1cf)]({'id':_0xd9afdc(0x1cd),'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x1ef)),'keystrokes':[{'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x1dc)),'keystroke':_0xd9afdc(0x1e2)},{'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x207)),'keystroke':_0xd9afdc(0x1de)},{'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x1ca)),'keystroke':_0xd9afdc(0x1f6)},{'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x1ee)),'keystroke':[[_0xd9afdc(0x1d8)],[_0xd9afdc(0x1c1)]]},{'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x206)),'keystroke':[_0xd9afdc(0x1ff)]},{'label':_0x1ca151(_0x218ea4,_0xd9afdc(0x1d1)),'keystroke':[[_0xd9afdc(0x1be)],[_0xd9afdc(0x1f0)]]}]});}this[_0xd9afdc(0x1bd)](),this[_0xd9afdc(0x1e3)]();}[_0x1ba42f(0x1e5)](_0x4ce161){const _0x756f84=_0x1ba42f;this[_0x756f84(0x1d5)][_0x756f84(0x1e5)](_0x4ce161);}[_0x1ba42f(0x200)](_0x53c4be){const _0x30a879=_0x1ba42f;this[_0x30a879(0x1d5)][_0x30a879(0x200)](_0x53c4be),_0x53c4be[_0x30a879(0x1c0)]();}[_0x1ba42f(0x209)](){const _0x35a2fa=_0x1ba42f;for(const _0x2d0c3c of this[_0x35a2fa(0x1d5)])_0x2d0c3c[_0x35a2fa(0x209)]();}[_0x1ba42f(0x1f3)](){const _0x583f30=_0x1ba42f;this[_0x583f30(0x20c)][_0x583f30(0x1f3)]();}[_0x1ba42f(0x1c5)](_0x5c5d99){const _0x225a18=_0x1ba42f;return this[_0x225a18(0x1d5)][_0x225a18(0x1c5)](_0x5c5d99);}[_0x1ba42f(0x1d3)](){const _0x267596=_0x1ba42f;this[_0x267596(0x1c4)](_0x267596(0x1c6));}[_0x1ba42f(0x1c0)](){const _0xb84d0c=_0x1ba42f;for(const _0x557555 of this[_0xb84d0c(0x1d5)])_0x557555[_0xb84d0c(0x1c0)]();this[_0xb84d0c(0x20c)][_0xb84d0c(0x1c0)](),this[_0xb84d0c(0x1d5)][_0xb84d0c(0x1c0)](),super[_0xb84d0c(0x1c0)]();}[_0x1ba42f(0x1fa)](_0x174082){const _0x11e06d=_0x1ba42f;this[_0x11e06d(0x1c4)](_0x11e06d(0x205),_0x174082);}[_0x1ba42f(0x1da)](_0x475ff3){return new _0x2ecc8b(_0x475ff3);}[_0x1ba42f(0x1f7)](_0x5c6b04,_0x5c28b1){return new _0x1068e8(_0x5c6b04,_0x5c28b1);}[_0x1ba42f(0x1fe)](_0x240200){const _0x3b1b09=_0x1ba42f,_0x4bf7fc=new Set(this[_0x3b1b09(0x1df)]);_0x4bf7fc[_0x3b1b09(0x1e5)](_0x240200),this[_0x3b1b09(0x1df)]=_0x4bf7fc;}[_0x1ba42f(0x1e7)](_0x1e9323){const _0x1c0deb=_0x1ba42f,_0x8235a2=new Set(this[_0x1c0deb(0x1df)]);_0x8235a2[_0x1c0deb(0x20a)](_0x1e9323),this[_0x1c0deb(0x1df)]=_0x8235a2;}[_0x1ba42f(0x1c9)](){const _0x4fcf8d=_0x1ba42f,_0x24eec8=this[_0x4fcf8d(0x1d5)],_0x123d24=this[_0x4fcf8d(0x20c)];function _0x4b6d23(_0x7aa790){const _0xe4b81a=_0x4fcf8d,_0x42c2a6=_0x7aa790[_0xe4b81a(0x1bf)];_0x42c2a6[_0xe4b81a(0x1fc)]&&!_0x123d24[_0xe4b81a(0x204)](_0x42c2a6)?_0x123d24[_0xe4b81a(0x1e5)](_0x42c2a6):!_0x42c2a6[_0xe4b81a(0x1fc)]&&_0x123d24[_0xe4b81a(0x204)](_0x42c2a6)&&_0x123d24[_0xe4b81a(0x200)](_0x42c2a6),_0x42c2a6[_0xe4b81a(0x1d9)][_0xe4b81a(0x203)][_0xe4b81a(0x200)](_0x42c2a6[_0xe4b81a(0x1d9)][_0xe4b81a(0x1f8)]),_0x42c2a6[_0xe4b81a(0x1d9)][_0xe4b81a(0x203)][_0xe4b81a(0x1e5)](_0x42c2a6[_0xe4b81a(0x1d9)][_0xe4b81a(0x1f8)]);}this[_0x4fcf8d(0x1e6)](_0x24eec8,_0x4fcf8d(0x1e5),(_0x53a4e9,_0x4aa3c8)=>{const _0x569684=_0x4fcf8d;_0x4aa3c8[_0x569684(0x1fc)]&&_0x123d24[_0x569684(0x1e5)](_0x4aa3c8),this[_0x569684(0x1e6)](_0x4aa3c8,_0x569684(0x1f5),_0x4b6d23);}),this[_0x4fcf8d(0x1e6)](_0x24eec8,_0x4fcf8d(0x200),(_0x219c39,_0x326aad)=>{const _0x1c0e83=_0x4fcf8d;_0x123d24[_0x1c0e83(0x204)](_0x326aad)&&_0x123d24[_0x1c0e83(0x200)](_0x326aad),this[_0x1c0e83(0x1ed)](_0x326aad,_0x1c0e83(0x1f5),_0x4b6d23);});}[_0x1ba42f(0x1bd)](){const _0x5a6f65=_0x1ba42f,_0x3504ac=_0x2cb27c=>{const _0x5e7379=_0xa7c5;_0x2cb27c['on'](_0x5e7379(0x208),()=>{const _0x45ba2e=_0x5e7379;_0x2cb27c[_0x45ba2e(0x1dd)][_0x45ba2e(0x1e9)](_0x561630,(_0x204b72,_0x111870)=>{const _0x14fedc=_0x45ba2e,_0x3a2bc4=_0x310fe0(this[_0x14fedc(0x1df)][_0x14fedc(0x20d)]());_0x3a2bc4&&(_0x3a2bc4[_0x14fedc(0x1d9)][_0x14fedc(0x1e0)](),_0x111870());});});};this[_0x5a6f65(0x1fb)]instanceof _0x23e801?_0x3504ac(this[_0x5a6f65(0x1fb)]):this[_0x5a6f65(0x1fb)][_0x5a6f65(0x1cb)]&&this[_0x5a6f65(0x1fb)][_0x5a6f65(0x1cb)]['on'](_0x5a6f65(0x1e5),(_0x5ee1a4,_0x24d126)=>{_0x3504ac(_0x24d126);});}[_0x1ba42f(0x1e3)](){const _0x56c85d=_0x1ba42f,_0x718091=_0x3d6603=>{const _0x31e289=_0xa7c5,_0x30f374=_0x3d6603[_0x31e289(0x1bf)],_0x374e55=[];let _0x523c2b;if(Array[_0x31e289(0x1e8)](_0x30f374[_0x31e289(0x1db)])){_0x523c2b=_0x30f374[_0x31e289(0x1db)][0x0],this[_0x31e289(0x1fb)]instanceof _0x23e801?_0x374e55[_0x31e289(0x1f2)](this[_0x31e289(0x1fb)]):this[_0x31e289(0x1fb)][_0x31e289(0x1cb)]&&_0x374e55[_0x31e289(0x1f2)](...this[_0x31e289(0x1fb)][_0x31e289(0x1cb)]);for(const _0x355900 of _0x374e55)for(const _0x30af94 of _0x355900[_0x31e289(0x1eb)][_0x31e289(0x1d9)][_0x31e289(0x1d0)][_0x31e289(0x20d)]())if(_0x30af94[_0x31e289(0x1fd)](_0x523c2b))return void _0x355900[_0x31e289(0x1eb)][_0x31e289(0x1d9)][_0x31e289(0x1e0)]();_0x523c2b[_0x31e289(0x1e0)]();}};this[_0x56c85d(0x1e6)](this[_0x56c85d(0x1d5)],_0x56c85d(0x1e5),(_0xba9a75,_0xda0329)=>{const _0x3bcdf9=_0x56c85d;this[_0x3bcdf9(0x1e6)](_0xda0329,_0x3bcdf9(0x1cc),_0x718091,{'priority':_0x3bcdf9(0x1d6)});}),this[_0x56c85d(0x1e6)](this[_0x56c85d(0x1d5)],_0x56c85d(0x200),(_0x46ca65,_0x612ae6)=>{const _0x2215ef=_0x56c85d;this[_0x2215ef(0x1ed)](_0x612ae6,_0x2215ef(0x1cc),_0x718091);});}}
23
+ function _0x429a(_0x51a4b8,_0x32069f){const _0x4a463a=_0x4a46();return _0x429a=function(_0x429aaf,_0x2e1ea4){_0x429aaf=_0x429aaf-0x13d;let _0x3c0682=_0x4a463a[_0x429aaf];return _0x3c0682;},_0x429a(_0x51a4b8,_0x32069f);}const _0x18e9e5=_0x429a;(function(_0x2137e4,_0x316914){const _0xd41347=_0x429a,_0x1faf08=_0x2137e4();while(!![]){try{const _0x3c8c0a=parseInt(_0xd41347(0x17e))/0x1*(parseInt(_0xd41347(0x178))/0x2)+parseInt(_0xd41347(0x185))/0x3+-parseInt(_0xd41347(0x17c))/0x4*(parseInt(_0xd41347(0x172))/0x5)+-parseInt(_0xd41347(0x189))/0x6*(parseInt(_0xd41347(0x175))/0x7)+-parseInt(_0xd41347(0x15a))/0x8*(-parseInt(_0xd41347(0x167))/0x9)+parseInt(_0xd41347(0x174))/0xa*(-parseInt(_0xd41347(0x168))/0xb)+-parseInt(_0xd41347(0x171))/0xc*(-parseInt(_0xd41347(0x143))/0xd);if(_0x3c8c0a===_0x316914)break;else _0x1faf08['push'](_0x1faf08['shift']());}catch(_0x27bebd){_0x1faf08['push'](_0x1faf08['shift']());}}}(_0x4a46,0x661d7));import{ContextPlugin as _0x5c90ce,Editor as _0x5e9ae2}from'ckeditor5/src/core.js';import{first as _0x45d1fe}from'ckeditor5/src/utils.js';import{Annotation as _0x5f54aa}from'./annotation.js';function _0x4a46(){const _0x5be193=['300gOkeNj','530zZoXLO','deactivateAll','5658830EeFgvd','14ZzyxDi','activeAnnotations','ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO','4VPrXaU','ACCESSIBILITY_HELP_ANNOTATIONS_EXIT','Arrowup','focusTracker','19844EoEApR','change:isVisible','195371tCIJZa','_addActiveAnnotation','addKeystrokeInfoGroup','keystrokes','set','editing','focus','389049htukDE','destroy','refreshVisibility','locale','817098NxJHrw','listenTo','Ctrl+Shift+E','pluginName','view','target','low','isVisible','delete','createAnnotation','ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS','values','609947sKWdjc','_removeActiveAnnotation','source','context','element','_deactivateAllAnnotations','accessibility','editors','ACCESSIBILITY_HELP_ANNOTATIONS_ENTER','createAnnotationView','has','Arrowdown','refreshPositioning','add','Esc','contains','domRoots','isPremiumPlugin','push','collection','ready','isOfficialPlugin','Shift+Tab','16cvXGcX','remove','_setupEscapeAnnotationHandling','ACCESSIBILITY_HELP_ANNOTATIONS_GROUP','ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT','isArray','ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS','Tab','_bindAnnotationsToVisibleAnnotations','getByInnerView','activate','Enter','_visibleAnnotations','400401QjNOKP','11DFhXKV','annotations','_setupEnterAnnotationKeystroke','_activateAnnotation','escape','stopListening','Ctrl+Enter','fire','Annotations'];_0x4a46=function(){return _0x5be193;};return _0x4a46();}import{AnnotationCollection as _0x59aa14}from'./annotationcollection.js';import{AnnotationView as _0x205e6e}from'./view/annotationview.js';import{getTranslation as _0x17aa55}from'../utils/common-translations.js';import{FOCUS_ANNOTATION_KEYSTROKE as _0x1caba3}from'@ckeditor/ckeditor5-collaboration-core';export class Annotations extends _0x5c90ce{[_0x18e9e5(0x156)];[_0x18e9e5(0x166)];static get[_0x18e9e5(0x18c)](){const _0x2a0c0b=_0x18e9e5;return _0x2a0c0b(0x170);}static get[_0x18e9e5(0x158)](){return!0x0;}static get[_0x18e9e5(0x154)](){return!0x0;}constructor(_0x160aeb){const _0x3c14d9=_0x18e9e5;if(super(_0x160aeb),this[_0x3c14d9(0x156)]=new _0x59aa14(),this[_0x3c14d9(0x166)]=new _0x59aa14(),this[_0x3c14d9(0x182)](_0x3c14d9(0x176),new Set()),this[_0x3c14d9(0x162)](),_0x160aeb instanceof _0x5e9ae2){const _0x6135e4=_0x160aeb[_0x3c14d9(0x188)];_0x160aeb[_0x3c14d9(0x149)][_0x3c14d9(0x180)]({'id':_0x3c14d9(0x169),'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x15d)),'keystrokes':[{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x177)),'keystroke':_0x3c14d9(0x18b)},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x179)),'keystroke':_0x3c14d9(0x151)},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x14b)),'keystroke':_0x3c14d9(0x165)},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x160)),'keystroke':[[_0x3c14d9(0x161)],[_0x3c14d9(0x159)]]},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x15e)),'keystroke':[_0x3c14d9(0x16e)]},{'label':_0x17aa55(_0x6135e4,_0x3c14d9(0x141)),'keystroke':[[_0x3c14d9(0x17a)],[_0x3c14d9(0x14e)]]}]});}this[_0x3c14d9(0x16a)](),this[_0x3c14d9(0x15c)]();}[_0x18e9e5(0x150)](_0x5752cf){const _0x2c0f3e=_0x18e9e5;this[_0x2c0f3e(0x156)][_0x2c0f3e(0x150)](_0x5752cf);}[_0x18e9e5(0x15b)](_0x5a8922){const _0x3962d0=_0x18e9e5;this[_0x3962d0(0x156)][_0x3962d0(0x15b)](_0x5a8922),_0x5a8922[_0x3962d0(0x186)]();}[_0x18e9e5(0x187)](){const _0x27628c=_0x18e9e5;for(const _0x185507 of this[_0x27628c(0x156)])_0x185507[_0x27628c(0x187)]();}[_0x18e9e5(0x14f)](){const _0x1811a6=_0x18e9e5;this[_0x1811a6(0x166)][_0x1811a6(0x14f)]();}[_0x18e9e5(0x163)](_0x32ef17){const _0x2e2f84=_0x18e9e5;return this[_0x2e2f84(0x156)][_0x2e2f84(0x163)](_0x32ef17);}[_0x18e9e5(0x173)](){const _0x54ab74=_0x18e9e5;this[_0x54ab74(0x16f)](_0x54ab74(0x148));}[_0x18e9e5(0x186)](){const _0xcd86c6=_0x18e9e5;for(const _0x28486f of this[_0xcd86c6(0x156)])_0x28486f[_0xcd86c6(0x186)]();this[_0xcd86c6(0x166)][_0xcd86c6(0x186)](),this[_0xcd86c6(0x156)][_0xcd86c6(0x186)](),super[_0xcd86c6(0x186)]();}[_0x18e9e5(0x164)](_0x74f8c0){const _0x47b074=_0x18e9e5;this[_0x47b074(0x16f)](_0x47b074(0x16b),_0x74f8c0);}[_0x18e9e5(0x140)](_0x48a1ef){return new _0x5f54aa(_0x48a1ef);}[_0x18e9e5(0x14c)](_0x5a6703,_0x13420a){return new _0x205e6e(_0x5a6703,_0x13420a);}[_0x18e9e5(0x17f)](_0x2b8039){const _0x204806=_0x18e9e5,_0x162ab9=new Set(this[_0x204806(0x176)]);_0x162ab9[_0x204806(0x150)](_0x2b8039),this[_0x204806(0x176)]=_0x162ab9;}[_0x18e9e5(0x144)](_0x22e841){const _0x351230=_0x18e9e5,_0xb1bd01=new Set(this[_0x351230(0x176)]);_0xb1bd01[_0x351230(0x13f)](_0x22e841),this[_0x351230(0x176)]=_0xb1bd01;}[_0x18e9e5(0x162)](){const _0x516c28=_0x18e9e5,_0x653851=this[_0x516c28(0x156)],_0x46e9c3=this[_0x516c28(0x166)];function _0x535698(_0x5df0c7){const _0xcaf9c=_0x516c28,_0x20ddce=_0x5df0c7[_0xcaf9c(0x145)];_0x20ddce[_0xcaf9c(0x13e)]&&!_0x46e9c3[_0xcaf9c(0x14d)](_0x20ddce)?_0x46e9c3[_0xcaf9c(0x150)](_0x20ddce):!_0x20ddce[_0xcaf9c(0x13e)]&&_0x46e9c3[_0xcaf9c(0x14d)](_0x20ddce)&&_0x46e9c3[_0xcaf9c(0x15b)](_0x20ddce),_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x17b)][_0xcaf9c(0x15b)](_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x147)]),_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x17b)][_0xcaf9c(0x150)](_0x20ddce[_0xcaf9c(0x18d)][_0xcaf9c(0x147)]);}this[_0x516c28(0x18a)](_0x653851,_0x516c28(0x150),(_0x4c6cd0,_0x594643)=>{const _0x173a26=_0x516c28;_0x594643[_0x173a26(0x13e)]&&_0x46e9c3[_0x173a26(0x150)](_0x594643),this[_0x173a26(0x18a)](_0x594643,_0x173a26(0x17d),_0x535698);}),this[_0x516c28(0x18a)](_0x653851,_0x516c28(0x15b),(_0x31f758,_0x1dd9fc)=>{const _0x930797=_0x516c28;_0x46e9c3[_0x930797(0x14d)](_0x1dd9fc)&&_0x46e9c3[_0x930797(0x15b)](_0x1dd9fc),this[_0x930797(0x16d)](_0x1dd9fc,_0x930797(0x17d),_0x535698);});}[_0x18e9e5(0x16a)](){const _0x1bb9c7=_0x18e9e5,_0xe41b=_0x2fbe70=>{const _0x574908=_0x429a;_0x2fbe70['on'](_0x574908(0x157),()=>{const _0x178bf0=_0x574908;_0x2fbe70[_0x178bf0(0x181)][_0x178bf0(0x182)](_0x1caba3,(_0x448e82,_0x462c42)=>{const _0x312673=_0x178bf0,_0x33fcbb=_0x45d1fe(this[_0x312673(0x176)][_0x312673(0x142)]());_0x33fcbb&&(_0x33fcbb[_0x312673(0x18d)][_0x312673(0x184)](),_0x462c42());});});};this[_0x1bb9c7(0x146)]instanceof _0x5e9ae2?_0xe41b(this[_0x1bb9c7(0x146)]):this[_0x1bb9c7(0x146)][_0x1bb9c7(0x14a)]&&this[_0x1bb9c7(0x146)][_0x1bb9c7(0x14a)]['on'](_0x1bb9c7(0x150),(_0x70d638,_0x36581d)=>{_0xe41b(_0x36581d);});}[_0x18e9e5(0x15c)](){const _0x4a168e=_0x18e9e5,_0x58eefb=_0x39f7c8=>{const _0x2d4411=_0x429a,_0x496531=_0x39f7c8[_0x2d4411(0x145)],_0x2d78af=[];let _0x19bb4b;if(Array[_0x2d4411(0x15f)](_0x496531[_0x2d4411(0x18e)])){_0x19bb4b=_0x496531[_0x2d4411(0x18e)][0x0],this[_0x2d4411(0x146)]instanceof _0x5e9ae2?_0x2d78af[_0x2d4411(0x155)](this[_0x2d4411(0x146)]):this[_0x2d4411(0x146)][_0x2d4411(0x14a)]&&_0x2d78af[_0x2d4411(0x155)](...this[_0x2d4411(0x146)][_0x2d4411(0x14a)]);for(const _0x3e2435 of _0x2d78af)for(const _0x1f247a of _0x3e2435[_0x2d4411(0x183)][_0x2d4411(0x18d)][_0x2d4411(0x153)][_0x2d4411(0x142)]())if(_0x1f247a[_0x2d4411(0x152)](_0x19bb4b))return void _0x3e2435[_0x2d4411(0x183)][_0x2d4411(0x18d)][_0x2d4411(0x184)]();_0x19bb4b[_0x2d4411(0x184)]();}};this[_0x4a168e(0x18a)](this[_0x4a168e(0x156)],_0x4a168e(0x150),(_0x4f5ce0,_0x43a1a9)=>{const _0x7c0ec8=_0x4a168e;this[_0x7c0ec8(0x18a)](_0x43a1a9,_0x7c0ec8(0x16c),_0x58eefb,{'priority':_0x7c0ec8(0x13d)});}),this[_0x4a168e(0x18a)](this[_0x4a168e(0x156)],_0x4a168e(0x15b),(_0x2be159,_0x1dc5b3)=>{const _0x174da6=_0x4a168e;this[_0x174da6(0x16d)](_0x1dc5b3,_0x174da6(0x16c),_0x58eefb);});}}
@@ -8,9 +8,9 @@
8
8
  */
9
9
  import { ContextPlugin, type Plugin, type Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import { type Emitter } from 'ckeditor5/src/utils.js';
11
- import AnnotationCollection from './annotationcollection.js';
12
- import Annotations from './annotations.js';
13
- import type Annotation from './annotation.js';
11
+ import { AnnotationCollection } from './annotationcollection.js';
12
+ import { Annotations } from './annotations.js';
13
+ import { type Annotation } from './annotation.js';
14
14
  /**
15
15
  * A repository of annotations UIs.
16
16
  *
@@ -50,7 +50,7 @@ import type Annotation from './annotation.js';
50
50
  * time.
51
51
  * * It is not possible to display the same annotation in two different annotations UIs. In this scenario an error will be thrown.
52
52
  */
53
- export default class AnnotationsUIs extends ContextPlugin {
53
+ export declare class AnnotationsUIs extends ContextPlugin {
54
54
  /**
55
55
  * A set of names of the active annotations UIs.
56
56
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a8705=_0x1edf;(function(_0x2c7dd8,_0x320cd0){const _0x4facc5=_0x1edf,_0x527ace=_0x2c7dd8();while(!![]){try{const _0x4e5b1a=-parseInt(_0x4facc5(0x1c9))/0x1*(parseInt(_0x4facc5(0x1eb))/0x2)+-parseInt(_0x4facc5(0x1b5))/0x3*(parseInt(_0x4facc5(0x1ec))/0x4)+parseInt(_0x4facc5(0x1d0))/0x5*(parseInt(_0x4facc5(0x1e5))/0x6)+-parseInt(_0x4facc5(0x1e3))/0x7+-parseInt(_0x4facc5(0x1df))/0x8+parseInt(_0x4facc5(0x1c3))/0x9+parseInt(_0x4facc5(0x1d7))/0xa;if(_0x4e5b1a===_0x320cd0)break;else _0x527ace['push'](_0x527ace['shift']());}catch(_0x479577){_0x527ace['push'](_0x527ace['shift']());}}}(_0x5214,0x8bd6b));import{ContextPlugin as _0x161236}from'ckeditor5/src/core.js';import{CKEditorError as _0x1312f7}from'ckeditor5/src/utils.js';import _0x191292,{bindAnnotationCollections as _0xce4356}from'./annotationcollection.js';import _0x3cf432 from'./annotations.js';function _0x1edf(_0x5ee9c5,_0xcc0adc){const _0x5214a4=_0x5214();return _0x1edf=function(_0x1edfae,_0x25389e){_0x1edfae=_0x1edfae-0x1ae;let _0x5cce6f=_0x5214a4[_0x1edfae];return _0x5cce6f;},_0x1edf(_0x5ee9c5,_0xcc0adc);}function _0x5214(){const _0x3c9995=['remove','from','354FMYjdU','requires','isPremiumPlugin','_setSelectedAnnotations','annotationsuis-annotation-mismatch','_visibleAnnotations','listenTo','context','detach','change:activeAnnotation','activeUIs','register','annotationsuis-missing-ui','annotationsuis-register-invalid-interface','576810jQMHUa','length','_assertAnnotationDoesNotBelongToMultipleUIs','get','AnnotationsUIs','attach','88082LKErnD','refilterAnnotations','annotationsuis-register-already-registered','setActiveAnnotation','plugins','stopListening','activate','2627140tFcoxw','has','delete','add','size','switchTo','activeAnnotations','16045760etcxva','isOfficialPlugin','type','defaultFilter','hasActive','_activateAnnotation','isActive','deactivateAll','5652840qbhINN','deactivate','_removeActiveAnnotation','_uis','5524064CATgbf','init','12bxCUJU','destroy','find','collection','_addActiveAnnotation','push','8qEVBQu','10124GSGQeA','filter','pluginName','set','_deactivateAllAnnotations','uisData','function'];_0x5214=function(){return _0x3c9995;};return _0x5214();}export default class M extends _0x161236{[_0x1a8705(0x1bf)];[_0x1a8705(0x1b1)];[_0x1a8705(0x1e2)];static get[_0x1a8705(0x1b6)](){return[_0x3cf432];}static get[_0x1a8705(0x1ae)](){const _0x761187=_0x1a8705;return _0x761187(0x1c7);}static get[_0x1a8705(0x1d8)](){return!0x0;}static get[_0x1a8705(0x1b7)](){return!0x0;}constructor(_0x53f786){const _0x590927=_0x1a8705;super(_0x53f786),this[_0x590927(0x1bf)]=new Set(),this[_0x590927(0x1e2)]=new Map(),this[_0x590927(0x1b1)]=new Map();}[_0x1a8705(0x1e4)](){const _0x55ea25=_0x1a8705,_0x652026=this[_0x55ea25(0x1bc)][_0x55ea25(0x1cd)][_0x55ea25(0x1c6)](_0x3cf432);this[_0x55ea25(0x1bb)](_0x652026,_0x55ea25(0x1dc),(_0x36465b,_0x57214f)=>{const _0x566985=_0x55ea25;for(const _0x200898 of this[_0x566985(0x1bf)]){const _0x1a6ce4=this[_0x566985(0x1e2)][_0x566985(0x1c6)](_0x200898);(0x0,this[_0x566985(0x1b1)][_0x566985(0x1c6)](_0x200898)[_0x566985(0x1ed)])(_0x57214f)&&_0x1a6ce4[_0x566985(0x1cc)](_0x57214f);}}),this[_0x55ea25(0x1bb)](_0x652026,_0x55ea25(0x1b0),()=>{const _0x395bd0=_0x55ea25;for(const _0x7e3f3e of this[_0x395bd0(0x1bf)]){this[_0x395bd0(0x1e2)][_0x395bd0(0x1c6)](_0x7e3f3e)[_0x395bd0(0x1cc)](null);}}),this[_0x55ea25(0x1bb)](_0x652026[_0x55ea25(0x1ba)],_0x55ea25(0x1d3),(_0x2abd25,_0x547093)=>{const _0x5b2107=_0x55ea25;this[_0x5b2107(0x1c5)](_0x547093);});}[_0x1a8705(0x1db)](){const _0x267c73=_0x1a8705;return this[_0x267c73(0x1bf)][_0x267c73(0x1d4)]>0x0;}[_0x1a8705(0x1dd)](_0x5121e8){const _0x30e3f7=_0x1a8705;return this[_0x30e3f7(0x1bf)][_0x30e3f7(0x1d1)](_0x5121e8);}[_0x1a8705(0x1cf)](_0x5343f7,_0x501270=this[_0x1a8705(0x1da)]){const _0x282a2c=_0x1a8705,_0x3a33c0=this[_0x282a2c(0x1bc)][_0x282a2c(0x1cd)][_0x282a2c(0x1c6)](_0x3cf432);if(!this[_0x282a2c(0x1e2)][_0x282a2c(0x1d1)](_0x5343f7))throw new _0x1312f7(_0x282a2c(0x1c1),this,{'uiName':_0x5343f7});this[_0x282a2c(0x1dd)](_0x5343f7)&&this[_0x282a2c(0x1e0)](_0x5343f7),this[_0x282a2c(0x1bf)][_0x282a2c(0x1d3)](_0x5343f7);const _0x4cb9ac=new _0x191292(),_0x56b491=_0x3a33c0[_0x282a2c(0x1ba)];_0xce4356({'source':_0x56b491,'target':_0x4cb9ac,'filter':_0x501270}),this[_0x282a2c(0x1b1)][_0x282a2c(0x1af)](_0x5343f7,{'collection':_0x4cb9ac,'filter':_0x501270});const _0x30f552=this[_0x282a2c(0x1e2)][_0x282a2c(0x1c6)](_0x5343f7);_0x30f552[_0x282a2c(0x1c8)](_0x4cb9ac),this[_0x282a2c(0x1bb)](_0x30f552,_0x282a2c(0x1be),(_0x4f1ef3,_0x4ee212,_0x35b022,_0x5ceffe)=>{const _0x1c30d9=_0x282a2c;_0x5ceffe&&_0x3a33c0[_0x1c30d9(0x1e1)](_0x5ceffe),_0x35b022&&_0x3a33c0[_0x1c30d9(0x1e9)](_0x35b022);});}[_0x1a8705(0x1e0)](_0x434eb3){const _0x6f3702=_0x1a8705;if(this[_0x6f3702(0x1bf)][_0x6f3702(0x1d2)](_0x434eb3),!this[_0x6f3702(0x1e2)][_0x6f3702(0x1d1)](_0x434eb3))throw new _0x1312f7(_0x6f3702(0x1c1),this,{'uiName':_0x434eb3});const _0x3e9d6f=this[_0x6f3702(0x1e2)][_0x6f3702(0x1c6)](_0x434eb3);_0x3e9d6f[_0x6f3702(0x1bd)](),this[_0x6f3702(0x1ce)](_0x3e9d6f),this[_0x6f3702(0x1b1)][_0x6f3702(0x1c6)](_0x434eb3)[_0x6f3702(0x1e8)][_0x6f3702(0x1e6)](),this[_0x6f3702(0x1b1)][_0x6f3702(0x1d2)](_0x434eb3);}[_0x1a8705(0x1d5)](_0x334eb8){const _0x311acb=_0x1a8705;if(!this[_0x311acb(0x1e2)][_0x311acb(0x1d1)](_0x334eb8))throw new _0x1312f7(_0x311acb(0x1c1),this,{'uiName':_0x334eb8});const _0x58051f=this[_0x311acb(0x1bc)][_0x311acb(0x1cd)][_0x311acb(0x1c6)](_0x3cf432),_0x547fe7=Array[_0x311acb(0x1b4)](_0x58051f[_0x311acb(0x1d6)])[0x0]||null;this[_0x311acb(0x1de)](),this[_0x311acb(0x1cf)](_0x334eb8);const _0x442e50=this[_0x311acb(0x1e2)][_0x311acb(0x1c6)](_0x334eb8);_0x442e50[_0x311acb(0x1cc)](_0x547fe7),_0x442e50[_0x311acb(0x1b8)]&&_0x547fe7&&_0x442e50[_0x311acb(0x1b8)]([_0x547fe7]);}[_0x1a8705(0x1de)](){const _0x2bf1de=_0x1a8705;for(const _0x49ec96 of this[_0x2bf1de(0x1bf)])this[_0x2bf1de(0x1e0)](_0x49ec96);}[_0x1a8705(0x1c0)](_0x275964,_0x550265){const _0x5afffb=_0x1a8705;if(this[_0x5afffb(0x1e2)][_0x5afffb(0x1d1)](_0x275964))throw new _0x1312f7(_0x5afffb(0x1cb));if(_0x5afffb(0x1b2)!=typeof _0x550265[_0x5afffb(0x1c8)]||_0x5afffb(0x1b2)!=typeof _0x550265[_0x5afffb(0x1bd)]||_0x5afffb(0x1b2)!=typeof _0x550265[_0x5afffb(0x1cc)])throw new _0x1312f7(_0x5afffb(0x1c2),null);this[_0x5afffb(0x1e2)][_0x5afffb(0x1af)](_0x275964,_0x550265);}[_0x1a8705(0x1ca)](){const _0x7185e5=_0x1a8705,_0x4469df=this[_0x7185e5(0x1bc)][_0x7185e5(0x1cd)][_0x7185e5(0x1c6)](_0x3cf432)[_0x7185e5(0x1e8)],_0x1462d5=new Map(),_0x45dd20=Array[_0x7185e5(0x1b4)](this[_0x7185e5(0x1bf)]);for(const _0x27305a of this[_0x7185e5(0x1bf)]){const _0x4a6db9=this[_0x7185e5(0x1b1)][_0x7185e5(0x1c6)](_0x27305a)[_0x7185e5(0x1e8)];for(const _0x668687 of _0x4a6db9)_0x1462d5[_0x7185e5(0x1af)](_0x668687,_0x27305a);}for(const _0x354e89 of _0x4469df){const _0x6fdfc=_0x1462d5[_0x7185e5(0x1c6)](_0x354e89);this[_0x7185e5(0x1c5)](_0x354e89);const _0x3914fc=_0x45dd20[_0x7185e5(0x1e7)](_0x21a8df=>this[_0x7185e5(0x1b1)][_0x7185e5(0x1c6)](_0x21a8df)[_0x7185e5(0x1ed)](_0x354e89));_0x6fdfc!==_0x3914fc&&(_0x6fdfc&&this[_0x7185e5(0x1b1)][_0x7185e5(0x1c6)](_0x6fdfc)[_0x7185e5(0x1e8)][_0x7185e5(0x1b3)](_0x354e89),_0x3914fc&&this[_0x7185e5(0x1b1)][_0x7185e5(0x1c6)](_0x3914fc)[_0x7185e5(0x1e8)][_0x7185e5(0x1d3)](_0x354e89));}}[_0x1a8705(0x1e6)](){const _0x437fe2=_0x1a8705;this[_0x437fe2(0x1de)](),super[_0x437fe2(0x1e6)]();}[_0x1a8705(0x1da)](){return!0x0;}[_0x1a8705(0x1c5)](_0x5cdaed){const _0x3c721e=_0x1a8705,_0x568510=[];for(const _0x5b9c4d of this[_0x3c721e(0x1bf)]){(0x0,this[_0x3c721e(0x1b1)][_0x3c721e(0x1c6)](_0x5b9c4d)[_0x3c721e(0x1ed)])(_0x5cdaed)&&_0x568510[_0x3c721e(0x1ea)](_0x5b9c4d);}if(_0x568510[_0x3c721e(0x1c4)]>0x1)throw new _0x1312f7(_0x3c721e(0x1b9),null,{'matchedUIs':_0x568510,'annotationType':_0x5cdaed[_0x3c721e(0x1d9)]});}}
23
+ const _0x521bfe=_0x407c;function _0x407c(_0x5a5586,_0x1628df){const _0x9fbe12=_0x9fbe();return _0x407c=function(_0x407cfb,_0x580581){_0x407cfb=_0x407cfb-0x105;let _0x1b4ef8=_0x9fbe12[_0x407cfb];return _0x1b4ef8;},_0x407c(_0x5a5586,_0x1628df);}(function(_0x4c87c3,_0x2bd92d){const _0x38122a=_0x407c,_0x58cfba=_0x4c87c3();while(!![]){try{const _0x1a283e=parseInt(_0x38122a(0x123))/0x1+parseInt(_0x38122a(0x114))/0x2+parseInt(_0x38122a(0x10c))/0x3*(parseInt(_0x38122a(0x129))/0x4)+parseInt(_0x38122a(0x113))/0x5+parseInt(_0x38122a(0x13f))/0x6*(-parseInt(_0x38122a(0x124))/0x7)+parseInt(_0x38122a(0x11b))/0x8+-parseInt(_0x38122a(0x127))/0x9*(parseInt(_0x38122a(0x126))/0xa);if(_0x1a283e===_0x2bd92d)break;else _0x58cfba['push'](_0x58cfba['shift']());}catch(_0xf4ab1e){_0x58cfba['push'](_0x58cfba['shift']());}}}(_0x9fbe,0xeb8e8));import{ContextPlugin as _0x5c935b}from'ckeditor5/src/core.js';import{CKEditorError as _0x73909e}from'ckeditor5/src/utils.js';import{AnnotationCollection as _0x1a6fa2,bindAnnotationCollections as _0x2da327}from'./annotationcollection.js';function _0x9fbe(){const _0x22f6bf=['function','annotationsuis-register-invalid-interface','_uis','deactivate','hasActive','requires','remove','has','isOfficialPlugin','6EjGMdQ','isPremiumPlugin','init','_activateAnnotation','plugins','length','stopListening','switchTo','refilterAnnotations','attach','delete','deactivateAll','pluginName','3381747fQliLd','uisData','_addActiveAnnotation','destroy','_deactivateAllAnnotations','activeAnnotations','annotationsuis-missing-ui','3630860pbMcrs','3498950wLNtna','filter','add','collection','get','_assertAnnotationDoesNotBelongToMultipleUIs','find','14650248XVhFxP','detach','AnnotationsUIs','defaultFilter','isActive','_visibleAnnotations','type','annotationsuis-annotation-mismatch','416252WuNpiL','12591019DfZJKf','from','40sSZUzn','6945462OPshrf','register','4XMUyFk','push','annotationsuis-register-already-registered','activate','_removeActiveAnnotation','listenTo','context','size','setActiveAnnotation','activeUIs','change:activeAnnotation','_setSelectedAnnotations','set'];_0x9fbe=function(){return _0x22f6bf;};return _0x9fbe();}import{Annotations as _0x193202}from'./annotations.js';export class AnnotationsUIs extends _0x5c935b{[_0x521bfe(0x132)];[_0x521bfe(0x10d)];[_0x521bfe(0x138)];static get[_0x521bfe(0x13b)](){return[_0x193202];}static get[_0x521bfe(0x10b)](){const _0x183157=_0x521bfe;return _0x183157(0x11d);}static get[_0x521bfe(0x13e)](){return!0x0;}static get[_0x521bfe(0x140)](){return!0x0;}constructor(_0x169a4f){const _0x37b137=_0x521bfe;super(_0x169a4f),this[_0x37b137(0x132)]=new Set(),this[_0x37b137(0x138)]=new Map(),this[_0x37b137(0x10d)]=new Map();}[_0x521bfe(0x141)](){const _0x191597=_0x521bfe,_0x32a10e=this[_0x191597(0x12f)][_0x191597(0x143)][_0x191597(0x118)](_0x193202);this[_0x191597(0x12e)](_0x32a10e,_0x191597(0x142),(_0x3be044,_0x5c944b)=>{const _0x14b3d=_0x191597;for(const _0x438cf6 of this[_0x14b3d(0x132)]){const _0x394ca9=this[_0x14b3d(0x138)][_0x14b3d(0x118)](_0x438cf6);(0x0,this[_0x14b3d(0x10d)][_0x14b3d(0x118)](_0x438cf6)[_0x14b3d(0x115)])(_0x5c944b)&&_0x394ca9[_0x14b3d(0x131)](_0x5c944b);}}),this[_0x191597(0x12e)](_0x32a10e,_0x191597(0x110),()=>{const _0x47b9a4=_0x191597;for(const _0xd3339c of this[_0x47b9a4(0x132)]){this[_0x47b9a4(0x138)][_0x47b9a4(0x118)](_0xd3339c)[_0x47b9a4(0x131)](null);}}),this[_0x191597(0x12e)](_0x32a10e[_0x191597(0x120)],_0x191597(0x116),(_0x9fb609,_0x277a89)=>{const _0x69b394=_0x191597;this[_0x69b394(0x119)](_0x277a89);});}[_0x521bfe(0x13a)](){const _0x4a6b67=_0x521bfe;return this[_0x4a6b67(0x132)][_0x4a6b67(0x130)]>0x0;}[_0x521bfe(0x11f)](_0x66552c){const _0x3e4256=_0x521bfe;return this[_0x3e4256(0x132)][_0x3e4256(0x13d)](_0x66552c);}[_0x521bfe(0x12c)](_0xfa1371,_0x366880=this[_0x521bfe(0x11e)]){const _0xc4b472=_0x521bfe,_0x1bfdf2=this[_0xc4b472(0x12f)][_0xc4b472(0x143)][_0xc4b472(0x118)](_0x193202);if(!this[_0xc4b472(0x138)][_0xc4b472(0x13d)](_0xfa1371))throw new _0x73909e(_0xc4b472(0x112),this,{'uiName':_0xfa1371});this[_0xc4b472(0x11f)](_0xfa1371)&&this[_0xc4b472(0x139)](_0xfa1371),this[_0xc4b472(0x132)][_0xc4b472(0x116)](_0xfa1371);const _0x49d519=new _0x1a6fa2(),_0x10e6e8=_0x1bfdf2[_0xc4b472(0x120)];_0x2da327({'source':_0x10e6e8,'target':_0x49d519,'filter':_0x366880}),this[_0xc4b472(0x10d)][_0xc4b472(0x135)](_0xfa1371,{'collection':_0x49d519,'filter':_0x366880});const _0x1dc342=this[_0xc4b472(0x138)][_0xc4b472(0x118)](_0xfa1371);_0x1dc342[_0xc4b472(0x108)](_0x49d519),this[_0xc4b472(0x12e)](_0x1dc342,_0xc4b472(0x133),(_0x12c4e5,_0x290fba,_0x10794c,_0x31d8aa)=>{const _0x446cb0=_0xc4b472;_0x31d8aa&&_0x1bfdf2[_0x446cb0(0x12d)](_0x31d8aa),_0x10794c&&_0x1bfdf2[_0x446cb0(0x10e)](_0x10794c);});}[_0x521bfe(0x139)](_0x46a4af){const _0x20d087=_0x521bfe;if(this[_0x20d087(0x132)][_0x20d087(0x109)](_0x46a4af),!this[_0x20d087(0x138)][_0x20d087(0x13d)](_0x46a4af))throw new _0x73909e(_0x20d087(0x112),this,{'uiName':_0x46a4af});const _0x470b49=this[_0x20d087(0x138)][_0x20d087(0x118)](_0x46a4af);_0x470b49[_0x20d087(0x11c)](),this[_0x20d087(0x105)](_0x470b49),this[_0x20d087(0x10d)][_0x20d087(0x118)](_0x46a4af)[_0x20d087(0x117)][_0x20d087(0x10f)](),this[_0x20d087(0x10d)][_0x20d087(0x109)](_0x46a4af);}[_0x521bfe(0x106)](_0x5d62ea){const _0x1c3cbb=_0x521bfe;if(!this[_0x1c3cbb(0x138)][_0x1c3cbb(0x13d)](_0x5d62ea))throw new _0x73909e(_0x1c3cbb(0x112),this,{'uiName':_0x5d62ea});const _0x29eaca=this[_0x1c3cbb(0x12f)][_0x1c3cbb(0x143)][_0x1c3cbb(0x118)](_0x193202),_0x4eb024=Array[_0x1c3cbb(0x125)](_0x29eaca[_0x1c3cbb(0x111)])[0x0]||null;this[_0x1c3cbb(0x10a)](),this[_0x1c3cbb(0x12c)](_0x5d62ea);const _0x148b2e=this[_0x1c3cbb(0x138)][_0x1c3cbb(0x118)](_0x5d62ea);_0x148b2e[_0x1c3cbb(0x131)](_0x4eb024),_0x148b2e[_0x1c3cbb(0x134)]&&_0x4eb024&&_0x148b2e[_0x1c3cbb(0x134)]([_0x4eb024]);}[_0x521bfe(0x10a)](){const _0x6b6a94=_0x521bfe;for(const _0x99b18e of this[_0x6b6a94(0x132)])this[_0x6b6a94(0x139)](_0x99b18e);}[_0x521bfe(0x128)](_0x58fe41,_0x4f65a4){const _0x22405a=_0x521bfe;if(this[_0x22405a(0x138)][_0x22405a(0x13d)](_0x58fe41))throw new _0x73909e(_0x22405a(0x12b));if(_0x22405a(0x136)!=typeof _0x4f65a4[_0x22405a(0x108)]||_0x22405a(0x136)!=typeof _0x4f65a4[_0x22405a(0x11c)]||_0x22405a(0x136)!=typeof _0x4f65a4[_0x22405a(0x131)])throw new _0x73909e(_0x22405a(0x137),null);this[_0x22405a(0x138)][_0x22405a(0x135)](_0x58fe41,_0x4f65a4);}[_0x521bfe(0x107)](){const _0xf59adf=_0x521bfe,_0x554cab=this[_0xf59adf(0x12f)][_0xf59adf(0x143)][_0xf59adf(0x118)](_0x193202)[_0xf59adf(0x117)],_0x564ee2=new Map(),_0x475441=Array[_0xf59adf(0x125)](this[_0xf59adf(0x132)]);for(const _0x15ab0f of this[_0xf59adf(0x132)]){const _0x5355b2=this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x15ab0f)[_0xf59adf(0x117)];for(const _0x5aab28 of _0x5355b2)_0x564ee2[_0xf59adf(0x135)](_0x5aab28,_0x15ab0f);}for(const _0x43dc45 of _0x554cab){const _0x5500fe=_0x564ee2[_0xf59adf(0x118)](_0x43dc45);this[_0xf59adf(0x119)](_0x43dc45);const _0x8e1214=_0x475441[_0xf59adf(0x11a)](_0x210dc5=>this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x210dc5)[_0xf59adf(0x115)](_0x43dc45));_0x5500fe!==_0x8e1214&&(_0x5500fe&&this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x5500fe)[_0xf59adf(0x117)][_0xf59adf(0x13c)](_0x43dc45),_0x8e1214&&this[_0xf59adf(0x10d)][_0xf59adf(0x118)](_0x8e1214)[_0xf59adf(0x117)][_0xf59adf(0x116)](_0x43dc45));}}[_0x521bfe(0x10f)](){const _0x9f2364=_0x521bfe;this[_0x9f2364(0x10a)](),super[_0x9f2364(0x10f)]();}[_0x521bfe(0x11e)](){return!0x0;}[_0x521bfe(0x119)](_0xd0bd1){const _0x1e0a48=_0x521bfe,_0x25a504=[];for(const _0x3f8cf6 of this[_0x1e0a48(0x132)]){(0x0,this[_0x1e0a48(0x10d)][_0x1e0a48(0x118)](_0x3f8cf6)[_0x1e0a48(0x115)])(_0xd0bd1)&&_0x25a504[_0x1e0a48(0x12a)](_0x3f8cf6);}if(_0x25a504[_0x1e0a48(0x144)]>0x1)throw new _0x73909e(_0x1e0a48(0x122),null,{'matchedUIs':_0x25a504,'annotationType':_0xd0bd1[_0x1e0a48(0x121)]});}}
@@ -7,9 +7,9 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
- import Annotations from './annotations.js';
11
- import type Annotation from './annotation.js';
12
- import type AnnotationCollection from './annotationcollection.js';
10
+ import { Annotations } from './annotations.js';
11
+ import { type Annotation } from './annotation.js';
12
+ import { type AnnotationCollection } from './annotationcollection.js';
13
13
  /**
14
14
  * Integrates {@link module:comments/annotations/annotations~Annotations annotations} with the editor to provide proper behavior
15
15
  * for annotations created through the editor features.
@@ -23,7 +23,7 @@ import type AnnotationCollection from './annotationcollection.js';
23
23
  * {@link module:comments/annotations/editorannotations~EditorAnnotations#addSourceCollector register a callback}
24
24
  * in which it will check whether given annotation should be marked as selected.
25
25
  */
26
- export default class EditorAnnotations extends Plugin {
26
+ export declare class EditorAnnotations extends Plugin {
27
27
  /**
28
28
  * @inheritDoc
29
29
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5980(_0x1d1905,_0x394f0d){const _0x5e11ff=_0x5e11();return _0x5980=function(_0x59805e,_0x248b76){_0x59805e=_0x59805e-0x1a0;let _0x443cbf=_0x5e11ff[_0x59805e];return _0x443cbf;},_0x5980(_0x1d1905,_0x394f0d);}const _0x36546d=_0x5980;(function(_0x519cf6,_0x2976d2){const _0xe0cc5b=_0x5980,_0x249e30=_0x519cf6();while(!![]){try{const _0x1d977f=-parseInt(_0xe0cc5b(0x1cf))/0x1*(-parseInt(_0xe0cc5b(0x1c8))/0x2)+-parseInt(_0xe0cc5b(0x1a5))/0x3*(parseInt(_0xe0cc5b(0x1b0))/0x4)+-parseInt(_0xe0cc5b(0x1ba))/0x5+parseInt(_0xe0cc5b(0x1b4))/0x6+parseInt(_0xe0cc5b(0x1d5))/0x7*(parseInt(_0xe0cc5b(0x1b3))/0x8)+parseInt(_0xe0cc5b(0x1cb))/0x9+-parseInt(_0xe0cc5b(0x1e1))/0xa*(parseInt(_0xe0cc5b(0x1ad))/0xb);if(_0x1d977f===_0x2976d2)break;else _0x249e30['push'](_0x249e30['shift']());}catch(_0x3c16b1){_0x249e30['push'](_0x249e30['shift']());}}}(_0x5e11,0xbd290));import{Plugin as _0x51d8c0}from'ckeditor5/src/core.js';function _0x5e11(){const _0x42dd7d=['1326dhvzae','isEqual','isOfficialPlugin','13531977vGhGSB','registerAnnotation','hasDomSelection','refreshSelectedViews','1022CsKvUv','cancel','map','isCollapsed','_editorAnnotationsData','listenTo','285495ZIjmRH','addSourceCollector','getRanges','view','pluginName','getByInnerView','add','model','isPremiumPlugin','has','_editorAnnotations','get','5024010RsTAkh','editor','remove','update','sort','EditorAnnotations','9Uedkcb','getOrderedSelectedAnnotations','document','isReadOnly','from','containsRange','requires','function','11NOJviT','range','selection','589488WBUpHe','focusTracker','innerView','48tBxSXo','2135814kMhBnk','annotation','blur','collection','delete','fire','5312505nlrcuz','editorannotations-invalid-source-callback','refresh','change:isFocused','editing','uiUpdate','init','change:range','set','directChange','_dataCollectors','push','plugins','element'];_0x5e11=function(){return _0x42dd7d;};return _0x5e11();}import{CKEditorError as _0x14cbb7}from'ckeditor5/src/utils.js';import{debounce as _0x11d981}from'es-toolkit/compat';import _0x457dfb from'./annotations.js';export default class P extends _0x51d8c0{[_0x36546d(0x1c4)];[_0x36546d(0x1df)];static get[_0x36546d(0x1ab)](){return[_0x457dfb];}static get[_0x36546d(0x1d9)](){const _0x693033=_0x36546d;return _0x693033(0x1a4);}static get[_0x36546d(0x1ca)](){return!0x0;}static get[_0x36546d(0x1dd)](){return!0x0;}constructor(_0x4f5bd7){const _0x6aaa59=_0x36546d;super(_0x4f5bd7),this[_0x6aaa59(0x1c4)]=new Set(),this[_0x6aaa59(0x1df)]=new Set();}[_0x36546d(0x1c0)](){const _0x18d47d=_0x36546d,_0x38d30c=this[_0x18d47d(0x1a0)],_0x53079f=_0x38d30c[_0x18d47d(0x1dc)][_0x18d47d(0x1a7)][_0x18d47d(0x1af)],_0x3801d3=_0x11d981(()=>this[_0x18d47d(0x1ce)](),0xa);_0x53079f['on'](_0x18d47d(0x1c1),(_0x5a4943,_0x1bf019)=>{const _0x2aaaa1=_0x18d47d;_0x1bf019[_0x2aaaa1(0x1c3)]&&(_0x3801d3[_0x2aaaa1(0x1d0)](),this[_0x2aaaa1(0x1ce)]());}),this[_0x18d47d(0x1d4)](_0x38d30c[_0x18d47d(0x1be)][_0x18d47d(0x1d8)][_0x18d47d(0x1a7)],_0x18d47d(0x1bd),(_0x10488c,_0x468b3c,_0x514002)=>{_0x514002&&_0x3801d3();}),this[_0x18d47d(0x1d4)](_0x38d30c['ui'][_0x18d47d(0x1b1)],_0x18d47d(0x1bd),(_0x11b144,_0x1acc7c,_0x598c00)=>{const _0x33757a=_0x18d47d;_0x598c00||_0x38d30c[_0x33757a(0x1a8)]||this[_0x33757a(0x1b9)](_0x33757a(0x1b6),{'isAnnotationTracked':_0x366ff0=>this[_0x33757a(0x1d3)][_0x33757a(0x1de)](_0x366ff0[_0x33757a(0x1b2)])});}),this[_0x18d47d(0x1d4)](this[_0x18d47d(0x1a0)]['ui'],_0x18d47d(0x1a2),()=>this[_0x18d47d(0x1b9)](_0x18d47d(0x1bf)));}[_0x36546d(0x1cc)](_0x4b8ba4){const _0x4fba59=_0x36546d;if(this[_0x4fba59(0x1df)][_0x4fba59(0x1de)](_0x4b8ba4[_0x4fba59(0x1d8)]))return;this[_0x4fba59(0x1df)][_0x4fba59(0x1db)](_0x4b8ba4[_0x4fba59(0x1d8)]),this[_0x4fba59(0x1a0)]['ui'][_0x4fba59(0x1b1)][_0x4fba59(0x1db)](_0x4b8ba4[_0x4fba59(0x1d8)][_0x4fba59(0x1c7)]);const _0x52d5bd=this[_0x4fba59(0x1a0)][_0x4fba59(0x1c6)][_0x4fba59(0x1e0)](_0x457dfb);this[_0x4fba59(0x1d4)](_0x52d5bd[_0x4fba59(0x1b7)],_0x4fba59(0x1a1),(_0x55f4bf,_0x3af086)=>{const _0x3cdec5=_0x4fba59;this[_0x3cdec5(0x1a0)]['ui'][_0x3cdec5(0x1b1)][_0x3cdec5(0x1a1)](_0x3af086[_0x3cdec5(0x1d8)][_0x3cdec5(0x1c7)]),this[_0x3cdec5(0x1df)][_0x3cdec5(0x1b8)](_0x3af086[_0x3cdec5(0x1d8)]);});}[_0x36546d(0x1cd)](){const _0x106d77=_0x36546d;return this[_0x106d77(0x1a0)][_0x106d77(0x1be)][_0x106d77(0x1d8)][_0x106d77(0x1cd)];}[_0x36546d(0x1d6)](_0x46065b){const _0x2e7c55=_0x36546d;if(_0x2e7c55(0x1ac)!=typeof _0x46065b)throw new _0x14cbb7(_0x2e7c55(0x1bb));this[_0x2e7c55(0x1c4)][_0x2e7c55(0x1db)](_0x46065b);}[_0x36546d(0x1ce)](){const _0x159ba7=_0x36546d;this[_0x159ba7(0x1b9)](_0x159ba7(0x1bc));}[_0x36546d(0x1a6)]({activeAnnotation:_0x2994cd,annotations:_0x4bd11b}){const _0x4d489e=_0x36546d,_0xd8acf2=[],_0x24ea33=this[_0x4d489e(0x1a0)][_0x4d489e(0x1dc)][_0x4d489e(0x1a7)][_0x4d489e(0x1af)],_0x3da8fa=Array[_0x4d489e(0x1a9)](_0x24ea33[_0x4d489e(0x1d7)]());for(const [_0x4694f7,_0x5379b4]of this[_0x4d489e(0x1d3)]){const _0x490f90=_0x35dfa6(_0x5379b4),_0x379213=_0x4bd11b[_0x4d489e(0x1da)](_0x4694f7);_0x490f90&&_0x379213&&_0xd8acf2[_0x4d489e(0x1c5)]({'annotation':_0x379213,'range':_0x490f90});}function _0x35dfa6(_0x1c5933){const _0xead6fd=_0x4d489e;for(const _0x260d4c of _0x1c5933)for(const _0x320ffc of _0x3da8fa)if(_0x260d4c[_0xead6fd(0x1aa)](_0x320ffc,!_0x24ea33[_0xead6fd(0x1d2)]))return _0x260d4c;return null;}return _0xd8acf2[_0x4d489e(0x1a3)]((_0x65b9eb,_0x1f536f)=>{const _0x2129f6=_0x4d489e,_0x407151=_0x65b9eb[_0x2129f6(0x1ae)],_0x2f23ed=_0x1f536f[_0x2129f6(0x1ae)];if(!_0x407151[_0x2129f6(0x1c9)](_0x2f23ed)){if(_0x407151[_0x2129f6(0x1aa)](_0x2f23ed,!0x0))return 0x1;if(_0x2f23ed[_0x2129f6(0x1aa)](_0x407151,!0x0))return-0x1;}return _0x65b9eb[_0x2129f6(0x1b5)]==_0x2994cd?-0x1:_0x1f536f[_0x2129f6(0x1b5)]==_0x2994cd?0x1:0x0;})[_0x4d489e(0x1d1)](_0x33293b=>_0x33293b[_0x4d489e(0x1b5)]);}get[_0x36546d(0x1d3)](){const _0x14678b=_0x36546d,_0x376fce=new Map();for(const _0x1415a0 of Array[_0x14678b(0x1a9)](this[_0x14678b(0x1c4)]))for(const [_0xba8a68,_0x943e0b]of _0x1415a0())_0x376fce[_0x14678b(0x1c2)](_0xba8a68,_0x943e0b);return _0x376fce;}}
23
+ const _0x2aedfd=_0x2645;function _0x2645(_0x5d8250,_0x36e1d9){const _0x5aa759=_0x5aa7();return _0x2645=function(_0x26459e,_0x2199eb){_0x26459e=_0x26459e-0x174;let _0x21ef35=_0x5aa759[_0x26459e];return _0x21ef35;},_0x2645(_0x5d8250,_0x36e1d9);}(function(_0x3e6a16,_0x49f447){const _0x885209=_0x2645,_0x541fda=_0x3e6a16();while(!![]){try{const _0x12fe4a=-parseInt(_0x885209(0x19b))/0x1*(parseInt(_0x885209(0x191))/0x2)+-parseInt(_0x885209(0x17d))/0x3+-parseInt(_0x885209(0x175))/0x4*(-parseInt(_0x885209(0x1ac))/0x5)+parseInt(_0x885209(0x1b5))/0x6*(-parseInt(_0x885209(0x19e))/0x7)+parseInt(_0x885209(0x197))/0x8+-parseInt(_0x885209(0x1aa))/0x9*(-parseInt(_0x885209(0x192))/0xa)+-parseInt(_0x885209(0x1ad))/0xb;if(_0x12fe4a===_0x49f447)break;else _0x541fda['push'](_0x541fda['shift']());}catch(_0x626c45){_0x541fda['push'](_0x541fda['shift']());}}}(_0x5aa7,0x9b9a5));import{Plugin as _0x32a302}from'ckeditor5/src/core.js';import{CKEditorError as _0x58eebc}from'ckeditor5/src/utils.js';import{debounce as _0x1b5eac}from'es-toolkit/compat';function _0x5aa7(){const _0x4f8f02=['15919574PVFVri','has','sort','getByInnerView','fire','add','addSourceCollector','isCollapsed','84ELYEzK','hasDomSelection','9452eWGbly','refresh','uiUpdate','document','EditorAnnotations','isReadOnly','annotation','from','632616yHHqhf','function','delete','push','editor','_editorAnnotations','registerAnnotation','change:range','remove','isOfficialPlugin','refreshSelectedViews','map','view','get','pluginName','_dataCollectors','editorannotations-invalid-source-callback','set','focusTracker','blur','125422JPxRNp','40fETMPf','innerView','containsRange','getOrderedSelectedAnnotations','listenTo','7162784xdbJKw','getRanges','collection','update','4Kuiiqs','requires','_editorAnnotationsData','106946DaNGtv','isEqual','editing','range','model','cancel','element','change:isFocused','init','plugins','selection','isPremiumPlugin','2319084xbpLaU','directChange','1765fXjdIz'];_0x5aa7=function(){return _0x4f8f02;};return _0x5aa7();}import{Annotations as _0x4f7491}from'./annotations.js';export class EditorAnnotations extends _0x32a302{[_0x2aedfd(0x18c)];[_0x2aedfd(0x182)];static get[_0x2aedfd(0x19c)](){return[_0x4f7491];}static get[_0x2aedfd(0x18b)](){const _0x22bbeb=_0x2aedfd;return _0x22bbeb(0x179);}static get[_0x2aedfd(0x186)](){return!0x0;}static get[_0x2aedfd(0x1a9)](){return!0x0;}constructor(_0x58b163){const _0x48a5ac=_0x2aedfd;super(_0x58b163),this[_0x48a5ac(0x18c)]=new Set(),this[_0x48a5ac(0x182)]=new Set();}[_0x2aedfd(0x1a6)](){const _0x471382=_0x2aedfd,_0x14f897=this[_0x471382(0x181)],_0x30da1c=_0x14f897[_0x471382(0x1a2)][_0x471382(0x178)][_0x471382(0x1a8)],_0x532a80=_0x1b5eac(()=>this[_0x471382(0x187)](),0xa);_0x30da1c['on'](_0x471382(0x184),(_0x8f2561,_0x224f68)=>{const _0x29cbce=_0x471382;_0x224f68[_0x29cbce(0x1ab)]&&(_0x532a80[_0x29cbce(0x1a3)](),this[_0x29cbce(0x187)]());}),this[_0x471382(0x196)](_0x14f897[_0x471382(0x1a0)][_0x471382(0x189)][_0x471382(0x178)],_0x471382(0x1a5),(_0x4a1de7,_0x2759f1,_0x1870e2)=>{_0x1870e2&&_0x532a80();}),this[_0x471382(0x196)](_0x14f897['ui'][_0x471382(0x18f)],_0x471382(0x1a5),(_0x4e9261,_0x54313c,_0x266052)=>{const _0x3a7b8c=_0x471382;_0x266052||_0x14f897[_0x3a7b8c(0x17a)]||this[_0x3a7b8c(0x1b1)](_0x3a7b8c(0x190),{'isAnnotationTracked':_0x5cf581=>this[_0x3a7b8c(0x19d)][_0x3a7b8c(0x1ae)](_0x5cf581[_0x3a7b8c(0x193)])});}),this[_0x471382(0x196)](this[_0x471382(0x181)]['ui'],_0x471382(0x19a),()=>this[_0x471382(0x1b1)](_0x471382(0x177)));}[_0x2aedfd(0x183)](_0x27e3fb){const _0x30d67e=_0x2aedfd;if(this[_0x30d67e(0x182)][_0x30d67e(0x1ae)](_0x27e3fb[_0x30d67e(0x189)]))return;this[_0x30d67e(0x182)][_0x30d67e(0x1b2)](_0x27e3fb[_0x30d67e(0x189)]),this[_0x30d67e(0x181)]['ui'][_0x30d67e(0x18f)][_0x30d67e(0x1b2)](_0x27e3fb[_0x30d67e(0x189)][_0x30d67e(0x1a4)]);const _0x3d8c7a=this[_0x30d67e(0x181)][_0x30d67e(0x1a7)][_0x30d67e(0x18a)](_0x4f7491);this[_0x30d67e(0x196)](_0x3d8c7a[_0x30d67e(0x199)],_0x30d67e(0x185),(_0x20864e,_0x356e73)=>{const _0x19f5e0=_0x30d67e;this[_0x19f5e0(0x181)]['ui'][_0x19f5e0(0x18f)][_0x19f5e0(0x185)](_0x356e73[_0x19f5e0(0x189)][_0x19f5e0(0x1a4)]),this[_0x19f5e0(0x182)][_0x19f5e0(0x17f)](_0x356e73[_0x19f5e0(0x189)]);});}[_0x2aedfd(0x174)](){const _0x16d92b=_0x2aedfd;return this[_0x16d92b(0x181)][_0x16d92b(0x1a0)][_0x16d92b(0x189)][_0x16d92b(0x174)];}[_0x2aedfd(0x1b3)](_0x5f0ad0){const _0x2cfa3e=_0x2aedfd;if(_0x2cfa3e(0x17e)!=typeof _0x5f0ad0)throw new _0x58eebc(_0x2cfa3e(0x18d));this[_0x2cfa3e(0x18c)][_0x2cfa3e(0x1b2)](_0x5f0ad0);}[_0x2aedfd(0x187)](){const _0x1a4f72=_0x2aedfd;this[_0x1a4f72(0x1b1)](_0x1a4f72(0x176));}[_0x2aedfd(0x195)]({activeAnnotation:_0x36cb01,annotations:_0xbb21bb}){const _0x828bb8=_0x2aedfd,_0x1a872e=[],_0x23236=this[_0x828bb8(0x181)][_0x828bb8(0x1a2)][_0x828bb8(0x178)][_0x828bb8(0x1a8)],_0xdf0912=Array[_0x828bb8(0x17c)](_0x23236[_0x828bb8(0x198)]());for(const [_0x6baff8,_0x5322db]of this[_0x828bb8(0x19d)]){const _0x206fdb=_0x2826ed(_0x5322db),_0x5f0b2e=_0xbb21bb[_0x828bb8(0x1b0)](_0x6baff8);_0x206fdb&&_0x5f0b2e&&_0x1a872e[_0x828bb8(0x180)]({'annotation':_0x5f0b2e,'range':_0x206fdb});}function _0x2826ed(_0x21823d){const _0x4cf1a5=_0x828bb8;for(const _0x36c151 of _0x21823d)for(const _0x43342a of _0xdf0912)if(_0x36c151[_0x4cf1a5(0x194)](_0x43342a,!_0x23236[_0x4cf1a5(0x1b4)]))return _0x36c151;return null;}return _0x1a872e[_0x828bb8(0x1af)]((_0x30f7ac,_0x4692c9)=>{const _0xca2277=_0x828bb8,_0x24681b=_0x30f7ac[_0xca2277(0x1a1)],_0x2706a3=_0x4692c9[_0xca2277(0x1a1)];if(!_0x24681b[_0xca2277(0x19f)](_0x2706a3)){if(_0x24681b[_0xca2277(0x194)](_0x2706a3,!0x0))return 0x1;if(_0x2706a3[_0xca2277(0x194)](_0x24681b,!0x0))return-0x1;}return _0x30f7ac[_0xca2277(0x17b)]==_0x36cb01?-0x1:_0x4692c9[_0xca2277(0x17b)]==_0x36cb01?0x1:0x0;})[_0x828bb8(0x188)](_0x1fa4ed=>_0x1fa4ed[_0x828bb8(0x17b)]);}get[_0x2aedfd(0x19d)](){const _0x2956ba=_0x2aedfd,_0x386871=new Map();for(const _0x1105c1 of Array[_0x2956ba(0x17c)](this[_0x2956ba(0x18c)]))for(const [_0x266f3a,_0x204173]of _0x1105c1())_0x386871[_0x2956ba(0x18e)](_0x266f3a,_0x204173);return _0x386871;}}
@@ -7,12 +7,12 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
- import AnnotationsUIs, { type AnnotationsUI } from './annotationsuis.js';
11
- import EditorAnnotations from './editorannotations.js';
10
+ import { AnnotationsUIs, type AnnotationsUI } from './annotationsuis.js';
11
+ import { EditorAnnotations } from './editorannotations.js';
12
12
  import { ContextualBalloon } from 'ckeditor5/src/ui.js';
13
13
  import './../../theme/annotation-inline.css';
14
- import type Annotation from './annotation.js';
15
- import type AnnotationCollection from './annotationcollection.js';
14
+ import { type Annotation } from './annotation.js';
15
+ import { type AnnotationCollection } from './annotationcollection.js';
16
16
  /**
17
17
  * The popup-style UI for displaying annotations next to editor target elements.
18
18
  *
@@ -34,7 +34,7 @@ import type AnnotationCollection from './annotationcollection.js';
34
34
  *
35
35
  * See {@link module:comments/annotations/annotationsuis~AnnotationsUIs}.
36
36
  */
37
- export default class InlineAnnotations extends Plugin implements AnnotationsUI<Plugin> {
37
+ export declare class InlineAnnotations extends Plugin implements AnnotationsUI<Plugin> {
38
38
  /**
39
39
  * An active annotation tracked by this UI.
40
40
  *