@ckeditor/ckeditor5-comments 41.3.1 → 41.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +596 -0
- package/dist/index.css +926 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/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/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.4.0-alpha.0",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"main": "src/index.js",
|
|
37
37
|
"files": [
|
|
38
38
|
"build",
|
|
39
|
+
"dist",
|
|
39
40
|
"lang",
|
|
40
41
|
"src/**/*.js",
|
|
41
42
|
"src/**/*.d.ts",
|
|
@@ -44,8 +45,8 @@
|
|
|
44
45
|
"CHANGELOG.md"
|
|
45
46
|
],
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"ckeditor5": "41.
|
|
48
|
-
"ckeditor5-collaboration": "41.
|
|
48
|
+
"ckeditor5": "41.4.0-alpha.0",
|
|
49
|
+
"ckeditor5-collaboration": "41.4.0-alpha.0",
|
|
49
50
|
"lodash-es": "4.17.21"
|
|
50
51
|
},
|
|
51
52
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10cfde=_0xe206;function _0xe206(_0x40735b,_0x20565c){const _0x5e3ffc=_0x5e3f();return _0xe206=function(_0xe2066a,_0x1a4d6f){_0xe2066a=_0xe2066a-0x107;let _0x3803e6=_0x5e3ffc[_0xe2066a];return _0x3803e6;},_0xe206(_0x40735b,_0x20565c);}function _0x5e3f(){const _0x4e2cc6=['5270PkiZsM','annotation-invalid-target','5622106clgEkk','165Ofodoj','offsetParent','type','_id','view','render','549kGbxyZ','getClientRects','1198734CPxope','focusableElements','isArray','isActive','object','innerView','every','mainView','nodeType','985864tmaVCm','updateTargetRect','targetRect','remove','isVisible','function','refreshVisibility','60872IqCZrE','_type','_assertCorrectTarget','_getNormalizedTarget','element','1382350TcUfVs','add','target','item','3120fxcQhD','destroy','clear','set','focusTracker','stopListening','1jYUKPh','_target','filter','3128750gmmSpX','length'];_0x5e3f=function(){return _0x4e2cc6;};return _0x5e3f();}(function(_0x4059b6,_0x1b77c4){const _0x4a5299=_0xe206,_0x484b45=_0x4059b6();while(!![]){try{const _0x52efc6=-parseInt(_0x4a5299(0x10a))/0x1*(parseInt(_0x4a5299(0x10d))/0x2)+parseInt(_0x4a5299(0x11a))/0x3+parseInt(_0x4a5299(0x123))/0x4+parseInt(_0x4a5299(0x10f))/0x5*(-parseInt(_0x4a5299(0x133))/0x6)+parseInt(_0x4a5299(0x111))/0x7+parseInt(_0x4a5299(0x12a))/0x8*(-parseInt(_0x4a5299(0x118))/0x9)+-parseInt(_0x4a5299(0x12f))/0xa*(-parseInt(_0x4a5299(0x112))/0xb);if(_0x52efc6===_0x1b77c4)break;else _0x484b45['push'](_0x484b45['shift']());}catch(_0x2a6b63){_0x484b45['push'](_0x484b45['shift']());}}}(_0x5e3f,0xe6fcb));import{CKEditorError as _0x3e5f3e,Rect as _0x5437f9,Collection as _0x365c1c,ObservableMixin as _0x4659ad}from'ckeditor5/src/utils.js';export default class d extends _0x4659ad(){constructor({view:_0x484888,target:_0x2182b7,type:_0x273eb8,isVisible:_0xea7979=!0x0}){const _0xe69ee3=_0xe206;super(),this[_0xe69ee3(0x116)]=_0x484888,this[_0xe69ee3(0x116)][_0xe69ee3(0x12e)]||this[_0xe69ee3(0x116)][_0xe69ee3(0x117)](),this[_0xe69ee3(0x12b)]=_0x273eb8,this[_0xe69ee3(0x10b)]=_0x2182b7,d[_0xe69ee3(0x12c)](this[_0xe69ee3(0x12d)]()),this[_0xe69ee3(0x11b)]=new _0x365c1c([this[_0xe69ee3(0x116)][_0xe69ee3(0x12e)]],{'idProperty':_0xe69ee3(0x115)}),this[_0xe69ee3(0x11b)]['on'](_0xe69ee3(0x130),(_0x41a347,_0x3a44f8)=>{const _0x59dea3=_0xe69ee3;this[_0x59dea3(0x116)][_0x59dea3(0x108)][_0x59dea3(0x130)](_0x3a44f8);}),this[_0xe69ee3(0x11b)]['on'](_0xe69ee3(0x126),(_0x2d190c,_0x227ff1)=>{const _0xff37aa=_0xe69ee3;this[_0xff37aa(0x116)][_0xff37aa(0x108)][_0xff37aa(0x126)](_0x227ff1);}),this[_0xe69ee3(0x107)](_0xe69ee3(0x127),_0xea7979);}get[_0x10cfde(0x114)](){const _0x37457d=_0x10cfde;return _0x37457d(0x128)==typeof this[_0x37457d(0x12b)]?this[_0x37457d(0x12b)]():this[_0x37457d(0x12b)];}get[_0x10cfde(0x11f)](){const _0x4a085e=_0x10cfde;return this[_0x4a085e(0x116)][_0x4a085e(0x121)];}get[_0x10cfde(0x131)](){const _0xe7a367=_0x10cfde,_0xdb792e=this[_0xe7a367(0x12d)]();return d[_0xe7a367(0x12c)](_0xdb792e),_0xdb792e;}get[_0x10cfde(0x125)](){const _0x3cdb8b=_0x10cfde,_0x491ec7=this[_0x3cdb8b(0x131)];if(null===_0x491ec7)return null;if(_0x491ec7 instanceof _0x5437f9)return _0x491ec7;const _0x1e44a3=_0x491ec7[_0x3cdb8b(0x10c)](_0x302af5=>function(_0x449192){const _0x329538=_0x3cdb8b,_0x4d1a2f=_0x449192[_0x329538(0x113)];if(_0x4d1a2f)return!0x0;const _0x313456=_0x449192[_0x329538(0x119)]()[_0x329538(0x132)](0x0);return!!_0x313456;}(_0x302af5));return 0x0===_0x1e44a3[_0x3cdb8b(0x10e)]?null:new _0x5437f9(_0x1e44a3[0x0][_0x3cdb8b(0x119)]()[_0x3cdb8b(0x132)](0x0));}get[_0x10cfde(0x11d)](){const _0x41fd1d=_0x10cfde;return this[_0x41fd1d(0x116)][_0x41fd1d(0x11d)];}set[_0x10cfde(0x11d)](_0x318906){const _0x5bab6e=_0x10cfde;this[_0x5bab6e(0x116)][_0x5bab6e(0x11d)]=_0x318906,this[_0x5bab6e(0x116)][_0x5bab6e(0x121)][_0x5bab6e(0x11d)]=_0x318906;}[_0x10cfde(0x124)](){const _0x733227=_0x10cfde;this[_0x733227(0x116)][_0x733227(0x125)]=this[_0x733227(0x125)];}[_0x10cfde(0x134)](){const _0x12539c=_0x10cfde;this[_0x12539c(0x11b)][_0x12539c(0x109)](),this[_0x12539c(0x11b)][_0x12539c(0x135)](),this[_0x12539c(0x109)]();}[_0x10cfde(0x129)](){const _0x2875ee=_0x10cfde;this[_0x2875ee(0x127)]=!!this[_0x2875ee(0x125)];}static[_0x10cfde(0x12c)](_0x150a0a){const _0x4f2ed8=_0x10cfde;if(!(null===_0x150a0a||_0x150a0a instanceof _0x5437f9||Array[_0x4f2ed8(0x11c)](_0x150a0a)&&_0x150a0a[_0x4f2ed8(0x120)](_0x18108b=>y(_0x18108b))))throw new _0x3e5f3e(_0x4f2ed8(0x110),null,{'target':_0x150a0a});}[_0x10cfde(0x12d)](){const _0x117079=_0x10cfde,_0x23bdf4=_0x117079(0x128)==typeof this[_0x117079(0x10b)]?this[_0x117079(0x10b)]():this[_0x117079(0x10b)];return y(_0x23bdf4)?[_0x23bdf4]:_0x23bdf4;}}function y(_0x3f07da){const _0x159288=_0x10cfde;return null!==_0x3f07da&&_0x159288(0x11e)==typeof _0x3f07da&&_0x159288(0x122)in _0x3f07da&&0x1===_0x3f07da[_0x159288(0x122)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bba0d=_0x2caf;(function(_0x12df5e,_0x158083){const _0x59b522=_0x2caf,_0x161e0c=_0x12df5e();while(!![]){try{const _0x257de8=-parseInt(_0x59b522(0xc7))/0x1*(parseInt(_0x59b522(0xcd))/0x2)+parseInt(_0x59b522(0xf4))/0x3+parseInt(_0x59b522(0xd0))/0x4*(parseInt(_0x59b522(0xd4))/0x5)+-parseInt(_0x59b522(0xe8))/0x6*(-parseInt(_0x59b522(0xe9))/0x7)+parseInt(_0x59b522(0xcf))/0x8+-parseInt(_0x59b522(0xea))/0x9*(-parseInt(_0x59b522(0xda))/0xa)+parseInt(_0x59b522(0xd9))/0xb*(-parseInt(_0x59b522(0xd5))/0xc);if(_0x257de8===_0x158083)break;else _0x161e0c['push'](_0x161e0c['shift']());}catch(_0x1c970a){_0x161e0c['push'](_0x161e0c['shift']());}}}(_0xee9f,0xc0359));import{CKEditorError as _0x598c97,Collection as _0x44bffc,FocusTracker as _0x3f0508}from'ckeditor5/src/utils.js';export default class x extends _0x44bffc{constructor(_0x1a6310=[]){const _0xd20994=_0x2caf;super(),this[_0xd20994(0xed)]=new Map(),this[_0xd20994(0xce)]=new Map(),this[_0xd20994(0xe1)]=new _0x3f0508(),this[_0xd20994(0xe1)]['on'](_0xd20994(0xdf),(_0x539feb,_0x14ce82,_0x40cc69)=>{const _0x2b0e3e=_0xd20994;_0x40cc69||this[_0x2b0e3e(0xf2)](_0x2b0e3e(0xdc));});for(const _0xbf1703 of _0x1a6310)this[_0xd20994(0xd3)](_0xbf1703);}get[_0x4bba0d(0xc5)](){const _0x3d1d01=_0x4bba0d;return this[_0x3d1d01(0xe1)][_0x3d1d01(0xc5)];}[_0x4bba0d(0xd3)](_0x324614){const _0x4925dc=_0x4bba0d;if(this[_0x4925dc(0xe0)](_0x324614))throw new _0x598c97(_0x4925dc(0xdb),null);this[_0x4925dc(0xed)][_0x4925dc(0xf3)](_0x324614[_0x4925dc(0xef)],_0x324614),this[_0x4925dc(0xce)][_0x4925dc(0xf3)](_0x324614[_0x4925dc(0xcc)],_0x324614);for(const _0x424998 of _0x324614[_0x4925dc(0xd6)])this[_0x4925dc(0xe1)][_0x4925dc(0xd3)](_0x424998);this[_0x4925dc(0xf0)](_0x324614[_0x4925dc(0xd6)],_0x4925dc(0xd3),(_0x1efe53,_0x235327)=>{const _0x3ba802=_0x4925dc;this[_0x3ba802(0xe1)][_0x3ba802(0xd3)](_0x235327);}),this[_0x4925dc(0xf0)](_0x324614[_0x4925dc(0xd6)],_0x4925dc(0xe5),(_0x55d936,_0x2b9a06)=>{const _0x2ac971=_0x4925dc;this[_0x2ac971(0xe1)][_0x2ac971(0xe5)](_0x2b9a06);}),this[_0x4925dc(0xf0)](_0x324614[_0x4925dc(0xcc)][_0x4925dc(0xd1)],_0x4925dc(0xdf),(_0x5e024f,_0xa76d78,_0x595039)=>{const _0x17087a=_0x4925dc;_0x595039&&this[_0x17087a(0xf2)](_0x17087a(0xc9),_0x324614);}),_0x324614[_0x4925dc(0xec)]();const _0x21ec66=this[_0x4925dc(0xdd)](_0x324614[_0x4925dc(0xcc)][_0x4925dc(0xe4)]);return super[_0x4925dc(0xd3)](_0x324614,_0x21ec66);}[_0x4bba0d(0xe5)](_0x27f700){const _0x263954=_0x4bba0d;if(!this[_0x263954(0xe0)](_0x27f700))throw new _0x598c97(_0x263954(0xcb),null);this[_0x263954(0xc6)](_0x27f700[_0x263954(0xcc)][_0x263954(0xd1)]),this[_0x263954(0xc6)](_0x27f700[_0x263954(0xd6)]);for(const _0x59fe16 of _0x27f700[_0x263954(0xd6)])this[_0x263954(0xe1)][_0x263954(0xe5)](_0x59fe16);return this[_0x263954(0xce)][_0x263954(0xca)](_0x27f700[_0x263954(0xcc)]),this[_0x263954(0xed)][_0x263954(0xca)](_0x27f700[_0x263954(0xef)]),super[_0x263954(0xe5)](_0x27f700);}[_0x4bba0d(0xeb)](_0x615ab){const _0x9fe2da=_0x4bba0d;return this[_0x9fe2da(0xed)][_0x9fe2da(0xd8)](_0x615ab);}[_0x4bba0d(0xc8)](_0x33b93d){const _0x62250e=_0x4bba0d;return this[_0x62250e(0xce)][_0x62250e(0xd8)](_0x33b93d);}[_0x4bba0d(0xee)](){const _0x501c63=_0x4bba0d;super[_0x501c63(0xe2)](),this[_0x501c63(0xc6)](),this[_0x501c63(0xed)][_0x501c63(0xe2)](),this[_0x501c63(0xce)][_0x501c63(0xe2)](),this[_0x501c63(0xe1)][_0x501c63(0xee)]();}[_0x4bba0d(0xd2)](){const _0xd1167d=_0x4bba0d;for(const _0xdbb50b of this)_0xdbb50b[_0xd1167d(0xec)]();this[_0xd1167d(0xf1)]();}[_0x4bba0d(0xf1)](){const _0x27f7f0=_0x4bba0d,_0x245e33=Array[_0x27f7f0(0xde)](this)[_0x27f7f0(0xd7)]((_0x344bf4,_0x3277a9)=>v(_0x344bf4[_0x27f7f0(0xcc)][_0x27f7f0(0xe4)],_0x3277a9[_0x27f7f0(0xcc)][_0x27f7f0(0xe4)]));for(let _0x1b6b14=_0x245e33[_0x27f7f0(0xe6)]-0x1;_0x1b6b14>0x0;_0x1b6b14--){const _0x503b5d=_0x245e33[_0x1b6b14];_0x1b6b14!==this[_0x27f7f0(0xc4)](_0x503b5d)&&(this[_0x27f7f0(0xe5)](_0x503b5d),this[_0x27f7f0(0xd3)](_0x503b5d));}}[_0x4bba0d(0xdd)](_0x5d66d8){const _0x1e1658=_0x4bba0d;let _0x18631c=0x0;if(!_0x5d66d8)return this[_0x1e1658(0xe6)];for(const _0x5e4da9 of this){const _0x27fd20=_0x5e4da9[_0x1e1658(0xcc)][_0x1e1658(0xe4)];if(_0x27fd20){if(v(_0x5d66d8,_0x27fd20)<0x0)return _0x18631c;_0x18631c++;}}return _0x18631c;}}function _0x2caf(_0x12c317,_0x43712c){const _0xee9f4b=_0xee9f();return _0x2caf=function(_0x2cafd9,_0x1b9569){_0x2cafd9=_0x2cafd9-0xc4;let _0x4f8672=_0xee9f4b[_0x2cafd9];return _0x4f8672;},_0x2caf(_0x12c317,_0x43712c);}export function bindAnnotationCollections({source:_0x496391,target:_0x14c785,filter:_0x1e4d8b}){const _0x514033=_0x4bba0d;for(const _0x5d755d of _0x496391)_0x1e4d8b(_0x5d755d)&&_0x14c785[_0x514033(0xd3)](_0x5d755d);_0x14c785[_0x514033(0xf0)](_0x496391,_0x514033(0xd3),(_0x17e56d,_0x52e24d)=>{const _0x515455=_0x514033;_0x1e4d8b(_0x52e24d)&&_0x14c785[_0x515455(0xd3)](_0x52e24d);}),_0x14c785[_0x514033(0xf0)](_0x496391,_0x514033(0xe5),(_0x3ec094,_0x18c6fc)=>{const _0x2f50ea=_0x514033;_0x14c785[_0x2f50ea(0xe0)](_0x18c6fc)&&_0x14c785[_0x2f50ea(0xe5)](_0x18c6fc);});}function v(_0x24311a,_0x1ee20a){const _0x1dfecc=_0x4bba0d;if(null===_0x24311a&&null===_0x1ee20a)return 0x0;if(null===_0x24311a)return-0x1;if(null===_0x1ee20a)return 0x1;const _0x4cb991=_0x24311a[_0x1dfecc(0xe3)]-_0x1ee20a[_0x1dfecc(0xe3)];return 0x0==_0x4cb991?_0x24311a[_0x1dfecc(0xe7)]-_0x1ee20a[_0x1dfecc(0xe7)]:_0x4cb991;}function _0xee9f(){const _0x1df765=['annotationcollection-not-existing-item','view','2549746VLxSSH','_viewToAnnotation','10169400NYlCem','2711868qdqwcz','focusTracker','refreshPositioning','add','10pxfLRM','1604316WLHqOi','focusableElements','sort','get','286cBztHH','12145030YBQPIM','annotationcollection-duplicated-item','blur','_getOrderInContent','from','change:isFocused','has','_focusTracker','clear','top','targetRect','remove','length','left','336ZSvgzB','58093WLeBQk','9rNIrps','getByInnerView','updateTargetRect','_innerViewToAnnotation','destroy','innerView','listenTo','_sort','fire','set','3695472alHxcS','getIndex','isFocused','stopListening','1ymiQFM','getByView','focus','delete'];_0xee9f=function(){return _0x1df765;};return _0xee9f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39121a=_0x478a;(function(_0xea5331,_0x29c794){const _0x285439=_0x478a,_0x52609d=_0xea5331();while(!![]){try{const _0x5f314f=-parseInt(_0x285439(0x95))/0x1*(-parseInt(_0x285439(0xab))/0x2)+-parseInt(_0x285439(0x98))/0x3+-parseInt(_0x285439(0x92))/0x4+parseInt(_0x285439(0x8e))/0x5+-parseInt(_0x285439(0xa7))/0x6*(parseInt(_0x285439(0xad))/0x7)+parseInt(_0x285439(0xb4))/0x8+-parseInt(_0x285439(0x96))/0x9;if(_0x5f314f===_0x29c794)break;else _0x52609d['push'](_0x52609d['shift']());}catch(_0x4aaedb){_0x52609d['push'](_0x52609d['shift']());}}}(_0x363d,0x5da50));function _0x363d(){const _0x1426da=['_deactivateAllAnnotations','view','collection','listenTo','deactivateAll','focusTracker','2846616LbkOEI','destroy','isVisible','897135yRnaLH','refreshVisibility','source','fire','235616JKORXh','Annotations','_activateAnnotation','1AirmTx','2650392gXYkBE','createAnnotation','44031idAwrf','change:isVisible','delete','add','has','activate','set','_visibleAnnotations','pluginName','createAnnotationView','activeAnnotations','remove','_removeActiveAnnotation','_addActiveAnnotation','element','154578WoCksr','stopListening','_bindAnnotationsToVisibleAnnotations','refreshPositioning','484292oRqrqm','getByInnerView','7sTSuWX'];_0x363d=function(){return _0x1426da;};return _0x363d();}import{ContextPlugin as _0x16af82}from'ckeditor5/src/core.js';import _0x4526f9 from'./annotation.js';function _0x478a(_0x1a7035,_0x39fe3d){const _0x363dc3=_0x363d();return _0x478a=function(_0x478a81,_0x4b10fc){_0x478a81=_0x478a81-0x8c;let _0x4fbe61=_0x363dc3[_0x478a81];return _0x4fbe61;},_0x478a(_0x1a7035,_0x39fe3d);}import _0x57e7ed from'./annotationcollection.js';import _0x1cf6de from'./view/annotationview.js';export default class b extends _0x16af82{static get[_0x39121a(0xa0)](){const _0x460f71=_0x39121a;return _0x460f71(0x93);}constructor(_0x902e3c){const _0x2cfe5a=_0x39121a;super(_0x902e3c),this[_0x2cfe5a(0xb0)]=new _0x57e7ed(),this[_0x2cfe5a(0x9f)]=new _0x57e7ed(),this[_0x2cfe5a(0x9e)](_0x2cfe5a(0xa2),new Set()),this[_0x2cfe5a(0xa9)]();}[_0x39121a(0x9b)](_0x4b8914){const _0x859555=_0x39121a;this[_0x859555(0xb0)][_0x859555(0x9b)](_0x4b8914);}[_0x39121a(0xa3)](_0x5f257e){const _0xf982c9=_0x39121a;this[_0xf982c9(0xb0)][_0xf982c9(0xa3)](_0x5f257e),_0x5f257e[_0xf982c9(0x8c)]();}[_0x39121a(0x8f)](){const _0x53b7dd=_0x39121a;for(const _0x3eb1fc of this[_0x53b7dd(0xb0)])_0x3eb1fc[_0x53b7dd(0x8f)]();}[_0x39121a(0xaa)](){const _0x2e73c9=_0x39121a;this[_0x2e73c9(0x9f)][_0x2e73c9(0xaa)]();}[_0x39121a(0xac)](_0x52ac74){const _0x264fad=_0x39121a;return this[_0x264fad(0xb0)][_0x264fad(0xac)](_0x52ac74);}[_0x39121a(0xb2)](){const _0x49e154=_0x39121a;this[_0x49e154(0x91)](_0x49e154(0xae));}[_0x39121a(0x8c)](){const _0x4ff093=_0x39121a;for(const _0x43d92c of this[_0x4ff093(0xb0)])_0x43d92c[_0x4ff093(0x8c)]();this[_0x4ff093(0x9f)][_0x4ff093(0x8c)](),this[_0x4ff093(0xb0)][_0x4ff093(0x8c)](),super[_0x4ff093(0x8c)]();}[_0x39121a(0x9d)](_0x12def9){const _0x3c3edf=_0x39121a;this[_0x3c3edf(0x91)](_0x3c3edf(0x94),_0x12def9);}[_0x39121a(0x97)](_0x196c00){return new _0x4526f9(_0x196c00);}[_0x39121a(0xa1)](_0x42f3a0,_0x39f026){return new _0x1cf6de(_0x42f3a0,_0x39f026);}[_0x39121a(0xa5)](_0x3af8d5){const _0x57ea08=_0x39121a,_0x737997=new Set(this[_0x57ea08(0xa2)]);_0x737997[_0x57ea08(0x9b)](_0x3af8d5),this[_0x57ea08(0xa2)]=_0x737997;}[_0x39121a(0xa4)](_0x34100e){const _0x193fbe=_0x39121a,_0x49ae8c=new Set(this[_0x193fbe(0xa2)]);_0x49ae8c[_0x193fbe(0x9a)](_0x34100e),this[_0x193fbe(0xa2)]=_0x49ae8c;}[_0x39121a(0xa9)](){const _0x51f56c=_0x39121a,_0x467455=this[_0x51f56c(0xb0)],_0x52a763=this[_0x51f56c(0x9f)];function _0x20a55a(_0x2c9f96){const _0x37dc36=_0x51f56c,_0x49be11=_0x2c9f96[_0x37dc36(0x90)];_0x49be11[_0x37dc36(0x8d)]&&!_0x52a763[_0x37dc36(0x9c)](_0x49be11)?_0x52a763[_0x37dc36(0x9b)](_0x49be11):!_0x49be11[_0x37dc36(0x8d)]&&_0x52a763[_0x37dc36(0x9c)](_0x49be11)&&_0x52a763[_0x37dc36(0xa3)](_0x49be11),_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xb3)][_0x37dc36(0xa3)](_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xa6)]),_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xb3)][_0x37dc36(0x9b)](_0x49be11[_0x37dc36(0xaf)][_0x37dc36(0xa6)]);}this[_0x51f56c(0xb1)](_0x467455,_0x51f56c(0x9b),(_0x3f3452,_0x1ee1a6)=>{const _0x304235=_0x51f56c;_0x1ee1a6[_0x304235(0x8d)]&&_0x52a763[_0x304235(0x9b)](_0x1ee1a6),this[_0x304235(0xb1)](_0x1ee1a6,_0x304235(0x99),_0x20a55a);}),this[_0x51f56c(0xb1)](_0x467455,_0x51f56c(0xa3),(_0x479613,_0x369ee8)=>{const _0x408be7=_0x51f56c;_0x52a763[_0x408be7(0x9c)](_0x369ee8)&&_0x52a763[_0x408be7(0xa3)](_0x369ee8),this[_0x408be7(0xa8)](_0x369ee8,_0x408be7(0x99),_0x20a55a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x57da73=_0xc15e;(function(_0x5254c5,_0x364283){const _0x435092=_0xc15e,_0x55c13f=_0x5254c5();while(!![]){try{const _0x3c53e6=-parseInt(_0x435092(0x149))/0x1+-parseInt(_0x435092(0x166))/0x2+-parseInt(_0x435092(0x147))/0x3*(parseInt(_0x435092(0x15c))/0x4)+parseInt(_0x435092(0x134))/0x5*(-parseInt(_0x435092(0x15e))/0x6)+-parseInt(_0x435092(0x135))/0x7*(parseInt(_0x435092(0x152))/0x8)+-parseInt(_0x435092(0x140))/0x9*(parseInt(_0x435092(0x133))/0xa)+parseInt(_0x435092(0x141))/0xb;if(_0x3c53e6===_0x364283)break;else _0x55c13f['push'](_0x55c13f['shift']());}catch(_0x4989d8){_0x55c13f['push'](_0x55c13f['shift']());}}}(_0x4e8b,0x8b166));function _0x4e8b(){const _0x130391=['1691035ryFiKh','9513GRxYFf','_visibleAnnotations','pluginName','stopListening','attach','_deactivateAllAnnotations','annotationsuis-missing-ui','_uis','isActive','function','has','899244IsAeqD','52000465IIhvrJ','annotationsuis-register-invalid-interface','listenTo','find','size','activate','2484741MbdonB','activeUIs','775543xGwRki','register','switchTo','_assertAnnotationDoesNotBelongToMultipleUIs','init','collection','push','deactivate','detach','3728CYsZfy','length','AnnotationsUIs','_uisData','deactivateAll','refilterAnnotations','change:activeAnnotation','annotationsuis-annotation-mismatch','_setSelectedAnnotations','get','4FSdEvj','type','6ObvaaQ','set','destroy','delete','requires','add','_removeActiveAnnotation','context','1565988KnahOu','filter','_addActiveAnnotation','plugins','activeAnnotations','remove','_activateAnnotation','annotationsuis-register-already-registered','setActiveAnnotation','from','hasActive','80uypTRn'];_0x4e8b=function(){return _0x130391;};return _0x4e8b();}import{ContextPlugin as _0x572832}from'ckeditor5/src/core.js';import{CKEditorError as _0x49b15e}from'ckeditor5/src/utils.js';function _0xc15e(_0x819ac5,_0x141ff3){const _0x4e8b9c=_0x4e8b();return _0xc15e=function(_0xc15e87,_0x39b984){_0xc15e87=_0xc15e87-0x12f;let _0x21af0c=_0x4e8b9c[_0xc15e87];return _0x21af0c;},_0xc15e(_0x819ac5,_0x141ff3);}import _0x4973ca,{bindAnnotationCollections as _0x47dd03}from'./annotationcollection.js';import _0xa2a4ca from'./annotations.js';export default class j extends _0x572832{static get[_0x57da73(0x162)](){return[_0xa2a4ca];}static get[_0x57da73(0x137)](){const _0x2f801a=_0x57da73;return _0x2f801a(0x154);}constructor(_0xcd5b90){const _0x80d5a1=_0x57da73;super(_0xcd5b90),this[_0x80d5a1(0x148)]=new Set(),this[_0x80d5a1(0x13c)]=new Map(),this[_0x80d5a1(0x155)]=new Map();}[_0x57da73(0x14d)](){const _0x5a4ee1=_0x57da73,_0x5932fd=this[_0x5a4ee1(0x165)][_0x5a4ee1(0x169)][_0x5a4ee1(0x15b)](_0xa2a4ca);this[_0x5a4ee1(0x143)](_0x5932fd,_0x5a4ee1(0x16c),(_0x248fc8,_0x52941d)=>{const _0xc7312c=_0x5a4ee1;for(const _0x7d29cf of this[_0xc7312c(0x148)]){const _0x39e6a4=this[_0xc7312c(0x13c)][_0xc7312c(0x15b)](_0x7d29cf);(0x0,this[_0xc7312c(0x155)][_0xc7312c(0x15b)](_0x7d29cf)[_0xc7312c(0x167)])(_0x52941d)&&_0x39e6a4[_0xc7312c(0x130)](_0x52941d);}}),this[_0x5a4ee1(0x143)](_0x5932fd,_0x5a4ee1(0x13a),()=>{const _0x432fe8=_0x5a4ee1;for(const _0x3ee79 of this[_0x432fe8(0x148)]){this[_0x432fe8(0x13c)][_0x432fe8(0x15b)](_0x3ee79)[_0x432fe8(0x130)](null);}}),this[_0x5a4ee1(0x143)](_0x5932fd[_0x5a4ee1(0x136)],_0x5a4ee1(0x163),(_0x109ac2,_0x1c869e)=>{const _0xab4242=_0x5a4ee1;this[_0xab4242(0x14c)](_0x1c869e);});}[_0x57da73(0x132)](){const _0x9d2137=_0x57da73;return this[_0x9d2137(0x148)][_0x9d2137(0x145)]>0x0;}[_0x57da73(0x13d)](_0x5ce974){const _0x71fdef=_0x57da73;return this[_0x71fdef(0x148)][_0x71fdef(0x13f)](_0x5ce974);}[_0x57da73(0x146)](_0x34e309,_0x584a41=()=>!0x0){const _0xf0d07f=_0x57da73,_0x621e7=this[_0xf0d07f(0x165)][_0xf0d07f(0x169)][_0xf0d07f(0x15b)](_0xa2a4ca);if(!this[_0xf0d07f(0x13c)][_0xf0d07f(0x13f)](_0x34e309))throw new _0x49b15e(_0xf0d07f(0x13b),this,{'uiName':_0x34e309});this[_0xf0d07f(0x13d)](_0x34e309)&&this[_0xf0d07f(0x150)](_0x34e309),this[_0xf0d07f(0x148)][_0xf0d07f(0x163)](_0x34e309);const _0x345b9b=new _0x4973ca(),_0xee30f8=_0x621e7[_0xf0d07f(0x136)];_0x47dd03({'source':_0xee30f8,'target':_0x345b9b,'filter':_0x584a41}),this[_0xf0d07f(0x155)][_0xf0d07f(0x15f)](_0x34e309,{'collection':_0x345b9b,'filter':_0x584a41});const _0x19b66e=this[_0xf0d07f(0x13c)][_0xf0d07f(0x15b)](_0x34e309);_0x19b66e[_0xf0d07f(0x139)](_0x345b9b),this[_0xf0d07f(0x143)](_0x19b66e,_0xf0d07f(0x158),(_0x5624aa,_0x1da4ff,_0x41d5e5,_0xb51ca8)=>{const _0x4ecade=_0xf0d07f;_0xb51ca8&&_0x621e7[_0x4ecade(0x164)](_0xb51ca8),_0x41d5e5&&_0x621e7[_0x4ecade(0x168)](_0x41d5e5);});}[_0x57da73(0x150)](_0x2f63a1){const _0x4baa5d=_0x57da73;if(this[_0x4baa5d(0x148)][_0x4baa5d(0x161)](_0x2f63a1),!this[_0x4baa5d(0x13c)][_0x4baa5d(0x13f)](_0x2f63a1))throw new _0x49b15e(_0x4baa5d(0x13b),this,{'uiName':_0x2f63a1});const _0x1415f2=this[_0x4baa5d(0x13c)][_0x4baa5d(0x15b)](_0x2f63a1);_0x1415f2[_0x4baa5d(0x151)](),this[_0x4baa5d(0x138)](_0x1415f2),this[_0x4baa5d(0x155)][_0x4baa5d(0x15b)](_0x2f63a1)[_0x4baa5d(0x14e)][_0x4baa5d(0x160)](),this[_0x4baa5d(0x155)][_0x4baa5d(0x161)](_0x2f63a1);}[_0x57da73(0x14b)](_0x419217){const _0x1029f0=_0x57da73;if(!this[_0x1029f0(0x13c)][_0x1029f0(0x13f)](_0x419217))throw new _0x49b15e(_0x1029f0(0x13b),this,{'uiName':_0x419217});const _0x520ddf=this[_0x1029f0(0x165)][_0x1029f0(0x169)][_0x1029f0(0x15b)](_0xa2a4ca),_0x327049=Array[_0x1029f0(0x131)](_0x520ddf[_0x1029f0(0x16a)])[0x0]||null;this[_0x1029f0(0x156)](),this[_0x1029f0(0x146)](_0x419217);const _0x1d572d=this[_0x1029f0(0x13c)][_0x1029f0(0x15b)](_0x419217);_0x1d572d[_0x1029f0(0x130)](_0x327049),_0x1d572d[_0x1029f0(0x15a)]&&_0x327049&&_0x1d572d[_0x1029f0(0x15a)]([_0x327049]);}[_0x57da73(0x156)](){const _0x3c13e0=_0x57da73;for(const _0x401938 of this[_0x3c13e0(0x148)])this[_0x3c13e0(0x150)](_0x401938);}[_0x57da73(0x14a)](_0xdd181c,_0x1866ae){const _0x145c91=_0x57da73;if(this[_0x145c91(0x13c)][_0x145c91(0x13f)](_0xdd181c))throw new _0x49b15e(_0x145c91(0x12f));if(_0x145c91(0x13e)!=typeof _0x1866ae[_0x145c91(0x139)]||_0x145c91(0x13e)!=typeof _0x1866ae[_0x145c91(0x151)]||_0x145c91(0x13e)!=typeof _0x1866ae[_0x145c91(0x130)])throw new _0x49b15e(_0x145c91(0x142),null);this[_0x145c91(0x13c)][_0x145c91(0x15f)](_0xdd181c,_0x1866ae);}[_0x57da73(0x157)](){const _0x1e1b02=_0x57da73,_0x4c1f38=this[_0x1e1b02(0x165)][_0x1e1b02(0x169)][_0x1e1b02(0x15b)](_0xa2a4ca)[_0x1e1b02(0x14e)],_0x540a66=new Map(),_0x39d550=Array[_0x1e1b02(0x131)](this[_0x1e1b02(0x148)]);for(const _0x1c3123 of this[_0x1e1b02(0x148)]){const _0x5951ce=this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x1c3123)[_0x1e1b02(0x14e)];for(const _0x14c0ab of _0x5951ce)_0x540a66[_0x1e1b02(0x15f)](_0x14c0ab,_0x1c3123);}for(const _0x10422a of _0x4c1f38){const _0x50a2e4=_0x540a66[_0x1e1b02(0x15b)](_0x10422a);this[_0x1e1b02(0x14c)](_0x10422a);const _0x6e6a1=_0x39d550[_0x1e1b02(0x144)](_0x13708f=>this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x13708f)[_0x1e1b02(0x167)](_0x10422a));_0x50a2e4!==_0x6e6a1&&(_0x50a2e4&&this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x50a2e4)[_0x1e1b02(0x14e)][_0x1e1b02(0x16b)](_0x10422a),_0x6e6a1&&this[_0x1e1b02(0x155)][_0x1e1b02(0x15b)](_0x6e6a1)[_0x1e1b02(0x14e)][_0x1e1b02(0x163)](_0x10422a));}}[_0x57da73(0x160)](){const _0x232c67=_0x57da73;this[_0x232c67(0x156)](),super[_0x232c67(0x160)]();}[_0x57da73(0x14c)](_0x1307f3){const _0x1df489=_0x57da73,_0xce95de=[];for(const _0x360ed3 of this[_0x1df489(0x148)]){(0x0,this[_0x1df489(0x155)][_0x1df489(0x15b)](_0x360ed3)[_0x1df489(0x167)])(_0x1307f3)&&_0xce95de[_0x1df489(0x14f)](_0x360ed3);}if(_0xce95de[_0x1df489(0x153)]>0x1)throw new _0x49b15e(_0x1df489(0x159),null,{'matchedUIs':_0xce95de,'annotationType':_0x1307f3[_0x1df489(0x15d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2917(){const _0x2418cf=['isReadOnly','set','834927rpQqgu','200493StQhSM','getRanges','1614845dcnzul','803DWUGxH','fire','editorannotations-invalid-source-callback','model','annotation','editing','change:isFocused','listenTo','uiUpdate','refreshSelectedViews','_editorAnnotations','1054036kIOgoR','innerView','cancel','function','focusTracker','remove','range','plugins','getOrderedSelectedAnnotations','104akZDTf','isCollapsed','element','7efyIWk','1750784FDUPAC','_dataCollectors','editor','8lUrtef','268630aODPjJ','sort','_editorAnnotationsData','hasDomSelection','delete','document','get','addSourceCollector','directChange','push','6541446yfSRiU','requires','collection','map','EditorAnnotations','add','view','from','blur','getByInnerView','init','registerAnnotation','update','isEqual','has','refresh','selection','containsRange','change:range','pluginName'];_0x2917=function(){return _0x2418cf;};return _0x2917();}const _0x537c03=_0x2947;(function(_0x4526b8,_0x5d8ae4){const _0x2fd0ae=_0x2947,_0x52bf99=_0x4526b8();while(!![]){try{const _0x5415d6=-parseInt(_0x2fd0ae(0x10f))/0x1+parseInt(_0x2fd0ae(0x11c))/0x2+parseInt(_0x2fd0ae(0x100))/0x3+parseInt(_0x2fd0ae(0x11f))/0x4*(-parseInt(_0x2fd0ae(0x103))/0x5)+parseInt(_0x2fd0ae(0xea))/0x6*(-parseInt(_0x2fd0ae(0x11b))/0x7)+-parseInt(_0x2fd0ae(0x118))/0x8*(-parseInt(_0x2fd0ae(0x101))/0x9)+-parseInt(_0x2fd0ae(0x120))/0xa*(-parseInt(_0x2fd0ae(0x104))/0xb);if(_0x5415d6===_0x5d8ae4)break;else _0x52bf99['push'](_0x52bf99['shift']());}catch(_0x36804b){_0x52bf99['push'](_0x52bf99['shift']());}}}(_0x2917,0x95ec6));import{Plugin as _0x774ad9}from'ckeditor5/src/core.js';import{CKEditorError as _0x273efe}from'ckeditor5/src/utils.js';import{debounce as _0x313294}from'lodash-es';import _0x11e387 from'./annotations.js';function _0x2947(_0x265db8,_0x20f556){const _0x291746=_0x2917();return _0x2947=function(_0x29470c,_0x41c2c2){_0x29470c=_0x29470c-0xe5;let _0x4e5a33=_0x291746[_0x29470c];return _0x4e5a33;},_0x2947(_0x265db8,_0x20f556);}export default class k extends _0x774ad9{static get[_0x537c03(0xeb)](){return[_0x11e387];}static get[_0x537c03(0xfd)](){const _0x49d527=_0x537c03;return _0x49d527(0xee);}constructor(_0x4b526c){const _0x3cfd03=_0x537c03;super(_0x4b526c),this[_0x3cfd03(0x11d)]=new Set(),this[_0x3cfd03(0x10e)]=new Set();}[_0x537c03(0xf4)](){const _0x502d3a=_0x537c03,_0x4bedc0=this[_0x502d3a(0x11e)],_0x1b55d1=_0x4bedc0[_0x502d3a(0x107)][_0x502d3a(0xe5)][_0x502d3a(0xfa)],_0x41b58b=_0x313294(()=>this[_0x502d3a(0x10d)](),0xa);_0x1b55d1['on'](_0x502d3a(0xfc),(_0x4bb8d6,_0x25933d)=>{const _0x20aed4=_0x502d3a;_0x25933d[_0x20aed4(0xe8)]&&(_0x41b58b[_0x20aed4(0x111)](),this[_0x20aed4(0x10d)]());}),this[_0x502d3a(0x10b)](_0x4bedc0[_0x502d3a(0x109)][_0x502d3a(0xf0)][_0x502d3a(0xe5)],_0x502d3a(0x10a),(_0x1db7da,_0x86a7cd,_0x1d2c2e)=>{_0x1d2c2e&&_0x41b58b();}),this[_0x502d3a(0x10b)](_0x4bedc0['ui'][_0x502d3a(0x113)],_0x502d3a(0x10a),(_0x4f29a3,_0x4e1091,_0x694f43)=>{const _0x5847ed=_0x502d3a;_0x694f43||_0x4bedc0[_0x5847ed(0xfe)]||this[_0x5847ed(0x105)](_0x5847ed(0xf2),{'isAnnotationTracked':_0x560917=>this[_0x5847ed(0x122)][_0x5847ed(0xf8)](_0x560917[_0x5847ed(0x110)])});}),this[_0x502d3a(0x10b)](this[_0x502d3a(0x11e)]['ui'],_0x502d3a(0xf6),()=>this[_0x502d3a(0x105)](_0x502d3a(0x10c)));}[_0x537c03(0xf5)](_0xda22f1){const _0x3381dc=_0x537c03;if(this[_0x3381dc(0x10e)][_0x3381dc(0xf8)](_0xda22f1[_0x3381dc(0xf0)]))return;this[_0x3381dc(0x10e)][_0x3381dc(0xef)](_0xda22f1[_0x3381dc(0xf0)]),this[_0x3381dc(0x11e)]['ui'][_0x3381dc(0x113)][_0x3381dc(0xef)](_0xda22f1[_0x3381dc(0xf0)][_0x3381dc(0x11a)]);const _0x1764c1=this[_0x3381dc(0x11e)][_0x3381dc(0x116)][_0x3381dc(0xe6)](_0x11e387);this[_0x3381dc(0x10b)](_0x1764c1[_0x3381dc(0xec)],_0x3381dc(0x114),(_0x464717,_0x295d7f)=>{const _0x52fb05=_0x3381dc;this[_0x52fb05(0x11e)]['ui'][_0x52fb05(0x113)][_0x52fb05(0x114)](_0x295d7f[_0x52fb05(0xf0)][_0x52fb05(0x11a)]),this[_0x52fb05(0x10e)][_0x52fb05(0x124)](_0x295d7f[_0x52fb05(0xf0)]);});}[_0x537c03(0x123)](){const _0x282a22=_0x537c03;return this[_0x282a22(0x11e)][_0x282a22(0x109)][_0x282a22(0xf0)][_0x282a22(0x123)];}[_0x537c03(0xe7)](_0x5cb057){const _0x423c5c=_0x537c03;if(_0x423c5c(0x112)!=typeof _0x5cb057)throw new _0x273efe(_0x423c5c(0x106));this[_0x423c5c(0x11d)][_0x423c5c(0xef)](_0x5cb057);}[_0x537c03(0x10d)](){const _0x2147f8=_0x537c03;this[_0x2147f8(0x105)](_0x2147f8(0xf9));}[_0x537c03(0x117)]({activeAnnotation:_0x563b4e,annotations:_0x1a7b90}){const _0x3d9d73=_0x537c03,_0x4a6715=[],_0x48a9d0=this[_0x3d9d73(0x11e)][_0x3d9d73(0x107)][_0x3d9d73(0xe5)][_0x3d9d73(0xfa)],_0x1635d2=Array[_0x3d9d73(0xf1)](_0x48a9d0[_0x3d9d73(0x102)]());for(const [_0x47cbda,_0x3e93b7]of this[_0x3d9d73(0x122)]){const _0x50e072=_0x2d072d(_0x3e93b7),_0x405bee=_0x1a7b90[_0x3d9d73(0xf3)](_0x47cbda);_0x50e072&&_0x405bee&&_0x4a6715[_0x3d9d73(0xe9)]({'annotation':_0x405bee,'range':_0x50e072});}function _0x2d072d(_0x2176c9){const _0xcc818d=_0x3d9d73;for(const _0x405567 of _0x2176c9)for(const _0x416542 of _0x1635d2)if(_0x405567[_0xcc818d(0xfb)](_0x416542,!_0x48a9d0[_0xcc818d(0x119)]))return _0x405567;return null;}return _0x4a6715[_0x3d9d73(0x121)]((_0x551be1,_0x4ee3f8)=>{const _0x599d54=_0x3d9d73,_0x8dc8b3=_0x551be1[_0x599d54(0x115)],_0x4d88cb=_0x4ee3f8[_0x599d54(0x115)];if(!_0x8dc8b3[_0x599d54(0xf7)](_0x4d88cb)){if(_0x8dc8b3[_0x599d54(0xfb)](_0x4d88cb,!0x0))return 0x1;if(_0x4d88cb[_0x599d54(0xfb)](_0x8dc8b3,!0x0))return-0x1;}return _0x551be1[_0x599d54(0x108)]==_0x563b4e?-0x1:_0x4ee3f8[_0x599d54(0x108)]==_0x563b4e?0x1:0x0;})[_0x3d9d73(0xed)](_0x36b16a=>_0x36b16a[_0x3d9d73(0x108)]);}get[_0x537c03(0x122)](){const _0x488eb4=_0x537c03,_0x140a7a=new Map();for(const _0x4d8978 of Array[_0x488eb4(0xf1)](this[_0x488eb4(0x11d)]))for(const [_0x1b0213,_0x4bb2d8]of _0x4d8978())_0x140a7a[_0x488eb4(0xff)](_0x1b0213,_0x4bb2d8);return _0x140a7a;}}
|