@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260125.0 → 0.0.0-nightly-next-20260125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/ckeditor5-metadata.json +2 -2
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
  150. package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
  151. package/{src → dist}/uploadcare.d.ts +1 -1
  152. package/{src → dist}/uploadcarecommand.d.ts +2 -2
  153. package/{src → dist}/uploadcareconfig.d.ts +1 -1
  154. package/{src → dist}/uploadcareediting.d.ts +2 -2
  155. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  156. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  157. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  158. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  159. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  160. package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  161. package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  162. package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  163. package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  164. package/{src → dist}/uploadcareimageedit.d.ts +1 -1
  165. package/{src → dist}/uploadcareui.d.ts +1 -1
  166. package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
  167. package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
  168. package/package.json +23 -46
  169. package/build/translations/af.js +0 -1
  170. package/build/translations/ar.js +0 -1
  171. package/build/translations/ast.js +0 -1
  172. package/build/translations/az.js +0 -1
  173. package/build/translations/be.js +0 -1
  174. package/build/translations/bg.js +0 -1
  175. package/build/translations/bn.js +0 -1
  176. package/build/translations/bs.js +0 -1
  177. package/build/translations/ca.js +0 -1
  178. package/build/translations/cs.js +0 -1
  179. package/build/translations/da.js +0 -1
  180. package/build/translations/de-ch.js +0 -1
  181. package/build/translations/de.js +0 -1
  182. package/build/translations/el.js +0 -1
  183. package/build/translations/en-au.js +0 -1
  184. package/build/translations/en-gb.js +0 -1
  185. package/build/translations/eo.js +0 -1
  186. package/build/translations/es-co.js +0 -1
  187. package/build/translations/es.js +0 -1
  188. package/build/translations/et.js +0 -1
  189. package/build/translations/eu.js +0 -1
  190. package/build/translations/fa.js +0 -1
  191. package/build/translations/fi.js +0 -1
  192. package/build/translations/fr.js +0 -1
  193. package/build/translations/gl.js +0 -1
  194. package/build/translations/gu.js +0 -1
  195. package/build/translations/he.js +0 -1
  196. package/build/translations/hi.js +0 -1
  197. package/build/translations/hr.js +0 -1
  198. package/build/translations/hu.js +0 -1
  199. package/build/translations/hy.js +0 -1
  200. package/build/translations/id.js +0 -1
  201. package/build/translations/it.js +0 -1
  202. package/build/translations/ja.js +0 -1
  203. package/build/translations/jv.js +0 -1
  204. package/build/translations/kk.js +0 -1
  205. package/build/translations/km.js +0 -1
  206. package/build/translations/kn.js +0 -1
  207. package/build/translations/ko.js +0 -1
  208. package/build/translations/ku.js +0 -1
  209. package/build/translations/lt.js +0 -1
  210. package/build/translations/lv.js +0 -1
  211. package/build/translations/ms.js +0 -1
  212. package/build/translations/nb.js +0 -1
  213. package/build/translations/ne.js +0 -1
  214. package/build/translations/nl.js +0 -1
  215. package/build/translations/no.js +0 -1
  216. package/build/translations/oc.js +0 -1
  217. package/build/translations/pl.js +0 -1
  218. package/build/translations/pt-br.js +0 -1
  219. package/build/translations/pt.js +0 -1
  220. package/build/translations/ro.js +0 -1
  221. package/build/translations/ru.js +0 -1
  222. package/build/translations/si.js +0 -1
  223. package/build/translations/sk.js +0 -1
  224. package/build/translations/sl.js +0 -1
  225. package/build/translations/sq.js +0 -1
  226. package/build/translations/sr-latn.js +0 -1
  227. package/build/translations/sr.js +0 -1
  228. package/build/translations/sv.js +0 -1
  229. package/build/translations/th.js +0 -1
  230. package/build/translations/ti.js +0 -1
  231. package/build/translations/tk.js +0 -1
  232. package/build/translations/tr.js +0 -1
  233. package/build/translations/tt.js +0 -1
  234. package/build/translations/ug.js +0 -1
  235. package/build/translations/uk.js +0 -1
  236. package/build/translations/ur.js +0 -1
  237. package/build/translations/uz.js +0 -1
  238. package/build/translations/vi.js +0 -1
  239. package/build/translations/zh-cn.js +0 -1
  240. package/build/translations/zh.js +0 -1
  241. package/build/uploadcare.js +0 -5
  242. package/lang/contexts.json +0 -24
  243. package/lang/translations/af.po +0 -100
  244. package/lang/translations/ar.po +0 -100
  245. package/lang/translations/ast.po +0 -100
  246. package/lang/translations/az.po +0 -100
  247. package/lang/translations/be.po +0 -100
  248. package/lang/translations/bg.po +0 -100
  249. package/lang/translations/bn.po +0 -100
  250. package/lang/translations/bs.po +0 -100
  251. package/lang/translations/ca.po +0 -100
  252. package/lang/translations/cs.po +0 -100
  253. package/lang/translations/da.po +0 -100
  254. package/lang/translations/de-ch.po +0 -100
  255. package/lang/translations/de.po +0 -100
  256. package/lang/translations/el.po +0 -100
  257. package/lang/translations/en-au.po +0 -100
  258. package/lang/translations/en-gb.po +0 -100
  259. package/lang/translations/en.po +0 -100
  260. package/lang/translations/eo.po +0 -100
  261. package/lang/translations/es-co.po +0 -100
  262. package/lang/translations/es.po +0 -100
  263. package/lang/translations/et.po +0 -100
  264. package/lang/translations/eu.po +0 -100
  265. package/lang/translations/fa.po +0 -100
  266. package/lang/translations/fi.po +0 -100
  267. package/lang/translations/fr.po +0 -100
  268. package/lang/translations/gl.po +0 -100
  269. package/lang/translations/gu.po +0 -100
  270. package/lang/translations/he.po +0 -100
  271. package/lang/translations/hi.po +0 -100
  272. package/lang/translations/hr.po +0 -100
  273. package/lang/translations/hu.po +0 -100
  274. package/lang/translations/hy.po +0 -100
  275. package/lang/translations/id.po +0 -100
  276. package/lang/translations/it.po +0 -100
  277. package/lang/translations/ja.po +0 -100
  278. package/lang/translations/jv.po +0 -100
  279. package/lang/translations/kk.po +0 -100
  280. package/lang/translations/km.po +0 -100
  281. package/lang/translations/kn.po +0 -100
  282. package/lang/translations/ko.po +0 -100
  283. package/lang/translations/ku.po +0 -100
  284. package/lang/translations/lt.po +0 -100
  285. package/lang/translations/lv.po +0 -100
  286. package/lang/translations/ms.po +0 -100
  287. package/lang/translations/nb.po +0 -100
  288. package/lang/translations/ne.po +0 -100
  289. package/lang/translations/nl.po +0 -100
  290. package/lang/translations/no.po +0 -100
  291. package/lang/translations/oc.po +0 -100
  292. package/lang/translations/pl.po +0 -100
  293. package/lang/translations/pt-br.po +0 -100
  294. package/lang/translations/pt.po +0 -100
  295. package/lang/translations/ro.po +0 -100
  296. package/lang/translations/ru.po +0 -100
  297. package/lang/translations/si.po +0 -100
  298. package/lang/translations/sk.po +0 -100
  299. package/lang/translations/sl.po +0 -100
  300. package/lang/translations/sq.po +0 -100
  301. package/lang/translations/sr-latn.po +0 -100
  302. package/lang/translations/sr.po +0 -100
  303. package/lang/translations/sv.po +0 -100
  304. package/lang/translations/th.po +0 -100
  305. package/lang/translations/ti.po +0 -100
  306. package/lang/translations/tk.po +0 -100
  307. package/lang/translations/tr.po +0 -100
  308. package/lang/translations/tt.po +0 -100
  309. package/lang/translations/ug.po +0 -100
  310. package/lang/translations/uk.po +0 -100
  311. package/lang/translations/ur.po +0 -100
  312. package/lang/translations/uz.po +0 -100
  313. package/lang/translations/vi.po +0 -100
  314. package/lang/translations/zh-cn.po +0 -100
  315. package/lang/translations/zh.po +0 -100
  316. package/src/augmentation.js +0 -23
  317. package/src/index.js +0 -23
  318. package/src/ui/uploadcarecontroller.js +0 -24
  319. package/src/ui/uploadcareformview.js +0 -23
  320. package/src/uploadcare.js +0 -23
  321. package/src/uploadcarecommand.js +0 -23
  322. package/src/uploadcareconfig.js +0 -23
  323. package/src/uploadcareediting.js +0 -23
  324. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
  325. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
  326. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
  327. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
  328. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
  329. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
  330. package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
  331. package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
  332. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
  333. package/src/uploadcareimageedit.js +0 -23
  334. package/src/uploadcareui.js +0 -23
  335. package/src/uploadcareuploadadapter.js +0 -23
  336. package/src/utils/common-translations.js +0 -23
  337. package/src/utils/dialogfocusmanagerview.js +0 -23
  338. package/src/utils/editingutils.js +0 -23
  339. package/src/utils/isancestor.js +0 -23
  340. package/src/utils/uploadutils.js +0 -23
  341. package/theme/uploadcare-form.css +0 -201
  342. package/theme/uploadcare-theme.css +0 -20
  343. package/theme/uploadcareimageedit.css +0 -64
  344. /package/{src → dist}/augmentation.d.ts +0 -0
  345. /package/{src → dist}/index.d.ts +0 -0
  346. /package/{src → dist}/utils/common-translations.d.ts +0 -0
  347. /package/{src → dist}/utils/editingutils.d.ts +0 -0
  348. /package/{src → dist}/utils/isancestor.d.ts +0 -0
  349. /package/{src → dist}/utils/uploadutils.d.ts +0 -0
@@ -1,100 +0,0 @@
1
- # Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
2
- #
3
- # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
- #
5
- # Check out the official contributor's guide:
6
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
- #
8
- msgid ""
9
- msgstr ""
10
- "Language: zh_TW\n"
11
- "Plural-Forms: nplurals=1; plural=0;\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
-
14
- msgctxt "The label for the insert image with Dropbox dropdown button."
15
- msgid "Insert with Dropbox"
16
- msgstr "使用 Dropbox 插入"
17
-
18
- msgctxt "The label for the replace image with Dropbox dropdown button."
19
- msgid "Replace with Dropbox"
20
- msgstr "使用 Dropbox 替換"
21
-
22
- msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
- msgid "With Dropbox"
24
- msgstr "使用 Dropbox"
25
-
26
- msgctxt "The label for the insert image with Facebook dropdown button."
27
- msgid "Insert with Facebook"
28
- msgstr "使用 Facebook 插入"
29
-
30
- msgctxt "The label for the replace image with Facebook dropdown button."
31
- msgid "Replace with Facebook"
32
- msgstr "插入 Facebook 替換"
33
-
34
- msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
- msgid "With Facebook"
36
- msgstr "使用 Facebook"
37
-
38
- msgctxt "The label for the insert image with Google Drive dropdown button."
39
- msgid "Insert with Google Drive"
40
- msgstr "使用 Google 雲端硬碟插入"
41
-
42
- msgctxt "The label for the replace image with Google Drive dropdown button."
43
- msgid "Replace with Google Drive"
44
- msgstr "使用 Google 雲端硬碟替換"
45
-
46
- msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
- msgid "With Google Drive"
48
- msgstr "使用 Google 雲端硬碟"
49
-
50
- msgctxt "The label for the insert image with Google Photos dropdown button."
51
- msgid "Insert with Google Photos"
52
- msgstr "使用 Google 相簿插入"
53
-
54
- msgctxt "The label for the replace image with Google Photos dropdown button."
55
- msgid "Replace with Google Photos"
56
- msgstr "使用 Google 相簿替換"
57
-
58
- msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
- msgid "With Google Photos"
60
- msgstr "使用 Google 相簿"
61
-
62
- msgctxt "The label for the insert image with OneDrive dropdown button."
63
- msgid "Insert with OneDrive"
64
- msgstr "使用 OneDrive 插入"
65
-
66
- msgctxt "The label for the replace image with OneDrive dropdown button."
67
- msgid "Replace with OneDrive"
68
- msgstr "使用 OneDrive 替換"
69
-
70
- msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
- msgid "With OneDrive"
72
- msgstr "使用 OneDrive"
73
-
74
- msgctxt "The label for the replace image via URL dropdown button."
75
- msgid "Replace via URL"
76
- msgstr "透過 URL 替換"
77
-
78
- msgctxt "The label for the image edit button and dialog."
79
- msgid "Edit Image (Uploadcare)"
80
- msgstr "編輯圖片"
81
-
82
- msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
- msgid "Loading image..."
84
- msgstr "正在載入圖片..."
85
-
86
- msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
- msgid "Unable to load"
88
- msgstr "無法上傳"
89
-
90
- msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
- msgid "We were unable to load the image due to network connection issues."
92
- msgstr "由於網路連線問題,我們無法上傳影像。"
93
-
94
- msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
- msgid "Try again (Uploadcare)"
96
- msgstr "重試"
97
-
98
- msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
- msgid "The image was not found. Its source may have been removed."
100
- msgstr "找不到影像。影像來源可能已移除。"
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export{};
package/src/index.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- (function(_0x33159c,_0x1cfbc2){var _0x17c299=_0x5f1c,_0x45afc6=_0x33159c();while(!![]){try{var _0x127a48=parseInt(_0x17c299(0x124))/0x1*(parseInt(_0x17c299(0x128))/0x2)+-parseInt(_0x17c299(0x125))/0x3+-parseInt(_0x17c299(0x129))/0x4+parseInt(_0x17c299(0x12c))/0x5*(parseInt(_0x17c299(0x12d))/0x6)+parseInt(_0x17c299(0x127))/0x7+parseInt(_0x17c299(0x12b))/0x8+-parseInt(_0x17c299(0x126))/0x9*(parseInt(_0x17c299(0x12a))/0xa);if(_0x127a48===_0x1cfbc2)break;else _0x45afc6['push'](_0x45afc6['shift']());}catch(_0x326af0){_0x45afc6['push'](_0x45afc6['shift']());}}}(_0x5b10,0x9dd0f));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';function _0x5f1c(_0x3bc719,_0x302c2a){var _0x5b10ee=_0x5b10();return _0x5f1c=function(_0x5f1c13,_0x1793ac){_0x5f1c13=_0x5f1c13-0x124;var _0x2ecae8=_0x5b10ee[_0x5f1c13];return _0x2ecae8;},_0x5f1c(_0x3bc719,_0x302c2a);}export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5b10(){var _0x4bbf83=['24126EJnbSv','1VgSHXq','2915769dJVBdg','9jGXWmo','3063942DHWLPl','2495758xsTKTt','3864556pMZanK','5501270DrbhdH','6155760Jyunir','845xawBDR'];_0x5b10=function(){return _0x4bbf83;};return _0x5b10();}export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';export{UploadcareUploadAdapter}from'./uploadcareuploadadapter.js';import'./augmentation.js';
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x2ba1a4=_0x7c48;(function(_0x42189a,_0x12a5af){const _0x510482=_0x7c48,_0x54c593=_0x42189a();while(!![]){try{const _0x214b0a=parseInt(_0x510482(0xf7))/0x1+-parseInt(_0x510482(0x107))/0x2+-parseInt(_0x510482(0x108))/0x3*(parseInt(_0x510482(0x138))/0x4)+-parseInt(_0x510482(0x120))/0x5+-parseInt(_0x510482(0x102))/0x6+-parseInt(_0x510482(0xf8))/0x7+parseInt(_0x510482(0x114))/0x8;if(_0x214b0a===_0x12a5af)break;else _0x54c593['push'](_0x54c593['shift']());}catch(_0x29d6fa){_0x54c593['push'](_0x54c593['shift']());}}}(_0x5244,0xe0741));function _0x7c48(_0x36a818,_0x5455e1){const _0x52446a=_0x5244();return _0x7c48=function(_0x7c48bc,_0x59559b){_0x7c48bc=_0x7c48bc-0xf3;let _0x43033e=_0x52446a[_0x7c48bc];return _0x43033e;},_0x7c48(_0x36a818,_0x5455e1);}import{IconUploadcareImageUpload as _0x35df6f}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x1344e1}from'ckeditor5/src/utils.js';import{Dialog as _0x38145f,DialogViewPosition as _0x33b48e}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x251c70}from'./uploadcareformview.js';import{UploadcareSource as _0x5c7552}from'../uploadcareconfig.js';import{getTranslation as _0x395085}from'../utils/common-translations.js';function _0x5244(){const _0x4564a0=['image','_editing','show','_insertAsset','1629039fcuvQt','60466pUSulz','idle','text','EDITOR_TOP_CENTER','width','getSelectedElement','focus','uploadCare','setCurrentActivity','imageBlock','5310102luMduL','_editor','getAPI','imageInline','document','1052540NzBcNJ','6081KlYcyL','uuid','_insertImage','addEventListener','imageInfo','removeAllFiles','plugins','_initDialog','linkHref','ctxElement','stopDelegating','_type','21170232ircRvr','change','_initListeners','setAttribute','insertImage','doneFlow','_formView','Replace','model','done-click','Insert','hide','8737605oyuuuh','_dialog','stopListening','setSelection','element','removeSelectionAttribute','status','Local','get','isOpen','allEntries','ucContextId','initFlow','_api','editing','detail','length','selection','view','getOutputCollectionState','configElement','getLastPosition','execute','destroy','372WQqwUf','attributes','source-list'];_0x5244=function(){return _0x4564a0;};return _0x5244();}import{getImageUrls as _0x5a9cba,getImageDimension as _0x1925db}from'../utils/editingutils.js';import{isAncestor as _0xe90f30}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x1344e1(){[_0x2ba1a4(0x103)];[_0x2ba1a4(0x121)];[_0x2ba1a4(0xf4)];[_0x2ba1a4(0x12d)];[_0x2ba1a4(0x113)]=null;[_0x2ba1a4(0x11a)]=null;constructor(_0x4d292d,_0x31c4b9,_0x321799){const _0x103b1e=_0x2ba1a4;super(),this[_0x103b1e(0x103)]=_0x4d292d,this[_0x103b1e(0xf4)]=_0x31c4b9,this[_0x103b1e(0x121)]=_0x4d292d[_0x103b1e(0x10e)][_0x103b1e(0x128)](_0x38145f),this[_0x103b1e(0x12d)]=_0x31c4b9[_0x103b1e(0x111)][_0x103b1e(0x104)](),this[_0x103b1e(0x113)]=_0x321799,this[_0x103b1e(0xf4)][_0x103b1e(0x134)][_0x103b1e(0x117)](_0x103b1e(0x13a),this[_0x103b1e(0x113)]),this[_0x103b1e(0x10f)](),this[_0x103b1e(0x116)](),this[_0x103b1e(0x12d)][_0x103b1e(0x12c)]();}[_0x2ba1a4(0x137)](){const _0x5cbedf=_0x2ba1a4;this[_0x5cbedf(0x11a)]&&(this[_0x5cbedf(0x11a)][_0x5cbedf(0x137)](),this[_0x5cbedf(0x11a)]=null),this[_0x5cbedf(0x12d)]&&this[_0x5cbedf(0x12d)][_0x5cbedf(0x119)](),this[_0x5cbedf(0x122)](),this[_0x5cbedf(0x112)]();}[_0x2ba1a4(0x10f)](){const _0x4578eb=_0x2ba1a4,{locale:_0xacf569,model:_0x1f460b}=this[_0x4578eb(0x103)],_0x4c25d0=_0x1f460b[_0x4578eb(0x106)][_0x4578eb(0x131)][_0x4578eb(0xfd)](),_0x27ce8b=_0x4c25d0&&(_0x4c25d0['is'](_0x4578eb(0x124),_0x4578eb(0x101))||_0x4c25d0['is'](_0x4578eb(0x124),_0x4578eb(0x105)));this[_0x4578eb(0x11a)]=new _0x251c70(_0xacf569,this[_0x4578eb(0xf4)][_0x4578eb(0x12b)]),this[_0x4578eb(0x121)][_0x4578eb(0xf5)]({'id':_0x4578eb(0xff),'icon':_0x35df6f,'title':_0x395085(_0xacf569,this[_0x4578eb(0x113)],_0x27ce8b?_0x4578eb(0x11b):_0x4578eb(0x11e))[_0x4578eb(0xfa)],'content':this[_0x4578eb(0x11a)],'position':_0x33b48e[_0x4578eb(0xfb)],'isModal':!0x0,'onShow':()=>{const _0x44cf31=_0x4578eb;this[_0x44cf31(0x11a)][_0x44cf31(0xfe)]();},'onHide':()=>{const _0x5af8cc=_0x4578eb;this[_0x5af8cc(0x12d)][_0x5af8cc(0x10d)](),this[_0x5af8cc(0x103)][_0x5af8cc(0x12e)][_0x5af8cc(0x132)][_0x5af8cc(0xfe)](),this[_0x5af8cc(0x137)]();},'keystrokeHandlerOptions':{'filter':_0x940ae6=>!_0xe90f30(_0x940ae6,this[_0x4578eb(0x11a)][_0x4578eb(0x124)])}});}[_0x2ba1a4(0x116)](){const _0x3372d4=_0x2ba1a4;this[_0x3372d4(0xf4)][_0x3372d4(0x111)][_0x3372d4(0x10b)](_0x3372d4(0x11d),()=>{const _0x1a72ec=_0x3372d4,{allEntries:_0x198e4c}=this[_0x1a72ec(0x12d)][_0x1a72ec(0x133)]();this[_0x1a72ec(0x103)][_0x1a72ec(0x11c)][_0x1a72ec(0x115)](_0x6436f0=>{const _0xc22bc9=_0x1a72ec,_0x2e3d5c=_0x198e4c[_0xc22bc9(0x130)];for(const _0x478f35 of _0x198e4c){const _0x26e869=_0x478f35===_0x198e4c[_0x2e3d5c-0x1],{cdnUrl:_0x306b47,fileInfo:_0x24ea26}=_0x478f35;if(!_0x306b47||!_0x24ea26)continue;const {width:_0x1c9d7e,height:_0x1bcb57}=_0x24ea26[_0xc22bc9(0x10c)],_0x4ae42e=_0x1925db(_0x306b47,_0x1c9d7e,_0x1bcb57),_0xe2d36d=_0x5a9cba(_0x306b47,_0x4ae42e[_0xc22bc9(0xfc)]),_0x46e0c4={'id':_0x24ea26[_0xc22bc9(0x109)],'type':_0xc22bc9(0xf3),'attributes':{'imageDimension':_0x4ae42e,..._0xe2d36d}};this[_0xc22bc9(0xf6)](_0x46e0c4,_0x26e869,_0x6436f0);}}),this[_0x1a72ec(0x121)][_0x1a72ec(0x11f)]();}),this[_0x3372d4(0xf4)][_0x3372d4(0x111)][_0x3372d4(0x10b)](_0x3372d4(0x115),_0x5c4476=>{const _0x20e383=_0x3372d4;_0x20e383(0xf9)===_0x5c4476[_0x20e383(0x12f)][_0x20e383(0x126)]&&!_0x5c4476[_0x20e383(0x12f)][_0x20e383(0x12a)][_0x20e383(0x130)]&&this[_0x20e383(0x121)][_0x20e383(0x129)]&&(this[_0x20e383(0x113)]===_0x5c7552[_0x20e383(0x127)]?this[_0x20e383(0x12d)][_0x20e383(0x100)](_0x5c7552[_0x20e383(0x127)]):this[_0x20e383(0x12d)][_0x20e383(0x12c)]());});}[_0x2ba1a4(0xf6)](_0x5657e1,_0x38d770,_0xb76914){const _0x485ca7=_0x2ba1a4,_0x240d06=this[_0x485ca7(0x103)][_0x485ca7(0x11c)][_0x485ca7(0x106)][_0x485ca7(0x131)],_0x199eb5=_0x240d06[_0x485ca7(0xfd)](),_0x1365ae=!(!_0x199eb5||!_0x199eb5['is'](_0x485ca7(0x124),_0x485ca7(0x105)));_0xb76914[_0x485ca7(0x125)](_0x485ca7(0x110)),this[_0x485ca7(0x10a)](_0x5657e1,_0x1365ae),_0x38d770||_0xb76914[_0x485ca7(0x123)](_0x240d06[_0x485ca7(0x135)]());}[_0x2ba1a4(0x10a)](_0x417869,_0x5be57b){const _0x3fce2d=_0x2ba1a4,_0x7c3551=this[_0x3fce2d(0x103)],{imageDimension:_0x218ecf,imageFallbackUrl:_0x27d7cd,imageSources:_0x4415f7}=_0x417869[_0x3fce2d(0x139)];_0x7c3551[_0x3fce2d(0x136)](_0x3fce2d(0x118),{'imageType':_0x5be57b?_0x3fce2d(0x105):null,'source':{'uploadcareImageId':_0x417869['id'],'src':_0x27d7cd,'sources':_0x4415f7,..._0x218ecf}});}}
@@ -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 _0x10cf(_0x3d1301,_0xed78ff){var _0x3868ef=_0x3868();return _0x10cf=function(_0x10cf19,_0x12df08){_0x10cf19=_0x10cf19-0x1f2;var _0x3885cf=_0x3868ef[_0x10cf19];return _0x3885cf;},_0x10cf(_0x3d1301,_0xed78ff);}var _0x1282c6=_0x10cf;function _0x3868(){var _0x53cd8d=['8645ebopzp','176794WoDthO','304785jXhQAi','div','element','25335AybbCJ','444YXLVdH','112pEzXyW','ck-uploadcare-theme','2508872AVGjRF','ck-reset_all-excluded','focus','getFocusableElement','60DpCSmr','uc-light','223517HEjPqC','ck-uploadcare-form','uc-file-uploader-inline','uploader-','setTemplate','1127910thuiip'];_0x3868=function(){return _0x53cd8d;};return _0x3868();}(function(_0x11275c,_0xe47db9){var _0x4f4a24=_0x10cf,_0x364f68=_0x11275c();while(!![]){try{var _0x4adf0f=-parseInt(_0x4f4a24(0x201))/0x1+parseInt(_0x4f4a24(0x1f3))/0x2+parseInt(_0x4f4a24(0x1f7))/0x3*(-parseInt(_0x4f4a24(0x1f9))/0x4)+-parseInt(_0x4f4a24(0x1f2))/0x5*(parseInt(_0x4f4a24(0x1f8))/0x6)+parseInt(_0x4f4a24(0x206))/0x7+parseInt(_0x4f4a24(0x1fb))/0x8+parseInt(_0x4f4a24(0x1f4))/0x9*(parseInt(_0x4f4a24(0x1ff))/0xa);if(_0x4adf0f===_0xe47db9)break;else _0x364f68['push'](_0x364f68['shift']());}catch(_0x5989c1){_0x364f68['push'](_0x364f68['shift']());}}}(_0x3868,0x2b8e3));import{DialogFocusManagerView as _0x187887}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x187887{constructor(_0xb1d238,_0x2bfd01){var _0x336ee1=_0x10cf;super(_0xb1d238),this[_0x336ee1(0x205)]({'tag':_0x336ee1(0x1f5),'attributes':{'class':['ck',_0x336ee1(0x1fc),_0x336ee1(0x202)],'tabindex':'-1'},'children':[{'tag':_0x336ee1(0x203),'attributes':{'class':[_0x336ee1(0x200),_0x336ee1(0x1fa)],'ctx-name':_0x336ee1(0x204)+_0x2bfd01}},this[_0x336ee1(0x1fe)]()]});}[_0x1282c6(0x1fd)](){var _0x265901=_0x1282c6;this[_0x265901(0x1f6)][_0x265901(0x1fd)]();}}
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 _0xfa889=_0x1dbf;(function(_0x11f055,_0x49982f){const _0x2cf049=_0x1dbf,_0x23c05c=_0x11f055();while(!![]){try{const _0x755028=parseInt(_0x2cf049(0xa7))/0x1*(-parseInt(_0x2cf049(0x91))/0x2)+-parseInt(_0x2cf049(0xa2))/0x3+parseInt(_0x2cf049(0xa4))/0x4+-parseInt(_0x2cf049(0x9a))/0x5*(parseInt(_0x2cf049(0xa3))/0x6)+-parseInt(_0x2cf049(0x9f))/0x7*(-parseInt(_0x2cf049(0x9b))/0x8)+parseInt(_0x2cf049(0x9c))/0x9+parseInt(_0x2cf049(0x9e))/0xa;if(_0x755028===_0x49982f)break;else _0x23c05c['push'](_0x23c05c['shift']());}catch(_0x1a21a5){_0x23c05c['push'](_0x23c05c['shift']());}}}(_0x13f5,0x4d1af));import{Plugin as _0x1d0528}from'ckeditor5/src/core.js';import{UploadcareUI as _0x116c86}from'./uploadcareui.js';import{UploadcareEditing as _0x1a2b59}from'./uploadcareediting.js';function _0x1dbf(_0x6ce3b1,_0x10085a){const _0x13f52d=_0x13f5();return _0x1dbf=function(_0x1dbf02,_0x4c292d){_0x1dbf02=_0x1dbf02-0x8d;let _0x331183=_0x13f52d[_0x1dbf02];return _0x331183;},_0x1dbf(_0x6ce3b1,_0x10085a);}import{UploadcareSource as _0x941425}from'./uploadcareconfig.js';function _0x13f5(){const _0x3f6d38=['locale','isPremiumPlugin','969224zsqJNu','uploadcare.locale','editor','get','requires','contentLanguage','_defineLocale','defineLocale','define','5ucamcA','447064jJhOaa','1994004TPFPmP','URL','8842840cCyhKi','42bjzdgq','defineComponents','isOfficialPlugin','1745586JHofIv','3006702kNPjLF','1769104NUmNwu','pluginName','config','1AsYDOt','uploadcare.uploader.sourceList','Local','Uploadcare'];_0x13f5=function(){return _0x3f6d38;};return _0x13f5();}import*as _0x4020de from'@uploadcare/file-uploader';export class Uploadcare extends _0x1d0528{static get[_0xfa889(0x95)](){return[_0x1a2b59,_0x116c86];}static get[_0xfa889(0xa5)](){const _0x5e7e88=_0xfa889;return _0x5e7e88(0x8e);}static get[_0xfa889(0xa1)](){return!0x0;}static get[_0xfa889(0x90)](){return!0x0;}constructor(_0x3098b3){const _0x108d68=_0xfa889;super(_0x3098b3),_0x3098b3[_0x108d68(0xa6)][_0x108d68(0x99)](_0x108d68(0xa8),[_0x941425[_0x108d68(0x8d)],_0x941425[_0x108d68(0x9d)]]),_0x4020de[_0x108d68(0xa0)](_0x4020de),this[_0x108d68(0x97)]();}[_0xfa889(0x97)](){const _0x1a85e3=_0xfa889,_0x369d2e=this[_0x1a85e3(0x93)][_0x1a85e3(0xa6)][_0x1a85e3(0x94)](_0x1a85e3(0x92)),_0x350dc7=this[_0x1a85e3(0x93)][_0x1a85e3(0x8f)][_0x1a85e3(0x96)];_0x369d2e&&_0x4020de[_0x1a85e3(0x98)](_0x350dc7,_0x369d2e);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x173425=_0x13e0;(function(_0x55d5b2,_0x18bb66){var _0x45c11c=_0x13e0,_0x519a7d=_0x55d5b2();while(!![]){try{var _0xd1295b=-parseInt(_0x45c11c(0x174))/0x1*(parseInt(_0x45c11c(0x17c))/0x2)+parseInt(_0x45c11c(0x16b))/0x3+parseInt(_0x45c11c(0x171))/0x4+-parseInt(_0x45c11c(0x173))/0x5+parseInt(_0x45c11c(0x17d))/0x6*(-parseInt(_0x45c11c(0x180))/0x7)+parseInt(_0x45c11c(0x175))/0x8*(-parseInt(_0x45c11c(0x16e))/0x9)+parseInt(_0x45c11c(0x179))/0xa;if(_0xd1295b===_0x18bb66)break;else _0x519a7d['push'](_0x519a7d['shift']());}catch(_0x54faec){_0x519a7d['push'](_0x519a7d['shift']());}}}(_0x43c4,0x8d6a9));function _0x43c4(){var _0x4dc342=['5498244KNNVBh','_checkEnabled','commands','7XwmpMN','insertImage','3099720KWPKmW','refresh','requires','8573292romrtQ','_controller','destroy','445748CwVsjA','_editing','5294955RfjaRB','575uCXzGb','8vcVMRv','get','isEnabled','editor','25942420jCRxZF','plugins','execute','806FbbDsO'];_0x43c4=function(){return _0x4dc342;};return _0x43c4();}function _0x13e0(_0x3f4206,_0x44614f){var _0x43c4ce=_0x43c4();return _0x13e0=function(_0x13e02c,_0x4c3d23){_0x13e02c=_0x13e02c-0x16a;var _0x483195=_0x43c4ce[_0x13e02c];return _0x483195;},_0x13e0(_0x3f4206,_0x44614f);}import{Command as _0x9d878a}from'ckeditor5/src/core.js';import{Dialog as _0x2d6cca}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x3d74af}from'./uploadcareediting.js';import{UploadcareController as _0x1c5f51}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x9d878a{[_0x173425(0x172)];[_0x173425(0x16f)]=null;static get[_0x173425(0x16d)](){return[_0x2d6cca,_0x3d74af];}constructor(_0x453b6b){var _0x1feffc=_0x173425;super(_0x453b6b),this[_0x1feffc(0x172)]=_0x453b6b[_0x1feffc(0x17a)][_0x1feffc(0x176)](_0x3d74af);}[_0x173425(0x16c)](){var _0x464f20=_0x173425;this[_0x464f20(0x177)]=this[_0x464f20(0x17e)]();}[_0x173425(0x17b)](_0xa382ee){var _0x2b5e4a=_0x173425;this[_0x2b5e4a(0x16f)]&&(this[_0x2b5e4a(0x16f)][_0x2b5e4a(0x170)](),this[_0x2b5e4a(0x16f)]=null),this[_0x2b5e4a(0x16f)]=new _0x1c5f51(this[_0x2b5e4a(0x178)],this[_0x2b5e4a(0x172)],_0xa382ee);}[_0x173425(0x17e)](){var _0x50be9e=_0x173425;return this[_0x50be9e(0x178)][_0x50be9e(0x17f)][_0x50be9e(0x176)](_0x50be9e(0x16a))[_0x50be9e(0x177)];}}
@@ -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 _0x564f(){var _0x11dd70=['3413035jTFgoZ','facebook','24hbUfXe','13838JxHjMq','GDrive','dropbox','944CZsQIR','Local','73917SDINzc','249592nOnyKp','205222FFrAOJ','url','gphotos','Facebook','7390mlfMAP','349984ipGrwd','OneDrive','local','180PkPJqv','Dropbox','onedrive','gdrive','URL','13KZWEGF','17660724YQIlyl','GPhotos'];_0x564f=function(){return _0x11dd70;};return _0x564f();}(function(_0x12893f,_0x4fe89e){var _0x35d7e5=_0x13da,_0xf23c8d=_0x12893f();while(!![]){try{var _0xab56fb=-parseInt(_0x35d7e5(0x102))/0x1*(-parseInt(_0x35d7e5(0x10f))/0x2)+-parseInt(_0x35d7e5(0x107))/0x3*(-parseInt(_0x35d7e5(0xfa))/0x4)+-parseInt(_0x35d7e5(0x105))/0x5+parseInt(_0x35d7e5(0xfd))/0x6*(-parseInt(_0x35d7e5(0x10e))/0x7)+parseInt(_0x35d7e5(0x10b))/0x8*(parseInt(_0x35d7e5(0x10d))/0x9)+parseInt(_0x35d7e5(0xf9))/0xa*(parseInt(_0x35d7e5(0x108))/0xb)+-parseInt(_0x35d7e5(0x103))/0xc;if(_0xab56fb===_0x4fe89e)break;else _0xf23c8d['push'](_0xf23c8d['shift']());}catch(_0x4991b9){_0xf23c8d['push'](_0xf23c8d['shift']());}}}(_0x564f,0xad055));function _0x13da(_0x26b393,_0x1551d7){var _0x564fa4=_0x564f();return _0x13da=function(_0x13da28,_0x736717){_0x13da28=_0x13da28-0xf6;var _0x1eed59=_0x564fa4[_0x13da28];return _0x1eed59;},_0x13da(_0x26b393,_0x1551d7);}export var UploadcareSource;!function(_0x2cd6f7){var _0xd7ad13=_0x13da;_0x2cd6f7[_0xd7ad13(0x10c)]=_0xd7ad13(0xfc),_0x2cd6f7[_0xd7ad13(0x101)]=_0xd7ad13(0xf6),_0x2cd6f7[_0xd7ad13(0xfe)]=_0xd7ad13(0x10a),_0x2cd6f7[_0xd7ad13(0x109)]=_0xd7ad13(0x100),_0x2cd6f7[_0xd7ad13(0xf8)]=_0xd7ad13(0x106),_0x2cd6f7[_0xd7ad13(0x104)]=_0xd7ad13(0xf7),_0x2cd6f7[_0xd7ad13(0xfb)]=_0xd7ad13(0xff);}(UploadcareSource||(UploadcareSource={}));
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x32e166=_0x1d02;(function(_0xc191ec,_0x2b4e50){const _0xe002d=_0x1d02,_0x3e4642=_0xc191ec();while(!![]){try{const _0x2f0ea4=parseInt(_0xe002d(0x17a))/0x1+-parseInt(_0xe002d(0x1b2))/0x2+parseInt(_0xe002d(0x197))/0x3*(-parseInt(_0xe002d(0x192))/0x4)+-parseInt(_0xe002d(0x17f))/0x5+-parseInt(_0xe002d(0x17e))/0x6+parseInt(_0xe002d(0x1b3))/0x7*(-parseInt(_0xe002d(0x1a4))/0x8)+parseInt(_0xe002d(0x191))/0x9;if(_0x2f0ea4===_0x2b4e50)break;else _0x3e4642['push'](_0x3e4642['shift']());}catch(_0x215377){_0x3e4642['push'](_0x3e4642['shift']());}}}(_0x335a,0x95636));import{Plugin as _0x22474b}from'ckeditor5/src/core.js';import{Dialog as _0x44e4be}from'ckeditor5/src/ui.js';import{createElement as _0x23cd8a,global as _0x5b4106,uid as _0x569072}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2b442c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5d08c1}from'./uploadcareuploadadapter.js';function _0x1d02(_0x210996,_0x321366){const _0x335a7c=_0x335a();return _0x1d02=function(_0x1d02c8,_0x41aea1){_0x1d02c8=_0x1d02c8-0x170;let _0x20578e=_0x335a7c[_0x1d02c8];return _0x20578e;},_0x1d02(_0x210996,_0x321366);}function _0x335a(){const _0x40ecd1=['uploader-','appendChild','input[uploadcare-file-input]','render','true','UploadcareEditing','removeAttribute','requires','data-uc-image-id','remove','PictureEditing','extend','2383674kxuCdQ','3911943EXrGlA','imageBlock','init','uploadcareImageId','schema','uploadcare.pubkey','editing','_ctxElement','_initSchema','elementToAttribute','isOfficialPlugin','execute','closeMax','view','editor','once','querySelector','attributeToAttribute','selection','afterInit','getSelectedElement','locale','iconHrefResolver','contentLanguage','uc-config','href','cleanupImage','981561BJuKRN','_initConfig','for','ctxElement','4481232ILscTJ','263685dSgMnx','uploadcare.uploader','isRegistered','uploadcare','\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','upcast','conversion','ucContextId','add','fromCharCode','document','body','map','isPremiumPlugin','get','listenTo','config','getAttribute','28800180bjTWpl','4kaEbOi','model','destroy','imageInline','join','1381629kvxMmK','#uc-icon-arrow-down','replaceImageSource','downcast','insertImage','pluginName','_initConversion','uc-upload-ctx-provider','_initCtx','configElement','_initImageProcessingIndicator','uploadcareImageReplace','_configElement','16ZxTxjR','commands'];_0x335a=function(){return _0x40ecd1;};return _0x335a();}import{showImageProcessingIndicator as _0x44b41c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x22474b{[_0x32e166(0x1a3)]=null;[_0x32e166(0x1ba)]=null;static get[_0x32e166(0x19c)](){const _0x1c4225=_0x32e166;return _0x1c4225(0x1ab);}static get[_0x32e166(0x1ad)](){const _0x32bc72=_0x32e166;return[_0x32bc72(0x1b0),_0x5d08c1,_0x44e4be];}static get[_0x32e166(0x1bd)](){return!0x0;}static get[_0x32e166(0x18c)](){return!0x0;}[_0x32e166(0x186)];get[_0x32e166(0x1a0)](){const _0x375194=_0x32e166;return this[_0x375194(0x1a3)];}get[_0x32e166(0x17d)](){const _0x505601=_0x32e166;return this[_0x505601(0x1ba)];}constructor(_0x1e1729){const _0xadb67e=_0x32e166;super(_0x1e1729),this[_0xadb67e(0x186)]=_0x569072();}[_0x32e166(0x1b5)](){const _0x2c8325=_0x32e166,_0x1aef78=this[_0x2c8325(0x1c1)];_0x1aef78[_0x2c8325(0x1a5)][_0x2c8325(0x187)](_0x2c8325(0x182),new _0x2b442c(_0x1aef78));}[_0x32e166(0x172)](){const _0xdde9ca=_0x32e166;this[_0xdde9ca(0x1bb)](),this[_0xdde9ca(0x19d)](),this[_0xdde9ca(0x17b)](),this[_0xdde9ca(0x19f)](),this[_0xdde9ca(0x1a1)](),this[_0xdde9ca(0x18e)](this[_0xdde9ca(0x1c1)],_0xdde9ca(0x194),()=>{const _0x4d5269=_0xdde9ca;this[_0x4d5269(0x1a3)]&&(this[_0x4d5269(0x1a3)][_0x4d5269(0x1af)](),this[_0x4d5269(0x1a3)]=null),this[_0x4d5269(0x1ba)]&&(this[_0x4d5269(0x1ba)][_0x4d5269(0x1af)](),this[_0x4d5269(0x1ba)]=null);const _0x541ff2=_0x5b4106[_0x4d5269(0x189)][_0x4d5269(0x1c3)](_0x4d5269(0x1a8));_0x541ff2&&_0x541ff2[_0x4d5269(0x1af)]();}),async function(_0x3fb4aa){const _0x1dabf6=_0x4870c1([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]),_0x4c1dbe=0x535f8c3a,_0x12bef3=0x5358f3ea^_0x4c1dbe,_0xde2bb1=window[_0x4870c1([0x44,0x61,0x74,0x65])][_0x4870c1([0x6e,0x6f,0x77])](),_0x3aeb86=_0x3fb4aa[_0x4870c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb75640=new window[(_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28fdaa=>{_0x3aeb86[_0x4870c1([0x6f,0x6e,0x63,0x65])](_0x4870c1([0x72,0x65,0x61,0x64,0x79]),_0x28fdaa);}),_0x426ccb={[_0x4870c1([0x6b,0x74,0x79])]:_0x4870c1([0x45,0x43]),[_0x4870c1([0x75,0x73,0x65])]:_0x4870c1([0x73,0x69,0x67]),[_0x4870c1([0x63,0x72,0x76])]:_0x4870c1([0x50,0x2d,0x32,0x35,0x36]),[_0x4870c1([0x78])]:_0x4870c1([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]),[_0x4870c1([0x79])]:_0x4870c1([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]),[_0x4870c1([0x61,0x6c,0x67])]:_0x4870c1([0x45,0x53,0x32,0x35,0x36])},_0x1ec2d1=_0x3aeb86[_0x4870c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4870c1([0x67,0x65,0x74])](_0x4870c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x585bc0(){let _0x14cd5b,_0x15af2a=null,_0x213186=null;try{if(_0x1ec2d1==_0x4870c1([0x47,0x50,0x4c]))return _0x4870c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14cd5b=_0x3bcad6(),!_0x14cd5b)return _0x4870c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14cd5b[_0x4870c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x213186=_0x331fdb(_0x14cd5b[_0x4870c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14cd5b[_0x4870c1([0x6a,0x74,0x69])])),await _0x437add()?_0x210005()?_0x155ca7()?_0x4870c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x184cea()?(_0x14cd5b[_0x4870c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4870c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15af2a=_0x4788a1(_0x4870c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2be13f()):_0x4870c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4870c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4870c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4870c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x155ca7(){const _0x305a20=[_0x4870c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4870c1([0x74,0x72,0x69,0x61,0x6c])][_0x4870c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cd5b[_0x4870c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xde2bb1/0x3e8:0xe10*_0x12bef3;return _0x14cd5b[_0x4870c1([0x65,0x78,0x70])]<_0x305a20;}function _0x210005(){const _0x1a5370=_0x14cd5b[_0x4870c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a5370&&(!!_0x1a5370[_0x4870c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4870c1([0x2a]))||!!_0x1a5370[_0x4870c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4870c1([0x55,0x50,0x4c,0x43])));}function _0x184cea(){const _0x7ee2f9=_0x1d02,_0x428ed8=_0x14cd5b[_0x4870c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x428ed8||0x0==_0x428ed8[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x12915d}=new URL(window[_0x4870c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x7ee2f9(0x178)]);if(_0x428ed8[_0x4870c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12915d))return!0x0;const _0x29dd78=_0x12915d[_0x4870c1([0x73,0x70,0x6c,0x69,0x74])](_0x4870c1([0x2e]));return _0x428ed8[_0x4870c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1025a3=>_0x1025a3[_0x4870c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4870c1([0x2a])))[_0x4870c1([0x6d,0x61,0x70])](_0x314e9f=>_0x314e9f[_0x4870c1([0x73,0x70,0x6c,0x69,0x74])](_0x4870c1([0x2e])))[_0x4870c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fbe1a=>_0x2fbe1a[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29dd78[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4870c1([0x6d,0x61,0x70])](_0x31463d=>Array(_0x29dd78[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31463d[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4870c1([0x66,0x69,0x6c,0x6c])](_0x31463d[0x0]===_0x4870c1([0x2a])?_0x4870c1([0x2a]):'')[_0x4870c1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31463d))[_0x4870c1([0x73,0x6f,0x6d,0x65])](_0x383a71=>_0x29dd78[_0x4870c1([0x65,0x76,0x65,0x72,0x79])]((_0x49431c,_0x593f5c)=>_0x383a71[_0x593f5c]===_0x49431c||_0x383a71[_0x593f5c]===_0x4870c1([0x2a])));}function _0x2be13f(){return _0x15af2a&&_0x213186?new window[(_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53c76b,_0x31c2aa)=>{_0x15af2a[_0x4870c1([0x74,0x68,0x65,0x6e])](_0x53c76b,_0x31c2aa),_0x213186[_0x4870c1([0x74,0x68,0x65,0x6e])](_0x1ef834=>{_0x1ef834!=_0x4870c1([0x56,0x61,0x6c,0x69,0x64])&&_0x53c76b(_0x1ef834);},_0x31c2aa);}):_0x15af2a||_0x213186||_0x4870c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x331fdb(_0xe68ac3,_0x2adca2){return new window[(_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aeda3=>{if(_0x92fa9b())return _0x4aeda3(_0x4870c1([0x56,0x61,0x6c,0x69,0x64]));_0x2d1efd(),_0x3aeb86[_0x4870c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4870c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b4767=!0x1;const _0x15200a=_0x569072();function _0x18e592(_0x562c1e){return!!_0x562c1e&&(typeof _0x562c1e===_0x4870c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x562c1e===_0x4870c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x562c1e[_0x4870c1([0x74,0x68,0x65,0x6e])]===_0x4870c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x562c1e[_0x4870c1([0x63,0x61,0x74,0x63,0x68])]===_0x4870c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4100ab(_0x5f45d4){_0x25306b(_0x5f45d4)[_0x4870c1([0x74,0x68,0x65,0x6e])](_0x1c26b1=>{if(!_0x1c26b1||_0x1c26b1[_0x4870c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4870c1([0x6f,0x6b]))return _0x4870c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x437eb7(_0x40695d(_0x15200a+_0x2adca2))!=_0x1c26b1[_0x4870c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4870c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4870c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x4870c1([0x74,0x68,0x65,0x6e])](_0x158d1a=>(_0x54d16d(),_0x158d1a),()=>{const _0x52d3ee=_0x2f8bbc();return null==_0x52d3ee?(_0x54d16d(),_0x4870c1([0x56,0x61,0x6c,0x69,0x64])):_0x4870c1(_0xde2bb1-_0x52d3ee>(0x7753083a^_0x4c1dbe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4870c1([0x74,0x68,0x65,0x6e])](_0x4aeda3)[_0x4870c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4aeda3(_0x4870c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x94a022=0x536962ba^_0x4c1dbe;function _0x54d16d(){const _0x33018b=_0x4870c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x437eb7(_0x40695d(_0xe68ac3)),_0x1ad2fe=_0x56e4e9(_0x437eb7(window[_0x4870c1([0x4d,0x61,0x74,0x68])][_0x4870c1([0x63,0x65,0x69,0x6c])](_0xde2bb1/_0x94a022)));window[_0x4870c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4870c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33018b,_0x1ad2fe);}function _0x2f8bbc(){const _0x3acc46=_0x4870c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x437eb7(_0x40695d(_0xe68ac3)),_0x545661=window[_0x4870c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4870c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3acc46);return _0x545661?window[_0x4870c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56e4e9(_0x545661),0x10)*_0x94a022:null;}function _0x25306b(_0x228749){return new window[(_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x113f59,_0x5eef4a)=>{_0x228749[_0x4870c1([0x74,0x68,0x65,0x6e])](_0x113f59,_0x5eef4a),window[_0x4870c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5eef4a,0x535e58fa^_0x4c1dbe);});}}_0x3aeb86[_0x4870c1([0x6f,0x6e])](_0x4870c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bdf84,_0x5972c8)=>{if(_0x5972c8[0x0]!=_0xe68ac3)return _0x4aeda3(_0x4870c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5972c8[0x1]={..._0x5972c8[0x1],[_0x4870c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15200a};},{[_0x4870c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4870c1([0x68,0x69,0x67,0x68])}),_0x3aeb86[_0x4870c1([0x6f,0x6e])](_0x4870c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b4002=>{_0x18e592(_0x4b4002[_0x4870c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b4767=!0x0,_0x4100ab(_0x4b4002[_0x4870c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4870c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4870c1([0x6c,0x6f,0x77])}),_0xb75640[_0x4870c1([0x74,0x68,0x65,0x6e])](()=>{_0x1b4767||_0x4aeda3(_0x4870c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x92fa9b(){return _0x3aeb86[_0x4870c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4870c1([0x76,0x69,0x65,0x77])][_0x4870c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4870c1([0x61,0x75,0x74,0x6f]);}function _0x2d1efd(){_0x3aeb86[_0x4870c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4870c1([0x76,0x69,0x65,0x77])][_0x4870c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4870c1([0x61,0x75,0x74,0x6f]);}}function _0x4788a1(_0x41722d){const _0x2c6423=[new window[(_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4739c7=>setTimeout(_0x4739c7,0x5356b2f6^_0x4c1dbe)),_0xb75640[_0x4870c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c97e4=>{let _0x594b8d=0x0;_0x3aeb86[_0x4870c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4870c1([0x6f,0x6e])](_0x4870c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28e891,_0xcbc935)=>{_0xcbc935[0x0][_0x4870c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x594b8d++,_0x594b8d==(0x535f89d2^_0x4c1dbe)&&(_0x5c97e4(),_0x28e891[_0x4870c1([0x6f,0x66,0x66])]());});}))];return window[_0x4870c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4870c1([0x72,0x61,0x63,0x65])](_0x2c6423)[_0x4870c1([0x74,0x68,0x65,0x6e])](()=>_0x41722d);}async function _0x23baf7(){await _0xb75640,_0x3aeb86[_0x4870c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4870c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c0be3,_0x3aeb86[_0x4870c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4870c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c0be3,_0x3aeb86[_0x4870c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4870c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b56ab(_0x1bff66){const _0x3d786d=_0x36553f();_0x3aeb86[_0x3d786d]=_0x4870c1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bff66,_0x1bff66!=_0x4870c1([0x56,0x61,0x6c,0x69,0x64])&&_0x23baf7();}function _0x36553f(){const _0x3cb0cc=window[_0x4870c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4870c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4870c1([0x6e,0x6f,0x77])]())[_0x4870c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4870c1([0x2e]),'');let _0x1e6665=_0x4870c1([0x68]);for(let _0x54910b=0x0;_0x54910b<_0x3cb0cc[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54910b+=0x2){let _0x4449ab=window[_0x4870c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cb0cc[_0x4870c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54910b,_0x54910b+0x2));_0x4449ab>=_0x1dabf6[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4449ab-=_0x1dabf6[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e6665+=_0x1dabf6[_0x4449ab];}return _0x1e6665;}function _0x3bcad6(){const _0x392cc6=_0x1ec2d1[_0x4870c1([0x73,0x70,0x6c,0x69,0x74])](_0x4870c1([0x2e]));if(0x3!=_0x392cc6[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3cae1b(_0x392cc6[0x1]);function _0x3cae1b(_0x338ae3){const _0xc5f653=_0x2f72f4(_0x338ae3);return _0xc5f653&&_0x11ca0c()?_0xc5f653:null;function _0x11ca0c(){const _0x2bbe63=_0xc5f653[_0x4870c1([0x6a,0x74,0x69])],_0x41ece5=window[_0x4870c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bbe63[_0x4870c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bbe63[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a2805={..._0xc5f653,[_0x4870c1([0x6a,0x74,0x69])]:_0x2bbe63[_0x4870c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bbe63[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a2805[_0x4870c1([0x76,0x63])],_0x40695d(_0x4a2805)==_0x41ece5;}}}async function _0x437add(){let _0x4de6cb=!0x0;try{const _0x1ac055=_0x1ec2d1[_0x4870c1([0x73,0x70,0x6c,0x69,0x74])](_0x4870c1([0x2e])),[_0x316817,_0x31ac2b,_0x261113]=_0x1ac055;return _0x4f105a(_0x316817),await _0x1e4090(_0x316817,_0x31ac2b,_0x261113),_0x4de6cb;}catch{return!0x1;}function _0x4f105a(_0x5c86cb){const _0x2c6c42=_0x2f72f4(_0x5c86cb);_0x2c6c42&&_0x2c6c42[_0x4870c1([0x61,0x6c,0x67])]==_0x4870c1([0x45,0x53,0x32,0x35,0x36])||(_0x4de6cb=!0x1);}async function _0x1e4090(_0x330eac,_0x29ead6,_0x575d26){const _0x3878b5=window[_0x4870c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4870c1([0x66,0x72,0x6f,0x6d])](_0x33bbda(_0x575d26),_0x26f715=>_0x26f715[_0x4870c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3044e2=new window[(_0x4870c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4870c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x330eac+_0x4870c1([0x2e])+_0x29ead6),_0x1ea1d9=window[_0x4870c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4870c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ea1d9)return;const _0x3beb15=await _0x1ea1d9[_0x4870c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4870c1([0x6a,0x77,0x6b]),_0x426ccb,{[_0x4870c1([0x6e,0x61,0x6d,0x65])]:_0x4870c1([0x45,0x43,0x44,0x53,0x41]),[_0x4870c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4870c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4870c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ea1d9[_0x4870c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4870c1([0x6e,0x61,0x6d,0x65])]:_0x4870c1([0x45,0x43,0x44,0x53,0x41]),[_0x4870c1([0x68,0x61,0x73,0x68])]:{[_0x4870c1([0x6e,0x61,0x6d,0x65])]:_0x4870c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3beb15,_0x3878b5,_0x3044e2)||(_0x4de6cb=!0x1);}}function _0x2f72f4(_0x717de4){return _0x717de4[_0x4870c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4870c1([0x65,0x79]))?JSON[_0x4870c1([0x70,0x61,0x72,0x73,0x65])](_0x33bbda(_0x717de4)):null;}function _0x33bbda(_0x43b8b5){return window[_0x4870c1([0x61,0x74,0x6f,0x62])](_0x43b8b5[_0x4870c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4870c1([0x2b]))[_0x4870c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4870c1([0x2f])));}function _0x40695d(_0x3e5f7b){let _0x1dec12=0x1505;function _0x121dc8(_0x172a29){for(let _0x43f51f=0x0;_0x43f51f<_0x172a29[_0x4870c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f51f++){const _0x312ded=_0x172a29[_0x4870c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43f51f);_0x1dec12=(_0x1dec12<<0x5)+_0x1dec12+_0x312ded,_0x1dec12&=_0x1dec12;}}function _0x5bb058(_0x2b57c9){Array[_0x4870c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b57c9)?_0x2b57c9[_0x4870c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bb058):_0x2b57c9&&typeof _0x2b57c9==_0x4870c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4870c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b57c9)[_0x4870c1([0x73,0x6f,0x72,0x74])]()[_0x4870c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x145443,_0x167a6d])=>{_0x121dc8(_0x145443),_0x5bb058(_0x167a6d);}):_0x121dc8(window[_0x4870c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b57c9));}return _0x5bb058(_0x3e5f7b),_0x1dec12>>>0x0;}function _0x437eb7(_0x20a405){return _0x20a405[_0x4870c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4870c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4870c1([0x30]));}function _0x56e4e9(_0x5da8c7){return _0x5da8c7[_0x4870c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4870c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4870c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c0be3(){}function _0x4870c1(_0x209c3d){const _0x4e7efd=_0x1d02;return _0x209c3d[_0x4e7efd(0x18b)](_0x4a0e37=>String[_0x4e7efd(0x188)](_0x4a0e37))[_0x4e7efd(0x196)]('');}_0x3b56ab(await _0x585bc0());}(this);}[_0x32e166(0x1bb)](){const _0x55bf70=_0x32e166,_0x917e00=this[_0x55bf70(0x1c1)][_0x55bf70(0x193)][_0x55bf70(0x1b7)];_0x917e00[_0x55bf70(0x181)](_0x55bf70(0x1b4))&&_0x917e00[_0x55bf70(0x1b1)](_0x55bf70(0x1b4),{'allowAttributes':[_0x55bf70(0x1b6)]}),_0x917e00[_0x55bf70(0x181)](_0x55bf70(0x195))&&_0x917e00[_0x55bf70(0x1b1)](_0x55bf70(0x195),{'allowAttributes':[_0x55bf70(0x1b6)]});}[_0x32e166(0x19d)](){const _0x1ab0ef=_0x32e166,_0x1f1f85=this[_0x1ab0ef(0x1c1)];_0x1f1f85[_0x1ab0ef(0x185)][_0x1ab0ef(0x17c)](_0x1ab0ef(0x19a))[_0x1ab0ef(0x170)]({'model':_0x1ab0ef(0x1b6),'view':_0x1ab0ef(0x1ae)}),_0x1f1f85[_0x1ab0ef(0x185)][_0x1ab0ef(0x17c)](_0x1ab0ef(0x184))[_0x1ab0ef(0x1bc)]({'model':{'key':_0x1ab0ef(0x1b6),'value':_0xf110fb=>_0xf110fb[_0x1ab0ef(0x190)](_0x1ab0ef(0x1ae))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xddeef=_0x1f1f85[_0x1ab0ef(0x1a5)][_0x1ab0ef(0x18d)](_0x1ab0ef(0x199));_0xddeef&&this[_0x1ab0ef(0x18e)](_0xddeef,_0x1ab0ef(0x179),(_0x272199,[_0x446d18,_0x22c073])=>{const _0x1b9457=_0x1ab0ef;_0x446d18[_0x1b9457(0x1ac)](_0x1b9457(0x1b6),_0x22c073);});}[_0x32e166(0x17b)](){const _0x386136=_0x32e166,_0x20bc49=this[_0x386136(0x1c1)][_0x386136(0x18f)][_0x386136(0x18d)](_0x386136(0x180))||{},_0x59c3b5=this[_0x386136(0x1c1)][_0x386136(0x18f)][_0x386136(0x18d)](_0x386136(0x1b8))||'';this[_0x386136(0x1a3)]=_0x23cd8a(_0x5b4106[_0x386136(0x189)],_0x386136(0x177),{..._0x20bc49,'pubkey':_0x59c3b5,'ctx-name':_0x386136(0x1a6)+this[_0x386136(0x186)],'sourceList':'','imgOnly':_0x386136(0x1aa),'removeCopyright':_0x386136(0x1aa),'localeName':this[_0x386136(0x1c1)][_0x386136(0x174)][_0x386136(0x176)],'externalSourcesEmbedCss':_0x386136(0x183)}),this[_0x386136(0x1a3)][_0x386136(0x175)]=_0x423c36=>{const _0x159637=_0x386136;if(_0x159637(0x1bf)==_0x423c36)return _0x159637(0x198);},_0x5b4106[_0x386136(0x189)][_0x386136(0x18a)][_0x386136(0x1a7)](this[_0x386136(0x1a3)]);}[_0x32e166(0x19f)](){const _0x2454fd=_0x32e166;this[_0x2454fd(0x1ba)]=_0x23cd8a(_0x5b4106[_0x2454fd(0x189)],_0x2454fd(0x19e),{'ctx-name':_0x2454fd(0x1a6)+this[_0x2454fd(0x186)]}),_0x5b4106[_0x2454fd(0x189)][_0x2454fd(0x18a)][_0x2454fd(0x1a7)](this[_0x2454fd(0x1ba)]);}[_0x32e166(0x1a1)](){const _0x53b7cb=_0x32e166,_0x98d99d=this[_0x53b7cb(0x1c1)][_0x53b7cb(0x1a5)][_0x53b7cb(0x18d)](_0x53b7cb(0x19b));_0x98d99d&&this[_0x53b7cb(0x18e)](_0x98d99d,_0x53b7cb(0x1be),()=>{const _0x527527=_0x53b7cb,_0x4f005c=this[_0x527527(0x1c1)][_0x527527(0x193)][_0x527527(0x189)][_0x527527(0x171)][_0x527527(0x173)]();_0x4f005c&&_0x4f005c[_0x527527(0x190)](_0x527527(0x1b6))&&this[_0x527527(0x1c1)][_0x527527(0x1b9)][_0x527527(0x1c0)][_0x527527(0x1c2)](_0x527527(0x1a9),()=>{const _0x4a24b8=_0x527527;_0x44b41c(this[_0x4a24b8(0x1c1)],_0x4f005c);});});const _0x550716=this[_0x53b7cb(0x1c1)][_0x53b7cb(0x1a5)][_0x53b7cb(0x18d)](_0x53b7cb(0x1a2));_0x550716&&this[_0x53b7cb(0x18e)](_0x550716,_0x53b7cb(0x1be),()=>{const _0x179cec=_0x53b7cb,_0x30847a=this[_0x179cec(0x1c1)][_0x179cec(0x193)][_0x179cec(0x189)][_0x179cec(0x171)][_0x179cec(0x173)]();_0x30847a&&_0x30847a[_0x179cec(0x190)](_0x179cec(0x1b6))&&this[_0x179cec(0x1c1)][_0x179cec(0x1b9)][_0x179cec(0x1c0)][_0x179cec(0x1c2)](_0x179cec(0x1a9),()=>{const _0x14b1af=_0x179cec;_0x44b41c(this[_0x14b1af(0x1c1)],_0x30847a);});});}}
@@ -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 _0x22ed67,ObservableMixin as _0x294730}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2bd684}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xf65e70}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5d9a2e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2937fc}from'../../utils/uploadutils.js';import{getImageUrls as _0x37f59a,getImageDimension as _0x27c830}from'../../utils/editingutils.js';import{isAncestor as _0x51a7ce}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x294730(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3393b3,_0x27bdaa,_0x1512b3){super(),this['_editor']=_0x3393b3,this['_dialog']=_0x27bdaa,this['_imageElement']=_0x1512b3,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 _0x1592a5=this['_imageElement'],_0x905e22=_0x1592a5['getAttribute']('uploadcareImageId'),_0x4c0310=_0x1592a5['getAttribute']('src');if(_0x905e22)await this['_loadImageInfo'](_0x905e22,_0x4c0310);else{if(this['_imageCache']['has'](_0x4c0310)){const _0x1e2c73=this['_imageCache']['get'](_0x4c0310);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e2c73['url'],this['imageDimension']=_0x1e2c73['dimension'],this['imageId']=_0x1e2c73['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1309eb}=this['_editor'],t=_0x1309eb['t'],_0x254733=new _0x5d9a2e(_0x1309eb,this['imageStatus'],this['_attributes']);_0x254733['bind']('status')['to'](this,'imageStatus'),_0x254733['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x254733['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x254733['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x254733,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf65e70,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x254733,'position':_0x2bd684['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x254733['focus']();},'onHide':()=>{_0x254733['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1315c6=>!_0x51a7ce(_0x1315c6,_0x254733['element'])}});}['_loadImageInfo'](_0x1e09d3,_0x5de284){return _0x2937fc['getInfo'](_0x1e09d3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x514dec=>{const {width:_0x42f6e9,height:_0x2d0d12}=_0x514dec['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5de284,this['imageDimension']={'width':_0x42f6e9,'height':_0x2d0d12},this['imageId']=_0x1e09d3;})['catch'](_0x28143c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28143c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x446e98,_0x314325){return this['_getImageAsFile'](_0x446e98)['then'](_0xf8c476=>_0x2937fc['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':_0x314325['signal'],'file':_0xf8c476,'onProgress':_0x51c87f=>{_0x51c87f&&_0x51c87f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51c87f['value']));}}))['then'](_0x5a7788=>{const {width:_0x95301c,height:_0x218be}=_0x5a7788['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a7788['cdnUrl'],this['imageDimension']={'width':_0x95301c,'height':_0x218be},this['imageId']=_0x5a7788['uuid'],this['imageUploadProgress']=null;const _0x220a03=_0x446e98['getAttribute']('src');this['_imageCache']['set'](_0x220a03,{'id':_0x5a7788['uuid'],'url':_0x5a7788['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x57675d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57675d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b3b02,_0x19507d){_0x1b3b02['on']('apply',(_0x496ca7,_0x37d450)=>{this['_replaceImage'](_0x19507d,_0x37d450['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b3b02['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b3b02['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9ba43e,_0x1ee3a6,_0x560709){const _0x4e6078=this['_editor'],{width:_0x2e4b06,height:_0x15d4e3}=_0x27c830(_0x1ee3a6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d0c49,imageSources:_0xbdc45}=_0x37f59a(_0x1ee3a6,_0x2e4b06);_0x4e6078['model']['change'](_0x5a60ae=>{if('$graveyard'===_0x9ba43e['root']['rootName']){_0x4e6078['execute']('insertImage',{'imageType':_0x9ba43e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9ba43e['getAttributes']()),'uploadcareImageId':_0x560709,'src':_0x4d0c49,'sources':_0xbdc45,'width':_0x2e4b06,'height':_0x15d4e3}});const _0x3f30b1=_0x9ba43e['getChildren']();_0x9ba43e=_0x4e6078['model']['document']['selection']['getSelectedElement']();for(const _0xdc0cf of _0x3f30b1)_0x5a60ae['append'](_0x5a60ae['cloneElement'](_0xdc0cf),_0x9ba43e);}else _0x5a60ae['setSelection'](_0x9ba43e,'on'),_0x4e6078['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9ba43e['getAttributes']()),'uploadcareImageId':_0x560709,'src':_0x4d0c49,'sources':_0xbdc45,'width':_0x2e4b06,'height':_0x15d4e3},_0x9ba43e);_0x5a60ae['setSelection'](_0x9ba43e,'on');});}async['_getImageAsFile'](_0x33ea57){const _0x39883e=_0x22ed67['window'],_0x580117=_0x22ed67['document']['location']['href'],_0x15054e=new _0x39883e['URL'](_0x33ea57['getAttribute']('src'),_0x580117);if('data:'===_0x15054e['protocol']){const _0x100af4=_0x15054e['href']['split'](','),_0x46b96d=_0x100af4[0x0]['match'](/:(.*?);/)[0x1],_0x102ca0=_0x46b96d['split']('/')[0x1],_0x39b411=_0x39883e['atob'](_0x100af4[_0x100af4['length']-0x1]);let _0x5efb66=_0x39b411['length'];const _0x16fd5f=new _0x39883e['Uint8Array'](_0x5efb66);for(;_0x5efb66--;)_0x16fd5f[_0x5efb66]=_0x39b411['charCodeAt'](_0x5efb66);return new _0x39883e['File']([_0x16fd5f],'image.'+_0x102ca0,{'type':_0x46b96d});}const _0x100840=_0x15054e['href']['split']('/'),_0x393e4a=_0x100840[_0x100840['length']-0x1],_0x3f82b3=_0x393e4a['split']('.')[0x1];return _0x39883e['fetch'](_0x15054e['href'])['then'](_0x1e113e=>_0x1e113e['clone']()['blob']())['then'](_0x474f0b=>new _0x39883e['File']([_0x474f0b],_0x393e4a,{'type':'image/'+_0x3f82b3}));}}
@@ -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 _0x1eb8(_0x358989,_0x32955c){const _0x193c30=_0x193c();return _0x1eb8=function(_0x1eb8e7,_0x293541){_0x1eb8e7=_0x1eb8e7-0xef;let _0x2e54a6=_0x193c30[_0x1eb8e7];return _0x2e54a6;},_0x1eb8(_0x358989,_0x32955c);}(function(_0x5ab401,_0x5b8c0b){const _0x2e4766=_0x1eb8,_0x3114d5=_0x5ab401();while(!![]){try{const _0x3d30e2=-parseInt(_0x2e4766(0x100))/0x1*(parseInt(_0x2e4766(0xfc))/0x2)+-parseInt(_0x2e4766(0xf0))/0x3*(-parseInt(_0x2e4766(0xf9))/0x4)+parseInt(_0x2e4766(0xfd))/0x5+parseInt(_0x2e4766(0xf3))/0x6*(parseInt(_0x2e4766(0xef))/0x7)+-parseInt(_0x2e4766(0xfb))/0x8+-parseInt(_0x2e4766(0xf8))/0x9+parseInt(_0x2e4766(0xf5))/0xa;if(_0x3d30e2===_0x5b8c0b)break;else _0x3114d5['push'](_0x3114d5['shift']());}catch(_0x35b4f7){_0x3114d5['push'](_0x3114d5['shift']());}}}(_0x193c,0xaf8fa));import{View as _0x34bddc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x34bddc{constructor(_0x51b393,_0x11ee54){const _0x31555b=_0x1eb8;super(_0x51b393);const _0x2884d0=this[_0x31555b(0xfe)];this[_0x31555b(0xf2)](_0x31555b(0xf6),''),this[_0x31555b(0xf1)]({'tag':_0x31555b(0xfa),'attributes':{..._0x11ee54,'class':[_0x31555b(0xf4),_0x31555b(0xf7)],'ctx-name':_0x31555b(0xff),'cdn-url':_0x2884d0['to'](_0x31555b(0xf6))}});}}function _0x193c(){const _0x2229a8=['7031100iDDUcU','imageSrc','ck-uploadcare-theme','11489823TwTXhc','51756jpzgTB','uc-cloud-image-editor','123920QVLQft','2KfAAnc','1182870OXFbvH','bindTemplate','image-edit','6184TJynnp','7IvXJDV','90ifmfGT','setTemplate','set','4137390tfSChV','uc-light'];_0x193c=function(){return _0x2229a8;};return _0x193c();}
@@ -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 _0x332974}from'ckeditor5/src/icons.js';import{ButtonView as _0x2636c5,IconView as _0x336e06,View as _0x6a373e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x6a373e{constructor(_0x7b8b3){super(_0x7b8b3);const t=_0x7b8b3['t'];this['set']('errorType',null);const _0x530d0b=new _0x2636c5(_0x7b8b3);_0x530d0b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x530d0b['withText']=!0x0,_0x530d0b['class']='ck-button-action',_0x530d0b['on']('execute',()=>{this['fire']('retry');}),_0x530d0b['bind']('isVisible')['to'](this,'errorType',_0x1eba81=>'NotFound'!==_0x1eba81);const _0x373fdb=new _0x336e06();_0x373fdb['content']=_0x332974,_0x373fdb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x48464b=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':[_0x373fdb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x48464b['to']('errorType',_0x2e6d4a=>t('NotFound'!==_0x2e6d4a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x530d0b]},{'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 _0xa7bd50,View as _0x2da1ad}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2da1ad{constructor(_0x5967d1){super(_0x5967d1);const t=_0x5967d1['t'],_0x426299=this['bindTemplate'],_0x1df762=new _0xa7bd50();_0x1df762['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':[_0x1df762,{'text':_0x426299['to']('imageUploadProgress',_0x11cb8f=>t('Loading\x20image...')+'\x20('+(_0x11cb8f||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x3a16b0=_0x3b2c;(function(_0x171518,_0x2ed9c9){const _0x196df9=_0x3b2c,_0x44f34f=_0x171518();while(!![]){try{const _0xae3111=-parseInt(_0x196df9(0xb4))/0x1+parseInt(_0x196df9(0xc8))/0x2*(-parseInt(_0x196df9(0xbc))/0x3)+parseInt(_0x196df9(0xc6))/0x4*(-parseInt(_0x196df9(0xb6))/0x5)+parseInt(_0x196df9(0xa7))/0x6*(parseInt(_0x196df9(0x9c))/0x7)+-parseInt(_0x196df9(0x9a))/0x8*(-parseInt(_0x196df9(0xd2))/0x9)+parseInt(_0x196df9(0xa9))/0xa*(parseInt(_0x196df9(0xc3))/0xb)+-parseInt(_0x196df9(0xb2))/0xc*(-parseInt(_0x196df9(0xb9))/0xd);if(_0xae3111===_0x2ed9c9)break;else _0x44f34f['push'](_0x44f34f['shift']());}catch(_0x1868d1){_0x44f34f['push'](_0x44f34f['shift']());}}}(_0x133d,0x69276));import{View as _0x350fa0}from'ckeditor5/src/ui.js';function _0x3b2c(_0x3e8294,_0x29fbde){const _0x133d0a=_0x133d();return _0x3b2c=function(_0x3b2c3d,_0x115f6f){_0x3b2c3d=_0x3b2c3d-0x9a;let _0xdb7014=_0x133d0a[_0x3b2c3d];return _0xdb7014;},_0x3b2c(_0x3e8294,_0x29fbde);}import{UploadcareImageEditFormLoadingView as _0x1c83b7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x7b881a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a8858}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3c4bd5}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3c4bd5{[_0x3a16b0(0xae)];[_0x3a16b0(0xd0)];[_0x3a16b0(0xb8)];[_0x3a16b0(0xd3)];[_0x3a16b0(0xaa)];constructor(_0x4d2d9c,_0x14ebc7,_0xe2255a){const _0x39cbfd=_0x3a16b0;super(_0x4d2d9c),this[_0x39cbfd(0xae)]=this[_0x39cbfd(0xad)](),this[_0x39cbfd(0xd0)]=new _0x1c83b7(_0x4d2d9c),this[_0x39cbfd(0xb8)]=new _0x7b881a(_0x4d2d9c),this[_0x39cbfd(0xd3)]=new _0x3a8858(_0x4d2d9c,_0xe2255a),this[_0x39cbfd(0xaa)]=new _0x350fa0(_0x4d2d9c),this[_0x39cbfd(0xaa)][_0x39cbfd(0xce)](this[_0x39cbfd(0xca)]()),this[_0x39cbfd(0xbf)](_0x39cbfd(0xa4),_0x14ebc7),this[_0x39cbfd(0xce)]({'tag':_0x39cbfd(0xcb),'attributes':{'class':['ck',_0x39cbfd(0xcf),_0x39cbfd(0xc4)],'tabindex':'-1'},'children':this[_0x39cbfd(0xae)]}),this[_0x39cbfd(0xaf)](),this[_0x39cbfd(0xa0)](_0x39cbfd(0xb3),()=>{const _0x5207cc=_0x39cbfd;this[_0x5207cc(0xc0)](this[_0x5207cc(0x9b)],_0x3700d9=>{const _0x1965b0=_0x5207cc;this[_0x1965b0(0xbd)](_0x3700d9);});}),this['on'](_0x39cbfd(0xb1),()=>{const _0x31c40b=_0x39cbfd;this[_0x31c40b(0xaf)]();}),this[_0x39cbfd(0xa2)]();}[_0x3a16b0(0xcc)](){const _0x4d454c=_0x3a16b0;this[_0x4d454c(0x9b)][_0x4d454c(0xcc)]();}[_0x3a16b0(0xaf)](){const _0x50605d=_0x3a16b0;switch(this[_0x50605d(0xae)][_0x50605d(0xc5)](),this[_0x50605d(0xa4)]){case _0x50605d(0x9e):this[_0x50605d(0xae)][_0x50605d(0xd1)](this[_0x50605d(0xd0)]);break;case _0x50605d(0xc2):this[_0x50605d(0xae)][_0x50605d(0xd1)](this[_0x50605d(0xb8)]);break;case _0x50605d(0xb0):this[_0x50605d(0xae)][_0x50605d(0x9d)]([this[_0x50605d(0xd3)],this[_0x50605d(0xaa)]]);}}[_0x3a16b0(0xc0)](_0x2ed208,_0x4b00e5){const _0x49b295=_0x3a16b0,_0x8ec659=_0x49b295(0xb5),_0x4009a6=_0x2ed208[_0x49b295(0xcd)](_0x8ec659);if(_0x4009a6)return _0x4b00e5(_0x4009a6);const _0x33c3ba=new MutationObserver(_0x235a54=>{const _0x3af616=_0x49b295,_0x6036ae=_0x235a54[_0x3af616(0xac)](_0x4f20ae=>_0x4f20ae[_0x3af616(0xa8)]===_0x2ed208&&_0x4f20ae[_0x3af616(0xa5)][_0x3af616(0xb7)]>0x0&&_0x4f20ae[_0x3af616(0xa5)][0x0][_0x3af616(0xa3)][_0x3af616(0xbe)]()===_0x8ec659);_0x6036ae[_0x3af616(0xb7)]&&(_0x33c3ba[_0x3af616(0x9f)](),_0x4b00e5(_0x6036ae[0x0][_0x3af616(0xa5)][0x0]));});_0x33c3ba[_0x49b295(0xab)](_0x2ed208,{'childList':!0x0,'subtree':!0x0});}[_0x3a16b0(0xbd)](_0x1fdd93){const _0x4b9071=_0x3a16b0;_0x1fdd93[_0x4b9071(0xa1)](_0x4b9071(0xbb),_0x330269=>{const _0x55b739=_0x4b9071;this[_0x55b739(0xc1)](_0x55b739(0xbb),{'imageSrc':_0x330269[_0x55b739(0xba)][_0x55b739(0xa6)]});}),_0x1fdd93[_0x4b9071(0xa1)](_0x4b9071(0xc9),()=>{const _0x24c94b=_0x4b9071;this[_0x24c94b(0xc1)](_0x24c94b(0xc9));});}[_0x3a16b0(0xa2)](){const _0x26981c=_0x3a16b0;this[_0x26981c(0xb8)]['on'](_0x26981c(0xc7),()=>{const _0x19e49e=_0x26981c;this[_0x19e49e(0xc1)](_0x19e49e(0xc7));});}}function _0x133d(){const _0x45b4eb=['_focusableView','observe','filter','createCollection','_items','_setView','ready','change:status','228xKOUEi','render','752590duiAhL','uc-cloud-image-editor','115AzqPDp','length','_errorView','1304069AjHNxp','detail','apply','1006794AwSZCR','_addUploadcareImageEditorListeners','toLowerCase','set','_waitForImageEditorComponent','fire','error','11dkRoQL','ck-uploadcare-form','clear','149596UTDScd','retry','4OrRfUq','cancel','getFocusableElement','div','focus','querySelector','setTemplate','ck-reset_all-excluded','_loadingView','add','191907CBwcco','_editingView','8OqhuYl','element','7ldMyAE','addMany','uploading','disconnect','once','addEventListener','_addErrorViewListeners','nodeName','status','addedNodes','cdnUrl','3465834jIDXLT','target','2097640SmwOgq'];_0x133d=function(){return _0x45b4eb;};return _0x133d();}
@@ -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 _0x53d5ab=_0x5eb1;function _0x4757(){const _0x4ad624=['uploadcare.allowExternalImagesEditing','plugins','isActive','imageEditController','11281384uAQtfH','requires','9299661DOakmP','4826346iDjbTI','1377553BQUaOb','document','element','getSelectedElement','_isEditable','set','unbind','execute','get','selection','bind','model','refresh','editor','5tQLhMo','isEnabled','config','150292CmyMon','imageInline','4120920BgAXKY','imageBlock','368676sgohHz'];_0x4757=function(){return _0x4ad624;};return _0x4757();}(function(_0x2be8b5,_0x269138){const _0x128279=_0x5eb1,_0x1054ae=_0x2be8b5();while(!![]){try{const _0x1efd51=-parseInt(_0x128279(0x160))/0x1+-parseInt(_0x128279(0x157))/0x2+parseInt(_0x128279(0x15f))/0x3+-parseInt(_0x128279(0x153))/0x4*(-parseInt(_0x128279(0x150))/0x5)+parseInt(_0x128279(0x155))/0x6+-parseInt(_0x128279(0x15e))/0x7+parseInt(_0x128279(0x15c))/0x8;if(_0x1efd51===_0x269138)break;else _0x1054ae['push'](_0x1054ae['shift']());}catch(_0x2f683e){_0x1054ae['push'](_0x1054ae['shift']());}}}(_0x4757,0xd03c6));import{Command as _0x402f7e}from'ckeditor5/src/core.js';import{Dialog as _0x94d2b9}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x29c221}from'./ui/uploadcareimageeditcontroller.js';function _0x5eb1(_0x54574c,_0x1d5fd7){const _0x4757c2=_0x4757();return _0x5eb1=function(_0x5eb14d,_0xe9daec){_0x5eb14d=_0x5eb14d-0x14f;let _0x1b5dbb=_0x4757c2[_0x5eb14d];return _0x1b5dbb;},_0x5eb1(_0x54574c,_0x1d5fd7);}import{createEditabilityChecker as _0x49a6c4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x402f7e{[_0x53d5ab(0x15b)];static get[_0x53d5ab(0x15d)](){return[_0x94d2b9];}[_0x53d5ab(0x164)];constructor(_0x1ca2f7){const _0x432607=_0x53d5ab;super(_0x1ca2f7),this[_0x432607(0x15b)]=void 0x0,this[_0x432607(0x164)]=_0x49a6c4(_0x1ca2f7[_0x432607(0x152)][_0x432607(0x168)](_0x432607(0x158))||[]),this[_0x432607(0x165)]({'isActive':!0x1});}[_0x53d5ab(0x16c)](){const _0x1ada2c=_0x53d5ab,_0x166097=this[_0x1ada2c(0x14f)][_0x1ada2c(0x16b)][_0x1ada2c(0x161)][_0x1ada2c(0x169)][_0x1ada2c(0x163)]();this[_0x1ada2c(0x151)]=this[_0x1ada2c(0x164)](_0x166097);}[_0x53d5ab(0x167)](){const _0xf7c13b=_0x53d5ab;this[_0xf7c13b(0x15b)]&&(this[_0xf7c13b(0x166)](_0xf7c13b(0x15a)),this[_0xf7c13b(0x15b)]=void 0x0);const _0x254e74=this[_0xf7c13b(0x14f)][_0xf7c13b(0x16b)][_0xf7c13b(0x161)][_0xf7c13b(0x169)][_0xf7c13b(0x163)]();_0x254e74&&(_0x254e74['is'](_0xf7c13b(0x162),_0xf7c13b(0x156))||_0x254e74['is'](_0xf7c13b(0x162),_0xf7c13b(0x154)))&&(this[_0xf7c13b(0x15b)]=new _0x29c221(this[_0xf7c13b(0x14f)],this[_0xf7c13b(0x14f)][_0xf7c13b(0x159)][_0xf7c13b(0x168)](_0x94d2b9),_0x254e74),this[_0xf7c13b(0x16a)](_0xf7c13b(0x15a))['to'](this[_0xf7c13b(0x15b)],_0xf7c13b(0x15a)));}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x467c66=_0x13da;function _0x5c7d(){const _0x3987b0=['21bvKtbp','isPremiumPlugin','ImageUtils','31135mKCitb','init','commands','1vPGDrr','3700499gwzZOi','1212zeaICY','10qNUYLd','12YZDsoO','1069125eUybpE','1527096Wgrzpy','ImageEditing','isOfficialPlugin','6840261qrKdgV','3299552FDURQO','uploadcareImageReplace','2286406WrkOOH','uploadcareImageEdit','add','requires','UploadcareImageEditEditing','pluginName','20kYhwKU'];_0x5c7d=function(){return _0x3987b0;};return _0x5c7d();}(function(_0x40ef36,_0x475488){const _0x33829c=_0x13da,_0x4a1b48=_0x40ef36();while(!![]){try{const _0x433a82=-parseInt(_0x33829c(0x89))/0x1*(parseInt(_0x33829c(0x95))/0x2)+parseInt(_0x33829c(0x8e))/0x3*(parseInt(_0x33829c(0x8d))/0x4)+parseInt(_0x33829c(0x9b))/0x5*(-parseInt(_0x33829c(0x8f))/0x6)+parseInt(_0x33829c(0x9c))/0x7*(parseInt(_0x33829c(0x93))/0x8)+parseInt(_0x33829c(0x92))/0x9*(parseInt(_0x33829c(0x8c))/0xa)+-parseInt(_0x33829c(0x8a))/0xb+parseInt(_0x33829c(0x8b))/0xc*(parseInt(_0x33829c(0x86))/0xd);if(_0x433a82===_0x475488)break;else _0x4a1b48['push'](_0x4a1b48['shift']());}catch(_0x2cf7a1){_0x4a1b48['push'](_0x4a1b48['shift']());}}}(_0x5c7d,0xc5ed1));import{Plugin as _0x7cea4d}from'ckeditor5/src/core.js';import{Notification as _0x13ae1e}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x28bb5c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3413c7}from'./uploadcareimagereplacecommand.js';function _0x13da(_0x3f4b7b,_0x29be6e){const _0x5c7d9a=_0x5c7d();return _0x13da=function(_0x13daef,_0x43c935){_0x13daef=_0x13daef-0x85;let _0x9be087=_0x5c7d9a[_0x13daef];return _0x9be087;},_0x13da(_0x3f4b7b,_0x29be6e);}import{UploadcareEditing as _0x1a8be3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x7cea4d{static get[_0x467c66(0x9a)](){const _0x299527=_0x467c66;return _0x299527(0x99);}static get[_0x467c66(0x98)](){const _0x10db63=_0x467c66;return[_0x1a8be3,_0x13ae1e,_0x10db63(0x85),_0x10db63(0x90)];}static get[_0x467c66(0x91)](){return!0x0;}static get[_0x467c66(0x9d)](){return!0x0;}[_0x467c66(0x87)](){const _0xd56b59=_0x467c66,{editor:_0x10b3f7}=this;_0x10b3f7[_0xd56b59(0x88)][_0xd56b59(0x97)](_0xd56b59(0x96),new _0x28bb5c(_0x10b3f7)),_0x10b3f7[_0xd56b59(0x88)][_0xd56b59(0x97)](_0xd56b59(0x94),new _0x3413c7(_0x10b3f7));}}