@ckeditor/ckeditor5-track-changes 31.0.0 → 31.1.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.
Files changed (76) hide show
  1. package/lang/contexts.json +8 -7
  2. package/lang/translations/cs.po +27 -23
  3. package/lang/translations/da.po +387 -0
  4. package/lang/translations/de.po +27 -23
  5. package/lang/translations/en-au.po +27 -23
  6. package/lang/translations/en.po +27 -23
  7. package/lang/translations/es.po +26 -22
  8. package/lang/translations/et.po +26 -22
  9. package/lang/translations/fr.po +27 -23
  10. package/lang/translations/gl.po +27 -23
  11. package/lang/translations/hi.po +27 -23
  12. package/lang/translations/hr.po +27 -23
  13. package/lang/translations/it.po +27 -23
  14. package/lang/translations/nl.po +26 -22
  15. package/lang/translations/pl.po +27 -23
  16. package/lang/translations/pt-br.po +49 -45
  17. package/lang/translations/sk.po +27 -23
  18. package/lang/translations/sr-latn.po +27 -23
  19. package/lang/translations/sr.po +27 -23
  20. package/lang/translations/tk.po +27 -23
  21. package/lang/translations/tr.po +27 -23
  22. package/lang/translations/zh-cn.po +27 -23
  23. package/lang/translations/zh.po +370 -0
  24. package/package.json +7 -7
  25. package/src/commands/acceptallsuggestionscommand.js +1 -1
  26. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  27. package/src/commands/acceptsuggestioncommand.js +1 -1
  28. package/src/commands/discardallsuggestionscommand.js +1 -1
  29. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  30. package/src/commands/discardsuggestioncommand.js +1 -1
  31. package/src/commands/trackchangescommand.js +1 -1
  32. package/src/integrations/alignment.js +1 -1
  33. package/src/integrations/basicstyles.js +1 -1
  34. package/src/integrations/blockquote.js +1 -1
  35. package/src/integrations/codeblock.js +1 -1
  36. package/src/integrations/comments.js +1 -1
  37. package/src/integrations/deletecommand.js +1 -1
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/font.js +1 -1
  40. package/src/integrations/heading.js +1 -1
  41. package/src/integrations/highlight.js +1 -1
  42. package/src/integrations/horizontalline.js +1 -1
  43. package/src/integrations/image.js +1 -1
  44. package/src/integrations/indent.js +1 -1
  45. package/src/integrations/inputcommand.js +1 -1
  46. package/src/integrations/link.js +1 -1
  47. package/src/integrations/list.js +1 -1
  48. package/src/integrations/mediaembed.js +1 -1
  49. package/src/integrations/mention.js +1 -1
  50. package/src/integrations/pagebreak.js +1 -1
  51. package/src/integrations/paragraph.js +1 -1
  52. package/src/integrations/removeformat.js +1 -1
  53. package/src/integrations/restrictededitingmode.js +1 -1
  54. package/src/integrations/shiftentercommand.js +1 -1
  55. package/src/integrations/standardeditingmode.js +1 -1
  56. package/src/integrations/table.js +1 -1
  57. package/src/integrations/tableclipboard.js +1 -1
  58. package/src/integrations/tableheadings.js +1 -1
  59. package/src/integrations/tablemergesplit.js +1 -1
  60. package/src/integrations/title.js +1 -1
  61. package/src/integrations/undo.js +1 -1
  62. package/src/integrations/utils.js +1 -1
  63. package/src/suggestion.js +1 -1
  64. package/src/suggestiondescriptionfactory.js +1 -1
  65. package/src/trackchanges.js +1 -1
  66. package/src/trackchangesdata.js +1 -1
  67. package/src/trackchangesediting.js +1 -1
  68. package/src/trackchangesui.js +1 -1
  69. package/src/ui/suggestioncontroller.js +1 -1
  70. package/src/ui/view/basesuggestionthreadview.js +1 -1
  71. package/src/ui/view/suggestionthreadview.js +1 -1
  72. package/src/utils/getselectedsuggestions.js +1 -1
  73. package/src/utils/hashobject.js +1 -1
  74. package/src/utils/normalizedescription.js +1 -1
  75. package/src/utils/sortsuggestions.js +1 -1
  76. package/theme/suggestion.css +10 -0
@@ -0,0 +1,370 @@
1
+ # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
+ "Language: zh_TW\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "A suggestion for changing an item to the provided one."
20
+ msgid "*Change to:* %0"
21
+ msgstr "*更改成:*%0"
22
+
23
+ msgctxt "A suggestion for checking a to-do list item."
24
+ msgid "*Check item*"
25
+ msgstr "*勾選項目*"
26
+
27
+ msgctxt "A suggestion for setting inline formatting."
28
+ msgid "*Format:* %0"
29
+ msgstr "*格式:*%0"
30
+
31
+ msgctxt "A suggestion for indenting an item."
32
+ msgid "*Indent:* %0"
33
+ msgstr "*縮排:*%0"
34
+
35
+ msgctxt "A suggestion for inserting an item."
36
+ msgid "*Insert:* %0"
37
+ msgstr "*插入:*%0"
38
+
39
+ msgctxt "A suggestion for merging cells."
40
+ msgid "*Merge cells*"
41
+ msgstr "*合併儲存格*"
42
+
43
+ msgctxt "A suggestion for merging items."
44
+ msgid "*Merge:* %0"
45
+ msgstr "*合併:*%0"
46
+
47
+ msgctxt "A suggestion for outdenting an item."
48
+ msgid "*Outdent:* %0"
49
+ msgstr "*凸排:*%0"
50
+
51
+ msgctxt "A suggestion for removing all formatting."
52
+ msgid "*Remove all formatting*"
53
+ msgstr "*清除格式設定*"
54
+
55
+ msgctxt "A suggestion for removing an inline format."
56
+ msgid "*Remove format:* %0"
57
+ msgstr "*移除格式:*%0"
58
+
59
+ msgctxt "A suggestion for removing the highlight."
60
+ msgid "*Remove highlight*"
61
+ msgstr ""
62
+
63
+ msgctxt "A suggestion for removing image text alternative."
64
+ msgid "*Remove image text alternative*"
65
+ msgstr "*移除圖片替代文字*"
66
+
67
+ msgctxt "A suggestion for removing the link."
68
+ msgid "*Remove link*"
69
+ msgstr "*移除連結*"
70
+
71
+ msgctxt "A suggestion for removing an item."
72
+ msgid "*Remove:* %0"
73
+ msgstr "*移除:*%0"
74
+
75
+ msgctxt "A suggestion for replacing table cells (table pasting)."
76
+ msgid "*Replace table cells*"
77
+ msgstr "*取代儲存格*"
78
+
79
+ msgctxt "A suggestion for resetting the font background color."
80
+ msgid "*Reset font background color*"
81
+ msgstr "*重設文字背景顏色*"
82
+
83
+ msgctxt "A suggestion for resetting the font color."
84
+ msgid "*Reset font color*"
85
+ msgstr "*重設文字顏色*"
86
+
87
+ msgctxt "A suggestion for resetting the font family."
88
+ msgid "*Reset font family*"
89
+ msgstr "*重設字型*"
90
+
91
+ msgctxt "A suggestion for resetting the font size."
92
+ msgid "*Reset font size*"
93
+ msgstr "*重設字體大小*"
94
+
95
+ msgctxt "A suggestion for resetting image width."
96
+ msgid "*Reset image width*"
97
+ msgstr "*重設圖片寬度*"
98
+
99
+ msgctxt "A suggestion for setting the font background color to %0."
100
+ msgid "*Set font background color:* %0"
101
+ msgstr "*設定文字背景顏色:*%0"
102
+
103
+ msgctxt "A suggestion for setting the font color to %0."
104
+ msgid "*Set font color:* %0"
105
+ msgstr ""
106
+
107
+ msgctxt "A suggestion for setting the font family to %0."
108
+ msgid "*Set font family:* %0"
109
+ msgstr ""
110
+
111
+ msgctxt "A suggestion for setting the font size to %0."
112
+ msgid "*Set font size:* %0"
113
+ msgstr ""
114
+
115
+ msgctxt "A suggestion for highlighting text."
116
+ msgid "*Set highlight:* %0"
117
+ msgstr ""
118
+
119
+ msgctxt "A suggestion for setting image text alternative to %0."
120
+ msgid "*Set image text alternative:* %0"
121
+ msgstr ""
122
+
123
+ msgctxt "A suggestion for setting the image width to %0."
124
+ msgid "*Set image width:* %0"
125
+ msgstr ""
126
+
127
+ msgctxt "A suggestion for setting the link URL."
128
+ msgid "*Set link:* %0"
129
+ msgstr ""
130
+
131
+ msgctxt "A suggestion for splitting cells horizontally."
132
+ msgid "*Split cell:* horizontally"
133
+ msgstr ""
134
+
135
+ msgctxt "A suggestion for splitting cells vertically."
136
+ msgid "*Split cell:* vertically"
137
+ msgstr ""
138
+
139
+ msgctxt "A suggestion for splitting the item."
140
+ msgid "*Split:* %0"
141
+ msgstr ""
142
+
143
+ msgctxt "A suggestion for unchecking a to-do list item."
144
+ msgid "*Uncheck item*"
145
+ msgstr ""
146
+
147
+ msgctxt "The label for the button which accepts all selected suggestions."
148
+ msgid "Accept all selected suggestions"
149
+ msgstr ""
150
+
151
+ msgctxt "The label for the button which accepts all suggestions."
152
+ msgid "Accept all suggestions"
153
+ msgstr ""
154
+
155
+ msgctxt "The label for the accept suggestion button."
156
+ msgid "Accept suggestion"
157
+ msgstr ""
158
+
159
+ msgctxt "The label for the button which discards all selected suggestions."
160
+ msgid "Discard all selected suggestions"
161
+ msgstr ""
162
+
163
+ msgctxt "The label for the button which discards all suggestions."
164
+ msgid "Discard all suggestions"
165
+ msgstr ""
166
+
167
+ msgctxt "The label for the discard suggestion button."
168
+ msgid "Discard suggestion"
169
+ msgstr ""
170
+
171
+ msgctxt "The block quote element name displayed in the suggestion."
172
+ msgid "ELEMENT_BLOCK_QUOTE"
173
+ msgstr ""
174
+
175
+ msgctxt "The bulleted list element name displayed in the suggestion."
176
+ msgid "ELEMENT_BULLETED_LIST"
177
+ msgstr ""
178
+
179
+ msgctxt "The caption element name displayed in the suggestion."
180
+ msgid "ELEMENT_CAPTION"
181
+ msgstr ""
182
+
183
+ msgctxt "The code block element name displayed in the suggestion."
184
+ msgid "ELEMENT_CODE_BLOCK"
185
+ msgid_plural "%0 code blocks"
186
+ msgstr[0] ""
187
+
188
+ msgctxt "The heading element name displayed in the suggestion."
189
+ msgid "ELEMENT_HEADING"
190
+ msgid_plural "%0 headings (level %1)"
191
+ msgstr[0] ""
192
+
193
+ msgctxt "The heading element name displayed in the suggestion with a custom title."
194
+ msgid "ELEMENT_HEADING_CUSTOM"
195
+ msgid_plural "%0 headings (%1)"
196
+ msgstr[0] ""
197
+
198
+ msgctxt "The horizontal line element name displayed in the suggestion."
199
+ msgid "ELEMENT_HORIZONTAL_LINE"
200
+ msgid_plural "%0 horizontal lines"
201
+ msgstr[0] ""
202
+
203
+ msgctxt "The image element name displayed in the suggestion."
204
+ msgid "ELEMENT_IMAGE"
205
+ msgid_plural "%0 images"
206
+ msgstr[0] ""
207
+
208
+ msgctxt "The inline image element name displayed in the suggestion."
209
+ msgid "ELEMENT_INLINE_IMAGE"
210
+ msgid_plural "%0 images"
211
+ msgstr[0] ""
212
+
213
+ msgctxt "The line break element name displayed in the suggestion."
214
+ msgid "ELEMENT_LINE_BREAK"
215
+ msgid_plural "%0 line breaks"
216
+ msgstr[0] ""
217
+
218
+ msgctxt "The list item element name displayed in the suggestion."
219
+ msgid "ELEMENT_LIST_ITEM"
220
+ msgid_plural "%0 list items"
221
+ msgstr[0] ""
222
+
223
+ msgctxt "The media element name displayed in the suggestion."
224
+ msgid "ELEMENT_MEDIA"
225
+ msgid_plural "%0 media items"
226
+ msgstr[0] ""
227
+
228
+ msgctxt "The numbered list element name displayed in the suggestion."
229
+ msgid "ELEMENT_NUMBERED_LIST"
230
+ msgstr ""
231
+
232
+ msgctxt "The page break element name displayed in the suggestion."
233
+ msgid "ELEMENT_PAGE_BREAK"
234
+ msgid_plural "%0 page breaks"
235
+ msgstr[0] ""
236
+
237
+ msgctxt "The paragraph element name displayed in the suggestion."
238
+ msgid "ELEMENT_PARAGRAPH"
239
+ msgid_plural "%0 paragraphs"
240
+ msgstr[0] ""
241
+
242
+ msgctxt "The space element name displayed in the suggestion."
243
+ msgid "ELEMENT_SPACE"
244
+ msgid_plural "%0 spaces"
245
+ msgstr[0] ""
246
+
247
+ msgctxt "The table element name displayed in the suggestion."
248
+ msgid "ELEMENT_TABLE"
249
+ msgid_plural "%0 tables"
250
+ msgstr[0] ""
251
+
252
+ msgctxt "The table column element name displayed in the suggestion."
253
+ msgid "ELEMENT_TABLE_COLUMN"
254
+ msgid_plural "%0 table columns"
255
+ msgstr[0] ""
256
+
257
+ msgctxt "The table column with text element name displayed in the suggestion."
258
+ msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
259
+ msgid_plural "%0 table columns *with text* %1"
260
+ msgstr[0] ""
261
+
262
+ msgctxt "The table row element name displayed in the suggestion."
263
+ msgid "ELEMENT_TABLE_ROW"
264
+ msgid_plural "%0 table rows"
265
+ msgstr[0] ""
266
+
267
+ msgctxt "The table row with text element name displayed in the suggestion."
268
+ msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
269
+ msgid_plural "%0 table rows *with text* %1"
270
+ msgstr[0] ""
271
+
272
+ msgctxt "The table with text element name displayed in the suggestion."
273
+ msgid "ELEMENT_TABLE_WITH_TEXT"
274
+ msgstr ""
275
+
276
+ msgctxt "The title element name displayed in the suggestion."
277
+ msgid "ELEMENT_TITLE"
278
+ msgstr ""
279
+
280
+ msgctxt "The to-do list element name displayed in the suggestion."
281
+ msgid "ELEMENT_TODO_LIST"
282
+ msgstr ""
283
+
284
+ msgctxt "The align to center format name displayed in a format suggestion."
285
+ msgid "FORMAT_ALIGN_TO_CENTER"
286
+ msgstr ""
287
+
288
+ msgctxt "The align to left format name displayed in a format suggestion."
289
+ msgid "FORMAT_ALIGN_TO_LEFT"
290
+ msgstr ""
291
+
292
+ msgctxt "The align to right format name displayed in a format suggestion."
293
+ msgid "FORMAT_ALIGN_TO_RIGHT"
294
+ msgstr ""
295
+
296
+ msgctxt "The bold format name displayed in a format suggestion."
297
+ msgid "FORMAT_BOLD"
298
+ msgstr ""
299
+
300
+ msgctxt "The code format name displayed in a format suggestion."
301
+ msgid "FORMAT_CODE"
302
+ msgstr ""
303
+
304
+ msgctxt "The header column format name displayed in a format suggestion."
305
+ msgid "FORMAT_HEADER_COLUMN"
306
+ msgstr ""
307
+
308
+ msgctxt "The header row format name displayed in a format suggestion."
309
+ msgid "FORMAT_HEADER_ROW"
310
+ msgstr ""
311
+
312
+ msgctxt "The highlight format name displayed in a format suggestion."
313
+ msgid "FORMAT_HIGHLIGHT"
314
+ msgstr ""
315
+
316
+ msgctxt "The italic format name displayed in a format suggestion."
317
+ msgid "FORMAT_ITALIC"
318
+ msgstr ""
319
+
320
+ msgctxt "The justify text format name displayed in a format suggestion."
321
+ msgid "FORMAT_JUSTIFY_TEXT"
322
+ msgstr ""
323
+
324
+ msgctxt "The regular column format name displayed in a format suggestion."
325
+ msgid "FORMAT_REGULAR_COLUMN"
326
+ msgstr ""
327
+
328
+ msgctxt "The regular row format name displayed in a format suggestion."
329
+ msgid "FORMAT_REGULAR_ROW"
330
+ msgstr ""
331
+
332
+ msgctxt "The label for area disabled in restricted editing area in a format suggestion."
333
+ msgid "FORMAT_RESTRICTED_DISABLED"
334
+ msgstr ""
335
+
336
+ msgctxt "The label for area enabled in restricted editing area in a format suggestion."
337
+ msgid "FORMAT_RESTRICTED_ENABLED"
338
+ msgstr ""
339
+
340
+ msgctxt "The side image format name displayed in a format suggestion."
341
+ msgid "FORMAT_SIDE_IMAGE"
342
+ msgstr ""
343
+
344
+ msgctxt "The strikethrough format name displayed in a format suggestion."
345
+ msgid "FORMAT_STRIKETHROUGH"
346
+ msgstr ""
347
+
348
+ msgctxt "The subscript format name displayed in a format suggestion."
349
+ msgid "FORMAT_SUBSCRIPT"
350
+ msgstr ""
351
+
352
+ msgctxt "The superscript format name displayed in a format suggestion."
353
+ msgid "FORMAT_SUPERSCRIPT"
354
+ msgstr ""
355
+
356
+ msgctxt "The underline format name displayed in a format suggestion."
357
+ msgid "FORMAT_UNDERLINE"
358
+ msgstr ""
359
+
360
+ msgctxt "The label for the alert shown when closing the editor with an unsaved comment change."
361
+ msgid "PENDING_ACTION_SUGGESTION"
362
+ msgstr ""
363
+
364
+ msgctxt "A suggestion for replacing one text with another."
365
+ msgid "REPLACE_TEXT"
366
+ msgstr ""
367
+
368
+ msgctxt "The label for the dropdown containing some options related to track changes."
369
+ msgid "Track changes"
370
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "31.0.0",
3
+ "version": "31.1.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -26,12 +26,12 @@
26
26
  "framework"
27
27
  ],
28
28
  "dependencies": {
29
- "@ckeditor/ckeditor5-collaboration-core": "^31.0.0",
30
- "@ckeditor/ckeditor5-comments": "^31.0.0",
31
- "@ckeditor/ckeditor5-font": "^31.0.0",
32
- "@ckeditor/ckeditor5-image": "^31.0.0",
33
- "@ckeditor/ckeditor5-table": "^31.0.0",
34
- "ckeditor5": "^31.0.0",
29
+ "@ckeditor/ckeditor5-collaboration-core": "^31.1.0",
30
+ "@ckeditor/ckeditor5-comments": "^31.1.0",
31
+ "@ckeditor/ckeditor5-font": "^31.1.0",
32
+ "@ckeditor/ckeditor5-image": "^31.1.0",
33
+ "@ckeditor/ckeditor5-table": "^31.1.0",
34
+ "ckeditor5": "^31.1.0",
35
35
  "lodash-es": "^4.17.11"
36
36
  }
37
37
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f1d=['_acceptSuggestionCommand','isInContent','change','refresh','some','isEnabled','execute','_suggestions','editor','values','from','model'];(function(_0x50c73c,_0x3f1d13){const _0x337749=function(_0x2ff38e){while(--_0x2ff38e){_0x50c73c['push'](_0x50c73c['shift']());}};_0x337749(++_0x3f1d13);}(_0x3f1d,0x1b7));const _0x3377=function(_0x50c73c,_0x3f1d13){_0x50c73c=_0x50c73c-0x0;let _0x337749=_0x3f1d[_0x50c73c];return _0x337749;};import{Command as _0x4e0659}from'ckeditor5/src/core';import _0x1e2c32 from'../utils/sortsuggestions';export default class R extends _0x4e0659{constructor(_0x2f9b83,_0x557495,_0x3ffc99){super(_0x2f9b83),this[_0x3377('0x5')]=_0x557495,this[_0x3377('0x0')]=_0x3ffc99,this[_0x3377('0x8')]();}[_0x3377('0x8')](){const _0x3bb268=this[_0x3377('0x5')];this[_0x3377('0xa')]=_0x3bb268[_0x3377('0xa')]&&Array[_0x3377('0x3')](this['_suggestions'][_0x3377('0x2')]())[_0x3377('0x9')](_0x4e58fe=>_0x4e58fe['isInContent']);}[_0x3377('0xb')](){this[_0x3377('0x1')][_0x3377('0x4')][_0x3377('0x7')](()=>{const _0x3156be=_0x1e2c32(Array[_0x3377('0x3')](this['_suggestions'][_0x3377('0x2')]()));for(const _0x238a68 of _0x3156be)_0x238a68[_0x3377('0x6')]&&this['_acceptSuggestionCommand']['execute'](_0x238a68['id']);});}}
23
+ const _0x3262=['editor','execute','isEnabled','from','change','model','_suggestions','_acceptSuggestionCommand','values','refresh','isInContent'];(function(_0x1b7828,_0x326220){const _0xf45809=function(_0x421acc){while(--_0x421acc){_0x1b7828['push'](_0x1b7828['shift']());}};_0xf45809(++_0x326220);}(_0x3262,0xd7));const _0xf458=function(_0x1b7828,_0x326220){_0x1b7828=_0x1b7828-0x0;let _0xf45809=_0x3262[_0x1b7828];return _0xf45809;};import{Command as _0x5b0106}from'ckeditor5/src/core';import _0x394560 from'../utils/sortsuggestions';export default class R extends _0x5b0106{constructor(_0x35219e,_0xf24113,_0x37b8fd){super(_0x35219e),this[_0xf458('0x1')]=_0xf24113,this[_0xf458('0x0')]=_0x37b8fd,this['refresh']();}[_0xf458('0x3')](){const _0x3aa1c0=this[_0xf458('0x1')];this[_0xf458('0x7')]=_0x3aa1c0[_0xf458('0x7')]&&Array['from'](this[_0xf458('0x0')][_0xf458('0x2')]())['some'](_0x1fda4c=>_0x1fda4c['isInContent']);}[_0xf458('0x6')](){this[_0xf458('0x5')][_0xf458('0xa')][_0xf458('0x9')](()=>{const _0x2a3e5c=_0x394560(Array[_0xf458('0x8')](this[_0xf458('0x0')][_0xf458('0x2')]()));for(const _0x4950f6 of _0x2a3e5c)_0x4950f6[_0xf458('0x4')]&&this[_0xf458('0x1')][_0xf458('0x6')](_0x4950f6['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ea5=['size','_suggestions','document','_selectedSuggestions','values','change','from','refresh','editor','model','_acceptSuggestionCommand','isEnabled','execute'];(function(_0x99df94,_0x1ea5cc){const _0x157c37=function(_0xb77ae8){while(--_0xb77ae8){_0x99df94['push'](_0x99df94['shift']());}};_0x157c37(++_0x1ea5cc);}(_0x1ea5,0x8c));const _0x157c=function(_0x99df94,_0x1ea5cc){_0x99df94=_0x99df94-0x0;let _0x157c37=_0x1ea5[_0x99df94];return _0x157c37;};import{Command as _0x1dda70}from'ckeditor5/src/core';import _0x35585f from'../utils/sortsuggestions';import _0x12ae4e from'../utils/getselectedsuggestions';export default class E extends _0x1dda70{constructor(_0x132d9d,_0x2e871d,_0x55dcbd){super(_0x132d9d),this[_0x157c('0x0')]=_0x2e871d,this[_0x157c('0x4')]=_0x55dcbd,this[_0x157c('0x6')]=new Set(),this['refresh']();}[_0x157c('0xa')](){const _0x2099ea=this[_0x157c('0x0')],_0x1ed034=this[_0x157c('0xb')][_0x157c('0xc')][_0x157c('0x5')]['selection'],_0xc0b647=Array[_0x157c('0x9')](this[_0x157c('0x4')][_0x157c('0x7')]());this[_0x157c('0x6')]=_0x12ae4e(_0x1ed034,_0xc0b647),this[_0x157c('0x1')]=_0x2099ea[_0x157c('0x1')]&&!!this['_selectedSuggestions'][_0x157c('0x3')];}['execute'](){this['editor'][_0x157c('0xc')][_0x157c('0x8')](()=>{const _0x39052f=_0x35585f(Array[_0x157c('0x9')](this[_0x157c('0x6')]));for(const _0x2d2908 of _0x39052f)this[_0x157c('0x0')][_0x157c('0x2')](_0x2d2908['id']);});}}
23
+ const _0x327a=['_selectedSuggestions','isEnabled','size','_acceptSuggestionCommand','model','editor','from','document','selection','_suggestions','values','change'];(function(_0x583ee4,_0x327a67){const _0xce660c=function(_0x3c42c2){while(--_0x3c42c2){_0x583ee4['push'](_0x583ee4['shift']());}};_0xce660c(++_0x327a67);}(_0x327a,0x1d7));const _0xce66=function(_0x583ee4,_0x327a67){_0x583ee4=_0x583ee4-0x0;let _0xce660c=_0x327a[_0x583ee4];return _0xce660c;};import{Command as _0x597abb}from'ckeditor5/src/core';import _0x5c4f48 from'../utils/sortsuggestions';import _0x29e36b from'../utils/getselectedsuggestions';export default class E extends _0x597abb{constructor(_0x13f730,_0x614954,_0x263e3c){super(_0x13f730),this[_0xce66('0x0')]=_0x614954,this[_0xce66('0x6')]=_0x263e3c,this[_0xce66('0x9')]=new Set(),this['refresh']();}['refresh'](){const _0x4fa081=this[_0xce66('0x0')],_0x4ab966=this[_0xce66('0x2')][_0xce66('0x1')][_0xce66('0x4')][_0xce66('0x5')],_0x2ce07d=Array[_0xce66('0x3')](this[_0xce66('0x6')][_0xce66('0x7')]());this['_selectedSuggestions']=_0x29e36b(_0x4ab966,_0x2ce07d),this[_0xce66('0xa')]=_0x4fa081['isEnabled']&&!!this[_0xce66('0x9')][_0xce66('0xb')];}['execute'](){this[_0xce66('0x2')][_0xce66('0x1')][_0xce66('0x8')](()=>{const _0x59995a=_0x5c4f48(Array[_0xce66('0x3')](this[_0xce66('0x9')]));for(const _0xc4accf of _0x59995a)this[_0xce66('0x0')]['execute'](_0xc4accf['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cd2=['plugins','get','TrackChangesEditing','track-changes-accept-suggestion-not-found','editor','isEnabled','_suggestions','execute','refresh'];(function(_0x2873a3,_0x5cd275){const _0x58e00d=function(_0x3e4db9){while(--_0x3e4db9){_0x2873a3['push'](_0x2873a3['shift']());}};_0x58e00d(++_0x5cd275);}(_0x5cd2,0x10e));const _0x58e0=function(_0x2873a3,_0x5cd275){_0x2873a3=_0x2873a3-0x0;let _0x58e00d=_0x5cd2[_0x2873a3];return _0x58e00d;};import{Command as _0x599c81}from'ckeditor5/src/core';import{CKEditorError as _0x23a78b}from'ckeditor5/src/utils';export default class j extends _0x599c81{constructor(_0x3167d9,_0x53d63a){super(_0x3167d9),this['_suggestions']=_0x53d63a,this[_0x58e0('0x8')]();}[_0x58e0('0x8')](){this[_0x58e0('0x5')]=!0x0;}[_0x58e0('0x7')](_0x20036b){const _0x1432b8=this[_0x58e0('0x6')]['get'](_0x20036b);if(!_0x1432b8)throw new _0x23a78b(_0x58e0('0x3'),this);this[_0x58e0('0x4')][_0x58e0('0x0')][_0x58e0('0x1')](_0x58e0('0x2'))['acceptSuggestion'](_0x1432b8);}}
23
+ const _0xc17e=['editor','get','isEnabled','_suggestions','refresh','plugins','track-changes-accept-suggestion-not-found','TrackChangesEditing'];(function(_0x39c617,_0xc17e9){const _0x26856d=function(_0x2bffba){while(--_0x2bffba){_0x39c617['push'](_0x39c617['shift']());}};_0x26856d(++_0xc17e9);}(_0xc17e,0x156));const _0x2685=function(_0x39c617,_0xc17e9){_0x39c617=_0x39c617-0x0;let _0x26856d=_0xc17e[_0x39c617];return _0x26856d;};import{Command as _0x15590f}from'ckeditor5/src/core';import{CKEditorError as _0x4d9bf3}from'ckeditor5/src/utils';export default class j extends _0x15590f{constructor(_0x232f95,_0x642e4){super(_0x232f95),this['_suggestions']=_0x642e4,this[_0x2685('0x6')]();}[_0x2685('0x6')](){this[_0x2685('0x4')]=!0x0;}['execute'](_0x1bbb4c){const _0x2735fb=this[_0x2685('0x5')][_0x2685('0x3')](_0x1bbb4c);if(!_0x2735fb)throw new _0x4d9bf3(_0x2685('0x0'),this);this[_0x2685('0x2')][_0x2685('0x7')]['get'](_0x2685('0x1'))['acceptSuggestion'](_0x2735fb);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22f1=['model','refresh','isEnabled','isInContent','_discardSuggestionCommand','_suggestions','some','values','editor','execute'];(function(_0x5e22c6,_0x22f112){const _0x367ede=function(_0x3a098d){while(--_0x3a098d){_0x5e22c6['push'](_0x5e22c6['shift']());}};_0x367ede(++_0x22f112);}(_0x22f1,0x1ef));const _0x367e=function(_0x5e22c6,_0x22f112){_0x5e22c6=_0x5e22c6-0x0;let _0x367ede=_0x22f1[_0x5e22c6];return _0x367ede;};import{Command as _0x372e36}from'ckeditor5/src/core';export default class x extends _0x372e36{constructor(_0x11dc66,_0x4b5d08,_0x263fd8){super(_0x11dc66),this[_0x367e('0x9')]=_0x4b5d08,this[_0x367e('0x0')]=_0x263fd8,this[_0x367e('0x6')]();}[_0x367e('0x6')](){const _0x45bab7=this[_0x367e('0x9')];this[_0x367e('0x7')]=_0x45bab7[_0x367e('0x7')]&&Array['from'](this[_0x367e('0x0')][_0x367e('0x2')]())[_0x367e('0x1')](_0x4f0586=>_0x4f0586[_0x367e('0x8')]);}[_0x367e('0x4')](){this[_0x367e('0x3')][_0x367e('0x5')]['change'](()=>{for(const _0x1b6788 of this[_0x367e('0x0')][_0x367e('0x2')]())_0x1b6788['isInContent']&&this[_0x367e('0x9')][_0x367e('0x4')](_0x1b6788['id']);});}}
23
+ const _0x4bcb=['change','refresh','isInContent','some','execute','editor','_discardSuggestionCommand','_suggestions','values','isEnabled'];(function(_0x12340c,_0x4bcb6a){const _0x3cddd9=function(_0x2c95bd){while(--_0x2c95bd){_0x12340c['push'](_0x12340c['shift']());}};_0x3cddd9(++_0x4bcb6a);}(_0x4bcb,0xb0));const _0x3cdd=function(_0x12340c,_0x4bcb6a){_0x12340c=_0x12340c-0x0;let _0x3cddd9=_0x4bcb[_0x12340c];return _0x3cddd9;};import{Command as _0x69e4b5}from'ckeditor5/src/core';export default class x extends _0x69e4b5{constructor(_0x4020b4,_0xf5287a,_0x28108b){super(_0x4020b4),this[_0x3cdd('0x0')]=_0xf5287a,this[_0x3cdd('0x1')]=_0x28108b,this[_0x3cdd('0x5')]();}['refresh'](){const _0x528905=this[_0x3cdd('0x0')];this['isEnabled']=_0x528905[_0x3cdd('0x3')]&&Array['from'](this[_0x3cdd('0x1')][_0x3cdd('0x2')]())[_0x3cdd('0x7')](_0xaa74b8=>_0xaa74b8[_0x3cdd('0x6')]);}[_0x3cdd('0x8')](){this[_0x3cdd('0x9')]['model'][_0x3cdd('0x4')](()=>{for(const _0x133f54 of this[_0x3cdd('0x1')][_0x3cdd('0x2')]())_0x133f54['isInContent']&&this[_0x3cdd('0x0')][_0x3cdd('0x8')](_0x133f54['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ad=['size','isEnabled','_selectedSuggestions','_discardSuggestionCommand','from','execute','refresh','change','editor','document','model','values','_suggestions'];(function(_0xdd1b79,_0x28ad47){const _0x3bcaf1=function(_0x524083){while(--_0x524083){_0xdd1b79['push'](_0xdd1b79['shift']());}};_0x3bcaf1(++_0x28ad47);}(_0x28ad,0x9e));const _0x3bca=function(_0xdd1b79,_0x28ad47){_0xdd1b79=_0xdd1b79-0x0;let _0x3bcaf1=_0x28ad[_0xdd1b79];return _0x3bcaf1;};import{Command as _0x22f5ae}from'ckeditor5/src/core';import _0x137225 from'../utils/getselectedsuggestions';export default class O extends _0x22f5ae{constructor(_0x8e8362,_0x5d6c31,_0x29682e){super(_0x8e8362),this[_0x3bca('0x1')]=_0x5d6c31,this[_0x3bca('0xa')]=_0x29682e,this[_0x3bca('0x0')]=new Set(),this[_0x3bca('0x4')]();}[_0x3bca('0x4')](){const _0x3d5385=this[_0x3bca('0x1')],_0x2138fc=this[_0x3bca('0x6')][_0x3bca('0x8')][_0x3bca('0x7')]['selection'],_0x9ea226=Array[_0x3bca('0x2')](this[_0x3bca('0xa')][_0x3bca('0x9')]());this[_0x3bca('0x0')]=_0x137225(_0x2138fc,_0x9ea226),this['isEnabled']=_0x3d5385[_0x3bca('0xc')]&&!!this[_0x3bca('0x0')][_0x3bca('0xb')];}['execute'](){this[_0x3bca('0x6')][_0x3bca('0x8')][_0x3bca('0x5')](()=>{for(const _0x195952 of this[_0x3bca('0x0')])this[_0x3bca('0x1')][_0x3bca('0x3')](_0x195952['id']);});}}
23
+ const _0x3711=['execute','_suggestions','_discardSuggestionCommand','refresh','model','from','size','change','_selectedSuggestions','document','isEnabled','selection','values'];(function(_0x3f8d32,_0x37112c){const _0x264833=function(_0x426821){while(--_0x426821){_0x3f8d32['push'](_0x3f8d32['shift']());}};_0x264833(++_0x37112c);}(_0x3711,0x16f));const _0x2648=function(_0x3f8d32,_0x37112c){_0x3f8d32=_0x3f8d32-0x0;let _0x264833=_0x3711[_0x3f8d32];return _0x264833;};import{Command as _0xa7e97c}from'ckeditor5/src/core';import _0x528cc9 from'../utils/getselectedsuggestions';export default class O extends _0xa7e97c{constructor(_0x2fd087,_0x30c092,_0x8e0466){super(_0x2fd087),this[_0x2648('0xc')]=_0x30c092,this[_0x2648('0xb')]=_0x8e0466,this[_0x2648('0x5')]=new Set(),this['refresh']();}[_0x2648('0x0')](){const _0x231157=this[_0x2648('0xc')],_0x53a553=this['editor']['model'][_0x2648('0x6')][_0x2648('0x8')],_0xc51bc7=Array[_0x2648('0x2')](this[_0x2648('0xb')][_0x2648('0x9')]());this[_0x2648('0x5')]=_0x528cc9(_0x53a553,_0xc51bc7),this[_0x2648('0x7')]=_0x231157[_0x2648('0x7')]&&!!this['_selectedSuggestions'][_0x2648('0x3')];}[_0x2648('0xa')](){this['editor'][_0x2648('0x1')][_0x2648('0x4')](()=>{for(const _0x15f9b6 of this['_selectedSuggestions'])this[_0x2648('0xc')][_0x2648('0xa')](_0x15f9b6['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3338=['track-changes-discard-suggestion-not-found','discardSuggestion','TrackChangesEditing','get','_suggestions','execute','refresh'];(function(_0x12e500,_0x3338a4){const _0x56efa5=function(_0x67f355){while(--_0x67f355){_0x12e500['push'](_0x12e500['shift']());}};_0x56efa5(++_0x3338a4);}(_0x3338,0xb3));const _0x56ef=function(_0x12e500,_0x3338a4){_0x12e500=_0x12e500-0x0;let _0x56efa5=_0x3338[_0x12e500];return _0x56efa5;};import{Command as _0x2534a5}from'ckeditor5/src/core';import{CKEditorError as _0x191975}from'ckeditor5/src/utils';export default class U extends _0x2534a5{constructor(_0xd5fcdc,_0x521a70){super(_0xd5fcdc),this['_suggestions']=_0x521a70,this[_0x56ef('0x2')]();}[_0x56ef('0x2')](){this['isEnabled']=!0x0;}[_0x56ef('0x1')](_0x420ffe){const _0x124968=this[_0x56ef('0x0')][_0x56ef('0x6')](_0x420ffe);if(!_0x124968)throw new _0x191975(_0x56ef('0x3'),this);this['editor']['plugins'][_0x56ef('0x6')](_0x56ef('0x5'))[_0x56ef('0x4')](_0x124968);}}
23
+ const _0x2cbb=['refresh','isEnabled','editor','_suggestions','discardSuggestion','track-changes-discard-suggestion-not-found','get','TrackChangesEditing'];(function(_0x2d52ed,_0x2cbb38){const _0x45dcc0=function(_0x38bd4f){while(--_0x38bd4f){_0x2d52ed['push'](_0x2d52ed['shift']());}};_0x45dcc0(++_0x2cbb38);}(_0x2cbb,0x122));const _0x45dc=function(_0x2d52ed,_0x2cbb38){_0x2d52ed=_0x2d52ed-0x0;let _0x45dcc0=_0x2cbb[_0x2d52ed];return _0x45dcc0;};import{Command as _0x1006ef}from'ckeditor5/src/core';import{CKEditorError as _0x5ecdfc}from'ckeditor5/src/utils';export default class U extends _0x1006ef{constructor(_0x26fa3f,_0x234e8f){super(_0x26fa3f),this[_0x45dc('0x1')]=_0x234e8f,this[_0x45dc('0x6')]();}[_0x45dc('0x6')](){this[_0x45dc('0x7')]=!0x0;}['execute'](_0x447644){const _0x3d224f=this['_suggestions'][_0x45dc('0x4')](_0x447644);if(!_0x3d224f)throw new _0x5ecdfc(_0x45dc('0x3'),this);this[_0x45dc('0x0')]['plugins'][_0x45dc('0x4')](_0x45dc('0x5'))[_0x45dc('0x2')](_0x3d224f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x271c=['_enableCommands','_enabledCommands','TrackChangesCommand','isEnabled','clearForceDisabled','_disableUnsupportedCommands','has','editor','value','affectsData','refresh','execute','commands','forceDisabled'];(function(_0x197ec8,_0x271cc1){const _0xad321=function(_0x2063ba){while(--_0x2063ba){_0x197ec8['push'](_0x197ec8['shift']());}};_0xad321(++_0x271cc1);}(_0x271c,0xcf));const _0xad32=function(_0x197ec8,_0x271cc1){_0x197ec8=_0x197ec8-0x0;let _0xad321=_0x271c[_0x197ec8];return _0xad321;};import{Command as _0x5152c9}from'ckeditor5/src/core';export default class N extends _0x5152c9{constructor(_0x1c5b27,_0x553523){super(_0x1c5b27),this[_0xad32('0x4')]=_0x553523,this[_0xad32('0xb')]=!0x1,this[_0xad32('0xd')]();}[_0xad32('0xd')](){this[_0xad32('0x6')]=!0x0;}[_0xad32('0x0')](){this[_0xad32('0xb')]=!this[_0xad32('0xb')],this[_0xad32('0xb')]?this[_0xad32('0x8')]():this[_0xad32('0x3')]();}[_0xad32('0x8')](){for(const _0xe56ba8 of this['editor'][_0xad32('0x1')][_0xad32('0x1')]())_0xe56ba8[_0xad32('0xc')]&&!this[_0xad32('0x4')][_0xad32('0x9')](_0xe56ba8)&&_0xe56ba8[_0xad32('0x2')](_0xad32('0x5'));}[_0xad32('0x3')](){for(const _0x1d7425 of this[_0xad32('0xa')][_0xad32('0x1')]['commands']())_0x1d7425[_0xad32('0xc')]&&!this['_enabledCommands'][_0xad32('0x9')](_0x1d7425)&&_0x1d7425[_0xad32('0x7')]('TrackChangesCommand');}}
23
+ const _0x4e50=['commands','forceDisabled','refresh','value','TrackChangesCommand','execute','editor','clearForceDisabled','_disableUnsupportedCommands','_enabledCommands','isEnabled','has','affectsData'];(function(_0x358571,_0x4e50dd){const _0x2a88b5=function(_0x596708){while(--_0x596708){_0x358571['push'](_0x358571['shift']());}};_0x2a88b5(++_0x4e50dd);}(_0x4e50,0x145));const _0x2a88=function(_0x358571,_0x4e50dd){_0x358571=_0x358571-0x0;let _0x2a88b5=_0x4e50[_0x358571];return _0x2a88b5;};import{Command as _0x494598}from'ckeditor5/src/core';export default class N extends _0x494598{constructor(_0x51e750,_0xb162f4){super(_0x51e750),this['_enabledCommands']=_0xb162f4,this[_0x2a88('0x3')]=!0x1,this[_0x2a88('0x2')]();}[_0x2a88('0x2')](){this[_0x2a88('0xa')]=!0x0;}[_0x2a88('0x5')](){this[_0x2a88('0x3')]=!this[_0x2a88('0x3')],this[_0x2a88('0x3')]?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x2a88('0x8')](){for(const _0x1b5c19 of this['editor'][_0x2a88('0x0')][_0x2a88('0x0')]())_0x1b5c19[_0x2a88('0xc')]&&!this[_0x2a88('0x9')][_0x2a88('0xb')](_0x1b5c19)&&_0x1b5c19[_0x2a88('0x1')](_0x2a88('0x4'));}['_enableCommands'](){for(const _0xc387f4 of this[_0x2a88('0x6')][_0x2a88('0x0')]['commands']())_0xc387f4[_0x2a88('0xc')]&&!this['_enabledCommands'][_0x2a88('0xb')](_0xc387f4)&&_0xc387f4[_0x2a88('0x7')](_0x2a88('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x35e1bb}from'ckeditor5/src/core';export default class P extends _0x35e1bb{['afterInit'](){const _0xf15e01=this['editor'],{t:t}=_0xf15e01['locale'];if(!_0xf15e01['plugins']['has']('AlignmentEditing'))return;const _0x3b786e=_0xf15e01['plugins']['get']('TrackChangesEditing');_0x3b786e['enableCommand']('alignment',(_0x313dfe,_0x4bd1b6={})=>{let _0x16e6ed=_0x4bd1b6['value'];_0x4bd1b6['value']||(_0x16e6ed='ltr'===_0xf15e01['locale']['contentLanguageDirection']?'left':'right');const _0x31e637=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x596952=>function(_0x440d3a,_0x41c75c,_0x3a906f){const _0x3e66b3=_0x440d3a['getAttribute']('alignment')||null;return _0x41c75c['checkAttribute'](_0x440d3a,'alignment')&&_0x3a906f!=_0x3e66b3;}(_0x596952,this['editor']['model']['schema'],_0x16e6ed));_0xf15e01['model']['change'](()=>{for(const _0x58b6da of _0x31e637)_0x3b786e['markBlockFormat'](_0x58b6da,{'commandName':'alignment','commandParams':[{'value':_0x16e6ed}]});});}),_0x3b786e['_descriptionFactory']['registerDescriptionCallback'](_0x4ca2fa=>{const {data:_0x3639f0}=_0x4ca2fa;if(_0x3639f0&&'alignment'==_0x3639f0['commandName']){const _0x4b5a5e=_0x3639f0['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x1caa13){switch(_0x1caa13){case'left':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'right':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'center':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'justify':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});}}(_0x4b5a5e))};}});}}
23
+ import{Plugin as _0xace360}from'ckeditor5/src/core';export default class P extends _0xace360{['afterInit'](){const _0x5516a4=this['editor'],{t:t}=_0x5516a4['locale'];if(!_0x5516a4['plugins']['has']('AlignmentEditing'))return;const _0x42aee9=_0x5516a4['plugins']['get']('TrackChangesEditing');_0x42aee9['enableCommand']('alignment',(_0x3a1f20,_0x1c2c8d={})=>{let _0x1bd014=_0x1c2c8d['value'];_0x1c2c8d['value']||(_0x1bd014='ltr'===_0x5516a4['locale']['contentLanguageDirection']?'left':'right');const _0x4195f9=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x4c3a66=>function(_0x5967a6,_0x2690ac,_0x51feee){const _0x5e775f=_0x5967a6['getAttribute']('alignment')||null;return _0x2690ac['checkAttribute'](_0x5967a6,'alignment')&&_0x51feee!=_0x5e775f;}(_0x4c3a66,this['editor']['model']['schema'],_0x1bd014));_0x5516a4['model']['change'](()=>{for(const _0x55124f of _0x4195f9)_0x42aee9['markBlockFormat'](_0x55124f,{'commandName':'alignment','commandParams':[{'value':_0x1bd014}]});});}),_0x42aee9['_descriptionFactory']['registerDescriptionCallback'](_0x5f4cbb=>{const {data:_0x295fca}=_0x5f4cbb;if(_0x295fca&&'alignment'==_0x295fca['commandName']){const _0x37b737=_0x295fca['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x4e6fa9){switch(_0x4e6fa9){case'left':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'right':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'center':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'justify':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});}}(_0x37b737))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3a9653}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ft=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class G extends _0x3a9653{['afterInit'](){const _0xc0d7b7=this['editor'],_0x22399e=_0xc0d7b7['model'],_0x1fa481=_0xc0d7b7['plugins']['get']('TrackChangesEditing'),{t:t}=_0xc0d7b7['locale'];for(const _0x401ed8 of Ft){if(!_0xc0d7b7['plugins']['has'](_0x401ed8))continue;const _0xa8943c=_0x401ed8['slice'](0x0,-0x7)['toLowerCase'](),_0x140f30=_0xc0d7b7['commands']['get'](_0xa8943c);_0x1fa481['enableCommand'](_0xa8943c,(_0x16b78a,_0x4dc8a5={})=>{const _0x578f55=_0x22399e['document']['selection'];if(_0x578f55['isCollapsed'])return void _0x16b78a(_0x4dc8a5);const _0x87b790=void 0x0!==_0x4dc8a5['forceValue']?_0x4dc8a5['forceValue']:!_0x140f30['value'];_0x22399e['change'](()=>{const _0x13e225=Array['from'](_0x578f55['getRanges']());for(const _0x2fcf53 of _0x13e225){const _0xb4df91=_0x87b790?[_0x2fcf53]:Rt(_0xa8943c,_0x2fcf53,_0x22399e);for(const _0x10ffce of _0xb4df91)_0x1fa481['markInlineFormat'](_0x10ffce,{'commandName':_0xa8943c,'commandParams':[{'forceValue':_0x87b790}]});}});});}function _0x2a7781(_0x4f26f1,_0x3dc319){_0x1fa481['_descriptionFactory']['registerDescriptionCallback'](_0x2130a7=>{const {data:_0x29d0b4}=_0x2130a7;if(_0x29d0b4&&_0x29d0b4['commandName']===_0x4f26f1)return _0x29d0b4['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x3dc319)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x3dc319)};});}_0x2a7781('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x2a7781('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x2a7781('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x2a7781('code',t({'string':'code','id':'FORMAT_CODE'})),_0x2a7781('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x2a7781('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x2a7781('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
23
+ import{Plugin as _0x566220}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ft=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class G extends _0x566220{['afterInit'](){const _0xf2d9c0=this['editor'],_0x489171=_0xf2d9c0['model'],_0x8ab5bf=_0xf2d9c0['plugins']['get']('TrackChangesEditing'),{t:t}=_0xf2d9c0['locale'];for(const _0x5086fb of Ft){if(!_0xf2d9c0['plugins']['has'](_0x5086fb))continue;const _0x318086=_0x5086fb['slice'](0x0,-0x7)['toLowerCase'](),_0xc9dae=_0xf2d9c0['commands']['get'](_0x318086);_0x8ab5bf['enableCommand'](_0x318086,(_0x492ea9,_0x312ceb={})=>{const _0x3cd0a2=_0x489171['document']['selection'];if(_0x3cd0a2['isCollapsed'])return void _0x492ea9(_0x312ceb);const _0x4933d7=void 0x0!==_0x312ceb['forceValue']?_0x312ceb['forceValue']:!_0xc9dae['value'];_0x489171['change'](()=>{const _0xf34e13=Array['from'](_0x3cd0a2['getRanges']());for(const _0x4e55ad of _0xf34e13){const _0x58502a=_0x4933d7?[_0x4e55ad]:Rt(_0x318086,_0x4e55ad,_0x489171);for(const _0x5681bf of _0x58502a)_0x8ab5bf['markInlineFormat'](_0x5681bf,{'commandName':_0x318086,'commandParams':[{'forceValue':_0x4933d7}]});}});});}function _0x27d6ce(_0x547624,_0x29df1e){_0x8ab5bf['_descriptionFactory']['registerDescriptionCallback'](_0x555dec=>{const {data:_0x966348}=_0x555dec;if(_0x966348&&_0x966348['commandName']===_0x547624)return _0x966348['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x29df1e)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x29df1e)};});}_0x27d6ce('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x27d6ce('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x27d6ce('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x27d6ce('code',t({'string':'code','id':'FORMAT_CODE'})),_0x27d6ce('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x27d6ce('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x27d6ce('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2428b6}from'ckeditor5/src/core';import{TreeWalker as Qt}from'ckeditor5/src/engine';export default class F extends _0x2428b6{['afterInit'](){const _0x2d1133=this['editor'],{t:t}=_0x2d1133['locale'];if(!_0x2d1133['plugins']['has']('BlockQuoteEditing'))return;const _0x3dd763=_0x2d1133['plugins']['get']('TrackChangesEditing'),_0x374b84=this['editor']['commands']['get']('blockQuote');_0x3dd763['enableCommand']('blockQuote',(_0x3ba775,_0x4a85cf={})=>{const _0x1383bd=this['editor']['model']['document']['selection'],_0x926244=_0x4a85cf&&void 0x0!==_0x4a85cf['forceValue']?_0x4a85cf['forceValue']:!_0x374b84['value'];let _0x4b2076=[];if(_0x926244){const _0x3914c5=Array['from'](_0x1383bd['getSelectedBlocks']())['filter'](_0x44305e=>Bt(_0x44305e)||function(_0x33816b,_0x5ba982){const _0x415cb1=_0x5ba982['checkChild'](_0x33816b['parent'],'blockQuote'),_0x57a22b=_0x5ba982['checkChild'](['$root','blockQuote'],_0x33816b);return _0x415cb1&&_0x57a22b;}(_0x44305e,this['editor']['model']['schema']));_0x4b2076=Lt(_0x3914c5,_0x2d1133['model']);}else{const _0x4dd3f8=Array['from'](_0x1383bd['getSelectedBlocks']())['filter'](_0x5e9e69=>Bt(_0x5e9e69));_0x4b2076=Lt(_0x4dd3f8,_0x2d1133['model']);}_0x2d1133['model']['change'](()=>{for(const _0x43397a of _0x4b2076)_0x3dd763['markBlockFormat'](_0x43397a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x926244}]});});}),_0x3dd763['_descriptionFactory']['registerDescriptionCallback'](_0x5246de=>{const {data:_0x281929}=_0x5246de;if(_0x281929&&'blockQuote'==_0x281929['commandName']){const _0x5e6499=t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});return _0x281929['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x5e6499)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x5e6499)};}});}}function Bt(_0x56e217){return'blockQuote'==_0x56e217['parent']['name'];}function Lt(_0x55c772,_0x35f081){let _0x2c4fc5,_0x3be8f6=0x0;const _0x5b50cd=[],_0x48a653=_0x35f081['schema'];for(;_0x3be8f6<_0x55c772['length'];){const _0x3b2d8f=_0x55c772[_0x3be8f6],_0x2d5074=_0x55c772[_0x3be8f6+0x1];_0x2c4fc5||(_0x2c4fc5=_0x35f081['createPositionBefore'](_0x3b2d8f)),Kt(_0x35f081,_0x3b2d8f,_0x2d5074)||(_0x5b50cd['push'](_0x35f081['createRange'](_0x2c4fc5,_0x48a653['isObject'](_0x3b2d8f)?_0x35f081['createPositionAfter'](_0x3b2d8f):_0x35f081['createPositionAt'](_0x3b2d8f,'end'))),_0x2c4fc5=null),_0x3be8f6++;}return _0x5b50cd;}function Kt(_0x8492a1,_0x480eca,_0x175b55){if(!_0x175b55)return!0x1;const _0x1e11c6=_0x8492a1['createPositionAfter'](_0x480eca),_0xeebad9=_0x8492a1['createPositionBefore'](_0x175b55),_0xc8c42c=new Qt({'boundaries':_0x8492a1['createRange'](_0x1e11c6,_0xeebad9)});for(const _0x683156 of _0xc8c42c)if('text'==_0x683156['type']||_0x8492a1['schema']['isLimit'](_0x683156['item']))return!0x1;return!0x0;}
23
+ import{Plugin as _0x3243db}from'ckeditor5/src/core';import{TreeWalker as Qt}from'ckeditor5/src/engine';export default class F extends _0x3243db{['afterInit'](){const _0x29acdd=this['editor'],{t:t}=_0x29acdd['locale'];if(!_0x29acdd['plugins']['has']('BlockQuoteEditing'))return;const _0x1a69f6=_0x29acdd['plugins']['get']('TrackChangesEditing'),_0x502f42=this['editor']['commands']['get']('blockQuote');_0x1a69f6['enableCommand']('blockQuote',(_0x5e6382,_0x5a7722={})=>{const _0x1741c5=this['editor']['model']['document']['selection'],_0xaa955f=_0x5a7722&&void 0x0!==_0x5a7722['forceValue']?_0x5a7722['forceValue']:!_0x502f42['value'];let _0x5998fe=[];if(_0xaa955f){const _0x20338b=Array['from'](_0x1741c5['getSelectedBlocks']())['filter'](_0x33ba79=>Bt(_0x33ba79)||function(_0x1149c3,_0x15c6c5){const _0x346afd=_0x15c6c5['checkChild'](_0x1149c3['parent'],'blockQuote'),_0x28aa5d=_0x15c6c5['checkChild'](['$root','blockQuote'],_0x1149c3);return _0x346afd&&_0x28aa5d;}(_0x33ba79,this['editor']['model']['schema']));_0x5998fe=Lt(_0x20338b,_0x29acdd['model']);}else{const _0x19a96b=Array['from'](_0x1741c5['getSelectedBlocks']())['filter'](_0x2a9f80=>Bt(_0x2a9f80));_0x5998fe=Lt(_0x19a96b,_0x29acdd['model']);}_0x29acdd['model']['change'](()=>{for(const _0x3ab921 of _0x5998fe)_0x1a69f6['markBlockFormat'](_0x3ab921,{'commandName':'blockQuote','commandParams':[{'forceValue':_0xaa955f}]});});}),_0x1a69f6['_descriptionFactory']['registerDescriptionCallback'](_0x312627=>{const {data:_0x4a4245}=_0x312627;if(_0x4a4245&&'blockQuote'==_0x4a4245['commandName']){const _0x28293a=t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});return _0x4a4245['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x28293a)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x28293a)};}});}}function Bt(_0x16d137){return'blockQuote'==_0x16d137['parent']['name'];}function Lt(_0xcd4a91,_0xa43332){let _0xb75e95,_0x950824=0x0;const _0x7b568c=[],_0x28d502=_0xa43332['schema'];for(;_0x950824<_0xcd4a91['length'];){const _0x1db08a=_0xcd4a91[_0x950824],_0x4308c6=_0xcd4a91[_0x950824+0x1];_0xb75e95||(_0xb75e95=_0xa43332['createPositionBefore'](_0x1db08a)),Kt(_0xa43332,_0x1db08a,_0x4308c6)||(_0x7b568c['push'](_0xa43332['createRange'](_0xb75e95,_0x28d502['isObject'](_0x1db08a)?_0xa43332['createPositionAfter'](_0x1db08a):_0xa43332['createPositionAt'](_0x1db08a,'end'))),_0xb75e95=null),_0x950824++;}return _0x7b568c;}function Kt(_0x4f1c58,_0x1880c9,_0x42dc22){if(!_0x42dc22)return!0x1;const _0x31c266=_0x4f1c58['createPositionAfter'](_0x1880c9),_0x1bfdcc=_0x4f1c58['createPositionBefore'](_0x42dc22),_0x2a7e7b=new Qt({'boundaries':_0x4f1c58['createRange'](_0x31c266,_0x1bfdcc)});for(const _0x78705 of _0x2a7e7b)if('text'==_0x78705['type']||_0x4f1c58['schema']['isLimit'](_0x78705['item']))return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5eafff}from'ckeditor5/src/core';export default class L extends _0x5eafff{['afterInit'](){const _0x506a71=this['editor'],{t:t}=_0x506a71['locale'];if(!_0x506a71['plugins']['has']('CodeBlock'))return;_0x506a71['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerElementLabel']('codeBlock',_0x1d8af7=>t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x1d8af7));}}
23
+ import{Plugin as _0x2e2e5e}from'ckeditor5/src/core';export default class L extends _0x2e2e5e{['afterInit'](){const _0x14ff55=this['editor'],{t:t}=_0x14ff55['locale'];if(!_0x14ff55['plugins']['has']('CodeBlock'))return;_0x14ff55['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerElementLabel']('codeBlock',_0x1a993c=>t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x1a993c));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x15eb=['requires','editor','enableCommand','addCommentThread'];(function(_0x333bf3,_0x15eb6a){var _0x5a8e12=function(_0x41d68e){while(--_0x41d68e){_0x333bf3['push'](_0x333bf3['shift']());}};_0x5a8e12(++_0x15eb6a);}(_0x15eb,0x13b));var _0x5a8e=function(_0x333bf3,_0x15eb6a){_0x333bf3=_0x333bf3-0x0;var _0x5a8e12=_0x15eb[_0x333bf3];return _0x5a8e12;};import{Plugin as _0x7796d3}from'ckeditor5/src/core';import _0x1b2e9f from'@ckeditor/ckeditor5-comments/src/comments/commentsediting';export default class q extends _0x7796d3{static get[_0x5a8e('0x1')](){return[_0x1b2e9f];}['init'](){this[_0x5a8e('0x2')]['plugins']['get']('TrackChangesEditing')[_0x5a8e('0x3')](_0x5a8e('0x0'));}}
23
+ var _0x4e32=['addCommentThread','plugins','get'];(function(_0x32b59a,_0x4e32ed){var _0x347970=function(_0xbdb2f0){while(--_0xbdb2f0){_0x32b59a['push'](_0x32b59a['shift']());}};_0x347970(++_0x4e32ed);}(_0x4e32,0x71));var _0x3479=function(_0x32b59a,_0x4e32ed){_0x32b59a=_0x32b59a-0x0;var _0x347970=_0x4e32[_0x32b59a];return _0x347970;};import{Plugin as _0x2deee9}from'ckeditor5/src/core';import _0x48e334 from'@ckeditor/ckeditor5-comments/src/comments/commentsediting';export default class q extends _0x2deee9{static get['requires'](){return[_0x48e334];}['init'](){this['editor'][_0x3479('0x2')][_0x3479('0x0')]('TrackChangesEditing')['enableCommand'](_0x3479('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53f1=['model','showSuggestionHighlights','selection','plugins','mapper','init','remove','deleteForward','buffer','getFirstRange','merge','enqueueChange','fromRange','unlock','unit','forward','markerName','get','writer','TrackChangesEditing','unbindElementFromMarkerName','batch','createSelection','commands','document','enableCommand','removeMarker:suggestion:deletion','markerNameToElements','options','lock','start','createRange','editing','end','root','editor','requires','addMarker:suggestion:deletion','high','data','downcastDispatcher','uiElement'];(function(_0x4de929,_0x53f18b){const _0x27cf2d=function(_0x2bf734){while(--_0x2bf734){_0x4de929['push'](_0x4de929['shift']());}};_0x27cf2d(++_0x53f18b);}(_0x53f1,0x1ab));const _0x27cf=function(_0x4de929,_0x53f18b){_0x4de929=_0x4de929-0x0;let _0x27cf2d=_0x53f1[_0x4de929];return _0x27cf2d;};import{Plugin as _0x618d2a}from'ckeditor5/src/core';import{Delete as _0x5189e2}from'ckeditor5/src/typing';import{LiveRange as _0x885cdf}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3c8539}from'./utils';export default class H extends _0x618d2a{static get[_0x27cf('0x1d')](){return[_0x5189e2];}[_0x27cf('0x28')](){const _0x22b992=this[_0x27cf('0x1c')],_0x18e538=_0x22b992[_0x27cf('0x26')]['get'](_0x27cf('0xc'));_0x18e538[_0x27cf('0x12')]('delete');const _0x34b4c0=_0x22b992[_0x27cf('0x10')][_0x27cf('0xa')](_0x27cf('0x0'));_0x18e538[_0x27cf('0x12')]('deleteForward',(_0x10843a,_0x3086d0={})=>{const _0xdecfeb=_0x22b992[_0x27cf('0x23')][_0x27cf('0xf')](_0x22b992[_0x27cf('0x23')][_0x27cf('0x11')][_0x27cf('0x25')]);_0xdecfeb['isCollapsed']&&_0x22b992['model']['modifySelection'](_0xdecfeb,{'direction':_0x27cf('0x8'),'unit':_0x3086d0[_0x27cf('0x7')]});const _0x33ac4f=_0xdecfeb[_0x27cf('0x2')](),_0x483147=_0x885cdf[_0x27cf('0x5')](_0x33ac4f);let _0x5c6944;_0x10843a(_0x3086d0),_0x5c6944='$graveyard'==_0x483147[_0x27cf('0x1b')]['rootName']?_0x22b992[_0x27cf('0x23')][_0x27cf('0x18')](_0x33ac4f[_0x27cf('0x17')]):_0x22b992[_0x27cf('0x23')][_0x27cf('0x18')](_0x483147[_0x27cf('0x17')],_0x483147[_0x27cf('0x1a')]),_0x483147['detach'](),_0x22b992['model'][_0x27cf('0x4')](_0x34b4c0['buffer'][_0x27cf('0xe')],_0xd45d48=>{_0x34b4c0[_0x27cf('0x1')][_0x27cf('0x16')](),_0xd45d48['setSelection'](_0xd45d48[_0x27cf('0x18')](_0x5c6944[_0x27cf('0x1a')])),_0x34b4c0['buffer'][_0x27cf('0x6')]();});}),_0x22b992[_0x27cf('0x19')]['downcastDispatcher']['on'](_0x27cf('0x1e'),_0x3c8539(_0x22b992,_0x27cf('0x3')),{'priority':_0x27cf('0x1f')}),_0x22b992[_0x27cf('0x20')][_0x27cf('0x21')]['on'](_0x27cf('0x1e'),(_0x455af3,_0x28e91f,_0x5eea45)=>{_0x5eea45[_0x27cf('0x15')][_0x27cf('0x24')]&&_0x3c8539(_0x22b992,_0x27cf('0x3'),{'showActiveMarker':!0x1})(_0x455af3,_0x28e91f,_0x5eea45);},{'priority':_0x27cf('0x1f')}),_0x22b992[_0x27cf('0x19')][_0x27cf('0x21')]['on'](_0x27cf('0x13'),(_0x608095,_0x3b3c13,_0x2d3c0c)=>{const _0x2a8821=_0x2d3c0c[_0x27cf('0x27')][_0x27cf('0x14')](_0x3b3c13[_0x27cf('0x9')]);if(_0x2a8821)for(const _0x2fc9f7 of _0x2a8821)_0x2fc9f7['is'](_0x27cf('0x22'))&&(_0x2d3c0c[_0x27cf('0x27')][_0x27cf('0xd')](_0x2fc9f7,_0x3b3c13[_0x27cf('0x9')]),_0x2d3c0c[_0x27cf('0xb')][_0x27cf('0x29')](_0x2fc9f7));},{'priority':_0x27cf('0x1f')});}}
23
+ const _0x216d=['plugins','downcastDispatcher','uiElement','unit','addMarker:suggestion:deletion','selection','isCollapsed','forward','start','enqueueChange','model','lock','createRange','commands','createSelection','mapper','rootName','detach','end','markerName','buffer','enableCommand','batch','requires','options','init','merge','$graveyard','modifySelection','deleteForward','editing','get','markerNameToElements','high'];(function(_0x5c71ee,_0x216dc8){const _0x2fa04e=function(_0x34a8c3){while(--_0x34a8c3){_0x5c71ee['push'](_0x5c71ee['shift']());}};_0x2fa04e(++_0x216dc8);}(_0x216d,0x1e8));const _0x2fa0=function(_0x5c71ee,_0x216dc8){_0x5c71ee=_0x5c71ee-0x0;let _0x2fa04e=_0x216d[_0x5c71ee];return _0x2fa04e;};import{Plugin as _0x8c728d}from'ckeditor5/src/core';import{Delete as _0x121176}from'ckeditor5/src/typing';import{LiveRange as _0x103073}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x125808}from'./utils';export default class H extends _0x8c728d{static get[_0x2fa0('0xb')](){return[_0x121176];}[_0x2fa0('0xd')](){const _0x1545f3=this['editor'],_0x30ac6d=_0x1545f3[_0x2fa0('0x16')][_0x2fa0('0x13')]('TrackChangesEditing');_0x30ac6d[_0x2fa0('0x9')]('delete');const _0x917d0f=_0x1545f3[_0x2fa0('0x1')][_0x2fa0('0x13')](_0x2fa0('0x11'));_0x30ac6d[_0x2fa0('0x9')](_0x2fa0('0x11'),(_0x4487a1,_0x198362={})=>{const _0x1945d3=_0x1545f3[_0x2fa0('0x20')][_0x2fa0('0x2')](_0x1545f3[_0x2fa0('0x20')]['document'][_0x2fa0('0x1b')]);_0x1945d3[_0x2fa0('0x1c')]&&_0x1545f3[_0x2fa0('0x20')][_0x2fa0('0x10')](_0x1945d3,{'direction':_0x2fa0('0x1d'),'unit':_0x198362[_0x2fa0('0x19')]});const _0xe31876=_0x1945d3['getFirstRange'](),_0x27f428=_0x103073['fromRange'](_0xe31876);let _0x32c464;_0x4487a1(_0x198362),_0x32c464=_0x2fa0('0xf')==_0x27f428['root'][_0x2fa0('0x4')]?_0x1545f3[_0x2fa0('0x20')][_0x2fa0('0x0')](_0xe31876[_0x2fa0('0x1e')]):_0x1545f3[_0x2fa0('0x20')][_0x2fa0('0x0')](_0x27f428['start'],_0x27f428['end']),_0x27f428[_0x2fa0('0x5')](),_0x1545f3['model'][_0x2fa0('0x1f')](_0x917d0f['buffer'][_0x2fa0('0xa')],_0x256277=>{_0x917d0f[_0x2fa0('0x8')][_0x2fa0('0x21')](),_0x256277['setSelection'](_0x256277['createRange'](_0x32c464[_0x2fa0('0x6')])),_0x917d0f[_0x2fa0('0x8')]['unlock']();});}),_0x1545f3[_0x2fa0('0x12')][_0x2fa0('0x17')]['on'](_0x2fa0('0x1a'),_0x125808(_0x1545f3,_0x2fa0('0xe')),{'priority':_0x2fa0('0x15')}),_0x1545f3['data'][_0x2fa0('0x17')]['on'](_0x2fa0('0x1a'),(_0x4299d5,_0xcc13de,_0x197aa2)=>{_0x197aa2[_0x2fa0('0xc')]['showSuggestionHighlights']&&_0x125808(_0x1545f3,'merge',{'showActiveMarker':!0x1})(_0x4299d5,_0xcc13de,_0x197aa2);},{'priority':_0x2fa0('0x15')}),_0x1545f3['editing'][_0x2fa0('0x17')]['on']('removeMarker:suggestion:deletion',(_0x56f9bd,_0x5c1ae6,_0x12cb56)=>{const _0x2555e9=_0x12cb56['mapper'][_0x2fa0('0x14')](_0x5c1ae6[_0x2fa0('0x7')]);if(_0x2555e9)for(const _0x148976 of _0x2555e9)_0x148976['is'](_0x2fa0('0x18'))&&(_0x12cb56[_0x2fa0('0x3')]['unbindElementFromMarkerName'](_0x148976,_0x5c1ae6['markerName']),_0x12cb56['writer']['remove'](_0x148976));},{'priority':_0x2fa0('0x15')});}}