@ckeditor/ckeditor5-comments 41.2.0 → 41.3.0-alpha.2

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 (201) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/content-index.css +332 -0
  3. package/dist/editor-index.css +902 -0
  4. package/dist/index.css +1874 -0
  5. package/dist/translations/af.d.ts +8 -0
  6. package/dist/translations/af.js +23 -0
  7. package/dist/translations/ar.d.ts +8 -0
  8. package/dist/translations/ar.js +23 -0
  9. package/dist/translations/bg.d.ts +8 -0
  10. package/dist/translations/bg.js +23 -0
  11. package/dist/translations/bn.d.ts +8 -0
  12. package/dist/translations/bn.js +23 -0
  13. package/dist/translations/bs.d.ts +8 -0
  14. package/dist/translations/bs.js +23 -0
  15. package/dist/translations/ca.d.ts +8 -0
  16. package/dist/translations/ca.js +23 -0
  17. package/dist/translations/cs.d.ts +8 -0
  18. package/dist/translations/cs.js +23 -0
  19. package/dist/translations/da.d.ts +8 -0
  20. package/dist/translations/da.js +23 -0
  21. package/dist/translations/de-ch.d.ts +8 -0
  22. package/dist/translations/de-ch.js +23 -0
  23. package/dist/translations/de.d.ts +8 -0
  24. package/dist/translations/de.js +23 -0
  25. package/dist/translations/el.d.ts +8 -0
  26. package/dist/translations/el.js +23 -0
  27. package/dist/translations/en-au.d.ts +8 -0
  28. package/dist/translations/en-au.js +23 -0
  29. package/dist/translations/en.d.ts +8 -0
  30. package/dist/translations/en.js +23 -0
  31. package/dist/translations/es-co.d.ts +8 -0
  32. package/dist/translations/es-co.js +23 -0
  33. package/dist/translations/es.d.ts +8 -0
  34. package/dist/translations/es.js +23 -0
  35. package/dist/translations/et.d.ts +8 -0
  36. package/dist/translations/et.js +23 -0
  37. package/dist/translations/fa.d.ts +8 -0
  38. package/dist/translations/fa.js +23 -0
  39. package/dist/translations/fi.d.ts +8 -0
  40. package/dist/translations/fi.js +23 -0
  41. package/dist/translations/fr.d.ts +8 -0
  42. package/dist/translations/fr.js +23 -0
  43. package/dist/translations/gl.d.ts +8 -0
  44. package/dist/translations/gl.js +23 -0
  45. package/dist/translations/he.d.ts +8 -0
  46. package/dist/translations/he.js +23 -0
  47. package/dist/translations/hi.d.ts +8 -0
  48. package/dist/translations/hi.js +23 -0
  49. package/dist/translations/hr.d.ts +8 -0
  50. package/dist/translations/hr.js +23 -0
  51. package/dist/translations/hu.d.ts +8 -0
  52. package/dist/translations/hu.js +23 -0
  53. package/dist/translations/id.d.ts +8 -0
  54. package/dist/translations/id.js +23 -0
  55. package/dist/translations/it.d.ts +8 -0
  56. package/dist/translations/it.js +23 -0
  57. package/dist/translations/ja.d.ts +8 -0
  58. package/dist/translations/ja.js +23 -0
  59. package/dist/translations/jv.d.ts +8 -0
  60. package/dist/translations/jv.js +23 -0
  61. package/dist/translations/ko.d.ts +8 -0
  62. package/dist/translations/ko.js +23 -0
  63. package/dist/translations/lt.d.ts +8 -0
  64. package/dist/translations/lt.js +23 -0
  65. package/dist/translations/lv.d.ts +8 -0
  66. package/dist/translations/lv.js +23 -0
  67. package/dist/translations/ms.d.ts +8 -0
  68. package/dist/translations/ms.js +23 -0
  69. package/dist/translations/nl.d.ts +8 -0
  70. package/dist/translations/nl.js +23 -0
  71. package/dist/translations/no.d.ts +8 -0
  72. package/dist/translations/no.js +23 -0
  73. package/dist/translations/pl.d.ts +8 -0
  74. package/dist/translations/pl.js +23 -0
  75. package/dist/translations/pt-br.d.ts +8 -0
  76. package/dist/translations/pt-br.js +23 -0
  77. package/dist/translations/pt.d.ts +8 -0
  78. package/dist/translations/pt.js +23 -0
  79. package/dist/translations/ro.d.ts +8 -0
  80. package/dist/translations/ro.js +23 -0
  81. package/dist/translations/ru.d.ts +8 -0
  82. package/dist/translations/ru.js +23 -0
  83. package/dist/translations/sk.d.ts +8 -0
  84. package/dist/translations/sk.js +23 -0
  85. package/dist/translations/sq.d.ts +8 -0
  86. package/dist/translations/sq.js +23 -0
  87. package/dist/translations/sr-latn.d.ts +8 -0
  88. package/dist/translations/sr-latn.js +23 -0
  89. package/dist/translations/sr.d.ts +8 -0
  90. package/dist/translations/sr.js +23 -0
  91. package/dist/translations/sv.d.ts +8 -0
  92. package/dist/translations/sv.js +23 -0
  93. package/dist/translations/th.d.ts +8 -0
  94. package/dist/translations/th.js +23 -0
  95. package/dist/translations/tk.d.ts +8 -0
  96. package/dist/translations/tk.js +23 -0
  97. package/dist/translations/tr.d.ts +8 -0
  98. package/dist/translations/tr.js +23 -0
  99. package/dist/translations/tt.d.ts +8 -0
  100. package/dist/translations/tt.js +23 -0
  101. package/dist/translations/ug.d.ts +8 -0
  102. package/dist/translations/ug.js +23 -0
  103. package/dist/translations/uk.d.ts +8 -0
  104. package/dist/translations/uk.js +23 -0
  105. package/dist/translations/ur.d.ts +8 -0
  106. package/dist/translations/ur.js +23 -0
  107. package/dist/translations/vi.d.ts +8 -0
  108. package/dist/translations/vi.js +23 -0
  109. package/dist/translations/zh-cn.d.ts +8 -0
  110. package/dist/translations/zh-cn.js +23 -0
  111. package/dist/translations/zh.d.ts +8 -0
  112. package/dist/translations/zh.js +23 -0
  113. package/dist/types/annotations/annotation.d.ts +94 -0
  114. package/dist/types/annotations/annotationcollection.d.ts +102 -0
  115. package/dist/types/annotations/annotations.d.ts +158 -0
  116. package/dist/types/annotations/annotationsuis.d.ts +236 -0
  117. package/dist/types/annotations/editorannotations.d.ts +71 -0
  118. package/dist/types/annotations/inlineannotations.d.ts +94 -0
  119. package/dist/types/annotations/narrowsidebar.d.ts +89 -0
  120. package/dist/types/annotations/sidebar.d.ts +104 -0
  121. package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
  122. package/dist/types/annotations/view/annotationview.d.ts +94 -0
  123. package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
  124. package/dist/types/annotations/view/sidebarview.d.ts +36 -0
  125. package/dist/types/annotations/widesidebar.d.ts +81 -0
  126. package/dist/types/augmentation.d.ts +56 -0
  127. package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
  128. package/dist/types/comments/commentsarchive.d.ts +35 -0
  129. package/dist/types/comments/commentsarchiveui.d.ts +42 -0
  130. package/dist/types/comments/commentsediting.d.ts +84 -0
  131. package/dist/types/comments/commentsrepository.d.ts +1134 -0
  132. package/dist/types/comments/commentsui.d.ts +37 -0
  133. package/dist/types/comments/integrations/clipboard.d.ts +30 -0
  134. package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
  135. package/dist/types/comments/integrations/importword.d.ts +25 -0
  136. package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
  137. package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
  138. package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
  139. package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
  140. package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
  141. package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
  142. package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
  143. package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
  144. package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
  145. package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
  146. package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
  147. package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
  148. package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
  149. package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
  150. package/dist/types/comments/ui/view/commentview.d.ts +247 -0
  151. package/dist/types/comments.d.ts +39 -0
  152. package/dist/types/commentsonly.d.ts +37 -0
  153. package/dist/types/config.d.ts +202 -0
  154. package/dist/types/index.d.ts +28 -0
  155. package/dist/types/utils/common-translations.d.ts +13 -0
  156. package/dist/types/utils/createmutationobserver.d.ts +18 -0
  157. package/package.json +4 -3
  158. package/src/annotations/annotation.js +1 -1
  159. package/src/annotations/annotationcollection.js +1 -1
  160. package/src/annotations/annotations.js +1 -1
  161. package/src/annotations/annotationsuis.js +1 -1
  162. package/src/annotations/editorannotations.js +1 -1
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.js +1 -1
  165. package/src/annotations/sidebar.js +1 -1
  166. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  167. package/src/annotations/view/annotationview.js +1 -1
  168. package/src/annotations/view/sidebaritemview.js +1 -1
  169. package/src/annotations/view/sidebarview.js +1 -1
  170. package/src/annotations/widesidebar.js +1 -1
  171. package/src/comments/addcommentthreadcommand.js +1 -1
  172. package/src/comments/commentsarchive.js +1 -1
  173. package/src/comments/commentsarchiveui.js +1 -1
  174. package/src/comments/commentsediting.js +1 -1
  175. package/src/comments/commentsrepository.js +1 -1
  176. package/src/comments/commentsui.js +1 -1
  177. package/src/comments/integrations/clipboard.js +1 -1
  178. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  179. package/src/comments/integrations/importword.js +1 -1
  180. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  181. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  182. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  183. package/src/comments/ui/commentthreadcontroller.js +1 -1
  184. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  185. package/src/comments/ui/view/basecommentview.js +1 -1
  186. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  187. package/src/comments/ui/view/commentcontentview.js +1 -1
  188. package/src/comments/ui/view/commentinputview.js +1 -1
  189. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  190. package/src/comments/ui/view/commentslistview.js +1 -1
  191. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  192. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  193. package/src/comments/ui/view/commentthreadview.js +1 -1
  194. package/src/comments/ui/view/commentview.js +1 -1
  195. package/src/comments.js +1 -1
  196. package/src/commentsonly.js +1 -1
  197. package/src/config.d.ts +17 -10
  198. package/src/index.d.ts +1 -1
  199. package/src/index.js +1 -1
  200. package/src/utils/common-translations.js +1 -1
  201. package/src/utils/createmutationobserver.js +1 -1
@@ -0,0 +1,202 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module comments/config
11
+ * @publicApi
12
+ */
13
+ import type { EditorConfig, PartialBy } from 'ckeditor5/src/core.js';
14
+ import type CommentView from './comments/ui/view/commentview.js';
15
+ import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview.js';
16
+ /**
17
+ * The configuration of the comments feature.
18
+ *
19
+ * ```ts
20
+ * ClassicEditor.create( {
21
+ * comments: ... // Comments feature configuration.
22
+ * } )
23
+ * .then( ... )
24
+ * .catch( ... );
25
+ * ```
26
+ *
27
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
28
+ */
29
+ export interface CommentsConfig {
30
+ /**
31
+ * Specifies whether comment markers should be preserved on copy-paste and cut-and-paste actions.
32
+ *
33
+ * The following values are available:
34
+ *
35
+ * * `'default'` - the comments will be preserved on cut-paste and drag and drop actions only.
36
+ * * `'always'` - the markers will be preserved on all clipboard actions (cut, copy, drag and drop).
37
+ * * `'never'` - the markers will be ignored by clipboard.
38
+ *
39
+ * Defaults to `'default'`.
40
+ */
41
+ copyMarkers?: CommentsClipboardCopyConfig;
42
+ /**
43
+ * The total number of comments shown when the thread view is collapsed.
44
+ *
45
+ * The comments are displayed in the following way:
46
+ *
47
+ * * The first comment is displayed.
48
+ * * Some comments may be hidden (collapsed).
49
+ * * An appropriate number of the most recent comments is displayed.
50
+ *
51
+ * For example, if this parameter is set to 3, when collapsed,
52
+ * the thread view will display the first comment and two most recent comments.
53
+ *
54
+ * Defaults to `2`.
55
+ */
56
+ maxCommentsWhenCollapsed?: number;
57
+ /**
58
+ * The maximum total weight of a thread before the thread becomes collapsed when it is not active:
59
+ *
60
+ * * Thread weight is a sum of the weight of its comments.
61
+ * * Comment weight is equal to the comment length.
62
+ * * The minimal comment weight is 200.
63
+ *
64
+ * Defaults to `500`.
65
+ */
66
+ maxThreadTotalWeight?: number;
67
+ /**
68
+ * The maximum number of characters displayed in a comment when the thread view is collapsed.
69
+ * Longer comments will be trimmed.
70
+ *
71
+ * Defaults to `140`.
72
+ */
73
+ maxCommentCharsWhenCollapsed?: number;
74
+ /**
75
+ * A view class to be used to create comment views.
76
+ *
77
+ * {@link module:comments/comments/ui/view/commentview~CommentView} is used by default when this property is not set.
78
+ */
79
+ CommentView?: typeof CommentView;
80
+ /**
81
+ * A view class to be used to create comment thread views
82
+ * (used as annotations - in sidebar balloons or in inline annotations).
83
+ *
84
+ * {@link module:comments/comments/ui/view/commentthreadview~CommentThreadView} is used by default
85
+ * when this property is not set.
86
+ */
87
+ CommentThreadView?: typeof BaseCommentThreadView;
88
+ /**
89
+ * Configuration for the comments editor.
90
+ *
91
+ * By using this property, you can customize the editor instance used in the comments
92
+ * reply field (e.g. by adding plugins or changing features configuration).
93
+ *
94
+ * To use the default configuration (allows only for text input, no formatting), you can pass `{}`
95
+ * to the comments editor configuration.
96
+ *
97
+ * ```ts
98
+ * ClassicEditor.create( element, {
99
+ * comments: {
100
+ * editorConfig: {}
101
+ * }
102
+ * } );
103
+ * ```
104
+ *
105
+ * To provide a better experience, you may add more plugins, that will extend the default editor configuration.
106
+ *
107
+ * ```ts
108
+ * import Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat';
109
+ * import List from '@ckeditor/ckeditor5-list/src/list';
110
+ * import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
111
+ * import Italic from '@ckeditor/ckeditor5-italic/src/italic';
112
+ *
113
+ * ClassicEditor
114
+ * .create( {
115
+ * comments: {
116
+ * editorConfig: {
117
+ * extraPlugins: [ Autoformat, Bold, Italic, List ]
118
+ * }
119
+ * }
120
+ * } )
121
+ * ```
122
+ *
123
+ * Importing plugins may not be possible in some scenarios (e.g. when using a build created by the online builder tool).
124
+ * In that case, it is possible to get the plugin constructors from the editor builtin plugins.
125
+ *
126
+ * ```ts
127
+ * const extraCommentsPlugins = ClassicEditor.builtinPlugins.filter( plugin => {
128
+ * return [ 'Bold', 'Italic', Autoformat, List ].includes( plugin.pluginName );
129
+ * } );
130
+ *
131
+ *
132
+ * ClassicEditor
133
+ * .create( {
134
+ * comments: {
135
+ * editorConfig: {
136
+ * extraPlugins: extraCommentsPlugins
137
+ * }
138
+ * }
139
+ * } )
140
+ * .then( ... )
141
+ * .catch( ... );
142
+ * ```
143
+ */
144
+ editorConfig?: EditorConfig;
145
+ /**
146
+ * A function that takes a `Date` object, formats it to a desired string and returns it.
147
+ * It should be used when displaying the comment creation date.
148
+ */
149
+ formatDateTime?: (date: Date) => string;
150
+ }
151
+ /**
152
+ * The configuration of the sidebar feature.
153
+ *
154
+ * ```ts
155
+ * ClassicEditor
156
+ * .create( {
157
+ * sidebar: {
158
+ * // Sidebar feature configuration.
159
+ * }
160
+ * } )
161
+ * .then( ... )
162
+ * .catch( ... );
163
+ * ```
164
+ *
165
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor configuration options}.
166
+ */
167
+ export interface SidebarConfig {
168
+ /**
169
+ * DOM element into which the sidebar will be inserted.
170
+ */
171
+ container?: HTMLElement;
172
+ /**
173
+ * Changes how the annotations are positioned inside the sidebar.
174
+ *
175
+ * If set to `true`, the top annotation in the sidebar will never be scrolled
176
+ * above the top edge of the sidebar (which would make it hidden).
177
+ *
178
+ * On the other hand, with this setting enabled, if there is not enough space,
179
+ * annotations will not be positioned exactly next to their linked elements
180
+ * when selected.
181
+ *
182
+ * @default false
183
+ */
184
+ preventScrollOutOfView?: boolean;
185
+ }
186
+ export type CommentThreadConfig = PartialBy<Required<Omit<CommentsConfig, 'CommentThreadView'>>, 'copyMarkers'>;
187
+ export type CommentViewConfig = Required<Pick<CommentsConfig, 'maxCommentCharsWhenCollapsed' | 'formatDateTime' | 'editorConfig'>> & {
188
+ /**
189
+ * Defines whether the comment is created by the system.
190
+ */
191
+ isSystemComment?: boolean;
192
+ };
193
+ /**
194
+ * Specifies whether comment markers should be preserved on copy-paste and cut-paste actions.
195
+ *
196
+ * Following values are available:
197
+ *
198
+ * * `'default'` - the comments will be preserved on cut-paste and drag and drop actions only.
199
+ * * `'always'` - the markers will be preserved on all clipboard actions (cut, copy, drag and drop).
200
+ * * `'never'` - the markers will be ignored by clipboard.
201
+ */
202
+ export type CommentsClipboardCopyConfig = 'default' | 'always' | 'never';
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ export { default as Comments } from './comments.js';
10
+ export { default as CommentsOnly } from './commentsonly.js';
11
+ export { default as CommentsUI } from './comments/commentsui.js';
12
+ export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository.js';
13
+ export { default as CommentThreadController } from './comments/ui/commentthreadcontroller.js';
14
+ export { default as Annotations } from './annotations/annotations.js';
15
+ export { default as AnnotationsUIs } from './annotations/annotationsuis.js';
16
+ export { default as EditorAnnotations } from './annotations/editorannotations.js';
17
+ export { default as InlineAnnotations } from './annotations/inlineannotations.js';
18
+ export { default as WideSidebar } from './annotations/widesidebar.js';
19
+ export { default as NarrowSidebar } from './annotations/narrowsidebar.js';
20
+ export { default as AnnotationView } from './annotations/view/annotationview.js';
21
+ export { default as BaseCommentView } from './comments/ui/view/basecommentview.js';
22
+ export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
23
+ export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
24
+ export { default as CommentView } from './comments/ui/view/commentview.js';
25
+ export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
26
+ export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig } from './config.js';
27
+ export type { default as CommentsEditing } from './comments/commentsediting.js';
28
+ import './augmentation.js';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module comments/utils/common-translations
11
+ */
12
+ import type { Locale } from 'ckeditor5/src/utils.js';
13
+ export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string> | number): string;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * Creates mutation observer to observe changes that might cause height change.
11
+ *
12
+ * @param callback Callback executed after throttled mutations.
13
+ */
14
+ export default function createMutationObserver(callback: (...args: Array<any>) => unknown): MutationObserver;
15
+ export interface MutationObserver {
16
+ attach: (element: Node) => void;
17
+ detach: () => void;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-comments",
3
- "version": "41.2.0",
3
+ "version": "41.3.0-alpha.2",
4
4
  "description": "Collaborative comments feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -36,6 +36,7 @@
36
36
  "main": "src/index.js",
37
37
  "files": [
38
38
  "build",
39
+ "dist",
39
40
  "lang",
40
41
  "src/**/*.js",
41
42
  "src/**/*.d.ts",
@@ -44,8 +45,8 @@
44
45
  "CHANGELOG.md"
45
46
  ],
46
47
  "dependencies": {
47
- "ckeditor5": "41.2.0",
48
- "ckeditor5-collaboration": "41.2.0",
48
+ "ckeditor5": "41.3.0-alpha.2",
49
+ "ckeditor5-collaboration": "41.3.0-alpha.2",
49
50
  "lodash-es": "4.17.21"
50
51
  },
51
52
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2973(){const _0x27e0cb=['filter','_getNormalizedTarget','focusTracker','targetRect','3646UftTYv','nodeType','_target','stopListening','set','every','innerView','2300160kDtmhq','refreshVisibility','clear','140IbFSRp','item','mainView','object','target','focusableElements','updateTargetRect','destroy','2950083GoWCYG','type','element','isVisible','add','annotation-invalid-target','_type','742167LHGJNl','length','367ahrnSO','function','2550404ORggrL','5388BzqVou','getClientRects','22177520ZcBNYJ','remove','_assertCorrectTarget','_id','isActive','isArray','88TmIviC','offsetParent','render','view'];_0x2973=function(){return _0x27e0cb;};return _0x2973();}const _0x18326b=_0xf864;(function(_0x157586,_0x9fdf24){const _0x200ff4=_0xf864,_0x3f5954=_0x157586();while(!![]){try{const _0x67bb9=parseInt(_0x200ff4(0x1c1))/0x1*(-parseInt(_0x200ff4(0x1d4))/0x2)+parseInt(_0x200ff4(0x1b8))/0x3+-parseInt(_0x200ff4(0x1c3))/0x4+-parseInt(_0x200ff4(0x1db))/0x5+-parseInt(_0x200ff4(0x1c4))/0x6*(parseInt(_0x200ff4(0x1de))/0x7)+-parseInt(_0x200ff4(0x1cc))/0x8*(parseInt(_0x200ff4(0x1bf))/0x9)+parseInt(_0x200ff4(0x1c6))/0xa;if(_0x67bb9===_0x9fdf24)break;else _0x3f5954['push'](_0x3f5954['shift']());}catch(_0x384d9d){_0x3f5954['push'](_0x3f5954['shift']());}}}(_0x2973,0x7c5ca));import{CKEditorError as _0x26f5b4,Rect as _0x1bb8e9,Collection as _0x403a20,ObservableMixin as _0x53f100}from'ckeditor5/src/utils.js';export default class d extends _0x53f100(){constructor({view:_0x2963fe,target:_0x3e6cce,type:_0x190933,isVisible:_0x2935c1=!0x0}){const _0x3de4ec=_0xf864;super(),this[_0x3de4ec(0x1cf)]=_0x2963fe,this[_0x3de4ec(0x1cf)][_0x3de4ec(0x1ba)]||this[_0x3de4ec(0x1cf)][_0x3de4ec(0x1ce)](),this[_0x3de4ec(0x1be)]=_0x190933,this[_0x3de4ec(0x1d6)]=_0x3e6cce,d[_0x3de4ec(0x1c8)](this[_0x3de4ec(0x1d1)]()),this[_0x3de4ec(0x1b5)]=new _0x403a20([this[_0x3de4ec(0x1cf)][_0x3de4ec(0x1ba)]],{'idProperty':_0x3de4ec(0x1c9)}),this[_0x3de4ec(0x1b5)]['on'](_0x3de4ec(0x1bc),(_0x2fbe54,_0x472d10)=>{const _0x9314b4=_0x3de4ec;this[_0x9314b4(0x1cf)][_0x9314b4(0x1d2)][_0x9314b4(0x1bc)](_0x472d10);}),this[_0x3de4ec(0x1b5)]['on'](_0x3de4ec(0x1c7),(_0x1c5680,_0x14a5f9)=>{const _0x4ac590=_0x3de4ec;this[_0x4ac590(0x1cf)][_0x4ac590(0x1d2)][_0x4ac590(0x1c7)](_0x14a5f9);}),this[_0x3de4ec(0x1d8)](_0x3de4ec(0x1bb),_0x2935c1);}get[_0x18326b(0x1b9)](){const _0x29406c=_0x18326b;return _0x29406c(0x1c2)==typeof this[_0x29406c(0x1be)]?this[_0x29406c(0x1be)]():this[_0x29406c(0x1be)];}get[_0x18326b(0x1da)](){const _0x41fa3a=_0x18326b;return this[_0x41fa3a(0x1cf)][_0x41fa3a(0x1b2)];}get[_0x18326b(0x1b4)](){const _0x6d6a8c=_0x18326b,_0x386b52=this[_0x6d6a8c(0x1d1)]();return d[_0x6d6a8c(0x1c8)](_0x386b52),_0x386b52;}get[_0x18326b(0x1d3)](){const _0x58988c=_0x18326b,_0x5792a7=this[_0x58988c(0x1b4)];if(null===_0x5792a7)return null;if(_0x5792a7 instanceof _0x1bb8e9)return _0x5792a7;const _0x4a7221=_0x5792a7[_0x58988c(0x1d0)](_0x590e21=>function(_0x123056){const _0x213eae=_0x58988c,_0x3eec98=_0x123056[_0x213eae(0x1cd)];if(_0x3eec98)return!0x0;const _0x5ced16=_0x123056[_0x213eae(0x1c5)]()[_0x213eae(0x1b1)](0x0);return!!_0x5ced16;}(_0x590e21));return 0x0===_0x4a7221[_0x58988c(0x1c0)]?null:new _0x1bb8e9(_0x4a7221[0x0][_0x58988c(0x1c5)]()[_0x58988c(0x1b1)](0x0));}get[_0x18326b(0x1ca)](){const _0x1d3a54=_0x18326b;return this[_0x1d3a54(0x1cf)][_0x1d3a54(0x1ca)];}set[_0x18326b(0x1ca)](_0x2ea721){const _0x476905=_0x18326b;this[_0x476905(0x1cf)][_0x476905(0x1ca)]=_0x2ea721,this[_0x476905(0x1cf)][_0x476905(0x1b2)][_0x476905(0x1ca)]=_0x2ea721;}[_0x18326b(0x1b6)](){const _0x3bdafa=_0x18326b;this[_0x3bdafa(0x1cf)][_0x3bdafa(0x1d3)]=this[_0x3bdafa(0x1d3)];}[_0x18326b(0x1b7)](){const _0x1b9cce=_0x18326b;this[_0x1b9cce(0x1b5)][_0x1b9cce(0x1d7)](),this[_0x1b9cce(0x1b5)][_0x1b9cce(0x1dd)](),this[_0x1b9cce(0x1d7)]();}[_0x18326b(0x1dc)](){const _0x3979de=_0x18326b;this[_0x3979de(0x1bb)]=!!this[_0x3979de(0x1d3)];}static[_0x18326b(0x1c8)](_0x1d6b5b){const _0x3fb72f=_0x18326b;if(!(null===_0x1d6b5b||_0x1d6b5b instanceof _0x1bb8e9||Array[_0x3fb72f(0x1cb)](_0x1d6b5b)&&_0x1d6b5b[_0x3fb72f(0x1d9)](_0x943839=>y(_0x943839))))throw new _0x26f5b4(_0x3fb72f(0x1bd),null,{'target':_0x1d6b5b});}[_0x18326b(0x1d1)](){const _0x590d06=_0x18326b,_0x40f274=_0x590d06(0x1c2)==typeof this[_0x590d06(0x1d6)]?this[_0x590d06(0x1d6)]():this[_0x590d06(0x1d6)];return y(_0x40f274)?[_0x40f274]:_0x40f274;}}function _0xf864(_0x5a5103,_0x113140){const _0x2973e2=_0x2973();return _0xf864=function(_0xf8649c,_0x144947){_0xf8649c=_0xf8649c-0x1b1;let _0x264fdb=_0x2973e2[_0xf8649c];return _0x264fdb;},_0xf864(_0x5a5103,_0x113140);}function y(_0x14fe31){const _0x9f8891=_0x18326b;return null!==_0x14fe31&&_0x9f8891(0x1b3)==typeof _0x14fe31&&_0x9f8891(0x1d5)in _0x14fe31&&0x1===_0x14fe31[_0x9f8891(0x1d5)];}
23
+ const _0x204502=_0x12fa;function _0x2302(){const _0x3ab9eb=['annotation-invalid-target','5iOYqhU','refreshVisibility','54XDzObr','remove','getClientRects','focusTracker','3796520RRVqty','isArray','_getNormalizedTarget','target','object','innerView','1067464rQgwVI','mainView','582737JUBzys','_assertCorrectTarget','view','set','offsetParent','targetRect','2078250CRdXUz','updateTargetRect','nodeType','isActive','type','_type','item','4057724aiywgj','filter','1318614aaTPiK','clear','isVisible','focusableElements','element','function','add','stopListening','_target','length','render','_id','826236hiCIiw','destroy','every'];_0x2302=function(){return _0x3ab9eb;};return _0x2302();}(function(_0x556a01,_0x5d7288){const _0x3121a3=_0x12fa,_0x314285=_0x556a01();while(!![]){try{const _0x2f0fa6=-parseInt(_0x3121a3(0x15b))/0x1+parseInt(_0x3121a3(0x13d))/0x2+parseInt(_0x3121a3(0x161))/0x3+parseInt(_0x3121a3(0x13b))/0x4*(parseInt(_0x3121a3(0x14d))/0x5)+parseInt(_0x3121a3(0x149))/0x6+-parseInt(_0x3121a3(0x153))/0x7+-parseInt(_0x3121a3(0x159))/0x8*(parseInt(_0x3121a3(0x14f))/0x9);if(_0x2f0fa6===_0x5d7288)break;else _0x314285['push'](_0x314285['shift']());}catch(_0x4b0f4c){_0x314285['push'](_0x314285['shift']());}}}(_0x2302,0x8d3c3));import{CKEditorError as _0x2ae6c4,Rect as _0x535b66,Collection as _0x554ef7,ObservableMixin as _0x303d4b}from'ckeditor5/src/utils.js';function _0x12fa(_0x469746,_0x2ef76c){const _0x230209=_0x2302();return _0x12fa=function(_0x12fa05,_0x172918){_0x12fa05=_0x12fa05-0x13a;let _0x2a77be=_0x230209[_0x12fa05];return _0x2a77be;},_0x12fa(_0x469746,_0x2ef76c);}export default class d extends _0x303d4b(){constructor({view:_0x38dafc,target:_0xc806d4,type:_0x3e2c9e,isVisible:_0x3d7d47=!0x0}){const _0x8b4fcd=_0x12fa;super(),this[_0x8b4fcd(0x15d)]=_0x38dafc,this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x141)]||this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x147)](),this[_0x8b4fcd(0x166)]=_0x3e2c9e,this[_0x8b4fcd(0x145)]=_0xc806d4,d[_0x8b4fcd(0x15c)](this[_0x8b4fcd(0x155)]()),this[_0x8b4fcd(0x140)]=new _0x554ef7([this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x141)]],{'idProperty':_0x8b4fcd(0x148)}),this[_0x8b4fcd(0x140)]['on'](_0x8b4fcd(0x143),(_0x5c02a8,_0x37eb2f)=>{const _0x195df8=_0x8b4fcd;this[_0x195df8(0x15d)][_0x195df8(0x152)][_0x195df8(0x143)](_0x37eb2f);}),this[_0x8b4fcd(0x140)]['on'](_0x8b4fcd(0x150),(_0x4f677b,_0x2acb9d)=>{const _0x5e80fa=_0x8b4fcd;this[_0x5e80fa(0x15d)][_0x5e80fa(0x152)][_0x5e80fa(0x150)](_0x2acb9d);}),this[_0x8b4fcd(0x15e)](_0x8b4fcd(0x13f),_0x3d7d47);}get[_0x204502(0x165)](){const _0x4cafed=_0x204502;return _0x4cafed(0x142)==typeof this[_0x4cafed(0x166)]?this[_0x4cafed(0x166)]():this[_0x4cafed(0x166)];}get[_0x204502(0x158)](){const _0x286c55=_0x204502;return this[_0x286c55(0x15d)][_0x286c55(0x15a)];}get[_0x204502(0x156)](){const _0x315c31=_0x204502,_0x36e912=this[_0x315c31(0x155)]();return d[_0x315c31(0x15c)](_0x36e912),_0x36e912;}get[_0x204502(0x160)](){const _0x324cb9=_0x204502,_0x17ae72=this[_0x324cb9(0x156)];if(null===_0x17ae72)return null;if(_0x17ae72 instanceof _0x535b66)return _0x17ae72;const _0x171fdd=_0x17ae72[_0x324cb9(0x13c)](_0x477b36=>function(_0x1a37bc){const _0x3aacca=_0x324cb9,_0x4c2671=_0x1a37bc[_0x3aacca(0x15f)];if(_0x4c2671)return!0x0;const _0x28f748=_0x1a37bc[_0x3aacca(0x151)]()[_0x3aacca(0x13a)](0x0);return!!_0x28f748;}(_0x477b36));return 0x0===_0x171fdd[_0x324cb9(0x146)]?null:new _0x535b66(_0x171fdd[0x0][_0x324cb9(0x151)]()[_0x324cb9(0x13a)](0x0));}get[_0x204502(0x164)](){const _0x37b2e2=_0x204502;return this[_0x37b2e2(0x15d)][_0x37b2e2(0x164)];}set[_0x204502(0x164)](_0x31327d){const _0x197820=_0x204502;this[_0x197820(0x15d)][_0x197820(0x164)]=_0x31327d,this[_0x197820(0x15d)][_0x197820(0x15a)][_0x197820(0x164)]=_0x31327d;}[_0x204502(0x162)](){const _0x4f1c1b=_0x204502;this[_0x4f1c1b(0x15d)][_0x4f1c1b(0x160)]=this[_0x4f1c1b(0x160)];}[_0x204502(0x14a)](){const _0x577a01=_0x204502;this[_0x577a01(0x140)][_0x577a01(0x144)](),this[_0x577a01(0x140)][_0x577a01(0x13e)](),this[_0x577a01(0x144)]();}[_0x204502(0x14e)](){const _0x2da2ce=_0x204502;this[_0x2da2ce(0x13f)]=!!this[_0x2da2ce(0x160)];}static[_0x204502(0x15c)](_0x11076b){const _0x28d82b=_0x204502;if(!(null===_0x11076b||_0x11076b instanceof _0x535b66||Array[_0x28d82b(0x154)](_0x11076b)&&_0x11076b[_0x28d82b(0x14b)](_0x62b0cb=>y(_0x62b0cb))))throw new _0x2ae6c4(_0x28d82b(0x14c),null,{'target':_0x11076b});}[_0x204502(0x155)](){const _0x4e1bbc=_0x204502,_0x329045=_0x4e1bbc(0x142)==typeof this[_0x4e1bbc(0x145)]?this[_0x4e1bbc(0x145)]():this[_0x4e1bbc(0x145)];return y(_0x329045)?[_0x329045]:_0x329045;}}function y(_0x578a2c){const _0xe328d8=_0x204502;return null!==_0x578a2c&&_0xe328d8(0x157)==typeof _0x578a2c&&_0xe328d8(0x163)in _0x578a2c&&0x1===_0x578a2c[_0xe328d8(0x163)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3efac8=_0x2388;function _0x2388(_0x5e2ab1,_0xf5fbbe){const _0x1dc50a=_0x1dc5();return _0x2388=function(_0x238819,_0x10a3fa){_0x238819=_0x238819-0xb1;let _0x31f66b=_0x1dc50a[_0x238819];return _0x31f66b;},_0x2388(_0x5e2ab1,_0xf5fbbe);}(function(_0x3f3d3c,_0x32dc1b){const _0x276af7=_0x2388,_0x2a9284=_0x3f3d3c();while(!![]){try{const _0x18f4c3=parseInt(_0x276af7(0xb6))/0x1*(parseInt(_0x276af7(0xc7))/0x2)+parseInt(_0x276af7(0xb9))/0x3+-parseInt(_0x276af7(0xd5))/0x4+-parseInt(_0x276af7(0xd8))/0x5*(parseInt(_0x276af7(0xd7))/0x6)+-parseInt(_0x276af7(0xb1))/0x7+-parseInt(_0x276af7(0xdb))/0x8*(parseInt(_0x276af7(0xd6))/0x9)+parseInt(_0x276af7(0xc0))/0xa;if(_0x18f4c3===_0x32dc1b)break;else _0x2a9284['push'](_0x2a9284['shift']());}catch(_0x758c70){_0x2a9284['push'](_0x2a9284['shift']());}}}(_0x1dc5,0xca0a8));import{CKEditorError as _0x1158dd,Collection as _0x553df8,FocusTracker as _0x3560d1}from'ckeditor5/src/utils.js';function _0x1dc5(){const _0x847aa4=['1474PzaAXx','getByView','left','top','from','blur','innerView','view','clear','fire','targetRect','annotationcollection-duplicated-item','delete','length','8804rDnsET','481887Tndyfv','539580yuXLjs','85gLGtOG','focusTracker','focusableElements','184GNEGnP','refreshPositioning','isFocused','_focusTracker','getIndex','919863VuZDVR','updateTargetRect','get','stopListening','set','1277oClBkl','_sort','change:isFocused','2616924CACjLs','annotationcollection-not-existing-item','_getOrderInContent','add','focus','destroy','_viewToAnnotation','19080120ZdiKps','listenTo','remove','_innerViewToAnnotation','has','getByInnerView','sort'];_0x1dc5=function(){return _0x847aa4;};return _0x1dc5();}export default class x extends _0x553df8{constructor(_0x296cc5=[]){const _0x2a2b8c=_0x2388;super(),this[_0x2a2b8c(0xc3)]=new Map(),this[_0x2a2b8c(0xbf)]=new Map(),this[_0x2a2b8c(0xde)]=new _0x3560d1(),this[_0x2a2b8c(0xde)]['on'](_0x2a2b8c(0xb8),(_0x18144f,_0x48a5f2,_0x230290)=>{const _0x2a7f48=_0x2a2b8c;_0x230290||this[_0x2a7f48(0xd0)](_0x2a7f48(0xcc));});for(const _0x4bbba1 of _0x296cc5)this[_0x2a2b8c(0xbc)](_0x4bbba1);}get[_0x3efac8(0xdd)](){const _0x52d06f=_0x3efac8;return this[_0x52d06f(0xde)][_0x52d06f(0xdd)];}[_0x3efac8(0xbc)](_0x1e6902){const _0x431ece=_0x3efac8;if(this[_0x431ece(0xc4)](_0x1e6902))throw new _0x1158dd(_0x431ece(0xd2),null);this[_0x431ece(0xc3)][_0x431ece(0xb5)](_0x1e6902[_0x431ece(0xcd)],_0x1e6902),this[_0x431ece(0xbf)][_0x431ece(0xb5)](_0x1e6902[_0x431ece(0xce)],_0x1e6902);for(const _0x5c4236 of _0x1e6902[_0x431ece(0xda)])this[_0x431ece(0xde)][_0x431ece(0xbc)](_0x5c4236);this[_0x431ece(0xc1)](_0x1e6902[_0x431ece(0xda)],_0x431ece(0xbc),(_0x46062e,_0x538f78)=>{const _0x297606=_0x431ece;this[_0x297606(0xde)][_0x297606(0xbc)](_0x538f78);}),this[_0x431ece(0xc1)](_0x1e6902[_0x431ece(0xda)],_0x431ece(0xc2),(_0x499c34,_0x126697)=>{const _0x3cf11d=_0x431ece;this[_0x3cf11d(0xde)][_0x3cf11d(0xc2)](_0x126697);}),this[_0x431ece(0xc1)](_0x1e6902[_0x431ece(0xce)][_0x431ece(0xd9)],_0x431ece(0xb8),(_0x7ce4de,_0x59021e,_0x1714ac)=>{const _0x495a99=_0x431ece;_0x1714ac&&this[_0x495a99(0xd0)](_0x495a99(0xbd),_0x1e6902);}),_0x1e6902[_0x431ece(0xb2)]();const _0x51fc7c=this[_0x431ece(0xbb)](_0x1e6902[_0x431ece(0xce)][_0x431ece(0xd1)]);return super[_0x431ece(0xbc)](_0x1e6902,_0x51fc7c);}[_0x3efac8(0xc2)](_0x49c91a){const _0x3b60ca=_0x3efac8;if(!this[_0x3b60ca(0xc4)](_0x49c91a))throw new _0x1158dd(_0x3b60ca(0xba),null);this[_0x3b60ca(0xb4)](_0x49c91a[_0x3b60ca(0xce)][_0x3b60ca(0xd9)]),this[_0x3b60ca(0xb4)](_0x49c91a[_0x3b60ca(0xda)]);for(const _0xb38d4 of _0x49c91a[_0x3b60ca(0xda)])this[_0x3b60ca(0xde)][_0x3b60ca(0xc2)](_0xb38d4);return this[_0x3b60ca(0xbf)][_0x3b60ca(0xd3)](_0x49c91a[_0x3b60ca(0xce)]),this[_0x3b60ca(0xc3)][_0x3b60ca(0xd3)](_0x49c91a[_0x3b60ca(0xcd)]),super[_0x3b60ca(0xc2)](_0x49c91a);}[_0x3efac8(0xc5)](_0x555461){const _0x3b99bc=_0x3efac8;return this[_0x3b99bc(0xc3)][_0x3b99bc(0xb3)](_0x555461);}[_0x3efac8(0xc8)](_0x1fddfc){const _0x31b12a=_0x3efac8;return this[_0x31b12a(0xbf)][_0x31b12a(0xb3)](_0x1fddfc);}[_0x3efac8(0xbe)](){const _0x4c26cf=_0x3efac8;super[_0x4c26cf(0xcf)](),this[_0x4c26cf(0xb4)](),this[_0x4c26cf(0xc3)][_0x4c26cf(0xcf)](),this[_0x4c26cf(0xbf)][_0x4c26cf(0xcf)](),this[_0x4c26cf(0xde)][_0x4c26cf(0xbe)]();}[_0x3efac8(0xdc)](){const _0x134eb2=_0x3efac8;for(const _0x53dee1 of this)_0x53dee1[_0x134eb2(0xb2)]();this[_0x134eb2(0xb7)]();}[_0x3efac8(0xb7)](){const _0x501494=_0x3efac8,_0x2902d2=Array[_0x501494(0xcb)](this)[_0x501494(0xc6)]((_0x3072d3,_0x464f8d)=>v(_0x3072d3[_0x501494(0xce)][_0x501494(0xd1)],_0x464f8d[_0x501494(0xce)][_0x501494(0xd1)]));for(let _0x1803a9=_0x2902d2[_0x501494(0xd4)]-0x1;_0x1803a9>0x0;_0x1803a9--){const _0x2f551f=_0x2902d2[_0x1803a9];_0x1803a9!==this[_0x501494(0xdf)](_0x2f551f)&&(this[_0x501494(0xc2)](_0x2f551f),this[_0x501494(0xbc)](_0x2f551f));}}[_0x3efac8(0xbb)](_0x3c0604){const _0x39d228=_0x3efac8;let _0x521d9a=0x0;if(!_0x3c0604)return this[_0x39d228(0xd4)];for(const _0x743468 of this){const _0x3ddd33=_0x743468[_0x39d228(0xce)][_0x39d228(0xd1)];if(_0x3ddd33){if(v(_0x3c0604,_0x3ddd33)<0x0)return _0x521d9a;_0x521d9a++;}}return _0x521d9a;}}export function bindAnnotationCollections({source:_0x1c7a8c,target:_0x2c3602,filter:_0x1e490c}){const _0x57663a=_0x3efac8;for(const _0x115a03 of _0x1c7a8c)_0x1e490c(_0x115a03)&&_0x2c3602[_0x57663a(0xbc)](_0x115a03);_0x2c3602[_0x57663a(0xc1)](_0x1c7a8c,_0x57663a(0xbc),(_0x47b88c,_0x35a8f6)=>{const _0x145636=_0x57663a;_0x1e490c(_0x35a8f6)&&_0x2c3602[_0x145636(0xbc)](_0x35a8f6);}),_0x2c3602[_0x57663a(0xc1)](_0x1c7a8c,_0x57663a(0xc2),(_0xc57a4,_0x3dcb7e)=>{const _0x89c60a=_0x57663a;_0x2c3602[_0x89c60a(0xc4)](_0x3dcb7e)&&_0x2c3602[_0x89c60a(0xc2)](_0x3dcb7e);});}function v(_0x62fb18,_0x178fae){const _0x262cc2=_0x3efac8;if(null===_0x62fb18&&null===_0x178fae)return 0x0;if(null===_0x62fb18)return-0x1;if(null===_0x178fae)return 0x1;const _0x349d2b=_0x62fb18[_0x262cc2(0xca)]-_0x178fae[_0x262cc2(0xca)];return 0x0==_0x349d2b?_0x62fb18[_0x262cc2(0xc9)]-_0x178fae[_0x262cc2(0xc9)]:_0x349d2b;}
23
+ const _0x1985a3=_0x1429;(function(_0x3e4c7a,_0xd8915c){const _0x50434d=_0x1429,_0x22a83b=_0x3e4c7a();while(!![]){try{const _0x1fc6fc=parseInt(_0x50434d(0xf4))/0x1+parseInt(_0x50434d(0xd8))/0x2+parseInt(_0x50434d(0xd3))/0x3*(parseInt(_0x50434d(0xd2))/0x4)+-parseInt(_0x50434d(0xdd))/0x5*(parseInt(_0x50434d(0xd1))/0x6)+parseInt(_0x50434d(0xe5))/0x7*(-parseInt(_0x50434d(0xf6))/0x8)+-parseInt(_0x50434d(0xf7))/0x9+parseInt(_0x50434d(0xca))/0xa;if(_0x1fc6fc===_0xd8915c)break;else _0x22a83b['push'](_0x22a83b['shift']());}catch(_0x356c25){_0x22a83b['push'](_0x22a83b['shift']());}}}(_0x38ab,0xd83be));function _0x38ab(){const _0x232248=['clear','_innerViewToAnnotation','_viewToAnnotation','focus','_focusTracker','108wlIqkM','4403956XajHUI','3zMMOlD','delete','isFocused','getByInnerView','get','489786XXORKu','getIndex','updateTargetRect','focusTracker','_getOrderInContent','348470eZIrvS','annotationcollection-duplicated-item','listenTo','add','top','destroy','set','sort','475531TdzfOD','fire','annotationcollection-not-existing-item','has','targetRect','length','change:isFocused','left','from','view','_sort','refreshPositioning','stopListening','blur','focusableElements','1392565WaiDle','innerView','200evpwpV','420201NPLQtH','getByView','11467530qrvNMz','remove'];_0x38ab=function(){return _0x232248;};return _0x38ab();}import{CKEditorError as _0x55b7ec,Collection as _0x4dacb2,FocusTracker as _0x2a05fe}from'ckeditor5/src/utils.js';export default class x extends _0x4dacb2{constructor(_0x571c7b=[]){const _0x5661b7=_0x1429;super(),this[_0x5661b7(0xcd)]=new Map(),this[_0x5661b7(0xce)]=new Map(),this[_0x5661b7(0xd0)]=new _0x2a05fe(),this[_0x5661b7(0xd0)]['on'](_0x5661b7(0xeb),(_0x4ac06a,_0x4c88e5,_0x35e347)=>{const _0x417133=_0x5661b7;_0x35e347||this[_0x417133(0xe6)](_0x417133(0xf2));});for(const _0xaeba46 of _0x571c7b)this[_0x5661b7(0xe0)](_0xaeba46);}get[_0x1985a3(0xd5)](){const _0x205f00=_0x1985a3;return this[_0x205f00(0xd0)][_0x205f00(0xd5)];}[_0x1985a3(0xe0)](_0x2435a2){const _0xcb927b=_0x1985a3;if(this[_0xcb927b(0xe8)](_0x2435a2))throw new _0x55b7ec(_0xcb927b(0xde),null);this[_0xcb927b(0xcd)][_0xcb927b(0xe3)](_0x2435a2[_0xcb927b(0xf5)],_0x2435a2),this[_0xcb927b(0xce)][_0xcb927b(0xe3)](_0x2435a2[_0xcb927b(0xee)],_0x2435a2);for(const _0x4459f8 of _0x2435a2[_0xcb927b(0xf3)])this[_0xcb927b(0xd0)][_0xcb927b(0xe0)](_0x4459f8);this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xf3)],_0xcb927b(0xe0),(_0x1d5caa,_0x3d0cc8)=>{const _0x556f34=_0xcb927b;this[_0x556f34(0xd0)][_0x556f34(0xe0)](_0x3d0cc8);}),this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xf3)],_0xcb927b(0xcb),(_0x5101b7,_0x5c4678)=>{const _0x555ef5=_0xcb927b;this[_0x555ef5(0xd0)][_0x555ef5(0xcb)](_0x5c4678);}),this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xee)][_0xcb927b(0xdb)],_0xcb927b(0xeb),(_0x1c9f7c,_0x298da1,_0xa08519)=>{const _0x4b0953=_0xcb927b;_0xa08519&&this[_0x4b0953(0xe6)](_0x4b0953(0xcf),_0x2435a2);}),_0x2435a2[_0xcb927b(0xda)]();const _0x28de4f=this[_0xcb927b(0xdc)](_0x2435a2[_0xcb927b(0xee)][_0xcb927b(0xe9)]);return super[_0xcb927b(0xe0)](_0x2435a2,_0x28de4f);}[_0x1985a3(0xcb)](_0x23bc6e){const _0x54bd64=_0x1985a3;if(!this[_0x54bd64(0xe8)](_0x23bc6e))throw new _0x55b7ec(_0x54bd64(0xe7),null);this[_0x54bd64(0xf1)](_0x23bc6e[_0x54bd64(0xee)][_0x54bd64(0xdb)]),this[_0x54bd64(0xf1)](_0x23bc6e[_0x54bd64(0xf3)]);for(const _0x26cba8 of _0x23bc6e[_0x54bd64(0xf3)])this[_0x54bd64(0xd0)][_0x54bd64(0xcb)](_0x26cba8);return this[_0x54bd64(0xce)][_0x54bd64(0xd4)](_0x23bc6e[_0x54bd64(0xee)]),this[_0x54bd64(0xcd)][_0x54bd64(0xd4)](_0x23bc6e[_0x54bd64(0xf5)]),super[_0x54bd64(0xcb)](_0x23bc6e);}[_0x1985a3(0xd6)](_0x5e4120){const _0xc7fb35=_0x1985a3;return this[_0xc7fb35(0xcd)][_0xc7fb35(0xd7)](_0x5e4120);}[_0x1985a3(0xc9)](_0x3ab40e){const _0x35a0fd=_0x1985a3;return this[_0x35a0fd(0xce)][_0x35a0fd(0xd7)](_0x3ab40e);}[_0x1985a3(0xe2)](){const _0x28eeff=_0x1985a3;super[_0x28eeff(0xcc)](),this[_0x28eeff(0xf1)](),this[_0x28eeff(0xcd)][_0x28eeff(0xcc)](),this[_0x28eeff(0xce)][_0x28eeff(0xcc)](),this[_0x28eeff(0xd0)][_0x28eeff(0xe2)]();}[_0x1985a3(0xf0)](){const _0x423b9b=_0x1985a3;for(const _0xdad858 of this)_0xdad858[_0x423b9b(0xda)]();this[_0x423b9b(0xef)]();}[_0x1985a3(0xef)](){const _0x442483=_0x1985a3,_0x264635=Array[_0x442483(0xed)](this)[_0x442483(0xe4)]((_0x2902dd,_0x146cae)=>v(_0x2902dd[_0x442483(0xee)][_0x442483(0xe9)],_0x146cae[_0x442483(0xee)][_0x442483(0xe9)]));for(let _0x1a2469=_0x264635[_0x442483(0xea)]-0x1;_0x1a2469>0x0;_0x1a2469--){const _0x1ca00c=_0x264635[_0x1a2469];_0x1a2469!==this[_0x442483(0xd9)](_0x1ca00c)&&(this[_0x442483(0xcb)](_0x1ca00c),this[_0x442483(0xe0)](_0x1ca00c));}}[_0x1985a3(0xdc)](_0x5d4f9f){const _0x1202f0=_0x1985a3;let _0x304909=0x0;if(!_0x5d4f9f)return this[_0x1202f0(0xea)];for(const _0x50a1d8 of this){const _0x478a1b=_0x50a1d8[_0x1202f0(0xee)][_0x1202f0(0xe9)];if(_0x478a1b){if(v(_0x5d4f9f,_0x478a1b)<0x0)return _0x304909;_0x304909++;}}return _0x304909;}}function _0x1429(_0x336098,_0x504f60){const _0x38ab69=_0x38ab();return _0x1429=function(_0x1429b4,_0x3140e0){_0x1429b4=_0x1429b4-0xc9;let _0x4174b2=_0x38ab69[_0x1429b4];return _0x4174b2;},_0x1429(_0x336098,_0x504f60);}export function bindAnnotationCollections({source:_0x39cfbf,target:_0x4c211b,filter:_0x5ed1e8}){const _0x28b17a=_0x1985a3;for(const _0x10b120 of _0x39cfbf)_0x5ed1e8(_0x10b120)&&_0x4c211b[_0x28b17a(0xe0)](_0x10b120);_0x4c211b[_0x28b17a(0xdf)](_0x39cfbf,_0x28b17a(0xe0),(_0x5c216d,_0x2b875c)=>{const _0x35f1de=_0x28b17a;_0x5ed1e8(_0x2b875c)&&_0x4c211b[_0x35f1de(0xe0)](_0x2b875c);}),_0x4c211b[_0x28b17a(0xdf)](_0x39cfbf,_0x28b17a(0xcb),(_0x1d6493,_0x51b749)=>{const _0xcfa938=_0x28b17a;_0x4c211b[_0xcfa938(0xe8)](_0x51b749)&&_0x4c211b[_0xcfa938(0xcb)](_0x51b749);});}function v(_0x1240cf,_0x5b957a){const _0x109fb2=_0x1985a3;if(null===_0x1240cf&&null===_0x5b957a)return 0x0;if(null===_0x1240cf)return-0x1;if(null===_0x5b957a)return 0x1;const _0x39a706=_0x1240cf[_0x109fb2(0xe1)]-_0x5b957a[_0x109fb2(0xe1)];return 0x0==_0x39a706?_0x1240cf[_0x109fb2(0xec)]-_0x5b957a[_0x109fb2(0xec)]:_0x39a706;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3acd(_0xbf7a1a,_0x133e12){const _0x460721=_0x4607();return _0x3acd=function(_0x3acdc6,_0x3f0426){_0x3acdc6=_0x3acdc6-0x197;let _0x140bdb=_0x460721[_0x3acdc6];return _0x140bdb;},_0x3acd(_0xbf7a1a,_0x133e12);}const _0x2b1880=_0x3acd;(function(_0xb60345,_0x4816de){const _0x3b969a=_0x3acd,_0x25a903=_0xb60345();while(!![]){try{const _0x9fd647=parseInt(_0x3b969a(0x1a6))/0x1+-parseInt(_0x3b969a(0x1b4))/0x2+-parseInt(_0x3b969a(0x1ac))/0x3+parseInt(_0x3b969a(0x1bd))/0x4+parseInt(_0x3b969a(0x1b1))/0x5*(-parseInt(_0x3b969a(0x1b2))/0x6)+parseInt(_0x3b969a(0x1ad))/0x7+-parseInt(_0x3b969a(0x1be))/0x8;if(_0x9fd647===_0x4816de)break;else _0x25a903['push'](_0x25a903['shift']());}catch(_0x4cdc6b){_0x25a903['push'](_0x25a903['shift']());}}}(_0x4607,0x4e0dd));import{ContextPlugin as _0x2763a3}from'ckeditor5/src/core.js';import _0x1ddf45 from'./annotation.js';import _0x197c74 from'./annotationcollection.js';function _0x4607(){const _0x555cbc=['deactivateAll','pluginName','512440xvXxpx','isVisible','element','focusTracker','stopListening','activate','82464kEUEno','1493541LCvLdU','getByInnerView','remove','refreshVisibility','917860ERrmWx','18ERSozv','activeAnnotations','552834JuZEwe','refreshPositioning','_addActiveAnnotation','createAnnotation','add','fire','createAnnotationView','_visibleAnnotations','change:isVisible','1950140qYKdkP','312064QHPUZP','delete','source','has','_activateAnnotation','listenTo','_bindAnnotationsToVisibleAnnotations','view','destroy','collection','set','Annotations','_removeActiveAnnotation','_deactivateAllAnnotations'];_0x4607=function(){return _0x555cbc;};return _0x4607();}import _0x2a4789 from'./view/annotationview.js';export default class b extends _0x2763a3{static get[_0x2b1880(0x1a5)](){const _0x303055=_0x2b1880;return _0x303055(0x1a1);}constructor(_0x2224c9){const _0x5c49b5=_0x2b1880;super(_0x2224c9),this[_0x5c49b5(0x19f)]=new _0x197c74(),this[_0x5c49b5(0x1bb)]=new _0x197c74(),this[_0x5c49b5(0x1a0)](_0x5c49b5(0x1b3),new Set()),this[_0x5c49b5(0x19c)]();}[_0x2b1880(0x1b8)](_0x399d76){const _0x16ea22=_0x2b1880;this[_0x16ea22(0x19f)][_0x16ea22(0x1b8)](_0x399d76);}[_0x2b1880(0x1af)](_0x21efec){const _0x11d342=_0x2b1880;this[_0x11d342(0x19f)][_0x11d342(0x1af)](_0x21efec),_0x21efec[_0x11d342(0x19e)]();}[_0x2b1880(0x1b0)](){const _0x4eaae2=_0x2b1880;for(const _0x238428 of this[_0x4eaae2(0x19f)])_0x238428[_0x4eaae2(0x1b0)]();}[_0x2b1880(0x1b5)](){const _0x2802e4=_0x2b1880;this[_0x2802e4(0x1bb)][_0x2802e4(0x1b5)]();}[_0x2b1880(0x1ae)](_0x4684ac){const _0x554d3b=_0x2b1880;return this[_0x554d3b(0x19f)][_0x554d3b(0x1ae)](_0x4684ac);}[_0x2b1880(0x1a4)](){const _0x52794d=_0x2b1880;this[_0x52794d(0x1b9)](_0x52794d(0x1a3));}[_0x2b1880(0x19e)](){const _0x4f5222=_0x2b1880;for(const _0x491617 of this[_0x4f5222(0x19f)])_0x491617[_0x4f5222(0x19e)]();this[_0x4f5222(0x1bb)][_0x4f5222(0x19e)](),this[_0x4f5222(0x19f)][_0x4f5222(0x19e)](),super[_0x4f5222(0x19e)]();}[_0x2b1880(0x1ab)](_0x59c98a){const _0x153364=_0x2b1880;this[_0x153364(0x1b9)](_0x153364(0x19a),_0x59c98a);}[_0x2b1880(0x1b7)](_0x11122c){return new _0x1ddf45(_0x11122c);}[_0x2b1880(0x1ba)](_0x5870e0,_0x4b689b){return new _0x2a4789(_0x5870e0,_0x4b689b);}[_0x2b1880(0x1b6)](_0x2fda66){const _0x1c4c8a=_0x2b1880,_0x411613=new Set(this[_0x1c4c8a(0x1b3)]);_0x411613[_0x1c4c8a(0x1b8)](_0x2fda66),this[_0x1c4c8a(0x1b3)]=_0x411613;}[_0x2b1880(0x1a2)](_0x30495b){const _0x579ccc=_0x2b1880,_0x153117=new Set(this[_0x579ccc(0x1b3)]);_0x153117[_0x579ccc(0x197)](_0x30495b),this[_0x579ccc(0x1b3)]=_0x153117;}[_0x2b1880(0x19c)](){const _0x94ab12=_0x2b1880,_0x42ba70=this[_0x94ab12(0x19f)],_0x337e20=this[_0x94ab12(0x1bb)];function _0x4be06b(_0x36a394){const _0x195abc=_0x94ab12,_0x5a649e=_0x36a394[_0x195abc(0x198)];_0x5a649e[_0x195abc(0x1a7)]&&!_0x337e20[_0x195abc(0x199)](_0x5a649e)?_0x337e20[_0x195abc(0x1b8)](_0x5a649e):!_0x5a649e[_0x195abc(0x1a7)]&&_0x337e20[_0x195abc(0x199)](_0x5a649e)&&_0x337e20[_0x195abc(0x1af)](_0x5a649e),_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a9)][_0x195abc(0x1af)](_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a8)]),_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a9)][_0x195abc(0x1b8)](_0x5a649e[_0x195abc(0x19d)][_0x195abc(0x1a8)]);}this[_0x94ab12(0x19b)](_0x42ba70,_0x94ab12(0x1b8),(_0x663b1b,_0x347e3e)=>{const _0x53c800=_0x94ab12;_0x347e3e[_0x53c800(0x1a7)]&&_0x337e20[_0x53c800(0x1b8)](_0x347e3e),this[_0x53c800(0x19b)](_0x347e3e,_0x53c800(0x1bc),_0x4be06b);}),this[_0x94ab12(0x19b)](_0x42ba70,_0x94ab12(0x1af),(_0x2c3d2f,_0x2f8b0f)=>{const _0x49e914=_0x94ab12;_0x337e20[_0x49e914(0x199)](_0x2f8b0f)&&_0x337e20[_0x49e914(0x1af)](_0x2f8b0f),this[_0x49e914(0x1aa)](_0x2f8b0f,_0x49e914(0x1bc),_0x4be06b);});}}
23
+ const _0x43e53c=_0x5038;function _0x3a80(){const _0x4bb95c=['_bindAnnotationsToVisibleAnnotations','collection','_activateAnnotation','activate','552211WGJBvg','set','change:isVisible','element','444XinmkV','isVisible','pluginName','260132RDyfqA','has','_removeActiveAnnotation','2MTAmKR','_visibleAnnotations','refreshPositioning','fire','_deactivateAllAnnotations','source','add','970680bjNtsk','28nSbyPA','delete','view','2928140HqoUEs','listenTo','createAnnotationView','refreshVisibility','_addActiveAnnotation','activeAnnotations','1758170WrkhHz','getByInnerView','9xJocAJ','326718jwfoLG','remove','Annotations','14mMvWEX','createAnnotation','205005KSZVml','focusTracker','destroy','stopListening','deactivateAll'];_0x3a80=function(){return _0x4bb95c;};return _0x3a80();}function _0x5038(_0x31027b,_0x1d2cad){const _0x3a8015=_0x3a80();return _0x5038=function(_0x5038c0,_0x1c4907){_0x5038c0=_0x5038c0-0xaa;let _0x2eb49b=_0x3a8015[_0x5038c0];return _0x2eb49b;},_0x5038(_0x31027b,_0x1d2cad);}(function(_0x556f6f,_0x4e064c){const _0x3a9753=_0x5038,_0x39de53=_0x556f6f();while(!![]){try{const _0x30f042=-parseInt(_0x3a9753(0xc8))/0x1*(parseInt(_0x3a9753(0xc5))/0x2)+parseInt(_0x3a9753(0xb5))/0x3*(-parseInt(_0x3a9753(0xd0))/0x4)+-parseInt(_0x3a9753(0xad))/0x5+parseInt(_0x3a9753(0xb0))/0x6*(-parseInt(_0x3a9753(0xb3))/0x7)+parseInt(_0x3a9753(0xcf))/0x8*(-parseInt(_0x3a9753(0xaf))/0x9)+-parseInt(_0x3a9753(0xd3))/0xa+-parseInt(_0x3a9753(0xbe))/0xb*(-parseInt(_0x3a9753(0xc2))/0xc);if(_0x30f042===_0x4e064c)break;else _0x39de53['push'](_0x39de53['shift']());}catch(_0x21ab21){_0x39de53['push'](_0x39de53['shift']());}}}(_0x3a80,0x3ba2f));import{ContextPlugin as _0x361701}from'ckeditor5/src/core.js';import _0x569183 from'./annotation.js';import _0x5ad8b0 from'./annotationcollection.js';import _0x457df2 from'./view/annotationview.js';export default class b extends _0x361701{static get[_0x43e53c(0xc4)](){const _0x18f0e5=_0x43e53c;return _0x18f0e5(0xb2);}constructor(_0x49a521){const _0x1a5ad0=_0x43e53c;super(_0x49a521),this[_0x1a5ad0(0xbb)]=new _0x5ad8b0(),this[_0x1a5ad0(0xc9)]=new _0x5ad8b0(),this[_0x1a5ad0(0xbf)](_0x1a5ad0(0xac),new Set()),this[_0x1a5ad0(0xba)]();}[_0x43e53c(0xce)](_0x161cc4){const _0xdea9b0=_0x43e53c;this[_0xdea9b0(0xbb)][_0xdea9b0(0xce)](_0x161cc4);}[_0x43e53c(0xb1)](_0x201d01){const _0x31f113=_0x43e53c;this[_0x31f113(0xbb)][_0x31f113(0xb1)](_0x201d01),_0x201d01[_0x31f113(0xb7)]();}[_0x43e53c(0xaa)](){const _0xf0ba88=_0x43e53c;for(const _0x68a45a of this[_0xf0ba88(0xbb)])_0x68a45a[_0xf0ba88(0xaa)]();}[_0x43e53c(0xca)](){const _0x12f697=_0x43e53c;this[_0x12f697(0xc9)][_0x12f697(0xca)]();}[_0x43e53c(0xae)](_0x36867a){const _0x19f89d=_0x43e53c;return this[_0x19f89d(0xbb)][_0x19f89d(0xae)](_0x36867a);}[_0x43e53c(0xb9)](){const _0x9ae867=_0x43e53c;this[_0x9ae867(0xcb)](_0x9ae867(0xcc));}[_0x43e53c(0xb7)](){const _0x40cf53=_0x43e53c;for(const _0x269f95 of this[_0x40cf53(0xbb)])_0x269f95[_0x40cf53(0xb7)]();this[_0x40cf53(0xc9)][_0x40cf53(0xb7)](),this[_0x40cf53(0xbb)][_0x40cf53(0xb7)](),super[_0x40cf53(0xb7)]();}[_0x43e53c(0xbd)](_0x52dc97){const _0x37a83b=_0x43e53c;this[_0x37a83b(0xcb)](_0x37a83b(0xbc),_0x52dc97);}[_0x43e53c(0xb4)](_0x24ed7b){return new _0x569183(_0x24ed7b);}[_0x43e53c(0xd5)](_0x23b350,_0x42fbf9){return new _0x457df2(_0x23b350,_0x42fbf9);}[_0x43e53c(0xab)](_0x5895e0){const _0x1162c2=_0x43e53c,_0x2d00bb=new Set(this[_0x1162c2(0xac)]);_0x2d00bb[_0x1162c2(0xce)](_0x5895e0),this[_0x1162c2(0xac)]=_0x2d00bb;}[_0x43e53c(0xc7)](_0x2a99fc){const _0x5815b7=_0x43e53c,_0x24a8ae=new Set(this[_0x5815b7(0xac)]);_0x24a8ae[_0x5815b7(0xd1)](_0x2a99fc),this[_0x5815b7(0xac)]=_0x24a8ae;}[_0x43e53c(0xba)](){const _0x814324=_0x43e53c,_0x4dda7b=this[_0x814324(0xbb)],_0x19a2f4=this[_0x814324(0xc9)];function _0x2fa77e(_0x415bbc){const _0x4163ce=_0x814324,_0x253c0c=_0x415bbc[_0x4163ce(0xcd)];_0x253c0c[_0x4163ce(0xc3)]&&!_0x19a2f4[_0x4163ce(0xc6)](_0x253c0c)?_0x19a2f4[_0x4163ce(0xce)](_0x253c0c):!_0x253c0c[_0x4163ce(0xc3)]&&_0x19a2f4[_0x4163ce(0xc6)](_0x253c0c)&&_0x19a2f4[_0x4163ce(0xb1)](_0x253c0c),_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xb6)][_0x4163ce(0xb1)](_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xc1)]),_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xb6)][_0x4163ce(0xce)](_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xc1)]);}this[_0x814324(0xd4)](_0x4dda7b,_0x814324(0xce),(_0x533e28,_0x152641)=>{const _0x2ff3cf=_0x814324;_0x152641[_0x2ff3cf(0xc3)]&&_0x19a2f4[_0x2ff3cf(0xce)](_0x152641),this[_0x2ff3cf(0xd4)](_0x152641,_0x2ff3cf(0xc0),_0x2fa77e);}),this[_0x814324(0xd4)](_0x4dda7b,_0x814324(0xb1),(_0xf25f15,_0x22d231)=>{const _0xcce1fa=_0x814324;_0x19a2f4[_0xcce1fa(0xc6)](_0x22d231)&&_0x19a2f4[_0xcce1fa(0xb1)](_0x22d231),this[_0xcce1fa(0xb8)](_0x22d231,_0xcce1fa(0xc0),_0x2fa77e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16f496=_0x4165;(function(_0x3383f1,_0x11fd84){const _0x565c6c=_0x4165,_0x539003=_0x3383f1();while(!![]){try{const _0x20b2bc=parseInt(_0x565c6c(0x11f))/0x1+-parseInt(_0x565c6c(0x119))/0x2*(-parseInt(_0x565c6c(0x120))/0x3)+parseInt(_0x565c6c(0x12a))/0x4*(-parseInt(_0x565c6c(0x128))/0x5)+parseInt(_0x565c6c(0x10c))/0x6+-parseInt(_0x565c6c(0x13b))/0x7*(parseInt(_0x565c6c(0x124))/0x8)+-parseInt(_0x565c6c(0x11c))/0x9+parseInt(_0x565c6c(0x10e))/0xa;if(_0x20b2bc===_0x11fd84)break;else _0x539003['push'](_0x539003['shift']());}catch(_0x2d606b){_0x539003['push'](_0x539003['shift']());}}}(_0x5066,0xf1eef));import{ContextPlugin as _0x13fbad}from'ckeditor5/src/core.js';import{CKEditorError as _0x1b7512}from'ckeditor5/src/utils.js';function _0x5066(){const _0x28e97d=['_activateAnnotation','register','_deactivateAllAnnotations','filter','deactivate','get','931758icDFLF','_setSelectedAnnotations','14395270IKiZZf','destroy','plugins','_removeActiveAnnotation','push','annotationsuis-register-invalid-interface','set','attach','init','_visibleAnnotations','setActiveAnnotation','2sjHyha','find','annotationsuis-register-already-registered','6391584zWYHBf','switchTo','remove','1833335yRgGIu','3268926HGYFUS','context','isActive','hasActive','96VPonqi','_assertAnnotationDoesNotBelongToMultipleUIs','length','annotationsuis-annotation-mismatch','3170dPbKXp','change:activeAnnotation','9460GJgDpD','listenTo','type','_uisData','delete','detach','refilterAnnotations','activeUIs','from','size','pluginName','has','stopListening','add','deactivateAll','AnnotationsUIs','activate','768397ctaKwu','function','annotationsuis-missing-ui','requires','activeAnnotations','_uis','_addActiveAnnotation','collection'];_0x5066=function(){return _0x28e97d;};return _0x5066();}import _0x3d7b35,{bindAnnotationCollections as _0x40d3d8}from'./annotationcollection.js';import _0x43c000 from'./annotations.js';function _0x4165(_0x11d500,_0x3f3528){const _0x506691=_0x5066();return _0x4165=function(_0x4165f9,_0x456371){_0x4165f9=_0x4165f9-0x103;let _0x1fdaab=_0x506691[_0x4165f9];return _0x1fdaab;},_0x4165(_0x11d500,_0x3f3528);}export default class j extends _0x13fbad{static get[_0x16f496(0x13e)](){return[_0x43c000];}static get[_0x16f496(0x134)](){const _0x29e5be=_0x16f496;return _0x29e5be(0x139);}constructor(_0x5056e4){const _0x773c58=_0x16f496;super(_0x5056e4),this[_0x773c58(0x131)]=new Set(),this[_0x773c58(0x103)]=new Map(),this[_0x773c58(0x12d)]=new Map();}[_0x16f496(0x116)](){const _0x2b58ff=_0x16f496,_0x5d1f1f=this[_0x2b58ff(0x121)][_0x2b58ff(0x110)][_0x2b58ff(0x10b)](_0x43c000);this[_0x2b58ff(0x12b)](_0x5d1f1f,_0x2b58ff(0x106),(_0x2116f1,_0x31ab7f)=>{const _0x500d6c=_0x2b58ff;for(const _0x258460 of this[_0x500d6c(0x131)]){const _0xc5633d=this[_0x500d6c(0x103)][_0x500d6c(0x10b)](_0x258460);(0x0,this[_0x500d6c(0x12d)][_0x500d6c(0x10b)](_0x258460)[_0x500d6c(0x109)])(_0x31ab7f)&&_0xc5633d[_0x500d6c(0x118)](_0x31ab7f);}}),this[_0x2b58ff(0x12b)](_0x5d1f1f,_0x2b58ff(0x108),()=>{const _0x337f05=_0x2b58ff;for(const _0x3660d3 of this[_0x337f05(0x131)]){this[_0x337f05(0x103)][_0x337f05(0x10b)](_0x3660d3)[_0x337f05(0x118)](null);}}),this[_0x2b58ff(0x12b)](_0x5d1f1f[_0x2b58ff(0x117)],_0x2b58ff(0x137),(_0x6cce17,_0x3b1d25)=>{const _0xd6ee4a=_0x2b58ff;this[_0xd6ee4a(0x125)](_0x3b1d25);});}[_0x16f496(0x123)](){const _0x558374=_0x16f496;return this[_0x558374(0x131)][_0x558374(0x133)]>0x0;}[_0x16f496(0x122)](_0x6d4b99){const _0x20d4ba=_0x16f496;return this[_0x20d4ba(0x131)][_0x20d4ba(0x135)](_0x6d4b99);}[_0x16f496(0x13a)](_0xec189,_0x39861f=()=>!0x0){const _0x5523a3=_0x16f496,_0x8b48e2=this[_0x5523a3(0x121)][_0x5523a3(0x110)][_0x5523a3(0x10b)](_0x43c000);if(!this[_0x5523a3(0x103)][_0x5523a3(0x135)](_0xec189))throw new _0x1b7512(_0x5523a3(0x13d),this,{'uiName':_0xec189});this[_0x5523a3(0x122)](_0xec189)&&this[_0x5523a3(0x10a)](_0xec189),this[_0x5523a3(0x131)][_0x5523a3(0x137)](_0xec189);const _0x575627=new _0x3d7b35(),_0x1776f5=_0x8b48e2[_0x5523a3(0x117)];_0x40d3d8({'source':_0x1776f5,'target':_0x575627,'filter':_0x39861f}),this[_0x5523a3(0x12d)][_0x5523a3(0x114)](_0xec189,{'collection':_0x575627,'filter':_0x39861f});const _0x35d6b2=this[_0x5523a3(0x103)][_0x5523a3(0x10b)](_0xec189);_0x35d6b2[_0x5523a3(0x115)](_0x575627),this[_0x5523a3(0x12b)](_0x35d6b2,_0x5523a3(0x129),(_0x4d19b8,_0xc957f6,_0x4c77b2,_0x550fdc)=>{const _0x26dc46=_0x5523a3;_0x550fdc&&_0x8b48e2[_0x26dc46(0x111)](_0x550fdc),_0x4c77b2&&_0x8b48e2[_0x26dc46(0x104)](_0x4c77b2);});}[_0x16f496(0x10a)](_0x3c2f97){const _0x21b427=_0x16f496;if(this[_0x21b427(0x131)][_0x21b427(0x12e)](_0x3c2f97),!this[_0x21b427(0x103)][_0x21b427(0x135)](_0x3c2f97))throw new _0x1b7512(_0x21b427(0x13d),this,{'uiName':_0x3c2f97});const _0x282723=this[_0x21b427(0x103)][_0x21b427(0x10b)](_0x3c2f97);_0x282723[_0x21b427(0x12f)](),this[_0x21b427(0x136)](_0x282723),this[_0x21b427(0x12d)][_0x21b427(0x10b)](_0x3c2f97)[_0x21b427(0x105)][_0x21b427(0x10f)](),this[_0x21b427(0x12d)][_0x21b427(0x12e)](_0x3c2f97);}[_0x16f496(0x11d)](_0x305fbe){const _0x258cfa=_0x16f496;if(!this[_0x258cfa(0x103)][_0x258cfa(0x135)](_0x305fbe))throw new _0x1b7512(_0x258cfa(0x13d),this,{'uiName':_0x305fbe});const _0x24f1c6=this[_0x258cfa(0x121)][_0x258cfa(0x110)][_0x258cfa(0x10b)](_0x43c000),_0x37fb85=Array[_0x258cfa(0x132)](_0x24f1c6[_0x258cfa(0x13f)])[0x0]||null;this[_0x258cfa(0x138)](),this[_0x258cfa(0x13a)](_0x305fbe);const _0xf2a924=this[_0x258cfa(0x103)][_0x258cfa(0x10b)](_0x305fbe);_0xf2a924[_0x258cfa(0x118)](_0x37fb85),_0xf2a924[_0x258cfa(0x10d)]&&_0x37fb85&&_0xf2a924[_0x258cfa(0x10d)]([_0x37fb85]);}[_0x16f496(0x138)](){const _0xcfc36b=_0x16f496;for(const _0x3472d4 of this[_0xcfc36b(0x131)])this[_0xcfc36b(0x10a)](_0x3472d4);}[_0x16f496(0x107)](_0x462b9c,_0x25f521){const _0x8dbba3=_0x16f496;if(this[_0x8dbba3(0x103)][_0x8dbba3(0x135)](_0x462b9c))throw new _0x1b7512(_0x8dbba3(0x11b));if(_0x8dbba3(0x13c)!=typeof _0x25f521[_0x8dbba3(0x115)]||_0x8dbba3(0x13c)!=typeof _0x25f521[_0x8dbba3(0x12f)]||_0x8dbba3(0x13c)!=typeof _0x25f521[_0x8dbba3(0x118)])throw new _0x1b7512(_0x8dbba3(0x113),null);this[_0x8dbba3(0x103)][_0x8dbba3(0x114)](_0x462b9c,_0x25f521);}[_0x16f496(0x130)](){const _0xd973e4=_0x16f496,_0x4b0679=this[_0xd973e4(0x121)][_0xd973e4(0x110)][_0xd973e4(0x10b)](_0x43c000)[_0xd973e4(0x105)],_0x19b5c7=new Map(),_0x14523f=Array[_0xd973e4(0x132)](this[_0xd973e4(0x131)]);for(const _0xb68a8d of this[_0xd973e4(0x131)]){const _0x35a888=this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0xb68a8d)[_0xd973e4(0x105)];for(const _0x493fa2 of _0x35a888)_0x19b5c7[_0xd973e4(0x114)](_0x493fa2,_0xb68a8d);}for(const _0x5f2343 of _0x4b0679){const _0x47fcf2=_0x19b5c7[_0xd973e4(0x10b)](_0x5f2343);this[_0xd973e4(0x125)](_0x5f2343);const _0x1f4243=_0x14523f[_0xd973e4(0x11a)](_0x1564a8=>this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0x1564a8)[_0xd973e4(0x109)](_0x5f2343));_0x47fcf2!==_0x1f4243&&(_0x47fcf2&&this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0x47fcf2)[_0xd973e4(0x105)][_0xd973e4(0x11e)](_0x5f2343),_0x1f4243&&this[_0xd973e4(0x12d)][_0xd973e4(0x10b)](_0x1f4243)[_0xd973e4(0x105)][_0xd973e4(0x137)](_0x5f2343));}}[_0x16f496(0x10f)](){const _0x46c6b1=_0x16f496;this[_0x46c6b1(0x138)](),super[_0x46c6b1(0x10f)]();}[_0x16f496(0x125)](_0x466f5c){const _0x3158a7=_0x16f496,_0x1a038d=[];for(const _0x398605 of this[_0x3158a7(0x131)]){(0x0,this[_0x3158a7(0x12d)][_0x3158a7(0x10b)](_0x398605)[_0x3158a7(0x109)])(_0x466f5c)&&_0x1a038d[_0x3158a7(0x112)](_0x398605);}if(_0x1a038d[_0x3158a7(0x126)]>0x1)throw new _0x1b7512(_0x3158a7(0x127),null,{'matchedUIs':_0x1a038d,'annotationType':_0x466f5c[_0x3158a7(0x12c)]});}}
23
+ const _0x466f76=_0x18d5;(function(_0x2a3004,_0xee98ab){const _0x2227db=_0x18d5,_0x49b3af=_0x2a3004();while(!![]){try{const _0x163aa4=parseInt(_0x2227db(0x128))/0x1*(-parseInt(_0x2227db(0x101))/0x2)+parseInt(_0x2227db(0x11e))/0x3+parseInt(_0x2227db(0x12d))/0x4+parseInt(_0x2227db(0x120))/0x5*(-parseInt(_0x2227db(0x122))/0x6)+parseInt(_0x2227db(0x12b))/0x7+-parseInt(_0x2227db(0x119))/0x8*(parseInt(_0x2227db(0x11b))/0x9)+parseInt(_0x2227db(0xf6))/0xa;if(_0x163aa4===_0xee98ab)break;else _0x49b3af['push'](_0x49b3af['shift']());}catch(_0x3b906a){_0x49b3af['push'](_0x49b3af['shift']());}}}(_0x291a,0x9141c));import{ContextPlugin as _0x4291a1}from'ckeditor5/src/core.js';function _0x18d5(_0x2f1033,_0x27fafb){const _0x291a94=_0x291a();return _0x18d5=function(_0x18d547,_0x42578d){_0x18d547=_0x18d547-0xf5;let _0x3e466a=_0x291a94[_0x18d547];return _0x3e466a;},_0x18d5(_0x2f1033,_0x27fafb);}import{CKEditorError as _0x494824}from'ckeditor5/src/utils.js';function _0x291a(){const _0x15eb7e=['_addActiveAnnotation','activeUIs','attach','remove','71171Tbwkhq','pluginName','_removeActiveAnnotation','3554600rocPIt','annotationsuis-missing-ui','2447000zykzRw','AnnotationsUIs','collection','_assertAnnotationDoesNotBelongToMultipleUIs','refilterAnnotations','switchTo','14845970mkpWdn','plugins','context','_visibleAnnotations','annotationsuis-annotation-mismatch','delete','annotationsuis-register-already-registered','listenTo','isActive','find','change:activeAnnotation','24wLhAcD','_uis','annotationsuis-register-invalid-interface','deactivate','push','init','has','_activateAnnotation','add','stopListening','_uisData','get','type','deactivateAll','_deactivateAllAnnotations','set','size','hasActive','_setSelectedAnnotations','filter','setActiveAnnotation','register','function','detach','8tLiUys','from','3423591yyeZls','activeAnnotations','requires','530838HXBtmV','length','50wXwKAN','activate','571002uSqvjz','destroy'];_0x291a=function(){return _0x15eb7e;};return _0x291a();}import _0x5dc732,{bindAnnotationCollections as _0x398b08}from'./annotationcollection.js';import _0x2353bc from'./annotations.js';export default class j extends _0x4291a1{static get[_0x466f76(0x11d)](){return[_0x2353bc];}static get[_0x466f76(0x129)](){const _0x37f5cb=_0x466f76;return _0x37f5cb(0x12e);}constructor(_0x534de6){const _0x3db027=_0x466f76;super(_0x534de6),this[_0x3db027(0x125)]=new Set(),this[_0x3db027(0x102)]=new Map(),this[_0x3db027(0x10b)]=new Map();}[_0x466f76(0x106)](){const _0x319f42=_0x466f76,_0x7304cb=this[_0x319f42(0xf8)][_0x319f42(0xf7)][_0x319f42(0x10c)](_0x2353bc);this[_0x319f42(0xfd)](_0x7304cb,_0x319f42(0x108),(_0x33f699,_0x4ca035)=>{const _0x390ff3=_0x319f42;for(const _0x1d7a8f of this[_0x390ff3(0x125)]){const _0x8e39a5=this[_0x390ff3(0x102)][_0x390ff3(0x10c)](_0x1d7a8f);(0x0,this[_0x390ff3(0x10b)][_0x390ff3(0x10c)](_0x1d7a8f)[_0x390ff3(0x114)])(_0x4ca035)&&_0x8e39a5[_0x390ff3(0x115)](_0x4ca035);}}),this[_0x319f42(0xfd)](_0x7304cb,_0x319f42(0x10f),()=>{const _0x4fb97d=_0x319f42;for(const _0x3b9d02 of this[_0x4fb97d(0x125)]){this[_0x4fb97d(0x102)][_0x4fb97d(0x10c)](_0x3b9d02)[_0x4fb97d(0x115)](null);}}),this[_0x319f42(0xfd)](_0x7304cb[_0x319f42(0xf9)],_0x319f42(0x109),(_0x5177b3,_0x31e41f)=>{const _0x2ac2ca=_0x319f42;this[_0x2ac2ca(0x130)](_0x31e41f);});}[_0x466f76(0x112)](){const _0x2f6056=_0x466f76;return this[_0x2f6056(0x125)][_0x2f6056(0x111)]>0x0;}[_0x466f76(0xfe)](_0x59f3b9){const _0x4f88c4=_0x466f76;return this[_0x4f88c4(0x125)][_0x4f88c4(0x107)](_0x59f3b9);}[_0x466f76(0x121)](_0x1ad8d5,_0x2084cc=()=>!0x0){const _0x358afc=_0x466f76,_0x14cb13=this[_0x358afc(0xf8)][_0x358afc(0xf7)][_0x358afc(0x10c)](_0x2353bc);if(!this[_0x358afc(0x102)][_0x358afc(0x107)](_0x1ad8d5))throw new _0x494824(_0x358afc(0x12c),this,{'uiName':_0x1ad8d5});this[_0x358afc(0xfe)](_0x1ad8d5)&&this[_0x358afc(0x104)](_0x1ad8d5),this[_0x358afc(0x125)][_0x358afc(0x109)](_0x1ad8d5);const _0x4ae2a3=new _0x5dc732(),_0x49a519=_0x14cb13[_0x358afc(0xf9)];_0x398b08({'source':_0x49a519,'target':_0x4ae2a3,'filter':_0x2084cc}),this[_0x358afc(0x10b)][_0x358afc(0x110)](_0x1ad8d5,{'collection':_0x4ae2a3,'filter':_0x2084cc});const _0x441ab9=this[_0x358afc(0x102)][_0x358afc(0x10c)](_0x1ad8d5);_0x441ab9[_0x358afc(0x126)](_0x4ae2a3),this[_0x358afc(0xfd)](_0x441ab9,_0x358afc(0x100),(_0xa6fd53,_0x14ec81,_0x700116,_0xe427d6)=>{const _0x41f81e=_0x358afc;_0xe427d6&&_0x14cb13[_0x41f81e(0x12a)](_0xe427d6),_0x700116&&_0x14cb13[_0x41f81e(0x124)](_0x700116);});}[_0x466f76(0x104)](_0x89efc6){const _0x296677=_0x466f76;if(this[_0x296677(0x125)][_0x296677(0xfb)](_0x89efc6),!this[_0x296677(0x102)][_0x296677(0x107)](_0x89efc6))throw new _0x494824(_0x296677(0x12c),this,{'uiName':_0x89efc6});const _0x44a030=this[_0x296677(0x102)][_0x296677(0x10c)](_0x89efc6);_0x44a030[_0x296677(0x118)](),this[_0x296677(0x10a)](_0x44a030),this[_0x296677(0x10b)][_0x296677(0x10c)](_0x89efc6)[_0x296677(0x12f)][_0x296677(0x123)](),this[_0x296677(0x10b)][_0x296677(0xfb)](_0x89efc6);}[_0x466f76(0xf5)](_0x1d4094){const _0x4a956a=_0x466f76;if(!this[_0x4a956a(0x102)][_0x4a956a(0x107)](_0x1d4094))throw new _0x494824(_0x4a956a(0x12c),this,{'uiName':_0x1d4094});const _0x1bdf15=this[_0x4a956a(0xf8)][_0x4a956a(0xf7)][_0x4a956a(0x10c)](_0x2353bc),_0x415e57=Array[_0x4a956a(0x11a)](_0x1bdf15[_0x4a956a(0x11c)])[0x0]||null;this[_0x4a956a(0x10e)](),this[_0x4a956a(0x121)](_0x1d4094);const _0x5da5c0=this[_0x4a956a(0x102)][_0x4a956a(0x10c)](_0x1d4094);_0x5da5c0[_0x4a956a(0x115)](_0x415e57),_0x5da5c0[_0x4a956a(0x113)]&&_0x415e57&&_0x5da5c0[_0x4a956a(0x113)]([_0x415e57]);}[_0x466f76(0x10e)](){const _0x448437=_0x466f76;for(const _0x1f02d9 of this[_0x448437(0x125)])this[_0x448437(0x104)](_0x1f02d9);}[_0x466f76(0x116)](_0x49211b,_0x443b96){const _0x42a2e8=_0x466f76;if(this[_0x42a2e8(0x102)][_0x42a2e8(0x107)](_0x49211b))throw new _0x494824(_0x42a2e8(0xfc));if(_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x126)]||_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x118)]||_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x115)])throw new _0x494824(_0x42a2e8(0x103),null);this[_0x42a2e8(0x102)][_0x42a2e8(0x110)](_0x49211b,_0x443b96);}[_0x466f76(0x131)](){const _0x474e04=_0x466f76,_0x22794b=this[_0x474e04(0xf8)][_0x474e04(0xf7)][_0x474e04(0x10c)](_0x2353bc)[_0x474e04(0x12f)],_0x30c9ca=new Map(),_0x37f287=Array[_0x474e04(0x11a)](this[_0x474e04(0x125)]);for(const _0x1a8a8f of this[_0x474e04(0x125)]){const _0x1bb044=this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x1a8a8f)[_0x474e04(0x12f)];for(const _0x571391 of _0x1bb044)_0x30c9ca[_0x474e04(0x110)](_0x571391,_0x1a8a8f);}for(const _0x2e8555 of _0x22794b){const _0x41f987=_0x30c9ca[_0x474e04(0x10c)](_0x2e8555);this[_0x474e04(0x130)](_0x2e8555);const _0x840451=_0x37f287[_0x474e04(0xff)](_0x2be5d7=>this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x2be5d7)[_0x474e04(0x114)](_0x2e8555));_0x41f987!==_0x840451&&(_0x41f987&&this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x41f987)[_0x474e04(0x12f)][_0x474e04(0x127)](_0x2e8555),_0x840451&&this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x840451)[_0x474e04(0x12f)][_0x474e04(0x109)](_0x2e8555));}}[_0x466f76(0x123)](){const _0x217c7c=_0x466f76;this[_0x217c7c(0x10e)](),super[_0x217c7c(0x123)]();}[_0x466f76(0x130)](_0x5bca61){const _0x3a3ae9=_0x466f76,_0x4b66d3=[];for(const _0x380d53 of this[_0x3a3ae9(0x125)]){(0x0,this[_0x3a3ae9(0x10b)][_0x3a3ae9(0x10c)](_0x380d53)[_0x3a3ae9(0x114)])(_0x5bca61)&&_0x4b66d3[_0x3a3ae9(0x105)](_0x380d53);}if(_0x4b66d3[_0x3a3ae9(0x11f)]>0x1)throw new _0x494824(_0x3a3ae9(0xfa),null,{'matchedUIs':_0x4b66d3,'annotationType':_0x5bca61[_0x3a3ae9(0x10d)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dda10=_0x2123;(function(_0x1e38e4,_0x15e5bc){const _0x12cb8b=_0x2123,_0x613e13=_0x1e38e4();while(!![]){try{const _0x9705b6=parseInt(_0x12cb8b(0xd4))/0x1+-parseInt(_0x12cb8b(0xd8))/0x2*(-parseInt(_0x12cb8b(0xe3))/0x3)+parseInt(_0x12cb8b(0xd6))/0x4+-parseInt(_0x12cb8b(0xd9))/0x5*(parseInt(_0x12cb8b(0xd1))/0x6)+parseInt(_0x12cb8b(0xfa))/0x7*(-parseInt(_0x12cb8b(0xe6))/0x8)+parseInt(_0x12cb8b(0xd5))/0x9+-parseInt(_0x12cb8b(0xf3))/0xa;if(_0x9705b6===_0x15e5bc)break;else _0x613e13['push'](_0x613e13['shift']());}catch(_0x1a4f23){_0x613e13['push'](_0x613e13['shift']());}}}(_0x324d,0x2d506));import{Plugin as _0x12daac}from'ckeditor5/src/core.js';function _0x2123(_0x507d2b,_0x17f7f7){const _0x324dcf=_0x324d();return _0x2123=function(_0x2123cf,_0x1aa6fe){_0x2123cf=_0x2123cf-0xbc;let _0x139407=_0x324dcf[_0x2123cf];return _0x139407;},_0x2123(_0x507d2b,_0x17f7f7);}import{CKEditorError as _0x543a7d}from'ckeditor5/src/utils.js';import{debounce as _0x3fac22}from'lodash-es';import _0x5a9632 from'./annotations.js';function _0x324d(){const _0x8e5894=['refreshSelectedViews','18YGUEDF','65tLHyYb','requires','isReadOnly','add','init','set','selection','model','range','change:isFocused','120864DEyOsh','refresh','editing','1912jXJRqz','has','getRanges','getOrderedSelectedAnnotations','annotation','function','containsRange','remove','document','editorannotations-invalid-source-callback','getByInnerView','cancel','_dataCollectors','2268480dOWjoZ','blur','get','registerAnnotation','element','push','change:range','9779rwDObE','sort','listenTo','isEqual','update','plugins','pluginName','isCollapsed','_editorAnnotations','uiUpdate','delete','fire','EditorAnnotations','from','hasDomSelection','focusTracker','addSourceCollector','editor','_editorAnnotationsData','map','view','collection','95478lmMFoU','innerView','directChange','302961bNChNw','1653489jxmPxS','415728nNhKCK'];_0x324d=function(){return _0x8e5894;};return _0x324d();}export default class k extends _0x12daac{static get[_0x1dda10(0xda)](){return[_0x5a9632];}static get[_0x1dda10(0xc1)](){const _0x198783=_0x1dda10;return _0x198783(0xc7);}constructor(_0x3c7528){const _0x260fbc=_0x1dda10;super(_0x3c7528),this[_0x260fbc(0xf2)]=new Set(),this[_0x260fbc(0xc3)]=new Set();}[_0x1dda10(0xdd)](){const _0x3fdeb4=_0x1dda10,_0x25c445=this[_0x3fdeb4(0xcc)],_0x297875=_0x25c445[_0x3fdeb4(0xe0)][_0x3fdeb4(0xee)][_0x3fdeb4(0xdf)],_0x13838e=_0x3fac22(()=>this[_0x3fdeb4(0xd7)](),0xa);_0x297875['on'](_0x3fdeb4(0xf9),(_0x5734be,_0xaf8969)=>{const _0x4dcc28=_0x3fdeb4;_0xaf8969[_0x4dcc28(0xd3)]&&(_0x13838e[_0x4dcc28(0xf1)](),this[_0x4dcc28(0xd7)]());}),this[_0x3fdeb4(0xbd)](_0x25c445[_0x3fdeb4(0xe5)][_0x3fdeb4(0xcf)][_0x3fdeb4(0xee)],_0x3fdeb4(0xe2),(_0x3b92b0,_0x4e03be,_0xc060a1)=>{_0xc060a1&&_0x13838e();}),this[_0x3fdeb4(0xbd)](_0x25c445['ui'][_0x3fdeb4(0xca)],_0x3fdeb4(0xe2),(_0x8a28c5,_0xa1aa5b,_0x5e5472)=>{const _0x5dfd1c=_0x3fdeb4;_0x5e5472||_0x25c445[_0x5dfd1c(0xdb)]||this[_0x5dfd1c(0xc6)](_0x5dfd1c(0xf4),{'isAnnotationTracked':_0x28cba7=>this[_0x5dfd1c(0xcd)][_0x5dfd1c(0xe7)](_0x28cba7[_0x5dfd1c(0xd2)])});}),this[_0x3fdeb4(0xbd)](this[_0x3fdeb4(0xcc)]['ui'],_0x3fdeb4(0xbf),()=>this[_0x3fdeb4(0xc6)](_0x3fdeb4(0xc4)));}[_0x1dda10(0xf6)](_0x21ff33){const _0x1cb7ea=_0x1dda10;if(this[_0x1cb7ea(0xc3)][_0x1cb7ea(0xe7)](_0x21ff33[_0x1cb7ea(0xcf)]))return;this[_0x1cb7ea(0xc3)][_0x1cb7ea(0xdc)](_0x21ff33[_0x1cb7ea(0xcf)]),this[_0x1cb7ea(0xcc)]['ui'][_0x1cb7ea(0xca)][_0x1cb7ea(0xdc)](_0x21ff33[_0x1cb7ea(0xcf)][_0x1cb7ea(0xf7)]);const _0x5512c1=this[_0x1cb7ea(0xcc)][_0x1cb7ea(0xc0)][_0x1cb7ea(0xf5)](_0x5a9632);this[_0x1cb7ea(0xbd)](_0x5512c1[_0x1cb7ea(0xd0)],_0x1cb7ea(0xed),(_0x1761ab,_0x228537)=>{const _0x575b13=_0x1cb7ea;this[_0x575b13(0xcc)]['ui'][_0x575b13(0xca)][_0x575b13(0xed)](_0x228537[_0x575b13(0xcf)][_0x575b13(0xf7)]),this[_0x575b13(0xc3)][_0x575b13(0xc5)](_0x228537[_0x575b13(0xcf)]);});}[_0x1dda10(0xc9)](){const _0x2d8b87=_0x1dda10;return this[_0x2d8b87(0xcc)][_0x2d8b87(0xe5)][_0x2d8b87(0xcf)][_0x2d8b87(0xc9)];}[_0x1dda10(0xcb)](_0x2146ee){const _0x222244=_0x1dda10;if(_0x222244(0xeb)!=typeof _0x2146ee)throw new _0x543a7d(_0x222244(0xef));this[_0x222244(0xf2)][_0x222244(0xdc)](_0x2146ee);}[_0x1dda10(0xd7)](){const _0x1dad43=_0x1dda10;this[_0x1dad43(0xc6)](_0x1dad43(0xe4));}[_0x1dda10(0xe9)]({activeAnnotation:_0x4de762,annotations:_0x4cd480}){const _0x26fa22=_0x1dda10,_0x3be9d1=[],_0x47352c=this[_0x26fa22(0xcc)][_0x26fa22(0xe0)][_0x26fa22(0xee)][_0x26fa22(0xdf)],_0x1ccf24=Array[_0x26fa22(0xc8)](_0x47352c[_0x26fa22(0xe8)]());for(const [_0x514058,_0x432951]of this[_0x26fa22(0xcd)]){const _0x4110c1=_0x2edff7(_0x432951),_0x307bf5=_0x4cd480[_0x26fa22(0xf0)](_0x514058);_0x4110c1&&_0x307bf5&&_0x3be9d1[_0x26fa22(0xf8)]({'annotation':_0x307bf5,'range':_0x4110c1});}function _0x2edff7(_0x305672){const _0x52bb2e=_0x26fa22;for(const _0x39ec2c of _0x305672)for(const _0x2beb20 of _0x1ccf24)if(_0x39ec2c[_0x52bb2e(0xec)](_0x2beb20,!_0x47352c[_0x52bb2e(0xc2)]))return _0x39ec2c;return null;}return _0x3be9d1[_0x26fa22(0xbc)]((_0x4cf54d,_0x1026c0)=>{const _0x1e87d6=_0x26fa22,_0x123f17=_0x4cf54d[_0x1e87d6(0xe1)],_0x101de8=_0x1026c0[_0x1e87d6(0xe1)];if(!_0x123f17[_0x1e87d6(0xbe)](_0x101de8)){if(_0x123f17[_0x1e87d6(0xec)](_0x101de8,!0x0))return 0x1;if(_0x101de8[_0x1e87d6(0xec)](_0x123f17,!0x0))return-0x1;}return _0x4cf54d[_0x1e87d6(0xea)]==_0x4de762?-0x1:_0x1026c0[_0x1e87d6(0xea)]==_0x4de762?0x1:0x0;})[_0x26fa22(0xce)](_0x1a87a0=>_0x1a87a0[_0x26fa22(0xea)]);}get[_0x1dda10(0xcd)](){const _0x46d233=_0x1dda10,_0x8351a4=new Map();for(const _0x2e1462 of Array[_0x46d233(0xc8)](this[_0x46d233(0xf2)]))for(const [_0x419fee,_0x4b8282]of _0x2e1462())_0x8351a4[_0x46d233(0xde)](_0x419fee,_0x4b8282);return _0x8351a4;}}
23
+ const _0x3426c5=_0x3bea;(function(_0x472a6c,_0x147193){const _0x1cd546=_0x3bea,_0x5bd916=_0x472a6c();while(!![]){try{const _0x4ab42d=-parseInt(_0x1cd546(0x93))/0x1+-parseInt(_0x1cd546(0xa7))/0x2+-parseInt(_0x1cd546(0x84))/0x3+-parseInt(_0x1cd546(0x8d))/0x4+-parseInt(_0x1cd546(0x9a))/0x5+-parseInt(_0x1cd546(0xad))/0x6*(parseInt(_0x1cd546(0x9c))/0x7)+parseInt(_0x1cd546(0x94))/0x8;if(_0x4ab42d===_0x147193)break;else _0x5bd916['push'](_0x5bd916['shift']());}catch(_0x2b6126){_0x5bd916['push'](_0x5bd916['shift']());}}}(_0x4fb0,0x6fb4f));function _0x3bea(_0x2a9a7a,_0x115967){const _0x4fb057=_0x4fb0();return _0x3bea=function(_0x3beac9,_0x4579f3){_0x3beac9=_0x3beac9-0x73;let _0x3ee5fb=_0x4fb057[_0x3beac9];return _0x3ee5fb;},_0x3bea(_0x2a9a7a,_0x115967);}import{Plugin as _0x2dd83e}from'ckeditor5/src/core.js';import{CKEditorError as _0x24d9d3}from'ckeditor5/src/utils.js';import{debounce as _0x10c0a8}from'lodash-es';function _0x4fb0(){const _0x69e5aa=['push','range','collection','pluginName','refreshSelectedViews','isCollapsed','2973812EeJZUk','change:range','document','isReadOnly','view','getRanges','686848XGMTmn','26073832toRZym','update','remove','directChange','delete','editorannotations-invalid-source-callback','2059710PUJVok','sort','383369YgtGeg','listenTo','model','from','addSourceCollector','plugins','innerView','containsRange','refresh','getOrderedSelectedAnnotations','fire','1016750wjWVZT','registerAnnotation','editor','has','uiUpdate','function','12sarNbv','hasDomSelection','selection','EditorAnnotations','blur','isEqual','requires','map','add','cancel','_editorAnnotations','editing','element','init','_editorAnnotationsData','change:isFocused','_dataCollectors','getByInnerView','annotation','focusTracker','1024578eIiMqn','set','get'];_0x4fb0=function(){return _0x69e5aa;};return _0x4fb0();}import _0x28ea13 from'./annotations.js';export default class k extends _0x2dd83e{static get[_0x3426c5(0x76)](){return[_0x28ea13];}static get[_0x3426c5(0x8a)](){const _0x193372=_0x3426c5;return _0x193372(0x73);}constructor(_0xafe284){const _0x124a0f=_0x3426c5;super(_0xafe284),this[_0x124a0f(0x80)]=new Set(),this[_0x124a0f(0x7a)]=new Set();}[_0x3426c5(0x7d)](){const _0x5b3b18=_0x3426c5,_0x4b9dfa=this[_0x5b3b18(0xa9)],_0x62f39a=_0x4b9dfa[_0x5b3b18(0x9e)][_0x5b3b18(0x8f)][_0x5b3b18(0xaf)],_0x536cd3=_0x10c0a8(()=>this[_0x5b3b18(0x8b)](),0xa);_0x62f39a['on'](_0x5b3b18(0x8e),(_0x3358bd,_0x1ef158)=>{const _0x22e53a=_0x5b3b18;_0x1ef158[_0x22e53a(0x97)]&&(_0x536cd3[_0x22e53a(0x79)](),this[_0x22e53a(0x8b)]());}),this[_0x5b3b18(0x9d)](_0x4b9dfa[_0x5b3b18(0x7b)][_0x5b3b18(0x91)][_0x5b3b18(0x8f)],_0x5b3b18(0x7f),(_0x263055,_0xf3451,_0xff5d11)=>{_0xff5d11&&_0x536cd3();}),this[_0x5b3b18(0x9d)](_0x4b9dfa['ui'][_0x5b3b18(0x83)],_0x5b3b18(0x7f),(_0x4f08f8,_0x2bb3ed,_0x581374)=>{const _0x114e01=_0x5b3b18;_0x581374||_0x4b9dfa[_0x114e01(0x90)]||this[_0x114e01(0xa6)](_0x114e01(0x74),{'isAnnotationTracked':_0x340be7=>this[_0x114e01(0x7e)][_0x114e01(0xaa)](_0x340be7[_0x114e01(0xa2)])});}),this[_0x5b3b18(0x9d)](this[_0x5b3b18(0xa9)]['ui'],_0x5b3b18(0x95),()=>this[_0x5b3b18(0xa6)](_0x5b3b18(0xab)));}[_0x3426c5(0xa8)](_0xa3f603){const _0x1837a0=_0x3426c5;if(this[_0x1837a0(0x7a)][_0x1837a0(0xaa)](_0xa3f603[_0x1837a0(0x91)]))return;this[_0x1837a0(0x7a)][_0x1837a0(0x78)](_0xa3f603[_0x1837a0(0x91)]),this[_0x1837a0(0xa9)]['ui'][_0x1837a0(0x83)][_0x1837a0(0x78)](_0xa3f603[_0x1837a0(0x91)][_0x1837a0(0x7c)]);const _0x56a387=this[_0x1837a0(0xa9)][_0x1837a0(0xa1)][_0x1837a0(0x86)](_0x28ea13);this[_0x1837a0(0x9d)](_0x56a387[_0x1837a0(0x89)],_0x1837a0(0x96),(_0x37fb79,_0x105ecc)=>{const _0x152da4=_0x1837a0;this[_0x152da4(0xa9)]['ui'][_0x152da4(0x83)][_0x152da4(0x96)](_0x105ecc[_0x152da4(0x91)][_0x152da4(0x7c)]),this[_0x152da4(0x7a)][_0x152da4(0x98)](_0x105ecc[_0x152da4(0x91)]);});}[_0x3426c5(0xae)](){const _0x440ba8=_0x3426c5;return this[_0x440ba8(0xa9)][_0x440ba8(0x7b)][_0x440ba8(0x91)][_0x440ba8(0xae)];}[_0x3426c5(0xa0)](_0x1e0cfe){const _0x5a3f43=_0x3426c5;if(_0x5a3f43(0xac)!=typeof _0x1e0cfe)throw new _0x24d9d3(_0x5a3f43(0x99));this[_0x5a3f43(0x80)][_0x5a3f43(0x78)](_0x1e0cfe);}[_0x3426c5(0x8b)](){const _0x398e95=_0x3426c5;this[_0x398e95(0xa6)](_0x398e95(0xa4));}[_0x3426c5(0xa5)]({activeAnnotation:_0x3eb706,annotations:_0x5f03e1}){const _0x22b082=_0x3426c5,_0x2285e5=[],_0x49f2ff=this[_0x22b082(0xa9)][_0x22b082(0x9e)][_0x22b082(0x8f)][_0x22b082(0xaf)],_0x22be73=Array[_0x22b082(0x9f)](_0x49f2ff[_0x22b082(0x92)]());for(const [_0x5a0419,_0x4ad439]of this[_0x22b082(0x7e)]){const _0x3dea21=_0x225b6f(_0x4ad439),_0x2390e0=_0x5f03e1[_0x22b082(0x81)](_0x5a0419);_0x3dea21&&_0x2390e0&&_0x2285e5[_0x22b082(0x87)]({'annotation':_0x2390e0,'range':_0x3dea21});}function _0x225b6f(_0x56c76d){const _0x29ec6d=_0x22b082;for(const _0x50c802 of _0x56c76d)for(const _0x191be3 of _0x22be73)if(_0x50c802[_0x29ec6d(0xa3)](_0x191be3,!_0x49f2ff[_0x29ec6d(0x8c)]))return _0x50c802;return null;}return _0x2285e5[_0x22b082(0x9b)]((_0x1be9a6,_0x2af56c)=>{const _0x2191ad=_0x22b082,_0x5d4d27=_0x1be9a6[_0x2191ad(0x88)],_0x3f6a62=_0x2af56c[_0x2191ad(0x88)];if(!_0x5d4d27[_0x2191ad(0x75)](_0x3f6a62)){if(_0x5d4d27[_0x2191ad(0xa3)](_0x3f6a62,!0x0))return 0x1;if(_0x3f6a62[_0x2191ad(0xa3)](_0x5d4d27,!0x0))return-0x1;}return _0x1be9a6[_0x2191ad(0x82)]==_0x3eb706?-0x1:_0x2af56c[_0x2191ad(0x82)]==_0x3eb706?0x1:0x0;})[_0x22b082(0x77)](_0x20d055=>_0x20d055[_0x22b082(0x82)]);}get[_0x3426c5(0x7e)](){const _0x2c8976=_0x3426c5,_0x3f3edb=new Map();for(const _0x3df8d6 of Array[_0x2c8976(0x9f)](this[_0x2c8976(0x80)]))for(const [_0x2551ad,_0x3ebd6f]of _0x3df8d6())_0x3f3edb[_0x2c8976(0x85)](_0x2551ad,_0x3ebd6f);return _0x3f3edb;}}