@ckeditor/ckeditor5-case-change 0.0.0-internal-20241017.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 (249) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +18 -0
  3. package/README.md +40 -0
  4. package/build/case-change.js +5 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de.js +1 -0
  12. package/build/translations/el.js +1 -0
  13. package/build/translations/es-co.js +1 -0
  14. package/build/translations/es.js +1 -0
  15. package/build/translations/et.js +1 -0
  16. package/build/translations/fi.js +1 -0
  17. package/build/translations/fr.js +1 -0
  18. package/build/translations/gl.js +1 -0
  19. package/build/translations/he.js +1 -0
  20. package/build/translations/hi.js +1 -0
  21. package/build/translations/hr.js +1 -0
  22. package/build/translations/hu.js +1 -0
  23. package/build/translations/id.js +1 -0
  24. package/build/translations/it.js +1 -0
  25. package/build/translations/ja.js +1 -0
  26. package/build/translations/ko.js +1 -0
  27. package/build/translations/lt.js +1 -0
  28. package/build/translations/lv.js +1 -0
  29. package/build/translations/ms.js +1 -0
  30. package/build/translations/nl.js +1 -0
  31. package/build/translations/no.js +1 -0
  32. package/build/translations/pl.js +1 -0
  33. package/build/translations/pt-br.js +1 -0
  34. package/build/translations/pt.js +1 -0
  35. package/build/translations/ro.js +1 -0
  36. package/build/translations/ru.js +1 -0
  37. package/build/translations/sk.js +1 -0
  38. package/build/translations/sr-latn.js +1 -0
  39. package/build/translations/sr.js +1 -0
  40. package/build/translations/sv.js +1 -0
  41. package/build/translations/th.js +1 -0
  42. package/build/translations/tr.js +1 -0
  43. package/build/translations/uk.js +1 -0
  44. package/build/translations/vi.js +1 -0
  45. package/build/translations/zh-cn.js +1 -0
  46. package/build/translations/zh.js +1 -0
  47. package/ckeditor5-metadata.json +19 -0
  48. package/dist/augmentation.d.ts +22 -0
  49. package/dist/casechange.d.ts +130 -0
  50. package/dist/casechangecommand.d.ts +36 -0
  51. package/dist/casechangeediting.d.ts +37 -0
  52. package/dist/casechangeui.d.ts +38 -0
  53. package/dist/index-content.css +4 -0
  54. package/dist/index-editor.css +4 -0
  55. package/dist/index.css +4 -0
  56. package/dist/index.d.ts +16 -0
  57. package/dist/index.js +23 -0
  58. package/dist/legacyerrors.d.ts +24 -0
  59. package/dist/translations/ar.d.ts +8 -0
  60. package/dist/translations/ar.js +23 -0
  61. package/dist/translations/ar.umd.js +23 -0
  62. package/dist/translations/bg.d.ts +8 -0
  63. package/dist/translations/bg.js +23 -0
  64. package/dist/translations/bg.umd.js +23 -0
  65. package/dist/translations/bn.d.ts +8 -0
  66. package/dist/translations/bn.js +23 -0
  67. package/dist/translations/bn.umd.js +23 -0
  68. package/dist/translations/ca.d.ts +8 -0
  69. package/dist/translations/ca.js +23 -0
  70. package/dist/translations/ca.umd.js +23 -0
  71. package/dist/translations/cs.d.ts +8 -0
  72. package/dist/translations/cs.js +23 -0
  73. package/dist/translations/cs.umd.js +23 -0
  74. package/dist/translations/da.d.ts +8 -0
  75. package/dist/translations/da.js +23 -0
  76. package/dist/translations/da.umd.js +23 -0
  77. package/dist/translations/de.d.ts +8 -0
  78. package/dist/translations/de.js +23 -0
  79. package/dist/translations/de.umd.js +23 -0
  80. package/dist/translations/el.d.ts +8 -0
  81. package/dist/translations/el.js +23 -0
  82. package/dist/translations/el.umd.js +23 -0
  83. package/dist/translations/en.d.ts +8 -0
  84. package/dist/translations/en.js +23 -0
  85. package/dist/translations/en.umd.js +23 -0
  86. package/dist/translations/es-co.d.ts +8 -0
  87. package/dist/translations/es-co.js +23 -0
  88. package/dist/translations/es-co.umd.js +23 -0
  89. package/dist/translations/es.d.ts +8 -0
  90. package/dist/translations/es.js +23 -0
  91. package/dist/translations/es.umd.js +23 -0
  92. package/dist/translations/et.d.ts +8 -0
  93. package/dist/translations/et.js +23 -0
  94. package/dist/translations/et.umd.js +23 -0
  95. package/dist/translations/fi.d.ts +8 -0
  96. package/dist/translations/fi.js +23 -0
  97. package/dist/translations/fi.umd.js +23 -0
  98. package/dist/translations/fr.d.ts +8 -0
  99. package/dist/translations/fr.js +23 -0
  100. package/dist/translations/fr.umd.js +23 -0
  101. package/dist/translations/gl.d.ts +8 -0
  102. package/dist/translations/gl.js +23 -0
  103. package/dist/translations/gl.umd.js +23 -0
  104. package/dist/translations/he.d.ts +8 -0
  105. package/dist/translations/he.js +23 -0
  106. package/dist/translations/he.umd.js +23 -0
  107. package/dist/translations/hi.d.ts +8 -0
  108. package/dist/translations/hi.js +23 -0
  109. package/dist/translations/hi.umd.js +23 -0
  110. package/dist/translations/hr.d.ts +8 -0
  111. package/dist/translations/hr.js +23 -0
  112. package/dist/translations/hr.umd.js +23 -0
  113. package/dist/translations/hu.d.ts +8 -0
  114. package/dist/translations/hu.js +23 -0
  115. package/dist/translations/hu.umd.js +23 -0
  116. package/dist/translations/id.d.ts +8 -0
  117. package/dist/translations/id.js +23 -0
  118. package/dist/translations/id.umd.js +23 -0
  119. package/dist/translations/it.d.ts +8 -0
  120. package/dist/translations/it.js +23 -0
  121. package/dist/translations/it.umd.js +23 -0
  122. package/dist/translations/ja.d.ts +8 -0
  123. package/dist/translations/ja.js +23 -0
  124. package/dist/translations/ja.umd.js +23 -0
  125. package/dist/translations/ko.d.ts +8 -0
  126. package/dist/translations/ko.js +23 -0
  127. package/dist/translations/ko.umd.js +23 -0
  128. package/dist/translations/lt.d.ts +8 -0
  129. package/dist/translations/lt.js +23 -0
  130. package/dist/translations/lt.umd.js +23 -0
  131. package/dist/translations/lv.d.ts +8 -0
  132. package/dist/translations/lv.js +23 -0
  133. package/dist/translations/lv.umd.js +23 -0
  134. package/dist/translations/ms.d.ts +8 -0
  135. package/dist/translations/ms.js +23 -0
  136. package/dist/translations/ms.umd.js +23 -0
  137. package/dist/translations/nl.d.ts +8 -0
  138. package/dist/translations/nl.js +23 -0
  139. package/dist/translations/nl.umd.js +23 -0
  140. package/dist/translations/no.d.ts +8 -0
  141. package/dist/translations/no.js +23 -0
  142. package/dist/translations/no.umd.js +23 -0
  143. package/dist/translations/pl.d.ts +8 -0
  144. package/dist/translations/pl.js +23 -0
  145. package/dist/translations/pl.umd.js +23 -0
  146. package/dist/translations/pt-br.d.ts +8 -0
  147. package/dist/translations/pt-br.js +23 -0
  148. package/dist/translations/pt-br.umd.js +23 -0
  149. package/dist/translations/pt.d.ts +8 -0
  150. package/dist/translations/pt.js +23 -0
  151. package/dist/translations/pt.umd.js +23 -0
  152. package/dist/translations/ro.d.ts +8 -0
  153. package/dist/translations/ro.js +23 -0
  154. package/dist/translations/ro.umd.js +23 -0
  155. package/dist/translations/ru.d.ts +8 -0
  156. package/dist/translations/ru.js +23 -0
  157. package/dist/translations/ru.umd.js +23 -0
  158. package/dist/translations/sk.d.ts +8 -0
  159. package/dist/translations/sk.js +23 -0
  160. package/dist/translations/sk.umd.js +23 -0
  161. package/dist/translations/sr-latn.d.ts +8 -0
  162. package/dist/translations/sr-latn.js +23 -0
  163. package/dist/translations/sr-latn.umd.js +23 -0
  164. package/dist/translations/sr.d.ts +8 -0
  165. package/dist/translations/sr.js +23 -0
  166. package/dist/translations/sr.umd.js +23 -0
  167. package/dist/translations/sv.d.ts +8 -0
  168. package/dist/translations/sv.js +23 -0
  169. package/dist/translations/sv.umd.js +23 -0
  170. package/dist/translations/th.d.ts +8 -0
  171. package/dist/translations/th.js +23 -0
  172. package/dist/translations/th.umd.js +23 -0
  173. package/dist/translations/tr.d.ts +8 -0
  174. package/dist/translations/tr.js +23 -0
  175. package/dist/translations/tr.umd.js +23 -0
  176. package/dist/translations/uk.d.ts +8 -0
  177. package/dist/translations/uk.js +23 -0
  178. package/dist/translations/uk.umd.js +23 -0
  179. package/dist/translations/vi.d.ts +8 -0
  180. package/dist/translations/vi.js +23 -0
  181. package/dist/translations/vi.umd.js +23 -0
  182. package/dist/translations/zh-cn.d.ts +8 -0
  183. package/dist/translations/zh-cn.js +23 -0
  184. package/dist/translations/zh-cn.umd.js +23 -0
  185. package/dist/translations/zh.d.ts +8 -0
  186. package/dist/translations/zh.js +23 -0
  187. package/dist/translations/zh.umd.js +23 -0
  188. package/dist/utils/common-translations.d.ts +13 -0
  189. package/lang/contexts.json +8 -0
  190. package/lang/translations/ar.po +42 -0
  191. package/lang/translations/bg.po +42 -0
  192. package/lang/translations/bn.po +42 -0
  193. package/lang/translations/ca.po +42 -0
  194. package/lang/translations/cs.po +42 -0
  195. package/lang/translations/da.po +42 -0
  196. package/lang/translations/de.po +42 -0
  197. package/lang/translations/el.po +42 -0
  198. package/lang/translations/en.po +42 -0
  199. package/lang/translations/es-co.po +42 -0
  200. package/lang/translations/es.po +42 -0
  201. package/lang/translations/et.po +42 -0
  202. package/lang/translations/fi.po +42 -0
  203. package/lang/translations/fr.po +42 -0
  204. package/lang/translations/gl.po +42 -0
  205. package/lang/translations/he.po +42 -0
  206. package/lang/translations/hi.po +42 -0
  207. package/lang/translations/hr.po +42 -0
  208. package/lang/translations/hu.po +42 -0
  209. package/lang/translations/id.po +42 -0
  210. package/lang/translations/it.po +42 -0
  211. package/lang/translations/ja.po +42 -0
  212. package/lang/translations/ko.po +42 -0
  213. package/lang/translations/lt.po +42 -0
  214. package/lang/translations/lv.po +42 -0
  215. package/lang/translations/ms.po +42 -0
  216. package/lang/translations/nl.po +42 -0
  217. package/lang/translations/no.po +42 -0
  218. package/lang/translations/pl.po +42 -0
  219. package/lang/translations/pt-br.po +42 -0
  220. package/lang/translations/pt.po +42 -0
  221. package/lang/translations/ro.po +42 -0
  222. package/lang/translations/ru.po +42 -0
  223. package/lang/translations/sk.po +42 -0
  224. package/lang/translations/sr-latn.po +42 -0
  225. package/lang/translations/sr.po +42 -0
  226. package/lang/translations/sv.po +42 -0
  227. package/lang/translations/th.po +42 -0
  228. package/lang/translations/tr.po +42 -0
  229. package/lang/translations/uk.po +42 -0
  230. package/lang/translations/vi.po +42 -0
  231. package/lang/translations/zh-cn.po +42 -0
  232. package/lang/translations/zh.po +42 -0
  233. package/package.json +52 -0
  234. package/src/augmentation.d.ts +18 -0
  235. package/src/augmentation.js +23 -0
  236. package/src/casechange.d.ts +126 -0
  237. package/src/casechange.js +23 -0
  238. package/src/casechangecommand.d.ts +32 -0
  239. package/src/casechangecommand.js +23 -0
  240. package/src/casechangeediting.d.ts +33 -0
  241. package/src/casechangeediting.js +23 -0
  242. package/src/casechangeui.d.ts +34 -0
  243. package/src/casechangeui.js +23 -0
  244. package/src/index.d.ts +12 -0
  245. package/src/index.js +23 -0
  246. package/src/legacyerrors.d.ts +20 -0
  247. package/src/legacyerrors.js +23 -0
  248. package/src/utils/common-translations.d.ts +9 -0
  249. package/src/utils/common-translations.js +23 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x1b36(_0x10ed53,_0x161be5){const _0x6f599f=_0x6f59();return _0x1b36=function(_0x1b366f,_0x2a920f){_0x1b366f=_0x1b366f-0x10f;let _0x524058=_0x6f599f[_0x1b366f];return _0x524058;},_0x1b36(_0x10ed53,_0x161be5);}const _0x47a48c=_0x1b36;(function(_0x53e135,_0x328a08){const _0x433a26=_0x1b36,_0x4cd6f2=_0x53e135();while(!![]){try{const _0x2dc06f=parseInt(_0x433a26(0x142))/0x1+parseInt(_0x433a26(0x135))/0x2*(-parseInt(_0x433a26(0x110))/0x3)+-parseInt(_0x433a26(0x11e))/0x4*(parseInt(_0x433a26(0x138))/0x5)+-parseInt(_0x433a26(0x141))/0x6*(-parseInt(_0x433a26(0x134))/0x7)+-parseInt(_0x433a26(0x10f))/0x8*(parseInt(_0x433a26(0x12c))/0x9)+-parseInt(_0x433a26(0x136))/0xa*(parseInt(_0x433a26(0x111))/0xb)+parseInt(_0x433a26(0x11a))/0xc;if(_0x2dc06f===_0x328a08)break;else _0x4cd6f2['push'](_0x4cd6f2['shift']());}catch(_0x2f0632){_0x4cd6f2['push'](_0x4cd6f2['shift']());}}}(_0x6f59,0xea3e1));function _0x6f59(){const _0x492202=['$text','getAttributes','_modifyContent','isLimit','_replaceTextNodeData','execute','65896188FDkEMX','isEnabled','data','getItems','7615752fBbODB','_getTextNodesRangeLimited','getWalker','endOffset','getRanges','element','substring','$textProxy','checkChild','isCollapsed','add','has','getChildren','editor','45zwBtfZ','selection','startOffset','document','getIntersection','_findAncestorTextBlock','parent','createRangeOn','7lNhkAl','881340iROHsG','4065320eIzDIE','change','5LhyFNa','_transformCallback','_getElementTextContent','refresh','_getAffectedRanges','createText','model','_getElementsAllowingText','item','547098zzubhs','796200rCDret','createSelection','insertContent','setSelection','schema','reduce','from','2858872dSIpIg','9CrgFbU','11qXvcWr','createRangeIn','getFirstPosition'];_0x6f59=function(){return _0x492202;};return _0x6f59();}import{Command as _0x5508ae}from'ckeditor5/src/core.js';export default class n extends _0x5508ae{constructor(_0x3fe427,_0x3b1650){const _0x53f39e=_0x1b36;super(_0x3fe427),this[_0x53f39e(0x139)]=_0x3b1650;}[_0x47a48c(0x119)](){const _0x4faa47=_0x47a48c,_0x18c379=this[_0x4faa47(0x12b)][_0x4faa47(0x13e)],_0x17a0ec=Array[_0x4faa47(0x148)](this[_0x4faa47(0x13c)]()),_0x278a0a=Array[_0x4faa47(0x148)](_0x18c379[_0x4faa47(0x12f)][_0x4faa47(0x12d)][_0x4faa47(0x122)]());_0x18c379[_0x4faa47(0x137)](_0x3a2dca=>{const _0x1856da=_0x4faa47;for(const _0x46a420 of _0x17a0ec)this[_0x1856da(0x116)](_0x46a420,_0x3a2dca);_0x3a2dca[_0x1856da(0x145)](_0x278a0a);});}[_0x47a48c(0x13b)](){const _0x3debaf=_0x47a48c;for(const _0x1dc1df of this[_0x3debaf(0x13c)]())for(const _0x5c7eb8 of _0x1dc1df)if(_0x5c7eb8[_0x3debaf(0x140)]['is'](_0x3debaf(0x125)))return void(this[_0x3debaf(0x11b)]=!0x0);this[_0x3debaf(0x11b)]=!0x1;}[_0x47a48c(0x13c)](){const _0x2651f1=_0x47a48c,_0x4d8161=this[_0x2651f1(0x12b)][_0x2651f1(0x13e)],_0x29d256=_0x4d8161[_0x2651f1(0x12f)][_0x2651f1(0x12d)];if(_0x29d256[_0x2651f1(0x127)]){const _0x1fb41a=this[_0x2651f1(0x131)](_0x29d256[_0x2651f1(0x113)]()[_0x2651f1(0x132)]);return _0x1fb41a?[_0x4d8161[_0x2651f1(0x112)](_0x1fb41a)]:[];}return _0x29d256[_0x2651f1(0x122)]();}[_0x47a48c(0x116)](_0x41e9e3,_0x237668){const _0x4f403f=_0x47a48c;for(const _0x12494a of this[_0x4f403f(0x13f)](_0x41e9e3)){const _0x3b6ed6=this[_0x4f403f(0x13a)](_0x12494a),_0x2fa8f6=this[_0x4f403f(0x139)](_0x3b6ed6);for(const _0x899bff of this[_0x4f403f(0x11f)](_0x12494a,_0x41e9e3))this[_0x4f403f(0x118)](_0x899bff,_0x2fa8f6,_0x237668);}}[_0x47a48c(0x131)](_0x3d42c6){const _0x44e806=_0x47a48c,_0x6a2184=this[_0x44e806(0x12b)][_0x44e806(0x13e)][_0x44e806(0x146)];if(_0x3d42c6['is'](_0x44e806(0x123))&&_0x6a2184[_0x44e806(0x126)](_0x3d42c6,_0x44e806(0x114)))return _0x3d42c6;const _0x50d26c=_0x3d42c6[_0x44e806(0x132)];return!_0x50d26c||_0x6a2184[_0x44e806(0x117)](_0x3d42c6)?null:this[_0x44e806(0x131)](_0x50d26c);}*[_0x47a48c(0x13f)](_0x448210){const _0x38366e=_0x47a48c,_0x4a028d=new Set();for(const {item:_0x3d0bb1}of _0x448210[_0x38366e(0x120)]()){const _0x4adbaa=this[_0x38366e(0x131)](_0x3d0bb1);_0x4adbaa&&!_0x4a028d[_0x38366e(0x129)](_0x4adbaa)&&(_0x4a028d[_0x38366e(0x128)](_0x4adbaa),yield _0x4adbaa);}}[_0x47a48c(0x13a)](_0x3a5266){const _0x1026e7=_0x47a48c;return Array[_0x1026e7(0x148)](_0x3a5266[_0x1026e7(0x12a)]())[_0x1026e7(0x147)]((_0x469ad6,_0x16b119)=>_0x469ad6+(_0x16b119['is'](_0x1026e7(0x114))?_0x16b119[_0x1026e7(0x11c)]:'\x20'),'');}*[_0x47a48c(0x11f)](_0x3d1663,_0x163a95){const _0x51ab51=_0x47a48c,_0x10d749=_0x163a95[_0x51ab51(0x130)](this[_0x51ab51(0x12b)][_0x51ab51(0x13e)][_0x51ab51(0x112)](_0x3d1663));if(_0x10d749){for(const _0x6f1369 of _0x10d749[_0x51ab51(0x11d)]())_0x6f1369['is'](_0x51ab51(0x125))&&_0x6f1369[_0x51ab51(0x132)]==_0x3d1663&&(yield _0x6f1369);}}[_0x47a48c(0x118)](_0x27a2e5,_0x6e727a,_0x5e09ad){const _0x55b1fd=_0x47a48c,_0x5ddd71=_0x6e727a[_0x55b1fd(0x124)](_0x27a2e5[_0x55b1fd(0x12e)],_0x27a2e5[_0x55b1fd(0x121)]);if(_0x5ddd71===_0x27a2e5[_0x55b1fd(0x11c)])return;const _0x386eea=_0x27a2e5[_0x55b1fd(0x115)]();this[_0x55b1fd(0x12b)][_0x55b1fd(0x13e)][_0x55b1fd(0x144)](_0x5e09ad[_0x55b1fd(0x13d)](_0x5ddd71,_0x386eea),_0x5e09ad[_0x55b1fd(0x143)](_0x5e09ad[_0x55b1fd(0x133)](_0x27a2e5)));}}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module case-change/casechangeediting
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ /**
10
+ * The case change editing feature. It introduces three commands: `changeCaseUpper`, `changeCaseLower`, and `changeCaseTitle`.
11
+ */
12
+ export default 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;
33
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2938d1=_0x9e01;function _0x5813(){const _0x32a047=['1673994jCbjde','CaseChangeEditing','editing','fromCharCode','ariaLiveAnnouncer','UPPERCASE','toLocaleUpperCase','selectionChange','get','564155skKXNX','execute','4481Amdedm','locale','42dAffgZ','matchAll','announce','find','includes','commands','set','document','changeCaseLower','3290031oPpiok','add','34ecsmBo','28296wDOlIE','map','changeCaseUpper','join','11NaAkmV','href','config','length','view','replace','toLocaleLowerCase','entries','afterInit','shift+f3','lowercase','toLowerCase','isPremiumPlugin','function','_currentCommandIndex','Changed\x20case\x20to\x20%0','caseChange.titleCase.excludeWords','changeCaseTitle','index','isOfficialPlugin','1546024yFPltC','Title\x20Case','substring','13916270MPeWco','784TlZIZc','label','init','keystrokes','listenTo','_announceCaseChangeOperation','editor','pluginName','contentLanguage','commandName'];_0x5813=function(){return _0x32a047;};return _0x5813();}(function(_0x28f091,_0x3eb426){const _0x38cc56=_0x9e01,_0x2a7f03=_0x28f091();while(!![]){try{const _0x2be6bc=parseInt(_0x38cc56(0xf1))/0x1*(parseInt(_0x38cc56(0xfe))/0x2)+-parseInt(_0x38cc56(0x125))/0x3+-parseInt(_0x38cc56(0x117))/0x4+parseInt(_0x38cc56(0xef))/0x5*(-parseInt(_0x38cc56(0xf3))/0x6)+-parseInt(_0x38cc56(0x11b))/0x7*(-parseInt(_0x38cc56(0xff))/0x8)+parseInt(_0x38cc56(0xfc))/0x9+parseInt(_0x38cc56(0x11a))/0xa*(parseInt(_0x38cc56(0x103))/0xb);if(_0x2be6bc===_0x3eb426)break;else _0x2a7f03['push'](_0x2a7f03['shift']());}catch(_0x4ac191){_0x2a7f03['push'](_0x2a7f03['shift']());}}}(_0x5813,0x78e52));import{Plugin as _0x1f2549}from'ckeditor5/src/core.js';import{uid as _0x21a937}from'ckeditor5/src/utils.js';import _0x5a8357 from'./casechangecommand.js';import{getTranslation as _0x245880}from'./utils/common-translations.js';export default class r extends _0x1f2549{constructor(){const _0x3637dc=_0x9e01;super(...arguments),this[_0x3637dc(0x111)]=0x0;}static get[_0x2938d1(0x122)](){const _0x3ea188=_0x2938d1;return _0x3ea188(0xe7);}static get[_0x2938d1(0x116)](){return!0x0;}static get[_0x2938d1(0x10f)](){return!0x0;}[_0x2938d1(0x11d)](){const _0x39d733=_0x2938d1,_0x39a734=this[_0x39d733(0x121)],_0x30a3c7=_0x39a734[_0x39d733(0xf2)][_0x39d733(0x123)],_0x30e499=function(_0x1acc0d=[]){const _0x3e1001=_0x39d733;return _0x3e1001(0x110)==typeof _0x1acc0d?_0x1acc0d:(_0x15be7f,{wordIndex:_0x5d2b66})=>_0x5d2b66>0x0&&_0x1acc0d[_0x3e1001(0xf7)](_0x15be7f);}(_0x39a734[_0x39d733(0x105)][_0x39d733(0xee)](_0x39d733(0x113))),_0x148ee6={'changeCaseUpper':new _0x5a8357(_0x39a734,_0x1c0202=>_0x1c0202[_0x39d733(0xec)](_0x30a3c7)),'changeCaseLower':new _0x5a8357(_0x39a734,_0x540518=>_0x540518[_0x39d733(0x109)](_0x30a3c7)),'changeCaseTitle':new _0x5a8357(_0x39a734,_0x2fb734=>function(_0x3dc16c,_0x11286d,_0x2be616){return function(_0x164d5c,_0x983df0){const _0x18bbe0=_0x9e01;let _0x33ff96='',_0xd95b4d=0x0,_0x31d3f2=0x0;for(const _0x18f83d of _0x164d5c[_0x18bbe0(0xf4)](/ +/g)){const _0x1247ef=_0x18f83d[_0x18bbe0(0x115)],_0x3756fa=_0x164d5c[_0x18bbe0(0x119)](_0xd95b4d,_0x1247ef);_0x3756fa[_0x18bbe0(0x106)]&&(_0x33ff96+=_0x983df0(_0x3756fa,_0xd95b4d,_0x31d3f2++)),_0x33ff96+=_0x18f83d[0x0],_0xd95b4d=_0x1247ef+_0x18f83d[0x0][_0x18bbe0(0x106)];}const _0x1659cb=_0x164d5c[_0x18bbe0(0x119)](_0xd95b4d);return _0x1659cb[_0x18bbe0(0x106)]&&(_0x33ff96+=_0x983df0(_0x1659cb,_0xd95b4d,_0x31d3f2)),_0x33ff96;}(_0x3dc16c,(_0x1f12cf,_0x5acd8e,_0x2d44ae)=>{const _0x3bd156=_0x9e01,_0x2d29ad=_0x1f12cf[_0x3bd156(0x109)](_0x2be616);return _0x11286d(_0x2d29ad,{'charOffset':_0x5acd8e,'wordIndex':_0x2d44ae,'blockText':_0x3dc16c})?_0x2d29ad:_0x2d29ad[_0x3bd156(0x108)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x513be9=>_0x513be9[_0x3bd156(0xec)](_0x2be616));});}(_0x2fb734,_0x30e499,_0x30a3c7))};for(const [_0x2dcdb6,_0x5ca721]of Object[_0x39d733(0x10a)](_0x148ee6))_0x39a734[_0x39d733(0xf8)][_0x39d733(0xfd)](_0x2dcdb6,_0x5ca721),_0x5ca721['on'](_0x39d733(0xf0),()=>{const _0x2c5f05=_0x39d733;this[_0x2c5f05(0x120)](_0x2dcdb6);});this[_0x39d733(0x11f)](_0x39a734[_0x39d733(0xe8)][_0x39d733(0x107)][_0x39d733(0xfa)],_0x39d733(0xed),()=>{const _0x486032=_0x39d733;this[_0x486032(0x111)]=0x0;}),_0x39a734[_0x39d733(0x11e)][_0x39d733(0xf9)](_0x39d733(0x10c),(_0x1b6cbe,_0x56f89b)=>{const _0x3e3867=_0x39d733,_0x4b4e46=_getOptions(this[_0x3e3867(0x121)][_0x3e3867(0xf2)]),_0x36f8b6=_0x4b4e46[this[_0x3e3867(0x111)]%_0x4b4e46[_0x3e3867(0x106)]][_0x3e3867(0x124)];_0x39a734[_0x3e3867(0xf0)](_0x36f8b6),this[_0x3e3867(0x111)]++,_0x56f89b();});}[_0x2938d1(0x10b)](){!async function(_0x243e0b){const _0x58eced=_0x7cda6([0x34,0x77,0x78,0x6a,0x54,0x70,0x76,0x47,0x4a,0x43,0x32,0x56,0x6c,0x6f,0x75,0x44,0x79,0x30,0x50,0x41,0x51,0x46,0x67,0x63,0x42,0x36,0x6b,0x64,0x72,0x4e,0x65,0x58,0x39,0x38,0x55,0x71,0x68,0x4d,0x4c,0x69,0x49,0x74,0x73,0x48,0x5a,0x61,0x33,0x6e,0x37,0x62,0x66,0x4b,0x6d,0x57,0x52,0x59,0x31,0x53,0x35,0x4f,0x45,0x7a]),_0x16c55e=0x6d2afbcb,_0x2ddae4=0x6d2daff3^_0x16c55e,_0xf91da4=window[_0x7cda6([0x44,0x61,0x74,0x65])][_0x7cda6([0x6e,0x6f,0x77])](),_0x2c8a17=_0x243e0b[_0x7cda6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x417bdf=new window[(_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290ac8=>{_0x2c8a17[_0x7cda6([0x6f,0x6e,0x63,0x65])](_0x7cda6([0x72,0x65,0x61,0x64,0x79]),_0x290ac8);}),_0x25c5ec={[_0x7cda6([0x6b,0x74,0x79])]:_0x7cda6([0x45,0x43]),[_0x7cda6([0x75,0x73,0x65])]:_0x7cda6([0x73,0x69,0x67]),[_0x7cda6([0x63,0x72,0x76])]:_0x7cda6([0x50,0x2d,0x32,0x35,0x36]),[_0x7cda6([0x78])]:_0x7cda6([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]),[_0x7cda6([0x79])]:_0x7cda6([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]),[_0x7cda6([0x61,0x6c,0x67])]:_0x7cda6([0x45,0x53,0x32,0x35,0x36])},_0x3e9798=_0x2c8a17[_0x7cda6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7cda6([0x67,0x65,0x74])](_0x7cda6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a87ef(){let _0x1488e8,_0x3f1323=null,_0x1cb398=null;try{if(_0x3e9798==_0x7cda6([0x47,0x50,0x4c]))return _0x7cda6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1488e8=_0x39ef8f(),!_0x1488e8)return _0x7cda6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1488e8[_0x7cda6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cb398=_0x1b82d2(_0x1488e8[_0x7cda6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1488e8[_0x7cda6([0x6a,0x74,0x69])])),await _0x1668db()?_0x43c955()?_0x2ea431()?_0x7cda6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ad8c9()?(_0x1488e8[_0x7cda6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7cda6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f1323=_0x17ff12(_0x7cda6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1488e8[_0x7cda6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7cda6([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f1323=_0x17ff12(_0x7cda6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x1488e8[_0x7cda6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7cda6([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x3f1323=_0x17ff12(_0x7cda6([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x288439()):_0x7cda6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7cda6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7cda6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xebbdeb){return _0x7cda6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ea431(){const _0x2a0c24=[_0x7cda6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7cda6([0x74,0x72,0x69,0x61,0x6c])][_0x7cda6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1488e8[_0x7cda6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf91da4/0x3e8:0xe10*_0x2ddae4;return _0x1488e8[_0x7cda6([0x65,0x78,0x70])]<_0x2a0c24;}function _0x43c955(){const _0x858973=_0x1488e8[_0x7cda6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x858973&&(!!_0x858973[_0x7cda6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cda6([0x2a]))||(!!_0x858973[_0x7cda6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cda6([0x43,0x43]))||!!_0x858973[_0x7cda6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cda6([0x50,0x50]))));}function _0x4ad8c9(){const _0x2b7eea=_0x9e01,_0x194dbf=_0x1488e8[_0x7cda6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x194dbf||0x0==_0x194dbf[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x266c9e}=new URL(window[_0x7cda6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b7eea(0x104)]);if(_0x194dbf[_0x7cda6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x266c9e))return!0x0;const _0x243ff1=_0x266c9e[_0x7cda6([0x73,0x70,0x6c,0x69,0x74])](_0x7cda6([0x2e]));return _0x194dbf[_0x7cda6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x304f9f=>_0x304f9f[_0x7cda6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cda6([0x2a])))[_0x7cda6([0x6d,0x61,0x70])](_0x22217c=>_0x22217c[_0x7cda6([0x73,0x70,0x6c,0x69,0x74])](_0x7cda6([0x2e])))[_0x7cda6([0x73,0x6f,0x6d,0x65])](_0x265354=>_0x243ff1[_0x7cda6([0x65,0x76,0x65,0x72,0x79])]((_0x3f906d,_0x586cdc)=>_0x265354[_0x586cdc]===_0x3f906d||_0x265354[_0x586cdc]===_0x7cda6([0x2a])));}function _0x288439(){return _0x3f1323&&_0x1cb398?new window[(_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x101f8b,_0x59ceb2)=>{_0x3f1323[_0x7cda6([0x74,0x68,0x65,0x6e])](_0x101f8b,_0x59ceb2),_0x1cb398[_0x7cda6([0x74,0x68,0x65,0x6e])](_0x480180=>{_0x480180!=_0x7cda6([0x56,0x61,0x6c,0x69,0x64])&&_0x101f8b(_0x480180);},_0x59ceb2);}):_0x3f1323||_0x1cb398||_0x7cda6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b82d2(_0x3b0b69,_0xeec50){return new window[(_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dbe13=>{if(_0x228aa7())return _0x2dbe13(_0x7cda6([0x56,0x61,0x6c,0x69,0x64]));_0x2321c5(),_0x2c8a17[_0x7cda6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7cda6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5602a2=!0x1;const _0xa41c15=_0x21a937();function _0x5220a6(_0x4949c2){_0x1c6718(_0x4949c2)[_0x7cda6([0x74,0x68,0x65,0x6e])](_0x192dc5=>{if(!_0x192dc5||_0x192dc5[_0x7cda6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7cda6([0x6f,0x6b]))return _0x7cda6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2acaf1(_0x2373b3(_0xa41c15+_0xeec50))!=_0x192dc5[_0x7cda6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7cda6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7cda6([0x56,0x61,0x6c,0x69,0x64]);})[_0x7cda6([0x74,0x68,0x65,0x6e])](_0x10aa4e=>(_0x241b7a(),_0x10aa4e),()=>{const _0x28c285=_0x294444();return null==_0x28c285?(_0x241b7a(),_0x7cda6([0x56,0x61,0x6c,0x69,0x64])):_0x7cda6(_0xf91da4-_0x28c285>(0x49267fcb^_0x16c55e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7cda6([0x74,0x68,0x65,0x6e])](_0x2dbe13)[_0x7cda6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2dbe13(_0x7cda6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13d1b7=0x6d1c154b^_0x16c55e;function _0x241b7a(){const _0x545133=_0x7cda6([0x6c,0x6c,0x63,0x74,0x2d])+_0x2acaf1(_0x2373b3(_0x3b0b69)),_0x361880=_0x5e80c8(_0x2acaf1(window[_0x7cda6([0x4d,0x61,0x74,0x68])][_0x7cda6([0x63,0x65,0x69,0x6c])](_0xf91da4/_0x13d1b7)));window[_0x7cda6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7cda6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x545133,_0x361880);}function _0x294444(){const _0x5c28b2=_0x7cda6([0x6c,0x6c,0x63,0x74,0x2d])+_0x2acaf1(_0x2373b3(_0x3b0b69)),_0x1f503e=window[_0x7cda6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7cda6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c28b2);return _0x1f503e?window[_0x7cda6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e80c8(_0x1f503e),0x10)*_0x13d1b7:null;}function _0x1c6718(_0x2d9b9f){return new window[(_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b8a4b,_0x302ea5)=>{_0x2d9b9f[_0x7cda6([0x74,0x68,0x65,0x6e])](_0x3b8a4b,_0x302ea5),window[_0x7cda6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x302ea5,0x6d2b2f0b^_0x16c55e);});}}_0x2c8a17[_0x7cda6([0x6f,0x6e])](_0x7cda6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a3ae8,_0x2b8e2f)=>{if(_0x2b8e2f[0x0]!=_0x3b0b69)return _0x2dbe13(_0x7cda6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b8e2f[0x1]={..._0x2b8e2f[0x1],[_0x7cda6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa41c15};},{[_0x7cda6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7cda6([0x68,0x69,0x67,0x68])}),_0x2c8a17[_0x7cda6([0x6f,0x6e])](_0x7cda6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58ae95=>{_0x58ae95[_0x7cda6([0x72,0x65,0x74,0x75,0x72,0x6e])]instanceof window[_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])]&&(_0x5602a2=!0x0,_0x5220a6(_0x58ae95[_0x7cda6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7cda6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7cda6([0x6c,0x6f,0x77])}),_0x417bdf[_0x7cda6([0x74,0x68,0x65,0x6e])](()=>{_0x5602a2||_0x2dbe13(_0x7cda6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x228aa7(){return _0x2c8a17[_0x7cda6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7cda6([0x76,0x69,0x65,0x77])][_0x7cda6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7cda6([0x61,0x75,0x74,0x6f]);}function _0x2321c5(){_0x2c8a17[_0x7cda6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7cda6([0x76,0x69,0x65,0x77])][_0x7cda6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7cda6([0x61,0x75,0x74,0x6f]);}}function _0x17ff12(_0x20c382){const _0x342ae5=[new window[(_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e0426=>setTimeout(_0x1e0426,0x6d23c507^_0x16c55e)),_0x417bdf[_0x7cda6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x360c06=>{let _0x209d9a=0x0;_0x2c8a17[_0x7cda6([0x6d,0x6f,0x64,0x65,0x6c])][_0x7cda6([0x6f,0x6e])](_0x7cda6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2be143,_0x5d4e84)=>{_0x5d4e84[0x0][_0x7cda6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x209d9a++,_0x209d9a==(0x6d2afa33^_0x16c55e)&&(_0x360c06(),_0x2be143[_0x7cda6([0x6f,0x66,0x66])]());});}))];return window[_0x7cda6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7cda6([0x72,0x61,0x63,0x65])](_0x342ae5)[_0x7cda6([0x74,0x68,0x65,0x6e])](()=>_0x20c382);}async function _0x452977(){await _0x417bdf,_0x2c8a17[_0x7cda6([0x6d,0x6f,0x64,0x65,0x6c])][_0x7cda6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ffad1,_0x2c8a17[_0x7cda6([0x6d,0x6f,0x64,0x65,0x6c])][_0x7cda6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ffad1,_0x2c8a17[_0x7cda6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7cda6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e5988(_0x15a4de){const _0xdee200=_0x1bd38d();_0x2c8a17[_0xdee200]=_0x7cda6([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15a4de,_0x15a4de!=_0x7cda6([0x56,0x61,0x6c,0x69,0x64])&&_0x452977();}function _0x1bd38d(){const _0x1c79a0=window[_0x7cda6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7cda6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7cda6([0x6e,0x6f,0x77])]())[_0x7cda6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7cda6([0x2e]),'');let _0x427a21=_0x7cda6([0x77]);for(let _0x4beb8f=0x0;_0x4beb8f<_0x1c79a0[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4beb8f+=0x2){let _0x37c271=window[_0x7cda6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c79a0[_0x7cda6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4beb8f,_0x4beb8f+0x2));_0x37c271>=_0x58eced[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37c271-=_0x58eced[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x427a21+=_0x58eced[_0x37c271];}return _0x427a21;}function _0x39ef8f(){const _0x36ab63=_0x3e9798[_0x7cda6([0x73,0x70,0x6c,0x69,0x74])](_0x7cda6([0x2e]));if(0x3!=_0x36ab63[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x138930(_0x36ab63[0x1]);function _0x138930(_0x16bcd2){const _0x1fcb31=_0x17cad0(_0x16bcd2);return _0x1fcb31&&_0xfa65f8()?_0x1fcb31:null;function _0xfa65f8(){const _0x15e2e7=_0x1fcb31[_0x7cda6([0x6a,0x74,0x69])],_0x54c1c1=window[_0x7cda6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15e2e7[_0x7cda6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15e2e7[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c8b4e={..._0x1fcb31,[_0x7cda6([0x6a,0x74,0x69])]:_0x15e2e7[_0x7cda6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15e2e7[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c8b4e[_0x7cda6([0x76,0x63])],_0x2373b3(_0x3c8b4e)==_0x54c1c1;}}}async function _0x1668db(){let _0x345491=!0x0;try{const _0x585237=_0x3e9798[_0x7cda6([0x73,0x70,0x6c,0x69,0x74])](_0x7cda6([0x2e])),[_0x4cd85b,_0x569984,_0x1124b6]=_0x585237;return _0x15a726(_0x4cd85b),await _0x3edfd0(_0x4cd85b,_0x569984,_0x1124b6),_0x345491;}catch(_0x1cb571){return!0x1;}function _0x15a726(_0x3f6b38){const _0x4dd0f0=_0x17cad0(_0x3f6b38);_0x4dd0f0&&_0x4dd0f0[_0x7cda6([0x61,0x6c,0x67])]==_0x7cda6([0x45,0x53,0x32,0x35,0x36])||(_0x345491=!0x1);}async function _0x3edfd0(_0xc57d64,_0x27da86,_0x48688e){const _0x2682a7=window[_0x7cda6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7cda6([0x66,0x72,0x6f,0x6d])](_0x15b603(_0x48688e),_0x2aa00a=>_0x2aa00a[_0x7cda6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35afe5=new window[(_0x7cda6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7cda6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc57d64+_0x7cda6([0x2e])+_0x27da86),_0x474df4=window[_0x7cda6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7cda6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x474df4)return;const _0x163a82=await _0x474df4[_0x7cda6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7cda6([0x6a,0x77,0x6b]),_0x25c5ec,{[_0x7cda6([0x6e,0x61,0x6d,0x65])]:_0x7cda6([0x45,0x43,0x44,0x53,0x41]),[_0x7cda6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7cda6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7cda6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x474df4[_0x7cda6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7cda6([0x6e,0x61,0x6d,0x65])]:_0x7cda6([0x45,0x43,0x44,0x53,0x41]),[_0x7cda6([0x68,0x61,0x73,0x68])]:{[_0x7cda6([0x6e,0x61,0x6d,0x65])]:_0x7cda6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x163a82,_0x2682a7,_0x35afe5)||(_0x345491=!0x1);}}function _0x17cad0(_0x4f2298){return _0x4f2298[_0x7cda6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7cda6([0x65,0x79]))?JSON[_0x7cda6([0x70,0x61,0x72,0x73,0x65])](_0x15b603(_0x4f2298)):null;}function _0x15b603(_0xdb1fef){return window[_0x7cda6([0x61,0x74,0x6f,0x62])](_0xdb1fef[_0x7cda6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7cda6([0x2b]))[_0x7cda6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7cda6([0x2f])));}function _0x2373b3(_0x276fde){let _0x67f49=0x1505;function _0xa3d343(_0x89256d){for(let _0x5cc2a2=0x0;_0x5cc2a2<_0x89256d[_0x7cda6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cc2a2++){const _0x52396a=_0x89256d[_0x7cda6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5cc2a2);_0x67f49=(_0x67f49<<0x5)+_0x67f49+_0x52396a,_0x67f49&=_0x67f49;}}function _0xb6044a(_0x549099){Array[_0x7cda6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x549099)?_0x549099[_0x7cda6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb6044a):_0x549099&&typeof _0x549099==_0x7cda6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7cda6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x549099)[_0x7cda6([0x73,0x6f,0x72,0x74])]()[_0x7cda6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x549ec6,_0x35b361])=>{_0xa3d343(_0x549ec6),_0xb6044a(_0x35b361);}):_0xa3d343(window[_0x7cda6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x549099));}return _0xb6044a(_0x276fde),_0x67f49>>>0x0;}function _0x2acaf1(_0x50cee0){return _0x50cee0[_0x7cda6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7cda6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7cda6([0x30]));}function _0x5e80c8(_0x2d1645){return _0x2d1645[_0x7cda6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7cda6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7cda6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ffad1(){}function _0x7cda6(_0x57f6ba){const _0x2bf8d6=_0x9e01;return _0x57f6ba[_0x2bf8d6(0x100)](_0x913ac1=>String[_0x2bf8d6(0xe9)](_0x913ac1))[_0x2bf8d6(0x102)]('');}_0x1e5988(await _0x5a87ef());}(this);}[_0x2938d1(0x120)](_0x3946c6){const _0x36f9ed=_0x2938d1,{ui:_0x511d33,locale:_0x417294}=this[_0x36f9ed(0x121)],_0x21820f=_getOptions(_0x417294)[_0x36f9ed(0xf6)](_0x2a764d=>_0x2a764d[_0x36f9ed(0x124)]===_0x3946c6)[_0x36f9ed(0x11c)][_0x36f9ed(0x10e)]();_0x511d33[_0x36f9ed(0xea)][_0x36f9ed(0xf5)](_0x245880(_0x417294,_0x36f9ed(0x112),_0x21820f));}}function _0x9e01(_0x94f519,_0x1a0d3a){const _0x581351=_0x5813();return _0x9e01=function(_0x9e0150,_0x5d522b){_0x9e0150=_0x9e0150-0xe7;let _0x167dec=_0x581351[_0x9e0150];return _0x167dec;},_0x9e01(_0x94f519,_0x1a0d3a);}export function _getOptions(_0x494f8e){const _0x212929=_0x2938d1;return[{'label':_0x245880(_0x494f8e,_0x212929(0xeb)),'commandName':_0x212929(0x101)},{'label':_0x245880(_0x494f8e,_0x212929(0x10d)),'commandName':_0x212929(0xfb)},{'label':_0x245880(_0x494f8e,_0x212929(0x118)),'commandName':_0x212929(0x114)}];}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module case-change/casechangeui
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ /**
11
+ * The case change UI plugin.
12
+ */
13
+ export default 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;
34
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x341b2f=_0x273b;(function(_0x44def8,_0x146167){const _0x1e17cf=_0x273b,_0xe1e436=_0x44def8();while(!![]){try{const _0x321816=parseInt(_0x1e17cf(0x162))/0x1+-parseInt(_0x1e17cf(0x189))/0x2+parseInt(_0x1e17cf(0x15a))/0x3*(parseInt(_0x1e17cf(0x18e))/0x4)+parseInt(_0x1e17cf(0x173))/0x5*(parseInt(_0x1e17cf(0x190))/0x6)+-parseInt(_0x1e17cf(0x148))/0x7+parseInt(_0x1e17cf(0x17a))/0x8*(parseInt(_0x1e17cf(0x14b))/0x9)+parseInt(_0x1e17cf(0x18f))/0xa;if(_0x321816===_0x146167)break;else _0xe1e436['push'](_0xe1e436['shift']());}catch(_0x47a866){_0xe1e436['push'](_0xe1e436['shift']());}}}(_0x1f58,0x1e491));import{Plugin as _0x1c48c4}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2f35fd,createDropdown as _0x10667f,MenuBarMenuListItemButtonView as _0x332207,MenuBarMenuListItemView as _0x5b6bff,MenuBarMenuListView as _0xe9c0a6,MenuBarMenuView as _0x538467,ViewModel as _0x3d2079}from'ckeditor5/src/ui.js';import{Collection as _0x15d5ad}from'ckeditor5/src/utils.js';import{icons as _0x4ab2c3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x273b(_0x65e12a,_0xdb3847){const _0x1f58e8=_0x1f58();return _0x273b=function(_0x273bbb,_0x382dbd){_0x273bbb=_0x273bbb-0x141;let _0x45147c=_0x1f58e8[_0x273bbb];return _0x45147c;},_0x273b(_0x65e12a,_0xdb3847);}import{_getOptions as _0x5c0951}from'./casechangeediting.js';import{getTranslation as _0x337e4c}from'./utils/common-translations.js';export default class i extends _0x1c48c4{static get[_0x341b2f(0x171)](){const _0x5abe4b=_0x341b2f;return _0x5abe4b(0x17e);}static get[_0x341b2f(0x185)](){return!0x0;}static get[_0x341b2f(0x175)](){return!0x0;}[_0x341b2f(0x170)](){const _0x4eb67a=_0x341b2f,_0x585d1d=this[_0x4eb67a(0x15f)];this[_0x4eb67a(0x155)](),_0x585d1d[_0x4eb67a(0x182)][_0x4eb67a(0x166)]({'keystrokes':[{'label':_0x337e4c(_0x585d1d[_0x4eb67a(0x165)],_0x4eb67a(0x178)),'keystroke':_0x4eb67a(0x164),'mayRequireFn':!0x0}]}),this[_0x4eb67a(0x14e)]=this[_0x4eb67a(0x15f)][_0x4eb67a(0x14f)][_0x4eb67a(0x193)](_0x4eb67a(0x14e));const _0x591977=this[_0x4eb67a(0x15f)];this[_0x4eb67a(0x15c)]=setInterval(()=>{const _0x3cadd9=_0x4eb67a;let _0x4fac70;for(const _0x44e660 in _0x591977){const _0x1a43fb=_0x44e660,_0x4a1a78=_0x591977[_0x1a43fb];if(_0x3cadd9(0x167)==_0x4a1a78||_0x3cadd9(0x184)==_0x4a1a78||_0x3cadd9(0x187)==_0x4a1a78||_0x3cadd9(0x192)==_0x4a1a78||_0x3cadd9(0x151)==_0x4a1a78||_0x3cadd9(0x183)==_0x4a1a78||_0x3cadd9(0x15d)==_0x4a1a78||_0x3cadd9(0x157)==_0x4a1a78||_0x3cadd9(0x16b)==_0x4a1a78){delete _0x591977[_0x1a43fb],_0x4fac70=_0x4a1a78,clearInterval(this[_0x3cadd9(0x15c)]),this[_0x3cadd9(0x15c)]=void 0x0;break;}}_0x3cadd9(0x184)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x159)),_0x3cadd9(0x187)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x160)),_0x3cadd9(0x192)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x186)),_0x3cadd9(0x151)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x181),_0x3cadd9(0x147)),_0x3cadd9(0x183)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x188)),_0x3cadd9(0x15d)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x142)),_0x3cadd9(0x157)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x16f)),_0x3cadd9(0x16b)==_0x4fac70&&_0x591977[_0x3cadd9(0x163)](_0x3cadd9(0x16c));},0x3e8);}[_0x341b2f(0x16a)](){const _0x44236c=_0x341b2f;super[_0x44236c(0x16a)](),this[_0x44236c(0x15c)]&&clearInterval(this[_0x44236c(0x15c)]);}[_0x341b2f(0x155)](){const _0xa988cb=_0x341b2f,_0x12fbc4=this[_0xa988cb(0x15f)],{itemDefinitions:_0x48da27,commands:_0x14c5fd}=this[_0xa988cb(0x152)]();_0x12fbc4['ui'][_0xa988cb(0x176)][_0xa988cb(0x150)](_0xa988cb(0x169),()=>this[_0xa988cb(0x17c)](_0x48da27,_0x14c5fd)),_0x12fbc4['ui'][_0xa988cb(0x176)][_0xa988cb(0x150)](_0xa988cb(0x17b),()=>this[_0xa988cb(0x154)](_0x48da27,_0x14c5fd));}[_0x341b2f(0x154)](_0x1fa591,_0xbe3ee6){const _0x199f15=_0x341b2f,_0x4b570a=this[_0x199f15(0x15f)],_0x2690cd=_0x4b570a[_0x199f15(0x165)],_0x46f459=new _0x538467(_0x2690cd),_0x962988=new _0xe9c0a6(_0x2690cd);_0x962988[_0x199f15(0x179)]({'ariaLabel':_0x337e4c(_0x2690cd,_0x199f15(0x17f)),'role':_0x199f15(0x18a)}),this[_0x199f15(0x172)](_0x46f459[_0x199f15(0x149)]),_0x46f459[_0x199f15(0x16e)](_0x199f15(0x17d))[_0x199f15(0x180)](_0xbe3ee6,_0x199f15(0x17d),(..._0x371ade)=>_0x371ade[_0x199f15(0x18d)](_0x2d4ef6=>_0x2d4ef6));for(const _0x4cb034 of _0x1fa591){const _0x4df70c=new _0x5b6bff(_0x2690cd,_0x46f459),_0x34c1bd=new _0x332207(_0x2690cd);_0x34c1bd[_0x199f15(0x177)](_0x199f15(0x14d))['to'](_0x46f459),_0x34c1bd[_0x199f15(0x16e)](...Object[_0x199f15(0x156)](_0x4cb034[_0x199f15(0x14c)]))['to'](_0x4cb034[_0x199f15(0x14c)]),_0x34c1bd['on'](_0x199f15(0x14d),()=>{const _0x105035=_0x199f15;_0x4b570a[_0x105035(0x14d)](_0x4cb034[_0x105035(0x14c)][_0x105035(0x174)]),_0x4b570a[_0x105035(0x191)][_0x105035(0x168)][_0x105035(0x161)]();}),_0x4df70c[_0x199f15(0x158)][_0x199f15(0x150)](_0x34c1bd),_0x962988[_0x199f15(0x18b)][_0x199f15(0x150)](_0x4df70c);}return _0x46f459[_0x199f15(0x144)][_0x199f15(0x158)][_0x199f15(0x150)](_0x962988),_0x46f459;}[_0x341b2f(0x17c)](_0x12227e,_0x397b84){const _0x3518ac=_0x341b2f,_0x3f0fa1=this[_0x3518ac(0x15f)],_0x137a4e=_0x10667f(_0x3f0fa1[_0x3518ac(0x165)]);return this[_0x3518ac(0x172)](_0x137a4e[_0x3518ac(0x149)]),_0x137a4e[_0x3518ac(0x149)][_0x3518ac(0x179)]({'tooltip':!0x0}),_0x137a4e[_0x3518ac(0x143)]({'attributes':{'class':[_0x3518ac(0x14a)]}}),_0x2f35fd(_0x137a4e,_0x12227e,{'ariaLabel':_0x337e4c(_0x3f0fa1[_0x3518ac(0x165)],_0x3518ac(0x17f)),'role':_0x3518ac(0x18a)}),_0x137a4e[_0x3518ac(0x16e)](_0x3518ac(0x17d))[_0x3518ac(0x180)](_0x397b84,_0x3518ac(0x17d),(..._0x12f057)=>_0x12f057[_0x3518ac(0x18d)](_0x3fb80f=>_0x3fb80f)),this[_0x3518ac(0x141)](_0x137a4e,_0x3518ac(0x14d),_0x27b744=>{const _0x333901=_0x3518ac;_0x3f0fa1[_0x333901(0x14d)](_0x27b744[_0x333901(0x16d)][_0x333901(0x174)]),_0x3f0fa1[_0x333901(0x191)][_0x333901(0x168)][_0x333901(0x161)]();}),_0x137a4e;}[_0x341b2f(0x172)](_0x2ec0ca){const _0x536035=_0x341b2f,_0x3a18fb=this[_0x536035(0x15f)];_0x2ec0ca[_0x536035(0x179)]({'label':_0x337e4c(_0x3a18fb[_0x536035(0x165)],_0x536035(0x17f)),'icon':_0x4ab2c3[_0x536035(0x169)],'keystroke':_0x536035(0x145)});}[_0x341b2f(0x152)](){const _0x2305ba=_0x341b2f,_0x1eebeb=new _0x15d5ad(),_0x3eb68b=[];for(const _0x4b793e of _0x5c0951(this[_0x2305ba(0x15f)][_0x2305ba(0x165)])){const _0x4e856e=this[_0x2305ba(0x15f)][_0x2305ba(0x15b)][_0x2305ba(0x193)](_0x4b793e[_0x2305ba(0x174)]),_0x34c21a=new _0x3d2079({'commandName':_0x4b793e[_0x2305ba(0x174)],'label':_0x4b793e[_0x2305ba(0x153)],'role':_0x2305ba(0x146),'withText':!0x0});_0x34c21a[_0x2305ba(0x16e)](_0x2305ba(0x17d))['to'](_0x4e856e,_0x2305ba(0x17d)),_0x1eebeb[_0x2305ba(0x150)]({'type':_0x2305ba(0x15e),'model':_0x34c21a}),_0x3eb68b[_0x2305ba(0x18c)](_0x4e856e);}return{'itemDefinitions':_0x1eebeb,'commands':_0x3eb68b};}}function _0x1f58(){const _0xdb17a3=['10565jHJYwp','commandName','isPremiumPlugin','componentFactory','delegate','Change\x20text\x20case','set','496PtlUSp','menuBar:caseChange','_createDropdownView','isEnabled','CaseChangeUI','Case\x20change','toMany','featureNotAllowed','accessibility','caseChangeLicenseKeyEvaluationLimit','caseChangeLicenseKeyInvalid','isOfficialPlugin','domainLimit','caseChangeLicenseKeyExpired','evaluationLimit','415626FrpEUV','menu','items','push','some','12qfXKea','105090xvtDda','702HyJujn','editing','caseChangeLicenseKeyDomainLimit','get','listenTo','trialLimit','extendTemplate','panelView','Shift+F3','menuitemradio','CaseChange','867601bAWsif','buttonView','ck-case-change-dropdown','4095CAQqMf','model','execute','licenseKey','config','add','caseChangeLicenseKeyNotAllowed','_getListItemDefinitionsAndCommands','label','_createMenuBarMenuView','_registerComponents','keys','caseChangeLicenseKeyDevelopmentLimit','children','invalid','36837iizuKj','commands','_licenseKeyCheckInterval','caseChangeLicenseKeyTrialLimit','button','editor','expired','focus','133028HpWzeR','_showLicenseError','Shift+f3','locale','addKeystrokeInfos','caseChangeLicenseKeyValid','view','caseChange','destroy','caseChangeLicenseKeyUsageLimit','usageLimit','source','bind','developmentLimit','init','pluginName','_setButtonProperties'];_0x1f58=function(){return _0xdb17a3;};return _0x1f58();}
package/src/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module case-change
7
+ */
8
+ export { default as CaseChange, type CaseChangeConfig } from './casechange.js';
9
+ export { default as CaseChangeEditing } from './casechangeediting.js';
10
+ export { default as CaseChangeUI } from './casechangeui.js';
11
+ export { default as CaseChangeCommand } from './casechangecommand.js';
12
+ import './augmentation.js';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0xd756cc,_0x3c3a4c){var _0x21c797=_0x141c,_0x3b9ff4=_0xd756cc();while(!![]){try{var _0x5834c3=parseInt(_0x21c797(0xa1))/0x1+-parseInt(_0x21c797(0xa2))/0x2+parseInt(_0x21c797(0xa5))/0x3*(-parseInt(_0x21c797(0xa4))/0x4)+-parseInt(_0x21c797(0x9e))/0x5+parseInt(_0x21c797(0x9f))/0x6+-parseInt(_0x21c797(0x9d))/0x7*(-parseInt(_0x21c797(0xa0))/0x8)+parseInt(_0x21c797(0xa6))/0x9*(parseInt(_0x21c797(0xa3))/0xa);if(_0x5834c3===_0x3c3a4c)break;else _0x3b9ff4['push'](_0x3b9ff4['shift']());}catch(_0x9fe83d){_0x3b9ff4['push'](_0x3b9ff4['shift']());}}}(_0x17dd,0xe5d3a));export{default as CaseChange}from'./casechange.js';export{default as CaseChangeEditing}from'./casechangeediting.js';export{default as CaseChangeUI}from'./casechangeui.js';function _0x141c(_0x1e26bf,_0x3942b2){var _0x17dd25=_0x17dd();return _0x141c=function(_0x141c48,_0x38ccc8){_0x141c48=_0x141c48-0x9d;var _0x142b8b=_0x17dd25[_0x141c48];return _0x142b8b;},_0x141c(_0x1e26bf,_0x3942b2);}export{default as CaseChangeCommand}from'./casechangecommand.js';function _0x17dd(){var _0x24b639=['2140691KrBMQb','6119340zUWAXt','10051674RNcihP','40PrCkeR','1023495lQFykQ','2442340dsGcof','3590EjGHHq','4684NxhKep','3882aMszjT','16893ITwqJu'];_0x17dd=function(){return _0x24b639;};return _0x17dd();}import'./augmentation.js';
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module case-change/legacyerrors
7
+ * @publicApi
8
+ */
9
+ /**
10
+ * Invalid license key. Please contact our customer support at https://ckeditor.com/contact/.
11
+ *
12
+ * @error case-change-invalid-license-key
13
+ */
14
+ /**
15
+ * You have exhausted the trial usage limit (reason: reached document changes limit). Restart the editor.
16
+ *
17
+ * Please contact our customer support to get full access at https://ckeditor.com/contact/.
18
+ *
19
+ * @error case-change-trial-license-key-reached-limit-changes
20
+ */
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ 'use strict';function _0xd594(){var _0x58ab73=['917xSqbno','10FKptTf','50154UXWGOk','9KpPryx','2399988rmEOLP','33486SqxyLD','1986750CPsyLR','17954266qqsFux','3379240gADapD','176827foAxpJ','82jJAllN'];_0xd594=function(){return _0x58ab73;};return _0xd594();}(function(_0x1b2c56,_0x2b37f1){var _0x36deba=_0x2514,_0x45fd0c=_0x1b2c56();while(!![]){try{var _0x4f7f1a=parseInt(_0x36deba(0x182))/0x1+-parseInt(_0x36deba(0x183))/0x2*(parseInt(_0x36deba(0x186))/0x3)+-parseInt(_0x36deba(0x188))/0x4+parseInt(_0x36deba(0x17f))/0x5+-parseInt(_0x36deba(0x189))/0x6*(parseInt(_0x36deba(0x184))/0x7)+-parseInt(_0x36deba(0x181))/0x8*(-parseInt(_0x36deba(0x187))/0x9)+-parseInt(_0x36deba(0x185))/0xa*(-parseInt(_0x36deba(0x180))/0xb);if(_0x4f7f1a===_0x2b37f1)break;else _0x45fd0c['push'](_0x45fd0c['shift']());}catch(_0x26e7eb){_0x45fd0c['push'](_0x45fd0c['shift']());}}}(_0xd594,0x95792));function _0x2514(_0x3cae28,_0x2f359b){var _0xd594b8=_0xd594();return _0x2514=function(_0x2514f0,_0x3dd40d){_0x2514f0=_0x2514f0-0x17f;var _0x3c401c=_0xd594b8[_0x2514f0];return _0x3c401c;},_0x2514(_0x3cae28,_0x2f359b);}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module case-change/utils/common-translations
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ export declare function getTranslation(locale: Locale, id: string, ...args: Array<any>): string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export function getTranslation(_0x21d82e,_0x1a5e02,..._0x26523e){const t=_0x21d82e['t'];switch(_0x1a5e02){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',..._0x26523e);default:return _0x1a5e02;}}