@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.3

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.1",
3
+ "version": "41.3.0-alpha.3",
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.1",
48
- "ckeditor5-collaboration": "41.2.1",
48
+ "ckeditor5": "41.3.0-alpha.3",
49
+ "ckeditor5-collaboration": "41.3.0-alpha.3",
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 _0x42a6(){const _0x286f12=['_target','offsetParent','_type','2309021Fepryq','clear','getClientRects','stopListening','view','function','7McOaDg','refreshVisibility','target','9qJvJAa','innerView','length','170815DxEpoG','set','render','_id','_getNormalizedTarget','item','remove','nodeType','_assertCorrectTarget','updateTargetRect','94953kYKLls','focusableElements','every','802728CvZxBL','1022830TnjXuR','2483952qyLYOB','mainView','isVisible','20kaTGXD','focusTracker','type','element','object','filter','destroy','isArray','120ghwTXF','annotation-invalid-target','add','targetRect','isActive','8548JiqKKD'];_0x42a6=function(){return _0x286f12;};return _0x42a6();}const _0x3b5acb=_0x5952;(function(_0x34f996,_0x1bdba6){const _0x2af898=_0x5952,_0x473acb=_0x34f996();while(!![]){try{const _0x3efd37=-parseInt(_0x2af898(0x87))/0x1*(parseInt(_0x2af898(0x94))/0x2)+parseInt(_0x2af898(0x7f))/0x3+parseInt(_0x2af898(0x8f))/0x4*(parseInt(_0x2af898(0x75))/0x5)+parseInt(_0x2af898(0x84))/0x6*(-parseInt(_0x2af898(0x9e))/0x7)+parseInt(_0x2af898(0x82))/0x8+parseInt(_0x2af898(0xa1))/0x9*(parseInt(_0x2af898(0x83))/0xa)+-parseInt(_0x2af898(0x98))/0xb;if(_0x3efd37===_0x1bdba6)break;else _0x473acb['push'](_0x473acb['shift']());}catch(_0x3e6830){_0x473acb['push'](_0x473acb['shift']());}}}(_0x42a6,0x86396));import{CKEditorError as _0x461c61,Rect as _0x36c663,Collection as _0xd2e8,ObservableMixin as _0x258d13}from'ckeditor5/src/utils.js';export default class d extends _0x258d13(){constructor({view:_0x15ea2a,target:_0x1142c6,type:_0x649066,isVisible:_0x4c733b=!0x0}){const _0x15c386=_0x5952;super(),this[_0x15c386(0x9c)]=_0x15ea2a,this[_0x15c386(0x9c)][_0x15c386(0x8a)]||this[_0x15c386(0x9c)][_0x15c386(0x77)](),this[_0x15c386(0x97)]=_0x649066,this[_0x15c386(0x95)]=_0x1142c6,d[_0x15c386(0x7d)](this[_0x15c386(0x79)]()),this[_0x15c386(0x80)]=new _0xd2e8([this[_0x15c386(0x9c)][_0x15c386(0x8a)]],{'idProperty':_0x15c386(0x78)}),this[_0x15c386(0x80)]['on'](_0x15c386(0x91),(_0x5c73ec,_0x5aaf7e)=>{const _0x57c204=_0x15c386;this[_0x57c204(0x9c)][_0x57c204(0x88)][_0x57c204(0x91)](_0x5aaf7e);}),this[_0x15c386(0x80)]['on'](_0x15c386(0x7b),(_0x348e1b,_0x27b3e6)=>{const _0x1ed8f0=_0x15c386;this[_0x1ed8f0(0x9c)][_0x1ed8f0(0x88)][_0x1ed8f0(0x7b)](_0x27b3e6);}),this[_0x15c386(0x76)](_0x15c386(0x86),_0x4c733b);}get[_0x3b5acb(0x89)](){const _0x14593e=_0x3b5acb;return _0x14593e(0x9d)==typeof this[_0x14593e(0x97)]?this[_0x14593e(0x97)]():this[_0x14593e(0x97)];}get[_0x3b5acb(0xa2)](){const _0xd6fee3=_0x3b5acb;return this[_0xd6fee3(0x9c)][_0xd6fee3(0x85)];}get[_0x3b5acb(0xa0)](){const _0x23f318=_0x3b5acb,_0x4c0137=this[_0x23f318(0x79)]();return d[_0x23f318(0x7d)](_0x4c0137),_0x4c0137;}get[_0x3b5acb(0x92)](){const _0x3a6875=_0x3b5acb,_0x5e7338=this[_0x3a6875(0xa0)];if(null===_0x5e7338)return null;if(_0x5e7338 instanceof _0x36c663)return _0x5e7338;const _0x28058c=_0x5e7338[_0x3a6875(0x8c)](_0x1faa21=>function(_0x4610a4){const _0x3b76b2=_0x3a6875,_0x508272=_0x4610a4[_0x3b76b2(0x96)];if(_0x508272)return!0x0;const _0x368ce6=_0x4610a4[_0x3b76b2(0x9a)]()[_0x3b76b2(0x7a)](0x0);return!!_0x368ce6;}(_0x1faa21));return 0x0===_0x28058c[_0x3a6875(0xa3)]?null:new _0x36c663(_0x28058c[0x0][_0x3a6875(0x9a)]()[_0x3a6875(0x7a)](0x0));}get[_0x3b5acb(0x93)](){const _0x9c7ca6=_0x3b5acb;return this[_0x9c7ca6(0x9c)][_0x9c7ca6(0x93)];}set[_0x3b5acb(0x93)](_0x4f4efc){const _0x3763f0=_0x3b5acb;this[_0x3763f0(0x9c)][_0x3763f0(0x93)]=_0x4f4efc,this[_0x3763f0(0x9c)][_0x3763f0(0x85)][_0x3763f0(0x93)]=_0x4f4efc;}[_0x3b5acb(0x7e)](){const _0xb43f00=_0x3b5acb;this[_0xb43f00(0x9c)][_0xb43f00(0x92)]=this[_0xb43f00(0x92)];}[_0x3b5acb(0x8d)](){const _0x3f1e87=_0x3b5acb;this[_0x3f1e87(0x80)][_0x3f1e87(0x9b)](),this[_0x3f1e87(0x80)][_0x3f1e87(0x99)](),this[_0x3f1e87(0x9b)]();}[_0x3b5acb(0x9f)](){const _0x1a964b=_0x3b5acb;this[_0x1a964b(0x86)]=!!this[_0x1a964b(0x92)];}static[_0x3b5acb(0x7d)](_0x591c0e){const _0x10292b=_0x3b5acb;if(!(null===_0x591c0e||_0x591c0e instanceof _0x36c663||Array[_0x10292b(0x8e)](_0x591c0e)&&_0x591c0e[_0x10292b(0x81)](_0x4dee31=>y(_0x4dee31))))throw new _0x461c61(_0x10292b(0x90),null,{'target':_0x591c0e});}[_0x3b5acb(0x79)](){const _0x558a41=_0x3b5acb,_0x5e4f53=_0x558a41(0x9d)==typeof this[_0x558a41(0x95)]?this[_0x558a41(0x95)]():this[_0x558a41(0x95)];return y(_0x5e4f53)?[_0x5e4f53]:_0x5e4f53;}}function _0x5952(_0x28c38b,_0x29b794){const _0x42a6a2=_0x42a6();return _0x5952=function(_0x5952c1,_0x3eae7e){_0x5952c1=_0x5952c1-0x75;let _0x1139aa=_0x42a6a2[_0x5952c1];return _0x1139aa;},_0x5952(_0x28c38b,_0x29b794);}function y(_0x325e3c){const _0x503742=_0x3b5acb;return null!==_0x325e3c&&_0x503742(0x8b)==typeof _0x325e3c&&_0x503742(0x7c)in _0x325e3c&&0x1===_0x325e3c[_0x503742(0x7c)];}
23
+ const _0x488caa=_0x49ad;(function(_0x472164,_0x4ff88c){const _0x36931e=_0x49ad,_0x3f6384=_0x472164();while(!![]){try{const _0x3f292b=parseInt(_0x36931e(0x1ed))/0x1*(parseInt(_0x36931e(0x1e9))/0x2)+-parseInt(_0x36931e(0x1f9))/0x3+-parseInt(_0x36931e(0x1eb))/0x4*(parseInt(_0x36931e(0x1e5))/0x5)+parseInt(_0x36931e(0x1ea))/0x6+-parseInt(_0x36931e(0x1ef))/0x7+parseInt(_0x36931e(0x20b))/0x8*(-parseInt(_0x36931e(0x1f1))/0x9)+parseInt(_0x36931e(0x1fd))/0xa;if(_0x3f292b===_0x4ff88c)break;else _0x3f6384['push'](_0x3f6384['shift']());}catch(_0x687237){_0x3f6384['push'](_0x3f6384['shift']());}}}(_0x4264,0xc939e));import{CKEditorError as _0x3e7df0,Rect as _0x451ade,Collection as _0x23691c,ObservableMixin as _0x483840}from'ckeditor5/src/utils.js';function _0x49ad(_0x454bbe,_0x4e86ef){const _0x426412=_0x4264();return _0x49ad=function(_0x49ad55,_0x4d17f2){_0x49ad55=_0x49ad55-0x1e0;let _0x4a4a1d=_0x426412[_0x49ad55];return _0x4a4a1d;},_0x49ad(_0x454bbe,_0x4e86ef);}export default class d extends _0x483840(){constructor({view:_0x452db0,target:_0x4bc134,type:_0x53d1e7,isVisible:_0x19b2bd=!0x0}){const _0x5bcd89=_0x49ad;super(),this[_0x5bcd89(0x1f0)]=_0x452db0,this[_0x5bcd89(0x1f0)][_0x5bcd89(0x20a)]||this[_0x5bcd89(0x1f0)][_0x5bcd89(0x20d)](),this[_0x5bcd89(0x1fa)]=_0x53d1e7,this[_0x5bcd89(0x1f4)]=_0x4bc134,d[_0x5bcd89(0x204)](this[_0x5bcd89(0x1e7)]()),this[_0x5bcd89(0x1ff)]=new _0x23691c([this[_0x5bcd89(0x1f0)][_0x5bcd89(0x20a)]],{'idProperty':_0x5bcd89(0x205)}),this[_0x5bcd89(0x1ff)]['on'](_0x5bcd89(0x1e2),(_0x3f1c6d,_0x418c39)=>{const _0x1850b5=_0x5bcd89;this[_0x1850b5(0x1f0)][_0x1850b5(0x207)][_0x1850b5(0x1e2)](_0x418c39);}),this[_0x5bcd89(0x1ff)]['on'](_0x5bcd89(0x1f7),(_0x259537,_0x1e705a)=>{const _0x3fde5d=_0x5bcd89;this[_0x3fde5d(0x1f0)][_0x3fde5d(0x207)][_0x3fde5d(0x1f7)](_0x1e705a);}),this[_0x5bcd89(0x202)](_0x5bcd89(0x206),_0x19b2bd);}get[_0x488caa(0x1f2)](){const _0x229caa=_0x488caa;return _0x229caa(0x1f5)==typeof this[_0x229caa(0x1fa)]?this[_0x229caa(0x1fa)]():this[_0x229caa(0x1fa)];}get[_0x488caa(0x200)](){const _0x132621=_0x488caa;return this[_0x132621(0x1f0)][_0x132621(0x1e4)];}get[_0x488caa(0x1e1)](){const _0x232c5a=_0x488caa,_0x22ae56=this[_0x232c5a(0x1e7)]();return d[_0x232c5a(0x204)](_0x22ae56),_0x22ae56;}get[_0x488caa(0x1fe)](){const _0x340dd4=_0x488caa,_0x4ff4dd=this[_0x340dd4(0x1e1)];if(null===_0x4ff4dd)return null;if(_0x4ff4dd instanceof _0x451ade)return _0x4ff4dd;const _0x152923=_0x4ff4dd[_0x340dd4(0x201)](_0x2d435b=>function(_0x28293d){const _0xfb0bad=_0x340dd4,_0x3a2682=_0x28293d[_0xfb0bad(0x1e8)];if(_0x3a2682)return!0x0;const _0xcf0ab3=_0x28293d[_0xfb0bad(0x208)]()[_0xfb0bad(0x1ee)](0x0);return!!_0xcf0ab3;}(_0x2d435b));return 0x0===_0x152923[_0x340dd4(0x1ec)]?null:new _0x451ade(_0x152923[0x0][_0x340dd4(0x208)]()[_0x340dd4(0x1ee)](0x0));}get[_0x488caa(0x1f6)](){const _0x4573a0=_0x488caa;return this[_0x4573a0(0x1f0)][_0x4573a0(0x1f6)];}set[_0x488caa(0x1f6)](_0x417fb2){const _0x1bf61f=_0x488caa;this[_0x1bf61f(0x1f0)][_0x1bf61f(0x1f6)]=_0x417fb2,this[_0x1bf61f(0x1f0)][_0x1bf61f(0x1e4)][_0x1bf61f(0x1f6)]=_0x417fb2;}[_0x488caa(0x1fb)](){const _0xdeff29=_0x488caa;this[_0xdeff29(0x1f0)][_0xdeff29(0x1fe)]=this[_0xdeff29(0x1fe)];}[_0x488caa(0x203)](){const _0x1ebd4d=_0x488caa;this[_0x1ebd4d(0x1ff)][_0x1ebd4d(0x1e3)](),this[_0x1ebd4d(0x1ff)][_0x1ebd4d(0x1f3)](),this[_0x1ebd4d(0x1e3)]();}[_0x488caa(0x1f8)](){const _0x1da787=_0x488caa;this[_0x1da787(0x206)]=!!this[_0x1da787(0x1fe)];}static[_0x488caa(0x204)](_0x1c9600){const _0x463afb=_0x488caa;if(!(null===_0x1c9600||_0x1c9600 instanceof _0x451ade||Array[_0x463afb(0x20c)](_0x1c9600)&&_0x1c9600[_0x463afb(0x209)](_0x5d8fa3=>y(_0x5d8fa3))))throw new _0x3e7df0(_0x463afb(0x1fc),null,{'target':_0x1c9600});}[_0x488caa(0x1e7)](){const _0x5d36b5=_0x488caa,_0x37a7ae=_0x5d36b5(0x1f5)==typeof this[_0x5d36b5(0x1f4)]?this[_0x5d36b5(0x1f4)]():this[_0x5d36b5(0x1f4)];return y(_0x37a7ae)?[_0x37a7ae]:_0x37a7ae;}}function y(_0x57b9a3){const _0x4faaa0=_0x488caa;return null!==_0x57b9a3&&_0x4faaa0(0x1e0)==typeof _0x57b9a3&&_0x4faaa0(0x1e6)in _0x57b9a3&&0x1===_0x57b9a3[_0x4faaa0(0x1e6)];}function _0x4264(){const _0x343ba1=['set','destroy','_assertCorrectTarget','_id','isVisible','focusTracker','getClientRects','every','element','3272JGDXWR','isArray','render','object','target','add','stopListening','mainView','140sQptWe','nodeType','_getNormalizedTarget','offsetParent','2CDBbni','902592AhkkaI','75428jbvLSD','length','649669OCEJmv','item','4088595QSKemG','view','23562LzQqrE','type','clear','_target','function','isActive','remove','refreshVisibility','4855137aiYVSp','_type','updateTargetRect','annotation-invalid-target','38253430HLslvz','targetRect','focusableElements','innerView','filter'];_0x4264=function(){return _0x343ba1;};return _0x4264();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f62e=_0x3242;(function(_0x1262ef,_0x1d6dd4){const _0x2bd23a=_0x3242,_0x699042=_0x1262ef();while(!![]){try{const _0x5adf20=parseInt(_0x2bd23a(0x81))/0x1+-parseInt(_0x2bd23a(0x8a))/0x2+parseInt(_0x2bd23a(0x76))/0x3+parseInt(_0x2bd23a(0x9c))/0x4+parseInt(_0x2bd23a(0x88))/0x5*(-parseInt(_0x2bd23a(0x8b))/0x6)+parseInt(_0x2bd23a(0x85))/0x7+parseInt(_0x2bd23a(0x72))/0x8*(-parseInt(_0x2bd23a(0x9b))/0x9);if(_0x5adf20===_0x1d6dd4)break;else _0x699042['push'](_0x699042['shift']());}catch(_0x31d1e3){_0x699042['push'](_0x699042['shift']());}}}(_0x57be,0x33b8a));import{CKEditorError as _0x13270d,Collection as _0x1b028f,FocusTracker as _0x505728}from'ckeditor5/src/utils.js';export default class x extends _0x1b028f{constructor(_0x586e80=[]){const _0x3224ee=_0x3242;super(),this[_0x3224ee(0x8e)]=new Map(),this[_0x3224ee(0x7c)]=new Map(),this[_0x3224ee(0x99)]=new _0x505728(),this[_0x3224ee(0x99)]['on'](_0x3224ee(0x98),(_0x389c35,_0x289efa,_0xf8e2da)=>{const _0x5d98b1=_0x3224ee;_0xf8e2da||this[_0x5d98b1(0x93)](_0x5d98b1(0x87));});for(const _0x295d2d of _0x586e80)this[_0x3224ee(0x95)](_0x295d2d);}get[_0x24f62e(0x7a)](){const _0x56cd64=_0x24f62e;return this[_0x56cd64(0x99)][_0x56cd64(0x7a)];}[_0x24f62e(0x95)](_0x171813){const _0x288bb5=_0x24f62e;if(this[_0x288bb5(0x80)](_0x171813))throw new _0x13270d(_0x288bb5(0x7b),null);this[_0x288bb5(0x8e)][_0x288bb5(0x83)](_0x171813[_0x288bb5(0x73)],_0x171813),this[_0x288bb5(0x7c)][_0x288bb5(0x83)](_0x171813[_0x288bb5(0x7d)],_0x171813);for(const _0x30eb50 of _0x171813[_0x288bb5(0x96)])this[_0x288bb5(0x99)][_0x288bb5(0x95)](_0x30eb50);this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x96)],_0x288bb5(0x95),(_0x34b6bb,_0x57d512)=>{const _0x4d06b5=_0x288bb5;this[_0x4d06b5(0x99)][_0x4d06b5(0x95)](_0x57d512);}),this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x96)],_0x288bb5(0x89),(_0x19374e,_0x5ac575)=>{const _0x525025=_0x288bb5;this[_0x525025(0x99)][_0x525025(0x89)](_0x5ac575);}),this[_0x288bb5(0x75)](_0x171813[_0x288bb5(0x7d)][_0x288bb5(0x84)],_0x288bb5(0x98),(_0x5a0299,_0x4dafab,_0x4fef47)=>{const _0x7074f=_0x288bb5;_0x4fef47&&this[_0x7074f(0x93)](_0x7074f(0x77),_0x171813);}),_0x171813[_0x288bb5(0x9e)]();const _0x3a0d22=this[_0x288bb5(0x74)](_0x171813[_0x288bb5(0x7d)][_0x288bb5(0x82)]);return super[_0x288bb5(0x95)](_0x171813,_0x3a0d22);}[_0x24f62e(0x89)](_0xa33f7d){const _0x5fbfb9=_0x24f62e;if(!this[_0x5fbfb9(0x80)](_0xa33f7d))throw new _0x13270d(_0x5fbfb9(0x8f),null);this[_0x5fbfb9(0x9a)](_0xa33f7d[_0x5fbfb9(0x7d)][_0x5fbfb9(0x84)]),this[_0x5fbfb9(0x9a)](_0xa33f7d[_0x5fbfb9(0x96)]);for(const _0x43c48c of _0xa33f7d[_0x5fbfb9(0x96)])this[_0x5fbfb9(0x99)][_0x5fbfb9(0x89)](_0x43c48c);return this[_0x5fbfb9(0x7c)][_0x5fbfb9(0x90)](_0xa33f7d[_0x5fbfb9(0x7d)]),this[_0x5fbfb9(0x8e)][_0x5fbfb9(0x90)](_0xa33f7d[_0x5fbfb9(0x73)]),super[_0x5fbfb9(0x89)](_0xa33f7d);}[_0x24f62e(0x92)](_0x3cbb9e){const _0x476c1b=_0x24f62e;return this[_0x476c1b(0x8e)][_0x476c1b(0x8c)](_0x3cbb9e);}[_0x24f62e(0x94)](_0x47f9a9){const _0x2e5552=_0x24f62e;return this[_0x2e5552(0x7c)][_0x2e5552(0x8c)](_0x47f9a9);}[_0x24f62e(0x86)](){const _0x587b6a=_0x24f62e;super[_0x587b6a(0x9d)](),this[_0x587b6a(0x9a)](),this[_0x587b6a(0x8e)][_0x587b6a(0x9d)](),this[_0x587b6a(0x7c)][_0x587b6a(0x9d)](),this[_0x587b6a(0x99)][_0x587b6a(0x86)]();}[_0x24f62e(0x79)](){const _0x4c0d81=_0x24f62e;for(const _0x51ef77 of this)_0x51ef77[_0x4c0d81(0x9e)]();this[_0x4c0d81(0x71)]();}[_0x24f62e(0x71)](){const _0x118051=_0x24f62e,_0x5b9fa1=Array[_0x118051(0x7e)](this)[_0x118051(0x8d)]((_0x26c4d7,_0x42e7bf)=>v(_0x26c4d7[_0x118051(0x7d)][_0x118051(0x82)],_0x42e7bf[_0x118051(0x7d)][_0x118051(0x82)]));for(let _0x5e2788=_0x5b9fa1[_0x118051(0x78)]-0x1;_0x5e2788>0x0;_0x5e2788--){const _0x22ca6d=_0x5b9fa1[_0x5e2788];_0x5e2788!==this[_0x118051(0x7f)](_0x22ca6d)&&(this[_0x118051(0x89)](_0x22ca6d),this[_0x118051(0x95)](_0x22ca6d));}}[_0x24f62e(0x74)](_0x51be55){const _0x3001f1=_0x24f62e;let _0x113251=0x0;if(!_0x51be55)return this[_0x3001f1(0x78)];for(const _0x12a09f of this){const _0x3cb12b=_0x12a09f[_0x3001f1(0x7d)][_0x3001f1(0x82)];if(_0x3cb12b){if(v(_0x51be55,_0x3cb12b)<0x0)return _0x113251;_0x113251++;}}return _0x113251;}}export function bindAnnotationCollections({source:_0x5ddd38,target:_0x250714,filter:_0x2ab011}){const _0x373997=_0x24f62e;for(const _0x4e9167 of _0x5ddd38)_0x2ab011(_0x4e9167)&&_0x250714[_0x373997(0x95)](_0x4e9167);_0x250714[_0x373997(0x75)](_0x5ddd38,_0x373997(0x95),(_0x5ded69,_0x558bec)=>{const _0x4b4d3e=_0x373997;_0x2ab011(_0x558bec)&&_0x250714[_0x4b4d3e(0x95)](_0x558bec);}),_0x250714[_0x373997(0x75)](_0x5ddd38,_0x373997(0x89),(_0x5ee9a2,_0x15086c)=>{const _0x402c23=_0x373997;_0x250714[_0x402c23(0x80)](_0x15086c)&&_0x250714[_0x402c23(0x89)](_0x15086c);});}function _0x3242(_0xc56f3a,_0x2f6833){const _0x57bece=_0x57be();return _0x3242=function(_0x3242d0,_0x5d6673){_0x3242d0=_0x3242d0-0x71;let _0x457b2f=_0x57bece[_0x3242d0];return _0x457b2f;},_0x3242(_0xc56f3a,_0x2f6833);}function v(_0x68c81,_0x320896){const _0x31141a=_0x24f62e;if(null===_0x68c81&&null===_0x320896)return 0x0;if(null===_0x68c81)return-0x1;if(null===_0x320896)return 0x1;const _0x3b8fb9=_0x68c81[_0x31141a(0x97)]-_0x320896[_0x31141a(0x97)];return 0x0==_0x3b8fb9?_0x68c81[_0x31141a(0x91)]-_0x320896[_0x31141a(0x91)]:_0x3b8fb9;}function _0x57be(){const _0x54a0f7=['1181217llgOzn','focus','length','refreshPositioning','isFocused','annotationcollection-duplicated-item','_viewToAnnotation','view','from','getIndex','has','317544xxOXcJ','targetRect','set','focusTracker','2805964PtUWtK','destroy','blur','184795iRIAKr','remove','509292cAGDWa','6ZyiYka','get','sort','_innerViewToAnnotation','annotationcollection-not-existing-item','delete','left','getByInnerView','fire','getByView','add','focusableElements','top','change:isFocused','_focusTracker','stopListening','9JPdBGw','1614204yWZjqY','clear','updateTargetRect','_sort','8097848pbYupM','innerView','_getOrderInContent','listenTo'];_0x57be=function(){return _0x54a0f7;};return _0x57be();}
23
+ function _0x46c1(){const _0x1b0030=['sort','from','view','fire','isFocused','annotationcollection-duplicated-item','6148QVvWAs','refreshPositioning','getByInnerView','targetRect','get','1617845MFQzEo','_viewToAnnotation','set','add','top','10236laiXXF','stopListening','32qRNZUV','updateTargetRect','change:isFocused','blur','getByView','length','clear','innerView','listenTo','has','focusableElements','_sort','focus','2295628JGzEHz','24rAxIws','19547IupNoT','1861580wRDXPq','_innerViewToAnnotation','_getOrderInContent','remove','110ePnfOn','focusTracker','_focusTracker','1647127WejYUF','delete','left','492741sZcnmK','annotationcollection-not-existing-item','getIndex','2049ytTuRx','destroy'];_0x46c1=function(){return _0x1b0030;};return _0x46c1();}const _0x3fb3c7=_0x2d2c;(function(_0x44bad7,_0x2e3889){const _0x36515e=_0x2d2c,_0x2428e9=_0x44bad7();while(!![]){try{const _0x4391e3=parseInt(_0x36515e(0x164))/0x1+-parseInt(_0x36515e(0x15a))/0x2+parseInt(_0x36515e(0x16a))/0x3*(-parseInt(_0x36515e(0x172))/0x4)+parseInt(_0x36515e(0x177))/0x5*(parseInt(_0x36515e(0x15b))/0x6)+-parseInt(_0x36515e(0x15d))/0x7*(-parseInt(_0x36515e(0x17e))/0x8)+-parseInt(_0x36515e(0x167))/0x9*(-parseInt(_0x36515e(0x161))/0xa)+-parseInt(_0x36515e(0x15c))/0xb*(parseInt(_0x36515e(0x17c))/0xc);if(_0x4391e3===_0x2e3889)break;else _0x2428e9['push'](_0x2428e9['shift']());}catch(_0x41c1c4){_0x2428e9['push'](_0x2428e9['shift']());}}}(_0x46c1,0xda454));import{CKEditorError as _0x3477d9,Collection as _0x47215c,FocusTracker as _0x5c229c}from'ckeditor5/src/utils.js';export default class x extends _0x47215c{constructor(_0x483b8c=[]){const _0x1b9cbf=_0x2d2c;super(),this[_0x1b9cbf(0x15e)]=new Map(),this[_0x1b9cbf(0x178)]=new Map(),this[_0x1b9cbf(0x163)]=new _0x5c229c(),this[_0x1b9cbf(0x163)]['on'](_0x1b9cbf(0x180),(_0x3a5860,_0x1c9cf3,_0x5b617e)=>{const _0x18737a=_0x1b9cbf;_0x5b617e||this[_0x18737a(0x16f)](_0x18737a(0x150));});for(const _0x5e72ef of _0x483b8c)this[_0x1b9cbf(0x17a)](_0x5e72ef);}get[_0x3fb3c7(0x170)](){const _0x35002d=_0x3fb3c7;return this[_0x35002d(0x163)][_0x35002d(0x170)];}[_0x3fb3c7(0x17a)](_0x24917d){const _0x752acf=_0x3fb3c7;if(this[_0x752acf(0x156)](_0x24917d))throw new _0x3477d9(_0x752acf(0x171),null);this[_0x752acf(0x15e)][_0x752acf(0x179)](_0x24917d[_0x752acf(0x154)],_0x24917d),this[_0x752acf(0x178)][_0x752acf(0x179)](_0x24917d[_0x752acf(0x16e)],_0x24917d);for(const _0x49eaca of _0x24917d[_0x752acf(0x157)])this[_0x752acf(0x163)][_0x752acf(0x17a)](_0x49eaca);this[_0x752acf(0x155)](_0x24917d[_0x752acf(0x157)],_0x752acf(0x17a),(_0x1a812d,_0x59a44d)=>{const _0x4e3815=_0x752acf;this[_0x4e3815(0x163)][_0x4e3815(0x17a)](_0x59a44d);}),this[_0x752acf(0x155)](_0x24917d[_0x752acf(0x157)],_0x752acf(0x160),(_0x116c29,_0x324543)=>{const _0x5a3fea=_0x752acf;this[_0x5a3fea(0x163)][_0x5a3fea(0x160)](_0x324543);}),this[_0x752acf(0x155)](_0x24917d[_0x752acf(0x16e)][_0x752acf(0x162)],_0x752acf(0x180),(_0x159385,_0x1be273,_0x329595)=>{const _0x5a0082=_0x752acf;_0x329595&&this[_0x5a0082(0x16f)](_0x5a0082(0x159),_0x24917d);}),_0x24917d[_0x752acf(0x17f)]();const _0x42e4c5=this[_0x752acf(0x15f)](_0x24917d[_0x752acf(0x16e)][_0x752acf(0x175)]);return super[_0x752acf(0x17a)](_0x24917d,_0x42e4c5);}[_0x3fb3c7(0x160)](_0x507bb7){const _0x3faceb=_0x3fb3c7;if(!this[_0x3faceb(0x156)](_0x507bb7))throw new _0x3477d9(_0x3faceb(0x168),null);this[_0x3faceb(0x17d)](_0x507bb7[_0x3faceb(0x16e)][_0x3faceb(0x162)]),this[_0x3faceb(0x17d)](_0x507bb7[_0x3faceb(0x157)]);for(const _0x3ee7ff of _0x507bb7[_0x3faceb(0x157)])this[_0x3faceb(0x163)][_0x3faceb(0x160)](_0x3ee7ff);return this[_0x3faceb(0x178)][_0x3faceb(0x165)](_0x507bb7[_0x3faceb(0x16e)]),this[_0x3faceb(0x15e)][_0x3faceb(0x165)](_0x507bb7[_0x3faceb(0x154)]),super[_0x3faceb(0x160)](_0x507bb7);}[_0x3fb3c7(0x174)](_0x19a4dc){const _0x35c8cc=_0x3fb3c7;return this[_0x35c8cc(0x15e)][_0x35c8cc(0x176)](_0x19a4dc);}[_0x3fb3c7(0x151)](_0x53b444){const _0x325798=_0x3fb3c7;return this[_0x325798(0x178)][_0x325798(0x176)](_0x53b444);}[_0x3fb3c7(0x16b)](){const _0x241ed=_0x3fb3c7;super[_0x241ed(0x153)](),this[_0x241ed(0x17d)](),this[_0x241ed(0x15e)][_0x241ed(0x153)](),this[_0x241ed(0x178)][_0x241ed(0x153)](),this[_0x241ed(0x163)][_0x241ed(0x16b)]();}[_0x3fb3c7(0x173)](){const _0x1717be=_0x3fb3c7;for(const _0x5ad3fb of this)_0x5ad3fb[_0x1717be(0x17f)]();this[_0x1717be(0x158)]();}[_0x3fb3c7(0x158)](){const _0xd7ed4a=_0x3fb3c7,_0x393bef=Array[_0xd7ed4a(0x16d)](this)[_0xd7ed4a(0x16c)]((_0x4748ae,_0x37a302)=>v(_0x4748ae[_0xd7ed4a(0x16e)][_0xd7ed4a(0x175)],_0x37a302[_0xd7ed4a(0x16e)][_0xd7ed4a(0x175)]));for(let _0x112f69=_0x393bef[_0xd7ed4a(0x152)]-0x1;_0x112f69>0x0;_0x112f69--){const _0x109098=_0x393bef[_0x112f69];_0x112f69!==this[_0xd7ed4a(0x169)](_0x109098)&&(this[_0xd7ed4a(0x160)](_0x109098),this[_0xd7ed4a(0x17a)](_0x109098));}}[_0x3fb3c7(0x15f)](_0x1413c4){const _0x8374c=_0x3fb3c7;let _0x56a95d=0x0;if(!_0x1413c4)return this[_0x8374c(0x152)];for(const _0x4b4151 of this){const _0x53b2ce=_0x4b4151[_0x8374c(0x16e)][_0x8374c(0x175)];if(_0x53b2ce){if(v(_0x1413c4,_0x53b2ce)<0x0)return _0x56a95d;_0x56a95d++;}}return _0x56a95d;}}export function bindAnnotationCollections({source:_0x10ca5a,target:_0x3a365a,filter:_0x31d7f1}){const _0x25002c=_0x3fb3c7;for(const _0x3b7184 of _0x10ca5a)_0x31d7f1(_0x3b7184)&&_0x3a365a[_0x25002c(0x17a)](_0x3b7184);_0x3a365a[_0x25002c(0x155)](_0x10ca5a,_0x25002c(0x17a),(_0x49112b,_0x206ab9)=>{const _0x211ad8=_0x25002c;_0x31d7f1(_0x206ab9)&&_0x3a365a[_0x211ad8(0x17a)](_0x206ab9);}),_0x3a365a[_0x25002c(0x155)](_0x10ca5a,_0x25002c(0x160),(_0x2d14ab,_0x162d41)=>{const _0x5ee467=_0x25002c;_0x3a365a[_0x5ee467(0x156)](_0x162d41)&&_0x3a365a[_0x5ee467(0x160)](_0x162d41);});}function _0x2d2c(_0x3e75ba,_0x39cef3){const _0x46c1f5=_0x46c1();return _0x2d2c=function(_0x2d2c9e,_0x46693f){_0x2d2c9e=_0x2d2c9e-0x150;let _0x1575ae=_0x46c1f5[_0x2d2c9e];return _0x1575ae;},_0x2d2c(_0x3e75ba,_0x39cef3);}function v(_0x109e1c,_0x52cc8b){const _0x4d4714=_0x3fb3c7;if(null===_0x109e1c&&null===_0x52cc8b)return 0x0;if(null===_0x109e1c)return-0x1;if(null===_0x52cc8b)return 0x1;const _0x53069a=_0x109e1c[_0x4d4714(0x17b)]-_0x52cc8b[_0x4d4714(0x17b)];return 0x0==_0x53069a?_0x109e1c[_0x4d4714(0x166)]-_0x52cc8b[_0x4d4714(0x166)]:_0x53069a;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e2f8e=_0x4ba5;(function(_0x5b1ce8,_0x567293){const _0x21a352=_0x4ba5,_0x456e1e=_0x5b1ce8();while(!![]){try{const _0x3f0250=-parseInt(_0x21a352(0x1a2))/0x1+-parseInt(_0x21a352(0x1a6))/0x2*(parseInt(_0x21a352(0x19e))/0x3)+parseInt(_0x21a352(0x1b4))/0x4+-parseInt(_0x21a352(0x1c7))/0x5+parseInt(_0x21a352(0x1bc))/0x6+parseInt(_0x21a352(0x1c2))/0x7*(parseInt(_0x21a352(0x1aa))/0x8)+parseInt(_0x21a352(0x1a9))/0x9*(parseInt(_0x21a352(0x1b0))/0xa);if(_0x3f0250===_0x567293)break;else _0x456e1e['push'](_0x456e1e['shift']());}catch(_0x13e0f0){_0x456e1e['push'](_0x456e1e['shift']());}}}(_0x35a4,0x8b7cf));function _0x4ba5(_0x3bf227,_0x3763a1){const _0x35a4bc=_0x35a4();return _0x4ba5=function(_0x4ba582,_0x12cbf7){_0x4ba582=_0x4ba582-0x19e;let _0x532f31=_0x35a4bc[_0x4ba582];return _0x532f31;},_0x4ba5(_0x3bf227,_0x3763a1);}import{ContextPlugin as _0x3645a4}from'ckeditor5/src/core.js';import _0x149839 from'./annotation.js';import _0x31c746 from'./annotationcollection.js';import _0x1bb904 from'./view/annotationview.js';export default class b extends _0x3645a4{static get[_0x5e2f8e(0x1c5)](){const _0x159fd6=_0x5e2f8e;return _0x159fd6(0x1b8);}constructor(_0x457342){const _0x1ecfab=_0x5e2f8e;super(_0x457342),this[_0x1ecfab(0x1b3)]=new _0x31c746(),this[_0x1ecfab(0x1ba)]=new _0x31c746(),this[_0x1ecfab(0x1bd)](_0x1ecfab(0x1ad),new Set()),this[_0x1ecfab(0x1c6)]();}[_0x5e2f8e(0x1c4)](_0x1b521d){const _0x442777=_0x5e2f8e;this[_0x442777(0x1b3)][_0x442777(0x1c4)](_0x1b521d);}[_0x5e2f8e(0x1a8)](_0xb1a98f){const _0x2bfb7a=_0x5e2f8e;this[_0x2bfb7a(0x1b3)][_0x2bfb7a(0x1a8)](_0xb1a98f),_0xb1a98f[_0x2bfb7a(0x1b5)]();}[_0x5e2f8e(0x1c3)](){const _0x5a527a=_0x5e2f8e;for(const _0x144c7d of this[_0x5a527a(0x1b3)])_0x144c7d[_0x5a527a(0x1c3)]();}[_0x5e2f8e(0x1a5)](){const _0x2602ea=_0x5e2f8e;this[_0x2602ea(0x1ba)][_0x2602ea(0x1a5)]();}[_0x5e2f8e(0x1bf)](_0x16a46a){const _0x1cc772=_0x5e2f8e;return this[_0x1cc772(0x1b3)][_0x1cc772(0x1bf)](_0x16a46a);}[_0x5e2f8e(0x1c1)](){const _0x5db9d2=_0x5e2f8e;this[_0x5db9d2(0x1a4)](_0x5db9d2(0x1a1));}[_0x5e2f8e(0x1b5)](){const _0x24db8b=_0x5e2f8e;for(const _0x12dd3b of this[_0x24db8b(0x1b3)])_0x12dd3b[_0x24db8b(0x1b5)]();this[_0x24db8b(0x1ba)][_0x24db8b(0x1b5)](),this[_0x24db8b(0x1b3)][_0x24db8b(0x1b5)](),super[_0x24db8b(0x1b5)]();}[_0x5e2f8e(0x1b7)](_0xb78cc2){const _0x3532d0=_0x5e2f8e;this[_0x3532d0(0x1a4)](_0x3532d0(0x1a0),_0xb78cc2);}[_0x5e2f8e(0x1ae)](_0x3ce3da){return new _0x149839(_0x3ce3da);}[_0x5e2f8e(0x1ab)](_0x2e778f,_0x5e7b8b){return new _0x1bb904(_0x2e778f,_0x5e7b8b);}[_0x5e2f8e(0x19f)](_0xef9013){const _0xcd5232=_0x5e2f8e,_0x23740d=new Set(this[_0xcd5232(0x1ad)]);_0x23740d[_0xcd5232(0x1c4)](_0xef9013),this[_0xcd5232(0x1ad)]=_0x23740d;}[_0x5e2f8e(0x1c0)](_0x1bb717){const _0x5a3319=_0x5e2f8e,_0x585a7b=new Set(this[_0x5a3319(0x1ad)]);_0x585a7b[_0x5a3319(0x1b9)](_0x1bb717),this[_0x5a3319(0x1ad)]=_0x585a7b;}[_0x5e2f8e(0x1c6)](){const _0x3cb26d=_0x5e2f8e,_0x2f7399=this[_0x3cb26d(0x1b3)],_0x3c3e2c=this[_0x3cb26d(0x1ba)];function _0xb0a47(_0x598de4){const _0x525f11=_0x3cb26d,_0x24f7f2=_0x598de4[_0x525f11(0x1af)];_0x24f7f2[_0x525f11(0x1b1)]&&!_0x3c3e2c[_0x525f11(0x1ac)](_0x24f7f2)?_0x3c3e2c[_0x525f11(0x1c4)](_0x24f7f2):!_0x24f7f2[_0x525f11(0x1b1)]&&_0x3c3e2c[_0x525f11(0x1ac)](_0x24f7f2)&&_0x3c3e2c[_0x525f11(0x1a8)](_0x24f7f2),_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1bb)][_0x525f11(0x1a8)](_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1a7)]),_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1bb)][_0x525f11(0x1c4)](_0x24f7f2[_0x525f11(0x1be)][_0x525f11(0x1a7)]);}this[_0x3cb26d(0x1a3)](_0x2f7399,_0x3cb26d(0x1c4),(_0x98e7a9,_0x99524f)=>{const _0x3c5c14=_0x3cb26d;_0x99524f[_0x3c5c14(0x1b1)]&&_0x3c3e2c[_0x3c5c14(0x1c4)](_0x99524f),this[_0x3c5c14(0x1a3)](_0x99524f,_0x3c5c14(0x1b6),_0xb0a47);}),this[_0x3cb26d(0x1a3)](_0x2f7399,_0x3cb26d(0x1a8),(_0x356bcb,_0xca25d3)=>{const _0x2c5124=_0x3cb26d;_0x3c3e2c[_0x2c5124(0x1ac)](_0xca25d3)&&_0x3c3e2c[_0x2c5124(0x1a8)](_0xca25d3),this[_0x2c5124(0x1b2)](_0xca25d3,_0x2c5124(0x1b6),_0xb0a47);});}}function _0x35a4(){const _0x24953d=['isVisible','stopListening','collection','1703020HAbAwf','destroy','change:isVisible','activate','Annotations','delete','_visibleAnnotations','focusTracker','3071718KchXLV','set','view','getByInnerView','_removeActiveAnnotation','deactivateAll','1197gBinXr','refreshVisibility','add','pluginName','_bindAnnotationsToVisibleAnnotations','5660385xyzfIT','2922NYwdTT','_addActiveAnnotation','_activateAnnotation','_deactivateAllAnnotations','835957pFJkbS','listenTo','fire','refreshPositioning','952jQbfQY','element','remove','9eLjSXE','48104QrdhJt','createAnnotationView','has','activeAnnotations','createAnnotation','source','10370700UZsQSc'];_0x35a4=function(){return _0x24953d;};return _0x35a4();}
23
+ const _0x2ce118=_0xa53f;(function(_0x2cc54b,_0x38901c){const _0xf31071=_0xa53f,_0x4f6755=_0x2cc54b();while(!![]){try{const _0x15c16c=parseInt(_0xf31071(0x16a))/0x1*(parseInt(_0xf31071(0x182))/0x2)+-parseInt(_0xf31071(0x18c))/0x3*(-parseInt(_0xf31071(0x17a))/0x4)+-parseInt(_0xf31071(0x167))/0x5*(parseInt(_0xf31071(0x178))/0x6)+parseInt(_0xf31071(0x173))/0x7+parseInt(_0xf31071(0x17f))/0x8+parseInt(_0xf31071(0x179))/0x9+-parseInt(_0xf31071(0x176))/0xa;if(_0x15c16c===_0x38901c)break;else _0x4f6755['push'](_0x4f6755['shift']());}catch(_0x59e1d4){_0x4f6755['push'](_0x4f6755['shift']());}}}(_0x3583,0xdf779));import{ContextPlugin as _0x3647f9}from'ckeditor5/src/core.js';import _0x3ca7e9 from'./annotation.js';function _0x3583(){const _0x5d41c2=['_visibleAnnotations','createAnnotationView','refreshVisibility','add','view','855006aupUsW','pluginName','element','createAnnotation','_bindAnnotationsToVisibleAnnotations','80fZTtnx','_deactivateAllAnnotations','destroy','2pqlCsE','delete','activeAnnotations','_addActiveAnnotation','change:isVisible','refreshPositioning','has','listenTo','set','10060351QmufZC','fire','isVisible','10169220tWtmpD','stopListening','635700DnQVdF','9147168hktmEl','8GBbFcK','deactivateAll','remove','focusTracker','activate','2060560TiPZzk','_activateAnnotation','_removeActiveAnnotation','346324bpbqUl','getByInnerView','Annotations','source','collection'];_0x3583=function(){return _0x5d41c2;};return _0x3583();}import _0x540881 from'./annotationcollection.js';import _0x5a6f50 from'./view/annotationview.js';function _0xa53f(_0x2fefb3,_0x405e00){const _0x3583f1=_0x3583();return _0xa53f=function(_0xa53f2c,_0x13f013){_0xa53f2c=_0xa53f2c-0x167;let _0x14c621=_0x3583f1[_0xa53f2c];return _0x14c621;},_0xa53f(_0x2fefb3,_0x405e00);}export default class b extends _0x3647f9{static get[_0x2ce118(0x18d)](){const _0x45b393=_0x2ce118;return _0x45b393(0x184);}constructor(_0x500f46){const _0x5ee273=_0x2ce118;super(_0x500f46),this[_0x5ee273(0x186)]=new _0x540881(),this[_0x5ee273(0x187)]=new _0x540881(),this[_0x5ee273(0x172)](_0x5ee273(0x16c),new Set()),this[_0x5ee273(0x190)]();}[_0x2ce118(0x18a)](_0x355ccc){const _0x6c47c0=_0x2ce118;this[_0x6c47c0(0x186)][_0x6c47c0(0x18a)](_0x355ccc);}[_0x2ce118(0x17c)](_0x18cc4c){const _0x59815c=_0x2ce118;this[_0x59815c(0x186)][_0x59815c(0x17c)](_0x18cc4c),_0x18cc4c[_0x59815c(0x169)]();}[_0x2ce118(0x189)](){const _0x26ad04=_0x2ce118;for(const _0x4895ed of this[_0x26ad04(0x186)])_0x4895ed[_0x26ad04(0x189)]();}[_0x2ce118(0x16f)](){const _0x312351=_0x2ce118;this[_0x312351(0x187)][_0x312351(0x16f)]();}[_0x2ce118(0x183)](_0x2ee9b7){const _0x225fe0=_0x2ce118;return this[_0x225fe0(0x186)][_0x225fe0(0x183)](_0x2ee9b7);}[_0x2ce118(0x17b)](){const _0xdd4e92=_0x2ce118;this[_0xdd4e92(0x174)](_0xdd4e92(0x168));}[_0x2ce118(0x169)](){const _0x39d68c=_0x2ce118;for(const _0x5e60ad of this[_0x39d68c(0x186)])_0x5e60ad[_0x39d68c(0x169)]();this[_0x39d68c(0x187)][_0x39d68c(0x169)](),this[_0x39d68c(0x186)][_0x39d68c(0x169)](),super[_0x39d68c(0x169)]();}[_0x2ce118(0x17e)](_0x5b02fd){const _0x2633a9=_0x2ce118;this[_0x2633a9(0x174)](_0x2633a9(0x180),_0x5b02fd);}[_0x2ce118(0x18f)](_0xab21c6){return new _0x3ca7e9(_0xab21c6);}[_0x2ce118(0x188)](_0x4fcee2,_0x596318){return new _0x5a6f50(_0x4fcee2,_0x596318);}[_0x2ce118(0x16d)](_0x13490b){const _0x3eb70b=_0x2ce118,_0x259012=new Set(this[_0x3eb70b(0x16c)]);_0x259012[_0x3eb70b(0x18a)](_0x13490b),this[_0x3eb70b(0x16c)]=_0x259012;}[_0x2ce118(0x181)](_0xb52809){const _0x54c729=_0x2ce118,_0x18e208=new Set(this[_0x54c729(0x16c)]);_0x18e208[_0x54c729(0x16b)](_0xb52809),this[_0x54c729(0x16c)]=_0x18e208;}[_0x2ce118(0x190)](){const _0x183222=_0x2ce118,_0x2c8c99=this[_0x183222(0x186)],_0x15ee74=this[_0x183222(0x187)];function _0x3d7b65(_0x31c7b2){const _0x3f982d=_0x183222,_0x522407=_0x31c7b2[_0x3f982d(0x185)];_0x522407[_0x3f982d(0x175)]&&!_0x15ee74[_0x3f982d(0x170)](_0x522407)?_0x15ee74[_0x3f982d(0x18a)](_0x522407):!_0x522407[_0x3f982d(0x175)]&&_0x15ee74[_0x3f982d(0x170)](_0x522407)&&_0x15ee74[_0x3f982d(0x17c)](_0x522407),_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x17d)][_0x3f982d(0x17c)](_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x18e)]),_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x17d)][_0x3f982d(0x18a)](_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x18e)]);}this[_0x183222(0x171)](_0x2c8c99,_0x183222(0x18a),(_0x4dd94b,_0x3983b8)=>{const _0x5a2511=_0x183222;_0x3983b8[_0x5a2511(0x175)]&&_0x15ee74[_0x5a2511(0x18a)](_0x3983b8),this[_0x5a2511(0x171)](_0x3983b8,_0x5a2511(0x16e),_0x3d7b65);}),this[_0x183222(0x171)](_0x2c8c99,_0x183222(0x17c),(_0x1bc9ec,_0xa5141f)=>{const _0x125be5=_0x183222;_0x15ee74[_0x125be5(0x170)](_0xa5141f)&&_0x15ee74[_0x125be5(0x17c)](_0xa5141f),this[_0x125be5(0x177)](_0xa5141f,_0x125be5(0x16e),_0x3d7b65);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20eaa8=_0x5928;function _0x5928(_0xe72b23,_0x2edeb3){const _0xeb2a37=_0xeb2a();return _0x5928=function(_0x592823,_0x396c95){_0x592823=_0x592823-0xfa;let _0x491d1c=_0xeb2a37[_0x592823];return _0x491d1c;},_0x5928(_0xe72b23,_0x2edeb3);}(function(_0xde9cd1,_0x38b4ca){const _0x182452=_0x5928,_0x57677a=_0xde9cd1();while(!![]){try{const _0x1dfcac=parseInt(_0x182452(0xfd))/0x1*(parseInt(_0x182452(0x123))/0x2)+-parseInt(_0x182452(0x118))/0x3+-parseInt(_0x182452(0x111))/0x4*(parseInt(_0x182452(0x11a))/0x5)+-parseInt(_0x182452(0x120))/0x6+-parseInt(_0x182452(0x104))/0x7+-parseInt(_0x182452(0x112))/0x8+parseInt(_0x182452(0x11c))/0x9*(parseInt(_0x182452(0x115))/0xa);if(_0x1dfcac===_0x38b4ca)break;else _0x57677a['push'](_0x57677a['shift']());}catch(_0x572b0a){_0x57677a['push'](_0x57677a['shift']());}}}(_0xeb2a,0x3a50c));import{ContextPlugin as _0xb474ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ba5d4}from'ckeditor5/src/utils.js';import _0x312ce9,{bindAnnotationCollections as _0x16adf4}from'./annotationcollection.js';import _0x1365a1 from'./annotations.js';function _0xeb2a(){const _0x226c25=['collection','push','248ZqqNHa','function','requires','get','activate','_addActiveAnnotation','_removeActiveAnnotation','1561322LLFuhe','context','deactivateAll','_assertAnnotationDoesNotBelongToMultipleUIs','from','plugins','init','AnnotationsUIs','annotationsuis-missing-ui','annotationsuis-annotation-mismatch','size','remove','annotationsuis-register-invalid-interface','308ezsAqi','1127240plciNo','stopListening','deactivate','96100YWNBJB','pluginName','hasActive','526452jYpaLH','delete','11335KUBoLm','switchTo','927lSzuND','listenTo','filter','_deactivateAllAnnotations','2084832vjXasA','set','_visibleAnnotations','2504GIYaOV','has','change:activeAnnotation','activeUIs','_uisData','_setSelectedAnnotations','_uis','annotationsuis-register-already-registered','_activateAnnotation','type','detach','attach','add','length','register','find','activeAnnotations','setActiveAnnotation','isActive','refilterAnnotations','destroy'];_0xeb2a=function(){return _0x226c25;};return _0xeb2a();}export default class j extends _0xb474ac{static get[_0x20eaa8(0xff)](){return[_0x1365a1];}static get[_0x20eaa8(0x116)](){const _0x6a7b9b=_0x20eaa8;return _0x6a7b9b(0x10b);}constructor(_0x5b68d8){const _0x211152=_0x20eaa8;super(_0x5b68d8),this[_0x211152(0x126)]=new Set(),this[_0x211152(0x129)]=new Map(),this[_0x211152(0x127)]=new Map();}[_0x20eaa8(0x10a)](){const _0x464c4a=_0x20eaa8,_0x2b1110=this[_0x464c4a(0x105)][_0x464c4a(0x109)][_0x464c4a(0x100)](_0x1365a1);this[_0x464c4a(0x11d)](_0x2b1110,_0x464c4a(0x12b),(_0x42a381,_0x26229c)=>{const _0x58790b=_0x464c4a;for(const _0x353998 of this[_0x58790b(0x126)]){const _0x363ca8=this[_0x58790b(0x129)][_0x58790b(0x100)](_0x353998);(0x0,this[_0x58790b(0x127)][_0x58790b(0x100)](_0x353998)[_0x58790b(0x11e)])(_0x26229c)&&_0x363ca8[_0x58790b(0x134)](_0x26229c);}}),this[_0x464c4a(0x11d)](_0x2b1110,_0x464c4a(0x11f),()=>{const _0x4cda6a=_0x464c4a;for(const _0x18617b of this[_0x4cda6a(0x126)]){this[_0x4cda6a(0x129)][_0x4cda6a(0x100)](_0x18617b)[_0x4cda6a(0x134)](null);}}),this[_0x464c4a(0x11d)](_0x2b1110[_0x464c4a(0x122)],_0x464c4a(0x12f),(_0x3b43bc,_0x56db9f)=>{const _0x425eba=_0x464c4a;this[_0x425eba(0x107)](_0x56db9f);});}[_0x20eaa8(0x117)](){const _0x1cd9e0=_0x20eaa8;return this[_0x1cd9e0(0x126)][_0x1cd9e0(0x10e)]>0x0;}[_0x20eaa8(0x135)](_0x2412a8){const _0x59754e=_0x20eaa8;return this[_0x59754e(0x126)][_0x59754e(0x124)](_0x2412a8);}[_0x20eaa8(0x101)](_0x4e39a1,_0x527212=()=>!0x0){const _0x4de46f=_0x20eaa8,_0x1de677=this[_0x4de46f(0x105)][_0x4de46f(0x109)][_0x4de46f(0x100)](_0x1365a1);if(!this[_0x4de46f(0x129)][_0x4de46f(0x124)](_0x4e39a1))throw new _0x3ba5d4(_0x4de46f(0x10c),this,{'uiName':_0x4e39a1});this[_0x4de46f(0x135)](_0x4e39a1)&&this[_0x4de46f(0x114)](_0x4e39a1),this[_0x4de46f(0x126)][_0x4de46f(0x12f)](_0x4e39a1);const _0x4606ce=new _0x312ce9(),_0x440c4e=_0x1de677[_0x4de46f(0x122)];_0x16adf4({'source':_0x440c4e,'target':_0x4606ce,'filter':_0x527212}),this[_0x4de46f(0x127)][_0x4de46f(0x121)](_0x4e39a1,{'collection':_0x4606ce,'filter':_0x527212});const _0x5c0475=this[_0x4de46f(0x129)][_0x4de46f(0x100)](_0x4e39a1);_0x5c0475[_0x4de46f(0x12e)](_0x4606ce),this[_0x4de46f(0x11d)](_0x5c0475,_0x4de46f(0x125),(_0x108947,_0x539a1d,_0x18ce55,_0xd2408d)=>{const _0xf3473c=_0x4de46f;_0xd2408d&&_0x1de677[_0xf3473c(0x103)](_0xd2408d),_0x18ce55&&_0x1de677[_0xf3473c(0x102)](_0x18ce55);});}[_0x20eaa8(0x114)](_0x3848f2){const _0x203bc8=_0x20eaa8;if(this[_0x203bc8(0x126)][_0x203bc8(0x119)](_0x3848f2),!this[_0x203bc8(0x129)][_0x203bc8(0x124)](_0x3848f2))throw new _0x3ba5d4(_0x203bc8(0x10c),this,{'uiName':_0x3848f2});const _0x334940=this[_0x203bc8(0x129)][_0x203bc8(0x100)](_0x3848f2);_0x334940[_0x203bc8(0x12d)](),this[_0x203bc8(0x113)](_0x334940),this[_0x203bc8(0x127)][_0x203bc8(0x100)](_0x3848f2)[_0x203bc8(0xfb)][_0x203bc8(0xfa)](),this[_0x203bc8(0x127)][_0x203bc8(0x119)](_0x3848f2);}[_0x20eaa8(0x11b)](_0x91403f){const _0x5b3724=_0x20eaa8;if(!this[_0x5b3724(0x129)][_0x5b3724(0x124)](_0x91403f))throw new _0x3ba5d4(_0x5b3724(0x10c),this,{'uiName':_0x91403f});const _0x333cfc=this[_0x5b3724(0x105)][_0x5b3724(0x109)][_0x5b3724(0x100)](_0x1365a1),_0x5ade28=Array[_0x5b3724(0x108)](_0x333cfc[_0x5b3724(0x133)])[0x0]||null;this[_0x5b3724(0x106)](),this[_0x5b3724(0x101)](_0x91403f);const _0x404ac=this[_0x5b3724(0x129)][_0x5b3724(0x100)](_0x91403f);_0x404ac[_0x5b3724(0x134)](_0x5ade28),_0x404ac[_0x5b3724(0x128)]&&_0x5ade28&&_0x404ac[_0x5b3724(0x128)]([_0x5ade28]);}[_0x20eaa8(0x106)](){const _0x1433e8=_0x20eaa8;for(const _0x279f1b of this[_0x1433e8(0x126)])this[_0x1433e8(0x114)](_0x279f1b);}[_0x20eaa8(0x131)](_0x2f7c3a,_0x417a29){const _0x1bdbfa=_0x20eaa8;if(this[_0x1bdbfa(0x129)][_0x1bdbfa(0x124)](_0x2f7c3a))throw new _0x3ba5d4(_0x1bdbfa(0x12a));if(_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x12e)]||_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x12d)]||_0x1bdbfa(0xfe)!=typeof _0x417a29[_0x1bdbfa(0x134)])throw new _0x3ba5d4(_0x1bdbfa(0x110),null);this[_0x1bdbfa(0x129)][_0x1bdbfa(0x121)](_0x2f7c3a,_0x417a29);}[_0x20eaa8(0x136)](){const _0x579638=_0x20eaa8,_0x1f53b0=this[_0x579638(0x105)][_0x579638(0x109)][_0x579638(0x100)](_0x1365a1)[_0x579638(0xfb)],_0x12bd6c=new Map(),_0x5f2641=Array[_0x579638(0x108)](this[_0x579638(0x126)]);for(const _0x9ce685 of this[_0x579638(0x126)]){const _0x316c57=this[_0x579638(0x127)][_0x579638(0x100)](_0x9ce685)[_0x579638(0xfb)];for(const _0x3cbbd4 of _0x316c57)_0x12bd6c[_0x579638(0x121)](_0x3cbbd4,_0x9ce685);}for(const _0x1596a9 of _0x1f53b0){const _0x5c2aa0=_0x12bd6c[_0x579638(0x100)](_0x1596a9);this[_0x579638(0x107)](_0x1596a9);const _0x111957=_0x5f2641[_0x579638(0x132)](_0x208035=>this[_0x579638(0x127)][_0x579638(0x100)](_0x208035)[_0x579638(0x11e)](_0x1596a9));_0x5c2aa0!==_0x111957&&(_0x5c2aa0&&this[_0x579638(0x127)][_0x579638(0x100)](_0x5c2aa0)[_0x579638(0xfb)][_0x579638(0x10f)](_0x1596a9),_0x111957&&this[_0x579638(0x127)][_0x579638(0x100)](_0x111957)[_0x579638(0xfb)][_0x579638(0x12f)](_0x1596a9));}}[_0x20eaa8(0xfa)](){const _0x240ef3=_0x20eaa8;this[_0x240ef3(0x106)](),super[_0x240ef3(0xfa)]();}[_0x20eaa8(0x107)](_0x5b6711){const _0x198f10=_0x20eaa8,_0x1a5443=[];for(const _0x4839b8 of this[_0x198f10(0x126)]){(0x0,this[_0x198f10(0x127)][_0x198f10(0x100)](_0x4839b8)[_0x198f10(0x11e)])(_0x5b6711)&&_0x1a5443[_0x198f10(0xfc)](_0x4839b8);}if(_0x1a5443[_0x198f10(0x130)]>0x1)throw new _0x3ba5d4(_0x198f10(0x10d),null,{'matchedUIs':_0x1a5443,'annotationType':_0x5b6711[_0x198f10(0x12c)]});}}
23
+ const _0x5edf3c=_0x2878;function _0x35f4(){const _0x3b8717=['2442034tEswyo','18mwdIIB','348444nOxSGZ','hasActive','plugins','12lAboGU','_visibleAnnotations','1429734EDcoAP','get','size','push','77931uqUSMH','destroy','switchTo','_uisData','length','init','context','add','activate','setActiveAnnotation','type','change:activeAnnotation','has','annotationsuis-annotation-mismatch','stopListening','remove','collection','listenTo','find','1722184dOmxcQ','_deactivateAllAnnotations','_removeActiveAnnotation','refilterAnnotations','annotationsuis-missing-ui','register','_assertAnnotationDoesNotBelongToMultipleUIs','isActive','deactivateAll','AnnotationsUIs','535730tZWYDi','deactivate','filter','pluginName','activeAnnotations','_addActiveAnnotation','_activateAnnotation','attach','activeUIs','annotationsuis-register-already-registered','from','set','function','detach','_setSelectedAnnotations','delete','151933xXgWbr','annotationsuis-register-invalid-interface','_uis','requires'];_0x35f4=function(){return _0x3b8717;};return _0x35f4();}(function(_0x72e7df,_0x51667f){const _0x19388d=_0x2878,_0x59ee56=_0x72e7df();while(!![]){try{const _0x21fc3b=-parseInt(_0x19388d(0x7f))/0x1+-parseInt(_0x19388d(0x85))/0x2+parseInt(_0x19388d(0x8e))/0x3*(parseInt(_0x19388d(0x88))/0x4)+-parseInt(_0x19388d(0xab))/0x5+-parseInt(_0x19388d(0x8a))/0x6+parseInt(_0x19388d(0x83))/0x7+-parseInt(_0x19388d(0xa1))/0x8*(-parseInt(_0x19388d(0x84))/0x9);if(_0x21fc3b===_0x51667f)break;else _0x59ee56['push'](_0x59ee56['shift']());}catch(_0x1b5942){_0x59ee56['push'](_0x59ee56['shift']());}}}(_0x35f4,0x2d595));import{ContextPlugin as _0x464417}from'ckeditor5/src/core.js';import{CKEditorError as _0x48b6df}from'ckeditor5/src/utils.js';function _0x2878(_0x2f6bdc,_0x375117){const _0x35f4d9=_0x35f4();return _0x2878=function(_0x287888,_0x3f7f66){_0x287888=_0x287888-0x7e;let _0x5c7543=_0x35f4d9[_0x287888];return _0x5c7543;},_0x2878(_0x2f6bdc,_0x375117);}import _0x1b3689,{bindAnnotationCollections as _0x1c793b}from'./annotationcollection.js';import _0x329946 from'./annotations.js';export default class j extends _0x464417{static get[_0x5edf3c(0x82)](){return[_0x329946];}static get[_0x5edf3c(0xae)](){const _0x3af574=_0x5edf3c;return _0x3af574(0xaa);}constructor(_0x1f1beb){const _0x38fce6=_0x5edf3c;super(_0x1f1beb),this[_0x38fce6(0xb3)]=new Set(),this[_0x38fce6(0x81)]=new Map(),this[_0x38fce6(0x91)]=new Map();}[_0x5edf3c(0x93)](){const _0x49ee51=_0x5edf3c,_0x3719d2=this[_0x49ee51(0x94)][_0x49ee51(0x87)][_0x49ee51(0x8b)](_0x329946);this[_0x49ee51(0x9f)](_0x3719d2,_0x49ee51(0xb1),(_0x32cd01,_0x2c3e46)=>{const _0x4bddfd=_0x49ee51;for(const _0x1ec89d of this[_0x4bddfd(0xb3)]){const _0xb573=this[_0x4bddfd(0x81)][_0x4bddfd(0x8b)](_0x1ec89d);(0x0,this[_0x4bddfd(0x91)][_0x4bddfd(0x8b)](_0x1ec89d)[_0x4bddfd(0xad)])(_0x2c3e46)&&_0xb573[_0x4bddfd(0x97)](_0x2c3e46);}}),this[_0x49ee51(0x9f)](_0x3719d2,_0x49ee51(0xa2),()=>{const _0x5aa7b0=_0x49ee51;for(const _0x394fd3 of this[_0x5aa7b0(0xb3)]){this[_0x5aa7b0(0x81)][_0x5aa7b0(0x8b)](_0x394fd3)[_0x5aa7b0(0x97)](null);}}),this[_0x49ee51(0x9f)](_0x3719d2[_0x49ee51(0x89)],_0x49ee51(0x95),(_0x5977da,_0x319981)=>{const _0x47f3db=_0x49ee51;this[_0x47f3db(0xa7)](_0x319981);});}[_0x5edf3c(0x86)](){const _0x32c734=_0x5edf3c;return this[_0x32c734(0xb3)][_0x32c734(0x8c)]>0x0;}[_0x5edf3c(0xa8)](_0x338f05){const _0x16bf4c=_0x5edf3c;return this[_0x16bf4c(0xb3)][_0x16bf4c(0x9a)](_0x338f05);}[_0x5edf3c(0x96)](_0x9853d4,_0x381668=()=>!0x0){const _0x289917=_0x5edf3c,_0x218504=this[_0x289917(0x94)][_0x289917(0x87)][_0x289917(0x8b)](_0x329946);if(!this[_0x289917(0x81)][_0x289917(0x9a)](_0x9853d4))throw new _0x48b6df(_0x289917(0xa5),this,{'uiName':_0x9853d4});this[_0x289917(0xa8)](_0x9853d4)&&this[_0x289917(0xac)](_0x9853d4),this[_0x289917(0xb3)][_0x289917(0x95)](_0x9853d4);const _0x65122f=new _0x1b3689(),_0x47f910=_0x218504[_0x289917(0x89)];_0x1c793b({'source':_0x47f910,'target':_0x65122f,'filter':_0x381668}),this[_0x289917(0x91)][_0x289917(0xb6)](_0x9853d4,{'collection':_0x65122f,'filter':_0x381668});const _0x2f0d4a=this[_0x289917(0x81)][_0x289917(0x8b)](_0x9853d4);_0x2f0d4a[_0x289917(0xb2)](_0x65122f),this[_0x289917(0x9f)](_0x2f0d4a,_0x289917(0x99),(_0x38d981,_0x324601,_0x30b231,_0x46cf34)=>{const _0x500d2d=_0x289917;_0x46cf34&&_0x218504[_0x500d2d(0xa3)](_0x46cf34),_0x30b231&&_0x218504[_0x500d2d(0xb0)](_0x30b231);});}[_0x5edf3c(0xac)](_0x1acedb){const _0x5f09a4=_0x5edf3c;if(this[_0x5f09a4(0xb3)][_0x5f09a4(0x7e)](_0x1acedb),!this[_0x5f09a4(0x81)][_0x5f09a4(0x9a)](_0x1acedb))throw new _0x48b6df(_0x5f09a4(0xa5),this,{'uiName':_0x1acedb});const _0x473b9b=this[_0x5f09a4(0x81)][_0x5f09a4(0x8b)](_0x1acedb);_0x473b9b[_0x5f09a4(0xb8)](),this[_0x5f09a4(0x9c)](_0x473b9b),this[_0x5f09a4(0x91)][_0x5f09a4(0x8b)](_0x1acedb)[_0x5f09a4(0x9e)][_0x5f09a4(0x8f)](),this[_0x5f09a4(0x91)][_0x5f09a4(0x7e)](_0x1acedb);}[_0x5edf3c(0x90)](_0x47cbf1){const _0x10795f=_0x5edf3c;if(!this[_0x10795f(0x81)][_0x10795f(0x9a)](_0x47cbf1))throw new _0x48b6df(_0x10795f(0xa5),this,{'uiName':_0x47cbf1});const _0x31f06c=this[_0x10795f(0x94)][_0x10795f(0x87)][_0x10795f(0x8b)](_0x329946),_0x5b1e9f=Array[_0x10795f(0xb5)](_0x31f06c[_0x10795f(0xaf)])[0x0]||null;this[_0x10795f(0xa9)](),this[_0x10795f(0x96)](_0x47cbf1);const _0x1e6ec4=this[_0x10795f(0x81)][_0x10795f(0x8b)](_0x47cbf1);_0x1e6ec4[_0x10795f(0x97)](_0x5b1e9f),_0x1e6ec4[_0x10795f(0xb9)]&&_0x5b1e9f&&_0x1e6ec4[_0x10795f(0xb9)]([_0x5b1e9f]);}[_0x5edf3c(0xa9)](){const _0x58aab3=_0x5edf3c;for(const _0x3471d8 of this[_0x58aab3(0xb3)])this[_0x58aab3(0xac)](_0x3471d8);}[_0x5edf3c(0xa6)](_0x3eeaad,_0x283116){const _0x432c2e=_0x5edf3c;if(this[_0x432c2e(0x81)][_0x432c2e(0x9a)](_0x3eeaad))throw new _0x48b6df(_0x432c2e(0xb4));if(_0x432c2e(0xb7)!=typeof _0x283116[_0x432c2e(0xb2)]||_0x432c2e(0xb7)!=typeof _0x283116[_0x432c2e(0xb8)]||_0x432c2e(0xb7)!=typeof _0x283116[_0x432c2e(0x97)])throw new _0x48b6df(_0x432c2e(0x80),null);this[_0x432c2e(0x81)][_0x432c2e(0xb6)](_0x3eeaad,_0x283116);}[_0x5edf3c(0xa4)](){const _0x37df5d=_0x5edf3c,_0x56fcb6=this[_0x37df5d(0x94)][_0x37df5d(0x87)][_0x37df5d(0x8b)](_0x329946)[_0x37df5d(0x9e)],_0xae6da8=new Map(),_0x10fbe4=Array[_0x37df5d(0xb5)](this[_0x37df5d(0xb3)]);for(const _0x13f260 of this[_0x37df5d(0xb3)]){const _0x59b197=this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x13f260)[_0x37df5d(0x9e)];for(const _0x2dd163 of _0x59b197)_0xae6da8[_0x37df5d(0xb6)](_0x2dd163,_0x13f260);}for(const _0x47fd12 of _0x56fcb6){const _0x53b738=_0xae6da8[_0x37df5d(0x8b)](_0x47fd12);this[_0x37df5d(0xa7)](_0x47fd12);const _0x265e05=_0x10fbe4[_0x37df5d(0xa0)](_0x4aa779=>this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x4aa779)[_0x37df5d(0xad)](_0x47fd12));_0x53b738!==_0x265e05&&(_0x53b738&&this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x53b738)[_0x37df5d(0x9e)][_0x37df5d(0x9d)](_0x47fd12),_0x265e05&&this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x265e05)[_0x37df5d(0x9e)][_0x37df5d(0x95)](_0x47fd12));}}[_0x5edf3c(0x8f)](){const _0x4b3abc=_0x5edf3c;this[_0x4b3abc(0xa9)](),super[_0x4b3abc(0x8f)]();}[_0x5edf3c(0xa7)](_0x38f65f){const _0x19cb95=_0x5edf3c,_0x352189=[];for(const _0x25bf5d of this[_0x19cb95(0xb3)]){(0x0,this[_0x19cb95(0x91)][_0x19cb95(0x8b)](_0x25bf5d)[_0x19cb95(0xad)])(_0x38f65f)&&_0x352189[_0x19cb95(0x8d)](_0x25bf5d);}if(_0x352189[_0x19cb95(0x92)]>0x1)throw new _0x48b6df(_0x19cb95(0x9b),null,{'matchedUIs':_0x352189,'annotationType':_0x38f65f[_0x19cb95(0x98)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ae4f7=_0x493c;(function(_0x2a4624,_0x3a8882){const _0x44a817=_0x493c,_0x4a8e7a=_0x2a4624();while(!![]){try{const _0x2f345e=parseInt(_0x44a817(0x12d))/0x1*(parseInt(_0x44a817(0x148))/0x2)+parseInt(_0x44a817(0x12a))/0x3*(parseInt(_0x44a817(0x14e))/0x4)+-parseInt(_0x44a817(0x128))/0x5*(parseInt(_0x44a817(0x141))/0x6)+-parseInt(_0x44a817(0x162))/0x7*(parseInt(_0x44a817(0x12f))/0x8)+-parseInt(_0x44a817(0x15a))/0x9+parseInt(_0x44a817(0x166))/0xa*(parseInt(_0x44a817(0x13d))/0xb)+-parseInt(_0x44a817(0x134))/0xc*(parseInt(_0x44a817(0x13e))/0xd);if(_0x2f345e===_0x3a8882)break;else _0x4a8e7a['push'](_0x4a8e7a['shift']());}catch(_0x50e34d){_0x4a8e7a['push'](_0x4a8e7a['shift']());}}}(_0x5a9a,0xc39cb));import{Plugin as _0x332dae}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d7399}from'ckeditor5/src/utils.js';function _0x5a9a(){const _0x2424ea=['524150DIwktB','addSourceCollector','_editorAnnotations','EditorAnnotations','2259295SlfNkm','view','454821IzFpMk','model','refreshSelectedViews','8jZdzGr','remove','8bifWnc','init','pluginName','get','document','44628Qqdnip','hasDomSelection','listenTo','getOrderedSelectedAnnotations','blur','editorannotations-invalid-source-callback','set','fire','change:isFocused','286jtPVkX','455ONfiKH','plugins','add','12CGGadD','isReadOnly','cancel','editor','push','uiUpdate','from','235810Dysdpb','collection','isEqual','function','selection','focusTracker','28kJsQMW','has','_dataCollectors','directChange','delete','map','registerAnnotation','editing','getRanges','sort','refresh','_editorAnnotationsData','4571784JVMHEN','requires','update','isCollapsed','annotation','innerView','getByInnerView','range','7169351ZzUUGM','change:range','containsRange','element'];_0x5a9a=function(){return _0x2424ea;};return _0x5a9a();}function _0x493c(_0xf3ea29,_0x147cb0){const _0x5a9af4=_0x5a9a();return _0x493c=function(_0x493c4d,_0x3a4fe8){_0x493c4d=_0x493c4d-0x126;let _0x33974e=_0x5a9af4[_0x493c4d];return _0x33974e;},_0x493c(_0xf3ea29,_0x147cb0);}import{debounce as _0x230c53}from'lodash-es';import _0xb7a003 from'./annotations.js';export default class k extends _0x332dae{static get[_0x1ae4f7(0x15b)](){return[_0xb7a003];}static get[_0x1ae4f7(0x131)](){const _0x396b1a=_0x1ae4f7;return _0x396b1a(0x127);}constructor(_0x3b9488){const _0x4a2bc9=_0x1ae4f7;super(_0x3b9488),this[_0x4a2bc9(0x150)]=new Set(),this[_0x4a2bc9(0x126)]=new Set();}[_0x1ae4f7(0x130)](){const _0x48a4b5=_0x1ae4f7,_0x4284d9=this[_0x48a4b5(0x144)],_0x4f04fb=_0x4284d9[_0x48a4b5(0x12b)][_0x48a4b5(0x133)][_0x48a4b5(0x14c)],_0x171ce2=_0x230c53(()=>this[_0x48a4b5(0x12c)](),0xa);_0x4f04fb['on'](_0x48a4b5(0x163),(_0x4512e1,_0x11c671)=>{const _0x3009a9=_0x48a4b5;_0x11c671[_0x3009a9(0x151)]&&(_0x171ce2[_0x3009a9(0x143)](),this[_0x3009a9(0x12c)]());}),this[_0x48a4b5(0x136)](_0x4284d9[_0x48a4b5(0x155)][_0x48a4b5(0x129)][_0x48a4b5(0x133)],_0x48a4b5(0x13c),(_0x2a6a91,_0x4b2caf,_0x5b34d1)=>{_0x5b34d1&&_0x171ce2();}),this[_0x48a4b5(0x136)](_0x4284d9['ui'][_0x48a4b5(0x14d)],_0x48a4b5(0x13c),(_0x223dbb,_0x56e6ae,_0x45a8c5)=>{const _0x491a94=_0x48a4b5;_0x45a8c5||_0x4284d9[_0x491a94(0x142)]||this[_0x491a94(0x13b)](_0x491a94(0x138),{'isAnnotationTracked':_0x19ad11=>this[_0x491a94(0x159)][_0x491a94(0x14f)](_0x19ad11[_0x491a94(0x15f)])});}),this[_0x48a4b5(0x136)](this[_0x48a4b5(0x144)]['ui'],_0x48a4b5(0x15c),()=>this[_0x48a4b5(0x13b)](_0x48a4b5(0x146)));}[_0x1ae4f7(0x154)](_0x3f1221){const _0x11c1aa=_0x1ae4f7;if(this[_0x11c1aa(0x126)][_0x11c1aa(0x14f)](_0x3f1221[_0x11c1aa(0x129)]))return;this[_0x11c1aa(0x126)][_0x11c1aa(0x140)](_0x3f1221[_0x11c1aa(0x129)]),this[_0x11c1aa(0x144)]['ui'][_0x11c1aa(0x14d)][_0x11c1aa(0x140)](_0x3f1221[_0x11c1aa(0x129)][_0x11c1aa(0x165)]);const _0x40d2f=this[_0x11c1aa(0x144)][_0x11c1aa(0x13f)][_0x11c1aa(0x132)](_0xb7a003);this[_0x11c1aa(0x136)](_0x40d2f[_0x11c1aa(0x149)],_0x11c1aa(0x12e),(_0x593b29,_0x1b5aa7)=>{const _0x268e3f=_0x11c1aa;this[_0x268e3f(0x144)]['ui'][_0x268e3f(0x14d)][_0x268e3f(0x12e)](_0x1b5aa7[_0x268e3f(0x129)][_0x268e3f(0x165)]),this[_0x268e3f(0x126)][_0x268e3f(0x152)](_0x1b5aa7[_0x268e3f(0x129)]);});}[_0x1ae4f7(0x135)](){const _0xfd8f38=_0x1ae4f7;return this[_0xfd8f38(0x144)][_0xfd8f38(0x155)][_0xfd8f38(0x129)][_0xfd8f38(0x135)];}[_0x1ae4f7(0x167)](_0xc8c426){const _0x23dcbc=_0x1ae4f7;if(_0x23dcbc(0x14b)!=typeof _0xc8c426)throw new _0x1d7399(_0x23dcbc(0x139));this[_0x23dcbc(0x150)][_0x23dcbc(0x140)](_0xc8c426);}[_0x1ae4f7(0x12c)](){const _0x3bdf23=_0x1ae4f7;this[_0x3bdf23(0x13b)](_0x3bdf23(0x158));}[_0x1ae4f7(0x137)]({activeAnnotation:_0x2e47cf,annotations:_0xfda37c}){const _0xcdcb10=_0x1ae4f7,_0x2c8de8=[],_0x105ab9=this[_0xcdcb10(0x144)][_0xcdcb10(0x12b)][_0xcdcb10(0x133)][_0xcdcb10(0x14c)],_0xf53650=Array[_0xcdcb10(0x147)](_0x105ab9[_0xcdcb10(0x156)]());for(const [_0x1d3645,_0x2fb718]of this[_0xcdcb10(0x159)]){const _0x1dfa02=_0x5dec01(_0x2fb718),_0x23d566=_0xfda37c[_0xcdcb10(0x160)](_0x1d3645);_0x1dfa02&&_0x23d566&&_0x2c8de8[_0xcdcb10(0x145)]({'annotation':_0x23d566,'range':_0x1dfa02});}function _0x5dec01(_0x1cd0e5){const _0x14ecf9=_0xcdcb10;for(const _0x2d9269 of _0x1cd0e5)for(const _0x52d900 of _0xf53650)if(_0x2d9269[_0x14ecf9(0x164)](_0x52d900,!_0x105ab9[_0x14ecf9(0x15d)]))return _0x2d9269;return null;}return _0x2c8de8[_0xcdcb10(0x157)]((_0x4e6cdd,_0x1664b5)=>{const _0x2f5082=_0xcdcb10,_0x2be334=_0x4e6cdd[_0x2f5082(0x161)],_0x5a0951=_0x1664b5[_0x2f5082(0x161)];if(!_0x2be334[_0x2f5082(0x14a)](_0x5a0951)){if(_0x2be334[_0x2f5082(0x164)](_0x5a0951,!0x0))return 0x1;if(_0x5a0951[_0x2f5082(0x164)](_0x2be334,!0x0))return-0x1;}return _0x4e6cdd[_0x2f5082(0x15e)]==_0x2e47cf?-0x1:_0x1664b5[_0x2f5082(0x15e)]==_0x2e47cf?0x1:0x0;})[_0xcdcb10(0x153)](_0x5027a5=>_0x5027a5[_0xcdcb10(0x15e)]);}get[_0x1ae4f7(0x159)](){const _0x95ca1d=_0x1ae4f7,_0x5aa889=new Map();for(const _0x1071b0 of Array[_0x95ca1d(0x147)](this[_0x95ca1d(0x150)]))for(const [_0x19e2fd,_0x32534a]of _0x1071b0())_0x5aa889[_0x95ca1d(0x13a)](_0x19e2fd,_0x32534a);return _0x5aa889;}}
23
+ const _0x1f1994=_0xa9c1;(function(_0x50b519,_0x529b3e){const _0x4b30c3=_0xa9c1,_0xbed47=_0x50b519();while(!![]){try{const _0x4cd033=parseInt(_0x4b30c3(0x1be))/0x1+parseInt(_0x4b30c3(0x1b8))/0x2+parseInt(_0x4b30c3(0x1e7))/0x3+parseInt(_0x4b30c3(0x1b5))/0x4+parseInt(_0x4b30c3(0x1d2))/0x5+-parseInt(_0x4b30c3(0x1e8))/0x6+-parseInt(_0x4b30c3(0x1e9))/0x7*(parseInt(_0x4b30c3(0x1b9))/0x8);if(_0x4cd033===_0x529b3e)break;else _0xbed47['push'](_0xbed47['shift']());}catch(_0x1d6a90){_0xbed47['push'](_0xbed47['shift']());}}}(_0x15a8,0x52b0c));function _0x15a8(){const _0x857eb6=['push','has','636308ACIOjp','model','plugins','208314byjuem','4678440RKtnqa','editor','add','innerView','directChange','417686KqOTBG','init','refreshSelectedViews','cancel','collection','getOrderedSelectedAnnotations','fire','_dataCollectors','get','_editorAnnotations','document','_editorAnnotationsData','addSourceCollector','isReadOnly','blur','isEqual','listenTo','getRanges','EditorAnnotations','map','2859435ujdGMV','remove','containsRange','requires','editing','refresh','pluginName','sort','annotation','update','range','element','set','view','registerAnnotation','change:range','isCollapsed','uiUpdate','change:isFocused','selection','focusTracker','222732GDTcll','2421276KflzUp','7eEvBXS','getByInnerView','hasDomSelection','from','function','editorannotations-invalid-source-callback','delete'];_0x15a8=function(){return _0x857eb6;};return _0x15a8();}import{Plugin as _0x4d002b}from'ckeditor5/src/core.js';import{CKEditorError as _0x8c11c8}from'ckeditor5/src/utils.js';function _0xa9c1(_0x24fb7e,_0x196ef6){const _0x15a8a6=_0x15a8();return _0xa9c1=function(_0xa9c16b,_0x3b9693){_0xa9c16b=_0xa9c16b-0x1b4;let _0x4643a0=_0x15a8a6[_0xa9c16b];return _0x4643a0;},_0xa9c1(_0x24fb7e,_0x196ef6);}import{debounce as _0x515787}from'lodash-es';import _0x3f4d86 from'./annotations.js';export default class k extends _0x4d002b{static get[_0x1f1994(0x1d5)](){return[_0x3f4d86];}static get[_0x1f1994(0x1d8)](){const _0x12ac9b=_0x1f1994;return _0x12ac9b(0x1d0);}constructor(_0x333484){const _0x4aecb1=_0x1f1994;super(_0x333484),this[_0x4aecb1(0x1c5)]=new Set(),this[_0x4aecb1(0x1c7)]=new Set();}[_0x1f1994(0x1bf)](){const _0x19a4d4=_0x1f1994,_0x124630=this[_0x19a4d4(0x1ba)],_0x1b79a6=_0x124630[_0x19a4d4(0x1b6)][_0x19a4d4(0x1c8)][_0x19a4d4(0x1e5)],_0x472241=_0x515787(()=>this[_0x19a4d4(0x1c0)](),0xa);_0x1b79a6['on'](_0x19a4d4(0x1e1),(_0x5ce8ee,_0x33b56c)=>{const _0x48dce8=_0x19a4d4;_0x33b56c[_0x48dce8(0x1bd)]&&(_0x472241[_0x48dce8(0x1c1)](),this[_0x48dce8(0x1c0)]());}),this[_0x19a4d4(0x1ce)](_0x124630[_0x19a4d4(0x1d6)][_0x19a4d4(0x1df)][_0x19a4d4(0x1c8)],_0x19a4d4(0x1e4),(_0x58558a,_0x4cc497,_0xf4e1ca)=>{_0xf4e1ca&&_0x472241();}),this[_0x19a4d4(0x1ce)](_0x124630['ui'][_0x19a4d4(0x1e6)],_0x19a4d4(0x1e4),(_0x1572b3,_0x1adb53,_0x5e91cc)=>{const _0x374959=_0x19a4d4;_0x5e91cc||_0x124630[_0x374959(0x1cb)]||this[_0x374959(0x1c4)](_0x374959(0x1cc),{'isAnnotationTracked':_0x40badc=>this[_0x374959(0x1c9)][_0x374959(0x1b4)](_0x40badc[_0x374959(0x1bc)])});}),this[_0x19a4d4(0x1ce)](this[_0x19a4d4(0x1ba)]['ui'],_0x19a4d4(0x1db),()=>this[_0x19a4d4(0x1c4)](_0x19a4d4(0x1e3)));}[_0x1f1994(0x1e0)](_0x6ac406){const _0x2459e1=_0x1f1994;if(this[_0x2459e1(0x1c7)][_0x2459e1(0x1b4)](_0x6ac406[_0x2459e1(0x1df)]))return;this[_0x2459e1(0x1c7)][_0x2459e1(0x1bb)](_0x6ac406[_0x2459e1(0x1df)]),this[_0x2459e1(0x1ba)]['ui'][_0x2459e1(0x1e6)][_0x2459e1(0x1bb)](_0x6ac406[_0x2459e1(0x1df)][_0x2459e1(0x1dd)]);const _0x459c58=this[_0x2459e1(0x1ba)][_0x2459e1(0x1b7)][_0x2459e1(0x1c6)](_0x3f4d86);this[_0x2459e1(0x1ce)](_0x459c58[_0x2459e1(0x1c2)],_0x2459e1(0x1d3),(_0x1cfe5c,_0x42026a)=>{const _0xe1e4db=_0x2459e1;this[_0xe1e4db(0x1ba)]['ui'][_0xe1e4db(0x1e6)][_0xe1e4db(0x1d3)](_0x42026a[_0xe1e4db(0x1df)][_0xe1e4db(0x1dd)]),this[_0xe1e4db(0x1c7)][_0xe1e4db(0x1ef)](_0x42026a[_0xe1e4db(0x1df)]);});}[_0x1f1994(0x1eb)](){const _0x4dac4f=_0x1f1994;return this[_0x4dac4f(0x1ba)][_0x4dac4f(0x1d6)][_0x4dac4f(0x1df)][_0x4dac4f(0x1eb)];}[_0x1f1994(0x1ca)](_0x117ee1){const _0x5823e4=_0x1f1994;if(_0x5823e4(0x1ed)!=typeof _0x117ee1)throw new _0x8c11c8(_0x5823e4(0x1ee));this[_0x5823e4(0x1c5)][_0x5823e4(0x1bb)](_0x117ee1);}[_0x1f1994(0x1c0)](){const _0x2d7d99=_0x1f1994;this[_0x2d7d99(0x1c4)](_0x2d7d99(0x1d7));}[_0x1f1994(0x1c3)]({activeAnnotation:_0x1ddbf3,annotations:_0x1f6675}){const _0x377f34=_0x1f1994,_0x28abd2=[],_0x33c469=this[_0x377f34(0x1ba)][_0x377f34(0x1b6)][_0x377f34(0x1c8)][_0x377f34(0x1e5)],_0x31bb40=Array[_0x377f34(0x1ec)](_0x33c469[_0x377f34(0x1cf)]());for(const [_0x108217,_0x3f3635]of this[_0x377f34(0x1c9)]){const _0x200957=_0x3eab95(_0x3f3635),_0x684173=_0x1f6675[_0x377f34(0x1ea)](_0x108217);_0x200957&&_0x684173&&_0x28abd2[_0x377f34(0x1f0)]({'annotation':_0x684173,'range':_0x200957});}function _0x3eab95(_0x50f478){const _0x8c68ca=_0x377f34;for(const _0x1f608e of _0x50f478)for(const _0x1a12eb of _0x31bb40)if(_0x1f608e[_0x8c68ca(0x1d4)](_0x1a12eb,!_0x33c469[_0x8c68ca(0x1e2)]))return _0x1f608e;return null;}return _0x28abd2[_0x377f34(0x1d9)]((_0x1e5259,_0x1921a9)=>{const _0x2521b0=_0x377f34,_0x29cc57=_0x1e5259[_0x2521b0(0x1dc)],_0x2e08c8=_0x1921a9[_0x2521b0(0x1dc)];if(!_0x29cc57[_0x2521b0(0x1cd)](_0x2e08c8)){if(_0x29cc57[_0x2521b0(0x1d4)](_0x2e08c8,!0x0))return 0x1;if(_0x2e08c8[_0x2521b0(0x1d4)](_0x29cc57,!0x0))return-0x1;}return _0x1e5259[_0x2521b0(0x1da)]==_0x1ddbf3?-0x1:_0x1921a9[_0x2521b0(0x1da)]==_0x1ddbf3?0x1:0x0;})[_0x377f34(0x1d1)](_0x5d6318=>_0x5d6318[_0x377f34(0x1da)]);}get[_0x1f1994(0x1c9)](){const _0xe64b92=_0x1f1994,_0xd63959=new Map();for(const _0x33d3e1 of Array[_0xe64b92(0x1ec)](this[_0xe64b92(0x1c5)]))for(const [_0x1ddc68,_0x126668]of _0x33d3e1())_0xd63959[_0xe64b92(0x1de)](_0x1ddc68,_0x126668);return _0xd63959;}}