@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231114.0 → 0.0.0-nightly-20231116.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 (159) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/contexts.json +3 -3
  50. package/lang/translations/ar.po +19 -19
  51. package/lang/translations/bg.po +19 -19
  52. package/lang/translations/bn.po +19 -19
  53. package/lang/translations/ca.po +19 -19
  54. package/lang/translations/cs.po +19 -19
  55. package/lang/translations/da.po +19 -19
  56. package/lang/translations/de.po +19 -19
  57. package/lang/translations/el.po +19 -19
  58. package/lang/translations/es.po +19 -19
  59. package/lang/translations/et.po +19 -19
  60. package/lang/translations/fi.po +19 -19
  61. package/lang/translations/fr.po +19 -19
  62. package/lang/translations/he.po +19 -19
  63. package/lang/translations/hi.po +19 -19
  64. package/lang/translations/hu.po +19 -19
  65. package/lang/translations/id.po +19 -19
  66. package/lang/translations/it.po +19 -19
  67. package/lang/translations/ja.po +19 -19
  68. package/lang/translations/ko.po +19 -19
  69. package/lang/translations/lt.po +19 -19
  70. package/lang/translations/lv.po +19 -19
  71. package/lang/translations/ms.po +19 -19
  72. package/lang/translations/nl.po +19 -19
  73. package/lang/translations/no.po +19 -19
  74. package/lang/translations/pl.po +19 -19
  75. package/lang/translations/pt-br.po +19 -19
  76. package/lang/translations/pt.po +19 -19
  77. package/lang/translations/ro.po +19 -19
  78. package/lang/translations/ru.po +19 -19
  79. package/lang/translations/sk.po +19 -19
  80. package/lang/translations/sr.po +19 -19
  81. package/lang/translations/sv.po +19 -19
  82. package/lang/translations/th.po +19 -19
  83. package/lang/translations/tr.po +19 -19
  84. package/lang/translations/uk.po +19 -19
  85. package/lang/translations/vi.po +19 -19
  86. package/lang/translations/zh-cn.po +19 -19
  87. package/lang/translations/zh.po +19 -19
  88. package/package.json +3 -3
  89. package/src/commands/acceptsuggestioncommand.js +1 -1
  90. package/src/commands/discardsuggestioncommand.js +1 -1
  91. package/src/commands/executeonallsuggestionscommand.js +1 -1
  92. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  93. package/src/commands/trackchangescommand.js +1 -1
  94. package/src/index.d.ts +1 -1
  95. package/src/integrations/aiassistant.js +1 -1
  96. package/src/integrations/alignment.js +1 -1
  97. package/src/integrations/basicstyles.js +1 -1
  98. package/src/integrations/blockquote.js +1 -1
  99. package/src/integrations/ckbox.js +1 -1
  100. package/src/integrations/codeblock.js +1 -1
  101. package/src/integrations/comments.js +1 -1
  102. package/src/integrations/deletecommand.js +1 -1
  103. package/src/integrations/documentlist.js +1 -1
  104. package/src/integrations/documentlistproperties.js +1 -1
  105. package/src/integrations/entercommand.js +1 -1
  106. package/src/integrations/findandreplace.js +1 -1
  107. package/src/integrations/font.js +1 -1
  108. package/src/integrations/formatpainter.js +1 -1
  109. package/src/integrations/heading.js +1 -1
  110. package/src/integrations/highlight.js +1 -1
  111. package/src/integrations/horizontalline.js +1 -1
  112. package/src/integrations/htmlembed.js +1 -1
  113. package/src/integrations/image.js +1 -1
  114. package/src/integrations/imagereplace.js +1 -1
  115. package/src/integrations/imagestyle.js +1 -1
  116. package/src/integrations/importword.js +1 -1
  117. package/src/integrations/indent.js +1 -1
  118. package/src/integrations/inputcommand.js +1 -1
  119. package/src/integrations/link.js +1 -1
  120. package/src/integrations/list.js +1 -1
  121. package/src/integrations/listproperties.js +1 -1
  122. package/src/integrations/mediaembed.js +1 -1
  123. package/src/integrations/mention.js +1 -1
  124. package/src/integrations/pagebreak.js +1 -1
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.js +1 -1
  127. package/src/integrations/restrictededitingmode.js +1 -1
  128. package/src/integrations/shiftentercommand.js +1 -1
  129. package/src/integrations/standardeditingmode.js +1 -1
  130. package/src/integrations/style.d.ts +0 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tablecaption.js +1 -1
  134. package/src/integrations/tableclipboard.js +1 -1
  135. package/src/integrations/tablecolumnresize.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/tableofcontents.js +1 -1
  139. package/src/integrations/tableproperties.js +1 -1
  140. package/src/integrations/template.js +1 -1
  141. package/src/integrations/title.js +1 -1
  142. package/src/integrations/undo.js +1 -1
  143. package/src/integrations/utils.js +1 -1
  144. package/src/suggestion.js +1 -1
  145. package/src/suggestiondescriptionfactory.d.ts +7 -4
  146. package/src/suggestiondescriptionfactory.js +1 -1
  147. package/src/trackchanges.d.ts +0 -67
  148. package/src/trackchanges.js +1 -1
  149. package/src/trackchangesconfig.d.ts +22 -19
  150. package/src/trackchangesdata.js +1 -1
  151. package/src/trackchangesediting.d.ts +14 -23
  152. package/src/trackchangesediting.js +1 -1
  153. package/src/trackchangesui.js +1 -1
  154. package/src/ui/suggestioncontroller.js +1 -1
  155. package/src/ui/view/basesuggestionthreadview.js +1 -1
  156. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  157. package/src/ui/view/suggestionthreadview.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
  159. package/src/utils/utils.js +1 -1
@@ -155,7 +155,7 @@ msgstr "*设置字号:* %0"
155
155
 
156
156
  msgctxt "A suggestion for setting multiple inline formatting %0"
157
157
  msgid "*Set format:* %0"
158
- msgstr ""
158
+ msgstr "*设置格式:* %0"
159
159
 
160
160
  msgctxt "A suggestion for setting multiple inline formatting to %0"
161
161
  msgid "*Set format to:* %0"
@@ -219,27 +219,27 @@ msgstr "放弃建议"
219
219
 
220
220
  msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
221
221
  msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
222
- msgstr ""
222
+ msgstr "离开插入建议。"
223
223
 
224
224
  msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
225
225
  msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
226
- msgstr ""
226
+ msgstr "进入插入建议。"
227
227
 
228
228
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
229
229
  msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
230
- msgstr ""
230
+ msgstr "离开删除建议。"
231
231
 
232
232
  msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
233
233
  msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
234
- msgstr ""
234
+ msgstr "进入删除建议。"
235
235
 
236
236
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
237
237
  msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
238
- msgstr ""
238
+ msgstr "离开格式建议。"
239
239
 
240
240
  msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
241
241
  msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
242
- msgstr ""
242
+ msgstr "进入格式建议。"
243
243
 
244
244
  msgctxt "The block quote element name displayed in the suggestion."
245
245
  msgid "ELEMENT_BLOCK_QUOTE"
@@ -251,7 +251,7 @@ msgstr "项目符号列表"
251
251
 
252
252
  msgctxt "The default styled bulleted list element name displayed in the suggestion."
253
253
  msgid "ELEMENT_BULLETED_LIST_DEFAULT"
254
- msgstr ""
254
+ msgstr "项目符号列表(默认)"
255
255
 
256
256
  msgctxt "The circle styled bulleted list element name displayed in the suggestion."
257
257
  msgid "ELEMENT_BULLETED_LIST_CIRCLE"
@@ -325,7 +325,7 @@ msgstr "项目编号列表"
325
325
 
326
326
  msgctxt "The default styled numbered list element name displayed in the suggestion."
327
327
  msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
328
- msgstr ""
328
+ msgstr "编号列表(默认)"
329
329
 
330
330
  msgctxt "The decimal styled numbered list element name displayed in the suggestion."
331
331
  msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
@@ -410,7 +410,7 @@ msgstr "待办事项列表"
410
410
 
411
411
  msgctxt "The alignment format name displayed in a format suggestion."
412
412
  msgid "FORMAT_ALIGNMENT"
413
- msgstr ""
413
+ msgstr "对齐"
414
414
 
415
415
  msgctxt "The align to center format name displayed in a format suggestion."
416
416
  msgid "FORMAT_ALIGN_TO_CENTER"
@@ -490,39 +490,39 @@ msgstr "下划线"
490
490
 
491
491
  msgctxt "The list or block indent format name displayed in a format suggestion."
492
492
  msgid "FORMAT_INDENT"
493
- msgstr ""
493
+ msgstr "缩进"
494
494
 
495
495
  msgctxt "The list reversed format name displayed in a format suggestion."
496
496
  msgid "FORMAT_LIST_REVERSED"
497
- msgstr ""
497
+ msgstr "列表反转"
498
498
 
499
499
  msgctxt "The list start format name displayed in a format suggestion."
500
500
  msgid "FORMAT_LIST_START"
501
- msgstr ""
501
+ msgstr "列表开始"
502
502
 
503
503
  msgctxt "The font size format name displayed in a format suggestion."
504
504
  msgid "FORMAT_FONT_SIZE"
505
- msgstr ""
505
+ msgstr "字体大小"
506
506
 
507
507
  msgctxt "The font family format name displayed in a format suggestion."
508
508
  msgid "FORMAT_FONT_FAMILY"
509
- msgstr ""
509
+ msgstr "字体类型"
510
510
 
511
511
  msgctxt "The font color format name displayed in a format suggestion."
512
512
  msgid "FORMAT_FONT_COLOR"
513
- msgstr ""
513
+ msgstr "字体颜色"
514
514
 
515
515
  msgctxt "The font background color format name displayed in a format suggestion."
516
516
  msgid "FORMAT_FONT_BACKGROUND"
517
- msgstr ""
517
+ msgstr "字体背景颜色"
518
518
 
519
519
  msgctxt "The image width change format name displayed in a format suggestion."
520
520
  msgid "FORMAT_IMAGE_WIDTH"
521
- msgstr ""
521
+ msgstr "图片大小"
522
522
 
523
523
  msgctxt "The style format name displayed in a format suggestion."
524
524
  msgid "FORMAT_STYLE"
525
- msgstr ""
525
+ msgstr "样式"
526
526
 
527
527
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
528
528
  msgid "PENDING_ACTION_SUGGESTION"
@@ -155,7 +155,7 @@ msgstr "*設定字型大小:*%0"
155
155
 
156
156
  msgctxt "A suggestion for setting multiple inline formatting %0"
157
157
  msgid "*Set format:* %0"
158
- msgstr ""
158
+ msgstr "*設定格式:* %0"
159
159
 
160
160
  msgctxt "A suggestion for setting multiple inline formatting to %0"
161
161
  msgid "*Set format to:* %0"
@@ -219,27 +219,27 @@ msgstr "捨棄建議"
219
219
 
220
220
  msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
221
221
  msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
222
- msgstr ""
222
+ msgstr "正在離開插入建議。"
223
223
 
224
224
  msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
225
225
  msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
226
- msgstr ""
226
+ msgstr "正在進入插入建議。"
227
227
 
228
228
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
229
229
  msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
230
- msgstr ""
230
+ msgstr "正在離開刪除建議。"
231
231
 
232
232
  msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
233
233
  msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
234
- msgstr ""
234
+ msgstr "正在進入刪除建議。"
235
235
 
236
236
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
237
237
  msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
238
- msgstr ""
238
+ msgstr "正在離開格式建議。"
239
239
 
240
240
  msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
241
241
  msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
242
- msgstr ""
242
+ msgstr "正在進入格式建議。"
243
243
 
244
244
  msgctxt "The block quote element name displayed in the suggestion."
245
245
  msgid "ELEMENT_BLOCK_QUOTE"
@@ -251,7 +251,7 @@ msgstr "項目符號清單"
251
251
 
252
252
  msgctxt "The default styled bulleted list element name displayed in the suggestion."
253
253
  msgid "ELEMENT_BULLETED_LIST_DEFAULT"
254
- msgstr ""
254
+ msgstr "項目符號清單(預設)"
255
255
 
256
256
  msgctxt "The circle styled bulleted list element name displayed in the suggestion."
257
257
  msgid "ELEMENT_BULLETED_LIST_CIRCLE"
@@ -325,7 +325,7 @@ msgstr "編號清單"
325
325
 
326
326
  msgctxt "The default styled numbered list element name displayed in the suggestion."
327
327
  msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
328
- msgstr ""
328
+ msgstr "編號清單(預設)"
329
329
 
330
330
  msgctxt "The decimal styled numbered list element name displayed in the suggestion."
331
331
  msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
@@ -410,7 +410,7 @@ msgstr "待辦事項清單"
410
410
 
411
411
  msgctxt "The alignment format name displayed in a format suggestion."
412
412
  msgid "FORMAT_ALIGNMENT"
413
- msgstr ""
413
+ msgstr "對齊"
414
414
 
415
415
  msgctxt "The align to center format name displayed in a format suggestion."
416
416
  msgid "FORMAT_ALIGN_TO_CENTER"
@@ -490,39 +490,39 @@ msgstr "底線"
490
490
 
491
491
  msgctxt "The list or block indent format name displayed in a format suggestion."
492
492
  msgid "FORMAT_INDENT"
493
- msgstr ""
493
+ msgstr "縮排"
494
494
 
495
495
  msgctxt "The list reversed format name displayed in a format suggestion."
496
496
  msgid "FORMAT_LIST_REVERSED"
497
- msgstr ""
497
+ msgstr "清單反轉"
498
498
 
499
499
  msgctxt "The list start format name displayed in a format suggestion."
500
500
  msgid "FORMAT_LIST_START"
501
- msgstr ""
501
+ msgstr "清單起始"
502
502
 
503
503
  msgctxt "The font size format name displayed in a format suggestion."
504
504
  msgid "FORMAT_FONT_SIZE"
505
- msgstr ""
505
+ msgstr "字型大小"
506
506
 
507
507
  msgctxt "The font family format name displayed in a format suggestion."
508
508
  msgid "FORMAT_FONT_FAMILY"
509
- msgstr ""
509
+ msgstr "字型家族"
510
510
 
511
511
  msgctxt "The font color format name displayed in a format suggestion."
512
512
  msgid "FORMAT_FONT_COLOR"
513
- msgstr ""
513
+ msgstr "字型顏色"
514
514
 
515
515
  msgctxt "The font background color format name displayed in a format suggestion."
516
516
  msgid "FORMAT_FONT_BACKGROUND"
517
- msgstr ""
517
+ msgstr "字型背景顏色"
518
518
 
519
519
  msgctxt "The image width change format name displayed in a format suggestion."
520
520
  msgid "FORMAT_IMAGE_WIDTH"
521
- msgstr ""
521
+ msgstr "圖片大小"
522
522
 
523
523
  msgctxt "The style format name displayed in a format suggestion."
524
524
  msgid "FORMAT_STYLE"
525
- msgstr ""
525
+ msgstr "樣式"
526
526
 
527
527
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
528
528
  msgid "PENDING_ACTION_SUGGESTION"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20231114.0",
3
+ "version": "0.0.0-nightly-20231116.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": "0.0.0-nightly-20231114.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231114.0",
42
+ "ckeditor5": "0.0.0-nightly-20231116.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231116.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 _0x520a=['acceptSuggestion','model','getRanges','get','isEnabled','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','canEditAt','refresh','editor','plugins'];(function(_0x467ea3,_0x520ab7){const _0x41c447=function(_0x428d5f){while(--_0x428d5f){_0x467ea3['push'](_0x467ea3['shift']());}};_0x41c447(++_0x520ab7);}(_0x520a,0x18c));const _0x41c4=function(_0x467ea3,_0x520ab7){_0x467ea3=_0x467ea3-0x0;let _0x41c447=_0x520a[_0x467ea3];return _0x41c447;};import{Command as _0x5347f6}from'ckeditor5/src/core';import{CKEditorError as _0x17ba8e}from'ckeditor5/src/utils';export default class B extends _0x5347f6{constructor(_0x5a571e,_0x169c8c){super(_0x5a571e),this['_suggestions']=_0x169c8c,this[_0x41c4('0x8')](),this[_0x41c4('0x6')]=!0x1;}['refresh'](){this[_0x41c4('0x4')]=!0x0;}['execute'](_0xc7569e){const _0x3c70ca=this['_suggestions'][_0x41c4('0x3')](_0xc7569e);if(!_0x3c70ca)throw new _0x17ba8e(_0x41c4('0x5'),this);const _0x5bef06=_0x3c70ca[_0x41c4('0x2')]();this[_0x41c4('0x9')][_0x41c4('0x1')][_0x41c4('0x7')](_0x5bef06)&&this[_0x41c4('0x9')][_0x41c4('0xa')][_0x41c4('0x3')]('TrackChangesEditing')[_0x41c4('0x0')](_0x3c70ca);}}
23
+ const _0x3ca1=['plugins','_suggestions','acceptSuggestion','TrackChangesEditing','isEnabled','get','refresh','execute','_isEnabledBasedOnSelection','canEditAt','editor'];(function(_0x3bc73a,_0x3ca174){const _0xc23dfc=function(_0x4cd1ca){while(--_0x4cd1ca){_0x3bc73a['push'](_0x3bc73a['shift']());}};_0xc23dfc(++_0x3ca174);}(_0x3ca1,0x15f));const _0xc23d=function(_0x3bc73a,_0x3ca174){_0x3bc73a=_0x3bc73a-0x0;let _0xc23dfc=_0x3ca1[_0x3bc73a];return _0xc23dfc;};import{Command as _0x10103a}from'ckeditor5/src/core';import{CKEditorError as _0x29954a}from'ckeditor5/src/utils';export default class B extends _0x10103a{constructor(_0x27b7b3,_0x5a7f0d){super(_0x27b7b3),this[_0xc23d('0x2')]=_0x5a7f0d,this['refresh'](),this[_0xc23d('0x9')]=!0x1;}[_0xc23d('0x7')](){this[_0xc23d('0x5')]=!0x0;}[_0xc23d('0x8')](_0x3cebfa){const _0x13e839=this[_0xc23d('0x2')][_0xc23d('0x6')](_0x3cebfa);if(!_0x13e839)throw new _0x29954a('track-changes-accept-suggestion-not-found',this);const _0x4f6994=_0x13e839['getRanges']();this[_0xc23d('0x0')]['model'][_0xc23d('0xa')](_0x4f6994)&&this[_0xc23d('0x0')][_0xc23d('0x1')][_0xc23d('0x6')](_0xc23d('0x4'))[_0xc23d('0x3')](_0x13e839);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7972=['refresh','_isEnabledBasedOnSelection','isEnabled','track-changes-discard-suggestion-not-found','getRanges','plugins','_suggestions','model','editor','get','execute'];(function(_0x3dd354,_0x79720e){const _0x463ff0=function(_0x463a72){while(--_0x463a72){_0x3dd354['push'](_0x3dd354['shift']());}};_0x463ff0(++_0x79720e);}(_0x7972,0x74));const _0x463f=function(_0x3dd354,_0x79720e){_0x3dd354=_0x3dd354-0x0;let _0x463ff0=_0x7972[_0x3dd354];return _0x463ff0;};import{Command as _0x4c06c7}from'ckeditor5/src/core';import{CKEditorError as _0x5badd4}from'ckeditor5/src/utils';export default class x extends _0x4c06c7{constructor(_0x37729f,_0x2678c3){super(_0x37729f),this['_suggestions']=_0x2678c3,this[_0x463f('0x5')](),this[_0x463f('0x6')]=!0x1;}[_0x463f('0x5')](){this[_0x463f('0x7')]=!0x0;}[_0x463f('0x4')](_0x5c9afc){const _0x22982a=this[_0x463f('0x0')][_0x463f('0x3')](_0x5c9afc);if(!_0x22982a)throw new _0x5badd4(_0x463f('0x8'),this);const _0x58c18e=_0x22982a[_0x463f('0x9')]();this['editor'][_0x463f('0x1')]['canEditAt'](_0x58c18e)&&this[_0x463f('0x2')][_0x463f('0xa')][_0x463f('0x3')]('TrackChangesEditing')['discardSuggestion'](_0x22982a);}}
23
+ const _0x32a6=['canEditAt','get','refresh','editor','track-changes-discard-suggestion-not-found','TrackChangesEditing','isEnabled','execute','_isEnabledBasedOnSelection','_suggestions','plugins','getRanges'];(function(_0x2acb59,_0x32a630){const _0x96b1b=function(_0x15c791){while(--_0x15c791){_0x2acb59['push'](_0x2acb59['shift']());}};_0x96b1b(++_0x32a630);}(_0x32a6,0x117));const _0x96b1=function(_0x2acb59,_0x32a630){_0x2acb59=_0x2acb59-0x0;let _0x96b1b=_0x32a6[_0x2acb59];return _0x96b1b;};import{Command as _0x587d93}from'ckeditor5/src/core';import{CKEditorError as _0x35c2e0}from'ckeditor5/src/utils';export default class x extends _0x587d93{constructor(_0x3c38f9,_0x396601){super(_0x3c38f9),this['_suggestions']=_0x396601,this[_0x96b1('0xb')](),this[_0x96b1('0x5')]=!0x1;}[_0x96b1('0xb')](){this[_0x96b1('0x3')]=!0x0;}[_0x96b1('0x4')](_0x343a83){const _0x1ab2e9=this[_0x96b1('0x6')][_0x96b1('0xa')](_0x343a83);if(!_0x1ab2e9)throw new _0x35c2e0(_0x96b1('0x1'),this);const _0x9f8367=_0x1ab2e9[_0x96b1('0x8')]();this['editor']['model'][_0x96b1('0x9')](_0x9f8367)&&this[_0x96b1('0x0')][_0x96b1('0x7')][_0x96b1('0xa')](_0x96b1('0x2'))['discardSuggestion'](_0x1ab2e9);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25b4=['model','isEnabled','editor','some','refresh','values','from','_suggestions','canEditAt','getRanges','_isEnabledBasedOnSelection','isInContent','execute'];(function(_0x3443d1,_0x25b405){const _0x575a30=function(_0xbfc511){while(--_0xbfc511){_0x3443d1['push'](_0x3443d1['shift']());}};_0x575a30(++_0x25b405);}(_0x25b4,0x13f));const _0x575a=function(_0x3443d1,_0x25b405){_0x3443d1=_0x3443d1-0x0;let _0x575a30=_0x25b4[_0x3443d1];return _0x575a30;};import{Command as _0x548822}from'ckeditor5/src/core';import{sortSuggestions as _0x1a722d,executeCommandForSuggestions as _0x5b9d7f}from'../utils/utils';export default class E extends _0x548822{constructor(_0x148570,_0x4cc3bd,_0x4a0e61){super(_0x148570),this['_command']=_0x4cc3bd,this[_0x575a('0x0')]=_0x4a0e61,this[_0x575a('0xa')](),this[_0x575a('0x3')]=!0x1;}['refresh'](){const _0x4c69d3=Array[_0x575a('0xc')](this[_0x575a('0x0')][_0x575a('0xb')]())[_0x575a('0x9')](_0x5f13b3=>_0x5f13b3[_0x575a('0x4')]);this[_0x575a('0x7')]=this['_command']['isEnabled']&&_0x4c69d3;}[_0x575a('0x5')](){const _0x188f37=_0x1a722d(Array['from'](this[_0x575a('0x0')][_0x575a('0xb')]()));for(const _0x2d796a of _0x188f37){const _0x1ce156=_0x2d796a[_0x575a('0x2')]();if(!this[_0x575a('0x8')][_0x575a('0x6')][_0x575a('0x1')](_0x1ce156))return;}_0x5b9d7f(this['editor']['model'],this['_command'],_0x188f37);}}
23
+ const _0x7a9c=['model','from','editor','_command','refresh','_isEnabledBasedOnSelection','_suggestions','isInContent','some','isEnabled','getRanges','values'];(function(_0x67be21,_0x7a9cf1){const _0x4b4bd7=function(_0x3a512e){while(--_0x3a512e){_0x67be21['push'](_0x67be21['shift']());}};_0x4b4bd7(++_0x7a9cf1);}(_0x7a9c,0x7f));const _0x4b4b=function(_0x67be21,_0x7a9cf1){_0x67be21=_0x67be21-0x0;let _0x4b4bd7=_0x7a9c[_0x67be21];return _0x4b4bd7;};import{Command as _0xdb144}from'ckeditor5/src/core';import{sortSuggestions as _0x545e3b,executeCommandForSuggestions as _0x23cfd6}from'../utils/utils';export default class E extends _0xdb144{constructor(_0x423f03,_0x2c68b1,_0x117023){super(_0x423f03),this[_0x4b4b('0x8')]=_0x2c68b1,this['_suggestions']=_0x117023,this['refresh'](),this[_0x4b4b('0xa')]=!0x1;}[_0x4b4b('0x9')](){const _0xf8a356=Array[_0x4b4b('0x6')](this['_suggestions'][_0x4b4b('0x4')]())[_0x4b4b('0x1')](_0x4736d8=>_0x4736d8[_0x4b4b('0x0')]);this[_0x4b4b('0x2')]=this[_0x4b4b('0x8')][_0x4b4b('0x2')]&&_0xf8a356;}['execute'](){const _0x18f542=_0x545e3b(Array[_0x4b4b('0x6')](this[_0x4b4b('0xb')][_0x4b4b('0x4')]()));for(const _0x514c6a of _0x18f542){const _0x22d1d3=_0x514c6a[_0x4b4b('0x3')]();if(!this[_0x4b4b('0x7')][_0x4b4b('0x5')]['canEditAt'](_0x22d1d3))return;}_0x23cfd6(this[_0x4b4b('0x7')]['model'],this[_0x4b4b('0x8')],_0x18f542);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d19=['isEnabled','document','getRanges','refresh','_command','model','editor','_selectedSuggestions','canEditAt','execute','values','size','from','_suggestions','_isEnabledBasedOnSelection'];(function(_0x42ad9a,_0x1d1924){const _0x444ae3=function(_0xe0ad86){while(--_0xe0ad86){_0x42ad9a['push'](_0x42ad9a['shift']());}};_0x444ae3(++_0x1d1924);}(_0x1d19,0x17c));const _0x444a=function(_0x42ad9a,_0x1d1924){_0x42ad9a=_0x42ad9a-0x0;let _0x444ae3=_0x1d19[_0x42ad9a];return _0x444ae3;};import{Command as _0x58201d}from'ckeditor5/src/core';import{sortSuggestions as _0x26ba0c,getSelectedSuggestions as _0x2f1b45,executeCommandForSuggestions as _0x315eb4}from'../utils/utils';export default class R extends _0x58201d{constructor(_0x555e0b,_0xf505cc,_0x5aadb2){super(_0x555e0b),this['_command']=_0xf505cc,this[_0x444a('0x8')]=_0x5aadb2,this[_0x444a('0x2')]=new Set(),this[_0x444a('0xd')](),this[_0x444a('0x9')]=!0x1;}[_0x444a('0xd')](){const _0x10ed08=this['editor'][_0x444a('0x0')][_0x444a('0xb')]['selection'],_0x8df414=Array[_0x444a('0x7')](this[_0x444a('0x8')][_0x444a('0x5')]());this['_selectedSuggestions']=_0x2f1b45(_0x10ed08,_0x8df414),this[_0x444a('0xa')]=this[_0x444a('0xe')]['isEnabled']&&!!this[_0x444a('0x2')][_0x444a('0x6')];}[_0x444a('0x4')](){const _0x119c7e=_0x26ba0c(Array[_0x444a('0x7')](this[_0x444a('0x2')]));for(const _0x3bf5d9 of _0x119c7e){const _0x3f8bc5=_0x3bf5d9[_0x444a('0xc')]();if(!this[_0x444a('0x1')][_0x444a('0x0')][_0x444a('0x3')](_0x3f8bc5))return;}_0x315eb4(this[_0x444a('0x1')][_0x444a('0x0')],this[_0x444a('0xe')],_0x119c7e);}}
23
+ const _0x53dd=['isEnabled','canEditAt','_selectedSuggestions','_suggestions','values','_command','getRanges','editor','document','execute','size','refresh','from','model','selection'];(function(_0x5a9238,_0x53dd3b){const _0x18df2c=function(_0x482cda){while(--_0x482cda){_0x5a9238['push'](_0x5a9238['shift']());}};_0x18df2c(++_0x53dd3b);}(_0x53dd,0x1e0));const _0x18df=function(_0x5a9238,_0x53dd3b){_0x5a9238=_0x5a9238-0x0;let _0x18df2c=_0x53dd[_0x5a9238];return _0x18df2c;};import{Command as _0x5d8a44}from'ckeditor5/src/core';import{sortSuggestions as _0x1db9ff,getSelectedSuggestions as _0x26880b,executeCommandForSuggestions as _0x57be17}from'../utils/utils';export default class R extends _0x5d8a44{constructor(_0x26ee66,_0x11b2ea,_0x28b27d){super(_0x26ee66),this[_0x18df('0x5')]=_0x11b2ea,this[_0x18df('0x3')]=_0x28b27d,this[_0x18df('0x2')]=new Set(),this[_0x18df('0xb')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x18df('0xb')](){const _0x1cffe8=this[_0x18df('0x7')]['model'][_0x18df('0x8')][_0x18df('0xe')],_0x5961c3=Array[_0x18df('0xc')](this['_suggestions'][_0x18df('0x4')]());this['_selectedSuggestions']=_0x26880b(_0x1cffe8,_0x5961c3),this[_0x18df('0x0')]=this[_0x18df('0x5')]['isEnabled']&&!!this[_0x18df('0x2')][_0x18df('0xa')];}[_0x18df('0x9')](){const _0xdba85d=_0x1db9ff(Array[_0x18df('0xc')](this['_selectedSuggestions']));for(const _0x55385c of _0xdba85d){const _0x25f65e=_0x55385c[_0x18df('0x6')]();if(!this[_0x18df('0x7')][_0x18df('0xd')][_0x18df('0x1')](_0x25f65e))return;}_0x57be17(this[_0x18df('0x7')]['model'],this[_0x18df('0x5')],_0xdba85d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20c4=['forceDisabled','clearForceDisabled','_enabledCommands','affectsData','refresh','has','_isEnabledBasedOnSelection','execute','editor','_disableUnsupportedCommands','value','TrackChangesCommand','_enableCommands','commands'];(function(_0x41589c,_0x20c48a){const _0xa2f160=function(_0x2203aa){while(--_0x2203aa){_0x41589c['push'](_0x41589c['shift']());}};_0xa2f160(++_0x20c48a);}(_0x20c4,0x176));const _0xa2f1=function(_0x41589c,_0x20c48a){_0x41589c=_0x41589c-0x0;let _0xa2f160=_0x20c4[_0x41589c];return _0xa2f160;};import{Command as _0x1fc5b1}from'ckeditor5/src/core';export default class $ extends _0x1fc5b1{constructor(_0x4e1a6c,_0x261035){super(_0x4e1a6c),this['_enabledCommands']=_0x261035,this[_0xa2f1('0x0')]=!0x1,this[_0xa2f1('0x8')](),this[_0xa2f1('0xa')]=!0x1;}[_0xa2f1('0x8')](){this['isEnabled']=!0x0;}[_0xa2f1('0xb')](){this[_0xa2f1('0x0')]=!this[_0xa2f1('0x0')],this[_0xa2f1('0x0')]?this['_disableUnsupportedCommands']():this[_0xa2f1('0x2')]();}[_0xa2f1('0xd')](){for(const _0x1b3a34 of this[_0xa2f1('0xc')][_0xa2f1('0x3')][_0xa2f1('0x3')]())_0x1b3a34[_0xa2f1('0x7')]&&!this[_0xa2f1('0x6')][_0xa2f1('0x9')](_0x1b3a34)&&_0x1b3a34[_0xa2f1('0x4')]('TrackChangesCommand');}[_0xa2f1('0x2')](){for(const _0x18eb7b of this[_0xa2f1('0xc')][_0xa2f1('0x3')][_0xa2f1('0x3')]())_0x18eb7b[_0xa2f1('0x7')]&&!this[_0xa2f1('0x6')]['has'](_0x18eb7b)&&_0x18eb7b[_0xa2f1('0x5')](_0xa2f1('0x1'));}}
23
+ const _0x18e2=['_isEnabledBasedOnSelection','commands','_enableCommands','execute','clearForceDisabled','refresh','editor','_enabledCommands','forceDisabled','value'];(function(_0x2a3629,_0x18e2c1){const _0x4ed3f2=function(_0x392c48){while(--_0x392c48){_0x2a3629['push'](_0x2a3629['shift']());}};_0x4ed3f2(++_0x18e2c1);}(_0x18e2,0x115));const _0x4ed3=function(_0x2a3629,_0x18e2c1){_0x2a3629=_0x2a3629-0x0;let _0x4ed3f2=_0x18e2[_0x2a3629];return _0x4ed3f2;};import{Command as _0x39934d}from'ckeditor5/src/core';export default class $ extends _0x39934d{constructor(_0x5e1c47,_0x11adcd){super(_0x5e1c47),this[_0x4ed3('0x0')]=_0x11adcd,this[_0x4ed3('0x2')]=!0x1,this['refresh'](),this[_0x4ed3('0x3')]=!0x1;}[_0x4ed3('0x8')](){this['isEnabled']=!0x0;}[_0x4ed3('0x6')](){this[_0x4ed3('0x2')]=!this[_0x4ed3('0x2')],this[_0x4ed3('0x2')]?this['_disableUnsupportedCommands']():this[_0x4ed3('0x5')]();}['_disableUnsupportedCommands'](){for(const _0xdf0cc5 of this[_0x4ed3('0x9')][_0x4ed3('0x4')][_0x4ed3('0x4')]())_0xdf0cc5['affectsData']&&!this[_0x4ed3('0x0')]['has'](_0xdf0cc5)&&_0xdf0cc5[_0x4ed3('0x1')]('TrackChangesCommand');}[_0x4ed3('0x5')](){for(const _0xcb65cf of this['editor'][_0x4ed3('0x4')][_0x4ed3('0x4')]())_0xcb65cf['affectsData']&&!this[_0x4ed3('0x0')]['has'](_0xcb65cf)&&_0xcb65cf[_0x4ed3('0x7')]('TrackChangesCommand');}}
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';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31a2=['enableCommand','editor','commands','get','TrackChangesEditing','showAIAssistant'];(function(_0x27e606,_0x31a277){const _0x35f62e=function(_0x40b639){while(--_0x40b639){_0x27e606['push'](_0x27e606['shift']());}};_0x35f62e(++_0x31a277);}(_0x31a2,0x10b));const _0x35f6=function(_0x27e606,_0x31a277){_0x27e606=_0x27e606-0x0;let _0x35f62e=_0x31a2[_0x27e606];return _0x35f62e;};import{Plugin as _0x3c56dc}from'ckeditor5/src/core';export default class j extends _0x3c56dc{['afterInit'](){const _0x36bfb4=this[_0x35f6('0x4')],_0x470f7b=_0x36bfb4['plugins'][_0x35f6('0x0')](_0x35f6('0x1'));_0x36bfb4[_0x35f6('0x5')][_0x35f6('0x0')](_0x35f6('0x2'))&&_0x470f7b[_0x35f6('0x3')]('showAIAssistant');}}
23
+ const _0x30a4=['get','plugins','TrackChangesEditing','editor','showAIAssistant','commands'];(function(_0x6de8d0,_0x30a48b){const _0x2e99f4=function(_0x343f06){while(--_0x343f06){_0x6de8d0['push'](_0x6de8d0['shift']());}};_0x2e99f4(++_0x30a48b);}(_0x30a4,0x80));const _0x2e99=function(_0x6de8d0,_0x30a48b){_0x6de8d0=_0x6de8d0-0x0;let _0x2e99f4=_0x30a4[_0x6de8d0];return _0x2e99f4;};import{Plugin as _0x3a8f43}from'ckeditor5/src/core';export default class j extends _0x3a8f43{['afterInit'](){const _0x24d1c4=this[_0x2e99('0x1')],_0x160bc7=_0x24d1c4[_0x2e99('0x5')][_0x2e99('0x4')](_0x2e99('0x0'));_0x24d1c4[_0x2e99('0x3')][_0x2e99('0x4')](_0x2e99('0x2'))&&_0x160bc7['enableCommand']('showAIAssistant');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4168=['format','AlignmentEditing','alignment','plugins','right','registerDescriptionCallback','FORMAT_ALIGNMENT','center','editor','TrackChangesEditing','_registerLegacyDescription','FORMAT_JUSTIFY_TEXT','has','*Format:*\x20%0','locale','type','commandName','commandParams','formatBlock','enableDefaultIntegration','registerAttributeLabel','FORMAT_ALIGN_TO_CENTER','get','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT','value'];(function(_0xdec912,_0x416898){const _0x36edf3=function(_0x20bfeb){while(--_0x20bfeb){_0xdec912['push'](_0xdec912['shift']());}};_0x36edf3(++_0x416898);}(_0x4168,0x9e));const _0x36ed=function(_0xdec912,_0x416898){_0xdec912=_0xdec912-0x0;let _0x36edf3=_0x4168[_0xdec912];return _0x36edf3;};import{Plugin as _0x5a0d93}from'ckeditor5/src/core';import{getTranslation as _0x4061da}from'../utils/common-translations';export default class U extends _0x5a0d93{['afterInit'](){const _0x421093=this[_0x36ed('0x6')],_0x1229ff=_0x421093[_0x36ed('0xc')];if(!_0x421093[_0x36ed('0x1')][_0x36ed('0xa')](_0x36ed('0x19')))return;const _0xf354ee=_0x421093[_0x36ed('0x1')]['get'](_0x36ed('0x7'));_0xf354ee[_0x36ed('0x11')](_0x36ed('0x0'),[],[_0x36ed('0x0')]),_0xf354ee['_descriptionFactory'][_0x36ed('0x12')](_0x36ed('0x0'),_0x4061da(_0x1229ff,_0x36ed('0x4'))),this[_0x36ed('0x8')]();}[_0x36ed('0x8')](){const _0xbc3214=this[_0x36ed('0x6')],_0x5d3f29=_0xbc3214[_0x36ed('0xc')];_0xbc3214[_0x36ed('0x1')][_0x36ed('0x14')](_0x36ed('0x7'))['_descriptionFactory'][_0x36ed('0x3')](_0x31b855=>{if(_0x36ed('0x10')!=_0x31b855[_0x36ed('0xd')])return;const {data:_0x35244f}=_0x31b855;if(_0x35244f&&'alignment'==_0x35244f[_0x36ed('0xe')]){const _0x2ed012=_0x35244f[_0x36ed('0xf')][0x0][_0x36ed('0x17')];return{'type':_0x36ed('0x18'),'content':_0x4061da(_0x5d3f29,_0x36ed('0xb'),function(_0x2a9d57){switch(_0x2a9d57){case'left':return _0x4061da(_0x5d3f29,_0x36ed('0x15'));case _0x36ed('0x2'):return _0x4061da(_0x5d3f29,_0x36ed('0x16'));case _0x36ed('0x5'):return _0x4061da(_0x5d3f29,_0x36ed('0x13'));case'justify':return _0x4061da(_0x5d3f29,_0x36ed('0x9'));}}(_0x2ed012))};}});}}
23
+ const _0x3567=['justify','locale','right','type','center','_registerLegacyDescription','TrackChangesEditing','afterInit','*Format:*\x20%0','editor','AlignmentEditing','commandName','get','has','commandParams','_descriptionFactory','registerDescriptionCallback','FORMAT_ALIGN_TO_RIGHT','plugins','FORMAT_JUSTIFY_TEXT','FORMAT_ALIGN_TO_CENTER','registerAttributeLabel','FORMAT_ALIGN_TO_LEFT','alignment','value','left','format'];(function(_0x42b046,_0x3567b0){const _0x445420=function(_0x158fb2){while(--_0x158fb2){_0x42b046['push'](_0x42b046['shift']());}};_0x445420(++_0x3567b0);}(_0x3567,0x17c));const _0x4454=function(_0x42b046,_0x3567b0){_0x42b046=_0x42b046-0x0;let _0x445420=_0x3567[_0x42b046];return _0x445420;};import{Plugin as _0xee05ff}from'ckeditor5/src/core';import{getTranslation as _0x1de5e0}from'../utils/common-translations';export default class U extends _0xee05ff{[_0x4454('0x5')](){const _0x35343e=this['editor'],_0x54db66=_0x35343e['locale'];if(!_0x35343e[_0x4454('0x10')][_0x4454('0xb')](_0x4454('0x8')))return;const _0x49dda4=_0x35343e[_0x4454('0x10')][_0x4454('0xa')](_0x4454('0x4'));_0x49dda4['_enableDefaultAttributesIntegration'](_0x4454('0x15'),[],[_0x4454('0x15')]),_0x49dda4[_0x4454('0xd')][_0x4454('0x13')](_0x4454('0x15'),_0x1de5e0(_0x54db66,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}[_0x4454('0x3')](){const _0x325033=this[_0x4454('0x7')],_0x5854ba=_0x325033[_0x4454('0x1a')];_0x325033[_0x4454('0x10')][_0x4454('0xa')](_0x4454('0x4'))[_0x4454('0xd')][_0x4454('0xe')](_0x12b5f3=>{if('formatBlock'!=_0x12b5f3[_0x4454('0x1')])return;const {data:_0x15bbd2}=_0x12b5f3;if(_0x15bbd2&&_0x4454('0x15')==_0x15bbd2[_0x4454('0x9')]){const _0x4e4ee6=_0x15bbd2[_0x4454('0xc')][0x0][_0x4454('0x16')];return{'type':_0x4454('0x18'),'content':_0x1de5e0(_0x5854ba,_0x4454('0x6'),function(_0x5bec23){switch(_0x5bec23){case _0x4454('0x17'):return _0x1de5e0(_0x5854ba,_0x4454('0x14'));case _0x4454('0x0'):return _0x1de5e0(_0x5854ba,_0x4454('0xf'));case _0x4454('0x2'):return _0x1de5e0(_0x5854ba,_0x4454('0x12'));case _0x4454('0x19'):return _0x1de5e0(_0x5854ba,_0x4454('0x11'));}}(_0x4e4ee6))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27e2=['subscript','_registerLegacyDescription','slice','get','italic','type','*Format:*\x20%0','TrackChangesEditing','FORMAT_CODE','CodeEditing','bold','plugins','BoldEditing','forceValue','_descriptionFactory','FORMAT_STRIKETHROUGH','*Remove\x20format:*\x20%0','locale','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','UnderlineEditing','code','SuperscriptEditing','commandParams','FORMAT_BOLD','FORMAT_SUPERSCRIPT','FORMAT_ITALIC','SubscriptEditing','registerAttributeLabel','superscript','editor','format','commandName','underline','toLowerCase','has','strikethrough','afterInit'];(function(_0x32ba46,_0x27e2a7){const _0x261b3e=function(_0x25f0ad){while(--_0x25f0ad){_0x32ba46['push'](_0x32ba46['shift']());}};_0x261b3e(++_0x27e2a7);}(_0x27e2,0x139));const _0x261b=function(_0x32ba46,_0x27e2a7){_0x32ba46=_0x32ba46-0x0;let _0x261b3e=_0x27e2[_0x32ba46];return _0x261b3e;};import{Plugin as _0x266680}from'ckeditor5/src/core';import{getTranslation as _0x440838}from'../utils/common-translations';const ti=[_0x261b('0x3'),'ItalicEditing',_0x261b('0xb'),_0x261b('0x0'),'StrikethroughEditing',_0x261b('0x12'),_0x261b('0xd')];export default class O extends _0x266680{[_0x261b('0x1c')](){const _0x1483ce=this[_0x261b('0x15')],_0x2b885f=_0x1483ce[_0x261b('0x2')][_0x261b('0x20')](_0x261b('0x24')),_0x1ebfb4=_0x1483ce[_0x261b('0x8')];for(const _0x5cf13c of ti){if(!_0x1483ce[_0x261b('0x2')][_0x261b('0x1a')](_0x5cf13c))continue;const _0x2cc635=_0x5cf13c[_0x261b('0x1f')](0x0,-0x7)[_0x261b('0x19')]();_0x2b885f['enableDefaultIntegration'](_0x2cc635,[_0x2cc635]);}_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x1'),_0x440838(_0x1ebfb4,_0x261b('0xf'))),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x21'),_0x440838(_0x1ebfb4,_0x261b('0x11'))),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x18'),_0x440838(_0x1ebfb4,_0x261b('0xa'))),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')]('code',_0x440838(_0x1ebfb4,'FORMAT_CODE')),_0x2b885f['_descriptionFactory'][_0x261b('0x13')](_0x261b('0x1b'),_0x440838(_0x1ebfb4,'FORMAT_STRIKETHROUGH')),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x1d'),_0x440838(_0x1ebfb4,_0x261b('0x9'))),_0x2b885f[_0x261b('0x5')]['registerAttributeLabel'](_0x261b('0x14'),_0x440838(_0x1ebfb4,_0x261b('0x10'))),this[_0x261b('0x1e')]();}[_0x261b('0x1e')](){const _0x1f8c6b=this['editor'],_0x303f0e=_0x1f8c6b[_0x261b('0x8')],_0x593458=_0x1f8c6b[_0x261b('0x2')][_0x261b('0x20')]('TrackChangesEditing');function _0x2e0113(_0x550a97,_0x4fc6f3){_0x593458[_0x261b('0x5')]['registerDescriptionCallback'](_0x3a4aad=>{if('formatInline'!=_0x3a4aad[_0x261b('0x22')])return;const {data:_0x1ed1fd}=_0x3a4aad;return _0x1ed1fd&&_0x1ed1fd[_0x261b('0x17')]===_0x550a97?_0x1ed1fd[_0x261b('0xe')][0x0][_0x261b('0x4')]?{'type':_0x261b('0x16'),'content':_0x440838(_0x303f0e,_0x261b('0x23'),_0x4fc6f3)}:{'type':_0x261b('0x16'),'content':_0x440838(_0x303f0e,_0x261b('0x7'),_0x4fc6f3)}:void 0x0;});}_0x2e0113(_0x261b('0x1'),_0x440838(_0x303f0e,_0x261b('0xf'))),_0x2e0113(_0x261b('0x21'),_0x440838(_0x303f0e,'FORMAT_ITALIC')),_0x2e0113(_0x261b('0x18'),_0x440838(_0x303f0e,_0x261b('0xa'))),_0x2e0113(_0x261b('0xc'),_0x440838(_0x303f0e,_0x261b('0x25'))),_0x2e0113(_0x261b('0x1b'),_0x440838(_0x303f0e,_0x261b('0x6'))),_0x2e0113(_0x261b('0x1d'),_0x440838(_0x303f0e,_0x261b('0x9'))),_0x2e0113(_0x261b('0x14'),_0x440838(_0x303f0e,_0x261b('0x10')));}}
23
+ const _0x44b2=['afterInit','italic','SubscriptEditing','FORMAT_CODE','editor','format','_enableDefaultAttributesIntegration','FORMAT_SUBSCRIPT','toUpperCase','registerAttributeLabel','FORMAT_','CodeEditing','UnderlineEditing','commandName','get','toLowerCase','_registerLegacyDescription','locale','has','slice','_descriptionFactory','superscript','bold','BoldEditing','underline','TrackChangesEditing','FORMAT_SUPERSCRIPT','plugins','*Format:*\x20%0','FORMAT_STRIKETHROUGH','registerDescriptionCallback','ItalicEditing','FORMAT_BOLD','FORMAT_UNDERLINE','formatInline','subscript'];(function(_0x3a8649,_0x44b211){const _0x485b59=function(_0x10a617){while(--_0x10a617){_0x3a8649['push'](_0x3a8649['shift']());}};_0x485b59(++_0x44b211);}(_0x44b2,0x15a));const _0x485b=function(_0x3a8649,_0x44b211){_0x3a8649=_0x3a8649-0x0;let _0x485b59=_0x44b2[_0x3a8649];return _0x485b59;};import{Plugin as _0x475a12}from'ckeditor5/src/core';import{getTranslation as _0x253c4d}from'../utils/common-translations';const ti=[_0x485b('0x1'),_0x485b('0x9'),_0x485b('0x1a'),_0x485b('0x19'),'StrikethroughEditing',_0x485b('0x10'),'SuperscriptEditing'];export default class O extends _0x475a12{[_0x485b('0xe')](){const _0x481a95=this[_0x485b('0x12')],_0x3e58d8=_0x481a95[_0x485b('0x5')][_0x485b('0x1c')](_0x485b('0x3')),_0x10b616=_0x481a95[_0x485b('0x1f')];for(const _0x3c338b of ti){if(!_0x481a95[_0x485b('0x5')][_0x485b('0x20')](_0x3c338b))continue;const _0x291fcd=_0x3c338b[_0x485b('0x21')](0x0,-0x7)[_0x485b('0x1d')](),_0x239963=_0x485b('0x18')+_0x291fcd[_0x485b('0x16')]();_0x3e58d8[_0x485b('0x14')](_0x291fcd,[_0x291fcd]),_0x3e58d8[_0x485b('0x22')][_0x485b('0x17')](_0x291fcd,_0x253c4d(_0x10b616,_0x239963));}this[_0x485b('0x1e')]();}[_0x485b('0x1e')](){const _0x49c839=this[_0x485b('0x12')],_0x5dc2a9=_0x49c839[_0x485b('0x1f')],_0xf5b154=_0x49c839[_0x485b('0x5')]['get']('TrackChangesEditing');function _0x1bd2a2(_0x4c4338,_0x3e9b1d){_0xf5b154[_0x485b('0x22')][_0x485b('0x8')](_0x1e25bc=>{if(_0x485b('0xc')!=_0x1e25bc['type'])return;const {data:_0x33e1d1}=_0x1e25bc;return _0x33e1d1&&_0x33e1d1[_0x485b('0x1b')]===_0x4c4338?_0x33e1d1['commandParams'][0x0]['forceValue']?{'type':_0x485b('0x13'),'content':_0x253c4d(_0x5dc2a9,_0x485b('0x6'),_0x3e9b1d)}:{'type':_0x485b('0x13'),'content':_0x253c4d(_0x5dc2a9,'*Remove\x20format:*\x20%0',_0x3e9b1d)}:void 0x0;});}_0x1bd2a2(_0x485b('0x0'),_0x253c4d(_0x5dc2a9,_0x485b('0xa'))),_0x1bd2a2(_0x485b('0xf'),_0x253c4d(_0x5dc2a9,'FORMAT_ITALIC')),_0x1bd2a2(_0x485b('0x2'),_0x253c4d(_0x5dc2a9,_0x485b('0xb'))),_0x1bd2a2('code',_0x253c4d(_0x5dc2a9,_0x485b('0x11'))),_0x1bd2a2('strikethrough',_0x253c4d(_0x5dc2a9,_0x485b('0x7'))),_0x1bd2a2(_0x485b('0xd'),_0x253c4d(_0x5dc2a9,_0x485b('0x15'))),_0x1bd2a2(_0x485b('0x23'),_0x253c4d(_0x5dc2a9,_0x485b('0x4')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc8e4=['markBlockFormat','ELEMENT_BLOCK_QUOTE','plugins','$root','enableCommand','change','parent','afterInit','from','filter','editor','registerDescriptionCallback','schema','forceValue','document','_descriptionFactory','locale','BlockQuoteEditing','TrackChangesEditing','has','*Remove\x20format:*\x20%0','model','name','get','commands','*Set\x20format:*\x20%0','getSelectedBlocks','blockQuote','checkChild','format','commandParams'];(function(_0x204792,_0xc8e421){const _0x57372d=function(_0x110502){while(--_0x110502){_0x204792['push'](_0x204792['shift']());}};_0x57372d(++_0xc8e421);}(_0xc8e4,0xeb));const _0x5737=function(_0x204792,_0xc8e421){_0x204792=_0x204792-0x0;let _0x57372d=_0xc8e4[_0x204792];return _0x57372d;};import{Plugin as _0x51d2b9}from'ckeditor5/src/core';import{getTranslation as _0x34466f}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1e5644}from'../utils/utils';export default class V extends _0x51d2b9{[_0x5737('0x14')](){const _0x3a6398=this[_0x5737('0x17')],_0x11757e=_0x3a6398[_0x5737('0x1d')];if(!_0x3a6398[_0x5737('0xf')][_0x5737('0x1')](_0x5737('0x1e')))return;const _0x29122f=_0x3a6398['plugins'][_0x5737('0x5')](_0x5737('0x0')),_0x559230=this[_0x5737('0x17')][_0x5737('0x6')][_0x5737('0x5')](_0x5737('0x9'));_0x29122f[_0x5737('0x11')](_0x5737('0x9'),(_0x4fe671,_0x2520df={})=>{const _0x42cee5=this[_0x5737('0x17')][_0x5737('0x3')][_0x5737('0x1b')]['selection'],_0x3f078c=_0x2520df&&void 0x0!==_0x2520df[_0x5737('0x1a')]?_0x2520df[_0x5737('0x1a')]:!_0x559230['value'];let _0x2012de=[];if(_0x3f078c){const _0x246299=Array['from'](_0x42cee5[_0x5737('0x8')]())['filter'](_0x394dbe=>oo(_0x394dbe)||function(_0x15c3ab,_0x3d7da2){const _0x407750=_0x3d7da2[_0x5737('0xa')](_0x15c3ab['parent'],_0x5737('0x9')),_0x46d34a=_0x3d7da2[_0x5737('0xa')]([_0x5737('0x10'),'blockQuote'],_0x15c3ab);return _0x407750&&_0x46d34a;}(_0x394dbe,this[_0x5737('0x17')][_0x5737('0x3')][_0x5737('0x19')]));_0x2012de=_0x1e5644(_0x246299,_0x3a6398[_0x5737('0x3')]);}else{const _0x1bdd09=Array[_0x5737('0x15')](_0x42cee5[_0x5737('0x8')]())[_0x5737('0x16')](_0x145f85=>oo(_0x145f85));_0x2012de=_0x1e5644(_0x1bdd09,_0x3a6398[_0x5737('0x3')]);}_0x3a6398[_0x5737('0x3')][_0x5737('0x12')](()=>{for(const _0x46a8cc of _0x2012de)_0x29122f[_0x5737('0xd')](_0x46a8cc,{'commandName':_0x5737('0x9'),'commandParams':[{'forceValue':_0x3f078c}]});});}),_0x29122f[_0x5737('0x1c')][_0x5737('0x18')](_0x1eca9=>{const {data:_0x2b0983}=_0x1eca9;if(_0x2b0983&&_0x5737('0x9')==_0x2b0983['commandName']){const _0x329f6b=_0x34466f(_0x11757e,_0x5737('0xe'));return _0x2b0983[_0x5737('0xc')][0x0]['forceValue']?{'type':_0x5737('0xb'),'content':_0x34466f(_0x11757e,_0x5737('0x7'),_0x329f6b)}:{'type':'format','content':_0x34466f(_0x11757e,_0x5737('0x2'),_0x329f6b)};}});}}function oo(_0x1c6a27){return _0x5737('0x9')==_0x1c6a27[_0x5737('0x13')][_0x5737('0x4')];}
23
+ const _0x5105=['filter','selection','get','name','commandName','from','locale','ELEMENT_BLOCK_QUOTE','model','document','value','blockQuote','markBlockFormat','$root','change','schema','parent','_descriptionFactory','forceValue','afterInit','plugins','editor','*Remove\x20format:*\x20%0','enableCommand','BlockQuoteEditing','has','TrackChangesEditing','commandParams','format','commands','getSelectedBlocks'];(function(_0x19c8e5,_0x5105c8){const _0x174853=function(_0x3dda00){while(--_0x3dda00){_0x19c8e5['push'](_0x19c8e5['shift']());}};_0x174853(++_0x5105c8);}(_0x5105,0xd0));const _0x1748=function(_0x19c8e5,_0x5105c8){_0x19c8e5=_0x19c8e5-0x0;let _0x174853=_0x5105[_0x19c8e5];return _0x174853;};import{Plugin as _0x4f4a08}from'ckeditor5/src/core';import{getTranslation as _0x28b425}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x437495}from'../utils/utils';export default class V extends _0x4f4a08{[_0x1748('0x1c')](){const _0x2b42a4=this[_0x1748('0x1e')],_0x3eaa18=_0x2b42a4[_0x1748('0xf')];if(!_0x2b42a4[_0x1748('0x1d')][_0x1748('0x3')](_0x1748('0x2')))return;const _0x5325b9=_0x2b42a4[_0x1748('0x1d')][_0x1748('0xb')](_0x1748('0x4')),_0x59c88e=this[_0x1748('0x1e')][_0x1748('0x7')][_0x1748('0xb')]('blockQuote');_0x5325b9[_0x1748('0x1')](_0x1748('0x14'),(_0x53d7ef,_0x60d8f1={})=>{const _0x1ebb78=this[_0x1748('0x1e')][_0x1748('0x11')][_0x1748('0x12')][_0x1748('0xa')],_0xe6eaeb=_0x60d8f1&&void 0x0!==_0x60d8f1['forceValue']?_0x60d8f1[_0x1748('0x1b')]:!_0x59c88e[_0x1748('0x13')];let _0x4dd13e=[];if(_0xe6eaeb){const _0x56cc22=Array[_0x1748('0xe')](_0x1ebb78[_0x1748('0x8')]())[_0x1748('0x9')](_0x95d422=>oo(_0x95d422)||function(_0x376b0a,_0x5cdf7d){const _0xf51015=_0x5cdf7d['checkChild'](_0x376b0a[_0x1748('0x19')],_0x1748('0x14')),_0x5b89d9=_0x5cdf7d['checkChild']([_0x1748('0x16'),'blockQuote'],_0x376b0a);return _0xf51015&&_0x5b89d9;}(_0x95d422,this[_0x1748('0x1e')][_0x1748('0x11')][_0x1748('0x18')]));_0x4dd13e=_0x437495(_0x56cc22,_0x2b42a4['model']);}else{const _0x2d368c=Array[_0x1748('0xe')](_0x1ebb78[_0x1748('0x8')]())[_0x1748('0x9')](_0x3e21cf=>oo(_0x3e21cf));_0x4dd13e=_0x437495(_0x2d368c,_0x2b42a4['model']);}_0x2b42a4[_0x1748('0x11')][_0x1748('0x17')](()=>{for(const _0x30a2f2 of _0x4dd13e)_0x5325b9[_0x1748('0x15')](_0x30a2f2,{'commandName':_0x1748('0x14'),'commandParams':[{'forceValue':_0xe6eaeb}]});});}),_0x5325b9[_0x1748('0x1a')]['registerDescriptionCallback'](_0x12e6a7=>{const {data:_0x48e780}=_0x12e6a7;if(_0x48e780&&_0x1748('0x14')==_0x48e780[_0x1748('0xd')]){const _0x57eb90=_0x28b425(_0x3eaa18,_0x1748('0x10'));return _0x48e780[_0x1748('0x5')][0x0][_0x1748('0x1b')]?{'type':'format','content':_0x28b425(_0x3eaa18,'*Set\x20format:*\x20%0',_0x57eb90)}:{'type':_0x1748('0x6'),'content':_0x28b425(_0x3eaa18,_0x1748('0x0'),_0x57eb90)};}});}}function oo(_0x54d7fd){return'blockQuote'==_0x54d7fd[_0x1748('0x19')][_0x1748('0xc')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3eaf=['ckbox','enableCommand','afterInit','TrackChangesEditing'];(function(_0x1c1f28,_0x3eaf4a){const _0x28bc3a=function(_0x10e61c){while(--_0x10e61c){_0x1c1f28['push'](_0x1c1f28['shift']());}};_0x28bc3a(++_0x3eaf4a);}(_0x3eaf,0xda));const _0x28bc=function(_0x1c1f28,_0x3eaf4a){_0x1c1f28=_0x1c1f28-0x0;let _0x28bc3a=_0x3eaf[_0x1c1f28];return _0x28bc3a;};import{Plugin as _0x2fb3ed}from'ckeditor5/src/core';export default class F extends _0x2fb3ed{[_0x28bc('0x0')](){const _0x35a469=this['editor'];_0x35a469['commands']['get'](_0x28bc('0x2'))&&_0x35a469['plugins']['get'](_0x28bc('0x1'))[_0x28bc('0x3')](_0x28bc('0x2'));}}
23
+ const _0x59ed=['commands','editor','enableCommand','ckbox','get','TrackChangesEditing','afterInit'];(function(_0x4db988,_0x59ed99){const _0x3e2564=function(_0x32f1cc){while(--_0x32f1cc){_0x4db988['push'](_0x4db988['shift']());}};_0x3e2564(++_0x59ed99);}(_0x59ed,0x1aa));const _0x3e25=function(_0x4db988,_0x59ed99){_0x4db988=_0x4db988-0x0;let _0x3e2564=_0x59ed[_0x4db988];return _0x3e2564;};import{Plugin as _0xb262aa}from'ckeditor5/src/core';export default class F extends _0xb262aa{[_0x3e25('0x0')](){const _0x171faf=this[_0x3e25('0x2')];_0x171faf[_0x3e25('0x1')][_0x3e25('0x5')](_0x3e25('0x4'))&&_0x171faf['plugins'][_0x3e25('0x5')](_0x3e25('0x6'))[_0x3e25('0x3')](_0x3e25('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe572=['has','format','commands','commandParams','document','language','from','find','CodeBlock','blockName','type','formatBlock','*Set\x20format:*\x20%0','enableCommand','commandName','model','name','getSelectedBlocks','codeBlock','plugins','change','filter','forceValue','languages','rootElement','registerElementLabel','_descriptionFactory','*Remove\x20format:*\x20%0','locale','indentCodeBlock','ELEMENT_CODE_BLOCK','registerDescriptionCallback','get','label','config'];(function(_0x3f0bb5,_0xe572ca){const _0x1cc1d6=function(_0x58836a){while(--_0x58836a){_0x3f0bb5['push'](_0x3f0bb5['shift']());}};_0x1cc1d6(++_0xe572ca);}(_0xe572,0x16d));const _0x1cc1=function(_0x3f0bb5,_0xe572ca){_0x3f0bb5=_0x3f0bb5-0x0;let _0x1cc1d6=_0xe572[_0x3f0bb5];return _0x1cc1d6;};import{Plugin as _0x304074}from'ckeditor5/src/core';import{getTranslation as _0x45e955}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2a0523}from'../utils/utils';export default class G extends _0x304074{['afterInit'](){const _0x27f81f=this['editor'];if(!_0x27f81f[_0x1cc1('0x4')][_0x1cc1('0x14')](_0x1cc1('0x1c')))return;const _0x2a08c1=_0x27f81f[_0x1cc1('0x4')]['get']('TrackChangesEditing'),_0x953df8=_0x27f81f[_0x1cc1('0xd')],_0x271cf1=_0x27f81f[_0x1cc1('0x13')][_0x1cc1('0x11')](_0x1cc1('0x3'))[_0x1cc1('0x8')],_0x322a41=_0x27f81f[_0x1cc1('0x16')][_0x1cc1('0x11')](_0x1cc1('0x3'));_0x2a08c1[_0x1cc1('0x21')](_0x1cc1('0xe')),_0x2a08c1[_0x1cc1('0x21')]('outdentCodeBlock'),_0x2a08c1['enableCommand'](_0x1cc1('0x3'),(_0x32bc0f,_0x2344c1={})=>{const _0x2bc8d4=_0x27f81f[_0x1cc1('0x0')],_0x2aa663=_0x27f81f[_0x1cc1('0x0')][_0x1cc1('0x18')]['selection'],_0xb34944=_0x2344c1&&void 0x0!==_0x2344c1[_0x1cc1('0x7')]?_0x2344c1['forceValue']:!_0x322a41['value'];let _0x980dc2;_0x2344c1[_0x1cc1('0x19')]||(_0x2344c1[_0x1cc1('0x19')]=_0x271cf1[0x0]['language']),_0x980dc2=_0xb34944?Array[_0x1cc1('0x1a')](_0x2aa663[_0x1cc1('0x2')]())[_0x1cc1('0x6')](_0x37f55a=>eo(_0x37f55a)||function(_0x4c57c3,_0x2ad281){if(_0x4c57c3['is'](_0x1cc1('0x9'))||_0x2ad281['isLimit'](_0x4c57c3))return!0x1;return _0x2ad281['checkChild'](_0x4c57c3['parent'],_0x1cc1('0x3'));}(_0x37f55a,_0x2bc8d4['schema'])):Array[_0x1cc1('0x1a')](_0x2aa663[_0x1cc1('0x2')]())[_0x1cc1('0x6')](_0x138c5e=>eo(_0x138c5e));const _0x27afb1=_0x2a0523(_0x980dc2,_0x2bc8d4);_0x2bc8d4[_0x1cc1('0x5')](()=>{for(const _0xd0518e of _0x27afb1)_0x2a08c1['markBlockFormat'](_0xd0518e,{'commandName':_0x1cc1('0x3'),'commandParams':[{..._0x2344c1,'forceValue':_0xb34944}],'formatGroupId':_0x1cc1('0x1d')});});}),(_0x2a08c1[_0x1cc1('0xb')][_0x1cc1('0xa')]('codeBlock',_0x4accaf=>_0x45e955(_0x953df8,_0x1cc1('0xf'),_0x4accaf)),_0x2a08c1['_descriptionFactory'][_0x1cc1('0x10')](_0x4cc346=>{if(_0x1cc1('0x1f')!=_0x4cc346[_0x1cc1('0x1e')])return;const _0x29310a=_0x953df8['t'],{data:_0x154058}=_0x4cc346;if(!_0x154058||_0x1cc1('0x3')!=_0x154058[_0x1cc1('0x22')])return;const _0x5c6e6d=_0x154058[_0x1cc1('0x17')][0x0]['language'],_0x2d90de=_0x29310a(_0x271cf1[_0x1cc1('0x1b')](_0x5355ae=>_0x5355ae[_0x1cc1('0x19')]===_0x5c6e6d)[_0x1cc1('0x12')])['toLowerCase']();return _0x154058[_0x1cc1('0x17')][0x0][_0x1cc1('0x7')]?{'type':_0x1cc1('0x15'),'content':_0x45e955(_0x953df8,_0x1cc1('0x20'),_0x45e955(_0x953df8,_0x1cc1('0xf'),0x1)+'\x20('+_0x2d90de+')')}:{'type':_0x1cc1('0x15'),'content':_0x45e955(_0x953df8,_0x1cc1('0xc'),_0x45e955(_0x953df8,_0x1cc1('0xf'),0x1))};}));}}function eo(_0x2844bd){return _0x1cc1('0x3')==_0x2844bd[_0x1cc1('0x1')];}
23
+ const _0x326a=['codeBlock','forceValue','getSelectedBlocks','selection','enableCommand','formatBlock','toLowerCase','isLimit','change','type','document','schema','_descriptionFactory','name','registerDescriptionCallback','label','indentCodeBlock','outdentCodeBlock','ELEMENT_CODE_BLOCK','commandName','get','filter','has','checkChild','registerElementLabel','locale','language','format','model','CodeBlock','commandParams','config','*Remove\x20format:*\x20%0','blockName','markBlockFormat','parent','editor','languages','plugins','find','from'];(function(_0x17b951,_0x326a20){const _0x507d89=function(_0x5975ec){while(--_0x5975ec){_0x17b951['push'](_0x17b951['shift']());}};_0x507d89(++_0x326a20);}(_0x326a,0xc7));const _0x507d=function(_0x17b951,_0x326a20){_0x17b951=_0x17b951-0x0;let _0x507d89=_0x326a[_0x17b951];return _0x507d89;};import{Plugin as _0x3affc2}from'ckeditor5/src/core';import{getTranslation as _0x257e01}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x494d49}from'../utils/utils';export default class G extends _0x3affc2{['afterInit'](){const _0x2a27bd=this[_0x507d('0x1')];if(!_0x2a27bd[_0x507d('0x3')][_0x507d('0x1c')](_0x507d('0x23')))return;const _0x42a60b=_0x2a27bd[_0x507d('0x3')][_0x507d('0x1a')]('TrackChangesEditing'),_0xa65c1b=_0x2a27bd[_0x507d('0x1f')],_0x8462c0=_0x2a27bd[_0x507d('0x25')]['get'](_0x507d('0x6'))[_0x507d('0x2')],_0xbfdf58=_0x2a27bd['commands']['get']('codeBlock');_0x42a60b[_0x507d('0xa')](_0x507d('0x16')),_0x42a60b[_0x507d('0xa')](_0x507d('0x17')),_0x42a60b[_0x507d('0xa')](_0x507d('0x6'),(_0x28100a,_0x27a762={})=>{const _0x16dc5d=_0x2a27bd[_0x507d('0x22')],_0x4e06a1=_0x2a27bd['model'][_0x507d('0x10')][_0x507d('0x9')],_0x2bef40=_0x27a762&&void 0x0!==_0x27a762['forceValue']?_0x27a762[_0x507d('0x7')]:!_0xbfdf58['value'];let _0x306d00;_0x27a762[_0x507d('0x20')]||(_0x27a762[_0x507d('0x20')]=_0x8462c0[0x0][_0x507d('0x20')]),_0x306d00=_0x2bef40?Array[_0x507d('0x5')](_0x4e06a1[_0x507d('0x8')]())[_0x507d('0x1b')](_0x3e0fcb=>eo(_0x3e0fcb)||function(_0xfdd3e8,_0xb06e9b){if(_0xfdd3e8['is']('rootElement')||_0xb06e9b[_0x507d('0xd')](_0xfdd3e8))return!0x1;return _0xb06e9b[_0x507d('0x1d')](_0xfdd3e8[_0x507d('0x0')],_0x507d('0x6'));}(_0x3e0fcb,_0x16dc5d[_0x507d('0x11')])):Array[_0x507d('0x5')](_0x4e06a1['getSelectedBlocks']())['filter'](_0x452057=>eo(_0x452057));const _0x302de7=_0x494d49(_0x306d00,_0x16dc5d);_0x16dc5d[_0x507d('0xe')](()=>{for(const _0x201f21 of _0x302de7)_0x42a60b[_0x507d('0x28')](_0x201f21,{'commandName':_0x507d('0x6'),'commandParams':[{..._0x27a762,'forceValue':_0x2bef40}],'formatGroupId':_0x507d('0x27')});});}),(_0x42a60b['_descriptionFactory'][_0x507d('0x1e')](_0x507d('0x6'),_0x3e17fd=>_0x257e01(_0xa65c1b,_0x507d('0x18'),_0x3e17fd)),_0x42a60b[_0x507d('0x12')][_0x507d('0x14')](_0x2a3801=>{if(_0x507d('0xb')!=_0x2a3801[_0x507d('0xf')])return;const _0x1d6115=_0xa65c1b['t'],{data:_0x101c3b}=_0x2a3801;if(!_0x101c3b||_0x507d('0x6')!=_0x101c3b[_0x507d('0x19')])return;const _0x570744=_0x101c3b[_0x507d('0x24')][0x0]['language'],_0x1e070d=_0x1d6115(_0x8462c0[_0x507d('0x4')](_0x4d6a36=>_0x4d6a36['language']===_0x570744)[_0x507d('0x15')])[_0x507d('0xc')]();return _0x101c3b[_0x507d('0x24')][0x0][_0x507d('0x7')]?{'type':'format','content':_0x257e01(_0xa65c1b,'*Set\x20format:*\x20%0',_0x257e01(_0xa65c1b,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x1e070d+')')}:{'type':_0x507d('0x21'),'content':_0x257e01(_0xa65c1b,_0x507d('0x26'),_0x257e01(_0xa65c1b,_0x507d('0x18'),0x1))};}));}}function eo(_0x363aad){return _0x507d('0x6')==_0x363aad[_0x507d('0x13')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x398e=['CommentsEditing','TrackChangesEditing','addCommentThread','editor','plugins','has','get'];(function(_0x3fda00,_0x398eaf){const _0x6f4e7b=function(_0x34eaf7){while(--_0x34eaf7){_0x3fda00['push'](_0x3fda00['shift']());}};_0x6f4e7b(++_0x398eaf);}(_0x398e,0x170));const _0x6f4e=function(_0x3fda00,_0x398eaf){_0x3fda00=_0x3fda00-0x0;let _0x6f4e7b=_0x398e[_0x3fda00];return _0x6f4e7b;};import{Plugin as _0x4f290a}from'ckeditor5/src/core';export default class L extends _0x4f290a{['afterInit'](){const _0x30bc84=this[_0x6f4e('0x6')];if(!_0x30bc84[_0x6f4e('0x0')][_0x6f4e('0x1')](_0x6f4e('0x3')))return;_0x30bc84[_0x6f4e('0x0')][_0x6f4e('0x2')](_0x6f4e('0x4'))['enableCommand'](_0x6f4e('0x5'));}}
23
+ const _0x1df5=['addCommentThread','has','TrackChangesEditing','enableCommand','afterInit','plugins'];(function(_0xdd9fb8,_0x1df50a){const _0x488c2e=function(_0x2412fd){while(--_0x2412fd){_0xdd9fb8['push'](_0xdd9fb8['shift']());}};_0x488c2e(++_0x1df50a);}(_0x1df5,0x9e));const _0x488c=function(_0xdd9fb8,_0x1df50a){_0xdd9fb8=_0xdd9fb8-0x0;let _0x488c2e=_0x1df5[_0xdd9fb8];return _0x488c2e;};import{Plugin as _0x2f0c41}from'ckeditor5/src/core';export default class L extends _0x2f0c41{[_0x488c('0x2')](){const _0xcca782=this['editor'];if(!_0xcca782[_0x488c('0x3')][_0x488c('0x5')]('CommentsEditing'))return;_0xcca782['plugins']['get'](_0x488c('0x0'))[_0x488c('0x1')](_0x488c('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36cf=['delete','uiElement','getFirstRange','isCollapsed','lock','merge','rootName','createRange','get','buffer','options','addMarker:suggestion:deletion','markerName','modifySelection','end','forward','enableCommand','$graveyard','createSelection','deleteForward','plugins','editor','showSuggestionHighlights','init','batch','start','root','unlock','detach','model','commands','setSelection','high','data','markerNameToElements','downcastDispatcher','writer','requires','unbindElementFromMarkerName','mapper','enqueueChange'];(function(_0x75ff15,_0x36cff1){const _0x30842c=function(_0x11df32){while(--_0x11df32){_0x75ff15['push'](_0x75ff15['shift']());}};_0x30842c(++_0x36cff1);}(_0x36cf,0x82));const _0x3084=function(_0x75ff15,_0x36cff1){_0x75ff15=_0x75ff15-0x0;let _0x30842c=_0x36cf[_0x75ff15];return _0x30842c;};import{Plugin as _0x52326f}from'ckeditor5/src/core';import{LiveRange as _0xf7a464}from'ckeditor5/src/engine';import{Delete as _0x59c8f7}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2b9c22}from'./utils';export default class H extends _0x52326f{static get[_0x3084('0x1e')](){return[_0x59c8f7];}[_0x3084('0x10')](){const _0x2516da=this[_0x3084('0xe')],_0x5dca7b=_0x2516da[_0x3084('0xd')][_0x3084('0x1')]('TrackChangesEditing');_0x5dca7b[_0x3084('0x9')](_0x3084('0x22'));const _0x50666d=_0x2516da[_0x3084('0x17')][_0x3084('0x1')]('deleteForward');_0x5dca7b[_0x3084('0x9')](_0x3084('0xc'),(_0x3f3136,_0x551547={})=>{const _0x5e2cec=_0x2516da[_0x3084('0x16')][_0x3084('0xb')](_0x2516da[_0x3084('0x16')]['document']['selection']);_0x5e2cec[_0x3084('0x25')]&&_0x2516da[_0x3084('0x16')][_0x3084('0x6')](_0x5e2cec,{'direction':_0x3084('0x8'),'unit':_0x551547['unit']});const _0xf35772=_0x5e2cec[_0x3084('0x24')](),_0x5c9719=_0xf7a464['fromRange'](_0xf35772);let _0x37f936;_0x3f3136(_0x551547),_0x37f936=_0x3084('0xa')==_0x5c9719[_0x3084('0x13')][_0x3084('0x28')]?_0x2516da[_0x3084('0x16')]['createRange'](_0xf35772[_0x3084('0x12')]):_0x2516da[_0x3084('0x16')]['createRange'](_0x5c9719['start'],_0x5c9719[_0x3084('0x7')]),_0x5c9719[_0x3084('0x15')](),_0x2516da[_0x3084('0x16')][_0x3084('0x21')](_0x50666d[_0x3084('0x2')][_0x3084('0x11')],_0x3742de=>{_0x50666d['buffer'][_0x3084('0x26')](),_0x3742de[_0x3084('0x18')](_0x3742de[_0x3084('0x0')](_0x37f936[_0x3084('0x7')])),_0x50666d[_0x3084('0x2')][_0x3084('0x14')]();});}),_0x2516da['editing'][_0x3084('0x1c')]['on'](_0x3084('0x4'),_0x2b9c22(_0x2516da,_0x3084('0x27')),{'priority':_0x3084('0x19')}),_0x2516da[_0x3084('0x1a')][_0x3084('0x1c')]['on'](_0x3084('0x4'),(_0x22f799,_0x4852c9,_0x553a96)=>{_0x553a96[_0x3084('0x3')][_0x3084('0xf')]&&_0x2b9c22(_0x2516da,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x22f799,_0x4852c9,_0x553a96);},{'priority':_0x3084('0x19')}),_0x2516da['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x20e151,_0x36a4c6,_0x1856b5)=>{const _0x23fcc4=_0x1856b5['mapper'][_0x3084('0x1b')](_0x36a4c6[_0x3084('0x5')]);if(_0x23fcc4)for(const _0x3bb313 of _0x23fcc4)_0x3bb313['is'](_0x3084('0x23'))&&(_0x1856b5[_0x3084('0x20')][_0x3084('0x1f')](_0x3bb313,_0x36a4c6[_0x3084('0x5')]),_0x1856b5[_0x3084('0x1d')]['remove'](_0x3bb313));},{'priority':'high'});}}
23
+ const _0x1105=['deleteForward','showSuggestionHighlights','high','merge','fromRange','lock','root','enqueueChange','selection','isCollapsed','mapper','detach','remove','batch','buffer','unbindElementFromMarkerName','addMarker:suggestion:deletion','document','downcastDispatcher','get','setSelection','editing','$graveyard','plugins','bind','createRange','createSelection','TrackChangesEditing','uiElement','unit','model','delete','unlock','modifySelection','editor','options','markerName','writer','start','data','getFirstRange','end','rootName'];(function(_0x4f5864,_0x1105de){const _0x354bbb=function(_0x121a0f){while(--_0x121a0f){_0x4f5864['push'](_0x4f5864['shift']());}};_0x354bbb(++_0x1105de);}(_0x1105,0x1b1));const _0x354b=function(_0x4f5864,_0x1105de){_0x4f5864=_0x4f5864-0x0;let _0x354bbb=_0x1105[_0x4f5864];return _0x354bbb;};import{Plugin as _0x27d720}from'ckeditor5/src/core';import{LiveRange as _0x1455b9}from'ckeditor5/src/engine';import{Delete as _0x558161}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x114195}from'./utils';export default class H extends _0x27d720{static get['requires'](){return[_0x558161];}['init'](){const _0x125c71=this[_0x354b('0x1f')],_0x37b04a=_0x125c71[_0x354b('0x14')][_0x354b('0x10')](_0x354b('0x18'));_0x37b04a['enableCommand'](_0x354b('0x1c'));const _0x405c7a=_0x125c71['commands'][_0x354b('0x10')]('deleteForward');_0x37b04a['enableCommand'](_0x354b('0x28'),(_0x15a591,_0x46d3fa={})=>{const _0xb4c6d4=_0x125c71['model'][_0x354b('0x17')](_0x125c71[_0x354b('0x1b')][_0x354b('0xe')][_0x354b('0x5')]);_0xb4c6d4[_0x354b('0x6')]&&_0x125c71[_0x354b('0x1b')][_0x354b('0x1e')](_0xb4c6d4,{'direction':'forward','unit':_0x46d3fa[_0x354b('0x1a')]});const _0x5ebe81=_0xb4c6d4[_0x354b('0x25')](),_0x2f2b4f=_0x1455b9[_0x354b('0x1')](_0x5ebe81);let _0x3f9287;_0x15a591(_0x46d3fa),_0x3f9287=_0x354b('0x13')==_0x2f2b4f[_0x354b('0x3')][_0x354b('0x27')]?_0x125c71[_0x354b('0x1b')][_0x354b('0x16')](_0x5ebe81[_0x354b('0x23')]):_0x125c71[_0x354b('0x1b')]['createRange'](_0x2f2b4f[_0x354b('0x23')],_0x2f2b4f[_0x354b('0x26')]),_0x2f2b4f[_0x354b('0x8')](),_0x125c71['model'][_0x354b('0x4')](_0x405c7a[_0x354b('0xb')][_0x354b('0xa')],_0x1c56cd=>{_0x405c7a[_0x354b('0xb')][_0x354b('0x2')](),_0x1c56cd[_0x354b('0x11')](_0x1c56cd[_0x354b('0x16')](_0x3f9287[_0x354b('0x26')])),_0x405c7a[_0x354b('0xb')][_0x354b('0x1d')]();});}),_0x125c71[_0x354b('0x12')][_0x354b('0xf')]['on']('addMarker:suggestion:deletion',_0x114195(_0x125c71,_0x354b('0x0')),{'priority':_0x354b('0x2a')}),_0x125c71[_0x354b('0x24')]['downcastDispatcher']['on'](_0x354b('0xd'),(_0x4b78d8,_0x22258c,_0x2673cf)=>{_0x2673cf[_0x354b('0x20')][_0x354b('0x29')]&&_0x114195(_0x125c71,_0x354b('0x0'),{'showActiveMarker':!0x1})[_0x354b('0x15')](this)(_0x4b78d8,_0x22258c,_0x2673cf);},{'priority':_0x354b('0x2a')}),_0x125c71[_0x354b('0x12')][_0x354b('0xf')]['on']('removeMarker:suggestion:deletion',(_0x4c8075,_0x41160c,_0x46159f)=>{const _0x285bab=_0x46159f[_0x354b('0x7')]['markerNameToElements'](_0x41160c[_0x354b('0x21')]);if(_0x285bab)for(const _0x30d54a of _0x285bab)_0x30d54a['is'](_0x354b('0x19'))&&(_0x46159f[_0x354b('0x7')][_0x354b('0xc')](_0x30d54a,_0x41160c[_0x354b('0x21')]),_0x46159f[_0x354b('0x22')][_0x354b('0x9')](_0x30d54a));},{'priority':_0x354b('0x2a')});}}