@ckeditor/ckeditor5-track-changes 39.0.2 → 40.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 (179) hide show
  1. package/LICENSE.md +3 -3
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  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 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sq.js +1 -1
  39. package/build/translations/sr-latn.js +1 -1
  40. package/build/translations/sr.js +1 -1
  41. package/build/translations/sv.js +1 -1
  42. package/build/translations/th.js +1 -1
  43. package/build/translations/tk.js +1 -1
  44. package/build/translations/tr.js +1 -1
  45. package/build/translations/tt.js +1 -1
  46. package/build/translations/uk.js +1 -1
  47. package/build/translations/ur.js +1 -1
  48. package/build/translations/vi.js +1 -1
  49. package/build/translations/zh-cn.js +1 -1
  50. package/build/translations/zh.js +1 -1
  51. package/lang/contexts.json +20 -1
  52. package/lang/translations/ar.po +76 -0
  53. package/lang/translations/az.po +76 -0
  54. package/lang/translations/bg.po +76 -0
  55. package/lang/translations/bn.po +76 -0
  56. package/lang/translations/ca.po +76 -0
  57. package/lang/translations/cs.po +76 -0
  58. package/lang/translations/da.po +76 -0
  59. package/lang/translations/de.po +76 -0
  60. package/lang/translations/el.po +76 -0
  61. package/lang/translations/en-au.po +76 -0
  62. package/lang/translations/en.po +76 -0
  63. package/lang/translations/es.po +76 -0
  64. package/lang/translations/et.po +76 -0
  65. package/lang/translations/fi.po +76 -0
  66. package/lang/translations/fr.po +76 -0
  67. package/lang/translations/gl.po +76 -0
  68. package/lang/translations/he.po +76 -0
  69. package/lang/translations/hi.po +76 -0
  70. package/lang/translations/hr.po +76 -0
  71. package/lang/translations/hu.po +76 -0
  72. package/lang/translations/id.po +76 -0
  73. package/lang/translations/it.po +76 -0
  74. package/lang/translations/ja.po +76 -0
  75. package/lang/translations/ko.po +76 -0
  76. package/lang/translations/lt.po +76 -0
  77. package/lang/translations/lv.po +76 -0
  78. package/lang/translations/ms.po +76 -0
  79. package/lang/translations/nl.po +76 -0
  80. package/lang/translations/no.po +76 -0
  81. package/lang/translations/pl.po +76 -0
  82. package/lang/translations/pt-br.po +94 -18
  83. package/lang/translations/pt.po +76 -0
  84. package/lang/translations/ro.po +76 -0
  85. package/lang/translations/ru.po +76 -0
  86. package/lang/translations/sk.po +76 -0
  87. package/lang/translations/sq.po +76 -0
  88. package/lang/translations/sr-latn.po +76 -0
  89. package/lang/translations/sr.po +76 -0
  90. package/lang/translations/sv.po +76 -0
  91. package/lang/translations/th.po +76 -0
  92. package/lang/translations/tk.po +76 -0
  93. package/lang/translations/tr.po +76 -0
  94. package/lang/translations/tt.po +76 -0
  95. package/lang/translations/uk.po +76 -0
  96. package/lang/translations/ur.po +76 -0
  97. package/lang/translations/vi.po +76 -0
  98. package/lang/translations/zh-cn.po +76 -0
  99. package/lang/translations/zh.po +76 -0
  100. package/package.json +3 -3
  101. package/src/commands/acceptsuggestioncommand.js +1 -1
  102. package/src/commands/discardsuggestioncommand.js +1 -1
  103. package/src/commands/executeonallsuggestionscommand.js +1 -1
  104. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  105. package/src/commands/trackchangescommand.js +1 -1
  106. package/src/index.d.ts +1 -1
  107. package/src/integrations/aiassistant.d.ts +17 -0
  108. package/src/integrations/aiassistant.js +23 -0
  109. package/src/integrations/alignment.js +1 -1
  110. package/src/integrations/basicstyles.js +1 -1
  111. package/src/integrations/blockquote.js +1 -1
  112. package/src/integrations/ckbox.js +1 -1
  113. package/src/integrations/codeblock.js +1 -1
  114. package/src/integrations/comments.js +1 -1
  115. package/src/integrations/deletecommand.js +1 -1
  116. package/src/integrations/documentlist.js +1 -1
  117. package/src/integrations/documentlistproperties.js +1 -1
  118. package/src/integrations/entercommand.js +1 -1
  119. package/src/integrations/findandreplace.d.ts +1 -1
  120. package/src/integrations/findandreplace.js +1 -1
  121. package/src/integrations/font.js +1 -1
  122. package/src/integrations/formatpainter.js +1 -1
  123. package/src/integrations/heading.js +1 -1
  124. package/src/integrations/highlight.js +1 -1
  125. package/src/integrations/horizontalline.js +1 -1
  126. package/src/integrations/htmlembed.js +1 -1
  127. package/src/integrations/image.js +1 -1
  128. package/src/integrations/imagereplace.d.ts +0 -6
  129. package/src/integrations/imagereplace.js +1 -1
  130. package/src/integrations/imagestyle.d.ts +17 -0
  131. package/src/integrations/imagestyle.js +23 -0
  132. package/src/integrations/importword.js +1 -1
  133. package/src/integrations/indent.js +1 -1
  134. package/src/integrations/inputcommand.js +1 -1
  135. package/src/integrations/link.js +1 -1
  136. package/src/integrations/list.js +1 -1
  137. package/src/integrations/listproperties.js +1 -1
  138. package/src/integrations/mediaembed.js +1 -1
  139. package/src/integrations/mention.js +1 -1
  140. package/src/integrations/pagebreak.js +1 -1
  141. package/src/integrations/paragraph.js +1 -1
  142. package/src/integrations/removeformat.js +1 -1
  143. package/src/integrations/restrictededitingmode.js +1 -1
  144. package/src/integrations/shiftentercommand.js +1 -1
  145. package/src/integrations/standardeditingmode.js +1 -1
  146. package/src/integrations/style.d.ts +0 -1
  147. package/src/integrations/style.js +1 -1
  148. package/src/integrations/table.js +1 -1
  149. package/src/integrations/tablecaption.js +1 -1
  150. package/src/integrations/tableclipboard.js +1 -1
  151. package/src/integrations/tablecolumnresize.js +1 -1
  152. package/src/integrations/tableheadings.js +1 -1
  153. package/src/integrations/tablemergesplit.js +1 -1
  154. package/src/integrations/tableofcontents.js +1 -1
  155. package/src/integrations/tableproperties.js +1 -1
  156. package/src/integrations/template.js +1 -1
  157. package/src/integrations/title.js +1 -1
  158. package/src/integrations/undo.js +1 -1
  159. package/src/integrations/utils.js +1 -1
  160. package/src/suggestion.d.ts +26 -11
  161. package/src/suggestion.js +1 -1
  162. package/src/suggestiondescriptionfactory.d.ts +25 -5
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.d.ts +5 -69
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +22 -19
  167. package/src/trackchangesdata.js +1 -1
  168. package/src/trackchangesediting.d.ts +59 -2
  169. package/src/trackchangesediting.js +1 -1
  170. package/src/trackchangesui.js +1 -1
  171. package/src/ui/suggestioncontroller.js +1 -1
  172. package/src/ui/view/basesuggestionthreadview.js +1 -1
  173. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  174. package/src/ui/view/suggestionthreadview.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/utils.js +1 -1
  177. package/theme/icons/track-changes-accept.svg +1 -1
  178. package/theme/icons/track-changes-discard.svg +1 -1
  179. package/theme/icons/track-changes.svg +1 -1
@@ -153,6 +153,10 @@ msgctxt "A suggestion for setting the font size to %0."
153
153
  msgid "*Set font size:* %0"
154
154
  msgstr "*设置字号:* %0"
155
155
 
156
+ msgctxt "A suggestion for setting multiple inline formatting %0"
157
+ msgid "*Set format:* %0"
158
+ msgstr "*设置格式:* %0"
159
+
156
160
  msgctxt "A suggestion for setting multiple inline formatting to %0"
157
161
  msgid "*Set format to:* %0"
158
162
  msgstr "*设置格式为:* %0"
@@ -213,6 +217,30 @@ msgctxt "The label for the discard suggestion button."
213
217
  msgid "Discard suggestion"
214
218
  msgstr "放弃建议"
215
219
 
220
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
221
+ msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
222
+ msgstr "离开插入建议。"
223
+
224
+ msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
225
+ msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
226
+ msgstr "进入插入建议。"
227
+
228
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
229
+ msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
230
+ msgstr "离开删除建议。"
231
+
232
+ msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
233
+ msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
234
+ msgstr "进入删除建议。"
235
+
236
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
237
+ msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
238
+ msgstr "离开格式建议。"
239
+
240
+ msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
241
+ msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
242
+ msgstr "进入格式建议。"
243
+
216
244
  msgctxt "The block quote element name displayed in the suggestion."
217
245
  msgid "ELEMENT_BLOCK_QUOTE"
218
246
  msgstr "块引用"
@@ -221,6 +249,10 @@ msgctxt "The bulleted list element name displayed in the suggestion."
221
249
  msgid "ELEMENT_BULLETED_LIST"
222
250
  msgstr "项目符号列表"
223
251
 
252
+ msgctxt "The default styled bulleted list element name displayed in the suggestion."
253
+ msgid "ELEMENT_BULLETED_LIST_DEFAULT"
254
+ msgstr "项目符号列表(默认)"
255
+
224
256
  msgctxt "The circle styled bulleted list element name displayed in the suggestion."
225
257
  msgid "ELEMENT_BULLETED_LIST_CIRCLE"
226
258
  msgstr "项目符号列表(圆圈)"
@@ -291,6 +323,10 @@ msgctxt "The numbered list element name displayed in the suggestion."
291
323
  msgid "ELEMENT_NUMBERED_LIST"
292
324
  msgstr "项目编号列表"
293
325
 
326
+ msgctxt "The default styled numbered list element name displayed in the suggestion."
327
+ msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
328
+ msgstr "编号列表(默认)"
329
+
294
330
  msgctxt "The decimal styled numbered list element name displayed in the suggestion."
295
331
  msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
296
332
  msgstr "项目符号列表(十进制)"
@@ -372,6 +408,10 @@ msgctxt "The to-do list element name displayed in the suggestion."
372
408
  msgid "ELEMENT_TODO_LIST"
373
409
  msgstr "待办事项列表"
374
410
 
411
+ msgctxt "The alignment format name displayed in a format suggestion."
412
+ msgid "FORMAT_ALIGNMENT"
413
+ msgstr "对齐"
414
+
375
415
  msgctxt "The align to center format name displayed in a format suggestion."
376
416
  msgid "FORMAT_ALIGN_TO_CENTER"
377
417
  msgstr "居中对齐"
@@ -448,6 +488,42 @@ msgctxt "The underline format name displayed in a format suggestion."
448
488
  msgid "FORMAT_UNDERLINE"
449
489
  msgstr "下划线"
450
490
 
491
+ msgctxt "The list or block indent format name displayed in a format suggestion."
492
+ msgid "FORMAT_INDENT"
493
+ msgstr "缩进"
494
+
495
+ msgctxt "The list reversed format name displayed in a format suggestion."
496
+ msgid "FORMAT_LIST_REVERSED"
497
+ msgstr "列表反转"
498
+
499
+ msgctxt "The list start format name displayed in a format suggestion."
500
+ msgid "FORMAT_LIST_START"
501
+ msgstr "列表开始"
502
+
503
+ msgctxt "The font size format name displayed in a format suggestion."
504
+ msgid "FORMAT_FONT_SIZE"
505
+ msgstr "字体大小"
506
+
507
+ msgctxt "The font family format name displayed in a format suggestion."
508
+ msgid "FORMAT_FONT_FAMILY"
509
+ msgstr "字体类型"
510
+
511
+ msgctxt "The font color format name displayed in a format suggestion."
512
+ msgid "FORMAT_FONT_COLOR"
513
+ msgstr "字体颜色"
514
+
515
+ msgctxt "The font background color format name displayed in a format suggestion."
516
+ msgid "FORMAT_FONT_BACKGROUND"
517
+ msgstr "字体背景颜色"
518
+
519
+ msgctxt "The image width change format name displayed in a format suggestion."
520
+ msgid "FORMAT_IMAGE_WIDTH"
521
+ msgstr "图片大小"
522
+
523
+ msgctxt "The style format name displayed in a format suggestion."
524
+ msgid "FORMAT_STYLE"
525
+ msgstr "样式"
526
+
451
527
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
452
528
  msgid "PENDING_ACTION_SUGGESTION"
453
529
  msgstr "建议中有未保存内容"
@@ -153,6 +153,10 @@ msgctxt "A suggestion for setting the font size to %0."
153
153
  msgid "*Set font size:* %0"
154
154
  msgstr "*設定字型大小:*%0"
155
155
 
156
+ msgctxt "A suggestion for setting multiple inline formatting %0"
157
+ msgid "*Set format:* %0"
158
+ msgstr "*設定格式:* %0"
159
+
156
160
  msgctxt "A suggestion for setting multiple inline formatting to %0"
157
161
  msgid "*Set format to:* %0"
158
162
  msgstr "*設定格式為:*%0"
@@ -213,6 +217,30 @@ msgctxt "The label for the discard suggestion button."
213
217
  msgid "Discard suggestion"
214
218
  msgstr "捨棄建議"
215
219
 
220
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
221
+ msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
222
+ msgstr "正在離開插入建議。"
223
+
224
+ msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
225
+ msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
226
+ msgstr "正在進入插入建議。"
227
+
228
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
229
+ msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
230
+ msgstr "正在離開刪除建議。"
231
+
232
+ msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
233
+ msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
234
+ msgstr "正在進入刪除建議。"
235
+
236
+ msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
237
+ msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
238
+ msgstr "正在離開格式建議。"
239
+
240
+ msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
241
+ msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
242
+ msgstr "正在進入格式建議。"
243
+
216
244
  msgctxt "The block quote element name displayed in the suggestion."
217
245
  msgid "ELEMENT_BLOCK_QUOTE"
218
246
  msgstr "區塊引述"
@@ -221,6 +249,10 @@ msgctxt "The bulleted list element name displayed in the suggestion."
221
249
  msgid "ELEMENT_BULLETED_LIST"
222
250
  msgstr "項目符號清單"
223
251
 
252
+ msgctxt "The default styled bulleted list element name displayed in the suggestion."
253
+ msgid "ELEMENT_BULLETED_LIST_DEFAULT"
254
+ msgstr "項目符號清單(預設)"
255
+
224
256
  msgctxt "The circle styled bulleted list element name displayed in the suggestion."
225
257
  msgid "ELEMENT_BULLETED_LIST_CIRCLE"
226
258
  msgstr "項目符號列表(空心圓)"
@@ -291,6 +323,10 @@ msgctxt "The numbered list element name displayed in the suggestion."
291
323
  msgid "ELEMENT_NUMBERED_LIST"
292
324
  msgstr "編號清單"
293
325
 
326
+ msgctxt "The default styled numbered list element name displayed in the suggestion."
327
+ msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
328
+ msgstr "編號清單(預設)"
329
+
294
330
  msgctxt "The decimal styled numbered list element name displayed in the suggestion."
295
331
  msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
296
332
  msgstr "編號列表(阿拉伯數字)"
@@ -372,6 +408,10 @@ msgctxt "The to-do list element name displayed in the suggestion."
372
408
  msgid "ELEMENT_TODO_LIST"
373
409
  msgstr "待辦事項清單"
374
410
 
411
+ msgctxt "The alignment format name displayed in a format suggestion."
412
+ msgid "FORMAT_ALIGNMENT"
413
+ msgstr "對齊"
414
+
375
415
  msgctxt "The align to center format name displayed in a format suggestion."
376
416
  msgid "FORMAT_ALIGN_TO_CENTER"
377
417
  msgstr "置中"
@@ -448,6 +488,42 @@ msgctxt "The underline format name displayed in a format suggestion."
448
488
  msgid "FORMAT_UNDERLINE"
449
489
  msgstr "底線"
450
490
 
491
+ msgctxt "The list or block indent format name displayed in a format suggestion."
492
+ msgid "FORMAT_INDENT"
493
+ msgstr "縮排"
494
+
495
+ msgctxt "The list reversed format name displayed in a format suggestion."
496
+ msgid "FORMAT_LIST_REVERSED"
497
+ msgstr "清單反轉"
498
+
499
+ msgctxt "The list start format name displayed in a format suggestion."
500
+ msgid "FORMAT_LIST_START"
501
+ msgstr "清單起始"
502
+
503
+ msgctxt "The font size format name displayed in a format suggestion."
504
+ msgid "FORMAT_FONT_SIZE"
505
+ msgstr "字型大小"
506
+
507
+ msgctxt "The font family format name displayed in a format suggestion."
508
+ msgid "FORMAT_FONT_FAMILY"
509
+ msgstr "字型家族"
510
+
511
+ msgctxt "The font color format name displayed in a format suggestion."
512
+ msgid "FORMAT_FONT_COLOR"
513
+ msgstr "字型顏色"
514
+
515
+ msgctxt "The font background color format name displayed in a format suggestion."
516
+ msgid "FORMAT_FONT_BACKGROUND"
517
+ msgstr "字型背景顏色"
518
+
519
+ msgctxt "The image width change format name displayed in a format suggestion."
520
+ msgid "FORMAT_IMAGE_WIDTH"
521
+ msgstr "圖片大小"
522
+
523
+ msgctxt "The style format name displayed in a format suggestion."
524
+ msgid "FORMAT_STYLE"
525
+ msgstr "樣式"
526
+
451
527
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
452
528
  msgid "PENDING_ACTION_SUGGESTION"
453
529
  msgstr "建議中未儲存的變更。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "39.0.2",
3
+ "version": "40.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/)",
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "ckeditor5": "39.0.2",
43
- "ckeditor5-collaboration": "39.0.2",
42
+ "ckeditor5": "40.1.0",
43
+ "ckeditor5-collaboration": "40.1.0",
44
44
  "lodash-es": "4.17.21"
45
45
  },
46
46
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5059=['_suggestions','acceptSuggestion','_isEnabledBasedOnSelection','isEnabled','refresh','execute','editor','get','getRanges','track-changes-accept-suggestion-not-found','TrackChangesEditing'];(function(_0x24f610,_0x5059d0){const _0x2080f3=function(_0x2ff65e){while(--_0x2ff65e){_0x24f610['push'](_0x24f610['shift']());}};_0x2080f3(++_0x5059d0);}(_0x5059,0xff));const _0x2080=function(_0x24f610,_0x5059d0){_0x24f610=_0x24f610-0x0;let _0x2080f3=_0x5059[_0x24f610];return _0x2080f3;};import{Command as _0x43adc0}from'ckeditor5/src/core';import{CKEditorError as _0x22860d}from'ckeditor5/src/utils';export default class M extends _0x43adc0{constructor(_0x55a88b,_0x3dd9f3){super(_0x55a88b),this[_0x2080('0x9')]=_0x3dd9f3,this[_0x2080('0x2')](),this[_0x2080('0x0')]=!0x1;}['refresh'](){this[_0x2080('0x1')]=!0x0;}[_0x2080('0x3')](_0x3b0040){const _0x19c236=this[_0x2080('0x9')][_0x2080('0x5')](_0x3b0040);if(!_0x19c236)throw new _0x22860d(_0x2080('0x7'),this);const _0xd66c7b=_0x19c236[_0x2080('0x6')]();this['editor']['model']['canEditAt'](_0xd66c7b)&&this[_0x2080('0x4')]['plugins'][_0x2080('0x5')](_0x2080('0x8'))[_0x2080('0xa')](_0x19c236);}}
23
+ const _0x2af4=['_suggestions','editor','_isEnabledBasedOnSelection','plugins','model','refresh','execute','isEnabled','TrackChangesEditing','get','acceptSuggestion','track-changes-accept-suggestion-not-found'];(function(_0xd28304,_0x2af480){const _0x402c32=function(_0x14b5c9){while(--_0x14b5c9){_0xd28304['push'](_0xd28304['shift']());}};_0x402c32(++_0x2af480);}(_0x2af4,0x9b));const _0x402c=function(_0xd28304,_0x2af480){_0xd28304=_0xd28304-0x0;let _0x402c32=_0x2af4[_0xd28304];return _0x402c32;};import{Command as _0x15c87d}from'ckeditor5/src/core';import{CKEditorError as _0x40a8c9}from'ckeditor5/src/utils';export default class B extends _0x15c87d{constructor(_0x4bda25,_0x40fe97){super(_0x4bda25),this[_0x402c('0x1')]=_0x40fe97,this[_0x402c('0x6')](),this[_0x402c('0x3')]=!0x1;}[_0x402c('0x6')](){this[_0x402c('0x8')]=!0x0;}[_0x402c('0x7')](_0x25d62f){const _0x3191ef=this[_0x402c('0x1')]['get'](_0x25d62f);if(!_0x3191ef)throw new _0x40a8c9(_0x402c('0x0'),this);const _0x529e44=_0x3191ef['getRanges']();this[_0x402c('0x2')][_0x402c('0x5')]['canEditAt'](_0x529e44)&&this['editor'][_0x402c('0x4')][_0x402c('0xa')](_0x402c('0x9'))[_0x402c('0xb')](_0x3191ef);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a3e=['discardSuggestion','_isEnabledBasedOnSelection','refresh','canEditAt','isEnabled','_suggestions','track-changes-discard-suggestion-not-found','execute','model','editor','get'];(function(_0x2d0f0d,_0x1a3e98){const _0xa1d8b0=function(_0x408805){while(--_0x408805){_0x2d0f0d['push'](_0x2d0f0d['shift']());}};_0xa1d8b0(++_0x1a3e98);}(_0x1a3e,0x121));const _0xa1d8=function(_0x2d0f0d,_0x1a3e98){_0x2d0f0d=_0x2d0f0d-0x0;let _0xa1d8b0=_0x1a3e[_0x2d0f0d];return _0xa1d8b0;};import{Command as _0x4a7b0a}from'ckeditor5/src/core';import{CKEditorError as _0x1fea4e}from'ckeditor5/src/utils';export default class $ extends _0x4a7b0a{constructor(_0x12d0fd,_0x50576e){super(_0x12d0fd),this[_0xa1d8('0x2')]=_0x50576e,this[_0xa1d8('0xa')](),this[_0xa1d8('0x9')]=!0x1;}[_0xa1d8('0xa')](){this[_0xa1d8('0x1')]=!0x0;}[_0xa1d8('0x4')](_0x3c745e){const _0x3ec63f=this[_0xa1d8('0x2')][_0xa1d8('0x7')](_0x3c745e);if(!_0x3ec63f)throw new _0x1fea4e(_0xa1d8('0x3'),this);const _0x179d79=_0x3ec63f['getRanges']();this[_0xa1d8('0x6')][_0xa1d8('0x5')][_0xa1d8('0x0')](_0x179d79)&&this[_0xa1d8('0x6')]['plugins'][_0xa1d8('0x7')]('TrackChangesEditing')[_0xa1d8('0x8')](_0x3ec63f);}}
23
+ const _0x1c25=['track-changes-discard-suggestion-not-found','isEnabled','editor','get','plugins','TrackChangesEditing','refresh','discardSuggestion','getRanges','execute','_suggestions','canEditAt'];(function(_0x3e360e,_0x1c2520){const _0x5d9f52=function(_0x5e9437){while(--_0x5e9437){_0x3e360e['push'](_0x3e360e['shift']());}};_0x5d9f52(++_0x1c2520);}(_0x1c25,0x169));const _0x5d9f=function(_0x3e360e,_0x1c2520){_0x3e360e=_0x3e360e-0x0;let _0x5d9f52=_0x1c25[_0x3e360e];return _0x5d9f52;};import{Command as _0x4ac650}from'ckeditor5/src/core';import{CKEditorError as _0x356bc4}from'ckeditor5/src/utils';export default class x extends _0x4ac650{constructor(_0x2d58f2,_0x3c80fd){super(_0x2d58f2),this[_0x5d9f('0x9')]=_0x3c80fd,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5d9f('0x5')](){this[_0x5d9f('0x0')]=!0x0;}[_0x5d9f('0x8')](_0x331b2e){const _0x45c91a=this[_0x5d9f('0x9')]['get'](_0x331b2e);if(!_0x45c91a)throw new _0x356bc4(_0x5d9f('0xb'),this);const _0x12d33f=_0x45c91a[_0x5d9f('0x7')]();this[_0x5d9f('0x1')]['model'][_0x5d9f('0xa')](_0x12d33f)&&this[_0x5d9f('0x1')][_0x5d9f('0x3')][_0x5d9f('0x2')](_0x5d9f('0x4'))[_0x5d9f('0x6')](_0x45c91a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2699=['refresh','canEditAt','from','getRanges','some','_isEnabledBasedOnSelection','_suggestions','isInContent','_command','values','editor','model','isEnabled'];(function(_0x4be917,_0x269985){const _0x3b5de0=function(_0xbcd2a9){while(--_0xbcd2a9){_0x4be917['push'](_0x4be917['shift']());}};_0x3b5de0(++_0x269985);}(_0x2699,0x1a3));const _0x3b5d=function(_0x4be917,_0x269985){_0x4be917=_0x4be917-0x0;let _0x3b5de0=_0x2699[_0x4be917];return _0x3b5de0;};import{Command as _0xfe1a07}from'ckeditor5/src/core';import{sortSuggestions as _0x1d5b17,executeCommandForSuggestions as _0x5bcca3}from'../utils/utils';export default class N extends _0xfe1a07{constructor(_0x378731,_0x33edce,_0x10b5a1){super(_0x378731),this[_0x3b5d('0x5')]=_0x33edce,this[_0x3b5d('0x3')]=_0x10b5a1,this[_0x3b5d('0xa')](),this[_0x3b5d('0x2')]=!0x1;}[_0x3b5d('0xa')](){const _0x3aea3c=Array[_0x3b5d('0xc')](this[_0x3b5d('0x3')][_0x3b5d('0x6')]())[_0x3b5d('0x1')](_0x4be91c=>_0x4be91c[_0x3b5d('0x4')]);this[_0x3b5d('0x9')]=this[_0x3b5d('0x5')]['isEnabled']&&_0x3aea3c;}['execute'](){const _0x4eba7c=_0x1d5b17(Array[_0x3b5d('0xc')](this[_0x3b5d('0x3')][_0x3b5d('0x6')]()));for(const _0x3d01c0 of _0x4eba7c){const _0x3b5664=_0x3d01c0[_0x3b5d('0x0')]();if(!this['editor'][_0x3b5d('0x8')][_0x3b5d('0xb')](_0x3b5664))return;}_0x5bcca3(this[_0x3b5d('0x7')][_0x3b5d('0x8')],this[_0x3b5d('0x5')],_0x4eba7c);}}
23
+ const _0x3187=['editor','canEditAt','from','some','isEnabled','_isEnabledBasedOnSelection','execute','getRanges','model','_suggestions','values','_command'];(function(_0x5e258b,_0x3187da){const _0x2439f3=function(_0x3c0f50){while(--_0x3c0f50){_0x5e258b['push'](_0x5e258b['shift']());}};_0x2439f3(++_0x3187da);}(_0x3187,0x1ef));const _0x2439=function(_0x5e258b,_0x3187da){_0x5e258b=_0x5e258b-0x0;let _0x2439f3=_0x3187[_0x5e258b];return _0x2439f3;};import{Command as _0x40dc85}from'ckeditor5/src/core';import{sortSuggestions as _0x5268b1,executeCommandForSuggestions as _0x13fbf3}from'../utils/utils';export default class E extends _0x40dc85{constructor(_0x4aa136,_0xef9de4,_0x541e66){super(_0x4aa136),this[_0x2439('0x8')]=_0xef9de4,this[_0x2439('0x6')]=_0x541e66,this['refresh'](),this[_0x2439('0x2')]=!0x1;}['refresh'](){const _0x1e06fa=Array['from'](this[_0x2439('0x6')][_0x2439('0x7')]())[_0x2439('0x0')](_0x495a57=>_0x495a57['isInContent']);this['isEnabled']=this[_0x2439('0x8')][_0x2439('0x1')]&&_0x1e06fa;}[_0x2439('0x3')](){const _0x468484=_0x5268b1(Array[_0x2439('0xb')](this[_0x2439('0x6')]['values']()));for(const _0x3d08c5 of _0x468484){const _0x247069=_0x3d08c5[_0x2439('0x4')]();if(!this['editor'][_0x2439('0x5')][_0x2439('0xa')](_0x247069))return;}_0x13fbf3(this[_0x2439('0x9')]['model'],this['_command'],_0x468484);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3731=['execute','document','isEnabled','_command','getRanges','values','canEditAt','_suggestions','from','_selectedSuggestions','model','refresh'];(function(_0x272171,_0x373127){const _0x5b8e5a=function(_0x3a2f95){while(--_0x3a2f95){_0x272171['push'](_0x272171['shift']());}};_0x5b8e5a(++_0x373127);}(_0x3731,0x108));const _0x5b8e=function(_0x272171,_0x373127){_0x272171=_0x272171-0x0;let _0x5b8e5a=_0x3731[_0x272171];return _0x5b8e5a;};import{Command as _0x2f63f2}from'ckeditor5/src/core';import{sortSuggestions as _0x32d791,getSelectedSuggestions as _0x25fc28,executeCommandForSuggestions as _0xfbc984}from'../utils/utils';export default class R extends _0x2f63f2{constructor(_0x2dc74a,_0x372e2f,_0x17bb27){super(_0x2dc74a),this[_0x5b8e('0x3')]=_0x372e2f,this[_0x5b8e('0x7')]=_0x17bb27,this['_selectedSuggestions']=new Set(),this[_0x5b8e('0xb')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5b8e('0xb')](){const _0x5525d=this['editor']['model'][_0x5b8e('0x1')]['selection'],_0x3cedea=Array['from'](this[_0x5b8e('0x7')][_0x5b8e('0x5')]());this[_0x5b8e('0x9')]=_0x25fc28(_0x5525d,_0x3cedea),this[_0x5b8e('0x2')]=this['_command']['isEnabled']&&!!this[_0x5b8e('0x9')]['size'];}[_0x5b8e('0x0')](){const _0x3701b8=_0x32d791(Array[_0x5b8e('0x8')](this[_0x5b8e('0x9')]));for(const _0xc4102c of _0x3701b8){const _0x5e75b2=_0xc4102c[_0x5b8e('0x4')]();if(!this['editor'][_0x5b8e('0xa')][_0x5b8e('0x6')](_0x5e75b2))return;}_0xfbc984(this['editor'][_0x5b8e('0xa')],this['_command'],_0x3701b8);}}
23
+ const _0x47be=['canEditAt','selection','values','from','document','model','refresh','editor','_suggestions','_command','isEnabled','_selectedSuggestions','size','_isEnabledBasedOnSelection','getRanges'];(function(_0x562dfe,_0x47be77){const _0x5275a6=function(_0x10da87){while(--_0x10da87){_0x562dfe['push'](_0x562dfe['shift']());}};_0x5275a6(++_0x47be77);}(_0x47be,0x1ce));const _0x5275=function(_0x562dfe,_0x47be77){_0x562dfe=_0x562dfe-0x0;let _0x5275a6=_0x47be[_0x562dfe];return _0x5275a6;};import{Command as _0x1b0b89}from'ckeditor5/src/core';import{sortSuggestions as _0x3b14f9,getSelectedSuggestions as _0x17cb86,executeCommandForSuggestions as _0x1e2071}from'../utils/utils';export default class R extends _0x1b0b89{constructor(_0x161725,_0x45008c,_0x549f98){super(_0x161725),this['_command']=_0x45008c,this[_0x5275('0xb')]=_0x549f98,this[_0x5275('0xe')]=new Set(),this[_0x5275('0x9')](),this[_0x5275('0x1')]=!0x1;}[_0x5275('0x9')](){const _0x9c6dcc=this[_0x5275('0xa')][_0x5275('0x8')][_0x5275('0x7')][_0x5275('0x4')],_0x4c1a1a=Array[_0x5275('0x6')](this['_suggestions'][_0x5275('0x5')]());this[_0x5275('0xe')]=_0x17cb86(_0x9c6dcc,_0x4c1a1a),this[_0x5275('0xd')]=this[_0x5275('0xc')][_0x5275('0xd')]&&!!this[_0x5275('0xe')][_0x5275('0x0')];}['execute'](){const _0x383d7e=_0x3b14f9(Array[_0x5275('0x6')](this['_selectedSuggestions']));for(const _0x45fcc4 of _0x383d7e){const _0x2cfca4=_0x45fcc4[_0x5275('0x2')]();if(!this[_0x5275('0xa')][_0x5275('0x8')][_0x5275('0x3')](_0x2cfca4))return;}_0x1e2071(this[_0x5275('0xa')][_0x5275('0x8')],this[_0x5275('0xc')],_0x383d7e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20ef=['_enableCommands','value','has','TrackChangesCommand','_enabledCommands','forceDisabled','affectsData','refresh','_disableUnsupportedCommands','editor','commands','isEnabled'];(function(_0x59228c,_0x20ef40){const _0x3ff206=function(_0x3f607d){while(--_0x3f607d){_0x59228c['push'](_0x59228c['shift']());}};_0x3ff206(++_0x20ef40);}(_0x20ef,0x1da));const _0x3ff2=function(_0x59228c,_0x20ef40){_0x59228c=_0x59228c-0x0;let _0x3ff206=_0x20ef[_0x59228c];return _0x3ff206;};import{Command as _0x47bf0a}from'ckeditor5/src/core';export default class _ extends _0x47bf0a{constructor(_0x4ea771,_0x424329){super(_0x4ea771),this[_0x3ff2('0xa')]=_0x424329,this[_0x3ff2('0x7')]=!0x1,this[_0x3ff2('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3ff2('0x1')](){this[_0x3ff2('0x5')]=!0x0;}['execute'](){this[_0x3ff2('0x7')]=!this[_0x3ff2('0x7')],this[_0x3ff2('0x7')]?this[_0x3ff2('0x2')]():this[_0x3ff2('0x6')]();}['_disableUnsupportedCommands'](){for(const _0x24d28d of this[_0x3ff2('0x3')]['commands'][_0x3ff2('0x4')]())_0x24d28d[_0x3ff2('0x0')]&&!this[_0x3ff2('0xa')][_0x3ff2('0x8')](_0x24d28d)&&_0x24d28d[_0x3ff2('0xb')](_0x3ff2('0x9'));}[_0x3ff2('0x6')](){for(const _0x50ac4d of this[_0x3ff2('0x3')][_0x3ff2('0x4')][_0x3ff2('0x4')]())_0x50ac4d[_0x3ff2('0x0')]&&!this[_0x3ff2('0xa')][_0x3ff2('0x8')](_0x50ac4d)&&_0x50ac4d['clearForceDisabled'](_0x3ff2('0x9'));}}
23
+ const _0x4d84=['TrackChangesCommand','has','_disableUnsupportedCommands','_enabledCommands','isEnabled','refresh','editor','_isEnabledBasedOnSelection','commands','forceDisabled','execute','value','affectsData','clearForceDisabled'];(function(_0x32e9f1,_0x4d8430){const _0x445dd7=function(_0x35573c){while(--_0x35573c){_0x32e9f1['push'](_0x32e9f1['shift']());}};_0x445dd7(++_0x4d8430);}(_0x4d84,0x13a));const _0x445d=function(_0x32e9f1,_0x4d8430){_0x32e9f1=_0x32e9f1-0x0;let _0x445dd7=_0x4d84[_0x32e9f1];return _0x445dd7;};import{Command as _0x25a8fe}from'ckeditor5/src/core';export default class $ extends _0x25a8fe{constructor(_0x3f416d,_0x90c391){super(_0x3f416d),this[_0x445d('0xb')]=_0x90c391,this[_0x445d('0x5')]=!0x1,this[_0x445d('0xd')](),this[_0x445d('0x1')]=!0x1;}[_0x445d('0xd')](){this[_0x445d('0xc')]=!0x0;}[_0x445d('0x4')](){this['value']=!this[_0x445d('0x5')],this['value']?this[_0x445d('0xa')]():this['_enableCommands']();}[_0x445d('0xa')](){for(const _0x4edee4 of this[_0x445d('0x0')][_0x445d('0x2')][_0x445d('0x2')]())_0x4edee4['affectsData']&&!this[_0x445d('0xb')][_0x445d('0x9')](_0x4edee4)&&_0x4edee4[_0x445d('0x3')](_0x445d('0x8'));}['_enableCommands'](){for(const _0x5e4612 of this['editor'][_0x445d('0x2')][_0x445d('0x2')]())_0x5e4612[_0x445d('0x6')]&&!this[_0x445d('0xb')]['has'](_0x5e4612)&&_0x5e4612[_0x445d('0x7')](_0x445d('0x8'));}}
package/src/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export { default as TrackChanges, type SuggestionData } from './trackchanges';
5
+ export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
6
6
  export { default as TrackChangesData } from './trackchangesdata';
7
7
  export { default as TrackChangesEditing } from './trackchangesediting';
8
8
  export type { SuggestionJSON } from './suggestion';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/aiassistant
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the AI Assistant feature.
11
+ */
12
+ export default class TrackChangesAIAssistant extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2023, 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 _0x5e64=['enableCommand','showAIAssistant','editor','commands','get','TrackChangesEditing'];(function(_0x112545,_0x5e640d){const _0x3de5f8=function(_0xfe2b95){while(--_0xfe2b95){_0x112545['push'](_0x112545['shift']());}};_0x3de5f8(++_0x5e640d);}(_0x5e64,0xac));const _0x3de5=function(_0x112545,_0x5e640d){_0x112545=_0x112545-0x0;let _0x3de5f8=_0x5e64[_0x112545];return _0x3de5f8;};import{Plugin as _0x2acc10}from'ckeditor5/src/core';export default class j extends _0x2acc10{['afterInit'](){const _0x11eb8b=this[_0x3de5('0x4')],_0xddb8e2=_0x11eb8b['plugins']['get'](_0x3de5('0x1'));_0x11eb8b[_0x3de5('0x5')][_0x3de5('0x0')](_0x3de5('0x3'))&&_0xddb8e2[_0x3de5('0x2')]('showAIAssistant');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e3f=['_descriptionFactory','from','document','FORMAT_JUSTIFY_TEXT','selection','commandParams','markBlockFormat','right','format','value','change','commandName','editor','getSelectedBlocks','getAttribute','checkAttribute','plugins','schema','*Format:*\x20%0','AlignmentEditing','get','FORMAT_ALIGN_TO_LEFT','ltr','contentLanguageDirection','filter','TrackChangesEditing','model','left','alignment'];(function(_0x422c5d,_0x3e3f97){const _0x749ba1=function(_0x32d9e0){while(--_0x32d9e0){_0x422c5d['push'](_0x422c5d['shift']());}};_0x749ba1(++_0x3e3f97);}(_0x3e3f,0x17a));const _0x749b=function(_0x422c5d,_0x3e3f97){_0x422c5d=_0x422c5d-0x0;let _0x749ba1=_0x3e3f[_0x422c5d];return _0x749ba1;};import{Plugin as _0x1b353d}from'ckeditor5/src/core';import{getTranslation as _0x5c5951}from'../utils/common-translations';export default class j extends _0x1b353d{['afterInit'](){const _0x4d3161=this[_0x749b('0xb')],_0x1778e2=_0x4d3161['locale'];if(!_0x4d3161[_0x749b('0xf')]['has'](_0x749b('0x12')))return;const _0x57190a=_0x4d3161[_0x749b('0xf')][_0x749b('0x13')](_0x749b('0x18'));_0x57190a['enableCommand']('alignment',(_0x163dec,_0xa9a126={})=>{let _0x526fba=_0xa9a126[_0x749b('0x8')];_0xa9a126[_0x749b('0x8')]||(_0x526fba=_0x749b('0x15')===_0x4d3161['locale'][_0x749b('0x16')]?_0x749b('0x1a'):_0x749b('0x6'));const _0x4f5f1e=Array[_0x749b('0x0')](this[_0x749b('0xb')]['model'][_0x749b('0x1')][_0x749b('0x3')][_0x749b('0xc')]())[_0x749b('0x17')](_0x2eb075=>function(_0x26b19a,_0x35baba,_0x1c7afc){const _0x46b88f=_0x26b19a[_0x749b('0xd')](_0x749b('0x1b'))||null;return _0x35baba[_0x749b('0xe')](_0x26b19a,_0x749b('0x1b'))&&_0x1c7afc!=_0x46b88f;}(_0x2eb075,this[_0x749b('0xb')][_0x749b('0x19')][_0x749b('0x10')],_0x526fba));_0x4d3161[_0x749b('0x19')][_0x749b('0x9')](()=>{for(const _0x19a656 of _0x4f5f1e)_0x57190a[_0x749b('0x5')](_0x19a656,{'commandName':_0x749b('0x1b'),'commandParams':[{'value':_0x526fba}]});});}),_0x57190a[_0x749b('0x1c')]['registerDescriptionCallback'](_0xfffeab=>{const {data:_0x4597c7}=_0xfffeab;if(_0x4597c7&&_0x749b('0x1b')==_0x4597c7[_0x749b('0xa')]){const _0x451f56=_0x4597c7[_0x749b('0x4')][0x0][_0x749b('0x8')];return{'type':_0x749b('0x7'),'content':_0x5c5951(_0x1778e2,_0x749b('0x11'),function(_0x32da0e){switch(_0x32da0e){case _0x749b('0x1a'):return _0x5c5951(_0x1778e2,_0x749b('0x14'));case _0x749b('0x6'):return _0x5c5951(_0x1778e2,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x5c5951(_0x1778e2,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x5c5951(_0x1778e2,_0x749b('0x2'));}}(_0x451f56))};}});}}
23
+ const _0x2adb=['TrackChangesEditing','locale','right','formatBlock','center','plugins','format','_registerLegacyDescription','afterInit','*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','FORMAT_JUSTIFY_TEXT','registerDescriptionCallback','commandName','_enableDefaultAttributesIntegration','editor','FORMAT_ALIGNMENT','alignment','_descriptionFactory','FORMAT_ALIGN_TO_CENTER','get','has','type','AlignmentEditing'];(function(_0x512dd9,_0x2adbab){const _0x4db0aa=function(_0x409baf){while(--_0x409baf){_0x512dd9['push'](_0x512dd9['shift']());}};_0x4db0aa(++_0x2adbab);}(_0x2adb,0x1b9));const _0x4db0=function(_0x512dd9,_0x2adbab){_0x512dd9=_0x512dd9-0x0;let _0x4db0aa=_0x2adb[_0x512dd9];return _0x4db0aa;};import{Plugin as _0x46f3df}from'ckeditor5/src/core';import{getTranslation as _0xe8cd67}from'../utils/common-translations';export default class U extends _0x46f3df{[_0x4db0('0x11')](){const _0x2867e5=this['editor'],_0x53cc24=_0x2867e5[_0x4db0('0xa')];if(!_0x2867e5[_0x4db0('0xe')][_0x4db0('0x6')](_0x4db0('0x8')))return;const _0xb1619b=_0x2867e5[_0x4db0('0xe')][_0x4db0('0x5')](_0x4db0('0x9'));_0xb1619b[_0x4db0('0x18')](_0x4db0('0x2'),[],[_0x4db0('0x2')]),_0xb1619b[_0x4db0('0x3')]['registerAttributeLabel'](_0x4db0('0x2'),_0xe8cd67(_0x53cc24,_0x4db0('0x1'))),this[_0x4db0('0x10')]();}[_0x4db0('0x10')](){const _0x4ba405=this[_0x4db0('0x0')],_0x1efb12=_0x4ba405[_0x4db0('0xa')];_0x4ba405['plugins']['get']('TrackChangesEditing')[_0x4db0('0x3')][_0x4db0('0x16')](_0x211dd3=>{if(_0x4db0('0xc')!=_0x211dd3[_0x4db0('0x7')])return;const {data:_0x4d4ad3}=_0x211dd3;if(_0x4d4ad3&&'alignment'==_0x4d4ad3[_0x4db0('0x17')]){const _0xb233d5=_0x4d4ad3['commandParams'][0x0]['value'];return{'type':_0x4db0('0xf'),'content':_0xe8cd67(_0x1efb12,_0x4db0('0x12'),function(_0x3ee9e9){switch(_0x3ee9e9){case'left':return _0xe8cd67(_0x1efb12,_0x4db0('0x14'));case _0x4db0('0xb'):return _0xe8cd67(_0x1efb12,_0x4db0('0x13'));case _0x4db0('0xd'):return _0xe8cd67(_0x1efb12,_0x4db0('0x4'));case'justify':return _0xe8cd67(_0x1efb12,_0x4db0('0x15'));}}(_0xb233d5))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1699=['*Remove\x20format:*\x20%0','markInlineFormat','commands','code','TrackChangesEditing','UnderlineEditing','ItalicEditing','_descriptionFactory','document','editor','value','slice','forceValue','bold','CodeEditing','strikethrough','has','isCollapsed','FORMAT_CODE','underline','commandName','SuperscriptEditing','toLowerCase','superscript','italic','get','FORMAT_BOLD','FORMAT_SUPERSCRIPT','*Format:*\x20%0','commandParams','FORMAT_UNDERLINE','FORMAT_SUBSCRIPT','plugins','enableCommand','format','model','selection','getRanges'];(function(_0x435c9d,_0x16997c){const _0x34b4cc=function(_0x5374cc){while(--_0x5374cc){_0x435c9d['push'](_0x435c9d['shift']());}};_0x34b4cc(++_0x16997c);}(_0x1699,0x17f));const _0x34b4=function(_0x435c9d,_0x16997c){_0x435c9d=_0x435c9d-0x0;let _0x34b4cc=_0x1699[_0x435c9d];return _0x34b4cc;};import{Plugin as _0x3c60f7}from'ckeditor5/src/core';import{getTranslation as _0x1b249d}from'../utils/common-translations';import{getRangesWithAttribute as _0x4b103b}from'./utils';const Yt=['BoldEditing',_0x34b4('0x3'),_0x34b4('0x2'),_0x34b4('0xb'),'StrikethroughEditing','SubscriptEditing',_0x34b4('0x12')];export default class x extends _0x3c60f7{['afterInit'](){const _0x18a309=this[_0x34b4('0x6')],_0x508df8=_0x18a309[_0x34b4('0x20')],_0x16cb27=_0x18a309[_0x34b4('0x1d')][_0x34b4('0x16')](_0x34b4('0x1')),_0x245aad=_0x18a309['locale'];for(const _0x1fee64 of Yt){if(!_0x18a309['plugins'][_0x34b4('0xd')](_0x1fee64))continue;const _0x297e6d=_0x1fee64[_0x34b4('0x8')](0x0,-0x7)[_0x34b4('0x13')](),_0x29d7d7=_0x18a309[_0x34b4('0x25')][_0x34b4('0x16')](_0x297e6d);_0x16cb27[_0x34b4('0x1e')](_0x297e6d,(_0x4e3d52,_0xc04fda={})=>{const _0x225ff9=_0x508df8[_0x34b4('0x5')][_0x34b4('0x21')];if(_0x225ff9[_0x34b4('0xe')])return void _0x4e3d52(_0xc04fda);const _0xbb1910=void 0x0!==_0xc04fda['forceValue']?_0xc04fda['forceValue']:!_0x29d7d7[_0x34b4('0x7')];_0x508df8['change'](()=>{const _0x128287=Array['from'](_0x225ff9[_0x34b4('0x22')]());for(const _0x1f1835 of _0x128287){const _0x3c1186=_0xbb1910?[_0x1f1835]:_0x4b103b(_0x297e6d,_0x1f1835,_0x508df8);for(const _0x56e52f of _0x3c1186)_0x16cb27[_0x34b4('0x24')](_0x56e52f,{'commandName':_0x297e6d,'commandParams':[{'forceValue':_0xbb1910}]});}});});}function _0x1ee5dd(_0x193996,_0x31cccd){_0x16cb27[_0x34b4('0x4')]['registerDescriptionCallback'](_0xd5aa8c=>{const {data:_0x1220b7}=_0xd5aa8c;if(_0x1220b7&&_0x1220b7[_0x34b4('0x11')]===_0x193996)return _0x1220b7[_0x34b4('0x1a')][0x0][_0x34b4('0x9')]?{'type':_0x34b4('0x1f'),'content':_0x1b249d(_0x245aad,_0x34b4('0x19'),_0x31cccd)}:{'type':_0x34b4('0x1f'),'content':_0x1b249d(_0x245aad,_0x34b4('0x23'),_0x31cccd)};});}_0x1ee5dd(_0x34b4('0xa'),_0x1b249d(_0x245aad,_0x34b4('0x17'))),_0x1ee5dd(_0x34b4('0x15'),_0x1b249d(_0x245aad,'FORMAT_ITALIC')),_0x1ee5dd(_0x34b4('0x10'),_0x1b249d(_0x245aad,_0x34b4('0x1b'))),_0x1ee5dd(_0x34b4('0x0'),_0x1b249d(_0x245aad,_0x34b4('0xf'))),_0x1ee5dd(_0x34b4('0xc'),_0x1b249d(_0x245aad,'FORMAT_STRIKETHROUGH')),_0x1ee5dd('subscript',_0x1b249d(_0x245aad,_0x34b4('0x1c'))),_0x1ee5dd(_0x34b4('0x14'),_0x1b249d(_0x245aad,_0x34b4('0x18')));}}
23
+ const _0x1f99=['strikethrough','*Format:*\x20%0','underline','registerDescriptionCallback','registerAttributeLabel','has','toUpperCase','BoldEditing','forceValue','SuperscriptEditing','FORMAT_CODE','_registerLegacyDescription','subscript','*Remove\x20format:*\x20%0','formatInline','_descriptionFactory','code','FORMAT_ITALIC','FORMAT_','commandParams','FORMAT_SUBSCRIPT','bold','plugins','SubscriptEditing','ItalicEditing','StrikethroughEditing','commandName','get','italic','FORMAT_UNDERLINE','format','TrackChangesEditing','editor','locale','type','UnderlineEditing','slice','toLowerCase'];(function(_0x5b967e,_0x1f9922){const _0x38dce3=function(_0x557e0b){while(--_0x557e0b){_0x5b967e['push'](_0x5b967e['shift']());}};_0x38dce3(++_0x1f9922);}(_0x1f99,0x1e5));const _0x38dc=function(_0x5b967e,_0x1f9922){_0x5b967e=_0x5b967e-0x0;let _0x38dce3=_0x1f99[_0x5b967e];return _0x38dce3;};import{Plugin as _0x1f30d7}from'ckeditor5/src/core';import{getTranslation as _0x275a70}from'../utils/common-translations';const ti=[_0x38dc('0x10'),_0x38dc('0x21'),_0x38dc('0x6'),'CodeEditing',_0x38dc('0x22'),_0x38dc('0x20'),_0x38dc('0x12')];export default class O extends _0x1f30d7{['afterInit'](){const _0x39e63c=this[_0x38dc('0x3')],_0x49f415=_0x39e63c['plugins']['get'](_0x38dc('0x2')),_0x4ae2c5=_0x39e63c[_0x38dc('0x4')];for(const _0x155d5c of ti){if(!_0x39e63c[_0x38dc('0x1f')][_0x38dc('0xe')](_0x155d5c))continue;const _0x3a4bdd=_0x155d5c[_0x38dc('0x7')](0x0,-0x7)[_0x38dc('0x8')](),_0x303d1b=_0x38dc('0x1b')+_0x3a4bdd[_0x38dc('0xf')]();_0x49f415['_enableDefaultAttributesIntegration'](_0x3a4bdd,[_0x3a4bdd]),_0x49f415[_0x38dc('0x18')][_0x38dc('0xd')](_0x3a4bdd,_0x275a70(_0x4ae2c5,_0x303d1b));}this[_0x38dc('0x14')]();}[_0x38dc('0x14')](){const _0x535aba=this[_0x38dc('0x3')],_0x1a1c2e=_0x535aba[_0x38dc('0x4')],_0x2d1bfd=_0x535aba[_0x38dc('0x1f')][_0x38dc('0x24')](_0x38dc('0x2'));function _0x25dfaa(_0xf1afd5,_0x11c413){_0x2d1bfd[_0x38dc('0x18')][_0x38dc('0xc')](_0xd23a5=>{if(_0x38dc('0x17')!=_0xd23a5[_0x38dc('0x5')])return;const {data:_0x288039}=_0xd23a5;return _0x288039&&_0x288039[_0x38dc('0x23')]===_0xf1afd5?_0x288039[_0x38dc('0x1c')][0x0][_0x38dc('0x11')]?{'type':_0x38dc('0x1'),'content':_0x275a70(_0x1a1c2e,_0x38dc('0xa'),_0x11c413)}:{'type':_0x38dc('0x1'),'content':_0x275a70(_0x1a1c2e,_0x38dc('0x16'),_0x11c413)}:void 0x0;});}_0x25dfaa(_0x38dc('0x1e'),_0x275a70(_0x1a1c2e,'FORMAT_BOLD')),_0x25dfaa(_0x38dc('0x25'),_0x275a70(_0x1a1c2e,_0x38dc('0x1a'))),_0x25dfaa(_0x38dc('0xb'),_0x275a70(_0x1a1c2e,_0x38dc('0x0'))),_0x25dfaa(_0x38dc('0x19'),_0x275a70(_0x1a1c2e,_0x38dc('0x13'))),_0x25dfaa(_0x38dc('0x9'),_0x275a70(_0x1a1c2e,'FORMAT_STRIKETHROUGH')),_0x25dfaa(_0x38dc('0x15'),_0x275a70(_0x1a1c2e,_0x38dc('0x1d'))),_0x25dfaa('superscript',_0x275a70(_0x1a1c2e,'FORMAT_SUPERSCRIPT'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x125c=['editor','_descriptionFactory','markBlockFormat','change','*Remove\x20format:*\x20%0','enableCommand','selection','document','locale','registerDescriptionCallback','filter','parent','*Format:*\x20%0','model','schema','value','checkChild','commandName','get','name','afterInit','forceValue','getSelectedBlocks','BlockQuoteEditing','$root','plugins','commands','ELEMENT_BLOCK_QUOTE','blockQuote','commandParams','from','format'];(function(_0x5cbce4,_0x125c37){const _0x1203f2=function(_0x50bd8f){while(--_0x50bd8f){_0x5cbce4['push'](_0x5cbce4['shift']());}};_0x1203f2(++_0x125c37);}(_0x125c,0x1e9));const _0x1203=function(_0x5cbce4,_0x125c37){_0x5cbce4=_0x5cbce4-0x0;let _0x1203f2=_0x125c[_0x5cbce4];return _0x1203f2;};import{Plugin as _0x279446}from'ckeditor5/src/core';import{getTranslation as _0x257a31}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x39bedf}from'../utils/utils';export default class U extends _0x279446{[_0x1203('0xb')](){const _0x57fa4b=this[_0x1203('0x17')],_0x4bb782=_0x57fa4b[_0x1203('0x1f')];if(!_0x57fa4b[_0x1203('0x10')]['has'](_0x1203('0xe')))return;const _0x3aa946=_0x57fa4b['plugins'][_0x1203('0x9')]('TrackChangesEditing'),_0x1dab37=this['editor'][_0x1203('0x11')][_0x1203('0x9')]('blockQuote');_0x3aa946[_0x1203('0x1c')]('blockQuote',(_0x17888f,_0x48ce30={})=>{const _0x35ccd6=this['editor'][_0x1203('0x4')][_0x1203('0x1e')][_0x1203('0x1d')],_0x22de87=_0x48ce30&&void 0x0!==_0x48ce30[_0x1203('0xc')]?_0x48ce30['forceValue']:!_0x1dab37[_0x1203('0x6')];let _0x2eff16=[];if(_0x22de87){const _0x3c169d=Array[_0x1203('0x15')](_0x35ccd6[_0x1203('0xd')]())[_0x1203('0x1')](_0x307b96=>to(_0x307b96)||function(_0x27a367,_0x488ddf){const _0x38cf29=_0x488ddf['checkChild'](_0x27a367[_0x1203('0x2')],_0x1203('0x13')),_0x2db063=_0x488ddf[_0x1203('0x7')]([_0x1203('0xf'),_0x1203('0x13')],_0x27a367);return _0x38cf29&&_0x2db063;}(_0x307b96,this['editor']['model'][_0x1203('0x5')]));_0x2eff16=_0x39bedf(_0x3c169d,_0x57fa4b[_0x1203('0x4')]);}else{const _0x4d7f63=Array['from'](_0x35ccd6['getSelectedBlocks']())[_0x1203('0x1')](_0x15308d=>to(_0x15308d));_0x2eff16=_0x39bedf(_0x4d7f63,_0x57fa4b[_0x1203('0x4')]);}_0x57fa4b[_0x1203('0x4')][_0x1203('0x1a')](()=>{for(const _0x658e3d of _0x2eff16)_0x3aa946[_0x1203('0x19')](_0x658e3d,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x22de87}]});});}),_0x3aa946[_0x1203('0x18')][_0x1203('0x0')](_0x2d5a35=>{const {data:_0x65b490}=_0x2d5a35;if(_0x65b490&&'blockQuote'==_0x65b490[_0x1203('0x8')]){const _0x30ccd6=_0x257a31(_0x4bb782,_0x1203('0x12'));return _0x65b490[_0x1203('0x14')][0x0][_0x1203('0xc')]?{'type':'format','content':_0x257a31(_0x4bb782,_0x1203('0x3'),_0x30ccd6)}:{'type':_0x1203('0x16'),'content':_0x257a31(_0x4bb782,_0x1203('0x1b'),_0x30ccd6)};}});}}function to(_0x2e439a){return'blockQuote'==_0x2e439a[_0x1203('0x2')][_0x1203('0xa')];}
23
+ const _0x29be=['model','name','getSelectedBlocks','blockQuote','checkChild','from','BlockQuoteEditing','filter','commandParams','format','ELEMENT_BLOCK_QUOTE','forceValue','plugins','has','enableCommand','value','markBlockFormat','editor','*Set\x20format:*\x20%0','parent','commands','locale','registerDescriptionCallback','TrackChangesEditing','get','_descriptionFactory'];(function(_0xe69a04,_0x29bea5){const _0x148075=function(_0x9be0cd){while(--_0x9be0cd){_0xe69a04['push'](_0xe69a04['shift']());}};_0x148075(++_0x29bea5);}(_0x29be,0xa0));const _0x1480=function(_0xe69a04,_0x29bea5){_0xe69a04=_0xe69a04-0x0;let _0x148075=_0x29be[_0xe69a04];return _0x148075;};import{Plugin as _0x46c32d}from'ckeditor5/src/core';import{getTranslation as _0x4a63b3}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2761d1}from'../utils/utils';export default class V extends _0x46c32d{['afterInit'](){const _0x3cf64e=this[_0x1480('0xd')],_0x28b70c=_0x3cf64e[_0x1480('0x11')];if(!_0x3cf64e[_0x1480('0x8')][_0x1480('0x9')](_0x1480('0x2')))return;const _0x5e41e7=_0x3cf64e['plugins']['get'](_0x1480('0x13')),_0x3adeea=this[_0x1480('0xd')][_0x1480('0x10')][_0x1480('0x14')]('blockQuote');_0x5e41e7[_0x1480('0xa')](_0x1480('0x19'),(_0xab0e5a,_0x5d462a={})=>{const _0x12de49=this['editor'][_0x1480('0x16')]['document']['selection'],_0x4dd338=_0x5d462a&&void 0x0!==_0x5d462a[_0x1480('0x7')]?_0x5d462a[_0x1480('0x7')]:!_0x3adeea[_0x1480('0xb')];let _0x221b95=[];if(_0x4dd338){const _0x44009c=Array['from'](_0x12de49[_0x1480('0x18')]())[_0x1480('0x3')](_0x54b2e0=>eo(_0x54b2e0)||function(_0x170587,_0x169ec5){const _0x20ac74=_0x169ec5[_0x1480('0x0')](_0x170587[_0x1480('0xf')],_0x1480('0x19')),_0x4096e9=_0x169ec5[_0x1480('0x0')](['$root','blockQuote'],_0x170587);return _0x20ac74&&_0x4096e9;}(_0x54b2e0,this[_0x1480('0xd')][_0x1480('0x16')]['schema']));_0x221b95=_0x2761d1(_0x44009c,_0x3cf64e[_0x1480('0x16')]);}else{const _0x1c4c1b=Array[_0x1480('0x1')](_0x12de49['getSelectedBlocks']())[_0x1480('0x3')](_0xf3b94f=>eo(_0xf3b94f));_0x221b95=_0x2761d1(_0x1c4c1b,_0x3cf64e[_0x1480('0x16')]);}_0x3cf64e[_0x1480('0x16')]['change'](()=>{for(const _0x426b8a of _0x221b95)_0x5e41e7[_0x1480('0xc')](_0x426b8a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4dd338}]});});}),_0x5e41e7[_0x1480('0x15')][_0x1480('0x12')](_0x4e8869=>{const {data:_0x33fe50}=_0x4e8869;if(_0x33fe50&&_0x1480('0x19')==_0x33fe50['commandName']){const _0x4ad0eb=_0x4a63b3(_0x28b70c,_0x1480('0x6'));return _0x33fe50[_0x1480('0x4')][0x0][_0x1480('0x7')]?{'type':_0x1480('0x5'),'content':_0x4a63b3(_0x28b70c,_0x1480('0xe'),_0x4ad0eb)}:{'type':_0x1480('0x5'),'content':_0x4a63b3(_0x28b70c,'*Remove\x20format:*\x20%0',_0x4ad0eb)};}});}}function eo(_0x342880){return _0x1480('0x19')==_0x342880['parent'][_0x1480('0x17')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f3b=['ckbox','editor','afterInit','enableCommand','plugins','get','TrackChangesEditing'];(function(_0x504979,_0x5f3b8b){const _0x3154b2=function(_0x45de1b){while(--_0x45de1b){_0x504979['push'](_0x504979['shift']());}};_0x3154b2(++_0x5f3b8b);}(_0x5f3b,0x1b5));const _0x3154=function(_0x504979,_0x5f3b8b){_0x504979=_0x504979-0x0;let _0x3154b2=_0x5f3b[_0x504979];return _0x3154b2;};import{Plugin as _0x449524}from'ckeditor5/src/core';export default class O extends _0x449524{[_0x3154('0x6')](){const _0x379f60=this[_0x3154('0x5')];_0x379f60['commands'][_0x3154('0x2')](_0x3154('0x4'))&&_0x379f60[_0x3154('0x1')][_0x3154('0x2')](_0x3154('0x3'))[_0x3154('0x0')](_0x3154('0x4'));}}
23
+ const _0x5d9b=['ckbox','plugins','get','TrackChangesEditing','editor','afterInit','enableCommand'];(function(_0x2f6894,_0x5d9b94){const _0x27f714=function(_0x230bd2){while(--_0x230bd2){_0x2f6894['push'](_0x2f6894['shift']());}};_0x27f714(++_0x5d9b94);}(_0x5d9b,0x12b));const _0x27f7=function(_0x2f6894,_0x5d9b94){_0x2f6894=_0x2f6894-0x0;let _0x27f714=_0x5d9b[_0x2f6894];return _0x27f714;};import{Plugin as _0x5da118}from'ckeditor5/src/core';export default class F extends _0x5da118{[_0x27f7('0x0')](){const _0x300c3c=this[_0x27f7('0x6')];_0x300c3c['commands'][_0x27f7('0x4')](_0x27f7('0x2'))&&_0x300c3c[_0x27f7('0x3')][_0x27f7('0x4')](_0x27f7('0x5'))[_0x27f7('0x1')]('ckbox');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46a7=['selection','TrackChangesEditing','model','_descriptionFactory','registerElementLabel','ELEMENT_CODE_BLOCK','codeBlock','formatBlock','commandParams','registerDescriptionCallback','parent','plugins','CodeBlock','commandName','from','indentCodeBlock','checkChild','isLimit','value','locale','enableCommand','editor','languages','filter','config','*Format:*\x20%0','getSelectedBlocks','forceValue','change','commands','markBlockFormat','name','outdentCodeBlock','schema','format','language','get'];(function(_0x189c8a,_0x46a795){const _0x3d787f=function(_0x1ef98c){while(--_0x1ef98c){_0x189c8a['push'](_0x189c8a['shift']());}};_0x3d787f(++_0x46a795);}(_0x46a7,0xcb));const _0x3d78=function(_0x189c8a,_0x46a795){_0x189c8a=_0x189c8a-0x0;let _0x3d787f=_0x46a7[_0x189c8a];return _0x3d787f;};import{Plugin as _0x50eae2}from'ckeditor5/src/core';import{getTranslation as _0xf9b2be}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b8321}from'../utils/utils';export default class E extends _0x50eae2{['afterInit'](){const _0x1d5100=this[_0x3d78('0x3')];if(!_0x1d5100[_0x3d78('0x1e')]['has'](_0x3d78('0x1f')))return;const _0x456ab6=_0x1d5100['plugins']['get'](_0x3d78('0x14')),_0x49e4db=_0x1d5100[_0x3d78('0x1')],_0x70ff40=_0x1d5100[_0x3d78('0x6')][_0x3d78('0x12')](_0x3d78('0x19'))[_0x3d78('0x4')],_0x1627ab=_0x1d5100[_0x3d78('0xb')][_0x3d78('0x12')](_0x3d78('0x19'));_0x456ab6[_0x3d78('0x2')](_0x3d78('0x22')),_0x456ab6[_0x3d78('0x2')](_0x3d78('0xe')),_0x456ab6[_0x3d78('0x2')](_0x3d78('0x19'),(_0x2e50e,_0x49bf1f={})=>{const _0x44335a=_0x1d5100[_0x3d78('0x15')],_0x5508a1=_0x1d5100['model']['document'][_0x3d78('0x13')],_0x248159=_0x49bf1f&&void 0x0!==_0x49bf1f[_0x3d78('0x9')]?_0x49bf1f[_0x3d78('0x9')]:!_0x1627ab[_0x3d78('0x0')];let _0x503d8f;_0x49bf1f[_0x3d78('0x11')]||(_0x49bf1f[_0x3d78('0x11')]=_0x70ff40[0x0][_0x3d78('0x11')]),_0x503d8f=_0x248159?Array[_0x3d78('0x21')](_0x5508a1[_0x3d78('0x8')]())[_0x3d78('0x5')](_0x444d22=>oo(_0x444d22)||function(_0x3da053,_0x5f4d2f){if(_0x3da053['is']('rootElement')||_0x5f4d2f[_0x3d78('0x24')](_0x3da053))return!0x1;return _0x5f4d2f[_0x3d78('0x23')](_0x3da053[_0x3d78('0x1d')],_0x3d78('0x19'));}(_0x444d22,_0x44335a[_0x3d78('0xf')])):Array[_0x3d78('0x21')](_0x5508a1[_0x3d78('0x8')]())[_0x3d78('0x5')](_0x45a99b=>oo(_0x45a99b));const _0x2ef28b=_0x2b8321(_0x503d8f,_0x44335a);_0x44335a[_0x3d78('0xa')](()=>{for(const _0x2cfe10 of _0x2ef28b)_0x456ab6[_0x3d78('0xc')](_0x2cfe10,{'commandName':_0x3d78('0x19'),'commandParams':[{..._0x49bf1f,'forceValue':_0x248159}],'formatGroupId':'blockName'});});}),(_0x456ab6[_0x3d78('0x16')][_0x3d78('0x17')](_0x3d78('0x19'),_0x292262=>_0xf9b2be(_0x49e4db,_0x3d78('0x18'),_0x292262)),_0x456ab6[_0x3d78('0x16')][_0x3d78('0x1c')](_0x1844e5=>{const _0xf7fe0f=_0x49e4db['t'],{type:_0x3c24d8,data:_0xe6cbf0}=_0x1844e5;if(_0x3d78('0x1a')==_0x3c24d8&&_0xe6cbf0&&'codeBlock'==_0xe6cbf0[_0x3d78('0x20')]){const _0x4f047b=_0xe6cbf0[_0x3d78('0x1b')][0x0][_0x3d78('0x11')],_0xced5dd=_0xf7fe0f(_0x70ff40['find'](_0x6c078=>_0x6c078[_0x3d78('0x11')]===_0x4f047b)['label']);return _0xe6cbf0[_0x3d78('0x1b')][0x0][_0x3d78('0x9')]?{'type':_0x3d78('0x10'),'content':_0xf9b2be(_0x49e4db,_0x3d78('0x7'),_0xf9b2be(_0x49e4db,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0xced5dd+')')}:{'type':'format','content':_0xf9b2be(_0x49e4db,'*Remove\x20format:*\x20%0',_0xf9b2be(_0x49e4db,_0x3d78('0x18'),0x1))};}}));}}function oo(_0x3377cf){return _0x3d78('0x19')==_0x3377cf[_0x3d78('0xd')];}
23
+ const _0x5d89=['rootElement','type','change','label','from','registerDescriptionCallback','afterInit','language','forceValue','get','formatBlock','filter','commandName','document','isLimit','plugins','model','TrackChangesEditing','outdentCodeBlock','format','codeBlock','parent','enableCommand','*Set\x20format:*\x20%0','toLowerCase','config','ELEMENT_CODE_BLOCK','editor','commandParams','indentCodeBlock','commands','getSelectedBlocks','CodeBlock','*Remove\x20format:*\x20%0','markBlockFormat','checkChild','locale'];(function(_0x18eda2,_0x5d8911){const _0x2ff416=function(_0x37119c){while(--_0x37119c){_0x18eda2['push'](_0x18eda2['shift']());}};_0x2ff416(++_0x5d8911);}(_0x5d89,0xcc));const _0x2ff4=function(_0x18eda2,_0x5d8911){_0x18eda2=_0x18eda2-0x0;let _0x2ff416=_0x5d89[_0x18eda2];return _0x2ff416;};import{Plugin as _0x5338a4}from'ckeditor5/src/core';import{getTranslation as _0x57fb46}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4fefee}from'../utils/utils';export default class G extends _0x5338a4{[_0x2ff4('0x18')](){const _0x1e02c9=this[_0x2ff4('0x8')];if(!_0x1e02c9[_0x2ff4('0x21')]['has'](_0x2ff4('0xd')))return;const _0x442d27=_0x1e02c9[_0x2ff4('0x21')][_0x2ff4('0x1b')](_0x2ff4('0x23')),_0x5998e8=_0x1e02c9[_0x2ff4('0x11')],_0x55bba1=_0x1e02c9[_0x2ff4('0x6')]['get']('codeBlock')['languages'],_0x54b2fc=_0x1e02c9[_0x2ff4('0xb')][_0x2ff4('0x1b')](_0x2ff4('0x1'));_0x442d27['enableCommand'](_0x2ff4('0xa')),_0x442d27[_0x2ff4('0x3')](_0x2ff4('0x24')),_0x442d27[_0x2ff4('0x3')](_0x2ff4('0x1'),(_0x156387,_0x1f7c52={})=>{const _0x2d1429=_0x1e02c9[_0x2ff4('0x22')],_0x2470e8=_0x1e02c9[_0x2ff4('0x22')][_0x2ff4('0x1f')]['selection'],_0x1e9840=_0x1f7c52&&void 0x0!==_0x1f7c52[_0x2ff4('0x1a')]?_0x1f7c52['forceValue']:!_0x54b2fc['value'];let _0x38c68c;_0x1f7c52['language']||(_0x1f7c52[_0x2ff4('0x19')]=_0x55bba1[0x0]['language']),_0x38c68c=_0x1e9840?Array[_0x2ff4('0x16')](_0x2470e8[_0x2ff4('0xc')]())[_0x2ff4('0x1d')](_0x52b06f=>ro(_0x52b06f)||function(_0x540b72,_0xa922ee){if(_0x540b72['is'](_0x2ff4('0x12'))||_0xa922ee[_0x2ff4('0x20')](_0x540b72))return!0x1;return _0xa922ee[_0x2ff4('0x10')](_0x540b72[_0x2ff4('0x2')],'codeBlock');}(_0x52b06f,_0x2d1429['schema'])):Array[_0x2ff4('0x16')](_0x2470e8[_0x2ff4('0xc')]())[_0x2ff4('0x1d')](_0x113dfd=>ro(_0x113dfd));const _0x5b1bb3=_0x4fefee(_0x38c68c,_0x2d1429);_0x2d1429[_0x2ff4('0x14')](()=>{for(const _0x4e9792 of _0x5b1bb3)_0x442d27[_0x2ff4('0xf')](_0x4e9792,{'commandName':_0x2ff4('0x1'),'commandParams':[{..._0x1f7c52,'forceValue':_0x1e9840}],'formatGroupId':'blockName'});});}),(_0x442d27['_descriptionFactory']['registerElementLabel'](_0x2ff4('0x1'),_0x130515=>_0x57fb46(_0x5998e8,'ELEMENT_CODE_BLOCK',_0x130515)),_0x442d27['_descriptionFactory'][_0x2ff4('0x17')](_0x203bc8=>{if(_0x2ff4('0x1c')!=_0x203bc8[_0x2ff4('0x13')])return;const _0x5c7afa=_0x5998e8['t'],{data:_0x208681}=_0x203bc8;if(!_0x208681||_0x2ff4('0x1')!=_0x208681[_0x2ff4('0x1e')])return;const _0x2c999e=_0x208681[_0x2ff4('0x9')][0x0]['language'],_0x3be4a9=_0x5c7afa(_0x55bba1['find'](_0x50d5c6=>_0x50d5c6[_0x2ff4('0x19')]===_0x2c999e)[_0x2ff4('0x15')])[_0x2ff4('0x5')]();return _0x208681['commandParams'][0x0]['forceValue']?{'type':_0x2ff4('0x0'),'content':_0x57fb46(_0x5998e8,_0x2ff4('0x4'),_0x57fb46(_0x5998e8,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x3be4a9+')')}:{'type':_0x2ff4('0x0'),'content':_0x57fb46(_0x5998e8,_0x2ff4('0xe'),_0x57fb46(_0x5998e8,_0x2ff4('0x7'),0x1))};}));}}function ro(_0x436c30){return _0x2ff4('0x1')==_0x436c30['name'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc9f0=['TrackChangesEditing','plugins','get','has','CommentsEditing'];(function(_0x1e158a,_0xc9f08c){const _0x3c4e95=function(_0x5b4482){while(--_0x5b4482){_0x1e158a['push'](_0x1e158a['shift']());}};_0x3c4e95(++_0xc9f08c);}(_0xc9f0,0xe2));const _0x3c4e=function(_0x1e158a,_0xc9f08c){_0x1e158a=_0x1e158a-0x0;let _0x3c4e95=_0xc9f0[_0x1e158a];return _0x3c4e95;};import{Plugin as _0x54a212}from'ckeditor5/src/core';export default class F extends _0x54a212{['afterInit'](){const _0x3a97ea=this['editor'];if(!_0x3a97ea[_0x3c4e('0x0')][_0x3c4e('0x2')](_0x3c4e('0x3')))return;_0x3a97ea[_0x3c4e('0x0')][_0x3c4e('0x1')](_0x3c4e('0x4'))['enableCommand']('addCommentThread');}}
23
+ const _0x1fc2=['plugins','enableCommand','addCommentThread','has','CommentsEditing','TrackChangesEditing','editor'];(function(_0x2d2e30,_0x1fc2df){const _0x485e75=function(_0x390c30){while(--_0x390c30){_0x2d2e30['push'](_0x2d2e30['shift']());}};_0x485e75(++_0x1fc2df);}(_0x1fc2,0x121));const _0x485e=function(_0x2d2e30,_0x1fc2df){_0x2d2e30=_0x2d2e30-0x0;let _0x485e75=_0x1fc2[_0x2d2e30];return _0x485e75;};import{Plugin as _0x1f9bf8}from'ckeditor5/src/core';export default class L extends _0x1f9bf8{['afterInit'](){const _0x2adfdc=this[_0x485e('0x4')];if(!_0x2adfdc[_0x485e('0x5')][_0x485e('0x1')](_0x485e('0x2')))return;_0x2adfdc['plugins']['get'](_0x485e('0x3'))[_0x485e('0x6')](_0x485e('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f5c=['editing','uiElement','selection','forward','deleteForward','showSuggestionHighlights','plugins','downcastDispatcher','buffer','model','root','removeMarker:suggestion:deletion','enableCommand','requires','document','data','merge','createRange','mapper','markerNameToElements','lock','remove','end','enqueueChange','createSelection','markerName','getFirstRange','$graveyard','high','start','editor','fromRange','writer','addMarker:suggestion:deletion','init','batch','rootName','isCollapsed','get','detach','TrackChangesEditing','bind','commands','unit','unbindElementFromMarkerName','options','unlock','setSelection'];(function(_0x582ecd,_0x1f5c70){const _0x4d2fbc=function(_0x1649b6){while(--_0x1649b6){_0x582ecd['push'](_0x582ecd['shift']());}};_0x4d2fbc(++_0x1f5c70);}(_0x1f5c,0x1d6));const _0x4d2f=function(_0x582ecd,_0x1f5c70){_0x582ecd=_0x582ecd-0x0;let _0x4d2fbc=_0x1f5c[_0x582ecd];return _0x4d2fbc;};import{Plugin as _0x4bd066}from'ckeditor5/src/core';import{LiveRange as _0x100225}from'ckeditor5/src/engine';import{Delete as _0x341415}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1b7263}from'./utils';export default class G extends _0x4bd066{static get[_0x4d2f('0x17')](){return[_0x341415];}[_0x4d2f('0x2c')](){const _0x2a09dd=this[_0x4d2f('0x28')],_0xbdd0cf=_0x2a09dd[_0x4d2f('0x10')][_0x4d2f('0x0')](_0x4d2f('0x2'));_0xbdd0cf[_0x4d2f('0x16')]('delete');const _0x1bc820=_0x2a09dd[_0x4d2f('0x4')][_0x4d2f('0x0')](_0x4d2f('0xe'));_0xbdd0cf['enableCommand'](_0x4d2f('0xe'),(_0x3c2365,_0x52df15={})=>{const _0x1b2272=_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x22')](_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x18')][_0x4d2f('0xc')]);_0x1b2272[_0x4d2f('0x2f')]&&_0x2a09dd['model']['modifySelection'](_0x1b2272,{'direction':_0x4d2f('0xd'),'unit':_0x52df15[_0x4d2f('0x5')]});const _0x30fa13=_0x1b2272[_0x4d2f('0x24')](),_0x58a8b2=_0x100225[_0x4d2f('0x29')](_0x30fa13);let _0x331178;_0x3c2365(_0x52df15),_0x331178=_0x4d2f('0x25')==_0x58a8b2[_0x4d2f('0x14')][_0x4d2f('0x2e')]?_0x2a09dd[_0x4d2f('0x13')]['createRange'](_0x30fa13['start']):_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x1b')](_0x58a8b2[_0x4d2f('0x27')],_0x58a8b2[_0x4d2f('0x20')]),_0x58a8b2[_0x4d2f('0x1')](),_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x21')](_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x2d')],_0x536bdb=>{_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x1e')](),_0x536bdb[_0x4d2f('0x9')](_0x536bdb[_0x4d2f('0x1b')](_0x331178['end'])),_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x8')]();});}),_0x2a09dd[_0x4d2f('0xa')][_0x4d2f('0x11')]['on'](_0x4d2f('0x2b'),_0x1b7263(_0x2a09dd,'merge'),{'priority':_0x4d2f('0x26')}),_0x2a09dd[_0x4d2f('0x19')][_0x4d2f('0x11')]['on']('addMarker:suggestion:deletion',(_0x15024a,_0x5f2314,_0x5f1564)=>{_0x5f1564[_0x4d2f('0x7')][_0x4d2f('0xf')]&&_0x1b7263(_0x2a09dd,_0x4d2f('0x1a'),{'showActiveMarker':!0x1})[_0x4d2f('0x3')](this)(_0x15024a,_0x5f2314,_0x5f1564);},{'priority':'high'}),_0x2a09dd[_0x4d2f('0xa')][_0x4d2f('0x11')]['on'](_0x4d2f('0x15'),(_0x283740,_0x493b63,_0x1e9232)=>{const _0x31bc1f=_0x1e9232[_0x4d2f('0x1c')][_0x4d2f('0x1d')](_0x493b63['markerName']);if(_0x31bc1f)for(const _0x5cae96 of _0x31bc1f)_0x5cae96['is'](_0x4d2f('0xb'))&&(_0x1e9232[_0x4d2f('0x1c')][_0x4d2f('0x6')](_0x5cae96,_0x493b63[_0x4d2f('0x23')]),_0x1e9232[_0x4d2f('0x2a')][_0x4d2f('0x1f')](_0x5cae96));},{'priority':_0x4d2f('0x26')});}}
23
+ const _0x49f9=['uiElement','data','getFirstRange','modifySelection','addMarker:suggestion:deletion','batch','end','enqueueChange','bind','mapper','start','createSelection','high','requires','fromRange','remove','markerNameToElements','markerName','editing','merge','delete','init','unit','unlock','rootName','deleteForward','TrackChangesEditing','options','lock','$graveyard','enableCommand','editor','document','downcastDispatcher','createRange','showSuggestionHighlights','get','plugins','buffer','model','root','removeMarker:suggestion:deletion','forward'];(function(_0x18f1d5,_0x49f9bf){const _0x42b847=function(_0x186a0c){while(--_0x186a0c){_0x18f1d5['push'](_0x18f1d5['shift']());}};_0x42b847(++_0x49f9bf);}(_0x49f9,0xcc));const _0x42b8=function(_0x18f1d5,_0x49f9bf){_0x18f1d5=_0x18f1d5-0x0;let _0x42b847=_0x49f9[_0x18f1d5];return _0x42b847;};import{Plugin as _0x3b4210}from'ckeditor5/src/core';import{LiveRange as _0x494138}from'ckeditor5/src/engine';import{Delete as _0x113091}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2bb482}from'./utils';export default class H extends _0x3b4210{static get[_0x42b8('0x18')](){return[_0x113091];}[_0x42b8('0x20')](){const _0x549011=this[_0x42b8('0x2a')],_0x3a2227=_0x549011[_0x42b8('0x5')][_0x42b8('0x4')](_0x42b8('0x25'));_0x3a2227[_0x42b8('0x29')](_0x42b8('0x1f'));const _0x1d4891=_0x549011['commands'][_0x42b8('0x4')](_0x42b8('0x24'));_0x3a2227[_0x42b8('0x29')](_0x42b8('0x24'),(_0xaf564a,_0x6b83fa={})=>{const _0x1d8106=_0x549011[_0x42b8('0x7')][_0x42b8('0x16')](_0x549011['model'][_0x42b8('0x0')]['selection']);_0x1d8106['isCollapsed']&&_0x549011['model'][_0x42b8('0xe')](_0x1d8106,{'direction':_0x42b8('0xa'),'unit':_0x6b83fa[_0x42b8('0x21')]});const _0x15b14d=_0x1d8106[_0x42b8('0xd')](),_0x40ea31=_0x494138[_0x42b8('0x19')](_0x15b14d);let _0x5838b4;_0xaf564a(_0x6b83fa),_0x5838b4=_0x42b8('0x28')==_0x40ea31[_0x42b8('0x8')][_0x42b8('0x23')]?_0x549011['model'][_0x42b8('0x2')](_0x15b14d['start']):_0x549011[_0x42b8('0x7')][_0x42b8('0x2')](_0x40ea31[_0x42b8('0x15')],_0x40ea31[_0x42b8('0x11')]),_0x40ea31['detach'](),_0x549011[_0x42b8('0x7')][_0x42b8('0x12')](_0x1d4891[_0x42b8('0x6')][_0x42b8('0x10')],_0x51fb08=>{_0x1d4891[_0x42b8('0x6')][_0x42b8('0x27')](),_0x51fb08['setSelection'](_0x51fb08[_0x42b8('0x2')](_0x5838b4[_0x42b8('0x11')])),_0x1d4891[_0x42b8('0x6')][_0x42b8('0x22')]();});}),_0x549011[_0x42b8('0x1d')]['downcastDispatcher']['on'](_0x42b8('0xf'),_0x2bb482(_0x549011,_0x42b8('0x1e')),{'priority':'high'}),_0x549011[_0x42b8('0xc')][_0x42b8('0x1')]['on']('addMarker:suggestion:deletion',(_0x563543,_0x3373d0,_0x16c7dc)=>{_0x16c7dc[_0x42b8('0x26')][_0x42b8('0x3')]&&_0x2bb482(_0x549011,_0x42b8('0x1e'),{'showActiveMarker':!0x1})[_0x42b8('0x13')](this)(_0x563543,_0x3373d0,_0x16c7dc);},{'priority':'high'}),_0x549011['editing'][_0x42b8('0x1')]['on'](_0x42b8('0x9'),(_0x194d95,_0x2ca8eb,_0x589222)=>{const _0x5d8d97=_0x589222[_0x42b8('0x14')][_0x42b8('0x1b')](_0x2ca8eb[_0x42b8('0x1c')]);if(_0x5d8d97)for(const _0x29f305 of _0x5d8d97)_0x29f305['is'](_0x42b8('0xb'))&&(_0x589222[_0x42b8('0x14')]['unbindElementFromMarkerName'](_0x29f305,_0x2ca8eb['markerName']),_0x589222['writer'][_0x42b8('0x1a')](_0x29f305));},{'priority':_0x42b8('0x17')});}}