@ckeditor/ckeditor5-track-changes 37.0.1 → 38.0.0-rc.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 (164) 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/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -0
  49. package/lang/translations/ar.po +15 -1
  50. package/lang/translations/az.po +11 -1
  51. package/lang/translations/bg.po +11 -1
  52. package/lang/translations/bn.po +11 -1
  53. package/lang/translations/ca.po +11 -1
  54. package/lang/translations/cs.po +13 -1
  55. package/lang/translations/da.po +11 -1
  56. package/lang/translations/de.po +11 -1
  57. package/lang/translations/el.po +11 -1
  58. package/lang/translations/en-au.po +31 -21
  59. package/lang/translations/en.po +10 -0
  60. package/lang/translations/es.po +12 -1
  61. package/lang/translations/et.po +11 -1
  62. package/lang/translations/fi.po +11 -1
  63. package/lang/translations/fr.po +12 -1
  64. package/lang/translations/gl.po +11 -1
  65. package/lang/translations/he.po +13 -1
  66. package/lang/translations/hi.po +11 -1
  67. package/lang/translations/hr.po +34 -23
  68. package/lang/translations/hu.po +11 -1
  69. package/lang/translations/id.po +10 -1
  70. package/lang/translations/it.po +12 -1
  71. package/lang/translations/ja.po +10 -1
  72. package/lang/translations/ko.po +10 -1
  73. package/lang/translations/lt.po +13 -1
  74. package/lang/translations/lv.po +12 -1
  75. package/lang/translations/ms.po +10 -1
  76. package/lang/translations/nl.po +11 -1
  77. package/lang/translations/no.po +11 -1
  78. package/lang/translations/pl.po +13 -1
  79. package/lang/translations/pt-br.po +12 -1
  80. package/lang/translations/pt.po +12 -1
  81. package/lang/translations/ro.po +12 -1
  82. package/lang/translations/ru.po +13 -1
  83. package/lang/translations/sk.po +13 -1
  84. package/lang/translations/sr-latn.po +15 -4
  85. package/lang/translations/sr.po +33 -22
  86. package/lang/translations/sv.po +11 -1
  87. package/lang/translations/th.po +10 -1
  88. package/lang/translations/tk.po +11 -1
  89. package/lang/translations/tr.po +11 -1
  90. package/lang/translations/tt.po +10 -1
  91. package/lang/translations/uk.po +13 -1
  92. package/lang/translations/ur.po +11 -1
  93. package/lang/translations/vi.po +10 -1
  94. package/lang/translations/zh-cn.po +10 -1
  95. package/lang/translations/zh.po +10 -1
  96. package/package.json +3 -3
  97. package/src/commands/acceptsuggestioncommand.js +1 -1
  98. package/src/commands/discardsuggestioncommand.js +1 -1
  99. package/src/commands/executeonallsuggestionscommand.js +1 -1
  100. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  101. package/src/commands/trackchangescommand.js +1 -1
  102. package/src/index.d.ts +1 -1
  103. package/src/integrations/alignment.js +1 -1
  104. package/src/integrations/basicstyles.js +1 -1
  105. package/src/integrations/blockquote.js +1 -1
  106. package/src/integrations/ckbox.js +1 -1
  107. package/src/integrations/codeblock.js +1 -1
  108. package/src/integrations/comments.js +1 -1
  109. package/src/integrations/deletecommand.js +1 -1
  110. package/src/integrations/documentlist.js +1 -1
  111. package/src/integrations/documentlistproperties.js +1 -1
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/findandreplace.js +1 -1
  114. package/src/integrations/font.js +1 -1
  115. package/src/integrations/formatpainter.d.ts +13 -0
  116. package/src/integrations/formatpainter.js +23 -0
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/importword.js +1 -1
  124. package/src/integrations/indent.js +1 -1
  125. package/src/integrations/inputcommand.js +1 -1
  126. package/src/integrations/link.js +1 -1
  127. package/src/integrations/list.js +1 -1
  128. package/src/integrations/listproperties.js +1 -1
  129. package/src/integrations/mediaembed.js +1 -1
  130. package/src/integrations/mention.js +1 -1
  131. package/src/integrations/pagebreak.js +1 -1
  132. package/src/integrations/paragraph.js +1 -1
  133. package/src/integrations/removeformat.js +1 -1
  134. package/src/integrations/restrictededitingmode.js +1 -1
  135. package/src/integrations/shiftentercommand.js +1 -1
  136. package/src/integrations/standardeditingmode.js +1 -1
  137. package/src/integrations/style.js +1 -1
  138. package/src/integrations/table.js +1 -1
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.js +1 -1
  141. package/src/integrations/tablecolumnresize.js +1 -1
  142. package/src/integrations/tableheadings.js +1 -1
  143. package/src/integrations/tablemergesplit.js +1 -1
  144. package/src/integrations/tableofcontents.d.ts +13 -0
  145. package/src/integrations/tableofcontents.js +23 -0
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.d.ts +13 -0
  148. package/src/integrations/template.js +23 -0
  149. package/src/integrations/title.js +1 -1
  150. package/src/integrations/undo.js +1 -1
  151. package/src/integrations/utils.js +1 -1
  152. package/src/suggestion.js +1 -1
  153. package/src/suggestiondescriptionfactory.js +1 -1
  154. package/src/trackchanges.d.ts +23 -5
  155. package/src/trackchanges.js +1 -1
  156. package/src/trackchangesconfig.d.ts +23 -5
  157. package/src/trackchangesdata.js +1 -1
  158. package/src/trackchangesediting.js +1 -1
  159. package/src/trackchangesui.js +1 -1
  160. package/src/ui/suggestioncontroller.js +1 -1
  161. package/src/ui/view/basesuggestionthreadview.js +1 -1
  162. package/src/ui/view/suggestionthreadview.js +1 -1
  163. package/src/utils/common-translations.js +1 -1
  164. package/src/utils/utils.js +1 -1
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n"
15
+ "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
18
 
@@ -152,6 +152,10 @@ msgctxt "A suggestion for setting the font size to %0."
152
152
  msgid "*Set font size:* %0"
153
153
  msgstr "*Установити розмір шрифту:* %0"
154
154
 
155
+ msgctxt "A suggestion for setting multiple inline formatting to %0"
156
+ msgid "*Set format to:* %0"
157
+ msgstr "*Встановити формат на:* %0"
158
+
155
159
  msgctxt "A suggestion for highlighting text."
156
160
  msgid "*Set highlight:* %0"
157
161
  msgstr "*Установити виділення:* %0"
@@ -388,6 +392,14 @@ msgstr[1] "0% стовпці таблиці *з текстом* %1"
388
392
  msgstr[2] "0% стовпців таблиці *з текстом* %1"
389
393
  msgstr[3] "0% стовпців таблиці *з текстом* %1"
390
394
 
395
+ msgctxt "The table of contents element name displayed in the suggestion."
396
+ msgid "ELEMENT_TABLE_OF_CONTENTS"
397
+ msgid_plural "%0 tables of contents"
398
+ msgstr[0] "зміст"
399
+ msgstr[1] "зміст"
400
+ msgstr[2] "зміст"
401
+ msgstr[3] "зміст"
402
+
391
403
  msgctxt "The table row element name displayed in the suggestion."
392
404
  msgid "ELEMENT_TABLE_ROW"
393
405
  msgid_plural "%0 table rows"
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
15
+ "Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
16
16
  "Language: ur\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -152,6 +152,10 @@ msgctxt "A suggestion for setting the font size to %0."
152
152
  msgid "*Set font size:* %0"
153
153
  msgstr ""
154
154
 
155
+ msgctxt "A suggestion for setting multiple inline formatting to %0"
156
+ msgid "*Set format to:* %0"
157
+ msgstr ""
158
+
155
159
  msgctxt "A suggestion for highlighting text."
156
160
  msgid "*Set highlight:* %0"
157
161
  msgstr ""
@@ -356,6 +360,12 @@ msgid_plural "%0 table columns *with text* %1"
356
360
  msgstr[0] ""
357
361
  msgstr[1] ""
358
362
 
363
+ msgctxt "The table of contents element name displayed in the suggestion."
364
+ msgid "ELEMENT_TABLE_OF_CONTENTS"
365
+ msgid_plural "%0 tables of contents"
366
+ msgstr[0] ""
367
+ msgstr[1] ""
368
+
359
369
  msgctxt "The table row element name displayed in the suggestion."
360
370
  msgid "ELEMENT_TABLE_ROW"
361
371
  msgid_plural "%0 table rows"
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Vietnamese (https://www.transifex.com/ckeditor/teams/11143/vi/)\n"
15
+ "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -152,6 +152,10 @@ msgctxt "A suggestion for setting the font size to %0."
152
152
  msgid "*Set font size:* %0"
153
153
  msgstr "*Đặt lại kích cỡ phông chữ:* %0"
154
154
 
155
+ msgctxt "A suggestion for setting multiple inline formatting to %0"
156
+ msgid "*Set format to:* %0"
157
+ msgstr "*Đặt định dạng thành:* %0"
158
+
155
159
  msgctxt "A suggestion for highlighting text."
156
160
  msgid "*Set highlight:* %0"
157
161
  msgstr "*Đặt văn bản tô sáng:* %0"
@@ -340,6 +344,11 @@ msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
340
344
  msgid_plural "%0 table columns *with text* %1"
341
345
  msgstr[0] "cột trong bảng *có văn bản* %1"
342
346
 
347
+ msgctxt "The table of contents element name displayed in the suggestion."
348
+ msgid "ELEMENT_TABLE_OF_CONTENTS"
349
+ msgid_plural "%0 tables of contents"
350
+ msgstr[0] "mục lục"
351
+
343
352
  msgctxt "The table row element name displayed in the suggestion."
344
353
  msgid "ELEMENT_TABLE_ROW"
345
354
  msgid_plural "%0 table rows"
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
15
+ "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -152,6 +152,10 @@ msgctxt "A suggestion for setting the font size to %0."
152
152
  msgid "*Set font size:* %0"
153
153
  msgstr "*设置字号:* %0"
154
154
 
155
+ msgctxt "A suggestion for setting multiple inline formatting to %0"
156
+ msgid "*Set format to:* %0"
157
+ msgstr "*设置格式为:* %0"
158
+
155
159
  msgctxt "A suggestion for highlighting text."
156
160
  msgid "*Set highlight:* %0"
157
161
  msgstr "*设置高亮:* %0"
@@ -340,6 +344,11 @@ msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
340
344
  msgid_plural "%0 table columns *with text* %1"
341
345
  msgstr[0] "%0 表格列 *含文本* %1"
342
346
 
347
+ msgctxt "The table of contents element name displayed in the suggestion."
348
+ msgid "ELEMENT_TABLE_OF_CONTENTS"
349
+ msgid_plural "%0 tables of contents"
350
+ msgstr[0] "目录"
351
+
343
352
  msgctxt "The table row element name displayed in the suggestion."
344
353
  msgid "ELEMENT_TABLE_ROW"
345
354
  msgid_plural "%0 table rows"
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
15
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -152,6 +152,10 @@ msgctxt "A suggestion for setting the font size to %0."
152
152
  msgid "*Set font size:* %0"
153
153
  msgstr "*設定字型大小:*%0"
154
154
 
155
+ msgctxt "A suggestion for setting multiple inline formatting to %0"
156
+ msgid "*Set format to:* %0"
157
+ msgstr "*設定格式為:*%0"
158
+
155
159
  msgctxt "A suggestion for highlighting text."
156
160
  msgid "*Set highlight:* %0"
157
161
  msgstr "*設定亮顯:*%0"
@@ -340,6 +344,11 @@ msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
340
344
  msgid_plural "%0 table columns *with text* %1"
341
345
  msgstr[0] "表格行*帶文字* %1"
342
346
 
347
+ msgctxt "The table of contents element name displayed in the suggestion."
348
+ msgid "ELEMENT_TABLE_OF_CONTENTS"
349
+ msgid_plural "%0 tables of contents"
350
+ msgstr[0] "內容目錄"
351
+
343
352
  msgctxt "The table row element name displayed in the suggestion."
344
353
  msgid "ELEMENT_TABLE_ROW"
345
354
  msgid_plural "%0 table rows"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "37.0.1",
3
+ "version": "38.0.0-rc.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -41,8 +41,8 @@
41
41
  "postversion": "npm run build"
42
42
  },
43
43
  "dependencies": {
44
- "ckeditor5": "^37.0.1",
45
- "ckeditor5-collaboration": "^37.0.1",
44
+ "ckeditor5": "^37.1.0",
45
+ "ckeditor5-collaboration": "^38.0.0-rc.0",
46
46
  "lodash-es": "^4.17.11"
47
47
  },
48
48
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdf3d=['TrackChangesEditing','editor','execute','isEnabled','get','acceptSuggestion','track-changes-accept-suggestion-not-found','refresh','plugins'];(function(_0x146df5,_0xdf3db){const _0x297eb0=function(_0x53f267){while(--_0x53f267){_0x146df5['push'](_0x146df5['shift']());}};_0x297eb0(++_0xdf3db);}(_0xdf3d,0xb9));const _0x297e=function(_0x146df5,_0xdf3db){_0x146df5=_0x146df5-0x0;let _0x297eb0=_0xdf3d[_0x146df5];return _0x297eb0;};import{Command as _0x5799ae}from'ckeditor5/src/core';import{CKEditorError as _0x11ddc8}from'ckeditor5/src/utils';export default class M extends _0x5799ae{constructor(_0x4dcae6,_0x340ce0){super(_0x4dcae6),this['_suggestions']=_0x340ce0,this[_0x297e('0x2')]();}[_0x297e('0x2')](){this[_0x297e('0x7')]=!0x0;}[_0x297e('0x6')](_0x494aab){const _0x5b94f8=this['_suggestions']['get'](_0x494aab);if(!_0x5b94f8)throw new _0x11ddc8(_0x297e('0x1'),this);this[_0x297e('0x5')][_0x297e('0x3')][_0x297e('0x8')](_0x297e('0x4'))[_0x297e('0x0')](_0x5b94f8);}}
23
+ const _0x5d6f=['editor','TrackChangesEditing','model','refresh','acceptSuggestion','execute','_suggestions','getRanges','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','get','plugins'];(function(_0x2983b6,_0x5d6fdc){const _0x1dc1d5=function(_0x3f464e){while(--_0x3f464e){_0x2983b6['push'](_0x2983b6['shift']());}};_0x1dc1d5(++_0x5d6fdc);}(_0x5d6f,0x112));const _0x1dc1=function(_0x2983b6,_0x5d6fdc){_0x2983b6=_0x2983b6-0x0;let _0x1dc1d5=_0x5d6f[_0x2983b6];return _0x1dc1d5;};import{Command as _0x543426}from'ckeditor5/src/core';import{CKEditorError as _0x5321b3}from'ckeditor5/src/utils';export default class M extends _0x543426{constructor(_0x281093,_0x27890e){super(_0x281093),this[_0x1dc1('0x8')]=_0x27890e,this[_0x1dc1('0x5')](),this[_0x1dc1('0xb')]=!0x1;}[_0x1dc1('0x5')](){this['isEnabled']=!0x0;}[_0x1dc1('0x7')](_0x4ff346){const _0x44de7e=this[_0x1dc1('0x8')][_0x1dc1('0x0')](_0x4ff346);if(!_0x44de7e)throw new _0x5321b3(_0x1dc1('0xa'),this);const _0x40deaf=_0x44de7e[_0x1dc1('0x9')]();this[_0x1dc1('0x2')][_0x1dc1('0x4')]['canEditAt'](_0x40deaf)&&this[_0x1dc1('0x2')][_0x1dc1('0x1')][_0x1dc1('0x0')](_0x1dc1('0x3'))[_0x1dc1('0x6')](_0x44de7e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x303f=['isEnabled','plugins','editor','_suggestions','TrackChangesEditing','discardSuggestion','execute','refresh','get'];(function(_0x4c2262,_0x303fc1){const _0x7f201f=function(_0x427427){while(--_0x427427){_0x4c2262['push'](_0x4c2262['shift']());}};_0x7f201f(++_0x303fc1);}(_0x303f,0x1a4));const _0x7f20=function(_0x4c2262,_0x303fc1){_0x4c2262=_0x4c2262-0x0;let _0x7f201f=_0x303f[_0x4c2262];return _0x7f201f;};import{Command as _0xa8f169}from'ckeditor5/src/core';import{CKEditorError as _0x5b8c52}from'ckeditor5/src/utils';export default class $ extends _0xa8f169{constructor(_0x4b4918,_0x4daf52){super(_0x4b4918),this[_0x7f20('0x6')]=_0x4daf52,this['refresh']();}[_0x7f20('0x1')](){this[_0x7f20('0x3')]=!0x0;}[_0x7f20('0x0')](_0x58593b){const _0x5568e1=this['_suggestions'][_0x7f20('0x2')](_0x58593b);if(!_0x5568e1)throw new _0x5b8c52('track-changes-discard-suggestion-not-found',this);this[_0x7f20('0x5')][_0x7f20('0x4')][_0x7f20('0x2')](_0x7f20('0x7'))[_0x7f20('0x8')](_0x5568e1);}}
23
+ const _0x562d=['execute','get','_suggestions','track-changes-discard-suggestion-not-found','isEnabled','canEditAt','_isEnabledBasedOnSelection','TrackChangesEditing','refresh','plugins','getRanges','editor','model'];(function(_0x5e8472,_0x562d05){const _0x1823c5=function(_0x47cf5d){while(--_0x47cf5d){_0x5e8472['push'](_0x5e8472['shift']());}};_0x1823c5(++_0x562d05);}(_0x562d,0x1f1));const _0x1823=function(_0x5e8472,_0x562d05){_0x5e8472=_0x5e8472-0x0;let _0x1823c5=_0x562d[_0x5e8472];return _0x1823c5;};import{Command as _0x1606a4}from'ckeditor5/src/core';import{CKEditorError as _0x5d140f}from'ckeditor5/src/utils';export default class $ extends _0x1606a4{constructor(_0x48d949,_0x57715e){super(_0x48d949),this[_0x1823('0xc')]=_0x57715e,this[_0x1823('0x5')](),this[_0x1823('0x3')]=!0x1;}[_0x1823('0x5')](){this[_0x1823('0x1')]=!0x0;}[_0x1823('0xa')](_0x4d2134){const _0x31a6cd=this[_0x1823('0xc')][_0x1823('0xb')](_0x4d2134);if(!_0x31a6cd)throw new _0x5d140f(_0x1823('0x0'),this);const _0x339818=_0x31a6cd[_0x1823('0x7')]();this[_0x1823('0x8')][_0x1823('0x9')][_0x1823('0x2')](_0x339818)&&this[_0x1823('0x8')][_0x1823('0x6')][_0x1823('0xb')](_0x1823('0x4'))['discardSuggestion'](_0x31a6cd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b80=['isEnabled','refresh','some','values','_suggestions','isInContent','from','_command','model'];(function(_0x328f68,_0x4b80df){const _0x5c1dd5=function(_0xeeecba){while(--_0xeeecba){_0x328f68['push'](_0x328f68['shift']());}};_0x5c1dd5(++_0x4b80df);}(_0x4b80,0x138));const _0x5c1d=function(_0x328f68,_0x4b80df){_0x328f68=_0x328f68-0x0;let _0x5c1dd5=_0x4b80[_0x328f68];return _0x5c1dd5;};import{Command as _0x3abbdf}from'ckeditor5/src/core';import{sortSuggestions as _0x51752f,executeCommandForSuggestions as _0xe713f7}from'../utils/utils';export default class N extends _0x3abbdf{constructor(_0x9508ad,_0x58adbb,_0x4cfb56){super(_0x9508ad),this[_0x5c1d('0x1')]=_0x58adbb,this[_0x5c1d('0x7')]=_0x4cfb56,this['refresh']();}[_0x5c1d('0x4')](){const _0x25565f=Array['from'](this[_0x5c1d('0x7')]['values']())[_0x5c1d('0x5')](_0x290aa4=>_0x290aa4[_0x5c1d('0x8')]);this['isEnabled']=this[_0x5c1d('0x1')][_0x5c1d('0x3')]&&_0x25565f;}['execute'](){const _0x17270e=_0x51752f(Array[_0x5c1d('0x0')](this[_0x5c1d('0x7')][_0x5c1d('0x6')]()));_0xe713f7(this['editor'][_0x5c1d('0x2')],this['_command'],_0x17270e);}}
23
+ const _0x8d5b=['canEditAt','_suggestions','_command','values','getRanges','some','isEnabled','isInContent','model','refresh','execute','editor'];(function(_0x30ebea,_0x8d5b17){const _0x133768=function(_0x3dc327){while(--_0x3dc327){_0x30ebea['push'](_0x30ebea['shift']());}};_0x133768(++_0x8d5b17);}(_0x8d5b,0x131));const _0x1337=function(_0x30ebea,_0x8d5b17){_0x30ebea=_0x30ebea-0x0;let _0x133768=_0x8d5b[_0x30ebea];return _0x133768;};import{Command as _0x2ecfb0}from'ckeditor5/src/core';import{sortSuggestions as _0x4714a9,executeCommandForSuggestions as _0x1e7553}from'../utils/utils';export default class N extends _0x2ecfb0{constructor(_0x35b850,_0x1ad543,_0x377b83){super(_0x35b850),this[_0x1337('0x9')]=_0x1ad543,this[_0x1337('0x8')]=_0x377b83,this[_0x1337('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5d6373=Array['from'](this['_suggestions'][_0x1337('0xa')]())[_0x1337('0x0')](_0x1bdf5e=>_0x1bdf5e[_0x1337('0x2')]);this[_0x1337('0x1')]=this['_command'][_0x1337('0x1')]&&_0x5d6373;}[_0x1337('0x5')](){const _0x1f579a=_0x4714a9(Array['from'](this[_0x1337('0x8')]['values']()));for(const _0x5acfeb of _0x1f579a){const _0x284873=_0x5acfeb[_0x1337('0xb')]();if(!this[_0x1337('0x6')]['model'][_0x1337('0x7')](_0x284873))return;}_0x1e7553(this[_0x1337('0x6')][_0x1337('0x3')],this[_0x1337('0x9')],_0x1f579a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3534=['_selectedSuggestions','_command','_suggestions','execute','size','values','model','document','isEnabled','selection','from'];(function(_0x105929,_0x353441){const _0x30012d=function(_0x5acf5e){while(--_0x5acf5e){_0x105929['push'](_0x105929['shift']());}};_0x30012d(++_0x353441);}(_0x3534,0xa8));const _0x3001=function(_0x105929,_0x353441){_0x105929=_0x105929-0x0;let _0x30012d=_0x3534[_0x105929];return _0x30012d;};import{Command as _0x1b8b90}from'ckeditor5/src/core';import{sortSuggestions as _0x2c368d,getSelectedSuggestions as _0x4e6eca,executeCommandForSuggestions as _0x4bf43a}from'../utils/utils';export default class R extends _0x1b8b90{constructor(_0x5e8535,_0x23836c,_0x27e150){super(_0x5e8535),this['_command']=_0x23836c,this[_0x3001('0xa')]=_0x27e150,this[_0x3001('0x8')]=new Set(),this['refresh']();}['refresh'](){const _0x470e40=this['editor'][_0x3001('0x3')][_0x3001('0x4')][_0x3001('0x6')],_0x18e148=Array['from'](this[_0x3001('0xa')][_0x3001('0x2')]());this[_0x3001('0x8')]=_0x4e6eca(_0x470e40,_0x18e148),this['isEnabled']=this['_command'][_0x3001('0x5')]&&!!this['_selectedSuggestions'][_0x3001('0x1')];}[_0x3001('0x0')](){const _0x2a4d44=_0x2c368d(Array[_0x3001('0x7')](this[_0x3001('0x8')]));_0x4bf43a(this['editor'][_0x3001('0x3')],this[_0x3001('0x9')],_0x2a4d44);}}
23
+ const _0x8b56=['canEditAt','from','_command','model','isEnabled','_suggestions','_isEnabledBasedOnSelection','getRanges','editor','refresh','size','_selectedSuggestions'];(function(_0x2ade34,_0x8b56e6){const _0x38cd86=function(_0x3f933f){while(--_0x3f933f){_0x2ade34['push'](_0x2ade34['shift']());}};_0x38cd86(++_0x8b56e6);}(_0x8b56,0x118));const _0x38cd=function(_0x2ade34,_0x8b56e6){_0x2ade34=_0x2ade34-0x0;let _0x38cd86=_0x8b56[_0x2ade34];return _0x38cd86;};import{Command as _0x3c283f}from'ckeditor5/src/core';import{sortSuggestions as _0x191a05,getSelectedSuggestions as _0x5de4a4,executeCommandForSuggestions as _0x4ee481}from'../utils/utils';export default class R extends _0x3c283f{constructor(_0x24922b,_0x1c5c0d,_0x4ed323){super(_0x24922b),this[_0x38cd('0xa')]=_0x1c5c0d,this[_0x38cd('0x1')]=_0x4ed323,this[_0x38cd('0x7')]=new Set(),this[_0x38cd('0x5')](),this[_0x38cd('0x2')]=!0x1;}[_0x38cd('0x5')](){const _0x49b17f=this[_0x38cd('0x4')]['model']['document']['selection'],_0x58d94f=Array['from'](this[_0x38cd('0x1')]['values']());this[_0x38cd('0x7')]=_0x5de4a4(_0x49b17f,_0x58d94f),this[_0x38cd('0x0')]=this[_0x38cd('0xa')]['isEnabled']&&!!this['_selectedSuggestions'][_0x38cd('0x6')];}['execute'](){const _0x160c59=_0x191a05(Array[_0x38cd('0x9')](this[_0x38cd('0x7')]));for(const _0x3b3387 of _0x160c59){const _0x52ab5a=_0x3b3387[_0x38cd('0x3')]();if(!this[_0x38cd('0x4')][_0x38cd('0xb')][_0x38cd('0x8')](_0x52ab5a))return;}_0x4ee481(this['editor'][_0x38cd('0xb')],this['_command'],_0x160c59);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13da=['editor','_enabledCommands','_disableUnsupportedCommands','forceDisabled','execute','TrackChangesCommand','commands','clearForceDisabled','isEnabled','value','refresh','affectsData','has'];(function(_0x400943,_0x13da64){const _0x52bd77=function(_0x8eccf7){while(--_0x8eccf7){_0x400943['push'](_0x400943['shift']());}};_0x52bd77(++_0x13da64);}(_0x13da,0x171));const _0x52bd=function(_0x400943,_0x13da64){_0x400943=_0x400943-0x0;let _0x52bd77=_0x13da[_0x400943];return _0x52bd77;};import{Command as _0x23a276}from'ckeditor5/src/core';export default class _ extends _0x23a276{constructor(_0x4312b8,_0x86a0be){super(_0x4312b8),this[_0x52bd('0x9')]=_0x86a0be,this[_0x52bd('0x4')]=!0x1,this[_0x52bd('0x5')]();}['refresh'](){this[_0x52bd('0x3')]=!0x0;}[_0x52bd('0xc')](){this[_0x52bd('0x4')]=!this['value'],this['value']?this['_disableUnsupportedCommands']():this['_enableCommands']();}[_0x52bd('0xa')](){for(const _0x15811d of this[_0x52bd('0x8')][_0x52bd('0x1')][_0x52bd('0x1')]())_0x15811d[_0x52bd('0x6')]&&!this['_enabledCommands'][_0x52bd('0x7')](_0x15811d)&&_0x15811d[_0x52bd('0xb')](_0x52bd('0x0'));}['_enableCommands'](){for(const _0x1a2a81 of this[_0x52bd('0x8')][_0x52bd('0x1')]['commands']())_0x1a2a81[_0x52bd('0x6')]&&!this[_0x52bd('0x9')][_0x52bd('0x7')](_0x1a2a81)&&_0x1a2a81[_0x52bd('0x2')](_0x52bd('0x0'));}}
23
+ const _0x11e5=['value','TrackChangesCommand','execute','_disableUnsupportedCommands','clearForceDisabled','editor','forceDisabled','_enabledCommands','_isEnabledBasedOnSelection','commands','refresh','has','isEnabled','_enableCommands'];(function(_0x296df7,_0x11e5ec){const _0x52fac5=function(_0xb6bfec){while(--_0xb6bfec){_0x296df7['push'](_0x296df7['shift']());}};_0x52fac5(++_0x11e5ec);}(_0x11e5,0x112));const _0x52fa=function(_0x296df7,_0x11e5ec){_0x296df7=_0x296df7-0x0;let _0x52fac5=_0x11e5[_0x296df7];return _0x52fac5;};import{Command as _0x2354c5}from'ckeditor5/src/core';export default class _ extends _0x2354c5{constructor(_0x11d3de,_0x363c8b){super(_0x11d3de),this[_0x52fa('0xd')]=_0x363c8b,this[_0x52fa('0x6')]=!0x1,this[_0x52fa('0x2')](),this[_0x52fa('0x0')]=!0x1;}['refresh'](){this[_0x52fa('0x4')]=!0x0;}[_0x52fa('0x8')](){this[_0x52fa('0x6')]=!this[_0x52fa('0x6')],this['value']?this[_0x52fa('0x9')]():this[_0x52fa('0x5')]();}[_0x52fa('0x9')](){for(const _0x37f8e9 of this[_0x52fa('0xb')]['commands'][_0x52fa('0x1')]())_0x37f8e9['affectsData']&&!this[_0x52fa('0xd')]['has'](_0x37f8e9)&&_0x37f8e9[_0x52fa('0xc')](_0x52fa('0x7'));}[_0x52fa('0x5')](){for(const _0x4ca82b of this[_0x52fa('0xb')][_0x52fa('0x1')][_0x52fa('0x1')]())_0x4ca82b['affectsData']&&!this[_0x52fa('0xd')][_0x52fa('0x3')](_0x4ca82b)&&_0x4ca82b[_0x52fa('0xa')]('TrackChangesCommand');}}
package/src/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { default as TrackChanges, type SuggestionData } from './trackchanges';
2
2
  export { default as TrackChangesData } from './trackchangesdata';
3
3
  export { default as TrackChangesEditing } from './trackchangesediting';
4
- export { SuggestionJSON } from './suggestion';
4
+ export type { SuggestionJSON } from './suggestion';
5
5
  export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
6
6
  export type { TrackChangesConfig } from './trackchangesconfig';
7
7
  export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4411=['selection','afterInit','alignment','registerDescriptionCallback','FORMAT_ALIGN_TO_RIGHT','left','commandParams','FORMAT_JUSTIFY_TEXT','has','change','locale','document','plugins','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','model','right','value','markBlockFormat','schema','filter','*Format:*\x20%0','editor','get','AlignmentEditing','checkAttribute','from','_descriptionFactory','FORMAT_ALIGN_TO_LEFT'];(function(_0x2d22a1,_0x441131){const _0x4856e9=function(_0x151177){while(--_0x151177){_0x2d22a1['push'](_0x2d22a1['shift']());}};_0x4856e9(++_0x441131);}(_0x4411,0x121));const _0x4856=function(_0x2d22a1,_0x441131){_0x2d22a1=_0x2d22a1-0x0;let _0x4856e9=_0x4411[_0x2d22a1];return _0x4856e9;};import{Plugin as _0x18a535}from'ckeditor5/src/core';import{getTranslation as _0x3f86c1}from'../utils/common-translations';export default class x extends _0x18a535{[_0x4856('0x2')](){const _0x520be3=this[_0x4856('0x17')],_0x580cc3=_0x520be3[_0x4856('0xb')];if(!_0x520be3[_0x4856('0xd')][_0x4856('0x9')](_0x4856('0x19')))return;const _0x505522=_0x520be3['plugins'][_0x4856('0x18')]('TrackChangesEditing');_0x505522['enableCommand'](_0x4856('0x3'),(_0x43073e,_0x345bdb={})=>{let _0x5b33d6=_0x345bdb['value'];_0x345bdb[_0x4856('0x12')]||(_0x5b33d6='ltr'===_0x520be3[_0x4856('0xb')]['contentLanguageDirection']?'left':_0x4856('0x11'));const _0x918c4e=Array[_0x4856('0x1b')](this[_0x4856('0x17')]['model'][_0x4856('0xc')][_0x4856('0x1')][_0x4856('0xe')]())[_0x4856('0x15')](_0x3a9318=>function(_0x461e08,_0x5c955d,_0x3281a7){const _0x8c4644=_0x461e08['getAttribute'](_0x4856('0x3'))||null;return _0x5c955d[_0x4856('0x1a')](_0x461e08,_0x4856('0x3'))&&_0x3281a7!=_0x8c4644;}(_0x3a9318,this[_0x4856('0x17')][_0x4856('0x10')][_0x4856('0x14')],_0x5b33d6));_0x520be3['model'][_0x4856('0xa')](()=>{for(const _0x1b90ee of _0x918c4e)_0x505522[_0x4856('0x13')](_0x1b90ee,{'commandName':_0x4856('0x3'),'commandParams':[{'value':_0x5b33d6}]});});}),_0x505522[_0x4856('0x1c')][_0x4856('0x4')](_0x5346e6=>{const {data:_0x409ce9}=_0x5346e6;if(_0x409ce9&&_0x4856('0x3')==_0x409ce9['commandName']){const _0xa25a16=_0x409ce9[_0x4856('0x7')][0x0][_0x4856('0x12')];return{'type':'format','content':_0x3f86c1(_0x580cc3,_0x4856('0x16'),function(_0x3ba76b){switch(_0x3ba76b){case _0x4856('0x6'):return _0x3f86c1(_0x580cc3,_0x4856('0x0'));case'right':return _0x3f86c1(_0x580cc3,_0x4856('0x5'));case'center':return _0x3f86c1(_0x580cc3,_0x4856('0xf'));case'justify':return _0x3f86c1(_0x580cc3,_0x4856('0x8'));}}(_0xa25a16))};}});}}
23
+ const _0x502b=['AlignmentEditing','FORMAT_ALIGN_TO_RIGHT','format','schema','checkAttribute','contentLanguageDirection','document','commandName','left','commandParams','enableCommand','has','locale','right','selection','alignment','editor','FORMAT_ALIGN_TO_LEFT','FORMAT_JUSTIFY_TEXT','filter','plugins','model','center','from','value','get','FORMAT_ALIGN_TO_CENTER','getAttribute'];(function(_0x4f5b02,_0x502bd6){const _0x326a95=function(_0x4e88fd){while(--_0x4e88fd){_0x4f5b02['push'](_0x4f5b02['shift']());}};_0x326a95(++_0x502bd6);}(_0x502b,0x1b1));const _0x326a=function(_0x4f5b02,_0x502bd6){_0x4f5b02=_0x4f5b02-0x0;let _0x326a95=_0x502b[_0x4f5b02];return _0x326a95;};import{Plugin as _0xadd55}from'ckeditor5/src/core';import{getTranslation as _0x305eb4}from'../utils/common-translations';export default class x extends _0xadd55{['afterInit'](){const _0x185c91=this[_0x326a('0x3')],_0x3eddc2=_0x185c91[_0x326a('0x1b')];if(!_0x185c91[_0x326a('0x7')][_0x326a('0x1a')](_0x326a('0xf')))return;const _0x2a01af=_0x185c91[_0x326a('0x7')][_0x326a('0xc')]('TrackChangesEditing');_0x2a01af[_0x326a('0x19')](_0x326a('0x2'),(_0x257acf,_0xfb6f25={})=>{let _0x34a1b2=_0xfb6f25[_0x326a('0xb')];_0xfb6f25[_0x326a('0xb')]||(_0x34a1b2='ltr'===_0x185c91['locale'][_0x326a('0x14')]?_0x326a('0x17'):_0x326a('0x0'));const _0x5db98e=Array[_0x326a('0xa')](this[_0x326a('0x3')][_0x326a('0x8')][_0x326a('0x15')][_0x326a('0x1')]['getSelectedBlocks']())[_0x326a('0x6')](_0xa47c78=>function(_0x3eec5a,_0x33d247,_0x5485fa){const _0x4a2d4a=_0x3eec5a[_0x326a('0xe')](_0x326a('0x2'))||null;return _0x33d247[_0x326a('0x13')](_0x3eec5a,'alignment')&&_0x5485fa!=_0x4a2d4a;}(_0xa47c78,this['editor'][_0x326a('0x8')][_0x326a('0x12')],_0x34a1b2));_0x185c91[_0x326a('0x8')]['change'](()=>{for(const _0x5087f0 of _0x5db98e)_0x2a01af['markBlockFormat'](_0x5087f0,{'commandName':_0x326a('0x2'),'commandParams':[{'value':_0x34a1b2}]});});}),_0x2a01af['_descriptionFactory']['registerDescriptionCallback'](_0x123176=>{const {data:_0x27882e}=_0x123176;if(_0x27882e&&_0x326a('0x2')==_0x27882e[_0x326a('0x16')]){const _0x27aaf0=_0x27882e[_0x326a('0x18')][0x0][_0x326a('0xb')];return{'type':_0x326a('0x11'),'content':_0x305eb4(_0x3eddc2,'*Format:*\x20%0',function(_0x2faa19){switch(_0x2faa19){case _0x326a('0x17'):return _0x305eb4(_0x3eddc2,_0x326a('0x4'));case _0x326a('0x0'):return _0x305eb4(_0x3eddc2,_0x326a('0x10'));case _0x326a('0x9'):return _0x305eb4(_0x3eddc2,_0x326a('0xd'));case'justify':return _0x305eb4(_0x3eddc2,_0x326a('0x5'));}}(_0x27aaf0))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ddc=['FORMAT_CODE','registerDescriptionCallback','FORMAT_BOLD','model','underline','strikethrough','CodeEditing','FORMAT_ITALIC','superscript','get','SuperscriptEditing','plugins','afterInit','change','document','FORMAT_STRIKETHROUGH','SubscriptEditing','TrackChangesEditing','commandName','FORMAT_UNDERLINE','StrikethroughEditing','bold','editor','BoldEditing','locale','code','selection','*Format:*\x20%0','format','slice','FORMAT_SUPERSCRIPT','ItalicEditing','subscript','forceValue','has'];(function(_0x56fc68,_0x5ddc5f){const _0x1bbd08=function(_0x8c6ab1){while(--_0x8c6ab1){_0x56fc68['push'](_0x56fc68['shift']());}};_0x1bbd08(++_0x5ddc5f);}(_0x5ddc,0x1d1));const _0x1bbd=function(_0x56fc68,_0x5ddc5f){_0x56fc68=_0x56fc68-0x0;let _0x1bbd08=_0x5ddc[_0x56fc68];return _0x1bbd08;};import{Plugin as _0x3a4404}from'ckeditor5/src/core';import{getTranslation as _0x34376c}from'../utils/common-translations';import{getRangesWithAttribute as _0x54be5b}from'./utils';const Ht=[_0x1bbd('0xd'),_0x1bbd('0x15'),'UnderlineEditing',_0x1bbd('0x1f'),_0x1bbd('0xa'),_0x1bbd('0x6'),_0x1bbd('0x0')];export default class U extends _0x3a4404{[_0x1bbd('0x2')](){const _0x32628b=this[_0x1bbd('0xc')],_0x44267e=_0x32628b[_0x1bbd('0x1c')],_0x1353c2=_0x32628b['plugins'][_0x1bbd('0x22')](_0x1bbd('0x7')),_0x32f109=_0x32628b[_0x1bbd('0xe')];for(const _0x3b1361 of Ht){if(!_0x32628b[_0x1bbd('0x1')][_0x1bbd('0x18')](_0x3b1361))continue;const _0x50b977=_0x3b1361[_0x1bbd('0x13')](0x0,-0x7)['toLowerCase'](),_0x5f4ab8=_0x32628b['commands']['get'](_0x50b977);_0x1353c2['enableCommand'](_0x50b977,(_0x943c6f,_0x4c82b4={})=>{const _0x4d2a52=_0x44267e[_0x1bbd('0x4')][_0x1bbd('0x10')];if(_0x4d2a52['isCollapsed'])return void _0x943c6f(_0x4c82b4);const _0x145a00=void 0x0!==_0x4c82b4[_0x1bbd('0x17')]?_0x4c82b4[_0x1bbd('0x17')]:!_0x5f4ab8['value'];_0x44267e[_0x1bbd('0x3')](()=>{const _0x5f25ee=Array['from'](_0x4d2a52['getRanges']());for(const _0x302d5b of _0x5f25ee){const _0x2f717d=_0x145a00?[_0x302d5b]:_0x54be5b(_0x50b977,_0x302d5b,_0x44267e);for(const _0x140e18 of _0x2f717d)_0x1353c2['markInlineFormat'](_0x140e18,{'commandName':_0x50b977,'commandParams':[{'forceValue':_0x145a00}]});}});});}function _0x168971(_0x4f8868,_0x1f796a){_0x1353c2['_descriptionFactory'][_0x1bbd('0x1a')](_0x254874=>{const {data:_0x41bf9c}=_0x254874;if(_0x41bf9c&&_0x41bf9c[_0x1bbd('0x8')]===_0x4f8868)return _0x41bf9c['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x34376c(_0x32f109,_0x1bbd('0x11'),_0x1f796a)}:{'type':_0x1bbd('0x12'),'content':_0x34376c(_0x32f109,'*Remove\x20format:*\x20%0',_0x1f796a)};});}_0x168971(_0x1bbd('0xb'),_0x34376c(_0x32f109,_0x1bbd('0x1b'))),_0x168971('italic',_0x34376c(_0x32f109,_0x1bbd('0x20'))),_0x168971(_0x1bbd('0x1d'),_0x34376c(_0x32f109,_0x1bbd('0x9'))),_0x168971(_0x1bbd('0xf'),_0x34376c(_0x32f109,_0x1bbd('0x19'))),_0x168971(_0x1bbd('0x1e'),_0x34376c(_0x32f109,_0x1bbd('0x5'))),_0x168971(_0x1bbd('0x16'),_0x34376c(_0x32f109,'FORMAT_SUBSCRIPT')),_0x168971(_0x1bbd('0x21'),_0x34376c(_0x32f109,_0x1bbd('0x14')));}}
23
+ const _0x1ac7=['*Remove\x20format:*\x20%0','format','FORMAT_STRIKETHROUGH','StrikethroughEditing','isCollapsed','toLowerCase','enableCommand','FORMAT_SUPERSCRIPT','selection','slice','value','afterInit','registerDescriptionCallback','TrackChangesEditing','code','superscript','_descriptionFactory','get','commandParams','FORMAT_BOLD','italic','SubscriptEditing','markInlineFormat','strikethrough','FORMAT_ITALIC','commandName','from','underline','subscript','editor','locale','SuperscriptEditing','document','getRanges','forceValue','has'];(function(_0x532cd0,_0x1ac740){const _0x1d300f=function(_0xb449f5){while(--_0xb449f5){_0x532cd0['push'](_0x532cd0['shift']());}};_0x1d300f(++_0x1ac740);}(_0x1ac7,0x1c1));const _0x1d30=function(_0x532cd0,_0x1ac740){_0x532cd0=_0x532cd0-0x0;let _0x1d300f=_0x1ac7[_0x532cd0];return _0x1d300f;};import{Plugin as _0x1d1e47}from'ckeditor5/src/core';import{getTranslation as _0x1408cb}from'../utils/common-translations';import{getRangesWithAttribute as _0x40334b}from'./utils';const Kt=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing',_0x1d30('0x16'),_0x1d30('0x4'),_0x1d30('0xe')];export default class U extends _0x1d1e47{[_0x1d30('0x1e')](){const _0x119c75=this[_0x1d30('0xc')],_0x1bf58f=_0x119c75['model'],_0x41fab0=_0x119c75['plugins'][_0x1d30('0x0')](_0x1d30('0x20')),_0xd91159=_0x119c75[_0x1d30('0xd')];for(const _0x5a5b48 of Kt){if(!_0x119c75['plugins'][_0x1d30('0x12')](_0x5a5b48))continue;const _0x43504c=_0x5a5b48[_0x1d30('0x1c')](0x0,-0x7)[_0x1d30('0x18')](),_0x1eff5e=_0x119c75['commands']['get'](_0x43504c);_0x41fab0[_0x1d30('0x19')](_0x43504c,(_0x596ad3,_0x1e753a={})=>{const _0x5c1bb2=_0x1bf58f[_0x1d30('0xf')][_0x1d30('0x1b')];if(_0x5c1bb2[_0x1d30('0x17')])return void _0x596ad3(_0x1e753a);const _0x48b727=void 0x0!==_0x1e753a[_0x1d30('0x11')]?_0x1e753a[_0x1d30('0x11')]:!_0x1eff5e[_0x1d30('0x1d')];_0x1bf58f['change'](()=>{const _0x60ab3c=Array[_0x1d30('0x9')](_0x5c1bb2[_0x1d30('0x10')]());for(const _0x54fc36 of _0x60ab3c){const _0x266c69=_0x48b727?[_0x54fc36]:_0x40334b(_0x43504c,_0x54fc36,_0x1bf58f);for(const _0x249c41 of _0x266c69)_0x41fab0[_0x1d30('0x5')](_0x249c41,{'commandName':_0x43504c,'commandParams':[{'forceValue':_0x48b727}]});}});});}function _0x37ff77(_0x1cedd1,_0x146fbd){_0x41fab0[_0x1d30('0x23')][_0x1d30('0x1f')](_0x19e69d=>{const {data:_0x5d0f04}=_0x19e69d;if(_0x5d0f04&&_0x5d0f04[_0x1d30('0x8')]===_0x1cedd1)return _0x5d0f04[_0x1d30('0x1')][0x0][_0x1d30('0x11')]?{'type':_0x1d30('0x14'),'content':_0x1408cb(_0xd91159,'*Format:*\x20%0',_0x146fbd)}:{'type':_0x1d30('0x14'),'content':_0x1408cb(_0xd91159,_0x1d30('0x13'),_0x146fbd)};});}_0x37ff77('bold',_0x1408cb(_0xd91159,_0x1d30('0x2'))),_0x37ff77(_0x1d30('0x3'),_0x1408cb(_0xd91159,_0x1d30('0x7'))),_0x37ff77(_0x1d30('0xa'),_0x1408cb(_0xd91159,'FORMAT_UNDERLINE')),_0x37ff77(_0x1d30('0x21'),_0x1408cb(_0xd91159,'FORMAT_CODE')),_0x37ff77(_0x1d30('0x6'),_0x1408cb(_0xd91159,_0x1d30('0x15'))),_0x37ff77(_0x1d30('0xb'),_0x1408cb(_0xd91159,'FORMAT_SUBSCRIPT')),_0x37ff77(_0x1d30('0x22'),_0x1408cb(_0xd91159,_0x1d30('0x1a')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c1f=['schema','enableCommand','plugins','parent','model','markBlockFormat','document','_descriptionFactory','has','from','filter','editor','checkChild','forceValue','selection','commandParams','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','blockQuote','value','format','name','afterInit','change'];(function(_0x3b99d3,_0x2c1fc4){const _0x23feb4=function(_0x22bbeb){while(--_0x22bbeb){_0x3b99d3['push'](_0x3b99d3['shift']());}};_0x23feb4(++_0x2c1fc4);}(_0x2c1f,0x15e));const _0x23fe=function(_0x3b99d3,_0x2c1fc4){_0x3b99d3=_0x3b99d3-0x0;let _0x23feb4=_0x2c1f[_0x3b99d3];return _0x23feb4;};import{Plugin as _0x20e5a2}from'ckeditor5/src/core';import{getTranslation as _0x298213}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x348397}from'../utils/utils';export default class j extends _0x20e5a2{[_0x23fe('0x17')](){const _0x4e1860=this[_0x23fe('0xb')],_0x26a61b=_0x4e1860['locale'];if(!_0x4e1860[_0x23fe('0x2')][_0x23fe('0x8')](_0x23fe('0x12')))return;const _0x21c616=_0x4e1860[_0x23fe('0x2')]['get']('TrackChangesEditing'),_0x27b078=this['editor']['commands']['get']('blockQuote');_0x21c616[_0x23fe('0x1')](_0x23fe('0x13'),(_0x96a3f2,_0x4018aa={})=>{const _0x5f37da=this[_0x23fe('0xb')][_0x23fe('0x4')][_0x23fe('0x6')][_0x23fe('0xe')],_0x38caef=_0x4018aa&&void 0x0!==_0x4018aa[_0x23fe('0xd')]?_0x4018aa[_0x23fe('0xd')]:!_0x27b078[_0x23fe('0x14')];let _0x57e686=[];if(_0x38caef){const _0x1c5742=Array[_0x23fe('0x9')](_0x5f37da[_0x23fe('0x10')]())[_0x23fe('0xa')](_0x543a5a=>Kt(_0x543a5a)||function(_0x504dda,_0x2369dc){const _0x4a9f06=_0x2369dc[_0x23fe('0xc')](_0x504dda[_0x23fe('0x3')],_0x23fe('0x13')),_0x4e25ce=_0x2369dc[_0x23fe('0xc')](['$root',_0x23fe('0x13')],_0x504dda);return _0x4a9f06&&_0x4e25ce;}(_0x543a5a,this['editor'][_0x23fe('0x4')][_0x23fe('0x0')]));_0x57e686=_0x348397(_0x1c5742,_0x4e1860[_0x23fe('0x4')]);}else{const _0x46f89c=Array[_0x23fe('0x9')](_0x5f37da[_0x23fe('0x10')]())[_0x23fe('0xa')](_0x293f61=>Kt(_0x293f61));_0x57e686=_0x348397(_0x46f89c,_0x4e1860[_0x23fe('0x4')]);}_0x4e1860[_0x23fe('0x4')][_0x23fe('0x18')](()=>{for(const _0x2413ae of _0x57e686)_0x21c616[_0x23fe('0x5')](_0x2413ae,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x38caef}]});});}),_0x21c616[_0x23fe('0x7')]['registerDescriptionCallback'](_0x3c9e6d=>{const {data:_0x5d89a5}=_0x3c9e6d;if(_0x5d89a5&&_0x23fe('0x13')==_0x5d89a5['commandName']){const _0x25102d=_0x298213(_0x26a61b,_0x23fe('0x11'));return _0x5d89a5[_0x23fe('0xf')][0x0][_0x23fe('0xd')]?{'type':_0x23fe('0x15'),'content':_0x298213(_0x26a61b,'*Format:*\x20%0',_0x25102d)}:{'type':_0x23fe('0x15'),'content':_0x298213(_0x26a61b,'*Remove\x20format:*\x20%0',_0x25102d)};}});}}function Kt(_0x1bea9f){return _0x23fe('0x13')==_0x1bea9f[_0x23fe('0x3')][_0x23fe('0x16')];}
23
+ const _0x5cec=['markBlockFormat','parent','forceValue','_descriptionFactory','commandParams','blockQuote','get','locale','commands','schema','model','change','*Format:*\x20%0','filter','format','name','getSelectedBlocks','registerDescriptionCallback','from','checkChild','value','editor','plugins','afterInit','has'];(function(_0x272ad2,_0x5cec15){const _0x5b5738=function(_0x4c8ca6){while(--_0x4c8ca6){_0x272ad2['push'](_0x272ad2['shift']());}};_0x5b5738(++_0x5cec15);}(_0x5cec,0x108));const _0x5b57=function(_0x272ad2,_0x5cec15){_0x272ad2=_0x272ad2-0x0;let _0x5b5738=_0x5cec[_0x272ad2];return _0x5b5738;};import{Plugin as _0x3b44ba}from'ckeditor5/src/core';import{getTranslation as _0x15d694}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x572510}from'../utils/utils';export default class j extends _0x3b44ba{[_0x5b57('0x9')](){const _0x14aa72=this[_0x5b57('0x7')],_0x5bf12b=_0x14aa72[_0x5b57('0x12')];if(!_0x14aa72[_0x5b57('0x8')][_0x5b57('0xa')]('BlockQuoteEditing'))return;const _0x57bbaa=_0x14aa72[_0x5b57('0x8')][_0x5b57('0x11')]('TrackChangesEditing'),_0x34842a=this[_0x5b57('0x7')][_0x5b57('0x13')]['get']('blockQuote');_0x57bbaa['enableCommand'](_0x5b57('0x10'),(_0x305dae,_0xb7d204={})=>{const _0x1da3fb=this['editor'][_0x5b57('0x15')]['document']['selection'],_0x351779=_0xb7d204&&void 0x0!==_0xb7d204['forceValue']?_0xb7d204[_0x5b57('0xd')]:!_0x34842a[_0x5b57('0x6')];let _0x2ff502=[];if(_0x351779){const _0x22dd05=Array['from'](_0x1da3fb['getSelectedBlocks']())[_0x5b57('0x18')](_0x40b9ee=>Xt(_0x40b9ee)||function(_0x1026e0,_0x31820d){const _0x265e7a=_0x31820d[_0x5b57('0x5')](_0x1026e0[_0x5b57('0xc')],_0x5b57('0x10')),_0x453f72=_0x31820d[_0x5b57('0x5')](['$root',_0x5b57('0x10')],_0x1026e0);return _0x265e7a&&_0x453f72;}(_0x40b9ee,this[_0x5b57('0x7')][_0x5b57('0x15')][_0x5b57('0x14')]));_0x2ff502=_0x572510(_0x22dd05,_0x14aa72['model']);}else{const _0x2d646e=Array[_0x5b57('0x4')](_0x1da3fb[_0x5b57('0x2')]())['filter'](_0x1161d2=>Xt(_0x1161d2));_0x2ff502=_0x572510(_0x2d646e,_0x14aa72['model']);}_0x14aa72['model'][_0x5b57('0x16')](()=>{for(const _0x5e4a16 of _0x2ff502)_0x57bbaa[_0x5b57('0xb')](_0x5e4a16,{'commandName':_0x5b57('0x10'),'commandParams':[{'forceValue':_0x351779}]});});}),_0x57bbaa[_0x5b57('0xe')][_0x5b57('0x3')](_0x27c28f=>{const {data:_0x4238c5}=_0x27c28f;if(_0x4238c5&&_0x5b57('0x10')==_0x4238c5['commandName']){const _0x4e6abf=_0x15d694(_0x5bf12b,'ELEMENT_BLOCK_QUOTE');return _0x4238c5[_0x5b57('0xf')][0x0][_0x5b57('0xd')]?{'type':_0x5b57('0x0'),'content':_0x15d694(_0x5bf12b,_0x5b57('0x17'),_0x4e6abf)}:{'type':_0x5b57('0x0'),'content':_0x15d694(_0x5bf12b,'*Remove\x20format:*\x20%0',_0x4e6abf)};}});}}function Xt(_0x2decb4){return _0x5b57('0x10')==_0x2decb4[_0x5b57('0xc')][_0x5b57('0x1')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x552c=['get','plugins','afterInit','TrackChangesEditing','ckbox'];(function(_0x15766e,_0x552ca6){const _0x385e81=function(_0x16da16){while(--_0x16da16){_0x15766e['push'](_0x15766e['shift']());}};_0x385e81(++_0x552ca6);}(_0x552c,0xbe));const _0x385e=function(_0x15766e,_0x552ca6){_0x15766e=_0x15766e-0x0;let _0x385e81=_0x552c[_0x15766e];return _0x385e81;};import{Plugin as _0x1a3aa2}from'ckeditor5/src/core';export default class E extends _0x1a3aa2{[_0x385e('0x2')](){const _0x7be8ed=this['editor'];_0x7be8ed['commands'][_0x385e('0x0')](_0x385e('0x4'))&&_0x7be8ed[_0x385e('0x1')][_0x385e('0x0')](_0x385e('0x3'))['enableCommand'](_0x385e('0x4'));}}
23
+ const _0x26b2=['commands','ckbox','editor','plugins','enableCommand','get'];(function(_0x421beb,_0x26b292){const _0x3af174=function(_0x2b9e32){while(--_0x2b9e32){_0x421beb['push'](_0x421beb['shift']());}};_0x3af174(++_0x26b292);}(_0x26b2,0x179));const _0x3af1=function(_0x421beb,_0x26b292){_0x421beb=_0x421beb-0x0;let _0x3af174=_0x26b2[_0x421beb];return _0x3af174;};import{Plugin as _0xc927df}from'ckeditor5/src/core';export default class E extends _0xc927df{['afterInit'](){const _0x2db343=this[_0x3af1('0x3')];_0x2db343[_0x3af1('0x1')]['get'](_0x3af1('0x2'))&&_0x2db343[_0x3af1('0x4')][_0x3af1('0x0')]('TrackChangesEditing')[_0x3af1('0x5')](_0x3af1('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a56=['enableCommand','afterInit','outdentCodeBlock','filter','label','parent','rootElement','find','selection','commandParams','document','forceValue','locale','registerElementLabel','has','language','languages','editor','ELEMENT_CODE_BLOCK','value','isLimit','config','getSelectedBlocks','indentCodeBlock','commands','*Format:*\x20%0','change','codeBlock','get','plugins','commandName','schema','markBlockFormat','TrackChangesEditing','formatBlock','format','_descriptionFactory','blockName','checkChild'];(function(_0x492084,_0x5a567f){const _0x15f28f=function(_0x4eed71){while(--_0x4eed71){_0x492084['push'](_0x492084['shift']());}};_0x15f28f(++_0x5a567f);}(_0x5a56,0x197));const _0x15f2=function(_0x492084,_0x5a567f){_0x492084=_0x492084-0x0;let _0x15f28f=_0x5a56[_0x492084];return _0x15f28f;};import{Plugin as _0x2acc1d}from'ckeditor5/src/core';import{getTranslation as _0x184140}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3c42d0}from'../utils/utils';export default class O extends _0x2acc1d{[_0x15f2('0x17')](){const _0x541b0e=this[_0x15f2('0x0')];if(!_0x541b0e['plugins'][_0x15f2('0x24')]('CodeBlock'))return;const _0x85fe5b=_0x541b0e[_0x15f2('0xc')][_0x15f2('0xb')](_0x15f2('0x10')),_0x510191=_0x541b0e[_0x15f2('0x22')],_0x36d37e=_0x541b0e[_0x15f2('0x4')][_0x15f2('0xb')](_0x15f2('0xa'))[_0x15f2('0x26')],_0x1748e4=_0x541b0e[_0x15f2('0x7')]['get']('codeBlock');_0x85fe5b[_0x15f2('0x16')](_0x15f2('0x6')),_0x85fe5b[_0x15f2('0x16')](_0x15f2('0x18')),_0x85fe5b[_0x15f2('0x16')]('codeBlock',(_0x1d23b5,_0x21bb1d={})=>{const _0x57fbd0=_0x541b0e['model'],_0x28e45f=_0x541b0e['model'][_0x15f2('0x20')][_0x15f2('0x1e')],_0x4e255d=_0x21bb1d&&void 0x0!==_0x21bb1d[_0x15f2('0x21')]?_0x21bb1d[_0x15f2('0x21')]:!_0x1748e4[_0x15f2('0x2')];let _0x51d6b3;_0x21bb1d[_0x15f2('0x25')]||(_0x21bb1d[_0x15f2('0x25')]=_0x36d37e[0x0][_0x15f2('0x25')]),_0x51d6b3=_0x4e255d?Array['from'](_0x28e45f[_0x15f2('0x5')]())[_0x15f2('0x19')](_0x35d260=>to(_0x35d260)||function(_0x30f184,_0x505bcf){if(_0x30f184['is'](_0x15f2('0x1c'))||_0x505bcf[_0x15f2('0x3')](_0x30f184))return!0x1;return _0x505bcf[_0x15f2('0x15')](_0x30f184[_0x15f2('0x1b')],_0x15f2('0xa'));}(_0x35d260,_0x57fbd0[_0x15f2('0xe')])):Array['from'](_0x28e45f[_0x15f2('0x5')]())['filter'](_0x6bb75b=>to(_0x6bb75b));const _0x1978ee=_0x3c42d0(_0x51d6b3,_0x57fbd0);_0x57fbd0[_0x15f2('0x9')](()=>{for(const _0x5d6e47 of _0x1978ee)_0x85fe5b[_0x15f2('0xf')](_0x5d6e47,{'commandName':_0x15f2('0xa'),'commandParams':[{..._0x21bb1d,'forceValue':_0x4e255d}],'formatGroupId':_0x15f2('0x14')});});}),(_0x85fe5b[_0x15f2('0x13')][_0x15f2('0x23')]('codeBlock',_0x380afa=>_0x184140(_0x510191,_0x15f2('0x1'),_0x380afa)),_0x85fe5b[_0x15f2('0x13')]['registerDescriptionCallback'](_0x1eeddf=>{const _0x49de10=_0x510191['t'],{type:_0x47f8ca,data:_0x221e90}=_0x1eeddf;if(_0x15f2('0x11')==_0x47f8ca&&_0x221e90&&_0x15f2('0xa')==_0x221e90[_0x15f2('0xd')]){const _0x5ba55a=_0x221e90[_0x15f2('0x1f')][0x0][_0x15f2('0x25')],_0x5916d3=_0x49de10(_0x36d37e[_0x15f2('0x1d')](_0x35315a=>_0x35315a[_0x15f2('0x25')]===_0x5ba55a)[_0x15f2('0x1a')]);return _0x221e90[_0x15f2('0x1f')][0x0][_0x15f2('0x21')]?{'type':'format','content':_0x184140(_0x510191,_0x15f2('0x8'),_0x184140(_0x510191,_0x15f2('0x1'),0x1)+'\x20('+_0x5916d3+')')}:{'type':_0x15f2('0x12'),'content':_0x184140(_0x510191,'*Remove\x20format:*\x20%0',_0x184140(_0x510191,_0x15f2('0x1'),0x1))};}}));}}function to(_0x56beb8){return _0x15f2('0xa')==_0x56beb8['name'];}
23
+ const _0x4d98=['change','getSelectedBlocks','isLimit','afterInit','enableCommand','language','codeBlock','model','document','editor','languages','has','commandParams','label','ELEMENT_CODE_BLOCK','_descriptionFactory','selection','from','*Format:*\x20%0','schema','rootElement','plugins','indentCodeBlock','value','commandName','CodeBlock','forceValue','filter','get','format','blockName','parent'];(function(_0x1c49e7,_0x4d9837){const _0x5538ec=function(_0x484aa2){while(--_0x484aa2){_0x1c49e7['push'](_0x1c49e7['shift']());}};_0x5538ec(++_0x4d9837);}(_0x4d98,0xda));const _0x5538=function(_0x1c49e7,_0x4d9837){_0x1c49e7=_0x1c49e7-0x0;let _0x5538ec=_0x4d98[_0x1c49e7];return _0x5538ec;};import{Plugin as _0x133f29}from'ckeditor5/src/core';import{getTranslation as _0x4b0093}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x831f4a}from'../utils/utils';export default class O extends _0x133f29{[_0x5538('0x9')](){const _0xfce8d=this[_0x5538('0xf')];if(!_0xfce8d[_0x5538('0x1b')][_0x5538('0x11')](_0x5538('0x1f')))return;const _0x5f0bb6=_0xfce8d[_0x5538('0x1b')]['get']('TrackChangesEditing'),_0x596279=_0xfce8d['locale'],_0x116a03=_0xfce8d['config'][_0x5538('0x2')](_0x5538('0xc'))[_0x5538('0x10')],_0x1bbe1f=_0xfce8d['commands']['get'](_0x5538('0xc'));_0x5f0bb6['enableCommand'](_0x5538('0x1c')),_0x5f0bb6[_0x5538('0xa')]('outdentCodeBlock'),_0x5f0bb6['enableCommand'](_0x5538('0xc'),(_0x4f19bd,_0x36caf2={})=>{const _0x448332=_0xfce8d[_0x5538('0xd')],_0x59f5f9=_0xfce8d[_0x5538('0xd')][_0x5538('0xe')][_0x5538('0x16')],_0x76553a=_0x36caf2&&void 0x0!==_0x36caf2[_0x5538('0x0')]?_0x36caf2['forceValue']:!_0x1bbe1f[_0x5538('0x1d')];let _0x3c3286;_0x36caf2['language']||(_0x36caf2[_0x5538('0xb')]=_0x116a03[0x0][_0x5538('0xb')]),_0x3c3286=_0x76553a?Array[_0x5538('0x17')](_0x59f5f9[_0x5538('0x7')]())[_0x5538('0x1')](_0x5a8586=>oo(_0x5a8586)||function(_0x1f4724,_0x508bf0){if(_0x1f4724['is'](_0x5538('0x1a'))||_0x508bf0[_0x5538('0x8')](_0x1f4724))return!0x1;return _0x508bf0['checkChild'](_0x1f4724[_0x5538('0x5')],_0x5538('0xc'));}(_0x5a8586,_0x448332[_0x5538('0x19')])):Array['from'](_0x59f5f9[_0x5538('0x7')]())[_0x5538('0x1')](_0x2008a9=>oo(_0x2008a9));const _0x29fa84=_0x831f4a(_0x3c3286,_0x448332);_0x448332[_0x5538('0x6')](()=>{for(const _0x8683f4 of _0x29fa84)_0x5f0bb6['markBlockFormat'](_0x8683f4,{'commandName':_0x5538('0xc'),'commandParams':[{..._0x36caf2,'forceValue':_0x76553a}],'formatGroupId':_0x5538('0x4')});});}),(_0x5f0bb6['_descriptionFactory']['registerElementLabel'](_0x5538('0xc'),_0x302e9c=>_0x4b0093(_0x596279,_0x5538('0x14'),_0x302e9c)),_0x5f0bb6[_0x5538('0x15')]['registerDescriptionCallback'](_0x4ff4d9=>{const _0x13dbee=_0x596279['t'],{type:_0x13d15d,data:_0x45476a}=_0x4ff4d9;if('formatBlock'==_0x13d15d&&_0x45476a&&_0x5538('0xc')==_0x45476a[_0x5538('0x1e')]){const _0x152600=_0x45476a[_0x5538('0x12')][0x0][_0x5538('0xb')],_0xd108d7=_0x13dbee(_0x116a03['find'](_0x2b821c=>_0x2b821c[_0x5538('0xb')]===_0x152600)[_0x5538('0x13')]);return _0x45476a[_0x5538('0x12')][0x0][_0x5538('0x0')]?{'type':_0x5538('0x3'),'content':_0x4b0093(_0x596279,_0x5538('0x18'),_0x4b0093(_0x596279,_0x5538('0x14'),0x1)+'\x20('+_0xd108d7+')')}:{'type':_0x5538('0x3'),'content':_0x4b0093(_0x596279,'*Remove\x20format:*\x20%0',_0x4b0093(_0x596279,_0x5538('0x14'),0x1))};}}));}}function oo(_0x5bbfa0){return _0x5538('0xc')==_0x5bbfa0['name'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b33=['editor','has','plugins','get','TrackChangesEditing','enableCommand'];(function(_0x19b9e7,_0x3b336f){const _0x20ffa8=function(_0x4b3e87){while(--_0x4b3e87){_0x19b9e7['push'](_0x19b9e7['shift']());}};_0x20ffa8(++_0x3b336f);}(_0x3b33,0xd0));const _0x20ff=function(_0x19b9e7,_0x3b336f){_0x19b9e7=_0x19b9e7-0x0;let _0x20ffa8=_0x3b33[_0x19b9e7];return _0x20ffa8;};import{Plugin as _0x257cd6}from'ckeditor5/src/core';export default class F extends _0x257cd6{['afterInit'](){const _0x523bee=this[_0x20ff('0x2')];if(!_0x523bee['plugins'][_0x20ff('0x3')]('CommentsEditing'))return;_0x523bee[_0x20ff('0x4')][_0x20ff('0x5')](_0x20ff('0x0'))[_0x20ff('0x1')]('addCommentThread');}}
23
+ const _0x3bda=['plugins','enableCommand','afterInit','CommentsEditing','addCommentThread','editor'];(function(_0x1dbb8e,_0x3bda4e){const _0x4a7aee=function(_0x1ae0df){while(--_0x1ae0df){_0x1dbb8e['push'](_0x1dbb8e['shift']());}};_0x4a7aee(++_0x3bda4e);}(_0x3bda,0xe0));const _0x4a7a=function(_0x1dbb8e,_0x3bda4e){_0x1dbb8e=_0x1dbb8e-0x0;let _0x4a7aee=_0x3bda[_0x1dbb8e];return _0x4a7aee;};import{Plugin as _0x9feea2}from'ckeditor5/src/core';export default class F extends _0x9feea2{[_0x4a7a('0x0')](){const _0x355d40=this[_0x4a7a('0x3')];if(!_0x355d40[_0x4a7a('0x4')]['has'](_0x4a7a('0x1')))return;_0x355d40[_0x4a7a('0x4')]['get']('TrackChangesEditing')[_0x4a7a('0x5')](_0x4a7a('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ab9=['document','buffer','high','end','unlock','enableCommand','removeMarker:suggestion:deletion','isCollapsed','data','getFirstRange','createRange','setSelection','delete','$graveyard','merge','uiElement','unbindElementFromMarkerName','showSuggestionHighlights','selection','TrackChangesEditing','markerName','lock','bind','modifySelection','rootName','batch','root','forward','get','editing','model','start','requires','deleteForward','detach','createSelection','mapper','remove','downcastDispatcher','editor','plugins'];(function(_0x2af69c,_0x4ab928){const _0x24dc68=function(_0x1afff4){while(--_0x1afff4){_0x2af69c['push'](_0x2af69c['shift']());}};_0x24dc68(++_0x4ab928);}(_0x4ab9,0x118));const _0x24dc=function(_0x2af69c,_0x4ab928){_0x2af69c=_0x2af69c-0x0;let _0x24dc68=_0x4ab9[_0x2af69c];return _0x24dc68;};import{Plugin as _0x4c4f65}from'ckeditor5/src/core';import{LiveRange as _0x2fcecc}from'ckeditor5/src/engine';import{Delete as _0xd6dffc}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x101877}from'./utils';export default class G extends _0x4c4f65{static get[_0x24dc('0x27')](){return[_0xd6dffc];}['init'](){const _0xe36b4c=this[_0x24dc('0x5')],_0x503630=_0xe36b4c[_0x24dc('0x6')][_0x24dc('0x23')](_0x24dc('0x1a'));_0x503630[_0x24dc('0xc')](_0x24dc('0x13'));const _0x5437c7=_0xe36b4c['commands'][_0x24dc('0x23')](_0x24dc('0x28'));_0x503630[_0x24dc('0xc')](_0x24dc('0x28'),(_0x27b289,_0x19e5e1={})=>{const _0x2b0381=_0xe36b4c['model'][_0x24dc('0x1')](_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x7')][_0x24dc('0x19')]);_0x2b0381[_0x24dc('0xe')]&&_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x1e')](_0x2b0381,{'direction':_0x24dc('0x22'),'unit':_0x19e5e1['unit']});const _0x3d92d2=_0x2b0381[_0x24dc('0x10')](),_0x372318=_0x2fcecc['fromRange'](_0x3d92d2);let _0x51eec7;_0x27b289(_0x19e5e1),_0x51eec7=_0x24dc('0x14')==_0x372318[_0x24dc('0x21')][_0x24dc('0x1f')]?_0xe36b4c['model']['createRange'](_0x3d92d2[_0x24dc('0x26')]):_0xe36b4c[_0x24dc('0x25')][_0x24dc('0x11')](_0x372318[_0x24dc('0x26')],_0x372318[_0x24dc('0xa')]),_0x372318[_0x24dc('0x0')](),_0xe36b4c[_0x24dc('0x25')]['enqueueChange'](_0x5437c7['buffer'][_0x24dc('0x20')],_0x466146=>{_0x5437c7[_0x24dc('0x8')][_0x24dc('0x1c')](),_0x466146[_0x24dc('0x12')](_0x466146[_0x24dc('0x11')](_0x51eec7[_0x24dc('0xa')])),_0x5437c7['buffer'][_0x24dc('0xb')]();});}),_0xe36b4c[_0x24dc('0x24')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x101877(_0xe36b4c,_0x24dc('0x15')),{'priority':_0x24dc('0x9')}),_0xe36b4c[_0x24dc('0xf')][_0x24dc('0x4')]['on']('addMarker:suggestion:deletion',(_0x455a98,_0x15279f,_0x3d7e97)=>{_0x3d7e97['options'][_0x24dc('0x18')]&&_0x101877(_0xe36b4c,_0x24dc('0x15'),{'showActiveMarker':!0x1})[_0x24dc('0x1d')](this)(_0x455a98,_0x15279f,_0x3d7e97);},{'priority':_0x24dc('0x9')}),_0xe36b4c['editing']['downcastDispatcher']['on'](_0x24dc('0xd'),(_0x54fb33,_0xd932c3,_0x3bd5b1)=>{const _0x3c0fbd=_0x3bd5b1[_0x24dc('0x2')]['markerNameToElements'](_0xd932c3[_0x24dc('0x1b')]);if(_0x3c0fbd)for(const _0x2abedc of _0x3c0fbd)_0x2abedc['is'](_0x24dc('0x16'))&&(_0x3bd5b1[_0x24dc('0x2')][_0x24dc('0x17')](_0x2abedc,_0xd932c3[_0x24dc('0x1b')]),_0x3bd5b1['writer'][_0x24dc('0x3')](_0x2abedc));},{'priority':_0x24dc('0x9')});}}
23
+ const _0x46fa=['init','bind','buffer','getFirstRange','setSelection','downcastDispatcher','TrackChangesEditing','batch','isCollapsed','forward','editing','createRange','start','modifySelection','model','options','$graveyard','lock','plugins','high','delete','unit','writer','root','requires','selection','mapper','deleteForward','markerNameToElements','merge','remove','enqueueChange','addMarker:suggestion:deletion','showSuggestionHighlights','markerName','end','unbindElementFromMarkerName','data','enableCommand','unlock','detach'];(function(_0x4f447b,_0x46fabc){const _0x47cb29=function(_0x5018ac){while(--_0x5018ac){_0x4f447b['push'](_0x4f447b['shift']());}};_0x47cb29(++_0x46fabc);}(_0x46fa,0x1b1));const _0x47cb=function(_0x4f447b,_0x46fabc){_0x4f447b=_0x4f447b-0x0;let _0x47cb29=_0x46fa[_0x4f447b];return _0x47cb29;};import{Plugin as _0x5069b8}from'ckeditor5/src/core';import{LiveRange as _0x1550a7}from'ckeditor5/src/engine';import{Delete as _0x19a187}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x379f42}from'./utils';export default class G extends _0x5069b8{static get[_0x47cb('0x1')](){return[_0x19a187];}[_0x47cb('0x12')](){const _0x5e5226=this['editor'],_0x12da32=_0x5e5226[_0x47cb('0x24')]['get'](_0x47cb('0x18'));_0x12da32['enableCommand'](_0x47cb('0x26'));const _0xdb51ea=_0x5e5226['commands']['get']('deleteForward');_0x12da32[_0x47cb('0xf')](_0x47cb('0x4'),(_0x255024,_0x3b7d95={})=>{const _0x5ddc90=_0x5e5226[_0x47cb('0x20')]['createSelection'](_0x5e5226[_0x47cb('0x20')]['document'][_0x47cb('0x2')]);_0x5ddc90[_0x47cb('0x1a')]&&_0x5e5226['model'][_0x47cb('0x1f')](_0x5ddc90,{'direction':_0x47cb('0x1b'),'unit':_0x3b7d95[_0x47cb('0x27')]});const _0x392b96=_0x5ddc90[_0x47cb('0x15')](),_0x3d2e1f=_0x1550a7['fromRange'](_0x392b96);let _0x22463e;_0x255024(_0x3b7d95),_0x22463e=_0x47cb('0x22')==_0x3d2e1f[_0x47cb('0x0')]['rootName']?_0x5e5226[_0x47cb('0x20')]['createRange'](_0x392b96[_0x47cb('0x1e')]):_0x5e5226['model']['createRange'](_0x3d2e1f['start'],_0x3d2e1f['end']),_0x3d2e1f[_0x47cb('0x11')](),_0x5e5226[_0x47cb('0x20')][_0x47cb('0x8')](_0xdb51ea[_0x47cb('0x14')][_0x47cb('0x19')],_0x5962dd=>{_0xdb51ea['buffer'][_0x47cb('0x23')](),_0x5962dd[_0x47cb('0x16')](_0x5962dd[_0x47cb('0x1d')](_0x22463e[_0x47cb('0xc')])),_0xdb51ea[_0x47cb('0x14')][_0x47cb('0x10')]();});}),_0x5e5226[_0x47cb('0x1c')]['downcastDispatcher']['on'](_0x47cb('0x9'),_0x379f42(_0x5e5226,_0x47cb('0x6')),{'priority':_0x47cb('0x25')}),_0x5e5226[_0x47cb('0xe')][_0x47cb('0x17')]['on']('addMarker:suggestion:deletion',(_0x12d9f8,_0x2af431,_0x54fbee)=>{_0x54fbee[_0x47cb('0x21')][_0x47cb('0xa')]&&_0x379f42(_0x5e5226,_0x47cb('0x6'),{'showActiveMarker':!0x1})[_0x47cb('0x13')](this)(_0x12d9f8,_0x2af431,_0x54fbee);},{'priority':_0x47cb('0x25')}),_0x5e5226[_0x47cb('0x1c')][_0x47cb('0x17')]['on']('removeMarker:suggestion:deletion',(_0x488c1d,_0x59e5cc,_0xc871a2)=>{const _0x244ebb=_0xc871a2[_0x47cb('0x3')][_0x47cb('0x5')](_0x59e5cc[_0x47cb('0xb')]);if(_0x244ebb)for(const _0x9812b0 of _0x244ebb)_0x9812b0['is']('uiElement')&&(_0xc871a2[_0x47cb('0x3')][_0x47cb('0xd')](_0x9812b0,_0x59e5cc[_0x47cb('0xb')]),_0xc871a2[_0x47cb('0x28')][_0x47cb('0x7')](_0x9812b0));},{'priority':_0x47cb('0x25')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d4c=['*Indent:*\x20%0','getAttribute','*Change\x20to:*\x20%0','createPositionAt','outdentList','indentList','documentList','DocumentListEditing','hasAttribute','change','listItemId','format','mergeListItemBackward','detach','registerDescriptionCallback','nodeAfter','enableCommand','locale','listIndent','bulletedList','push','numberedList','value','registerCustomCallback','deletion','length','getSelectedBlocks','expandListBlocksToCompleteList','registerElementLabel','schema','_descriptionFactory','from','commandName','nextSibling','next','commandParams','selection','multipleBlocks','slice','*Merge:*\x20%0','createRange','afterInit','markMultiRangeBlockFormat','after','*Outdent:*\x20%0','ELEMENT_','getFirstRange','splitListItemAfter','editor','refresh','*Format:*\x20insert\x20into\x20%0','start','findIndex','formatBlock','listType','accept','splitListItemBefore','commands','forceValue','model','document','has','execute','markBlockFormat','add','isObject','*Format:*\x20remove\x20from\x20%0','_LIST','plugins','DocumentListUtils','before','ELEMENT_NUMBERED_LIST','toUpperCase','get','ELEMENT_LIST_ITEM','mergeListItemForward'];(function(_0x8208e3,_0x4d4cc3){const _0x2f4f3d=function(_0xc2e75c){while(--_0xc2e75c){_0x8208e3['push'](_0x8208e3['shift']());}};_0x2f4f3d(++_0x4d4cc3);}(_0x4d4c,0x86));const _0x2f4f=function(_0x8208e3,_0x4d4cc3){_0x8208e3=_0x8208e3-0x0;let _0x2f4f3d=_0x4d4c[_0x8208e3];return _0x2f4f3d;};import{Plugin as _0x57a434}from'ckeditor5/src/core';import{getTranslation as _0x3fc98d}from'../utils/common-translations';import{LiveRange as _0x48d4bd}from'ckeditor5/src/engine';export default class L extends _0x57a434{[_0x2f4f('0x3b')](){const _0x407a3f=this[_0x2f4f('0x42')];if(!_0x407a3f[_0x2f4f('0xa')][_0x2f4f('0x3')](_0x2f4f('0x19')))return;const _0x56702e=_0x407a3f[_0x2f4f('0x23')],_0x37d9de=_0x407a3f[_0x2f4f('0xa')]['get']('TrackChangesEditing'),_0x27d08c=_0x407a3f[_0x2f4f('0xa')][_0x2f4f('0xf')](_0x2f4f('0xb'));function _0x1f91a7(_0x3d366f){return()=>{const _0x12d52d=_0x407a3f[_0x2f4f('0x4b')][_0x2f4f('0xf')](_0x3d366f);let _0x1603ac=Array[_0x2f4f('0x31')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')]['selection']['getSelectedBlocks']());if(_0xa65504(_0x3d366f)){_0x1603ac=_0x27d08c[_0x2f4f('0x2d')](_0x1603ac);const _0xd7b425=[];for(const _0x587a89 of _0x1603ac)_0x27d08c['isFirstBlockOfListItem'](_0x587a89)&&_0xd7b425[_0x2f4f('0x26')](_0x587a89);_0x1603ac=_0xd7b425;}_0x407a3f[_0x2f4f('0x1')]['change'](()=>{_0x37d9de[_0x2f4f('0x3c')](_0x1603ac,{'commandName':_0x3d366f,'commandParams':[{'forceValue':!_0x12d52d[_0x2f4f('0x28')]}],'formatGroupId':'listType'},[],_0x2f4f('0x18'));});};}function _0x4653f4(_0x18e62b){return()=>{const _0x349d40=function(_0x290982){let _0x16f7ff=Array['from'](_0x290982);const _0x3ae25c=_0x16f7ff[_0x2f4f('0x46')](_0x964537=>!_0x964537[_0x2f4f('0x1a')](_0x2f4f('0x1c')));return _0x3ae25c>-0x1&&(_0x16f7ff=_0x16f7ff[_0x2f4f('0x38')](0x0,_0x3ae25c)),_0x16f7ff;}(_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')][_0x2f4f('0x36')][_0x2f4f('0x2c')]()),_0x2bcf1a=_0x349d40[_0x349d40[_0x2f4f('0x2b')]-0x1],_0x2c17bc=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2f')][_0x2f4f('0x7')](_0x2bcf1a)?_0x2f4f('0x3d'):'end',_0x8d832b=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x3a')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x349d40[0x0],'before'),_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x2bcf1a,_0x2c17bc));_0x407a3f['model']['change'](()=>{_0x37d9de[_0x2f4f('0x5')](_0x8d832b,{'commandName':_0x18e62b,'commandParams':[],'formatGroupId':'listType'},function(_0x54b7ad){const _0x5d9244=new Set();for(const _0x35d737 of _0x54b7ad){let _0x174717=_0x35d737[_0x2f4f('0x33')];for(;_0x174717&&_0x174717[_0x2f4f('0x13')](_0x2f4f('0x24'))>_0x35d737[_0x2f4f('0x13')](_0x2f4f('0x24'));)_0x5d9244[_0x2f4f('0x6')](_0x174717),_0x174717=_0x174717['nextSibling'];}return Array['from'](_0x5d9244);}(_0x349d40));});};}function _0x5af1ee(_0x2db4f6){return()=>{const _0x3355c7=_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x2')][_0x2f4f('0x36')]['getSelectedBlocks']()[_0x2f4f('0x34')]()[_0x2f4f('0x28')],_0x4bee88=_0x407a3f[_0x2f4f('0x1')]['createPositionAt'](_0x3355c7,_0x2f4f('0xc')),_0x5f1dcb=_0x407a3f[_0x2f4f('0x1')]['createPositionAt'](_0x3355c7,0x0),_0x368411=_0x407a3f['model'][_0x2f4f('0x3a')](_0x4bee88,_0x5f1dcb);_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x1b')](()=>{_0x37d9de['markBlockFormat'](_0x368411,{'commandName':_0x2db4f6,'commandParams':[],'formatGroupId':'listType'});});};}function _0xa65504(_0x544a9f){const _0x3011bf=_0x407a3f['commands'][_0x2f4f('0xf')](_0x2f4f('0x25'))[_0x2f4f('0x28')],_0x5a0b50=_0x407a3f['commands']['get'](_0x2f4f('0x27'))['value'];return'numberedList'===_0x544a9f?_0x3011bf:_0x5a0b50;}_0x37d9de['enableCommand'](_0x2f4f('0x27'),_0x1f91a7(_0x2f4f('0x27'))),_0x37d9de[_0x2f4f('0x22')]('bulletedList',_0x1f91a7(_0x2f4f('0x25'))),_0x37d9de[_0x2f4f('0x22')]('indentList',_0x4653f4('indentList')),_0x37d9de[_0x2f4f('0x22')](_0x2f4f('0x16'),_0x4653f4(_0x2f4f('0x16'))),_0x37d9de['enableCommand'](_0x2f4f('0x41'),_0x5af1ee(_0x2f4f('0x41'))),_0x37d9de[_0x2f4f('0x22')](_0x2f4f('0x4a'),_0x5af1ee('splitListItemBefore')),_0x37d9de['_descriptionFactory'][_0x2f4f('0x2e')](function(_0x62c835){const _0x47993b=!_0x407a3f[_0x2f4f('0x1')]['schema'][_0x2f4f('0x7')](_0x62c835),_0x30c06a=_0x62c835['previousSibling'],_0x3feda9=_0x62c835[_0x2f4f('0x33')],_0x3fd839=_0x62c835[_0x2f4f('0x13')](_0x2f4f('0x1c')),_0x411093=!_0x30c06a||_0x30c06a['getAttribute'](_0x2f4f('0x1c'))!==_0x3fd839,_0x235973=!_0x3feda9||_0x3feda9[_0x2f4f('0x13')](_0x2f4f('0x1c'))!==_0x3fd839;return _0x47993b&&Boolean(_0x3fd839)&&_0x411093&&_0x235973;},_0x2f146f=>_0x3fc98d(_0x56702e,_0x2f4f('0x10'),_0x2f146f)),_0x37d9de[_0x2f4f('0x30')][_0x2f4f('0x20')](function(_0x14a83c){const {data:_0x4c3829}=_0x14a83c;if(!_0x4c3829)return;let _0x2e5ee8,_0x3f757c,_0x2b3603,_0x4a2363;switch(_0x4c3829['commandName']){case'bulletedList':_0x2b3603=_0x4c3829[_0x2f4f('0x35')][0x0][_0x2f4f('0x0')],_0x4a2363=_0xa65504(_0x4c3829[_0x2f4f('0x32')]),_0x2e5ee8=_0x2b3603?_0x2f4f('0x44'):_0x2f4f('0x8'),_0x4a2363&&(_0x2e5ee8=_0x2f4f('0x14')),_0x3f757c={'type':_0x2f4f('0x1d'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x2b3603=_0x4c3829[_0x2f4f('0x35')][0x0][_0x2f4f('0x0')],_0x4a2363=_0xa65504(_0x4c3829[_0x2f4f('0x32')]),_0x2e5ee8=_0x2b3603?'*Format:*\x20insert\x20into\x20%0':_0x2f4f('0x8'),_0x4a2363&&(_0x2e5ee8=_0x2f4f('0x14')),_0x3f757c={'type':'format','content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0xd')))};break;case _0x2f4f('0x17'):_0x2e5ee8=_0x2f4f('0x12'),_0x3f757c={'type':_0x2f4f('0x1d'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0x10')))};break;case'outdentList':_0x2e5ee8=function(_0x4bf0eb){const _0x288154=_0x4bf0eb['getFirstRange']();let _0x1c4a89=_0x288154[_0x2f4f('0x45')]['nodeAfter'];for(;_0x1c4a89&&_0x288154['containsItem'](_0x1c4a89);){if(_0x1c4a89[_0x2f4f('0x13')](_0x2f4f('0x24'))>0x0)return!0x1;_0x1c4a89=_0x1c4a89['nextSibling'];}return!0x0;}(_0x14a83c)?_0x3fc98d(_0x56702e,_0x2f4f('0x8'),_0x3fc98d(_0x56702e,function(_0x4f0e04){const _0x590f17=_0x4f0e04[_0x2f4f('0x40')]()[_0x2f4f('0x45')][_0x2f4f('0x21')];return _0x2f4f('0x3f')+_0x590f17[_0x2f4f('0x13')](_0x2f4f('0x48'))[_0x2f4f('0xe')]()+_0x2f4f('0x9');}(_0x14a83c))):_0x3fc98d(_0x56702e,_0x2f4f('0x3e'),_0x3fc98d(_0x56702e,_0x2f4f('0x10'))),_0x3f757c={'type':'format','content':_0x2e5ee8};break;case _0x2f4f('0x1e'):case _0x2f4f('0x11'):!0x1===_0x4c3829[_0x2f4f('0x37')]&&(_0x2e5ee8=_0x2f4f('0x39'),_0x3f757c={'type':_0x2f4f('0x2a'),'content':_0x3fc98d(_0x56702e,_0x2e5ee8,_0x3fc98d(_0x56702e,_0x2f4f('0x10')))});}return _0x3f757c;}),_0x37d9de['_suggestionFactory'][_0x2f4f('0x29')](_0x2f4f('0x47'),_0x2f4f('0x18'),_0x2f4f('0x49'),function(_0xb9e9b9,_0x1efada){const _0x126986=[];for(let _0x11b7d9 of _0xb9e9b9)_0x11b7d9[_0x2f4f('0x45')][_0x2f4f('0x21')]===_0x11b7d9['end']['parent']&&(_0x11b7d9=_0x407a3f['model'][_0x2f4f('0x3a')](_0x407a3f[_0x2f4f('0x1')][_0x2f4f('0x15')](_0x11b7d9[_0x2f4f('0x45')][_0x2f4f('0x21')],0x0))),_0x126986[_0x2f4f('0x26')](_0x11b7d9);_0x407a3f[_0x2f4f('0x1')]['change'](_0x3e6670=>{const _0x17df35=_0x407a3f[_0x2f4f('0x1')]['document'][_0x2f4f('0x36')],_0x3456ba=Array[_0x2f4f('0x31')](_0x17df35['getRanges']())['map'](_0x518674=>_0x48d4bd['fromRange'](_0x518674));_0x3e6670['setSelection'](_0x126986),_0x407a3f[_0x2f4f('0x4b')][_0x2f4f('0xf')](_0x1efada[_0x2f4f('0x32')])[_0x2f4f('0x43')](),_0x1efada[_0x2f4f('0x35')][_0x2f4f('0x26')]({'forceDefaultExecution':!0x0}),_0x407a3f[_0x2f4f('0x4')](_0x1efada[_0x2f4f('0x32')],..._0x1efada[_0x2f4f('0x35')]),_0x3e6670['setSelection'](_0x3456ba);for(const _0x2e89ee of _0x3456ba)_0x2e89ee[_0x2f4f('0x1f')]();});});}}
23
+ const _0x24de=['splitListItemAfter','schema','previousSibling','nextSibling','listType','detach','DocumentListEditing','indentList','fromRange','containsItem','*Merge:*\x20%0','listIndent','refresh','get','push','before','commandName','isObject','after','documentList','start','from','mergeListItemForward','isFirstBlockOfListItem','getAttribute','_descriptionFactory','value','next','forceValue','ELEMENT_BULLETED_LIST','nodeAfter','hasAttribute','plugins','splitListItemBefore','getSelectedBlocks','ELEMENT_NUMBERED_LIST','bulletedList','createPositionAt','ELEMENT_LIST_ITEM','outdentList','multipleBlocks','getFirstRange','ELEMENT_','add','listItemId','locale','numberedList','change','*Format:*\x20insert\x20into\x20%0','setSelection','commands','enableCommand','markBlockFormat','commandParams','editor','registerElementLabel','end','markMultiRangeBlockFormat','_suggestionFactory','createRange','format','map','afterInit','*Change\x20to:*\x20%0','selection','findIndex','*Format:*\x20remove\x20from\x20%0','execute','TrackChangesEditing','length','formatBlock','document','model'];(function(_0x454897,_0x24de2f){const _0x49aa01=function(_0x4fb2cf){while(--_0x4fb2cf){_0x454897['push'](_0x454897['shift']());}};_0x49aa01(++_0x24de2f);}(_0x24de,0x187));const _0x49aa=function(_0x454897,_0x24de2f){_0x454897=_0x454897-0x0;let _0x49aa01=_0x24de[_0x454897];return _0x49aa01;};import{Plugin as _0x572430}from'ckeditor5/src/core';import{getTranslation as _0x11d706}from'../utils/common-translations';import{LiveRange as _0x827786}from'ckeditor5/src/engine';export default class L extends _0x572430{[_0x49aa('0x24')](){const _0x24bd05=this[_0x49aa('0x1c')];if(!_0x24bd05[_0x49aa('0x6')]['has'](_0x49aa('0x35')))return;const _0x2d3f68=_0x24bd05[_0x49aa('0x13')],_0x44c3fb=_0x24bd05[_0x49aa('0x6')]['get'](_0x49aa('0x2a')),_0x55e765=_0x24bd05[_0x49aa('0x6')][_0x49aa('0x3c')]('DocumentListUtils');function _0xa1fd21(_0x42b2a9){return()=>{const _0x2f9f9b=_0x24bd05[_0x49aa('0x18')][_0x49aa('0x3c')](_0x42b2a9);let _0x527fba=Array[_0x49aa('0x44')](_0x24bd05[_0x49aa('0x2e')]['document'][_0x49aa('0x26')][_0x49aa('0x8')]());if(_0x479bb5(_0x42b2a9)){_0x527fba=_0x55e765['expandListBlocksToCompleteList'](_0x527fba);const _0x506a66=[];for(const _0x5d3f02 of _0x527fba)_0x55e765[_0x49aa('0x46')](_0x5d3f02)&&_0x506a66[_0x49aa('0x3d')](_0x5d3f02);_0x527fba=_0x506a66;}_0x24bd05[_0x49aa('0x2e')]['change'](()=>{_0x44c3fb[_0x49aa('0x1f')](_0x527fba,{'commandName':_0x42b2a9,'commandParams':[{'forceValue':!_0x2f9f9b[_0x49aa('0x0')]}],'formatGroupId':_0x49aa('0x33')},[],_0x49aa('0x42'));});};}function _0x2b25e1(_0x40b502){return()=>{const _0x98f944=function(_0x2b02d3){let _0x4116d2=Array[_0x49aa('0x44')](_0x2b02d3);const _0x421bdb=_0x4116d2[_0x49aa('0x27')](_0x20bfa5=>!_0x20bfa5[_0x49aa('0x5')](_0x49aa('0x12')));return _0x421bdb>-0x1&&(_0x4116d2=_0x4116d2['slice'](0x0,_0x421bdb)),_0x4116d2;}(_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x2d')][_0x49aa('0x26')]['getSelectedBlocks']()),_0x1de597=_0x98f944[_0x98f944[_0x49aa('0x2b')]-0x1],_0x18020d=_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x30')][_0x49aa('0x40')](_0x1de597)?_0x49aa('0x41'):'end',_0x22cf05=_0x24bd05['model'][_0x49aa('0x21')](_0x24bd05['model'][_0x49aa('0xb')](_0x98f944[0x0],_0x49aa('0x3e')),_0x24bd05['model'][_0x49aa('0xb')](_0x1de597,_0x18020d));_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x15')](()=>{_0x44c3fb[_0x49aa('0x1a')](_0x22cf05,{'commandName':_0x40b502,'commandParams':[],'formatGroupId':_0x49aa('0x33')},function(_0x3f456d){const _0x253f09=new Set();for(const _0x4812c1 of _0x3f456d){let _0x23f2a8=_0x4812c1['nextSibling'];for(;_0x23f2a8&&_0x23f2a8[_0x49aa('0x47')](_0x49aa('0x3a'))>_0x4812c1[_0x49aa('0x47')](_0x49aa('0x3a'));)_0x253f09[_0x49aa('0x11')](_0x23f2a8),_0x23f2a8=_0x23f2a8[_0x49aa('0x32')];}return Array[_0x49aa('0x44')](_0x253f09);}(_0x98f944));});};}function _0x18b882(_0xf0bebe){return()=>{const _0x908ddf=_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x2d')][_0x49aa('0x26')][_0x49aa('0x8')]()[_0x49aa('0x1')]()[_0x49aa('0x0')],_0x2dd1e3=_0x24bd05[_0x49aa('0x2e')]['createPositionAt'](_0x908ddf,_0x49aa('0x3e')),_0x141b51=_0x24bd05['model'][_0x49aa('0xb')](_0x908ddf,0x0),_0xd94cf4=_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x21')](_0x2dd1e3,_0x141b51);_0x24bd05['model'][_0x49aa('0x15')](()=>{_0x44c3fb[_0x49aa('0x1a')](_0xd94cf4,{'commandName':_0xf0bebe,'commandParams':[],'formatGroupId':'listType'});});};}function _0x479bb5(_0x26a274){const _0x561092=_0x24bd05[_0x49aa('0x18')][_0x49aa('0x3c')](_0x49aa('0xa'))[_0x49aa('0x0')],_0x51442d=_0x24bd05[_0x49aa('0x18')]['get'](_0x49aa('0x14'))[_0x49aa('0x0')];return _0x49aa('0x14')===_0x26a274?_0x561092:_0x51442d;}_0x44c3fb['enableCommand'](_0x49aa('0x14'),_0xa1fd21(_0x49aa('0x14'))),_0x44c3fb[_0x49aa('0x19')](_0x49aa('0xa'),_0xa1fd21('bulletedList')),_0x44c3fb['enableCommand'](_0x49aa('0x36'),_0x2b25e1('indentList')),_0x44c3fb[_0x49aa('0x19')](_0x49aa('0xd'),_0x2b25e1(_0x49aa('0xd'))),_0x44c3fb['enableCommand'](_0x49aa('0x2f'),_0x18b882(_0x49aa('0x2f'))),_0x44c3fb['enableCommand'](_0x49aa('0x7'),_0x18b882(_0x49aa('0x7'))),_0x44c3fb[_0x49aa('0x48')][_0x49aa('0x1d')](function(_0x1c719a){const _0x2d6e10=!_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x30')]['isObject'](_0x1c719a),_0x270aa0=_0x1c719a[_0x49aa('0x31')],_0x4f7ef2=_0x1c719a[_0x49aa('0x32')],_0x5aeb5e=_0x1c719a[_0x49aa('0x47')]('listItemId'),_0x421e67=!_0x270aa0||_0x270aa0['getAttribute'](_0x49aa('0x12'))!==_0x5aeb5e,_0x1bcdea=!_0x4f7ef2||_0x4f7ef2['getAttribute'](_0x49aa('0x12'))!==_0x5aeb5e;return _0x2d6e10&&Boolean(_0x5aeb5e)&&_0x421e67&&_0x1bcdea;},_0x340bfe=>_0x11d706(_0x2d3f68,_0x49aa('0xc'),_0x340bfe)),_0x44c3fb[_0x49aa('0x48')]['registerDescriptionCallback'](function(_0x18667d){const {data:_0x8d7762}=_0x18667d;if(!_0x8d7762)return;let _0x6dd071,_0x2a7b34,_0x2fa51d,_0x175538;switch(_0x8d7762[_0x49aa('0x3f')]){case _0x49aa('0xa'):_0x2fa51d=_0x8d7762['commandParams'][0x0][_0x49aa('0x2')],_0x175538=_0x479bb5(_0x8d7762[_0x49aa('0x3f')]),_0x6dd071=_0x2fa51d?_0x49aa('0x16'):_0x49aa('0x28'),_0x175538&&(_0x6dd071=_0x49aa('0x25')),_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0x3')))};break;case'numberedList':_0x2fa51d=_0x8d7762['commandParams'][0x0][_0x49aa('0x2')],_0x175538=_0x479bb5(_0x8d7762[_0x49aa('0x3f')]),_0x6dd071=_0x2fa51d?_0x49aa('0x16'):_0x49aa('0x28'),_0x175538&&(_0x6dd071=_0x49aa('0x25')),_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0x9')))};break;case _0x49aa('0x36'):_0x6dd071='*Indent:*\x20%0',_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0xc')))};break;case _0x49aa('0xd'):_0x6dd071=function(_0x2ff112){const _0xd6afa=_0x2ff112[_0x49aa('0xf')]();let _0x129fa0=_0xd6afa[_0x49aa('0x43')][_0x49aa('0x4')];for(;_0x129fa0&&_0xd6afa[_0x49aa('0x38')](_0x129fa0);){if(_0x129fa0[_0x49aa('0x47')](_0x49aa('0x3a'))>0x0)return!0x1;_0x129fa0=_0x129fa0[_0x49aa('0x32')];}return!0x0;}(_0x18667d)?_0x11d706(_0x2d3f68,_0x49aa('0x28'),_0x11d706(_0x2d3f68,function(_0x3d16fe){const _0x3c6757=_0x3d16fe[_0x49aa('0xf')]()[_0x49aa('0x43')][_0x49aa('0x4')];return _0x49aa('0x10')+_0x3c6757[_0x49aa('0x47')](_0x49aa('0x33'))['toUpperCase']()+'_LIST';}(_0x18667d))):_0x11d706(_0x2d3f68,'*Outdent:*\x20%0',_0x11d706(_0x2d3f68,'ELEMENT_LIST_ITEM')),_0x2a7b34={'type':_0x49aa('0x22'),'content':_0x6dd071};break;case'mergeListItemBackward':case _0x49aa('0x45'):!0x1===_0x8d7762[_0x49aa('0xe')]&&(_0x6dd071=_0x49aa('0x39'),_0x2a7b34={'type':'deletion','content':_0x11d706(_0x2d3f68,_0x6dd071,_0x11d706(_0x2d3f68,_0x49aa('0xc')))});}return _0x2a7b34;}),_0x44c3fb[_0x49aa('0x20')]['registerCustomCallback'](_0x49aa('0x2c'),_0x49aa('0x42'),'accept',function(_0x5049d3,_0x507c39){const _0x5ba9ab=[];for(let _0x2aaa4c of _0x5049d3)_0x2aaa4c['start'][_0x49aa('0x4')]===_0x2aaa4c[_0x49aa('0x1e')]['parent']&&(_0x2aaa4c=_0x24bd05[_0x49aa('0x2e')]['createRange'](_0x24bd05['model']['createPositionAt'](_0x2aaa4c[_0x49aa('0x43')][_0x49aa('0x4')],0x0))),_0x5ba9ab['push'](_0x2aaa4c);_0x24bd05[_0x49aa('0x2e')][_0x49aa('0x15')](_0x17a494=>{const _0x20e453=_0x24bd05['model'][_0x49aa('0x2d')][_0x49aa('0x26')],_0x20101c=Array[_0x49aa('0x44')](_0x20e453['getRanges']())[_0x49aa('0x23')](_0x3b8ccb=>_0x827786[_0x49aa('0x37')](_0x3b8ccb));_0x17a494[_0x49aa('0x17')](_0x5ba9ab),_0x24bd05['commands']['get'](_0x507c39[_0x49aa('0x3f')])[_0x49aa('0x3b')](),_0x507c39[_0x49aa('0x1b')][_0x49aa('0x3d')]({'forceDefaultExecution':!0x0}),_0x24bd05[_0x49aa('0x29')](_0x507c39[_0x49aa('0x3f')],..._0x507c39[_0x49aa('0x1b')]),_0x17a494[_0x49aa('0x17')](_0x20101c);for(const _0x5d1273 of _0x20101c)_0x5d1273[_0x49aa('0x34')]();});});}}