@ckeditor/ckeditor5-track-changes 35.3.0 → 35.3.2

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 (101) hide show
  1. package/build/track-changes.js +1 -2
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/utils.js +1 -1
  56. package/build/translations/ar.js +0 -1
  57. package/build/translations/az.js +0 -1
  58. package/build/translations/bg.js +0 -1
  59. package/build/translations/bn.js +0 -1
  60. package/build/translations/ca.js +0 -1
  61. package/build/translations/cs.js +0 -1
  62. package/build/translations/da.js +0 -1
  63. package/build/translations/de.js +0 -1
  64. package/build/translations/el.js +0 -1
  65. package/build/translations/en-au.js +0 -1
  66. package/build/translations/es.js +0 -1
  67. package/build/translations/et.js +0 -1
  68. package/build/translations/fi.js +0 -1
  69. package/build/translations/fr.js +0 -1
  70. package/build/translations/gl.js +0 -1
  71. package/build/translations/he.js +0 -1
  72. package/build/translations/hi.js +0 -1
  73. package/build/translations/hr.js +0 -1
  74. package/build/translations/hu.js +0 -1
  75. package/build/translations/id.js +0 -1
  76. package/build/translations/it.js +0 -1
  77. package/build/translations/ja.js +0 -1
  78. package/build/translations/ko.js +0 -1
  79. package/build/translations/lt.js +0 -1
  80. package/build/translations/lv.js +0 -1
  81. package/build/translations/ms.js +0 -1
  82. package/build/translations/nl.js +0 -1
  83. package/build/translations/no.js +0 -1
  84. package/build/translations/pl.js +0 -1
  85. package/build/translations/pt-br.js +0 -1
  86. package/build/translations/pt.js +0 -1
  87. package/build/translations/ro.js +0 -1
  88. package/build/translations/ru.js +0 -1
  89. package/build/translations/sk.js +0 -1
  90. package/build/translations/sr-latn.js +0 -1
  91. package/build/translations/sr.js +0 -1
  92. package/build/translations/sv.js +0 -1
  93. package/build/translations/th.js +0 -1
  94. package/build/translations/tk.js +0 -1
  95. package/build/translations/tr.js +0 -1
  96. package/build/translations/tt.js +0 -1
  97. package/build/translations/uk.js +0 -1
  98. package/build/translations/ur.js +0 -1
  99. package/build/translations/vi.js +0 -1
  100. package/build/translations/zh-cn.js +0 -1
  101. package/build/translations/zh.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "35.3.0",
3
+ "version": "35.3.2",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "main": "src/index.js",
29
29
  "dependencies": {
30
- "ckeditor5": "^35.3.0",
31
- "ckeditor5-collaboration": "^35.3.0",
30
+ "ckeditor5": "^35.3.2",
31
+ "ckeditor5-collaboration": "^35.3.2",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.3.0"
33
+ "@ckeditor/ckeditor5-style": "^35.3.2"
34
34
  }
35
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f4e=['acceptSuggestion','refresh','get','TrackChangesEditing','_suggestions','track-changes-accept-suggestion-not-found','isEnabled','execute','plugins'];(function(_0xab4866,_0x4f4ebe){const _0x2c9e7e=function(_0x865bd5){while(--_0x865bd5){_0xab4866['push'](_0xab4866['shift']());}};_0x2c9e7e(++_0x4f4ebe);}(_0x4f4e,0x90));const _0x2c9e=function(_0xab4866,_0x4f4ebe){_0xab4866=_0xab4866-0x0;let _0x2c9e7e=_0x4f4e[_0xab4866];return _0x2c9e7e;};import{Command as _0x291f2a}from'ckeditor5/src/core';import{CKEditorError as _0x5938f5}from'ckeditor5/src/utils';export default class N extends _0x291f2a{constructor(_0x2785c2,_0x53fa34){super(_0x2785c2),this[_0x2c9e('0x4')]=_0x53fa34,this[_0x2c9e('0x1')]();}[_0x2c9e('0x1')](){this[_0x2c9e('0x6')]=!0x0;}[_0x2c9e('0x7')](_0x548a94){const _0x21c253=this['_suggestions'][_0x2c9e('0x2')](_0x548a94);if(!_0x21c253)throw new _0x5938f5(_0x2c9e('0x5'),this);this['editor'][_0x2c9e('0x8')]['get'](_0x2c9e('0x3'))[_0x2c9e('0x0')](_0x21c253);}}
23
+ const _0xe978=['get','acceptSuggestion','execute','plugins','isEnabled','track-changes-accept-suggestion-not-found','editor','refresh','_suggestions'];(function(_0x1d57e0,_0xe978c3){const _0x3a11c5=function(_0x189af2){while(--_0x189af2){_0x1d57e0['push'](_0x1d57e0['shift']());}};_0x3a11c5(++_0xe978c3);}(_0xe978,0xdf));const _0x3a11=function(_0x1d57e0,_0xe978c3){_0x1d57e0=_0x1d57e0-0x0;let _0x3a11c5=_0xe978[_0x1d57e0];return _0x3a11c5;};import{Command as _0x565f43}from'ckeditor5/src/core';import{CKEditorError as _0x22c194}from'ckeditor5/src/utils';export default class N extends _0x565f43{constructor(_0xf7946d,_0x3dcfa1){super(_0xf7946d),this[_0x3a11('0x1')]=_0x3dcfa1,this[_0x3a11('0x0')]();}[_0x3a11('0x0')](){this[_0x3a11('0x6')]=!0x0;}[_0x3a11('0x4')](_0x1d74b4){const _0x3446e5=this[_0x3a11('0x1')][_0x3a11('0x2')](_0x1d74b4);if(!_0x3446e5)throw new _0x22c194(_0x3a11('0x7'),this);this[_0x3a11('0x8')][_0x3a11('0x5')][_0x3a11('0x2')]('TrackChangesEditing')[_0x3a11('0x3')](_0x3446e5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c2e=['refresh','editor','isEnabled','execute','get','discardSuggestion','_suggestions','track-changes-discard-suggestion-not-found'];(function(_0x1efaa6,_0x5c2ef9){const _0x42a2ff=function(_0x22f67b){while(--_0x22f67b){_0x1efaa6['push'](_0x1efaa6['shift']());}};_0x42a2ff(++_0x5c2ef9);}(_0x5c2e,0xe6));const _0x42a2=function(_0x1efaa6,_0x5c2ef9){_0x1efaa6=_0x1efaa6-0x0;let _0x42a2ff=_0x5c2e[_0x1efaa6];return _0x42a2ff;};import{Command as _0x1d675f}from'ckeditor5/src/core';import{CKEditorError as _0x2fc0f3}from'ckeditor5/src/utils';export default class R extends _0x1d675f{constructor(_0x31a670,_0x44994e){super(_0x31a670),this[_0x42a2('0x0')]=_0x44994e,this[_0x42a2('0x2')]();}[_0x42a2('0x2')](){this[_0x42a2('0x4')]=!0x0;}[_0x42a2('0x5')](_0x578e73){const _0x1bb355=this['_suggestions'][_0x42a2('0x6')](_0x578e73);if(!_0x1bb355)throw new _0x2fc0f3(_0x42a2('0x1'),this);this[_0x42a2('0x3')]['plugins'][_0x42a2('0x6')]('TrackChangesEditing')[_0x42a2('0x7')](_0x1bb355);}}
23
+ const _0xdd51=['execute','get','plugins','_suggestions','track-changes-discard-suggestion-not-found','discardSuggestion','editor','TrackChangesEditing','refresh'];(function(_0x195eda,_0xdd510b){const _0x457ba1=function(_0x351a31){while(--_0x351a31){_0x195eda['push'](_0x195eda['shift']());}};_0x457ba1(++_0xdd510b);}(_0xdd51,0xce));const _0x457b=function(_0x195eda,_0xdd510b){_0x195eda=_0x195eda-0x0;let _0x457ba1=_0xdd51[_0x195eda];return _0x457ba1;};import{Command as _0x43a93e}from'ckeditor5/src/core';import{CKEditorError as _0x2e3041}from'ckeditor5/src/utils';export default class R extends _0x43a93e{constructor(_0x8e195f,_0xee949e){super(_0x8e195f),this[_0x457b('0x4')]=_0xee949e,this[_0x457b('0x0')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x457b('0x1')](_0xe81e53){const _0x3e5f42=this[_0x457b('0x4')][_0x457b('0x2')](_0xe81e53);if(!_0x3e5f42)throw new _0x2e3041(_0x457b('0x5'),this);this[_0x457b('0x7')][_0x457b('0x3')][_0x457b('0x2')](_0x457b('0x8'))[_0x457b('0x6')](_0x3e5f42);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48b5=['values','isInContent','from','execute','_command','_suggestions','model','isEnabled','editor','refresh'];(function(_0x383017,_0x48b59f){const _0x3e3045=function(_0x34a5a7){while(--_0x34a5a7){_0x383017['push'](_0x383017['shift']());}};_0x3e3045(++_0x48b59f);}(_0x48b5,0x150));const _0x3e30=function(_0x383017,_0x48b59f){_0x383017=_0x383017-0x0;let _0x3e3045=_0x48b5[_0x383017];return _0x3e3045;};import{Command as _0x4025d8}from'ckeditor5/src/core';import{sortSuggestions as _0xb0e681,executeCommandForSuggestions as _0x4459a5}from'../utils/utils';export default class x extends _0x4025d8{constructor(_0xfc48b2,_0x337fa3,_0x1aba36){super(_0xfc48b2),this[_0x3e30('0x8')]=_0x337fa3,this[_0x3e30('0x9')]=_0x1aba36,this[_0x3e30('0x3')]();}[_0x3e30('0x3')](){const _0x778495=Array[_0x3e30('0x6')](this['_suggestions'][_0x3e30('0x4')]())['some'](_0x3549d1=>_0x3549d1[_0x3e30('0x5')]);this[_0x3e30('0x1')]=this[_0x3e30('0x8')][_0x3e30('0x1')]&&_0x778495;}[_0x3e30('0x7')](){const _0x49c9bf=_0xb0e681(Array[_0x3e30('0x6')](this[_0x3e30('0x9')][_0x3e30('0x4')]()));_0x4459a5(this[_0x3e30('0x2')][_0x3e30('0x0')],this['_command'],_0x49c9bf);}}
23
+ const _0x1611=['from','isEnabled','_command','isInContent','model','editor','values','some','_suggestions','refresh'];(function(_0x36c1ce,_0x1611fc){const _0x4f6b5c=function(_0x1be2c5){while(--_0x1be2c5){_0x36c1ce['push'](_0x36c1ce['shift']());}};_0x4f6b5c(++_0x1611fc);}(_0x1611,0x14a));const _0x4f6b=function(_0x36c1ce,_0x1611fc){_0x36c1ce=_0x36c1ce-0x0;let _0x4f6b5c=_0x1611[_0x36c1ce];return _0x4f6b5c;};import{Command as _0x23a51d}from'ckeditor5/src/core';import{sortSuggestions as _0x158b96,executeCommandForSuggestions as _0x55bfc3}from'../utils/utils';export default class x extends _0x23a51d{constructor(_0x3a0616,_0x42993b,_0x4369f8){super(_0x3a0616),this['_command']=_0x42993b,this[_0x4f6b('0x8')]=_0x4369f8,this[_0x4f6b('0x9')]();}['refresh'](){const _0x5dc4da=Array[_0x4f6b('0x0')](this[_0x4f6b('0x8')][_0x4f6b('0x6')]())[_0x4f6b('0x7')](_0x1070e3=>_0x1070e3[_0x4f6b('0x3')]);this[_0x4f6b('0x1')]=this[_0x4f6b('0x2')][_0x4f6b('0x1')]&&_0x5dc4da;}['execute'](){const _0x35ea21=_0x158b96(Array[_0x4f6b('0x0')](this[_0x4f6b('0x8')][_0x4f6b('0x6')]()));_0x55bfc3(this[_0x4f6b('0x5')][_0x4f6b('0x4')],this[_0x4f6b('0x2')],_0x35ea21);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3352=['isEnabled','execute','values','_command','editor','refresh','_selectedSuggestions','_suggestions','from','model','size'];(function(_0x2592f3,_0x3352b1){const _0x5f0db1=function(_0x1c5b5b){while(--_0x1c5b5b){_0x2592f3['push'](_0x2592f3['shift']());}};_0x5f0db1(++_0x3352b1);}(_0x3352,0x101));const _0x5f0d=function(_0x2592f3,_0x3352b1){_0x2592f3=_0x2592f3-0x0;let _0x5f0db1=_0x3352[_0x2592f3];return _0x5f0db1;};import{Command as _0xaafa4d}from'ckeditor5/src/core';import{sortSuggestions as _0x5e7620,getSelectedSuggestions as _0x2585af,executeCommandForSuggestions as _0x3f2262}from'../utils/utils';export default class U extends _0xaafa4d{constructor(_0xfc267c,_0x428fb5,_0xdf3f89){super(_0xfc267c),this[_0x5f0d('0xa')]=_0x428fb5,this['_suggestions']=_0xdf3f89,this[_0x5f0d('0x2')]=new Set(),this[_0x5f0d('0x1')]();}[_0x5f0d('0x1')](){const _0x16b9e3=this[_0x5f0d('0x0')][_0x5f0d('0x5')]['document']['selection'],_0x56da21=Array[_0x5f0d('0x4')](this[_0x5f0d('0x3')][_0x5f0d('0x9')]());this[_0x5f0d('0x2')]=_0x2585af(_0x16b9e3,_0x56da21),this[_0x5f0d('0x7')]=this['_command'][_0x5f0d('0x7')]&&!!this[_0x5f0d('0x2')][_0x5f0d('0x6')];}[_0x5f0d('0x8')](){const _0x236a3b=_0x5e7620(Array[_0x5f0d('0x4')](this[_0x5f0d('0x2')]));_0x3f2262(this[_0x5f0d('0x0')][_0x5f0d('0x5')],this['_command'],_0x236a3b);}}
23
+ const _0x2a24=['values','_selectedSuggestions','_command','from','model','selection','_suggestions','isEnabled','editor','document','size','refresh','execute'];(function(_0x471ae4,_0x2a244a){const _0x589a51=function(_0xa9fce8){while(--_0xa9fce8){_0x471ae4['push'](_0x471ae4['shift']());}};_0x589a51(++_0x2a244a);}(_0x2a24,0x18e));const _0x589a=function(_0x471ae4,_0x2a244a){_0x471ae4=_0x471ae4-0x0;let _0x589a51=_0x2a24[_0x471ae4];return _0x589a51;};import{Command as _0x8f9897}from'ckeditor5/src/core';import{sortSuggestions as _0x3327c6,getSelectedSuggestions as _0x37b447,executeCommandForSuggestions as _0x81232a}from'../utils/utils';export default class U extends _0x8f9897{constructor(_0x3026a7,_0xfe9293,_0x106149){super(_0x3026a7),this[_0x589a('0x7')]=_0xfe9293,this['_suggestions']=_0x106149,this[_0x589a('0x6')]=new Set(),this[_0x589a('0x3')]();}[_0x589a('0x3')](){const _0x385232=this[_0x589a('0x0')][_0x589a('0x9')][_0x589a('0x1')][_0x589a('0xa')],_0x12f565=Array[_0x589a('0x8')](this[_0x589a('0xb')][_0x589a('0x5')]());this[_0x589a('0x6')]=_0x37b447(_0x385232,_0x12f565),this['isEnabled']=this[_0x589a('0x7')][_0x589a('0xc')]&&!!this[_0x589a('0x6')][_0x589a('0x2')];}[_0x589a('0x4')](){const _0x13d85b=_0x3327c6(Array[_0x589a('0x8')](this[_0x589a('0x6')]));_0x81232a(this['editor'][_0x589a('0x9')],this[_0x589a('0x7')],_0x13d85b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c4f=['execute','refresh','TrackChangesCommand','editor','commands','_disableUnsupportedCommands','_enabledCommands','value','forceDisabled','has','affectsData','isEnabled','_enableCommands'];(function(_0x5bd356,_0x2c4fbd){const _0x256a0d=function(_0x3484f7){while(--_0x3484f7){_0x5bd356['push'](_0x5bd356['shift']());}};_0x256a0d(++_0x2c4fbd);}(_0x2c4f,0x1e6));const _0x256a=function(_0x5bd356,_0x2c4fbd){_0x5bd356=_0x5bd356-0x0;let _0x256a0d=_0x2c4f[_0x5bd356];return _0x256a0d;};import{Command as _0x2bde5f}from'ckeditor5/src/core';export default class $ extends _0x2bde5f{constructor(_0x38e1a4,_0x51be8e){super(_0x38e1a4),this[_0x256a('0x1')]=_0x51be8e,this[_0x256a('0x2')]=!0x1,this[_0x256a('0x9')]();}[_0x256a('0x9')](){this[_0x256a('0x6')]=!0x0;}[_0x256a('0x8')](){this[_0x256a('0x2')]=!this[_0x256a('0x2')],this[_0x256a('0x2')]?this['_disableUnsupportedCommands']():this[_0x256a('0x7')]();}[_0x256a('0x0')](){for(const _0x3f3a22 of this[_0x256a('0xb')][_0x256a('0xc')]['commands']())_0x3f3a22[_0x256a('0x5')]&&!this[_0x256a('0x1')][_0x256a('0x4')](_0x3f3a22)&&_0x3f3a22[_0x256a('0x3')](_0x256a('0xa'));}[_0x256a('0x7')](){for(const _0x546a1c of this[_0x256a('0xb')]['commands'][_0x256a('0xc')]())_0x546a1c[_0x256a('0x5')]&&!this[_0x256a('0x1')][_0x256a('0x4')](_0x546a1c)&&_0x546a1c['clearForceDisabled'](_0x256a('0xa'));}}
23
+ const _0x347f=['commands','_enabledCommands','forceDisabled','editor','affectsData','clearForceDisabled','execute','_enableCommands','value','_disableUnsupportedCommands','refresh','has'];(function(_0x2c3cb1,_0x347fc4){const _0x591921=function(_0x12969f){while(--_0x12969f){_0x2c3cb1['push'](_0x2c3cb1['shift']());}};_0x591921(++_0x347fc4);}(_0x347f,0x6f));const _0x5919=function(_0x2c3cb1,_0x347fc4){_0x2c3cb1=_0x2c3cb1-0x0;let _0x591921=_0x347f[_0x2c3cb1];return _0x591921;};import{Command as _0x569861}from'ckeditor5/src/core';export default class $ extends _0x569861{constructor(_0x4356ac,_0x5b0e3d){super(_0x4356ac),this['_enabledCommands']=_0x5b0e3d,this[_0x5919('0x5')]=!0x1,this[_0x5919('0x7')]();}[_0x5919('0x7')](){this['isEnabled']=!0x0;}[_0x5919('0x3')](){this[_0x5919('0x5')]=!this[_0x5919('0x5')],this['value']?this[_0x5919('0x6')]():this[_0x5919('0x4')]();}[_0x5919('0x6')](){for(const _0xbc2ce4 of this[_0x5919('0x0')][_0x5919('0x9')][_0x5919('0x9')]())_0xbc2ce4[_0x5919('0x1')]&&!this[_0x5919('0xa')][_0x5919('0x8')](_0xbc2ce4)&&_0xbc2ce4[_0x5919('0xb')]('TrackChangesCommand');}[_0x5919('0x4')](){for(const _0x3fd49d of this[_0x5919('0x0')]['commands']['commands']())_0x3fd49d[_0x5919('0x1')]&&!this['_enabledCommands'][_0x5919('0x8')](_0x3fd49d)&&_0x3fd49d[_0x5919('0x2')]('TrackChangesCommand');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2398=['value','registerDescriptionCallback','left','justify','document','editor','plugins','from','format','right','afterInit','checkAttribute','getSelectedBlocks','get','markBlockFormat','commandName','change','_descriptionFactory','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','filter','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','model','center','has','locale','alignment','schema','FORMAT_JUSTIFY_TEXT'];(function(_0x50558c,_0x239800){const _0x33b294=function(_0x1c0ab6){while(--_0x1c0ab6){_0x50558c['push'](_0x50558c['shift']());}};_0x33b294(++_0x239800);}(_0x2398,0x1b5));const _0x33b2=function(_0x50558c,_0x239800){_0x50558c=_0x50558c-0x0;let _0x33b294=_0x2398[_0x50558c];return _0x33b294;};import{Plugin as _0x16607e}from'ckeditor5/src/core';import{getTranslation as _0x447173}from'../utils/common-translations';export default class j extends _0x16607e{[_0x33b2('0x7')](){const _0x1a6386=this[_0x33b2('0x2')],_0x4d050c=_0x1a6386[_0x33b2('0x18')];if(!_0x1a6386[_0x33b2('0x3')][_0x33b2('0x17')]('AlignmentEditing'))return;const _0xef1312=_0x1a6386[_0x33b2('0x3')][_0x33b2('0xa')](_0x33b2('0x10'));_0xef1312['enableCommand'](_0x33b2('0x19'),(_0x161166,_0x1080b8={})=>{let _0x2fcc00=_0x1080b8[_0x33b2('0x1c')];_0x1080b8[_0x33b2('0x1c')]||(_0x2fcc00='ltr'===_0x1a6386[_0x33b2('0x18')][_0x33b2('0x14')]?_0x33b2('0x1e'):'right');const _0x4f3952=Array[_0x33b2('0x4')](this['editor'][_0x33b2('0x15')][_0x33b2('0x1')]['selection'][_0x33b2('0x9')]())[_0x33b2('0x11')](_0x5b4bde=>function(_0x41f0b0,_0x494690,_0x58b093){const _0x1da0db=_0x41f0b0['getAttribute'](_0x33b2('0x19'))||null;return _0x494690[_0x33b2('0x8')](_0x41f0b0,_0x33b2('0x19'))&&_0x58b093!=_0x1da0db;}(_0x5b4bde,this[_0x33b2('0x2')]['model'][_0x33b2('0x1a')],_0x2fcc00));_0x1a6386['model'][_0x33b2('0xd')](()=>{for(const _0x2d3991 of _0x4f3952)_0xef1312[_0x33b2('0xb')](_0x2d3991,{'commandName':'alignment','commandParams':[{'value':_0x2fcc00}]});});}),_0xef1312[_0x33b2('0xe')][_0x33b2('0x1d')](_0x5c5bfa=>{const {data:_0x2cf62b}=_0x5c5bfa;if(_0x2cf62b&&_0x33b2('0x19')==_0x2cf62b[_0x33b2('0xc')]){const _0x70b32d=_0x2cf62b['commandParams'][0x0][_0x33b2('0x1c')];return{'type':_0x33b2('0x5'),'content':_0x447173(_0x4d050c,_0x33b2('0x12'),function(_0x98b306){switch(_0x98b306){case _0x33b2('0x1e'):return _0x447173(_0x4d050c,_0x33b2('0xf'));case _0x33b2('0x6'):return _0x447173(_0x4d050c,'FORMAT_ALIGN_TO_RIGHT');case _0x33b2('0x16'):return _0x447173(_0x4d050c,_0x33b2('0x13'));case _0x33b2('0x0'):return _0x447173(_0x4d050c,_0x33b2('0x1b'));}}(_0x70b32d))};}});}}
23
+ const _0x203b=['_descriptionFactory','TrackChangesEditing','enableCommand','model','contentLanguageDirection','locale','schema','document','value','FORMAT_ALIGN_TO_LEFT','editor','get','alignment','left','change','filter','from','plugins','getSelectedBlocks','AlignmentEditing','right','markBlockFormat','checkAttribute','FORMAT_JUSTIFY_TEXT','selection','commandParams','getAttribute'];(function(_0x4aa653,_0x203bb6){const _0x28fcc9=function(_0x38c57d){while(--_0x38c57d){_0x4aa653['push'](_0x4aa653['shift']());}};_0x28fcc9(++_0x203bb6);}(_0x203b,0x19d));const _0x28fc=function(_0x4aa653,_0x203bb6){_0x4aa653=_0x4aa653-0x0;let _0x28fcc9=_0x203b[_0x4aa653];return _0x28fcc9;};import{Plugin as _0x261a64}from'ckeditor5/src/core';import{getTranslation as _0x123a12}from'../utils/common-translations';export default class j extends _0x261a64{['afterInit'](){const _0x383e90=this['editor'],_0x505383=_0x383e90[_0x28fc('0x18')];if(!_0x383e90[_0x28fc('0x9')]['has'](_0x28fc('0xb')))return;const _0x189800=_0x383e90['plugins'][_0x28fc('0x3')](_0x28fc('0x14'));_0x189800[_0x28fc('0x15')](_0x28fc('0x4'),(_0x541aa2,_0x59b65f={})=>{let _0x9b5a12=_0x59b65f['value'];_0x59b65f[_0x28fc('0x0')]||(_0x9b5a12='ltr'===_0x383e90[_0x28fc('0x18')][_0x28fc('0x17')]?_0x28fc('0x5'):'right');const _0x3f2124=Array[_0x28fc('0x8')](this[_0x28fc('0x2')][_0x28fc('0x16')][_0x28fc('0x1a')][_0x28fc('0x10')][_0x28fc('0xa')]())[_0x28fc('0x7')](_0x1c46fc=>function(_0x5bd9a3,_0x47c775,_0x423d68){const _0x33fb41=_0x5bd9a3[_0x28fc('0x12')]('alignment')||null;return _0x47c775[_0x28fc('0xe')](_0x5bd9a3,_0x28fc('0x4'))&&_0x423d68!=_0x33fb41;}(_0x1c46fc,this[_0x28fc('0x2')]['model'][_0x28fc('0x19')],_0x9b5a12));_0x383e90[_0x28fc('0x16')][_0x28fc('0x6')](()=>{for(const _0x5e14b1 of _0x3f2124)_0x189800[_0x28fc('0xd')](_0x5e14b1,{'commandName':_0x28fc('0x4'),'commandParams':[{'value':_0x9b5a12}]});});}),_0x189800[_0x28fc('0x13')]['registerDescriptionCallback'](_0x52452f=>{const {data:_0x4820aa}=_0x52452f;if(_0x4820aa&&'alignment'==_0x4820aa['commandName']){const _0x4458ed=_0x4820aa[_0x28fc('0x11')][0x0][_0x28fc('0x0')];return{'type':'format','content':_0x123a12(_0x505383,'*Format:*\x20%0',function(_0x1a7c0a){switch(_0x1a7c0a){case _0x28fc('0x5'):return _0x123a12(_0x505383,_0x28fc('0x1'));case _0x28fc('0xc'):return _0x123a12(_0x505383,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x123a12(_0x505383,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x123a12(_0x505383,_0x28fc('0xf'));}}(_0x4458ed))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2862=['SuperscriptEditing','FORMAT_STRIKETHROUGH','commandName','slice','code','commands','StrikethroughEditing','FORMAT_BOLD','afterInit','from','FORMAT_UNDERLINE','bold','italic','_descriptionFactory','plugins','underline','FORMAT_ITALIC','document','SubscriptEditing','has','get','value','CodeEditing','toLowerCase','strikethrough','FORMAT_CODE','ItalicEditing','*Remove\x20format:*\x20%0','editor','change','forceValue','getRanges','TrackChangesEditing','subscript','format'];(function(_0x14a19e,_0x2862d1){const _0x5273db=function(_0x513373){while(--_0x513373){_0x14a19e['push'](_0x14a19e['shift']());}};_0x5273db(++_0x2862d1);}(_0x2862,0xba));const _0x5273=function(_0x14a19e,_0x2862d1){_0x14a19e=_0x14a19e-0x0;let _0x5273db=_0x2862[_0x14a19e];return _0x5273db;};import{Plugin as _0x24b114}from'ckeditor5/src/core';import{getTranslation as _0x3c59b6}from'../utils/common-translations';import{getRangesWithAttribute as _0x235de9}from'./utils';const Ot=['BoldEditing',_0x5273('0xf'),'UnderlineEditing',_0x5273('0xb'),_0x5273('0x1e'),_0x5273('0x7'),_0x5273('0x18')];export default class E extends _0x24b114{[_0x5273('0x20')](){const _0x453d03=this[_0x5273('0x11')],_0x1ccc48=_0x453d03['model'],_0x387473=_0x453d03[_0x5273('0x3')][_0x5273('0x9')](_0x5273('0x15')),_0x30e011=_0x453d03['locale'];for(const _0x2bb4f2 of Ot){if(!_0x453d03[_0x5273('0x3')][_0x5273('0x8')](_0x2bb4f2))continue;const _0x250222=_0x2bb4f2[_0x5273('0x1b')](0x0,-0x7)[_0x5273('0xc')](),_0x526c6f=_0x453d03[_0x5273('0x1d')][_0x5273('0x9')](_0x250222);_0x387473['enableCommand'](_0x250222,(_0x3db13e,_0x417278={})=>{const _0x4117e4=_0x1ccc48[_0x5273('0x6')]['selection'];if(_0x4117e4['isCollapsed'])return void _0x3db13e(_0x417278);const _0xbb88e2=void 0x0!==_0x417278['forceValue']?_0x417278[_0x5273('0x13')]:!_0x526c6f[_0x5273('0xa')];_0x1ccc48[_0x5273('0x12')](()=>{const _0x4a29a9=Array[_0x5273('0x21')](_0x4117e4[_0x5273('0x14')]());for(const _0x347a83 of _0x4a29a9){const _0x159ead=_0xbb88e2?[_0x347a83]:_0x235de9(_0x250222,_0x347a83,_0x1ccc48);for(const _0x3fd1ee of _0x159ead)_0x387473['markInlineFormat'](_0x3fd1ee,{'commandName':_0x250222,'commandParams':[{'forceValue':_0xbb88e2}]});}});});}function _0x46ac7a(_0x375e82,_0x73dc14){_0x387473[_0x5273('0x2')]['registerDescriptionCallback'](_0x5b6434=>{const {data:_0x1baa48}=_0x5b6434;if(_0x1baa48&&_0x1baa48[_0x5273('0x1a')]===_0x375e82)return _0x1baa48['commandParams'][0x0][_0x5273('0x13')]?{'type':_0x5273('0x17'),'content':_0x3c59b6(_0x30e011,'*Format:*\x20%0',_0x73dc14)}:{'type':_0x5273('0x17'),'content':_0x3c59b6(_0x30e011,_0x5273('0x10'),_0x73dc14)};});}_0x46ac7a(_0x5273('0x0'),_0x3c59b6(_0x30e011,_0x5273('0x1f'))),_0x46ac7a(_0x5273('0x1'),_0x3c59b6(_0x30e011,_0x5273('0x5'))),_0x46ac7a(_0x5273('0x4'),_0x3c59b6(_0x30e011,_0x5273('0x22'))),_0x46ac7a(_0x5273('0x1c'),_0x3c59b6(_0x30e011,_0x5273('0xe'))),_0x46ac7a(_0x5273('0xd'),_0x3c59b6(_0x30e011,_0x5273('0x19'))),_0x46ac7a(_0x5273('0x16'),_0x3c59b6(_0x30e011,'FORMAT_SUBSCRIPT')),_0x46ac7a('superscript',_0x3c59b6(_0x30e011,'FORMAT_SUPERSCRIPT'));}}
23
+ const _0x1c45=['plugins','enableCommand','markInlineFormat','TrackChangesEditing','toLowerCase','document','subscript','locale','FORMAT_ITALIC','registerDescriptionCallback','getRanges','forceValue','underline','FORMAT_BOLD','FORMAT_CODE','_descriptionFactory','superscript','model','UnderlineEditing','isCollapsed','bold','*Remove\x20format:*\x20%0','*Format:*\x20%0','FORMAT_STRIKETHROUGH','strikethrough','italic','SubscriptEditing','FORMAT_UNDERLINE','format','CodeEditing','commands','has','commandParams','SuperscriptEditing','ItalicEditing','afterInit','BoldEditing','get','FORMAT_SUBSCRIPT','commandName'];(function(_0x36b7e7,_0x1c4533){const _0x152a12=function(_0x44eac5){while(--_0x44eac5){_0x36b7e7['push'](_0x36b7e7['shift']());}};_0x152a12(++_0x1c4533);}(_0x1c45,0x14a));const _0x152a=function(_0x36b7e7,_0x1c4533){_0x36b7e7=_0x36b7e7-0x0;let _0x152a12=_0x1c45[_0x36b7e7];return _0x152a12;};import{Plugin as _0x48284d}from'ckeditor5/src/core';import{getTranslation as _0x12d815}from'../utils/common-translations';import{getRangesWithAttribute as _0x2dd93a}from'./utils';const Ot=[_0x152a('0x1a'),_0x152a('0x18'),_0x152a('0x8'),_0x152a('0x13'),'StrikethroughEditing',_0x152a('0x10'),_0x152a('0x17')];export default class E extends _0x48284d{[_0x152a('0x19')](){const _0x434197=this['editor'],_0x51e128=_0x434197[_0x152a('0x7')],_0x31d8fd=_0x434197[_0x152a('0x1e')][_0x152a('0x1b')](_0x152a('0x21')),_0x2f9882=_0x434197[_0x152a('0x25')];for(const _0x7c3267 of Ot){if(!_0x434197[_0x152a('0x1e')][_0x152a('0x15')](_0x7c3267))continue;const _0x128ee0=_0x7c3267['slice'](0x0,-0x7)[_0x152a('0x22')](),_0x209e6e=_0x434197[_0x152a('0x14')]['get'](_0x128ee0);_0x31d8fd[_0x152a('0x1f')](_0x128ee0,(_0x3049c6,_0x50669c={})=>{const _0x3ab907=_0x51e128[_0x152a('0x23')]['selection'];if(_0x3ab907[_0x152a('0x9')])return void _0x3049c6(_0x50669c);const _0x1f1dfd=void 0x0!==_0x50669c[_0x152a('0x1')]?_0x50669c[_0x152a('0x1')]:!_0x209e6e['value'];_0x51e128['change'](()=>{const _0x1fccc8=Array['from'](_0x3ab907[_0x152a('0x0')]());for(const _0x4aab2d of _0x1fccc8){const _0x2f1884=_0x1f1dfd?[_0x4aab2d]:_0x2dd93a(_0x128ee0,_0x4aab2d,_0x51e128);for(const _0x287f1c of _0x2f1884)_0x31d8fd[_0x152a('0x20')](_0x287f1c,{'commandName':_0x128ee0,'commandParams':[{'forceValue':_0x1f1dfd}]});}});});}function _0x539e7f(_0x3ff591,_0x51a369){_0x31d8fd[_0x152a('0x5')][_0x152a('0x27')](_0x3d1aba=>{const {data:_0x2e39bd}=_0x3d1aba;if(_0x2e39bd&&_0x2e39bd[_0x152a('0x1d')]===_0x3ff591)return _0x2e39bd[_0x152a('0x16')][0x0][_0x152a('0x1')]?{'type':_0x152a('0x12'),'content':_0x12d815(_0x2f9882,_0x152a('0xc'),_0x51a369)}:{'type':'format','content':_0x12d815(_0x2f9882,_0x152a('0xb'),_0x51a369)};});}_0x539e7f(_0x152a('0xa'),_0x12d815(_0x2f9882,_0x152a('0x3'))),_0x539e7f(_0x152a('0xf'),_0x12d815(_0x2f9882,_0x152a('0x26'))),_0x539e7f(_0x152a('0x2'),_0x12d815(_0x2f9882,_0x152a('0x11'))),_0x539e7f('code',_0x12d815(_0x2f9882,_0x152a('0x4'))),_0x539e7f(_0x152a('0xe'),_0x12d815(_0x2f9882,_0x152a('0xd'))),_0x539e7f(_0x152a('0x24'),_0x12d815(_0x2f9882,_0x152a('0x1c'))),_0x539e7f(_0x152a('0x6'),_0x12d815(_0x2f9882,'FORMAT_SUPERSCRIPT'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15ad=['ELEMENT_BLOCK_QUOTE','locale','TrackChangesEditing','get','selection','document','_descriptionFactory','has','afterInit','forceValue','BlockQuoteEditing','from','filter','name','value','blockQuote','plugins','$root','enableCommand','schema','commandParams','editor','markBlockFormat','format','checkChild','change','getSelectedBlocks','model','parent'];(function(_0x4635ee,_0x15ad22){const _0x52f656=function(_0x249e04){while(--_0x249e04){_0x4635ee['push'](_0x4635ee['shift']());}};_0x52f656(++_0x15ad22);}(_0x15ad,0x18b));const _0x52f6=function(_0x4635ee,_0x15ad22){_0x4635ee=_0x4635ee-0x0;let _0x52f656=_0x15ad[_0x4635ee];return _0x52f656;};import{Plugin as _0x3a03dc}from'ckeditor5/src/core';import{getTranslation as _0x4e7c9c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3bb786}from'../utils/utils';export default class O extends _0x3a03dc{[_0x52f6('0x13')](){const _0x351535=this['editor'],_0x51c7a2=_0x351535[_0x52f6('0xc')];if(!_0x351535[_0x52f6('0x1b')][_0x52f6('0x12')](_0x52f6('0x15')))return;const _0x29e68c=_0x351535['plugins'][_0x52f6('0xe')](_0x52f6('0xd')),_0x313683=this[_0x52f6('0x3')]['commands']['get'](_0x52f6('0x1a'));_0x29e68c[_0x52f6('0x0')](_0x52f6('0x1a'),(_0x5e9510,_0x4e8d42={})=>{const _0x5d0136=this[_0x52f6('0x3')][_0x52f6('0x9')][_0x52f6('0x10')][_0x52f6('0xf')],_0x341797=_0x4e8d42&&void 0x0!==_0x4e8d42['forceValue']?_0x4e8d42[_0x52f6('0x14')]:!_0x313683[_0x52f6('0x19')];let _0x4ab248=[];if(_0x341797){const _0x4fc10c=Array[_0x52f6('0x16')](_0x5d0136[_0x52f6('0x8')]())[_0x52f6('0x17')](_0x339f44=>Ft(_0x339f44)||function(_0x36f540,_0xbe35ab){const _0x2773f7=_0xbe35ab['checkChild'](_0x36f540['parent'],'blockQuote'),_0x34efe7=_0xbe35ab[_0x52f6('0x6')]([_0x52f6('0x1c'),_0x52f6('0x1a')],_0x36f540);return _0x2773f7&&_0x34efe7;}(_0x339f44,this[_0x52f6('0x3')][_0x52f6('0x9')][_0x52f6('0x1')]));_0x4ab248=_0x3bb786(_0x4fc10c,_0x351535[_0x52f6('0x9')]);}else{const _0x353fab=Array[_0x52f6('0x16')](_0x5d0136[_0x52f6('0x8')]())[_0x52f6('0x17')](_0x2bdee0=>Ft(_0x2bdee0));_0x4ab248=_0x3bb786(_0x353fab,_0x351535[_0x52f6('0x9')]);}_0x351535['model'][_0x52f6('0x7')](()=>{for(const _0x10134a of _0x4ab248)_0x29e68c[_0x52f6('0x4')](_0x10134a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x341797}]});});}),_0x29e68c[_0x52f6('0x11')]['registerDescriptionCallback'](_0xffcc50=>{const {data:_0x1bc4c9}=_0xffcc50;if(_0x1bc4c9&&_0x52f6('0x1a')==_0x1bc4c9['commandName']){const _0x1ccdd7=_0x4e7c9c(_0x51c7a2,_0x52f6('0xb'));return _0x1bc4c9[_0x52f6('0x2')][0x0][_0x52f6('0x14')]?{'type':'format','content':_0x4e7c9c(_0x51c7a2,'*Format:*\x20%0',_0x1ccdd7)}:{'type':_0x52f6('0x5'),'content':_0x4e7c9c(_0x51c7a2,'*Remove\x20format:*\x20%0',_0x1ccdd7)};}});}}function Ft(_0x29b85c){return'blockQuote'==_0x29b85c[_0x52f6('0xa')][_0x52f6('0x18')];}
23
+ const _0x4eaa=['has','schema','from','_descriptionFactory','TrackChangesEditing','commands','selection','commandParams','get','blockQuote','name','locale','format','document','plugins','value','editor','*Format:*\x20%0','getSelectedBlocks','model','filter','change','checkChild','afterInit','forceValue'];(function(_0x23187e,_0x4eaabe){const _0x298c72=function(_0x365f17){while(--_0x365f17){_0x23187e['push'](_0x23187e['shift']());}};_0x298c72(++_0x4eaabe);}(_0x4eaa,0xf7));const _0x298c=function(_0x23187e,_0x4eaabe){_0x23187e=_0x23187e-0x0;let _0x298c72=_0x4eaa[_0x23187e];return _0x298c72;};import{Plugin as _0x37c2cb}from'ckeditor5/src/core';import{getTranslation as _0xb69dba}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x113fcf}from'../utils/utils';export default class O extends _0x37c2cb{[_0x298c('0x1')](){const _0x11717f=this[_0x298c('0x13')],_0x3df065=_0x11717f[_0x298c('0xe')];if(!_0x11717f['plugins'][_0x298c('0x3')]('BlockQuoteEditing'))return;const _0x36beaa=_0x11717f[_0x298c('0x11')]['get'](_0x298c('0x7')),_0x329a38=this[_0x298c('0x13')][_0x298c('0x8')][_0x298c('0xb')]('blockQuote');_0x36beaa['enableCommand'](_0x298c('0xc'),(_0x57f199,_0x3f8a79={})=>{const _0x36ed94=this[_0x298c('0x13')]['model'][_0x298c('0x10')][_0x298c('0x9')],_0x4df604=_0x3f8a79&&void 0x0!==_0x3f8a79[_0x298c('0x2')]?_0x3f8a79[_0x298c('0x2')]:!_0x329a38[_0x298c('0x12')];let _0x169612=[];if(_0x4df604){const _0x119130=Array[_0x298c('0x5')](_0x36ed94[_0x298c('0x15')]())[_0x298c('0x17')](_0x43d7d8=>Ft(_0x43d7d8)||function(_0x4d1fa8,_0x2c68fd){const _0x9601a5=_0x2c68fd[_0x298c('0x0')](_0x4d1fa8['parent'],_0x298c('0xc')),_0x3e8886=_0x2c68fd[_0x298c('0x0')](['$root',_0x298c('0xc')],_0x4d1fa8);return _0x9601a5&&_0x3e8886;}(_0x43d7d8,this[_0x298c('0x13')][_0x298c('0x16')][_0x298c('0x4')]));_0x169612=_0x113fcf(_0x119130,_0x11717f[_0x298c('0x16')]);}else{const _0x438db5=Array['from'](_0x36ed94[_0x298c('0x15')]())['filter'](_0x42ce33=>Ft(_0x42ce33));_0x169612=_0x113fcf(_0x438db5,_0x11717f[_0x298c('0x16')]);}_0x11717f[_0x298c('0x16')][_0x298c('0x18')](()=>{for(const _0x3e8c84 of _0x169612)_0x36beaa['markBlockFormat'](_0x3e8c84,{'commandName':_0x298c('0xc'),'commandParams':[{'forceValue':_0x4df604}]});});}),_0x36beaa[_0x298c('0x6')]['registerDescriptionCallback'](_0x79299e=>{const {data:_0x373837}=_0x79299e;if(_0x373837&&_0x298c('0xc')==_0x373837['commandName']){const _0x19b0e6=_0xb69dba(_0x3df065,'ELEMENT_BLOCK_QUOTE');return _0x373837[_0x298c('0xa')][0x0]['forceValue']?{'type':'format','content':_0xb69dba(_0x3df065,_0x298c('0x14'),_0x19b0e6)}:{'type':_0x298c('0xf'),'content':_0xb69dba(_0x3df065,'*Remove\x20format:*\x20%0',_0x19b0e6)};}});}}function Ft(_0x12b7f0){return'blockQuote'==_0x12b7f0['parent'][_0x298c('0xd')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad9=['get','ckbox','commands','enableCommand','editor'];(function(_0x363b8d,_0x4ad99f){const _0x5048d3=function(_0x4f9a9f){while(--_0x4f9a9f){_0x363b8d['push'](_0x363b8d['shift']());}};_0x5048d3(++_0x4ad99f);}(_0x4ad9,0x148));const _0x5048=function(_0x363b8d,_0x4ad99f){_0x363b8d=_0x363b8d-0x0;let _0x5048d3=_0x4ad9[_0x363b8d];return _0x5048d3;};import{Plugin as _0x1e1d88}from'ckeditor5/src/core';export default class P extends _0x1e1d88{['afterInit'](){const _0x2b0cba=this[_0x5048('0x1')];_0x2b0cba[_0x5048('0x4')]['get']('ckbox')&&_0x2b0cba['plugins'][_0x5048('0x2')]('TrackChangesEditing')[_0x5048('0x0')](_0x5048('0x3'));}}
23
+ const _0x5bdb=['editor','get','ckbox','plugins','afterInit','commands','TrackChangesEditing'];(function(_0x16b3a4,_0x5bdbb6){const _0x1958bc=function(_0x278420){while(--_0x278420){_0x16b3a4['push'](_0x16b3a4['shift']());}};_0x1958bc(++_0x5bdbb6);}(_0x5bdb,0xc3));const _0x1958=function(_0x16b3a4,_0x5bdbb6){_0x16b3a4=_0x16b3a4-0x0;let _0x1958bc=_0x5bdb[_0x16b3a4];return _0x1958bc;};import{Plugin as _0x57a205}from'ckeditor5/src/core';export default class P extends _0x57a205{[_0x1958('0x5')](){const _0x2a6ff3=this[_0x1958('0x1')];_0x2a6ff3[_0x1958('0x6')]['get']('ckbox')&&_0x2a6ff3[_0x1958('0x4')][_0x1958('0x2')](_0x1958('0x0'))['enableCommand'](_0x1958('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b57=['_descriptionFactory','value','filter','registerDescriptionCallback','has','commands','plugins','editor','registerElementLabel','blockName','TrackChangesEditing','formatBlock','indentCodeBlock','label','locale','enableCommand','schema','find','ELEMENT_CODE_BLOCK','model','format','commandName','*Format:*\x20%0','name','codeBlock','language','afterInit','rootElement','from','commandParams','getSelectedBlocks','CodeBlock','markBlockFormat','forceValue','document','change','get'];(function(_0x1599c4,_0x2b57de){const _0x252c99=function(_0x3e2dff){while(--_0x3e2dff){_0x1599c4['push'](_0x1599c4['shift']());}};_0x252c99(++_0x2b57de);}(_0x2b57,0xbe));const _0x252c=function(_0x1599c4,_0x2b57de){_0x1599c4=_0x1599c4-0x0;let _0x252c99=_0x2b57[_0x1599c4];return _0x252c99;};import{Plugin as _0x9f042b}from'ckeditor5/src/core';import{getTranslation as _0x2bb8be}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x386e67}from'../utils/utils';export default class G extends _0x9f042b{[_0x252c('0x15')](){const _0x2b036d=this[_0x252c('0x2')];if(!_0x2b036d[_0x252c('0x1')][_0x252c('0x24')](_0x252c('0x1a')))return;const _0x449703=_0x2b036d[_0x252c('0x1')][_0x252c('0x1f')](_0x252c('0x5')),_0x35c3ea=_0x2b036d[_0x252c('0x9')],_0x247999=_0x2b036d['config'][_0x252c('0x1f')](_0x252c('0x13'))['languages'],_0x48b2f8=_0x2b036d[_0x252c('0x0')][_0x252c('0x1f')](_0x252c('0x13'));_0x449703['enableCommand'](_0x252c('0x7')),_0x449703[_0x252c('0xa')]('outdentCodeBlock'),_0x449703[_0x252c('0xa')](_0x252c('0x13'),(_0x11daed,_0x75eb24={})=>{const _0x1cd87b=_0x2b036d['model'],_0x4b526e=_0x2b036d[_0x252c('0xe')][_0x252c('0x1d')]['selection'],_0x2a3d32=_0x75eb24&&void 0x0!==_0x75eb24[_0x252c('0x1c')]?_0x75eb24[_0x252c('0x1c')]:!_0x48b2f8[_0x252c('0x21')];let _0x43e063;_0x75eb24[_0x252c('0x14')]||(_0x75eb24['language']=_0x247999[0x0]['language']),_0x43e063=_0x2a3d32?Array[_0x252c('0x17')](_0x4b526e[_0x252c('0x19')]())['filter'](_0x4efb3b=>oo(_0x4efb3b)||function(_0x34a745,_0x5afbb7){if(_0x34a745['is'](_0x252c('0x16'))||_0x5afbb7['isLimit'](_0x34a745))return!0x1;return _0x5afbb7['checkChild'](_0x34a745['parent'],_0x252c('0x13'));}(_0x4efb3b,_0x1cd87b[_0x252c('0xb')])):Array[_0x252c('0x17')](_0x4b526e[_0x252c('0x19')]())[_0x252c('0x22')](_0x475a56=>oo(_0x475a56));const _0x4a04b0=_0x386e67(_0x43e063,_0x1cd87b);_0x1cd87b[_0x252c('0x1e')](()=>{for(const _0x29ec39 of _0x4a04b0)_0x449703[_0x252c('0x1b')](_0x29ec39,{'commandName':_0x252c('0x13'),'commandParams':[{..._0x75eb24,'forceValue':_0x2a3d32}],'formatGroupId':_0x252c('0x4')});});}),(_0x449703['_descriptionFactory'][_0x252c('0x3')](_0x252c('0x13'),_0x5bf278=>_0x2bb8be(_0x35c3ea,_0x252c('0xd'),_0x5bf278)),_0x449703[_0x252c('0x20')][_0x252c('0x23')](_0x5c7d40=>{const {type:_0x9f26e6,data:_0x2cd1e5}=_0x5c7d40;if(_0x252c('0x6')==_0x9f26e6&&_0x2cd1e5&&_0x252c('0x13')==_0x2cd1e5[_0x252c('0x10')]){const _0x38ce4c=_0x2cd1e5[_0x252c('0x18')][0x0][_0x252c('0x14')],_0x954e48=_0x247999[_0x252c('0xc')](_0xb22cb4=>_0xb22cb4[_0x252c('0x14')]===_0x38ce4c)[_0x252c('0x8')],_0x12bd1e=_0x35c3ea['_t'](_0x954e48);return _0x2cd1e5['commandParams'][0x0][_0x252c('0x1c')]?{'type':_0x252c('0xf'),'content':_0x2bb8be(_0x35c3ea,_0x252c('0x11'),_0x2bb8be(_0x35c3ea,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x12bd1e+')')}:{'type':'format','content':_0x2bb8be(_0x35c3ea,'*Remove\x20format:*\x20%0',_0x2bb8be(_0x35c3ea,_0x252c('0xd'),0x1))};}}));}}function oo(_0x5bce52){return'codeBlock'==_0x5bce52[_0x252c('0x12')];}
23
+ const _0x43ce=['registerElementLabel','locale','editor','label','codeBlock','registerDescriptionCallback','commandParams','outdentCodeBlock','*Format:*\x20%0','model','plugins','isLimit','format','commands','rootElement','change','ELEMENT_CODE_BLOCK','name','filter','*Remove\x20format:*\x20%0','formatBlock','forceValue','commandName','get','language','TrackChangesEditing','afterInit','from','selection','CodeBlock','parent','blockName','enableCommand','checkChild','has','_descriptionFactory','indentCodeBlock'];(function(_0x9103e5,_0x43cef5){const _0x510b39=function(_0x4dac0e){while(--_0x4dac0e){_0x9103e5['push'](_0x9103e5['shift']());}};_0x510b39(++_0x43cef5);}(_0x43ce,0x8a));const _0x510b=function(_0x9103e5,_0x43cef5){_0x9103e5=_0x9103e5-0x0;let _0x510b39=_0x43ce[_0x9103e5];return _0x510b39;};import{Plugin as _0x53ea26}from'ckeditor5/src/core';import{getTranslation as _0x50ad46}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x33967a}from'../utils/utils';export default class G extends _0x53ea26{[_0x510b('0x24')](){const _0xf3a8d4=this[_0x510b('0xc')];if(!_0xf3a8d4[_0x510b('0x14')][_0x510b('0x7')](_0x510b('0x2')))return;const _0x1a0036=_0xf3a8d4['plugins'][_0x510b('0x21')](_0x510b('0x23')),_0x5e288b=_0xf3a8d4[_0x510b('0xb')],_0x427124=_0xf3a8d4['config'][_0x510b('0x21')](_0x510b('0xe'))['languages'],_0x30a649=_0xf3a8d4[_0x510b('0x17')][_0x510b('0x21')](_0x510b('0xe'));_0x1a0036[_0x510b('0x5')](_0x510b('0x9')),_0x1a0036[_0x510b('0x5')](_0x510b('0x11')),_0x1a0036[_0x510b('0x5')](_0x510b('0xe'),(_0x316259,_0x37dce8={})=>{const _0x14ffe9=_0xf3a8d4[_0x510b('0x13')],_0x4261b9=_0xf3a8d4[_0x510b('0x13')]['document'][_0x510b('0x1')],_0x31a8f5=_0x37dce8&&void 0x0!==_0x37dce8[_0x510b('0x1f')]?_0x37dce8[_0x510b('0x1f')]:!_0x30a649['value'];let _0x2ef915;_0x37dce8[_0x510b('0x22')]||(_0x37dce8[_0x510b('0x22')]=_0x427124[0x0]['language']),_0x2ef915=_0x31a8f5?Array['from'](_0x4261b9['getSelectedBlocks']())[_0x510b('0x1c')](_0x3e8d83=>oo(_0x3e8d83)||function(_0x4b15a4,_0x594706){if(_0x4b15a4['is'](_0x510b('0x18'))||_0x594706[_0x510b('0x15')](_0x4b15a4))return!0x1;return _0x594706[_0x510b('0x6')](_0x4b15a4[_0x510b('0x3')],_0x510b('0xe'));}(_0x3e8d83,_0x14ffe9['schema'])):Array[_0x510b('0x0')](_0x4261b9['getSelectedBlocks']())['filter'](_0x2c05ef=>oo(_0x2c05ef));const _0x10fa85=_0x33967a(_0x2ef915,_0x14ffe9);_0x14ffe9[_0x510b('0x19')](()=>{for(const _0x38bd4a of _0x10fa85)_0x1a0036['markBlockFormat'](_0x38bd4a,{'commandName':_0x510b('0xe'),'commandParams':[{..._0x37dce8,'forceValue':_0x31a8f5}],'formatGroupId':_0x510b('0x4')});});}),(_0x1a0036[_0x510b('0x8')][_0x510b('0xa')](_0x510b('0xe'),_0x5eb23f=>_0x50ad46(_0x5e288b,_0x510b('0x1a'),_0x5eb23f)),_0x1a0036[_0x510b('0x8')][_0x510b('0xf')](_0x4a4091=>{const {type:_0x2ac131,data:_0x7e9cd7}=_0x4a4091;if(_0x510b('0x1e')==_0x2ac131&&_0x7e9cd7&&_0x510b('0xe')==_0x7e9cd7[_0x510b('0x20')]){const _0x2b4bfb=_0x7e9cd7[_0x510b('0x10')][0x0][_0x510b('0x22')],_0x3f1394=_0x427124['find'](_0x3e0c2c=>_0x3e0c2c[_0x510b('0x22')]===_0x2b4bfb)[_0x510b('0xd')],_0x52aed4=_0x5e288b['_t'](_0x3f1394);return _0x7e9cd7[_0x510b('0x10')][0x0][_0x510b('0x1f')]?{'type':_0x510b('0x16'),'content':_0x50ad46(_0x5e288b,_0x510b('0x12'),_0x50ad46(_0x5e288b,_0x510b('0x1a'),0x1)+'\x20('+_0x52aed4+')')}:{'type':_0x510b('0x16'),'content':_0x50ad46(_0x5e288b,_0x510b('0x1d'),_0x50ad46(_0x5e288b,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0xf4731c){return _0x510b('0xe')==_0xf4731c[_0x510b('0x1b')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x556c=['afterInit','editor','has','TrackChangesEditing','plugins'];(function(_0x197163,_0x556c3b){const _0x301058=function(_0x601e7f){while(--_0x601e7f){_0x197163['push'](_0x197163['shift']());}};_0x301058(++_0x556c3b);}(_0x556c,0xce));const _0x3010=function(_0x197163,_0x556c3b){_0x197163=_0x197163-0x0;let _0x301058=_0x556c[_0x197163];return _0x301058;};import{Plugin as _0x1f83a7}from'ckeditor5/src/core';export default class F extends _0x1f83a7{[_0x3010('0x4')](){const _0xc8d6db=this[_0x3010('0x0')];if(!_0xc8d6db['plugins'][_0x3010('0x1')]('CommentsEditing'))return;_0xc8d6db[_0x3010('0x3')]['get'](_0x3010('0x2'))['enableCommand']('addCommentThread');}}
23
+ const _0x1e5a=['plugins','get','CommentsEditing','editor','has','addCommentThread','enableCommand','TrackChangesEditing'];(function(_0x4e787d,_0x1e5ab0){const _0x278f57=function(_0x37eef7){while(--_0x37eef7){_0x4e787d['push'](_0x4e787d['shift']());}};_0x278f57(++_0x1e5ab0);}(_0x1e5a,0x1ad));const _0x278f=function(_0x4e787d,_0x1e5ab0){_0x4e787d=_0x4e787d-0x0;let _0x278f57=_0x1e5a[_0x4e787d];return _0x278f57;};import{Plugin as _0x1ca0c3}from'ckeditor5/src/core';export default class F extends _0x1ca0c3{['afterInit'](){const _0x2d60c4=this[_0x278f('0x6')];if(!_0x2d60c4['plugins'][_0x278f('0x7')](_0x278f('0x5')))return;_0x2d60c4[_0x278f('0x3')][_0x278f('0x4')](_0x278f('0x2'))[_0x278f('0x1')](_0x278f('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4daf=['delete','document','enableCommand','buffer','detach','setSelection','mapper','markerNameToElements','isCollapsed','deleteForward','enqueueChange','model','options','fromRange','commands','modifySelection','unlock','high','removeMarker:suggestion:deletion','end','remove','requires','createRange','showSuggestionHighlights','downcastDispatcher','unit','editing','start','rootName','addMarker:suggestion:deletion','plugins','data','createSelection','TrackChangesEditing','lock','get','writer','markerName','forward'];(function(_0x1f6f6c,_0x4dafc6){const _0x12554c=function(_0x25fd8f){while(--_0x25fd8f){_0x1f6f6c['push'](_0x1f6f6c['shift']());}};_0x12554c(++_0x4dafc6);}(_0x4daf,0xe8));const _0x1255=function(_0x1f6f6c,_0x4dafc6){_0x1f6f6c=_0x1f6f6c-0x0;let _0x12554c=_0x4daf[_0x1f6f6c];return _0x12554c;};import{Plugin as _0x445ee6}from'ckeditor5/src/core';import{Delete as _0x475ea2}from'ckeditor5/src/typing';import{LiveRange as _0x722a8}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x11f1c2}from'./utils';export default class L extends _0x445ee6{static get[_0x1255('0x17')](){return[_0x475ea2];}['init'](){const _0x6495c1=this['editor'],_0x6638e9=_0x6495c1[_0x1255('0x20')][_0x1255('0x25')](_0x1255('0x23'));_0x6638e9[_0x1255('0x4')](_0x1255('0x2'));const _0x1bbf96=_0x6495c1[_0x1255('0x10')][_0x1255('0x25')](_0x1255('0xb'));_0x6638e9[_0x1255('0x4')](_0x1255('0xb'),(_0x49e04f,_0x2dfa6b={})=>{const _0x293073=_0x6495c1['model'][_0x1255('0x22')](_0x6495c1[_0x1255('0xd')][_0x1255('0x3')]['selection']);_0x293073[_0x1255('0xa')]&&_0x6495c1['model'][_0x1255('0x11')](_0x293073,{'direction':_0x1255('0x1'),'unit':_0x2dfa6b[_0x1255('0x1b')]});const _0x317c70=_0x293073['getFirstRange'](),_0xdb741=_0x722a8[_0x1255('0xf')](_0x317c70);let _0x41dc1c;_0x49e04f(_0x2dfa6b),_0x41dc1c='$graveyard'==_0xdb741['root'][_0x1255('0x1e')]?_0x6495c1[_0x1255('0xd')][_0x1255('0x18')](_0x317c70[_0x1255('0x1d')]):_0x6495c1[_0x1255('0xd')][_0x1255('0x18')](_0xdb741['start'],_0xdb741[_0x1255('0x15')]),_0xdb741[_0x1255('0x6')](),_0x6495c1[_0x1255('0xd')][_0x1255('0xc')](_0x1bbf96[_0x1255('0x5')]['batch'],_0x52b3f4=>{_0x1bbf96[_0x1255('0x5')][_0x1255('0x24')](),_0x52b3f4[_0x1255('0x7')](_0x52b3f4[_0x1255('0x18')](_0x41dc1c['end'])),_0x1bbf96['buffer'][_0x1255('0x12')]();});}),_0x6495c1[_0x1255('0x1c')][_0x1255('0x1a')]['on'](_0x1255('0x1f'),_0x11f1c2(_0x6495c1,'merge'),{'priority':_0x1255('0x13')}),_0x6495c1[_0x1255('0x21')][_0x1255('0x1a')]['on'](_0x1255('0x1f'),(_0x52a082,_0x471dde,_0x19d522)=>{_0x19d522[_0x1255('0xe')][_0x1255('0x19')]&&_0x11f1c2(_0x6495c1,'merge',{'showActiveMarker':!0x1})(_0x52a082,_0x471dde,_0x19d522);},{'priority':_0x1255('0x13')}),_0x6495c1[_0x1255('0x1c')][_0x1255('0x1a')]['on'](_0x1255('0x14'),(_0x5369b9,_0x39389b,_0x2dd148)=>{const _0x177380=_0x2dd148[_0x1255('0x8')][_0x1255('0x9')](_0x39389b[_0x1255('0x0')]);if(_0x177380)for(const _0x580d23 of _0x177380)_0x580d23['is']('uiElement')&&(_0x2dd148[_0x1255('0x8')]['unbindElementFromMarkerName'](_0x580d23,_0x39389b[_0x1255('0x0')]),_0x2dd148[_0x1255('0x26')][_0x1255('0x16')](_0x580d23));},{'priority':_0x1255('0x13')});}}
23
+ const _0x5d4f=['merge','batch','high','model','writer','enableCommand','modifySelection','showSuggestionHighlights','getFirstRange','unit','editing','enqueueChange','removeMarker:suggestion:deletion','createSelection','downcastDispatcher','commands','addMarker:suggestion:deletion','createRange','markerName','setSelection','lock','get','selection','detach','isCollapsed','data','document','end','mapper','deleteForward','delete','remove','buffer','markerNameToElements','unbindElementFromMarkerName','TrackChangesEditing'];(function(_0x3d72ec,_0x5d4f74){const _0x4a4636=function(_0x5deb22){while(--_0x5deb22){_0x3d72ec['push'](_0x3d72ec['shift']());}};_0x4a4636(++_0x5d4f74);}(_0x5d4f,0x166));const _0x4a46=function(_0x3d72ec,_0x5d4f74){_0x3d72ec=_0x3d72ec-0x0;let _0x4a4636=_0x5d4f[_0x3d72ec];return _0x4a4636;};import{Plugin as _0x48863e}from'ckeditor5/src/core';import{Delete as _0x2023b5}from'ckeditor5/src/typing';import{LiveRange as _0xcdb73}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2f43a1}from'./utils';export default class L extends _0x48863e{static get['requires'](){return[_0x2023b5];}['init'](){const _0x2906b2=this['editor'],_0x47d8d1=_0x2906b2['plugins'][_0x4a46('0x17')](_0x4a46('0x1'));_0x47d8d1[_0x4a46('0x7')](_0x4a46('0x20'));const _0x3c67c3=_0x2906b2[_0x4a46('0x11')][_0x4a46('0x17')](_0x4a46('0x1f'));_0x47d8d1[_0x4a46('0x7')](_0x4a46('0x1f'),(_0x2c7334,_0xc18467={})=>{const _0x1c09f0=_0x2906b2[_0x4a46('0x5')][_0x4a46('0xf')](_0x2906b2[_0x4a46('0x5')][_0x4a46('0x1c')][_0x4a46('0x18')]);_0x1c09f0[_0x4a46('0x1a')]&&_0x2906b2[_0x4a46('0x5')][_0x4a46('0x8')](_0x1c09f0,{'direction':'forward','unit':_0xc18467[_0x4a46('0xb')]});const _0x11e2d4=_0x1c09f0[_0x4a46('0xa')](),_0x160214=_0xcdb73['fromRange'](_0x11e2d4);let _0x43f32f;_0x2c7334(_0xc18467),_0x43f32f='$graveyard'==_0x160214['root']['rootName']?_0x2906b2[_0x4a46('0x5')][_0x4a46('0x13')](_0x11e2d4['start']):_0x2906b2[_0x4a46('0x5')]['createRange'](_0x160214['start'],_0x160214[_0x4a46('0x1d')]),_0x160214[_0x4a46('0x19')](),_0x2906b2[_0x4a46('0x5')][_0x4a46('0xd')](_0x3c67c3[_0x4a46('0x22')][_0x4a46('0x3')],_0x2d3e07=>{_0x3c67c3[_0x4a46('0x22')][_0x4a46('0x16')](),_0x2d3e07[_0x4a46('0x15')](_0x2d3e07['createRange'](_0x43f32f[_0x4a46('0x1d')])),_0x3c67c3[_0x4a46('0x22')]['unlock']();});}),_0x2906b2[_0x4a46('0xc')]['downcastDispatcher']['on'](_0x4a46('0x12'),_0x2f43a1(_0x2906b2,_0x4a46('0x2')),{'priority':'high'}),_0x2906b2[_0x4a46('0x1b')][_0x4a46('0x10')]['on'](_0x4a46('0x12'),(_0x1b8e39,_0x1b5587,_0x4dcebc)=>{_0x4dcebc['options'][_0x4a46('0x9')]&&_0x2f43a1(_0x2906b2,_0x4a46('0x2'),{'showActiveMarker':!0x1})(_0x1b8e39,_0x1b5587,_0x4dcebc);},{'priority':'high'}),_0x2906b2[_0x4a46('0xc')][_0x4a46('0x10')]['on'](_0x4a46('0xe'),(_0x3d69a0,_0x45efce,_0x1e352d)=>{const _0x15fcf=_0x1e352d[_0x4a46('0x1e')][_0x4a46('0x23')](_0x45efce[_0x4a46('0x14')]);if(_0x15fcf)for(const _0x139a29 of _0x15fcf)_0x139a29['is']('uiElement')&&(_0x1e352d[_0x4a46('0x1e')][_0x4a46('0x0')](_0x139a29,_0x45efce[_0x4a46('0x14')]),_0x1e352d[_0x4a46('0x6')][_0x4a46('0x21')](_0x139a29));},{'priority':_0x4a46('0x4')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a2=['*Format:*\x20remove\x20from\x20%0','registerElementLabel','afterInit','commandName','bulletedList','outdentList','commandParams','listIndent','markBlockFormat','ELEMENT_LIST_ITEM','*Indent:*\x20%0','has','model','indentList','slice','get','format','hasAttribute','previousSibling','forceValue','document','getAttribute','schema','registerDescriptionCallback','getSelectedBlocks','numberedList','splitListItemBefore','*Outdent:*\x20%0','selection','listType','listItemId','DocumentListEditing','filter','push','ELEMENT_NUMBERED_LIST','editor','length','end','_descriptionFactory','add','before','ELEMENT_BULLETED_LIST','*Format:*\x20insert\x20into\x20%0','findIndex','locale','TrackChangesEditing','value','createPositionAt','nextSibling','commands','plugins','from','enableCommand','change'];(function(_0x4ccde3,_0x36a25f){const _0x24f441=function(_0x548049){while(--_0x548049){_0x4ccde3['push'](_0x4ccde3['shift']());}};_0x24f441(++_0x36a25f);}(_0x36a2,0x1a6));const _0x24f4=function(_0x4ccde3,_0x36a25f){_0x4ccde3=_0x4ccde3-0x0;let _0x24f441=_0x36a2[_0x4ccde3];return _0x24f441;};import{Plugin as _0x268d48}from'ckeditor5/src/core';import{getTranslation as _0x267f99}from'../utils/common-translations';export default class q extends _0x268d48{[_0x24f4('0xc')](){const _0x568ffa=this[_0x24f4('0x2d')];if(!_0x568ffa[_0x24f4('0x6')][_0x24f4('0x15')](_0x24f4('0x29')))return;const _0x136945=_0x568ffa[_0x24f4('0x0')],_0x349019=_0x568ffa[_0x24f4('0x6')][_0x24f4('0x19')](_0x24f4('0x1'));function _0x579bd4(_0x3fe125){return()=>{const _0x309576=_0x568ffa[_0x24f4('0x16')][_0x24f4('0x1e')]['selection'],_0x3d5e78=_0x568ffa[_0x24f4('0x5')][_0x24f4('0x19')](_0x3fe125);if(_0x3d5e78['value']){const _0x1b3d94=_0x309576[_0x24f4('0x22')]();return void _0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{for(const _0x5909c4 of _0x1b3d94)_0x349019['markBlockFormat'](_0x5909c4,{'commandName':_0x3fe125,'commandParams':[{'forceValue':!_0x3d5e78['value']}],'formatGroupId':_0x24f4('0x27')});});}const _0x5ce9fe=_0x3fe125[_0x24f4('0x18')](0x0,-0x4),_0x381a2d=function(_0x4a51fb,_0x438025,_0x555584){let _0x5a0666=Array['from'](_0x4a51fb)['filter'](_0x56c3ed=>function(_0x252fc3,_0x4e4a53){return _0x4e4a53['checkAttribute'](_0x252fc3,_0x24f4('0x28'));}(_0x56c3ed,_0x555584));_0x5a0666=_0x5a0666[_0x24f4('0x2a')](_0x5bdb29=>!_0x5bdb29[_0x24f4('0x1b')](_0x24f4('0x28'))||_0x5bdb29[_0x24f4('0x1f')](_0x24f4('0x27'))!==_0x438025);const _0x3501a8=new Set();for(const _0x51b2a7 of _0x5a0666)_0x51b2a7[_0x24f4('0x1b')](_0x24f4('0x28'))?_0x3501a8[_0x24f4('0x31')](Pt(_0x51b2a7)):_0x3501a8[_0x24f4('0x31')](_0x51b2a7);return Array['from'](_0x3501a8);}(_0x309576[_0x24f4('0x22')](),_0x5ce9fe,_0x568ffa[_0x24f4('0x16')][_0x24f4('0x20')]);_0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{for(const _0x5c8ab3 of _0x381a2d)_0x349019['markBlockFormat'](_0x5c8ab3,{'commandName':_0x3fe125,'commandParams':[{'forceValue':!_0x3d5e78[_0x24f4('0x2')]}],'formatGroupId':_0x24f4('0x27')},Gt(_0x5c8ab3));});};}function _0x47e990(_0x114d6b){return()=>{const _0x4c11f2=function(_0x48a50f){const _0x11b5f7=(_0x48a50f=Array['from'](_0x48a50f))[_0x24f4('0x35')](_0x3943d6=>!_0x3943d6[_0x24f4('0x1b')](_0x24f4('0x28')));return _0x11b5f7>-0x1&&(_0x48a50f=_0x48a50f[_0x24f4('0x18')](0x0,_0x11b5f7)),_0x48a50f;}(_0x568ffa[_0x24f4('0x16')][_0x24f4('0x1e')][_0x24f4('0x26')][_0x24f4('0x22')]()),_0x167364=_0x568ffa[_0x24f4('0x16')]['createRange'](_0x568ffa[_0x24f4('0x16')]['createPositionAt'](_0x4c11f2[0x0],_0x24f4('0x32')),_0x568ffa[_0x24f4('0x16')][_0x24f4('0x3')](_0x4c11f2[_0x4c11f2[_0x24f4('0x2e')]-0x1],_0x24f4('0x2f')));_0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{_0x349019[_0x24f4('0x12')](_0x167364,{'commandName':_0x114d6b,'commandParams':[],'formatGroupId':'listIndent'},function(_0x177aaa){const _0x22aa91=new Set();for(const _0x4501e2 of _0x177aaa){let _0x4f43c9=_0x4501e2['nextSibling'];for(;_0x4f43c9&&_0x4f43c9[_0x24f4('0x1f')](_0x24f4('0x11'))>_0x4501e2['getAttribute'](_0x24f4('0x11'));)_0x22aa91[_0x24f4('0x31')](_0x4f43c9),_0x4f43c9=_0x4f43c9[_0x24f4('0x4')];}return Array[_0x24f4('0x7')](_0x22aa91);}(_0x4c11f2));});};}_0x349019[_0x24f4('0x8')]('numberedList',_0x579bd4(_0x24f4('0x23'))),_0x349019[_0x24f4('0x8')](_0x24f4('0xe'),_0x579bd4(_0x24f4('0xe'))),_0x349019[_0x24f4('0x8')]('indentList',_0x47e990(_0x24f4('0x17'))),_0x349019['enableCommand'](_0x24f4('0xf'),_0x47e990(_0x24f4('0xf'))),_0x349019['enableCommand']('splitListItemAfter'),_0x349019[_0x24f4('0x8')](_0x24f4('0x24')),_0x349019[_0x24f4('0x30')][_0x24f4('0xb')](_0x2df12d=>!_0x568ffa['model']['schema']['isObject'](_0x2df12d)&&_0x2df12d['hasAttribute']('listItemId'),_0x43a65d=>_0x267f99(_0x136945,_0x24f4('0x13'),_0x43a65d)),_0x349019['_descriptionFactory'][_0x24f4('0x21')](_0xb88bc=>{const {data:_0x415ef6}=_0xb88bc;if(!_0x415ef6)return;let _0x4fa5b7,_0x504614,_0x53e65a;switch(_0x415ef6[_0x24f4('0xd')]){case _0x24f4('0xe'):_0x53e65a=_0x415ef6[_0x24f4('0x10')][0x0][_0x24f4('0x1d')],_0x4fa5b7=_0x53e65a?_0x24f4('0x34'):_0x24f4('0xa'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x33')))};break;case _0x24f4('0x23'):_0x53e65a=_0x415ef6[_0x24f4('0x10')][0x0][_0x24f4('0x1d')],_0x4fa5b7=_0x53e65a?_0x24f4('0x34'):_0x24f4('0xa'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x2c')))};break;case _0x24f4('0x17'):_0x4fa5b7=_0x24f4('0x14'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x13')))};break;case'outdentList':_0x4fa5b7=_0x24f4('0x25'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x13')))};}return _0x504614;});}}function Gt(_0x2f696d){const _0x2625c8=[];if(_0x2f696d[_0x24f4('0x1b')](_0x24f4('0x28'))&&_0x2f696d[_0x24f4('0x1f')]('listIndent')>0x0){let _0x2ab62b=_0x2f696d['nextSibling'];for(;_0x2ab62b&&_0x2ab62b[_0x24f4('0x1b')]('listItemId')&&_0x2ab62b[_0x24f4('0x1f')]('listIndent')===_0x2f696d['getAttribute'](_0x24f4('0x11'));)_0x2625c8[_0x24f4('0x2b')](_0x2ab62b),_0x2ab62b=_0x2ab62b[_0x24f4('0x4')];}return _0x2625c8;}function Pt(_0x463195){const _0x1671a5=_0x463195[_0x24f4('0x1f')]('listIndent');if(0x0==_0x1671a5)return _0x463195;let _0x9f0c09=_0x463195;for(;_0x463195['previousSibling']&&_0x463195[_0x24f4('0x1b')](_0x24f4('0x28'));){const _0x3b0271=_0x463195[_0x24f4('0x1c')][_0x24f4('0x1f')](_0x24f4('0x11'));if(_0x3b0271==_0x1671a5)_0x9f0c09=_0x463195[_0x24f4('0x1c')];else{if(_0x3b0271<_0x1671a5)break;}_0x463195=_0x463195[_0x24f4('0x1c')];}return _0x9f0c09;}
23
+ const _0x5a64=['splitListItemBefore','listIndent','ELEMENT_BULLETED_LIST','numberedList','createRange','afterInit','listType','enableCommand','schema','outdentList','indentList','*Outdent:*\x20%0','end','change','listItemId','document','editor','bulletedList','commandName','*Format:*\x20remove\x20from\x20%0','forceValue','markBlockFormat','plugins','slice','nextSibling','filter','ELEMENT_LIST_ITEM','length','from','previousSibling','value','getSelectedBlocks','model','ELEMENT_NUMBERED_LIST','get','splitListItemAfter','hasAttribute','createPositionAt','registerElementLabel','has','isObject','getAttribute','commandParams','commands','locale','_descriptionFactory','selection','format','add','*Format:*\x20insert\x20into\x20%0'];(function(_0x586069,_0x5a6467){const _0xeaf632=function(_0x54922d){while(--_0x54922d){_0x586069['push'](_0x586069['shift']());}};_0xeaf632(++_0x5a6467);}(_0x5a64,0x1d7));const _0xeaf6=function(_0x586069,_0x5a6467){_0x586069=_0x586069-0x0;let _0xeaf632=_0x5a64[_0x586069];return _0xeaf632;};import{Plugin as _0x5b5b8d}from'ckeditor5/src/core';import{getTranslation as _0x40978a}from'../utils/common-translations';export default class q extends _0x5b5b8d{[_0xeaf6('0x22')](){const _0x22f0e3=this[_0xeaf6('0x2d')];if(!_0x22f0e3['plugins'][_0xeaf6('0x12')]('DocumentListEditing'))return;const _0x3b6a57=_0x22f0e3[_0xeaf6('0x17')],_0x1f60ad=_0x22f0e3[_0xeaf6('0x1')][_0xeaf6('0xd')]('TrackChangesEditing');function _0x48deb3(_0x50f945){return()=>{const _0x5c882d=_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x2c')][_0xeaf6('0x19')],_0x4e39cb=_0x22f0e3[_0xeaf6('0x16')][_0xeaf6('0xd')](_0x50f945);if(_0x4e39cb['value']){const _0x1692f4=_0x5c882d[_0xeaf6('0xa')]();return void _0x22f0e3['model'][_0xeaf6('0x2a')](()=>{for(const _0x5f59cf of _0x1692f4)_0x1f60ad['markBlockFormat'](_0x5f59cf,{'commandName':_0x50f945,'commandParams':[{'forceValue':!_0x4e39cb[_0xeaf6('0x9')]}],'formatGroupId':'listType'});});}const _0x3f5a10=_0x50f945[_0xeaf6('0x2')](0x0,-0x4),_0x309743=function(_0x249368,_0x197cf2,_0x414c7d){let _0x3dfa7a=Array[_0xeaf6('0x7')](_0x249368)['filter'](_0xeab8b2=>function(_0x3a807b,_0x27a8cc){return _0x27a8cc['checkAttribute'](_0x3a807b,_0xeaf6('0x2b'));}(_0xeab8b2,_0x414c7d));_0x3dfa7a=_0x3dfa7a[_0xeaf6('0x4')](_0x4ba08b=>!_0x4ba08b[_0xeaf6('0xf')]('listItemId')||_0x4ba08b[_0xeaf6('0x14')](_0xeaf6('0x23'))!==_0x197cf2);const _0x4dee32=new Set();for(const _0x1372ef of _0x3dfa7a)_0x1372ef[_0xeaf6('0xf')](_0xeaf6('0x2b'))?_0x4dee32[_0xeaf6('0x1b')](Pt(_0x1372ef)):_0x4dee32[_0xeaf6('0x1b')](_0x1372ef);return Array[_0xeaf6('0x7')](_0x4dee32);}(_0x5c882d['getSelectedBlocks'](),_0x3f5a10,_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x25')]);_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x2a')](()=>{for(const _0x1f6815 of _0x309743)_0x1f60ad[_0xeaf6('0x0')](_0x1f6815,{'commandName':_0x50f945,'commandParams':[{'forceValue':!_0x4e39cb['value']}],'formatGroupId':'listType'},Gt(_0x1f6815));});};}function _0x9f8f1d(_0x38fa37){return()=>{const _0x79f513=function(_0x408e15){const _0x2f908e=(_0x408e15=Array[_0xeaf6('0x7')](_0x408e15))['findIndex'](_0x43dd4b=>!_0x43dd4b[_0xeaf6('0xf')](_0xeaf6('0x2b')));return _0x2f908e>-0x1&&(_0x408e15=_0x408e15['slice'](0x0,_0x2f908e)),_0x408e15;}(_0x22f0e3[_0xeaf6('0xb')]['document'][_0xeaf6('0x19')][_0xeaf6('0xa')]()),_0x559a38=_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x21')](_0x22f0e3[_0xeaf6('0xb')][_0xeaf6('0x10')](_0x79f513[0x0],'before'),_0x22f0e3['model']['createPositionAt'](_0x79f513[_0x79f513[_0xeaf6('0x6')]-0x1],_0xeaf6('0x29')));_0x22f0e3['model']['change'](()=>{_0x1f60ad[_0xeaf6('0x0')](_0x559a38,{'commandName':_0x38fa37,'commandParams':[],'formatGroupId':_0xeaf6('0x1e')},function(_0x4f9b37){const _0x12d826=new Set();for(const _0x5a6ff0 of _0x4f9b37){let _0xeef9d3=_0x5a6ff0['nextSibling'];for(;_0xeef9d3&&_0xeef9d3['getAttribute'](_0xeaf6('0x1e'))>_0x5a6ff0[_0xeaf6('0x14')]('listIndent');)_0x12d826[_0xeaf6('0x1b')](_0xeef9d3),_0xeef9d3=_0xeef9d3['nextSibling'];}return Array[_0xeaf6('0x7')](_0x12d826);}(_0x79f513));});};}_0x1f60ad['enableCommand'](_0xeaf6('0x20'),_0x48deb3(_0xeaf6('0x20'))),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0x2e'),_0x48deb3(_0xeaf6('0x2e'))),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0x27'),_0x9f8f1d('indentList')),_0x1f60ad['enableCommand'](_0xeaf6('0x26'),_0x9f8f1d(_0xeaf6('0x26'))),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0xe')),_0x1f60ad[_0xeaf6('0x24')](_0xeaf6('0x1d')),_0x1f60ad[_0xeaf6('0x18')][_0xeaf6('0x11')](_0x363c81=>!_0x22f0e3['model'][_0xeaf6('0x25')][_0xeaf6('0x13')](_0x363c81)&&_0x363c81[_0xeaf6('0xf')](_0xeaf6('0x2b')),_0x2d2892=>_0x40978a(_0x3b6a57,'ELEMENT_LIST_ITEM',_0x2d2892)),_0x1f60ad[_0xeaf6('0x18')]['registerDescriptionCallback'](_0x1b07df=>{const {data:_0x3bad78}=_0x1b07df;if(!_0x3bad78)return;let _0x39f7f1,_0x2abb6d,_0xe91276;switch(_0x3bad78[_0xeaf6('0x2f')]){case _0xeaf6('0x2e'):_0xe91276=_0x3bad78[_0xeaf6('0x15')][0x0]['forceValue'],_0x39f7f1=_0xe91276?_0xeaf6('0x1c'):_0xeaf6('0x30'),_0x2abb6d={'type':'format','content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,_0xeaf6('0x1f')))};break;case'numberedList':_0xe91276=_0x3bad78[_0xeaf6('0x15')][0x0][_0xeaf6('0x31')],_0x39f7f1=_0xe91276?_0xeaf6('0x1c'):_0xeaf6('0x30'),_0x2abb6d={'type':_0xeaf6('0x1a'),'content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,_0xeaf6('0xc')))};break;case _0xeaf6('0x27'):_0x39f7f1='*Indent:*\x20%0',_0x2abb6d={'type':'format','content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,_0xeaf6('0x5')))};break;case'outdentList':_0x39f7f1=_0xeaf6('0x28'),_0x2abb6d={'type':_0xeaf6('0x1a'),'content':_0x40978a(_0x3b6a57,_0x39f7f1,_0x40978a(_0x3b6a57,'ELEMENT_LIST_ITEM'))};}return _0x2abb6d;});}}function Gt(_0x4def23){const _0x7b2782=[];if(_0x4def23['hasAttribute']('listItemId')&&_0x4def23[_0xeaf6('0x14')](_0xeaf6('0x1e'))>0x0){let _0x23d0c6=_0x4def23[_0xeaf6('0x3')];for(;_0x23d0c6&&_0x23d0c6[_0xeaf6('0xf')](_0xeaf6('0x2b'))&&_0x23d0c6['getAttribute']('listIndent')===_0x4def23['getAttribute'](_0xeaf6('0x1e'));)_0x7b2782['push'](_0x23d0c6),_0x23d0c6=_0x23d0c6['nextSibling'];}return _0x7b2782;}function Pt(_0x24dc9c){const _0x3cb1a1=_0x24dc9c['getAttribute'](_0xeaf6('0x1e'));if(0x0==_0x3cb1a1)return _0x24dc9c;let _0x3c4f45=_0x24dc9c;for(;_0x24dc9c[_0xeaf6('0x8')]&&_0x24dc9c[_0xeaf6('0xf')](_0xeaf6('0x2b'));){const _0x6dfc8b=_0x24dc9c['previousSibling']['getAttribute'](_0xeaf6('0x1e'));if(_0x6dfc8b==_0x3cb1a1)_0x3c4f45=_0x24dc9c[_0xeaf6('0x8')];else{if(_0x6dfc8b<_0x3cb1a1)break;}_0x24dc9c=_0x24dc9c[_0xeaf6('0x8')];}return _0x3c4f45;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3449=['requires','markerName','markInsertion','setSelection','mapper','document','TrackChangesEditing','nextSibling','editor','isLimit','plugins','addMarker:suggestion:insertion','enableCommand','high','end','isAtEnd','getFirstPosition','ck-suggestion-marker-split','hasClass','split','options','isCollapsed','downcastDispatcher','selection','unbindElementFromMarkerName','parent','init','start','detach','model','data','change','isAtStart','editing','writer','getFirstRange','schema'];(function(_0x19f8cc,_0x344925){const _0x496c33=function(_0x2c7a07){while(--_0x2c7a07){_0x19f8cc['push'](_0x19f8cc['shift']());}};_0x496c33(++_0x344925);}(_0x3449,0xd1));const _0x496c=function(_0x19f8cc,_0x344925){_0x19f8cc=_0x19f8cc-0x0;let _0x496c33=_0x3449[_0x19f8cc];return _0x496c33;};import{Plugin as _0x3fed90}from'ckeditor5/src/core';import{Enter as _0x434590}from'ckeditor5/src/enter';import{LiveRange as _0x2200b2}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2f96d9}from'./utils';export default class H extends _0x3fed90{static get[_0x496c('0xd')](){return[_0x434590];}[_0x496c('0x2')](){const _0x2b0a03=this[_0x496c('0x15')],_0x5094eb=_0x2b0a03[_0x496c('0x17')]['get'](_0x496c('0x13'));_0x5094eb[_0x496c('0x19')]('enter',_0x29804b=>{_0x2b0a03['model'][_0x496c('0x7')](_0xafd79d=>{const _0x10467c=_0x2b0a03[_0x496c('0x5')][_0x496c('0x12')][_0x496c('0x24')],_0x13c406=_0x10467c[_0x496c('0x1d')](),_0x23769b=_0x10467c[_0x496c('0x22')],_0x2a2201=_0x2200b2['fromRange'](_0x10467c[_0x496c('0xb')]()),_0x5cd32c=_0x2a2201[_0x496c('0x3')][_0x496c('0x1')],_0x5a67a2=_0x2a2201[_0x496c('0x1b')][_0x496c('0x1')],_0x2eea92=!(_0x2a2201[_0x496c('0x3')][_0x496c('0x8')]&&_0x2a2201[_0x496c('0x1b')][_0x496c('0x1c')]),_0x18d1e2=_0x5cd32c==_0x5a67a2,_0x182419=!(_0x2b0a03[_0x496c('0x5')][_0x496c('0xc')][_0x496c('0x16')](_0x5cd32c)||_0x2b0a03[_0x496c('0x5')][_0x496c('0xc')][_0x496c('0x16')](_0x5a67a2))&&(_0x23769b||_0x2eea92&&_0x18d1e2);if(_0x29804b(),_0x182419){const _0x4b9c5d=_0x2b0a03[_0x496c('0x5')]['createPositionAt'](_0x13c406['parent'][_0x496c('0x14')],0x0),_0x1e54b2=_0xafd79d['createRange'](_0x13c406,_0x4b9c5d);_0x5094eb[_0x496c('0xf')](_0x1e54b2);}else _0xafd79d[_0x496c('0x10')](_0xafd79d['createRange'](_0x2a2201['end']));_0x2a2201[_0x496c('0x4')]();});}),_0x2b0a03[_0x496c('0x9')][_0x496c('0x23')]['on'](_0x496c('0x18'),_0x2f96d9(_0x2b0a03,_0x496c('0x20')),{'priority':'high'}),_0x2b0a03[_0x496c('0x9')][_0x496c('0x23')]['on']('removeMarker:suggestion:insertion',(_0x3b34c4,_0x4c2003,_0x553ad3)=>{const _0x5c2126=_0x553ad3['mapper']['markerNameToElements'](_0x4c2003[_0x496c('0xe')]);if(_0x5c2126)for(const _0x137d00 of _0x5c2126)_0x137d00[_0x496c('0x1f')](_0x496c('0x1e'))&&(_0x553ad3[_0x496c('0x11')][_0x496c('0x0')](_0x137d00,_0x4c2003[_0x496c('0xe')]),_0x553ad3[_0x496c('0xa')]['remove'](_0x137d00));},{'priority':_0x496c('0x1a')}),_0x2b0a03[_0x496c('0x6')][_0x496c('0x23')]['on'](_0x496c('0x18'),(_0x48f810,_0x1429c8,_0x5b4ea2)=>{_0x5b4ea2[_0x496c('0x21')]['showSuggestionHighlights']&&_0x2f96d9(_0x2b0a03,_0x496c('0x20'),{'showActiveMarker':!0x1})(_0x48f810,_0x1429c8,_0x5b4ea2);},{'priority':_0x496c('0x1a')});}}
23
+ const _0x482a=['nextSibling','markerName','plugins','createRange','markInsertion','enter','mapper','high','getFirstRange','selection','removeMarker:suggestion:insertion','isLimit','remove','parent','schema','detach','isAtEnd','data','start','model','end','TrackChangesEditing','addMarker:suggestion:insertion','unbindElementFromMarkerName','writer','editing','change','options','downcastDispatcher','document','split','enableCommand','get','editor','markerNameToElements','isCollapsed','createPositionAt'];(function(_0x591a20,_0x482a7c){const _0x6ed273=function(_0x1a36e7){while(--_0x1a36e7){_0x591a20['push'](_0x591a20['shift']());}};_0x6ed273(++_0x482a7c);}(_0x482a,0x1da));const _0x6ed2=function(_0x591a20,_0x482a7c){_0x591a20=_0x591a20-0x0;let _0x6ed273=_0x482a[_0x591a20];return _0x6ed273;};import{Plugin as _0x5543c7}from'ckeditor5/src/core';import{Enter as _0x4337f0}from'ckeditor5/src/enter';import{LiveRange as _0x55c1af}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1e0249}from'./utils';export default class H extends _0x5543c7{static get['requires'](){return[_0x4337f0];}['init'](){const _0x339ca5=this[_0x6ed2('0x3')],_0x2c0d9b=_0x339ca5[_0x6ed2('0x9')][_0x6ed2('0x2')](_0x6ed2('0x1c'));_0x2c0d9b[_0x6ed2('0x1')](_0x6ed2('0xc'),_0x44f294=>{_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x21')](_0x63663d=>{const _0x19609d=_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x24')][_0x6ed2('0x10')],_0x29b9ca=_0x19609d['getFirstPosition'](),_0x49ba98=_0x19609d[_0x6ed2('0x5')],_0x16dfb1=_0x55c1af['fromRange'](_0x19609d[_0x6ed2('0xf')]()),_0x49c662=_0x16dfb1[_0x6ed2('0x19')][_0x6ed2('0x14')],_0x1c5cb0=_0x16dfb1['end']['parent'],_0x32a8c2=!(_0x16dfb1[_0x6ed2('0x19')]['isAtStart']&&_0x16dfb1[_0x6ed2('0x1b')][_0x6ed2('0x17')]),_0x19ae8c=_0x49c662==_0x1c5cb0,_0x2df0ec=!(_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x15')][_0x6ed2('0x12')](_0x49c662)||_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x15')][_0x6ed2('0x12')](_0x1c5cb0))&&(_0x49ba98||_0x32a8c2&&_0x19ae8c);if(_0x44f294(),_0x2df0ec){const _0x59153f=_0x339ca5[_0x6ed2('0x1a')][_0x6ed2('0x6')](_0x29b9ca['parent'][_0x6ed2('0x7')],0x0),_0x327070=_0x63663d[_0x6ed2('0xa')](_0x29b9ca,_0x59153f);_0x2c0d9b[_0x6ed2('0xb')](_0x327070);}else _0x63663d['setSelection'](_0x63663d[_0x6ed2('0xa')](_0x16dfb1[_0x6ed2('0x1b')]));_0x16dfb1[_0x6ed2('0x16')]();});}),_0x339ca5[_0x6ed2('0x20')][_0x6ed2('0x23')]['on'](_0x6ed2('0x1d'),_0x1e0249(_0x339ca5,_0x6ed2('0x0')),{'priority':_0x6ed2('0xe')}),_0x339ca5[_0x6ed2('0x20')][_0x6ed2('0x23')]['on'](_0x6ed2('0x11'),(_0x21b333,_0x55a3ed,_0x886fa4)=>{const _0x16aa44=_0x886fa4[_0x6ed2('0xd')][_0x6ed2('0x4')](_0x55a3ed[_0x6ed2('0x8')]);if(_0x16aa44)for(const _0x525c10 of _0x16aa44)_0x525c10['hasClass']('ck-suggestion-marker-split')&&(_0x886fa4[_0x6ed2('0xd')][_0x6ed2('0x1e')](_0x525c10,_0x55a3ed[_0x6ed2('0x8')]),_0x886fa4[_0x6ed2('0x1f')][_0x6ed2('0x13')](_0x525c10));},{'priority':'high'}),_0x339ca5[_0x6ed2('0x18')]['downcastDispatcher']['on'](_0x6ed2('0x1d'),(_0x35ed64,_0x163f7b,_0x56d837)=>{_0x56d837[_0x6ed2('0x22')]['showSuggestionHighlights']&&_0x1e0249(_0x339ca5,'split',{'showActiveMarker':!0x1})(_0x35ed64,_0x163f7b,_0x56d837);},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5853=['fontBackgroundColor','locale','normalizeSizeOptions','commandParams','title','TrackChangesEditing','label','format','fontSize.options','FontFamilyEditing','get','getRanges','*Set\x20font\x20size:*\x20%0','document','isCollapsed','find','commandName','fontSize','*Set\x20font\x20color:*\x20%0','toLowerCase','editor','from','change','trim','*Reset\x20font\x20size*','plugins','has','_enableCommand','markInlineFormat','fontColor','model','fontFamily','*Reset\x20font\x20color*','value','config','FontSizeEditing','FontBackgroundColorEditing','FontSize','afterInit'];(function(_0x310228,_0x585311){const _0xdd122e=function(_0x2bb7db){while(--_0x2bb7db){_0x310228['push'](_0x310228['shift']());}};_0xdd122e(++_0x585311);}(_0x5853,0x132));const _0xdd12=function(_0x310228,_0x585311){_0x310228=_0x310228-0x0;let _0xdd122e=_0x5853[_0x310228];return _0xdd122e;};import{Plugin as _0x54f879}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1c1157}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4d264f}from'./utils';import{getTranslation as _0xeb842}from'../utils/common-translations';const Jt=[{'pluginName':_0xdd12('0x2'),'commandName':_0xdd12('0x17')},{'pluginName':_0xdd12('0xf'),'commandName':_0xdd12('0x25')},{'pluginName':'FontColorEditing','commandName':_0xdd12('0x23')},{'pluginName':_0xdd12('0x3'),'commandName':_0xdd12('0x6')}];export default class W extends _0x54f879{[_0xdd12('0x5')](){const _0x3a9199=this[_0xdd12('0x1a')][_0xdd12('0x7')];for(const {pluginName:_0x1a1d51,commandName:_0x576828}of Jt)this[_0xdd12('0x1a')][_0xdd12('0x1f')][_0xdd12('0x20')](_0x1a1d51)&&this[_0xdd12('0x21')](_0x576828);this[_0xdd12('0x1a')]['plugins'][_0xdd12('0x10')](_0xdd12('0xb'))['_descriptionFactory']['registerDescriptionCallback'](_0x55587a=>{const {data:_0x418c90}=_0x55587a;if(null!=_0x418c90){if(_0xdd12('0x17')==_0x418c90[_0xdd12('0x16')]){const _0x2f7e89=_0x418c90['commandParams'][0x0][_0xdd12('0x0')];if(_0x2f7e89){const _0x27d958=this[_0xdd12('0x1a')][_0xdd12('0x1f')]['get'](_0xdd12('0x4'))[_0xdd12('0x8')](this[_0xdd12('0x1a')][_0xdd12('0x1')][_0xdd12('0x10')](_0xdd12('0xe')))['find'](_0x141a34=>_0x141a34[_0xdd12('0x24')]==_0x2f7e89)[_0xdd12('0xa')],_0x4b66f0=this['editor']['locale']['_t'](_0x27d958)[_0xdd12('0x19')]();return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,_0xdd12('0x12'),_0x4b66f0)};}return{'type':'format','content':_0xeb842(_0x3a9199,_0xdd12('0x1e'))};}if('fontFamily'==_0x418c90[_0xdd12('0x16')]){const _0x2a55b5=_0x418c90['commandParams'][0x0][_0xdd12('0x0')];return _0x2a55b5?{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,'*Set\x20font\x20family:*\x20%0',_0x2a55b5)}:{'type':'format','content':_0xeb842(_0x3a9199,'*Reset\x20font\x20family*')};}if('fontColor'==_0x418c90[_0xdd12('0x16')]){const _0x596615=_0x418c90[_0xdd12('0x9')][0x0]['value'];if(_0x596615){const _0x136084=_0x1c1157(this['editor'][_0xdd12('0x1')][_0xdd12('0x10')]('fontColor.colors'))[_0xdd12('0x15')](_0x1b6b66=>_0x1b6b66[_0xdd12('0x24')]==_0x596615);let _0xb5fb=_0x596615,_0x437897='';return _0x136084&&(_0xb5fb=_0x136084[_0xdd12('0xc')],_0x437897=_0x3a9199['_t'](_0xb5fb)[_0xdd12('0x19')]()),{'type':'format','content':_0xeb842(_0x3a9199,_0xdd12('0x18'),_0x437897)[_0xdd12('0x1d')](),'color':{'value':_0x596615,'title':_0x437897||_0xb5fb}};}return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,_0xdd12('0x26'))};}if(_0xdd12('0x6')==_0x418c90['commandName']){const _0x25182f=_0x418c90[_0xdd12('0x9')][0x0]['value'];if(_0x25182f){const _0x28deb3=_0x1c1157(this[_0xdd12('0x1a')]['config']['get']('fontBackgroundColor.colors'))['find'](_0x931d49=>_0x931d49[_0xdd12('0x24')]==_0x25182f);let _0x5b1ef0=_0x25182f,_0x24fe33='';return _0x28deb3&&(_0x5b1ef0=_0x28deb3[_0xdd12('0xc')],_0x24fe33=_0x3a9199['_t'](_0x5b1ef0)[_0xdd12('0x19')]()),{'type':'format','content':_0xeb842(_0x3a9199,'*Set\x20font\x20background\x20color:*\x20%0',_0x24fe33)['trim'](),'color':{'value':_0x25182f,'title':_0x24fe33||_0x5b1ef0}};}return{'type':_0xdd12('0xd'),'content':_0xeb842(_0x3a9199,'*Reset\x20font\x20background\x20color*')};}}});}[_0xdd12('0x21')](_0x39a216){const _0x6f5698=this['editor'];_0x6f5698[_0xdd12('0x1f')][_0xdd12('0x10')](_0xdd12('0xb'))['enableCommand'](_0x39a216,(_0x1b2b7e,_0xf2ab20={})=>{const _0x337c2b=_0x6f5698[_0xdd12('0x24')][_0xdd12('0x13')]['selection'],_0x1ed9cd=_0xf2ab20[_0xdd12('0x0')];_0x337c2b[_0xdd12('0x14')]?_0x1b2b7e(_0xf2ab20):_0x6f5698[_0xdd12('0x24')][_0xdd12('0x1c')](()=>{const _0x2a435e=Array[_0xdd12('0x1b')](_0x337c2b[_0xdd12('0x11')]());for(const _0x3b0a30 of _0x2a435e){const _0x1d9d2a=_0x1ed9cd?[_0x3b0a30]:_0x4d264f(_0x39a216,_0x3b0a30,_0x6f5698[_0xdd12('0x24')]);for(const _0x43b703 of _0x1d9d2a)_0x6f5698['plugins'][_0xdd12('0x10')](_0xdd12('0xb'))[_0xdd12('0x22')](_0x43b703,{'commandName':_0x39a216,'commandParams':[{'value':_0x1ed9cd}]});}});});}}
23
+ const _0x46ad=['toLowerCase','config','from','markInlineFormat','get','fontFamily','label','*Set\x20font\x20size:*\x20%0','model','format','FontSize','value','fontBackgroundColor','FontSizeEditing','*Reset\x20font\x20size*','*Reset\x20font\x20background\x20color*','fontColor','document','commandName','FontColorEditing','*Set\x20font\x20background\x20color:*\x20%0','TrackChangesEditing','afterInit','*Set\x20font\x20color:*\x20%0','enableCommand','_descriptionFactory','registerDescriptionCallback','commandParams','editor','fontSize.options','*Reset\x20font\x20family*','selection','trim','plugins','locale','_enableCommand','title','fontSize','find','FontFamilyEditing','getRanges'];(function(_0x5586df,_0x46ada5){const _0x4033cb=function(_0x4f6c8b){while(--_0x4f6c8b){_0x5586df['push'](_0x5586df['shift']());}};_0x4033cb(++_0x46ada5);}(_0x46ad,0x1cb));const _0x4033=function(_0x5586df,_0x46ada5){_0x5586df=_0x5586df-0x0;let _0x4033cb=_0x46ad[_0x5586df];return _0x4033cb;};import{Plugin as _0x22a1e7}from'ckeditor5/src/core';import{normalizeColorOptions as _0x459539}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5e7957}from'./utils';import{getTranslation as _0x2ff878}from'../utils/common-translations';const Jt=[{'pluginName':_0x4033('0x5'),'commandName':'fontSize'},{'pluginName':_0x4033('0x1f'),'commandName':_0x4033('0x26')},{'pluginName':_0x4033('0xb'),'commandName':_0x4033('0x8')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x4033('0x4')}];export default class W extends _0x22a1e7{[_0x4033('0xe')](){const _0x54ad03=this['editor']['locale'];for(const {pluginName:_0x5e91a5,commandName:_0x40d4c4}of Jt)this[_0x4033('0x14')]['plugins']['has'](_0x5e91a5)&&this[_0x4033('0x1b')](_0x40d4c4);this[_0x4033('0x14')]['plugins']['get']('TrackChangesEditing')[_0x4033('0x11')][_0x4033('0x12')](_0x132553=>{const {data:_0x2ec988}=_0x132553;if(null!=_0x2ec988){if(_0x4033('0x1d')==_0x2ec988[_0x4033('0xa')]){const _0x1e6ab9=_0x2ec988['commandParams'][0x0][_0x4033('0x3')];if(_0x1e6ab9){const _0x49b395=this['editor'][_0x4033('0x19')]['get'](_0x4033('0x2'))['normalizeSizeOptions'](this[_0x4033('0x14')][_0x4033('0x22')][_0x4033('0x25')](_0x4033('0x15')))[_0x4033('0x1e')](_0x2d3ab1=>_0x2d3ab1[_0x4033('0x0')]==_0x1e6ab9)[_0x4033('0x1c')],_0x446ce2=this['editor'][_0x4033('0x1a')]['_t'](_0x49b395)[_0x4033('0x21')]();return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0x28'),_0x446ce2)};}return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0x6'))};}if(_0x4033('0x26')==_0x2ec988['commandName']){const _0x604097=_0x2ec988['commandParams'][0x0][_0x4033('0x3')];return _0x604097?{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,'*Set\x20font\x20family:*\x20%0',_0x604097)}:{'type':'format','content':_0x2ff878(_0x54ad03,_0x4033('0x16'))};}if(_0x4033('0x8')==_0x2ec988['commandName']){const _0x53c2fe=_0x2ec988[_0x4033('0x13')][0x0][_0x4033('0x3')];if(_0x53c2fe){const _0x4487c6=_0x459539(this[_0x4033('0x14')]['config'][_0x4033('0x25')]('fontColor.colors'))[_0x4033('0x1e')](_0x575c68=>_0x575c68[_0x4033('0x0')]==_0x53c2fe);let _0x3ab053=_0x53c2fe,_0x3d9d41='';return _0x4487c6&&(_0x3ab053=_0x4487c6[_0x4033('0x27')],_0x3d9d41=_0x54ad03['_t'](_0x3ab053)[_0x4033('0x21')]()),{'type':'format','content':_0x2ff878(_0x54ad03,_0x4033('0xf'),_0x3d9d41)[_0x4033('0x18')](),'color':{'value':_0x53c2fe,'title':_0x3d9d41||_0x3ab053}};}return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x2ec988[_0x4033('0xa')]){const _0xeaeadd=_0x2ec988[_0x4033('0x13')][0x0]['value'];if(_0xeaeadd){const _0x5d5fb6=_0x459539(this['editor'][_0x4033('0x22')]['get']('fontBackgroundColor.colors'))['find'](_0x17f4f5=>_0x17f4f5['model']==_0xeaeadd);let _0x1bf972=_0xeaeadd,_0x476282='';return _0x5d5fb6&&(_0x1bf972=_0x5d5fb6[_0x4033('0x27')],_0x476282=_0x54ad03['_t'](_0x1bf972)[_0x4033('0x21')]()),{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0xc'),_0x476282)[_0x4033('0x18')](),'color':{'value':_0xeaeadd,'title':_0x476282||_0x1bf972}};}return{'type':_0x4033('0x1'),'content':_0x2ff878(_0x54ad03,_0x4033('0x7'))};}}});}[_0x4033('0x1b')](_0x157e2a){const _0x1de73c=this[_0x4033('0x14')];_0x1de73c[_0x4033('0x19')][_0x4033('0x25')](_0x4033('0xd'))[_0x4033('0x10')](_0x157e2a,(_0x17f28f,_0x2fe35a={})=>{const _0x2a06c0=_0x1de73c[_0x4033('0x0')][_0x4033('0x9')][_0x4033('0x17')],_0x2825cb=_0x2fe35a[_0x4033('0x3')];_0x2a06c0['isCollapsed']?_0x17f28f(_0x2fe35a):_0x1de73c[_0x4033('0x0')]['change'](()=>{const _0x25b080=Array[_0x4033('0x23')](_0x2a06c0[_0x4033('0x20')]());for(const _0x5e8dda of _0x25b080){const _0x365204=_0x2825cb?[_0x5e8dda]:_0x5e7957(_0x157e2a,_0x5e8dda,_0x1de73c[_0x4033('0x0')]);for(const _0x5919f5 of _0x365204)_0x1de73c[_0x4033('0x19')][_0x4033('0x25')](_0x4033('0xd'))[_0x4033('0x24')](_0x5919f5,{'commandName':_0x157e2a,'commandParams':[{'value':_0x2825cb}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b91=['from','enableCommand','heading.options','find','markBlockFormat','isObject','ELEMENT_HEADING','document','get','selection','match','has','title','checkChild','getSelectedBlocks','paragraph','name','formatBlock','registerDescriptionCallback','locale','commandParams','commandName','_descriptionFactory','heading','editor','schema','value','filter','change','config','plugins','model','blockName','*Change\x20to:*\x20%0'];(function(_0x8ce50e,_0x1b913b){const _0x50d2f9=function(_0x1abeac){while(--_0x1abeac){_0x8ce50e['push'](_0x8ce50e['shift']());}};_0x50d2f9(++_0x1b913b);}(_0x1b91,0x88));const _0x50d2=function(_0x8ce50e,_0x1b913b){_0x8ce50e=_0x8ce50e-0x0;let _0x50d2f9=_0x1b91[_0x8ce50e];return _0x50d2f9;};import{Plugin as _0x4744b9}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x157bb3}from'./utils';import{getTranslation as _0x3369eb}from'../utils/common-translations';export default class z extends _0x4744b9{['afterInit'](){const _0x5a51fc=this['editor'],_0x356bb5=_0x5a51fc[_0x50d2('0x13')],_0x43bad0=_0x5a51fc[_0x50d2('0x1d')][_0x50d2('0x8')](_0x50d2('0x2'));if(!_0x5a51fc[_0x50d2('0x1e')][_0x50d2('0xb')]('HeadingEditing'))return;const _0x1f2c53=_0x5a51fc['plugins'][_0x50d2('0x8')]('TrackChangesEditing');_0x1f2c53[_0x50d2('0x1')](_0x50d2('0x17'),(_0x249d5a,_0x234e7b)=>{const _0x5b5a69=_0x234e7b['value'],_0x2f4315=Array[_0x50d2('0x0')](this[_0x50d2('0x18')][_0x50d2('0x1f')][_0x50d2('0x7')][_0x50d2('0x9')][_0x50d2('0xe')]())[_0x50d2('0x1b')](_0x1ca798=>function(_0x1ac385,_0x170861,_0x11390d){return _0x11390d[_0x50d2('0xd')](_0x1ac385['parent'],_0x170861)&&!_0x11390d[_0x50d2('0x5')](_0x1ac385)&&_0x1ac385[_0x50d2('0x10')]!=_0x170861;}(_0x1ca798,_0x5b5a69,this[_0x50d2('0x18')][_0x50d2('0x1f')][_0x50d2('0x19')]));_0x5a51fc[_0x50d2('0x1f')][_0x50d2('0x1c')](()=>{for(const _0x566860 of _0x2f4315)_0x1f2c53[_0x50d2('0x4')](_0x566860,{'commandName':_0x50d2('0x17'),'commandParams':[_0x234e7b],'formatGroupId':_0x50d2('0x20')},_0x157bb3(_0x566860));});});for(const _0x3e08bb of _0x43bad0)_0x50d2('0xf')!=_0x3e08bb['model']&&_0x1f2c53[_0x50d2('0x16')]['registerElementLabel'](_0x3e08bb[_0x50d2('0x1f')],_0xab0ae4=>{const _0x17a0d7=Kt(_0x3e08bb['model']);return null!==_0x17a0d7?_0x26b305(_0xab0ae4,_0x17a0d7):_0xb1e504(_0xab0ae4,_0x3e08bb[_0x50d2('0xc')]);});function _0x26b305(_0x6a02e9,_0x47c13f){return _0x3369eb(_0x356bb5,_0x50d2('0x6'),[_0x6a02e9,_0x47c13f]);}function _0xb1e504(_0x55d158,_0x4f1a3b){return _0x3369eb(_0x356bb5,'ELEMENT_HEADING_CUSTOM',[_0x55d158,_0x4f1a3b]);}_0x1f2c53[_0x50d2('0x16')][_0x50d2('0x12')](_0x505466=>{const {type:_0x15d2c9,data:_0xf3caf6}=_0x505466;if(_0x50d2('0x11')==_0x15d2c9&&_0xf3caf6&&'heading'==_0xf3caf6[_0x50d2('0x15')]){const _0x23989d=_0xf3caf6[_0x50d2('0x14')][0x0][_0x50d2('0x1a')],_0x1b3bc3=Kt(_0x23989d);if(null!==_0x1b3bc3)return{'type':'format','content':_0x3369eb(_0x356bb5,_0x50d2('0x21'),_0x26b305(0x1,_0x1b3bc3))};const _0x4aa8c4=_0x43bad0[_0x50d2('0x3')](_0x48af61=>_0x48af61[_0x50d2('0x1f')]===_0x23989d)[_0x50d2('0xc')];return{'type':'format','content':_0x3369eb(_0x356bb5,_0x50d2('0x21'),_0xb1e504(0x1,_0x4aa8c4))};}});}}function Kt(_0x4e8443){const _0x5a6796=_0x4e8443[_0x50d2('0xa')](/^heading(\d+)$/);return _0x5a6796?_0x5a6796[0x1]:null;}
23
+ const _0x5978=['document','change','model','enableCommand','registerElementLabel','afterInit','blockName','format','config','commandName','selection','ELEMENT_HEADING_CUSTOM','parent','get','name','paragraph','isObject','commandParams','_descriptionFactory','title','value','editor','filter','HeadingEditing','locale','getSelectedBlocks','has','ELEMENT_HEADING','heading','plugins','TrackChangesEditing','registerDescriptionCallback'];(function(_0xcd9abf,_0x597820){const _0x3aa6f6=function(_0x3f043c){while(--_0x3f043c){_0xcd9abf['push'](_0xcd9abf['shift']());}};_0x3aa6f6(++_0x597820);}(_0x5978,0x99));const _0x3aa6=function(_0xcd9abf,_0x597820){_0xcd9abf=_0xcd9abf-0x0;let _0x3aa6f6=_0x5978[_0xcd9abf];return _0x3aa6f6;};import{Plugin as _0x58d875}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4ec996}from'./utils';import{getTranslation as _0x3d7788}from'../utils/common-translations';export default class z extends _0x58d875{[_0x3aa6('0xc')](){const _0x4981d7=this[_0x3aa6('0x1c')],_0x37894c=_0x4981d7[_0x3aa6('0x1f')],_0x2ba451=_0x4981d7[_0x3aa6('0xf')][_0x3aa6('0x14')]('heading.options');if(!_0x4981d7['plugins'][_0x3aa6('0x1')](_0x3aa6('0x1e')))return;const _0x30945b=_0x4981d7[_0x3aa6('0x4')]['get'](_0x3aa6('0x5'));_0x30945b[_0x3aa6('0xa')](_0x3aa6('0x3'),(_0x1e3fc0,_0x2b62bb)=>{const _0x343060=_0x2b62bb[_0x3aa6('0x1b')],_0x2f2921=Array['from'](this['editor'][_0x3aa6('0x9')][_0x3aa6('0x7')][_0x3aa6('0x11')][_0x3aa6('0x0')]())[_0x3aa6('0x1d')](_0x3aba15=>function(_0x486440,_0x582fa3,_0x1911f6){return _0x1911f6['checkChild'](_0x486440[_0x3aa6('0x13')],_0x582fa3)&&!_0x1911f6[_0x3aa6('0x17')](_0x486440)&&_0x486440[_0x3aa6('0x15')]!=_0x582fa3;}(_0x3aba15,_0x343060,this['editor'][_0x3aa6('0x9')]['schema']));_0x4981d7['model'][_0x3aa6('0x8')](()=>{for(const _0x8b5ec5 of _0x2f2921)_0x30945b['markBlockFormat'](_0x8b5ec5,{'commandName':_0x3aa6('0x3'),'commandParams':[_0x2b62bb],'formatGroupId':_0x3aa6('0xd')},_0x4ec996(_0x8b5ec5));});});for(const _0x2dcac6 of _0x2ba451)_0x3aa6('0x16')!=_0x2dcac6['model']&&_0x30945b[_0x3aa6('0x19')][_0x3aa6('0xb')](_0x2dcac6[_0x3aa6('0x9')],_0x3f4d0f=>{const _0x266ed3=Kt(_0x2dcac6[_0x3aa6('0x9')]);return null!==_0x266ed3?_0x245965(_0x3f4d0f,_0x266ed3):_0x4151f7(_0x3f4d0f,_0x2dcac6[_0x3aa6('0x1a')]);});function _0x245965(_0x41046e,_0x1c2bc3){return _0x3d7788(_0x37894c,_0x3aa6('0x2'),[_0x41046e,_0x1c2bc3]);}function _0x4151f7(_0x4e63db,_0x14ccf0){return _0x3d7788(_0x37894c,_0x3aa6('0x12'),[_0x4e63db,_0x14ccf0]);}_0x30945b[_0x3aa6('0x19')][_0x3aa6('0x6')](_0x5ed5c6=>{const {type:_0x1dee62,data:_0x33a6d6}=_0x5ed5c6;if('formatBlock'==_0x1dee62&&_0x33a6d6&&_0x3aa6('0x3')==_0x33a6d6[_0x3aa6('0x10')]){const _0x4393b2=_0x33a6d6[_0x3aa6('0x18')][0x0][_0x3aa6('0x1b')],_0x34703f=Kt(_0x4393b2);if(null!==_0x34703f)return{'type':_0x3aa6('0xe'),'content':_0x3d7788(_0x37894c,'*Change\x20to:*\x20%0',_0x245965(0x1,_0x34703f))};const _0x481a80=_0x2ba451['find'](_0x47ab23=>_0x47ab23[_0x3aa6('0x9')]===_0x4393b2)[_0x3aa6('0x1a')];return{'type':_0x3aa6('0xe'),'content':_0x3d7788(_0x37894c,'*Change\x20to:*\x20%0',_0x4151f7(0x1,_0x481a80))};}});}}function Kt(_0x608973){const _0x1cdf4a=_0x608973['match'](/^heading(\d+)$/);return _0x1cdf4a?_0x1cdf4a[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7006=['toLowerCase','find','change','enableCommand','getAttribute','commandParams','editor','getLastMatchingPosition','plugins','hasAttribute','title','color','isCollapsed','HighlightEditing','_descriptionFactory','registerDescriptionCallback','format','FORMAT_HIGHLIGHT','value','commandName','afterInit','TrackChangesEditing','*Set\x20highlight:*\x20%0','push','formatInline','*Remove\x20highlight*','config','locale','highlight','model','has','getRanges','highlight.options','document','backward','get','getFirstPosition','markInlineFormat','selection'];(function(_0xedcfe0,_0x70064c){const _0x12643e=function(_0x46d8a1){while(--_0x46d8a1){_0xedcfe0['push'](_0xedcfe0['shift']());}};_0x12643e(++_0x70064c);}(_0x7006,0xa2));const _0x1264=function(_0xedcfe0,_0x70064c){_0xedcfe0=_0xedcfe0-0x0;let _0x12643e=_0x7006[_0xedcfe0];return _0x12643e;};import{Plugin as _0x5ecf18}from'ckeditor5/src/core';import{getTranslation as _0x5d45ca}from'../utils/common-translations';import{getRangesWithAttribute as _0x1109fd}from'./utils';export default class J extends _0x5ecf18{[_0x1264('0xe')](){const _0x51c0c6=this[_0x1264('0x0')];if(!_0x51c0c6[_0x1264('0x2')][_0x1264('0x18')](_0x1264('0x7')))return;const _0x28f551=_0x51c0c6[_0x1264('0x2')][_0x1264('0x1d')](_0x1264('0xf'));_0x28f551[_0x1264('0x24')](_0x1264('0x16'),(_0x4e24d9,_0x378768={})=>{const _0x3aa542=_0x51c0c6['model'][_0x1264('0x1b')][_0x1264('0x20')],_0x20deb4=_0x3aa542[_0x1264('0x25')]('highlight');let _0x23f254=_0x378768[_0x1264('0xc')],_0x3f1135=[];if(_0x3aa542[_0x1264('0x6')]){const _0x53a28b=_0x3aa542[_0x1264('0x1e')]();if(!_0x3aa542[_0x1264('0x3')](_0x1264('0x16')))return void _0x4e24d9(_0x378768);{const _0x562814=_0x3601c2=>_0x3601c2['item'][_0x1264('0x25')](_0x1264('0x16'))===_0x20deb4,_0x5512fb=_0x53a28b[_0x1264('0x1')](_0x562814,{'direction':_0x1264('0x1c')}),_0x1cd4b1=_0x53a28b[_0x1264('0x1')](_0x562814);_0x3f1135=[_0x51c0c6[_0x1264('0x17')]['createRange'](_0x5512fb,_0x1cd4b1)],_0x23f254==_0x20deb4&&(_0x23f254=null);}}else for(const _0x4b695b of _0x3aa542[_0x1264('0x19')]())_0x23f254?_0x3f1135[_0x1264('0x11')](_0x4b695b):_0x3f1135[_0x1264('0x11')](..._0x1109fd(_0x1264('0x16'),_0x4b695b,_0x51c0c6['model']));_0x51c0c6[_0x1264('0x17')][_0x1264('0x23')](()=>{for(const _0xb01fe0 of _0x3f1135)_0x28f551[_0x1264('0x1f')](_0xb01fe0,{'commandName':_0x1264('0x16'),'commandParams':[{'value':_0x23f254}]});});});const _0x582371=_0x51c0c6[_0x1264('0x15')];_0x28f551[_0x1264('0x8')][_0x1264('0x9')](_0x1fe4ea=>{const {type:_0x221f56,data:_0xd1c69e}=_0x1fe4ea;if(_0x1264('0x12')==_0x221f56&&_0xd1c69e&&'highlight'==_0xd1c69e[_0x1264('0xd')]){const _0x586652=_0xd1c69e[_0x1264('0x26')][0x0][_0x1264('0xc')];if(_0x586652){const _0x41986d=_0x51c0c6[_0x1264('0x14')][_0x1264('0x1d')](_0x1264('0x1a'))[_0x1264('0x22')](_0xa3cb0f=>_0xa3cb0f['model']==_0x586652),_0x2b966b=_0x582371['_t'](_0x41986d['title'])[_0x1264('0x21')]();return{'type':_0x1264('0xa'),'content':_0x5d45ca(_0x582371,_0x1264('0x10'),_0x2b966b),'color':{'value':_0x41986d[_0x1264('0x5')],'title':_0x41986d[_0x1264('0x4')]}};}return{'type':'format','content':_0x5d45ca(_0x582371,_0x1264('0x13'),_0x5d45ca(_0x582371,_0x1264('0xb')))};}});}}
23
+ const _0x3cde=['model','getFirstPosition','TrackChangesEditing','getAttribute','highlight','getRanges','formatInline','*Remove\x20highlight*','change','plugins','title','highlight.options','createRange','*Set\x20highlight:*\x20%0','get','format','backward','item','locale','registerDescriptionCallback','value','_descriptionFactory','commandName','selection','push','toLowerCase','hasAttribute','find','editor','commandParams','color'];(function(_0xf30396,_0x3cdeac){const _0x59be4b=function(_0x5da4fb){while(--_0x5da4fb){_0xf30396['push'](_0xf30396['shift']());}};_0x59be4b(++_0x3cdeac);}(_0x3cde,0xa3));const _0x59be=function(_0xf30396,_0x3cdeac){_0xf30396=_0xf30396-0x0;let _0x59be4b=_0x3cde[_0xf30396];return _0x59be4b;};import{Plugin as _0x57e686}from'ckeditor5/src/core';import{getTranslation as _0x6dad33}from'../utils/common-translations';import{getRangesWithAttribute as _0x10096f}from'./utils';export default class J extends _0x57e686{['afterInit'](){const _0xbe53bd=this[_0x59be('0x14')];if(!_0xbe53bd[_0x59be('0x1')]['has']('HighlightEditing'))return;const _0x2f21a9=_0xbe53bd[_0x59be('0x1')][_0x59be('0x6')](_0x59be('0x19'));_0x2f21a9['enableCommand'](_0x59be('0x1b'),(_0x58f94d,_0x294020={})=>{const _0xf3c496=_0xbe53bd[_0x59be('0x17')]['document'][_0x59be('0xf')],_0x3fdab4=_0xf3c496[_0x59be('0x1a')](_0x59be('0x1b'));let _0x452e24=_0x294020[_0x59be('0xc')],_0x2d3c75=[];if(_0xf3c496['isCollapsed']){const _0xc63a3d=_0xf3c496[_0x59be('0x18')]();if(!_0xf3c496[_0x59be('0x12')](_0x59be('0x1b')))return void _0x58f94d(_0x294020);{const _0x2f7283=_0x3431d1=>_0x3431d1[_0x59be('0x9')][_0x59be('0x1a')]('highlight')===_0x3fdab4,_0x6a68c3=_0xc63a3d['getLastMatchingPosition'](_0x2f7283,{'direction':_0x59be('0x8')}),_0x362fbb=_0xc63a3d['getLastMatchingPosition'](_0x2f7283);_0x2d3c75=[_0xbe53bd[_0x59be('0x17')][_0x59be('0x4')](_0x6a68c3,_0x362fbb)],_0x452e24==_0x3fdab4&&(_0x452e24=null);}}else for(const _0x37fac9 of _0xf3c496[_0x59be('0x1c')]())_0x452e24?_0x2d3c75['push'](_0x37fac9):_0x2d3c75[_0x59be('0x10')](..._0x10096f(_0x59be('0x1b'),_0x37fac9,_0xbe53bd[_0x59be('0x17')]));_0xbe53bd['model'][_0x59be('0x0')](()=>{for(const _0x38a847 of _0x2d3c75)_0x2f21a9['markInlineFormat'](_0x38a847,{'commandName':'highlight','commandParams':[{'value':_0x452e24}]});});});const _0xa6c684=_0xbe53bd[_0x59be('0xa')];_0x2f21a9[_0x59be('0xd')][_0x59be('0xb')](_0x5e5005=>{const {type:_0x4f1998,data:_0x4ebb01}=_0x5e5005;if(_0x59be('0x1d')==_0x4f1998&&_0x4ebb01&&_0x59be('0x1b')==_0x4ebb01[_0x59be('0xe')]){const _0x2cfc66=_0x4ebb01[_0x59be('0x15')][0x0]['value'];if(_0x2cfc66){const _0xcb98ff=_0xbe53bd['config'][_0x59be('0x6')](_0x59be('0x3'))[_0x59be('0x13')](_0x534359=>_0x534359[_0x59be('0x17')]==_0x2cfc66),_0x53162c=_0xa6c684['_t'](_0xcb98ff['title'])[_0x59be('0x11')]();return{'type':'format','content':_0x6dad33(_0xa6c684,_0x59be('0x5'),_0x53162c),'color':{'value':_0xcb98ff[_0x59be('0x16')],'title':_0xcb98ff[_0x59be('0x2')]}};}return{'type':_0x59be('0x7'),'content':_0x6dad33(_0xa6c684,_0x59be('0x1e'),_0x6dad33(_0xa6c684,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcf74=['enableCommand','createPositionAt','_descriptionFactory','HorizontalLineEditing','high','addClass','horizontalLine','insert','div','for','createContainerElement','TrackChangesEditing','registerElementLabel','showSuggestionHighlights','ck-horizontal-line','createEmptyElement','editor','plugins','get','ELEMENT_HORIZONTAL_LINE'];(function(_0x2d21e9,_0xcf7416){const _0x78a56b=function(_0x15c67b){while(--_0x15c67b){_0x2d21e9['push'](_0x2d21e9['shift']());}};_0x78a56b(++_0xcf7416);}(_0xcf74,0x121));const _0x78a5=function(_0x2d21e9,_0xcf7416){_0x2d21e9=_0x2d21e9-0x0;let _0x78a56b=_0xcf74[_0x2d21e9];return _0x78a56b;};import{Plugin as _0x2133d6}from'ckeditor5/src/core';import{getTranslation as _0x1107e3}from'../utils/common-translations';export default class K extends _0x2133d6{['afterInit'](){const _0x2be8ed=this[_0x78a5('0x7')];if(!_0x2be8ed['plugins']['has'](_0x78a5('0xe')))return;_0x2be8ed[_0x78a5('0x8')][_0x78a5('0x9')](_0x78a5('0x2'))[_0x78a5('0xb')](_0x78a5('0x11'));const _0x41e81e=_0x2be8ed[_0x78a5('0x8')][_0x78a5('0x9')](_0x78a5('0x2')),_0x3368fd=_0x2be8ed['locale'];_0x41e81e[_0x78a5('0xd')][_0x78a5('0x3')](_0x78a5('0x11'),_0x5ba4b9=>_0x1107e3(_0x3368fd,_0x78a5('0xa'),_0x5ba4b9)),_0x2be8ed['conversion'][_0x78a5('0x0')]('dataDowncast')['elementToStructure']({'model':_0x78a5('0x11'),'view':(_0x48c68c,{writer:_0x20b545,options:_0x1b2263})=>{if(!_0x1b2263[_0x78a5('0x4')])return;const _0x5d5db4=_0x20b545[_0x78a5('0x1')](_0x78a5('0x13')),_0x3f0f6b=_0x20b545[_0x78a5('0x6')]('hr');return _0x20b545[_0x78a5('0x10')](_0x78a5('0x5'),_0x5d5db4),_0x20b545[_0x78a5('0x12')](_0x20b545[_0x78a5('0xc')](_0x5d5db4,0x0),_0x3f0f6b),_0x5d5db4;},'converterPriority':_0x78a5('0xf')});}}
23
+ const _0x432b=['afterInit','plugins','addClass','TrackChangesEditing','for','createPositionAt','ELEMENT_HORIZONTAL_LINE','horizontalLine','elementToStructure','locale','get','createContainerElement','enableCommand','conversion','editor','has','HorizontalLineEditing','_descriptionFactory'];(function(_0x20de34,_0x432b61){const _0xb53dea=function(_0x3015c1){while(--_0x3015c1){_0x20de34['push'](_0x20de34['shift']());}};_0xb53dea(++_0x432b61);}(_0x432b,0xee));const _0xb53d=function(_0x20de34,_0x432b61){_0x20de34=_0x20de34-0x0;let _0xb53dea=_0x432b[_0x20de34];return _0xb53dea;};import{Plugin as _0x48319b}from'ckeditor5/src/core';import{getTranslation as _0xe55619}from'../utils/common-translations';export default class K extends _0x48319b{[_0xb53d('0xe')](){const _0x51f246=this[_0xb53d('0xa')];if(!_0x51f246[_0xb53d('0xf')][_0xb53d('0xb')](_0xb53d('0xc')))return;_0x51f246[_0xb53d('0xf')]['get']('TrackChangesEditing')[_0xb53d('0x8')](_0xb53d('0x3'));const _0x22560e=_0x51f246['plugins'][_0xb53d('0x6')](_0xb53d('0x11')),_0x348e15=_0x51f246[_0xb53d('0x5')];_0x22560e[_0xb53d('0xd')]['registerElementLabel'](_0xb53d('0x3'),_0x11c2eb=>_0xe55619(_0x348e15,_0xb53d('0x2'),_0x11c2eb)),_0x51f246[_0xb53d('0x9')][_0xb53d('0x0')]('dataDowncast')[_0xb53d('0x4')]({'model':_0xb53d('0x3'),'view':(_0x109093,{writer:_0x5844de,options:_0x85cdf1})=>{if(!_0x85cdf1['showSuggestionHighlights'])return;const _0x100478=_0x5844de[_0xb53d('0x7')]('div'),_0x12e3c2=_0x5844de['createEmptyElement']('hr');return _0x5844de[_0xb53d('0x10')]('ck-horizontal-line',_0x100478),_0x5844de['insert'](_0x5844de[_0xb53d('0x1')](_0x100478,0x0),_0x12e3c2),_0x100478;},'converterPriority':'high'});}}