@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260115.0 → 0.0.0-nightly-next-20260115.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/ckeditor5-metadata.json +2 -2
  2. package/{src → dist}/augmentation.d.ts +4 -0
  3. package/{src → dist}/index.d.ts +4 -0
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/{src → dist}/ui/uploadcarecontroller.d.ts +7 -3
  152. package/{src → dist}/ui/uploadcareformview.d.ts +5 -1
  153. package/{src → dist}/uploadcare.d.ts +5 -1
  154. package/{src → dist}/uploadcarecommand.d.ts +6 -2
  155. package/{src → dist}/uploadcareconfig.d.ts +5 -1
  156. package/{src → dist}/uploadcareediting.d.ts +6 -2
  157. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +9 -5
  158. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +6 -2
  159. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +6 -2
  160. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +6 -2
  161. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +5 -1
  162. package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +6 -2
  163. package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +6 -2
  164. package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +5 -1
  165. package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +5 -1
  166. package/{src → dist}/uploadcareimageedit.d.ts +5 -1
  167. package/{src → dist}/uploadcareui.d.ts +5 -1
  168. package/{src → dist}/uploadcareuploadadapter.d.ts +6 -2
  169. package/{src → dist}/utils/common-translations.d.ts +4 -0
  170. package/{src → dist}/utils/dialogfocusmanagerview.d.ts +6 -2
  171. package/{src → dist}/utils/editingutils.d.ts +4 -0
  172. package/{src → dist}/utils/isancestor.d.ts +4 -0
  173. package/{src → dist}/utils/uploadutils.d.ts +4 -0
  174. package/package.json +23 -46
  175. package/build/translations/af.js +0 -1
  176. package/build/translations/ar.js +0 -1
  177. package/build/translations/ast.js +0 -1
  178. package/build/translations/az.js +0 -1
  179. package/build/translations/be.js +0 -1
  180. package/build/translations/bg.js +0 -1
  181. package/build/translations/bn.js +0 -1
  182. package/build/translations/bs.js +0 -1
  183. package/build/translations/ca.js +0 -1
  184. package/build/translations/cs.js +0 -1
  185. package/build/translations/da.js +0 -1
  186. package/build/translations/de-ch.js +0 -1
  187. package/build/translations/de.js +0 -1
  188. package/build/translations/el.js +0 -1
  189. package/build/translations/en-au.js +0 -1
  190. package/build/translations/en-gb.js +0 -1
  191. package/build/translations/eo.js +0 -1
  192. package/build/translations/es-co.js +0 -1
  193. package/build/translations/es.js +0 -1
  194. package/build/translations/et.js +0 -1
  195. package/build/translations/eu.js +0 -1
  196. package/build/translations/fa.js +0 -1
  197. package/build/translations/fi.js +0 -1
  198. package/build/translations/fr.js +0 -1
  199. package/build/translations/gl.js +0 -1
  200. package/build/translations/gu.js +0 -1
  201. package/build/translations/he.js +0 -1
  202. package/build/translations/hi.js +0 -1
  203. package/build/translations/hr.js +0 -1
  204. package/build/translations/hu.js +0 -1
  205. package/build/translations/hy.js +0 -1
  206. package/build/translations/id.js +0 -1
  207. package/build/translations/it.js +0 -1
  208. package/build/translations/ja.js +0 -1
  209. package/build/translations/jv.js +0 -1
  210. package/build/translations/kk.js +0 -1
  211. package/build/translations/km.js +0 -1
  212. package/build/translations/kn.js +0 -1
  213. package/build/translations/ko.js +0 -1
  214. package/build/translations/ku.js +0 -1
  215. package/build/translations/lt.js +0 -1
  216. package/build/translations/lv.js +0 -1
  217. package/build/translations/ms.js +0 -1
  218. package/build/translations/nb.js +0 -1
  219. package/build/translations/ne.js +0 -1
  220. package/build/translations/nl.js +0 -1
  221. package/build/translations/no.js +0 -1
  222. package/build/translations/oc.js +0 -1
  223. package/build/translations/pl.js +0 -1
  224. package/build/translations/pt-br.js +0 -1
  225. package/build/translations/pt.js +0 -1
  226. package/build/translations/ro.js +0 -1
  227. package/build/translations/ru.js +0 -1
  228. package/build/translations/si.js +0 -1
  229. package/build/translations/sk.js +0 -1
  230. package/build/translations/sl.js +0 -1
  231. package/build/translations/sq.js +0 -1
  232. package/build/translations/sr-latn.js +0 -1
  233. package/build/translations/sr.js +0 -1
  234. package/build/translations/sv.js +0 -1
  235. package/build/translations/th.js +0 -1
  236. package/build/translations/ti.js +0 -1
  237. package/build/translations/tk.js +0 -1
  238. package/build/translations/tr.js +0 -1
  239. package/build/translations/tt.js +0 -1
  240. package/build/translations/ug.js +0 -1
  241. package/build/translations/uk.js +0 -1
  242. package/build/translations/ur.js +0 -1
  243. package/build/translations/uz.js +0 -1
  244. package/build/translations/vi.js +0 -1
  245. package/build/translations/zh-cn.js +0 -1
  246. package/build/translations/zh.js +0 -1
  247. package/build/uploadcare.js +0 -5
  248. package/lang/contexts.json +0 -24
  249. package/lang/translations/af.po +0 -100
  250. package/lang/translations/ar.po +0 -100
  251. package/lang/translations/ast.po +0 -100
  252. package/lang/translations/az.po +0 -100
  253. package/lang/translations/be.po +0 -100
  254. package/lang/translations/bg.po +0 -100
  255. package/lang/translations/bn.po +0 -100
  256. package/lang/translations/bs.po +0 -100
  257. package/lang/translations/ca.po +0 -100
  258. package/lang/translations/cs.po +0 -100
  259. package/lang/translations/da.po +0 -100
  260. package/lang/translations/de-ch.po +0 -100
  261. package/lang/translations/de.po +0 -100
  262. package/lang/translations/el.po +0 -100
  263. package/lang/translations/en-au.po +0 -100
  264. package/lang/translations/en-gb.po +0 -100
  265. package/lang/translations/en.po +0 -100
  266. package/lang/translations/eo.po +0 -100
  267. package/lang/translations/es-co.po +0 -100
  268. package/lang/translations/es.po +0 -100
  269. package/lang/translations/et.po +0 -100
  270. package/lang/translations/eu.po +0 -100
  271. package/lang/translations/fa.po +0 -100
  272. package/lang/translations/fi.po +0 -100
  273. package/lang/translations/fr.po +0 -100
  274. package/lang/translations/gl.po +0 -100
  275. package/lang/translations/gu.po +0 -100
  276. package/lang/translations/he.po +0 -100
  277. package/lang/translations/hi.po +0 -100
  278. package/lang/translations/hr.po +0 -100
  279. package/lang/translations/hu.po +0 -100
  280. package/lang/translations/hy.po +0 -100
  281. package/lang/translations/id.po +0 -100
  282. package/lang/translations/it.po +0 -100
  283. package/lang/translations/ja.po +0 -100
  284. package/lang/translations/jv.po +0 -100
  285. package/lang/translations/kk.po +0 -100
  286. package/lang/translations/km.po +0 -100
  287. package/lang/translations/kn.po +0 -100
  288. package/lang/translations/ko.po +0 -100
  289. package/lang/translations/ku.po +0 -100
  290. package/lang/translations/lt.po +0 -100
  291. package/lang/translations/lv.po +0 -100
  292. package/lang/translations/ms.po +0 -100
  293. package/lang/translations/nb.po +0 -100
  294. package/lang/translations/ne.po +0 -100
  295. package/lang/translations/nl.po +0 -100
  296. package/lang/translations/no.po +0 -100
  297. package/lang/translations/oc.po +0 -100
  298. package/lang/translations/pl.po +0 -100
  299. package/lang/translations/pt-br.po +0 -100
  300. package/lang/translations/pt.po +0 -100
  301. package/lang/translations/ro.po +0 -100
  302. package/lang/translations/ru.po +0 -100
  303. package/lang/translations/si.po +0 -100
  304. package/lang/translations/sk.po +0 -100
  305. package/lang/translations/sl.po +0 -100
  306. package/lang/translations/sq.po +0 -100
  307. package/lang/translations/sr-latn.po +0 -100
  308. package/lang/translations/sr.po +0 -100
  309. package/lang/translations/sv.po +0 -100
  310. package/lang/translations/th.po +0 -100
  311. package/lang/translations/ti.po +0 -100
  312. package/lang/translations/tk.po +0 -100
  313. package/lang/translations/tr.po +0 -100
  314. package/lang/translations/tt.po +0 -100
  315. package/lang/translations/ug.po +0 -100
  316. package/lang/translations/uk.po +0 -100
  317. package/lang/translations/ur.po +0 -100
  318. package/lang/translations/uz.po +0 -100
  319. package/lang/translations/vi.po +0 -100
  320. package/lang/translations/zh-cn.po +0 -100
  321. package/lang/translations/zh.po +0 -100
  322. package/src/augmentation.js +0 -23
  323. package/src/index.js +0 -23
  324. package/src/ui/uploadcarecontroller.js +0 -24
  325. package/src/ui/uploadcareformview.js +0 -23
  326. package/src/uploadcare.js +0 -23
  327. package/src/uploadcarecommand.js +0 -23
  328. package/src/uploadcareconfig.js +0 -23
  329. package/src/uploadcareediting.js +0 -23
  330. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
  331. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
  332. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
  333. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
  334. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
  335. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
  336. package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
  337. package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
  338. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
  339. package/src/uploadcareimageedit.js +0 -23
  340. package/src/uploadcareui.js +0 -23
  341. package/src/uploadcareuploadadapter.js +0 -23
  342. package/src/utils/common-translations.js +0 -23
  343. package/src/utils/dialogfocusmanagerview.js +0 -23
  344. package/src/utils/editingutils.js +0 -23
  345. package/src/utils/isancestor.js +0 -23
  346. package/src/utils/uploadutils.js +0 -23
  347. package/theme/uploadcare-form.css +0 -201
  348. package/theme/uploadcare-theme.css +0 -20
  349. package/theme/uploadcareimageedit.css +0 -64
@@ -1,100 +0,0 @@
1
- # Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
2
- #
3
- # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
- #
5
- # Check out the official contributor's guide:
6
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
- #
8
- msgid ""
9
- msgstr ""
10
- "Language: zh_TW\n"
11
- "Plural-Forms: nplurals=1; plural=0;\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
-
14
- msgctxt "The label for the insert image with Dropbox dropdown button."
15
- msgid "Insert with Dropbox"
16
- msgstr "使用 Dropbox 插入"
17
-
18
- msgctxt "The label for the replace image with Dropbox dropdown button."
19
- msgid "Replace with Dropbox"
20
- msgstr "使用 Dropbox 替換"
21
-
22
- msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
- msgid "With Dropbox"
24
- msgstr "使用 Dropbox"
25
-
26
- msgctxt "The label for the insert image with Facebook dropdown button."
27
- msgid "Insert with Facebook"
28
- msgstr "使用 Facebook 插入"
29
-
30
- msgctxt "The label for the replace image with Facebook dropdown button."
31
- msgid "Replace with Facebook"
32
- msgstr "插入 Facebook 替換"
33
-
34
- msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
- msgid "With Facebook"
36
- msgstr "使用 Facebook"
37
-
38
- msgctxt "The label for the insert image with Google Drive dropdown button."
39
- msgid "Insert with Google Drive"
40
- msgstr "使用 Google 雲端硬碟插入"
41
-
42
- msgctxt "The label for the replace image with Google Drive dropdown button."
43
- msgid "Replace with Google Drive"
44
- msgstr "使用 Google 雲端硬碟替換"
45
-
46
- msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
- msgid "With Google Drive"
48
- msgstr "使用 Google 雲端硬碟"
49
-
50
- msgctxt "The label for the insert image with Google Photos dropdown button."
51
- msgid "Insert with Google Photos"
52
- msgstr "使用 Google 相簿插入"
53
-
54
- msgctxt "The label for the replace image with Google Photos dropdown button."
55
- msgid "Replace with Google Photos"
56
- msgstr "使用 Google 相簿替換"
57
-
58
- msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
- msgid "With Google Photos"
60
- msgstr "使用 Google 相簿"
61
-
62
- msgctxt "The label for the insert image with OneDrive dropdown button."
63
- msgid "Insert with OneDrive"
64
- msgstr "使用 OneDrive 插入"
65
-
66
- msgctxt "The label for the replace image with OneDrive dropdown button."
67
- msgid "Replace with OneDrive"
68
- msgstr "使用 OneDrive 替換"
69
-
70
- msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
- msgid "With OneDrive"
72
- msgstr "使用 OneDrive"
73
-
74
- msgctxt "The label for the replace image via URL dropdown button."
75
- msgid "Replace via URL"
76
- msgstr "透過 URL 替換"
77
-
78
- msgctxt "The label for the image edit button and dialog."
79
- msgid "Edit Image (Uploadcare)"
80
- msgstr "編輯圖片"
81
-
82
- msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
- msgid "Loading image..."
84
- msgstr "正在載入圖片..."
85
-
86
- msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
- msgid "Unable to load"
88
- msgstr "無法上傳"
89
-
90
- msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
- msgid "We were unable to load the image due to network connection issues."
92
- msgstr "由於網路連線問題,我們無法上傳影像。"
93
-
94
- msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
- msgid "Try again (Uploadcare)"
96
- msgstr "重試"
97
-
98
- msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
- msgid "The image was not found. Its source may have been removed."
100
- msgstr "找不到影像。影像來源可能已移除。"
@@ -1,23 +0,0 @@
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
- export{};
package/src/index.js DELETED
@@ -1,23 +0,0 @@
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 _0x5ccb(_0x562456,_0x3dda2b){var _0x28ed48=_0x28ed();return _0x5ccb=function(_0x5ccb0b,_0x29dffc){_0x5ccb0b=_0x5ccb0b-0x1af;var _0x4f6da5=_0x28ed48[_0x5ccb0b];return _0x4f6da5;},_0x5ccb(_0x562456,_0x3dda2b);}(function(_0x138512,_0x30891e){var _0x1cb809=_0x5ccb,_0x2b2bee=_0x138512();while(!![]){try{var _0x4e0ca6=parseInt(_0x1cb809(0x1b9))/0x1*(-parseInt(_0x1cb809(0x1b1))/0x2)+parseInt(_0x1cb809(0x1b0))/0x3*(parseInt(_0x1cb809(0x1b2))/0x4)+-parseInt(_0x1cb809(0x1af))/0x5*(parseInt(_0x1cb809(0x1b3))/0x6)+-parseInt(_0x1cb809(0x1b4))/0x7+-parseInt(_0x1cb809(0x1b6))/0x8*(-parseInt(_0x1cb809(0x1b8))/0x9)+parseInt(_0x1cb809(0x1b5))/0xa+parseInt(_0x1cb809(0x1b7))/0xb;if(_0x4e0ca6===_0x30891e)break;else _0x2b2bee['push'](_0x2b2bee['shift']());}catch(_0x1981ac){_0x2b2bee['push'](_0x2b2bee['shift']());}}}(_0x28ed,0x6133d));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x28ed(){var _0x545f7c=['2LpekTA','2254636rvsKDi','1739088KDJiPG','1361003FSxrrj','3831790uOvWUx','56DlyHDX','453277gfYwfN','3330BgoUFi','108217JIjYqr','5mCMwPk','3rxkcEX'];_0x28ed=function(){return _0x545f7c;};return _0x28ed();}export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';export{UploadcareUploadAdapter}from'./uploadcareuploadadapter.js';import'./augmentation.js';
@@ -1,24 +0,0 @@
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 _0xca75bb=_0x2413;(function(_0x5884bc,_0x393687){const _0x41e21f=_0x2413,_0x4f0698=_0x5884bc();while(!![]){try{const _0x448c6d=parseInt(_0x41e21f(0xc5))/0x1*(parseInt(_0x41e21f(0xed))/0x2)+-parseInt(_0x41e21f(0xeb))/0x3*(-parseInt(_0x41e21f(0xff))/0x4)+-parseInt(_0x41e21f(0xe0))/0x5*(-parseInt(_0x41e21f(0xc4))/0x6)+parseInt(_0x41e21f(0x10b))/0x7*(-parseInt(_0x41e21f(0xe7))/0x8)+parseInt(_0x41e21f(0xe2))/0x9*(parseInt(_0x41e21f(0xd2))/0xa)+parseInt(_0x41e21f(0x105))/0xb+-parseInt(_0x41e21f(0xc9))/0xc;if(_0x448c6d===_0x393687)break;else _0x4f0698['push'](_0x4f0698['shift']());}catch(_0x575a9d){_0x4f0698['push'](_0x4f0698['shift']());}}}(_0x4f1b,0x217fb));import{IconUploadcareImageUpload as _0x30ccb0}from'ckeditor5/src/icons.js';function _0x2413(_0x3bb68c,_0x31b6b2){const _0x4f1b98=_0x4f1b();return _0x2413=function(_0x241319,_0x5c5775){_0x241319=_0x241319-0xc3;let _0x35555b=_0x4f1b98[_0x241319];return _0x35555b;},_0x2413(_0x3bb68c,_0x31b6b2);}import{ObservableMixin as _0x1bfc31}from'ckeditor5/src/utils.js';import{Dialog as _0x33b0e2,DialogViewPosition as _0x551eeb}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x42133b}from'./uploadcareformview.js';import{UploadcareSource as _0x186595}from'../uploadcareconfig.js';import{getTranslation as _0x51af58}from'../utils/common-translations.js';import{getImageUrls as _0x365e8f,getImageDimension as _0x280f3a}from'../utils/editingutils.js';import{isAncestor as _0x2b8822}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x1bfc31(){[_0xca75bb(0xec)];[_0xca75bb(0x101)];[_0xca75bb(0xf1)];[_0xca75bb(0xe4)];[_0xca75bb(0xd9)]=null;[_0xca75bb(0xef)]=null;constructor(_0x4799bd,_0x23956a,_0x4b15a1){const _0x159ab7=_0xca75bb;super(),this[_0x159ab7(0xec)]=_0x4799bd,this[_0x159ab7(0xf1)]=_0x23956a,this[_0x159ab7(0x101)]=_0x4799bd[_0x159ab7(0xf2)][_0x159ab7(0xfd)](_0x33b0e2),this[_0x159ab7(0xe4)]=_0x23956a[_0x159ab7(0xc6)][_0x159ab7(0xc7)](),this[_0x159ab7(0xd9)]=_0x4b15a1,this[_0x159ab7(0xf1)][_0x159ab7(0xf4)][_0x159ab7(0xfc)](_0x159ab7(0xd7),this[_0x159ab7(0xd9)]),this[_0x159ab7(0x10a)](),this[_0x159ab7(0xd6)](),this[_0x159ab7(0xe4)][_0x159ab7(0xf7)]();}[_0xca75bb(0xdc)](){const _0x2191a1=_0xca75bb;this[_0x2191a1(0xef)]&&(this[_0x2191a1(0xef)][_0x2191a1(0xdc)](),this[_0x2191a1(0xef)]=null),this[_0x2191a1(0xe4)]&&this[_0x2191a1(0xe4)][_0x2191a1(0xd0)](),this[_0x2191a1(0xdf)](),this[_0x2191a1(0xdb)]();}[_0xca75bb(0x10a)](){const _0x259bc2=_0xca75bb,{locale:_0x6b96b1,model:_0x2c9602}=this[_0x259bc2(0xec)],_0x5d5b95=_0x2c9602[_0x259bc2(0xda)][_0x259bc2(0x10d)][_0x259bc2(0xcd)](),_0x308189=_0x5d5b95&&(_0x5d5b95['is'](_0x259bc2(0xcf),_0x259bc2(0xe9))||_0x5d5b95['is'](_0x259bc2(0xcf),_0x259bc2(0x106)));this[_0x259bc2(0xef)]=new _0x42133b(_0x6b96b1,this[_0x259bc2(0xf1)][_0x259bc2(0x100)]),this[_0x259bc2(0x101)][_0x259bc2(0xcc)]({'id':_0x259bc2(0xe3),'icon':_0x30ccb0,'title':_0x51af58(_0x6b96b1,this[_0x259bc2(0xd9)],_0x308189?_0x259bc2(0xfa):_0x259bc2(0x10c))[_0x259bc2(0xce)],'content':this[_0x259bc2(0xef)],'position':_0x551eeb[_0x259bc2(0xca)],'isModal':!0x0,'onShow':()=>{const _0x3133c8=_0x259bc2;this[_0x3133c8(0xef)][_0x3133c8(0xee)]();},'onHide':()=>{const _0x1f7b0d=_0x259bc2;this[_0x1f7b0d(0xe4)][_0x1f7b0d(0xf8)](),this[_0x1f7b0d(0xec)][_0x1f7b0d(0x102)][_0x1f7b0d(0xd3)][_0x1f7b0d(0xee)](),this[_0x1f7b0d(0xdc)]();},'keystrokeHandlerOptions':{'filter':_0xd9c671=>!_0x2b8822(_0xd9c671,this[_0x259bc2(0xef)][_0x259bc2(0xcf)])}});}[_0xca75bb(0xd6)](){const _0x3b73c4=_0xca75bb;this[_0x3b73c4(0xf1)][_0x3b73c4(0xc6)][_0x3b73c4(0x104)](_0x3b73c4(0xfe),()=>{const _0x32d563=_0x3b73c4,{allEntries:_0xeeaee}=this[_0x32d563(0xe4)][_0x32d563(0xf9)]();this[_0x32d563(0xec)][_0x32d563(0xd5)][_0x32d563(0xd1)](_0x4dd960=>{const _0x46d56d=_0x32d563,_0x173c0f=_0xeeaee[_0x46d56d(0x103)];for(const _0x58ecd3 of _0xeeaee){const _0x4828b8=_0x58ecd3===_0xeeaee[_0x173c0f-0x1],{cdnUrl:_0x47c905,fileInfo:_0x86960a}=_0x58ecd3;if(!_0x47c905||!_0x86960a)continue;const {width:_0x31c0c7,height:_0x5415bf}=_0x86960a[_0x46d56d(0xc8)],_0x18865a=_0x280f3a(_0x47c905,_0x31c0c7,_0x5415bf),_0x3eff1f=_0x365e8f(_0x47c905,_0x18865a[_0x46d56d(0xf5)]),_0x333bf6={'id':_0x86960a[_0x46d56d(0xf6)],'type':_0x46d56d(0xde),'attributes':{'imageDimension':_0x18865a,..._0x3eff1f}};this[_0x46d56d(0xd4)](_0x333bf6,_0x4828b8,_0x4dd960);}}),this[_0x32d563(0x101)][_0x32d563(0xd8)]();}),this[_0x3b73c4(0xf1)][_0x3b73c4(0xc6)][_0x3b73c4(0x104)](_0x3b73c4(0xd1),_0x3c6a67=>{const _0x1e33ae=_0x3b73c4;_0x1e33ae(0xe5)===_0x3c6a67[_0x1e33ae(0xfb)][_0x1e33ae(0xdd)]&&!_0x3c6a67[_0x1e33ae(0xfb)][_0x1e33ae(0xc3)][_0x1e33ae(0x103)]&&this[_0x1e33ae(0x101)][_0x1e33ae(0x109)]&&(this[_0x1e33ae(0xd9)]===_0x186595[_0x1e33ae(0x10e)]?this[_0x1e33ae(0xe4)][_0x1e33ae(0xe1)](_0x186595[_0x1e33ae(0x10e)]):this[_0x1e33ae(0xe4)][_0x1e33ae(0xf7)]());});}[_0xca75bb(0xd4)](_0x59f503,_0x794b97,_0x180e7d){const _0x469b6f=_0xca75bb,_0x1be41c=this[_0x469b6f(0xec)][_0x469b6f(0xd5)][_0x469b6f(0xda)][_0x469b6f(0x10d)],_0x5cca88=_0x1be41c[_0x469b6f(0xcd)](),_0x1f298a=!(!_0x5cca88||!_0x5cca88['is'](_0x469b6f(0xcf),_0x469b6f(0x106)));_0x180e7d[_0x469b6f(0xcb)](_0x469b6f(0xe6)),this[_0x469b6f(0xf0)](_0x59f503,_0x1f298a),_0x794b97||_0x180e7d[_0x469b6f(0xea)](_0x1be41c[_0x469b6f(0x107)]());}[_0xca75bb(0xf0)](_0xcfe7a6,_0x20d60e){const _0x137923=_0xca75bb,_0x276253=this[_0x137923(0xec)],{imageDimension:_0x414a2a,imageFallbackUrl:_0x26d34f,imageSources:_0xfe5ad4}=_0xcfe7a6[_0x137923(0xf3)];_0x276253[_0x137923(0xe8)](_0x137923(0x108),{'imageType':_0x20d60e?_0x137923(0x106):null,'source':{'uploadcareImageId':_0xcfe7a6['id'],'src':_0x26d34f,'sources':_0xfe5ad4,..._0x414a2a}});}}function _0x4f1b(){const _0x1b35a2=['addEventListener','2816209QmfODW','imageInline','getLastPosition','insertImage','isOpen','_initDialog','26138vlemAf','Insert','selection','Local','allEntries','28002vMFrGO','2jlkIio','ctxElement','getAPI','imageInfo','10849092gSdGAG','EDITOR_TOP_CENTER','removeSelectionAttribute','show','getSelectedElement','text','element','doneFlow','change','2299550DnmENZ','view','_insertAsset','model','_initListeners','source-list','hide','_type','document','stopDelegating','destroy','status','image','stopListening','215qhJgjf','setCurrentActivity','9rNgrHc','uploadCare','_api','idle','linkHref','176SIgchn','execute','imageBlock','setSelection','129TmPecz','_editor','263548UeVNnZ','focus','_formView','_insertImage','_editing','plugins','attributes','configElement','width','uuid','initFlow','removeAllFiles','getOutputCollectionState','Replace','detail','setAttribute','get','done-click','16116ugFaBB','ucContextId','_dialog','editing','length'];_0x4f1b=function(){return _0x1b35a2;};return _0x4f1b();}
@@ -1,23 +0,0 @@
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 _0x5dbe93=_0x5975;(function(_0x5897cf,_0x456e72){var _0x1ddf46=_0x5975,_0x3b2bac=_0x5897cf();while(!![]){try{var _0x5a197b=-parseInt(_0x1ddf46(0x1e9))/0x1+parseInt(_0x1ddf46(0x1ed))/0x2*(parseInt(_0x1ddf46(0x1f9))/0x3)+parseInt(_0x1ddf46(0x1f2))/0x4+parseInt(_0x1ddf46(0x1f0))/0x5+parseInt(_0x1ddf46(0x1eb))/0x6+-parseInt(_0x1ddf46(0x1ee))/0x7+parseInt(_0x1ddf46(0x1ea))/0x8;if(_0x5a197b===_0x456e72)break;else _0x3b2bac['push'](_0x3b2bac['shift']());}catch(_0x1ed6d5){_0x3b2bac['push'](_0x3b2bac['shift']());}}}(_0x1785,0x84aae));function _0x1785(){var _0x24136a=['uc-light','2823910bObFHn','getFocusableElement','1678108pnJFji','ck-uploadcare-theme','uploader-','element','ck-uploadcare-form','uc-file-uploader-inline','div','584553gqTHvq','setTemplate','focus','597609FsHCCN','5660568xLFoat','1426794sZXpLB','ck-reset_all-excluded','2SlyWND','6884605CYMfLe'];_0x1785=function(){return _0x24136a;};return _0x1785();}import{DialogFocusManagerView as _0x4e8112}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x5975(_0x2ab6df,_0xe2066b){var _0x178589=_0x1785();return _0x5975=function(_0x5975e8,_0x40ca5b){_0x5975e8=_0x5975e8-0x1e7;var _0x48aaf6=_0x178589[_0x5975e8];return _0x48aaf6;},_0x5975(_0x2ab6df,_0xe2066b);}export class UploadcareFormView extends _0x4e8112{constructor(_0x4175f3,_0x2e0932){var _0x1d9cc1=_0x5975;super(_0x4175f3),this[_0x1d9cc1(0x1e7)]({'tag':_0x1d9cc1(0x1f8),'attributes':{'class':['ck',_0x1d9cc1(0x1ec),_0x1d9cc1(0x1f6)],'tabindex':'-1'},'children':[{'tag':_0x1d9cc1(0x1f7),'attributes':{'class':[_0x1d9cc1(0x1ef),_0x1d9cc1(0x1f3)],'ctx-name':_0x1d9cc1(0x1f4)+_0x2e0932}},this[_0x1d9cc1(0x1f1)]()]});}[_0x5dbe93(0x1e8)](){var _0x10babf=_0x5dbe93;this[_0x10babf(0x1f5)][_0x10babf(0x1e8)]();}}
package/src/uploadcare.js DELETED
@@ -1,23 +0,0 @@
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 _0x5663de=_0x2c74;(function(_0x5cb422,_0x44daef){const _0x246c26=_0x2c74,_0x36551e=_0x5cb422();while(!![]){try{const _0x115e18=parseInt(_0x246c26(0xeb))/0x1+parseInt(_0x246c26(0xdb))/0x2+parseInt(_0x246c26(0xd0))/0x3*(-parseInt(_0x246c26(0xe7))/0x4)+parseInt(_0x246c26(0xe0))/0x5+parseInt(_0x246c26(0xd6))/0x6*(-parseInt(_0x246c26(0xe9))/0x7)+-parseInt(_0x246c26(0xdd))/0x8*(parseInt(_0x246c26(0xdc))/0x9)+parseInt(_0x246c26(0xe8))/0xa*(-parseInt(_0x246c26(0xd7))/0xb);if(_0x115e18===_0x44daef)break;else _0x36551e['push'](_0x36551e['shift']());}catch(_0x21539b){_0x36551e['push'](_0x36551e['shift']());}}}(_0x1b8a,0x1a5e5));function _0x2c74(_0x5a7d06,_0x48cf85){const _0x1b8af7=_0x1b8a();return _0x2c74=function(_0x2c7440,_0x216eb0){_0x2c7440=_0x2c7440-0xd0;let _0x2b48c3=_0x1b8af7[_0x2c7440];return _0x2b48c3;},_0x2c74(_0x5a7d06,_0x48cf85);}import{Plugin as _0x3e727f}from'ckeditor5/src/core.js';import{UploadcareUI as _0x82df1c}from'./uploadcareui.js';import{UploadcareEditing as _0x1cb033}from'./uploadcareediting.js';import{UploadcareSource as _0x3fe9b8}from'./uploadcareconfig.js';function _0x1b8a(){const _0x4aaf4b=['234MNIlkr','locale','Local','requires','URL','_defineLocale','6558AdzwYP','278322HZQHoy','uploadcare.uploader.sourceList','config','contentLanguage','415282jnDsOJ','78741JOgQOv','16pppVlv','Uploadcare','editor','271470KcbjzP','get','pluginName','isOfficialPlugin','defineComponents','isPremiumPlugin','uploadcare.locale','1516rVfWZc','10AhiZSW','1211ZZcveh','define','107521zfzUAv','defineLocale'];_0x1b8a=function(){return _0x4aaf4b;};return _0x1b8a();}import*as _0x22eba6 from'@uploadcare/file-uploader';export class Uploadcare extends _0x3e727f{static get[_0x5663de(0xd3)](){return[_0x1cb033,_0x82df1c];}static get[_0x5663de(0xe2)](){const _0x5702fb=_0x5663de;return _0x5702fb(0xde);}static get[_0x5663de(0xe3)](){return!0x0;}static get[_0x5663de(0xe5)](){return!0x0;}constructor(_0x1b09b5){const _0x3c7d40=_0x5663de;super(_0x1b09b5),_0x1b09b5[_0x3c7d40(0xd9)][_0x3c7d40(0xea)](_0x3c7d40(0xd8),[_0x3fe9b8[_0x3c7d40(0xd2)],_0x3fe9b8[_0x3c7d40(0xd4)]]),_0x22eba6[_0x3c7d40(0xe4)](_0x22eba6),this[_0x3c7d40(0xd5)]();}[_0x5663de(0xd5)](){const _0x240497=_0x5663de,_0x16974f=this[_0x240497(0xdf)][_0x240497(0xd9)][_0x240497(0xe1)](_0x240497(0xe6)),_0x4ac1a6=this[_0x240497(0xdf)][_0x240497(0xd1)][_0x240497(0xda)];_0x16974f&&_0x22eba6[_0x240497(0xec)](_0x4ac1a6,_0x16974f);}}
@@ -1,23 +0,0 @@
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 _0x469477=_0x452b;(function(_0x52863c,_0x3691b8){var _0x33b790=_0x452b,_0x413d89=_0x52863c();while(!![]){try{var _0x58b641=-parseInt(_0x33b790(0x17a))/0x1+parseInt(_0x33b790(0x165))/0x2*(-parseInt(_0x33b790(0x170))/0x3)+parseInt(_0x33b790(0x174))/0x4*(-parseInt(_0x33b790(0x16e))/0x5)+parseInt(_0x33b790(0x172))/0x6*(parseInt(_0x33b790(0x177))/0x7)+-parseInt(_0x33b790(0x16f))/0x8*(parseInt(_0x33b790(0x169))/0x9)+parseInt(_0x33b790(0x173))/0xa*(-parseInt(_0x33b790(0x171))/0xb)+parseInt(_0x33b790(0x17b))/0xc;if(_0x58b641===_0x3691b8)break;else _0x413d89['push'](_0x413d89['shift']());}catch(_0x58e1ea){_0x413d89['push'](_0x413d89['shift']());}}}(_0x17b1,0x78ae6));import{Command as _0x4b08c5}from'ckeditor5/src/core.js';import{Dialog as _0x36355e}from'ckeditor5/src/ui.js';function _0x17b1(){var _0x2a73ba=['requires','225BVGffc','_controller','_checkEnabled','get','_editing','143250FbuaBS','234488SRZqML','935574JCNAiR','33MgMsvE','894jQLHRs','2729210SUkMzS','28pHlRcp','isEnabled','destroy','25613oBHqjV','refresh','plugins','708239RPxdjo','32655648cMVCSE','insertImage','editor','2PXjFCo','commands','execute'];_0x17b1=function(){return _0x2a73ba;};return _0x17b1();}import{UploadcareEditing as _0x356fd6}from'./uploadcareediting.js';import{UploadcareController as _0xb0485a}from'./ui/uploadcarecontroller.js';function _0x452b(_0x113191,_0x2ea4c5){var _0x17b1eb=_0x17b1();return _0x452b=function(_0x452b32,_0xbee04b){_0x452b32=_0x452b32-0x165;var _0x24640a=_0x17b1eb[_0x452b32];return _0x24640a;},_0x452b(_0x113191,_0x2ea4c5);}export class UploadcareCommand extends _0x4b08c5{[_0x469477(0x16d)];[_0x469477(0x16a)]=null;static get[_0x469477(0x168)](){return[_0x36355e,_0x356fd6];}constructor(_0x389155){var _0x22b2a2=_0x469477;super(_0x389155),this[_0x22b2a2(0x16d)]=_0x389155[_0x22b2a2(0x179)][_0x22b2a2(0x16c)](_0x356fd6);}[_0x469477(0x178)](){var _0x38a66c=_0x469477;this[_0x38a66c(0x175)]=this[_0x38a66c(0x16b)]();}[_0x469477(0x167)](_0x2bc22f){var _0x2e76c2=_0x469477;this[_0x2e76c2(0x16a)]&&(this[_0x2e76c2(0x16a)][_0x2e76c2(0x176)](),this[_0x2e76c2(0x16a)]=null),this[_0x2e76c2(0x16a)]=new _0xb0485a(this[_0x2e76c2(0x17d)],this[_0x2e76c2(0x16d)],_0x2bc22f);}[_0x469477(0x16b)](){var _0xbbbe47=_0x469477;return this[_0xbbbe47(0x17d)][_0xbbbe47(0x166)][_0xbbbe47(0x16c)](_0xbbbe47(0x17c))[_0xbbbe47(0x175)];}}
@@ -1,23 +0,0 @@
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(_0x44dc6d,_0x2e5669){var _0x3c4581=_0x835e,_0x3771d6=_0x44dc6d();while(!![]){try{var _0x5197a7=parseInt(_0x3c4581(0x16b))/0x1+-parseInt(_0x3c4581(0x160))/0x2+parseInt(_0x3c4581(0x169))/0x3*(parseInt(_0x3c4581(0x166))/0x4)+parseInt(_0x3c4581(0x168))/0x5+parseInt(_0x3c4581(0x156))/0x6+-parseInt(_0x3c4581(0x155))/0x7*(-parseInt(_0x3c4581(0x158))/0x8)+parseInt(_0x3c4581(0x162))/0x9*(-parseInt(_0x3c4581(0x161))/0xa);if(_0x5197a7===_0x2e5669)break;else _0x3771d6['push'](_0x3771d6['shift']());}catch(_0x42ef1f){_0x3771d6['push'](_0x3771d6['shift']());}}}(_0x1f0d,0xe1380));function _0x1f0d(){var _0x38f140=['3127256ZSiLXJ','GDrive','Facebook','local','facebook','gdrive','GPhotos','URL','1768548mROBve','1480eplimz','232731uQjzoo','OneDrive','dropbox','url','32EpUSMC','Local','6325740hSTVLy','528549WzTiJQ','onedrive','143935wMCzSW','gphotos','28XHnSVy','7510362jIQBVw','Dropbox'];_0x1f0d=function(){return _0x38f140;};return _0x1f0d();}function _0x835e(_0x3b7b34,_0x4305d9){var _0x1f0de6=_0x1f0d();return _0x835e=function(_0x835e90,_0x4ef4d0){_0x835e90=_0x835e90-0x154;var _0x450268=_0x1f0de6[_0x835e90];return _0x450268;},_0x835e(_0x3b7b34,_0x4305d9);}export var UploadcareSource;!function(_0x152d63){var _0x404cec=_0x835e;_0x152d63[_0x404cec(0x167)]=_0x404cec(0x15b),_0x152d63[_0x404cec(0x15f)]=_0x404cec(0x165),_0x152d63[_0x404cec(0x157)]=_0x404cec(0x164),_0x152d63[_0x404cec(0x159)]=_0x404cec(0x15d),_0x152d63[_0x404cec(0x15a)]=_0x404cec(0x15c),_0x152d63[_0x404cec(0x15e)]=_0x404cec(0x154),_0x152d63[_0x404cec(0x163)]=_0x404cec(0x16a);}(UploadcareSource||(UploadcareSource={}));
@@ -1,23 +0,0 @@
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 _0x234e1e=_0x2c40;(function(_0x2d4eb2,_0x257aa3){const _0xc5aecb=_0x2c40,_0x3623d9=_0x2d4eb2();while(!![]){try{const _0x517236=parseInt(_0xc5aecb(0x243))/0x1+-parseInt(_0xc5aecb(0x247))/0x2*(-parseInt(_0xc5aecb(0x21f))/0x3)+parseInt(_0xc5aecb(0x20f))/0x4+parseInt(_0xc5aecb(0x21b))/0x5*(parseInt(_0xc5aecb(0x1fb))/0x6)+parseInt(_0xc5aecb(0x22a))/0x7+parseInt(_0xc5aecb(0x223))/0x8*(parseInt(_0xc5aecb(0x206))/0x9)+-parseInt(_0xc5aecb(0x234))/0xa;if(_0x517236===_0x257aa3)break;else _0x3623d9['push'](_0x3623d9['shift']());}catch(_0x50e477){_0x3623d9['push'](_0x3623d9['shift']());}}}(_0x11fc,0xe8c8b));function _0x11fc(){const _0x10c0a2=['get','document','ctxElement','5660676FAmLCj','downcast','destroy','model','uploadcare','commands','querySelector','uploadcare.uploader','init','remove','isPremiumPlugin','ucContextId','20ZYrRpi','execute','fromCharCode','_initConfig','4192473IOmlVS','contentLanguage','uc-config','_configElement','77120QSYxIA','for','_initImageProcessingIndicator','getSelectedElement','extend','_ctxElement','data-uc-image-id','12181295pSWDsD','_initSchema','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','join','body','uc-upload-ctx-provider','insertImage','getAttribute','PictureEditing','attributeToAttribute','66641370MqLnrs','pluginName','imageInline','#uc-icon-arrow-down','isRegistered','configElement','map','imageBlock','removeAttribute','view','closeMax','uploadcare.pubkey','conversion','requires','schema','1219275aVIczB','_initConversion','true','listenTo','2JUSmEE','upcast','uploadcareImageId','editor','appendChild','once','selection','add','uploadcareImageReplace','1712670jKVyRR','elementToAttribute','UploadcareEditing','_initCtx','locale','cleanupImage','editing','iconHrefResolver','afterInit','render','replaceImageSource','657WRmqgf','config','uploader-','input[uploadcare-file-input]','isOfficialPlugin','href'];_0x11fc=function(){return _0x10c0a2;};return _0x11fc();}import{Plugin as _0x24eab6}from'ckeditor5/src/core.js';import{Dialog as _0x1a9713}from'ckeditor5/src/ui.js';import{createElement as _0x4eefc2,global as _0x2b6193,uid as _0x4be08a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x23ebf8}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x578a72}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbdd91f}from'./utils/editingutils.js';function _0x2c40(_0x3cfbdc,_0x57d038){const _0x11fc86=_0x11fc();return _0x2c40=function(_0x2c4021,_0x439046){_0x2c4021=_0x2c4021-0x1f3;let _0x496160=_0x11fc86[_0x2c4021];return _0x496160;},_0x2c40(_0x3cfbdc,_0x57d038);}export class UploadcareEditing extends _0x24eab6{[_0x234e1e(0x222)]=null;[_0x234e1e(0x228)]=null;static get[_0x234e1e(0x235)](){const _0x7b79be=_0x234e1e;return _0x7b79be(0x1fd);}static get[_0x234e1e(0x241)](){const _0x461218=_0x234e1e;return[_0x461218(0x232),_0x578a72,_0x1a9713];}static get[_0x234e1e(0x20a)](){return!0x0;}static get[_0x234e1e(0x219)](){return!0x0;}[_0x234e1e(0x21a)];get[_0x234e1e(0x239)](){const _0x925f06=_0x234e1e;return this[_0x925f06(0x222)];}get[_0x234e1e(0x20e)](){const _0x293353=_0x234e1e;return this[_0x293353(0x228)];}constructor(_0x5e2d5c){const _0x3738cd=_0x234e1e;super(_0x5e2d5c),this[_0x3738cd(0x21a)]=_0x4be08a();}[_0x234e1e(0x217)](){const _0x4d9a9a=_0x234e1e,_0x41d3a7=this[_0x4d9a9a(0x1f5)];_0x41d3a7[_0x4d9a9a(0x214)][_0x4d9a9a(0x1f9)](_0x4d9a9a(0x213),new _0x23ebf8(_0x41d3a7));}[_0x234e1e(0x203)](){const _0x5a67ad=_0x234e1e;this[_0x5a67ad(0x22b)](),this[_0x5a67ad(0x244)](),this[_0x5a67ad(0x21e)](),this[_0x5a67ad(0x1fe)](),this[_0x5a67ad(0x225)](),this[_0x5a67ad(0x246)](this[_0x5a67ad(0x1f5)],_0x5a67ad(0x211),()=>{const _0x8a9a95=_0x5a67ad;this[_0x8a9a95(0x222)]&&(this[_0x8a9a95(0x222)][_0x8a9a95(0x218)](),this[_0x8a9a95(0x222)]=null),this[_0x8a9a95(0x228)]&&(this[_0x8a9a95(0x228)][_0x8a9a95(0x218)](),this[_0x8a9a95(0x228)]=null);const _0x32db82=_0x2b6193[_0x8a9a95(0x20d)][_0x8a9a95(0x215)](_0x8a9a95(0x209));_0x32db82&&_0x32db82[_0x8a9a95(0x218)]();}),async function(_0x4b1b37){const _0x2f9be2=_0x13d60e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5d478f=0x535f8c3a,_0x51163a=0x5358f2da^_0x5d478f,_0x3dcba6=window[_0x13d60e([0x44,0x61,0x74,0x65])][_0x13d60e([0x6e,0x6f,0x77])](),_0x570ae9=_0x4b1b37[_0x13d60e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4319ed=new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa954=>{_0x570ae9[_0x13d60e([0x6f,0x6e,0x63,0x65])](_0x13d60e([0x72,0x65,0x61,0x64,0x79]),_0x2aa954);}),_0x305a7a={[_0x13d60e([0x6b,0x74,0x79])]:_0x13d60e([0x45,0x43]),[_0x13d60e([0x75,0x73,0x65])]:_0x13d60e([0x73,0x69,0x67]),[_0x13d60e([0x63,0x72,0x76])]:_0x13d60e([0x50,0x2d,0x32,0x35,0x36]),[_0x13d60e([0x78])]:_0x13d60e([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]),[_0x13d60e([0x79])]:_0x13d60e([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]),[_0x13d60e([0x61,0x6c,0x67])]:_0x13d60e([0x45,0x53,0x32,0x35,0x36])},_0x58f936=_0x570ae9[_0x13d60e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13d60e([0x67,0x65,0x74])](_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31f502(){let _0x5a31f,_0xa32cde=null,_0x1a6a8f=null;try{if(_0x58f936==_0x13d60e([0x47,0x50,0x4c]))return _0x13d60e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a31f=_0x3cc5d4(),!_0x5a31f)return _0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a31f[_0x13d60e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a6a8f=_0xd55745(_0x5a31f[_0x13d60e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a31f[_0x13d60e([0x6a,0x74,0x69])])),await _0x1819ca()?_0x385f9c()?_0x239c02()?_0x13d60e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x99b395()?(_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13d60e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa32cde=_0x238cbb(_0x13d60e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29b6b9()):_0x13d60e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13d60e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x239c02(){const _0x250f02=[_0x13d60e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13d60e([0x74,0x72,0x69,0x61,0x6c])][_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dcba6/0x3e8:0xe10*_0x51163a;return _0x5a31f[_0x13d60e([0x65,0x78,0x70])]<_0x250f02;}function _0x385f9c(){const _0x1e37f0=_0x5a31f[_0x13d60e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e37f0&&(!!_0x1e37f0[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x2a]))||!!_0x1e37f0[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x55,0x50,0x4c,0x43])));}function _0x99b395(){const _0x51c759=_0x2c40,_0x165e36=_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x165e36||0x0==_0x165e36[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x181c07}=new URL(window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51c759(0x20b)]);if(_0x165e36[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x181c07))return!0x0;const _0x8f79e4=_0x181c07[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e]));return _0x165e36[_0x13d60e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x905cdb=>_0x905cdb[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x2a])))[_0x13d60e([0x6d,0x61,0x70])](_0x58c68f=>_0x58c68f[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e])))[_0x13d60e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x447ec3=>_0x447ec3[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8f79e4[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d60e([0x6d,0x61,0x70])](_0x4ba86f=>Array(_0x8f79e4[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ba86f[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d60e([0x66,0x69,0x6c,0x6c])](_0x4ba86f[0x0]===_0x13d60e([0x2a])?_0x13d60e([0x2a]):'')[_0x13d60e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ba86f))[_0x13d60e([0x73,0x6f,0x6d,0x65])](_0xbc8e62=>_0x8f79e4[_0x13d60e([0x65,0x76,0x65,0x72,0x79])]((_0x4eb92f,_0x37bb41)=>_0xbc8e62[_0x37bb41]===_0x4eb92f||_0xbc8e62[_0x37bb41]===_0x13d60e([0x2a])));}function _0x29b6b9(){return _0xa32cde&&_0x1a6a8f?new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4298a3,_0x20713b)=>{_0xa32cde[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x4298a3,_0x20713b),_0x1a6a8f[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x420913=>{_0x420913!=_0x13d60e([0x56,0x61,0x6c,0x69,0x64])&&_0x4298a3(_0x420913);},_0x20713b);}):_0xa32cde||_0x1a6a8f||_0x13d60e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd55745(_0x3ba510,_0x35201b){return new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4deff8=>{if(_0x105e0c())return _0x4deff8(_0x13d60e([0x56,0x61,0x6c,0x69,0x64]));_0x3b8248(),_0x570ae9[_0x13d60e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ab3cb=!0x1;const _0x391a90=_0x4be08a();function _0x952f2b(_0x221a61){return!!_0x221a61&&(typeof _0x221a61===_0x13d60e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x221a61===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x221a61[_0x13d60e([0x74,0x68,0x65,0x6e])]===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x221a61[_0x13d60e([0x63,0x61,0x74,0x63,0x68])]===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f45fc(_0x1df513){_0x1ac796(_0x1df513)[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x3d789b=>{if(!_0x3d789b||_0x3d789b[_0x13d60e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13d60e([0x6f,0x6b]))return _0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cbb7e(_0x4b2645(_0x391a90+_0x35201b))!=_0x3d789b[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13d60e([0x56,0x61,0x6c,0x69,0x64]);})[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x11639a=>(_0x3d47b4(),_0x11639a),()=>{const _0x339416=_0x38d4c1();return null==_0x339416?(_0x3d47b4(),_0x13d60e([0x56,0x61,0x6c,0x69,0x64])):_0x13d60e(_0x3dcba6-_0x339416>(0x7753083a^_0x5d478f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x4deff8)[_0x13d60e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e9a99=0x536962ba^_0x5d478f;function _0x3d47b4(){const _0x4f0e2f=_0x13d60e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cbb7e(_0x4b2645(_0x3ba510)),_0x361a75=_0x547da1(_0x5cbb7e(window[_0x13d60e([0x4d,0x61,0x74,0x68])][_0x13d60e([0x63,0x65,0x69,0x6c])](_0x3dcba6/_0x2e9a99)));window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d60e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f0e2f,_0x361a75);}function _0x38d4c1(){const _0x14498d=_0x13d60e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cbb7e(_0x4b2645(_0x3ba510)),_0x2840cc=window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d60e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14498d);return _0x2840cc?window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547da1(_0x2840cc),0x10)*_0x2e9a99:null;}function _0x1ac796(_0x229468){return new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x290b5c,_0x4e018b)=>{_0x229468[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x290b5c,_0x4e018b),window[_0x13d60e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e018b,0x535e58fa^_0x5d478f);});}}_0x570ae9[_0x13d60e([0x6f,0x6e])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x401679,_0x1b1f92)=>{if(_0x1b1f92[0x0]!=_0x3ba510)return _0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b1f92[0x1]={..._0x1b1f92[0x1],[_0x13d60e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x391a90};},{[_0x13d60e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d60e([0x68,0x69,0x67,0x68])}),_0x570ae9[_0x13d60e([0x6f,0x6e])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6d139a=>{_0x952f2b(_0x6d139a[_0x13d60e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ab3cb=!0x0,_0x4f45fc(_0x6d139a[_0x13d60e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13d60e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d60e([0x6c,0x6f,0x77])}),_0x4319ed[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>{_0x3ab3cb||_0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x105e0c(){return _0x570ae9[_0x13d60e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d60e([0x76,0x69,0x65,0x77])][_0x13d60e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13d60e([0x61,0x75,0x74,0x6f]);}function _0x3b8248(){_0x570ae9[_0x13d60e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d60e([0x76,0x69,0x65,0x77])][_0x13d60e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13d60e([0x61,0x75,0x74,0x6f]);}}function _0x238cbb(_0x5956f4){const _0x20a124=[new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4eb5=>setTimeout(_0x1d4eb5,0x5356b2f6^_0x5d478f)),_0x4319ed[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54d09b=>{let _0xee59fe=0x0;_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x6f,0x6e])](_0x13d60e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51d5f5,_0x2b9ce4)=>{_0x2b9ce4[0x0][_0x13d60e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee59fe++,_0xee59fe==(0x535f89d2^_0x5d478f)&&(_0x54d09b(),_0x51d5f5[_0x13d60e([0x6f,0x66,0x66])]());});}))];return window[_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13d60e([0x72,0x61,0x63,0x65])](_0x20a124)[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>_0x5956f4);}async function _0x5d1165(){await _0x4319ed,_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55cc5c,_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55cc5c,_0x570ae9[_0x13d60e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x358b01(_0x30341c){const _0x49698f=_0x2b31c8();_0x570ae9[_0x49698f]=_0x13d60e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30341c,_0x30341c!=_0x13d60e([0x56,0x61,0x6c,0x69,0x64])&&_0x5d1165();}function _0x2b31c8(){const _0x28464c=window[_0x13d60e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13d60e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13d60e([0x6e,0x6f,0x77])]())[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13d60e([0x2e]),'');let _0x1b6aeb=_0x13d60e([0x68]);for(let _0x27dd28=0x0;_0x27dd28<_0x28464c[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27dd28+=0x2){let _0x3963c4=window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28464c[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27dd28,_0x27dd28+0x2));_0x3963c4>=_0x2f9be2[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3963c4-=_0x2f9be2[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b6aeb+=_0x2f9be2[_0x3963c4];}return _0x1b6aeb;}function _0x3cc5d4(){const _0x104390=_0x58f936[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e]));if(0x3!=_0x104390[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31e81b(_0x104390[0x1]);function _0x31e81b(_0x13a6b6){const _0x35490c=_0x403272(_0x13a6b6);return _0x35490c&&_0x2ebbd1()?_0x35490c:null;function _0x2ebbd1(){const _0x4c05fb=_0x35490c[_0x13d60e([0x6a,0x74,0x69])],_0x5d14e6=window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c05fb[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c05fb[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20b46a={..._0x35490c,[_0x13d60e([0x6a,0x74,0x69])]:_0x4c05fb[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c05fb[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20b46a[_0x13d60e([0x76,0x63])],_0x4b2645(_0x20b46a)==_0x5d14e6;}}}async function _0x1819ca(){let _0x2ea068=!0x0;try{const _0x34e101=_0x58f936[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e])),[_0x52478a,_0x32819d,_0x1c5d17]=_0x34e101;return _0x5a7eb0(_0x52478a),await _0x341b8f(_0x52478a,_0x32819d,_0x1c5d17),_0x2ea068;}catch{return!0x1;}function _0x5a7eb0(_0x52ca99){const _0x168d20=_0x403272(_0x52ca99);_0x168d20&&_0x168d20[_0x13d60e([0x61,0x6c,0x67])]==_0x13d60e([0x45,0x53,0x32,0x35,0x36])||(_0x2ea068=!0x1);}async function _0x341b8f(_0xaa078b,_0x225943,_0x2d7700){const _0x537edf=window[_0x13d60e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13d60e([0x66,0x72,0x6f,0x6d])](_0x44f926(_0x2d7700),_0x1e3b22=>_0x1e3b22[_0x13d60e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x176cb9=new window[(_0x13d60e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13d60e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaa078b+_0x13d60e([0x2e])+_0x225943),_0x43c044=window[_0x13d60e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13d60e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43c044)return;const _0x15f187=await _0x43c044[_0x13d60e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13d60e([0x6a,0x77,0x6b]),_0x305a7a,{[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x45,0x43,0x44,0x53,0x41]),[_0x13d60e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13d60e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43c044[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x45,0x43,0x44,0x53,0x41]),[_0x13d60e([0x68,0x61,0x73,0x68])]:{[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15f187,_0x537edf,_0x176cb9)||(_0x2ea068=!0x1);}}function _0x403272(_0x104cf1){return _0x104cf1[_0x13d60e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13d60e([0x65,0x79]))?JSON[_0x13d60e([0x70,0x61,0x72,0x73,0x65])](_0x44f926(_0x104cf1)):null;}function _0x44f926(_0x55e79a){return window[_0x13d60e([0x61,0x74,0x6f,0x62])](_0x55e79a[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13d60e([0x2b]))[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13d60e([0x2f])));}function _0x4b2645(_0x6ce3e7){let _0x2e35ef=0x1505;function _0x204786(_0x3ae2e8){for(let _0x131304=0x0;_0x131304<_0x3ae2e8[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131304++){const _0x1456f=_0x3ae2e8[_0x13d60e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x131304);_0x2e35ef=(_0x2e35ef<<0x5)+_0x2e35ef+_0x1456f,_0x2e35ef&=_0x2e35ef;}}function _0x3a7e7b(_0x4d056c){Array[_0x13d60e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d056c)?_0x4d056c[_0x13d60e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a7e7b):_0x4d056c&&typeof _0x4d056c==_0x13d60e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13d60e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d056c)[_0x13d60e([0x73,0x6f,0x72,0x74])]()[_0x13d60e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x546212,_0x222b58])=>{_0x204786(_0x546212),_0x3a7e7b(_0x222b58);}):_0x204786(window[_0x13d60e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d056c));}return _0x3a7e7b(_0x6ce3e7),_0x2e35ef>>>0x0;}function _0x5cbb7e(_0x581d48){return _0x581d48[_0x13d60e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13d60e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13d60e([0x30]));}function _0x547da1(_0x140430){return _0x140430[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13d60e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13d60e([0x6a,0x6f,0x69,0x6e])]('');}function _0x55cc5c(){}function _0x13d60e(_0x7687c9){const _0x4eb30a=_0x2c40;return _0x7687c9[_0x4eb30a(0x23a)](_0x11c7b3=>String[_0x4eb30a(0x21d)](_0x11c7b3))[_0x4eb30a(0x22d)]('');}_0x358b01(await _0x31f502());}(this);}[_0x234e1e(0x22b)](){const _0x183c12=_0x234e1e,_0x4733cf=this[_0x183c12(0x1f5)][_0x183c12(0x212)][_0x183c12(0x242)];_0x4733cf[_0x183c12(0x238)](_0x183c12(0x23b))&&_0x4733cf[_0x183c12(0x227)](_0x183c12(0x23b),{'allowAttributes':[_0x183c12(0x1f4)]}),_0x4733cf[_0x183c12(0x238)](_0x183c12(0x236))&&_0x4733cf[_0x183c12(0x227)](_0x183c12(0x236),{'allowAttributes':[_0x183c12(0x1f4)]});}[_0x234e1e(0x244)](){const _0x46714e=_0x234e1e,_0x52a3ac=this[_0x46714e(0x1f5)];_0x52a3ac[_0x46714e(0x240)][_0x46714e(0x224)](_0x46714e(0x210))[_0x46714e(0x233)]({'model':_0x46714e(0x1f4),'view':_0x46714e(0x229)}),_0x52a3ac[_0x46714e(0x240)][_0x46714e(0x224)](_0x46714e(0x1f3))[_0x46714e(0x1fc)]({'model':{'key':_0x46714e(0x1f4),'value':_0x23aaf6=>_0x23aaf6[_0x46714e(0x231)](_0x46714e(0x229))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30dcf3=_0x52a3ac[_0x46714e(0x214)][_0x46714e(0x20c)](_0x46714e(0x205));_0x30dcf3&&this[_0x46714e(0x246)](_0x30dcf3,_0x46714e(0x200),(_0xc2148d,[_0xbe1032,_0xe3b95b])=>{const _0x25931f=_0x46714e;_0xbe1032[_0x25931f(0x23c)](_0x25931f(0x1f4),_0xe3b95b);});}[_0x234e1e(0x21e)](){const _0x3d1589=_0x234e1e,_0x5ec2f5=this[_0x3d1589(0x1f5)][_0x3d1589(0x207)][_0x3d1589(0x20c)](_0x3d1589(0x216))||{},_0xba8902=this[_0x3d1589(0x1f5)][_0x3d1589(0x207)][_0x3d1589(0x20c)](_0x3d1589(0x23f))||'';this[_0x3d1589(0x222)]=_0x4eefc2(_0x2b6193[_0x3d1589(0x20d)],_0x3d1589(0x221),{..._0x5ec2f5,'pubkey':_0xba8902,'ctx-name':_0x3d1589(0x208)+this[_0x3d1589(0x21a)],'sourceList':'','imgOnly':_0x3d1589(0x245),'removeCopyright':_0x3d1589(0x245),'localeName':this[_0x3d1589(0x1f5)][_0x3d1589(0x1ff)][_0x3d1589(0x220)],'externalSourcesEmbedCss':_0x3d1589(0x22c)}),this[_0x3d1589(0x222)][_0x3d1589(0x202)]=_0x55ff2b=>{const _0x242e83=_0x3d1589;if(_0x242e83(0x23e)==_0x55ff2b)return _0x242e83(0x237);},_0x2b6193[_0x3d1589(0x20d)][_0x3d1589(0x22e)][_0x3d1589(0x1f6)](this[_0x3d1589(0x222)]);}[_0x234e1e(0x1fe)](){const _0xf0b367=_0x234e1e;this[_0xf0b367(0x228)]=_0x4eefc2(_0x2b6193[_0xf0b367(0x20d)],_0xf0b367(0x22f),{'ctx-name':_0xf0b367(0x208)+this[_0xf0b367(0x21a)]}),_0x2b6193[_0xf0b367(0x20d)][_0xf0b367(0x22e)][_0xf0b367(0x1f6)](this[_0xf0b367(0x228)]);}[_0x234e1e(0x225)](){const _0x52470a=_0x234e1e,_0x359f49=this[_0x52470a(0x1f5)][_0x52470a(0x214)][_0x52470a(0x20c)](_0x52470a(0x230));_0x359f49&&this[_0x52470a(0x246)](_0x359f49,_0x52470a(0x21c),()=>{const _0x486a54=_0x52470a,_0x53270f=this[_0x486a54(0x1f5)][_0x486a54(0x212)][_0x486a54(0x20d)][_0x486a54(0x1f8)][_0x486a54(0x226)]();_0x53270f&&_0x53270f[_0x486a54(0x231)](_0x486a54(0x1f4))&&this[_0x486a54(0x1f5)][_0x486a54(0x201)][_0x486a54(0x23d)][_0x486a54(0x1f7)](_0x486a54(0x204),()=>{const _0x574221=_0x486a54;_0xbdd91f(this[_0x574221(0x1f5)],_0x53270f);});});const _0x2dee23=this[_0x52470a(0x1f5)][_0x52470a(0x214)][_0x52470a(0x20c)](_0x52470a(0x1fa));_0x2dee23&&this[_0x52470a(0x246)](_0x2dee23,_0x52470a(0x21c),()=>{const _0x59cefc=_0x52470a,_0x2501d2=this[_0x59cefc(0x1f5)][_0x59cefc(0x212)][_0x59cefc(0x20d)][_0x59cefc(0x1f8)][_0x59cefc(0x226)]();_0x2501d2&&_0x2501d2[_0x59cefc(0x231)](_0x59cefc(0x1f4))&&this[_0x59cefc(0x1f5)][_0x59cefc(0x201)][_0x59cefc(0x23d)][_0x59cefc(0x1f7)](_0x59cefc(0x204),()=>{const _0x40878d=_0x59cefc;_0xbdd91f(this[_0x40878d(0x1f5)],_0x2501d2);});});}}
@@ -1,24 +0,0 @@
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{global as _0x3cd88d,ObservableMixin as _0x4cf822}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x114243}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x6cbbf8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x191fed}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x174801}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a697a,getImageDimension as _0x31db19}from'../../utils/editingutils.js';import{isAncestor as _0x26f6ef}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x4cf822(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5745c2,_0x2a8648,_0xe89106){super(),this['_editor']=_0x5745c2,this['_dialog']=_0x2a8648,this['_imageElement']=_0xe89106,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x299428=this['_imageElement'],_0x308892=_0x299428['getAttribute']('uploadcareImageId'),_0x2f63d8=_0x299428['getAttribute']('src');if(_0x308892)await this['_loadImageInfo'](_0x308892,_0x2f63d8);else{if(this['_imageCache']['has'](_0x2f63d8)){const _0xb886c8=this['_imageCache']['get'](_0x2f63d8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb886c8['url'],this['imageDimension']=_0xb886c8['dimension'],this['imageId']=_0xb886c8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x438a7f}=this['_editor'],t=_0x438a7f['t'],_0x124c50=new _0x191fed(_0x438a7f,this['imageStatus'],this['_attributes']);_0x124c50['bind']('status')['to'](this,'imageStatus'),_0x124c50['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x124c50['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x124c50['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x124c50,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x6cbbf8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x124c50,'position':_0x114243['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x124c50['focus']();},'onHide':()=>{_0x124c50['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22afc1=>!_0x26f6ef(_0x22afc1,_0x124c50['element'])}});}['_loadImageInfo'](_0x3eee22,_0x18ad2b){return _0x174801['getInfo'](_0x3eee22,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3bb57f=>{const {width:_0x31d5b2,height:_0xdf3b59}=_0x3bb57f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18ad2b,this['imageDimension']={'width':_0x31d5b2,'height':_0xdf3b59},this['imageId']=_0x3eee22;})['catch'](_0x5920b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5920b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4fe067,_0x166f62){return this['_getImageAsFile'](_0x4fe067)['then'](_0x39f935=>_0x174801['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x166f62['signal'],'file':_0x39f935,'onProgress':_0x3a30b4=>{_0x3a30b4&&_0x3a30b4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3a30b4['value']));}}))['then'](_0x36a969=>{const {width:_0x55c329,height:_0x3dd6c1}=_0x36a969['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36a969['cdnUrl'],this['imageDimension']={'width':_0x55c329,'height':_0x3dd6c1},this['imageId']=_0x36a969['uuid'],this['imageUploadProgress']=null;const _0x4c3488=_0x4fe067['getAttribute']('src');this['_imageCache']['set'](_0x4c3488,{'id':_0x36a969['uuid'],'url':_0x36a969['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x345e2c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x345e2c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x50f1b1,_0xdf67d4){_0x50f1b1['on']('apply',(_0x1311c9,_0x2bb626)=>{this['_replaceImage'](_0xdf67d4,_0x2bb626['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x50f1b1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x50f1b1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8b7add,_0xb899d3,_0x373bb7){const _0x4162ff=this['_editor'],{width:_0x42cc86,height:_0x36543a}=_0x31db19(_0xb899d3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x32f5ad,imageSources:_0x4de52e}=_0x5a697a(_0xb899d3,_0x42cc86);_0x4162ff['model']['change'](_0x4af7e2=>{if('$graveyard'===_0x8b7add['root']['rootName']){_0x4162ff['execute']('insertImage',{'imageType':_0x8b7add['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8b7add['getAttributes']()),'uploadcareImageId':_0x373bb7,'src':_0x32f5ad,'sources':_0x4de52e,'width':_0x42cc86,'height':_0x36543a}});const _0x5855d5=_0x8b7add['getChildren']();_0x8b7add=_0x4162ff['model']['document']['selection']['getSelectedElement']();for(const _0x191e02 of _0x5855d5)_0x4af7e2['append'](_0x4af7e2['cloneElement'](_0x191e02),_0x8b7add);}else _0x4af7e2['setSelection'](_0x8b7add,'on'),_0x4162ff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8b7add['getAttributes']()),'uploadcareImageId':_0x373bb7,'src':_0x32f5ad,'sources':_0x4de52e,'width':_0x42cc86,'height':_0x36543a},_0x8b7add);_0x4af7e2['setSelection'](_0x8b7add,'on');});}async['_getImageAsFile'](_0x4e2a70){const _0x2c3edd=_0x3cd88d['window'],_0x209837=_0x3cd88d['document']['location']['href'],_0x534368=new _0x2c3edd['URL'](_0x4e2a70['getAttribute']('src'),_0x209837);if('data:'===_0x534368['protocol']){const _0x32deef=_0x534368['href']['split'](','),_0x4450d5=_0x32deef[0x0]['match'](/:(.*?);/)[0x1],_0x35cbb0=_0x4450d5['split']('/')[0x1],_0x25f5f1=_0x2c3edd['atob'](_0x32deef[_0x32deef['length']-0x1]);let _0x49d9d3=_0x25f5f1['length'];const _0x5170a5=new _0x2c3edd['Uint8Array'](_0x49d9d3);for(;_0x49d9d3--;)_0x5170a5[_0x49d9d3]=_0x25f5f1['charCodeAt'](_0x49d9d3);return new _0x2c3edd['File']([_0x5170a5],'image.'+_0x35cbb0,{'type':_0x4450d5});}const _0x15c99f=_0x534368['href']['split']('/'),_0x4d443e=_0x15c99f[_0x15c99f['length']-0x1],_0x167337=_0x4d443e['split']('.')[0x1];return _0x2c3edd['fetch'](_0x534368['href'])['then'](_0x4a2257=>_0x4a2257['clone']()['blob']())['then'](_0x53c9dd=>new _0x2c3edd['File']([_0x53c9dd],_0x4d443e,{'type':'image/'+_0x167337}));}}
@@ -1,23 +0,0 @@
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 _0x444a(){const _0x4591b4=['bindTemplate','image-edit','357843iQtyij','uc-cloud-image-editor','uc-light','7UKVtXn','imageSrc','1010056SFQbSr','388266cRwKbQ','67347YAioEJ','10duBjKP','setTemplate','774630DOXiWW','56737SJfCSi','set','ck-uploadcare-theme','6fApIKl','724032LkjzNz'];_0x444a=function(){return _0x4591b4;};return _0x444a();}function _0xbfe4(_0xdd27d0,_0x21152a){const _0x444a57=_0x444a();return _0xbfe4=function(_0xbfe41b,_0x27ba15){_0xbfe41b=_0xbfe41b-0x82;let _0x575bcf=_0x444a57[_0xbfe41b];return _0x575bcf;},_0xbfe4(_0xdd27d0,_0x21152a);}(function(_0x417bf9,_0x391f1a){const _0x4b309a=_0xbfe4,_0xf9b39c=_0x417bf9();while(!![]){try{const _0x5bdc8e=-parseInt(_0x4b309a(0x8c))/0x1*(parseInt(_0x4b309a(0x8f))/0x2)+parseInt(_0x4b309a(0x93))/0x3+-parseInt(_0x4b309a(0x90))/0x4+parseInt(_0x4b309a(0x8b))/0x5+parseInt(_0x4b309a(0x87))/0x6+parseInt(_0x4b309a(0x84))/0x7*(parseInt(_0x4b309a(0x86))/0x8)+parseInt(_0x4b309a(0x88))/0x9*(parseInt(_0x4b309a(0x89))/0xa);if(_0x5bdc8e===_0x391f1a)break;else _0xf9b39c['push'](_0xf9b39c['shift']());}catch(_0x30a9ff){_0xf9b39c['push'](_0xf9b39c['shift']());}}}(_0x444a,0x1da5f));import{View as _0xa1b71b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa1b71b{constructor(_0x31554c,_0x2ffa06){const _0x43cc2c=_0xbfe4;super(_0x31554c);const _0xc89d1b=this[_0x43cc2c(0x91)];this[_0x43cc2c(0x8d)](_0x43cc2c(0x85),''),this[_0x43cc2c(0x8a)]({'tag':_0x43cc2c(0x82),'attributes':{..._0x2ffa06,'class':[_0x43cc2c(0x83),_0x43cc2c(0x8e)],'ctx-name':_0x43cc2c(0x92),'cdn-url':_0xc89d1b['to'](_0x43cc2c(0x85))}});}}
@@ -1,23 +0,0 @@
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{IconError as _0x3e5c7f}from'ckeditor5/src/icons.js';import{ButtonView as _0x1acefc,IconView as _0x392797,View as _0x45dfe0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x45dfe0{constructor(_0x565e4d){super(_0x565e4d);const t=_0x565e4d['t'];this['set']('errorType',null);const _0x4c2517=new _0x1acefc(_0x565e4d);_0x4c2517['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c2517['withText']=!0x0,_0x4c2517['class']='ck-button-action',_0x4c2517['on']('execute',()=>{this['fire']('retry');}),_0x4c2517['bind']('isVisible')['to'](this,'errorType',_0x45e9e1=>'NotFound'!==_0x45e9e1);const _0x21f0c6=new _0x392797();_0x21f0c6['content']=_0x3e5c7f,_0x21f0c6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1d4332=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x21f0c6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1d4332['to']('errorType',_0x39fbac=>t('NotFound'!==_0x39fbac?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c2517]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -1,23 +0,0 @@
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{SpinnerView as _0xcaab1f,View as _0x5ead6e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5ead6e{constructor(_0x36d853){super(_0x36d853);const t=_0x36d853['t'],_0x1d245d=this['bindTemplate'],_0x7e9176=new _0xcaab1f();_0x7e9176['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x7e9176,{'text':_0x1d245d['to']('imageUploadProgress',_0x4d1b4f=>t('Loading\x20image...')+'\x20('+(_0x4d1b4f||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -1,23 +0,0 @@
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 _0x3b4cf0=_0x2a52;(function(_0x5c4620,_0x2c35ef){const _0x3384ac=_0x2a52,_0x1dc6dd=_0x5c4620();while(!![]){try{const _0x2604ee=parseInt(_0x3384ac(0x8f))/0x1+-parseInt(_0x3384ac(0x7a))/0x2+-parseInt(_0x3384ac(0x9e))/0x3*(-parseInt(_0x3384ac(0x9c))/0x4)+parseInt(_0x3384ac(0xa4))/0x5+parseInt(_0x3384ac(0x72))/0x6*(parseInt(_0x3384ac(0x8d))/0x7)+-parseInt(_0x3384ac(0x7b))/0x8+parseInt(_0x3384ac(0x79))/0x9*(-parseInt(_0x3384ac(0x9f))/0xa);if(_0x2604ee===_0x2c35ef)break;else _0x1dc6dd['push'](_0x1dc6dd['shift']());}catch(_0x3485a6){_0x1dc6dd['push'](_0x1dc6dd['shift']());}}}(_0xb8f0,0xb934f));function _0x2a52(_0x3816ab,_0x389396){const _0xb8f068=_0xb8f0();return _0x2a52=function(_0x2a52a8,_0x5c285b){_0x2a52a8=_0x2a52a8-0x6e;let _0x40da97=_0xb8f068[_0x2a52a8];return _0x40da97;},_0x2a52(_0x3816ab,_0x389396);}import{View as _0x3f7322}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3b8b25}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x190fc7}from'./uploadcareimageeditformerrorview.js';function _0xb8f0(){const _0x10ff2b=['focus','4669060zBBeEj','_waitForImageEditorComponent','addEventListener','getFocusableElement','retry','3396FdzWIR','change:status','_items','render','disconnect','clear','createCollection','12784185sFjQLf','1106366ajtLjt','5818504iJdsPJ','nodeName','set','filter','uc-cloud-image-editor','ck-reset_all-excluded','error','toLowerCase','target','length','detail','apply','cancel','div','_setView','element','fire','ready','5152JhJOAx','add','758217WiAVjj','querySelector','ck-uploadcare-form','once','observe','uploading','_editingView','status','_loadingView','addedNodes','setTemplate','addMany','_addErrorViewListeners','4bnzURn','_addUploadcareImageEditorListeners','4052889vZOOXB','10qANPJO','_errorView','_focusableView','cdnUrl'];_0xb8f0=function(){return _0x10ff2b;};return _0xb8f0();}import{UploadcareImageEditFormEditingView as _0x1f3d67}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x375c1c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x375c1c{[_0x3b4cf0(0x74)];[_0x3b4cf0(0x97)];[_0x3b4cf0(0xa0)];[_0x3b4cf0(0x95)];[_0x3b4cf0(0xa1)];constructor(_0x249d02,_0x2f1403,_0x3983ce){const _0x55e136=_0x3b4cf0;super(_0x249d02),this[_0x55e136(0x74)]=this[_0x55e136(0x78)](),this[_0x55e136(0x97)]=new _0x3b8b25(_0x249d02),this[_0x55e136(0xa0)]=new _0x190fc7(_0x249d02),this[_0x55e136(0x95)]=new _0x1f3d67(_0x249d02,_0x3983ce),this[_0x55e136(0xa1)]=new _0x3f7322(_0x249d02),this[_0x55e136(0xa1)][_0x55e136(0x99)](this[_0x55e136(0x70)]()),this[_0x55e136(0x7d)](_0x55e136(0x96),_0x2f1403),this[_0x55e136(0x99)]({'tag':_0x55e136(0x88),'attributes':{'class':['ck',_0x55e136(0x80),_0x55e136(0x91)],'tabindex':'-1'},'children':this[_0x55e136(0x74)]}),this[_0x55e136(0x89)](),this[_0x55e136(0x92)](_0x55e136(0x75),()=>{const _0x2b4ee6=_0x55e136;this[_0x2b4ee6(0x6e)](this[_0x2b4ee6(0x8a)],_0x42880b=>{const _0x4b1552=_0x2b4ee6;this[_0x4b1552(0x9d)](_0x42880b);});}),this['on'](_0x55e136(0x73),()=>{const _0x166e2f=_0x55e136;this[_0x166e2f(0x89)]();}),this[_0x55e136(0x9b)]();}[_0x3b4cf0(0xa3)](){const _0xf00800=_0x3b4cf0;this[_0xf00800(0x8a)][_0xf00800(0xa3)]();}[_0x3b4cf0(0x89)](){const _0x5be6ed=_0x3b4cf0;switch(this[_0x5be6ed(0x74)][_0x5be6ed(0x77)](),this[_0x5be6ed(0x96)]){case _0x5be6ed(0x94):this[_0x5be6ed(0x74)][_0x5be6ed(0x8e)](this[_0x5be6ed(0x97)]);break;case _0x5be6ed(0x81):this[_0x5be6ed(0x74)][_0x5be6ed(0x8e)](this[_0x5be6ed(0xa0)]);break;case _0x5be6ed(0x8c):this[_0x5be6ed(0x74)][_0x5be6ed(0x9a)]([this[_0x5be6ed(0x95)],this[_0x5be6ed(0xa1)]]);}}[_0x3b4cf0(0x6e)](_0x519063,_0x54bbff){const _0x2c0d05=_0x3b4cf0,_0x51f432=_0x2c0d05(0x7f),_0x444b3b=_0x519063[_0x2c0d05(0x90)](_0x51f432);if(_0x444b3b)return _0x54bbff(_0x444b3b);const _0x40564c=new MutationObserver(_0x2a4555=>{const _0x36b823=_0x2c0d05,_0x1b2a8d=_0x2a4555[_0x36b823(0x7e)](_0x42b0f7=>_0x42b0f7[_0x36b823(0x83)]===_0x519063&&_0x42b0f7[_0x36b823(0x98)][_0x36b823(0x84)]>0x0&&_0x42b0f7[_0x36b823(0x98)][0x0][_0x36b823(0x7c)][_0x36b823(0x82)]()===_0x51f432);_0x1b2a8d[_0x36b823(0x84)]&&(_0x40564c[_0x36b823(0x76)](),_0x54bbff(_0x1b2a8d[0x0][_0x36b823(0x98)][0x0]));});_0x40564c[_0x2c0d05(0x93)](_0x519063,{'childList':!0x0,'subtree':!0x0});}[_0x3b4cf0(0x9d)](_0x5d2885){const _0x5743ac=_0x3b4cf0;_0x5d2885[_0x5743ac(0x6f)](_0x5743ac(0x86),_0x599bf4=>{const _0x114312=_0x5743ac;this[_0x114312(0x8b)](_0x114312(0x86),{'imageSrc':_0x599bf4[_0x114312(0x85)][_0x114312(0xa2)]});}),_0x5d2885[_0x5743ac(0x6f)](_0x5743ac(0x87),()=>{const _0x1ef606=_0x5743ac;this[_0x1ef606(0x8b)](_0x1ef606(0x87));});}[_0x3b4cf0(0x9b)](){const _0x5dd48a=_0x3b4cf0;this[_0x5dd48a(0xa0)]['on'](_0x5dd48a(0x71),()=>{const _0x55645e=_0x5dd48a;this[_0x55645e(0x8b)](_0x55645e(0x71));});}}
@@ -1,23 +0,0 @@
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 _0x54e7c8=_0x4581;function _0x4581(_0x438d46,_0x24fae0){const _0x5825f9=_0x5825();return _0x4581=function(_0x45810d,_0x17e190){_0x45810d=_0x45810d-0xf7;let _0x45f01b=_0x5825f9[_0x45810d];return _0x45f01b;},_0x4581(_0x438d46,_0x24fae0);}(function(_0x397027,_0x86fd86){const _0x29bb27=_0x4581,_0x28abea=_0x397027();while(!![]){try{const _0x42cabf=parseInt(_0x29bb27(0xff))/0x1+parseInt(_0x29bb27(0xf8))/0x2*(parseInt(_0x29bb27(0xf9))/0x3)+parseInt(_0x29bb27(0x101))/0x4*(-parseInt(_0x29bb27(0x10e))/0x5)+parseInt(_0x29bb27(0x111))/0x6+-parseInt(_0x29bb27(0xfb))/0x7+-parseInt(_0x29bb27(0x109))/0x8+-parseInt(_0x29bb27(0x108))/0x9;if(_0x42cabf===_0x86fd86)break;else _0x28abea['push'](_0x28abea['shift']());}catch(_0x593fe1){_0x28abea['push'](_0x28abea['shift']());}}}(_0x5825,0xc2bb7));import{Command as _0x300cf2}from'ckeditor5/src/core.js';import{Dialog as _0x542c7e}from'ckeditor5/src/ui.js';function _0x5825(){const _0xa9f26c=['1257972qNuawF','imageEditController','4vWdUyz','isActive','document','plugins','uploadcare.allowExternalImagesEditing','get','imageBlock','9267948eCKaaJ','1652080bluvzk','requires','set','execute','imageInline','4197355yCccQZ','getSelectedElement','bind','1803012FmVFWh','model','refresh','isEnabled','unbind','selection','70VAhmkC','128859csOeZT','config','1319171RyXTKm','element','editor','_isEditable'];_0x5825=function(){return _0xa9f26c;};return _0x5825();}import{UploadcareImageEditController as _0x5801a2}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d650e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x300cf2{[_0x54e7c8(0x100)];static get[_0x54e7c8(0x10a)](){return[_0x542c7e];}[_0x54e7c8(0xfe)];constructor(_0xbb1d6e){const _0x55e595=_0x54e7c8;super(_0xbb1d6e),this[_0x55e595(0x100)]=void 0x0,this[_0x55e595(0xfe)]=_0x5d650e(_0xbb1d6e[_0x55e595(0xfa)][_0x55e595(0x106)](_0x55e595(0x105))||[]),this[_0x55e595(0x10b)]({'isActive':!0x1});}[_0x54e7c8(0x113)](){const _0x4ebc45=_0x54e7c8,_0x55267e=this[_0x4ebc45(0xfd)][_0x4ebc45(0x112)][_0x4ebc45(0x103)][_0x4ebc45(0xf7)][_0x4ebc45(0x10f)]();this[_0x4ebc45(0x114)]=this[_0x4ebc45(0xfe)](_0x55267e);}[_0x54e7c8(0x10c)](){const _0x3aa9a3=_0x54e7c8;this[_0x3aa9a3(0x100)]&&(this[_0x3aa9a3(0x115)](_0x3aa9a3(0x102)),this[_0x3aa9a3(0x100)]=void 0x0);const _0x5542a9=this[_0x3aa9a3(0xfd)][_0x3aa9a3(0x112)][_0x3aa9a3(0x103)][_0x3aa9a3(0xf7)][_0x3aa9a3(0x10f)]();_0x5542a9&&(_0x5542a9['is'](_0x3aa9a3(0xfc),_0x3aa9a3(0x107))||_0x5542a9['is'](_0x3aa9a3(0xfc),_0x3aa9a3(0x10d)))&&(this[_0x3aa9a3(0x100)]=new _0x5801a2(this[_0x3aa9a3(0xfd)],this[_0x3aa9a3(0xfd)][_0x3aa9a3(0x104)][_0x3aa9a3(0x106)](_0x542c7e),_0x5542a9),this[_0x3aa9a3(0x110)](_0x3aa9a3(0x102))['to'](this[_0x3aa9a3(0x100)],_0x3aa9a3(0x102)));}}
@@ -1,23 +0,0 @@
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 _0x3091c5=_0x43a6;(function(_0x53b4b2,_0x28876b){const _0x3c66c9=_0x43a6,_0x1bd7e8=_0x53b4b2();while(!![]){try{const _0x50a6f8=-parseInt(_0x3c66c9(0xd1))/0x1+parseInt(_0x3c66c9(0xc7))/0x2*(parseInt(_0x3c66c9(0xc4))/0x3)+-parseInt(_0x3c66c9(0xd7))/0x4*(-parseInt(_0x3c66c9(0xc8))/0x5)+-parseInt(_0x3c66c9(0xcb))/0x6*(parseInt(_0x3c66c9(0xcd))/0x7)+parseInt(_0x3c66c9(0xd3))/0x8*(-parseInt(_0x3c66c9(0xd9))/0x9)+parseInt(_0x3c66c9(0xc6))/0xa+parseInt(_0x3c66c9(0xc9))/0xb;if(_0x50a6f8===_0x28876b)break;else _0x1bd7e8['push'](_0x1bd7e8['shift']());}catch(_0x50b932){_0x1bd7e8['push'](_0x1bd7e8['shift']());}}}(_0x5042,0xac8c1));import{Plugin as _0x545588}from'ckeditor5/src/core.js';import{Notification as _0x8e33dc}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3e470b}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5eefcb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x11f9bd}from'../uploadcareediting.js';function _0x43a6(_0x4df8cf,_0x20e8a0){const _0x5042f6=_0x5042();return _0x43a6=function(_0x43a69f,_0x4d957e){_0x43a69f=_0x43a69f-0xc4;let _0x2d9733=_0x5042f6[_0x43a69f];return _0x2d9733;},_0x43a6(_0x4df8cf,_0x20e8a0);}function _0x5042(){const _0x1371dd=['pluginName','1637800AeogBM','1418vVbbqW','345drODZr','16857544QhZsjn','isPremiumPlugin','41376yWrYZh','uploadcareImageReplace','413ySzoUn','uploadcareImageEdit','UploadcareImageEditEditing','requires','1093897gIYlRR','ImageEditing','5386376nzmfny','commands','ImageUtils','isOfficialPlugin','13880ytyLmg','add','9qGNDDG','init','3999ZCMVYp'];_0x5042=function(){return _0x1371dd;};return _0x5042();}export class UploadcareImageEditEditing extends _0x545588{static get[_0x3091c5(0xc5)](){const _0x43fba8=_0x3091c5;return _0x43fba8(0xcf);}static get[_0x3091c5(0xd0)](){const _0x5e29e7=_0x3091c5;return[_0x11f9bd,_0x8e33dc,_0x5e29e7(0xd5),_0x5e29e7(0xd2)];}static get[_0x3091c5(0xd6)](){return!0x0;}static get[_0x3091c5(0xca)](){return!0x0;}[_0x3091c5(0xda)](){const _0x104c8d=_0x3091c5,{editor:_0x346b4f}=this;_0x346b4f[_0x104c8d(0xd4)][_0x104c8d(0xd8)](_0x104c8d(0xce),new _0x3e470b(_0x346b4f)),_0x346b4f[_0x104c8d(0xd4)][_0x104c8d(0xd8)](_0x104c8d(0xcc),new _0x5eefcb(_0x346b4f));}}