@ckeditor/ckeditor5-track-changes 34.0.0 → 35.0.1

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 (150) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -0
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -0
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -0
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -0
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -0
  26. package/build/translations/ko.js +1 -0
  27. package/build/translations/lt.js +1 -0
  28. package/build/translations/lv.js +1 -0
  29. package/build/translations/ms.js +1 -0
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -0
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -0
  35. package/build/translations/ro.js +1 -0
  36. package/build/translations/ru.js +1 -0
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -0
  41. package/build/translations/th.js +1 -0
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/uk.js +1 -0
  45. package/build/translations/vi.js +1 -0
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -0
  49. package/lang/translations/ar.po +469 -0
  50. package/lang/translations/az.po +10 -0
  51. package/lang/translations/bg.po +397 -0
  52. package/lang/translations/bn.po +423 -0
  53. package/lang/translations/ca.po +397 -0
  54. package/lang/translations/cs.po +39 -27
  55. package/lang/translations/da.po +41 -31
  56. package/lang/translations/de.po +12 -2
  57. package/lang/translations/el.po +10 -0
  58. package/lang/translations/en-au.po +10 -0
  59. package/lang/translations/en.po +10 -0
  60. package/lang/translations/es.po +72 -44
  61. package/lang/translations/et.po +107 -97
  62. package/lang/translations/fi.po +397 -0
  63. package/lang/translations/fr.po +34 -6
  64. package/lang/translations/gl.po +10 -0
  65. package/lang/translations/he.po +433 -0
  66. package/lang/translations/hi.po +21 -11
  67. package/lang/translations/hr.po +11 -0
  68. package/lang/translations/hu.po +397 -0
  69. package/lang/translations/id.po +84 -75
  70. package/lang/translations/it.po +29 -1
  71. package/lang/translations/ja.po +379 -0
  72. package/lang/translations/ko.po +379 -0
  73. package/lang/translations/lt.po +433 -0
  74. package/lang/translations/lv.po +415 -0
  75. package/lang/translations/ms.po +379 -0
  76. package/lang/translations/nl.po +48 -38
  77. package/lang/translations/no.po +397 -0
  78. package/lang/translations/pl.po +25 -13
  79. package/lang/translations/pt-br.po +29 -1
  80. package/lang/translations/pt.po +415 -0
  81. package/lang/translations/ro.po +415 -0
  82. package/lang/translations/ru.po +435 -0
  83. package/lang/translations/sk.po +12 -0
  84. package/lang/translations/sr-latn.po +11 -0
  85. package/lang/translations/sr.po +62 -51
  86. package/lang/translations/sv.po +397 -0
  87. package/lang/translations/th.po +379 -0
  88. package/lang/translations/tk.po +10 -0
  89. package/lang/translations/tr.po +21 -11
  90. package/lang/translations/uk.po +433 -0
  91. package/lang/translations/vi.po +379 -0
  92. package/lang/translations/zh-cn.po +13 -4
  93. package/lang/translations/zh.po +73 -64
  94. package/package.json +5 -4
  95. package/src/commands/acceptallsuggestionscommand.js +1 -1
  96. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  97. package/src/commands/acceptsuggestioncommand.js +1 -1
  98. package/src/commands/discardallsuggestionscommand.js +1 -1
  99. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  100. package/src/commands/discardsuggestioncommand.js +1 -1
  101. package/src/commands/trackchangescommand.js +1 -1
  102. package/src/integrations/alignment.js +1 -1
  103. package/src/integrations/basicstyles.js +1 -1
  104. package/src/integrations/blockquote.js +1 -1
  105. package/src/integrations/ckbox.js +23 -0
  106. package/src/integrations/codeblock.js +1 -1
  107. package/src/integrations/comments.js +1 -1
  108. package/src/integrations/deletecommand.js +1 -1
  109. package/src/integrations/entercommand.js +1 -1
  110. package/src/integrations/font.js +1 -1
  111. package/src/integrations/heading.js +1 -1
  112. package/src/integrations/highlight.js +1 -1
  113. package/src/integrations/horizontalline.js +1 -1
  114. package/src/integrations/htmlembed.js +23 -0
  115. package/src/integrations/image.js +1 -1
  116. package/src/integrations/indent.js +1 -1
  117. package/src/integrations/inputcommand.js +1 -1
  118. package/src/integrations/link.js +1 -1
  119. package/src/integrations/list.js +1 -1
  120. package/src/integrations/mediaembed.js +1 -1
  121. package/src/integrations/mention.js +1 -1
  122. package/src/integrations/pagebreak.js +1 -1
  123. package/src/integrations/paragraph.js +1 -1
  124. package/src/integrations/removeformat.js +1 -1
  125. package/src/integrations/restrictededitingmode.js +1 -1
  126. package/src/integrations/shiftentercommand.js +1 -1
  127. package/src/integrations/standardeditingmode.js +1 -1
  128. package/src/integrations/style.js +23 -0
  129. package/src/integrations/table.js +1 -1
  130. package/src/integrations/tableclipboard.js +1 -1
  131. package/src/integrations/tableheadings.js +1 -1
  132. package/src/integrations/tablemergesplit.js +1 -1
  133. package/src/integrations/title.js +1 -1
  134. package/src/integrations/undo.js +1 -1
  135. package/src/integrations/utils.js +1 -1
  136. package/src/suggestion.js +1 -1
  137. package/src/suggestiondescriptionfactory.js +1 -1
  138. package/src/trackchanges.js +1 -1
  139. package/src/trackchangesdata.js +1 -1
  140. package/src/trackchangesediting.js +1 -1
  141. package/src/trackchangesui.js +1 -1
  142. package/src/ui/suggestioncontroller.js +1 -1
  143. package/src/ui/view/basesuggestionthreadview.js +1 -1
  144. package/src/ui/view/suggestionthreadview.js +1 -1
  145. package/src/utils/common-translations.js +23 -0
  146. package/src/utils/getrangesofblockgroups.js +23 -0
  147. package/src/utils/getselectedsuggestions.js +1 -1
  148. package/src/utils/hashobject.js +1 -1
  149. package/src/utils/normalizedescription.js +1 -1
  150. package/src/utils/sortsuggestions.js +1 -1
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
20
20
  msgid "*Change to:* %0"
21
21
  msgstr "*更改成:*%0"
22
22
 
23
+ msgctxt "A suggestion for changing a content of a widget."
24
+ msgid "*Change %0 content*"
25
+ msgstr "*變更 %0 內容*"
26
+
23
27
  msgctxt "A suggestion for checking a to-do list item."
24
28
  msgid "*Check item*"
25
29
  msgstr "*勾選項目*"
@@ -58,7 +62,7 @@ msgstr "*移除格式:*%0"
58
62
 
59
63
  msgctxt "A suggestion for removing the highlight."
60
64
  msgid "*Remove highlight*"
61
- msgstr ""
65
+ msgstr "*刪除亮顯*"
62
66
 
63
67
  msgctxt "A suggestion for removing image text alternative."
64
68
  msgid "*Remove image text alternative*"
@@ -102,269 +106,274 @@ msgstr "*設定文字背景顏色:*%0"
102
106
 
103
107
  msgctxt "A suggestion for setting the font color to %0."
104
108
  msgid "*Set font color:* %0"
105
- msgstr ""
109
+ msgstr "*設定字型顏色:* %0"
106
110
 
107
111
  msgctxt "A suggestion for setting the font family to %0."
108
112
  msgid "*Set font family:* %0"
109
- msgstr ""
113
+ msgstr "*設定字型家族:*%0"
110
114
 
111
115
  msgctxt "A suggestion for setting the font size to %0."
112
116
  msgid "*Set font size:* %0"
113
- msgstr ""
117
+ msgstr "*設定字型大小:*%0"
114
118
 
115
119
  msgctxt "A suggestion for highlighting text."
116
120
  msgid "*Set highlight:* %0"
117
- msgstr ""
121
+ msgstr "*設定亮顯:*%0"
118
122
 
119
123
  msgctxt "A suggestion for setting image text alternative to %0."
120
124
  msgid "*Set image text alternative:* %0"
121
- msgstr ""
125
+ msgstr "*設定影像替代文字:*%0"
122
126
 
123
127
  msgctxt "A suggestion for setting the image width to %0."
124
128
  msgid "*Set image width:* %0"
125
- msgstr ""
129
+ msgstr "*設定影像寬度:*%0"
126
130
 
127
131
  msgctxt "A suggestion for setting the link URL."
128
132
  msgid "*Set link:* %0"
129
- msgstr ""
133
+ msgstr "*設定連結:*%0"
130
134
 
131
135
  msgctxt "A suggestion for splitting cells horizontally."
132
136
  msgid "*Split cell:* horizontally"
133
- msgstr ""
137
+ msgstr "*分割儲存格:* 水平"
134
138
 
135
139
  msgctxt "A suggestion for splitting cells vertically."
136
140
  msgid "*Split cell:* vertically"
137
- msgstr ""
141
+ msgstr "*分割儲存格:* 垂直"
138
142
 
139
143
  msgctxt "A suggestion for splitting the item."
140
144
  msgid "*Split:* %0"
141
- msgstr ""
145
+ msgstr "*分割:*%0"
142
146
 
143
147
  msgctxt "A suggestion for unchecking a to-do list item."
144
148
  msgid "*Uncheck item*"
145
- msgstr ""
149
+ msgstr "*取消勾選項目*"
146
150
 
147
151
  msgctxt "The label for the button which accepts all selected suggestions."
148
152
  msgid "Accept all selected suggestions"
149
- msgstr ""
153
+ msgstr "接受所有已選取的建議"
150
154
 
151
155
  msgctxt "The label for the button which accepts all suggestions."
152
156
  msgid "Accept all suggestions"
153
- msgstr ""
157
+ msgstr "接受所有建議"
154
158
 
155
159
  msgctxt "The label for the accept suggestion button."
156
160
  msgid "Accept suggestion"
157
- msgstr ""
161
+ msgstr "接受建議"
158
162
 
159
163
  msgctxt "The label for the button which discards all selected suggestions."
160
164
  msgid "Discard all selected suggestions"
161
- msgstr ""
165
+ msgstr "捨棄所有選取的建議"
162
166
 
163
167
  msgctxt "The label for the button which discards all suggestions."
164
168
  msgid "Discard all suggestions"
165
- msgstr ""
169
+ msgstr "捨棄所有建議"
166
170
 
167
171
  msgctxt "The label for the discard suggestion button."
168
172
  msgid "Discard suggestion"
169
- msgstr ""
173
+ msgstr "捨棄建議"
170
174
 
171
175
  msgctxt "The block quote element name displayed in the suggestion."
172
176
  msgid "ELEMENT_BLOCK_QUOTE"
173
- msgstr ""
177
+ msgstr "區塊引述"
174
178
 
175
179
  msgctxt "The bulleted list element name displayed in the suggestion."
176
180
  msgid "ELEMENT_BULLETED_LIST"
177
- msgstr ""
181
+ msgstr "項目符號清單"
178
182
 
179
183
  msgctxt "The caption element name displayed in the suggestion."
180
184
  msgid "ELEMENT_CAPTION"
181
- msgstr ""
185
+ msgstr "標號"
182
186
 
183
187
  msgctxt "The code block element name displayed in the suggestion."
184
188
  msgid "ELEMENT_CODE_BLOCK"
185
189
  msgid_plural "%0 code blocks"
186
- msgstr[0] ""
190
+ msgstr[0] "代碼區塊"
187
191
 
188
192
  msgctxt "The heading element name displayed in the suggestion."
189
193
  msgid "ELEMENT_HEADING"
190
194
  msgid_plural "%0 headings (level %1)"
191
- msgstr[0] ""
195
+ msgstr[0] "標題(層級 %1)"
192
196
 
193
197
  msgctxt "The heading element name displayed in the suggestion with a custom title."
194
198
  msgid "ELEMENT_HEADING_CUSTOM"
195
199
  msgid_plural "%0 headings (%1)"
196
- msgstr[0] ""
200
+ msgstr[0] "標題 (%1)"
197
201
 
198
202
  msgctxt "The horizontal line element name displayed in the suggestion."
199
203
  msgid "ELEMENT_HORIZONTAL_LINE"
200
204
  msgid_plural "%0 horizontal lines"
201
- msgstr[0] ""
205
+ msgstr[0] "水平線"
206
+
207
+ msgctxt "The HTML embed element name displayed in the suggestion."
208
+ msgid "ELEMENT_HTML_EMBED"
209
+ msgid_plural "%0 HTML embeds"
210
+ msgstr[0] "HTML 內嵌"
202
211
 
203
212
  msgctxt "The image element name displayed in the suggestion."
204
213
  msgid "ELEMENT_IMAGE"
205
214
  msgid_plural "%0 images"
206
- msgstr[0] ""
215
+ msgstr[0] "影像"
207
216
 
208
217
  msgctxt "The inline image element name displayed in the suggestion."
209
218
  msgid "ELEMENT_INLINE_IMAGE"
210
219
  msgid_plural "%0 images"
211
- msgstr[0] ""
220
+ msgstr[0] "影像"
212
221
 
213
222
  msgctxt "The line break element name displayed in the suggestion."
214
223
  msgid "ELEMENT_LINE_BREAK"
215
224
  msgid_plural "%0 line breaks"
216
- msgstr[0] ""
225
+ msgstr[0] "分行符號"
217
226
 
218
227
  msgctxt "The list item element name displayed in the suggestion."
219
228
  msgid "ELEMENT_LIST_ITEM"
220
229
  msgid_plural "%0 list items"
221
- msgstr[0] ""
230
+ msgstr[0] "清單項目"
222
231
 
223
232
  msgctxt "The media element name displayed in the suggestion."
224
233
  msgid "ELEMENT_MEDIA"
225
234
  msgid_plural "%0 media items"
226
- msgstr[0] ""
235
+ msgstr[0] "媒體項目"
227
236
 
228
237
  msgctxt "The numbered list element name displayed in the suggestion."
229
238
  msgid "ELEMENT_NUMBERED_LIST"
230
- msgstr ""
239
+ msgstr "編號清單"
231
240
 
232
241
  msgctxt "The page break element name displayed in the suggestion."
233
242
  msgid "ELEMENT_PAGE_BREAK"
234
243
  msgid_plural "%0 page breaks"
235
- msgstr[0] ""
244
+ msgstr[0] "分頁符號"
236
245
 
237
246
  msgctxt "The paragraph element name displayed in the suggestion."
238
247
  msgid "ELEMENT_PARAGRAPH"
239
248
  msgid_plural "%0 paragraphs"
240
- msgstr[0] ""
249
+ msgstr[0] "段落"
241
250
 
242
251
  msgctxt "The space element name displayed in the suggestion."
243
252
  msgid "ELEMENT_SPACE"
244
253
  msgid_plural "%0 spaces"
245
- msgstr[0] ""
254
+ msgstr[0] "間距"
246
255
 
247
256
  msgctxt "The table element name displayed in the suggestion."
248
257
  msgid "ELEMENT_TABLE"
249
258
  msgid_plural "%0 tables"
250
- msgstr[0] ""
259
+ msgstr[0] "表格"
251
260
 
252
261
  msgctxt "The table column element name displayed in the suggestion."
253
262
  msgid "ELEMENT_TABLE_COLUMN"
254
263
  msgid_plural "%0 table columns"
255
- msgstr[0] ""
264
+ msgstr[0] "表格行"
256
265
 
257
266
  msgctxt "The table column with text element name displayed in the suggestion."
258
267
  msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
259
268
  msgid_plural "%0 table columns *with text* %1"
260
- msgstr[0] ""
269
+ msgstr[0] "表格行*帶文字* %1"
261
270
 
262
271
  msgctxt "The table row element name displayed in the suggestion."
263
272
  msgid "ELEMENT_TABLE_ROW"
264
273
  msgid_plural "%0 table rows"
265
- msgstr[0] ""
274
+ msgstr[0] "表格列"
266
275
 
267
276
  msgctxt "The table row with text element name displayed in the suggestion."
268
277
  msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
269
278
  msgid_plural "%0 table rows *with text* %1"
270
- msgstr[0] ""
279
+ msgstr[0] "表格列*帶文字* %1"
271
280
 
272
281
  msgctxt "The table with text element name displayed in the suggestion."
273
282
  msgid "ELEMENT_TABLE_WITH_TEXT"
274
- msgstr ""
283
+ msgstr "表格*帶文字* %0"
275
284
 
276
285
  msgctxt "The title element name displayed in the suggestion."
277
286
  msgid "ELEMENT_TITLE"
278
- msgstr ""
287
+ msgstr "大標題"
279
288
 
280
289
  msgctxt "The to-do list element name displayed in the suggestion."
281
290
  msgid "ELEMENT_TODO_LIST"
282
- msgstr ""
291
+ msgstr "待辦事項清單"
283
292
 
284
293
  msgctxt "The align to center format name displayed in a format suggestion."
285
294
  msgid "FORMAT_ALIGN_TO_CENTER"
286
- msgstr ""
295
+ msgstr "置中"
287
296
 
288
297
  msgctxt "The align to left format name displayed in a format suggestion."
289
298
  msgid "FORMAT_ALIGN_TO_LEFT"
290
- msgstr ""
299
+ msgstr "靠左對齊"
291
300
 
292
301
  msgctxt "The align to right format name displayed in a format suggestion."
293
302
  msgid "FORMAT_ALIGN_TO_RIGHT"
294
- msgstr ""
303
+ msgstr "靠右對齊"
295
304
 
296
305
  msgctxt "The bold format name displayed in a format suggestion."
297
306
  msgid "FORMAT_BOLD"
298
- msgstr ""
307
+ msgstr "粗體"
299
308
 
300
309
  msgctxt "The code format name displayed in a format suggestion."
301
310
  msgid "FORMAT_CODE"
302
- msgstr ""
311
+ msgstr "代碼"
303
312
 
304
313
  msgctxt "The header column format name displayed in a format suggestion."
305
314
  msgid "FORMAT_HEADER_COLUMN"
306
- msgstr ""
315
+ msgstr "標題行"
307
316
 
308
317
  msgctxt "The header row format name displayed in a format suggestion."
309
318
  msgid "FORMAT_HEADER_ROW"
310
- msgstr ""
319
+ msgstr "標題列"
311
320
 
312
321
  msgctxt "The highlight format name displayed in a format suggestion."
313
322
  msgid "FORMAT_HIGHLIGHT"
314
- msgstr ""
323
+ msgstr "亮顯"
315
324
 
316
325
  msgctxt "The italic format name displayed in a format suggestion."
317
326
  msgid "FORMAT_ITALIC"
318
- msgstr ""
327
+ msgstr "斜體"
319
328
 
320
329
  msgctxt "The justify text format name displayed in a format suggestion."
321
330
  msgid "FORMAT_JUSTIFY_TEXT"
322
- msgstr ""
331
+ msgstr "左右對齊"
323
332
 
324
333
  msgctxt "The regular column format name displayed in a format suggestion."
325
334
  msgid "FORMAT_REGULAR_COLUMN"
326
- msgstr ""
335
+ msgstr "標準行"
327
336
 
328
337
  msgctxt "The regular row format name displayed in a format suggestion."
329
338
  msgid "FORMAT_REGULAR_ROW"
330
- msgstr ""
339
+ msgstr "標準列"
331
340
 
332
341
  msgctxt "The label for area disabled in restricted editing area in a format suggestion."
333
342
  msgid "FORMAT_RESTRICTED_DISABLED"
334
- msgstr ""
343
+ msgstr "*在受限編輯模式下禁用*"
335
344
 
336
345
  msgctxt "The label for area enabled in restricted editing area in a format suggestion."
337
346
  msgid "FORMAT_RESTRICTED_ENABLED"
338
- msgstr ""
347
+ msgstr "*在受限編輯模式下啟用*"
339
348
 
340
349
  msgctxt "The side image format name displayed in a format suggestion."
341
350
  msgid "FORMAT_SIDE_IMAGE"
342
- msgstr ""
351
+ msgstr "側邊影像"
343
352
 
344
353
  msgctxt "The strikethrough format name displayed in a format suggestion."
345
354
  msgid "FORMAT_STRIKETHROUGH"
346
- msgstr ""
355
+ msgstr "刪除線"
347
356
 
348
357
  msgctxt "The subscript format name displayed in a format suggestion."
349
358
  msgid "FORMAT_SUBSCRIPT"
350
- msgstr ""
359
+ msgstr "下標"
351
360
 
352
361
  msgctxt "The superscript format name displayed in a format suggestion."
353
362
  msgid "FORMAT_SUPERSCRIPT"
354
- msgstr ""
363
+ msgstr "上標"
355
364
 
356
365
  msgctxt "The underline format name displayed in a format suggestion."
357
366
  msgid "FORMAT_UNDERLINE"
358
- msgstr ""
367
+ msgstr "底線"
359
368
 
360
369
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
361
370
  msgid "PENDING_ACTION_SUGGESTION"
362
- msgstr ""
371
+ msgstr "建議中未儲存的變更。"
363
372
 
364
373
  msgctxt "A suggestion for replacing one text with another."
365
374
  msgid "REPLACE_TEXT"
366
- msgstr ""
375
+ msgstr "*取代:*%0 *變更為* %1"
367
376
 
368
377
  msgctxt "The label for the dropdown containing some options related to track changes."
369
378
  msgid "Track changes"
370
- msgstr ""
379
+ msgstr "追蹤變更"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "34.0.0",
3
+ "version": "35.0.1",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -27,8 +27,9 @@
27
27
  ],
28
28
  "main": "src/index.js",
29
29
  "dependencies": {
30
- "ckeditor5": "^34.0.0",
31
- "ckeditor5-collaboration": "^34.0.0",
32
- "lodash-es": "^4.17.11"
30
+ "ckeditor5": "^35.0.1",
31
+ "ckeditor5-collaboration": "^35.0.1",
32
+ "lodash-es": "^4.17.11",
33
+ "@ckeditor/ckeditor5-style": "^35.0.1"
33
34
  }
34
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3324=['execute','editor','change','model','refresh','from','_acceptSuggestionCommand','_suggestions','isInContent','some','isEnabled','values'];(function(_0x9aea55,_0x332476){const _0x1ace01=function(_0x368b33){while(--_0x368b33){_0x9aea55['push'](_0x9aea55['shift']());}};_0x1ace01(++_0x332476);}(_0x3324,0x8c));const _0x1ace=function(_0x9aea55,_0x332476){_0x9aea55=_0x9aea55-0x0;let _0x1ace01=_0x3324[_0x9aea55];return _0x1ace01;};import{Command as _0x143fb9}from'ckeditor5/src/core';import _0x52889a from'../utils/sortsuggestions';export default class $ extends _0x143fb9{constructor(_0x2d4f77,_0x239c40,_0x27da80){super(_0x2d4f77),this[_0x1ace('0xa')]=_0x239c40,this[_0x1ace('0xb')]=_0x27da80,this[_0x1ace('0x8')]();}[_0x1ace('0x8')](){const _0x897fdc=this[_0x1ace('0xa')];this[_0x1ace('0x2')]=_0x897fdc[_0x1ace('0x2')]&&Array['from'](this[_0x1ace('0xb')][_0x1ace('0x3')]())[_0x1ace('0x1')](_0x75b929=>_0x75b929['isInContent']);}[_0x1ace('0x4')](){this[_0x1ace('0x5')][_0x1ace('0x7')][_0x1ace('0x6')](()=>{const _0x145ac2=_0x52889a(Array[_0x1ace('0x9')](this['_suggestions'][_0x1ace('0x3')]()));for(const _0x2f75d0 of _0x145ac2)_0x2f75d0[_0x1ace('0x0')]&&this[_0x1ace('0xa')][_0x1ace('0x4')](_0x2f75d0['id']);});}}
23
+ const _0xe89f=['some','isInContent','_acceptSuggestionCommand','from','isEnabled','editor','execute','model','_suggestions','values','refresh'];(function(_0x3b6782,_0xe89fe6){const _0x527053=function(_0x23dc7c){while(--_0x23dc7c){_0x3b6782['push'](_0x3b6782['shift']());}};_0x527053(++_0xe89fe6);}(_0xe89f,0x15d));const _0x5270=function(_0x3b6782,_0xe89fe6){_0x3b6782=_0x3b6782-0x0;let _0x527053=_0xe89f[_0x3b6782];return _0x527053;};import{Command as _0x14377b}from'ckeditor5/src/core';import _0xeb1157 from'../utils/sortsuggestions';export default class R extends _0x14377b{constructor(_0x461e6a,_0x55c9b0,_0x3521eb){super(_0x461e6a),this[_0x5270('0x5')]=_0x55c9b0,this[_0x5270('0x0')]=_0x3521eb,this[_0x5270('0x2')]();}['refresh'](){const _0x2857ef=this[_0x5270('0x5')];this[_0x5270('0x7')]=_0x2857ef['isEnabled']&&Array['from'](this['_suggestions'][_0x5270('0x1')]())[_0x5270('0x3')](_0x262dec=>_0x262dec[_0x5270('0x4')]);}[_0x5270('0x9')](){this[_0x5270('0x8')][_0x5270('0xa')]['change'](()=>{const _0x134cfc=_0xeb1157(Array[_0x5270('0x6')](this[_0x5270('0x0')]['values']()));for(const _0x3b3f4d of _0x134cfc)_0x3b3f4d[_0x5270('0x4')]&&this[_0x5270('0x5')]['execute'](_0x3b3f4d['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x541c=['refresh','change','_acceptSuggestionCommand','isEnabled','_selectedSuggestions','execute','model','editor','_suggestions','from','values'];(function(_0x86b0cc,_0x541c9c){const _0x26fae8=function(_0x408513){while(--_0x408513){_0x86b0cc['push'](_0x86b0cc['shift']());}};_0x26fae8(++_0x541c9c);}(_0x541c,0x87));const _0x26fa=function(_0x86b0cc,_0x541c9c){_0x86b0cc=_0x86b0cc-0x0;let _0x26fae8=_0x541c[_0x86b0cc];return _0x26fae8;};import{Command as _0x4ad9ce}from'ckeditor5/src/core';import _0x2aec14 from'../utils/sortsuggestions';import _0x3e4c41 from'../utils/getselectedsuggestions';export default class N extends _0x4ad9ce{constructor(_0x2b3e3e,_0xc14774,_0x1f4001){super(_0x2b3e3e),this[_0x26fa('0xa')]=_0xc14774,this[_0x26fa('0x5')]=_0x1f4001,this[_0x26fa('0x1')]=new Set(),this[_0x26fa('0x8')]();}[_0x26fa('0x8')](){const _0x1cbd88=this[_0x26fa('0xa')],_0x3b532c=this['editor'][_0x26fa('0x3')]['document']['selection'],_0x40da78=Array[_0x26fa('0x6')](this[_0x26fa('0x5')][_0x26fa('0x7')]());this[_0x26fa('0x1')]=_0x3e4c41(_0x3b532c,_0x40da78),this['isEnabled']=_0x1cbd88[_0x26fa('0x0')]&&!!this['_selectedSuggestions']['size'];}[_0x26fa('0x2')](){this[_0x26fa('0x4')][_0x26fa('0x3')][_0x26fa('0x9')](()=>{const _0xc53bfb=_0x2aec14(Array[_0x26fa('0x6')](this[_0x26fa('0x1')]));for(const _0x25e8be of _0xc53bfb)this[_0x26fa('0xa')][_0x26fa('0x2')](_0x25e8be['id']);});}}
23
+ const _0x473c=['execute','editor','from','selection','_selectedSuggestions','refresh','change','isEnabled','_acceptSuggestionCommand','model'];(function(_0x357581,_0x473cce){const _0x6cafe3=function(_0x5cc5fc){while(--_0x5cc5fc){_0x357581['push'](_0x357581['shift']());}};_0x6cafe3(++_0x473cce);}(_0x473c,0x72));const _0x6caf=function(_0x357581,_0x473cce){_0x357581=_0x357581-0x0;let _0x6cafe3=_0x473c[_0x357581];return _0x6cafe3;};import{Command as _0x4cb2e5}from'ckeditor5/src/core';import _0xc647de from'../utils/sortsuggestions';import _0x21f6e2 from'../utils/getselectedsuggestions';export default class j extends _0x4cb2e5{constructor(_0xd0b186,_0x1e9a67,_0x5b6fe8){super(_0xd0b186),this[_0x6caf('0x4')]=_0x1e9a67,this['_suggestions']=_0x5b6fe8,this[_0x6caf('0x0')]=new Set(),this[_0x6caf('0x1')]();}[_0x6caf('0x1')](){const _0x11e402=this[_0x6caf('0x4')],_0x2cb33f=this[_0x6caf('0x7')][_0x6caf('0x5')]['document'][_0x6caf('0x9')],_0x3c16e0=Array[_0x6caf('0x8')](this['_suggestions']['values']());this[_0x6caf('0x0')]=_0x21f6e2(_0x2cb33f,_0x3c16e0),this[_0x6caf('0x3')]=_0x11e402[_0x6caf('0x3')]&&!!this[_0x6caf('0x0')]['size'];}[_0x6caf('0x6')](){this[_0x6caf('0x7')]['model'][_0x6caf('0x2')](()=>{const _0x4c2e5e=_0xc647de(Array[_0x6caf('0x8')](this[_0x6caf('0x0')]));for(const _0x4f4b75 of _0x4c2e5e)this[_0x6caf('0x4')]['execute'](_0x4f4b75['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xda1b=['get','TrackChangesEditing','execute','acceptSuggestion','track-changes-accept-suggestion-not-found','isEnabled','_suggestions','refresh','plugins'];(function(_0x4ac7cf,_0xda1ba4){const _0xa24b15=function(_0x54a30d){while(--_0x54a30d){_0x4ac7cf['push'](_0x4ac7cf['shift']());}};_0xa24b15(++_0xda1ba4);}(_0xda1b,0x19e));const _0xa24b=function(_0x4ac7cf,_0xda1ba4){_0x4ac7cf=_0x4ac7cf-0x0;let _0xa24b15=_0xda1b[_0x4ac7cf];return _0xa24b15;};import{Command as _0x290b78}from'ckeditor5/src/core';import{CKEditorError as _0x5382d4}from'ckeditor5/src/utils';export default class B extends _0x290b78{constructor(_0x447d1a,_0x51b606){super(_0x447d1a),this['_suggestions']=_0x51b606,this[_0xa24b('0x7')]();}[_0xa24b('0x7')](){this[_0xa24b('0x5')]=!0x0;}[_0xa24b('0x2')](_0x129157){const _0x131b1e=this[_0xa24b('0x6')][_0xa24b('0x0')](_0x129157);if(!_0x131b1e)throw new _0x5382d4(_0xa24b('0x4'),this);this['editor'][_0xa24b('0x8')][_0xa24b('0x0')](_0xa24b('0x1'))[_0xa24b('0x3')](_0x131b1e);}}
23
+ const _0x41f1=['track-changes-accept-suggestion-not-found','_suggestions','TrackChangesEditing','editor','acceptSuggestion','isEnabled','get','refresh'];(function(_0x400269,_0x41f1ab){const _0x32acaa=function(_0x1f31b0){while(--_0x1f31b0){_0x400269['push'](_0x400269['shift']());}};_0x32acaa(++_0x41f1ab);}(_0x41f1,0x74));const _0x32ac=function(_0x400269,_0x41f1ab){_0x400269=_0x400269-0x0;let _0x32acaa=_0x41f1[_0x400269];return _0x32acaa;};import{Command as _0x32666a}from'ckeditor5/src/core';import{CKEditorError as _0x2c28ef}from'ckeditor5/src/utils';export default class $ extends _0x32666a{constructor(_0x1dd577,_0x32e5cf){super(_0x1dd577),this[_0x32ac('0x5')]=_0x32e5cf,this[_0x32ac('0x3')]();}[_0x32ac('0x3')](){this[_0x32ac('0x1')]=!0x0;}['execute'](_0x49ee4d){const _0x547141=this[_0x32ac('0x5')][_0x32ac('0x2')](_0x49ee4d);if(!_0x547141)throw new _0x2c28ef(_0x32ac('0x4'),this);this[_0x32ac('0x7')]['plugins'][_0x32ac('0x2')](_0x32ac('0x6'))[_0x32ac('0x0')](_0x547141);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f5e=['model','change','some','_suggestions','isEnabled','isInContent','refresh','_discardSuggestionCommand','values','editor','execute'];(function(_0x2239ee,_0x3f5e6b){const _0x5c4e42=function(_0xba76a0){while(--_0xba76a0){_0x2239ee['push'](_0x2239ee['shift']());}};_0x5c4e42(++_0x3f5e6b);}(_0x3f5e,0xf3));const _0x5c4e=function(_0x2239ee,_0x3f5e6b){_0x2239ee=_0x2239ee-0x0;let _0x5c4e42=_0x3f5e[_0x2239ee];return _0x5c4e42;};import{Command as _0x251253}from'ckeditor5/src/core';export default class R extends _0x251253{constructor(_0x496e04,_0x4b2fc3,_0x337870){super(_0x496e04),this[_0x5c4e('0x6')]=_0x4b2fc3,this[_0x5c4e('0x2')]=_0x337870,this[_0x5c4e('0x5')]();}[_0x5c4e('0x5')](){const _0x22a770=this[_0x5c4e('0x6')];this[_0x5c4e('0x3')]=_0x22a770[_0x5c4e('0x3')]&&Array['from'](this[_0x5c4e('0x2')][_0x5c4e('0x7')]())[_0x5c4e('0x1')](_0x31a20e=>_0x31a20e[_0x5c4e('0x4')]);}[_0x5c4e('0x9')](){this[_0x5c4e('0x8')][_0x5c4e('0xa')][_0x5c4e('0x0')](()=>{for(const _0x212dcb of this[_0x5c4e('0x2')][_0x5c4e('0x7')]())_0x212dcb[_0x5c4e('0x4')]&&this[_0x5c4e('0x6')]['execute'](_0x212dcb['id']);});}}
23
+ const _0x19c8=['_suggestions','model','isEnabled','from','change','some','execute','refresh','values','isInContent','editor','_discardSuggestionCommand'];(function(_0x462aa6,_0x19c8cf){const _0x1b2edb=function(_0x278f8b){while(--_0x278f8b){_0x462aa6['push'](_0x462aa6['shift']());}};_0x1b2edb(++_0x19c8cf);}(_0x19c8,0x18b));const _0x1b2e=function(_0x462aa6,_0x19c8cf){_0x462aa6=_0x462aa6-0x0;let _0x1b2edb=_0x19c8[_0x462aa6];return _0x1b2edb;};import{Command as _0x1c5f83}from'ckeditor5/src/core';export default class U extends _0x1c5f83{constructor(_0x3a2b73,_0x575429,_0x1154c){super(_0x3a2b73),this[_0x1b2e('0x0')]=_0x575429,this[_0x1b2e('0x1')]=_0x1154c,this['refresh']();}[_0x1b2e('0x8')](){const _0x535b5c=this[_0x1b2e('0x0')];this[_0x1b2e('0x3')]=_0x535b5c[_0x1b2e('0x3')]&&Array[_0x1b2e('0x4')](this['_suggestions'][_0x1b2e('0x9')]())[_0x1b2e('0x6')](_0x341055=>_0x341055[_0x1b2e('0xa')]);}[_0x1b2e('0x7')](){this[_0x1b2e('0xb')][_0x1b2e('0x2')][_0x1b2e('0x5')](()=>{for(const _0x159b3e of this[_0x1b2e('0x1')][_0x1b2e('0x9')]())_0x159b3e['isInContent']&&this['_discardSuggestionCommand'][_0x1b2e('0x7')](_0x159b3e['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f70=['from','editor','model','_discardSuggestionCommand','_selectedSuggestions','refresh','_suggestions','isEnabled','selection','document','values','size','execute'];(function(_0x1f2de6,_0x3f7091){const _0x4529f2=function(_0x36e3bf){while(--_0x36e3bf){_0x1f2de6['push'](_0x1f2de6['shift']());}};_0x4529f2(++_0x3f7091);}(_0x3f70,0xe7));const _0x4529=function(_0x1f2de6,_0x3f7091){_0x1f2de6=_0x1f2de6-0x0;let _0x4529f2=_0x3f70[_0x1f2de6];return _0x4529f2;};import{Command as _0x23c23b}from'ckeditor5/src/core';import _0x356cd1 from'../utils/getselectedsuggestions';export default class j extends _0x23c23b{constructor(_0x5af174,_0x1c7e1f,_0x51b2fc){super(_0x5af174),this[_0x4529('0x6')]=_0x1c7e1f,this[_0x4529('0x9')]=_0x51b2fc,this[_0x4529('0x7')]=new Set(),this[_0x4529('0x8')]();}[_0x4529('0x8')](){const _0x3b29ca=this[_0x4529('0x6')],_0x36f17d=this[_0x4529('0x4')][_0x4529('0x5')][_0x4529('0xc')][_0x4529('0xb')],_0x1ce34f=Array[_0x4529('0x3')](this[_0x4529('0x9')][_0x4529('0x0')]());this[_0x4529('0x7')]=_0x356cd1(_0x36f17d,_0x1ce34f),this['isEnabled']=_0x3b29ca[_0x4529('0xa')]&&!!this[_0x4529('0x7')][_0x4529('0x1')];}[_0x4529('0x2')](){this['editor'][_0x4529('0x5')]['change'](()=>{for(const _0x2c9648 of this[_0x4529('0x7')])this[_0x4529('0x6')][_0x4529('0x2')](_0x2c9648['id']);});}}
23
+ const _0x1edc=['_suggestions','_discardSuggestionCommand','editor','selection','_selectedSuggestions','from','refresh','model','execute','change','values','isEnabled'];(function(_0x128abe,_0x1edc5e){const _0x69cea2=function(_0x1b1a8b){while(--_0x1b1a8b){_0x128abe['push'](_0x128abe['shift']());}};_0x69cea2(++_0x1edc5e);}(_0x1edc,0xb1));const _0x69ce=function(_0x128abe,_0x1edc5e){_0x128abe=_0x128abe-0x0;let _0x69cea2=_0x1edc[_0x128abe];return _0x69cea2;};import{Command as _0x2b1f3a}from'ckeditor5/src/core';import _0x1bc42c from'../utils/getselectedsuggestions';export default class x extends _0x2b1f3a{constructor(_0x568a60,_0x3e2518,_0x485a48){super(_0x568a60),this[_0x69ce('0x4')]=_0x3e2518,this[_0x69ce('0x3')]=_0x485a48,this[_0x69ce('0x7')]=new Set(),this[_0x69ce('0x9')]();}[_0x69ce('0x9')](){const _0x20f1ec=this[_0x69ce('0x4')],_0xa21b30=this[_0x69ce('0x5')][_0x69ce('0xa')]['document'][_0x69ce('0x6')],_0x2337d4=Array[_0x69ce('0x8')](this[_0x69ce('0x3')][_0x69ce('0x1')]());this['_selectedSuggestions']=_0x1bc42c(_0xa21b30,_0x2337d4),this[_0x69ce('0x2')]=_0x20f1ec[_0x69ce('0x2')]&&!!this[_0x69ce('0x7')]['size'];}[_0x69ce('0xb')](){this[_0x69ce('0x5')][_0x69ce('0xa')][_0x69ce('0x0')](()=>{for(const _0x221d2b of this[_0x69ce('0x7')])this['_discardSuggestionCommand']['execute'](_0x221d2b['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5772=['track-changes-discard-suggestion-not-found','isEnabled','execute','plugins','get','_suggestions','TrackChangesEditing','refresh'];(function(_0xf5d6e8,_0x57722d){const _0x5ef4fe=function(_0x1b3f1a){while(--_0x1b3f1a){_0xf5d6e8['push'](_0xf5d6e8['shift']());}};_0x5ef4fe(++_0x57722d);}(_0x5772,0xa4));const _0x5ef4=function(_0xf5d6e8,_0x57722d){_0xf5d6e8=_0xf5d6e8-0x0;let _0x5ef4fe=_0x5772[_0xf5d6e8];return _0x5ef4fe;};import{Command as _0x411890}from'ckeditor5/src/core';import{CKEditorError as _0x3348f0}from'ckeditor5/src/utils';export default class M extends _0x411890{constructor(_0x5d43d7,_0x216996){super(_0x5d43d7),this[_0x5ef4('0x1')]=_0x216996,this['refresh']();}[_0x5ef4('0x3')](){this[_0x5ef4('0x5')]=!0x0;}[_0x5ef4('0x6')](_0x5db06e){const _0x2b7bb1=this[_0x5ef4('0x1')][_0x5ef4('0x0')](_0x5db06e);if(!_0x2b7bb1)throw new _0x3348f0(_0x5ef4('0x4'),this);this['editor'][_0x5ef4('0x7')]['get'](_0x5ef4('0x2'))['discardSuggestion'](_0x2b7bb1);}}
23
+ const _0x1020=['TrackChangesEditing','refresh','isEnabled','_suggestions','execute','get','track-changes-discard-suggestion-not-found','editor','discardSuggestion','plugins'];(function(_0x468d8c,_0x1020c0){const _0x44c70f=function(_0x52babb){while(--_0x52babb){_0x468d8c['push'](_0x468d8c['shift']());}};_0x44c70f(++_0x1020c0);}(_0x1020,0x18c));const _0x44c7=function(_0x468d8c,_0x1020c0){_0x468d8c=_0x468d8c-0x0;let _0x44c70f=_0x1020[_0x468d8c];return _0x44c70f;};import{Command as _0x414f67}from'ckeditor5/src/core';import{CKEditorError as _0x11aa8a}from'ckeditor5/src/utils';export default class N extends _0x414f67{constructor(_0x45fe6b,_0x58229e){super(_0x45fe6b),this[_0x44c7('0x7')]=_0x58229e,this[_0x44c7('0x5')]();}['refresh'](){this[_0x44c7('0x6')]=!0x0;}[_0x44c7('0x8')](_0x11db10){const _0x143c07=this[_0x44c7('0x7')][_0x44c7('0x9')](_0x11db10);if(!_0x143c07)throw new _0x11aa8a(_0x44c7('0x0'),this);this[_0x44c7('0x1')][_0x44c7('0x3')][_0x44c7('0x9')](_0x44c7('0x4'))[_0x44c7('0x2')](_0x143c07);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b31=['execute','value','_enabledCommands','clearForceDisabled','isEnabled','refresh','has','editor','_disableUnsupportedCommands','affectsData','forceDisabled','commands','TrackChangesCommand','_enableCommands'];(function(_0x20251b,_0x1b31c7){const _0xcd56c2=function(_0x1b275e){while(--_0x1b275e){_0x20251b['push'](_0x20251b['shift']());}};_0xcd56c2(++_0x1b31c7);}(_0x1b31,0xeb));const _0xcd56=function(_0x20251b,_0x1b31c7){_0x20251b=_0x20251b-0x0;let _0xcd56c2=_0x1b31[_0x20251b];return _0xcd56c2;};import{Command as _0x1e8d67}from'ckeditor5/src/core';export default class _ extends _0x1e8d67{constructor(_0x1b5428,_0x5ed5b0){super(_0x1b5428),this[_0xcd56('0x5')]=_0x5ed5b0,this[_0xcd56('0x4')]=!0x1,this[_0xcd56('0x8')]();}[_0xcd56('0x8')](){this[_0xcd56('0x7')]=!0x0;}[_0xcd56('0x3')](){this[_0xcd56('0x4')]=!this[_0xcd56('0x4')],this[_0xcd56('0x4')]?this[_0xcd56('0xb')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x216daf of this[_0xcd56('0xa')][_0xcd56('0x0')][_0xcd56('0x0')]())_0x216daf[_0xcd56('0xc')]&&!this[_0xcd56('0x5')][_0xcd56('0x9')](_0x216daf)&&_0x216daf[_0xcd56('0xd')](_0xcd56('0x1'));}[_0xcd56('0x2')](){for(const _0x22fa9d of this[_0xcd56('0xa')][_0xcd56('0x0')][_0xcd56('0x0')]())_0x22fa9d[_0xcd56('0xc')]&&!this[_0xcd56('0x5')][_0xcd56('0x9')](_0x22fa9d)&&_0x22fa9d[_0xcd56('0x6')](_0xcd56('0x1'));}}
23
+ const _0x57d8=['refresh','_disableUnsupportedCommands','isEnabled','affectsData','commands','has','editor','TrackChangesCommand','value','_enabledCommands','execute','_enableCommands','clearForceDisabled'];(function(_0x336dc1,_0x57d81e){const _0x658c8f=function(_0x1ae107){while(--_0x1ae107){_0x336dc1['push'](_0x336dc1['shift']());}};_0x658c8f(++_0x57d81e);}(_0x57d8,0x13c));const _0x658c=function(_0x336dc1,_0x57d81e){_0x336dc1=_0x336dc1-0x0;let _0x658c8f=_0x57d8[_0x336dc1];return _0x658c8f;};import{Command as _0x3d3f2f}from'ckeditor5/src/core';export default class M extends _0x3d3f2f{constructor(_0x540d93,_0x584fe9){super(_0x540d93),this[_0x658c('0x5')]=_0x584fe9,this[_0x658c('0x4')]=!0x1,this[_0x658c('0x9')]();}[_0x658c('0x9')](){this[_0x658c('0xb')]=!0x0;}[_0x658c('0x6')](){this[_0x658c('0x4')]=!this[_0x658c('0x4')],this['value']?this[_0x658c('0xa')]():this['_enableCommands']();}[_0x658c('0xa')](){for(const _0x499a6b of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x499a6b[_0x658c('0xc')]&&!this[_0x658c('0x5')][_0x658c('0x1')](_0x499a6b)&&_0x499a6b['forceDisabled'](_0x658c('0x3'));}[_0x658c('0x7')](){for(const _0x4ea576 of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x4ea576[_0x658c('0xc')]&&!this[_0x658c('0x5')]['has'](_0x4ea576)&&_0x4ea576[_0x658c('0x8')](_0x658c('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x505cc2}from'ckeditor5/src/core';export default class U extends _0x505cc2{['afterInit'](){const _0x43c806=this['editor'],{t:t}=_0x43c806['locale'];if(!_0x43c806['plugins']['has']('AlignmentEditing'))return;const _0x1ae20f=_0x43c806['plugins']['get']('TrackChangesEditing');_0x1ae20f['enableCommand']('alignment',(_0x561a24,_0x4c6bff={})=>{let _0x507ddd=_0x4c6bff['value'];_0x4c6bff['value']||(_0x507ddd='ltr'===_0x43c806['locale']['contentLanguageDirection']?'left':'right');const _0x5ce26e=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x35ff8e=>function(_0x3c9d5b,_0x4e5083,_0x598d44){const _0x12d3ec=_0x3c9d5b['getAttribute']('alignment')||null;return _0x4e5083['checkAttribute'](_0x3c9d5b,'alignment')&&_0x598d44!=_0x12d3ec;}(_0x35ff8e,this['editor']['model']['schema'],_0x507ddd));_0x43c806['model']['change'](()=>{for(const _0x1fac80 of _0x5ce26e)_0x1ae20f['markBlockFormat'](_0x1fac80,{'commandName':'alignment','commandParams':[{'value':_0x507ddd}]});});}),_0x1ae20f['_descriptionFactory']['registerDescriptionCallback'](_0x11b3e5=>{const {data:_0x277982}=_0x11b3e5;if(_0x277982&&'alignment'==_0x277982['commandName']){const _0x5d7130=_0x277982['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x46385d){switch(_0x46385d){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'});}}(_0x5d7130))};}});}}
23
+ const _0x256d=['model','from','ltr','justify','change','locale','document','selection','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT','getSelectedBlocks','AlignmentEditing','left','center','alignment','editor','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','enableCommand','plugins','registerDescriptionCallback','*Format:*\x20%0','right','afterInit','has','schema','checkAttribute','value','filter','commandParams','_descriptionFactory','TrackChangesEditing'];(function(_0x53102c,_0x256dcc){const _0x1778eb=function(_0x4b0e72){while(--_0x4b0e72){_0x53102c['push'](_0x53102c['shift']());}};_0x1778eb(++_0x256dcc);}(_0x256d,0x1c1));const _0x1778=function(_0x53102c,_0x256dcc){_0x53102c=_0x53102c-0x0;let _0x1778eb=_0x256d[_0x53102c];return _0x1778eb;};import{Plugin as _0x52351f}from'ckeditor5/src/core';import{getTranslation as _0x289a4d}from'../utils/common-translations';export default class E extends _0x52351f{[_0x1778('0x16')](){const _0xf8ba44=this[_0x1778('0xe')],_0x49eff1=_0xf8ba44[_0x1778('0x4')];if(!_0xf8ba44[_0x1778('0x12')][_0x1778('0x17')](_0x1778('0xa')))return;const _0x1727b1=_0xf8ba44[_0x1778('0x12')]['get'](_0x1778('0x1e'));_0x1727b1[_0x1778('0x11')](_0x1778('0xd'),(_0x2068b5,_0xf1e223={})=>{let _0x544e5d=_0xf1e223['value'];_0xf1e223[_0x1778('0x1a')]||(_0x544e5d=_0x1778('0x1')===_0xf8ba44[_0x1778('0x4')][_0x1778('0x10')]?_0x1778('0xb'):_0x1778('0x15'));const _0x36974e=Array[_0x1778('0x0')](this['editor'][_0x1778('0x1f')][_0x1778('0x5')][_0x1778('0x6')][_0x1778('0x9')]())[_0x1778('0x1b')](_0x194978=>function(_0x206f30,_0x504f94,_0x5d9b43){const _0xb5e52=_0x206f30['getAttribute'](_0x1778('0xd'))||null;return _0x504f94[_0x1778('0x19')](_0x206f30,_0x1778('0xd'))&&_0x5d9b43!=_0xb5e52;}(_0x194978,this[_0x1778('0xe')][_0x1778('0x1f')][_0x1778('0x18')],_0x544e5d));_0xf8ba44[_0x1778('0x1f')][_0x1778('0x3')](()=>{for(const _0x14c9a0 of _0x36974e)_0x1727b1['markBlockFormat'](_0x14c9a0,{'commandName':'alignment','commandParams':[{'value':_0x544e5d}]});});}),_0x1727b1[_0x1778('0x1d')][_0x1778('0x13')](_0x17194b=>{const {data:_0x13d024}=_0x17194b;if(_0x13d024&&_0x1778('0xd')==_0x13d024['commandName']){const _0x596fbf=_0x13d024[_0x1778('0x1c')][0x0]['value'];return{'type':'format','content':_0x289a4d(_0x49eff1,_0x1778('0x14'),function(_0x28efd6){switch(_0x28efd6){case'left':return _0x289a4d(_0x49eff1,_0x1778('0x7'));case _0x1778('0x15'):return _0x289a4d(_0x49eff1,_0x1778('0x8'));case _0x1778('0xc'):return _0x289a4d(_0x49eff1,_0x1778('0xf'));case _0x1778('0x2'):return _0x289a4d(_0x49eff1,'FORMAT_JUSTIFY_TEXT');}}(_0x596fbf))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x30f407}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ot=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class E extends _0x30f407{['afterInit'](){const _0x1169cd=this['editor'],_0x102c3e=_0x1169cd['model'],_0x10650a=_0x1169cd['plugins']['get']('TrackChangesEditing'),{t:t}=_0x1169cd['locale'];for(const _0x10d3de of Ot){if(!_0x1169cd['plugins']['has'](_0x10d3de))continue;const _0x52d362=_0x10d3de['slice'](0x0,-0x7)['toLowerCase'](),_0x352ea9=_0x1169cd['commands']['get'](_0x52d362);_0x10650a['enableCommand'](_0x52d362,(_0xb56f15,_0x40976c={})=>{const _0x9865b6=_0x102c3e['document']['selection'];if(_0x9865b6['isCollapsed'])return void _0xb56f15(_0x40976c);const _0x3733d0=void 0x0!==_0x40976c['forceValue']?_0x40976c['forceValue']:!_0x352ea9['value'];_0x102c3e['change'](()=>{const _0x2282dc=Array['from'](_0x9865b6['getRanges']());for(const _0x3b1ca0 of _0x2282dc){const _0x2bd47e=_0x3733d0?[_0x3b1ca0]:Rt(_0x52d362,_0x3b1ca0,_0x102c3e);for(const _0x488284 of _0x2bd47e)_0x10650a['markInlineFormat'](_0x488284,{'commandName':_0x52d362,'commandParams':[{'forceValue':_0x3733d0}]});}});});}function _0x2bca21(_0x320e79,_0x16eb0f){_0x10650a['_descriptionFactory']['registerDescriptionCallback'](_0x1b79f4=>{const {data:_0x288ce4}=_0x1b79f4;if(_0x288ce4&&_0x288ce4['commandName']===_0x320e79)return _0x288ce4['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x16eb0f)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x16eb0f)};});}_0x2bca21('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x2bca21('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x2bca21('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x2bca21('code',t({'string':'code','id':'FORMAT_CODE'})),_0x2bca21('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x2bca21('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x2bca21('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
23
+ const _0x1232=['markInlineFormat','editor','FORMAT_STRIKETHROUGH','FORMAT_SUBSCRIPT','UnderlineEditing','locale','slice','italic','bold','enableCommand','has','change','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','underline','FORMAT_CODE','FORMAT_BOLD','registerDescriptionCallback','FORMAT_ITALIC','format','*Format:*\x20%0','superscript','selection','TrackChangesEditing','get','plugins','SubscriptEditing','strikethrough','afterInit','SuperscriptEditing','isCollapsed','value','toLowerCase','forceValue','model','commands','commandParams'];(function(_0x2221f9,_0x12327b){const _0x391fea=function(_0x4ca88c){while(--_0x4ca88c){_0x2221f9['push'](_0x2221f9['shift']());}};_0x391fea(++_0x12327b);}(_0x1232,0xf3));const _0x391f=function(_0x2221f9,_0x12327b){_0x2221f9=_0x2221f9-0x0;let _0x391fea=_0x1232[_0x2221f9];return _0x391fea;};import{Plugin as _0x4f04a4}from'ckeditor5/src/core';import{getTranslation as _0x2394d5}from'../utils/common-translations';import{getRangesWithAttribute as _0x4c622c}from'./utils';const Ft=['BoldEditing','ItalicEditing',_0x391f('0x14'),'CodeEditing','StrikethroughEditing',_0x391f('0x5'),_0x391f('0x8')];export default class O extends _0x4f04a4{[_0x391f('0x7')](){const _0x77cf93=this[_0x391f('0x11')],_0x277508=_0x77cf93[_0x391f('0xd')],_0xc454d3=_0x77cf93[_0x391f('0x4')][_0x391f('0x3')](_0x391f('0x2')),_0xf137e6=_0x77cf93[_0x391f('0x15')];for(const _0x76153d of Ft){if(!_0x77cf93['plugins'][_0x391f('0x1a')](_0x76153d))continue;const _0x820bf=_0x76153d[_0x391f('0x16')](0x0,-0x7)[_0x391f('0xb')](),_0x299e09=_0x77cf93[_0x391f('0xe')][_0x391f('0x3')](_0x820bf);_0xc454d3[_0x391f('0x19')](_0x820bf,(_0x17a4dc,_0x3ae679={})=>{const _0x5707cd=_0x277508['document'][_0x391f('0x1')];if(_0x5707cd[_0x391f('0x9')])return void _0x17a4dc(_0x3ae679);const _0x5caf49=void 0x0!==_0x3ae679[_0x391f('0xc')]?_0x3ae679[_0x391f('0xc')]:!_0x299e09[_0x391f('0xa')];_0x277508[_0x391f('0x1b')](()=>{const _0x3f4feb=Array['from'](_0x5707cd['getRanges']());for(const _0x3b731a of _0x3f4feb){const _0x3a6353=_0x5caf49?[_0x3b731a]:_0x4c622c(_0x820bf,_0x3b731a,_0x277508);for(const _0x4cd839 of _0x3a6353)_0xc454d3[_0x391f('0x10')](_0x4cd839,{'commandName':_0x820bf,'commandParams':[{'forceValue':_0x5caf49}]});}});});}function _0x5112b9(_0x396c87,_0x38dd10){_0xc454d3['_descriptionFactory'][_0x391f('0x21')](_0x1a4327=>{const {data:_0x34e0e6}=_0x1a4327;if(_0x34e0e6&&_0x34e0e6['commandName']===_0x396c87)return _0x34e0e6[_0x391f('0xf')][0x0][_0x391f('0xc')]?{'type':_0x391f('0x23'),'content':_0x2394d5(_0xf137e6,_0x391f('0x24'),_0x38dd10)}:{'type':'format','content':_0x2394d5(_0xf137e6,_0x391f('0x1c'),_0x38dd10)};});}_0x5112b9(_0x391f('0x18'),_0x2394d5(_0xf137e6,_0x391f('0x20'))),_0x5112b9(_0x391f('0x17'),_0x2394d5(_0xf137e6,_0x391f('0x22'))),_0x5112b9(_0x391f('0x1e'),_0x2394d5(_0xf137e6,_0x391f('0x1d'))),_0x5112b9('code',_0x2394d5(_0xf137e6,_0x391f('0x1f'))),_0x5112b9(_0x391f('0x6'),_0x2394d5(_0xf137e6,_0x391f('0x12'))),_0x5112b9('subscript',_0x2394d5(_0xf137e6,_0x391f('0x13'))),_0x5112b9(_0x391f('0x0'),_0x2394d5(_0xf137e6,'FORMAT_SUPERSCRIPT'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x295c39}from'ckeditor5/src/core';import{TreeWalker as Qt}from'ckeditor5/src/engine';export default class x extends _0x295c39{['afterInit'](){const _0x4be724=this['editor'],{t:t}=_0x4be724['locale'];if(!_0x4be724['plugins']['has']('BlockQuoteEditing'))return;const _0x2b6305=_0x4be724['plugins']['get']('TrackChangesEditing'),_0x158426=this['editor']['commands']['get']('blockQuote');_0x2b6305['enableCommand']('blockQuote',(_0x5077c5,_0x2c151={})=>{const _0x15a710=this['editor']['model']['document']['selection'],_0x108cc1=_0x2c151&&void 0x0!==_0x2c151['forceValue']?_0x2c151['forceValue']:!_0x158426['value'];let _0x4bdfc6=[];if(_0x108cc1){const _0x37c09a=Array['from'](_0x15a710['getSelectedBlocks']())['filter'](_0x4a3514=>Bt(_0x4a3514)||function(_0x101434,_0x14a6bf){const _0x3ade75=_0x14a6bf['checkChild'](_0x101434['parent'],'blockQuote'),_0x416f4e=_0x14a6bf['checkChild'](['$root','blockQuote'],_0x101434);return _0x3ade75&&_0x416f4e;}(_0x4a3514,this['editor']['model']['schema']));_0x4bdfc6=Lt(_0x37c09a,_0x4be724['model']);}else{const _0x13a703=Array['from'](_0x15a710['getSelectedBlocks']())['filter'](_0x182719=>Bt(_0x182719));_0x4bdfc6=Lt(_0x13a703,_0x4be724['model']);}_0x4be724['model']['change'](()=>{for(const _0x40bc3b of _0x4bdfc6)_0x2b6305['markBlockFormat'](_0x40bc3b,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x108cc1}]});});}),_0x2b6305['_descriptionFactory']['registerDescriptionCallback'](_0x17cadf=>{const {data:_0x48735e}=_0x17cadf;if(_0x48735e&&'blockQuote'==_0x48735e['commandName']){const _0xd3373d=t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});return _0x48735e['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0xd3373d)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0xd3373d)};}});}}function Bt(_0x1e4fa6){return'blockQuote'==_0x1e4fa6['parent']['name'];}function Lt(_0x86b049,_0x445919){let _0x51ca46,_0x24c77e=0x0;const _0x24e5eb=[],_0x261b09=_0x445919['schema'];for(;_0x24c77e<_0x86b049['length'];){const _0x110c53=_0x86b049[_0x24c77e],_0x26fbdc=_0x86b049[_0x24c77e+0x1];_0x51ca46||(_0x51ca46=_0x445919['createPositionBefore'](_0x110c53)),_t(_0x445919,_0x110c53,_0x26fbdc)||(_0x24e5eb['push'](_0x445919['createRange'](_0x51ca46,_0x261b09['isObject'](_0x110c53)?_0x445919['createPositionAfter'](_0x110c53):_0x445919['createPositionAt'](_0x110c53,'end'))),_0x51ca46=null),_0x24c77e++;}return _0x24e5eb;}function _t(_0x55567a,_0x13f619,_0x432c98){if(!_0x432c98)return!0x1;const _0x1e8dd3=_0x55567a['createPositionAfter'](_0x13f619),_0x419918=_0x55567a['createPositionBefore'](_0x432c98),_0x535ed6=new Qt({'boundaries':_0x55567a['createRange'](_0x1e8dd3,_0x419918)});for(const _0x450064 of _0x535ed6)if('text'==_0x450064['type']||_0x55567a['schema']['isLimit'](_0x450064['item']))return!0x1;return!0x0;}
23
+ const _0x454f=['TrackChangesEditing','*Remove\x20format:*\x20%0','forceValue','ELEMENT_BLOCK_QUOTE','commandParams','getSelectedBlocks','get','format','blockQuote','plugins','commandName','model','registerDescriptionCallback','editor','$root','value','enableCommand','change','filter','parent','*Format:*\x20%0','checkChild','markBlockFormat'];(function(_0x5817b1,_0x454fb1){const _0x332585=function(_0x1cbcbb){while(--_0x1cbcbb){_0x5817b1['push'](_0x5817b1['shift']());}};_0x332585(++_0x454fb1);}(_0x454f,0x1d6));const _0x3325=function(_0x5817b1,_0x454fb1){_0x5817b1=_0x5817b1-0x0;let _0x332585=_0x454f[_0x5817b1];return _0x332585;};import{Plugin as _0x3791d5}from'ckeditor5/src/core';import{getTranslation as _0x5c867a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b1ca6}from'../utils/getrangesofblockgroups';export default class P extends _0x3791d5{['afterInit'](){const _0x3f1158=this[_0x3325('0x3')],_0x5b5b54=_0x3f1158['locale'];if(!_0x3f1158[_0x3325('0x16')]['has']('BlockQuoteEditing'))return;const _0x284262=_0x3f1158['plugins'][_0x3325('0x13')](_0x3325('0xd')),_0xa01c51=this['editor']['commands'][_0x3325('0x13')](_0x3325('0x15'));_0x284262[_0x3325('0x6')](_0x3325('0x15'),(_0x28bcdf,_0x32d3ab={})=>{const _0x24a630=this['editor'][_0x3325('0x1')]['document']['selection'],_0x2db696=_0x32d3ab&&void 0x0!==_0x32d3ab[_0x3325('0xf')]?_0x32d3ab[_0x3325('0xf')]:!_0xa01c51[_0x3325('0x5')];let _0x151132=[];if(_0x2db696){const _0x59c2a8=Array['from'](_0x24a630['getSelectedBlocks']())[_0x3325('0x8')](_0x5506ae=>to(_0x5506ae)||function(_0x104034,_0x1b00a9){const _0x513d7d=_0x1b00a9['checkChild'](_0x104034[_0x3325('0x9')],_0x3325('0x15')),_0x15f3ef=_0x1b00a9[_0x3325('0xb')]([_0x3325('0x4'),_0x3325('0x15')],_0x104034);return _0x513d7d&&_0x15f3ef;}(_0x5506ae,this[_0x3325('0x3')][_0x3325('0x1')]['schema']));_0x151132=_0x2b1ca6(_0x59c2a8,_0x3f1158[_0x3325('0x1')]);}else{const _0x1ee0f2=Array['from'](_0x24a630[_0x3325('0x12')]())[_0x3325('0x8')](_0xf34871=>to(_0xf34871));_0x151132=_0x2b1ca6(_0x1ee0f2,_0x3f1158['model']);}_0x3f1158['model'][_0x3325('0x7')](()=>{for(const _0x28c5ca of _0x151132)_0x284262[_0x3325('0xc')](_0x28c5ca,{'commandName':_0x3325('0x15'),'commandParams':[{'forceValue':_0x2db696}]});});}),_0x284262['_descriptionFactory'][_0x3325('0x2')](_0x4a9e13=>{const {data:_0x2fdea1}=_0x4a9e13;if(_0x2fdea1&&'blockQuote'==_0x2fdea1[_0x3325('0x0')]){const _0x3523aa=_0x5c867a(_0x5b5b54,_0x3325('0x10'));return _0x2fdea1[_0x3325('0x11')][0x0][_0x3325('0xf')]?{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xa'),_0x3523aa)}:{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xe'),_0x3523aa)};}});}}function to(_0x7933a6){return _0x3325('0x15')==_0x7933a6[_0x3325('0x9')]['name'];}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2fe8=['plugins','afterInit','commands','editor','get','enableCommand','TrackChangesEditing'];(function(_0x16bc69,_0x2fe82d){const _0x4cef02=function(_0xbbb865){while(--_0xbbb865){_0x16bc69['push'](_0x16bc69['shift']());}};_0x4cef02(++_0x2fe82d);}(_0x2fe8,0xc3));const _0x4cef=function(_0x16bc69,_0x2fe82d){_0x16bc69=_0x16bc69-0x0;let _0x4cef02=_0x2fe8[_0x16bc69];return _0x4cef02;};import{Plugin as _0x19af3c}from'ckeditor5/src/core';export default class G extends _0x19af3c{[_0x4cef('0x2')](){const _0xcc2454=this[_0x4cef('0x4')];_0xcc2454[_0x4cef('0x3')][_0x4cef('0x5')]('ckbox')&&_0xcc2454[_0x4cef('0x1')]['get'](_0x4cef('0x0'))[_0x4cef('0x6')]('ckbox');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4c07e4}from'ckeditor5/src/core';export default class O extends _0x4c07e4{['afterInit'](){const _0x2685f5=this['editor'],{t:t}=_0x2685f5['locale'];if(!_0x2685f5['plugins']['has']('CodeBlock'))return;_0x2685f5['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerElementLabel']('codeBlock',_0x2c7a83=>t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x2c7a83));}}
23
+ const _0x3765=['outdentCodeBlock','from','CodeBlock','forceValue','language','_descriptionFactory','model','locale','codeBlock','registerDescriptionCallback','filter','schema','commands','name','languages','afterInit','registerElementLabel','has','indentCodeBlock','value','editor','get','*Remove\x20format:*\x20%0','document','blockName','config','label','enableCommand','change','plugins','selection','rootElement','commandParams','ELEMENT_CODE_BLOCK','getSelectedBlocks','commandName'];(function(_0x4cc718,_0x3765c3){const _0x172aa7=function(_0x4f33cb){while(--_0x4f33cb){_0x4cc718['push'](_0x4cc718['shift']());}};_0x172aa7(++_0x3765c3);}(_0x3765,0x1a6));const _0x172a=function(_0x4cc718,_0x3765c3){_0x4cc718=_0x4cc718-0x0;let _0x172aa7=_0x3765[_0x4cc718];return _0x172aa7;};import{Plugin as _0x4714d2}from'ckeditor5/src/core';import{getTranslation as _0x3ec1d8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xc802d9}from'../utils/getrangesofblockgroups';export default class F extends _0x4714d2{[_0x172a('0x19')](){const _0x25e470=this[_0x172a('0x1e')];if(!_0x25e470[_0x172a('0x3')][_0x172a('0x1b')](_0x172a('0xc')))return;const _0xceff75=_0x25e470['plugins'][_0x172a('0x1f')]('TrackChangesEditing'),_0xc6c1a4=_0x25e470[_0x172a('0x11')],_0x4068fb=_0x25e470[_0x172a('0x23')][_0x172a('0x1f')](_0x172a('0x12'))[_0x172a('0x18')],_0x5eade0=_0x25e470[_0x172a('0x16')][_0x172a('0x1f')](_0x172a('0x12'));_0xceff75[_0x172a('0x1')](_0x172a('0x1c')),_0xceff75[_0x172a('0x1')](_0x172a('0xa')),_0xceff75[_0x172a('0x1')](_0x172a('0x12'),(_0x5a3185,_0x28f69f={})=>{const _0x6fe7e0=_0x25e470[_0x172a('0x10')],_0x5df43c=_0x25e470[_0x172a('0x10')][_0x172a('0x21')][_0x172a('0x4')],_0x8147e2=_0x28f69f&&void 0x0!==_0x28f69f['forceValue']?_0x28f69f[_0x172a('0xd')]:!_0x5eade0[_0x172a('0x1d')];let _0x1bc4b9;_0x28f69f[_0x172a('0xe')]||(_0x28f69f[_0x172a('0xe')]=_0x4068fb[0x0][_0x172a('0xe')]),_0x1bc4b9=_0x8147e2?Array[_0x172a('0xb')](_0x5df43c['getSelectedBlocks']())[_0x172a('0x14')](_0x517c62=>co(_0x517c62)||function(_0x3fb34d,_0x164e49){if(_0x3fb34d['is'](_0x172a('0x5'))||_0x164e49['isLimit'](_0x3fb34d))return!0x1;return _0x164e49['checkChild'](_0x3fb34d['parent'],'codeBlock');}(_0x517c62,_0x6fe7e0[_0x172a('0x15')])):Array['from'](_0x5df43c[_0x172a('0x8')]())[_0x172a('0x14')](_0x46e198=>co(_0x46e198));const _0x1fea2b=_0xc802d9(_0x1bc4b9,_0x6fe7e0);_0x6fe7e0[_0x172a('0x2')](()=>{for(const _0x922e70 of _0x1fea2b)_0xceff75['markBlockFormat'](_0x922e70,{'commandName':_0x172a('0x12'),'commandParams':[{..._0x28f69f,'forceValue':_0x8147e2}],'formatGroupId':_0x172a('0x22')});});}),(_0xceff75[_0x172a('0xf')][_0x172a('0x1a')]('codeBlock',_0x3ce1aa=>_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),_0x3ce1aa)),_0xceff75[_0x172a('0xf')][_0x172a('0x13')](_0x38c8f5=>{const {type:_0x30454a,data:_0x53c01e}=_0x38c8f5;if('formatBlock'==_0x30454a&&_0x53c01e&&_0x172a('0x12')==_0x53c01e[_0x172a('0x9')]){const _0x21ab0b=_0x53c01e[_0x172a('0x6')][0x0][_0x172a('0xe')],_0x2ccba3=_0x4068fb['find'](_0x48e9a1=>_0x48e9a1['language']===_0x21ab0b)[_0x172a('0x0')],_0x422268=_0xc6c1a4['_t'](_0x2ccba3);return _0x53c01e[_0x172a('0x6')][0x0]['forceValue']?{'type':'format','content':_0x3ec1d8(_0xc6c1a4,'*Format:*\x20%0',_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),0x1)+'\x20('+_0x422268+')')}:{'type':'format','content':_0x3ec1d8(_0xc6c1a4,_0x172a('0x20'),_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),0x1))};}}));}}function co(_0x2a6be6){return _0x172a('0x12')==_0x2a6be6[_0x172a('0x17')];}