@ckeditor/ckeditor5-uploadcare 47.6.1 → 48.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/ckeditor5-metadata.json +45 -45
  2. package/dist/index-editor.css +3296 -206
  3. package/dist/index.css +3295 -303
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
  152. package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
  153. package/{src → dist}/uploadcare.d.ts +1 -1
  154. package/{src → dist}/uploadcarecommand.d.ts +2 -2
  155. package/{src → dist}/uploadcareconfig.d.ts +3 -3
  156. package/{src → dist}/uploadcareediting.d.ts +4 -3
  157. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  158. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  159. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  160. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  161. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  162. package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  163. package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +4 -3
  164. package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  165. package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  166. package/{src → dist}/uploadcareimageedit.d.ts +1 -1
  167. package/{src → dist}/uploadcareui.d.ts +1 -1
  168. package/{src → dist}/uploadcareuploadadapter.d.ts +4 -3
  169. package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
  170. package/package.json +22 -46
  171. package/build/translations/af.js +0 -1
  172. package/build/translations/ar.js +0 -1
  173. package/build/translations/ast.js +0 -1
  174. package/build/translations/az.js +0 -1
  175. package/build/translations/be.js +0 -1
  176. package/build/translations/bg.js +0 -1
  177. package/build/translations/bn.js +0 -1
  178. package/build/translations/bs.js +0 -1
  179. package/build/translations/ca.js +0 -1
  180. package/build/translations/cs.js +0 -1
  181. package/build/translations/da.js +0 -1
  182. package/build/translations/de-ch.js +0 -1
  183. package/build/translations/de.js +0 -1
  184. package/build/translations/el.js +0 -1
  185. package/build/translations/en-au.js +0 -1
  186. package/build/translations/en-gb.js +0 -1
  187. package/build/translations/eo.js +0 -1
  188. package/build/translations/es-co.js +0 -1
  189. package/build/translations/es.js +0 -1
  190. package/build/translations/et.js +0 -1
  191. package/build/translations/eu.js +0 -1
  192. package/build/translations/fa.js +0 -1
  193. package/build/translations/fi.js +0 -1
  194. package/build/translations/fr.js +0 -1
  195. package/build/translations/gl.js +0 -1
  196. package/build/translations/gu.js +0 -1
  197. package/build/translations/he.js +0 -1
  198. package/build/translations/hi.js +0 -1
  199. package/build/translations/hr.js +0 -1
  200. package/build/translations/hu.js +0 -1
  201. package/build/translations/hy.js +0 -1
  202. package/build/translations/id.js +0 -1
  203. package/build/translations/it.js +0 -1
  204. package/build/translations/ja.js +0 -1
  205. package/build/translations/jv.js +0 -1
  206. package/build/translations/kk.js +0 -1
  207. package/build/translations/km.js +0 -1
  208. package/build/translations/kn.js +0 -1
  209. package/build/translations/ko.js +0 -1
  210. package/build/translations/ku.js +0 -1
  211. package/build/translations/lt.js +0 -1
  212. package/build/translations/lv.js +0 -1
  213. package/build/translations/ms.js +0 -1
  214. package/build/translations/nb.js +0 -1
  215. package/build/translations/ne.js +0 -1
  216. package/build/translations/nl.js +0 -1
  217. package/build/translations/no.js +0 -1
  218. package/build/translations/oc.js +0 -1
  219. package/build/translations/pl.js +0 -1
  220. package/build/translations/pt-br.js +0 -1
  221. package/build/translations/pt.js +0 -1
  222. package/build/translations/ro.js +0 -1
  223. package/build/translations/ru.js +0 -1
  224. package/build/translations/si.js +0 -1
  225. package/build/translations/sk.js +0 -1
  226. package/build/translations/sl.js +0 -1
  227. package/build/translations/sq.js +0 -1
  228. package/build/translations/sr-latn.js +0 -1
  229. package/build/translations/sr.js +0 -1
  230. package/build/translations/sv.js +0 -1
  231. package/build/translations/th.js +0 -1
  232. package/build/translations/ti.js +0 -1
  233. package/build/translations/tk.js +0 -1
  234. package/build/translations/tr.js +0 -1
  235. package/build/translations/tt.js +0 -1
  236. package/build/translations/ug.js +0 -1
  237. package/build/translations/uk.js +0 -1
  238. package/build/translations/ur.js +0 -1
  239. package/build/translations/uz.js +0 -1
  240. package/build/translations/vi.js +0 -1
  241. package/build/translations/zh-cn.js +0 -1
  242. package/build/translations/zh.js +0 -1
  243. package/build/uploadcare.js +0 -5
  244. package/lang/contexts.json +0 -24
  245. package/lang/translations/af.po +0 -100
  246. package/lang/translations/ar.po +0 -100
  247. package/lang/translations/ast.po +0 -100
  248. package/lang/translations/az.po +0 -100
  249. package/lang/translations/be.po +0 -100
  250. package/lang/translations/bg.po +0 -100
  251. package/lang/translations/bn.po +0 -100
  252. package/lang/translations/bs.po +0 -100
  253. package/lang/translations/ca.po +0 -100
  254. package/lang/translations/cs.po +0 -100
  255. package/lang/translations/da.po +0 -100
  256. package/lang/translations/de-ch.po +0 -100
  257. package/lang/translations/de.po +0 -100
  258. package/lang/translations/el.po +0 -100
  259. package/lang/translations/en-au.po +0 -100
  260. package/lang/translations/en-gb.po +0 -100
  261. package/lang/translations/en.po +0 -100
  262. package/lang/translations/eo.po +0 -100
  263. package/lang/translations/es-co.po +0 -100
  264. package/lang/translations/es.po +0 -100
  265. package/lang/translations/et.po +0 -100
  266. package/lang/translations/eu.po +0 -100
  267. package/lang/translations/fa.po +0 -100
  268. package/lang/translations/fi.po +0 -100
  269. package/lang/translations/fr.po +0 -100
  270. package/lang/translations/gl.po +0 -100
  271. package/lang/translations/gu.po +0 -100
  272. package/lang/translations/he.po +0 -100
  273. package/lang/translations/hi.po +0 -100
  274. package/lang/translations/hr.po +0 -100
  275. package/lang/translations/hu.po +0 -100
  276. package/lang/translations/hy.po +0 -100
  277. package/lang/translations/id.po +0 -100
  278. package/lang/translations/it.po +0 -100
  279. package/lang/translations/ja.po +0 -100
  280. package/lang/translations/jv.po +0 -100
  281. package/lang/translations/kk.po +0 -100
  282. package/lang/translations/km.po +0 -100
  283. package/lang/translations/kn.po +0 -100
  284. package/lang/translations/ko.po +0 -100
  285. package/lang/translations/ku.po +0 -100
  286. package/lang/translations/lt.po +0 -100
  287. package/lang/translations/lv.po +0 -100
  288. package/lang/translations/ms.po +0 -100
  289. package/lang/translations/nb.po +0 -100
  290. package/lang/translations/ne.po +0 -100
  291. package/lang/translations/nl.po +0 -100
  292. package/lang/translations/no.po +0 -100
  293. package/lang/translations/oc.po +0 -100
  294. package/lang/translations/pl.po +0 -100
  295. package/lang/translations/pt-br.po +0 -100
  296. package/lang/translations/pt.po +0 -100
  297. package/lang/translations/ro.po +0 -100
  298. package/lang/translations/ru.po +0 -100
  299. package/lang/translations/si.po +0 -100
  300. package/lang/translations/sk.po +0 -100
  301. package/lang/translations/sl.po +0 -100
  302. package/lang/translations/sq.po +0 -100
  303. package/lang/translations/sr-latn.po +0 -100
  304. package/lang/translations/sr.po +0 -100
  305. package/lang/translations/sv.po +0 -100
  306. package/lang/translations/th.po +0 -100
  307. package/lang/translations/ti.po +0 -100
  308. package/lang/translations/tk.po +0 -100
  309. package/lang/translations/tr.po +0 -100
  310. package/lang/translations/tt.po +0 -100
  311. package/lang/translations/ug.po +0 -100
  312. package/lang/translations/uk.po +0 -100
  313. package/lang/translations/ur.po +0 -100
  314. package/lang/translations/uz.po +0 -100
  315. package/lang/translations/vi.po +0 -100
  316. package/lang/translations/zh-cn.po +0 -100
  317. package/lang/translations/zh.po +0 -100
  318. package/src/augmentation.js +0 -23
  319. package/src/index.js +0 -23
  320. package/src/ui/uploadcarecontroller.js +0 -24
  321. package/src/ui/uploadcareformview.js +0 -23
  322. package/src/uploadcare.js +0 -23
  323. package/src/uploadcarecommand.js +0 -23
  324. package/src/uploadcareconfig.js +0 -23
  325. package/src/uploadcareediting.js +0 -23
  326. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
  327. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
  328. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
  329. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
  330. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
  331. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
  332. package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
  333. package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
  334. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
  335. package/src/uploadcareimageedit.js +0 -23
  336. package/src/uploadcareui.js +0 -23
  337. package/src/uploadcareuploadadapter.js +0 -23
  338. package/src/utils/common-translations.js +0 -23
  339. package/src/utils/dialogfocusmanagerview.js +0 -23
  340. package/src/utils/editingutils.js +0 -23
  341. package/src/utils/isancestor.js +0 -23
  342. package/src/utils/uploadutils.js +0 -23
  343. package/theme/uploadcare-form.css +0 -201
  344. package/theme/uploadcare-theme.css +0 -20
  345. package/theme/uploadcareimageedit.css +0 -64
  346. /package/{src → dist}/augmentation.d.ts +0 -0
  347. /package/{src → dist}/index.d.ts +0 -0
  348. /package/{src → dist}/utils/common-translations.d.ts +0 -0
  349. /package/{src → dist}/utils/editingutils.d.ts +0 -0
  350. /package/{src → dist}/utils/isancestor.d.ts +0 -0
  351. /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 _0xb432(){var _0x1ce774=['16CdALpT','5727988xWmxJy','6LeRefx','409229yWHeEt','28yLLZxG','1035455VaWSXO','1075077asYTdP','21989100jJjgfG','761642iPgrgL','271368EQhTgl'];_0xb432=function(){return _0x1ce774;};return _0xb432();}(function(_0xddee5f,_0x632304){var _0x47126f=_0x179b,_0x17ca32=_0xddee5f();while(!![]){try{var _0x4b0389=parseInt(_0x47126f(0x1c0))/0x1+parseInt(_0x47126f(0x1c5))/0x2+parseInt(_0x47126f(0x1bc))/0x3*(parseInt(_0x47126f(0x1c1))/0x4)+parseInt(_0x47126f(0x1c2))/0x5*(parseInt(_0x47126f(0x1bf))/0x6)+parseInt(_0x47126f(0x1be))/0x7+parseInt(_0x47126f(0x1bd))/0x8*(parseInt(_0x47126f(0x1c3))/0x9)+-parseInt(_0x47126f(0x1c4))/0xa;if(_0x4b0389===_0x632304)break;else _0x17ca32['push'](_0x17ca32['shift']());}catch(_0x2ffb85){_0x17ca32['push'](_0x17ca32['shift']());}}}(_0xb432,0x774a5));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';export{UploadcareCommand}from'./uploadcarecommand.js';function _0x179b(_0x2447f5,_0x1ad865){var _0xb43202=_0xb432();return _0x179b=function(_0x179b73,_0x19aae7){_0x179b73=_0x179b73-0x1bc;var _0x1a7a78=_0xb43202[_0x179b73];return _0x1a7a78;},_0x179b(_0x2447f5,_0x1ad865);}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 _0x1233b8=_0x256d;(function(_0x39728b,_0x514b26){const _0x38c825=_0x256d,_0x3b0570=_0x39728b();while(!![]){try{const _0x349734=parseInt(_0x38c825(0x175))/0x1*(parseInt(_0x38c825(0x15c))/0x2)+parseInt(_0x38c825(0x14b))/0x3*(parseInt(_0x38c825(0x186))/0x4)+parseInt(_0x38c825(0x180))/0x5+parseInt(_0x38c825(0x181))/0x6*(parseInt(_0x38c825(0x155))/0x7)+-parseInt(_0x38c825(0x150))/0x8*(parseInt(_0x38c825(0x14e))/0x9)+parseInt(_0x38c825(0x187))/0xa+parseInt(_0x38c825(0x15f))/0xb*(parseInt(_0x38c825(0x185))/0xc);if(_0x349734===_0x514b26)break;else _0x3b0570['push'](_0x3b0570['shift']());}catch(_0x370777){_0x3b0570['push'](_0x3b0570['shift']());}}}(_0x5060,0xb5a10));import{IconUploadcareImageUpload as _0x1dfdf5}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x363b91}from'ckeditor5/src/utils.js';import{Dialog as _0x4d6831,DialogViewPosition as _0x39d6c9}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x58d4c4}from'./uploadcareformview.js';import{UploadcareSource as _0x3b2cf6}from'../uploadcareconfig.js';import{getTranslation as _0x33c8fe}from'../utils/common-translations.js';function _0x256d(_0x175689,_0x568c0d){const _0x5060cf=_0x5060();return _0x256d=function(_0x256dbe,_0x56bd88){_0x256dbe=_0x256dbe-0x14b;let _0x2e9dfe=_0x5060cf[_0x256dbe];return _0x2e9dfe;},_0x256d(_0x175689,_0x568c0d);}import{getImageUrls as _0x292965,getImageDimension as _0x2e266f}from'../utils/editingutils.js';function _0x5060(){const _0x32d789=['ucContextId','imageInline','2032455ubvkdr','6KQVFWM','_formView','idle','getAPI','12924TMkzQJ','350344GhVyCE','6158170Mdzxfd','linkHref','imageBlock','destroy','uploadCare','Local','text','_editor','insertImage','_insertAsset','attributes','detail','getSelectedElement','setSelection','editing','getOutputCollectionState','3GiPdev','_initDialog','source-list','455778zgoDWX','change','152duliKO','document','focus','stopListening','setAttribute','829115gFbfYt','EDITOR_TOP_CENTER','allEntries','imageInfo','selection','_editing','get','554978ZFtcSb','setCurrentActivity','initFlow','2046crSMIx','_insertImage','status','Insert','configElement','ctxElement','addEventListener','uuid','_api','removeSelectionAttribute','plugins','width','image','execute','Replace','doneFlow','getLastPosition','removeAllFiles','show','model','length','hide','1nOMQlU','stopDelegating','_initListeners','done-click','isOpen','view','element','_dialog','_type'];_0x5060=function(){return _0x32d789;};return _0x5060();}import{isAncestor as _0xf39a23}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x363b91(){[_0x1233b8(0x18e)];[_0x1233b8(0x17c)];[_0x1233b8(0x15a)];[_0x1233b8(0x167)];[_0x1233b8(0x17d)]=null;[_0x1233b8(0x182)]=null;constructor(_0x13f354,_0x50aa55,_0x3bc79a){const _0x1ff959=_0x1233b8;super(),this[_0x1ff959(0x18e)]=_0x13f354,this[_0x1ff959(0x15a)]=_0x50aa55,this[_0x1ff959(0x17c)]=_0x13f354[_0x1ff959(0x169)][_0x1ff959(0x15b)](_0x4d6831),this[_0x1ff959(0x167)]=_0x50aa55[_0x1ff959(0x164)][_0x1ff959(0x184)](),this[_0x1ff959(0x17d)]=_0x3bc79a,this[_0x1ff959(0x15a)][_0x1ff959(0x163)][_0x1ff959(0x154)](_0x1ff959(0x14d),this[_0x1ff959(0x17d)]),this[_0x1ff959(0x14c)](),this[_0x1ff959(0x177)](),this[_0x1ff959(0x167)][_0x1ff959(0x15e)]();}[_0x1233b8(0x18a)](){const _0xde329d=_0x1233b8;this[_0xde329d(0x182)]&&(this[_0xde329d(0x182)][_0xde329d(0x18a)](),this[_0xde329d(0x182)]=null),this[_0xde329d(0x167)]&&this[_0xde329d(0x167)][_0xde329d(0x16e)](),this[_0xde329d(0x153)](),this[_0xde329d(0x176)]();}[_0x1233b8(0x14c)](){const _0x488caf=_0x1233b8,{locale:_0x4f0c8f,model:_0x2774b2}=this[_0x488caf(0x18e)],_0x5543fc=_0x2774b2[_0x488caf(0x151)][_0x488caf(0x159)][_0x488caf(0x193)](),_0x2e7747=_0x5543fc&&(_0x5543fc['is'](_0x488caf(0x17b),_0x488caf(0x189))||_0x5543fc['is'](_0x488caf(0x17b),_0x488caf(0x17f)));this[_0x488caf(0x182)]=new _0x58d4c4(_0x4f0c8f,this[_0x488caf(0x15a)][_0x488caf(0x17e)]),this[_0x488caf(0x17c)][_0x488caf(0x171)]({'id':_0x488caf(0x18b),'icon':_0x1dfdf5,'title':_0x33c8fe(_0x4f0c8f,this[_0x488caf(0x17d)],_0x2e7747?_0x488caf(0x16d):_0x488caf(0x162))[_0x488caf(0x18d)],'content':this[_0x488caf(0x182)],'position':_0x39d6c9[_0x488caf(0x156)],'isModal':!0x0,'onShow':()=>{const _0x2dc7b0=_0x488caf;this[_0x2dc7b0(0x182)][_0x2dc7b0(0x152)]();},'onHide':()=>{const _0x6369e0=_0x488caf;this[_0x6369e0(0x167)][_0x6369e0(0x170)](),this[_0x6369e0(0x18e)][_0x6369e0(0x195)][_0x6369e0(0x17a)][_0x6369e0(0x152)](),this[_0x6369e0(0x18a)]();},'keystrokeHandlerOptions':{'filter':_0x450b51=>!_0xf39a23(_0x450b51,this[_0x488caf(0x182)][_0x488caf(0x17b)])}});}[_0x1233b8(0x177)](){const _0x16f3e5=_0x1233b8;this[_0x16f3e5(0x15a)][_0x16f3e5(0x164)][_0x16f3e5(0x165)](_0x16f3e5(0x178),()=>{const _0x30b1c8=_0x16f3e5,{allEntries:_0x1cb055}=this[_0x30b1c8(0x167)][_0x30b1c8(0x196)]();this[_0x30b1c8(0x18e)][_0x30b1c8(0x172)][_0x30b1c8(0x14f)](_0x3b2d93=>{const _0x134097=_0x30b1c8,_0x25cc84=_0x1cb055[_0x134097(0x173)];for(const _0x183c09 of _0x1cb055){const _0x20dd83=_0x183c09===_0x1cb055[_0x25cc84-0x1],{cdnUrl:_0x244823,fileInfo:_0x2ec46a}=_0x183c09;if(!_0x244823||!_0x2ec46a)continue;const {width:_0x31d736,height:_0x5144e1}=_0x2ec46a[_0x134097(0x158)],_0xdbe5ba=_0x2e266f(_0x244823,_0x31d736,_0x5144e1),_0x3ae788=_0x292965(_0x244823,_0xdbe5ba[_0x134097(0x16a)]),_0x1a8dc7={'id':_0x2ec46a[_0x134097(0x166)],'type':_0x134097(0x16b),'attributes':{'imageDimension':_0xdbe5ba,..._0x3ae788}};this[_0x134097(0x190)](_0x1a8dc7,_0x20dd83,_0x3b2d93);}}),this[_0x30b1c8(0x17c)][_0x30b1c8(0x174)]();}),this[_0x16f3e5(0x15a)][_0x16f3e5(0x164)][_0x16f3e5(0x165)](_0x16f3e5(0x14f),_0x1ca5db=>{const _0x49b017=_0x16f3e5;_0x49b017(0x183)===_0x1ca5db[_0x49b017(0x192)][_0x49b017(0x161)]&&!_0x1ca5db[_0x49b017(0x192)][_0x49b017(0x157)][_0x49b017(0x173)]&&this[_0x49b017(0x17c)][_0x49b017(0x179)]&&(this[_0x49b017(0x17d)]===_0x3b2cf6[_0x49b017(0x18c)]?this[_0x49b017(0x167)][_0x49b017(0x15d)](_0x3b2cf6[_0x49b017(0x18c)]):this[_0x49b017(0x167)][_0x49b017(0x15e)]());});}[_0x1233b8(0x190)](_0x2d3d45,_0x4e9f4f,_0x5ca85b){const _0x825111=_0x1233b8,_0x4c49c8=this[_0x825111(0x18e)][_0x825111(0x172)][_0x825111(0x151)][_0x825111(0x159)],_0x4a082c=_0x4c49c8[_0x825111(0x193)](),_0x34a6de=!(!_0x4a082c||!_0x4a082c['is'](_0x825111(0x17b),_0x825111(0x17f)));_0x5ca85b[_0x825111(0x168)](_0x825111(0x188)),this[_0x825111(0x160)](_0x2d3d45,_0x34a6de),_0x4e9f4f||_0x5ca85b[_0x825111(0x194)](_0x4c49c8[_0x825111(0x16f)]());}[_0x1233b8(0x160)](_0x4a045f,_0x527d90){const _0x59665f=_0x1233b8,_0x47259f=this[_0x59665f(0x18e)],{imageDimension:_0x23a70b,imageFallbackUrl:_0x195cf6,imageSources:_0x27a804}=_0x4a045f[_0x59665f(0x191)];_0x47259f[_0x59665f(0x16c)](_0x59665f(0x18f),{'imageType':_0x527d90?_0x59665f(0x17f):null,'source':{'uploadcareImageId':_0x4a045f['id'],'src':_0x195cf6,'sources':_0x27a804,..._0x23a70b}});}}
@@ -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 _0x51b7(_0x26b052,_0x2ebbac){var _0x4b9907=_0x4b99();return _0x51b7=function(_0x51b73b,_0x3cd7e0){_0x51b73b=_0x51b73b-0x11f;var _0x3d1e90=_0x4b9907[_0x51b73b];return _0x3d1e90;},_0x51b7(_0x26b052,_0x2ebbac);}function _0x4b99(){var _0x1398a4=['ck-uploadcare-theme','1074896pDgvZi','uploader-','11OnvtJT','28792xgCOob','75HpbetD','div','uc-file-uploader-inline','1313rWOKZN','uc-light','428575MFZAMs','18MmJvyX','ck-uploadcare-form','10IyUjhy','setTemplate','ck-reset_all-excluded','556745rERcvE','60709kGPNFK','focus','getFocusableElement','element','84120JupInP','46696MZVLdj','6nuKEpY'];_0x4b99=function(){return _0x1398a4;};return _0x4b99();}var _0x33deef=_0x51b7;(function(_0x31da58,_0xbb830){var _0x1eca5b=_0x51b7,_0x413c33=_0x31da58();while(!![]){try{var _0x54ce06=parseInt(_0x1eca5b(0x136))/0x1*(parseInt(_0x1eca5b(0x11f))/0x2)+parseInt(_0x1eca5b(0x120))/0x3*(parseInt(_0x1eca5b(0x131))/0x4)+parseInt(_0x1eca5b(0x125))/0x5*(parseInt(_0x1eca5b(0x132))/0x6)+parseInt(_0x1eca5b(0x12b))/0x7+parseInt(_0x1eca5b(0x134))/0x8*(parseInt(_0x1eca5b(0x126))/0x9)+parseInt(_0x1eca5b(0x128))/0xa*(-parseInt(_0x1eca5b(0x12c))/0xb)+-parseInt(_0x1eca5b(0x130))/0xc*(parseInt(_0x1eca5b(0x123))/0xd);if(_0x54ce06===_0xbb830)break;else _0x413c33['push'](_0x413c33['shift']());}catch(_0x4a3a9d){_0x413c33['push'](_0x413c33['shift']());}}}(_0x4b99,0x29a9b));import{DialogFocusManagerView as _0x4488f8}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x4488f8{constructor(_0x3aa07e,_0x54acc5){var _0x3dc7e8=_0x51b7;super(_0x3aa07e),this[_0x3dc7e8(0x129)]({'tag':_0x3dc7e8(0x121),'attributes':{'class':['ck',_0x3dc7e8(0x12a),_0x3dc7e8(0x127)],'tabindex':'-1'},'children':[{'tag':_0x3dc7e8(0x122),'attributes':{'class':[_0x3dc7e8(0x124),_0x3dc7e8(0x133)],'ctx-name':_0x3dc7e8(0x135)+_0x54acc5}},this[_0x3dc7e8(0x12e)]()]});}[_0x33deef(0x12d)](){var _0x5e27f3=_0x33deef;this[_0x5e27f3(0x12f)][_0x5e27f3(0x12d)]();}}
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 _0x4fb639=_0x1480;(function(_0x59ecc0,_0x1bec97){const _0x1441d=_0x1480,_0x1ba2f8=_0x59ecc0();while(!![]){try{const _0x3a0f47=parseInt(_0x1441d(0x1bf))/0x1+-parseInt(_0x1441d(0x1bc))/0x2+parseInt(_0x1441d(0x1c5))/0x3*(parseInt(_0x1441d(0x1ba))/0x4)+-parseInt(_0x1441d(0x1b7))/0x5*(-parseInt(_0x1441d(0x1bb))/0x6)+-parseInt(_0x1441d(0x1c0))/0x7+-parseInt(_0x1441d(0x1ad))/0x8*(parseInt(_0x1441d(0x1c6))/0x9)+parseInt(_0x1441d(0x1b3))/0xa;if(_0x3a0f47===_0x1bec97)break;else _0x1ba2f8['push'](_0x1ba2f8['shift']());}catch(_0x375e16){_0x1ba2f8['push'](_0x1ba2f8['shift']());}}}(_0x3d43,0x560e9));import{Plugin as _0x2b534}from'ckeditor5/src/core.js';function _0x1480(_0x14d6fe,_0x151196){const _0x3d43fe=_0x3d43();return _0x1480=function(_0x14800c,_0x47c228){_0x14800c=_0x14800c-0x1ab;let _0x450713=_0x3d43fe[_0x14800c];return _0x450713;},_0x1480(_0x14d6fe,_0x151196);}import{UploadcareUI as _0x771b67}from'./uploadcareui.js';import{UploadcareEditing as _0xf8fc2e}from'./uploadcareediting.js';import{UploadcareSource as _0x28c4b0}from'./uploadcareconfig.js';import*as _0x287809 from'@uploadcare/file-uploader';function _0x3d43(){const _0x592624=['Uploadcare','defineLocale','requires','defineComponents','1778770DBvxuD','isOfficialPlugin','URL','contentLanguage','15BFIGyl','Local','isPremiumPlugin','4GjuXdH','1123614bgMbZF','415326WVqAMr','uploadcare.uploader.sourceList','get','513327ZPweXa','2668211MlrKWD','editor','define','config','_defineLocale','594906nyIHee','18WPtUau','pluginName','uploadcare.locale','2039952zNpCGP','locale'];_0x3d43=function(){return _0x592624;};return _0x3d43();}export class Uploadcare extends _0x2b534{static get[_0x4fb639(0x1b1)](){return[_0xf8fc2e,_0x771b67];}static get[_0x4fb639(0x1ab)](){const _0x18fa76=_0x4fb639;return _0x18fa76(0x1af);}static get[_0x4fb639(0x1b4)](){return!0x0;}static get[_0x4fb639(0x1b9)](){return!0x0;}constructor(_0x4bd9fd){const _0x226bdb=_0x4fb639;super(_0x4bd9fd),_0x4bd9fd[_0x226bdb(0x1c3)][_0x226bdb(0x1c2)](_0x226bdb(0x1bd),[_0x28c4b0[_0x226bdb(0x1b8)],_0x28c4b0[_0x226bdb(0x1b5)]]),_0x287809[_0x226bdb(0x1b2)](_0x287809),this[_0x226bdb(0x1c4)]();}[_0x4fb639(0x1c4)](){const _0x569d04=_0x4fb639,_0x27259d=this[_0x569d04(0x1c1)][_0x569d04(0x1c3)][_0x569d04(0x1be)](_0x569d04(0x1ac)),_0x30f862=this[_0x569d04(0x1c1)][_0x569d04(0x1ae)][_0x569d04(0x1b6)];_0x27259d&&_0x287809[_0x569d04(0x1b0)](_0x30f862,_0x27259d);}}
@@ -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 _0x19e1(_0x27ffb6,_0x2ade80){var _0x33ea68=_0x33ea();return _0x19e1=function(_0x19e18b,_0x1b5b8a){_0x19e18b=_0x19e18b-0x12a;var _0x52e40f=_0x33ea68[_0x19e18b];return _0x52e40f;},_0x19e1(_0x27ffb6,_0x2ade80);}var _0x571b6f=_0x19e1;function _0x33ea(){var _0x39abf7=['14357800ZcdMPt','requires','execute','destroy','editor','refresh','65WaonhB','_editing','isEnabled','328307nJZjlE','40YRhvHc','_controller','insertImage','61572GdATip','698862QKfSCK','commands','plugins','6xElmXQ','3670695oDOVAb','get','_checkEnabled','1364716cWzlIe','98412ootJRL'];_0x33ea=function(){return _0x39abf7;};return _0x33ea();}(function(_0x223d7f,_0xcf5e61){var _0x5ddf75=_0x19e1,_0x4c1600=_0x223d7f();while(!![]){try{var _0x11590a=parseInt(_0x5ddf75(0x13d))/0x1*(parseInt(_0x5ddf75(0x12b))/0x2)+parseInt(_0x5ddf75(0x13a))/0x3+parseInt(_0x5ddf75(0x12a))/0x4+-parseInt(_0x5ddf75(0x132))/0x5*(-parseInt(_0x5ddf75(0x139))/0x6)+parseInt(_0x5ddf75(0x135))/0x7*(parseInt(_0x5ddf75(0x136))/0x8)+parseInt(_0x5ddf75(0x13e))/0x9+-parseInt(_0x5ddf75(0x12c))/0xa;if(_0x11590a===_0xcf5e61)break;else _0x4c1600['push'](_0x4c1600['shift']());}catch(_0x2ed3c1){_0x4c1600['push'](_0x4c1600['shift']());}}}(_0x33ea,0x331cb));import{Command as _0xd6314b}from'ckeditor5/src/core.js';import{Dialog as _0x426ec1}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x3ace74}from'./uploadcareediting.js';import{UploadcareController as _0x583545}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0xd6314b{[_0x571b6f(0x133)];[_0x571b6f(0x137)]=null;static get[_0x571b6f(0x12d)](){return[_0x426ec1,_0x3ace74];}constructor(_0x1bc3b3){var _0x429f61=_0x571b6f;super(_0x1bc3b3),this[_0x429f61(0x133)]=_0x1bc3b3[_0x429f61(0x13c)][_0x429f61(0x13f)](_0x3ace74);}[_0x571b6f(0x131)](){var _0x5b32d1=_0x571b6f;this[_0x5b32d1(0x134)]=this[_0x5b32d1(0x140)]();}[_0x571b6f(0x12e)](_0x294e87){var _0x3bcc1a=_0x571b6f;this[_0x3bcc1a(0x137)]&&(this[_0x3bcc1a(0x137)][_0x3bcc1a(0x12f)](),this[_0x3bcc1a(0x137)]=null),this[_0x3bcc1a(0x137)]=new _0x583545(this[_0x3bcc1a(0x130)],this[_0x3bcc1a(0x133)],_0x294e87);}[_0x571b6f(0x140)](){var _0x207696=_0x571b6f;return this[_0x207696(0x130)][_0x207696(0x13b)][_0x207696(0x13f)](_0x207696(0x138))[_0x207696(0x134)];}}
@@ -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(_0x46772d,_0x267b67){var _0x2210bf=_0x1ffe,_0xa85fc1=_0x46772d();while(!![]){try{var _0x3fe423=parseInt(_0x2210bf(0xb8))/0x1*(parseInt(_0x2210bf(0xad))/0x2)+parseInt(_0x2210bf(0xb9))/0x3+-parseInt(_0x2210bf(0xb7))/0x4*(-parseInt(_0x2210bf(0xb2))/0x5)+parseInt(_0x2210bf(0xae))/0x6+parseInt(_0x2210bf(0xaa))/0x7+-parseInt(_0x2210bf(0xa4))/0x8*(parseInt(_0x2210bf(0xab))/0x9)+-parseInt(_0x2210bf(0xa6))/0xa;if(_0x3fe423===_0x267b67)break;else _0xa85fc1['push'](_0xa85fc1['shift']());}catch(_0x2d7ec8){_0xa85fc1['push'](_0xa85fc1['shift']());}}}(_0x57a0,0x51e28));export var UploadcareSource;function _0x1ffe(_0x54edfb,_0x4d1550){var _0x57a0af=_0x57a0();return _0x1ffe=function(_0x1ffefb,_0x4a5847){_0x1ffefb=_0x1ffefb-0xa4;var _0x4e2122=_0x57a0af[_0x1ffefb];return _0x4e2122;},_0x1ffe(_0x54edfb,_0x4d1550);}function _0x57a0(){var _0x17e214=['469756KIUBLs','3065916yOBRos','local','URL','Dropbox','20nryvDX','onedrive','Facebook','GDrive','OneDrive','139220BflrHM','1gUvsmy','670152GzaVzR','Local','gdrive','1688rjQyrp','facebook','9278050girFHE','gphotos','url','GPhotos','4091808Abdoqx','18333vXETeQ','dropbox'];_0x57a0=function(){return _0x17e214;};return _0x57a0();}!function(_0x575029){var _0x91d383=_0x1ffe;_0x575029[_0x91d383(0xba)]=_0x91d383(0xaf),_0x575029[_0x91d383(0xb0)]=_0x91d383(0xa8),_0x575029[_0x91d383(0xb1)]=_0x91d383(0xac),_0x575029[_0x91d383(0xb5)]=_0x91d383(0xbb),_0x575029[_0x91d383(0xb4)]=_0x91d383(0xa5),_0x575029[_0x91d383(0xa9)]=_0x91d383(0xa7),_0x575029[_0x91d383(0xb6)]=_0x91d383(0xb3);}(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
- function _0x373f(){const _0x109fd9=['add','join','remove','cleanupImage','uploadcareImageReplace','UploadcareEditing','closeMax','attributeToAttribute','commands','contentLanguage','requires','appendChild','editor','imageBlock','_initSchema','editing','config','conversion','78kUvJEy','removeAttribute','init','for','782128iRAdsI','1281996mWQszV','extend','fromCharCode','pluginName','uc-upload-ctx-provider','afterInit','isOfficialPlugin','querySelector','_initImageProcessingIndicator','_initConfig','render','_initCtx','replaceImageSource','isRegistered','241790kfUPAE','ctxElement','execute','uploader-','3212153gWBLQb','downcast','schema','uploadcareImageId','_configElement','once','213912uJVjHh','ucContextId','imageInline','selection','uploadcare.uploader','\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','destroy','uploadcare.pubkey','uploadcare','getSelectedElement','get','uc-config','configElement','117322IcFZNc','input[uploadcare-file-input]','elementToAttribute','#uc-icon-arrow-down','_initConversion','model','href','insertImage','isPremiumPlugin','locale','map','_ctxElement','listenTo','iconHrefResolver','data-uc-image-id','upcast','document','getAttribute','view','body','PictureEditing','986432zKKNXR','true'];_0x373f=function(){return _0x109fd9;};return _0x373f();}const _0x531908=_0x4b03;(function(_0x23d67b,_0x53ae31){const _0x465023=_0x4b03,_0x3e56f2=_0x23d67b();while(!![]){try{const _0x5e63a1=-parseInt(_0x465023(0x9c))/0x1+parseInt(_0x465023(0xe2))/0x2+-parseInt(_0x465023(0xca))/0x3+-parseInt(_0x465023(0xc9))/0x4+parseInt(_0x465023(0xd8))/0x5*(parseInt(_0x465023(0xc5))/0x6)+parseInt(_0x465023(0xdc))/0x7+-parseInt(_0x465023(0xb1))/0x8;if(_0x5e63a1===_0x53ae31)break;else _0x3e56f2['push'](_0x3e56f2['shift']());}catch(_0x5da7a8){_0x3e56f2['push'](_0x3e56f2['shift']());}}}(_0x373f,0x50cf7));import{Plugin as _0x356f50}from'ckeditor5/src/core.js';function _0x4b03(_0x2c644f,_0x1d65a4){const _0x373ff0=_0x373f();return _0x4b03=function(_0x4b0390,_0x41b978){_0x4b0390=_0x4b0390-0x95;let _0x25b518=_0x373ff0[_0x4b0390];return _0x25b518;},_0x4b03(_0x2c644f,_0x1d65a4);}import{Dialog as _0x454200}from'ckeditor5/src/ui.js';import{createElement as _0x4653d6,global as _0x287720,uid as _0x26bf0f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a1a9f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1c4450}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e6e5d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x356f50{[_0x531908(0xe0)]=null;[_0x531908(0xa7)]=null;static get[_0x531908(0xcd)](){const _0x13fd8d=_0x531908;return _0x13fd8d(0xb8);}static get[_0x531908(0xbd)](){const _0x17d22b=_0x531908;return[_0x17d22b(0xb0),_0x1c4450,_0x454200];}static get[_0x531908(0xd0)](){return!0x0;}static get[_0x531908(0xa4)](){return!0x0;}[_0x531908(0xe3)];get[_0x531908(0x9b)](){const _0x575e2e=_0x531908;return this[_0x575e2e(0xe0)];}get[_0x531908(0xd9)](){const _0x177350=_0x531908;return this[_0x177350(0xa7)];}constructor(_0x90f73c){const _0x2fc3a4=_0x531908;super(_0x90f73c),this[_0x2fc3a4(0xe3)]=_0x26bf0f();}[_0x531908(0xc7)](){const _0x31f4e4=_0x531908,_0x263429=this[_0x31f4e4(0xbf)];_0x263429[_0x31f4e4(0xbb)][_0x31f4e4(0xb3)](_0x31f4e4(0x97),new _0x2a1a9f(_0x263429));}[_0x531908(0xcf)](){const _0x5a2db3=_0x531908;this[_0x5a2db3(0xc1)](),this[_0x5a2db3(0xa0)](),this[_0x5a2db3(0xd3)](),this[_0x5a2db3(0xd5)](),this[_0x5a2db3(0xd2)](),this[_0x5a2db3(0xa8)](this[_0x5a2db3(0xbf)],_0x5a2db3(0x95),()=>{const _0x3d2387=_0x5a2db3;this[_0x3d2387(0xe0)]&&(this[_0x3d2387(0xe0)][_0x3d2387(0xb5)](),this[_0x3d2387(0xe0)]=null),this[_0x3d2387(0xa7)]&&(this[_0x3d2387(0xa7)][_0x3d2387(0xb5)](),this[_0x3d2387(0xa7)]=null);const _0x2caefb=_0x287720[_0x3d2387(0xac)][_0x3d2387(0xd1)](_0x3d2387(0x9d));_0x2caefb&&_0x2caefb[_0x3d2387(0xb5)]();}),async function(_0x4d7e0d){const _0x44845d=_0x29c9fd([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]),_0x170a0b=0x535f8c3a,_0x3dc28d=0x53580832^_0x170a0b,_0x41ba1d=window[_0x29c9fd([0x44,0x61,0x74,0x65])][_0x29c9fd([0x6e,0x6f,0x77])](),_0x5897c3=_0x4d7e0d[_0x29c9fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17c753=new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25bd5b=>{_0x5897c3[_0x29c9fd([0x6f,0x6e,0x63,0x65])](_0x29c9fd([0x72,0x65,0x61,0x64,0x79]),_0x25bd5b);}),_0x3e8d77={[_0x29c9fd([0x6b,0x74,0x79])]:_0x29c9fd([0x45,0x43]),[_0x29c9fd([0x75,0x73,0x65])]:_0x29c9fd([0x73,0x69,0x67]),[_0x29c9fd([0x63,0x72,0x76])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36]),[_0x29c9fd([0x78])]:_0x29c9fd([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]),[_0x29c9fd([0x79])]:_0x29c9fd([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]),[_0x29c9fd([0x61,0x6c,0x67])]:_0x29c9fd([0x45,0x53,0x32,0x35,0x36])},_0x2264ad=_0x5897c3[_0x29c9fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29c9fd([0x67,0x65,0x74])](_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5967e(){let _0x50e405,_0x2ee408=null,_0x59ad52=null;try{if(_0x2264ad==_0x29c9fd([0x47,0x50,0x4c]))return _0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e405=_0x15fddf(),!_0x50e405)return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ad52=_0xb89980(_0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e405[_0x29c9fd([0x6a,0x74,0x69])])),await _0x58c191()?_0x2f0712()?_0x286fea()?_0x29c9fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c608f()?(_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ee408=_0x12f9d0(_0x29c9fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e04df()):_0x29c9fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x286fea(){const _0x303432=[_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29c9fd([0x74,0x72,0x69,0x61,0x6c])][_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41ba1d/0x3e8:0xe10*_0x3dc28d;return _0x50e405[_0x29c9fd([0x65,0x78,0x70])]<_0x303432;}function _0x2f0712(){const _0x4be829=_0x50e405[_0x29c9fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4be829&&(!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a]))||!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x55,0x50,0x4c,0x43])));}function _0x3c608f(){const _0x606c88=_0x4b03,_0x2a0d14=_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a0d14||0x0==_0x2a0d14[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x206f35}=new URL(window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x606c88(0xa2)]);if(_0x2a0d14[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x206f35))return!0x0;const _0xdeed7e=_0x206f35[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));return _0x2a0d14[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cdb53=>_0x4cdb53[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a])))[_0x29c9fd([0x6d,0x61,0x70])](_0x2d93b0=>_0x2d93b0[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])))[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8137=>_0x5e8137[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x6d,0x61,0x70])](_0x55272a=>Array(_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55272a[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x66,0x69,0x6c,0x6c])](_0x55272a[0x0]===_0x29c9fd([0x2a])?_0x29c9fd([0x2a]):'')[_0x29c9fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55272a))[_0x29c9fd([0x73,0x6f,0x6d,0x65])](_0x597acc=>_0xdeed7e[_0x29c9fd([0x65,0x76,0x65,0x72,0x79])]((_0x3a8355,_0x394333)=>_0x597acc[_0x394333]===_0x3a8355||_0x597acc[_0x394333]===_0x29c9fd([0x2a])));}function _0x2e04df(){return _0x2ee408&&_0x59ad52?new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44aeec,_0x339030)=>{_0x2ee408[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x44aeec,_0x339030),_0x59ad52[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x306745=>{_0x306745!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0x44aeec(_0x306745);},_0x339030);}):_0x2ee408||_0x59ad52||_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb89980(_0x1304de,_0x129ac8){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5569ed=>{if(_0x26b584())return _0x5569ed(_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]));_0x788262(),_0x5897c3[_0x29c9fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ce2c0=!0x1;const _0x49203b=_0x26bf0f();function _0x4c707a(_0x32f428){return!!_0x32f428&&(typeof _0x32f428===_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32f428===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32f428[_0x29c9fd([0x74,0x68,0x65,0x6e])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32f428[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a0a92(_0x1a25ea){_0x555d99(_0x1a25ea)[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0xa27b5a=>{if(!_0xa27b5a||_0xa27b5a[_0x29c9fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29c9fd([0x6f,0x6b]))return _0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138538(_0x12d98d(_0x49203b+_0x129ac8))!=_0xa27b5a[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x134f53=>(_0x230122(),_0x134f53),()=>{const _0x5640c1=_0x5e44fd();return null==_0x5640c1?(_0x230122(),_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])):_0x29c9fd(_0x41ba1d-_0x5640c1>(0x7753083a^_0x170a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x5569ed)[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33e690=0x536962ba^_0x170a0b;function _0x230122(){const _0x448ca6=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x32dcd6=_0x5d2186(_0x138538(window[_0x29c9fd([0x4d,0x61,0x74,0x68])][_0x29c9fd([0x63,0x65,0x69,0x6c])](_0x41ba1d/_0x33e690)));window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448ca6,_0x32dcd6);}function _0x5e44fd(){const _0x112cae=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x1acc44=window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x112cae);return _0x1acc44?window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d2186(_0x1acc44),0x10)*_0x33e690:null;}function _0x555d99(_0x364743){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2be377,_0x104b4a)=>{_0x364743[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x2be377,_0x104b4a),window[_0x29c9fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104b4a,0x535e58fa^_0x170a0b);});}}_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x85a7fe,_0x596509)=>{if(_0x596509[0x0]!=_0x1304de)return _0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x596509[0x1]={..._0x596509[0x1],[_0x29c9fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49203b};},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x68,0x69,0x67,0x68])}),_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x210ec1=>{_0x4c707a(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ce2c0=!0x0,_0x4a0a92(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x6c,0x6f,0x77])}),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>{_0x5ce2c0||_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26b584(){return _0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29c9fd([0x61,0x75,0x74,0x6f]);}function _0x788262(){_0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29c9fd([0x61,0x75,0x74,0x6f]);}}function _0x12f9d0(_0x19e9bb){const _0x2844a1=[new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3519=>setTimeout(_0x5f3519,0x5356b2f6^_0x170a0b)),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9d61=>{let _0x12018d=0x0;_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7b1185,_0x4347f4)=>{_0x4347f4[0x0][_0x29c9fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12018d++,_0x12018d==(0x535f89d2^_0x170a0b)&&(_0x4c9d61(),_0x7b1185[_0x29c9fd([0x6f,0x66,0x66])]());});}))];return window[_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29c9fd([0x72,0x61,0x63,0x65])](_0x2844a1)[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>_0x19e9bb);}async function _0xd66db(){await _0x17c753,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a408d(_0x3ec2ba){const _0x3c716e=_0x1810ff();_0x5897c3[_0x3c716e]=_0x29c9fd([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ec2ba,_0x3ec2ba!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0xd66db();}function _0x1810ff(){const _0x8a3ba8=window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29c9fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29c9fd([0x6e,0x6f,0x77])]())[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29c9fd([0x2e]),'');let _0x58c743=_0x29c9fd([0x68]);for(let _0x1d0ebd=0x0;_0x1d0ebd<_0x8a3ba8[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d0ebd+=0x2){let _0x5004c7=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8a3ba8[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d0ebd,_0x1d0ebd+0x2));_0x5004c7>=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5004c7-=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58c743+=_0x44845d[_0x5004c7];}return _0x58c743;}function _0x15fddf(){const _0x44fae5=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));if(0x3!=_0x44fae5[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x164ca3(_0x44fae5[0x1]);function _0x164ca3(_0x4e6109){const _0x2e8614=_0x54514e(_0x4e6109);return _0x2e8614&&_0xb0ad12()?_0x2e8614:null;function _0xb0ad12(){const _0x3377c9=_0x2e8614[_0x29c9fd([0x6a,0x74,0x69])],_0x4b0c17=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d0523={..._0x2e8614,[_0x29c9fd([0x6a,0x74,0x69])]:_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d0523[_0x29c9fd([0x76,0x63])],_0x12d98d(_0x5d0523)==_0x4b0c17;}}}async function _0x58c191(){let _0x2b6d6b=!0x0;try{const _0x28b48d=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])),[_0x2edacb,_0x4fbfff,_0x28da46]=_0x28b48d;return _0x25ff15(_0x2edacb),await _0x34afe8(_0x2edacb,_0x4fbfff,_0x28da46),_0x2b6d6b;}catch{return!0x1;}function _0x25ff15(_0x4122f1){const _0xc37de1=_0x54514e(_0x4122f1);_0xc37de1&&_0xc37de1[_0x29c9fd([0x61,0x6c,0x67])]==_0x29c9fd([0x45,0x53,0x32,0x35,0x36])||(_0x2b6d6b=!0x1);}async function _0x34afe8(_0x36085f,_0x5b4789,_0x406eb5){const _0x375c5a=window[_0x29c9fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29c9fd([0x66,0x72,0x6f,0x6d])](_0x4d508b(_0x406eb5),_0x4cdff0=>_0x4cdff0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47884c=new window[(_0x29c9fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29c9fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36085f+_0x29c9fd([0x2e])+_0x5b4789),_0x3c1453=window[_0x29c9fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29c9fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c1453)return;const _0x4879e5=await _0x3c1453[_0x29c9fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29c9fd([0x6a,0x77,0x6b]),_0x3e8d77,{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c1453[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x68,0x61,0x73,0x68])]:{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4879e5,_0x375c5a,_0x47884c)||(_0x2b6d6b=!0x1);}}function _0x54514e(_0x1b9211){return _0x1b9211[_0x29c9fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29c9fd([0x65,0x79]))?JSON[_0x29c9fd([0x70,0x61,0x72,0x73,0x65])](_0x4d508b(_0x1b9211)):null;}function _0x4d508b(_0x2d78d0){return window[_0x29c9fd([0x61,0x74,0x6f,0x62])](_0x2d78d0[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29c9fd([0x2b]))[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29c9fd([0x2f])));}function _0x12d98d(_0x5be3c9){let _0x3d93db=0x1505;function _0x4ccac3(_0x4671f0){for(let _0x801abe=0x0;_0x801abe<_0x4671f0[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x801abe++){const _0x5f4314=_0x4671f0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x801abe);_0x3d93db=(_0x3d93db<<0x5)+_0x3d93db+_0x5f4314,_0x3d93db&=_0x3d93db;}}function _0x15c45b(_0x24d03b){Array[_0x29c9fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24d03b)?_0x24d03b[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15c45b):_0x24d03b&&typeof _0x24d03b==_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29c9fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24d03b)[_0x29c9fd([0x73,0x6f,0x72,0x74])]()[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5da2a1,_0x4f76bd])=>{_0x4ccac3(_0x5da2a1),_0x15c45b(_0x4f76bd);}):_0x4ccac3(window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24d03b));}return _0x15c45b(_0x5be3c9),_0x3d93db>>>0x0;}function _0x138538(_0x513458){return _0x513458[_0x29c9fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29c9fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29c9fd([0x30]));}function _0x5d2186(_0x5314c6){return _0x5314c6[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29c9fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29c9fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x201587(){}function _0x29c9fd(_0x223414){const _0x73e6f8=_0x4b03;return _0x223414[_0x73e6f8(0xa6)](_0x30d2d0=>String[_0x73e6f8(0xcc)](_0x30d2d0))[_0x73e6f8(0xb4)]('');}_0x3a408d(await _0xd5967e());}(this);}[_0x531908(0xc1)](){const _0x1b2cb7=_0x531908,_0x699a31=this[_0x1b2cb7(0xbf)][_0x1b2cb7(0xa1)][_0x1b2cb7(0xde)];_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xc0))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xc0),{'allowAttributes':[_0x1b2cb7(0xdf)]}),_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xe4))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xe4),{'allowAttributes':[_0x1b2cb7(0xdf)]});}[_0x531908(0xa0)](){const _0x49ecc6=_0x531908,_0x5a4d5f=this[_0x49ecc6(0xbf)];_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xdd))[_0x49ecc6(0xba)]({'model':_0x49ecc6(0xdf),'view':_0x49ecc6(0xaa)}),_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xab))[_0x49ecc6(0x9e)]({'model':{'key':_0x49ecc6(0xdf),'value':_0x2663be=>_0x2663be[_0x49ecc6(0xad)](_0x49ecc6(0xaa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f0707=_0x5a4d5f[_0x49ecc6(0xbb)][_0x49ecc6(0x99)](_0x49ecc6(0xd6));_0x2f0707&&this[_0x49ecc6(0xa8)](_0x2f0707,_0x49ecc6(0xb6),(_0x5bda37,[_0x404d7e,_0x4f87df])=>{const _0x274cc4=_0x49ecc6;_0x404d7e[_0x274cc4(0xc6)](_0x274cc4(0xdf),_0x4f87df);});}[_0x531908(0xd3)](){const _0x528ccb=_0x531908,_0x3fcc76=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0xe6))||{},_0x3e3aee=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0x96))||'';this[_0x528ccb(0xe0)]=_0x4653d6(_0x287720[_0x528ccb(0xac)],_0x528ccb(0x9a),{..._0x3fcc76,'pubkey':_0x3e3aee,'ctx-name':_0x528ccb(0xdb)+this[_0x528ccb(0xe3)],'sourceList':'','imgOnly':_0x528ccb(0xb2),'removeCopyright':_0x528ccb(0xb2),'localeName':this[_0x528ccb(0xbf)][_0x528ccb(0xa5)][_0x528ccb(0xbc)],'externalSourcesEmbedCss':_0x528ccb(0xe7)}),this[_0x528ccb(0xe0)][_0x528ccb(0xa9)]=_0x325e5b=>{const _0x38d1b3=_0x528ccb;if(_0x38d1b3(0xb9)==_0x325e5b)return _0x38d1b3(0x9f);},_0x287720[_0x528ccb(0xac)][_0x528ccb(0xaf)][_0x528ccb(0xbe)](this[_0x528ccb(0xe0)]);}[_0x531908(0xd5)](){const _0x35a9c8=_0x531908;this[_0x35a9c8(0xa7)]=_0x4653d6(_0x287720[_0x35a9c8(0xac)],_0x35a9c8(0xce),{'ctx-name':_0x35a9c8(0xdb)+this[_0x35a9c8(0xe3)]}),_0x287720[_0x35a9c8(0xac)][_0x35a9c8(0xaf)][_0x35a9c8(0xbe)](this[_0x35a9c8(0xa7)]);}[_0x531908(0xd2)](){const _0x5b3247=_0x531908,_0x10c474=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xa3));_0x10c474&&this[_0x5b3247(0xa8)](_0x10c474,_0x5b3247(0xda),()=>{const _0x53d74f=_0x5b3247,_0x46e7a3=this[_0x53d74f(0xbf)][_0x53d74f(0xa1)][_0x53d74f(0xac)][_0x53d74f(0xe5)][_0x53d74f(0x98)]();_0x46e7a3&&_0x46e7a3[_0x53d74f(0xad)](_0x53d74f(0xdf))&&this[_0x53d74f(0xbf)][_0x53d74f(0xc2)][_0x53d74f(0xae)][_0x53d74f(0xe1)](_0x53d74f(0xd4),()=>{const _0x1eeaea=_0x53d74f;_0x2e6e5d(this[_0x1eeaea(0xbf)],_0x46e7a3);});});const _0x3c58ff=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xb7));_0x3c58ff&&this[_0x5b3247(0xa8)](_0x3c58ff,_0x5b3247(0xda),()=>{const _0x72b1af=_0x5b3247,_0x173a3d=this[_0x72b1af(0xbf)][_0x72b1af(0xa1)][_0x72b1af(0xac)][_0x72b1af(0xe5)][_0x72b1af(0x98)]();_0x173a3d&&_0x173a3d[_0x72b1af(0xad)](_0x72b1af(0xdf))&&this[_0x72b1af(0xbf)][_0x72b1af(0xc2)][_0x72b1af(0xae)][_0x72b1af(0xe1)](_0x72b1af(0xd4),()=>{const _0xb3c977=_0x72b1af;_0x2e6e5d(this[_0xb3c977(0xbf)],_0x173a3d);});});}}
@@ -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 _0x3f6bda,ObservableMixin as _0x55e871}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3a8a6b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1509d8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3beb4d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5d195d}from'../../utils/uploadutils.js';import{getImageUrls as _0x5ca186,getImageDimension as _0x3cdb0c}from'../../utils/editingutils.js';import{isAncestor as _0x19d834}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x55e871(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c7b9a,_0xc943f9,_0x210533){super(),this['_editor']=_0x2c7b9a,this['_dialog']=_0xc943f9,this['_imageElement']=_0x210533,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 _0x587c02=this['_imageElement'],_0x9b729e=_0x587c02['getAttribute']('uploadcareImageId'),_0x21c1ee=_0x587c02['getAttribute']('src');if(_0x9b729e)await this['_loadImageInfo'](_0x9b729e,_0x21c1ee);else{if(this['_imageCache']['has'](_0x21c1ee)){const _0x55c987=this['_imageCache']['get'](_0x21c1ee);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55c987['url'],this['imageDimension']=_0x55c987['dimension'],this['imageId']=_0x55c987['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x152cdb}=this['_editor'],t=_0x152cdb['t'],_0x3056ca=new _0x3beb4d(_0x152cdb,this['imageStatus'],this['_attributes']);_0x3056ca['bind']('status')['to'](this,'imageStatus'),_0x3056ca['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3056ca['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3056ca['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3056ca,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1509d8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3056ca,'position':_0x3a8a6b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3056ca['focus']();},'onHide':()=>{_0x3056ca['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3ee9c7=>!_0x19d834(_0x3ee9c7,_0x3056ca['element'])}});}['_loadImageInfo'](_0x9c3afa,_0x1bd058){return _0x5d195d['getInfo'](_0x9c3afa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xab6012=>{const {width:_0x222c71,height:_0x2ad3b9}=_0xab6012['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bd058,this['imageDimension']={'width':_0x222c71,'height':_0x2ad3b9},this['imageId']=_0x9c3afa;})['catch'](_0x28dad6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28dad6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x432b8f,_0x327127){return this['_getImageAsFile'](_0x432b8f)['then'](_0x40726a=>_0x5d195d['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':_0x327127['signal'],'file':_0x40726a,'onProgress':_0x870a2b=>{_0x870a2b&&_0x870a2b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x870a2b['value']));}}))['then'](_0x23c637=>{const {width:_0x58ad36,height:_0x152b4c}=_0x23c637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23c637['cdnUrl'],this['imageDimension']={'width':_0x58ad36,'height':_0x152b4c},this['imageId']=_0x23c637['uuid'],this['imageUploadProgress']=null;const _0x5ddaf6=_0x432b8f['getAttribute']('src');this['_imageCache']['set'](_0x5ddaf6,{'id':_0x23c637['uuid'],'url':_0x23c637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51411b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51411b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x18576b,_0x49718e){_0x18576b['on']('apply',(_0x505596,_0x45b578)=>{this['_replaceImage'](_0x49718e,_0x45b578['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x18576b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x18576b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3d65e2,_0x3718ac,_0x25633f){const _0x36ae80=this['_editor'],{width:_0x33af6a,height:_0x544c73}=_0x3cdb0c(_0x3718ac,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e1f75,imageSources:_0x4debb2}=_0x5ca186(_0x3718ac,_0x33af6a);_0x36ae80['model']['change'](_0x1c6e15=>{if('$graveyard'===_0x3d65e2['root']['rootName']){_0x36ae80['execute']('insertImage',{'imageType':_0x3d65e2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3d65e2['getAttributes']()),'uploadcareImageId':_0x25633f,'src':_0x3e1f75,'sources':_0x4debb2,'width':_0x33af6a,'height':_0x544c73}});const _0x227af7=_0x3d65e2['getChildren']();_0x3d65e2=_0x36ae80['model']['document']['selection']['getSelectedElement']();for(const _0xdf630 of _0x227af7)_0x1c6e15['append'](_0x1c6e15['cloneElement'](_0xdf630),_0x3d65e2);}else _0x1c6e15['setSelection'](_0x3d65e2,'on'),_0x36ae80['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3d65e2['getAttributes']()),'uploadcareImageId':_0x25633f,'src':_0x3e1f75,'sources':_0x4debb2,'width':_0x33af6a,'height':_0x544c73},_0x3d65e2);_0x1c6e15['setSelection'](_0x3d65e2,'on');});}async['_getImageAsFile'](_0xb6d153){const _0x46e057=_0x3f6bda['window'],_0x51bd50=_0x3f6bda['document']['location']['href'],_0x145800=new _0x46e057['URL'](_0xb6d153['getAttribute']('src'),_0x51bd50);if('data:'===_0x145800['protocol']){const _0x46c04d=_0x145800['href']['split'](','),_0x21452d=_0x46c04d[0x0]['match'](/:(.*?);/)[0x1],_0x387fcb=_0x21452d['split']('/')[0x1],_0x3e2f13=_0x46e057['atob'](_0x46c04d[_0x46c04d['length']-0x1]);let _0x1b10fe=_0x3e2f13['length'];const _0x51a7ab=new _0x46e057['Uint8Array'](_0x1b10fe);for(;_0x1b10fe--;)_0x51a7ab[_0x1b10fe]=_0x3e2f13['charCodeAt'](_0x1b10fe);return new _0x46e057['File']([_0x51a7ab],'image.'+_0x387fcb,{'type':_0x21452d});}const _0x3c18c1=_0x145800['href']['split']('/'),_0x5c6c73=_0x3c18c1[_0x3c18c1['length']-0x1],_0x2b8243=_0x5c6c73['split']('.')[0x1];return _0x46e057['fetch'](_0x145800['href'])['then'](_0x165c5b=>_0x165c5b['clone']()['blob']())['then'](_0x44b6f6=>new _0x46e057['File']([_0x44b6f6],_0x5c6c73,{'type':'image/'+_0x2b8243}));}}
@@ -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(_0x13c022,_0xb09df5){const _0x4aca55=_0x4b9a,_0x5ccedb=_0x13c022();while(!![]){try{const _0x3d40b0=parseInt(_0x4aca55(0x129))/0x1+-parseInt(_0x4aca55(0x12f))/0x2+-parseInt(_0x4aca55(0x131))/0x3*(parseInt(_0x4aca55(0x130))/0x4)+parseInt(_0x4aca55(0x123))/0x5+parseInt(_0x4aca55(0x125))/0x6+-parseInt(_0x4aca55(0x127))/0x7+parseInt(_0x4aca55(0x12b))/0x8*(-parseInt(_0x4aca55(0x12e))/0x9);if(_0x3d40b0===_0xb09df5)break;else _0x5ccedb['push'](_0x5ccedb['shift']());}catch(_0xcda1ce){_0x5ccedb['push'](_0x5ccedb['shift']());}}}(_0xa5a2,0xacbf6));import{View as _0x37edd6}from'ckeditor5/src/ui.js';function _0xa5a2(){const _0x4c3c0d=['1076974iYbMxu','48312gcUDsC','81SPNPri','bindTemplate','set','1811820vZgPnK','uc-light','2674962NrpzCR','imageSrc','611331aeujkd','setTemplate','1407073zfGEeg','ck-uploadcare-theme','23776VBzPHy','uc-cloud-image-editor','image-edit','1683VgxKRK'];_0xa5a2=function(){return _0x4c3c0d;};return _0xa5a2();}function _0x4b9a(_0x5a404f,_0x4abfbd){const _0xa5a226=_0xa5a2();return _0x4b9a=function(_0x4b9a05,_0x2079ac){_0x4b9a05=_0x4b9a05-0x123;let _0x506939=_0xa5a226[_0x4b9a05];return _0x506939;},_0x4b9a(_0x5a404f,_0x4abfbd);}export class UploadcareImageEditFormEditingView extends _0x37edd6{constructor(_0x1c4f17,_0x1079bb){const _0x1833e1=_0x4b9a;super(_0x1c4f17);const _0x31f197=this[_0x1833e1(0x132)];this[_0x1833e1(0x133)](_0x1833e1(0x126),''),this[_0x1833e1(0x128)]({'tag':_0x1833e1(0x12c),'attributes':{..._0x1079bb,'class':[_0x1833e1(0x124),_0x1833e1(0x12a)],'ctx-name':_0x1833e1(0x12d),'cdn-url':_0x31f197['to'](_0x1833e1(0x126))}});}}
@@ -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 _0x1ffc60}from'ckeditor5/src/icons.js';import{ButtonView as _0x317303,IconView as _0x1b041a,View as _0x8aadc2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x8aadc2{constructor(_0x354df8){super(_0x354df8);const t=_0x354df8['t'];this['set']('errorType',null);const _0x3252bb=new _0x317303(_0x354df8);_0x3252bb['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3252bb['withText']=!0x0,_0x3252bb['class']='ck-button-action',_0x3252bb['on']('execute',()=>{this['fire']('retry');}),_0x3252bb['bind']('isVisible')['to'](this,'errorType',_0x3efd5f=>'NotFound'!==_0x3efd5f);const _0x33c5bd=new _0x1b041a();_0x33c5bd['content']=_0x1ffc60,_0x33c5bd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52192d=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':[_0x33c5bd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52192d['to']('errorType',_0x451033=>t('NotFound'!==_0x451033?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3252bb]},{'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 _0x10f515,View as _0x1905e8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1905e8{constructor(_0x4ba87f){super(_0x4ba87f);const t=_0x4ba87f['t'],_0x4dd74=this['bindTemplate'],_0x52f01d=new _0x10f515();_0x52f01d['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':[_0x52f01d,{'text':_0x4dd74['to']('imageUploadProgress',_0x1ee9c0=>t('Loading\x20image...')+'\x20('+(_0x1ee9c0||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
- function _0x2c1c(_0x1417df,_0x58238c){const _0x537035=_0x5370();return _0x2c1c=function(_0x2c1c96,_0x44c172){_0x2c1c96=_0x2c1c96-0x111;let _0x389afa=_0x537035[_0x2c1c96];return _0x389afa;},_0x2c1c(_0x1417df,_0x58238c);}const _0x56c889=_0x2c1c;(function(_0x452717,_0x458359){const _0x5f72bc=_0x2c1c,_0x5e4759=_0x452717();while(!![]){try{const _0x593784=parseInt(_0x5f72bc(0x114))/0x1*(parseInt(_0x5f72bc(0x134))/0x2)+-parseInt(_0x5f72bc(0x11e))/0x3+parseInt(_0x5f72bc(0x133))/0x4*(-parseInt(_0x5f72bc(0x132))/0x5)+-parseInt(_0x5f72bc(0x13e))/0x6+-parseInt(_0x5f72bc(0x141))/0x7+parseInt(_0x5f72bc(0x12f))/0x8+parseInt(_0x5f72bc(0x131))/0x9;if(_0x593784===_0x458359)break;else _0x5e4759['push'](_0x5e4759['shift']());}catch(_0x48900d){_0x5e4759['push'](_0x5e4759['shift']());}}}(_0x5370,0xba6dd));function _0x5370(){const _0x2db79b=['8279736sXcvor','length','observe','5356526iHMxZb','_errorView','error','cdnUrl','setTemplate','element','filter','addedNodes','_editingView','82963fCTfyD','_addUploadcareImageEditorListeners','div','focus','disconnect','uc-cloud-image-editor','uploading','querySelector','change:status','_addErrorViewListeners','482670wJaHiJ','_items','set','nodeName','render','getFocusableElement','fire','detail','addEventListener','ck-uploadcare-form','createCollection','status','toLowerCase','_loadingView','_setView','retry','once','1577576gfYuPv','apply','28866816wijxei','6237685TsTSAX','4HhfvRu','22xmQdRo','target','ck-reset_all-excluded','add','ready','addMany','clear','_waitForImageEditorComponent','_focusableView','cancel'];_0x5370=function(){return _0x2db79b;};return _0x5370();}import{View as _0x1f12b6}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5e67b7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x11a4e6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2ae15a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x24f6b9}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x24f6b9{[_0x56c889(0x11f)];[_0x56c889(0x12b)];[_0x56c889(0x142)];[_0x56c889(0x113)];[_0x56c889(0x13c)];constructor(_0x93ca0b,_0x52e400,_0x4332b4){const _0x2136db=_0x56c889;super(_0x93ca0b),this[_0x2136db(0x11f)]=this[_0x2136db(0x128)](),this[_0x2136db(0x12b)]=new _0x5e67b7(_0x93ca0b),this[_0x2136db(0x142)]=new _0x11a4e6(_0x93ca0b),this[_0x2136db(0x113)]=new _0x2ae15a(_0x93ca0b,_0x4332b4),this[_0x2136db(0x13c)]=new _0x1f12b6(_0x93ca0b),this[_0x2136db(0x13c)][_0x2136db(0x145)](this[_0x2136db(0x123)]()),this[_0x2136db(0x120)](_0x2136db(0x129),_0x52e400),this[_0x2136db(0x145)]({'tag':_0x2136db(0x116),'attributes':{'class':['ck',_0x2136db(0x136),_0x2136db(0x127)],'tabindex':'-1'},'children':this[_0x2136db(0x11f)]}),this[_0x2136db(0x12c)](),this[_0x2136db(0x12e)](_0x2136db(0x122),()=>{const _0x1136fd=_0x2136db;this[_0x1136fd(0x13b)](this[_0x1136fd(0x146)],_0x4f3782=>{const _0x30ff1d=_0x1136fd;this[_0x30ff1d(0x115)](_0x4f3782);});}),this['on'](_0x2136db(0x11c),()=>{const _0x206167=_0x2136db;this[_0x206167(0x12c)]();}),this[_0x2136db(0x11d)]();}[_0x56c889(0x117)](){const _0x539e58=_0x56c889;this[_0x539e58(0x146)][_0x539e58(0x117)]();}[_0x56c889(0x12c)](){const _0x55d1e0=_0x56c889;switch(this[_0x55d1e0(0x11f)][_0x55d1e0(0x13a)](),this[_0x55d1e0(0x129)]){case _0x55d1e0(0x11a):this[_0x55d1e0(0x11f)][_0x55d1e0(0x137)](this[_0x55d1e0(0x12b)]);break;case _0x55d1e0(0x143):this[_0x55d1e0(0x11f)][_0x55d1e0(0x137)](this[_0x55d1e0(0x142)]);break;case _0x55d1e0(0x138):this[_0x55d1e0(0x11f)][_0x55d1e0(0x139)]([this[_0x55d1e0(0x113)],this[_0x55d1e0(0x13c)]]);}}[_0x56c889(0x13b)](_0x214aa1,_0x5627d1){const _0x34d455=_0x56c889,_0x1c782b=_0x34d455(0x119),_0x34b312=_0x214aa1[_0x34d455(0x11b)](_0x1c782b);if(_0x34b312)return _0x5627d1(_0x34b312);const _0x48eab7=new MutationObserver(_0x8dbbef=>{const _0x54c1ef=_0x34d455,_0x19da21=_0x8dbbef[_0x54c1ef(0x111)](_0x30e075=>_0x30e075[_0x54c1ef(0x135)]===_0x214aa1&&_0x30e075[_0x54c1ef(0x112)][_0x54c1ef(0x13f)]>0x0&&_0x30e075[_0x54c1ef(0x112)][0x0][_0x54c1ef(0x121)][_0x54c1ef(0x12a)]()===_0x1c782b);_0x19da21[_0x54c1ef(0x13f)]&&(_0x48eab7[_0x54c1ef(0x118)](),_0x5627d1(_0x19da21[0x0][_0x54c1ef(0x112)][0x0]));});_0x48eab7[_0x34d455(0x140)](_0x214aa1,{'childList':!0x0,'subtree':!0x0});}[_0x56c889(0x115)](_0x5bedbc){const _0x5bf151=_0x56c889;_0x5bedbc[_0x5bf151(0x126)](_0x5bf151(0x130),_0x46bd91=>{const _0x3e7d3d=_0x5bf151;this[_0x3e7d3d(0x124)](_0x3e7d3d(0x130),{'imageSrc':_0x46bd91[_0x3e7d3d(0x125)][_0x3e7d3d(0x144)]});}),_0x5bedbc[_0x5bf151(0x126)](_0x5bf151(0x13d),()=>{const _0x4039d0=_0x5bf151;this[_0x4039d0(0x124)](_0x4039d0(0x13d));});}[_0x56c889(0x11d)](){const _0x11ae11=_0x56c889;this[_0x11ae11(0x142)]['on'](_0x11ae11(0x12d),()=>{const _0x4d20b9=_0x11ae11;this[_0x4d20b9(0x124)](_0x4d20b9(0x12d));});}}
@@ -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 _0x2d5985=_0x5b91;(function(_0x3c6f09,_0x4f9565){const _0x5dce41=_0x5b91,_0x3f28e4=_0x3c6f09();while(!![]){try{const _0x18d20b=-parseInt(_0x5dce41(0xe9))/0x1*(parseInt(_0x5dce41(0x102))/0x2)+parseInt(_0x5dce41(0xef))/0x3*(parseInt(_0x5dce41(0x105))/0x4)+parseInt(_0x5dce41(0xff))/0x5+parseInt(_0x5dce41(0x106))/0x6+parseInt(_0x5dce41(0xf2))/0x7*(-parseInt(_0x5dce41(0x100))/0x8)+parseInt(_0x5dce41(0xfa))/0x9*(parseInt(_0x5dce41(0xfc))/0xa)+-parseInt(_0x5dce41(0xed))/0xb*(parseInt(_0x5dce41(0xea))/0xc);if(_0x18d20b===_0x4f9565)break;else _0x3f28e4['push'](_0x3f28e4['shift']());}catch(_0x283c3e){_0x3f28e4['push'](_0x3f28e4['shift']());}}}(_0x5e8f,0x71fab));import{Command as _0x11a942}from'ckeditor5/src/core.js';import{Dialog as _0x171251}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x43bf7a}from'./ui/uploadcareimageeditcontroller.js';function _0x5b91(_0x4ebc58,_0x323a59){const _0x5e8f6a=_0x5e8f();return _0x5b91=function(_0x5b910f,_0x212636){_0x5b910f=_0x5b910f-0xe6;let _0x2e85e=_0x5e8f6a[_0x5b910f];return _0x2e85e;},_0x5b91(_0x4ebc58,_0x323a59);}import{createEditabilityChecker as _0x284fd3}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x11a942{[_0x2d5985(0xf9)];static get[_0x2d5985(0xfd)](){return[_0x171251];}[_0x2d5985(0xf1)];constructor(_0x4fa5ab){const _0x4dfc47=_0x2d5985;super(_0x4fa5ab),this[_0x4dfc47(0xf9)]=void 0x0,this[_0x4dfc47(0xf1)]=_0x284fd3(_0x4fa5ab[_0x4dfc47(0xfb)][_0x4dfc47(0x107)](_0x4dfc47(0x103))||[]),this[_0x4dfc47(0xf8)]({'isActive':!0x1});}[_0x2d5985(0xf3)](){const _0x253d9c=_0x2d5985,_0x556294=this[_0x253d9c(0xee)][_0x253d9c(0xf6)][_0x253d9c(0x101)][_0x253d9c(0xf5)][_0x253d9c(0xe6)]();this[_0x253d9c(0xe7)]=this[_0x253d9c(0xf1)](_0x556294);}[_0x2d5985(0xf0)](){const _0x1d55e2=_0x2d5985;this[_0x1d55e2(0xf9)]&&(this[_0x1d55e2(0xf7)](_0x1d55e2(0xeb)),this[_0x1d55e2(0xf9)]=void 0x0);const _0x59244a=this[_0x1d55e2(0xee)][_0x1d55e2(0xf6)][_0x1d55e2(0x101)][_0x1d55e2(0xf5)][_0x1d55e2(0xe6)]();_0x59244a&&(_0x59244a['is'](_0x1d55e2(0x104),_0x1d55e2(0xe8))||_0x59244a['is'](_0x1d55e2(0x104),_0x1d55e2(0xfe)))&&(this[_0x1d55e2(0xf9)]=new _0x43bf7a(this[_0x1d55e2(0xee)],this[_0x1d55e2(0xee)][_0x1d55e2(0xec)][_0x1d55e2(0x107)](_0x171251),_0x59244a),this[_0x1d55e2(0xf4)](_0x1d55e2(0xeb))['to'](this[_0x1d55e2(0xf9)],_0x1d55e2(0xeb)));}}function _0x5e8f(){const _0x58cb7e=['document','198CaOlpj','uploadcare.allowExternalImagesEditing','element','114640jdlTaB','1660668iCfjVx','get','getSelectedElement','isEnabled','imageBlock','1423rrmggb','72dDPEhK','isActive','plugins','722557LbBkfq','editor','75MbsrRm','execute','_isEditable','1559117ZAECAC','refresh','bind','selection','model','unbind','set','imageEditController','5391fDUfhJ','config','2030RYoPWt','requires','imageInline','1662225ismPNo','16zgEnMG'];_0x5e8f=function(){return _0x58cb7e;};return _0x5e8f();}
@@ -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 _0x192114=_0xc3a2;(function(_0x2b55b3,_0x492bfc){const _0x4922ac=_0xc3a2,_0x4ab30d=_0x2b55b3();while(!![]){try{const _0x47f4f9=parseInt(_0x4922ac(0xee))/0x1*(-parseInt(_0x4922ac(0xe5))/0x2)+-parseInt(_0x4922ac(0xec))/0x3*(parseInt(_0x4922ac(0xdf))/0x4)+-parseInt(_0x4922ac(0xf1))/0x5*(-parseInt(_0x4922ac(0xe8))/0x6)+-parseInt(_0x4922ac(0xdc))/0x7*(parseInt(_0x4922ac(0xda))/0x8)+parseInt(_0x4922ac(0xef))/0x9+parseInt(_0x4922ac(0xeb))/0xa*(parseInt(_0x4922ac(0xe1))/0xb)+-parseInt(_0x4922ac(0xe0))/0xc*(-parseInt(_0x4922ac(0xdb))/0xd);if(_0x47f4f9===_0x492bfc)break;else _0x4ab30d['push'](_0x4ab30d['shift']());}catch(_0x6c2c4c){_0x4ab30d['push'](_0x4ab30d['shift']());}}}(_0x360b,0x53270));import{Plugin as _0x4fa8a7}from'ckeditor5/src/core.js';import{Notification as _0x1487ab}from'ckeditor5/src/ui.js';function _0x360b(){const _0x5c5200=['pluginName','add','16GbKhCM','984612zDXbWd','44DEWbyD','uploadcareImageEdit','init','UploadcareImageEditEditing','230LpkUhx','requires','ImageUtils','36CpJmnX','isOfficialPlugin','ImageEditing','143630fwsqeu','197160oJsSWE','commands','4931NPaInV','5657481vwsncn','uploadcareImageReplace','104565vyCYKW','isPremiumPlugin','1722872tCDQyc','91adgPoi','7jtWaQh'];_0x360b=function(){return _0x5c5200;};return _0x360b();}import{UploadcareImageEditCommand as _0x3fea0a}from'./uploadcareimageeditcommand.js';function _0xc3a2(_0x677037,_0x512aaf){const _0x360b52=_0x360b();return _0xc3a2=function(_0xc3a2ad,_0x1e0cd5){_0xc3a2ad=_0xc3a2ad-0xd9;let _0x9cea47=_0x360b52[_0xc3a2ad];return _0x9cea47;},_0xc3a2(_0x677037,_0x512aaf);}import{UploadcareImageReplaceCommand as _0x569615}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x14c648}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4fa8a7{static get[_0x192114(0xdd)](){const _0x53a5e5=_0x192114;return _0x53a5e5(0xe4);}static get[_0x192114(0xe6)](){const _0x215085=_0x192114;return[_0x14c648,_0x1487ab,_0x215085(0xe7),_0x215085(0xea)];}static get[_0x192114(0xe9)](){return!0x0;}static get[_0x192114(0xd9)](){return!0x0;}[_0x192114(0xe3)](){const _0x4e9b0c=_0x192114,{editor:_0x3a1a1e}=this;_0x3a1a1e[_0x4e9b0c(0xed)][_0x4e9b0c(0xde)](_0x4e9b0c(0xe2),new _0x3fea0a(_0x3a1a1e)),_0x3a1a1e[_0x4e9b0c(0xed)][_0x4e9b0c(0xde)](_0x4e9b0c(0xf0),new _0x569615(_0x3a1a1e));}}