@ckeditor/ckeditor5-track-changes 29.1.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 (81) 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 +29 -25
  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 +29 -25
  11. package/lang/translations/hi.po +27 -23
  12. package/lang/translations/hr.po +27 -23
  13. package/lang/translations/it.po +29 -25
  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/integrations/table.css +57 -48
  77. package/theme/suggestion.css +10 -0
  78. package/theme/suggestionmarker.css +1 -0
  79. package/src/integrations/exportpdf.js +0 -23
  80. package/src/integrations/exportword.js +0 -23
  81. package/src/integrations/selectall.js +0 -23
@@ -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": "29.1.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": "^29.1.0",
30
- "@ckeditor/ckeditor5-comments": "^29.1.0",
31
- "@ckeditor/ckeditor5-font": "^29.1.0",
32
- "@ckeditor/ckeditor5-image": "^29.1.0",
33
- "@ckeditor/ckeditor5-table": "^29.1.0",
34
- "ckeditor5": "^29.1.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 _0x12b0=['some','isEnabled','_acceptSuggestionCommand','values','isInContent','_suggestions','refresh','model','execute','from','editor'];(function(_0x16b153,_0x12b041){const _0x10458e=function(_0x2a17b5){while(--_0x2a17b5){_0x16b153['push'](_0x16b153['shift']());}};_0x10458e(++_0x12b041);}(_0x12b0,0xc3));const _0x1045=function(_0x16b153,_0x12b041){_0x16b153=_0x16b153-0x0;let _0x10458e=_0x12b0[_0x16b153];return _0x10458e;};import{Command as _0x47c32f}from'ckeditor5/src/core';import _0x4d43be from'../utils/sortsuggestions';export default class R extends _0x47c32f{constructor(_0x4658c3,_0x5a3d54,_0x5828dc){super(_0x4658c3),this[_0x1045('0x5')]=_0x5a3d54,this[_0x1045('0x8')]=_0x5828dc,this['refresh']();}[_0x1045('0x9')](){const _0x360fbd=this['_acceptSuggestionCommand'];this[_0x1045('0x4')]=_0x360fbd[_0x1045('0x4')]&&Array[_0x1045('0x1')](this['_suggestions'][_0x1045('0x6')]())[_0x1045('0x3')](_0x5231b2=>_0x5231b2[_0x1045('0x7')]);}[_0x1045('0x0')](){this[_0x1045('0x2')][_0x1045('0xa')]['change'](()=>{const _0x2ab3dd=_0x4d43be(Array[_0x1045('0x1')](this[_0x1045('0x8')]['values']()));for(const _0x264980 of _0x2ab3dd)_0x264980[_0x1045('0x7')]&&this[_0x1045('0x5')][_0x1045('0x0')](_0x264980['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 _0xc415=['model','editor','_acceptSuggestionCommand','from','change','values','selection','isEnabled','execute','_suggestions','_selectedSuggestions','refresh'];(function(_0x2a8976,_0xc41514){const _0x28effa=function(_0x5bbfcc){while(--_0x5bbfcc){_0x2a8976['push'](_0x2a8976['shift']());}};_0x28effa(++_0xc41514);}(_0xc415,0x116));const _0x28ef=function(_0x2a8976,_0xc41514){_0x2a8976=_0x2a8976-0x0;let _0x28effa=_0xc415[_0x2a8976];return _0x28effa;};import{Command as _0x2c5bb0}from'ckeditor5/src/core';import _0x597b3f from'../utils/sortsuggestions';import _0x474dd6 from'../utils/getselectedsuggestions';export default class x extends _0x2c5bb0{constructor(_0x315d42,_0xc4efe6,_0x494008){super(_0x315d42),this[_0x28ef('0x0')]=_0xc4efe6,this[_0x28ef('0x7')]=_0x494008,this[_0x28ef('0x8')]=new Set(),this[_0x28ef('0x9')]();}[_0x28ef('0x9')](){const _0x259deb=this[_0x28ef('0x0')],_0x34ebd9=this[_0x28ef('0xb')][_0x28ef('0xa')]['document'][_0x28ef('0x4')],_0x59a3b1=Array[_0x28ef('0x1')](this['_suggestions'][_0x28ef('0x3')]());this[_0x28ef('0x8')]=_0x474dd6(_0x34ebd9,_0x59a3b1),this[_0x28ef('0x5')]=_0x259deb[_0x28ef('0x5')]&&!!this[_0x28ef('0x8')]['size'];}[_0x28ef('0x6')](){this['editor']['model'][_0x28ef('0x2')](()=>{const _0x14919c=_0x597b3f(Array[_0x28ef('0x1')](this[_0x28ef('0x8')]));for(const _0x287e9b of _0x14919c)this[_0x28ef('0x0')][_0x28ef('0x6')](_0x287e9b['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 _0x419f=['_suggestions','track-changes-accept-suggestion-not-found','refresh','execute','isEnabled','get'];(function(_0x595a21,_0x419fb6){const _0x45f821=function(_0x57e721){while(--_0x57e721){_0x595a21['push'](_0x595a21['shift']());}};_0x45f821(++_0x419fb6);}(_0x419f,0x1db));const _0x45f8=function(_0x595a21,_0x419fb6){_0x595a21=_0x595a21-0x0;let _0x45f821=_0x419f[_0x595a21];return _0x45f821;};import{Command as _0x4280bf}from'ckeditor5/src/core';import{CKEditorError as _0x4336d6}from'ckeditor5/src/utils';export default class j extends _0x4280bf{constructor(_0x19a34a,_0x144b81){super(_0x19a34a),this['_suggestions']=_0x144b81,this[_0x45f8('0x1')]();}['refresh'](){this[_0x45f8('0x3')]=!0x0;}[_0x45f8('0x2')](_0x4a9112){const _0x36ab65=this[_0x45f8('0x5')][_0x45f8('0x4')](_0x4a9112);if(!_0x36ab65)throw new _0x4336d6(_0x45f8('0x0'),this);this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x36ab65);}}
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 _0x1b71=['_suggestions','_discardSuggestionCommand','change','refresh','isInContent','isEnabled','some','editor','values','model','execute'];(function(_0x2fc444,_0x1b718c){const _0x520508=function(_0x5138f6){while(--_0x5138f6){_0x2fc444['push'](_0x2fc444['shift']());}};_0x520508(++_0x1b718c);}(_0x1b71,0x12c));const _0x5205=function(_0x2fc444,_0x1b718c){_0x2fc444=_0x2fc444-0x0;let _0x520508=_0x1b71[_0x2fc444];return _0x520508;};import{Command as _0x25e5a4}from'ckeditor5/src/core';export default class E extends _0x25e5a4{constructor(_0x418033,_0x3da640,_0x106568){super(_0x418033),this[_0x5205('0x9')]=_0x3da640,this[_0x5205('0x8')]=_0x106568,this[_0x5205('0x0')]();}[_0x5205('0x0')](){const _0x8ce48=this['_discardSuggestionCommand'];this[_0x5205('0x2')]=_0x8ce48['isEnabled']&&Array['from'](this[_0x5205('0x8')][_0x5205('0x5')]())[_0x5205('0x3')](_0x267e73=>_0x267e73[_0x5205('0x1')]);}[_0x5205('0x7')](){this[_0x5205('0x4')][_0x5205('0x6')][_0x5205('0xa')](()=>{for(const _0x33c91f of this[_0x5205('0x8')][_0x5205('0x5')]())_0x33c91f[_0x5205('0x1')]&&this[_0x5205('0x9')][_0x5205('0x7')](_0x33c91f['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 _0xf130=['_suggestions','values','model','document','isEnabled','_selectedSuggestions','from','editor','_discardSuggestionCommand','execute','size'];(function(_0xddb1e1,_0xf13024){const _0xce1ddb=function(_0x3277cc){while(--_0x3277cc){_0xddb1e1['push'](_0xddb1e1['shift']());}};_0xce1ddb(++_0xf13024);}(_0xf130,0x9e));const _0xce1d=function(_0xddb1e1,_0xf13024){_0xddb1e1=_0xddb1e1-0x0;let _0xce1ddb=_0xf130[_0xddb1e1];return _0xce1ddb;};import{Command as _0x404195}from'ckeditor5/src/core';import _0x3f3fca from'../utils/getselectedsuggestions';export default class O extends _0x404195{constructor(_0x4422b2,_0x107b3d,_0xf188a9){super(_0x4422b2),this[_0xce1d('0x4')]=_0x107b3d,this[_0xce1d('0x7')]=_0xf188a9,this['_selectedSuggestions']=new Set(),this['refresh']();}['refresh'](){const _0x1c98e2=this[_0xce1d('0x4')],_0x98dcfa=this[_0xce1d('0x3')][_0xce1d('0x9')][_0xce1d('0xa')]['selection'],_0x4b9fc8=Array[_0xce1d('0x2')](this['_suggestions'][_0xce1d('0x8')]());this[_0xce1d('0x1')]=_0x3f3fca(_0x98dcfa,_0x4b9fc8),this['isEnabled']=_0x1c98e2[_0xce1d('0x0')]&&!!this[_0xce1d('0x1')][_0xce1d('0x6')];}[_0xce1d('0x5')](){this[_0xce1d('0x3')][_0xce1d('0x9')]['change'](()=>{for(const _0x33618e of this['_selectedSuggestions'])this[_0xce1d('0x4')][_0xce1d('0x5')](_0x33618e['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 _0x1e4a=['track-changes-discard-suggestion-not-found','isEnabled','_suggestions','editor','execute','get','refresh','discardSuggestion'];(function(_0x1aef41,_0x1e4a9f){const _0x43ecad=function(_0x207dd5){while(--_0x207dd5){_0x1aef41['push'](_0x1aef41['shift']());}};_0x43ecad(++_0x1e4a9f);}(_0x1e4a,0xd5));const _0x43ec=function(_0x1aef41,_0x1e4a9f){_0x1aef41=_0x1aef41-0x0;let _0x43ecad=_0x1e4a[_0x1aef41];return _0x43ecad;};import{Command as _0x45f2ff}from'ckeditor5/src/core';import{CKEditorError as _0x2e163d}from'ckeditor5/src/utils';export default class U extends _0x45f2ff{constructor(_0x565373,_0x1a6cea){super(_0x565373),this[_0x43ec('0x5')]=_0x1a6cea,this[_0x43ec('0x1')]();}[_0x43ec('0x1')](){this[_0x43ec('0x4')]=!0x0;}[_0x43ec('0x7')](_0x696618){const _0x43dde9=this[_0x43ec('0x5')][_0x43ec('0x0')](_0x696618);if(!_0x43dde9)throw new _0x2e163d(_0x43ec('0x3'),this);this[_0x43ec('0x6')]['plugins'][_0x43ec('0x0')]('TrackChangesEditing')[_0x43ec('0x2')](_0x43dde9);}}
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 _0x558d=['value','_enableCommands','TrackChangesCommand','isEnabled','clearForceDisabled','forceDisabled','_enabledCommands','commands','_disableUnsupportedCommands','editor','refresh','has','execute'];(function(_0x1b016d,_0x558db6){const _0x4914a9=function(_0x224541){while(--_0x224541){_0x1b016d['push'](_0x1b016d['shift']());}};_0x4914a9(++_0x558db6);}(_0x558d,0xd5));const _0x4914=function(_0x1b016d,_0x558db6){_0x1b016d=_0x1b016d-0x0;let _0x4914a9=_0x558d[_0x1b016d];return _0x4914a9;};import{Command as _0xe7e816}from'ckeditor5/src/core';export default class N extends _0xe7e816{constructor(_0x364e33,_0x4f696d){super(_0x364e33),this[_0x4914('0x1')]=_0x4f696d,this[_0x4914('0x8')]=!0x1,this[_0x4914('0x5')]();}['refresh'](){this[_0x4914('0xb')]=!0x0;}[_0x4914('0x7')](){this[_0x4914('0x8')]=!this['value'],this[_0x4914('0x8')]?this[_0x4914('0x3')]():this[_0x4914('0x9')]();}[_0x4914('0x3')](){for(const _0x3f9d37 of this['editor']['commands'][_0x4914('0x2')]())this[_0x4914('0x1')][_0x4914('0x6')](_0x3f9d37)||_0x3f9d37[_0x4914('0x0')](_0x4914('0xa'));}[_0x4914('0x9')](){for(const _0x104fc9 of this[_0x4914('0x4')][_0x4914('0x2')][_0x4914('0x2')]())this[_0x4914('0x1')][_0x4914('0x6')](_0x104fc9)||_0x104fc9[_0x4914('0xc')]('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 _0x48657d}from'ckeditor5/src/core';export default class P extends _0x48657d{['afterInit'](){const _0x548a44=this['editor'],{t:t}=_0x548a44['locale'];if(!_0x548a44['plugins']['has']('AlignmentEditing'))return;const _0x5e3a35=_0x548a44['plugins']['get']('TrackChangesEditing');_0x5e3a35['enableCommand']('alignment',(_0xa69ced,_0x13db05={})=>{let _0x43737a=_0x13db05['value'];_0x13db05['value']||(_0x43737a='ltr'===_0x548a44['locale']['contentLanguageDirection']?'left':'right');const _0x5621bd=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x1e2f1e=>function(_0x203e62,_0x5bc209,_0xea9af1){const _0x42a0c7=_0x203e62['getAttribute']('alignment')||null;return _0x5bc209['checkAttribute'](_0x203e62,'alignment')&&_0xea9af1!=_0x42a0c7;}(_0x1e2f1e,this['editor']['model']['schema'],_0x43737a));_0x548a44['model']['change'](()=>{for(const _0x4d3cbb of _0x5621bd)_0x5e3a35['markBlockFormat'](_0x4d3cbb,{'commandName':'alignment','commandParams':[{'value':_0x43737a}]});});}),_0x5e3a35['_descriptionFactory']['registerDescriptionCallback'](_0x4e7049=>{const {data:_0x5aa211}=_0x4e7049;if(_0x5aa211&&'alignment'==_0x5aa211['commandName']){const _0x14bfa9=_0x5aa211['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x598753){switch(_0x598753){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'});}}(_0x14bfa9))};}});}}
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 _0x2c1351}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Lt=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class G extends _0x2c1351{['afterInit'](){const _0x2b4bc1=this['editor'],_0x41a6ea=_0x2b4bc1['model'],_0x47e60a=_0x2b4bc1['plugins']['get']('TrackChangesEditing'),{t:t}=_0x2b4bc1['locale'];for(const _0x2fc97b of Lt){if(!_0x2b4bc1['plugins']['has'](_0x2fc97b))continue;const _0x5c65e5=_0x2fc97b['slice'](0x0,-0x7)['toLowerCase'](),_0x3b3d3c=_0x2b4bc1['commands']['get'](_0x5c65e5);_0x47e60a['enableCommand'](_0x5c65e5,(_0x545e8a,_0x2488e9={})=>{const _0x31aedc=_0x41a6ea['document']['selection'];if(_0x31aedc['isCollapsed'])return void _0x545e8a(_0x2488e9);const _0x124b82=void 0x0!==_0x2488e9['forceValue']?_0x2488e9['forceValue']:!_0x3b3d3c['value'];_0x41a6ea['change'](()=>{const _0x18e791=Array['from'](_0x31aedc['getRanges']());for(const _0x426d19 of _0x18e791){const _0x3430d9=_0x124b82?[_0x426d19]:Rt(_0x5c65e5,_0x426d19,_0x41a6ea);for(const _0x3922e5 of _0x3430d9)_0x47e60a['markInlineFormat'](_0x3922e5,{'commandName':_0x5c65e5,'commandParams':[{'forceValue':_0x124b82}]});}});});}function _0x44bc8f(_0x446ed6,_0xb158e7){_0x47e60a['_descriptionFactory']['registerDescriptionCallback'](_0x97dbd2=>{const {data:_0x420eb5}=_0x97dbd2;if(_0x420eb5&&_0x420eb5['commandName']===_0x446ed6)return _0x420eb5['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0xb158e7)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0xb158e7)};});}_0x44bc8f('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x44bc8f('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x44bc8f('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x44bc8f('code',t({'string':'code','id':'FORMAT_CODE'})),_0x44bc8f('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x44bc8f('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x44bc8f('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 _0x4c45bf}from'ckeditor5/src/core';import{TreeWalker as Qt}from'ckeditor5/src/engine';export default class F extends _0x4c45bf{['afterInit'](){const _0x285ef7=this['editor'],{t:t}=_0x285ef7['locale'];if(!_0x285ef7['plugins']['has']('BlockQuoteEditing'))return;const _0x4db20c=_0x285ef7['plugins']['get']('TrackChangesEditing'),_0x27eddb=this['editor']['commands']['get']('blockQuote');_0x4db20c['enableCommand']('blockQuote',(_0x19b207,_0x27a53={})=>{const _0x4cefc9=this['editor']['model']['document']['selection'],_0x3824f0=_0x27a53&&void 0x0!==_0x27a53['forceValue']?_0x27a53['forceValue']:!_0x27eddb['value'];let _0x2eafd9=[];if(_0x3824f0){const _0x1c526f=Array['from'](_0x4cefc9['getSelectedBlocks']())['filter'](_0x16f444=>Kt(_0x16f444)||function(_0x1817d8,_0xc82070){const _0x123d0e=_0xc82070['checkChild'](_0x1817d8['parent'],'blockQuote'),_0x512f6d=_0xc82070['checkChild'](['$root','blockQuote'],_0x1817d8);return _0x123d0e&&_0x512f6d;}(_0x16f444,this['editor']['model']['schema']));_0x2eafd9=$t(_0x1c526f,_0x285ef7['model']);}else{const _0x3f17dc=Array['from'](_0x4cefc9['getSelectedBlocks']())['filter'](_0x993670=>Kt(_0x993670));_0x2eafd9=$t(_0x3f17dc,_0x285ef7['model']);}_0x285ef7['model']['change'](()=>{for(const _0x3a0420 of _0x2eafd9)_0x4db20c['markBlockFormat'](_0x3a0420,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x3824f0}]});});}),_0x4db20c['_descriptionFactory']['registerDescriptionCallback'](_0x2030f8=>{const {data:_0x45edde}=_0x2030f8;if(_0x45edde&&'blockQuote'==_0x45edde['commandName']){const _0x51150f=t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});return _0x45edde['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x51150f)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x51150f)};}});}}function Kt(_0x1c150c){return'blockQuote'==_0x1c150c['parent']['name'];}function $t(_0x427c97,_0x9f2bba){let _0x33e509,_0x35bd34=0x0;const _0x52c313=[],_0x41a206=_0x9f2bba['schema'];for(;_0x35bd34<_0x427c97['length'];){const _0x2035e3=_0x427c97[_0x35bd34],_0x13ce8b=_0x427c97[_0x35bd34+0x1];_0x33e509||(_0x33e509=_0x9f2bba['createPositionBefore'](_0x2035e3)),Ht(_0x9f2bba,_0x2035e3,_0x13ce8b)||(_0x52c313['push'](_0x9f2bba['createRange'](_0x33e509,_0x41a206['isObject'](_0x2035e3)?_0x9f2bba['createPositionAfter'](_0x2035e3):_0x9f2bba['createPositionAt'](_0x2035e3,'end'))),_0x33e509=null),_0x35bd34++;}return _0x52c313;}function Ht(_0x28dfc8,_0xca2a9e,_0x47c610){if(!_0x47c610)return!0x1;const _0x36840d=_0x28dfc8['createPositionAfter'](_0xca2a9e),_0x5aadc4=_0x28dfc8['createPositionBefore'](_0x47c610),_0x59492d=new Qt({'boundaries':_0x28dfc8['createRange'](_0x36840d,_0x5aadc4)});for(const _0xa25728 of _0x59492d)if('text'==_0xa25728['type']||_0x28dfc8['schema']['isLimit'](_0xa25728['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 _0x4a24ac}from'ckeditor5/src/core';export default class L extends _0x4a24ac{['afterInit'](){const _0x2bf6fb=this['editor'],{t:t}=_0x2bf6fb['locale'];if(!_0x2bf6fb['plugins']['has']('CodeBlock'))return;_0x2bf6fb['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerElementLabel']('codeBlock',_0x18f81e=>t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x18f81e));}}
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 _0x4e92=['addCommentThread','get','init','plugins','editor','enableCommand','TrackChangesEditing'];(function(_0x59de16,_0x4e92ee){var _0x144350=function(_0x368e56){while(--_0x368e56){_0x59de16['push'](_0x59de16['shift']());}};_0x144350(++_0x4e92ee);}(_0x4e92,0x1dd));var _0x1443=function(_0x59de16,_0x4e92ee){_0x59de16=_0x59de16-0x0;var _0x144350=_0x4e92[_0x59de16];return _0x144350;};import{Plugin as _0x1e17c4}from'ckeditor5/src/core';import _0x53faa0 from'@ckeditor/ckeditor5-comments/src/comments/commentsediting';export default class q extends _0x1e17c4{static get['requires'](){return[_0x53faa0];}[_0x1443('0x1')](){this[_0x1443('0x3')][_0x1443('0x2')][_0x1443('0x0')](_0x1443('0x5'))[_0x1443('0x4')](_0x1443('0x6'));}}
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 _0x3217=['get','createSelection','uiElement','markerNameToElements','merge','model','end','createRange','remove','selection','showSuggestionHighlights','TrackChangesEditing','deleteForward','forward','setSelection','$graveyard','writer','root','unit','requires','markerName','downcastDispatcher','editor','editing','commands','options','mapper','high','enqueueChange','delete','data','lock','buffer','unlock','fromRange','enableCommand','rootName','start','isCollapsed','addMarker:suggestion:deletion','removeMarker:suggestion:deletion'];(function(_0x317fe1,_0x3217a4){const _0x3f05f4=function(_0x1be15c){while(--_0x1be15c){_0x317fe1['push'](_0x317fe1['shift']());}};_0x3f05f4(++_0x3217a4);}(_0x3217,0x134));const _0x3f05=function(_0x317fe1,_0x3217a4){_0x317fe1=_0x317fe1-0x0;let _0x3f05f4=_0x3217[_0x317fe1];return _0x3f05f4;};import{Plugin as _0x30e778}from'ckeditor5/src/core';import{Delete as _0x5efafa}from'ckeditor5/src/typing';import{LiveRange as _0x1ccb8f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3ab872}from'./utils';export default class H extends _0x30e778{static get[_0x3f05('0x27')](){return[_0x5efafa];}['init'](){const _0x279b11=this[_0x3f05('0x1')],_0x3ddd83=_0x279b11['plugins'][_0x3f05('0x14')](_0x3f05('0x1f'));_0x3ddd83[_0x3f05('0xe')](_0x3f05('0x8'));const _0x5e235=_0x279b11[_0x3f05('0x3')]['get'](_0x3f05('0x20'));_0x3ddd83[_0x3f05('0xe')](_0x3f05('0x20'),(_0x5c9c96,_0x5daf4e={})=>{const _0x599e2e=_0x279b11['model'][_0x3f05('0x15')](_0x279b11[_0x3f05('0x19')]['document'][_0x3f05('0x1d')]);_0x599e2e[_0x3f05('0x11')]&&_0x279b11[_0x3f05('0x19')]['modifySelection'](_0x599e2e,{'direction':_0x3f05('0x21'),'unit':_0x5daf4e[_0x3f05('0x26')]});const _0x5f3ba7=_0x599e2e['getFirstRange'](),_0xeddaf4=_0x1ccb8f[_0x3f05('0xd')](_0x5f3ba7);let _0x3f61fc;_0x5c9c96(_0x5daf4e),_0x3f61fc=_0x3f05('0x23')==_0xeddaf4[_0x3f05('0x25')][_0x3f05('0xf')]?_0x279b11['model'][_0x3f05('0x1b')](_0x5f3ba7[_0x3f05('0x10')]):_0x279b11[_0x3f05('0x19')][_0x3f05('0x1b')](_0xeddaf4[_0x3f05('0x10')],_0xeddaf4[_0x3f05('0x1a')]),_0xeddaf4['detach'](),_0x279b11['model'][_0x3f05('0x7')](_0x5e235[_0x3f05('0xb')]['batch'],_0x1c8533=>{_0x5e235[_0x3f05('0xb')][_0x3f05('0xa')](),_0x1c8533[_0x3f05('0x22')](_0x1c8533['createRange'](_0x3f61fc[_0x3f05('0x1a')])),_0x5e235[_0x3f05('0xb')][_0x3f05('0xc')]();});}),_0x279b11[_0x3f05('0x2')][_0x3f05('0x0')]['on'](_0x3f05('0x12'),_0x3ab872(_0x279b11,'merge'),{'priority':_0x3f05('0x6')}),_0x279b11[_0x3f05('0x9')][_0x3f05('0x0')]['on'](_0x3f05('0x12'),(_0x46309e,_0x598049,_0x8ff207)=>{_0x8ff207[_0x3f05('0x4')][_0x3f05('0x1e')]&&_0x3ab872(_0x279b11,_0x3f05('0x18'),{'showActiveMarker':!0x1})(_0x46309e,_0x598049,_0x8ff207);},{'priority':_0x3f05('0x6')}),_0x279b11[_0x3f05('0x2')][_0x3f05('0x0')]['on'](_0x3f05('0x13'),(_0x39d7aa,_0x582383,_0x48d791)=>{const _0x126b8a=_0x48d791['mapper'][_0x3f05('0x17')](_0x582383[_0x3f05('0x28')]);if(_0x126b8a)for(const _0x32a943 of _0x126b8a)_0x32a943['is'](_0x3f05('0x16'))&&(_0x48d791[_0x3f05('0x5')]['unbindElementFromMarkerName'](_0x32a943,_0x582383['markerName']),_0x48d791[_0x3f05('0x24')][_0x3f05('0x1c')](_0x32a943));},{'priority':_0x3f05('0x6')});}}
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')});}}