@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/content-index.css +332 -0
- package/dist/editor-index.css +902 -0
- package/dist/index.css +1874 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.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/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.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/config.d.ts +17 -10
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- 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
|
|
3
|
+
"version": "41.3.0-alpha.2",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"main": "src/index.js",
|
|
37
37
|
"files": [
|
|
38
38
|
"build",
|
|
39
|
+
"dist",
|
|
39
40
|
"lang",
|
|
40
41
|
"src/**/*.js",
|
|
41
42
|
"src/**/*.d.ts",
|
|
@@ -44,8 +45,8 @@
|
|
|
44
45
|
"CHANGELOG.md"
|
|
45
46
|
],
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "41.2
|
|
48
|
-
"ckeditor5-collaboration": "41.2
|
|
48
|
+
"ckeditor5": "41.3.0-alpha.2",
|
|
49
|
+
"ckeditor5-collaboration": "41.3.0-alpha.2",
|
|
49
50
|
"lodash-es": "4.17.21"
|
|
50
51
|
},
|
|
51
52
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x204502=_0x12fa;function _0x2302(){const _0x3ab9eb=['annotation-invalid-target','5iOYqhU','refreshVisibility','54XDzObr','remove','getClientRects','focusTracker','3796520RRVqty','isArray','_getNormalizedTarget','target','object','innerView','1067464rQgwVI','mainView','582737JUBzys','_assertCorrectTarget','view','set','offsetParent','targetRect','2078250CRdXUz','updateTargetRect','nodeType','isActive','type','_type','item','4057724aiywgj','filter','1318614aaTPiK','clear','isVisible','focusableElements','element','function','add','stopListening','_target','length','render','_id','826236hiCIiw','destroy','every'];_0x2302=function(){return _0x3ab9eb;};return _0x2302();}(function(_0x556a01,_0x5d7288){const _0x3121a3=_0x12fa,_0x314285=_0x556a01();while(!![]){try{const _0x2f0fa6=-parseInt(_0x3121a3(0x15b))/0x1+parseInt(_0x3121a3(0x13d))/0x2+parseInt(_0x3121a3(0x161))/0x3+parseInt(_0x3121a3(0x13b))/0x4*(parseInt(_0x3121a3(0x14d))/0x5)+parseInt(_0x3121a3(0x149))/0x6+-parseInt(_0x3121a3(0x153))/0x7+-parseInt(_0x3121a3(0x159))/0x8*(parseInt(_0x3121a3(0x14f))/0x9);if(_0x2f0fa6===_0x5d7288)break;else _0x314285['push'](_0x314285['shift']());}catch(_0x4b0f4c){_0x314285['push'](_0x314285['shift']());}}}(_0x2302,0x8d3c3));import{CKEditorError as _0x2ae6c4,Rect as _0x535b66,Collection as _0x554ef7,ObservableMixin as _0x303d4b}from'ckeditor5/src/utils.js';function _0x12fa(_0x469746,_0x2ef76c){const _0x230209=_0x2302();return _0x12fa=function(_0x12fa05,_0x172918){_0x12fa05=_0x12fa05-0x13a;let _0x2a77be=_0x230209[_0x12fa05];return _0x2a77be;},_0x12fa(_0x469746,_0x2ef76c);}export default class d extends _0x303d4b(){constructor({view:_0x38dafc,target:_0xc806d4,type:_0x3e2c9e,isVisible:_0x3d7d47=!0x0}){const _0x8b4fcd=_0x12fa;super(),this[_0x8b4fcd(0x15d)]=_0x38dafc,this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x141)]||this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x147)](),this[_0x8b4fcd(0x166)]=_0x3e2c9e,this[_0x8b4fcd(0x145)]=_0xc806d4,d[_0x8b4fcd(0x15c)](this[_0x8b4fcd(0x155)]()),this[_0x8b4fcd(0x140)]=new _0x554ef7([this[_0x8b4fcd(0x15d)][_0x8b4fcd(0x141)]],{'idProperty':_0x8b4fcd(0x148)}),this[_0x8b4fcd(0x140)]['on'](_0x8b4fcd(0x143),(_0x5c02a8,_0x37eb2f)=>{const _0x195df8=_0x8b4fcd;this[_0x195df8(0x15d)][_0x195df8(0x152)][_0x195df8(0x143)](_0x37eb2f);}),this[_0x8b4fcd(0x140)]['on'](_0x8b4fcd(0x150),(_0x4f677b,_0x2acb9d)=>{const _0x5e80fa=_0x8b4fcd;this[_0x5e80fa(0x15d)][_0x5e80fa(0x152)][_0x5e80fa(0x150)](_0x2acb9d);}),this[_0x8b4fcd(0x15e)](_0x8b4fcd(0x13f),_0x3d7d47);}get[_0x204502(0x165)](){const _0x4cafed=_0x204502;return _0x4cafed(0x142)==typeof this[_0x4cafed(0x166)]?this[_0x4cafed(0x166)]():this[_0x4cafed(0x166)];}get[_0x204502(0x158)](){const _0x286c55=_0x204502;return this[_0x286c55(0x15d)][_0x286c55(0x15a)];}get[_0x204502(0x156)](){const _0x315c31=_0x204502,_0x36e912=this[_0x315c31(0x155)]();return d[_0x315c31(0x15c)](_0x36e912),_0x36e912;}get[_0x204502(0x160)](){const _0x324cb9=_0x204502,_0x17ae72=this[_0x324cb9(0x156)];if(null===_0x17ae72)return null;if(_0x17ae72 instanceof _0x535b66)return _0x17ae72;const _0x171fdd=_0x17ae72[_0x324cb9(0x13c)](_0x477b36=>function(_0x1a37bc){const _0x3aacca=_0x324cb9,_0x4c2671=_0x1a37bc[_0x3aacca(0x15f)];if(_0x4c2671)return!0x0;const _0x28f748=_0x1a37bc[_0x3aacca(0x151)]()[_0x3aacca(0x13a)](0x0);return!!_0x28f748;}(_0x477b36));return 0x0===_0x171fdd[_0x324cb9(0x146)]?null:new _0x535b66(_0x171fdd[0x0][_0x324cb9(0x151)]()[_0x324cb9(0x13a)](0x0));}get[_0x204502(0x164)](){const _0x37b2e2=_0x204502;return this[_0x37b2e2(0x15d)][_0x37b2e2(0x164)];}set[_0x204502(0x164)](_0x31327d){const _0x197820=_0x204502;this[_0x197820(0x15d)][_0x197820(0x164)]=_0x31327d,this[_0x197820(0x15d)][_0x197820(0x15a)][_0x197820(0x164)]=_0x31327d;}[_0x204502(0x162)](){const _0x4f1c1b=_0x204502;this[_0x4f1c1b(0x15d)][_0x4f1c1b(0x160)]=this[_0x4f1c1b(0x160)];}[_0x204502(0x14a)](){const _0x577a01=_0x204502;this[_0x577a01(0x140)][_0x577a01(0x144)](),this[_0x577a01(0x140)][_0x577a01(0x13e)](),this[_0x577a01(0x144)]();}[_0x204502(0x14e)](){const _0x2da2ce=_0x204502;this[_0x2da2ce(0x13f)]=!!this[_0x2da2ce(0x160)];}static[_0x204502(0x15c)](_0x11076b){const _0x28d82b=_0x204502;if(!(null===_0x11076b||_0x11076b instanceof _0x535b66||Array[_0x28d82b(0x154)](_0x11076b)&&_0x11076b[_0x28d82b(0x14b)](_0x62b0cb=>y(_0x62b0cb))))throw new _0x2ae6c4(_0x28d82b(0x14c),null,{'target':_0x11076b});}[_0x204502(0x155)](){const _0x4e1bbc=_0x204502,_0x329045=_0x4e1bbc(0x142)==typeof this[_0x4e1bbc(0x145)]?this[_0x4e1bbc(0x145)]():this[_0x4e1bbc(0x145)];return y(_0x329045)?[_0x329045]:_0x329045;}}function y(_0x578a2c){const _0xe328d8=_0x204502;return null!==_0x578a2c&&_0xe328d8(0x157)==typeof _0x578a2c&&_0xe328d8(0x163)in _0x578a2c&&0x1===_0x578a2c[_0xe328d8(0x163)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1985a3=_0x1429;(function(_0x3e4c7a,_0xd8915c){const _0x50434d=_0x1429,_0x22a83b=_0x3e4c7a();while(!![]){try{const _0x1fc6fc=parseInt(_0x50434d(0xf4))/0x1+parseInt(_0x50434d(0xd8))/0x2+parseInt(_0x50434d(0xd3))/0x3*(parseInt(_0x50434d(0xd2))/0x4)+-parseInt(_0x50434d(0xdd))/0x5*(parseInt(_0x50434d(0xd1))/0x6)+parseInt(_0x50434d(0xe5))/0x7*(-parseInt(_0x50434d(0xf6))/0x8)+-parseInt(_0x50434d(0xf7))/0x9+parseInt(_0x50434d(0xca))/0xa;if(_0x1fc6fc===_0xd8915c)break;else _0x22a83b['push'](_0x22a83b['shift']());}catch(_0x356c25){_0x22a83b['push'](_0x22a83b['shift']());}}}(_0x38ab,0xd83be));function _0x38ab(){const _0x232248=['clear','_innerViewToAnnotation','_viewToAnnotation','focus','_focusTracker','108wlIqkM','4403956XajHUI','3zMMOlD','delete','isFocused','getByInnerView','get','489786XXORKu','getIndex','updateTargetRect','focusTracker','_getOrderInContent','348470eZIrvS','annotationcollection-duplicated-item','listenTo','add','top','destroy','set','sort','475531TdzfOD','fire','annotationcollection-not-existing-item','has','targetRect','length','change:isFocused','left','from','view','_sort','refreshPositioning','stopListening','blur','focusableElements','1392565WaiDle','innerView','200evpwpV','420201NPLQtH','getByView','11467530qrvNMz','remove'];_0x38ab=function(){return _0x232248;};return _0x38ab();}import{CKEditorError as _0x55b7ec,Collection as _0x4dacb2,FocusTracker as _0x2a05fe}from'ckeditor5/src/utils.js';export default class x extends _0x4dacb2{constructor(_0x571c7b=[]){const _0x5661b7=_0x1429;super(),this[_0x5661b7(0xcd)]=new Map(),this[_0x5661b7(0xce)]=new Map(),this[_0x5661b7(0xd0)]=new _0x2a05fe(),this[_0x5661b7(0xd0)]['on'](_0x5661b7(0xeb),(_0x4ac06a,_0x4c88e5,_0x35e347)=>{const _0x417133=_0x5661b7;_0x35e347||this[_0x417133(0xe6)](_0x417133(0xf2));});for(const _0xaeba46 of _0x571c7b)this[_0x5661b7(0xe0)](_0xaeba46);}get[_0x1985a3(0xd5)](){const _0x205f00=_0x1985a3;return this[_0x205f00(0xd0)][_0x205f00(0xd5)];}[_0x1985a3(0xe0)](_0x2435a2){const _0xcb927b=_0x1985a3;if(this[_0xcb927b(0xe8)](_0x2435a2))throw new _0x55b7ec(_0xcb927b(0xde),null);this[_0xcb927b(0xcd)][_0xcb927b(0xe3)](_0x2435a2[_0xcb927b(0xf5)],_0x2435a2),this[_0xcb927b(0xce)][_0xcb927b(0xe3)](_0x2435a2[_0xcb927b(0xee)],_0x2435a2);for(const _0x4459f8 of _0x2435a2[_0xcb927b(0xf3)])this[_0xcb927b(0xd0)][_0xcb927b(0xe0)](_0x4459f8);this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xf3)],_0xcb927b(0xe0),(_0x1d5caa,_0x3d0cc8)=>{const _0x556f34=_0xcb927b;this[_0x556f34(0xd0)][_0x556f34(0xe0)](_0x3d0cc8);}),this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xf3)],_0xcb927b(0xcb),(_0x5101b7,_0x5c4678)=>{const _0x555ef5=_0xcb927b;this[_0x555ef5(0xd0)][_0x555ef5(0xcb)](_0x5c4678);}),this[_0xcb927b(0xdf)](_0x2435a2[_0xcb927b(0xee)][_0xcb927b(0xdb)],_0xcb927b(0xeb),(_0x1c9f7c,_0x298da1,_0xa08519)=>{const _0x4b0953=_0xcb927b;_0xa08519&&this[_0x4b0953(0xe6)](_0x4b0953(0xcf),_0x2435a2);}),_0x2435a2[_0xcb927b(0xda)]();const _0x28de4f=this[_0xcb927b(0xdc)](_0x2435a2[_0xcb927b(0xee)][_0xcb927b(0xe9)]);return super[_0xcb927b(0xe0)](_0x2435a2,_0x28de4f);}[_0x1985a3(0xcb)](_0x23bc6e){const _0x54bd64=_0x1985a3;if(!this[_0x54bd64(0xe8)](_0x23bc6e))throw new _0x55b7ec(_0x54bd64(0xe7),null);this[_0x54bd64(0xf1)](_0x23bc6e[_0x54bd64(0xee)][_0x54bd64(0xdb)]),this[_0x54bd64(0xf1)](_0x23bc6e[_0x54bd64(0xf3)]);for(const _0x26cba8 of _0x23bc6e[_0x54bd64(0xf3)])this[_0x54bd64(0xd0)][_0x54bd64(0xcb)](_0x26cba8);return this[_0x54bd64(0xce)][_0x54bd64(0xd4)](_0x23bc6e[_0x54bd64(0xee)]),this[_0x54bd64(0xcd)][_0x54bd64(0xd4)](_0x23bc6e[_0x54bd64(0xf5)]),super[_0x54bd64(0xcb)](_0x23bc6e);}[_0x1985a3(0xd6)](_0x5e4120){const _0xc7fb35=_0x1985a3;return this[_0xc7fb35(0xcd)][_0xc7fb35(0xd7)](_0x5e4120);}[_0x1985a3(0xc9)](_0x3ab40e){const _0x35a0fd=_0x1985a3;return this[_0x35a0fd(0xce)][_0x35a0fd(0xd7)](_0x3ab40e);}[_0x1985a3(0xe2)](){const _0x28eeff=_0x1985a3;super[_0x28eeff(0xcc)](),this[_0x28eeff(0xf1)](),this[_0x28eeff(0xcd)][_0x28eeff(0xcc)](),this[_0x28eeff(0xce)][_0x28eeff(0xcc)](),this[_0x28eeff(0xd0)][_0x28eeff(0xe2)]();}[_0x1985a3(0xf0)](){const _0x423b9b=_0x1985a3;for(const _0xdad858 of this)_0xdad858[_0x423b9b(0xda)]();this[_0x423b9b(0xef)]();}[_0x1985a3(0xef)](){const _0x442483=_0x1985a3,_0x264635=Array[_0x442483(0xed)](this)[_0x442483(0xe4)]((_0x2902dd,_0x146cae)=>v(_0x2902dd[_0x442483(0xee)][_0x442483(0xe9)],_0x146cae[_0x442483(0xee)][_0x442483(0xe9)]));for(let _0x1a2469=_0x264635[_0x442483(0xea)]-0x1;_0x1a2469>0x0;_0x1a2469--){const _0x1ca00c=_0x264635[_0x1a2469];_0x1a2469!==this[_0x442483(0xd9)](_0x1ca00c)&&(this[_0x442483(0xcb)](_0x1ca00c),this[_0x442483(0xe0)](_0x1ca00c));}}[_0x1985a3(0xdc)](_0x5d4f9f){const _0x1202f0=_0x1985a3;let _0x304909=0x0;if(!_0x5d4f9f)return this[_0x1202f0(0xea)];for(const _0x50a1d8 of this){const _0x478a1b=_0x50a1d8[_0x1202f0(0xee)][_0x1202f0(0xe9)];if(_0x478a1b){if(v(_0x5d4f9f,_0x478a1b)<0x0)return _0x304909;_0x304909++;}}return _0x304909;}}function _0x1429(_0x336098,_0x504f60){const _0x38ab69=_0x38ab();return _0x1429=function(_0x1429b4,_0x3140e0){_0x1429b4=_0x1429b4-0xc9;let _0x4174b2=_0x38ab69[_0x1429b4];return _0x4174b2;},_0x1429(_0x336098,_0x504f60);}export function bindAnnotationCollections({source:_0x39cfbf,target:_0x4c211b,filter:_0x5ed1e8}){const _0x28b17a=_0x1985a3;for(const _0x10b120 of _0x39cfbf)_0x5ed1e8(_0x10b120)&&_0x4c211b[_0x28b17a(0xe0)](_0x10b120);_0x4c211b[_0x28b17a(0xdf)](_0x39cfbf,_0x28b17a(0xe0),(_0x5c216d,_0x2b875c)=>{const _0x35f1de=_0x28b17a;_0x5ed1e8(_0x2b875c)&&_0x4c211b[_0x35f1de(0xe0)](_0x2b875c);}),_0x4c211b[_0x28b17a(0xdf)](_0x39cfbf,_0x28b17a(0xcb),(_0x1d6493,_0x51b749)=>{const _0xcfa938=_0x28b17a;_0x4c211b[_0xcfa938(0xe8)](_0x51b749)&&_0x4c211b[_0xcfa938(0xcb)](_0x51b749);});}function v(_0x1240cf,_0x5b957a){const _0x109fb2=_0x1985a3;if(null===_0x1240cf&&null===_0x5b957a)return 0x0;if(null===_0x1240cf)return-0x1;if(null===_0x5b957a)return 0x1;const _0x39a706=_0x1240cf[_0x109fb2(0xe1)]-_0x5b957a[_0x109fb2(0xe1)];return 0x0==_0x39a706?_0x1240cf[_0x109fb2(0xec)]-_0x5b957a[_0x109fb2(0xec)]:_0x39a706;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43e53c=_0x5038;function _0x3a80(){const _0x4bb95c=['_bindAnnotationsToVisibleAnnotations','collection','_activateAnnotation','activate','552211WGJBvg','set','change:isVisible','element','444XinmkV','isVisible','pluginName','260132RDyfqA','has','_removeActiveAnnotation','2MTAmKR','_visibleAnnotations','refreshPositioning','fire','_deactivateAllAnnotations','source','add','970680bjNtsk','28nSbyPA','delete','view','2928140HqoUEs','listenTo','createAnnotationView','refreshVisibility','_addActiveAnnotation','activeAnnotations','1758170WrkhHz','getByInnerView','9xJocAJ','326718jwfoLG','remove','Annotations','14mMvWEX','createAnnotation','205005KSZVml','focusTracker','destroy','stopListening','deactivateAll'];_0x3a80=function(){return _0x4bb95c;};return _0x3a80();}function _0x5038(_0x31027b,_0x1d2cad){const _0x3a8015=_0x3a80();return _0x5038=function(_0x5038c0,_0x1c4907){_0x5038c0=_0x5038c0-0xaa;let _0x2eb49b=_0x3a8015[_0x5038c0];return _0x2eb49b;},_0x5038(_0x31027b,_0x1d2cad);}(function(_0x556f6f,_0x4e064c){const _0x3a9753=_0x5038,_0x39de53=_0x556f6f();while(!![]){try{const _0x30f042=-parseInt(_0x3a9753(0xc8))/0x1*(parseInt(_0x3a9753(0xc5))/0x2)+parseInt(_0x3a9753(0xb5))/0x3*(-parseInt(_0x3a9753(0xd0))/0x4)+-parseInt(_0x3a9753(0xad))/0x5+parseInt(_0x3a9753(0xb0))/0x6*(-parseInt(_0x3a9753(0xb3))/0x7)+parseInt(_0x3a9753(0xcf))/0x8*(-parseInt(_0x3a9753(0xaf))/0x9)+-parseInt(_0x3a9753(0xd3))/0xa+-parseInt(_0x3a9753(0xbe))/0xb*(-parseInt(_0x3a9753(0xc2))/0xc);if(_0x30f042===_0x4e064c)break;else _0x39de53['push'](_0x39de53['shift']());}catch(_0x21ab21){_0x39de53['push'](_0x39de53['shift']());}}}(_0x3a80,0x3ba2f));import{ContextPlugin as _0x361701}from'ckeditor5/src/core.js';import _0x569183 from'./annotation.js';import _0x5ad8b0 from'./annotationcollection.js';import _0x457df2 from'./view/annotationview.js';export default class b extends _0x361701{static get[_0x43e53c(0xc4)](){const _0x18f0e5=_0x43e53c;return _0x18f0e5(0xb2);}constructor(_0x49a521){const _0x1a5ad0=_0x43e53c;super(_0x49a521),this[_0x1a5ad0(0xbb)]=new _0x5ad8b0(),this[_0x1a5ad0(0xc9)]=new _0x5ad8b0(),this[_0x1a5ad0(0xbf)](_0x1a5ad0(0xac),new Set()),this[_0x1a5ad0(0xba)]();}[_0x43e53c(0xce)](_0x161cc4){const _0xdea9b0=_0x43e53c;this[_0xdea9b0(0xbb)][_0xdea9b0(0xce)](_0x161cc4);}[_0x43e53c(0xb1)](_0x201d01){const _0x31f113=_0x43e53c;this[_0x31f113(0xbb)][_0x31f113(0xb1)](_0x201d01),_0x201d01[_0x31f113(0xb7)]();}[_0x43e53c(0xaa)](){const _0xf0ba88=_0x43e53c;for(const _0x68a45a of this[_0xf0ba88(0xbb)])_0x68a45a[_0xf0ba88(0xaa)]();}[_0x43e53c(0xca)](){const _0x12f697=_0x43e53c;this[_0x12f697(0xc9)][_0x12f697(0xca)]();}[_0x43e53c(0xae)](_0x36867a){const _0x19f89d=_0x43e53c;return this[_0x19f89d(0xbb)][_0x19f89d(0xae)](_0x36867a);}[_0x43e53c(0xb9)](){const _0x9ae867=_0x43e53c;this[_0x9ae867(0xcb)](_0x9ae867(0xcc));}[_0x43e53c(0xb7)](){const _0x40cf53=_0x43e53c;for(const _0x269f95 of this[_0x40cf53(0xbb)])_0x269f95[_0x40cf53(0xb7)]();this[_0x40cf53(0xc9)][_0x40cf53(0xb7)](),this[_0x40cf53(0xbb)][_0x40cf53(0xb7)](),super[_0x40cf53(0xb7)]();}[_0x43e53c(0xbd)](_0x52dc97){const _0x37a83b=_0x43e53c;this[_0x37a83b(0xcb)](_0x37a83b(0xbc),_0x52dc97);}[_0x43e53c(0xb4)](_0x24ed7b){return new _0x569183(_0x24ed7b);}[_0x43e53c(0xd5)](_0x23b350,_0x42fbf9){return new _0x457df2(_0x23b350,_0x42fbf9);}[_0x43e53c(0xab)](_0x5895e0){const _0x1162c2=_0x43e53c,_0x2d00bb=new Set(this[_0x1162c2(0xac)]);_0x2d00bb[_0x1162c2(0xce)](_0x5895e0),this[_0x1162c2(0xac)]=_0x2d00bb;}[_0x43e53c(0xc7)](_0x2a99fc){const _0x5815b7=_0x43e53c,_0x24a8ae=new Set(this[_0x5815b7(0xac)]);_0x24a8ae[_0x5815b7(0xd1)](_0x2a99fc),this[_0x5815b7(0xac)]=_0x24a8ae;}[_0x43e53c(0xba)](){const _0x814324=_0x43e53c,_0x4dda7b=this[_0x814324(0xbb)],_0x19a2f4=this[_0x814324(0xc9)];function _0x2fa77e(_0x415bbc){const _0x4163ce=_0x814324,_0x253c0c=_0x415bbc[_0x4163ce(0xcd)];_0x253c0c[_0x4163ce(0xc3)]&&!_0x19a2f4[_0x4163ce(0xc6)](_0x253c0c)?_0x19a2f4[_0x4163ce(0xce)](_0x253c0c):!_0x253c0c[_0x4163ce(0xc3)]&&_0x19a2f4[_0x4163ce(0xc6)](_0x253c0c)&&_0x19a2f4[_0x4163ce(0xb1)](_0x253c0c),_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xb6)][_0x4163ce(0xb1)](_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xc1)]),_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xb6)][_0x4163ce(0xce)](_0x253c0c[_0x4163ce(0xd2)][_0x4163ce(0xc1)]);}this[_0x814324(0xd4)](_0x4dda7b,_0x814324(0xce),(_0x533e28,_0x152641)=>{const _0x2ff3cf=_0x814324;_0x152641[_0x2ff3cf(0xc3)]&&_0x19a2f4[_0x2ff3cf(0xce)](_0x152641),this[_0x2ff3cf(0xd4)](_0x152641,_0x2ff3cf(0xc0),_0x2fa77e);}),this[_0x814324(0xd4)](_0x4dda7b,_0x814324(0xb1),(_0xf25f15,_0x22d231)=>{const _0xcce1fa=_0x814324;_0x19a2f4[_0xcce1fa(0xc6)](_0x22d231)&&_0x19a2f4[_0xcce1fa(0xb1)](_0x22d231),this[_0xcce1fa(0xb8)](_0x22d231,_0xcce1fa(0xc0),_0x2fa77e);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x466f76=_0x18d5;(function(_0x2a3004,_0xee98ab){const _0x2227db=_0x18d5,_0x49b3af=_0x2a3004();while(!![]){try{const _0x163aa4=parseInt(_0x2227db(0x128))/0x1*(-parseInt(_0x2227db(0x101))/0x2)+parseInt(_0x2227db(0x11e))/0x3+parseInt(_0x2227db(0x12d))/0x4+parseInt(_0x2227db(0x120))/0x5*(-parseInt(_0x2227db(0x122))/0x6)+parseInt(_0x2227db(0x12b))/0x7+-parseInt(_0x2227db(0x119))/0x8*(parseInt(_0x2227db(0x11b))/0x9)+parseInt(_0x2227db(0xf6))/0xa;if(_0x163aa4===_0xee98ab)break;else _0x49b3af['push'](_0x49b3af['shift']());}catch(_0x3b906a){_0x49b3af['push'](_0x49b3af['shift']());}}}(_0x291a,0x9141c));import{ContextPlugin as _0x4291a1}from'ckeditor5/src/core.js';function _0x18d5(_0x2f1033,_0x27fafb){const _0x291a94=_0x291a();return _0x18d5=function(_0x18d547,_0x42578d){_0x18d547=_0x18d547-0xf5;let _0x3e466a=_0x291a94[_0x18d547];return _0x3e466a;},_0x18d5(_0x2f1033,_0x27fafb);}import{CKEditorError as _0x494824}from'ckeditor5/src/utils.js';function _0x291a(){const _0x15eb7e=['_addActiveAnnotation','activeUIs','attach','remove','71171Tbwkhq','pluginName','_removeActiveAnnotation','3554600rocPIt','annotationsuis-missing-ui','2447000zykzRw','AnnotationsUIs','collection','_assertAnnotationDoesNotBelongToMultipleUIs','refilterAnnotations','switchTo','14845970mkpWdn','plugins','context','_visibleAnnotations','annotationsuis-annotation-mismatch','delete','annotationsuis-register-already-registered','listenTo','isActive','find','change:activeAnnotation','24wLhAcD','_uis','annotationsuis-register-invalid-interface','deactivate','push','init','has','_activateAnnotation','add','stopListening','_uisData','get','type','deactivateAll','_deactivateAllAnnotations','set','size','hasActive','_setSelectedAnnotations','filter','setActiveAnnotation','register','function','detach','8tLiUys','from','3423591yyeZls','activeAnnotations','requires','530838HXBtmV','length','50wXwKAN','activate','571002uSqvjz','destroy'];_0x291a=function(){return _0x15eb7e;};return _0x291a();}import _0x5dc732,{bindAnnotationCollections as _0x398b08}from'./annotationcollection.js';import _0x2353bc from'./annotations.js';export default class j extends _0x4291a1{static get[_0x466f76(0x11d)](){return[_0x2353bc];}static get[_0x466f76(0x129)](){const _0x37f5cb=_0x466f76;return _0x37f5cb(0x12e);}constructor(_0x534de6){const _0x3db027=_0x466f76;super(_0x534de6),this[_0x3db027(0x125)]=new Set(),this[_0x3db027(0x102)]=new Map(),this[_0x3db027(0x10b)]=new Map();}[_0x466f76(0x106)](){const _0x319f42=_0x466f76,_0x7304cb=this[_0x319f42(0xf8)][_0x319f42(0xf7)][_0x319f42(0x10c)](_0x2353bc);this[_0x319f42(0xfd)](_0x7304cb,_0x319f42(0x108),(_0x33f699,_0x4ca035)=>{const _0x390ff3=_0x319f42;for(const _0x1d7a8f of this[_0x390ff3(0x125)]){const _0x8e39a5=this[_0x390ff3(0x102)][_0x390ff3(0x10c)](_0x1d7a8f);(0x0,this[_0x390ff3(0x10b)][_0x390ff3(0x10c)](_0x1d7a8f)[_0x390ff3(0x114)])(_0x4ca035)&&_0x8e39a5[_0x390ff3(0x115)](_0x4ca035);}}),this[_0x319f42(0xfd)](_0x7304cb,_0x319f42(0x10f),()=>{const _0x4fb97d=_0x319f42;for(const _0x3b9d02 of this[_0x4fb97d(0x125)]){this[_0x4fb97d(0x102)][_0x4fb97d(0x10c)](_0x3b9d02)[_0x4fb97d(0x115)](null);}}),this[_0x319f42(0xfd)](_0x7304cb[_0x319f42(0xf9)],_0x319f42(0x109),(_0x5177b3,_0x31e41f)=>{const _0x2ac2ca=_0x319f42;this[_0x2ac2ca(0x130)](_0x31e41f);});}[_0x466f76(0x112)](){const _0x2f6056=_0x466f76;return this[_0x2f6056(0x125)][_0x2f6056(0x111)]>0x0;}[_0x466f76(0xfe)](_0x59f3b9){const _0x4f88c4=_0x466f76;return this[_0x4f88c4(0x125)][_0x4f88c4(0x107)](_0x59f3b9);}[_0x466f76(0x121)](_0x1ad8d5,_0x2084cc=()=>!0x0){const _0x358afc=_0x466f76,_0x14cb13=this[_0x358afc(0xf8)][_0x358afc(0xf7)][_0x358afc(0x10c)](_0x2353bc);if(!this[_0x358afc(0x102)][_0x358afc(0x107)](_0x1ad8d5))throw new _0x494824(_0x358afc(0x12c),this,{'uiName':_0x1ad8d5});this[_0x358afc(0xfe)](_0x1ad8d5)&&this[_0x358afc(0x104)](_0x1ad8d5),this[_0x358afc(0x125)][_0x358afc(0x109)](_0x1ad8d5);const _0x4ae2a3=new _0x5dc732(),_0x49a519=_0x14cb13[_0x358afc(0xf9)];_0x398b08({'source':_0x49a519,'target':_0x4ae2a3,'filter':_0x2084cc}),this[_0x358afc(0x10b)][_0x358afc(0x110)](_0x1ad8d5,{'collection':_0x4ae2a3,'filter':_0x2084cc});const _0x441ab9=this[_0x358afc(0x102)][_0x358afc(0x10c)](_0x1ad8d5);_0x441ab9[_0x358afc(0x126)](_0x4ae2a3),this[_0x358afc(0xfd)](_0x441ab9,_0x358afc(0x100),(_0xa6fd53,_0x14ec81,_0x700116,_0xe427d6)=>{const _0x41f81e=_0x358afc;_0xe427d6&&_0x14cb13[_0x41f81e(0x12a)](_0xe427d6),_0x700116&&_0x14cb13[_0x41f81e(0x124)](_0x700116);});}[_0x466f76(0x104)](_0x89efc6){const _0x296677=_0x466f76;if(this[_0x296677(0x125)][_0x296677(0xfb)](_0x89efc6),!this[_0x296677(0x102)][_0x296677(0x107)](_0x89efc6))throw new _0x494824(_0x296677(0x12c),this,{'uiName':_0x89efc6});const _0x44a030=this[_0x296677(0x102)][_0x296677(0x10c)](_0x89efc6);_0x44a030[_0x296677(0x118)](),this[_0x296677(0x10a)](_0x44a030),this[_0x296677(0x10b)][_0x296677(0x10c)](_0x89efc6)[_0x296677(0x12f)][_0x296677(0x123)](),this[_0x296677(0x10b)][_0x296677(0xfb)](_0x89efc6);}[_0x466f76(0xf5)](_0x1d4094){const _0x4a956a=_0x466f76;if(!this[_0x4a956a(0x102)][_0x4a956a(0x107)](_0x1d4094))throw new _0x494824(_0x4a956a(0x12c),this,{'uiName':_0x1d4094});const _0x1bdf15=this[_0x4a956a(0xf8)][_0x4a956a(0xf7)][_0x4a956a(0x10c)](_0x2353bc),_0x415e57=Array[_0x4a956a(0x11a)](_0x1bdf15[_0x4a956a(0x11c)])[0x0]||null;this[_0x4a956a(0x10e)](),this[_0x4a956a(0x121)](_0x1d4094);const _0x5da5c0=this[_0x4a956a(0x102)][_0x4a956a(0x10c)](_0x1d4094);_0x5da5c0[_0x4a956a(0x115)](_0x415e57),_0x5da5c0[_0x4a956a(0x113)]&&_0x415e57&&_0x5da5c0[_0x4a956a(0x113)]([_0x415e57]);}[_0x466f76(0x10e)](){const _0x448437=_0x466f76;for(const _0x1f02d9 of this[_0x448437(0x125)])this[_0x448437(0x104)](_0x1f02d9);}[_0x466f76(0x116)](_0x49211b,_0x443b96){const _0x42a2e8=_0x466f76;if(this[_0x42a2e8(0x102)][_0x42a2e8(0x107)](_0x49211b))throw new _0x494824(_0x42a2e8(0xfc));if(_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x126)]||_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x118)]||_0x42a2e8(0x117)!=typeof _0x443b96[_0x42a2e8(0x115)])throw new _0x494824(_0x42a2e8(0x103),null);this[_0x42a2e8(0x102)][_0x42a2e8(0x110)](_0x49211b,_0x443b96);}[_0x466f76(0x131)](){const _0x474e04=_0x466f76,_0x22794b=this[_0x474e04(0xf8)][_0x474e04(0xf7)][_0x474e04(0x10c)](_0x2353bc)[_0x474e04(0x12f)],_0x30c9ca=new Map(),_0x37f287=Array[_0x474e04(0x11a)](this[_0x474e04(0x125)]);for(const _0x1a8a8f of this[_0x474e04(0x125)]){const _0x1bb044=this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x1a8a8f)[_0x474e04(0x12f)];for(const _0x571391 of _0x1bb044)_0x30c9ca[_0x474e04(0x110)](_0x571391,_0x1a8a8f);}for(const _0x2e8555 of _0x22794b){const _0x41f987=_0x30c9ca[_0x474e04(0x10c)](_0x2e8555);this[_0x474e04(0x130)](_0x2e8555);const _0x840451=_0x37f287[_0x474e04(0xff)](_0x2be5d7=>this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x2be5d7)[_0x474e04(0x114)](_0x2e8555));_0x41f987!==_0x840451&&(_0x41f987&&this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x41f987)[_0x474e04(0x12f)][_0x474e04(0x127)](_0x2e8555),_0x840451&&this[_0x474e04(0x10b)][_0x474e04(0x10c)](_0x840451)[_0x474e04(0x12f)][_0x474e04(0x109)](_0x2e8555));}}[_0x466f76(0x123)](){const _0x217c7c=_0x466f76;this[_0x217c7c(0x10e)](),super[_0x217c7c(0x123)]();}[_0x466f76(0x130)](_0x5bca61){const _0x3a3ae9=_0x466f76,_0x4b66d3=[];for(const _0x380d53 of this[_0x3a3ae9(0x125)]){(0x0,this[_0x3a3ae9(0x10b)][_0x3a3ae9(0x10c)](_0x380d53)[_0x3a3ae9(0x114)])(_0x5bca61)&&_0x4b66d3[_0x3a3ae9(0x105)](_0x380d53);}if(_0x4b66d3[_0x3a3ae9(0x11f)]>0x1)throw new _0x494824(_0x3a3ae9(0xfa),null,{'matchedUIs':_0x4b66d3,'annotationType':_0x5bca61[_0x3a3ae9(0x10d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3426c5=_0x3bea;(function(_0x472a6c,_0x147193){const _0x1cd546=_0x3bea,_0x5bd916=_0x472a6c();while(!![]){try{const _0x4ab42d=-parseInt(_0x1cd546(0x93))/0x1+-parseInt(_0x1cd546(0xa7))/0x2+-parseInt(_0x1cd546(0x84))/0x3+-parseInt(_0x1cd546(0x8d))/0x4+-parseInt(_0x1cd546(0x9a))/0x5+-parseInt(_0x1cd546(0xad))/0x6*(parseInt(_0x1cd546(0x9c))/0x7)+parseInt(_0x1cd546(0x94))/0x8;if(_0x4ab42d===_0x147193)break;else _0x5bd916['push'](_0x5bd916['shift']());}catch(_0x2b6126){_0x5bd916['push'](_0x5bd916['shift']());}}}(_0x4fb0,0x6fb4f));function _0x3bea(_0x2a9a7a,_0x115967){const _0x4fb057=_0x4fb0();return _0x3bea=function(_0x3beac9,_0x4579f3){_0x3beac9=_0x3beac9-0x73;let _0x3ee5fb=_0x4fb057[_0x3beac9];return _0x3ee5fb;},_0x3bea(_0x2a9a7a,_0x115967);}import{Plugin as _0x2dd83e}from'ckeditor5/src/core.js';import{CKEditorError as _0x24d9d3}from'ckeditor5/src/utils.js';import{debounce as _0x10c0a8}from'lodash-es';function _0x4fb0(){const _0x69e5aa=['push','range','collection','pluginName','refreshSelectedViews','isCollapsed','2973812EeJZUk','change:range','document','isReadOnly','view','getRanges','686848XGMTmn','26073832toRZym','update','remove','directChange','delete','editorannotations-invalid-source-callback','2059710PUJVok','sort','383369YgtGeg','listenTo','model','from','addSourceCollector','plugins','innerView','containsRange','refresh','getOrderedSelectedAnnotations','fire','1016750wjWVZT','registerAnnotation','editor','has','uiUpdate','function','12sarNbv','hasDomSelection','selection','EditorAnnotations','blur','isEqual','requires','map','add','cancel','_editorAnnotations','editing','element','init','_editorAnnotationsData','change:isFocused','_dataCollectors','getByInnerView','annotation','focusTracker','1024578eIiMqn','set','get'];_0x4fb0=function(){return _0x69e5aa;};return _0x4fb0();}import _0x28ea13 from'./annotations.js';export default class k extends _0x2dd83e{static get[_0x3426c5(0x76)](){return[_0x28ea13];}static get[_0x3426c5(0x8a)](){const _0x193372=_0x3426c5;return _0x193372(0x73);}constructor(_0xafe284){const _0x124a0f=_0x3426c5;super(_0xafe284),this[_0x124a0f(0x80)]=new Set(),this[_0x124a0f(0x7a)]=new Set();}[_0x3426c5(0x7d)](){const _0x5b3b18=_0x3426c5,_0x4b9dfa=this[_0x5b3b18(0xa9)],_0x62f39a=_0x4b9dfa[_0x5b3b18(0x9e)][_0x5b3b18(0x8f)][_0x5b3b18(0xaf)],_0x536cd3=_0x10c0a8(()=>this[_0x5b3b18(0x8b)](),0xa);_0x62f39a['on'](_0x5b3b18(0x8e),(_0x3358bd,_0x1ef158)=>{const _0x22e53a=_0x5b3b18;_0x1ef158[_0x22e53a(0x97)]&&(_0x536cd3[_0x22e53a(0x79)](),this[_0x22e53a(0x8b)]());}),this[_0x5b3b18(0x9d)](_0x4b9dfa[_0x5b3b18(0x7b)][_0x5b3b18(0x91)][_0x5b3b18(0x8f)],_0x5b3b18(0x7f),(_0x263055,_0xf3451,_0xff5d11)=>{_0xff5d11&&_0x536cd3();}),this[_0x5b3b18(0x9d)](_0x4b9dfa['ui'][_0x5b3b18(0x83)],_0x5b3b18(0x7f),(_0x4f08f8,_0x2bb3ed,_0x581374)=>{const _0x114e01=_0x5b3b18;_0x581374||_0x4b9dfa[_0x114e01(0x90)]||this[_0x114e01(0xa6)](_0x114e01(0x74),{'isAnnotationTracked':_0x340be7=>this[_0x114e01(0x7e)][_0x114e01(0xaa)](_0x340be7[_0x114e01(0xa2)])});}),this[_0x5b3b18(0x9d)](this[_0x5b3b18(0xa9)]['ui'],_0x5b3b18(0x95),()=>this[_0x5b3b18(0xa6)](_0x5b3b18(0xab)));}[_0x3426c5(0xa8)](_0xa3f603){const _0x1837a0=_0x3426c5;if(this[_0x1837a0(0x7a)][_0x1837a0(0xaa)](_0xa3f603[_0x1837a0(0x91)]))return;this[_0x1837a0(0x7a)][_0x1837a0(0x78)](_0xa3f603[_0x1837a0(0x91)]),this[_0x1837a0(0xa9)]['ui'][_0x1837a0(0x83)][_0x1837a0(0x78)](_0xa3f603[_0x1837a0(0x91)][_0x1837a0(0x7c)]);const _0x56a387=this[_0x1837a0(0xa9)][_0x1837a0(0xa1)][_0x1837a0(0x86)](_0x28ea13);this[_0x1837a0(0x9d)](_0x56a387[_0x1837a0(0x89)],_0x1837a0(0x96),(_0x37fb79,_0x105ecc)=>{const _0x152da4=_0x1837a0;this[_0x152da4(0xa9)]['ui'][_0x152da4(0x83)][_0x152da4(0x96)](_0x105ecc[_0x152da4(0x91)][_0x152da4(0x7c)]),this[_0x152da4(0x7a)][_0x152da4(0x98)](_0x105ecc[_0x152da4(0x91)]);});}[_0x3426c5(0xae)](){const _0x440ba8=_0x3426c5;return this[_0x440ba8(0xa9)][_0x440ba8(0x7b)][_0x440ba8(0x91)][_0x440ba8(0xae)];}[_0x3426c5(0xa0)](_0x1e0cfe){const _0x5a3f43=_0x3426c5;if(_0x5a3f43(0xac)!=typeof _0x1e0cfe)throw new _0x24d9d3(_0x5a3f43(0x99));this[_0x5a3f43(0x80)][_0x5a3f43(0x78)](_0x1e0cfe);}[_0x3426c5(0x8b)](){const _0x398e95=_0x3426c5;this[_0x398e95(0xa6)](_0x398e95(0xa4));}[_0x3426c5(0xa5)]({activeAnnotation:_0x3eb706,annotations:_0x5f03e1}){const _0x22b082=_0x3426c5,_0x2285e5=[],_0x49f2ff=this[_0x22b082(0xa9)][_0x22b082(0x9e)][_0x22b082(0x8f)][_0x22b082(0xaf)],_0x22be73=Array[_0x22b082(0x9f)](_0x49f2ff[_0x22b082(0x92)]());for(const [_0x5a0419,_0x4ad439]of this[_0x22b082(0x7e)]){const _0x3dea21=_0x225b6f(_0x4ad439),_0x2390e0=_0x5f03e1[_0x22b082(0x81)](_0x5a0419);_0x3dea21&&_0x2390e0&&_0x2285e5[_0x22b082(0x87)]({'annotation':_0x2390e0,'range':_0x3dea21});}function _0x225b6f(_0x56c76d){const _0x29ec6d=_0x22b082;for(const _0x50c802 of _0x56c76d)for(const _0x191be3 of _0x22be73)if(_0x50c802[_0x29ec6d(0xa3)](_0x191be3,!_0x49f2ff[_0x29ec6d(0x8c)]))return _0x50c802;return null;}return _0x2285e5[_0x22b082(0x9b)]((_0x1be9a6,_0x2af56c)=>{const _0x2191ad=_0x22b082,_0x5d4d27=_0x1be9a6[_0x2191ad(0x88)],_0x3f6a62=_0x2af56c[_0x2191ad(0x88)];if(!_0x5d4d27[_0x2191ad(0x75)](_0x3f6a62)){if(_0x5d4d27[_0x2191ad(0xa3)](_0x3f6a62,!0x0))return 0x1;if(_0x3f6a62[_0x2191ad(0xa3)](_0x5d4d27,!0x0))return-0x1;}return _0x1be9a6[_0x2191ad(0x82)]==_0x3eb706?-0x1:_0x2af56c[_0x2191ad(0x82)]==_0x3eb706?0x1:0x0;})[_0x22b082(0x77)](_0x20d055=>_0x20d055[_0x22b082(0x82)]);}get[_0x3426c5(0x7e)](){const _0x2c8976=_0x3426c5,_0x3f3edb=new Map();for(const _0x3df8d6 of Array[_0x2c8976(0x9f)](this[_0x2c8976(0x80)]))for(const [_0x2551ad,_0x3ebd6f]of _0x3df8d6())_0x3f3edb[_0x2c8976(0x85)](_0x2551ad,_0x3ebd6f);return _0x3f3edb;}}
|