@ckeditor/ckeditor5-comments 41.2.1 → 41.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.
|
|
3
|
+
"version": "41.3.0-alpha.3",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"main": "src/index.js",
|
|
37
37
|
"files": [
|
|
38
38
|
"build",
|
|
39
|
+
"dist",
|
|
39
40
|
"lang",
|
|
40
41
|
"src/**/*.js",
|
|
41
42
|
"src/**/*.d.ts",
|
|
@@ -44,8 +45,8 @@
|
|
|
44
45
|
"CHANGELOG.md"
|
|
45
46
|
],
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "41.
|
|
48
|
-
"ckeditor5-collaboration": "41.
|
|
48
|
+
"ckeditor5": "41.3.0-alpha.3",
|
|
49
|
+
"ckeditor5-collaboration": "41.3.0-alpha.3",
|
|
49
50
|
"lodash-es": "4.17.21"
|
|
50
51
|
},
|
|
51
52
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x488caa=_0x49ad;(function(_0x472164,_0x4ff88c){const _0x36931e=_0x49ad,_0x3f6384=_0x472164();while(!![]){try{const _0x3f292b=parseInt(_0x36931e(0x1ed))/0x1*(parseInt(_0x36931e(0x1e9))/0x2)+-parseInt(_0x36931e(0x1f9))/0x3+-parseInt(_0x36931e(0x1eb))/0x4*(parseInt(_0x36931e(0x1e5))/0x5)+parseInt(_0x36931e(0x1ea))/0x6+-parseInt(_0x36931e(0x1ef))/0x7+parseInt(_0x36931e(0x20b))/0x8*(-parseInt(_0x36931e(0x1f1))/0x9)+parseInt(_0x36931e(0x1fd))/0xa;if(_0x3f292b===_0x4ff88c)break;else _0x3f6384['push'](_0x3f6384['shift']());}catch(_0x687237){_0x3f6384['push'](_0x3f6384['shift']());}}}(_0x4264,0xc939e));import{CKEditorError as _0x3e7df0,Rect as _0x451ade,Collection as _0x23691c,ObservableMixin as _0x483840}from'ckeditor5/src/utils.js';function _0x49ad(_0x454bbe,_0x4e86ef){const _0x426412=_0x4264();return _0x49ad=function(_0x49ad55,_0x4d17f2){_0x49ad55=_0x49ad55-0x1e0;let _0x4a4a1d=_0x426412[_0x49ad55];return _0x4a4a1d;},_0x49ad(_0x454bbe,_0x4e86ef);}export default class d extends _0x483840(){constructor({view:_0x452db0,target:_0x4bc134,type:_0x53d1e7,isVisible:_0x19b2bd=!0x0}){const _0x5bcd89=_0x49ad;super(),this[_0x5bcd89(0x1f0)]=_0x452db0,this[_0x5bcd89(0x1f0)][_0x5bcd89(0x20a)]||this[_0x5bcd89(0x1f0)][_0x5bcd89(0x20d)](),this[_0x5bcd89(0x1fa)]=_0x53d1e7,this[_0x5bcd89(0x1f4)]=_0x4bc134,d[_0x5bcd89(0x204)](this[_0x5bcd89(0x1e7)]()),this[_0x5bcd89(0x1ff)]=new _0x23691c([this[_0x5bcd89(0x1f0)][_0x5bcd89(0x20a)]],{'idProperty':_0x5bcd89(0x205)}),this[_0x5bcd89(0x1ff)]['on'](_0x5bcd89(0x1e2),(_0x3f1c6d,_0x418c39)=>{const _0x1850b5=_0x5bcd89;this[_0x1850b5(0x1f0)][_0x1850b5(0x207)][_0x1850b5(0x1e2)](_0x418c39);}),this[_0x5bcd89(0x1ff)]['on'](_0x5bcd89(0x1f7),(_0x259537,_0x1e705a)=>{const _0x3fde5d=_0x5bcd89;this[_0x3fde5d(0x1f0)][_0x3fde5d(0x207)][_0x3fde5d(0x1f7)](_0x1e705a);}),this[_0x5bcd89(0x202)](_0x5bcd89(0x206),_0x19b2bd);}get[_0x488caa(0x1f2)](){const _0x229caa=_0x488caa;return _0x229caa(0x1f5)==typeof this[_0x229caa(0x1fa)]?this[_0x229caa(0x1fa)]():this[_0x229caa(0x1fa)];}get[_0x488caa(0x200)](){const _0x132621=_0x488caa;return this[_0x132621(0x1f0)][_0x132621(0x1e4)];}get[_0x488caa(0x1e1)](){const _0x232c5a=_0x488caa,_0x22ae56=this[_0x232c5a(0x1e7)]();return d[_0x232c5a(0x204)](_0x22ae56),_0x22ae56;}get[_0x488caa(0x1fe)](){const _0x340dd4=_0x488caa,_0x4ff4dd=this[_0x340dd4(0x1e1)];if(null===_0x4ff4dd)return null;if(_0x4ff4dd instanceof _0x451ade)return _0x4ff4dd;const _0x152923=_0x4ff4dd[_0x340dd4(0x201)](_0x2d435b=>function(_0x28293d){const _0xfb0bad=_0x340dd4,_0x3a2682=_0x28293d[_0xfb0bad(0x1e8)];if(_0x3a2682)return!0x0;const _0xcf0ab3=_0x28293d[_0xfb0bad(0x208)]()[_0xfb0bad(0x1ee)](0x0);return!!_0xcf0ab3;}(_0x2d435b));return 0x0===_0x152923[_0x340dd4(0x1ec)]?null:new _0x451ade(_0x152923[0x0][_0x340dd4(0x208)]()[_0x340dd4(0x1ee)](0x0));}get[_0x488caa(0x1f6)](){const _0x4573a0=_0x488caa;return this[_0x4573a0(0x1f0)][_0x4573a0(0x1f6)];}set[_0x488caa(0x1f6)](_0x417fb2){const _0x1bf61f=_0x488caa;this[_0x1bf61f(0x1f0)][_0x1bf61f(0x1f6)]=_0x417fb2,this[_0x1bf61f(0x1f0)][_0x1bf61f(0x1e4)][_0x1bf61f(0x1f6)]=_0x417fb2;}[_0x488caa(0x1fb)](){const _0xdeff29=_0x488caa;this[_0xdeff29(0x1f0)][_0xdeff29(0x1fe)]=this[_0xdeff29(0x1fe)];}[_0x488caa(0x203)](){const _0x1ebd4d=_0x488caa;this[_0x1ebd4d(0x1ff)][_0x1ebd4d(0x1e3)](),this[_0x1ebd4d(0x1ff)][_0x1ebd4d(0x1f3)](),this[_0x1ebd4d(0x1e3)]();}[_0x488caa(0x1f8)](){const _0x1da787=_0x488caa;this[_0x1da787(0x206)]=!!this[_0x1da787(0x1fe)];}static[_0x488caa(0x204)](_0x1c9600){const _0x463afb=_0x488caa;if(!(null===_0x1c9600||_0x1c9600 instanceof _0x451ade||Array[_0x463afb(0x20c)](_0x1c9600)&&_0x1c9600[_0x463afb(0x209)](_0x5d8fa3=>y(_0x5d8fa3))))throw new _0x3e7df0(_0x463afb(0x1fc),null,{'target':_0x1c9600});}[_0x488caa(0x1e7)](){const _0x5d36b5=_0x488caa,_0x37a7ae=_0x5d36b5(0x1f5)==typeof this[_0x5d36b5(0x1f4)]?this[_0x5d36b5(0x1f4)]():this[_0x5d36b5(0x1f4)];return y(_0x37a7ae)?[_0x37a7ae]:_0x37a7ae;}}function y(_0x57b9a3){const _0x4faaa0=_0x488caa;return null!==_0x57b9a3&&_0x4faaa0(0x1e0)==typeof _0x57b9a3&&_0x4faaa0(0x1e6)in _0x57b9a3&&0x1===_0x57b9a3[_0x4faaa0(0x1e6)];}function _0x4264(){const _0x343ba1=['set','destroy','_assertCorrectTarget','_id','isVisible','focusTracker','getClientRects','every','element','3272JGDXWR','isArray','render','object','target','add','stopListening','mainView','140sQptWe','nodeType','_getNormalizedTarget','offsetParent','2CDBbni','902592AhkkaI','75428jbvLSD','length','649669OCEJmv','item','4088595QSKemG','view','23562LzQqrE','type','clear','_target','function','isActive','remove','refreshVisibility','4855137aiYVSp','_type','updateTargetRect','annotation-invalid-target','38253430HLslvz','targetRect','focusableElements','innerView','filter'];_0x4264=function(){return _0x343ba1;};return _0x4264();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x46c1(){const _0x1b0030=['sort','from','view','fire','isFocused','annotationcollection-duplicated-item','6148QVvWAs','refreshPositioning','getByInnerView','targetRect','get','1617845MFQzEo','_viewToAnnotation','set','add','top','10236laiXXF','stopListening','32qRNZUV','updateTargetRect','change:isFocused','blur','getByView','length','clear','innerView','listenTo','has','focusableElements','_sort','focus','2295628JGzEHz','24rAxIws','19547IupNoT','1861580wRDXPq','_innerViewToAnnotation','_getOrderInContent','remove','110ePnfOn','focusTracker','_focusTracker','1647127WejYUF','delete','left','492741sZcnmK','annotationcollection-not-existing-item','getIndex','2049ytTuRx','destroy'];_0x46c1=function(){return _0x1b0030;};return _0x46c1();}const _0x3fb3c7=_0x2d2c;(function(_0x44bad7,_0x2e3889){const _0x36515e=_0x2d2c,_0x2428e9=_0x44bad7();while(!![]){try{const _0x4391e3=parseInt(_0x36515e(0x164))/0x1+-parseInt(_0x36515e(0x15a))/0x2+parseInt(_0x36515e(0x16a))/0x3*(-parseInt(_0x36515e(0x172))/0x4)+parseInt(_0x36515e(0x177))/0x5*(parseInt(_0x36515e(0x15b))/0x6)+-parseInt(_0x36515e(0x15d))/0x7*(-parseInt(_0x36515e(0x17e))/0x8)+-parseInt(_0x36515e(0x167))/0x9*(-parseInt(_0x36515e(0x161))/0xa)+-parseInt(_0x36515e(0x15c))/0xb*(parseInt(_0x36515e(0x17c))/0xc);if(_0x4391e3===_0x2e3889)break;else _0x2428e9['push'](_0x2428e9['shift']());}catch(_0x41c1c4){_0x2428e9['push'](_0x2428e9['shift']());}}}(_0x46c1,0xda454));import{CKEditorError as _0x3477d9,Collection as _0x47215c,FocusTracker as _0x5c229c}from'ckeditor5/src/utils.js';export default class x extends _0x47215c{constructor(_0x483b8c=[]){const _0x1b9cbf=_0x2d2c;super(),this[_0x1b9cbf(0x15e)]=new Map(),this[_0x1b9cbf(0x178)]=new Map(),this[_0x1b9cbf(0x163)]=new _0x5c229c(),this[_0x1b9cbf(0x163)]['on'](_0x1b9cbf(0x180),(_0x3a5860,_0x1c9cf3,_0x5b617e)=>{const _0x18737a=_0x1b9cbf;_0x5b617e||this[_0x18737a(0x16f)](_0x18737a(0x150));});for(const _0x5e72ef of _0x483b8c)this[_0x1b9cbf(0x17a)](_0x5e72ef);}get[_0x3fb3c7(0x170)](){const _0x35002d=_0x3fb3c7;return this[_0x35002d(0x163)][_0x35002d(0x170)];}[_0x3fb3c7(0x17a)](_0x24917d){const _0x752acf=_0x3fb3c7;if(this[_0x752acf(0x156)](_0x24917d))throw new _0x3477d9(_0x752acf(0x171),null);this[_0x752acf(0x15e)][_0x752acf(0x179)](_0x24917d[_0x752acf(0x154)],_0x24917d),this[_0x752acf(0x178)][_0x752acf(0x179)](_0x24917d[_0x752acf(0x16e)],_0x24917d);for(const _0x49eaca of _0x24917d[_0x752acf(0x157)])this[_0x752acf(0x163)][_0x752acf(0x17a)](_0x49eaca);this[_0x752acf(0x155)](_0x24917d[_0x752acf(0x157)],_0x752acf(0x17a),(_0x1a812d,_0x59a44d)=>{const _0x4e3815=_0x752acf;this[_0x4e3815(0x163)][_0x4e3815(0x17a)](_0x59a44d);}),this[_0x752acf(0x155)](_0x24917d[_0x752acf(0x157)],_0x752acf(0x160),(_0x116c29,_0x324543)=>{const _0x5a3fea=_0x752acf;this[_0x5a3fea(0x163)][_0x5a3fea(0x160)](_0x324543);}),this[_0x752acf(0x155)](_0x24917d[_0x752acf(0x16e)][_0x752acf(0x162)],_0x752acf(0x180),(_0x159385,_0x1be273,_0x329595)=>{const _0x5a0082=_0x752acf;_0x329595&&this[_0x5a0082(0x16f)](_0x5a0082(0x159),_0x24917d);}),_0x24917d[_0x752acf(0x17f)]();const _0x42e4c5=this[_0x752acf(0x15f)](_0x24917d[_0x752acf(0x16e)][_0x752acf(0x175)]);return super[_0x752acf(0x17a)](_0x24917d,_0x42e4c5);}[_0x3fb3c7(0x160)](_0x507bb7){const _0x3faceb=_0x3fb3c7;if(!this[_0x3faceb(0x156)](_0x507bb7))throw new _0x3477d9(_0x3faceb(0x168),null);this[_0x3faceb(0x17d)](_0x507bb7[_0x3faceb(0x16e)][_0x3faceb(0x162)]),this[_0x3faceb(0x17d)](_0x507bb7[_0x3faceb(0x157)]);for(const _0x3ee7ff of _0x507bb7[_0x3faceb(0x157)])this[_0x3faceb(0x163)][_0x3faceb(0x160)](_0x3ee7ff);return this[_0x3faceb(0x178)][_0x3faceb(0x165)](_0x507bb7[_0x3faceb(0x16e)]),this[_0x3faceb(0x15e)][_0x3faceb(0x165)](_0x507bb7[_0x3faceb(0x154)]),super[_0x3faceb(0x160)](_0x507bb7);}[_0x3fb3c7(0x174)](_0x19a4dc){const _0x35c8cc=_0x3fb3c7;return this[_0x35c8cc(0x15e)][_0x35c8cc(0x176)](_0x19a4dc);}[_0x3fb3c7(0x151)](_0x53b444){const _0x325798=_0x3fb3c7;return this[_0x325798(0x178)][_0x325798(0x176)](_0x53b444);}[_0x3fb3c7(0x16b)](){const _0x241ed=_0x3fb3c7;super[_0x241ed(0x153)](),this[_0x241ed(0x17d)](),this[_0x241ed(0x15e)][_0x241ed(0x153)](),this[_0x241ed(0x178)][_0x241ed(0x153)](),this[_0x241ed(0x163)][_0x241ed(0x16b)]();}[_0x3fb3c7(0x173)](){const _0x1717be=_0x3fb3c7;for(const _0x5ad3fb of this)_0x5ad3fb[_0x1717be(0x17f)]();this[_0x1717be(0x158)]();}[_0x3fb3c7(0x158)](){const _0xd7ed4a=_0x3fb3c7,_0x393bef=Array[_0xd7ed4a(0x16d)](this)[_0xd7ed4a(0x16c)]((_0x4748ae,_0x37a302)=>v(_0x4748ae[_0xd7ed4a(0x16e)][_0xd7ed4a(0x175)],_0x37a302[_0xd7ed4a(0x16e)][_0xd7ed4a(0x175)]));for(let _0x112f69=_0x393bef[_0xd7ed4a(0x152)]-0x1;_0x112f69>0x0;_0x112f69--){const _0x109098=_0x393bef[_0x112f69];_0x112f69!==this[_0xd7ed4a(0x169)](_0x109098)&&(this[_0xd7ed4a(0x160)](_0x109098),this[_0xd7ed4a(0x17a)](_0x109098));}}[_0x3fb3c7(0x15f)](_0x1413c4){const _0x8374c=_0x3fb3c7;let _0x56a95d=0x0;if(!_0x1413c4)return this[_0x8374c(0x152)];for(const _0x4b4151 of this){const _0x53b2ce=_0x4b4151[_0x8374c(0x16e)][_0x8374c(0x175)];if(_0x53b2ce){if(v(_0x1413c4,_0x53b2ce)<0x0)return _0x56a95d;_0x56a95d++;}}return _0x56a95d;}}export function bindAnnotationCollections({source:_0x10ca5a,target:_0x3a365a,filter:_0x31d7f1}){const _0x25002c=_0x3fb3c7;for(const _0x3b7184 of _0x10ca5a)_0x31d7f1(_0x3b7184)&&_0x3a365a[_0x25002c(0x17a)](_0x3b7184);_0x3a365a[_0x25002c(0x155)](_0x10ca5a,_0x25002c(0x17a),(_0x49112b,_0x206ab9)=>{const _0x211ad8=_0x25002c;_0x31d7f1(_0x206ab9)&&_0x3a365a[_0x211ad8(0x17a)](_0x206ab9);}),_0x3a365a[_0x25002c(0x155)](_0x10ca5a,_0x25002c(0x160),(_0x2d14ab,_0x162d41)=>{const _0x5ee467=_0x25002c;_0x3a365a[_0x5ee467(0x156)](_0x162d41)&&_0x3a365a[_0x5ee467(0x160)](_0x162d41);});}function _0x2d2c(_0x3e75ba,_0x39cef3){const _0x46c1f5=_0x46c1();return _0x2d2c=function(_0x2d2c9e,_0x46693f){_0x2d2c9e=_0x2d2c9e-0x150;let _0x1575ae=_0x46c1f5[_0x2d2c9e];return _0x1575ae;},_0x2d2c(_0x3e75ba,_0x39cef3);}function v(_0x109e1c,_0x52cc8b){const _0x4d4714=_0x3fb3c7;if(null===_0x109e1c&&null===_0x52cc8b)return 0x0;if(null===_0x109e1c)return-0x1;if(null===_0x52cc8b)return 0x1;const _0x53069a=_0x109e1c[_0x4d4714(0x17b)]-_0x52cc8b[_0x4d4714(0x17b)];return 0x0==_0x53069a?_0x109e1c[_0x4d4714(0x166)]-_0x52cc8b[_0x4d4714(0x166)]:_0x53069a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ce118=_0xa53f;(function(_0x2cc54b,_0x38901c){const _0xf31071=_0xa53f,_0x4f6755=_0x2cc54b();while(!![]){try{const _0x15c16c=parseInt(_0xf31071(0x16a))/0x1*(parseInt(_0xf31071(0x182))/0x2)+-parseInt(_0xf31071(0x18c))/0x3*(-parseInt(_0xf31071(0x17a))/0x4)+-parseInt(_0xf31071(0x167))/0x5*(parseInt(_0xf31071(0x178))/0x6)+parseInt(_0xf31071(0x173))/0x7+parseInt(_0xf31071(0x17f))/0x8+parseInt(_0xf31071(0x179))/0x9+-parseInt(_0xf31071(0x176))/0xa;if(_0x15c16c===_0x38901c)break;else _0x4f6755['push'](_0x4f6755['shift']());}catch(_0x59e1d4){_0x4f6755['push'](_0x4f6755['shift']());}}}(_0x3583,0xdf779));import{ContextPlugin as _0x3647f9}from'ckeditor5/src/core.js';import _0x3ca7e9 from'./annotation.js';function _0x3583(){const _0x5d41c2=['_visibleAnnotations','createAnnotationView','refreshVisibility','add','view','855006aupUsW','pluginName','element','createAnnotation','_bindAnnotationsToVisibleAnnotations','80fZTtnx','_deactivateAllAnnotations','destroy','2pqlCsE','delete','activeAnnotations','_addActiveAnnotation','change:isVisible','refreshPositioning','has','listenTo','set','10060351QmufZC','fire','isVisible','10169220tWtmpD','stopListening','635700DnQVdF','9147168hktmEl','8GBbFcK','deactivateAll','remove','focusTracker','activate','2060560TiPZzk','_activateAnnotation','_removeActiveAnnotation','346324bpbqUl','getByInnerView','Annotations','source','collection'];_0x3583=function(){return _0x5d41c2;};return _0x3583();}import _0x540881 from'./annotationcollection.js';import _0x5a6f50 from'./view/annotationview.js';function _0xa53f(_0x2fefb3,_0x405e00){const _0x3583f1=_0x3583();return _0xa53f=function(_0xa53f2c,_0x13f013){_0xa53f2c=_0xa53f2c-0x167;let _0x14c621=_0x3583f1[_0xa53f2c];return _0x14c621;},_0xa53f(_0x2fefb3,_0x405e00);}export default class b extends _0x3647f9{static get[_0x2ce118(0x18d)](){const _0x45b393=_0x2ce118;return _0x45b393(0x184);}constructor(_0x500f46){const _0x5ee273=_0x2ce118;super(_0x500f46),this[_0x5ee273(0x186)]=new _0x540881(),this[_0x5ee273(0x187)]=new _0x540881(),this[_0x5ee273(0x172)](_0x5ee273(0x16c),new Set()),this[_0x5ee273(0x190)]();}[_0x2ce118(0x18a)](_0x355ccc){const _0x6c47c0=_0x2ce118;this[_0x6c47c0(0x186)][_0x6c47c0(0x18a)](_0x355ccc);}[_0x2ce118(0x17c)](_0x18cc4c){const _0x59815c=_0x2ce118;this[_0x59815c(0x186)][_0x59815c(0x17c)](_0x18cc4c),_0x18cc4c[_0x59815c(0x169)]();}[_0x2ce118(0x189)](){const _0x26ad04=_0x2ce118;for(const _0x4895ed of this[_0x26ad04(0x186)])_0x4895ed[_0x26ad04(0x189)]();}[_0x2ce118(0x16f)](){const _0x312351=_0x2ce118;this[_0x312351(0x187)][_0x312351(0x16f)]();}[_0x2ce118(0x183)](_0x2ee9b7){const _0x225fe0=_0x2ce118;return this[_0x225fe0(0x186)][_0x225fe0(0x183)](_0x2ee9b7);}[_0x2ce118(0x17b)](){const _0xdd4e92=_0x2ce118;this[_0xdd4e92(0x174)](_0xdd4e92(0x168));}[_0x2ce118(0x169)](){const _0x39d68c=_0x2ce118;for(const _0x5e60ad of this[_0x39d68c(0x186)])_0x5e60ad[_0x39d68c(0x169)]();this[_0x39d68c(0x187)][_0x39d68c(0x169)](),this[_0x39d68c(0x186)][_0x39d68c(0x169)](),super[_0x39d68c(0x169)]();}[_0x2ce118(0x17e)](_0x5b02fd){const _0x2633a9=_0x2ce118;this[_0x2633a9(0x174)](_0x2633a9(0x180),_0x5b02fd);}[_0x2ce118(0x18f)](_0xab21c6){return new _0x3ca7e9(_0xab21c6);}[_0x2ce118(0x188)](_0x4fcee2,_0x596318){return new _0x5a6f50(_0x4fcee2,_0x596318);}[_0x2ce118(0x16d)](_0x13490b){const _0x3eb70b=_0x2ce118,_0x259012=new Set(this[_0x3eb70b(0x16c)]);_0x259012[_0x3eb70b(0x18a)](_0x13490b),this[_0x3eb70b(0x16c)]=_0x259012;}[_0x2ce118(0x181)](_0xb52809){const _0x54c729=_0x2ce118,_0x18e208=new Set(this[_0x54c729(0x16c)]);_0x18e208[_0x54c729(0x16b)](_0xb52809),this[_0x54c729(0x16c)]=_0x18e208;}[_0x2ce118(0x190)](){const _0x183222=_0x2ce118,_0x2c8c99=this[_0x183222(0x186)],_0x15ee74=this[_0x183222(0x187)];function _0x3d7b65(_0x31c7b2){const _0x3f982d=_0x183222,_0x522407=_0x31c7b2[_0x3f982d(0x185)];_0x522407[_0x3f982d(0x175)]&&!_0x15ee74[_0x3f982d(0x170)](_0x522407)?_0x15ee74[_0x3f982d(0x18a)](_0x522407):!_0x522407[_0x3f982d(0x175)]&&_0x15ee74[_0x3f982d(0x170)](_0x522407)&&_0x15ee74[_0x3f982d(0x17c)](_0x522407),_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x17d)][_0x3f982d(0x17c)](_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x18e)]),_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x17d)][_0x3f982d(0x18a)](_0x522407[_0x3f982d(0x18b)][_0x3f982d(0x18e)]);}this[_0x183222(0x171)](_0x2c8c99,_0x183222(0x18a),(_0x4dd94b,_0x3983b8)=>{const _0x5a2511=_0x183222;_0x3983b8[_0x5a2511(0x175)]&&_0x15ee74[_0x5a2511(0x18a)](_0x3983b8),this[_0x5a2511(0x171)](_0x3983b8,_0x5a2511(0x16e),_0x3d7b65);}),this[_0x183222(0x171)](_0x2c8c99,_0x183222(0x17c),(_0x1bc9ec,_0xa5141f)=>{const _0x125be5=_0x183222;_0x15ee74[_0x125be5(0x170)](_0xa5141f)&&_0x15ee74[_0x125be5(0x17c)](_0xa5141f),this[_0x125be5(0x177)](_0xa5141f,_0x125be5(0x16e),_0x3d7b65);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5edf3c=_0x2878;function _0x35f4(){const _0x3b8717=['2442034tEswyo','18mwdIIB','348444nOxSGZ','hasActive','plugins','12lAboGU','_visibleAnnotations','1429734EDcoAP','get','size','push','77931uqUSMH','destroy','switchTo','_uisData','length','init','context','add','activate','setActiveAnnotation','type','change:activeAnnotation','has','annotationsuis-annotation-mismatch','stopListening','remove','collection','listenTo','find','1722184dOmxcQ','_deactivateAllAnnotations','_removeActiveAnnotation','refilterAnnotations','annotationsuis-missing-ui','register','_assertAnnotationDoesNotBelongToMultipleUIs','isActive','deactivateAll','AnnotationsUIs','535730tZWYDi','deactivate','filter','pluginName','activeAnnotations','_addActiveAnnotation','_activateAnnotation','attach','activeUIs','annotationsuis-register-already-registered','from','set','function','detach','_setSelectedAnnotations','delete','151933xXgWbr','annotationsuis-register-invalid-interface','_uis','requires'];_0x35f4=function(){return _0x3b8717;};return _0x35f4();}(function(_0x72e7df,_0x51667f){const _0x19388d=_0x2878,_0x59ee56=_0x72e7df();while(!![]){try{const _0x21fc3b=-parseInt(_0x19388d(0x7f))/0x1+-parseInt(_0x19388d(0x85))/0x2+parseInt(_0x19388d(0x8e))/0x3*(parseInt(_0x19388d(0x88))/0x4)+-parseInt(_0x19388d(0xab))/0x5+-parseInt(_0x19388d(0x8a))/0x6+parseInt(_0x19388d(0x83))/0x7+-parseInt(_0x19388d(0xa1))/0x8*(-parseInt(_0x19388d(0x84))/0x9);if(_0x21fc3b===_0x51667f)break;else _0x59ee56['push'](_0x59ee56['shift']());}catch(_0x1b5942){_0x59ee56['push'](_0x59ee56['shift']());}}}(_0x35f4,0x2d595));import{ContextPlugin as _0x464417}from'ckeditor5/src/core.js';import{CKEditorError as _0x48b6df}from'ckeditor5/src/utils.js';function _0x2878(_0x2f6bdc,_0x375117){const _0x35f4d9=_0x35f4();return _0x2878=function(_0x287888,_0x3f7f66){_0x287888=_0x287888-0x7e;let _0x5c7543=_0x35f4d9[_0x287888];return _0x5c7543;},_0x2878(_0x2f6bdc,_0x375117);}import _0x1b3689,{bindAnnotationCollections as _0x1c793b}from'./annotationcollection.js';import _0x329946 from'./annotations.js';export default class j extends _0x464417{static get[_0x5edf3c(0x82)](){return[_0x329946];}static get[_0x5edf3c(0xae)](){const _0x3af574=_0x5edf3c;return _0x3af574(0xaa);}constructor(_0x1f1beb){const _0x38fce6=_0x5edf3c;super(_0x1f1beb),this[_0x38fce6(0xb3)]=new Set(),this[_0x38fce6(0x81)]=new Map(),this[_0x38fce6(0x91)]=new Map();}[_0x5edf3c(0x93)](){const _0x49ee51=_0x5edf3c,_0x3719d2=this[_0x49ee51(0x94)][_0x49ee51(0x87)][_0x49ee51(0x8b)](_0x329946);this[_0x49ee51(0x9f)](_0x3719d2,_0x49ee51(0xb1),(_0x32cd01,_0x2c3e46)=>{const _0x4bddfd=_0x49ee51;for(const _0x1ec89d of this[_0x4bddfd(0xb3)]){const _0xb573=this[_0x4bddfd(0x81)][_0x4bddfd(0x8b)](_0x1ec89d);(0x0,this[_0x4bddfd(0x91)][_0x4bddfd(0x8b)](_0x1ec89d)[_0x4bddfd(0xad)])(_0x2c3e46)&&_0xb573[_0x4bddfd(0x97)](_0x2c3e46);}}),this[_0x49ee51(0x9f)](_0x3719d2,_0x49ee51(0xa2),()=>{const _0x5aa7b0=_0x49ee51;for(const _0x394fd3 of this[_0x5aa7b0(0xb3)]){this[_0x5aa7b0(0x81)][_0x5aa7b0(0x8b)](_0x394fd3)[_0x5aa7b0(0x97)](null);}}),this[_0x49ee51(0x9f)](_0x3719d2[_0x49ee51(0x89)],_0x49ee51(0x95),(_0x5977da,_0x319981)=>{const _0x47f3db=_0x49ee51;this[_0x47f3db(0xa7)](_0x319981);});}[_0x5edf3c(0x86)](){const _0x32c734=_0x5edf3c;return this[_0x32c734(0xb3)][_0x32c734(0x8c)]>0x0;}[_0x5edf3c(0xa8)](_0x338f05){const _0x16bf4c=_0x5edf3c;return this[_0x16bf4c(0xb3)][_0x16bf4c(0x9a)](_0x338f05);}[_0x5edf3c(0x96)](_0x9853d4,_0x381668=()=>!0x0){const _0x289917=_0x5edf3c,_0x218504=this[_0x289917(0x94)][_0x289917(0x87)][_0x289917(0x8b)](_0x329946);if(!this[_0x289917(0x81)][_0x289917(0x9a)](_0x9853d4))throw new _0x48b6df(_0x289917(0xa5),this,{'uiName':_0x9853d4});this[_0x289917(0xa8)](_0x9853d4)&&this[_0x289917(0xac)](_0x9853d4),this[_0x289917(0xb3)][_0x289917(0x95)](_0x9853d4);const _0x65122f=new _0x1b3689(),_0x47f910=_0x218504[_0x289917(0x89)];_0x1c793b({'source':_0x47f910,'target':_0x65122f,'filter':_0x381668}),this[_0x289917(0x91)][_0x289917(0xb6)](_0x9853d4,{'collection':_0x65122f,'filter':_0x381668});const _0x2f0d4a=this[_0x289917(0x81)][_0x289917(0x8b)](_0x9853d4);_0x2f0d4a[_0x289917(0xb2)](_0x65122f),this[_0x289917(0x9f)](_0x2f0d4a,_0x289917(0x99),(_0x38d981,_0x324601,_0x30b231,_0x46cf34)=>{const _0x500d2d=_0x289917;_0x46cf34&&_0x218504[_0x500d2d(0xa3)](_0x46cf34),_0x30b231&&_0x218504[_0x500d2d(0xb0)](_0x30b231);});}[_0x5edf3c(0xac)](_0x1acedb){const _0x5f09a4=_0x5edf3c;if(this[_0x5f09a4(0xb3)][_0x5f09a4(0x7e)](_0x1acedb),!this[_0x5f09a4(0x81)][_0x5f09a4(0x9a)](_0x1acedb))throw new _0x48b6df(_0x5f09a4(0xa5),this,{'uiName':_0x1acedb});const _0x473b9b=this[_0x5f09a4(0x81)][_0x5f09a4(0x8b)](_0x1acedb);_0x473b9b[_0x5f09a4(0xb8)](),this[_0x5f09a4(0x9c)](_0x473b9b),this[_0x5f09a4(0x91)][_0x5f09a4(0x8b)](_0x1acedb)[_0x5f09a4(0x9e)][_0x5f09a4(0x8f)](),this[_0x5f09a4(0x91)][_0x5f09a4(0x7e)](_0x1acedb);}[_0x5edf3c(0x90)](_0x47cbf1){const _0x10795f=_0x5edf3c;if(!this[_0x10795f(0x81)][_0x10795f(0x9a)](_0x47cbf1))throw new _0x48b6df(_0x10795f(0xa5),this,{'uiName':_0x47cbf1});const _0x31f06c=this[_0x10795f(0x94)][_0x10795f(0x87)][_0x10795f(0x8b)](_0x329946),_0x5b1e9f=Array[_0x10795f(0xb5)](_0x31f06c[_0x10795f(0xaf)])[0x0]||null;this[_0x10795f(0xa9)](),this[_0x10795f(0x96)](_0x47cbf1);const _0x1e6ec4=this[_0x10795f(0x81)][_0x10795f(0x8b)](_0x47cbf1);_0x1e6ec4[_0x10795f(0x97)](_0x5b1e9f),_0x1e6ec4[_0x10795f(0xb9)]&&_0x5b1e9f&&_0x1e6ec4[_0x10795f(0xb9)]([_0x5b1e9f]);}[_0x5edf3c(0xa9)](){const _0x58aab3=_0x5edf3c;for(const _0x3471d8 of this[_0x58aab3(0xb3)])this[_0x58aab3(0xac)](_0x3471d8);}[_0x5edf3c(0xa6)](_0x3eeaad,_0x283116){const _0x432c2e=_0x5edf3c;if(this[_0x432c2e(0x81)][_0x432c2e(0x9a)](_0x3eeaad))throw new _0x48b6df(_0x432c2e(0xb4));if(_0x432c2e(0xb7)!=typeof _0x283116[_0x432c2e(0xb2)]||_0x432c2e(0xb7)!=typeof _0x283116[_0x432c2e(0xb8)]||_0x432c2e(0xb7)!=typeof _0x283116[_0x432c2e(0x97)])throw new _0x48b6df(_0x432c2e(0x80),null);this[_0x432c2e(0x81)][_0x432c2e(0xb6)](_0x3eeaad,_0x283116);}[_0x5edf3c(0xa4)](){const _0x37df5d=_0x5edf3c,_0x56fcb6=this[_0x37df5d(0x94)][_0x37df5d(0x87)][_0x37df5d(0x8b)](_0x329946)[_0x37df5d(0x9e)],_0xae6da8=new Map(),_0x10fbe4=Array[_0x37df5d(0xb5)](this[_0x37df5d(0xb3)]);for(const _0x13f260 of this[_0x37df5d(0xb3)]){const _0x59b197=this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x13f260)[_0x37df5d(0x9e)];for(const _0x2dd163 of _0x59b197)_0xae6da8[_0x37df5d(0xb6)](_0x2dd163,_0x13f260);}for(const _0x47fd12 of _0x56fcb6){const _0x53b738=_0xae6da8[_0x37df5d(0x8b)](_0x47fd12);this[_0x37df5d(0xa7)](_0x47fd12);const _0x265e05=_0x10fbe4[_0x37df5d(0xa0)](_0x4aa779=>this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x4aa779)[_0x37df5d(0xad)](_0x47fd12));_0x53b738!==_0x265e05&&(_0x53b738&&this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x53b738)[_0x37df5d(0x9e)][_0x37df5d(0x9d)](_0x47fd12),_0x265e05&&this[_0x37df5d(0x91)][_0x37df5d(0x8b)](_0x265e05)[_0x37df5d(0x9e)][_0x37df5d(0x95)](_0x47fd12));}}[_0x5edf3c(0x8f)](){const _0x4b3abc=_0x5edf3c;this[_0x4b3abc(0xa9)](),super[_0x4b3abc(0x8f)]();}[_0x5edf3c(0xa7)](_0x38f65f){const _0x19cb95=_0x5edf3c,_0x352189=[];for(const _0x25bf5d of this[_0x19cb95(0xb3)]){(0x0,this[_0x19cb95(0x91)][_0x19cb95(0x8b)](_0x25bf5d)[_0x19cb95(0xad)])(_0x38f65f)&&_0x352189[_0x19cb95(0x8d)](_0x25bf5d);}if(_0x352189[_0x19cb95(0x92)]>0x1)throw new _0x48b6df(_0x19cb95(0x9b),null,{'matchedUIs':_0x352189,'annotationType':_0x38f65f[_0x19cb95(0x98)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f1994=_0xa9c1;(function(_0x50b519,_0x529b3e){const _0x4b30c3=_0xa9c1,_0xbed47=_0x50b519();while(!![]){try{const _0x4cd033=parseInt(_0x4b30c3(0x1be))/0x1+parseInt(_0x4b30c3(0x1b8))/0x2+parseInt(_0x4b30c3(0x1e7))/0x3+parseInt(_0x4b30c3(0x1b5))/0x4+parseInt(_0x4b30c3(0x1d2))/0x5+-parseInt(_0x4b30c3(0x1e8))/0x6+-parseInt(_0x4b30c3(0x1e9))/0x7*(parseInt(_0x4b30c3(0x1b9))/0x8);if(_0x4cd033===_0x529b3e)break;else _0xbed47['push'](_0xbed47['shift']());}catch(_0x1d6a90){_0xbed47['push'](_0xbed47['shift']());}}}(_0x15a8,0x52b0c));function _0x15a8(){const _0x857eb6=['push','has','636308ACIOjp','model','plugins','208314byjuem','4678440RKtnqa','editor','add','innerView','directChange','417686KqOTBG','init','refreshSelectedViews','cancel','collection','getOrderedSelectedAnnotations','fire','_dataCollectors','get','_editorAnnotations','document','_editorAnnotationsData','addSourceCollector','isReadOnly','blur','isEqual','listenTo','getRanges','EditorAnnotations','map','2859435ujdGMV','remove','containsRange','requires','editing','refresh','pluginName','sort','annotation','update','range','element','set','view','registerAnnotation','change:range','isCollapsed','uiUpdate','change:isFocused','selection','focusTracker','222732GDTcll','2421276KflzUp','7eEvBXS','getByInnerView','hasDomSelection','from','function','editorannotations-invalid-source-callback','delete'];_0x15a8=function(){return _0x857eb6;};return _0x15a8();}import{Plugin as _0x4d002b}from'ckeditor5/src/core.js';import{CKEditorError as _0x8c11c8}from'ckeditor5/src/utils.js';function _0xa9c1(_0x24fb7e,_0x196ef6){const _0x15a8a6=_0x15a8();return _0xa9c1=function(_0xa9c16b,_0x3b9693){_0xa9c16b=_0xa9c16b-0x1b4;let _0x4643a0=_0x15a8a6[_0xa9c16b];return _0x4643a0;},_0xa9c1(_0x24fb7e,_0x196ef6);}import{debounce as _0x515787}from'lodash-es';import _0x3f4d86 from'./annotations.js';export default class k extends _0x4d002b{static get[_0x1f1994(0x1d5)](){return[_0x3f4d86];}static get[_0x1f1994(0x1d8)](){const _0x12ac9b=_0x1f1994;return _0x12ac9b(0x1d0);}constructor(_0x333484){const _0x4aecb1=_0x1f1994;super(_0x333484),this[_0x4aecb1(0x1c5)]=new Set(),this[_0x4aecb1(0x1c7)]=new Set();}[_0x1f1994(0x1bf)](){const _0x19a4d4=_0x1f1994,_0x124630=this[_0x19a4d4(0x1ba)],_0x1b79a6=_0x124630[_0x19a4d4(0x1b6)][_0x19a4d4(0x1c8)][_0x19a4d4(0x1e5)],_0x472241=_0x515787(()=>this[_0x19a4d4(0x1c0)](),0xa);_0x1b79a6['on'](_0x19a4d4(0x1e1),(_0x5ce8ee,_0x33b56c)=>{const _0x48dce8=_0x19a4d4;_0x33b56c[_0x48dce8(0x1bd)]&&(_0x472241[_0x48dce8(0x1c1)](),this[_0x48dce8(0x1c0)]());}),this[_0x19a4d4(0x1ce)](_0x124630[_0x19a4d4(0x1d6)][_0x19a4d4(0x1df)][_0x19a4d4(0x1c8)],_0x19a4d4(0x1e4),(_0x58558a,_0x4cc497,_0xf4e1ca)=>{_0xf4e1ca&&_0x472241();}),this[_0x19a4d4(0x1ce)](_0x124630['ui'][_0x19a4d4(0x1e6)],_0x19a4d4(0x1e4),(_0x1572b3,_0x1adb53,_0x5e91cc)=>{const _0x374959=_0x19a4d4;_0x5e91cc||_0x124630[_0x374959(0x1cb)]||this[_0x374959(0x1c4)](_0x374959(0x1cc),{'isAnnotationTracked':_0x40badc=>this[_0x374959(0x1c9)][_0x374959(0x1b4)](_0x40badc[_0x374959(0x1bc)])});}),this[_0x19a4d4(0x1ce)](this[_0x19a4d4(0x1ba)]['ui'],_0x19a4d4(0x1db),()=>this[_0x19a4d4(0x1c4)](_0x19a4d4(0x1e3)));}[_0x1f1994(0x1e0)](_0x6ac406){const _0x2459e1=_0x1f1994;if(this[_0x2459e1(0x1c7)][_0x2459e1(0x1b4)](_0x6ac406[_0x2459e1(0x1df)]))return;this[_0x2459e1(0x1c7)][_0x2459e1(0x1bb)](_0x6ac406[_0x2459e1(0x1df)]),this[_0x2459e1(0x1ba)]['ui'][_0x2459e1(0x1e6)][_0x2459e1(0x1bb)](_0x6ac406[_0x2459e1(0x1df)][_0x2459e1(0x1dd)]);const _0x459c58=this[_0x2459e1(0x1ba)][_0x2459e1(0x1b7)][_0x2459e1(0x1c6)](_0x3f4d86);this[_0x2459e1(0x1ce)](_0x459c58[_0x2459e1(0x1c2)],_0x2459e1(0x1d3),(_0x1cfe5c,_0x42026a)=>{const _0xe1e4db=_0x2459e1;this[_0xe1e4db(0x1ba)]['ui'][_0xe1e4db(0x1e6)][_0xe1e4db(0x1d3)](_0x42026a[_0xe1e4db(0x1df)][_0xe1e4db(0x1dd)]),this[_0xe1e4db(0x1c7)][_0xe1e4db(0x1ef)](_0x42026a[_0xe1e4db(0x1df)]);});}[_0x1f1994(0x1eb)](){const _0x4dac4f=_0x1f1994;return this[_0x4dac4f(0x1ba)][_0x4dac4f(0x1d6)][_0x4dac4f(0x1df)][_0x4dac4f(0x1eb)];}[_0x1f1994(0x1ca)](_0x117ee1){const _0x5823e4=_0x1f1994;if(_0x5823e4(0x1ed)!=typeof _0x117ee1)throw new _0x8c11c8(_0x5823e4(0x1ee));this[_0x5823e4(0x1c5)][_0x5823e4(0x1bb)](_0x117ee1);}[_0x1f1994(0x1c0)](){const _0x2d7d99=_0x1f1994;this[_0x2d7d99(0x1c4)](_0x2d7d99(0x1d7));}[_0x1f1994(0x1c3)]({activeAnnotation:_0x1ddbf3,annotations:_0x1f6675}){const _0x377f34=_0x1f1994,_0x28abd2=[],_0x33c469=this[_0x377f34(0x1ba)][_0x377f34(0x1b6)][_0x377f34(0x1c8)][_0x377f34(0x1e5)],_0x31bb40=Array[_0x377f34(0x1ec)](_0x33c469[_0x377f34(0x1cf)]());for(const [_0x108217,_0x3f3635]of this[_0x377f34(0x1c9)]){const _0x200957=_0x3eab95(_0x3f3635),_0x684173=_0x1f6675[_0x377f34(0x1ea)](_0x108217);_0x200957&&_0x684173&&_0x28abd2[_0x377f34(0x1f0)]({'annotation':_0x684173,'range':_0x200957});}function _0x3eab95(_0x50f478){const _0x8c68ca=_0x377f34;for(const _0x1f608e of _0x50f478)for(const _0x1a12eb of _0x31bb40)if(_0x1f608e[_0x8c68ca(0x1d4)](_0x1a12eb,!_0x33c469[_0x8c68ca(0x1e2)]))return _0x1f608e;return null;}return _0x28abd2[_0x377f34(0x1d9)]((_0x1e5259,_0x1921a9)=>{const _0x2521b0=_0x377f34,_0x29cc57=_0x1e5259[_0x2521b0(0x1dc)],_0x2e08c8=_0x1921a9[_0x2521b0(0x1dc)];if(!_0x29cc57[_0x2521b0(0x1cd)](_0x2e08c8)){if(_0x29cc57[_0x2521b0(0x1d4)](_0x2e08c8,!0x0))return 0x1;if(_0x2e08c8[_0x2521b0(0x1d4)](_0x29cc57,!0x0))return-0x1;}return _0x1e5259[_0x2521b0(0x1da)]==_0x1ddbf3?-0x1:_0x1921a9[_0x2521b0(0x1da)]==_0x1ddbf3?0x1:0x0;})[_0x377f34(0x1d1)](_0x5d6318=>_0x5d6318[_0x377f34(0x1da)]);}get[_0x1f1994(0x1c9)](){const _0xe64b92=_0x1f1994,_0xd63959=new Map();for(const _0x33d3e1 of Array[_0xe64b92(0x1ec)](this[_0xe64b92(0x1c5)]))for(const [_0x1ddc68,_0x126668]of _0x33d3e1())_0xd63959[_0xe64b92(0x1de)](_0x1ddc68,_0x126668);return _0xd63959;}}
|