@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260121.0 → 0.0.0-nightly-20260122.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 (349) hide show
  1. package/build/translations/af.js +1 -0
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/be.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/bs.js +1 -0
  9. package/build/translations/ca.js +1 -0
  10. package/build/translations/cs.js +1 -0
  11. package/build/translations/da.js +1 -0
  12. package/build/translations/de-ch.js +1 -0
  13. package/build/translations/de.js +1 -0
  14. package/build/translations/el.js +1 -0
  15. package/build/translations/en-au.js +1 -0
  16. package/build/translations/en-gb.js +1 -0
  17. package/build/translations/eo.js +1 -0
  18. package/build/translations/es-co.js +1 -0
  19. package/build/translations/es.js +1 -0
  20. package/build/translations/et.js +1 -0
  21. package/build/translations/eu.js +1 -0
  22. package/build/translations/fa.js +1 -0
  23. package/build/translations/fi.js +1 -0
  24. package/build/translations/fr.js +1 -0
  25. package/build/translations/gl.js +1 -0
  26. package/build/translations/gu.js +1 -0
  27. package/build/translations/he.js +1 -0
  28. package/build/translations/hi.js +1 -0
  29. package/build/translations/hr.js +1 -0
  30. package/build/translations/hu.js +1 -0
  31. package/build/translations/hy.js +1 -0
  32. package/build/translations/id.js +1 -0
  33. package/build/translations/it.js +1 -0
  34. package/build/translations/ja.js +1 -0
  35. package/build/translations/jv.js +1 -0
  36. package/build/translations/kk.js +1 -0
  37. package/build/translations/km.js +1 -0
  38. package/build/translations/kn.js +1 -0
  39. package/build/translations/ko.js +1 -0
  40. package/build/translations/ku.js +1 -0
  41. package/build/translations/lt.js +1 -0
  42. package/build/translations/lv.js +1 -0
  43. package/build/translations/ms.js +1 -0
  44. package/build/translations/nb.js +1 -0
  45. package/build/translations/ne.js +1 -0
  46. package/build/translations/nl.js +1 -0
  47. package/build/translations/no.js +1 -0
  48. package/build/translations/oc.js +1 -0
  49. package/build/translations/pl.js +1 -0
  50. package/build/translations/pt-br.js +1 -0
  51. package/build/translations/pt.js +1 -0
  52. package/build/translations/ro.js +1 -0
  53. package/build/translations/ru.js +1 -0
  54. package/build/translations/si.js +1 -0
  55. package/build/translations/sk.js +1 -0
  56. package/build/translations/sl.js +1 -0
  57. package/build/translations/sq.js +1 -0
  58. package/build/translations/sr-latn.js +1 -0
  59. package/build/translations/sr.js +1 -0
  60. package/build/translations/sv.js +1 -0
  61. package/build/translations/th.js +1 -0
  62. package/build/translations/ti.js +1 -0
  63. package/build/translations/tk.js +1 -0
  64. package/build/translations/tr.js +1 -0
  65. package/build/translations/tt.js +1 -0
  66. package/build/translations/ug.js +1 -0
  67. package/build/translations/uk.js +1 -0
  68. package/build/translations/ur.js +1 -0
  69. package/build/translations/uz.js +1 -0
  70. package/build/translations/vi.js +1 -0
  71. package/build/translations/zh-cn.js +1 -0
  72. package/build/translations/zh.js +1 -0
  73. package/build/uploadcare.js +5 -0
  74. package/ckeditor5-metadata.json +2 -2
  75. package/dist/index.js +3 -3
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/be.js +1 -1
  85. package/dist/translations/be.umd.js +1 -1
  86. package/dist/translations/bg.js +1 -1
  87. package/dist/translations/bg.umd.js +1 -1
  88. package/dist/translations/bn.js +1 -1
  89. package/dist/translations/bn.umd.js +1 -1
  90. package/dist/translations/bs.js +1 -1
  91. package/dist/translations/bs.umd.js +1 -1
  92. package/dist/translations/ca.js +1 -1
  93. package/dist/translations/ca.umd.js +1 -1
  94. package/dist/translations/cs.js +1 -1
  95. package/dist/translations/cs.umd.js +1 -1
  96. package/dist/translations/da.js +1 -1
  97. package/dist/translations/da.umd.js +1 -1
  98. package/dist/translations/de-ch.js +1 -1
  99. package/dist/translations/de-ch.umd.js +1 -1
  100. package/dist/translations/de.js +1 -1
  101. package/dist/translations/de.umd.js +1 -1
  102. package/dist/translations/el.js +1 -1
  103. package/dist/translations/el.umd.js +1 -1
  104. package/dist/translations/en-au.js +1 -1
  105. package/dist/translations/en-au.umd.js +1 -1
  106. package/dist/translations/en-gb.js +1 -1
  107. package/dist/translations/en-gb.umd.js +1 -1
  108. package/dist/translations/en.js +1 -1
  109. package/dist/translations/en.umd.js +1 -1
  110. package/dist/translations/eo.js +1 -1
  111. package/dist/translations/eo.umd.js +1 -1
  112. package/dist/translations/es-co.js +1 -1
  113. package/dist/translations/es-co.umd.js +1 -1
  114. package/dist/translations/es.js +1 -1
  115. package/dist/translations/es.umd.js +1 -1
  116. package/dist/translations/et.js +1 -1
  117. package/dist/translations/et.umd.js +1 -1
  118. package/dist/translations/eu.js +1 -1
  119. package/dist/translations/eu.umd.js +1 -1
  120. package/dist/translations/fa.js +1 -1
  121. package/dist/translations/fa.umd.js +1 -1
  122. package/dist/translations/fi.js +1 -1
  123. package/dist/translations/fi.umd.js +1 -1
  124. package/dist/translations/fr.js +1 -1
  125. package/dist/translations/fr.umd.js +1 -1
  126. package/dist/translations/gl.js +1 -1
  127. package/dist/translations/gl.umd.js +1 -1
  128. package/dist/translations/gu.js +1 -1
  129. package/dist/translations/gu.umd.js +1 -1
  130. package/dist/translations/he.js +1 -1
  131. package/dist/translations/he.umd.js +1 -1
  132. package/dist/translations/hi.js +1 -1
  133. package/dist/translations/hi.umd.js +1 -1
  134. package/dist/translations/hr.js +1 -1
  135. package/dist/translations/hr.umd.js +1 -1
  136. package/dist/translations/hu.js +1 -1
  137. package/dist/translations/hu.umd.js +1 -1
  138. package/dist/translations/hy.js +1 -1
  139. package/dist/translations/hy.umd.js +1 -1
  140. package/dist/translations/id.js +1 -1
  141. package/dist/translations/id.umd.js +1 -1
  142. package/dist/translations/it.js +1 -1
  143. package/dist/translations/it.umd.js +1 -1
  144. package/dist/translations/ja.js +1 -1
  145. package/dist/translations/ja.umd.js +1 -1
  146. package/dist/translations/jv.js +1 -1
  147. package/dist/translations/jv.umd.js +1 -1
  148. package/dist/translations/kk.js +1 -1
  149. package/dist/translations/kk.umd.js +1 -1
  150. package/dist/translations/km.js +1 -1
  151. package/dist/translations/km.umd.js +1 -1
  152. package/dist/translations/kn.js +1 -1
  153. package/dist/translations/kn.umd.js +1 -1
  154. package/dist/translations/ko.js +1 -1
  155. package/dist/translations/ko.umd.js +1 -1
  156. package/dist/translations/ku.js +1 -1
  157. package/dist/translations/ku.umd.js +1 -1
  158. package/dist/translations/lt.js +1 -1
  159. package/dist/translations/lt.umd.js +1 -1
  160. package/dist/translations/lv.js +1 -1
  161. package/dist/translations/lv.umd.js +1 -1
  162. package/dist/translations/ms.js +1 -1
  163. package/dist/translations/ms.umd.js +1 -1
  164. package/dist/translations/nb.js +1 -1
  165. package/dist/translations/nb.umd.js +1 -1
  166. package/dist/translations/ne.js +1 -1
  167. package/dist/translations/ne.umd.js +1 -1
  168. package/dist/translations/nl.js +1 -1
  169. package/dist/translations/nl.umd.js +1 -1
  170. package/dist/translations/no.js +1 -1
  171. package/dist/translations/no.umd.js +1 -1
  172. package/dist/translations/oc.js +1 -1
  173. package/dist/translations/oc.umd.js +1 -1
  174. package/dist/translations/pl.js +1 -1
  175. package/dist/translations/pl.umd.js +1 -1
  176. package/dist/translations/pt-br.js +1 -1
  177. package/dist/translations/pt-br.umd.js +1 -1
  178. package/dist/translations/pt.js +1 -1
  179. package/dist/translations/pt.umd.js +1 -1
  180. package/dist/translations/ro.js +1 -1
  181. package/dist/translations/ro.umd.js +1 -1
  182. package/dist/translations/ru.js +1 -1
  183. package/dist/translations/ru.umd.js +1 -1
  184. package/dist/translations/si.js +1 -1
  185. package/dist/translations/si.umd.js +1 -1
  186. package/dist/translations/sk.js +1 -1
  187. package/dist/translations/sk.umd.js +1 -1
  188. package/dist/translations/sl.js +1 -1
  189. package/dist/translations/sl.umd.js +1 -1
  190. package/dist/translations/sq.js +1 -1
  191. package/dist/translations/sq.umd.js +1 -1
  192. package/dist/translations/sr-latn.js +1 -1
  193. package/dist/translations/sr-latn.umd.js +1 -1
  194. package/dist/translations/sr.js +1 -1
  195. package/dist/translations/sr.umd.js +1 -1
  196. package/dist/translations/sv.js +1 -1
  197. package/dist/translations/sv.umd.js +1 -1
  198. package/dist/translations/th.js +1 -1
  199. package/dist/translations/th.umd.js +1 -1
  200. package/dist/translations/ti.js +1 -1
  201. package/dist/translations/ti.umd.js +1 -1
  202. package/dist/translations/tk.js +1 -1
  203. package/dist/translations/tk.umd.js +1 -1
  204. package/dist/translations/tr.js +1 -1
  205. package/dist/translations/tr.umd.js +1 -1
  206. package/dist/translations/tt.js +1 -1
  207. package/dist/translations/tt.umd.js +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.js +1 -1
  213. package/dist/translations/ur.umd.js +1 -1
  214. package/dist/translations/uz.js +1 -1
  215. package/dist/translations/uz.umd.js +1 -1
  216. package/dist/translations/vi.js +1 -1
  217. package/dist/translations/vi.umd.js +1 -1
  218. package/dist/translations/zh-cn.js +1 -1
  219. package/dist/translations/zh-cn.umd.js +1 -1
  220. package/dist/translations/zh.js +1 -1
  221. package/dist/translations/zh.umd.js +1 -1
  222. package/lang/contexts.json +24 -0
  223. package/lang/translations/af.po +100 -0
  224. package/lang/translations/ar.po +100 -0
  225. package/lang/translations/ast.po +100 -0
  226. package/lang/translations/az.po +100 -0
  227. package/lang/translations/be.po +100 -0
  228. package/lang/translations/bg.po +100 -0
  229. package/lang/translations/bn.po +100 -0
  230. package/lang/translations/bs.po +100 -0
  231. package/lang/translations/ca.po +100 -0
  232. package/lang/translations/cs.po +100 -0
  233. package/lang/translations/da.po +100 -0
  234. package/lang/translations/de-ch.po +100 -0
  235. package/lang/translations/de.po +100 -0
  236. package/lang/translations/el.po +100 -0
  237. package/lang/translations/en-au.po +100 -0
  238. package/lang/translations/en-gb.po +100 -0
  239. package/lang/translations/en.po +100 -0
  240. package/lang/translations/eo.po +100 -0
  241. package/lang/translations/es-co.po +100 -0
  242. package/lang/translations/es.po +100 -0
  243. package/lang/translations/et.po +100 -0
  244. package/lang/translations/eu.po +100 -0
  245. package/lang/translations/fa.po +100 -0
  246. package/lang/translations/fi.po +100 -0
  247. package/lang/translations/fr.po +100 -0
  248. package/lang/translations/gl.po +100 -0
  249. package/lang/translations/gu.po +100 -0
  250. package/lang/translations/he.po +100 -0
  251. package/lang/translations/hi.po +100 -0
  252. package/lang/translations/hr.po +100 -0
  253. package/lang/translations/hu.po +100 -0
  254. package/lang/translations/hy.po +100 -0
  255. package/lang/translations/id.po +100 -0
  256. package/lang/translations/it.po +100 -0
  257. package/lang/translations/ja.po +100 -0
  258. package/lang/translations/jv.po +100 -0
  259. package/lang/translations/kk.po +100 -0
  260. package/lang/translations/km.po +100 -0
  261. package/lang/translations/kn.po +100 -0
  262. package/lang/translations/ko.po +100 -0
  263. package/lang/translations/ku.po +100 -0
  264. package/lang/translations/lt.po +100 -0
  265. package/lang/translations/lv.po +100 -0
  266. package/lang/translations/ms.po +100 -0
  267. package/lang/translations/nb.po +100 -0
  268. package/lang/translations/ne.po +100 -0
  269. package/lang/translations/nl.po +100 -0
  270. package/lang/translations/no.po +100 -0
  271. package/lang/translations/oc.po +100 -0
  272. package/lang/translations/pl.po +100 -0
  273. package/lang/translations/pt-br.po +100 -0
  274. package/lang/translations/pt.po +100 -0
  275. package/lang/translations/ro.po +100 -0
  276. package/lang/translations/ru.po +100 -0
  277. package/lang/translations/si.po +100 -0
  278. package/lang/translations/sk.po +100 -0
  279. package/lang/translations/sl.po +100 -0
  280. package/lang/translations/sq.po +100 -0
  281. package/lang/translations/sr-latn.po +100 -0
  282. package/lang/translations/sr.po +100 -0
  283. package/lang/translations/sv.po +100 -0
  284. package/lang/translations/th.po +100 -0
  285. package/lang/translations/ti.po +100 -0
  286. package/lang/translations/tk.po +100 -0
  287. package/lang/translations/tr.po +100 -0
  288. package/lang/translations/tt.po +100 -0
  289. package/lang/translations/ug.po +100 -0
  290. package/lang/translations/uk.po +100 -0
  291. package/lang/translations/ur.po +100 -0
  292. package/lang/translations/uz.po +100 -0
  293. package/lang/translations/vi.po +100 -0
  294. package/lang/translations/zh-cn.po +100 -0
  295. package/lang/translations/zh.po +100 -0
  296. package/package.json +47 -24
  297. package/src/augmentation.js +23 -0
  298. package/src/index.js +23 -0
  299. package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -3
  300. package/src/ui/uploadcarecontroller.js +24 -0
  301. package/{dist → src}/ui/uploadcareformview.d.ts +1 -1
  302. package/src/ui/uploadcareformview.js +23 -0
  303. package/{dist → src}/uploadcare.d.ts +1 -1
  304. package/src/uploadcare.js +23 -0
  305. package/{dist → src}/uploadcarecommand.d.ts +2 -2
  306. package/src/uploadcarecommand.js +23 -0
  307. package/{dist → src}/uploadcareconfig.d.ts +1 -1
  308. package/src/uploadcareconfig.js +23 -0
  309. package/{dist → src}/uploadcareediting.d.ts +2 -2
  310. package/src/uploadcareediting.js +23 -0
  311. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  312. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  313. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  314. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  315. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  316. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  317. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  318. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  319. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  320. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  321. package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  322. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  323. package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  324. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  325. package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  326. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  327. package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  328. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  329. package/{dist → src}/uploadcareimageedit.d.ts +1 -1
  330. package/src/uploadcareimageedit.js +23 -0
  331. package/{dist → src}/uploadcareui.d.ts +1 -1
  332. package/src/uploadcareui.js +23 -0
  333. package/{dist → src}/uploadcareuploadadapter.d.ts +2 -2
  334. package/src/uploadcareuploadadapter.js +23 -0
  335. package/src/utils/common-translations.js +23 -0
  336. package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -2
  337. package/src/utils/dialogfocusmanagerview.js +23 -0
  338. package/src/utils/editingutils.js +23 -0
  339. package/src/utils/isancestor.js +23 -0
  340. package/src/utils/uploadutils.js +23 -0
  341. package/theme/uploadcare-form.css +201 -0
  342. package/theme/uploadcare-theme.css +20 -0
  343. package/theme/uploadcareimageedit.css +64 -0
  344. /package/{dist → src}/augmentation.d.ts +0 -0
  345. /package/{dist → src}/index.d.ts +0 -0
  346. /package/{dist → src}/utils/common-translations.d.ts +0 -0
  347. /package/{dist → src}/utils/editingutils.d.ts +0 -0
  348. /package/{dist → src}/utils/isancestor.d.ts +0 -0
  349. /package/{dist → src}/utils/uploadutils.d.ts +0 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x5970(){const _0x490b0e=['51kpOClG','ImageUtils','isPremiumPlugin','isOfficialPlugin','uploadcareImageReplace','3262288uzctef','init','ImageEditing','33Bavsfm','add','1227221Bnsvhb','50jArsTh','258616jkJquL','requires','commands','1395JaNFdU','pluginName','7LRzJnh','3040920IGkiEg','2743032wWBqqU','3498kFPPue','uploadcareImageEdit','UploadcareImageEditEditing','5653560oiSFUA'];_0x5970=function(){return _0x490b0e;};return _0x5970();}const _0x25d769=_0x4ccc;(function(_0xeaed5f,_0x1aa275){const _0x79e72=_0x4ccc,_0x2a10fc=_0xeaed5f();while(!![]){try{const _0xa3e77b=-parseInt(_0x79e72(0x125))/0x1+parseInt(_0x79e72(0x116))/0x2+-parseInt(_0x79e72(0x11b))/0x3*(-parseInt(_0x79e72(0x127))/0x4)+-parseInt(_0x79e72(0x112))/0x5*(parseInt(_0x79e72(0x117))/0x6)+parseInt(_0x79e72(0x114))/0x7*(-parseInt(_0x79e72(0x120))/0x8)+parseInt(_0x79e72(0x115))/0x9*(parseInt(_0x79e72(0x126))/0xa)+-parseInt(_0x79e72(0x123))/0xb*(parseInt(_0x79e72(0x11a))/0xc);if(_0xa3e77b===_0x1aa275)break;else _0x2a10fc['push'](_0x2a10fc['shift']());}catch(_0x43e6b8){_0x2a10fc['push'](_0x2a10fc['shift']());}}}(_0x5970,0xe7af4));import{Plugin as _0x264635}from'ckeditor5/src/core.js';function _0x4ccc(_0x919945,_0x4d9d37){const _0x59704d=_0x5970();return _0x4ccc=function(_0x4ccc74,_0x566646){_0x4ccc74=_0x4ccc74-0x111;let _0x458c57=_0x59704d[_0x4ccc74];return _0x458c57;},_0x4ccc(_0x919945,_0x4d9d37);}import{Notification as _0x402341}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x294654}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1b2701}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x421076}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x264635{static get[_0x25d769(0x113)](){const _0x49badf=_0x25d769;return _0x49badf(0x119);}static get[_0x25d769(0x128)](){const _0x26db00=_0x25d769;return[_0x421076,_0x402341,_0x26db00(0x11c),_0x26db00(0x122)];}static get[_0x25d769(0x11e)](){return!0x0;}static get[_0x25d769(0x11d)](){return!0x0;}[_0x25d769(0x121)](){const _0x350378=_0x25d769,{editor:_0x3afc63}=this;_0x3afc63[_0x350378(0x111)][_0x350378(0x124)](_0x350378(0x118),new _0x294654(_0x3afc63)),_0x3afc63[_0x350378(0x111)][_0x350378(0x124)](_0x350378(0x11f),new _0x1b2701(_0x3afc63));}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareimageedit/uploadcareimageeditui
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import '@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';
11
11
  import '../../theme/uploadcare-theme.css';
12
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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
+ import{Plugin as _0x15b50f}from'ckeditor5/src/core.js';import{ButtonView as _0x2da9d7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4b282d}from'ckeditor5/src/icons.js';import{createElement as _0xf484c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x15b50f{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x283048=this['editor'];_0x283048['ui']['componentFactory']['add']('uploadcareImageEdit',_0x56e83e=>{const _0x44d46a=_0x283048['commands']['get']('uploadcareImageEdit'),_0xeab4dc=new _0x2da9d7(_0x56e83e),t=_0x56e83e['t'];return _0xeab4dc['set']({'icon':_0x4b282d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xeab4dc['bind']('isEnabled')['to'](_0x44d46a),_0xeab4dc['bind']('isOn')['to'](_0x44d46a,'isActive'),this['listenTo'](_0xeab4dc,'execute',()=>{_0x283048['execute']('uploadcareImageEdit'),_0x283048['editing']['view']['focus']();}),_0xeab4dc;}),this['_initConfig']();}['_initConfig'](){const _0x4be097=_0xf484c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4be097),this['listenTo'](this['editor'],'destroy',()=>{_0x4be097['remove']();});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
7
7
  */
8
- import { Command } from '@ckeditor/ckeditor5-core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The Uploadcare replace image command.
11
11
  *
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x5d20(){const _0x91b831=['sizes','refresh','element','820296TXkYws','8mhnKWi','147626yGZXXp','3729090HLeowX','12174894xVQlSm','imageBlock','removeAttribute','1005970rFihWg','28577670yxIwwm','model','selection','setAttributes','execute','35eosbSN','getSelectedElement','editor','isEnabled','change','document','srcset','3EEaBxo','imageInline','3637207vbGOVq'];_0x5d20=function(){return _0x91b831;};return _0x5d20();}const _0x21c6a3=_0x4282;(function(_0x35f752,_0x3c56b9){const _0x5748c7=_0x4282,_0x2a8a41=_0x35f752();while(!![]){try{const _0x54e60f=parseInt(_0x5748c7(0x185))/0x1+-parseInt(_0x5748c7(0x180))/0x2*(parseInt(_0x5748c7(0x192))/0x3)+-parseInt(_0x5748c7(0x17e))/0x4*(-parseInt(_0x5748c7(0x18b))/0x5)+-parseInt(_0x5748c7(0x181))/0x6+parseInt(_0x5748c7(0x194))/0x7*(parseInt(_0x5748c7(0x17f))/0x8)+parseInt(_0x5748c7(0x182))/0x9+-parseInt(_0x5748c7(0x186))/0xa;if(_0x54e60f===_0x3c56b9)break;else _0x2a8a41['push'](_0x2a8a41['shift']());}catch(_0x4bc1aa){_0x2a8a41['push'](_0x2a8a41['shift']());}}}(_0x5d20,0xb9bb8));function _0x4282(_0x287c75,_0x266bd8){const _0x5d20c8=_0x5d20();return _0x4282=function(_0x4282a3,_0x5763d7){_0x4282a3=_0x4282a3-0x17d;let _0x2e1b28=_0x5d20c8[_0x4282a3];return _0x2e1b28;},_0x4282(_0x287c75,_0x266bd8);}import{Command as _0x243581}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x243581{[_0x21c6a3(0x196)](){const _0x44aedc=_0x21c6a3,_0x42939b=this[_0x44aedc(0x18d)][_0x44aedc(0x187)][_0x44aedc(0x190)][_0x44aedc(0x188)][_0x44aedc(0x18c)]();this[_0x44aedc(0x18e)]=Boolean(_0x42939b&&(_0x42939b['is'](_0x44aedc(0x17d),_0x44aedc(0x183))||_0x42939b['is'](_0x44aedc(0x17d),_0x44aedc(0x193))));}[_0x21c6a3(0x18a)](_0x5b631a){const _0x120a6f=_0x21c6a3,_0xb781d2=this[_0x120a6f(0x18d)][_0x120a6f(0x187)][_0x120a6f(0x190)][_0x120a6f(0x188)][_0x120a6f(0x18c)]();this[_0x120a6f(0x18d)][_0x120a6f(0x187)][_0x120a6f(0x18f)](_0x5957a0=>{const _0x33f8db=_0x120a6f;_0x5957a0[_0x33f8db(0x189)](_0x5b631a,_0xb781d2),_0x5957a0[_0x33f8db(0x184)](_0x33f8db(0x191),_0xb781d2),_0x5957a0[_0x33f8db(0x184)](_0x33f8db(0x195),_0xb781d2);});}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareimageedit
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
11
11
  import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
12
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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
+ var _0x5811c1=_0x3c0e;function _0x3c0e(_0x340380,_0x59f985){var _0x1893f4=_0x1893();return _0x3c0e=function(_0x3c0e22,_0x130e04){_0x3c0e22=_0x3c0e22-0x10e;var _0x12c995=_0x1893f4[_0x3c0e22];return _0x12c995;},_0x3c0e(_0x340380,_0x59f985);}function _0x1893(){var _0x15f2b2=['pluginName','2327825vUrmeh','135998kFqHYw','7570794lcSOgK','requires','1099503hTzlGY','isOfficialPlugin','30ECvyDi','3AIscxi','1876276ijoslK','8svbYwp','isPremiumPlugin','3112361lyMYPL','8DYZMAq','UploadcareImageEdit','2029800MAOfhV'];_0x1893=function(){return _0x15f2b2;};return _0x1893();}(function(_0x3ff35e,_0x16ab65){var _0xf959a8=_0x3c0e,_0x9542a1=_0x3ff35e();while(!![]){try{var _0x32b82d=-parseInt(_0xf959a8(0x116))/0x1*(-parseInt(_0xf959a8(0x11b))/0x2)+-parseInt(_0xf959a8(0x111))/0x3*(-parseInt(_0xf959a8(0x112))/0x4)+-parseInt(_0xf959a8(0x11a))/0x5+parseInt(_0xf959a8(0x118))/0x6+parseInt(_0xf959a8(0x115))/0x7*(parseInt(_0xf959a8(0x113))/0x8)+parseInt(_0xf959a8(0x10e))/0x9*(-parseInt(_0xf959a8(0x110))/0xa)+-parseInt(_0xf959a8(0x11c))/0xb;if(_0x32b82d===_0x16ab65)break;else _0x9542a1['push'](_0x9542a1['shift']());}catch(_0x19896d){_0x9542a1['push'](_0x9542a1['shift']());}}}(_0x1893,0x434d0));import{Plugin as _0x18ccc9}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3cf0a6}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xb22f30}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x18ccc9{static get[_0x5811c1(0x119)](){var _0x5a1082=_0x5811c1;return _0x5a1082(0x117);}static get[_0x5811c1(0x11d)](){return[_0x3cf0a6,_0xb22f30];}static get[_0x5811c1(0x10f)](){return!0x0;}static get[_0x5811c1(0x114)](){return!0x0;}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareui
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import '@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';
11
11
  import '../theme/uploadcare-theme.css';
12
12
  import '../theme/uploadcareimageedit.css';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x2eb5c6=_0x836c;function _0x836c(_0x3fc782,_0x5d8223){const _0x15da61=_0x15da();return _0x836c=function(_0x836cea,_0x12a9f2){_0x836cea=_0x836cea-0x177;let _0x2f6cd5=_0x15da61[_0x836cea];return _0x2f6cd5;},_0x836c(_0x3fc782,_0x5d8223);}(function(_0x5ad1a0,_0x2052ed){const _0xc4ec10=_0x836c,_0x56ffef=_0x5ad1a0();while(!![]){try{const _0x2e77b1=parseInt(_0xc4ec10(0x179))/0x1+parseInt(_0xc4ec10(0x1b3))/0x2*(-parseInt(_0xc4ec10(0x1b1))/0x3)+parseInt(_0xc4ec10(0x184))/0x4+-parseInt(_0xc4ec10(0x199))/0x5*(-parseInt(_0xc4ec10(0x1a1))/0x6)+parseInt(_0xc4ec10(0x1b9))/0x7*(-parseInt(_0xc4ec10(0x18e))/0x8)+parseInt(_0xc4ec10(0x1ba))/0x9+parseInt(_0xc4ec10(0x188))/0xa;if(_0x2e77b1===_0x2052ed)break;else _0x56ffef['push'](_0x56ffef['shift']());}catch(_0x4f8e47){_0x56ffef['push'](_0x56ffef['shift']());}}}(_0x15da,0x998b2));import{Plugin as _0xe4ebbe}from'ckeditor5/src/core.js';import{IconDropbox as _0x54e683,IconFacebook as _0x1d5dcc,IconGoogleDrive as _0x13d26c,IconGooglePhotos as _0x127d71,IconUploadcareImageUpload as _0x287350,IconUploadcareLink as _0x3d6311,IconOneDrive as _0x3c98a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x412518,MenuBarMenuListItemButtonView as _0x194739}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x25c8c2}from'./uploadcareconfig.js';import{getTranslation as _0xfe9070}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xe4ebbe{[_0x2eb5c6(0x17d)];[_0x2eb5c6(0x186)];static get[_0x2eb5c6(0x181)](){const _0x2341d5=_0x2eb5c6;return _0x2341d5(0x196);}static get[_0x2eb5c6(0x187)](){return!0x0;}static get[_0x2eb5c6(0x1a2)](){return!0x0;}[_0x2eb5c6(0x178)](){const _0x21bbf5=_0x2eb5c6;this[_0x21bbf5(0x17d)]=this[_0x21bbf5(0x1a0)][_0x21bbf5(0x198)][_0x21bbf5(0x1a5)](_0x21bbf5(0x17d));const _0x1b5fb6=this[_0x21bbf5(0x1a0)];this[_0x21bbf5(0x186)]=setInterval(()=>{const _0x71a351=_0x21bbf5;let _0x223abd;for(const _0x2fec80 in _0x1b5fb6){const _0x298f11=_0x2fec80,_0xd251e8=_0x1b5fb6[_0x298f11];if(_0x71a351(0x183)==_0xd251e8||_0x71a351(0x192)==_0xd251e8||_0x71a351(0x1c1)==_0xd251e8||_0x71a351(0x1b8)==_0xd251e8||_0x71a351(0x1c5)==_0xd251e8||_0x71a351(0x191)==_0xd251e8||_0x71a351(0x17c)==_0xd251e8){delete _0x1b5fb6[_0x298f11],_0x223abd=_0xd251e8,clearInterval(this[_0x71a351(0x186)]),this[_0x71a351(0x186)]=void 0x0;break;}}_0x71a351(0x192)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x193)),_0x71a351(0x1c1)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x19f)),_0x71a351(0x1b8)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x194)),_0x71a351(0x1c5)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x1ad),_0x71a351(0x1b2)),_0x71a351(0x191)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x1aa)),_0x71a351(0x17c)==_0x223abd&&_0x1b5fb6[_0x71a351(0x17e)](_0x71a351(0x17a));},0x3e8);}[_0x2eb5c6(0x1b5)](){const _0x10ec27=_0x2eb5c6,{editor:_0x2b49b9}=this,_0x33ee29=_0x2b49b9[_0x10ec27(0x1b0)][_0x10ec27(0x1a5)](_0x10ec27(0x195));if(!_0x33ee29)return;const _0xbe81dc=this[_0x10ec27(0x190)](_0x2b49b9[_0x10ec27(0x198)][_0x10ec27(0x1a5)](_0x10ec27(0x1ae)))[_0x10ec27(0x1a6)]((_0x3d7913,_0x5a4c13)=>{const _0x463d72=_0x10ec27,_0x3ffe11=this[_0x463d72(0x19c)](_0x5a4c13[_0x463d72(0x1c4)]);return _0x3d7913[_0x3ffe11]||(_0x3d7913[_0x3ffe11]=[]),_0x3d7913[_0x3ffe11][_0x463d72(0x1c2)](_0x5a4c13),_0x3d7913;},{});_0x2b49b9[_0x10ec27(0x1af)][_0x10ec27(0x19b)](_0x10ec27(0x18f))&&_0x2b49b9[_0x10ec27(0x1b0)][_0x10ec27(0x1a5)](_0x10ec27(0x195))&&Object[_0x10ec27(0x1c3)](_0xbe81dc)[_0x10ec27(0x1bc)](([_0x392cd8,_0x4e5d03])=>{const _0x5ec983=_0x10ec27;_0x2b49b9[_0x5ec983(0x1af)][_0x5ec983(0x1a5)](_0x5ec983(0x18f))[_0x5ec983(0x180)]({'name':_0x392cd8,'observable':()=>_0x33ee29,'buttonViewCreator':()=>this[_0x5ec983(0x1be)](_0x4e5d03),'formViewCreator':()=>this[_0x5ec983(0x17b)](_0x4e5d03),'menuBarButtonViewCreator':()=>this[_0x5ec983(0x19d)](_0x4e5d03),'override':_0x5ec983(0x1a8)!==_0x392cd8});});}[_0x2eb5c6(0x1bf)](){const _0x3d6a2f=_0x2eb5c6;super[_0x3d6a2f(0x1bf)](),this[_0x3d6a2f(0x186)]&&clearInterval(this[_0x3d6a2f(0x186)]);}[_0x2eb5c6(0x190)](_0x5d7b0f){const _0xffe7b9=_0x2eb5c6,{locale:_0x5f3986}=this[_0xffe7b9(0x1a0)];return _0x5d7b0f[_0xffe7b9(0x177)](_0x52e28f=>{const _0x30f93e=_0xffe7b9,_0x90d87f=_0xfe9070(_0x5f3986,_0x52e28f,_0x30f93e(0x1b6));switch(_0x52e28f){case _0x25c8c2[_0x30f93e(0x189)]:return{'icon':_0x287350,'type':_0x25c8c2[_0x30f93e(0x189)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x185)]:return{'icon':_0x3d6311,'type':_0x25c8c2[_0x30f93e(0x185)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x182)]:return{'icon':_0x54e683,'type':_0x25c8c2[_0x30f93e(0x182)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x18c)]:return{'icon':_0x1d5dcc,'type':_0x25c8c2[_0x30f93e(0x18c)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x18b)]:return{'icon':_0x13d26c,'type':_0x25c8c2[_0x30f93e(0x18b)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x18a)]:return{'icon':_0x127d71,'type':_0x25c8c2[_0x30f93e(0x18a)],..._0x90d87f};case _0x25c8c2[_0x30f93e(0x1a3)]:return{'icon':_0x3c98a2,'type':_0x25c8c2[_0x30f93e(0x1a3)],..._0x90d87f};}});}[_0x2eb5c6(0x19c)](_0x4b3f2d){const _0x3b177a=_0x2eb5c6;switch(_0x4b3f2d){case _0x25c8c2[_0x3b177a(0x189)]:return _0x3b177a(0x197);case _0x25c8c2[_0x3b177a(0x185)]:return _0x3b177a(0x1a4);default:return _0x3b177a(0x1a8);}}[_0x2eb5c6(0x1a9)](_0x3743df,_0x28e79c){const _0x8e365=_0x2eb5c6,_0x29eace=this[_0x8e365(0x1a0)],_0x276e0c=new _0x3743df(_0x29eace[_0x8e365(0x19a)]),_0x4fa0a3=_0x29eace[_0x8e365(0x1b0)][_0x8e365(0x1a5)](_0x8e365(0x195));return _0x276e0c[_0x8e365(0x1b4)](_0x8e365(0x1ac))['to'](_0x4fa0a3),_0x276e0c['on'](_0x8e365(0x1bb),()=>{const _0xb38e88=_0x8e365;_0x4fa0a3[_0xb38e88(0x1bb)](_0x28e79c);}),_0x276e0c;}[_0x2eb5c6(0x1be)](_0x4a6a57){const _0xf7e862=_0x2eb5c6,{locale:_0x34c69c}=this[_0xf7e862(0x1a0)],_0x1777f5=this[_0xf7e862(0x1a0)][_0xf7e862(0x1af)][_0xf7e862(0x1a5)](_0xf7e862(0x18f)),_0x474f81=_0x4a6a57[0x0],_0x916f03=this[_0xf7e862(0x1a9)](_0x412518,_0x474f81[_0xf7e862(0x1c4)]);return _0x916f03[_0xf7e862(0x1ab)]=_0x474f81[_0xf7e862(0x1ab)],_0x916f03[_0xf7e862(0x1b4)](_0xf7e862(0x1bd))['to'](_0x1777f5,_0xf7e862(0x19e),_0x15f387=>_0xfe9070(_0x34c69c,_0x474f81[_0xf7e862(0x1c4)],_0x15f387?_0xf7e862(0x1c0):_0xf7e862(0x1b6))[_0xf7e862(0x1b7)]),_0x916f03[_0xf7e862(0x17f)]=!0x0,_0x916f03;}[_0x2eb5c6(0x17b)](_0x36c277){const _0x3799f7=_0x2eb5c6,{locale:_0x5abc1c}=this[_0x3799f7(0x1a0)],_0x39b2dd=this[_0x3799f7(0x1a0)][_0x3799f7(0x1af)][_0x3799f7(0x1a5)](_0x3799f7(0x18f));return _0x36c277[_0x3799f7(0x177)](_0x688326=>{const _0x49efca=_0x3799f7,_0x45df13=this[_0x49efca(0x1a9)](_0x412518,_0x688326[_0x49efca(0x1c4)]);return _0x45df13[_0x49efca(0x18d)]=!0x0,_0x45df13[_0x49efca(0x1ab)]=_0x688326[_0x49efca(0x1ab)],_0x45df13[_0x49efca(0x1b4)](_0x49efca(0x1bd))['to'](_0x39b2dd,_0x49efca(0x19e),_0x51383a=>_0xfe9070(_0x5abc1c,_0x688326[_0x49efca(0x1c4)],_0x51383a?_0x49efca(0x1c0):_0x49efca(0x1b6))[_0x49efca(0x1b7)]),_0x45df13;});}[_0x2eb5c6(0x19d)](_0x477878){const _0x20d085=_0x2eb5c6;return _0x477878[_0x20d085(0x177)](_0xb72012=>{const _0x26cfa5=_0x20d085,_0x5106cd=this[_0x26cfa5(0x1a9)](_0x194739,_0xb72012[_0x26cfa5(0x1c4)]);return _0x5106cd[_0x26cfa5(0x1ab)]=_0xb72012[_0x26cfa5(0x1ab)],_0x5106cd[_0x26cfa5(0x1bd)]=_0xb72012[_0x26cfa5(0x1a7)],_0x5106cd;});}}function _0x15da(){const _0x5d1302=['shortText','assetManager','_createButton','evaluationLimit','icon','isEnabled','featureNotAllowed','uploadcare.uploader.sourceList','plugins','commands','3ufQkte','Uploadcare','2263198UWRwMA','bind','afterInit','Insert','text','uploadcareLicenseKeyDomainLimit','7IBAVpb','11215062ryTmFv','execute','forEach','label','_createToolbarButton','destroy','Replace','uploadcareLicenseKeyExpired','push','entries','type','uploadcareLicenseKeyNotAllowed','map','init','271555fDgCoR','usageLimit','_createDropdownButtons','uploadcareLicenseKeyUsageLimit','licenseKey','_showLicenseError','tooltip','registerIntegration','pluginName','Dropbox','uploadcareLicenseKeyValid','5032pRjrIs','URL','_licenseKeyCheckInterval','isOfficialPlugin','2365690hcfxDB','Local','GPhotos','GDrive','Facebook','withText','7308472cCoDsq','ImageInsertUI','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyInvalid','invalid','domainLimit','uploadcare','UploadcareUI','upload','config','1310ahvmND','locale','has','_getIntegrationKey','_createMenuBarButtons','isImageSelected','expired','editor','21036lqoOTg','isPremiumPlugin','OneDrive','url','get','reduce'];_0x15da=function(){return _0x5d1302;};return _0x15da();}
@@ -6,8 +6,8 @@
6
6
  * @module uploadcare/uploadcareuploadadapter
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { FileRepository } from '@ckeditor/ckeditor5-upload';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FileRepository } from 'ckeditor5/src/upload.js';
11
11
  import { UploadcareEditing } from './uploadcareediting.js';
12
12
  /**
13
13
  * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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
+ import{Plugin as _0x5256ac}from'ckeditor5/src/core.js';import{FileRepository as _0x4eafd2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x29a654}from'./uploadcareediting.js';import{UploadUtils as _0x12163b}from'./utils/uploadutils.js';import{getImageUrls as _0x52dc70}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5256ac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4eafd2,_0x29a654];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xdc0df7=this['editor'];if(!!!_0xdc0df7['config']['get']('uploadcare'))return;_0xdc0df7['plugins']['get'](_0x4eafd2)['createUploadAdapter']=_0x15b42c=>new k(_0x15b42c,_0xdc0df7),_0xdc0df7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x458820,{imageElement:_0x13e978,data:_0x3d5e2d})=>{_0xdc0df7['model']['change'](_0x354d11=>{_0x354d11['setAttribute']('uploadcareImageId',_0x3d5e2d['uploadcareImageId'],_0x13e978);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x39e71c,_0x409b38){this['loader']=_0x39e71c,this['editor']=_0x409b38,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1b2e0a=await this['loader']['file'];return _0x12163b['upload']({'file':_0x1b2e0a,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x54087c=>{_0x54087c&&_0x54087c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x54087c['value']);}})['then'](async _0x2f1b89=>{const {imageFallbackUrl:_0x4607c5,imageSources:_0x161db5}=_0x52dc70(_0x2f1b89['cdnUrl'],_0x2f1b89['imageInfo']['width']);return{'uploadcareImageId':_0x2f1b89['uuid'],'default':_0x4607c5,'sources':_0x161db5};})['catch'](()=>{const _0x2b8bcd=t('Cannot\x20upload\x20file:')+('\x20'+_0x1b2e0a['name']+'.');return Promise['reject'](_0x2b8bcd);});}['abort'](){this['controller']['abort']();}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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
+ import{UploadcareSource as _0xb7d798}from'../uploadcareconfig.js';export function getTranslation(_0x5eeb6e,_0x585827,_0x16546d){const t=_0x5eeb6e['t'],_0x5bdcc0=_0x5eeb6e['t'];switch(_0x585827){case _0xb7d798['Local']:return{'text':_0x5bdcc0('Insert'===_0x16546d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bdcc0('From\x20computer')};case _0xb7d798['URL']:return{'text':'Insert'===_0x16546d?_0x5bdcc0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bdcc0('Via\x20URL')};case _0xb7d798['Dropbox']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xb7d798['Facebook']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xb7d798['GDrive']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xb7d798['GPhotos']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xb7d798['OneDrive']:return{'text':t('Insert'===_0x16546d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x585827;}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module uploadcare/utils/dialogfocusmanagerview
7
7
  */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
9
- import { View, type TemplateDefinition } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
10
10
  import '../../theme/uploadcare-form.css';
11
11
  /**
12
12
  * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x4742(_0x40ec30,_0x26471e){var _0x204de3=_0x204d();return _0x4742=function(_0x4742fe,_0x43b20b){_0x4742fe=_0x4742fe-0x17b;var _0x204aaf=_0x204de3[_0x4742fe];return _0x204aaf;},_0x4742(_0x40ec30,_0x26471e);}var _0x2802a4=_0x4742;(function(_0x33fdc4,_0xe24818){var _0x1851b6=_0x4742,_0x530320=_0x33fdc4();while(!![]){try{var _0x39028e=-parseInt(_0x1851b6(0x18d))/0x1*(parseInt(_0x1851b6(0x186))/0x2)+parseInt(_0x1851b6(0x17f))/0x3+-parseInt(_0x1851b6(0x17e))/0x4*(parseInt(_0x1851b6(0x182))/0x5)+-parseInt(_0x1851b6(0x18a))/0x6*(parseInt(_0x1851b6(0x18e))/0x7)+parseInt(_0x1851b6(0x180))/0x8+parseInt(_0x1851b6(0x17d))/0x9*(-parseInt(_0x1851b6(0x187))/0xa)+parseInt(_0x1851b6(0x188))/0xb*(parseInt(_0x1851b6(0x189))/0xc);if(_0x39028e===_0xe24818)break;else _0x530320['push'](_0x530320['shift']());}catch(_0x1450f5){_0x530320['push'](_0x530320['shift']());}}}(_0x204d,0xa14a2));import{FocusTracker as _0x15f322}from'ckeditor5/src/utils.js';function _0x204d(){var _0x3753c2=['createCollection','getFocusableElement','186038HXJyit','360941rUQYWM','focusCycler','true','focusTracker','81603rTLNMq','213488VMhjvf','1823661Nsnvfy','7623872dyXFrW','fire','35XviMTx','bindTemplate','forwardCycle','div','6mHQSEc','320mWotCn','11qrkifl','7572132GCcZEY','36LulEQT'];_0x204d=function(){return _0x3753c2;};return _0x204d();}import{View as _0x3af5bd,FocusCycler as _0x1baf71}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3af5bd{[_0x2802a4(0x17c)];[_0x2802a4(0x18f)];constructor(_0x2e02aa){var _0x24ebb7=_0x2802a4;super(_0x2e02aa),this[_0x24ebb7(0x17c)]=new _0x15f322(),this[_0x24ebb7(0x18f)]=new _0x1baf71({'focusables':this[_0x24ebb7(0x18b)](),'focusTracker':this[_0x24ebb7(0x17c)]});}[_0x2802a4(0x18c)](){var _0x1bd4a3=_0x2802a4;return{'tag':_0x1bd4a3(0x185),'attributes':{'aria-hidden':_0x1bd4a3(0x17b),'tabindex':'0'},'on':{'focus':this[_0x1bd4a3(0x183)]['to'](()=>{var _0x274cb6=_0x1bd4a3;this[_0x274cb6(0x18f)][_0x274cb6(0x181)](_0x274cb6(0x184));})}};}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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(_0x50af1b,_0x863490){const _0x3d388f=_0x4e29,_0x423831=_0x50af1b();while(!![]){try{const _0x5e0689=parseInt(_0x3d388f(0x1cf))/0x1+-parseInt(_0x3d388f(0x1c1))/0x2*(-parseInt(_0x3d388f(0x19f))/0x3)+parseInt(_0x3d388f(0x1c9))/0x4*(-parseInt(_0x3d388f(0x1aa))/0x5)+-parseInt(_0x3d388f(0x1a6))/0x6+parseInt(_0x3d388f(0x1be))/0x7+-parseInt(_0x3d388f(0x1d4))/0x8*(-parseInt(_0x3d388f(0x1b6))/0x9)+parseInt(_0x3d388f(0x1a9))/0xa*(-parseInt(_0x3d388f(0x1c8))/0xb);if(_0x5e0689===_0x863490)break;else _0x423831['push'](_0x423831['shift']());}catch(_0x31ff3c){_0x423831['push'](_0x423831['shift']());}}}(_0x4528,0xa7151));import{global as _0x4b5a40,DomEmitterMixin as _0x2d9a36}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3cc806){const _0x3a7986=_0x4e29,_0x2a927a=G(_0x3cc806);return _0x31586e=>!(!_0x31586e||!_0x31586e['is'](_0x3a7986(0x1d1),_0x3a7986(0x1bf))&&!_0x31586e['is'](_0x3a7986(0x1d1),_0x3a7986(0x1b3)))&&(!!_0x31586e[_0x3a7986(0x1c6)](_0x3a7986(0x1a4))||!!_0x31586e[_0x3a7986(0x1c6)](_0x3a7986(0x1c2))&&_0x2a927a(_0x31586e[_0x3a7986(0x1a8)](_0x3a7986(0x1c2))));}function _0x4528(){const _0x2b64f2=['match','px)\x20100vw,\x20','image-processing','/-/resize/','x/\x20','1253280PRIANM','load','element','height','ImageUtils','24Wcibvi','function','location','viewToDom','domConverter','735069hBPUvl','replace','some','get','mapper','uploadcareImageId','editing','5827362xCNRnJ','isArray','getAttribute','18300DQqfLf','20gOZycY','origin','setStyle','toViewElement','removeClass','plugins','baseURI','document','change','imageInline','window','width','3254967tFcgvW','filter','removeStyle','listenTo','findViewImgElement','image/webp','join','stopListening','3714074wmBDsu','imageBlock','addClass','6TTEgDN','src','view','map','(max-width:\x20','hasAttribute','aspect-ratio','5676IaLvhq','1004044bgdNSY'];_0x4528=function(){return _0x2b64f2;};return _0x4528();}export function getImageUrls(_0x57c1ac,_0xc811a6){const _0x4d37f0=_0x4e29,_0x17f5cb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4d37f0(0x1b7)](_0x5b51df=>_0x5b51df<=_0xc811a6)[_0x4d37f0(0x1c4)](_0x21523a=>_0x57c1ac[_0x4d37f0(0x1a0)](/\/$/,'')+_0x4d37f0(0x1cd)+_0x21523a+_0x4d37f0(0x1ce)+_0x21523a+'w');return{'imageFallbackUrl':_0x57c1ac,'imageSources':[{'srcset':_0x17f5cb[_0x4d37f0(0x1bc)](',\x20'),'sizes':_0x4d37f0(0x1c5)+_0xc811a6+_0x4d37f0(0x1cb)+_0xc811a6+'px','type':_0x4d37f0(0x1bb)}]};}export function getImageDimension(_0x422fcf,_0x918ed2,_0x2f8d93){const _0x3fd722=_0x4e29,_0x42bcd9=_0x422fcf[_0x3fd722(0x1ca)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x42bcd9?parseInt(_0x42bcd9[0x1],0xa):_0x918ed2,'height':_0x42bcd9?parseInt(_0x42bcd9[0x2],0xa):_0x2f8d93};}export function showImageProcessingIndicator(_0x1ea721,_0x35eec4){const _0x2a9689=_0x4e29,_0x42e360=new(_0x2d9a36())(),_0x510d07=_0x1ea721[_0x2a9689(0x1af)][_0x2a9689(0x1a2)](_0x2a9689(0x1d3)),_0x18ed57=_0x1ea721[_0x2a9689(0x1a5)][_0x2a9689(0x1a3)][_0x2a9689(0x1ad)](_0x35eec4),_0x49f94a=_0x510d07[_0x2a9689(0x1ba)](_0x18ed57),_0x49e3c2=_0x1ea721[_0x2a9689(0x1a5)][_0x2a9689(0x1c3)][_0x2a9689(0x19e)][_0x2a9689(0x1d7)](_0x49f94a),_0x1a1f40=_0x35eec4[_0x2a9689(0x1a8)](_0x2a9689(0x1b5)),_0x47a6c5=_0x35eec4[_0x2a9689(0x1a8)](_0x2a9689(0x1d2)),_0x1d66a2=_0x2a9689(0x1cc);_0x1ea721[_0x2a9689(0x1a5)][_0x2a9689(0x1c3)][_0x2a9689(0x1b2)](_0x1bb0bf=>{const _0x90bfde=_0x2a9689;_0x1bb0bf[_0x90bfde(0x1c0)](_0x1d66a2,_0x18ed57),_0x1bb0bf[_0x90bfde(0x1ac)](_0x90bfde(0x1c7),_0x1a1f40+'/'+_0x47a6c5,_0x49f94a);}),_0x42e360[_0x2a9689(0x1b9)](_0x49e3c2,_0x2a9689(0x1d0),()=>{const _0x1f759e=_0x2a9689;_0x42e360[_0x1f759e(0x1bd)](_0x49e3c2,_0x1f759e(0x1d0)),_0x1ea721[_0x1f759e(0x1a5)][_0x1f759e(0x1c3)][_0x1f759e(0x1b2)](_0x50520f=>{const _0x32d791=_0x1f759e;_0x50520f[_0x32d791(0x1ae)](_0x1d66a2,_0x18ed57),_0x50520f[_0x32d791(0x1b8)](_0x32d791(0x1c7),_0x49f94a);});});}function _0x4e29(_0x4cb42f,_0x3b0ba3){const _0x4528bd=_0x4528();return _0x4e29=function(_0x4e2901,_0x4b1d95){_0x4e2901=_0x4e2901-0x19e;let _0x564f04=_0x4528bd[_0x4e2901];return _0x564f04;},_0x4e29(_0x4cb42f,_0x3b0ba3);}function G(_0x2f1c57){const _0x59199c=_0x4e29;if(Array[_0x59199c(0x1a7)](_0x2f1c57)){const _0x411c07=_0x2f1c57[_0x59199c(0x1c4)](G);return _0x486b1f=>_0x411c07[_0x59199c(0x1a1)](_0x5659eb=>_0x5659eb(_0x486b1f));}if(_0x59199c(0x1ab)==_0x2f1c57){const _0x1a2581=_0x4b5a40[_0x59199c(0x1b4)][_0x59199c(0x1d6)][_0x59199c(0x1ab)];return _0x47428a=>new URL(_0x47428a,_0x4b5a40[_0x59199c(0x1b1)][_0x59199c(0x1b0)])[_0x59199c(0x1ab)]==_0x1a2581;}return _0x59199c(0x1d5)==typeof _0x2f1c57?_0x2f1c57:_0x2f1c57 instanceof RegExp?_0x37ec63=>!(!_0x37ec63[_0x59199c(0x1ca)](_0x2f1c57)&&!_0x37ec63[_0x59199c(0x1a0)](/^https?:\/\//,'')[_0x59199c(0x1ca)](_0x2f1c57)):()=>!0x1;}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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(_0x3d9fec,_0x1e70cf){var _0x4d6fc5=_0x389f,_0x35d467=_0x3d9fec();while(!![]){try{var _0x5e5c40=-parseInt(_0x4d6fc5(0x91))/0x1*(-parseInt(_0x4d6fc5(0x87))/0x2)+-parseInt(_0x4d6fc5(0x85))/0x3*(-parseInt(_0x4d6fc5(0x93))/0x4)+-parseInt(_0x4d6fc5(0x94))/0x5*(parseInt(_0x4d6fc5(0x89))/0x6)+parseInt(_0x4d6fc5(0x8a))/0x7*(parseInt(_0x4d6fc5(0x8d))/0x8)+-parseInt(_0x4d6fc5(0x86))/0x9*(-parseInt(_0x4d6fc5(0x8b))/0xa)+-parseInt(_0x4d6fc5(0x90))/0xb*(parseInt(_0x4d6fc5(0x8c))/0xc)+-parseInt(_0x4d6fc5(0x88))/0xd*(parseInt(_0x4d6fc5(0x92))/0xe);if(_0x5e5c40===_0x1e70cf)break;else _0x35d467['push'](_0x35d467['shift']());}catch(_0x47974f){_0x35d467['push'](_0x35d467['shift']());}}}(_0x11fe,0xe846c));function _0x11fe(){var _0x35be99=['1274brFDYp','4843370tryGKB','624dTCOZy','10784eLZoWs','includes','target','43868Lmkhie','1Tgabkq','206108iqWIxH','29096pWupDG','595505qKwjxU','321ulpcRq','18mROuLN','985514yjdAeL','1066RwYYXC','6ObNcQo'];_0x11fe=function(){return _0x35be99;};return _0x11fe();}function _0x389f(_0x18e77d,_0x296381){var _0x11fe74=_0x11fe();return _0x389f=function(_0x389f83,_0x4dab3d){_0x389f83=_0x389f83-0x85;var _0x3b1391=_0x11fe74[_0x389f83];return _0x3b1391;},_0x389f(_0x18e77d,_0x296381);}import{getAncestors as _0x5abcd6}from'ckeditor5/src/utils.js';export function isAncestor(_0x9f2c9d,_0x3342fb){var _0x9beb9f=_0x389f;return _0x5abcd6(_0x9f2c9d[_0x9beb9f(0x8f)])[_0x9beb9f(0x8e)](_0x3342fb);}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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
+ var _0x4b247f=_0x1461;function _0x1461(_0x27a29f,_0x1d07ba){var _0x90fe7a=_0x90fe();return _0x1461=function(_0x1461dc,_0x2ee965){_0x1461dc=_0x1461dc-0x108;var _0x2912cc=_0x90fe7a[_0x1461dc];return _0x2912cc;},_0x1461(_0x27a29f,_0x1d07ba);}(function(_0x611107,_0x23688d){var _0x46fa41=_0x1461,_0x280121=_0x611107();while(!![]){try{var _0x5d8f5e=parseInt(_0x46fa41(0x111))/0x1*(-parseInt(_0x46fa41(0x112))/0x2)+parseInt(_0x46fa41(0x10f))/0x3*(parseInt(_0x46fa41(0x10a))/0x4)+-parseInt(_0x46fa41(0x10d))/0x5*(parseInt(_0x46fa41(0x114))/0x6)+-parseInt(_0x46fa41(0x10c))/0x7+parseInt(_0x46fa41(0x10b))/0x8+parseInt(_0x46fa41(0x110))/0x9*(parseInt(_0x46fa41(0x10e))/0xa)+parseInt(_0x46fa41(0x109))/0xb;if(_0x5d8f5e===_0x23688d)break;else _0x280121['push'](_0x280121['shift']());}catch(_0x36aab1){_0x280121['push'](_0x280121['shift']());}}}(_0x90fe,0x8b8cb));function _0x90fe(){var _0x13068e=['5376168axgLax','5EWCTig','10PnTuiv','320889nlgEzP','2841417KyuQMB','206ZbzWZS','3536mCAkqj','upload','1740618CheUph','getInfo','11240713vRHETr','16fxIPLo','1827856lchmzh'];_0x90fe=function(){return _0x13068e;};return _0x90fe();}import{uploadFile as _0x2a3f77,info as _0x20b4b7}from'@uploadcare/upload-client';export class UploadUtils{static[_0x4b247f(0x113)]({file:_0x39c17d,..._0x243aba}){return _0x2a3f77(_0x39c17d,_0x243aba);}static[_0x4b247f(0x108)](_0x2ae3a3,_0x3ad4d7){return _0x20b4b7(_0x2ae3a3,_0x3ad4d7);}}
@@ -0,0 +1,201 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css";
11
+
12
+ :root {
13
+ --ck-uploadcare-form-view-width: 700px;
14
+ --ck-uploadcare-external-source-view-height: 350px;
15
+ --ck-uploadcare-color-image-background: oklch(0.97 0 0);
16
+ --ck-uploadcare-color-icon-error: hsl(15, 100%, 43%);
17
+ --ck-uploadcare-color-skeleton: hsl(0, 0%, 98%);
18
+ }
19
+
20
+ /* stylelint-disable no-descending-specificity */
21
+ .ck .ck-uploadcare-form,
22
+ .ck .ck-uploadcare-form:not(#\#) {
23
+ max-width: 100%;
24
+ width: var(--ck-uploadcare-form-view-width);
25
+
26
+ .ck-uploadcare-form__loading {
27
+ .ck-uploadcare-form__loading-spinner {
28
+ width: 100%;
29
+ height: var(--ck-uploadcare-external-source-view-height);
30
+ background-color: var(--ck-uploadcare-color-image-background);
31
+
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ flex-direction: column;
36
+
37
+ .ck-spinner-container {
38
+ margin-bottom: 10px;
39
+ }
40
+ }
41
+ }
42
+
43
+ .ck-uploadcare-form__error {
44
+ .ck-uploadcare-form__error-contents {
45
+ width: 100%;
46
+ height: var(--ck-uploadcare-external-source-view-height);
47
+ background-color: var(--ck-uploadcare-color-image-background);
48
+
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ flex-direction: column;
53
+ gap: 5px;
54
+
55
+ h3 {
56
+ font-weight: 700;
57
+ padding: 0;
58
+ margin: 0;
59
+ }
60
+
61
+ .ck-icon {
62
+ color: var(--ck-uploadcare-color-icon-error);
63
+ }
64
+
65
+ .ck-button {
66
+ margin-top: 10px;
67
+ }
68
+ }
69
+ }
70
+
71
+ .ck-uploadcare-form__skeleton {
72
+ width: 100%;
73
+ height: 115px;
74
+
75
+ div {
76
+ height: 50%;
77
+ display: flex;
78
+ box-sizing: border-box;
79
+ min-width: 100%;
80
+ flex-direction: row;
81
+ justify-content: center;
82
+ align-items: center;
83
+
84
+ span {
85
+ display: block;
86
+ width: 32px;
87
+ height: 32px;
88
+ background-color: var(--ck-uploadcare-color-skeleton);
89
+ }
90
+ }
91
+
92
+ div + div {
93
+ gap: 20px;
94
+
95
+ span:first-child {
96
+ position: absolute;
97
+ left: 8px;
98
+ width: 80px;
99
+ }
100
+
101
+ span:last-child {
102
+ position: absolute;
103
+ right: 8px;
104
+ width: 80px;
105
+ }
106
+ }
107
+
108
+ div:first-child {
109
+ gap: 4px;
110
+ }
111
+ }
112
+
113
+ /* The following styles overrides the default Uploadcare styles */
114
+
115
+ /* stylelint-disable selector-type-no-unknown */
116
+ .mini-btn {
117
+ display: none;
118
+ }
119
+
120
+ .uc-viewport {
121
+ height: var(--ck-uploadcare-external-source-view-height);
122
+ }
123
+
124
+ uc-btn-ui button, .uc-primary-btn, .uc-secondary-btn {
125
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
126
+ min-width: var(--ck-ui-component-min-height);
127
+ min-height: var(--ck-ui-component-min-height);
128
+ }
129
+
130
+ .uc-primary-btn, uc-btn-ui.uc-primary button {
131
+ @mixin ck-button-colors --ck-color-button-action;
132
+ }
133
+
134
+ .uc-secondary-btn, uc-btn-ui.uc-secondary button {
135
+ @mixin ck-button-colors --ck-color-button-default;
136
+ }
137
+
138
+ uc-upload-list {
139
+ & .uc-toolbar {
140
+ gap: var(--ck-spacing-large);
141
+
142
+ }
143
+
144
+ & .uc-files {
145
+ padding-top: var(--ck-spacing-large);
146
+ max-height: var(--ck-uploadcare-external-source-view-height);
147
+ overflow-y: auto;
148
+ }
149
+ }
150
+
151
+ .uc-content {
152
+ padding: var(--ck-spacing-large);
153
+ gap: var(--ck-spacing-large);
154
+
155
+ & > .uc-iframe-wrapper {
156
+ height: var(--ck-uploadcare-external-source-view-height);
157
+ }
158
+
159
+ & > .uc-toolbar {
160
+ padding: var(--ck-spacing-large) 0 0;
161
+ }
162
+ }
163
+
164
+ uc-start-from {
165
+ & .uc-content {
166
+ gap: 0;
167
+ }
168
+ }
169
+
170
+ uc-file-item {
171
+ & > .uc-inner {
172
+ font-size: 1em;
173
+ }
174
+
175
+
176
+ & > .uc-inner:where([finished]) .uc-badge {
177
+ background: var(--ck-color-button-action-active-background);
178
+ }
179
+ }
180
+
181
+ uc-external-source .uc-cancel-btn {
182
+ visibility: hidden;
183
+ pointer-events: none;
184
+ }
185
+
186
+ uc-activity-header {
187
+ display: none;
188
+ }
189
+
190
+ uc-source-list {
191
+ display: none;
192
+ }
193
+
194
+ uc-cloud-image-editor-block {
195
+ [icon="closeMax"] .uc-icon_left {
196
+ transform: rotate(90deg);
197
+ }
198
+ }
199
+ /* stylelint-enable selector-type-no-unknown */
200
+ }
201
+ /* stylelint-enable no-descending-specificity */
@@ -0,0 +1,20 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+
10
+ .ck-uploadcare-theme {
11
+ --uc-font-size: 13px; /* --ck-font-size-base */
12
+ --uc-radius: 2px; /* --ck-border-radius */
13
+ --uc-padding: calc(0.6em * 1.5); /* --ck-spacing-large */
14
+
15
+ --uc-primary-oklch-light: 54.45% 0.182 263.76;
16
+ --uc-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
17
+ --uc-secondary-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
18
+ --uc-muted-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
19
+ --uc-border-light: hsl(220, 6%, 81%); /* --ck-color-base-border */
20
+ }