@ckeditor/ckeditor5-comments 41.3.1 → 41.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/build/translations/ti.js +1 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +596 -0
- package/dist/index.css +990 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/types/annotations/annotation.d.ts +94 -0
- package/dist/types/annotations/annotationcollection.d.ts +102 -0
- package/dist/types/annotations/annotations.d.ts +158 -0
- package/dist/types/annotations/annotationsuis.d.ts +236 -0
- package/dist/types/annotations/editorannotations.d.ts +71 -0
- package/dist/types/annotations/inlineannotations.d.ts +94 -0
- package/dist/types/annotations/narrowsidebar.d.ts +89 -0
- package/dist/types/annotations/sidebar.d.ts +104 -0
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
- package/dist/types/annotations/view/annotationview.d.ts +94 -0
- package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
- package/dist/types/annotations/view/sidebarview.d.ts +36 -0
- package/dist/types/annotations/widesidebar.d.ts +81 -0
- package/dist/types/augmentation.d.ts +56 -0
- package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
- package/dist/types/comments/commentsarchive.d.ts +35 -0
- package/dist/types/comments/commentsarchiveui.d.ts +42 -0
- package/dist/types/comments/commentsediting.d.ts +84 -0
- package/dist/types/comments/commentsrepository.d.ts +1134 -0
- package/dist/types/comments/commentsui.d.ts +37 -0
- package/dist/types/comments/integrations/clipboard.d.ts +30 -0
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
- package/dist/types/comments/integrations/importword.d.ts +25 -0
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
- package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
- package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
- package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
- package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
- package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
- package/dist/types/comments/ui/view/commentview.d.ts +247 -0
- package/dist/types/comments.d.ts +39 -0
- package/dist/types/commentsonly.d.ts +37 -0
- package/dist/types/config.d.ts +202 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/createmutationobserver.d.ts +18 -0
- package/lang/translations/ti.po +120 -0
- package/package.json +4 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation.css +13 -0
- package/theme/comment.css +4 -0
- package/theme/commentinput.css +4 -0
- package/theme/commentthread.css +8 -0
- package/theme/sidebar.css +8 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Tigrinya (https://app.transifex.com/ckeditor/teams/11143/ti/)\n"
|
|
16
|
+
"Language: ti\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "The label for the comment editor."
|
|
21
|
+
msgid "Comment editor"
|
|
22
|
+
msgstr ""
|
|
23
|
+
|
|
24
|
+
msgctxt "The label for the number of comments."
|
|
25
|
+
msgid "NUMBER_OF_COMMENTS"
|
|
26
|
+
msgid_plural "%0 Comments"
|
|
27
|
+
msgstr[0] ""
|
|
28
|
+
msgstr[1] ""
|
|
29
|
+
|
|
30
|
+
msgctxt "The alert displayed for a comment that is too long."
|
|
31
|
+
msgid "TOO_LONG_COMMENT_ALERT"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "The placeholder for the reply field."
|
|
35
|
+
msgid "Reply..."
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgctxt "The placeholder for the reply field when the comment thread is resolved."
|
|
39
|
+
msgid "Reply to reopen discussion..."
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
msgctxt "The placeholder for the new commend field."
|
|
43
|
+
msgid "Write a comment..."
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
msgctxt "The information that comment was made on element and has no context"
|
|
47
|
+
msgid "Comment was made on an element"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
msgctxt "The label for the button that enables editing a comment."
|
|
51
|
+
msgid "Edit"
|
|
52
|
+
msgstr "ኣርም"
|
|
53
|
+
|
|
54
|
+
msgctxt "The label for the button that resolves a comment thread."
|
|
55
|
+
msgid "Resolve"
|
|
56
|
+
msgstr ""
|
|
57
|
+
|
|
58
|
+
msgctxt "The label for the button that reopens a resolved comment thread."
|
|
59
|
+
msgid "Reopen"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
msgctxt "The label for the button that deletes a comment."
|
|
63
|
+
msgid "Remove"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgctxt "The label for for the button that adds a reply to a comment thread."
|
|
67
|
+
msgid "Reply"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
msgctxt "The confirmation message shown after pressing the delete comment button."
|
|
71
|
+
msgid "Delete comment?"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
msgctxt "The confirmation message shown after pressing the delete comment thread button."
|
|
75
|
+
msgid "Delete comment thread?"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgctxt "A message informing that the comment has been resolved"
|
|
79
|
+
msgid "Marked as resolved"
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
82
|
+
msgctxt "The tooltip for the comment toolbar button and the button that submits a comment thread."
|
|
83
|
+
msgid "Comment"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
msgctxt "A message read out by assistive technologies the moment the user selection moves into a comment."
|
|
87
|
+
msgid "ENTER_COMMENT_ANNOUNCEMENT"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "A message read out by assistive technologies the moment the user selection leaves a comment."
|
|
91
|
+
msgid "LEAVE_COMMENT_ANNOUNCEMENT"
|
|
92
|
+
msgstr ""
|
|
93
|
+
|
|
94
|
+
msgctxt "The label for an alert shown when closing the editor with an unsaved comment change."
|
|
95
|
+
msgid "PENDING_ACTION_COMMENT_THREAD"
|
|
96
|
+
msgstr ""
|
|
97
|
+
|
|
98
|
+
msgctxt "The additional information that comments comes from external source."
|
|
99
|
+
msgid "EXTERNAL_COMMENT"
|
|
100
|
+
msgstr ""
|
|
101
|
+
|
|
102
|
+
msgctxt "The additional information that comments comes from imported Word file."
|
|
103
|
+
msgid "EXTERNAL_IMPORT_WORD_COMMENT"
|
|
104
|
+
msgstr ""
|
|
105
|
+
|
|
106
|
+
msgctxt "The additional information that displayed author name comes from an external source."
|
|
107
|
+
msgid "EXTERNAL_AVATAR"
|
|
108
|
+
msgstr ""
|
|
109
|
+
|
|
110
|
+
msgctxt "The additional information that displayed author name comes from imported Word file."
|
|
111
|
+
msgid "EXTERNAL_IMPORT_WORD_AVATAR"
|
|
112
|
+
msgstr ""
|
|
113
|
+
|
|
114
|
+
msgctxt "The label for the comments archive dropdown UI."
|
|
115
|
+
msgid "COMMENTS_ARCHIVE"
|
|
116
|
+
msgstr ""
|
|
117
|
+
|
|
118
|
+
msgctxt "The information that comments archive is empty."
|
|
119
|
+
msgid "EMPTY_COMMENTS_ARCHIVE"
|
|
120
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "41.
|
|
3
|
+
"version": "41.4.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -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.
|
|
48
|
-
"ckeditor5-collaboration": "41.
|
|
48
|
+
"ckeditor5": "41.4.0",
|
|
49
|
+
"ckeditor5-collaboration": "41.4.0",
|
|
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
|
-
const
|
|
23
|
+
const _0x461138=_0x3ce0;function _0x3ce0(_0x3efce1,_0x4b6c6a){const _0x332db8=_0x332d();return _0x3ce0=function(_0x3ce0d8,_0x4e03d1){_0x3ce0d8=_0x3ce0d8-0x153;let _0x51a06e=_0x332db8[_0x3ce0d8];return _0x51a06e;},_0x3ce0(_0x3efce1,_0x4b6c6a);}(function(_0x4a4890,_0x2d18a0){const _0x106d6b=_0x3ce0,_0x125166=_0x4a4890();while(!![]){try{const _0xdee600=parseInt(_0x106d6b(0x163))/0x1+parseInt(_0x106d6b(0x16f))/0x2*(-parseInt(_0x106d6b(0x173))/0x3)+-parseInt(_0x106d6b(0x181))/0x4*(-parseInt(_0x106d6b(0x175))/0x5)+parseInt(_0x106d6b(0x17c))/0x6*(-parseInt(_0x106d6b(0x154))/0x7)+parseInt(_0x106d6b(0x15b))/0x8*(-parseInt(_0x106d6b(0x17d))/0x9)+-parseInt(_0x106d6b(0x158))/0xa+parseInt(_0x106d6b(0x162))/0xb;if(_0xdee600===_0x2d18a0)break;else _0x125166['push'](_0x125166['shift']());}catch(_0x344fa2){_0x125166['push'](_0x125166['shift']());}}}(_0x332d,0x98e97));import{CKEditorError as _0x1aa2c8,Rect as _0x3c33aa,Collection as _0x44e7f0,ObservableMixin as _0x573360}from'ckeditor5/src/utils.js';function _0x332d(){const _0x3d4c0f=['refreshVisibility','2075870zPPmsy','offsetParent','annotation-invalid-target','264CPOZmJ','set','filter','element','item','stopListening','getClientRects','13816583VlqysQ','942007SBzuHX','_getNormalizedTarget','clear','_type','type','isVisible','remove','_target','nodeType','destroy','target','isArray','658Igmioe','render','every','add','7455vCMDKE','length','3055kETPVB','function','focusTracker','focusableElements','updateTargetRect','view','targetRect','6OpMqgi','66474hDvJBn','isActive','object','innerView','4588XVRJQO','_id','7025620hbyqCd','_assertCorrectTarget','mainView'];_0x332d=function(){return _0x3d4c0f;};return _0x332d();}export default class d extends _0x573360(){constructor({view:_0x16d77f,target:_0x1ac623,type:_0x18a867,isVisible:_0x56b923=!0x0}){const _0x2aadd2=_0x3ce0;super(),this[_0x2aadd2(0x17a)]=_0x16d77f,this[_0x2aadd2(0x17a)][_0x2aadd2(0x15e)]||this[_0x2aadd2(0x17a)][_0x2aadd2(0x170)](),this[_0x2aadd2(0x166)]=_0x18a867,this[_0x2aadd2(0x16a)]=_0x1ac623,d[_0x2aadd2(0x155)](this[_0x2aadd2(0x164)]()),this[_0x2aadd2(0x178)]=new _0x44e7f0([this[_0x2aadd2(0x17a)][_0x2aadd2(0x15e)]],{'idProperty':_0x2aadd2(0x153)}),this[_0x2aadd2(0x178)]['on'](_0x2aadd2(0x172),(_0x23ef00,_0x5b554b)=>{const _0x2157bb=_0x2aadd2;this[_0x2157bb(0x17a)][_0x2157bb(0x177)][_0x2157bb(0x172)](_0x5b554b);}),this[_0x2aadd2(0x178)]['on'](_0x2aadd2(0x169),(_0x558cfd,_0x396025)=>{const _0x26e8b7=_0x2aadd2;this[_0x26e8b7(0x17a)][_0x26e8b7(0x177)][_0x26e8b7(0x169)](_0x396025);}),this[_0x2aadd2(0x15c)](_0x2aadd2(0x168),_0x56b923);}get[_0x461138(0x167)](){const _0x546b38=_0x461138;return _0x546b38(0x176)==typeof this[_0x546b38(0x166)]?this[_0x546b38(0x166)]():this[_0x546b38(0x166)];}get[_0x461138(0x180)](){const _0xc691a6=_0x461138;return this[_0xc691a6(0x17a)][_0xc691a6(0x156)];}get[_0x461138(0x16d)](){const _0x4c8e47=_0x461138,_0xaaf930=this[_0x4c8e47(0x164)]();return d[_0x4c8e47(0x155)](_0xaaf930),_0xaaf930;}get[_0x461138(0x17b)](){const _0x5283eb=_0x461138,_0x5ea60d=this[_0x5283eb(0x16d)];if(null===_0x5ea60d)return null;if(_0x5ea60d instanceof _0x3c33aa)return _0x5ea60d;const _0x70189a=_0x5ea60d[_0x5283eb(0x15d)](_0x4881d9=>function(_0x5a7439){const _0x3100ad=_0x5283eb,_0x226bac=_0x5a7439[_0x3100ad(0x159)];if(_0x226bac)return!0x0;const _0xfccd7b=_0x5a7439[_0x3100ad(0x161)]()[_0x3100ad(0x15f)](0x0);return!!_0xfccd7b;}(_0x4881d9));return 0x0===_0x70189a[_0x5283eb(0x174)]?null:new _0x3c33aa(_0x70189a[0x0][_0x5283eb(0x161)]()[_0x5283eb(0x15f)](0x0));}get[_0x461138(0x17e)](){const _0x12ae05=_0x461138;return this[_0x12ae05(0x17a)][_0x12ae05(0x17e)];}set[_0x461138(0x17e)](_0x5ebec1){const _0x5d37f1=_0x461138;this[_0x5d37f1(0x17a)][_0x5d37f1(0x17e)]=_0x5ebec1,this[_0x5d37f1(0x17a)][_0x5d37f1(0x156)][_0x5d37f1(0x17e)]=_0x5ebec1;}[_0x461138(0x179)](){const _0x5a613e=_0x461138;this[_0x5a613e(0x17a)][_0x5a613e(0x17b)]=this[_0x5a613e(0x17b)];}[_0x461138(0x16c)](){const _0x3f202f=_0x461138;this[_0x3f202f(0x178)][_0x3f202f(0x160)](),this[_0x3f202f(0x178)][_0x3f202f(0x165)](),this[_0x3f202f(0x160)]();}[_0x461138(0x157)](){const _0x28fa99=_0x461138;this[_0x28fa99(0x168)]=!!this[_0x28fa99(0x17b)];}static[_0x461138(0x155)](_0x2f86e9){const _0x3fabc5=_0x461138;if(!(null===_0x2f86e9||_0x2f86e9 instanceof _0x3c33aa||Array[_0x3fabc5(0x16e)](_0x2f86e9)&&_0x2f86e9[_0x3fabc5(0x171)](_0x6b7eff=>y(_0x6b7eff))))throw new _0x1aa2c8(_0x3fabc5(0x15a),null,{'target':_0x2f86e9});}[_0x461138(0x164)](){const _0x30a630=_0x461138,_0xb47a99=_0x30a630(0x176)==typeof this[_0x30a630(0x16a)]?this[_0x30a630(0x16a)]():this[_0x30a630(0x16a)];return y(_0xb47a99)?[_0xb47a99]:_0xb47a99;}}function y(_0x1048b8){const _0x11543d=_0x461138;return null!==_0x1048b8&&_0x11543d(0x17f)==typeof _0x1048b8&&_0x11543d(0x16b)in _0x1048b8&&0x1===_0x1048b8[_0x11543d(0x16b)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1adb(_0x27fa06,_0x893b5b){const _0x1c4eda=_0x1c4e();return _0x1adb=function(_0x1adb4f,_0x458ede){_0x1adb4f=_0x1adb4f-0x192;let _0x183ac8=_0x1c4eda[_0x1adb4f];return _0x183ac8;},_0x1adb(_0x27fa06,_0x893b5b);}const _0x53bbde=_0x1adb;(function(_0x1543eb,_0x314866){const _0x544bcd=_0x1adb,_0x4407b3=_0x1543eb();while(!![]){try{const _0x5d3cc0=-parseInt(_0x544bcd(0x1a4))/0x1+parseInt(_0x544bcd(0x1c0))/0x2*(parseInt(_0x544bcd(0x1c1))/0x3)+-parseInt(_0x544bcd(0x196))/0x4+-parseInt(_0x544bcd(0x1ad))/0x5*(parseInt(_0x544bcd(0x1bf))/0x6)+parseInt(_0x544bcd(0x1b0))/0x7*(parseInt(_0x544bcd(0x19c))/0x8)+parseInt(_0x544bcd(0x1b7))/0x9+-parseInt(_0x544bcd(0x1af))/0xa*(parseInt(_0x544bcd(0x1bc))/0xb);if(_0x5d3cc0===_0x314866)break;else _0x4407b3['push'](_0x4407b3['shift']());}catch(_0x5130c6){_0x4407b3['push'](_0x4407b3['shift']());}}}(_0x1c4e,0x6f04b));import{CKEditorError as _0x51c76d,Collection as _0x357640,FocusTracker as _0x43b713}from'ckeditor5/src/utils.js';export default class x extends _0x357640{constructor(_0x4a6417=[]){const _0x1cf67e=_0x1adb;super(),this[_0x1cf67e(0x1b5)]=new Map(),this[_0x1cf67e(0x1a7)]=new Map(),this[_0x1cf67e(0x1b6)]=new _0x43b713(),this[_0x1cf67e(0x1b6)]['on'](_0x1cf67e(0x1ac),(_0x1827e6,_0x1d85b7,_0x1e68a6)=>{const _0x3e6d40=_0x1cf67e;_0x1e68a6||this[_0x3e6d40(0x198)](_0x3e6d40(0x1b1));});for(const _0x3030c1 of _0x4a6417)this[_0x1cf67e(0x197)](_0x3030c1);}get[_0x53bbde(0x19d)](){const _0x16df93=_0x53bbde;return this[_0x16df93(0x1b6)][_0x16df93(0x19d)];}[_0x53bbde(0x197)](_0x1d5093){const _0x347a8f=_0x53bbde;if(this[_0x347a8f(0x1a1)](_0x1d5093))throw new _0x51c76d(_0x347a8f(0x1ae),null);this[_0x347a8f(0x1b5)][_0x347a8f(0x199)](_0x1d5093[_0x347a8f(0x1a8)],_0x1d5093),this[_0x347a8f(0x1a7)][_0x347a8f(0x199)](_0x1d5093[_0x347a8f(0x1b3)],_0x1d5093);for(const _0x138cb8 of _0x1d5093[_0x347a8f(0x1ab)])this[_0x347a8f(0x1b6)][_0x347a8f(0x197)](_0x138cb8);this[_0x347a8f(0x1a0)](_0x1d5093[_0x347a8f(0x1ab)],_0x347a8f(0x197),(_0x1328c1,_0x139bcd)=>{const _0xa1d0d0=_0x347a8f;this[_0xa1d0d0(0x1b6)][_0xa1d0d0(0x197)](_0x139bcd);}),this[_0x347a8f(0x1a0)](_0x1d5093[_0x347a8f(0x1ab)],_0x347a8f(0x1ba),(_0x3b6431,_0x264298)=>{const _0x84dc66=_0x347a8f;this[_0x84dc66(0x1b6)][_0x84dc66(0x1ba)](_0x264298);}),this[_0x347a8f(0x1a0)](_0x1d5093[_0x347a8f(0x1b3)][_0x347a8f(0x1a2)],_0x347a8f(0x1ac),(_0x4aa14b,_0x576270,_0x24d679)=>{const _0x4f3a83=_0x347a8f;_0x24d679&&this[_0x4f3a83(0x198)](_0x4f3a83(0x19b),_0x1d5093);}),_0x1d5093[_0x347a8f(0x1b2)]();const _0xe0cb79=this[_0x347a8f(0x194)](_0x1d5093[_0x347a8f(0x1b3)][_0x347a8f(0x1b8)]);return super[_0x347a8f(0x197)](_0x1d5093,_0xe0cb79);}[_0x53bbde(0x1ba)](_0x3a36f8){const _0x317c28=_0x53bbde;if(!this[_0x317c28(0x1a1)](_0x3a36f8))throw new _0x51c76d(_0x317c28(0x1b4),null);this[_0x317c28(0x19f)](_0x3a36f8[_0x317c28(0x1b3)][_0x317c28(0x1a2)]),this[_0x317c28(0x19f)](_0x3a36f8[_0x317c28(0x1ab)]);for(const _0x31490c of _0x3a36f8[_0x317c28(0x1ab)])this[_0x317c28(0x1b6)][_0x317c28(0x1ba)](_0x31490c);return this[_0x317c28(0x1a7)][_0x317c28(0x1be)](_0x3a36f8[_0x317c28(0x1b3)]),this[_0x317c28(0x1b5)][_0x317c28(0x1be)](_0x3a36f8[_0x317c28(0x1a8)]),super[_0x317c28(0x1ba)](_0x3a36f8);}[_0x53bbde(0x1a6)](_0x100e2e){const _0x403dbe=_0x53bbde;return this[_0x403dbe(0x1b5)][_0x403dbe(0x1a5)](_0x100e2e);}[_0x53bbde(0x19a)](_0x4f061c){const _0xc9123a=_0x53bbde;return this[_0xc9123a(0x1a7)][_0xc9123a(0x1a5)](_0x4f061c);}[_0x53bbde(0x1a9)](){const _0x73d1d7=_0x53bbde;super[_0x73d1d7(0x1bb)](),this[_0x73d1d7(0x19f)](),this[_0x73d1d7(0x1b5)][_0x73d1d7(0x1bb)](),this[_0x73d1d7(0x1a7)][_0x73d1d7(0x1bb)](),this[_0x73d1d7(0x1b6)][_0x73d1d7(0x1a9)]();}[_0x53bbde(0x193)](){const _0x4b37ab=_0x53bbde;for(const _0x3438cb of this)_0x3438cb[_0x4b37ab(0x1b2)]();this[_0x4b37ab(0x19e)]();}[_0x53bbde(0x19e)](){const _0x4d164d=_0x53bbde,_0x48c5dc=Array[_0x4d164d(0x1b9)](this)[_0x4d164d(0x195)]((_0x12618e,_0x542918)=>v(_0x12618e[_0x4d164d(0x1b3)][_0x4d164d(0x1b8)],_0x542918[_0x4d164d(0x1b3)][_0x4d164d(0x1b8)]));for(let _0x4cee72=_0x48c5dc[_0x4d164d(0x192)]-0x1;_0x4cee72>0x0;_0x4cee72--){const _0x3800b2=_0x48c5dc[_0x4cee72];_0x4cee72!==this[_0x4d164d(0x1bd)](_0x3800b2)&&(this[_0x4d164d(0x1ba)](_0x3800b2),this[_0x4d164d(0x197)](_0x3800b2));}}[_0x53bbde(0x194)](_0xdfa533){const _0x235252=_0x53bbde;let _0x3b3a3a=0x0;if(!_0xdfa533)return this[_0x235252(0x192)];for(const _0x580c0d of this){const _0x26da69=_0x580c0d[_0x235252(0x1b3)][_0x235252(0x1b8)];if(_0x26da69){if(v(_0xdfa533,_0x26da69)<0x0)return _0x3b3a3a;_0x3b3a3a++;}}return _0x3b3a3a;}}function _0x1c4e(){const _0x4a43d8=['97310hnbhJL','3346mvpIiK','blur','updateTargetRect','view','annotationcollection-not-existing-item','_innerViewToAnnotation','_focusTracker','2756619luxZeq','targetRect','from','remove','clear','11ICIZQv','getIndex','delete','3978dfREcy','482eZXAdu','9417uBygth','length','refreshPositioning','_getOrderInContent','sort','1533068XdUKeG','add','fire','set','getByView','focus','7120wqqzFp','isFocused','_sort','stopListening','listenTo','has','focusTracker','top','175718KgJhKa','get','getByInnerView','_viewToAnnotation','innerView','destroy','left','focusableElements','change:isFocused','3505EoPUaL','annotationcollection-duplicated-item'];_0x1c4e=function(){return _0x4a43d8;};return _0x1c4e();}export function bindAnnotationCollections({source:_0x4c3d07,target:_0x5e376b,filter:_0x2e26cf}){const _0x328167=_0x53bbde;for(const _0x29ca7f of _0x4c3d07)_0x2e26cf(_0x29ca7f)&&_0x5e376b[_0x328167(0x197)](_0x29ca7f);_0x5e376b[_0x328167(0x1a0)](_0x4c3d07,_0x328167(0x197),(_0x2a996a,_0xdeefee)=>{const _0xb06e2f=_0x328167;_0x2e26cf(_0xdeefee)&&_0x5e376b[_0xb06e2f(0x197)](_0xdeefee);}),_0x5e376b[_0x328167(0x1a0)](_0x4c3d07,_0x328167(0x1ba),(_0x37db10,_0x5450d7)=>{const _0x36b8d0=_0x328167;_0x5e376b[_0x36b8d0(0x1a1)](_0x5450d7)&&_0x5e376b[_0x36b8d0(0x1ba)](_0x5450d7);});}function v(_0x57f902,_0xe308b3){const _0x49f88b=_0x53bbde;if(null===_0x57f902&&null===_0xe308b3)return 0x0;if(null===_0x57f902)return-0x1;if(null===_0xe308b3)return 0x1;const _0x43161c=_0x57f902[_0x49f88b(0x1a3)]-_0xe308b3[_0x49f88b(0x1a3)];return 0x0==_0x43161c?_0x57f902[_0x49f88b(0x1aa)]-_0xe308b3[_0x49f88b(0x1aa)]:_0x43161c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c85(_0x48b756,_0x1b1f0f){const _0x108161=_0x1081();return _0x2c85=function(_0x2c8521,_0x1072a8){_0x2c8521=_0x2c8521-0xb2;let _0x2fbb43=_0x108161[_0x2c8521];return _0x2fbb43;},_0x2c85(_0x48b756,_0x1b1f0f);}const _0x374865=_0x2c85;(function(_0x5396ed,_0x44fba9){const _0x5be914=_0x2c85,_0x5b8864=_0x5396ed();while(!![]){try{const _0x1e0391=-parseInt(_0x5be914(0xc7))/0x1+-parseInt(_0x5be914(0xd8))/0x2*(parseInt(_0x5be914(0xd1))/0x3)+parseInt(_0x5be914(0xb7))/0x4*(parseInt(_0x5be914(0xc9))/0x5)+parseInt(_0x5be914(0xcd))/0x6+-parseInt(_0x5be914(0xd4))/0x7*(-parseInt(_0x5be914(0xcf))/0x8)+-parseInt(_0x5be914(0xbc))/0x9*(parseInt(_0x5be914(0xd5))/0xa)+parseInt(_0x5be914(0xc1))/0xb;if(_0x1e0391===_0x44fba9)break;else _0x5b8864['push'](_0x5b8864['shift']());}catch(_0x3e3399){_0x5b8864['push'](_0x5b8864['shift']());}}}(_0x1081,0x22817));import{ContextPlugin as _0x20b99a}from'ckeditor5/src/core.js';import _0x3e86e1 from'./annotation.js';import _0x4ba2d0 from'./annotationcollection.js';import _0x4e8dfe from'./view/annotationview.js';export default class b extends _0x20b99a{static get[_0x374865(0xbe)](){const _0x385e27=_0x374865;return _0x385e27(0xdc);}constructor(_0x23811a){const _0x9ba5a5=_0x374865;super(_0x23811a),this[_0x9ba5a5(0xbd)]=new _0x4ba2d0(),this[_0x9ba5a5(0xc5)]=new _0x4ba2d0(),this[_0x9ba5a5(0xc8)](_0x9ba5a5(0xb5),new Set()),this[_0x9ba5a5(0xb9)]();}[_0x374865(0xd3)](_0x291b2b){const _0x43f436=_0x374865;this[_0x43f436(0xbd)][_0x43f436(0xd3)](_0x291b2b);}[_0x374865(0xd7)](_0x45d504){const _0x5250eb=_0x374865;this[_0x5250eb(0xbd)][_0x5250eb(0xd7)](_0x45d504),_0x45d504[_0x5250eb(0xb8)]();}[_0x374865(0xd2)](){const _0xbf4e70=_0x374865;for(const _0x23f49f of this[_0xbf4e70(0xbd)])_0x23f49f[_0xbf4e70(0xd2)]();}[_0x374865(0xbb)](){const _0x23d89b=_0x374865;this[_0x23d89b(0xc5)][_0x23d89b(0xbb)]();}[_0x374865(0xba)](_0x4a2baa){const _0x13c9a2=_0x374865;return this[_0x13c9a2(0xbd)][_0x13c9a2(0xba)](_0x4a2baa);}[_0x374865(0xc6)](){const _0x56fc09=_0x374865;this[_0x56fc09(0xce)](_0x56fc09(0xcb));}[_0x374865(0xb8)](){const _0x270306=_0x374865;for(const _0x347cec of this[_0x270306(0xbd)])_0x347cec[_0x270306(0xb8)]();this[_0x270306(0xc5)][_0x270306(0xb8)](),this[_0x270306(0xbd)][_0x270306(0xb8)](),super[_0x270306(0xb8)]();}[_0x374865(0xca)](_0x50ca57){const _0x1a37e1=_0x374865;this[_0x1a37e1(0xce)](_0x1a37e1(0xda),_0x50ca57);}[_0x374865(0xdb)](_0x104e94){return new _0x3e86e1(_0x104e94);}[_0x374865(0xc4)](_0x557587,_0x152e2a){return new _0x4e8dfe(_0x557587,_0x152e2a);}[_0x374865(0xc3)](_0x3e370f){const _0xb49eed=_0x374865,_0x55c246=new Set(this[_0xb49eed(0xb5)]);_0x55c246[_0xb49eed(0xd3)](_0x3e370f),this[_0xb49eed(0xb5)]=_0x55c246;}[_0x374865(0xcc)](_0x23d010){const _0x1760f1=_0x374865,_0x2bb9b6=new Set(this[_0x1760f1(0xb5)]);_0x2bb9b6[_0x1760f1(0xb2)](_0x23d010),this[_0x1760f1(0xb5)]=_0x2bb9b6;}[_0x374865(0xb9)](){const _0x86f7cb=_0x374865,_0xe16a92=this[_0x86f7cb(0xbd)],_0x5a0f0e=this[_0x86f7cb(0xc5)];function _0x224663(_0x2ad3fb){const _0x48a34e=_0x86f7cb,_0x52781a=_0x2ad3fb[_0x48a34e(0xbf)];_0x52781a[_0x48a34e(0xd0)]&&!_0x5a0f0e[_0x48a34e(0xb3)](_0x52781a)?_0x5a0f0e[_0x48a34e(0xd3)](_0x52781a):!_0x52781a[_0x48a34e(0xd0)]&&_0x5a0f0e[_0x48a34e(0xb3)](_0x52781a)&&_0x5a0f0e[_0x48a34e(0xd7)](_0x52781a),_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd6)][_0x48a34e(0xd7)](_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd9)]),_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd6)][_0x48a34e(0xd3)](_0x52781a[_0x48a34e(0xb6)][_0x48a34e(0xd9)]);}this[_0x86f7cb(0xc0)](_0xe16a92,_0x86f7cb(0xd3),(_0x2c39be,_0x36873c)=>{const _0x2edfd8=_0x86f7cb;_0x36873c[_0x2edfd8(0xd0)]&&_0x5a0f0e[_0x2edfd8(0xd3)](_0x36873c),this[_0x2edfd8(0xc0)](_0x36873c,_0x2edfd8(0xc2),_0x224663);}),this[_0x86f7cb(0xc0)](_0xe16a92,_0x86f7cb(0xd7),(_0x3c474d,_0x1ed6d6)=>{const _0x5f7e38=_0x86f7cb;_0x5a0f0e[_0x5f7e38(0xb3)](_0x1ed6d6)&&_0x5a0f0e[_0x5f7e38(0xd7)](_0x1ed6d6),this[_0x5f7e38(0xb4)](_0x1ed6d6,_0x5f7e38(0xc2),_0x224663);});}}function _0x1081(){const _0x8d8abd=['isVisible','843zTKabM','refreshVisibility','add','335741URkXnT','8180plPAAI','focusTracker','remove','1478wKumlN','element','_activateAnnotation','createAnnotation','Annotations','delete','has','stopListening','activeAnnotations','view','314124olxDPe','destroy','_bindAnnotationsToVisibleAnnotations','getByInnerView','refreshPositioning','999Dtgkkx','collection','pluginName','source','listenTo','5892150tBufMo','change:isVisible','_addActiveAnnotation','createAnnotationView','_visibleAnnotations','deactivateAll','249762SzbqKZ','set','5uSuPie','activate','_deactivateAllAnnotations','_removeActiveAnnotation','164460XNcmQI','fire','8TPxLTo'];_0x1081=function(){return _0x8d8abd;};return _0x1081();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2ac6c5=_0x4dd9;(function(_0x2752f6,_0x3e4073){const _0xecd1ab=_0x4dd9,_0x1d008c=_0x2752f6();while(!![]){try{const _0x32b853=-parseInt(_0xecd1ab(0x18e))/0x1+-parseInt(_0xecd1ab(0x17c))/0x2+-parseInt(_0xecd1ab(0x17b))/0x3+parseInt(_0xecd1ab(0x170))/0x4*(-parseInt(_0xecd1ab(0x1a5))/0x5)+-parseInt(_0xecd1ab(0x1a1))/0x6+-parseInt(_0xecd1ab(0x191))/0x7*(parseInt(_0xecd1ab(0x177))/0x8)+parseInt(_0xecd1ab(0x18c))/0x9;if(_0x32b853===_0x3e4073)break;else _0x1d008c['push'](_0x1d008c['shift']());}catch(_0x302120){_0x1d008c['push'](_0x1d008c['shift']());}}}(_0xccbc,0x2d3c9));import{ContextPlugin as _0x25686c}from'ckeditor5/src/core.js';import{CKEditorError as _0x47fec4}from'ckeditor5/src/utils.js';import _0x1fecf8,{bindAnnotationCollections as _0x5dc6c7}from'./annotationcollection.js';import _0x69ea9e from'./annotations.js';export default class j extends _0x25686c{static get[_0x2ac6c5(0x182)](){return[_0x69ea9e];}static get[_0x2ac6c5(0x198)](){const _0x564830=_0x2ac6c5;return _0x564830(0x172);}constructor(_0x19da3b){const _0x1c3f3c=_0x2ac6c5;super(_0x19da3b),this[_0x1c3f3c(0x196)]=new Set(),this[_0x1c3f3c(0x1a3)]=new Map(),this[_0x1c3f3c(0x184)]=new Map();}[_0x2ac6c5(0x1a9)](){const _0x43e7b0=_0x2ac6c5,_0x9e56bb=this[_0x43e7b0(0x1a7)][_0x43e7b0(0x178)][_0x43e7b0(0x181)](_0x69ea9e);this[_0x43e7b0(0x193)](_0x9e56bb,_0x43e7b0(0x189),(_0x36b371,_0x3dea47)=>{const _0x19c1b8=_0x43e7b0;for(const _0x3a6e80 of this[_0x19c1b8(0x196)]){const _0x42eef3=this[_0x19c1b8(0x1a3)][_0x19c1b8(0x181)](_0x3a6e80);(0x0,this[_0x19c1b8(0x184)][_0x19c1b8(0x181)](_0x3a6e80)[_0x19c1b8(0x1a6)])(_0x3dea47)&&_0x42eef3[_0x19c1b8(0x17f)](_0x3dea47);}}),this[_0x43e7b0(0x193)](_0x9e56bb,_0x43e7b0(0x19c),()=>{const _0xdc83a=_0x43e7b0;for(const _0x35c3bf of this[_0xdc83a(0x196)]){this[_0xdc83a(0x1a3)][_0xdc83a(0x181)](_0x35c3bf)[_0xdc83a(0x17f)](null);}}),this[_0x43e7b0(0x193)](_0x9e56bb[_0x43e7b0(0x174)],_0x43e7b0(0x197),(_0x41dd79,_0x52ea4b)=>{const _0x6e27db=_0x43e7b0;this[_0x6e27db(0x17d)](_0x52ea4b);});}[_0x2ac6c5(0x19e)](){const _0x43d5a6=_0x2ac6c5;return this[_0x43d5a6(0x196)][_0x43d5a6(0x17e)]>0x0;}[_0x2ac6c5(0x175)](_0x4962fe){const _0x5ec393=_0x2ac6c5;return this[_0x5ec393(0x196)][_0x5ec393(0x1a4)](_0x4962fe);}[_0x2ac6c5(0x18a)](_0x34b0bb,_0x4c7b74=()=>!0x0){const _0x4a8fdd=_0x2ac6c5,_0x4f1875=this[_0x4a8fdd(0x1a7)][_0x4a8fdd(0x178)][_0x4a8fdd(0x181)](_0x69ea9e);if(!this[_0x4a8fdd(0x1a3)][_0x4a8fdd(0x1a4)](_0x34b0bb))throw new _0x47fec4(_0x4a8fdd(0x1a8),this,{'uiName':_0x34b0bb});this[_0x4a8fdd(0x175)](_0x34b0bb)&&this[_0x4a8fdd(0x18b)](_0x34b0bb),this[_0x4a8fdd(0x196)][_0x4a8fdd(0x197)](_0x34b0bb);const _0x58726b=new _0x1fecf8(),_0xe6519d=_0x4f1875[_0x4a8fdd(0x174)];_0x5dc6c7({'source':_0xe6519d,'target':_0x58726b,'filter':_0x4c7b74}),this[_0x4a8fdd(0x184)][_0x4a8fdd(0x195)](_0x34b0bb,{'collection':_0x58726b,'filter':_0x4c7b74});const _0x26d4c1=this[_0x4a8fdd(0x1a3)][_0x4a8fdd(0x181)](_0x34b0bb);_0x26d4c1[_0x4a8fdd(0x183)](_0x58726b),this[_0x4a8fdd(0x193)](_0x26d4c1,_0x4a8fdd(0x1a2),(_0x382caf,_0x53bedd,_0x1ada88,_0x113def)=>{const _0x134f1e=_0x4a8fdd;_0x113def&&_0x4f1875[_0x134f1e(0x171)](_0x113def),_0x1ada88&&_0x4f1875[_0x134f1e(0x199)](_0x1ada88);});}[_0x2ac6c5(0x18b)](_0xef23ca){const _0x59d728=_0x2ac6c5;if(this[_0x59d728(0x196)][_0x59d728(0x1aa)](_0xef23ca),!this[_0x59d728(0x1a3)][_0x59d728(0x1a4)](_0xef23ca))throw new _0x47fec4(_0x59d728(0x1a8),this,{'uiName':_0xef23ca});const _0x4e7c12=this[_0x59d728(0x1a3)][_0x59d728(0x181)](_0xef23ca);_0x4e7c12[_0x59d728(0x19d)](),this[_0x59d728(0x1a0)](_0x4e7c12),this[_0x59d728(0x184)][_0x59d728(0x181)](_0xef23ca)[_0x59d728(0x190)][_0x59d728(0x18f)](),this[_0x59d728(0x184)][_0x59d728(0x1aa)](_0xef23ca);}[_0x2ac6c5(0x17a)](_0x1d78e){const _0x1bc403=_0x2ac6c5;if(!this[_0x1bc403(0x1a3)][_0x1bc403(0x1a4)](_0x1d78e))throw new _0x47fec4(_0x1bc403(0x1a8),this,{'uiName':_0x1d78e});const _0x553303=this[_0x1bc403(0x1a7)][_0x1bc403(0x178)][_0x1bc403(0x181)](_0x69ea9e),_0x1ddc7a=Array[_0x1bc403(0x185)](_0x553303[_0x1bc403(0x180)])[0x0]||null;this[_0x1bc403(0x19f)](),this[_0x1bc403(0x18a)](_0x1d78e);const _0x57189e=this[_0x1bc403(0x1a3)][_0x1bc403(0x181)](_0x1d78e);_0x57189e[_0x1bc403(0x17f)](_0x1ddc7a),_0x57189e[_0x1bc403(0x176)]&&_0x1ddc7a&&_0x57189e[_0x1bc403(0x176)]([_0x1ddc7a]);}[_0x2ac6c5(0x19f)](){const _0x21ba5a=_0x2ac6c5;for(const _0x3c4703 of this[_0x21ba5a(0x196)])this[_0x21ba5a(0x18b)](_0x3c4703);}[_0x2ac6c5(0x19b)](_0x4c012d,_0x2855e9){const _0x482aa5=_0x2ac6c5;if(this[_0x482aa5(0x1a3)][_0x482aa5(0x1a4)](_0x4c012d))throw new _0x47fec4(_0x482aa5(0x192));if(_0x482aa5(0x187)!=typeof _0x2855e9[_0x482aa5(0x183)]||_0x482aa5(0x187)!=typeof _0x2855e9[_0x482aa5(0x19d)]||_0x482aa5(0x187)!=typeof _0x2855e9[_0x482aa5(0x17f)])throw new _0x47fec4(_0x482aa5(0x19a),null);this[_0x482aa5(0x1a3)][_0x482aa5(0x195)](_0x4c012d,_0x2855e9);}[_0x2ac6c5(0x173)](){const _0x365cb5=_0x2ac6c5,_0x272ebc=this[_0x365cb5(0x1a7)][_0x365cb5(0x178)][_0x365cb5(0x181)](_0x69ea9e)[_0x365cb5(0x190)],_0x2dffa8=new Map(),_0x2931e6=Array[_0x365cb5(0x185)](this[_0x365cb5(0x196)]);for(const _0x4d8cd4 of this[_0x365cb5(0x196)]){const _0x12c54c=this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x4d8cd4)[_0x365cb5(0x190)];for(const _0x33003c of _0x12c54c)_0x2dffa8[_0x365cb5(0x195)](_0x33003c,_0x4d8cd4);}for(const _0x25bc22 of _0x272ebc){const _0x50c54b=_0x2dffa8[_0x365cb5(0x181)](_0x25bc22);this[_0x365cb5(0x17d)](_0x25bc22);const _0x232952=_0x2931e6[_0x365cb5(0x179)](_0x3d1379=>this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x3d1379)[_0x365cb5(0x1a6)](_0x25bc22));_0x50c54b!==_0x232952&&(_0x50c54b&&this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x50c54b)[_0x365cb5(0x190)][_0x365cb5(0x194)](_0x25bc22),_0x232952&&this[_0x365cb5(0x184)][_0x365cb5(0x181)](_0x232952)[_0x365cb5(0x190)][_0x365cb5(0x197)](_0x25bc22));}}[_0x2ac6c5(0x18f)](){const _0x59c1ba=_0x2ac6c5;this[_0x59c1ba(0x19f)](),super[_0x59c1ba(0x18f)]();}[_0x2ac6c5(0x17d)](_0x70ebd4){const _0x135b5c=_0x2ac6c5,_0x321506=[];for(const _0x4636dc of this[_0x135b5c(0x196)]){(0x0,this[_0x135b5c(0x184)][_0x135b5c(0x181)](_0x4636dc)[_0x135b5c(0x1a6)])(_0x70ebd4)&&_0x321506[_0x135b5c(0x186)](_0x4636dc);}if(_0x321506[_0x135b5c(0x18d)]>0x1)throw new _0x47fec4(_0x135b5c(0x16f),null,{'matchedUIs':_0x321506,'annotationType':_0x70ebd4[_0x135b5c(0x188)]});}}function _0x4dd9(_0x471e99,_0x46649e){const _0xccbc4f=_0xccbc();return _0x4dd9=function(_0x4dd907,_0x28420e){_0x4dd907=_0x4dd907-0x16f;let _0x521f26=_0xccbc4f[_0x4dd907];return _0x521f26;},_0x4dd9(_0x471e99,_0x46649e);}function _0xccbc(){const _0x5467f4=['210668DjQwqW','_removeActiveAnnotation','AnnotationsUIs','refilterAnnotations','_visibleAnnotations','isActive','_setSelectedAnnotations','85480eFYAfG','plugins','find','switchTo','404715kXyPUR','64246lAmKdQ','_assertAnnotationDoesNotBelongToMultipleUIs','size','setActiveAnnotation','activeAnnotations','get','requires','attach','_uisData','from','push','function','type','_activateAnnotation','activate','deactivate','9867681foSCZc','length','108124eYPdRS','destroy','collection','70MGuQld','annotationsuis-register-already-registered','listenTo','remove','set','activeUIs','add','pluginName','_addActiveAnnotation','annotationsuis-register-invalid-interface','register','_deactivateAllAnnotations','detach','hasActive','deactivateAll','stopListening','962694KcJiYx','change:activeAnnotation','_uis','has','35skHBzQ','filter','context','annotationsuis-missing-ui','init','delete','annotationsuis-annotation-mismatch'];_0xccbc=function(){return _0x5467f4;};return _0xccbc();}
|