@ckeditor/ckeditor5-slash-command 39.0.1 → 39.0.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 (52) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +7 -7
  3. package/build/slash-command.js +1 -1
  4. package/lang/translations/ar.po +1 -0
  5. package/lang/translations/bg.po +1 -0
  6. package/lang/translations/bn.po +1 -0
  7. package/lang/translations/ca.po +1 -0
  8. package/lang/translations/cs.po +1 -0
  9. package/lang/translations/da.po +1 -0
  10. package/lang/translations/de.po +1 -0
  11. package/lang/translations/el.po +1 -0
  12. package/lang/translations/en-au.po +1 -0
  13. package/lang/translations/en.po +1 -0
  14. package/lang/translations/es.po +1 -0
  15. package/lang/translations/et.po +1 -0
  16. package/lang/translations/fi.po +1 -0
  17. package/lang/translations/fr.po +1 -0
  18. package/lang/translations/gl.po +1 -0
  19. package/lang/translations/he.po +1 -0
  20. package/lang/translations/hi.po +1 -0
  21. package/lang/translations/hr.po +1 -0
  22. package/lang/translations/hu.po +1 -0
  23. package/lang/translations/id.po +1 -0
  24. package/lang/translations/it.po +1 -0
  25. package/lang/translations/ja.po +1 -0
  26. package/lang/translations/ko.po +1 -0
  27. package/lang/translations/lt.po +1 -0
  28. package/lang/translations/lv.po +1 -0
  29. package/lang/translations/ms.po +1 -0
  30. package/lang/translations/nl.po +1 -0
  31. package/lang/translations/no.po +1 -0
  32. package/lang/translations/pl.po +1 -0
  33. package/lang/translations/pt-br.po +1 -0
  34. package/lang/translations/pt.po +1 -0
  35. package/lang/translations/ro.po +1 -0
  36. package/lang/translations/ru.po +1 -0
  37. package/lang/translations/sk.po +1 -0
  38. package/lang/translations/sr.po +1 -0
  39. package/lang/translations/sv.po +1 -0
  40. package/lang/translations/th.po +1 -0
  41. package/lang/translations/tr.po +1 -0
  42. package/lang/translations/uk.po +1 -0
  43. package/lang/translations/uz.po +1 -0
  44. package/lang/translations/vi.po +1 -0
  45. package/lang/translations/zh-cn.po +1 -0
  46. package/lang/translations/zh.po +1 -0
  47. package/package.json +13 -17
  48. package/src/slashcommand.js +1 -1
  49. package/src/slashcommandconfig.js +1 -1
  50. package/src/slashcommandediting.js +1 -1
  51. package/src/slashcommandui.js +1 -1
  52. package/src/ui/slashcommandbuttonview.js +1 -1
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
16
16
  "Language: ja\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
16
16
  "Language: ko\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
16
16
  "Language: lt\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
16
16
  "Language: lv\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
16
16
  "Language: ms\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
16
16
  "Language: nl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
16
16
  "Language: no\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
16
16
  "Language: pl\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
16
  "Language: ro\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
16
  "Language: ru\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
16
  "Language: sk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
16
  "Language: sr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
16
  "Language: sv\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
16
  "Language: th\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
16
16
  "Language: uz\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-slash-command",
3
- "version": "39.0.1",
3
+ "version": "39.0.2",
4
4
  "description": "Slash command feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,22 +11,18 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-ckbox": "39.0.1",
15
- "@ckeditor/ckeditor5-ckfinder": "39.0.1",
16
- "@ckeditor/ckeditor5-code-block": "39.0.1",
17
- "@ckeditor/ckeditor5-heading": "39.0.1",
18
- "@ckeditor/ckeditor5-horizontal-line": "39.0.1",
19
- "@ckeditor/ckeditor5-html-embed": "39.0.1",
20
- "@ckeditor/ckeditor5-indent": "39.0.1",
21
- "@ckeditor/ckeditor5-list": "39.0.1",
22
- "@ckeditor/ckeditor5-table": "39.0.1",
23
- "@ckeditor/ckeditor5-document-outline": "39.0.1",
24
- "@ckeditor/ckeditor5-ui": "39.0.1",
25
- "ckeditor5": "39.0.1"
26
- },
27
- "engines": {
28
- "node": ">=16.0.0",
29
- "npm": ">=5.7.1"
14
+ "@ckeditor/ckeditor5-ckbox": "39.0.2",
15
+ "@ckeditor/ckeditor5-ckfinder": "39.0.2",
16
+ "@ckeditor/ckeditor5-code-block": "39.0.2",
17
+ "@ckeditor/ckeditor5-heading": "39.0.2",
18
+ "@ckeditor/ckeditor5-horizontal-line": "39.0.2",
19
+ "@ckeditor/ckeditor5-html-embed": "39.0.2",
20
+ "@ckeditor/ckeditor5-indent": "39.0.2",
21
+ "@ckeditor/ckeditor5-list": "39.0.2",
22
+ "@ckeditor/ckeditor5-table": "39.0.2",
23
+ "@ckeditor/ckeditor5-document-outline": "39.0.2",
24
+ "@ckeditor/ckeditor5-ui": "39.0.2",
25
+ "ckeditor5": "39.0.2"
30
26
  },
31
27
  "license": "SEE LICENSE IN LICENSE.md",
32
28
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x646d=['Mention','SlashCommand'];(function(_0x1f2c86,_0x646d6e){var _0x3d3f6e=function(_0x2b06ee){while(--_0x2b06ee){_0x1f2c86['push'](_0x1f2c86['shift']());}};_0x3d3f6e(++_0x646d6e);}(_0x646d,0x6c));var _0x3d3f=function(_0x1f2c86,_0x646d6e){_0x1f2c86=_0x1f2c86-0x0;var _0x3d3f6e=_0x646d[_0x1f2c86];return _0x3d3f6e;};import{Plugin as _0x25dd07}from'ckeditor5/src/core';import _0x204da7 from'./slashcommandediting';import _0x2eb28c from'./slashcommandui';export default class o extends _0x25dd07{static get['requires'](){return[_0x3d3f('0x0'),_0x204da7,_0x2eb28c];}static get['pluginName'](){return _0x3d3f('0x1');}}
23
+ var _0x71d8=['requires','SlashCommand','Mention','pluginName'];(function(_0x4a18b8,_0x71d8e3){var _0x374325=function(_0x5eef89){while(--_0x5eef89){_0x4a18b8['push'](_0x4a18b8['shift']());}};_0x374325(++_0x71d8e3);}(_0x71d8,0x19b));var _0x3743=function(_0x4a18b8,_0x71d8e3){_0x4a18b8=_0x4a18b8-0x0;var _0x374325=_0x71d8[_0x4a18b8];return _0x374325;};import{Plugin as _0x1b0e11}from'ckeditor5/src/core';import _0x302a47 from'./slashcommandediting';import _0x5d3d09 from'./slashcommandui';export default class o extends _0x1b0e11{static get[_0x3743('0x1')](){return[_0x3743('0x3'),_0x302a47,_0x5d3d09];}static get[_0x3743('0x0')](){return _0x3743('0x2');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1d0cc4,icons as _0x5f0ce9}from'ckeditor5/src/core';import{CKEditorError as _0x486596}from'ckeditor5/src/utils';import _0x8009b7 from'@ckeditor/ckeditor5-list/theme/icons/bulletedlist.svg';import _0x4caf3b from'@ckeditor/ckeditor5-code-block/theme/icons/codeblock.svg';import _0x9cf3ae from'@ckeditor/ckeditor5-ckbox/theme/icons/browse-files.svg';import _0x31bf1f from'@ckeditor/ckeditor5-ckfinder/theme/icons/browse-files.svg';import _0x1f006f from'@ckeditor/ckeditor5-heading/theme/icons/heading1.svg';import _0x137b08 from'@ckeditor/ckeditor5-heading/theme/icons/heading2.svg';import _0x1fe488 from'@ckeditor/ckeditor5-heading/theme/icons/heading3.svg';import _0x540840 from'@ckeditor/ckeditor5-heading/theme/icons/heading4.svg';import _0xa51c26 from'@ckeditor/ckeditor5-heading/theme/icons/heading5.svg';import _0xfea84 from'@ckeditor/ckeditor5-heading/theme/icons/heading6.svg';import _0x4562c0 from'@ckeditor/ckeditor5-horizontal-line/theme/icons/horizontalline.svg';import _0x5da4a8 from'@ckeditor/ckeditor5-html-embed/theme/icons/html.svg';import _0x5ec3ec from'@ckeditor/ckeditor5-indent/theme/icons/indent.svg';import _0x11473e from'@ckeditor/ckeditor5-table/theme/icons/table.svg';import _0x45a28b from'@ckeditor/ckeditor5-list/theme/icons/numberedlist.svg';import _0x3164b3 from'@ckeditor/ckeditor5-indent/theme/icons/outdent.svg';import _0x41c5a5 from'@ckeditor/ckeditor5-document-outline/theme/icons/table-of-contents.svg';import _0x332649 from'@ckeditor/ckeditor5-list/theme/icons/todolist.svg';import'./slashcommandeditorconfig';export default class T extends _0x1d0cc4{static get['pluginName'](){return'SlashCommandConfig';}constructor(_0x2643da){super(_0x2643da),this['_allowedCommands']=null;}['afterInit'](){const _0x19c6ab=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x3f66b8=function(_0x2504c3){let _0x44892b=['heading4','heading5','heading6'];if(_0x2504c3){const _0x59c45e=_0x2504c3['map'](_0x5a183e=>_0x5a183e['model']);_0x44892b=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x15ba3a=>!_0x59c45e['includes'](_0x15ba3a));}return _0x44892b;}(this['editor']['config']['get']('heading.options'));let _0x15713=this['getDefaultCommands']()['filter'](_0x32f4bb=>!_0x3f66b8['includes'](_0x32f4bb['id']))['filter'](_0x3332f9=>!_0x19c6ab['includes'](_0x3332f9['commandName']));const _0x3b462f=this['editor']['config']['get']('slashCommand.extraCommands');_0x3b462f&&_0x3b462f['length']&&(_0x15713=_0x15713['concat'](_0x3b462f));const _0x3ab755=this['editor']['config']['get']('template.definitions');_0x3ab755&&_0x3ab755['length']&&(_0x15713=_0x15713['concat'](function(_0x26b741){return _0x26b741['map'](_0x29c654=>{const {title:_0x5e7e15,icon:_0x57e33b,description:_0x4913c8,data:_0x1d86c2}=_0x29c654,_0x12a601={'id':H(_0x5e7e15,'template'),'commandName':'insertTemplate','execute':_0x25beac=>{_0x25beac['execute']('insertTemplate',_0x1d86c2);},'description':_0x4913c8,'icon':_0x57e33b,'title':_0x5e7e15};return _0x57e33b&&(_0x12a601['isIconColorInherited']=!0x1),_0x12a601;});}(_0x3ab755)));const _0x2cbec0=this['editor']['config']['get']('style.definitions');_0x2cbec0&&_0x2cbec0['length']&&(_0x15713=_0x15713['concat'](function(_0x496f17){return _0x496f17['map'](_0x4390c0=>({'id':H(_0x4390c0['name'],'style'),'commandName':'style','execute':_0x247fff=>{_0x247fff['execute']('style',{'styleName':_0x4390c0['name']});},'isEnabled':_0x543910=>{const _0x1ab3ad=_0x543910['commands']['get']('style');return _0x1ab3ad['isEnabled']&&_0x1ab3ad['enabledStyles']['includes'](_0x4390c0['name']);},'title':_0x4390c0['name']}));}(_0x2cbec0)));const _0x116493=_0x15713['filter'](_0x29e126=>!_0x29e126['commandName']||void 0x0!==this['editor']['commands']['get'](_0x29e126['commandName'])),_0x2b20f7=[];for(const _0xe298ad of _0x116493)_0x2b20f7['push']({'id':_0xe298ad['id'],'commandName':_0xe298ad['commandName'],'title':'function'==typeof _0xe298ad['title']?_0xe298ad['title'](this['editor']):_0xe298ad['title'],'description':_0xe298ad['description'],'icon':_0xe298ad['icon'],'isIconColorInherited':_0xe298ad['isIconColorInherited'],'aliases':_0xe298ad['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0xe298ad),'execute':()=>this['_proxyExecute'](_0xe298ad)});this['_allowedCommands']=_0x2b20f7['sort'](y);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const t=this['editor']['t'],_0x39754b=this['editor']['locale']['t'];return[{'id':'blockQuote','commandName':'blockQuote','icon':_0x5f0ce9['quote'],'title':_0x39754b('Block\x20quote'),'description':t('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x8009b7,'title':_0x39754b('Bulleted\x20list'),'description':t('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x4caf3b,'title':_0x39754b('Insert\x20code\x20block'),'description':t('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x9cf3ae,'title':_0x39754b('Open\x20file\x20manager'),'description':t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x31bf1f,'title':_0x39754b('Insert\x20image'),'description':t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'heading1','commandName':'heading','icon':_0x1f006f,'title':_0x39754b('Heading\x201'),'description':t('Create\x20a\x20heading\x20level\x201'),'execute':_0x5d5cc3=>{_0x5d5cc3['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x137b08,'title':_0x39754b('Heading\x202'),'description':t('Create\x20a\x20heading\x20level\x202'),'execute':_0x162e04=>{_0x162e04['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x1fe488,'title':_0x39754b('Heading\x203'),'description':t('Create\x20a\x20heading\x20level\x203'),'execute':_0x27200f=>{_0x27200f['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x540840,'title':_0x39754b('Heading\x204'),'description':t('Create\x20a\x20heading\x20level\x204'),'execute':_0x4af718=>{_0x4af718['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0xa51c26,'title':_0x39754b('Heading\x205'),'description':t('Create\x20a\x20heading\x20level\x205'),'execute':_0x1b4420=>{_0x1b4420['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0xfea84,'title':_0x39754b('Heading\x206'),'description':t('Create\x20a\x20heading\x20level\x206'),'execute':_0x131656=>{_0x131656['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x4562c0,'title':_0x39754b('Horizontal\x20line'),'description':t('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x5da4a8,'title':_0x39754b('Insert\x20HTML'),'description':t('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x5ec3ec,'title':_0x39754b('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':_0x11473e,'title':_0x39754b('Insert\x20table'),'description':t('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x41c5a5,'title':_0x39754b('Table\x20of\x20contents'),'description':t('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x45a28b,'title':_0x39754b('Numbered\x20list'),'description':t('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x3164b3,'title':_0x39754b('Decrease\x20indent'),'description':t('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x5f0ce9['paragraph'],'title':_0x39754b('Paragraph'),'description':t('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x332649,'title':_0x39754b('To-do\x20list'),'description':t('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x27a9b1){return _0x27a9b1['isEnabled']?_0x27a9b1['isEnabled'](this['editor']):!_0x27a9b1['commandName']||this['editor']['commands']['get'](_0x27a9b1['commandName'])['isEnabled'];}['_proxyExecute'](_0x2a7ed2){if(_0x2a7ed2['execute'])_0x2a7ed2['execute'](this['editor']);else{if(!_0x2a7ed2['commandName'])throw new _0x486596('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2a7ed2});this['editor']['execute'](_0x2a7ed2['commandName']);}}}function y(_0x60d030,_0x5288fe){return _0x60d030['title']<_0x5288fe['title']?-0x1:_0x60d030['title']>_0x5288fe['title']?0x1:0x0;}function H(_0x3b6d93,_0x43f70a){return _0x43f70a+'-'+_0x3b6d93['toLowerCase']()['split']('\x20')['join']('-');}
23
+ import{Plugin as _0x36ec4e,icons as _0x595446}from'ckeditor5/src/core';import{CKEditorError as _0x2bd1ad}from'ckeditor5/src/utils';import _0x70907 from'@ckeditor/ckeditor5-list/theme/icons/bulletedlist.svg';import _0x3a4d30 from'@ckeditor/ckeditor5-code-block/theme/icons/codeblock.svg';import _0x9540ba from'@ckeditor/ckeditor5-ckbox/theme/icons/browse-files.svg';import _0x32e604 from'@ckeditor/ckeditor5-ckfinder/theme/icons/browse-files.svg';import _0x5bbf3f from'@ckeditor/ckeditor5-heading/theme/icons/heading1.svg';import _0x551f91 from'@ckeditor/ckeditor5-heading/theme/icons/heading2.svg';import _0x299b52 from'@ckeditor/ckeditor5-heading/theme/icons/heading3.svg';import _0x14fbd9 from'@ckeditor/ckeditor5-heading/theme/icons/heading4.svg';import _0xa0681 from'@ckeditor/ckeditor5-heading/theme/icons/heading5.svg';import _0x3206af from'@ckeditor/ckeditor5-heading/theme/icons/heading6.svg';import _0x441d56 from'@ckeditor/ckeditor5-horizontal-line/theme/icons/horizontalline.svg';import _0x2b2ab7 from'@ckeditor/ckeditor5-html-embed/theme/icons/html.svg';import _0x138109 from'@ckeditor/ckeditor5-indent/theme/icons/indent.svg';import _0x9b1d09 from'@ckeditor/ckeditor5-table/theme/icons/table.svg';import _0x27a7bd from'@ckeditor/ckeditor5-list/theme/icons/numberedlist.svg';import _0x4dedb5 from'@ckeditor/ckeditor5-indent/theme/icons/outdent.svg';import _0x13aff7 from'@ckeditor/ckeditor5-document-outline/theme/icons/table-of-contents.svg';import _0x22d664 from'@ckeditor/ckeditor5-list/theme/icons/todolist.svg';import'./slashcommandeditorconfig';export default class T extends _0x36ec4e{static get['pluginName'](){return'SlashCommandConfig';}constructor(_0x1c1615){super(_0x1c1615),this['_allowedCommands']=null;}['afterInit'](){const _0xd1b384=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5480b8=function(_0x255b17){let _0x19c759=['heading4','heading5','heading6'];if(_0x255b17){const _0x3a5a7a=_0x255b17['map'](_0x40d88a=>_0x40d88a['model']);_0x19c759=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x5c4e00=>!_0x3a5a7a['includes'](_0x5c4e00));}return _0x19c759;}(this['editor']['config']['get']('heading.options'));let _0x33dd98=this['getDefaultCommands']()['filter'](_0x59838d=>!_0x5480b8['includes'](_0x59838d['id']))['filter'](_0x5db3aa=>!_0xd1b384['includes'](_0x5db3aa['commandName']));const _0x559812=this['editor']['config']['get']('slashCommand.extraCommands');_0x559812&&_0x559812['length']&&(_0x33dd98=_0x33dd98['concat'](_0x559812));const _0x1ffdf8=this['editor']['config']['get']('template.definitions');_0x1ffdf8&&_0x1ffdf8['length']&&(_0x33dd98=_0x33dd98['concat'](function(_0xc0a0b4){return _0xc0a0b4['map'](_0x3ec27c=>{const {title:_0xd441d1,icon:_0xa700e6,description:_0x588e7f,data:_0x1a90d9}=_0x3ec27c,_0x4bf18e={'id':H(_0xd441d1,'template'),'commandName':'insertTemplate','execute':_0x592cfe=>{_0x592cfe['execute']('insertTemplate',_0x1a90d9);},'description':_0x588e7f,'icon':_0xa700e6,'title':_0xd441d1};return _0xa700e6&&(_0x4bf18e['isIconColorInherited']=!0x1),_0x4bf18e;});}(_0x1ffdf8)));const _0x14c765=this['editor']['config']['get']('style.definitions');_0x14c765&&_0x14c765['length']&&(_0x33dd98=_0x33dd98['concat'](function(_0x391323){return _0x391323['map'](_0x5cd7d2=>({'id':H(_0x5cd7d2['name'],'style'),'commandName':'style','execute':_0x3b2263=>{_0x3b2263['execute']('style',{'styleName':_0x5cd7d2['name']});},'isEnabled':_0x10a288=>{const _0x34c30f=_0x10a288['commands']['get']('style');return _0x34c30f['isEnabled']&&_0x34c30f['enabledStyles']['includes'](_0x5cd7d2['name']);},'title':_0x5cd7d2['name']}));}(_0x14c765)));const _0x42397c=_0x33dd98['filter'](_0x139b41=>!_0x139b41['commandName']||void 0x0!==this['editor']['commands']['get'](_0x139b41['commandName'])),_0x3fc385=[];for(const _0x18c6d1 of _0x42397c)_0x3fc385['push']({'id':_0x18c6d1['id'],'commandName':_0x18c6d1['commandName'],'title':'function'==typeof _0x18c6d1['title']?_0x18c6d1['title'](this['editor']):_0x18c6d1['title'],'description':_0x18c6d1['description'],'icon':_0x18c6d1['icon'],'isIconColorInherited':_0x18c6d1['isIconColorInherited'],'aliases':_0x18c6d1['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x18c6d1),'execute':()=>this['_proxyExecute'](_0x18c6d1)});this['_allowedCommands']=_0x3fc385['sort'](y);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const t=this['editor']['t'],_0x14eef4=this['editor']['locale']['t'];return[{'id':'blockQuote','commandName':'blockQuote','icon':_0x595446['quote'],'title':_0x14eef4('Block\x20quote'),'description':t('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x70907,'title':_0x14eef4('Bulleted\x20list'),'description':t('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x3a4d30,'title':_0x14eef4('Insert\x20code\x20block'),'description':t('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x9540ba,'title':_0x14eef4('Open\x20file\x20manager'),'description':t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x32e604,'title':_0x14eef4('Insert\x20image'),'description':t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'heading1','commandName':'heading','icon':_0x5bbf3f,'title':_0x14eef4('Heading\x201'),'description':t('Create\x20a\x20heading\x20level\x201'),'execute':_0x1509c6=>{_0x1509c6['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x551f91,'title':_0x14eef4('Heading\x202'),'description':t('Create\x20a\x20heading\x20level\x202'),'execute':_0x476bf0=>{_0x476bf0['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x299b52,'title':_0x14eef4('Heading\x203'),'description':t('Create\x20a\x20heading\x20level\x203'),'execute':_0x1de297=>{_0x1de297['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x14fbd9,'title':_0x14eef4('Heading\x204'),'description':t('Create\x20a\x20heading\x20level\x204'),'execute':_0xe696c6=>{_0xe696c6['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0xa0681,'title':_0x14eef4('Heading\x205'),'description':t('Create\x20a\x20heading\x20level\x205'),'execute':_0x1b1920=>{_0x1b1920['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x3206af,'title':_0x14eef4('Heading\x206'),'description':t('Create\x20a\x20heading\x20level\x206'),'execute':_0x2bbc85=>{_0x2bbc85['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x441d56,'title':_0x14eef4('Horizontal\x20line'),'description':t('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x2b2ab7,'title':_0x14eef4('Insert\x20HTML'),'description':t('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x138109,'title':_0x14eef4('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':_0x9b1d09,'title':_0x14eef4('Insert\x20table'),'description':t('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x13aff7,'title':_0x14eef4('Table\x20of\x20contents'),'description':t('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x27a7bd,'title':_0x14eef4('Numbered\x20list'),'description':t('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x4dedb5,'title':_0x14eef4('Decrease\x20indent'),'description':t('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x595446['paragraph'],'title':_0x14eef4('Paragraph'),'description':t('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x22d664,'title':_0x14eef4('To-do\x20list'),'description':t('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x5d28f2){return _0x5d28f2['isEnabled']?_0x5d28f2['isEnabled'](this['editor']):!_0x5d28f2['commandName']||this['editor']['commands']['get'](_0x5d28f2['commandName'])['isEnabled'];}['_proxyExecute'](_0x3c141a){if(_0x3c141a['execute'])_0x3c141a['execute'](this['editor']);else{if(!_0x3c141a['commandName'])throw new _0x2bd1ad('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x3c141a});this['editor']['execute'](_0x3c141a['commandName']);}}}function y(_0x1940cf,_0xa7ff82){return _0x1940cf['title']<_0xa7ff82['title']?-0x1:_0x1940cf['title']>_0xa7ff82['title']?0x1:0x0;}function H(_0x296c46,_0x1e7c5e){return _0x1e7c5e+'-'+_0x296c46['toLowerCase']()['split']('\x20')['join']('-');}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3574=['isEnabled','slashCommandLicenseKeyInvalid','plugins','SlashCommandEditing','includes','SlashCommandConfig','slashCommandLicenseKeyValid','getMatchingCommands','get','slashCommandLicenseKeyTrialLimit:operations','concat','aliases','getAllowedCommands','destroy','info','push','filter','requires','slash-command-invalid-license-key','slashCommandLicenseKeyTrial','init','slash-command-trial-license-key-reached-limit-changes','config','toLowerCase','licenseKey','pluginName','_licenseKeyCheckInterval','editor','description'];(function(_0x3a0c56,_0x3574f0){const _0x79ec4c=function(_0x17d938){while(--_0x17d938){_0x3a0c56['push'](_0x3a0c56['shift']());}};_0x79ec4c(++_0x3574f0);}(_0x3574,0x158));const _0x79ec=function(_0x3a0c56,_0x3574f0){_0x3a0c56=_0x3a0c56-0x0;let _0x79ec4c=_0x3574[_0x3a0c56];return _0x79ec4c;};import{Plugin as _0x5ec91c}from'ckeditor5/src/core';import{CKEditorError as _0x525abd}from'ckeditor5/src/utils';import _0x2dd9d2 from'./slashcommandconfig';export default class e extends _0x5ec91c{static get[_0x79ec('0x0')](){return _0x79ec('0x7');}static get[_0x79ec('0x15')](){return[_0x2dd9d2];}constructor(_0x370b0d){super(_0x370b0d),this['_licenseKeyCheckInterval']=null;}[_0x79ec('0x18')](){const _0x9af6c=this[_0x79ec('0x2')];this[_0x79ec('0x1c')]=_0x9af6c[_0x79ec('0x1a')][_0x79ec('0xc')]('licenseKey');const _0x5ea397=this[_0x79ec('0x2')];this[_0x79ec('0x1')]=setInterval(()=>{let _0x40deaf;for(const _0x5a4a77 in _0x5ea397){const _0x58914a=_0x5a4a77,_0x4a6c0c=_0x5ea397[_0x58914a];if('slashCommandLicenseKeyTrial'===_0x4a6c0c||_0x79ec('0x5')===_0x4a6c0c||_0x79ec('0xa')===_0x4a6c0c||'slashCommandLicenseKeyTrialLimit:operations'===_0x4a6c0c){delete _0x5ea397[_0x58914a],_0x40deaf=_0x4a6c0c;break;}}if(_0x79ec('0x5')===_0x40deaf)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x525abd(_0x79ec('0x16'),null);if(_0x79ec('0x17')===_0x40deaf&&console[_0x79ec('0x12')]('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.'),_0x79ec('0xd')===_0x40deaf)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x525abd(_0x79ec('0x19'),null);'slashCommandLicenseKeyValid'===_0x40deaf&&clearInterval(this[_0x79ec('0x1')]);},0x3e8);}[_0x79ec('0x11')](){this['_licenseKeyCheckInterval']&&clearInterval(this[_0x79ec('0x1')]);}[_0x79ec('0xb')](_0x1aaeac){const _0x979b00=_0x1aaeac&&_0x1aaeac[_0x79ec('0x1b')]();let _0x1f002e=this[_0x79ec('0x2')][_0x79ec('0x6')][_0x79ec('0xc')](_0x79ec('0x9'))[_0x79ec('0x10')]();if(_0x1f002e=_0x1f002e[_0x79ec('0x14')](_0x569bd0=>_0x569bd0[_0x79ec('0x4')]()),_0x979b00){const _0x5eea89=[],_0x2da72c=[],_0x586c80=[],_0x358e0e=[];for(const _0x2603ff of _0x1f002e)_0x2603ff['id']['toLowerCase']()['includes'](_0x979b00)?_0x5eea89[_0x79ec('0x13')](_0x2603ff):_0x2603ff['title'][_0x79ec('0x1b')]()[_0x79ec('0x8')](_0x979b00)?_0x2da72c[_0x79ec('0x13')](_0x2603ff):_0x2603ff[_0x79ec('0xf')]&&_0x2603ff[_0x79ec('0xf')]['some'](_0x4f4f9e=>_0x4f4f9e[_0x79ec('0x1b')]()[_0x79ec('0x8')](_0x979b00))?_0x586c80[_0x79ec('0x13')](_0x2603ff):_0x2603ff[_0x79ec('0x3')]&&_0x2603ff[_0x79ec('0x3')]['toLowerCase']()[_0x79ec('0x8')](_0x979b00)&&_0x358e0e['push'](_0x2603ff);_0x1f002e=_0x5eea89[_0x79ec('0xe')](_0x2da72c,_0x586c80,_0x358e0e);}return _0x1f002e;}}
23
+ const _0x58b7=['slashCommandLicenseKeyTrial','getMatchingCommands','slashCommandLicenseKeyTrialLimit:operations','description','push','filter','SlashCommandEditing','info','editor','slashCommandLicenseKeyValid','isEnabled','concat','slashCommandLicenseKeyInvalid','pluginName','toLowerCase','get','_licenseKeyCheckInterval','slash-command-invalid-license-key','includes','plugins','licenseKey','aliases','requires'];(function(_0x39f5fd,_0x58b725){const _0x18b6bb=function(_0x55f7a0){while(--_0x55f7a0){_0x39f5fd['push'](_0x39f5fd['shift']());}};_0x18b6bb(++_0x58b725);}(_0x58b7,0x157));const _0x18b6=function(_0x39f5fd,_0x58b725){_0x39f5fd=_0x39f5fd-0x0;let _0x18b6bb=_0x58b7[_0x39f5fd];return _0x18b6bb;};import{Plugin as _0x4a003d}from'ckeditor5/src/core';import{CKEditorError as _0x4add67}from'ckeditor5/src/utils';import _0x1efea0 from'./slashcommandconfig';export default class e extends _0x4a003d{static get[_0x18b6('0xf')](){return _0x18b6('0x8');}static get[_0x18b6('0x1')](){return[_0x1efea0];}constructor(_0x2b8cda){super(_0x2b8cda),this[_0x18b6('0x12')]=null;}['init'](){const _0x2cc028=this[_0x18b6('0xa')];this[_0x18b6('0x16')]=_0x2cc028['config'][_0x18b6('0x11')](_0x18b6('0x16'));const _0x157371=this[_0x18b6('0xa')];this[_0x18b6('0x12')]=setInterval(()=>{let _0x2d2fa9;for(const _0x3f6d87 in _0x157371){const _0x27cdde=_0x3f6d87,_0x5b5383=_0x157371[_0x27cdde];if('slashCommandLicenseKeyTrial'===_0x5b5383||_0x18b6('0xe')===_0x5b5383||_0x18b6('0xb')===_0x5b5383||_0x18b6('0x4')===_0x5b5383){delete _0x157371[_0x27cdde],_0x2d2fa9=_0x5b5383;break;}}if(_0x18b6('0xe')===_0x2d2fa9)throw clearInterval(this[_0x18b6('0x12')]),new _0x4add67(_0x18b6('0x13'),null);if(_0x18b6('0x2')===_0x2d2fa9&&console[_0x18b6('0x9')]('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.'),'slashCommandLicenseKeyTrialLimit:operations'===_0x2d2fa9)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4add67('slash-command-trial-license-key-reached-limit-changes',null);_0x18b6('0xb')===_0x2d2fa9&&clearInterval(this[_0x18b6('0x12')]);},0x3e8);}['destroy'](){this[_0x18b6('0x12')]&&clearInterval(this[_0x18b6('0x12')]);}[_0x18b6('0x3')](_0x1188fd){const _0x189fc2=_0x1188fd&&_0x1188fd[_0x18b6('0x10')]();let _0x313063=this[_0x18b6('0xa')][_0x18b6('0x15')][_0x18b6('0x11')]('SlashCommandConfig')['getAllowedCommands']();if(_0x313063=_0x313063[_0x18b6('0x7')](_0x2d4d4a=>_0x2d4d4a[_0x18b6('0xc')]()),_0x189fc2){const _0x46f0d6=[],_0x2fa027=[],_0x13e2de=[],_0x1a4890=[];for(const _0x3be59d of _0x313063)_0x3be59d['id'][_0x18b6('0x10')]()[_0x18b6('0x14')](_0x189fc2)?_0x46f0d6[_0x18b6('0x6')](_0x3be59d):_0x3be59d['title']['toLowerCase']()[_0x18b6('0x14')](_0x189fc2)?_0x2fa027[_0x18b6('0x6')](_0x3be59d):_0x3be59d[_0x18b6('0x0')]&&_0x3be59d[_0x18b6('0x0')]['some'](_0x30e9ae=>_0x30e9ae[_0x18b6('0x10')]()[_0x18b6('0x14')](_0x189fc2))?_0x13e2de[_0x18b6('0x6')](_0x3be59d):_0x3be59d['description']&&_0x3be59d[_0x18b6('0x5')][_0x18b6('0x10')]()[_0x18b6('0x14')](_0x189fc2)&&_0x1a4890['push'](_0x3be59d);_0x313063=_0x46f0d6[_0x18b6('0xd')](_0x2fa027,_0x13e2de,_0x1a4890);}return _0x313063;}}