@ckeditor/ckeditor5-slash-command 41.3.1 → 41.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/build/slash-command.js +1 -1
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +57 -0
  4. package/dist/index.css +84 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/ar.d.ts +8 -0
  7. package/dist/translations/ar.js +23 -0
  8. package/dist/translations/ar.umd.js +23 -0
  9. package/dist/translations/bg.d.ts +8 -0
  10. package/dist/translations/bg.js +23 -0
  11. package/dist/translations/bg.umd.js +23 -0
  12. package/dist/translations/bn.d.ts +8 -0
  13. package/dist/translations/bn.js +23 -0
  14. package/dist/translations/bn.umd.js +23 -0
  15. package/dist/translations/ca.d.ts +8 -0
  16. package/dist/translations/ca.js +23 -0
  17. package/dist/translations/ca.umd.js +23 -0
  18. package/dist/translations/cs.d.ts +8 -0
  19. package/dist/translations/cs.js +23 -0
  20. package/dist/translations/cs.umd.js +23 -0
  21. package/dist/translations/da.d.ts +8 -0
  22. package/dist/translations/da.js +23 -0
  23. package/dist/translations/da.umd.js +23 -0
  24. package/dist/translations/de.d.ts +8 -0
  25. package/dist/translations/de.js +23 -0
  26. package/dist/translations/de.umd.js +23 -0
  27. package/dist/translations/el.d.ts +8 -0
  28. package/dist/translations/el.js +23 -0
  29. package/dist/translations/el.umd.js +23 -0
  30. package/dist/translations/en-au.d.ts +8 -0
  31. package/dist/translations/en-au.js +23 -0
  32. package/dist/translations/en-au.umd.js +23 -0
  33. package/dist/translations/en.d.ts +8 -0
  34. package/dist/translations/en.js +23 -0
  35. package/dist/translations/en.umd.js +23 -0
  36. package/dist/translations/es.d.ts +8 -0
  37. package/dist/translations/es.js +23 -0
  38. package/dist/translations/es.umd.js +23 -0
  39. package/dist/translations/et.d.ts +8 -0
  40. package/dist/translations/et.js +23 -0
  41. package/dist/translations/et.umd.js +23 -0
  42. package/dist/translations/fi.d.ts +8 -0
  43. package/dist/translations/fi.js +23 -0
  44. package/dist/translations/fi.umd.js +23 -0
  45. package/dist/translations/fr.d.ts +8 -0
  46. package/dist/translations/fr.js +23 -0
  47. package/dist/translations/fr.umd.js +23 -0
  48. package/dist/translations/gl.d.ts +8 -0
  49. package/dist/translations/gl.js +23 -0
  50. package/dist/translations/gl.umd.js +23 -0
  51. package/dist/translations/he.d.ts +8 -0
  52. package/dist/translations/he.js +23 -0
  53. package/dist/translations/he.umd.js +23 -0
  54. package/dist/translations/hi.d.ts +8 -0
  55. package/dist/translations/hi.js +23 -0
  56. package/dist/translations/hi.umd.js +23 -0
  57. package/dist/translations/hr.d.ts +8 -0
  58. package/dist/translations/hr.js +23 -0
  59. package/dist/translations/hr.umd.js +23 -0
  60. package/dist/translations/hu.d.ts +8 -0
  61. package/dist/translations/hu.js +23 -0
  62. package/dist/translations/hu.umd.js +23 -0
  63. package/dist/translations/id.d.ts +8 -0
  64. package/dist/translations/id.js +23 -0
  65. package/dist/translations/id.umd.js +23 -0
  66. package/dist/translations/it.d.ts +8 -0
  67. package/dist/translations/it.js +23 -0
  68. package/dist/translations/it.umd.js +23 -0
  69. package/dist/translations/ja.d.ts +8 -0
  70. package/dist/translations/ja.js +23 -0
  71. package/dist/translations/ja.umd.js +23 -0
  72. package/dist/translations/ko.d.ts +8 -0
  73. package/dist/translations/ko.js +23 -0
  74. package/dist/translations/ko.umd.js +23 -0
  75. package/dist/translations/lt.d.ts +8 -0
  76. package/dist/translations/lt.js +23 -0
  77. package/dist/translations/lt.umd.js +23 -0
  78. package/dist/translations/lv.d.ts +8 -0
  79. package/dist/translations/lv.js +23 -0
  80. package/dist/translations/lv.umd.js +23 -0
  81. package/dist/translations/ms.d.ts +8 -0
  82. package/dist/translations/ms.js +23 -0
  83. package/dist/translations/ms.umd.js +23 -0
  84. package/dist/translations/nl.d.ts +8 -0
  85. package/dist/translations/nl.js +23 -0
  86. package/dist/translations/nl.umd.js +23 -0
  87. package/dist/translations/no.d.ts +8 -0
  88. package/dist/translations/no.js +23 -0
  89. package/dist/translations/no.umd.js +23 -0
  90. package/dist/translations/pl.d.ts +8 -0
  91. package/dist/translations/pl.js +23 -0
  92. package/dist/translations/pl.umd.js +23 -0
  93. package/dist/translations/pt-br.d.ts +8 -0
  94. package/dist/translations/pt-br.js +23 -0
  95. package/dist/translations/pt-br.umd.js +23 -0
  96. package/dist/translations/pt.d.ts +8 -0
  97. package/dist/translations/pt.js +23 -0
  98. package/dist/translations/pt.umd.js +23 -0
  99. package/dist/translations/ro.d.ts +8 -0
  100. package/dist/translations/ro.js +23 -0
  101. package/dist/translations/ro.umd.js +23 -0
  102. package/dist/translations/ru.d.ts +8 -0
  103. package/dist/translations/ru.js +23 -0
  104. package/dist/translations/ru.umd.js +23 -0
  105. package/dist/translations/sk.d.ts +8 -0
  106. package/dist/translations/sk.js +23 -0
  107. package/dist/translations/sk.umd.js +23 -0
  108. package/dist/translations/sr.d.ts +8 -0
  109. package/dist/translations/sr.js +23 -0
  110. package/dist/translations/sr.umd.js +23 -0
  111. package/dist/translations/sv.d.ts +8 -0
  112. package/dist/translations/sv.js +23 -0
  113. package/dist/translations/sv.umd.js +23 -0
  114. package/dist/translations/th.d.ts +8 -0
  115. package/dist/translations/th.js +23 -0
  116. package/dist/translations/th.umd.js +23 -0
  117. package/dist/translations/tr.d.ts +8 -0
  118. package/dist/translations/tr.js +23 -0
  119. package/dist/translations/tr.umd.js +23 -0
  120. package/dist/translations/uk.d.ts +8 -0
  121. package/dist/translations/uk.js +23 -0
  122. package/dist/translations/uk.umd.js +23 -0
  123. package/dist/translations/uz.d.ts +8 -0
  124. package/dist/translations/uz.js +23 -0
  125. package/dist/translations/uz.umd.js +23 -0
  126. package/dist/translations/vi.d.ts +8 -0
  127. package/dist/translations/vi.js +23 -0
  128. package/dist/translations/vi.umd.js +23 -0
  129. package/dist/translations/zh-cn.d.ts +8 -0
  130. package/dist/translations/zh-cn.js +23 -0
  131. package/dist/translations/zh-cn.umd.js +23 -0
  132. package/dist/translations/zh.d.ts +8 -0
  133. package/dist/translations/zh.js +23 -0
  134. package/dist/translations/zh.umd.js +23 -0
  135. package/dist/types/augmentation.d.ts +25 -0
  136. package/dist/types/index.d.ts +17 -0
  137. package/dist/types/slashcommand.d.ts +33 -0
  138. package/dist/types/slashcommandconfig.d.ts +246 -0
  139. package/dist/types/slashcommandediting.d.ts +45 -0
  140. package/dist/types/slashcommandeditorconfig.d.ts +100 -0
  141. package/dist/types/slashcommandui.d.ts +37 -0
  142. package/dist/types/ui/slashcommandbuttonview.d.ts +35 -0
  143. package/package.json +5 -4
  144. package/src/index.js +1 -1
  145. package/src/slashcommand.js +1 -1
  146. package/src/slashcommandconfig.js +1 -1
  147. package/src/slashcommandediting.js +1 -1
  148. package/src/slashcommandui.js +1 -1
  149. package/src/ui/slashcommandbuttonview.js +1 -1
@@ -0,0 +1,100 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module slash-command/slashcommandeditorconfig
11
+ * @publicApi
12
+ */
13
+ import type { SlashCommandDefinition } from './slashcommandconfig.js';
14
+ /**
15
+ * The configuration of the slash command feature.
16
+ *
17
+ * Read more about {@glink features/slash-commands#configuration configuring the slash command feature}.
18
+ *
19
+ * ```ts
20
+ * ClassicEditor
21
+ * .create( editorElement, {
22
+ * slashCommand: ... // Slash command feature options.
23
+ * } )
24
+ * .then( ... )
25
+ * .catch( ... );
26
+ * ```
27
+ *
28
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
29
+ */
30
+ export interface SlashCommandEditorConfig {
31
+ /**
32
+ * The list of commands to be removed from the default command list. Commands specified by this configuration will not
33
+ * appear in the user interface upon writing the slash ("/") character.
34
+ *
35
+ * * Each entry must be a unique name of a command registered in the
36
+ * {@link module:core/editor/editor~Editor#commands editor's command collection}.
37
+ * * Check out the list of the {@link module:slash-command/slashcommandconfig~SlashCommandConfig#getDefaultCommands default commands}
38
+ * supported by the slash command feature to learn which commands can be removed.
39
+ *
40
+ * ```ts
41
+ * ClassicEditor
42
+ * .create( editorElement, {
43
+ * plugins: [ SlashCommand, ... ],
44
+ * slashCommand: {
45
+ * removeCommands: [ 'heading', 'paragraph', ... ]
46
+ * // ...
47
+ * }
48
+ * } )
49
+ * .then( ... )
50
+ * .catch( ... );
51
+ * ```
52
+ */
53
+ removeCommands: Array<string>;
54
+ /**
55
+ * Additional commands to be added to the
56
+ * {@link module:slash-command/slashcommandconfig~SlashCommandConfig#getDefaultCommands list of defaults} supported
57
+ * by the slash command feature. It allows the feature to work with third-party commands and make them appear in the user interface
58
+ * upon writing the slash ("/") character.
59
+ *
60
+ * ```ts
61
+ * ClassicEditor
62
+ * .create( editorElement, {
63
+ * plugins: [ SlashCommand, ... ],
64
+ * slashCommand: {
65
+ * extraCommands: [
66
+ * {
67
+ * id: 'bold',
68
+ * commandName: 'bold',
69
+ * title: 'Bold',
70
+ * // ...
71
+ * },
72
+ * // ...
73
+ * ]
74
+ * // ...
75
+ * }
76
+ * } )
77
+ * .then( ... )
78
+ * .catch( ... );
79
+ * ```
80
+ */
81
+ extraCommands: Array<SlashCommandDefinition>;
82
+ /**
83
+ * The maximum number of commands displayed in the dropdown list of slash commands.
84
+ *
85
+ * ```ts
86
+ * ClassicEditor
87
+ * .create( editorElement, {
88
+ * plugins: [ SlashCommand, ... ],
89
+ * slashCommand: {
90
+ * dropdownLimit: 4
91
+ * // More of editor configuration.
92
+ * // ...
93
+ * }
94
+ * } )
95
+ * .then( ... )
96
+ * .catch( ... );
97
+ * ```
98
+ */
99
+ dropdownLimit: number;
100
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module slash-command/slashcommandui
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ import './slashcommandeditorconfig.js';
14
+ import '../theme/slashcommand.css';
15
+ /**
16
+ * Provides the UI functionality of the {@link module:slash-command/slashcommand~SlashCommand} feature.
17
+ *
18
+ * @extends module:core/plugin~Plugin
19
+ */
20
+ export default class SlashCommandUI extends Plugin {
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get pluginName(): "SlashCommandUI";
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ constructor(editor: Editor);
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ init(): void;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ afterInit(): void;
37
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module slash-command/ui/slashcommandbuttonview
11
+ */
12
+ import type { Locale } from 'ckeditor5/src/utils.js';
13
+ import { View, ButtonView } from 'ckeditor5/src/ui.js';
14
+ import type { SlashCommandDefinition } from '../slashcommandconfig.js';
15
+ /**
16
+ * A class representing an individual button (slash command) in the list.
17
+ *
18
+ * @extends module:ui/button/buttonview~ButtonView
19
+ */
20
+ export default class SlashCommandButtonView extends ButtonView {
21
+ /**
22
+ * The view rendering the text part of the slash command button consisting of a title and an optional description.
23
+ *
24
+ * @protected
25
+ */
26
+ textPartView: View;
27
+ /**
28
+ * Creates an instance of the {@link module:slash-command/ui/slashcommandbuttonview~SlashCommandButtonView} class.
29
+ */
30
+ constructor(locale: Locale, commandDefinition: SlashCommandDefinition);
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ render(): void;
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-slash-command",
3
- "version": "41.3.1",
3
+ "version": "41.4.0",
4
4
  "description": "Slash command feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,15 +12,16 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-ui": "41.3.1",
16
- "ckeditor5": "41.3.1",
17
- "ckeditor5-collaboration": "41.3.1"
15
+ "@ckeditor/ckeditor5-ui": "41.4.0",
16
+ "ckeditor5": "41.4.0",
17
+ "ckeditor5-collaboration": "41.4.0"
18
18
  },
19
19
  "license": "SEE LICENSE IN LICENSE.md",
20
20
  "author": "CKSource (http://cksource.com/)",
21
21
  "homepage": "https://ckeditor.com/ckeditor-5",
22
22
  "bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
23
23
  "files": [
24
+ "dist",
24
25
  "lang",
25
26
  "src/**/*.js",
26
27
  "src/**/*.d.ts",
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1db0d9,_0x41ffb2){var _0x576363=_0x50cd,_0x302baf=_0x1db0d9();while(!![]){try{var _0x42b90b=-parseInt(_0x576363(0x1ef))/0x1*(-parseInt(_0x576363(0x1f2))/0x2)+parseInt(_0x576363(0x1f3))/0x3+parseInt(_0x576363(0x1ee))/0x4+parseInt(_0x576363(0x1ec))/0x5+-parseInt(_0x576363(0x1f1))/0x6+-parseInt(_0x576363(0x1ed))/0x7+parseInt(_0x576363(0x1f0))/0x8*(-parseInt(_0x576363(0x1eb))/0x9);if(_0x42b90b===_0x41ffb2)break;else _0x302baf['push'](_0x302baf['shift']());}catch(_0x4d497f){_0x302baf['push'](_0x302baf['shift']());}}}(_0x49e0,0xed06a));function _0x49e0(){var _0x438182=['1990280oOtQCi','212340XFNuTg','122176QiruuX','5608326ICzbBo','12sQPREw','4062519iHsmty','648iTgELy','8471490ByRINi','12704426BXKTTI'];_0x49e0=function(){return _0x438182;};return _0x49e0();}export{default as SlashCommand}from'./slashcommand.js';export{default as SlashCommandConfig}from'./slashcommandconfig.js';export{default as SlashCommandEditing}from'./slashcommandediting.js';function _0x50cd(_0x597c2c,_0xaed6c9){var _0x49e0f5=_0x49e0();return _0x50cd=function(_0x50cd07,_0x1b5fcb){_0x50cd07=_0x50cd07-0x1eb;var _0x612e62=_0x49e0f5[_0x50cd07];return _0x612e62;},_0x50cd(_0x597c2c,_0xaed6c9);}export{default as SlashCommandUI}from'./slashcommandui.js';import'./augmentation.js';
23
+ (function(_0xc8e671,_0x3c2e2b){var _0x4de43e=_0xa1d4,_0xec737c=_0xc8e671();while(!![]){try{var _0x2bc07d=parseInt(_0x4de43e(0x111))/0x1+parseInt(_0x4de43e(0x10e))/0x2*(-parseInt(_0x4de43e(0x10c))/0x3)+parseInt(_0x4de43e(0x107))/0x4*(parseInt(_0x4de43e(0x108))/0x5)+-parseInt(_0x4de43e(0x10d))/0x6*(-parseInt(_0x4de43e(0x109))/0x7)+-parseInt(_0x4de43e(0x10f))/0x8*(-parseInt(_0x4de43e(0x106))/0x9)+parseInt(_0x4de43e(0x110))/0xa*(-parseInt(_0x4de43e(0x112))/0xb)+parseInt(_0x4de43e(0x10a))/0xc*(-parseInt(_0x4de43e(0x10b))/0xd);if(_0x2bc07d===_0x3c2e2b)break;else _0xec737c['push'](_0xec737c['shift']());}catch(_0x1f9c29){_0xec737c['push'](_0xec737c['shift']());}}}(_0x26c4,0xe482a));export{default as SlashCommand}from'./slashcommand.js';function _0xa1d4(_0x3e470c,_0x174f65){var _0x26c4b6=_0x26c4();return _0xa1d4=function(_0xa1d4cd,_0x4e071a){_0xa1d4cd=_0xa1d4cd-0x106;var _0x1d0ab0=_0x26c4b6[_0xa1d4cd];return _0x1d0ab0;},_0xa1d4(_0x3e470c,_0x174f65);}export{default as SlashCommandConfig}from'./slashcommandconfig.js';function _0x26c4(){var _0x40ec88=['6215727JDBgpf','28764JgHjhO','143SnpbIJ','3pUfmZc','6TlXRcH','1035818IeuUkQ','8qDIvYH','7362470fevqIs','244758NWLATo','22uChcYt','8296587tOHUsS','4iGRUPh','4490930Dvafux'];_0x26c4=function(){return _0x40ec88;};return _0x26c4();}export{default as SlashCommandEditing}from'./slashcommandediting.js';export{default as SlashCommandUI}from'./slashcommandui.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x25ee87=_0x5e10;(function(_0xf12994,_0x3091c){var _0x3f32d7=_0x5e10,_0x4d224f=_0xf12994();while(!![]){try{var _0x3e7cc4=-parseInt(_0x3f32d7(0x79))/0x1*(-parseInt(_0x3f32d7(0x81))/0x2)+-parseInt(_0x3f32d7(0x76))/0x3*(parseInt(_0x3f32d7(0x7f))/0x4)+parseInt(_0x3f32d7(0x7e))/0x5+parseInt(_0x3f32d7(0x74))/0x6+-parseInt(_0x3f32d7(0x7d))/0x7+-parseInt(_0x3f32d7(0x7c))/0x8+-parseInt(_0x3f32d7(0x7a))/0x9*(-parseInt(_0x3f32d7(0x75))/0xa);if(_0x3e7cc4===_0x3091c)break;else _0x4d224f['push'](_0x4d224f['shift']());}catch(_0x25f5b0){_0x4d224f['push'](_0x4d224f['shift']());}}}(_0x55a1,0xdc54e));function _0x5e10(_0xb77259,_0x49b1ef){var _0x55a179=_0x55a1();return _0x5e10=function(_0x5e10e2,_0x13e845){_0x5e10e2=_0x5e10e2-0x74;var _0x582737=_0x55a179[_0x5e10e2];return _0x582737;},_0x5e10(_0xb77259,_0x49b1ef);}function _0x55a1(){var _0x262e87=['17397GZGEWq','SlashCommand','requires','2GEmyhq','866898NTtVYo','pluginName','2344168sbZwdd','6595554iIejIy','7500915xzxUMx','1116zSNoXP','Mention','256162DBSNku','5060598YbAWDf','120OOTvoz'];_0x55a1=function(){return _0x262e87;};return _0x55a1();}import{Plugin as _0x268c97}from'ckeditor5/src/core.js';import _0x158910 from'./slashcommandediting.js';import _0x4e944f from'./slashcommandui.js';export default class m extends _0x268c97{static get[_0x25ee87(0x78)](){var _0x188f51=_0x25ee87;return[_0x188f51(0x80),_0x158910,_0x4e944f];}static get[_0x25ee87(0x7b)](){var _0x479cb8=_0x25ee87;return _0x479cb8(0x77);}}
23
+ var _0x1cf1cb=_0xed69;(function(_0x1ec753,_0x5bb163){var _0x51a555=_0xed69,_0x5533aa=_0x1ec753();while(!![]){try{var _0x94651e=-parseInt(_0x51a555(0x1eb))/0x1*(-parseInt(_0x51a555(0x1ec))/0x2)+-parseInt(_0x51a555(0x1e6))/0x3+-parseInt(_0x51a555(0x1e7))/0x4+parseInt(_0x51a555(0x1ef))/0x5*(parseInt(_0x51a555(0x1e8))/0x6)+-parseInt(_0x51a555(0x1e9))/0x7*(parseInt(_0x51a555(0x1ea))/0x8)+-parseInt(_0x51a555(0x1e5))/0x9+parseInt(_0x51a555(0x1ed))/0xa;if(_0x94651e===_0x5bb163)break;else _0x5533aa['push'](_0x5533aa['shift']());}catch(_0x4bf5b6){_0x5533aa['push'](_0x5533aa['shift']());}}}(_0x14e5,0xd1b02));import{Plugin as _0x120300}from'ckeditor5/src/core.js';import _0x6a8abb from'./slashcommandediting.js';function _0x14e5(){var _0x39f3de=['1861760fqoDDG','120oNlIfK','7HKJXfg','299304qzIMZa','74468QeNCwg','16Mxcveh','19673580RoBkHW','pluginName','180535IQCSuH','requires','SlashCommand','Mention','6262281wbetxs','3683094MJyEtF'];_0x14e5=function(){return _0x39f3de;};return _0x14e5();}function _0xed69(_0xec4622,_0x47f558){var _0x14e52f=_0x14e5();return _0xed69=function(_0xed69ee,_0xb7c562){_0xed69ee=_0xed69ee-0x1e5;var _0x2a5af7=_0x14e52f[_0xed69ee];return _0x2a5af7;},_0xed69(_0xec4622,_0x47f558);}import _0x5546e0 from'./slashcommandui.js';export default class m extends _0x120300{static get[_0x1cf1cb(0x1f0)](){var _0x31b429=_0x1cf1cb;return[_0x31b429(0x1f2),_0x6a8abb,_0x5546e0];}static get[_0x1cf1cb(0x1ee)](){var _0x54dbcf=_0x1cf1cb;return _0x54dbcf(0x1f1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{icons as _0x19a61a,Plugin as _0x99f380}from'ckeditor5/src/core.js';import{icons as _0x28172f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CKEditorError as _0x45d02b}from'ckeditor5/src/utils.js';import'./slashcommandeditorconfig.js';export default class o extends _0x99f380{static get['pluginName'](){return'SlashCommandConfig';}constructor(_0x296ce4){super(_0x296ce4),this['_allowedCommands']=null;}['afterInit'](){const _0x5b5c47=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5675f1=function(_0x9e3c06){let _0x51c601=['heading4','heading5','heading6'];if(_0x9e3c06){const _0x17db74=_0x9e3c06['map'](_0x151d4a=>_0x151d4a['model']);_0x51c601=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x32b555=>!_0x17db74['includes'](_0x32b555));}return _0x51c601;}(this['editor']['config']['get']('heading.options'));let _0x18dd4e=this['getDefaultCommands']()['filter'](_0xd26106=>!_0x5675f1['includes'](_0xd26106['id']))['filter'](_0x48d7c9=>!_0x5b5c47['includes'](_0x48d7c9['commandName']));const _0xc868c4=this['editor']['config']['get']('slashCommand.extraCommands');_0xc868c4&&_0xc868c4['length']&&(_0x18dd4e=_0x18dd4e['concat'](_0xc868c4));const _0x1e82c7=this['editor']['config']['get']('template.definitions');_0x1e82c7&&_0x1e82c7['length']&&(_0x18dd4e=_0x18dd4e['concat'](function(_0x2cd695){return _0x2cd695['map'](_0x3983ce=>{const {title:_0x2dff24,icon:_0x235a7f,description:_0x35b677,data:_0x359113}=_0x3983ce,_0x1b6e69={'id':c(_0x2dff24,'template'),'commandName':'insertTemplate','execute':_0x985ab3=>{_0x985ab3['execute']('insertTemplate',_0x359113);},'description':_0x35b677,'icon':_0x235a7f,'title':_0x2dff24};return _0x235a7f&&(_0x1b6e69['isIconColorInherited']=!0x1),_0x1b6e69;});}(_0x1e82c7)));const _0x23f54b=this['editor']['config']['get']('style.definitions');_0x23f54b&&_0x23f54b['length']&&(_0x18dd4e=_0x18dd4e['concat'](function(_0x27958b){return _0x27958b['map'](_0xab393c=>({'id':c(_0xab393c['name'],'style'),'commandName':'style','execute':_0x327254=>{_0x327254['execute']('style',{'styleName':_0xab393c['name']});},'isEnabled':_0x65e418=>{const _0x1fa1e1=_0x65e418['commands']['get']('style');return _0x1fa1e1['isEnabled']&&_0x1fa1e1['enabledStyles']['includes'](_0xab393c['name']);},'title':_0xab393c['name']}));}(_0x23f54b)));const _0xff1af6=_0x18dd4e['filter'](_0x108dea=>!_0x108dea['commandName']||void 0x0!==this['editor']['commands']['get'](_0x108dea['commandName'])),_0x27bbc1=[];for(const _0x1d88a4 of _0xff1af6)_0x27bbc1['push']({'id':_0x1d88a4['id'],'commandName':_0x1d88a4['commandName'],'title':'function'==typeof _0x1d88a4['title']?_0x1d88a4['title'](this['editor']):_0x1d88a4['title'],'description':_0x1d88a4['description'],'icon':_0x1d88a4['icon'],'isIconColorInherited':_0x1d88a4['isIconColorInherited'],'aliases':_0x1d88a4['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x1d88a4),'execute':()=>this['_proxyExecute'](_0x1d88a4)});this['_allowedCommands']=_0x27bbc1['sort'](d);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const t=this['editor']['t'],_0x4d95e4=this['editor']['locale']['t'];return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x28172f['robotPencil'],'title':_0x4d95e4('AI\x20Assistant'),'description':t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3b317e=>{setTimeout(()=>_0x3b317e['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x19a61a['quote'],'title':_0x4d95e4('Block\x20quote'),'description':t('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x19a61a['bulletedList'],'title':_0x4d95e4('Bulleted\x20list'),'description':t('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x19a61a['codeBlock'],'title':_0x4d95e4('Insert\x20code\x20block'),'description':t('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x19a61a['browseFiles'],'title':_0x4d95e4('Open\x20file\x20manager'),'description':t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x19a61a['browseFiles'],'title':_0x4d95e4('Insert\x20image'),'description':t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'heading1','commandName':'heading','icon':_0x19a61a['heading1'],'title':_0x4d95e4('Heading\x201'),'description':t('Create\x20a\x20heading\x20level\x201'),'execute':_0x3a378d=>{_0x3a378d['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x19a61a['heading2'],'title':_0x4d95e4('Heading\x202'),'description':t('Create\x20a\x20heading\x20level\x202'),'execute':_0x4d07f6=>{_0x4d07f6['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x19a61a['heading3'],'title':_0x4d95e4('Heading\x203'),'description':t('Create\x20a\x20heading\x20level\x203'),'execute':_0xdc5bfe=>{_0xdc5bfe['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x19a61a['heading4'],'title':_0x4d95e4('Heading\x204'),'description':t('Create\x20a\x20heading\x20level\x204'),'execute':_0x1da6f3=>{_0x1da6f3['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x19a61a['heading5'],'title':_0x4d95e4('Heading\x205'),'description':t('Create\x20a\x20heading\x20level\x205'),'execute':_0x5359e7=>{_0x5359e7['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x19a61a['heading6'],'title':_0x4d95e4('Heading\x206'),'description':t('Create\x20a\x20heading\x20level\x206'),'execute':_0x2ae2f0=>{_0x2ae2f0['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x19a61a['horizontalLine'],'title':_0x4d95e4('Horizontal\x20line'),'description':t('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x19a61a['html'],'title':_0x4d95e4('Insert\x20HTML'),'description':t('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x19a61a['indent'],'title':_0x4d95e4('Increase\x20indent'),'description':t('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':t('Insert\x20Mermaid\x20diagram'),'description':t('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x19a61a['table'],'title':_0x4d95e4('Insert\x20table'),'description':t('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x28172f['tableOfContents'],'title':_0x4d95e4('Table\x20of\x20contents'),'description':t('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x19a61a['numberedList'],'title':_0x4d95e4('Numbered\x20list'),'description':t('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x19a61a['outdent'],'title':_0x4d95e4('Decrease\x20indent'),'description':t('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x19a61a['paragraph'],'title':_0x4d95e4('Paragraph'),'description':t('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x19a61a['todoList'],'title':_0x4d95e4('To-do\x20list'),'description':t('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x3715a7){return _0x3715a7['isEnabled']?_0x3715a7['isEnabled'](this['editor']):!_0x3715a7['commandName']||this['editor']['commands']['get'](_0x3715a7['commandName'])['isEnabled'];}['_proxyExecute'](_0x5f3c5e){if(_0x5f3c5e['execute'])_0x5f3c5e['execute'](this['editor']);else{if(!_0x5f3c5e['commandName'])throw new _0x45d02b('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x5f3c5e});this['editor']['execute'](_0x5f3c5e['commandName']);}}}function d(_0x5c1fc2,_0x5325ad){return _0x5c1fc2['title']<_0x5325ad['title']?-0x1:_0x5c1fc2['title']>_0x5325ad['title']?0x1:0x0;}function c(_0x407879,_0x15c05e){return _0x15c05e+'-'+_0x407879['toLowerCase']()['split']('\x20')['join']('-');}
23
+ import{icons as _0x22ef30,Plugin as _0x5f2861}from'ckeditor5/src/core.js';import{icons as _0x376b07}from'ckeditor5-collaboration/src/collaboration-core.js';import{CKEditorError as _0x41af78}from'ckeditor5/src/utils.js';import'./slashcommandeditorconfig.js';export default class o extends _0x5f2861{static get['pluginName'](){return'SlashCommandConfig';}constructor(_0x707ddb){super(_0x707ddb),this['_allowedCommands']=null;}['afterInit'](){const _0x521b48=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5790f6=function(_0x3a22df){let _0x7d69d1=['heading4','heading5','heading6'];if(_0x3a22df){const _0x10dbe4=_0x3a22df['map'](_0x95fa24=>_0x95fa24['model']);_0x7d69d1=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x110190=>!_0x10dbe4['includes'](_0x110190));}return _0x7d69d1;}(this['editor']['config']['get']('heading.options'));let _0x4439d2=this['getDefaultCommands']()['filter'](_0x2c2c8d=>!_0x5790f6['includes'](_0x2c2c8d['id']))['filter'](_0x19d651=>!_0x521b48['includes'](_0x19d651['commandName']));const _0x2934ad=this['editor']['config']['get']('slashCommand.extraCommands');_0x2934ad&&_0x2934ad['length']&&(_0x4439d2=_0x4439d2['concat'](_0x2934ad));const _0x1a101b=this['editor']['config']['get']('template.definitions');_0x1a101b&&_0x1a101b['length']&&(_0x4439d2=_0x4439d2['concat'](function(_0x40ea4c){return _0x40ea4c['map'](_0x356dbd=>{const {title:_0x2c5960,icon:_0x57a0cb,description:_0x56e765,data:_0x400f13}=_0x356dbd,_0x94eade={'id':c(_0x2c5960,'template'),'commandName':'insertTemplate','execute':_0xcdb24b=>{_0xcdb24b['execute']('insertTemplate',_0x400f13);},'description':_0x56e765,'icon':_0x57a0cb,'title':_0x2c5960};return _0x57a0cb&&(_0x94eade['isIconColorInherited']=!0x1),_0x94eade;});}(_0x1a101b)));const _0x4a5989=this['editor']['config']['get']('style.definitions');_0x4a5989&&_0x4a5989['length']&&(_0x4439d2=_0x4439d2['concat'](function(_0x250c5a){return _0x250c5a['map'](_0x3bd6e5=>({'id':c(_0x3bd6e5['name'],'style'),'commandName':'style','execute':_0x17b21b=>{_0x17b21b['execute']('style',{'styleName':_0x3bd6e5['name']});},'isEnabled':_0x3d6291=>{const _0x1af574=_0x3d6291['commands']['get']('style');return _0x1af574['isEnabled']&&_0x1af574['enabledStyles']['includes'](_0x3bd6e5['name']);},'title':_0x3bd6e5['name']}));}(_0x4a5989)));const _0x301e09=_0x4439d2['filter'](_0x99497b=>!_0x99497b['commandName']||void 0x0!==this['editor']['commands']['get'](_0x99497b['commandName'])),_0x2ff9e0=[];for(const _0x23a2f6 of _0x301e09)_0x2ff9e0['push']({'id':_0x23a2f6['id'],'commandName':_0x23a2f6['commandName'],'title':'function'==typeof _0x23a2f6['title']?_0x23a2f6['title'](this['editor']):_0x23a2f6['title'],'description':_0x23a2f6['description'],'icon':_0x23a2f6['icon'],'isIconColorInherited':_0x23a2f6['isIconColorInherited'],'aliases':_0x23a2f6['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x23a2f6),'execute':()=>this['_proxyExecute'](_0x23a2f6)});this['_allowedCommands']=_0x2ff9e0['sort'](d);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const t=this['editor']['t'],_0x55d78f=this['editor']['locale']['t'];return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x376b07['robotPencil'],'title':_0x55d78f('AI\x20Assistant'),'description':t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x5f5972=>{setTimeout(()=>_0x5f5972['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x22ef30['quote'],'title':_0x55d78f('Block\x20quote'),'description':t('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x22ef30['bulletedList'],'title':_0x55d78f('Bulleted\x20list'),'description':t('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x22ef30['codeBlock'],'title':_0x55d78f('Insert\x20code\x20block'),'description':t('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x22ef30['browseFiles'],'title':_0x55d78f('Open\x20file\x20manager'),'description':t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x22ef30['browseFiles'],'title':_0x55d78f('Insert\x20image'),'description':t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'heading1','commandName':'heading','icon':_0x22ef30['heading1'],'title':_0x55d78f('Heading\x201'),'description':t('Create\x20a\x20heading\x20level\x201'),'execute':_0xdc4d5d=>{_0xdc4d5d['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x22ef30['heading2'],'title':_0x55d78f('Heading\x202'),'description':t('Create\x20a\x20heading\x20level\x202'),'execute':_0x2ed713=>{_0x2ed713['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x22ef30['heading3'],'title':_0x55d78f('Heading\x203'),'description':t('Create\x20a\x20heading\x20level\x203'),'execute':_0x52c591=>{_0x52c591['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x22ef30['heading4'],'title':_0x55d78f('Heading\x204'),'description':t('Create\x20a\x20heading\x20level\x204'),'execute':_0x46ea3a=>{_0x46ea3a['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x22ef30['heading5'],'title':_0x55d78f('Heading\x205'),'description':t('Create\x20a\x20heading\x20level\x205'),'execute':_0x1174d1=>{_0x1174d1['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x22ef30['heading6'],'title':_0x55d78f('Heading\x206'),'description':t('Create\x20a\x20heading\x20level\x206'),'execute':_0x228bb3=>{_0x228bb3['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x22ef30['horizontalLine'],'title':_0x55d78f('Horizontal\x20line'),'description':t('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x22ef30['html'],'title':_0x55d78f('Insert\x20HTML'),'description':t('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x22ef30['indent'],'title':_0x55d78f('Increase\x20indent'),'description':t('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':t('Insert\x20Mermaid\x20diagram'),'description':t('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x22ef30['table'],'title':_0x55d78f('Insert\x20table'),'description':t('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x376b07['tableOfContents'],'title':_0x55d78f('Table\x20of\x20contents'),'description':t('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x22ef30['numberedList'],'title':_0x55d78f('Numbered\x20list'),'description':t('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x22ef30['outdent'],'title':_0x55d78f('Decrease\x20indent'),'description':t('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x22ef30['paragraph'],'title':_0x55d78f('Paragraph'),'description':t('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x22ef30['todoList'],'title':_0x55d78f('To-do\x20list'),'description':t('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x544665){return _0x544665['isEnabled']?_0x544665['isEnabled'](this['editor']):!_0x544665['commandName']||this['editor']['commands']['get'](_0x544665['commandName'])['isEnabled'];}['_proxyExecute'](_0x2b44f7){if(_0x2b44f7['execute'])_0x2b44f7['execute'](this['editor']);else{if(!_0x2b44f7['commandName'])throw new _0x41af78('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2b44f7});this['editor']['execute'](_0x2b44f7['commandName']);}}}function d(_0x48f99c,_0x4ce93b){return _0x48f99c['title']<_0x4ce93b['title']?-0x1:_0x48f99c['title']>_0x4ce93b['title']?0x1:0x0;}function c(_0x35489f,_0x5477e2){return _0x5477e2+'-'+_0x35489f['toLowerCase']()['split']('\x20')['join']('-');}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d3748=_0x5cda;(function(_0x43d349,_0x2fcd2c){const _0x33f003=_0x5cda,_0x2baa47=_0x43d349();while(!![]){try{const _0x5d5fa4=-parseInt(_0x33f003(0xdd))/0x1+-parseInt(_0x33f003(0xe8))/0x2+parseInt(_0x33f003(0xf4))/0x3*(parseInt(_0x33f003(0xf6))/0x4)+-parseInt(_0x33f003(0xdc))/0x5+-parseInt(_0x33f003(0xfa))/0x6+-parseInt(_0x33f003(0xe1))/0x7*(parseInt(_0x33f003(0xee))/0x8)+parseInt(_0x33f003(0xf1))/0x9*(parseInt(_0x33f003(0xe6))/0xa);if(_0x5d5fa4===_0x2fcd2c)break;else _0x2baa47['push'](_0x2baa47['shift']());}catch(_0x2248b4){_0x2baa47['push'](_0x2baa47['shift']());}}}(_0x285f,0xf1a97));import{Plugin as _0x373a2a}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e3a7d}from'ckeditor5/src/utils.js';import _0xc9675d from'./slashcommandconfig.js';function _0x5cda(_0x2a539a,_0x59d441){const _0x285fe5=_0x285f();return _0x5cda=function(_0x5cdae8,_0x45b240){_0x5cdae8=_0x5cdae8-0xd8;let _0x58c7c9=_0x285fe5[_0x5cdae8];return _0x58c7c9;},_0x5cda(_0x2a539a,_0x59d441);}function _0x285f(){const _0x4c5b2c=['slash-command-trial-license-key-reached-limit-changes','943675EldrJJ','437060PJVIbp','config','SlashCommandConfig','plugins','336AHrPqd','slash-command-invalid-license-key','info','toLowerCase','concat','1562430xFuUcV','isEnabled','566274muVSjN','push','some','getAllowedCommands','title','description','325328OMdRVY','pluginName','slashCommandLicenseKeyTrialLimit:operations','135qwoXiB','SlashCommandEditing','get','4569681VFoEcm','editor','4ymuyCK','licenseKey','destroy','_licenseKeyCheckInterval','96750dmSWAL','getMatchingCommands','includes','slashCommandLicenseKeyValid','slashCommandLicenseKeyTrial','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20slash\x20command\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','init','filter','requires','aliases','slashCommandLicenseKeyInvalid'];_0x285f=function(){return _0x4c5b2c;};return _0x285f();}export default class e extends _0x373a2a{static get[_0x5d3748(0xef)](){const _0x5bb7c7=_0x5d3748;return _0x5bb7c7(0xf2);}static get[_0x5d3748(0xd8)](){return[_0xc9675d];}constructor(_0x571a9a){const _0x33b2c8=_0x5d3748;super(_0x571a9a),this[_0x33b2c8(0xf9)]=null;}[_0x5d3748(0x100)](){const _0x4093fd=_0x5d3748,_0x5bd2c7=this[_0x4093fd(0xf5)];this[_0x4093fd(0xf7)]=_0x5bd2c7[_0x4093fd(0xde)][_0x4093fd(0xf3)](_0x4093fd(0xf7));const _0x17d2b6=this[_0x4093fd(0xf5)];this[_0x4093fd(0xf9)]=setInterval(()=>{const _0x2225c6=_0x4093fd;let _0x57f872;for(const _0x265fc5 in _0x17d2b6){const _0x33d58f=_0x265fc5,_0x5b1d17=_0x17d2b6[_0x33d58f];if(_0x2225c6(0xfe)===_0x5b1d17||_0x2225c6(0xda)===_0x5b1d17||_0x2225c6(0xfd)===_0x5b1d17||_0x2225c6(0xf0)===_0x5b1d17){delete _0x17d2b6[_0x33d58f],_0x57f872=_0x5b1d17;break;}}if(_0x2225c6(0xda)===_0x57f872)throw clearInterval(this[_0x2225c6(0xf9)]),new _0x5e3a7d(_0x2225c6(0xe2),null);if(_0x2225c6(0xfe)===_0x57f872&&console[_0x2225c6(0xe3)](_0x2225c6(0xff)),_0x2225c6(0xf0)===_0x57f872)throw clearInterval(this[_0x2225c6(0xf9)]),new _0x5e3a7d(_0x2225c6(0xdb),null);_0x2225c6(0xfd)===_0x57f872&&clearInterval(this[_0x2225c6(0xf9)]);},0x3e8);}[_0x5d3748(0xf8)](){const _0x5875a3=_0x5d3748;this[_0x5875a3(0xf9)]&&clearInterval(this[_0x5875a3(0xf9)]);}[_0x5d3748(0xfb)](_0x2d6e76){const _0x6937c9=_0x5d3748,_0x4ae54a=_0x2d6e76&&_0x2d6e76[_0x6937c9(0xe4)]();let _0x5ecf02=this[_0x6937c9(0xf5)][_0x6937c9(0xe0)][_0x6937c9(0xf3)](_0x6937c9(0xdf))[_0x6937c9(0xeb)]();if(_0x5ecf02=_0x5ecf02[_0x6937c9(0x101)](_0x1635e7=>_0x1635e7[_0x6937c9(0xe7)]()),_0x4ae54a){const _0x3626bc=[],_0x29376e=[],_0x3f55bd=[],_0x1da8e6=[];for(const _0x2e1558 of _0x5ecf02)_0x2e1558['id'][_0x6937c9(0xe4)]()[_0x6937c9(0xfc)](_0x4ae54a)?_0x3626bc[_0x6937c9(0xe9)](_0x2e1558):_0x2e1558[_0x6937c9(0xec)][_0x6937c9(0xe4)]()[_0x6937c9(0xfc)](_0x4ae54a)?_0x29376e[_0x6937c9(0xe9)](_0x2e1558):_0x2e1558[_0x6937c9(0xd9)]&&_0x2e1558[_0x6937c9(0xd9)][_0x6937c9(0xea)](_0x52fad6=>_0x52fad6[_0x6937c9(0xe4)]()[_0x6937c9(0xfc)](_0x4ae54a))?_0x3f55bd[_0x6937c9(0xe9)](_0x2e1558):_0x2e1558[_0x6937c9(0xed)]&&_0x2e1558[_0x6937c9(0xed)][_0x6937c9(0xe4)]()[_0x6937c9(0xfc)](_0x4ae54a)&&_0x1da8e6[_0x6937c9(0xe9)](_0x2e1558);_0x5ecf02=_0x3626bc[_0x6937c9(0xe5)](_0x29376e,_0x3f55bd,_0x1da8e6);}return _0x5ecf02;}}
23
+ const _0x1a21ea=_0x5dee;(function(_0x488000,_0x314788){const _0xafbb5d=_0x5dee,_0x22ef95=_0x488000();while(!![]){try{const _0x2a21bb=parseInt(_0xafbb5d(0xf6))/0x1+-parseInt(_0xafbb5d(0xe5))/0x2+parseInt(_0xafbb5d(0x101))/0x3*(parseInt(_0xafbb5d(0xfb))/0x4)+-parseInt(_0xafbb5d(0xdc))/0x5+-parseInt(_0xafbb5d(0xf5))/0x6*(-parseInt(_0xafbb5d(0xf2))/0x7)+parseInt(_0xafbb5d(0x100))/0x8+-parseInt(_0xafbb5d(0xfe))/0x9;if(_0x2a21bb===_0x314788)break;else _0x22ef95['push'](_0x22ef95['shift']());}catch(_0x4de403){_0x22ef95['push'](_0x22ef95['shift']());}}}(_0x5109,0x1c71a));import{Plugin as _0x320be7}from'ckeditor5/src/core.js';function _0x5109(){const _0x51ee6f=['getAllowedCommands','getMatchingCommands','slashCommandLicenseKeyInvalid','toLowerCase','requires','editor','111354xyReIU','slash-command-invalid-license-key','isEnabled','aliases','init','slashCommandLicenseKeyTrial','SlashCommandEditing','some','slashCommandLicenseKeyValid','includes','info','destroy','get','5026GujuDY','pluginName','slash-command-trial-license-key-reached-limit-changes','1860UyedLW','166537oljJtE','licenseKey','SlashCommandConfig','description','filter','61448NALNdt','_licenseKeyCheckInterval','config','1915641RxYxsX','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20slash\x20command\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','969664vkBDCO','6QBsbKR','title','concat','plugins','780085auYZVU','push','slashCommandLicenseKeyTrialLimit:operations'];_0x5109=function(){return _0x51ee6f;};return _0x5109();}import{CKEditorError as _0x2d0382}from'ckeditor5/src/utils.js';function _0x5dee(_0x1a9f63,_0x7d718f){const _0x5109a2=_0x5109();return _0x5dee=function(_0x5dee89,_0x3f8e17){_0x5dee89=_0x5dee89-0xdb;let _0x2269dd=_0x5109a2[_0x5dee89];return _0x2269dd;},_0x5dee(_0x1a9f63,_0x7d718f);}import _0x1afd1a from'./slashcommandconfig.js';export default class e extends _0x320be7{static get[_0x1a21ea(0xf3)](){const _0x4244c5=_0x1a21ea;return _0x4244c5(0xeb);}static get[_0x1a21ea(0xe3)](){return[_0x1afd1a];}constructor(_0x1b0a60){const _0x1e99c1=_0x1a21ea;super(_0x1b0a60),this[_0x1e99c1(0xfc)]=null;}[_0x1a21ea(0xe9)](){const _0x506690=_0x1a21ea,_0x23fbb7=this[_0x506690(0xe4)];this[_0x506690(0xf7)]=_0x23fbb7[_0x506690(0xfd)][_0x506690(0xf1)](_0x506690(0xf7));const _0x5ed249=this[_0x506690(0xe4)];this[_0x506690(0xfc)]=setInterval(()=>{const _0x271bc3=_0x506690;let _0x107259;for(const _0x1049e0 in _0x5ed249){const _0x4582ba=_0x1049e0,_0x50f110=_0x5ed249[_0x4582ba];if(_0x271bc3(0xea)===_0x50f110||_0x271bc3(0xe1)===_0x50f110||_0x271bc3(0xed)===_0x50f110||_0x271bc3(0xde)===_0x50f110){delete _0x5ed249[_0x4582ba],_0x107259=_0x50f110;break;}}if(_0x271bc3(0xe1)===_0x107259)throw clearInterval(this[_0x271bc3(0xfc)]),new _0x2d0382(_0x271bc3(0xe6),null);if(_0x271bc3(0xea)===_0x107259&&console[_0x271bc3(0xef)](_0x271bc3(0xff)),_0x271bc3(0xde)===_0x107259)throw clearInterval(this[_0x271bc3(0xfc)]),new _0x2d0382(_0x271bc3(0xf4),null);_0x271bc3(0xed)===_0x107259&&clearInterval(this[_0x271bc3(0xfc)]);},0x3e8);}[_0x1a21ea(0xf0)](){const _0x39f332=_0x1a21ea;this[_0x39f332(0xfc)]&&clearInterval(this[_0x39f332(0xfc)]);}[_0x1a21ea(0xe0)](_0x561fac){const _0x2b2792=_0x1a21ea,_0x539ba4=_0x561fac&&_0x561fac[_0x2b2792(0xe2)]();let _0x53efab=this[_0x2b2792(0xe4)][_0x2b2792(0xdb)][_0x2b2792(0xf1)](_0x2b2792(0xf8))[_0x2b2792(0xdf)]();if(_0x53efab=_0x53efab[_0x2b2792(0xfa)](_0x1527e3=>_0x1527e3[_0x2b2792(0xe7)]()),_0x539ba4){const _0x262a3c=[],_0x128e3a=[],_0x3b70cd=[],_0x6cc905=[];for(const _0x2cf0e5 of _0x53efab)_0x2cf0e5['id'][_0x2b2792(0xe2)]()[_0x2b2792(0xee)](_0x539ba4)?_0x262a3c[_0x2b2792(0xdd)](_0x2cf0e5):_0x2cf0e5[_0x2b2792(0x102)][_0x2b2792(0xe2)]()[_0x2b2792(0xee)](_0x539ba4)?_0x128e3a[_0x2b2792(0xdd)](_0x2cf0e5):_0x2cf0e5[_0x2b2792(0xe8)]&&_0x2cf0e5[_0x2b2792(0xe8)][_0x2b2792(0xec)](_0x436f07=>_0x436f07[_0x2b2792(0xe2)]()[_0x2b2792(0xee)](_0x539ba4))?_0x3b70cd[_0x2b2792(0xdd)](_0x2cf0e5):_0x2cf0e5[_0x2b2792(0xf9)]&&_0x2cf0e5[_0x2b2792(0xf9)][_0x2b2792(0xe2)]()[_0x2b2792(0xee)](_0x539ba4)&&_0x6cc905[_0x2b2792(0xdd)](_0x2cf0e5);_0x53efab=_0x262a3c[_0x2b2792(0x103)](_0x128e3a,_0x3b70cd,_0x6cc905);}return _0x53efab;}}