@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260123.0 → 0.0.0-nightly-next-20260123.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/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
  150. package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
  151. package/{src → dist}/uploadcare.d.ts +1 -1
  152. package/{src → dist}/uploadcarecommand.d.ts +2 -2
  153. package/{src → dist}/uploadcareconfig.d.ts +1 -1
  154. package/{src → dist}/uploadcareediting.d.ts +2 -2
  155. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  156. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  157. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  158. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  159. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  160. package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  161. package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  162. package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  163. package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  164. package/{src → dist}/uploadcareimageedit.d.ts +1 -1
  165. package/{src → dist}/uploadcareui.d.ts +1 -1
  166. package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
  167. package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
  168. package/package.json +23 -46
  169. package/build/translations/af.js +0 -1
  170. package/build/translations/ar.js +0 -1
  171. package/build/translations/ast.js +0 -1
  172. package/build/translations/az.js +0 -1
  173. package/build/translations/be.js +0 -1
  174. package/build/translations/bg.js +0 -1
  175. package/build/translations/bn.js +0 -1
  176. package/build/translations/bs.js +0 -1
  177. package/build/translations/ca.js +0 -1
  178. package/build/translations/cs.js +0 -1
  179. package/build/translations/da.js +0 -1
  180. package/build/translations/de-ch.js +0 -1
  181. package/build/translations/de.js +0 -1
  182. package/build/translations/el.js +0 -1
  183. package/build/translations/en-au.js +0 -1
  184. package/build/translations/en-gb.js +0 -1
  185. package/build/translations/eo.js +0 -1
  186. package/build/translations/es-co.js +0 -1
  187. package/build/translations/es.js +0 -1
  188. package/build/translations/et.js +0 -1
  189. package/build/translations/eu.js +0 -1
  190. package/build/translations/fa.js +0 -1
  191. package/build/translations/fi.js +0 -1
  192. package/build/translations/fr.js +0 -1
  193. package/build/translations/gl.js +0 -1
  194. package/build/translations/gu.js +0 -1
  195. package/build/translations/he.js +0 -1
  196. package/build/translations/hi.js +0 -1
  197. package/build/translations/hr.js +0 -1
  198. package/build/translations/hu.js +0 -1
  199. package/build/translations/hy.js +0 -1
  200. package/build/translations/id.js +0 -1
  201. package/build/translations/it.js +0 -1
  202. package/build/translations/ja.js +0 -1
  203. package/build/translations/jv.js +0 -1
  204. package/build/translations/kk.js +0 -1
  205. package/build/translations/km.js +0 -1
  206. package/build/translations/kn.js +0 -1
  207. package/build/translations/ko.js +0 -1
  208. package/build/translations/ku.js +0 -1
  209. package/build/translations/lt.js +0 -1
  210. package/build/translations/lv.js +0 -1
  211. package/build/translations/ms.js +0 -1
  212. package/build/translations/nb.js +0 -1
  213. package/build/translations/ne.js +0 -1
  214. package/build/translations/nl.js +0 -1
  215. package/build/translations/no.js +0 -1
  216. package/build/translations/oc.js +0 -1
  217. package/build/translations/pl.js +0 -1
  218. package/build/translations/pt-br.js +0 -1
  219. package/build/translations/pt.js +0 -1
  220. package/build/translations/ro.js +0 -1
  221. package/build/translations/ru.js +0 -1
  222. package/build/translations/si.js +0 -1
  223. package/build/translations/sk.js +0 -1
  224. package/build/translations/sl.js +0 -1
  225. package/build/translations/sq.js +0 -1
  226. package/build/translations/sr-latn.js +0 -1
  227. package/build/translations/sr.js +0 -1
  228. package/build/translations/sv.js +0 -1
  229. package/build/translations/th.js +0 -1
  230. package/build/translations/ti.js +0 -1
  231. package/build/translations/tk.js +0 -1
  232. package/build/translations/tr.js +0 -1
  233. package/build/translations/tt.js +0 -1
  234. package/build/translations/ug.js +0 -1
  235. package/build/translations/uk.js +0 -1
  236. package/build/translations/ur.js +0 -1
  237. package/build/translations/uz.js +0 -1
  238. package/build/translations/vi.js +0 -1
  239. package/build/translations/zh-cn.js +0 -1
  240. package/build/translations/zh.js +0 -1
  241. package/build/uploadcare.js +0 -5
  242. package/lang/contexts.json +0 -24
  243. package/lang/translations/af.po +0 -100
  244. package/lang/translations/ar.po +0 -100
  245. package/lang/translations/ast.po +0 -100
  246. package/lang/translations/az.po +0 -100
  247. package/lang/translations/be.po +0 -100
  248. package/lang/translations/bg.po +0 -100
  249. package/lang/translations/bn.po +0 -100
  250. package/lang/translations/bs.po +0 -100
  251. package/lang/translations/ca.po +0 -100
  252. package/lang/translations/cs.po +0 -100
  253. package/lang/translations/da.po +0 -100
  254. package/lang/translations/de-ch.po +0 -100
  255. package/lang/translations/de.po +0 -100
  256. package/lang/translations/el.po +0 -100
  257. package/lang/translations/en-au.po +0 -100
  258. package/lang/translations/en-gb.po +0 -100
  259. package/lang/translations/en.po +0 -100
  260. package/lang/translations/eo.po +0 -100
  261. package/lang/translations/es-co.po +0 -100
  262. package/lang/translations/es.po +0 -100
  263. package/lang/translations/et.po +0 -100
  264. package/lang/translations/eu.po +0 -100
  265. package/lang/translations/fa.po +0 -100
  266. package/lang/translations/fi.po +0 -100
  267. package/lang/translations/fr.po +0 -100
  268. package/lang/translations/gl.po +0 -100
  269. package/lang/translations/gu.po +0 -100
  270. package/lang/translations/he.po +0 -100
  271. package/lang/translations/hi.po +0 -100
  272. package/lang/translations/hr.po +0 -100
  273. package/lang/translations/hu.po +0 -100
  274. package/lang/translations/hy.po +0 -100
  275. package/lang/translations/id.po +0 -100
  276. package/lang/translations/it.po +0 -100
  277. package/lang/translations/ja.po +0 -100
  278. package/lang/translations/jv.po +0 -100
  279. package/lang/translations/kk.po +0 -100
  280. package/lang/translations/km.po +0 -100
  281. package/lang/translations/kn.po +0 -100
  282. package/lang/translations/ko.po +0 -100
  283. package/lang/translations/ku.po +0 -100
  284. package/lang/translations/lt.po +0 -100
  285. package/lang/translations/lv.po +0 -100
  286. package/lang/translations/ms.po +0 -100
  287. package/lang/translations/nb.po +0 -100
  288. package/lang/translations/ne.po +0 -100
  289. package/lang/translations/nl.po +0 -100
  290. package/lang/translations/no.po +0 -100
  291. package/lang/translations/oc.po +0 -100
  292. package/lang/translations/pl.po +0 -100
  293. package/lang/translations/pt-br.po +0 -100
  294. package/lang/translations/pt.po +0 -100
  295. package/lang/translations/ro.po +0 -100
  296. package/lang/translations/ru.po +0 -100
  297. package/lang/translations/si.po +0 -100
  298. package/lang/translations/sk.po +0 -100
  299. package/lang/translations/sl.po +0 -100
  300. package/lang/translations/sq.po +0 -100
  301. package/lang/translations/sr-latn.po +0 -100
  302. package/lang/translations/sr.po +0 -100
  303. package/lang/translations/sv.po +0 -100
  304. package/lang/translations/th.po +0 -100
  305. package/lang/translations/ti.po +0 -100
  306. package/lang/translations/tk.po +0 -100
  307. package/lang/translations/tr.po +0 -100
  308. package/lang/translations/tt.po +0 -100
  309. package/lang/translations/ug.po +0 -100
  310. package/lang/translations/uk.po +0 -100
  311. package/lang/translations/ur.po +0 -100
  312. package/lang/translations/uz.po +0 -100
  313. package/lang/translations/vi.po +0 -100
  314. package/lang/translations/zh-cn.po +0 -100
  315. package/lang/translations/zh.po +0 -100
  316. package/src/augmentation.js +0 -23
  317. package/src/index.js +0 -23
  318. package/src/ui/uploadcarecontroller.js +0 -24
  319. package/src/ui/uploadcareformview.js +0 -23
  320. package/src/uploadcare.js +0 -23
  321. package/src/uploadcarecommand.js +0 -23
  322. package/src/uploadcareconfig.js +0 -23
  323. package/src/uploadcareediting.js +0 -23
  324. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
  325. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
  326. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
  327. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
  328. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
  329. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
  330. package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
  331. package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
  332. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
  333. package/src/uploadcareimageedit.js +0 -23
  334. package/src/uploadcareui.js +0 -23
  335. package/src/uploadcareuploadadapter.js +0 -23
  336. package/src/utils/common-translations.js +0 -23
  337. package/src/utils/dialogfocusmanagerview.js +0 -23
  338. package/src/utils/editingutils.js +0 -23
  339. package/src/utils/isancestor.js +0 -23
  340. package/src/utils/uploadutils.js +0 -23
  341. package/theme/uploadcare-form.css +0 -201
  342. package/theme/uploadcare-theme.css +0 -20
  343. package/theme/uploadcareimageedit.css +0 -64
  344. /package/{src → dist}/augmentation.d.ts +0 -0
  345. /package/{src → dist}/index.d.ts +0 -0
  346. /package/{src → dist}/utils/common-translations.d.ts +0 -0
  347. /package/{src → dist}/utils/editingutils.d.ts +0 -0
  348. /package/{src → dist}/utils/isancestor.d.ts +0 -0
  349. /package/{src → dist}/utils/uploadutils.d.ts +0 -0
@@ -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(_0x3be831,_0xcb9837){var _0x4b01a5=_0x14af,_0x108f6c=_0x3be831();while(!![]){try{var _0x5504e1=parseInt(_0x4b01a5(0xc1))/0x1*(-parseInt(_0x4b01a5(0xb8))/0x2)+-parseInt(_0x4b01a5(0xb7))/0x3*(-parseInt(_0x4b01a5(0xba))/0x4)+parseInt(_0x4b01a5(0xbb))/0x5+-parseInt(_0x4b01a5(0xbc))/0x6*(-parseInt(_0x4b01a5(0xc0))/0x7)+parseInt(_0x4b01a5(0xbd))/0x8*(-parseInt(_0x4b01a5(0xb9))/0x9)+parseInt(_0x4b01a5(0xbe))/0xa*(parseInt(_0x4b01a5(0xc3))/0xb)+-parseInt(_0x4b01a5(0xbf))/0xc*(parseInt(_0x4b01a5(0xc2))/0xd);if(_0x5504e1===_0xcb9837)break;else _0x108f6c['push'](_0x108f6c['shift']());}catch(_0x26e3a3){_0x108f6c['push'](_0x108f6c['shift']());}}}(_0x3d18,0x4de78));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';function _0x14af(_0x1d64c4,_0x5bc766){var _0x3d187a=_0x3d18();return _0x14af=function(_0x14af30,_0x444b97){_0x14af30=_0x14af30-0xb7;var _0x35dbae=_0x3d187a[_0x14af30];return _0x35dbae;},_0x14af(_0x1d64c4,_0x5bc766);}export{UploadcareCommand}from'./uploadcarecommand.js';function _0x3d18(){var _0x454e21=['30615JOEXfX','44nHSIdM','21fyCZfM','50014lOqMYM','45FxAVRm','212156pXHsUf','1396075cyFfFd','16854IZbWYn','934328yCjPLR','838340hjAPJJ','1740Rpquiq','707qULmnE','1gjHiIg'];_0x3d18=function(){return _0x454e21;};return _0x3d18();}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 _0x315ba4=_0x4adc;(function(_0x571a47,_0x4e2f9c){const _0x2dfbfc=_0x4adc,_0x362377=_0x571a47();while(!![]){try{const _0x128572=parseInt(_0x2dfbfc(0xa1))/0x1+-parseInt(_0x2dfbfc(0xab))/0x2+-parseInt(_0x2dfbfc(0x94))/0x3+-parseInt(_0x2dfbfc(0x80))/0x4*(-parseInt(_0x2dfbfc(0x8f))/0x5)+parseInt(_0x2dfbfc(0x84))/0x6+-parseInt(_0x2dfbfc(0x95))/0x7*(-parseInt(_0x2dfbfc(0xb1))/0x8)+-parseInt(_0x2dfbfc(0xb5))/0x9;if(_0x128572===_0x4e2f9c)break;else _0x362377['push'](_0x362377['shift']());}catch(_0x3f1446){_0x362377['push'](_0x362377['shift']());}}}(_0x45df,0xae840));function _0x45df(){const _0x335766=['32179QzNKEN','initFlow','Local','Replace','uuid','destroy','isOpen','setAttribute','removeAllFiles','_dialog','ctxElement','text','1300947XnEqjR','document','_formView','addEventListener','Insert','doneFlow','getAPI','width','change','removeSelectionAttribute','847692xLNoXY','imageBlock','execute','view','source-list','configElement','856vIiuNQ','show','getLastPosition','image','10800495BGjPbs','focus','editing','attributes','stopListening','_api','element','stopDelegating','_editor','imageInline','_initListeners','get','hide','_editing','linkHref','_type','allEntries','imageInfo','_insertAsset','uploadCare','89380dhqOjg','done-click','plugins','setSelection','8553018xuWbJY','selection','status','getSelectedElement','getOutputCollectionState','setCurrentActivity','length','model','_initDialog','ucContextId','detail','80LNPoNk','insertImage','_insertImage','idle','EDITOR_TOP_CENTER','3711396GggFoL'];_0x45df=function(){return _0x335766;};return _0x45df();}import{IconUploadcareImageUpload as _0x233706}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x2aa6cb}from'ckeditor5/src/utils.js';function _0x4adc(_0x1bc36f,_0x37384f){const _0x45dfe4=_0x45df();return _0x4adc=function(_0x4adc86,_0x98168b){_0x4adc86=_0x4adc86-0x7e;let _0x16f9a9=_0x45dfe4[_0x4adc86];return _0x16f9a9;},_0x4adc(_0x1bc36f,_0x37384f);}import{Dialog as _0x3429e8,DialogViewPosition as _0x353c96}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x18a3f1}from'./uploadcareformview.js';import{UploadcareSource as _0x141e79}from'../uploadcareconfig.js';import{getTranslation as _0x20f791}from'../utils/common-translations.js';import{getImageUrls as _0x107800,getImageDimension as _0x148879}from'../utils/editingutils.js';import{isAncestor as _0x4ec689}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x2aa6cb(){[_0x315ba4(0xbd)];[_0x315ba4(0x9e)];[_0x315ba4(0xc2)];[_0x315ba4(0xba)];[_0x315ba4(0xc4)]=null;[_0x315ba4(0xa3)]=null;constructor(_0x26994f,_0x2e80de,_0x48ebfa){const _0x486e62=_0x315ba4;super(),this[_0x486e62(0xbd)]=_0x26994f,this[_0x486e62(0xc2)]=_0x2e80de,this[_0x486e62(0x9e)]=_0x26994f[_0x486e62(0x82)][_0x486e62(0xc0)](_0x3429e8),this[_0x486e62(0xba)]=_0x2e80de[_0x486e62(0x9f)][_0x486e62(0xa7)](),this[_0x486e62(0xc4)]=_0x48ebfa,this[_0x486e62(0xc2)][_0x486e62(0xb0)][_0x486e62(0x9c)](_0x486e62(0xaf),this[_0x486e62(0xc4)]),this[_0x486e62(0x8c)](),this[_0x486e62(0xbf)](),this[_0x486e62(0xba)][_0x486e62(0x96)]();}[_0x315ba4(0x9a)](){const _0x54342d=_0x315ba4;this[_0x54342d(0xa3)]&&(this[_0x54342d(0xa3)][_0x54342d(0x9a)](),this[_0x54342d(0xa3)]=null),this[_0x54342d(0xba)]&&this[_0x54342d(0xba)][_0x54342d(0xa6)](),this[_0x54342d(0xb9)](),this[_0x54342d(0xbc)]();}[_0x315ba4(0x8c)](){const _0x4d5787=_0x315ba4,{locale:_0x184ebb,model:_0x2dd253}=this[_0x4d5787(0xbd)],_0x21f307=_0x2dd253[_0x4d5787(0xa2)][_0x4d5787(0x85)][_0x4d5787(0x87)](),_0x4c92e9=_0x21f307&&(_0x21f307['is'](_0x4d5787(0xbb),_0x4d5787(0xac))||_0x21f307['is'](_0x4d5787(0xbb),_0x4d5787(0xbe)));this[_0x4d5787(0xa3)]=new _0x18a3f1(_0x184ebb,this[_0x4d5787(0xc2)][_0x4d5787(0x8d)]),this[_0x4d5787(0x9e)][_0x4d5787(0xb2)]({'id':_0x4d5787(0x7f),'icon':_0x233706,'title':_0x20f791(_0x184ebb,this[_0x4d5787(0xc4)],_0x4c92e9?_0x4d5787(0x98):_0x4d5787(0xa5))[_0x4d5787(0xa0)],'content':this[_0x4d5787(0xa3)],'position':_0x353c96[_0x4d5787(0x93)],'isModal':!0x0,'onShow':()=>{const _0x2b0666=_0x4d5787;this[_0x2b0666(0xa3)][_0x2b0666(0xb6)]();},'onHide':()=>{const _0x138f71=_0x4d5787;this[_0x138f71(0xba)][_0x138f71(0x9d)](),this[_0x138f71(0xbd)][_0x138f71(0xb7)][_0x138f71(0xae)][_0x138f71(0xb6)](),this[_0x138f71(0x9a)]();},'keystrokeHandlerOptions':{'filter':_0x54b7a5=>!_0x4ec689(_0x54b7a5,this[_0x4d5787(0xa3)][_0x4d5787(0xbb)])}});}[_0x315ba4(0xbf)](){const _0x5efd1c=_0x315ba4;this[_0x5efd1c(0xc2)][_0x5efd1c(0x9f)][_0x5efd1c(0xa4)](_0x5efd1c(0x81),()=>{const _0x30a747=_0x5efd1c,{allEntries:_0x6cace6}=this[_0x30a747(0xba)][_0x30a747(0x88)]();this[_0x30a747(0xbd)][_0x30a747(0x8b)][_0x30a747(0xa9)](_0x155571=>{const _0x180e00=_0x30a747,_0x267b8c=_0x6cace6[_0x180e00(0x8a)];for(const _0x2c64de of _0x6cace6){const _0x2c383a=_0x2c64de===_0x6cace6[_0x267b8c-0x1],{cdnUrl:_0x483f53,fileInfo:_0x351bab}=_0x2c64de;if(!_0x483f53||!_0x351bab)continue;const {width:_0x50800c,height:_0x499614}=_0x351bab[_0x180e00(0xc6)],_0x4de3b7=_0x148879(_0x483f53,_0x50800c,_0x499614),_0xaaa3c9=_0x107800(_0x483f53,_0x4de3b7[_0x180e00(0xa8)]),_0x1fbfd4={'id':_0x351bab[_0x180e00(0x99)],'type':_0x180e00(0xb4),'attributes':{'imageDimension':_0x4de3b7,..._0xaaa3c9}};this[_0x180e00(0x7e)](_0x1fbfd4,_0x2c383a,_0x155571);}}),this[_0x30a747(0x9e)][_0x30a747(0xc1)]();}),this[_0x5efd1c(0xc2)][_0x5efd1c(0x9f)][_0x5efd1c(0xa4)](_0x5efd1c(0xa9),_0x1e795d=>{const _0x49ebac=_0x5efd1c;_0x49ebac(0x92)===_0x1e795d[_0x49ebac(0x8e)][_0x49ebac(0x86)]&&!_0x1e795d[_0x49ebac(0x8e)][_0x49ebac(0xc5)][_0x49ebac(0x8a)]&&this[_0x49ebac(0x9e)][_0x49ebac(0x9b)]&&(this[_0x49ebac(0xc4)]===_0x141e79[_0x49ebac(0x97)]?this[_0x49ebac(0xba)][_0x49ebac(0x89)](_0x141e79[_0x49ebac(0x97)]):this[_0x49ebac(0xba)][_0x49ebac(0x96)]());});}[_0x315ba4(0x7e)](_0x320774,_0x36ed76,_0x36d541){const _0x44b42e=_0x315ba4,_0x262348=this[_0x44b42e(0xbd)][_0x44b42e(0x8b)][_0x44b42e(0xa2)][_0x44b42e(0x85)],_0x18a4b8=_0x262348[_0x44b42e(0x87)](),_0x51dba9=!(!_0x18a4b8||!_0x18a4b8['is'](_0x44b42e(0xbb),_0x44b42e(0xbe)));_0x36d541[_0x44b42e(0xaa)](_0x44b42e(0xc3)),this[_0x44b42e(0x91)](_0x320774,_0x51dba9),_0x36ed76||_0x36d541[_0x44b42e(0x83)](_0x262348[_0x44b42e(0xb3)]());}[_0x315ba4(0x91)](_0x2179ac,_0x29bd29){const _0x40353d=_0x315ba4,_0x440bbe=this[_0x40353d(0xbd)],{imageDimension:_0xb1891c,imageFallbackUrl:_0x311ff1,imageSources:_0x4b7274}=_0x2179ac[_0x40353d(0xb8)];_0x440bbe[_0x40353d(0xad)](_0x40353d(0x90),{'imageType':_0x29bd29?_0x40353d(0xbe):null,'source':{'uploadcareImageId':_0x2179ac['id'],'src':_0x311ff1,'sources':_0x4b7274,..._0xb1891c}});}}
@@ -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 _0x139016=_0xda09;(function(_0xa2e34b,_0x4fa0cf){var _0x3e365d=_0xda09,_0x89788b=_0xa2e34b();while(!![]){try{var _0x346996=-parseInt(_0x3e365d(0x1e2))/0x1*(-parseInt(_0x3e365d(0x1eb))/0x2)+-parseInt(_0x3e365d(0x1f1))/0x3+-parseInt(_0x3e365d(0x1ed))/0x4+-parseInt(_0x3e365d(0x1e8))/0x5+-parseInt(_0x3e365d(0x1f2))/0x6*(parseInt(_0x3e365d(0x1ef))/0x7)+parseInt(_0x3e365d(0x1e7))/0x8+parseInt(_0x3e365d(0x1e3))/0x9;if(_0x346996===_0x4fa0cf)break;else _0x89788b['push'](_0x89788b['shift']());}catch(_0x22f911){_0x89788b['push'](_0x89788b['shift']());}}}(_0xcc0c,0xcbc99));function _0xcc0c(){var _0x1e76f3=['getFocusableElement','ck-uploadcare-form','692cIasDX','16072083SrWbaE','uc-light','focus','setTemplate','11966280LZsGIE','12530PjWnRb','ck-reset_all-excluded','uploader-','1308KscLLP','element','3942348WKfPMn','uc-file-uploader-inline','3490781djtoWv','div','2741904qXCcdD','12XlaiHe','ck-uploadcare-theme'];_0xcc0c=function(){return _0x1e76f3;};return _0xcc0c();}import{DialogFocusManagerView as _0x404669}from'../utils/dialogfocusmanagerview.js';function _0xda09(_0x3fe2e6,_0x334c3e){var _0xcc0c25=_0xcc0c();return _0xda09=function(_0xda09fd,_0x48005b){_0xda09fd=_0xda09fd-0x1e0;var _0x24e1d3=_0xcc0c25[_0xda09fd];return _0x24e1d3;},_0xda09(_0x3fe2e6,_0x334c3e);}import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x404669{constructor(_0x324c48,_0x1ebaa8){var _0x162443=_0xda09;super(_0x324c48),this[_0x162443(0x1e6)]({'tag':_0x162443(0x1f0),'attributes':{'class':['ck',_0x162443(0x1e9),_0x162443(0x1e1)],'tabindex':'-1'},'children':[{'tag':_0x162443(0x1ee),'attributes':{'class':[_0x162443(0x1e4),_0x162443(0x1f3)],'ctx-name':_0x162443(0x1ea)+_0x1ebaa8}},this[_0x162443(0x1e0)]()]});}[_0x139016(0x1e5)](){var _0x353e3b=_0x139016;this[_0x353e3b(0x1ec)][_0x353e3b(0x1e5)]();}}
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 _0x55e855=_0x11c1;function _0x5639(){const _0x51c2e1=['11itfgLG','5348312BFlBDN','defineComponents','6169610OekRWk','locale','Uploadcare','9ZxSqtD','pluginName','isOfficialPlugin','uploadcare.uploader.sourceList','23725092lJEwGm','4FvcOao','11132716uVjzJM','160346nXzvXo','1611370WVKzXd','Local','defineLocale','_defineLocale','get','uploadcare.locale','URL','6fcqbJj','requires','config','define','isPremiumPlugin','contentLanguage','21VNdKjd','3820485sddQrS','editor'];_0x5639=function(){return _0x51c2e1;};return _0x5639();}(function(_0x6a1bf,_0x132d2e){const _0x5f1dec=_0x11c1,_0x19213f=_0x6a1bf();while(!![]){try{const _0x3a98e5=-parseInt(_0x5f1dec(0xf4))/0x1*(-parseInt(_0x5f1dec(0xe6))/0x2)+parseInt(_0x5f1dec(0xf5))/0x3*(-parseInt(_0x5f1dec(0xe4))/0x4)+-parseInt(_0x5f1dec(0xe7))/0x5*(parseInt(_0x5f1dec(0xee))/0x6)+parseInt(_0x5f1dec(0xe5))/0x7+-parseInt(_0x5f1dec(0xda))/0x8*(-parseInt(_0x5f1dec(0xdf))/0x9)+parseInt(_0x5f1dec(0xdc))/0xa*(parseInt(_0x5f1dec(0xd9))/0xb)+-parseInt(_0x5f1dec(0xe3))/0xc;if(_0x3a98e5===_0x132d2e)break;else _0x19213f['push'](_0x19213f['shift']());}catch(_0xc87d49){_0x19213f['push'](_0x19213f['shift']());}}}(_0x5639,0xf0e25));import{Plugin as _0xa7f2}from'ckeditor5/src/core.js';import{UploadcareUI as _0x219345}from'./uploadcareui.js';import{UploadcareEditing as _0x40599b}from'./uploadcareediting.js';function _0x11c1(_0x4bfda1,_0x2f3e67){const _0x563905=_0x5639();return _0x11c1=function(_0x11c11e,_0x15bb8e){_0x11c11e=_0x11c11e-0xd8;let _0x196ecd=_0x563905[_0x11c11e];return _0x196ecd;},_0x11c1(_0x4bfda1,_0x2f3e67);}import{UploadcareSource as _0x34ab9e}from'./uploadcareconfig.js';import*as _0x4bdf54 from'@uploadcare/file-uploader';export class Uploadcare extends _0xa7f2{static get[_0x55e855(0xef)](){return[_0x40599b,_0x219345];}static get[_0x55e855(0xe0)](){const _0x4d4572=_0x55e855;return _0x4d4572(0xde);}static get[_0x55e855(0xe1)](){return!0x0;}static get[_0x55e855(0xf2)](){return!0x0;}constructor(_0x3d5416){const _0x3f270a=_0x55e855;super(_0x3d5416),_0x3d5416[_0x3f270a(0xf0)][_0x3f270a(0xf1)](_0x3f270a(0xe2),[_0x34ab9e[_0x3f270a(0xe8)],_0x34ab9e[_0x3f270a(0xed)]]),_0x4bdf54[_0x3f270a(0xdb)](_0x4bdf54),this[_0x3f270a(0xea)]();}[_0x55e855(0xea)](){const _0x2f4a2c=_0x55e855,_0xcc6921=this[_0x2f4a2c(0xd8)][_0x2f4a2c(0xf0)][_0x2f4a2c(0xeb)](_0x2f4a2c(0xec)),_0x5ed0de=this[_0x2f4a2c(0xd8)][_0x2f4a2c(0xdd)][_0x2f4a2c(0xf3)];_0xcc6921&&_0x4bdf54[_0x2f4a2c(0xe9)](_0x5ed0de,_0xcc6921);}}
@@ -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 _0x1db1(_0x2576a8,_0x3024b7){var _0x3d172f=_0x3d17();return _0x1db1=function(_0x1db1d3,_0x425d46){_0x1db1d3=_0x1db1d3-0x1d6;var _0x1a9d76=_0x3d172f[_0x1db1d3];return _0x1a9d76;},_0x1db1(_0x2576a8,_0x3024b7);}var _0x40205c=_0x1db1;(function(_0xa77eb,_0x32c2b8){var _0x229bec=_0x1db1,_0x12228b=_0xa77eb();while(!![]){try{var _0x24e272=-parseInt(_0x229bec(0x1da))/0x1*(parseInt(_0x229bec(0x1d9))/0x2)+-parseInt(_0x229bec(0x1e3))/0x3*(-parseInt(_0x229bec(0x1e5))/0x4)+-parseInt(_0x229bec(0x1ec))/0x5*(parseInt(_0x229bec(0x1e4))/0x6)+-parseInt(_0x229bec(0x1dc))/0x7+-parseInt(_0x229bec(0x1ea))/0x8*(-parseInt(_0x229bec(0x1e6))/0x9)+-parseInt(_0x229bec(0x1d6))/0xa+parseInt(_0x229bec(0x1e9))/0xb;if(_0x24e272===_0x32c2b8)break;else _0x12228b['push'](_0x12228b['shift']());}catch(_0x1070c4){_0x12228b['push'](_0x12228b['shift']());}}}(_0x3d17,0x593ef));import{Command as _0x5eb5bf}from'ckeditor5/src/core.js';import{Dialog as _0x188a92}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x262fd0}from'./uploadcareediting.js';import{UploadcareController as _0x192093}from'./ui/uploadcarecontroller.js';function _0x3d17(){var _0x290e49=['9RMgZWy','32892wtweNZ','688144sVVktp','369sSiHzz','requires','get','13815857nxXnTl','91832piGOQt','commands','140ACEjGG','destroy','5337570YArjRV','plugins','execute','1127702YRoHQg','1dauVHb','refresh','4382553QgrlHZ','_editing','editor','_controller','insertImage','_checkEnabled','isEnabled'];_0x3d17=function(){return _0x290e49;};return _0x3d17();}export class UploadcareCommand extends _0x5eb5bf{[_0x40205c(0x1dd)];[_0x40205c(0x1df)]=null;static get[_0x40205c(0x1e7)](){return[_0x188a92,_0x262fd0];}constructor(_0x7fce02){var _0x4edfa2=_0x40205c;super(_0x7fce02),this[_0x4edfa2(0x1dd)]=_0x7fce02[_0x4edfa2(0x1d7)][_0x4edfa2(0x1e8)](_0x262fd0);}[_0x40205c(0x1db)](){var _0x1189ce=_0x40205c;this[_0x1189ce(0x1e2)]=this[_0x1189ce(0x1e1)]();}[_0x40205c(0x1d8)](_0x39aa6c){var _0x54b29f=_0x40205c;this[_0x54b29f(0x1df)]&&(this[_0x54b29f(0x1df)][_0x54b29f(0x1ed)](),this[_0x54b29f(0x1df)]=null),this[_0x54b29f(0x1df)]=new _0x192093(this[_0x54b29f(0x1de)],this[_0x54b29f(0x1dd)],_0x39aa6c);}[_0x40205c(0x1e1)](){var _0x56d1f4=_0x40205c;return this[_0x56d1f4(0x1de)][_0x56d1f4(0x1eb)][_0x56d1f4(0x1e8)](_0x56d1f4(0x1e0))[_0x56d1f4(0x1e2)];}}
@@ -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 _0x5511(_0x3843a9,_0x51c037){var _0x47d397=_0x47d3();return _0x5511=function(_0x551188,_0x495184){_0x551188=_0x551188-0x14e;var _0x5d70e5=_0x47d397[_0x551188];return _0x5d70e5;},_0x5511(_0x3843a9,_0x51c037);}(function(_0x2b0680,_0x3a6cf4){var _0x3431c4=_0x5511,_0x577cc9=_0x2b0680();while(!![]){try{var _0x58ed36=parseInt(_0x3431c4(0x160))/0x1*(-parseInt(_0x3431c4(0x155))/0x2)+-parseInt(_0x3431c4(0x164))/0x3*(-parseInt(_0x3431c4(0x15f))/0x4)+-parseInt(_0x3431c4(0x153))/0x5*(-parseInt(_0x3431c4(0x158))/0x6)+-parseInt(_0x3431c4(0x15a))/0x7+-parseInt(_0x3431c4(0x151))/0x8+parseInt(_0x3431c4(0x15b))/0x9+-parseInt(_0x3431c4(0x15c))/0xa*(-parseInt(_0x3431c4(0x157))/0xb);if(_0x58ed36===_0x3a6cf4)break;else _0x577cc9['push'](_0x577cc9['shift']());}catch(_0x4dcc46){_0x577cc9['push'](_0x577cc9['shift']());}}}(_0x47d3,0x7eb12));function _0x47d3(){var _0x307f0f=['1570432wnDHyq','dropbox','432255mhrgvr','local','2ixVUZN','URL','22EqYqAy','42kkkUot','Local','4154843dZkGoV','7220007WthVjF','874870ZvrbQO','gphotos','Dropbox','4wCknkf','986714yiaJcX','onedrive','GDrive','Facebook','2139429gzxSRT','url','OneDrive','gdrive','GPhotos','facebook'];_0x47d3=function(){return _0x307f0f;};return _0x47d3();}export var UploadcareSource;!function(_0x53c197){var _0x2f704c=_0x5511;_0x53c197[_0x2f704c(0x159)]=_0x2f704c(0x154),_0x53c197[_0x2f704c(0x156)]=_0x2f704c(0x165),_0x53c197[_0x2f704c(0x15e)]=_0x2f704c(0x152),_0x53c197[_0x2f704c(0x162)]=_0x2f704c(0x14e),_0x53c197[_0x2f704c(0x163)]=_0x2f704c(0x150),_0x53c197[_0x2f704c(0x14f)]=_0x2f704c(0x15d),_0x53c197[_0x2f704c(0x166)]=_0x2f704c(0x161);}(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 _0x25920e=_0x2141;function _0x1536(){const _0xa58882=['cleanupImage','schema','uploadcare','body','imageInline','config','2140085RDujsu','model','uc-config','for','iconHrefResolver','extend','editor','render','execute','contentLanguage','_configElement','24TvThFg','_initSchema','#uc-icon-arrow-down','data-uc-image-id','replaceImageSource','view','afterInit','imageBlock','destroy','attributeToAttribute','input[uploadcare-file-input]','isRegistered','join','_initCtx','7935130lAaACR','getSelectedElement','appendChild','682339KOQPpY','listenTo','locale','uploadcareImageId','commands','removeAttribute','_initImageProcessingIndicator','\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','ctxElement','true','UploadcareEditing','isOfficialPlugin','ucContextId','204435foMORp','uploadcareImageReplace','34488WPxLnb','uploader-','closeMax','get','map','uploadcare.pubkey','_ctxElement','elementToAttribute','configElement','getAttribute','href','requires','58KUQOAP','document','editing','isPremiumPlugin','_initConversion','uploadcare.uploader','insertImage','1068qcoUvJ','99yZVlxx','uc-upload-ctx-provider','selection','remove','init','conversion','24391QGHuOK','add','_initConfig','PictureEditing','pluginName','once','fromCharCode','1107zYiORW','upcast','downcast','76852YkrSbo','querySelector'];_0x1536=function(){return _0xa58882;};return _0x1536();}(function(_0x5485e1,_0x45888c){const _0x1e1776=_0x2141,_0x2581f8=_0x5485e1();while(!![]){try{const _0xd1e7e9=parseInt(_0x1e1776(0x205))/0x1*(parseInt(_0x1e1776(0x1f7))/0x2)+parseInt(_0x1e1776(0x1ff))/0x3*(-parseInt(_0x1e1776(0x20f))/0x4)+parseInt(_0x1e1776(0x217))/0x5+parseInt(_0x1e1776(0x1cb))/0x6*(-parseInt(_0x1e1776(0x1dc))/0x7)+-parseInt(_0x1e1776(0x1eb))/0x8*(parseInt(_0x1e1776(0x20c))/0x9)+-parseInt(_0x1e1776(0x1d9))/0xa+parseInt(_0x1e1776(0x1e9))/0xb*(parseInt(_0x1e1776(0x1fe))/0xc);if(_0xd1e7e9===_0x45888c)break;else _0x2581f8['push'](_0x2581f8['shift']());}catch(_0x41158d){_0x2581f8['push'](_0x2581f8['shift']());}}}(_0x1536,0x6bd76));import{Plugin as _0x3c6390}from'ckeditor5/src/core.js';import{Dialog as _0x5672a3}from'ckeditor5/src/ui.js';import{createElement as _0x20a0a4,global as _0x2481a1,uid as _0x4fb329}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x441ade}from'./uploadcarecommand.js';function _0x2141(_0x329a7a,_0x44afd3){const _0x153600=_0x1536();return _0x2141=function(_0x2141e8,_0x3981bf){_0x2141e8=_0x2141e8-0x1c7;let _0xc35777=_0x153600[_0x2141e8];return _0xc35777;},_0x2141(_0x329a7a,_0x44afd3);}import{UploadcareUploadAdapter as _0xb199c8}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1eba8d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3c6390{[_0x25920e(0x1ca)]=null;[_0x25920e(0x1f1)]=null;static get[_0x25920e(0x209)](){const _0x1c0a7f=_0x25920e;return _0x1c0a7f(0x1e6);}static get[_0x25920e(0x1f6)](){const _0x422a45=_0x25920e;return[_0x422a45(0x208),_0xb199c8,_0x5672a3];}static get[_0x25920e(0x1e7)](){return!0x0;}static get[_0x25920e(0x1fa)](){return!0x0;}[_0x25920e(0x1e8)];get[_0x25920e(0x1f3)](){const _0x58fd94=_0x25920e;return this[_0x58fd94(0x1ca)];}get[_0x25920e(0x1e4)](){const _0x20079e=_0x25920e;return this[_0x20079e(0x1f1)];}constructor(_0x416a65){const _0x1000f0=_0x25920e;super(_0x416a65),this[_0x1000f0(0x1e8)]=_0x4fb329();}[_0x25920e(0x203)](){const _0x9a1fb0=_0x25920e,_0x426819=this[_0x9a1fb0(0x21d)];_0x426819[_0x9a1fb0(0x1e0)][_0x9a1fb0(0x206)](_0x9a1fb0(0x213),new _0x441ade(_0x426819));}[_0x25920e(0x1d1)](){const _0xb46ef=_0x25920e;this[_0xb46ef(0x1cc)](),this[_0xb46ef(0x1fb)](),this[_0xb46ef(0x207)](),this[_0xb46ef(0x1d8)](),this[_0xb46ef(0x1e2)](),this[_0xb46ef(0x1dd)](this[_0xb46ef(0x21d)],_0xb46ef(0x1d3),()=>{const _0x3ba208=_0xb46ef;this[_0x3ba208(0x1ca)]&&(this[_0x3ba208(0x1ca)][_0x3ba208(0x202)](),this[_0x3ba208(0x1ca)]=null),this[_0x3ba208(0x1f1)]&&(this[_0x3ba208(0x1f1)][_0x3ba208(0x202)](),this[_0x3ba208(0x1f1)]=null);const _0x45783d=_0x2481a1[_0x3ba208(0x1f8)][_0x3ba208(0x210)](_0x3ba208(0x1d5));_0x45783d&&_0x45783d[_0x3ba208(0x202)]();}),async function(_0x19ec68){const _0x3915cc=_0x2f2500([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]),_0x3fd166=0x535f8c3a,_0x510c7b=0x5358f39a^_0x3fd166,_0x10c8b8=window[_0x2f2500([0x44,0x61,0x74,0x65])][_0x2f2500([0x6e,0x6f,0x77])](),_0x9e0134=_0x19ec68[_0x2f2500([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f3f93=new window[(_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d031a=>{_0x9e0134[_0x2f2500([0x6f,0x6e,0x63,0x65])](_0x2f2500([0x72,0x65,0x61,0x64,0x79]),_0x5d031a);}),_0x2e84f4={[_0x2f2500([0x6b,0x74,0x79])]:_0x2f2500([0x45,0x43]),[_0x2f2500([0x75,0x73,0x65])]:_0x2f2500([0x73,0x69,0x67]),[_0x2f2500([0x63,0x72,0x76])]:_0x2f2500([0x50,0x2d,0x32,0x35,0x36]),[_0x2f2500([0x78])]:_0x2f2500([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]),[_0x2f2500([0x79])]:_0x2f2500([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]),[_0x2f2500([0x61,0x6c,0x67])]:_0x2f2500([0x45,0x53,0x32,0x35,0x36])},_0x346a3c=_0x9e0134[_0x2f2500([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f2500([0x67,0x65,0x74])](_0x2f2500([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ccb7c(){let _0x364d3f,_0x413916=null,_0x131a38=null;try{if(_0x346a3c==_0x2f2500([0x47,0x50,0x4c]))return _0x2f2500([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x364d3f=_0x32c256(),!_0x364d3f)return _0x2f2500([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x364d3f[_0x2f2500([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x131a38=_0x29370d(_0x364d3f[_0x2f2500([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x364d3f[_0x2f2500([0x6a,0x74,0x69])])),await _0x403477()?_0x236419()?_0x32d4b1()?_0x2f2500([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22123f()?(_0x364d3f[_0x2f2500([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f2500([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x413916=_0x2e609a(_0x2f2500([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa5fcc0()):_0x2f2500([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f2500([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f2500([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f2500([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32d4b1(){const _0x512244=[_0x2f2500([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f2500([0x74,0x72,0x69,0x61,0x6c])][_0x2f2500([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364d3f[_0x2f2500([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10c8b8/0x3e8:0xe10*_0x510c7b;return _0x364d3f[_0x2f2500([0x65,0x78,0x70])]<_0x512244;}function _0x236419(){const _0x2fd0c7=_0x364d3f[_0x2f2500([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2fd0c7&&(!!_0x2fd0c7[_0x2f2500([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2500([0x2a]))||!!_0x2fd0c7[_0x2f2500([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2500([0x55,0x50,0x4c,0x43])));}function _0x22123f(){const _0x56d960=_0x2141,_0x24996c=_0x364d3f[_0x2f2500([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24996c||0x0==_0x24996c[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e73b3}=new URL(window[_0x2f2500([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x56d960(0x1f5)]);if(_0x24996c[_0x2f2500([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e73b3))return!0x0;const _0x131e09=_0x1e73b3[_0x2f2500([0x73,0x70,0x6c,0x69,0x74])](_0x2f2500([0x2e]));return _0x24996c[_0x2f2500([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f19ba=>_0x1f19ba[_0x2f2500([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2500([0x2a])))[_0x2f2500([0x6d,0x61,0x70])](_0x305be8=>_0x305be8[_0x2f2500([0x73,0x70,0x6c,0x69,0x74])](_0x2f2500([0x2e])))[_0x2f2500([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xabd937=>_0xabd937[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x131e09[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f2500([0x6d,0x61,0x70])](_0x20acfa=>Array(_0x131e09[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20acfa[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f2500([0x66,0x69,0x6c,0x6c])](_0x20acfa[0x0]===_0x2f2500([0x2a])?_0x2f2500([0x2a]):'')[_0x2f2500([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20acfa))[_0x2f2500([0x73,0x6f,0x6d,0x65])](_0x44cda5=>_0x131e09[_0x2f2500([0x65,0x76,0x65,0x72,0x79])]((_0x2dac90,_0x109c02)=>_0x44cda5[_0x109c02]===_0x2dac90||_0x44cda5[_0x109c02]===_0x2f2500([0x2a])));}function _0xa5fcc0(){return _0x413916&&_0x131a38?new window[(_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14883c,_0x4cef10)=>{_0x413916[_0x2f2500([0x74,0x68,0x65,0x6e])](_0x14883c,_0x4cef10),_0x131a38[_0x2f2500([0x74,0x68,0x65,0x6e])](_0x3e6630=>{_0x3e6630!=_0x2f2500([0x56,0x61,0x6c,0x69,0x64])&&_0x14883c(_0x3e6630);},_0x4cef10);}):_0x413916||_0x131a38||_0x2f2500([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29370d(_0x587ce2,_0xb61f30){return new window[(_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a2183=>{if(_0x224190())return _0x4a2183(_0x2f2500([0x56,0x61,0x6c,0x69,0x64]));_0x5d01a5(),_0x9e0134[_0x2f2500([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f2500([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a532d=!0x1;const _0xcba846=_0x4fb329();function _0x2d83aa(_0x247d12){return!!_0x247d12&&(typeof _0x247d12===_0x2f2500([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x247d12===_0x2f2500([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x247d12[_0x2f2500([0x74,0x68,0x65,0x6e])]===_0x2f2500([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x247d12[_0x2f2500([0x63,0x61,0x74,0x63,0x68])]===_0x2f2500([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a4dc3(_0x52a271){_0xf7b91(_0x52a271)[_0x2f2500([0x74,0x68,0x65,0x6e])](_0x220a32=>{if(!_0x220a32||_0x220a32[_0x2f2500([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f2500([0x6f,0x6b]))return _0x2f2500([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2609f3(_0x2eada0(_0xcba846+_0xb61f30))!=_0x220a32[_0x2f2500([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f2500([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f2500([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f2500([0x74,0x68,0x65,0x6e])](_0x3f3166=>(_0x1ca4be(),_0x3f3166),()=>{const _0x373599=_0x5f02cf();return null==_0x373599?(_0x1ca4be(),_0x2f2500([0x56,0x61,0x6c,0x69,0x64])):_0x2f2500(_0x10c8b8-_0x373599>(0x7753083a^_0x3fd166)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f2500([0x74,0x68,0x65,0x6e])](_0x4a2183)[_0x2f2500([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a2183(_0x2f2500([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x260118=0x536962ba^_0x3fd166;function _0x1ca4be(){const _0x535588=_0x2f2500([0x6c,0x6c,0x63,0x74,0x2d])+_0x2609f3(_0x2eada0(_0x587ce2)),_0x296d31=_0x4c3778(_0x2609f3(window[_0x2f2500([0x4d,0x61,0x74,0x68])][_0x2f2500([0x63,0x65,0x69,0x6c])](_0x10c8b8/_0x260118)));window[_0x2f2500([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f2500([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x535588,_0x296d31);}function _0x5f02cf(){const _0x17f074=_0x2f2500([0x6c,0x6c,0x63,0x74,0x2d])+_0x2609f3(_0x2eada0(_0x587ce2)),_0xf88354=window[_0x2f2500([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f2500([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17f074);return _0xf88354?window[_0x2f2500([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c3778(_0xf88354),0x10)*_0x260118:null;}function _0xf7b91(_0x82bde4){return new window[(_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a70f2,_0x483d5b)=>{_0x82bde4[_0x2f2500([0x74,0x68,0x65,0x6e])](_0x4a70f2,_0x483d5b),window[_0x2f2500([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x483d5b,0x535e58fa^_0x3fd166);});}}_0x9e0134[_0x2f2500([0x6f,0x6e])](_0x2f2500([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35208b,_0x5c48f5)=>{if(_0x5c48f5[0x0]!=_0x587ce2)return _0x4a2183(_0x2f2500([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c48f5[0x1]={..._0x5c48f5[0x1],[_0x2f2500([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcba846};},{[_0x2f2500([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f2500([0x68,0x69,0x67,0x68])}),_0x9e0134[_0x2f2500([0x6f,0x6e])](_0x2f2500([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5536fd=>{_0x2d83aa(_0x5536fd[_0x2f2500([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a532d=!0x0,_0x3a4dc3(_0x5536fd[_0x2f2500([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f2500([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f2500([0x6c,0x6f,0x77])}),_0x4f3f93[_0x2f2500([0x74,0x68,0x65,0x6e])](()=>{_0x5a532d||_0x4a2183(_0x2f2500([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x224190(){return _0x9e0134[_0x2f2500([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f2500([0x76,0x69,0x65,0x77])][_0x2f2500([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f2500([0x61,0x75,0x74,0x6f]);}function _0x5d01a5(){_0x9e0134[_0x2f2500([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f2500([0x76,0x69,0x65,0x77])][_0x2f2500([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f2500([0x61,0x75,0x74,0x6f]);}}function _0x2e609a(_0x46fad7){const _0x49504b=[new window[(_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa473db=>setTimeout(_0xa473db,0x5356b2f6^_0x3fd166)),_0x4f3f93[_0x2f2500([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af9f5=>{let _0x4858ac=0x0;_0x9e0134[_0x2f2500([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f2500([0x6f,0x6e])](_0x2f2500([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x272834,_0x4b893f)=>{_0x4b893f[0x0][_0x2f2500([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4858ac++,_0x4858ac==(0x535f89d2^_0x3fd166)&&(_0x1af9f5(),_0x272834[_0x2f2500([0x6f,0x66,0x66])]());});}))];return window[_0x2f2500([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f2500([0x72,0x61,0x63,0x65])](_0x49504b)[_0x2f2500([0x74,0x68,0x65,0x6e])](()=>_0x46fad7);}async function _0x27436e(){await _0x4f3f93,_0x9e0134[_0x2f2500([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f2500([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea077,_0x9e0134[_0x2f2500([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f2500([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ea077,_0x9e0134[_0x2f2500([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f2500([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x320133(_0x3b5a6f){const _0x5a2da6=_0x156d54();_0x9e0134[_0x5a2da6]=_0x2f2500([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b5a6f,_0x3b5a6f!=_0x2f2500([0x56,0x61,0x6c,0x69,0x64])&&_0x27436e();}function _0x156d54(){const _0x3d3d58=window[_0x2f2500([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f2500([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f2500([0x6e,0x6f,0x77])]())[_0x2f2500([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f2500([0x2e]),'');let _0xa6aed6=_0x2f2500([0x68]);for(let _0x469811=0x0;_0x469811<_0x3d3d58[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x469811+=0x2){let _0xc22b88=window[_0x2f2500([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d3d58[_0x2f2500([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x469811,_0x469811+0x2));_0xc22b88>=_0x3915cc[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc22b88-=_0x3915cc[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa6aed6+=_0x3915cc[_0xc22b88];}return _0xa6aed6;}function _0x32c256(){const _0x611eed=_0x346a3c[_0x2f2500([0x73,0x70,0x6c,0x69,0x74])](_0x2f2500([0x2e]));if(0x3!=_0x611eed[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x774e76(_0x611eed[0x1]);function _0x774e76(_0x2bc85a){const _0x26fc48=_0x53ebd1(_0x2bc85a);return _0x26fc48&&_0x5975ed()?_0x26fc48:null;function _0x5975ed(){const _0x444b85=_0x26fc48[_0x2f2500([0x6a,0x74,0x69])],_0x2d51a3=window[_0x2f2500([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x444b85[_0x2f2500([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x444b85[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cd549={..._0x26fc48,[_0x2f2500([0x6a,0x74,0x69])]:_0x444b85[_0x2f2500([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x444b85[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cd549[_0x2f2500([0x76,0x63])],_0x2eada0(_0x5cd549)==_0x2d51a3;}}}async function _0x403477(){let _0xad75b8=!0x0;try{const _0x564b90=_0x346a3c[_0x2f2500([0x73,0x70,0x6c,0x69,0x74])](_0x2f2500([0x2e])),[_0xe4b347,_0x10e4ce,_0xb48e9d]=_0x564b90;return _0x15c834(_0xe4b347),await _0x19f99d(_0xe4b347,_0x10e4ce,_0xb48e9d),_0xad75b8;}catch{return!0x1;}function _0x15c834(_0x33a233){const _0xd8c852=_0x53ebd1(_0x33a233);_0xd8c852&&_0xd8c852[_0x2f2500([0x61,0x6c,0x67])]==_0x2f2500([0x45,0x53,0x32,0x35,0x36])||(_0xad75b8=!0x1);}async function _0x19f99d(_0x4f9895,_0x1958e3,_0x3ee4e7){const _0x3c6717=window[_0x2f2500([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f2500([0x66,0x72,0x6f,0x6d])](_0x5a869b(_0x3ee4e7),_0x6f184b=>_0x6f184b[_0x2f2500([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7a67d8=new window[(_0x2f2500([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f2500([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f9895+_0x2f2500([0x2e])+_0x1958e3),_0x1a3f0e=window[_0x2f2500([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f2500([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a3f0e)return;const _0x1d42bd=await _0x1a3f0e[_0x2f2500([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f2500([0x6a,0x77,0x6b]),_0x2e84f4,{[_0x2f2500([0x6e,0x61,0x6d,0x65])]:_0x2f2500([0x45,0x43,0x44,0x53,0x41]),[_0x2f2500([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f2500([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f2500([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a3f0e[_0x2f2500([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f2500([0x6e,0x61,0x6d,0x65])]:_0x2f2500([0x45,0x43,0x44,0x53,0x41]),[_0x2f2500([0x68,0x61,0x73,0x68])]:{[_0x2f2500([0x6e,0x61,0x6d,0x65])]:_0x2f2500([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d42bd,_0x3c6717,_0x7a67d8)||(_0xad75b8=!0x1);}}function _0x53ebd1(_0x2e0898){return _0x2e0898[_0x2f2500([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f2500([0x65,0x79]))?JSON[_0x2f2500([0x70,0x61,0x72,0x73,0x65])](_0x5a869b(_0x2e0898)):null;}function _0x5a869b(_0x90aa1){return window[_0x2f2500([0x61,0x74,0x6f,0x62])](_0x90aa1[_0x2f2500([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f2500([0x2b]))[_0x2f2500([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f2500([0x2f])));}function _0x2eada0(_0x5fb50){let _0x5d3b69=0x1505;function _0x1ed1ba(_0x1868e1){for(let _0x4d0136=0x0;_0x4d0136<_0x1868e1[_0x2f2500([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d0136++){const _0x2c7dde=_0x1868e1[_0x2f2500([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d0136);_0x5d3b69=(_0x5d3b69<<0x5)+_0x5d3b69+_0x2c7dde,_0x5d3b69&=_0x5d3b69;}}function _0x22ba2b(_0x16f6c3){Array[_0x2f2500([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16f6c3)?_0x16f6c3[_0x2f2500([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22ba2b):_0x16f6c3&&typeof _0x16f6c3==_0x2f2500([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f2500([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16f6c3)[_0x2f2500([0x73,0x6f,0x72,0x74])]()[_0x2f2500([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e3ec2,_0xd9ac5f])=>{_0x1ed1ba(_0x3e3ec2),_0x22ba2b(_0xd9ac5f);}):_0x1ed1ba(window[_0x2f2500([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16f6c3));}return _0x22ba2b(_0x5fb50),_0x5d3b69>>>0x0;}function _0x2609f3(_0x4fefe0){return _0x4fefe0[_0x2f2500([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f2500([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f2500([0x30]));}function _0x4c3778(_0xa6c1dc){return _0xa6c1dc[_0x2f2500([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f2500([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f2500([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ea077(){}function _0x2f2500(_0x3ca9cf){const _0x232d2b=_0x2141;return _0x3ca9cf[_0x232d2b(0x1ef)](_0x523604=>String[_0x232d2b(0x20b)](_0x523604))[_0x232d2b(0x1d7)]('');}_0x320133(await _0x5ccb7c());}(this);}[_0x25920e(0x1cc)](){const _0x3ce9dd=_0x25920e,_0x50d48e=this[_0x3ce9dd(0x21d)][_0x3ce9dd(0x218)][_0x3ce9dd(0x212)];_0x50d48e[_0x3ce9dd(0x1d6)](_0x3ce9dd(0x1d2))&&_0x50d48e[_0x3ce9dd(0x21c)](_0x3ce9dd(0x1d2),{'allowAttributes':[_0x3ce9dd(0x1df)]}),_0x50d48e[_0x3ce9dd(0x1d6)](_0x3ce9dd(0x215))&&_0x50d48e[_0x3ce9dd(0x21c)](_0x3ce9dd(0x215),{'allowAttributes':[_0x3ce9dd(0x1df)]});}[_0x25920e(0x1fb)](){const _0x35f108=_0x25920e,_0x554368=this[_0x35f108(0x21d)];_0x554368[_0x35f108(0x204)][_0x35f108(0x21a)](_0x35f108(0x20e))[_0x35f108(0x1d4)]({'model':_0x35f108(0x1df),'view':_0x35f108(0x1ce)}),_0x554368[_0x35f108(0x204)][_0x35f108(0x21a)](_0x35f108(0x20d))[_0x35f108(0x1f2)]({'model':{'key':_0x35f108(0x1df),'value':_0x569daf=>_0x569daf[_0x35f108(0x1f4)](_0x35f108(0x1ce))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1763f3=_0x554368[_0x35f108(0x1e0)][_0x35f108(0x1ee)](_0x35f108(0x1cf));_0x1763f3&&this[_0x35f108(0x1dd)](_0x1763f3,_0x35f108(0x211),(_0x4c3cf3,[_0x24e97d,_0x504bf2])=>{const _0x5b554c=_0x35f108;_0x24e97d[_0x5b554c(0x1e1)](_0x5b554c(0x1df),_0x504bf2);});}[_0x25920e(0x207)](){const _0x7be22f=_0x25920e,_0x5ded84=this[_0x7be22f(0x21d)][_0x7be22f(0x216)][_0x7be22f(0x1ee)](_0x7be22f(0x1fc))||{},_0x162167=this[_0x7be22f(0x21d)][_0x7be22f(0x216)][_0x7be22f(0x1ee)](_0x7be22f(0x1f0))||'';this[_0x7be22f(0x1ca)]=_0x20a0a4(_0x2481a1[_0x7be22f(0x1f8)],_0x7be22f(0x219),{..._0x5ded84,'pubkey':_0x162167,'ctx-name':_0x7be22f(0x1ec)+this[_0x7be22f(0x1e8)],'sourceList':'','imgOnly':_0x7be22f(0x1e5),'removeCopyright':_0x7be22f(0x1e5),'localeName':this[_0x7be22f(0x21d)][_0x7be22f(0x1de)][_0x7be22f(0x1c9)],'externalSourcesEmbedCss':_0x7be22f(0x1e3)}),this[_0x7be22f(0x1ca)][_0x7be22f(0x21b)]=_0x6bbd2=>{const _0x3a8b18=_0x7be22f;if(_0x3a8b18(0x1ed)==_0x6bbd2)return _0x3a8b18(0x1cd);},_0x2481a1[_0x7be22f(0x1f8)][_0x7be22f(0x214)][_0x7be22f(0x1db)](this[_0x7be22f(0x1ca)]);}[_0x25920e(0x1d8)](){const _0x182868=_0x25920e;this[_0x182868(0x1f1)]=_0x20a0a4(_0x2481a1[_0x182868(0x1f8)],_0x182868(0x200),{'ctx-name':_0x182868(0x1ec)+this[_0x182868(0x1e8)]}),_0x2481a1[_0x182868(0x1f8)][_0x182868(0x214)][_0x182868(0x1db)](this[_0x182868(0x1f1)]);}[_0x25920e(0x1e2)](){const _0xcef270=_0x25920e,_0x287302=this[_0xcef270(0x21d)][_0xcef270(0x1e0)][_0xcef270(0x1ee)](_0xcef270(0x1fd));_0x287302&&this[_0xcef270(0x1dd)](_0x287302,_0xcef270(0x1c8),()=>{const _0x5675a4=_0xcef270,_0x4973b1=this[_0x5675a4(0x21d)][_0x5675a4(0x218)][_0x5675a4(0x1f8)][_0x5675a4(0x201)][_0x5675a4(0x1da)]();_0x4973b1&&_0x4973b1[_0x5675a4(0x1f4)](_0x5675a4(0x1df))&&this[_0x5675a4(0x21d)][_0x5675a4(0x1f9)][_0x5675a4(0x1d0)][_0x5675a4(0x20a)](_0x5675a4(0x1c7),()=>{const _0x33cb96=_0x5675a4;_0x1eba8d(this[_0x33cb96(0x21d)],_0x4973b1);});});const _0x1770e1=this[_0xcef270(0x21d)][_0xcef270(0x1e0)][_0xcef270(0x1ee)](_0xcef270(0x1ea));_0x1770e1&&this[_0xcef270(0x1dd)](_0x1770e1,_0xcef270(0x1c8),()=>{const _0x376f57=_0xcef270,_0x3819d0=this[_0x376f57(0x21d)][_0x376f57(0x218)][_0x376f57(0x1f8)][_0x376f57(0x201)][_0x376f57(0x1da)]();_0x3819d0&&_0x3819d0[_0x376f57(0x1f4)](_0x376f57(0x1df))&&this[_0x376f57(0x21d)][_0x376f57(0x1f9)][_0x376f57(0x1d0)][_0x376f57(0x20a)](_0x376f57(0x1c7),()=>{const _0x488583=_0x376f57;_0x1eba8d(this[_0x488583(0x21d)],_0x3819d0);});});}}
@@ -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 _0x25d427,ObservableMixin as _0x53ab5f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x15fda9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c8fef}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x32db01}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xa1879a}from'../../utils/uploadutils.js';import{getImageUrls as _0x40ed6b,getImageDimension as _0x63e698}from'../../utils/editingutils.js';import{isAncestor as _0x2b6e55}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x53ab5f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x528561,_0x2a7a63,_0x127289){super(),this['_editor']=_0x528561,this['_dialog']=_0x2a7a63,this['_imageElement']=_0x127289,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 _0x161179=this['_imageElement'],_0x27a445=_0x161179['getAttribute']('uploadcareImageId'),_0xb1c24a=_0x161179['getAttribute']('src');if(_0x27a445)await this['_loadImageInfo'](_0x27a445,_0xb1c24a);else{if(this['_imageCache']['has'](_0xb1c24a)){const _0x1e90c6=this['_imageCache']['get'](_0xb1c24a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e90c6['url'],this['imageDimension']=_0x1e90c6['dimension'],this['imageId']=_0x1e90c6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x17d604}=this['_editor'],t=_0x17d604['t'],_0xe8083b=new _0x32db01(_0x17d604,this['imageStatus'],this['_attributes']);_0xe8083b['bind']('status')['to'](this,'imageStatus'),_0xe8083b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe8083b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe8083b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe8083b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5c8fef,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe8083b,'position':_0x15fda9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe8083b['focus']();},'onHide':()=>{_0xe8083b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x21e0a4=>!_0x2b6e55(_0x21e0a4,_0xe8083b['element'])}});}['_loadImageInfo'](_0x34543c,_0x48c668){return _0xa1879a['getInfo'](_0x34543c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5cf283=>{const {width:_0x869902,height:_0x846441}=_0x5cf283['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48c668,this['imageDimension']={'width':_0x869902,'height':_0x846441},this['imageId']=_0x34543c;})['catch'](_0x26e6d2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26e6d2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4daacc,_0x242763){return this['_getImageAsFile'](_0x4daacc)['then'](_0x51bd0b=>_0xa1879a['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':_0x242763['signal'],'file':_0x51bd0b,'onProgress':_0x330deb=>{_0x330deb&&_0x330deb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x330deb['value']));}}))['then'](_0x44d86e=>{const {width:_0x4962dd,height:_0x43bfac}=_0x44d86e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x44d86e['cdnUrl'],this['imageDimension']={'width':_0x4962dd,'height':_0x43bfac},this['imageId']=_0x44d86e['uuid'],this['imageUploadProgress']=null;const _0x37c522=_0x4daacc['getAttribute']('src');this['_imageCache']['set'](_0x37c522,{'id':_0x44d86e['uuid'],'url':_0x44d86e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2545d4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2545d4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3bfa22,_0x5a2fbd){_0x3bfa22['on']('apply',(_0x5cb2a4,_0xc384df)=>{this['_replaceImage'](_0x5a2fbd,_0xc384df['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3bfa22['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3bfa22['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2d1289,_0x43d1dd,_0x5c5b03){const _0x566dbc=this['_editor'],{width:_0x49cd46,height:_0x411567}=_0x63e698(_0x43d1dd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57a348,imageSources:_0x2874f2}=_0x40ed6b(_0x43d1dd,_0x49cd46);_0x566dbc['model']['change'](_0x2fb2e0=>{if('$graveyard'===_0x2d1289['root']['rootName']){_0x566dbc['execute']('insertImage',{'imageType':_0x2d1289['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2d1289['getAttributes']()),'uploadcareImageId':_0x5c5b03,'src':_0x57a348,'sources':_0x2874f2,'width':_0x49cd46,'height':_0x411567}});const _0x157e1e=_0x2d1289['getChildren']();_0x2d1289=_0x566dbc['model']['document']['selection']['getSelectedElement']();for(const _0xb1d354 of _0x157e1e)_0x2fb2e0['append'](_0x2fb2e0['cloneElement'](_0xb1d354),_0x2d1289);}else _0x2fb2e0['setSelection'](_0x2d1289,'on'),_0x566dbc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2d1289['getAttributes']()),'uploadcareImageId':_0x5c5b03,'src':_0x57a348,'sources':_0x2874f2,'width':_0x49cd46,'height':_0x411567},_0x2d1289);_0x2fb2e0['setSelection'](_0x2d1289,'on');});}async['_getImageAsFile'](_0x55b0a0){const _0x2e0184=_0x25d427['window'],_0x533c19=_0x25d427['document']['location']['href'],_0x3d78bd=new _0x2e0184['URL'](_0x55b0a0['getAttribute']('src'),_0x533c19);if('data:'===_0x3d78bd['protocol']){const _0x18c090=_0x3d78bd['href']['split'](','),_0x273197=_0x18c090[0x0]['match'](/:(.*?);/)[0x1],_0x1a42f1=_0x273197['split']('/')[0x1],_0x242c16=_0x2e0184['atob'](_0x18c090[_0x18c090['length']-0x1]);let _0x3def36=_0x242c16['length'];const _0x37536c=new _0x2e0184['Uint8Array'](_0x3def36);for(;_0x3def36--;)_0x37536c[_0x3def36]=_0x242c16['charCodeAt'](_0x3def36);return new _0x2e0184['File']([_0x37536c],'image.'+_0x1a42f1,{'type':_0x273197});}const _0x3b5994=_0x3d78bd['href']['split']('/'),_0x39ca92=_0x3b5994[_0x3b5994['length']-0x1],_0x45a9c6=_0x39ca92['split']('.')[0x1];return _0x2e0184['fetch'](_0x3d78bd['href'])['then'](_0x2e604c=>_0x2e604c['clone']()['blob']())['then'](_0xeba0f6=>new _0x2e0184['File']([_0xeba0f6],_0x39ca92,{'type':'image/'+_0x45a9c6}));}}
@@ -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(_0x4124df,_0x31c530){const _0x57cc60=_0x330e,_0x51741b=_0x4124df();while(!![]){try{const _0x55aacc=parseInt(_0x57cc60(0x1ab))/0x1*(-parseInt(_0x57cc60(0x1ad))/0x2)+-parseInt(_0x57cc60(0x1a9))/0x3+-parseInt(_0x57cc60(0x1a5))/0x4+parseInt(_0x57cc60(0x1aa))/0x5*(parseInt(_0x57cc60(0x1b5))/0x6)+parseInt(_0x57cc60(0x1ae))/0x7*(parseInt(_0x57cc60(0x1a8))/0x8)+parseInt(_0x57cc60(0x1a3))/0x9+-parseInt(_0x57cc60(0x1b2))/0xa*(-parseInt(_0x57cc60(0x1b1))/0xb);if(_0x55aacc===_0x31c530)break;else _0x51741b['push'](_0x51741b['shift']());}catch(_0x479cad){_0x51741b['push'](_0x51741b['shift']());}}}(_0x4b6d,0xd9a2c));function _0x4b6d(){const _0x19d5b8=['bindTemplate','42evBsdR','9005040cGcfgP','image-edit','3040244gmEurF','ck-uploadcare-theme','setTemplate','12436808wFIrUs','3193233HOxPdm','99325IrJDqa','1193861nFgKDk','imageSrc','2biVOOT','7vdkQNX','set','uc-cloud-image-editor','11azgEbL','12155530AfxHGi','uc-light'];_0x4b6d=function(){return _0x19d5b8;};return _0x4b6d();}function _0x330e(_0x45edfe,_0x5b7970){const _0x4b6d16=_0x4b6d();return _0x330e=function(_0x330e49,_0x639f1b){_0x330e49=_0x330e49-0x1a3;let _0x40da94=_0x4b6d16[_0x330e49];return _0x40da94;},_0x330e(_0x45edfe,_0x5b7970);}import{View as _0x1be94b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1be94b{constructor(_0x1efa70,_0x4709f3){const _0x9d65be=_0x330e;super(_0x1efa70);const _0xaff4b=this[_0x9d65be(0x1b4)];this[_0x9d65be(0x1af)](_0x9d65be(0x1ac),''),this[_0x9d65be(0x1a7)]({'tag':_0x9d65be(0x1b0),'attributes':{..._0x4709f3,'class':[_0x9d65be(0x1b3),_0x9d65be(0x1a6)],'ctx-name':_0x9d65be(0x1a4),'cdn-url':_0xaff4b['to'](_0x9d65be(0x1ac))}});}}
@@ -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 _0x4d5cc7}from'ckeditor5/src/icons.js';import{ButtonView as _0x2839a9,IconView as _0x2a8a79,View as _0x1ebfef}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1ebfef{constructor(_0x4e6801){super(_0x4e6801);const t=_0x4e6801['t'];this['set']('errorType',null);const _0x4d8994=new _0x2839a9(_0x4e6801);_0x4d8994['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4d8994['withText']=!0x0,_0x4d8994['class']='ck-button-action',_0x4d8994['on']('execute',()=>{this['fire']('retry');}),_0x4d8994['bind']('isVisible')['to'](this,'errorType',_0x257db4=>'NotFound'!==_0x257db4);const _0x2c27a8=new _0x2a8a79();_0x2c27a8['content']=_0x4d5cc7,_0x2c27a8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4716bc=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':[_0x2c27a8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4716bc['to']('errorType',_0x4d7bb3=>t('NotFound'!==_0x4d7bb3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4d8994]},{'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 _0x588d3f,View as _0x459d51}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x459d51{constructor(_0x3900c9){super(_0x3900c9);const t=_0x3900c9['t'],_0x523163=this['bindTemplate'],_0x47ff36=new _0x588d3f();_0x47ff36['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':[_0x47ff36,{'text':_0x523163['to']('imageUploadProgress',_0x549834=>t('Loading\x20image...')+'\x20('+(_0x549834||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 _0x4ec2d5=_0x4e6e;(function(_0x463ed0,_0x282ebe){const _0x4bd5fd=_0x4e6e,_0x1ffdc8=_0x463ed0();while(!![]){try{const _0x3f8cfe=-parseInt(_0x4bd5fd(0x10a))/0x1+-parseInt(_0x4bd5fd(0x11a))/0x2*(parseInt(_0x4bd5fd(0x113))/0x3)+-parseInt(_0x4bd5fd(0x103))/0x4+-parseInt(_0x4bd5fd(0x100))/0x5+-parseInt(_0x4bd5fd(0xfa))/0x6*(parseInt(_0x4bd5fd(0x105))/0x7)+-parseInt(_0x4bd5fd(0x109))/0x8+parseInt(_0x4bd5fd(0xea))/0x9;if(_0x3f8cfe===_0x282ebe)break;else _0x1ffdc8['push'](_0x1ffdc8['shift']());}catch(_0xd482a9){_0x1ffdc8['push'](_0x1ffdc8['shift']());}}}(_0x1b2e,0x73293));function _0x1b2e(){const _0x3300f5=['817599eJVdza','_waitForImageEditorComponent','once','getFocusableElement','createCollection','apply','uploading','cdnUrl','_editingView','1321179StMHJs','status','querySelector','detail','div','ck-uploadcare-form','addEventListener','2RizWRp','uc-cloud-image-editor','add','filter','fire','setTemplate','34238160tAPzHz','_setView','_items','nodeName','focus','target','retry','addedNodes','_focusableView','element','_errorView','observe','_addErrorViewListeners','disconnect','change:status','toLowerCase','1018146ooKMYY','addMany','cancel','length','set','error','2622740dhJHaX','_addUploadcareImageEditorListeners','_loadingView','2662016bpVpGJ','ready','7vZVsYT','ck-reset_all-excluded','clear','render','5718448GQqGqU'];_0x1b2e=function(){return _0x3300f5;};return _0x1b2e();}function _0x4e6e(_0x1b6103,_0x36e9e9){const _0x1b2e04=_0x1b2e();return _0x4e6e=function(_0x4e6e3f,_0x3c66ec){_0x4e6e3f=_0x4e6e3f-0xe6;let _0x173109=_0x1b2e04[_0x4e6e3f];return _0x173109;},_0x4e6e(_0x1b6103,_0x36e9e9);}import{View as _0x2e6430}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2e6645}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x341133}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x38d4b1}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x39c27f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x39c27f{[_0x4ec2d5(0xec)];[_0x4ec2d5(0x102)];[_0x4ec2d5(0xf4)];[_0x4ec2d5(0x112)];[_0x4ec2d5(0xf2)];constructor(_0x1d7dcb,_0x31229a,_0x4524fb){const _0x2c301e=_0x4ec2d5;super(_0x1d7dcb),this[_0x2c301e(0xec)]=this[_0x2c301e(0x10e)](),this[_0x2c301e(0x102)]=new _0x2e6645(_0x1d7dcb),this[_0x2c301e(0xf4)]=new _0x341133(_0x1d7dcb),this[_0x2c301e(0x112)]=new _0x38d4b1(_0x1d7dcb,_0x4524fb),this[_0x2c301e(0xf2)]=new _0x2e6430(_0x1d7dcb),this[_0x2c301e(0xf2)][_0x2c301e(0xe9)](this[_0x2c301e(0x10d)]()),this[_0x2c301e(0xfe)](_0x2c301e(0x114),_0x31229a),this[_0x2c301e(0xe9)]({'tag':_0x2c301e(0x117),'attributes':{'class':['ck',_0x2c301e(0x106),_0x2c301e(0x118)],'tabindex':'-1'},'children':this[_0x2c301e(0xec)]}),this[_0x2c301e(0xeb)](),this[_0x2c301e(0x10c)](_0x2c301e(0x108),()=>{const _0x417462=_0x2c301e;this[_0x417462(0x10b)](this[_0x417462(0xf3)],_0x4470fa=>{const _0x5e9117=_0x417462;this[_0x5e9117(0x101)](_0x4470fa);});}),this['on'](_0x2c301e(0xf8),()=>{const _0x38026b=_0x2c301e;this[_0x38026b(0xeb)]();}),this[_0x2c301e(0xf6)]();}[_0x4ec2d5(0xee)](){const _0x363570=_0x4ec2d5;this[_0x363570(0xf3)][_0x363570(0xee)]();}[_0x4ec2d5(0xeb)](){const _0x124f53=_0x4ec2d5;switch(this[_0x124f53(0xec)][_0x124f53(0x107)](),this[_0x124f53(0x114)]){case _0x124f53(0x110):this[_0x124f53(0xec)][_0x124f53(0xe6)](this[_0x124f53(0x102)]);break;case _0x124f53(0xff):this[_0x124f53(0xec)][_0x124f53(0xe6)](this[_0x124f53(0xf4)]);break;case _0x124f53(0x104):this[_0x124f53(0xec)][_0x124f53(0xfb)]([this[_0x124f53(0x112)],this[_0x124f53(0xf2)]]);}}[_0x4ec2d5(0x10b)](_0x1aea11,_0x2a203b){const _0x1b46ea=_0x4ec2d5,_0x35f752=_0x1b46ea(0x11b),_0x575c90=_0x1aea11[_0x1b46ea(0x115)](_0x35f752);if(_0x575c90)return _0x2a203b(_0x575c90);const _0x1a40c9=new MutationObserver(_0x3a7d68=>{const _0x4c8db2=_0x1b46ea,_0x55a9cc=_0x3a7d68[_0x4c8db2(0xe7)](_0x1a99c3=>_0x1a99c3[_0x4c8db2(0xef)]===_0x1aea11&&_0x1a99c3[_0x4c8db2(0xf1)][_0x4c8db2(0xfd)]>0x0&&_0x1a99c3[_0x4c8db2(0xf1)][0x0][_0x4c8db2(0xed)][_0x4c8db2(0xf9)]()===_0x35f752);_0x55a9cc[_0x4c8db2(0xfd)]&&(_0x1a40c9[_0x4c8db2(0xf7)](),_0x2a203b(_0x55a9cc[0x0][_0x4c8db2(0xf1)][0x0]));});_0x1a40c9[_0x1b46ea(0xf5)](_0x1aea11,{'childList':!0x0,'subtree':!0x0});}[_0x4ec2d5(0x101)](_0x56aaf5){const _0x36e818=_0x4ec2d5;_0x56aaf5[_0x36e818(0x119)](_0x36e818(0x10f),_0x1c5907=>{const _0x2fce6d=_0x36e818;this[_0x2fce6d(0xe8)](_0x2fce6d(0x10f),{'imageSrc':_0x1c5907[_0x2fce6d(0x116)][_0x2fce6d(0x111)]});}),_0x56aaf5[_0x36e818(0x119)](_0x36e818(0xfc),()=>{const _0x20ef0f=_0x36e818;this[_0x20ef0f(0xe8)](_0x20ef0f(0xfc));});}[_0x4ec2d5(0xf6)](){const _0x32e3ac=_0x4ec2d5;this[_0x32e3ac(0xf4)]['on'](_0x32e3ac(0xf0),()=>{const _0x143e63=_0x32e3ac;this[_0x143e63(0xe8)](_0x143e63(0xf0));});}}
@@ -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 _0x3affc2=_0x2824;(function(_0x593937,_0x4c9277){const _0x2ee063=_0x2824,_0x124a53=_0x593937();while(!![]){try{const _0x5daa3b=-parseInt(_0x2ee063(0x160))/0x1+-parseInt(_0x2ee063(0x150))/0x2+-parseInt(_0x2ee063(0x154))/0x3+-parseInt(_0x2ee063(0x144))/0x4+parseInt(_0x2ee063(0x147))/0x5+-parseInt(_0x2ee063(0x158))/0x6+parseInt(_0x2ee063(0x157))/0x7;if(_0x5daa3b===_0x4c9277)break;else _0x124a53['push'](_0x124a53['shift']());}catch(_0x3ee229){_0x124a53['push'](_0x124a53['shift']());}}}(_0x127d,0xea90f));import{Command as _0x203025}from'ckeditor5/src/core.js';import{Dialog as _0xfb8299}from'ckeditor5/src/ui.js';function _0x2824(_0x29f389,_0x56ba81){const _0x127dda=_0x127d();return _0x2824=function(_0x28241b,_0x4ad06f){_0x28241b=_0x28241b-0x144;let _0x3fdc2e=_0x127dda[_0x28241b];return _0x3fdc2e;},_0x2824(_0x29f389,_0x56ba81);}function _0x127d(){const _0x6fc656=['imageEditController','isActive','execute','bind','refresh','uploadcare.allowExternalImagesEditing','model','1410605vaFZUh','7318952GgmaVK','imageInline','plugins','534795vEatlA','set','unbind','selection','getSelectedElement','requires','isEnabled','document','imageBlock','1470004SsVCWP','config','_isEditable','get','4845003UdjZTz','editor','element','49011158bxdMSZ','3344544pILURg'];_0x127d=function(){return _0x6fc656;};return _0x127d();}import{UploadcareImageEditController as _0x343bbf}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1a01b7}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x203025{[_0x3affc2(0x159)];static get[_0x3affc2(0x14c)](){return[_0xfb8299];}[_0x3affc2(0x152)];constructor(_0x2109f3){const _0x47daf7=_0x3affc2;super(_0x2109f3),this[_0x47daf7(0x159)]=void 0x0,this[_0x47daf7(0x152)]=_0x1a01b7(_0x2109f3[_0x47daf7(0x151)][_0x47daf7(0x153)](_0x47daf7(0x15e))||[]),this[_0x47daf7(0x148)]({'isActive':!0x1});}[_0x3affc2(0x15d)](){const _0x4b55e7=_0x3affc2,_0x4029c7=this[_0x4b55e7(0x155)][_0x4b55e7(0x15f)][_0x4b55e7(0x14e)][_0x4b55e7(0x14a)][_0x4b55e7(0x14b)]();this[_0x4b55e7(0x14d)]=this[_0x4b55e7(0x152)](_0x4029c7);}[_0x3affc2(0x15b)](){const _0x576453=_0x3affc2;this[_0x576453(0x159)]&&(this[_0x576453(0x149)](_0x576453(0x15a)),this[_0x576453(0x159)]=void 0x0);const _0x13006f=this[_0x576453(0x155)][_0x576453(0x15f)][_0x576453(0x14e)][_0x576453(0x14a)][_0x576453(0x14b)]();_0x13006f&&(_0x13006f['is'](_0x576453(0x156),_0x576453(0x14f))||_0x13006f['is'](_0x576453(0x156),_0x576453(0x145)))&&(this[_0x576453(0x159)]=new _0x343bbf(this[_0x576453(0x155)],this[_0x576453(0x155)][_0x576453(0x146)][_0x576453(0x153)](_0xfb8299),_0x13006f),this[_0x576453(0x15c)](_0x576453(0x15a))['to'](this[_0x576453(0x159)],_0x576453(0x15a)));}}
@@ -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 _0x36a7(){const _0x10411e=['commands','isPremiumPlugin','2923466hsPRCg','86569dHatXQ','isOfficialPlugin','248241BaDtHk','12544070GqkMVA','ImageUtils','UploadcareImageEditEditing','pluginName','1760515deemyX','uploadcareImageReplace','uploadcareImageEdit','14tmIgdX','requires','30EobStj','add','init','1074798RJhjXw','12xETKYN','5801344RLOxaL','ImageEditing','12ulHKYo'];_0x36a7=function(){return _0x10411e;};return _0x36a7();}const _0xf7c8c3=_0x537e;(function(_0x1ec512,_0x33dae4){const _0x1687c2=_0x537e,_0x44f4a7=_0x1ec512();while(!![]){try{const _0xad75d4=parseInt(_0x1687c2(0x9a))/0x1*(parseInt(_0x1687c2(0x8d))/0x2)+parseInt(_0x1687c2(0x9c))/0x3*(parseInt(_0x1687c2(0x96))/0x4)+-parseInt(_0x1687c2(0xa1))/0x5+parseInt(_0x1687c2(0x93))/0x6*(-parseInt(_0x1687c2(0x99))/0x7)+-parseInt(_0x1687c2(0x94))/0x8+-parseInt(_0x1687c2(0x92))/0x9*(-parseInt(_0x1687c2(0x8f))/0xa)+parseInt(_0x1687c2(0x9d))/0xb;if(_0xad75d4===_0x33dae4)break;else _0x44f4a7['push'](_0x44f4a7['shift']());}catch(_0xe9c4d7){_0x44f4a7['push'](_0x44f4a7['shift']());}}}(_0x36a7,0x6b7f9));import{Plugin as _0xb62943}from'ckeditor5/src/core.js';import{Notification as _0x1ea988}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x931dc2}from'./uploadcareimageeditcommand.js';function _0x537e(_0x21290b,_0x106383){const _0x36a715=_0x36a7();return _0x537e=function(_0x537e6e,_0x9814ba){_0x537e6e=_0x537e6e-0x8b;let _0x4af94a=_0x36a715[_0x537e6e];return _0x4af94a;},_0x537e(_0x21290b,_0x106383);}import{UploadcareImageReplaceCommand as _0x98f831}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x31aef9}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xb62943{static get[_0xf7c8c3(0xa0)](){const _0x37fbe5=_0xf7c8c3;return _0x37fbe5(0x9f);}static get[_0xf7c8c3(0x8e)](){const _0x437aef=_0xf7c8c3;return[_0x31aef9,_0x1ea988,_0x437aef(0x9e),_0x437aef(0x95)];}static get[_0xf7c8c3(0x9b)](){return!0x0;}static get[_0xf7c8c3(0x98)](){return!0x0;}[_0xf7c8c3(0x91)](){const _0x5dce12=_0xf7c8c3,{editor:_0x562170}=this;_0x562170[_0x5dce12(0x97)][_0x5dce12(0x90)](_0x5dce12(0x8c),new _0x931dc2(_0x562170)),_0x562170[_0x5dce12(0x97)][_0x5dce12(0x90)](_0x5dce12(0x8b),new _0x98f831(_0x562170));}}