@ckeditor/ckeditor5-case-change 48.2.0 → 48.3.0-alpha.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 (156) hide show
  1. package/dist/augmentation.d.ts +16 -16
  2. package/dist/casechange.d.ts +110 -110
  3. package/dist/casechangecommand.d.ts +25 -25
  4. package/dist/casechangeediting.d.ts +28 -28
  5. package/dist/casechangeui.d.ts +29 -29
  6. package/dist/index.d.ts +11 -11
  7. package/dist/index.js +1 -1
  8. package/dist/legacyerrors.d.ts +0 -4
  9. package/dist/translations/af.js +1 -1
  10. package/dist/translations/af.umd.js +1 -1
  11. package/dist/translations/ar.js +1 -1
  12. package/dist/translations/ar.umd.js +1 -1
  13. package/dist/translations/ast.js +1 -1
  14. package/dist/translations/ast.umd.js +1 -1
  15. package/dist/translations/az.js +1 -1
  16. package/dist/translations/az.umd.js +1 -1
  17. package/dist/translations/be.js +1 -1
  18. package/dist/translations/be.umd.js +1 -1
  19. package/dist/translations/bg.js +1 -1
  20. package/dist/translations/bg.umd.js +1 -1
  21. package/dist/translations/bn.js +1 -1
  22. package/dist/translations/bn.umd.js +1 -1
  23. package/dist/translations/bs.js +1 -1
  24. package/dist/translations/bs.umd.js +1 -1
  25. package/dist/translations/ca.js +1 -1
  26. package/dist/translations/ca.umd.js +1 -1
  27. package/dist/translations/cs.js +1 -1
  28. package/dist/translations/cs.umd.js +1 -1
  29. package/dist/translations/da.js +1 -1
  30. package/dist/translations/da.umd.js +1 -1
  31. package/dist/translations/de-ch.js +1 -1
  32. package/dist/translations/de-ch.umd.js +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.js +1 -1
  36. package/dist/translations/el.umd.js +1 -1
  37. package/dist/translations/en-au.js +1 -1
  38. package/dist/translations/en-au.umd.js +1 -1
  39. package/dist/translations/en-gb.js +1 -1
  40. package/dist/translations/en-gb.umd.js +1 -1
  41. package/dist/translations/en.js +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/eo.js +1 -1
  44. package/dist/translations/eo.umd.js +1 -1
  45. package/dist/translations/es-co.js +1 -1
  46. package/dist/translations/es-co.umd.js +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.js +1 -1
  50. package/dist/translations/et.umd.js +1 -1
  51. package/dist/translations/eu.js +1 -1
  52. package/dist/translations/eu.umd.js +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.js +1 -1
  56. package/dist/translations/fi.umd.js +1 -1
  57. package/dist/translations/fr.js +1 -1
  58. package/dist/translations/fr.umd.js +1 -1
  59. package/dist/translations/gl.js +1 -1
  60. package/dist/translations/gl.umd.js +1 -1
  61. package/dist/translations/gu.js +1 -1
  62. package/dist/translations/gu.umd.js +1 -1
  63. package/dist/translations/he.js +1 -1
  64. package/dist/translations/he.umd.js +1 -1
  65. package/dist/translations/hi.js +1 -1
  66. package/dist/translations/hi.umd.js +1 -1
  67. package/dist/translations/hr.js +1 -1
  68. package/dist/translations/hr.umd.js +1 -1
  69. package/dist/translations/hu.js +1 -1
  70. package/dist/translations/hu.umd.js +1 -1
  71. package/dist/translations/hy.js +1 -1
  72. package/dist/translations/hy.umd.js +1 -1
  73. package/dist/translations/id.js +1 -1
  74. package/dist/translations/id.umd.js +1 -1
  75. package/dist/translations/it.js +1 -1
  76. package/dist/translations/it.umd.js +1 -1
  77. package/dist/translations/ja.js +1 -1
  78. package/dist/translations/ja.umd.js +1 -1
  79. package/dist/translations/jv.js +1 -1
  80. package/dist/translations/jv.umd.js +1 -1
  81. package/dist/translations/kk.js +1 -1
  82. package/dist/translations/kk.umd.js +1 -1
  83. package/dist/translations/km.js +1 -1
  84. package/dist/translations/km.umd.js +1 -1
  85. package/dist/translations/kn.js +1 -1
  86. package/dist/translations/kn.umd.js +1 -1
  87. package/dist/translations/ko.js +1 -1
  88. package/dist/translations/ko.umd.js +1 -1
  89. package/dist/translations/ku.js +1 -1
  90. package/dist/translations/ku.umd.js +1 -1
  91. package/dist/translations/lt.js +1 -1
  92. package/dist/translations/lt.umd.js +1 -1
  93. package/dist/translations/lv.js +1 -1
  94. package/dist/translations/lv.umd.js +1 -1
  95. package/dist/translations/ms.js +1 -1
  96. package/dist/translations/ms.umd.js +1 -1
  97. package/dist/translations/nb.js +1 -1
  98. package/dist/translations/nb.umd.js +1 -1
  99. package/dist/translations/ne.js +1 -1
  100. package/dist/translations/ne.umd.js +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.js +1 -1
  104. package/dist/translations/no.umd.js +1 -1
  105. package/dist/translations/oc.js +1 -1
  106. package/dist/translations/oc.umd.js +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.js +1 -1
  110. package/dist/translations/pt-br.umd.js +1 -1
  111. package/dist/translations/pt.js +1 -1
  112. package/dist/translations/pt.umd.js +1 -1
  113. package/dist/translations/ro.js +1 -1
  114. package/dist/translations/ro.umd.js +1 -1
  115. package/dist/translations/ru.js +1 -1
  116. package/dist/translations/ru.umd.js +1 -1
  117. package/dist/translations/si.js +1 -1
  118. package/dist/translations/si.umd.js +1 -1
  119. package/dist/translations/sk.js +1 -1
  120. package/dist/translations/sk.umd.js +1 -1
  121. package/dist/translations/sl.js +1 -1
  122. package/dist/translations/sl.umd.js +1 -1
  123. package/dist/translations/sq.js +1 -1
  124. package/dist/translations/sq.umd.js +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.js +1 -1
  128. package/dist/translations/sr.umd.js +1 -1
  129. package/dist/translations/sv.js +1 -1
  130. package/dist/translations/sv.umd.js +1 -1
  131. package/dist/translations/th.js +1 -1
  132. package/dist/translations/th.umd.js +1 -1
  133. package/dist/translations/ti.js +1 -1
  134. package/dist/translations/ti.umd.js +1 -1
  135. package/dist/translations/tk.js +1 -1
  136. package/dist/translations/tk.umd.js +1 -1
  137. package/dist/translations/tr.js +1 -1
  138. package/dist/translations/tr.umd.js +1 -1
  139. package/dist/translations/tt.js +1 -1
  140. package/dist/translations/tt.umd.js +1 -1
  141. package/dist/translations/ug.js +1 -1
  142. package/dist/translations/ug.umd.js +1 -1
  143. package/dist/translations/uk.js +1 -1
  144. package/dist/translations/uk.umd.js +1 -1
  145. package/dist/translations/ur.js +1 -1
  146. package/dist/translations/ur.umd.js +1 -1
  147. package/dist/translations/uz.js +1 -1
  148. package/dist/translations/uz.umd.js +1 -1
  149. package/dist/translations/vi.js +1 -1
  150. package/dist/translations/vi.umd.js +1 -1
  151. package/dist/translations/zh-cn.js +1 -1
  152. package/dist/translations/zh-cn.umd.js +1 -1
  153. package/dist/translations/zh.js +1 -1
  154. package/dist/translations/zh.umd.js +1 -1
  155. package/dist/utils/common-translations.d.ts +6 -6
  156. package/package.json +6 -6
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { CaseChange, CaseChangeEditing, CaseChangeUI, CaseChangeCommand, CaseChangeConfig } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- caseChange?: CaseChangeConfig;
9
- }
10
- interface PluginsMap {
11
- [CaseChange.pluginName]: CaseChange;
12
- [CaseChangeEditing.pluginName]: CaseChangeEditing;
13
- [CaseChangeUI.pluginName]: CaseChangeUI;
14
- }
15
- interface CommandsMap {
16
- caseChange: CaseChangeCommand;
17
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { CaseChange, CaseChangeEditing, CaseChangeUI, CaseChangeCommand, CaseChangeConfig } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface EditorConfig {
8
+ caseChange?: CaseChangeConfig;
9
+ }
10
+ interface PluginsMap {
11
+ [CaseChange.pluginName]: CaseChange;
12
+ [CaseChangeEditing.pluginName]: CaseChangeEditing;
13
+ [CaseChangeUI.pluginName]: CaseChangeUI;
14
+ }
15
+ interface CommandsMap {
16
+ caseChange: CaseChangeCommand;
17
+ }
18
18
  }
@@ -1,126 +1,126 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module case-change/casechange
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { CaseChangeEditing } from './casechangeediting.js';
11
- import { CaseChangeUI } from './casechangeui.js';
6
+ * @module case-change/casechange
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { CaseChangeEditing } from "./casechangeediting.js";
11
+ import { CaseChangeUI } from "./casechangeui.js";
12
12
  /**
13
- * The case change feature.
14
- *
15
- * For a detailed overview, check the {@glink features/case-change Case change} feature guide.
16
- */
13
+ * The case change feature.
14
+ *
15
+ * For a detailed overview, check the {@glink features/case-change Case change} feature guide.
16
+ */
17
17
  export declare class CaseChange extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof CaseChangeEditing, typeof CaseChangeUI];
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "CaseChange";
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): PluginDependenciesOf<[CaseChangeEditing, CaseChangeUI]>;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "CaseChange";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static override get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isPremiumPlugin(): true;
34
34
  }
35
35
  /**
36
- * The configuration of the {@link module:case-change/casechange~CaseChange case change feature}.
37
- *
38
- * ```ts
39
- * ClassicEditor
40
- * .create( {
41
- * caseChange: ... // Case change feature configuration.
42
- * } )
43
- * .then( /* ... *\/ )
44
- * .catch( /* ... *\/ );
45
- * ```
46
- *
47
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
48
- */
36
+ * The configuration of the {@link module:case-change/casechange~CaseChange case change feature}.
37
+ *
38
+ * ```ts
39
+ * ClassicEditor
40
+ * .create( {
41
+ * caseChange: ... // Case change feature configuration.
42
+ * } )
43
+ * .then( /* ... *\/ )
44
+ * .catch( /* ... *\/ );
45
+ * ```
46
+ *
47
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
48
+ */
49
49
  export interface CaseChangeConfig {
50
- /**
51
- * Title case configuration.
52
- */
53
- titleCase?: CaseChangeTitleCaseConfig;
50
+ /**
51
+ * Title case configuration.
52
+ */
53
+ titleCase?: CaseChangeTitleCaseConfig;
54
54
  }
55
55
  /**
56
- * Title case configuration.
57
- * It allows setting words that should not be capitalized when formatted as title case.
58
- *
59
- * ```ts
60
- * ClassicEditor
61
- * .create( {
62
- * caseChange: {
63
- * titleCase {
64
- * excludeWords: [ 'a', 'an', 'the' ]
65
- * }
66
- * }
67
- * } )
68
- * .then( /* ... *\/ )
69
- * .catch( /* ... *\/ );
70
- * ```
71
- *
72
- * ```ts
73
- * ClassicEditor
74
- * .create( {
75
- * caseChange: {
76
- * titleCase {
77
- * excludeWords: ( word ) => [ 'a', 'an', 'the' ].includes( word )
78
- * }
79
- * }
80
- * } )
81
- * .then( /* ... *\/ )
82
- * .catch( /* ... *\/ );
83
- * ```
84
- *
85
- * ```ts
86
- * ClassicEditor
87
- * .create( {
88
- * caseChange: {
89
- * titleCase {
90
- * excludeWords: ( word, { wordIndex } ) => wordIndex > 0 && [ 'a', 'an', 'the' ].includes( word )
91
- * }
92
- * }
93
- * } )
94
- * .then( /* ... *\/ )
95
- * .catch( /* ... *\/ );
96
- * ```
97
- *
98
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
99
- */
56
+ * Title case configuration.
57
+ * It allows setting words that should not be capitalized when formatted as title case.
58
+ *
59
+ * ```ts
60
+ * ClassicEditor
61
+ * .create( {
62
+ * caseChange: {
63
+ * titleCase {
64
+ * excludeWords: [ 'a', 'an', 'the' ]
65
+ * }
66
+ * }
67
+ * } )
68
+ * .then( /* ... *\/ )
69
+ * .catch( /* ... *\/ );
70
+ * ```
71
+ *
72
+ * ```ts
73
+ * ClassicEditor
74
+ * .create( {
75
+ * caseChange: {
76
+ * titleCase {
77
+ * excludeWords: ( word ) => [ 'a', 'an', 'the' ].includes( word )
78
+ * }
79
+ * }
80
+ * } )
81
+ * .then( /* ... *\/ )
82
+ * .catch( /* ... *\/ );
83
+ * ```
84
+ *
85
+ * ```ts
86
+ * ClassicEditor
87
+ * .create( {
88
+ * caseChange: {
89
+ * titleCase {
90
+ * excludeWords: ( word, { wordIndex } ) => wordIndex > 0 && [ 'a', 'an', 'the' ].includes( word )
91
+ * }
92
+ * }
93
+ * } )
94
+ * .then( /* ... *\/ )
95
+ * .catch( /* ... *\/ );
96
+ * ```
97
+ *
98
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
99
+ */
100
100
  export interface CaseChangeTitleCaseConfig {
101
- /**
102
- * Words which should not be capitalized.
103
- */
104
- excludeWords?: Array<string> | CaseChangeExcludeWordsCallback;
101
+ /**
102
+ * Words which should not be capitalized.
103
+ */
104
+ excludeWords?: Array<string> | CaseChangeExcludeWordsCallback;
105
105
  }
106
106
  /**
107
- * The exclude word callback.
108
- */
107
+ * The exclude word callback.
108
+ */
109
109
  export type CaseChangeExcludeWordsCallback = (word: string, context: CaseChangeExcludeWordsCallbackContext) => boolean;
110
110
  /**
111
- * The exclude word callback context.
112
- */
111
+ * The exclude word callback context.
112
+ */
113
113
  export interface CaseChangeExcludeWordsCallbackContext {
114
- /**
115
- * The offset in the text where the given word starts.
116
- */
117
- charOffset: number;
118
- /**
119
- * The word index in the given text.
120
- */
121
- wordIndex: number;
122
- /**
123
- * The block text.
124
- */
125
- blockText: string;
114
+ /**
115
+ * The offset in the text where the given word starts.
116
+ */
117
+ charOffset: number;
118
+ /**
119
+ * The word index in the given text.
120
+ */
121
+ wordIndex: number;
122
+ /**
123
+ * The block text.
124
+ */
125
+ blockText: string;
126
126
  }
@@ -1,31 +1,31 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module case-change/casechangecommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
6
+ * @module case-change/casechangecommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
10
10
  /**
11
- * This command changes the case of the selected text.
12
- */
11
+ * This command changes the case of the selected text.
12
+ */
13
13
  export declare class CaseChangeCommand extends Command {
14
- /**
15
- * Creates a new `CaseChangeCommand` instance.
16
- *
17
- * @param editor The editor on which this command will be used.
18
- */
19
- constructor(editor: Editor, transformCallback: CaseChangeTransformCallback);
20
- /**
21
- * Transforms the selected text with the defined case change callback.
22
- *
23
- * @fires execute
24
- */
25
- execute(): void;
26
- /**
27
- * @inheritDoc
28
- */
29
- refresh(): void;
14
+ /**
15
+ * Creates a new `CaseChangeCommand` instance.
16
+ *
17
+ * @param editor The editor on which this command will be used.
18
+ */
19
+ constructor(editor: Editor, transformCallback: CaseChangeTransformCallback);
20
+ /**
21
+ * Transforms the selected text with the defined case change callback.
22
+ *
23
+ * @fires execute
24
+ */
25
+ override execute(): void;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ override refresh(): void;
30
30
  }
31
31
  export type CaseChangeTransformCallback = (arg: string) => string;
@@ -1,33 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module case-change/casechangeediting
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module case-change/casechangeediting
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The case change editing feature. It introduces three commands: `changeCaseUpper`, `changeCaseLower`, and `changeCaseTitle`.
11
- */
10
+ * The case change editing feature. It introduces three commands: `changeCaseUpper`, `changeCaseLower`, and `changeCaseTitle`.
11
+ */
12
12
  export declare class CaseChangeEditing extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- static get pluginName(): "CaseChangeEditing";
17
- /**
18
- * @inheritDoc
19
- */
20
- static get isOfficialPlugin(): true;
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isPremiumPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- init(): void;
29
- /**
30
- * @inheritDoc
31
- */
32
- afterInit(): void;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ static get pluginName(): "CaseChangeEditing";
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static override get isOfficialPlugin(): true;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static override get isPremiumPlugin(): true;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ init(): void;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ afterInit(): void;
33
33
  }
@@ -1,34 +1,34 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module case-change/casechangeui
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module case-change/casechangeui
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from "@ckeditor/ckeditor5-core";
10
10
  /**
11
- * The case change UI plugin.
12
- */
11
+ * The case change UI plugin.
12
+ */
13
13
  export declare class CaseChangeUI extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "CaseChangeUI";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isOfficialPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- static get isPremiumPlugin(): true;
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- destroy(): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "CaseChangeUI";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static override get isPremiumPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ override destroy(): void;
34
34
  }
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module case-change
7
- */
8
- export { CaseChange, type CaseChangeConfig, type CaseChangeTitleCaseConfig, type CaseChangeExcludeWordsCallback, type CaseChangeExcludeWordsCallbackContext } from './casechange.js';
9
- export { CaseChangeEditing } from './casechangeediting.js';
10
- export { CaseChangeUI } from './casechangeui.js';
11
- export { CaseChangeCommand } from './casechangecommand.js';
12
- export type { CaseChangeTransformCallback } from './casechangecommand.js';
13
- import './augmentation.js';
6
+ * @module case-change
7
+ */
8
+ export { CaseChange, type CaseChangeConfig, type CaseChangeTitleCaseConfig, type CaseChangeExcludeWordsCallback, type CaseChangeExcludeWordsCallbackContext } from "./casechange.js";
9
+ export { CaseChangeEditing } from "./casechangeediting.js";
10
+ export { CaseChangeUI } from "./casechangeui.js";
11
+ export { CaseChangeCommand } from "./casechangecommand.js";
12
+ export type { CaseChangeTransformCallback } from "./casechangecommand.js";
13
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x144d8d,Plugin as _0x165a83}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x2fa0ff,Collection as _0x211f9f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x37c057,MenuBarMenuListView as _0xfb81dd,MenuBarMenuListItemView as _0x17434e,MenuBarMenuListItemButtonView as _0x28361e,createDropdown as _0x2ca514,addListToDropdown as _0xd505ac,UIModel as _0x25cea2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x4d88a6}from'@ckeditor/ckeditor5-icons/dist/index.js';class CaseChangeCommand extends _0x144d8d{['_transformCallback'];constructor(_0x275b67,_0x2b1610){super(_0x275b67),this['_transformCallback']=_0x2b1610;}['execute'](){const _0x5646f5=this['editor']['model'],_0x4411a9=Array['from'](this['_getAffectedRanges']()),_0x4d679a=Array['from'](_0x5646f5['document']['selection']['getRanges']());_0x5646f5['change'](_0x54923a=>{for(const _0x18db50 of _0x4411a9)this['_modifyContent'](_0x18db50,_0x54923a);_0x54923a['setSelection'](_0x4d679a);});}['refresh'](){for(const _0x50f7a9 of this['_getAffectedRanges']())for(const _0x1d6f32 of _0x50f7a9)if(_0x1d6f32['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x1d5d3e=this['editor']['model'],_0x12eab0=_0x1d5d3e['document']['selection'];if(_0x12eab0['isCollapsed']){const _0x127217=this['_findAncestorTextBlock'](_0x12eab0['getFirstPosition']()['parent']);return _0x127217?[_0x1d5d3e['createRangeIn'](_0x127217)]:[];}return _0x12eab0['getRanges']();}['_modifyContent'](_0xa48d85,_0x5ae3a4){for(const _0x598bc1 of this['_getElementsAllowingText'](_0xa48d85)){const _0x3d34d9=this['_getElementTextContent'](_0x598bc1),_0x3a670e=this['_transformCallback'](_0x3d34d9);for(const _0x2214d4 of this['_getTextNodesRangeLimited'](_0x598bc1,_0xa48d85))this['_replaceTextNodeData'](_0x2214d4,_0x3a670e,_0x5ae3a4);}}['_findAncestorTextBlock'](_0x67439e){const _0x54c12b=this['editor']['model']['schema'];if(_0x67439e['is']('element')&&_0x54c12b['checkChild'](_0x67439e,'$text'))return _0x67439e;const _0x46d33a=_0x67439e['parent'];return!_0x46d33a||_0x54c12b['isLimit'](_0x67439e)?null:this['_findAncestorTextBlock'](_0x46d33a);}*['_getElementsAllowingText'](_0x223b89){const _0x26da39=new Set();for(const {item:_0x4cfe49}of _0x223b89['getWalker']()){const _0x5401c2=this['_findAncestorTextBlock'](_0x4cfe49);_0x5401c2&&!_0x26da39['has'](_0x5401c2)&&(_0x26da39['add'](_0x5401c2),yield _0x5401c2);}}['_getElementTextContent'](_0x3430ca){return Array['from'](_0x3430ca['getChildren']())['reduce']((_0x6fcd57,_0x314672)=>_0x6fcd57+(_0x314672['is']('$text')?_0x314672['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x24a30d,_0x33950d){const _0x18e188=_0x33950d['getIntersection'](this['editor']['model']['createRangeIn'](_0x24a30d));if(_0x18e188){for(const _0x561cb4 of _0x18e188['getItems']())_0x561cb4['is']('$textProxy')&&_0x561cb4['parent']==_0x24a30d&&(yield _0x561cb4);}}['_replaceTextNodeData'](_0x26834f,_0xb22cc,_0x3a07d3){const _0x5b9a64=_0xb22cc['substring'](_0x26834f['startOffset'],_0x26834f['endOffset']);if(_0x5b9a64===_0x26834f['data'])return;const _0x2426be=_0x26834f['getAttributes']();this['editor']['model']['insertContent'](_0x3a07d3['createText'](_0x5b9a64,_0x2426be),_0x3a07d3['createSelection'](_0x3a07d3['createRangeOn'](_0x26834f)));}}function d(_0x5ca8a3,_0xa6ecdc,..._0x194146){const t=_0x5ca8a3['t'];switch(_0xa6ecdc){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x194146);default:return _0xa6ecdc;}}class CaseChangeEditing extends _0x165a83{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5c4891=this['editor'],_0x39206e=_0x5c4891['locale']['contentLanguage'],_0x1cb29d=function(_0x1b4991=[]){return'function'==typeof _0x1b4991?_0x1b4991:(_0x2e32b8,{wordIndex:_0x5d3f78})=>_0x5d3f78>0x0&&_0x1b4991['includes'](_0x2e32b8);}(_0x5c4891['config']['get']('caseChange.titleCase.excludeWords')),_0x129b02={'changeCaseUpper':new CaseChangeCommand(_0x5c4891,_0x5f0646=>_0x5f0646['toLocaleUpperCase'](_0x39206e)),'changeCaseLower':new CaseChangeCommand(_0x5c4891,_0x11d91a=>_0x11d91a['toLocaleLowerCase'](_0x39206e)),'changeCaseTitle':new CaseChangeCommand(_0x5c4891,_0x47243d=>function(_0x4d9181,_0xe55490,_0x117924){return function(_0x17400e,_0xde4d3c){let _0x3b1f3b='',_0x5dbb9a=0x0,_0x5eeb83=0x0;for(const _0x383b0f of _0x17400e['matchAll'](/ +/g)){const _0x1fa4cf=_0x383b0f['index'],_0x4cd007=_0x17400e['substring'](_0x5dbb9a,_0x1fa4cf);_0x4cd007['length']&&(_0x3b1f3b+=_0xde4d3c(_0x4cd007,_0x5dbb9a,_0x5eeb83++)),_0x3b1f3b+=_0x383b0f[0x0],_0x5dbb9a=_0x1fa4cf+_0x383b0f[0x0]['length'];}const _0x2fd3a5=_0x17400e['substring'](_0x5dbb9a);return _0x2fd3a5['length']&&(_0x3b1f3b+=_0xde4d3c(_0x2fd3a5,_0x5dbb9a,_0x5eeb83)),_0x3b1f3b;}(_0x4d9181,(_0x199a05,_0x34d367,_0x1a8605)=>{const _0x39d7f5=_0x199a05['toLocaleLowerCase'](_0x117924);return _0xe55490(_0x39d7f5,{'charOffset':_0x34d367,'wordIndex':_0x1a8605,'blockText':_0x4d9181})?_0x39d7f5:_0x39d7f5['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x5d986c=>_0x5d986c['toLocaleUpperCase'](_0x117924));});}(_0x47243d,_0x1cb29d,_0x39206e))};for(const [_0x37c108,_0x47aebc]of Object['entries'](_0x129b02))_0x5c4891['commands']['add'](_0x37c108,_0x47aebc),_0x47aebc['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x37c108);});this['listenTo'](_0x5c4891['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x5c4891['keystrokes']['set']('shift+f3',(_0x17273c,_0x13fa99)=>{const _0x1ca3ac=g(this['editor']['locale']),_0x282eed=_0x1ca3ac[this['_currentCommandIndex']%_0x1ca3ac['length']]['commandName'];_0x5c4891['execute'](_0x282eed),this['_currentCommandIndex']++,_0x13fa99();});}['afterInit'](){!async function(_0x349807){const _0x1de6af=_0x5e778c([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x32e566=0x334129cd,_0x4e673e=0x3346a21d^_0x32e566,_0x1bcb9d=window[_0x5e778c([0x44,0x61,0x74,0x65])][_0x5e778c([0x6e,0x6f,0x77])](),_0x3ce12e=_0x349807[_0x5e778c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x580bc2=new window[(_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x133b2e=>{_0x3ce12e[_0x5e778c([0x6f,0x6e,0x63,0x65])](_0x5e778c([0x72,0x65,0x61,0x64,0x79]),_0x133b2e);}),_0x5f10d1={[_0x5e778c([0x6b,0x74,0x79])]:_0x5e778c([0x45,0x43]),[_0x5e778c([0x75,0x73,0x65])]:_0x5e778c([0x73,0x69,0x67]),[_0x5e778c([0x63,0x72,0x76])]:_0x5e778c([0x50,0x2d,0x32,0x35,0x36]),[_0x5e778c([0x78])]:_0x5e778c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5e778c([0x79])]:_0x5e778c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5e778c([0x61,0x6c,0x67])]:_0x5e778c([0x45,0x53,0x32,0x35,0x36])},_0xab4d4b=_0x3ce12e[_0x5e778c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e778c([0x67,0x65,0x74])](_0x5e778c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f83a7(){let _0x7b8be2,_0xb269e4=null,_0xd180ab=null;try{if(_0xab4d4b==_0x5e778c([0x47,0x50,0x4c]))return _0x5e778c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7b8be2=_0x3ebc14(),!_0x7b8be2)return _0x5e778c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7b8be2[_0x5e778c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd180ab=_0xc9311e(_0x7b8be2[_0x5e778c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7b8be2[_0x5e778c([0x6a,0x74,0x69])])),await _0x4a0503()?_0x381ca6()?_0x361f76()?_0x5e778c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12f157()?(_0x7b8be2[_0x5e778c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e778c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb269e4=_0x346a35(_0x5e778c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x425b21()):_0x5e778c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e778c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e778c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e778c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x361f76(){const _0x5192af=[_0x5e778c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e778c([0x74,0x72,0x69,0x61,0x6c])][_0x5e778c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7b8be2[_0x5e778c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bcb9d/0x3e8:0xe10*_0x4e673e;return _0x7b8be2[_0x5e778c([0x65,0x78,0x70])]<_0x5192af;}function _0x381ca6(){const _0x2411e1=_0x7b8be2[_0x5e778c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2411e1&&(!!_0x2411e1[_0x5e778c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e778c([0x2a]))||(!!_0x2411e1[_0x5e778c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e778c([0x43,0x43]))||!!_0x2411e1[_0x5e778c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e778c([0x50,0x50]))));}function _0x12f157(){const _0x15e11b=_0x7b8be2[_0x5e778c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15e11b||0x0==_0x15e11b[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcbc955}=new URL(window[_0x5e778c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15e11b[_0x5e778c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcbc955))return!0x0;const _0x2437b8=_0xcbc955[_0x5e778c([0x73,0x70,0x6c,0x69,0x74])](_0x5e778c([0x2e]));return _0x15e11b[_0x5e778c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443c3c=>_0x443c3c[_0x5e778c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e778c([0x2a])))[_0x5e778c([0x6d,0x61,0x70])](_0x36a6b4=>_0x36a6b4[_0x5e778c([0x73,0x70,0x6c,0x69,0x74])](_0x5e778c([0x2e])))[_0x5e778c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x583084=>_0x583084[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2437b8[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e778c([0x6d,0x61,0x70])](_0x4846f3=>Array(_0x2437b8[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4846f3[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e778c([0x66,0x69,0x6c,0x6c])](_0x4846f3[0x0]===_0x5e778c([0x2a])?_0x5e778c([0x2a]):'')[_0x5e778c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4846f3))[_0x5e778c([0x73,0x6f,0x6d,0x65])](_0x1e961c=>_0x2437b8[_0x5e778c([0x65,0x76,0x65,0x72,0x79])]((_0xc1b689,_0x4de423)=>_0x1e961c[_0x4de423]===_0xc1b689||_0x1e961c[_0x4de423]===_0x5e778c([0x2a])));}function _0x425b21(){return _0xb269e4&&_0xd180ab?new window[(_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf40e59,_0x129fb0)=>{_0xb269e4[_0x5e778c([0x74,0x68,0x65,0x6e])](_0xf40e59,_0x129fb0),_0xd180ab[_0x5e778c([0x74,0x68,0x65,0x6e])](_0x5f0e2e=>{_0x5f0e2e!=_0x5e778c([0x56,0x61,0x6c,0x69,0x64])&&_0xf40e59(_0x5f0e2e);},_0x129fb0);}):_0xb269e4||_0xd180ab||_0x5e778c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc9311e(_0x3bcc54,_0x1fcd95){return new window[(_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x157d1c=>{if(_0x3f56fa())return _0x157d1c(_0x5e778c([0x56,0x61,0x6c,0x69,0x64]));_0x2c90e6(),_0x3ce12e[_0x5e778c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e778c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c7d18=!0x1;const _0x10678e=_0x2fa0ff();function _0x3faed5(_0x334f1e){return!!_0x334f1e&&(typeof _0x334f1e===_0x5e778c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x334f1e===_0x5e778c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x334f1e[_0x5e778c([0x74,0x68,0x65,0x6e])]===_0x5e778c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x334f1e[_0x5e778c([0x63,0x61,0x74,0x63,0x68])]===_0x5e778c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b3a95(_0x5563ad){_0x3f719f(_0x5563ad)[_0x5e778c([0x74,0x68,0x65,0x6e])](_0x5aa0f5=>{if(!_0x5aa0f5||_0x5aa0f5[_0x5e778c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e778c([0x6f,0x6b]))return _0x5e778c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x117809(_0x5290b3(_0x10678e+_0x1fcd95))!=_0x5aa0f5[_0x5e778c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e778c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e778c([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e778c([0x74,0x68,0x65,0x6e])](_0x192ff3=>(_0x2af4de(),_0x192ff3),()=>{const _0x4c77a8=_0x5d6124();return null==_0x4c77a8?(_0x2af4de(),_0x5e778c([0x56,0x61,0x6c,0x69,0x64])):_0x5e778c(_0x1bcb9d-_0x4c77a8>(0x174dadcd^_0x32e566)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e778c([0x74,0x68,0x65,0x6e])](_0x157d1c)[_0x5e778c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x157d1c(_0x5e778c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f2eb4=0x3377c74d^_0x32e566;function _0x2af4de(){const _0x541b06=_0x5e778c([0x6c,0x6c,0x63,0x74,0x2d])+_0x117809(_0x5290b3(_0x3bcc54)),_0x28db50=_0xa7ea31(_0x117809(window[_0x5e778c([0x4d,0x61,0x74,0x68])][_0x5e778c([0x63,0x65,0x69,0x6c])](_0x1bcb9d/_0x2f2eb4)));window[_0x5e778c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e778c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x541b06,_0x28db50);}function _0x5d6124(){const _0x2a0051=_0x5e778c([0x6c,0x6c,0x63,0x74,0x2d])+_0x117809(_0x5290b3(_0x3bcc54)),_0x265613=window[_0x5e778c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e778c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a0051);return _0x265613?window[_0x5e778c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa7ea31(_0x265613),0x10)*_0x2f2eb4:null;}function _0x3f719f(_0x432344){return new window[(_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37372f,_0x48f50d)=>{_0x432344[_0x5e778c([0x74,0x68,0x65,0x6e])](_0x37372f,_0x48f50d),window[_0x5e778c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48f50d,0x3340fd0d^_0x32e566);});}}_0x3ce12e[_0x5e778c([0x6f,0x6e])](_0x5e778c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b4a9a,_0x6ca8f7)=>{if(_0x6ca8f7[0x0]!=_0x3bcc54)return _0x157d1c(_0x5e778c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6ca8f7[0x1]={..._0x6ca8f7[0x1],[_0x5e778c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10678e};},{[_0x5e778c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e778c([0x68,0x69,0x67,0x68])}),_0x3ce12e[_0x5e778c([0x6f,0x6e])](_0x5e778c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x263a09=>{_0x3faed5(_0x263a09[_0x5e778c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c7d18=!0x0,_0x5b3a95(_0x263a09[_0x5e778c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e778c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e778c([0x6c,0x6f,0x77])}),_0x580bc2[_0x5e778c([0x74,0x68,0x65,0x6e])](()=>{_0x3c7d18||_0x157d1c(_0x5e778c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f56fa(){return _0x3ce12e[_0x5e778c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e778c([0x76,0x69,0x65,0x77])][_0x5e778c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e778c([0x61,0x75,0x74,0x6f]);}function _0x2c90e6(){_0x3ce12e[_0x5e778c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e778c([0x76,0x69,0x65,0x77])][_0x5e778c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e778c([0x61,0x75,0x74,0x6f]);}}function _0x346a35(_0x33add6){const _0x4a0a09=[new window[(_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21c248=>setTimeout(_0x21c248,0x33481701^_0x32e566)),_0x580bc2[_0x5e778c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1da94a=>{let _0x135905=0x0;_0x3ce12e[_0x5e778c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e778c([0x6f,0x6e])](_0x5e778c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x119ebf,_0x467179)=>{_0x467179[0x0][_0x5e778c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x135905++,_0x135905==(0x33412c25^_0x32e566)&&(_0x1da94a(),_0x119ebf[_0x5e778c([0x6f,0x66,0x66])]());});}))];return window[_0x5e778c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e778c([0x72,0x61,0x63,0x65])](_0x4a0a09)[_0x5e778c([0x74,0x68,0x65,0x6e])](()=>_0x33add6);}async function _0x56d564(){await _0x580bc2,_0x3ce12e[_0x5e778c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e778c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x417770,_0x3ce12e[_0x5e778c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e778c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x417770,_0x3ce12e[_0x5e778c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e778c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfe5f25(_0x58b039){const _0x5f02ee=_0x437e6d();_0x3ce12e[_0x5f02ee]=_0x5e778c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58b039,_0x58b039!=_0x5e778c([0x56,0x61,0x6c,0x69,0x64])&&_0x56d564();}function _0x437e6d(){const _0x14a7c0=window[_0x5e778c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e778c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e778c([0x6e,0x6f,0x77])]())[_0x5e778c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e778c([0x2e]),'');let _0x2bb56e=_0x5e778c([0x45]);for(let _0x38d799=0x0;_0x38d799<_0x14a7c0[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d799+=0x2){let _0xc10309=window[_0x5e778c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14a7c0[_0x5e778c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d799,_0x38d799+0x2));_0xc10309>=_0x1de6af[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc10309-=_0x1de6af[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bb56e+=_0x1de6af[_0xc10309];}return _0x2bb56e;}function _0x3ebc14(){const _0x42bc9d=_0xab4d4b[_0x5e778c([0x73,0x70,0x6c,0x69,0x74])](_0x5e778c([0x2e]));if(0x3!=_0x42bc9d[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8e5f41(_0x42bc9d[0x1]);function _0x8e5f41(_0x3d7c9d){const _0x222cc5=_0x4cb1ee(_0x3d7c9d);return _0x222cc5&&_0x443ea8()?_0x222cc5:null;function _0x443ea8(){const _0x42d1bc=_0x222cc5[_0x5e778c([0x6a,0x74,0x69])],_0x552f01=window[_0x5e778c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42d1bc[_0x5e778c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42d1bc[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf0bf5a={..._0x222cc5,[_0x5e778c([0x6a,0x74,0x69])]:_0x42d1bc[_0x5e778c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42d1bc[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf0bf5a[_0x5e778c([0x76,0x63])],_0x5290b3(_0xf0bf5a)==_0x552f01;}}}async function _0x4a0503(){let _0x16bfd7=!0x0;try{const _0x89652e=_0xab4d4b[_0x5e778c([0x73,0x70,0x6c,0x69,0x74])](_0x5e778c([0x2e])),[_0x26fd4d,_0x477adc,_0x2414cd]=_0x89652e;return _0x438e4b(_0x26fd4d),await _0x1a6877(_0x26fd4d,_0x477adc,_0x2414cd),_0x16bfd7;}catch{return!0x1;}function _0x438e4b(_0x1a9069){const _0xe7e2f7=_0x4cb1ee(_0x1a9069);_0xe7e2f7&&_0xe7e2f7[_0x5e778c([0x61,0x6c,0x67])]==_0x5e778c([0x45,0x53,0x32,0x35,0x36])||(_0x16bfd7=!0x1);}async function _0x1a6877(_0x36d44a,_0x1bc90f,_0x24c17e){const _0x13256b=window[_0x5e778c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e778c([0x66,0x72,0x6f,0x6d])](_0x231c19(_0x24c17e),_0x509792=>_0x509792[_0x5e778c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2386fa=new window[(_0x5e778c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e778c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36d44a+_0x5e778c([0x2e])+_0x1bc90f),_0x4d41e8=window[_0x5e778c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e778c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d41e8)return;const _0xed366b=await _0x4d41e8[_0x5e778c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e778c([0x6a,0x77,0x6b]),_0x5f10d1,{[_0x5e778c([0x6e,0x61,0x6d,0x65])]:_0x5e778c([0x45,0x43,0x44,0x53,0x41]),[_0x5e778c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e778c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e778c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d41e8[_0x5e778c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e778c([0x6e,0x61,0x6d,0x65])]:_0x5e778c([0x45,0x43,0x44,0x53,0x41]),[_0x5e778c([0x68,0x61,0x73,0x68])]:{[_0x5e778c([0x6e,0x61,0x6d,0x65])]:_0x5e778c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xed366b,_0x13256b,_0x2386fa)||(_0x16bfd7=!0x1);}}function _0x4cb1ee(_0x1ba50b){return _0x1ba50b[_0x5e778c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e778c([0x65,0x79]))?JSON[_0x5e778c([0x70,0x61,0x72,0x73,0x65])](_0x231c19(_0x1ba50b)):null;}function _0x231c19(_0x467a00){return window[_0x5e778c([0x61,0x74,0x6f,0x62])](_0x467a00[_0x5e778c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e778c([0x2b]))[_0x5e778c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e778c([0x2f])));}function _0x5290b3(_0x217e0d){let _0x42a3c2=0x1505;function _0x4b7d37(_0x3c5d7b){for(let _0x31ea78=0x0;_0x31ea78<_0x3c5d7b[_0x5e778c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31ea78++){const _0x43398a=_0x3c5d7b[_0x5e778c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31ea78);_0x42a3c2=(_0x42a3c2<<0x5)+_0x42a3c2+_0x43398a,_0x42a3c2&=_0x42a3c2;}}function _0x39cc10(_0x4ac40e){Array[_0x5e778c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ac40e)?_0x4ac40e[_0x5e778c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39cc10):_0x4ac40e&&typeof _0x4ac40e==_0x5e778c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e778c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ac40e)[_0x5e778c([0x73,0x6f,0x72,0x74])]()[_0x5e778c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xacaa12,_0x14dfbf])=>{_0x4b7d37(_0xacaa12),_0x39cc10(_0x14dfbf);}):_0x4b7d37(window[_0x5e778c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ac40e));}return _0x39cc10(_0x217e0d),_0x42a3c2>>>0x0;}function _0x117809(_0x8e0b3f){return _0x8e0b3f[_0x5e778c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e778c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e778c([0x30]));}function _0xa7ea31(_0xd409d0){return _0xd409d0[_0x5e778c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e778c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e778c([0x6a,0x6f,0x69,0x6e])]('');}function _0x417770(){}function _0x5e778c(_0xd7a32e){return _0xd7a32e['map'](_0x58d4be=>String['fromCharCode'](_0x58d4be))['join']('');}_0xfe5f25(await _0x4f83a7());}(this);}['_announceCaseChangeOperation'](_0xbade6b){const {ui:_0x2c0cee,locale:_0x20c258}=this['editor'],_0x29663d=g(_0x20c258)['find'](_0x1772df=>_0x1772df['commandName']===_0xbade6b)['label']['toLowerCase']();_0x2c0cee['ariaLiveAnnouncer']['announce'](d(_0x20c258,'Changed\x20case\x20to\x20%0',_0x29663d));}}function g(_0x4547e4){return[{'label':d(_0x4547e4,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':d(_0x4547e4,'lowercase'),'commandName':'changeCaseLower'},{'label':d(_0x4547e4,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class CaseChangeUI extends _0x165a83{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3f8c1b=this['editor'];this['_registerComponents'](),_0x3f8c1b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':d(_0x3f8c1b['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ea1b8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b3f4f;for(const _0x587967 in _0x5ea1b8){const _0x4434bd=_0x587967,_0x4f7d57=_0x5ea1b8[_0x4434bd];if('caseChangeLicenseKeyValid'==_0x4f7d57||'caseChangeLicenseKeyInvalid'==_0x4f7d57||'caseChangeLicenseKeyExpired'==_0x4f7d57||'caseChangeLicenseKeyDomainLimit'==_0x4f7d57||'caseChangeLicenseKeyNotAllowed'==_0x4f7d57||'caseChangeLicenseKeyEvaluationLimit'==_0x4f7d57||'caseChangeLicenseKeyUsageLimit'==_0x4f7d57){delete _0x5ea1b8[_0x4434bd],_0x2b3f4f=_0x4f7d57,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x2b3f4f&&_0x5ea1b8['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x2b3f4f&&_0x5ea1b8['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x2b3f4f&&_0x5ea1b8['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x2b3f4f&&_0x5ea1b8['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x2b3f4f&&_0x5ea1b8['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x2b3f4f&&_0x5ea1b8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x3a5e53=this['editor'],{itemDefinitions:_0x21878c,commands:_0x57da4a}=this['_getListItemDefinitionsAndCommands']();_0x3a5e53['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x21878c,_0x57da4a)),_0x3a5e53['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x21878c,_0x57da4a));}['_createMenuBarMenuView'](_0x2001c0,_0x8c5001){const _0x538af1=this['editor'],_0x514e9b=_0x538af1['locale'],_0x5ea3fd=new _0x37c057(_0x514e9b),_0x6f5ac5=new _0xfb81dd(_0x514e9b);_0x6f5ac5['set']({'ariaLabel':d(_0x514e9b,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x5ea3fd['buttonView']),_0x5ea3fd['bind']('isEnabled')['toMany'](_0x8c5001,'isEnabled',(..._0x21ac9b)=>_0x21ac9b['some'](_0x2b1d9e=>_0x2b1d9e));for(const _0xaeb76d of _0x2001c0){const _0xdf908c=new _0x17434e(_0x514e9b,_0x5ea3fd),_0x2a2f46=new _0x28361e(_0x514e9b);_0x2a2f46['delegate']('execute')['to'](_0x5ea3fd),_0x2a2f46['bind'](...Object['keys'](_0xaeb76d['model']))['to'](_0xaeb76d['model']),_0x2a2f46['on']('execute',()=>{_0x538af1['execute'](_0xaeb76d['model']['commandName']),_0x538af1['editing']['view']['focus']();}),_0xdf908c['children']['add'](_0x2a2f46),_0x6f5ac5['items']['add'](_0xdf908c);}return _0x5ea3fd['panelView']['children']['add'](_0x6f5ac5),_0x5ea3fd;}['_createDropdownView'](_0x3c1cf7,_0x7195a9){const _0x3e0aca=this['editor'],_0x2e70a9=_0x2ca514(_0x3e0aca['locale']);return this['_setButtonProperties'](_0x2e70a9['buttonView']),_0x2e70a9['buttonView']['set']({'tooltip':!0x0}),_0x2e70a9['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0xd505ac(_0x2e70a9,_0x3c1cf7,{'ariaLabel':d(_0x3e0aca['locale'],'Case\x20change'),'role':'menu'}),_0x2e70a9['bind']('isEnabled')['toMany'](_0x7195a9,'isEnabled',(..._0x50c4b9)=>_0x50c4b9['some'](_0x41d489=>_0x41d489)),this['listenTo'](_0x2e70a9,'execute',_0xa4db03=>{_0x3e0aca['execute'](_0xa4db03['source']['commandName']),_0x3e0aca['editing']['view']['focus']();}),_0x2e70a9;}['_setButtonProperties'](_0x1a5575){const _0x479748=this['editor'];_0x1a5575['set']({'label':d(_0x479748['locale'],'Case\x20change'),'icon':_0x4d88a6,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x46a706=new _0x211f9f(),_0x980bbc=[];for(const _0x2d12ea of g(this['editor']['locale'])){const _0x580695=this['editor']['commands']['get'](_0x2d12ea['commandName']),_0x43adb6=new _0x25cea2({'commandName':_0x2d12ea['commandName'],'label':_0x2d12ea['label'],'role':'menuitemradio','withText':!0x0});_0x43adb6['bind']('isEnabled')['to'](_0x580695,'isEnabled'),_0x46a706['add']({'type':'button','model':_0x43adb6}),_0x980bbc['push'](_0x580695);}return{'itemDefinitions':_0x46a706,'commands':_0x980bbc};}}class CaseChange extends _0x165a83{static get['requires'](){return[CaseChangeEditing,CaseChangeUI];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CaseChange,CaseChangeCommand,CaseChangeEditing,CaseChangeUI};
23
+ import{Command as _0x2bf6a3,Plugin as _0x21692b}from'@ckeditor/ckeditor5-core';import{Collection as _0xa731dd,uid as _0x3c66fa}from'@ckeditor/ckeditor5-utils';import{MenuBarMenuListItemButtonView as _0x473851,MenuBarMenuListItemView as _0x52128f,MenuBarMenuListView as _0x31afc3,MenuBarMenuView as _0x4ae778,UIModel as _0x3d9283,addListToDropdown as _0x3619fd,createDropdown as _0x523a93}from'@ckeditor/ckeditor5-ui';import{IconCaseChange as _0x2a9d55}from'@ckeditor/ckeditor5-icons';var h=class extends _0x2bf6a3{['_transformCallback'];constructor(_0x2a180a,_0x442a9a){super(_0x2a180a),this['_transformCallback']=_0x442a9a;}['execute'](){const _0x35e2f4=this['editor']['model'],_0x4d76dd=Array['from'](this['_getAffectedRanges']()),_0x1908b7=Array['from'](_0x35e2f4['document']['selection']['getRanges']());_0x35e2f4['change'](_0x1f4ba8=>{for(const _0xda7888 of _0x4d76dd)this['_modifyContent'](_0xda7888,_0x1f4ba8);_0x1f4ba8['setSelection'](_0x1908b7);});}['refresh'](){for(const _0x3bc6a4 of this['_getAffectedRanges']())for(const _0x4decc8 of _0x3bc6a4)if(_0x4decc8['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x516a57=this['editor']['model'],_0x3782d3=_0x516a57['document']['selection'];if(_0x3782d3['isCollapsed']){const _0x57f4be=this['_findAncestorTextBlock'](_0x3782d3['getFirstPosition']()['parent']);return _0x57f4be?[_0x516a57['createRangeIn'](_0x57f4be)]:[];}return _0x3782d3['getRanges']();}['_modifyContent'](_0x362456,_0x56c63e){for(const _0x26bbd6 of this['_getElementsAllowingText'](_0x362456)){const _0x1ae68e=this['_getElementTextContent'](_0x26bbd6),_0x5738d2=this['_transformCallback'](_0x1ae68e);for(const _0x565e7e of this['_getTextNodesRangeLimited'](_0x26bbd6,_0x362456))this['_replaceTextNodeData'](_0x565e7e,_0x5738d2,_0x56c63e);}}['_findAncestorTextBlock'](_0x5e838f){const _0x4ea095=this['editor']['model']['schema'];if(_0x5e838f['is']('element')&&_0x4ea095['checkChild'](_0x5e838f,'$text'))return _0x5e838f;const _0x559639=_0x5e838f['parent'];return!_0x559639||_0x4ea095['isLimit'](_0x5e838f)?null:this['_findAncestorTextBlock'](_0x559639);}*['_getElementsAllowingText'](_0x2dbc75){const _0x4fe63f=new Set();for(const {item:_0xd50f62}of _0x2dbc75['getWalker']()){const _0x36fe73=this['_findAncestorTextBlock'](_0xd50f62);_0x36fe73&&!_0x4fe63f['has'](_0x36fe73)&&(_0x4fe63f['add'](_0x36fe73),yield _0x36fe73);}}['_getElementTextContent'](_0x323157){return Array['from'](_0x323157['getChildren']())['reduce']((_0x46fa2c,_0x3b92b4)=>_0x46fa2c+(_0x3b92b4['is']('$text')?_0x3b92b4['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x41e464,_0x47b3f6){const _0x15735c=_0x47b3f6['getIntersection'](this['editor']['model']['createRangeIn'](_0x41e464));if(_0x15735c){for(const _0x369f3f of _0x15735c['getItems']())_0x369f3f['is']('$textProxy')&&_0x369f3f['parent']==_0x41e464&&(yield _0x369f3f);}}['_replaceTextNodeData'](_0x1d2c23,_0x594c30,_0x382281){const _0x5bbe91=_0x594c30['substring'](_0x1d2c23['startOffset'],_0x1d2c23['endOffset']);if(_0x5bbe91===_0x1d2c23['data'])return;const _0xe32089=_0x1d2c23['getAttributes']();this['editor']['model']['insertContent'](_0x382281['createText'](_0x5bbe91,_0xe32089),_0x382281['createSelection'](_0x382281['createRangeOn'](_0x1d2c23)));}};function w(_0x39339d,_0x586a16,..._0x1877a5){const t=_0x39339d['t'];switch(_0x586a16){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x1877a5);default:return _0x586a16;}}var g=class extends _0x21692b{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x48018a=this['editor'],_0x475fdf=_0x48018a['locale']['contentLanguage'],_0x3b5a8e=function(_0x7d239c=[]){return'function'==typeof _0x7d239c?_0x7d239c:(_0x5669aa,{wordIndex:_0x23a1dc})=>_0x23a1dc>0x0&&_0x7d239c['includes'](_0x5669aa);}(_0x48018a['config']['get']('caseChange.titleCase.excludeWords')),_0x4a9480={'changeCaseUpper':new h(_0x48018a,_0x5aff9e=>_0x5aff9e['toLocaleUpperCase'](_0x475fdf)),'changeCaseLower':new h(_0x48018a,_0x56a82f=>_0x56a82f['toLocaleLowerCase'](_0x475fdf)),'changeCaseTitle':new h(_0x48018a,_0x59e5a5=>function(_0x2f06ae,_0x3e660a,_0x438161){return function(_0x180568,_0x484ead){let _0x4c5752='',_0x4653be=0x0,_0x34ccec=0x0;for(const _0x3c477d of _0x180568['matchAll'](/ +/g)){const _0x91045a=_0x3c477d['index'],_0x615d7d=_0x180568['substring'](_0x4653be,_0x91045a);_0x615d7d['length']&&(_0x4c5752+=_0x484ead(_0x615d7d,_0x4653be,_0x34ccec++)),_0x4c5752+=_0x3c477d[0x0],_0x4653be=_0x91045a+_0x3c477d[0x0]['length'];}const _0x14b1d9=_0x180568['substring'](_0x4653be);return _0x14b1d9['length']&&(_0x4c5752+=_0x484ead(_0x14b1d9,_0x4653be,_0x34ccec)),_0x4c5752;}(_0x2f06ae,(_0x6ca01e,_0x117b48,_0x241f1a)=>{const _0x422f05=_0x6ca01e['toLocaleLowerCase'](_0x438161);return _0x3e660a(_0x422f05,{'charOffset':_0x117b48,'wordIndex':_0x241f1a,'blockText':_0x2f06ae})?_0x422f05:_0x422f05['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x392f6c=>_0x392f6c['toLocaleUpperCase'](_0x438161));});}(_0x59e5a5,_0x3b5a8e,_0x475fdf))};for(const [_0x513aae,_0x264477]of Object['entries'](_0x4a9480))_0x48018a['commands']['add'](_0x513aae,_0x264477),_0x264477['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x513aae);});this['listenTo'](_0x48018a['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x48018a['keystrokes']['set']('shift+f3',(_0x47e7a1,_0x4ac561)=>{const _0x3b0d4a=m(this['editor']['locale']),_0x2336f0=_0x3b0d4a[this['_currentCommandIndex']%_0x3b0d4a['length']]['commandName'];_0x48018a['execute'](_0x2336f0),this['_currentCommandIndex']++,_0x4ac561();});}['afterInit'](){!async function(_0x3d1b57){const _0x59b23f='EMDS3dsLoJY0nbe9cmlCrXyaZ8zpPqN6jxThf7gwBi2KFOVUWRAG14HQIkut5v',_0x1178e4=0x78de0,_0x4d0376=window['Date']['now'](),_0x56e377=_0x3d1b57['editor'],_0x6df3f6=new window['Promise'](_0x505892=>{_0x56e377['once']('ready',_0x505892);}),_0x5e2bdb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x10b5b2=_0x56e377['config']['get']('licenseKey');async function _0x5aa480(){let _0x39fd2b,_0x335270=null,_0x2616dc=null;try{return'GPL'==_0x10b5b2?'NotAllowed':(_0x39fd2b=_0x4b3fc5(),_0x39fd2b?(_0x39fd2b['usageEndpoint']&&(_0x2616dc=_0x56acd2(_0x39fd2b['usageEndpoint'],_0x39fd2b['jti'])),await _0x13bc4e()?_0x2b27a2()?_0x1d7135()?'Expired':_0x3117cf()?('evaluation'==_0x39fd2b['licenseType']&&(_0x335270=_0x1649aa('EvaluationLimit')),await _0x4d756f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1d7135(){const _0x521f0a=['evaluation','trial']['includes'](_0x39fd2b['licenseType'])?_0x4d0376/0x3e8:0xe10*_0x1178e4;return _0x39fd2b['exp']<_0x521f0a;}function _0x2b27a2(){const _0xa03109=_0x39fd2b['features'];return!!_0xa03109&&(!!_0xa03109['includes']('*')||(!!_0xa03109['includes']('CC')||!!_0xa03109['includes']('PP')));}function _0x3117cf(){const _0x1f3180=_0x39fd2b['licensedHosts'];if(!_0x1f3180||0x0==_0x1f3180['length'])return!0x0;const {hostname:_0xd4b4bf}=new URL(window['location']['href']);if(_0x1f3180['includes'](_0xd4b4bf))return!0x0;const _0x161c5c=_0xd4b4bf['split']('.');return _0x1f3180['filter'](_0x15f4bd=>_0x15f4bd['includes']('*'))['map'](_0x3f858f=>_0x3f858f['split']('.'))['filter'](_0x3aaa41=>_0x3aaa41['length']<=_0x161c5c['length'])['map'](_0x4ac94f=>Array(_0x161c5c['length']-_0x4ac94f['length'])['fill']('*'===_0x4ac94f[0x0]?'*':'')['concat'](_0x4ac94f))['some'](_0x1539d8=>_0x161c5c['every']((_0x3e1270,_0x52c509)=>_0x1539d8[_0x52c509]===_0x3e1270||'*'===_0x1539d8[_0x52c509]));}function _0x4d756f(){return _0x335270&&_0x2616dc?new window['Promise']((_0x10c8cd,_0x2fb7b1)=>{_0x335270['then'](_0x10c8cd,_0x2fb7b1),_0x2616dc['then'](_0x3495da=>{'Valid'!=_0x3495da&&_0x10c8cd(_0x3495da);},_0x2fb7b1);}):_0x335270||_0x2616dc||'Valid';}}function _0x56acd2(_0x5acbd8,_0x381e2f){return new window['Promise'](_0x6323f7=>{if(_0x543723())return _0x6323f7('Valid');_0x252c8d(),_0x56e377['decorate']('_sendUsageRequest');let _0x2c0b65=!0x1;const _0x393851=_0x3c66fa();function _0x202f36(_0x2ef166){return!!_0x2ef166&&('object'==typeof _0x2ef166||'function'==typeof _0x2ef166)&&'function'==typeof _0x2ef166['then']&&'function'==typeof _0x2ef166['catch'];}function _0x500b5f(_0x1c385e){_0x20cbab(_0x1c385e)['then'](_0x1759d5=>_0x1759d5&&'ok'==_0x1759d5['status']?_0x54151c(_0x29600d(_0x393851+_0x381e2f))!=_0x1759d5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x94e60=>(_0x3d79a9(),_0x94e60),()=>{const _0x37adf0=_0x502cee();return null==_0x37adf0?(_0x3d79a9(),'Valid'):_0x4d0376-_0x37adf0>0x240c8400?'UsageLimit':'Valid';})['then'](_0x6323f7)['catch'](()=>{_0x6323f7('UsageLimit');});const _0x304a7c=0x36ee80;function _0x3d79a9(){const _0x4a5dc3='llct-'+_0x54151c(_0x29600d(_0x5acbd8)),_0x343d6b=_0x1582b7(_0x54151c(window['Math']['ceil'](_0x4d0376/_0x304a7c)));window['localStorage']['setItem'](_0x4a5dc3,_0x343d6b);}function _0x502cee(){const _0x44c7ef='llct-'+_0x54151c(_0x29600d(_0x5acbd8)),_0x5c7924=window['localStorage']['getItem'](_0x44c7ef);return _0x5c7924?window['parseInt'](_0x1582b7(_0x5c7924),0x10)*_0x304a7c:null;}function _0x20cbab(_0x492ef5){return new window['Promise']((_0x36a94d,_0x3a838d)=>{_0x492ef5['then'](_0x36a94d,_0x3a838d),window['setTimeout'](_0x3a838d,0x1d4c0);});}}_0x56e377['on']('_sendUsageRequest',(_0x4cf8af,_0x1604d6)=>{if(_0x1604d6[0x0]!=_0x5acbd8)return _0x6323f7('UsageLimit');_0x1604d6[0x1]={..._0x1604d6[0x1],'requestId':_0x393851};},{'priority':'high'}),_0x56e377['on']('_sendUsageRequest',_0x22b638=>{_0x202f36(_0x22b638['return'])&&(_0x2c0b65=!0x0,_0x500b5f(_0x22b638['return']));},{'priority':'low'}),_0x6df3f6['then'](()=>{_0x2c0b65||_0x6323f7('UsageLimit');});});function _0x543723(){return'auto'==_0x56e377['editing']['view']['_overlayModeHint'];}function _0x252c8d(){_0x56e377['editing']['view']['_overlayModeHint']='auto';}}function _0x1649aa(_0x48bbb5){const _0x244c9c=[new window['Promise'](_0x150b62=>setTimeout(_0x150b62,0x93ecc)),_0x6df3f6['then'](()=>new window['Promise'](_0x767b38=>{let _0x55bf7c=0x0;_0x56e377['model']['on']('applyOperation',(_0x3bc094,_0x100cfa)=>{_0x100cfa[0x0]['isDocumentOperation']&&_0x55bf7c++,0x5e8==_0x55bf7c&&(_0x767b38(),_0x3bc094['off']());});}))];return window['Promise']['race'](_0x244c9c)['then'](()=>_0x48bbb5);}async function _0x374ea3(){await _0x6df3f6,_0x56e377['model']['change']=_0x369f8a,_0x56e377['model']['enqueueChange']=_0x369f8a,_0x56e377['enableReadOnlyMode']('model');}function _0x519c3b(_0x4e1ac4){const _0x27bb50=_0x1cf753();_0x56e377[_0x27bb50]='caseChangeLicenseKey'+_0x4e1ac4,'Valid'!=_0x4e1ac4&&_0x374ea3();}function _0x1cf753(){const _0x506b8f=window['String'](window['performance']['now']())['replace']('.','');let _0x4625c4='E';for(let _0x2942e1=0x0;_0x2942e1<_0x506b8f['length'];_0x2942e1+=0x2){let _0x4a8cca=window['parseInt'](_0x506b8f['substring'](_0x2942e1,_0x2942e1+0x2));_0x4a8cca>=0x3e&&(_0x4a8cca-=0x3e),_0x4625c4+=_0x59b23f[_0x4a8cca];}return _0x4625c4;}function _0x4b3fc5(){const _0x281eca=_0x10b5b2['split']('.');if(0x3!=_0x281eca['length'])return null;return _0x12fc24(_0x281eca[0x1]);function _0x12fc24(_0x2e4bca){const _0x989058=_0x4a0810(_0x2e4bca);return _0x989058&&_0x59b12b()?_0x989058:null;function _0x59b12b(){const _0x2dbf91=_0x989058['jti'],_0x575b2e=window['parseInt'](_0x2dbf91['substring'](_0x2dbf91['length']-0x8),0x10),_0x2432ef={..._0x989058,'jti':_0x2dbf91['substring'](0x0,_0x2dbf91['length']-0x8)};return delete _0x2432ef['vc'],_0x29600d(_0x2432ef)==_0x575b2e;}}}async function _0x13bc4e(){let _0x6c11c3=!0x0;try{const [_0x2419ba,_0x246e60,_0x4f0d70]=_0x10b5b2['split']('.');return _0x294ac3(_0x2419ba),await _0x37f240(_0x2419ba,_0x246e60,_0x4f0d70),_0x6c11c3;}catch{return!0x1;}function _0x294ac3(_0xe49f6d){const _0x495cda=_0x4a0810(_0xe49f6d);_0x495cda&&'ES256'==_0x495cda['alg']||(_0x6c11c3=!0x1);}async function _0x37f240(_0x1a301d,_0x4c3f60,_0x1380c3){const _0x445953=window['Uint8Array']['from'](_0x3b3e87(_0x1380c3),_0x289db0=>_0x289db0['charCodeAt'](0x0)),_0x462172=new window['TextEncoder']()['encode'](_0x1a301d+'.'+_0x4c3f60),_0x30fbd0=window['crypto']['subtle'];if(!_0x30fbd0)return;const _0x3f35ca=await _0x30fbd0['importKey']('jwk',_0x5e2bdb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x30fbd0['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3f35ca,_0x445953,_0x462172)||(_0x6c11c3=!0x1);}}function _0x4a0810(_0x1421be){return _0x1421be['startsWith']('ey')?JSON['parse'](_0x3b3e87(_0x1421be)):null;}function _0x3b3e87(_0x45a0d0){return window['atob'](_0x45a0d0['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x29600d(_0xce3b61){let _0x40e903=0x1505;function _0x26325b(_0x1fadae){for(let _0x4f3eb7=0x0;_0x4f3eb7<_0x1fadae['length'];_0x4f3eb7++){const _0x2130e0=_0x1fadae['charCodeAt'](_0x4f3eb7);_0x40e903=(_0x40e903<<0x5)+_0x40e903+_0x2130e0,_0x40e903&=_0x40e903;}}function _0x572afe(_0x34fe71){Array['isArray'](_0x34fe71)?_0x34fe71['forEach'](_0x572afe):_0x34fe71&&'object'==typeof _0x34fe71?Object['entries'](_0x34fe71)['sort']()['forEach'](([_0x2ece1b,_0x41705d])=>{_0x26325b(_0x2ece1b),_0x572afe(_0x41705d);}):_0x26325b(window['String'](_0x34fe71));}return _0x572afe(_0xce3b61),_0x40e903>>>0x0;}function _0x54151c(_0x5e297d){return _0x5e297d['toString'](0x10)['padStart'](0x8,'0');}function _0x1582b7(_0x580463){return _0x580463['split']('')['reverse']()['join']('');}function _0x369f8a(){}_0x519c3b(await _0x5aa480());}(this);}['_announceCaseChangeOperation'](_0x7aab3e){const {ui:_0x49c320,locale:_0x2f3513}=this['editor'],_0x41d6d6=m(_0x2f3513)['find'](_0x5b25f2=>_0x5b25f2['commandName']===_0x7aab3e)['label']['toLowerCase']();_0x49c320['ariaLiveAnnouncer']['announce'](w(_0x2f3513,'Changed\x20case\x20to\x20%0',_0x41d6d6));}};function m(_0x545992){return[{'label':w(_0x545992,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':w(_0x545992,'lowercase'),'commandName':'changeCaseLower'},{'label':w(_0x545992,'Title\x20Case'),'commandName':'changeCaseTitle'}];}var C=class extends _0x21692b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x22c45e=this['editor'];this['_registerComponents'](),_0x22c45e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':w(_0x22c45e['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3bf46f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c8892;for(const _0x31cac8 in _0x3bf46f){const _0x455419=_0x31cac8,_0x222cf1=_0x3bf46f[_0x455419];if('caseChangeLicenseKeyValid'==_0x222cf1||'caseChangeLicenseKeyInvalid'==_0x222cf1||'caseChangeLicenseKeyExpired'==_0x222cf1||'caseChangeLicenseKeyDomainLimit'==_0x222cf1||'caseChangeLicenseKeyNotAllowed'==_0x222cf1||'caseChangeLicenseKeyEvaluationLimit'==_0x222cf1||'caseChangeLicenseKeyUsageLimit'==_0x222cf1){delete _0x3bf46f[_0x455419],_0x4c8892=_0x222cf1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x4c8892&&_0x3bf46f['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x4c8892&&_0x3bf46f['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x4c8892&&_0x3bf46f['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x4c8892&&_0x3bf46f['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x4c8892&&_0x3bf46f['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x4c8892&&_0x3bf46f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x2c9fd9=this['editor'],{itemDefinitions:_0x10586b,commands:_0x2ab6b3}=this['_getListItemDefinitionsAndCommands']();_0x2c9fd9['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x10586b,_0x2ab6b3)),_0x2c9fd9['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x10586b,_0x2ab6b3));}['_createMenuBarMenuView'](_0x5bfebb,_0x3c0311){const _0x3ee04c=this['editor'],_0xb6581c=_0x3ee04c['locale'],_0x1a0e7b=new _0x4ae778(_0xb6581c),_0x30ee60=new _0x31afc3(_0xb6581c);_0x30ee60['set']({'ariaLabel':w(_0xb6581c,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x1a0e7b['buttonView']),_0x1a0e7b['bind']('isEnabled')['toMany'](_0x3c0311,'isEnabled',(..._0x18476f)=>_0x18476f['some'](_0xf97ab=>_0xf97ab));for(const _0x50636b of _0x5bfebb){const _0x339410=new _0x52128f(_0xb6581c,_0x1a0e7b),_0x5228b3=new _0x473851(_0xb6581c);_0x5228b3['delegate']('execute')['to'](_0x1a0e7b),_0x5228b3['bind'](...Object['keys'](_0x50636b['model']))['to'](_0x50636b['model']),_0x5228b3['on']('execute',()=>{_0x3ee04c['execute'](_0x50636b['model']['commandName']),_0x3ee04c['editing']['view']['focus']();}),_0x339410['children']['add'](_0x5228b3),_0x30ee60['items']['add'](_0x339410);}return _0x1a0e7b['panelView']['children']['add'](_0x30ee60),_0x1a0e7b;}['_createDropdownView'](_0x2db9ce,_0x2e7777){const _0x36c508=this['editor'],_0x24d862=_0x523a93(_0x36c508['locale']);return this['_setButtonProperties'](_0x24d862['buttonView']),_0x24d862['buttonView']['set']({'tooltip':!0x0}),_0x24d862['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x3619fd(_0x24d862,_0x2db9ce,{'ariaLabel':w(_0x36c508['locale'],'Case\x20change'),'role':'menu'}),_0x24d862['bind']('isEnabled')['toMany'](_0x2e7777,'isEnabled',(..._0x48b587)=>_0x48b587['some'](_0x581aa4=>_0x581aa4)),this['listenTo'](_0x24d862,'execute',_0x2ed8d2=>{_0x36c508['execute'](_0x2ed8d2['source']['commandName']),_0x36c508['editing']['view']['focus']();}),_0x24d862;}['_setButtonProperties'](_0x47b4c3){const _0x3efe18=this['editor'];_0x47b4c3['set']({'label':w(_0x3efe18['locale'],'Case\x20change'),'icon':_0x2a9d55,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x4843cd=new _0xa731dd(),_0x45ad94=[];for(const _0x23a65b of m(this['editor']['locale'])){const _0x4d0250=this['editor']['commands']['get'](_0x23a65b['commandName']),_0x2be30c=new _0x3d9283({'commandName':_0x23a65b['commandName'],'label':_0x23a65b['label'],'role':'menuitemradio','withText':!0x0});_0x2be30c['bind']('isEnabled')['to'](_0x4d0250,'isEnabled'),_0x4843cd['add']({'type':'button','model':_0x2be30c}),_0x45ad94['push'](_0x4d0250);}return{'itemDefinitions':_0x4843cd,'commands':_0x45ad94};}},y=class extends _0x21692b{static get['requires'](){return[g,C];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{y as CaseChange,h as CaseChangeCommand,g as CaseChangeEditing,C as CaseChangeUI};
@@ -1,5 +1 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Case\x20change':'','UPPERCASE':'','lowercase':'','Title\x20Case':'','Change\x20text\x20case':'','Changed\x20case\x20to\x20%0':''},'getPluralForm':_0x59034b=>0x1!=_0x59034b}};
23
+ export default{'af':{'dictionary':{'Case\x20change':'','UPPERCASE':'','lowercase':'','Title\x20Case':'','Change\x20text\x20case':'','Changed\x20case\x20to\x20%0':''},'getPluralForm':_0x276531=>0x1!=_0x276531}};