@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.0 → 44.2.0-alpha.10

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 (319) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +16 -5
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/build/uploadcare.js +2 -2
  75. package/dist/index.js +3 -3
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/bg.js +1 -1
  85. package/dist/translations/bg.umd.js +1 -1
  86. package/dist/translations/bn.js +1 -1
  87. package/dist/translations/bn.umd.js +1 -1
  88. package/dist/translations/bs.js +1 -1
  89. package/dist/translations/bs.umd.js +1 -1
  90. package/dist/translations/ca.js +1 -1
  91. package/dist/translations/ca.umd.js +1 -1
  92. package/dist/translations/cs.js +1 -1
  93. package/dist/translations/cs.umd.js +1 -1
  94. package/dist/translations/da.js +1 -1
  95. package/dist/translations/da.umd.js +1 -1
  96. package/dist/translations/de-ch.js +1 -1
  97. package/dist/translations/de-ch.umd.js +1 -1
  98. package/dist/translations/de.js +1 -1
  99. package/dist/translations/de.umd.js +1 -1
  100. package/dist/translations/el.js +1 -1
  101. package/dist/translations/el.umd.js +1 -1
  102. package/dist/translations/en-au.js +1 -1
  103. package/dist/translations/en-au.umd.js +1 -1
  104. package/dist/translations/en-gb.js +1 -1
  105. package/dist/translations/en-gb.umd.js +1 -1
  106. package/dist/translations/en.js +1 -1
  107. package/dist/translations/en.umd.js +1 -1
  108. package/dist/translations/eo.js +1 -1
  109. package/dist/translations/eo.umd.js +1 -1
  110. package/dist/translations/es-co.js +1 -1
  111. package/dist/translations/es-co.umd.js +1 -1
  112. package/dist/translations/es.js +1 -1
  113. package/dist/translations/es.umd.js +1 -1
  114. package/dist/translations/et.js +1 -1
  115. package/dist/translations/et.umd.js +1 -1
  116. package/dist/translations/eu.js +1 -1
  117. package/dist/translations/eu.umd.js +1 -1
  118. package/dist/translations/fa.js +1 -1
  119. package/dist/translations/fa.umd.js +1 -1
  120. package/dist/translations/fi.js +1 -1
  121. package/dist/translations/fi.umd.js +1 -1
  122. package/dist/translations/fr.js +1 -1
  123. package/dist/translations/fr.umd.js +1 -1
  124. package/dist/translations/gl.js +1 -1
  125. package/dist/translations/gl.umd.js +1 -1
  126. package/dist/translations/gu.js +1 -1
  127. package/dist/translations/gu.umd.js +1 -1
  128. package/dist/translations/he.js +1 -1
  129. package/dist/translations/he.umd.js +1 -1
  130. package/dist/translations/hi.js +1 -1
  131. package/dist/translations/hi.umd.js +1 -1
  132. package/dist/translations/hr.js +1 -1
  133. package/dist/translations/hr.umd.js +1 -1
  134. package/dist/translations/hu.js +1 -1
  135. package/dist/translations/hu.umd.js +1 -1
  136. package/dist/translations/hy.js +1 -1
  137. package/dist/translations/hy.umd.js +1 -1
  138. package/dist/translations/id.js +1 -1
  139. package/dist/translations/id.umd.js +1 -1
  140. package/dist/translations/it.js +1 -1
  141. package/dist/translations/it.umd.js +1 -1
  142. package/dist/translations/ja.js +1 -1
  143. package/dist/translations/ja.umd.js +1 -1
  144. package/dist/translations/jv.js +1 -1
  145. package/dist/translations/jv.umd.js +1 -1
  146. package/dist/translations/kk.js +1 -1
  147. package/dist/translations/kk.umd.js +1 -1
  148. package/dist/translations/km.js +1 -1
  149. package/dist/translations/km.umd.js +1 -1
  150. package/dist/translations/kn.js +1 -1
  151. package/dist/translations/kn.umd.js +1 -1
  152. package/dist/translations/ko.js +1 -1
  153. package/dist/translations/ko.umd.js +1 -1
  154. package/dist/translations/ku.js +1 -1
  155. package/dist/translations/ku.umd.js +1 -1
  156. package/dist/translations/lt.js +1 -1
  157. package/dist/translations/lt.umd.js +1 -1
  158. package/dist/translations/lv.js +1 -1
  159. package/dist/translations/lv.umd.js +1 -1
  160. package/dist/translations/ms.js +1 -1
  161. package/dist/translations/ms.umd.js +1 -1
  162. package/dist/translations/nb.js +1 -1
  163. package/dist/translations/nb.umd.js +1 -1
  164. package/dist/translations/ne.js +1 -1
  165. package/dist/translations/ne.umd.js +1 -1
  166. package/dist/translations/nl.js +1 -1
  167. package/dist/translations/nl.umd.js +1 -1
  168. package/dist/translations/no.js +1 -1
  169. package/dist/translations/no.umd.js +1 -1
  170. package/dist/translations/oc.js +1 -1
  171. package/dist/translations/oc.umd.js +1 -1
  172. package/dist/translations/pl.js +1 -1
  173. package/dist/translations/pl.umd.js +1 -1
  174. package/dist/translations/pt-br.js +1 -1
  175. package/dist/translations/pt-br.umd.js +1 -1
  176. package/dist/translations/pt.js +1 -1
  177. package/dist/translations/pt.umd.js +1 -1
  178. package/dist/translations/ro.js +1 -1
  179. package/dist/translations/ro.umd.js +1 -1
  180. package/dist/translations/ru.js +1 -1
  181. package/dist/translations/ru.umd.js +1 -1
  182. package/dist/translations/si.js +1 -1
  183. package/dist/translations/si.umd.js +1 -1
  184. package/dist/translations/sk.js +1 -1
  185. package/dist/translations/sk.umd.js +1 -1
  186. package/dist/translations/sl.js +1 -1
  187. package/dist/translations/sl.umd.js +1 -1
  188. package/dist/translations/sq.js +1 -1
  189. package/dist/translations/sq.umd.js +1 -1
  190. package/dist/translations/sr-latn.js +1 -1
  191. package/dist/translations/sr-latn.umd.js +1 -1
  192. package/dist/translations/sr.js +1 -1
  193. package/dist/translations/sr.umd.js +1 -1
  194. package/dist/translations/sv.js +1 -1
  195. package/dist/translations/sv.umd.js +1 -1
  196. package/dist/translations/th.js +1 -1
  197. package/dist/translations/th.umd.js +1 -1
  198. package/dist/translations/ti.js +1 -1
  199. package/dist/translations/ti.umd.js +1 -1
  200. package/dist/translations/tk.js +1 -1
  201. package/dist/translations/tk.umd.js +1 -1
  202. package/dist/translations/tr.js +1 -1
  203. package/dist/translations/tr.umd.js +1 -1
  204. package/dist/translations/tt.js +1 -1
  205. package/dist/translations/tt.umd.js +1 -1
  206. package/dist/translations/ug.js +1 -1
  207. package/dist/translations/ug.umd.js +1 -1
  208. package/dist/translations/uk.js +1 -1
  209. package/dist/translations/uk.umd.js +1 -1
  210. package/dist/translations/ur.js +1 -1
  211. package/dist/translations/ur.umd.js +1 -1
  212. package/dist/translations/uz.js +1 -1
  213. package/dist/translations/uz.umd.js +1 -1
  214. package/dist/translations/vi.js +1 -1
  215. package/dist/translations/vi.umd.js +1 -1
  216. package/dist/translations/zh-cn.js +1 -1
  217. package/dist/translations/zh-cn.umd.js +1 -1
  218. package/dist/translations/zh.js +1 -1
  219. package/dist/translations/zh.umd.js +1 -1
  220. package/lang/contexts.json +0 -3
  221. package/lang/translations/af.po +0 -12
  222. package/lang/translations/ar.po +22 -34
  223. package/lang/translations/ast.po +0 -12
  224. package/lang/translations/az.po +0 -12
  225. package/lang/translations/bg.po +22 -34
  226. package/lang/translations/bn.po +22 -34
  227. package/lang/translations/bs.po +0 -12
  228. package/lang/translations/ca.po +22 -34
  229. package/lang/translations/cs.po +22 -34
  230. package/lang/translations/da.po +22 -34
  231. package/lang/translations/de-ch.po +0 -12
  232. package/lang/translations/de.po +22 -34
  233. package/lang/translations/el.po +22 -34
  234. package/lang/translations/en-au.po +0 -12
  235. package/lang/translations/en-gb.po +0 -12
  236. package/lang/translations/en.po +0 -12
  237. package/lang/translations/eo.po +0 -12
  238. package/lang/translations/es-co.po +0 -12
  239. package/lang/translations/es.po +22 -34
  240. package/lang/translations/et.po +22 -34
  241. package/lang/translations/eu.po +0 -12
  242. package/lang/translations/fa.po +0 -12
  243. package/lang/translations/fi.po +22 -34
  244. package/lang/translations/fr.po +22 -34
  245. package/lang/translations/gl.po +0 -12
  246. package/lang/translations/gu.po +0 -12
  247. package/lang/translations/he.po +22 -34
  248. package/lang/translations/hi.po +22 -34
  249. package/lang/translations/hr.po +0 -12
  250. package/lang/translations/hu.po +22 -34
  251. package/lang/translations/hy.po +0 -12
  252. package/lang/translations/id.po +22 -34
  253. package/lang/translations/it.po +22 -34
  254. package/lang/translations/ja.po +22 -34
  255. package/lang/translations/jv.po +0 -12
  256. package/lang/translations/kk.po +0 -12
  257. package/lang/translations/km.po +0 -12
  258. package/lang/translations/kn.po +0 -12
  259. package/lang/translations/ko.po +22 -34
  260. package/lang/translations/ku.po +0 -12
  261. package/lang/translations/lt.po +22 -34
  262. package/lang/translations/lv.po +22 -34
  263. package/lang/translations/ms.po +22 -34
  264. package/lang/translations/nb.po +0 -12
  265. package/lang/translations/ne.po +0 -12
  266. package/lang/translations/nl.po +22 -34
  267. package/lang/translations/no.po +22 -34
  268. package/lang/translations/oc.po +0 -12
  269. package/lang/translations/pl.po +22 -34
  270. package/lang/translations/pt-br.po +22 -34
  271. package/lang/translations/pt.po +22 -34
  272. package/lang/translations/ro.po +22 -34
  273. package/lang/translations/ru.po +22 -34
  274. package/lang/translations/si.po +0 -12
  275. package/lang/translations/sk.po +22 -34
  276. package/lang/translations/sl.po +0 -12
  277. package/lang/translations/sq.po +0 -12
  278. package/lang/translations/sr-latn.po +0 -12
  279. package/lang/translations/sr.po +22 -34
  280. package/lang/translations/sv.po +22 -34
  281. package/lang/translations/th.po +22 -34
  282. package/lang/translations/ti.po +0 -12
  283. package/lang/translations/tk.po +0 -12
  284. package/lang/translations/tr.po +22 -34
  285. package/lang/translations/tt.po +0 -12
  286. package/lang/translations/ug.po +0 -12
  287. package/lang/translations/uk.po +22 -34
  288. package/lang/translations/ur.po +0 -12
  289. package/lang/translations/uz.po +0 -12
  290. package/lang/translations/vi.po +22 -34
  291. package/lang/translations/zh-cn.po +22 -34
  292. package/lang/translations/zh.po +22 -34
  293. package/package.json +8 -8
  294. package/src/index.js +1 -1
  295. package/src/ui/uploadcarecontroller.js +2 -2
  296. package/src/ui/uploadcareformview.js +1 -1
  297. package/src/uploadcare.js +1 -1
  298. package/src/uploadcarecommand.js +1 -1
  299. package/src/uploadcareconfig.d.ts +9 -8
  300. package/src/uploadcareconfig.js +1 -1
  301. package/src/uploadcareediting.js +1 -1
  302. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  303. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  304. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  305. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  306. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  307. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  308. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  309. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  310. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  311. package/src/uploadcareimageedit.js +1 -1
  312. package/src/uploadcareui.js +1 -1
  313. package/src/uploadcareuploadadapter.js +1 -1
  314. package/src/utils/common-translations.js +1 -1
  315. package/src/utils/dialogfocusmanagerview.js +1 -1
  316. package/src/utils/editingutils.js +1 -1
  317. package/src/utils/isancestor.js +1 -1
  318. package/src/utils/uploadutils.js +1 -1
  319. package/theme/icons/instagram.svg +0 -11
@@ -13,100 +13,88 @@ msgstr ""
13
13
 
14
14
  msgctxt "The label for the insert image with Dropbox dropdown button."
15
15
  msgid "Insert with Dropbox"
16
- msgstr ""
16
+ msgstr "Chèn bằng Dropbox"
17
17
 
18
18
  msgctxt "The label for the replace image with Dropbox dropdown button."
19
19
  msgid "Replace with Dropbox"
20
- msgstr ""
20
+ msgstr "Thay thế bằng Dropbox"
21
21
 
22
22
  msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
23
  msgid "With Dropbox"
24
- msgstr ""
24
+ msgstr "Bằng Dropbox"
25
25
 
26
26
  msgctxt "The label for the insert image with Facebook dropdown button."
27
27
  msgid "Insert with Facebook"
28
- msgstr ""
28
+ msgstr "Chèn bằng Facebook"
29
29
 
30
30
  msgctxt "The label for the replace image with Facebook dropdown button."
31
31
  msgid "Replace with Facebook"
32
- msgstr ""
32
+ msgstr "Thay thế bằng Facebook"
33
33
 
34
34
  msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
35
  msgid "With Facebook"
36
- msgstr ""
36
+ msgstr "Bằng Facebook"
37
37
 
38
38
  msgctxt "The label for the insert image with Google Drive dropdown button."
39
39
  msgid "Insert with Google Drive"
40
- msgstr ""
40
+ msgstr "Chèn bằng Google Drive"
41
41
 
42
42
  msgctxt "The label for the replace image with Google Drive dropdown button."
43
43
  msgid "Replace with Google Drive"
44
- msgstr ""
44
+ msgstr "Thay thế bằng Google Drive"
45
45
 
46
46
  msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
47
  msgid "With Google Drive"
48
- msgstr ""
48
+ msgstr "Bằng Google Drive"
49
49
 
50
50
  msgctxt "The label for the insert image with Google Photos dropdown button."
51
51
  msgid "Insert with Google Photos"
52
- msgstr ""
52
+ msgstr "Chèn bằng Google Photos"
53
53
 
54
54
  msgctxt "The label for the replace image with Google Photos dropdown button."
55
55
  msgid "Replace with Google Photos"
56
- msgstr ""
56
+ msgstr "Thay thế bằng Google Photos"
57
57
 
58
58
  msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
59
  msgid "With Google Photos"
60
- msgstr ""
61
-
62
- msgctxt "The label for the insert image with Instagram dropdown button."
63
- msgid "Insert with Instagram"
64
- msgstr ""
65
-
66
- msgctxt "The label for the replace image with Instagram dropdown button."
67
- msgid "Replace with Instagram"
68
- msgstr ""
69
-
70
- msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
71
- msgid "With Instagram"
72
- msgstr ""
60
+ msgstr "Bằng Google Photos"
73
61
 
74
62
  msgctxt "The label for the insert image with OneDrive dropdown button."
75
63
  msgid "Insert with OneDrive"
76
- msgstr ""
64
+ msgstr "Chèn bằng OneDrive"
77
65
 
78
66
  msgctxt "The label for the replace image with OneDrive dropdown button."
79
67
  msgid "Replace with OneDrive"
80
- msgstr ""
68
+ msgstr "Thay thế bằng OneDrive"
81
69
 
82
70
  msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
83
71
  msgid "With OneDrive"
84
- msgstr ""
72
+ msgstr "Bằng OneDrive"
85
73
 
86
74
  msgctxt "The label for the replace image via URL dropdown button."
87
75
  msgid "Replace via URL"
88
- msgstr ""
76
+ msgstr "Thay thế qua URL"
89
77
 
90
78
  msgctxt "The label for the image edit button and dialog."
91
79
  msgid "Edit Image (Uploadcare)"
92
- msgstr ""
80
+ msgstr "Chỉnh sửa hình ảnh"
93
81
 
94
82
  msgctxt "The label shown in the image edit dialog when the image is being uploaded."
95
83
  msgid "Loading image..."
96
- msgstr ""
84
+ msgstr "Đang tải ảnh..."
97
85
 
98
86
  msgctxt "The main text shown in the image edit dialog when the image upload failed."
99
87
  msgid "Unable to load"
100
- msgstr ""
88
+ msgstr "Không thể tải"
101
89
 
102
90
  msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
103
91
  msgid "We were unable to load the image due to network connection issues."
104
- msgstr ""
92
+ msgstr "Chúng tôi không thể tải hình ảnh do sự cố kết nối mạng."
105
93
 
106
94
  msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
107
95
  msgid "Try again (Uploadcare)"
108
- msgstr ""
96
+ msgstr "Thử lại"
109
97
 
110
98
  msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
111
99
  msgid "The image was not found. Its source may have been removed."
112
- msgstr ""
100
+ msgstr "Không tìm thấy hình ảnh. Nguồn của hình ảnh có thể đã bị xóa."
@@ -13,100 +13,88 @@ msgstr ""
13
13
 
14
14
  msgctxt "The label for the insert image with Dropbox dropdown button."
15
15
  msgid "Insert with Dropbox"
16
- msgstr ""
16
+ msgstr "通过 Dropbox 插入"
17
17
 
18
18
  msgctxt "The label for the replace image with Dropbox dropdown button."
19
19
  msgid "Replace with Dropbox"
20
- msgstr ""
20
+ msgstr "通过 Dropbox 替换"
21
21
 
22
22
  msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
23
  msgid "With Dropbox"
24
- msgstr ""
24
+ msgstr "通过 Dropbox"
25
25
 
26
26
  msgctxt "The label for the insert image with Facebook dropdown button."
27
27
  msgid "Insert with Facebook"
28
- msgstr ""
28
+ msgstr "通过 Facebook 插入"
29
29
 
30
30
  msgctxt "The label for the replace image with Facebook dropdown button."
31
31
  msgid "Replace with Facebook"
32
- msgstr ""
32
+ msgstr "通过 Facebook 替换"
33
33
 
34
34
  msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
35
  msgid "With Facebook"
36
- msgstr ""
36
+ msgstr "通过 Facebook"
37
37
 
38
38
  msgctxt "The label for the insert image with Google Drive dropdown button."
39
39
  msgid "Insert with Google Drive"
40
- msgstr ""
40
+ msgstr "通过 Google Drive 插入"
41
41
 
42
42
  msgctxt "The label for the replace image with Google Drive dropdown button."
43
43
  msgid "Replace with Google Drive"
44
- msgstr ""
44
+ msgstr "通过 Google Drive 替换"
45
45
 
46
46
  msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
47
  msgid "With Google Drive"
48
- msgstr ""
48
+ msgstr "通过 Google Drive"
49
49
 
50
50
  msgctxt "The label for the insert image with Google Photos dropdown button."
51
51
  msgid "Insert with Google Photos"
52
- msgstr ""
52
+ msgstr "通过 Google Photos 插入"
53
53
 
54
54
  msgctxt "The label for the replace image with Google Photos dropdown button."
55
55
  msgid "Replace with Google Photos"
56
- msgstr ""
56
+ msgstr "通过 Google Photos 替换"
57
57
 
58
58
  msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
59
  msgid "With Google Photos"
60
- msgstr ""
61
-
62
- msgctxt "The label for the insert image with Instagram dropdown button."
63
- msgid "Insert with Instagram"
64
- msgstr ""
65
-
66
- msgctxt "The label for the replace image with Instagram dropdown button."
67
- msgid "Replace with Instagram"
68
- msgstr ""
69
-
70
- msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
71
- msgid "With Instagram"
72
- msgstr ""
60
+ msgstr "通过 Google Photos"
73
61
 
74
62
  msgctxt "The label for the insert image with OneDrive dropdown button."
75
63
  msgid "Insert with OneDrive"
76
- msgstr ""
64
+ msgstr "通过 OneDrive 插入"
77
65
 
78
66
  msgctxt "The label for the replace image with OneDrive dropdown button."
79
67
  msgid "Replace with OneDrive"
80
- msgstr ""
68
+ msgstr "通过 OneDrive 替换"
81
69
 
82
70
  msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
83
71
  msgid "With OneDrive"
84
- msgstr ""
72
+ msgstr "通过 OneDrive"
85
73
 
86
74
  msgctxt "The label for the replace image via URL dropdown button."
87
75
  msgid "Replace via URL"
88
- msgstr ""
76
+ msgstr "通过 URL 替换"
89
77
 
90
78
  msgctxt "The label for the image edit button and dialog."
91
79
  msgid "Edit Image (Uploadcare)"
92
- msgstr ""
80
+ msgstr "编辑图片"
93
81
 
94
82
  msgctxt "The label shown in the image edit dialog when the image is being uploaded."
95
83
  msgid "Loading image..."
96
- msgstr ""
84
+ msgstr "正在加载图像……"
97
85
 
98
86
  msgctxt "The main text shown in the image edit dialog when the image upload failed."
99
87
  msgid "Unable to load"
100
- msgstr ""
88
+ msgstr "无法加载"
101
89
 
102
90
  msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
103
91
  msgid "We were unable to load the image due to network connection issues."
104
- msgstr ""
92
+ msgstr "由于网络连接问题,我们无法加载图片。"
105
93
 
106
94
  msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
107
95
  msgid "Try again (Uploadcare)"
108
- msgstr ""
96
+ msgstr "重试"
109
97
 
110
98
  msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
111
99
  msgid "The image was not found. Its source may have been removed."
112
- msgstr ""
100
+ msgstr "未找到图片。其源可能已被删除。"
@@ -13,100 +13,88 @@ msgstr ""
13
13
 
14
14
  msgctxt "The label for the insert image with Dropbox dropdown button."
15
15
  msgid "Insert with Dropbox"
16
- msgstr ""
16
+ msgstr "使用 Dropbox 插入"
17
17
 
18
18
  msgctxt "The label for the replace image with Dropbox dropdown button."
19
19
  msgid "Replace with Dropbox"
20
- msgstr ""
20
+ msgstr "使用 Dropbox 替換"
21
21
 
22
22
  msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
23
  msgid "With Dropbox"
24
- msgstr ""
24
+ msgstr "使用 Dropbox"
25
25
 
26
26
  msgctxt "The label for the insert image with Facebook dropdown button."
27
27
  msgid "Insert with Facebook"
28
- msgstr ""
28
+ msgstr "使用 Facebook 插入"
29
29
 
30
30
  msgctxt "The label for the replace image with Facebook dropdown button."
31
31
  msgid "Replace with Facebook"
32
- msgstr ""
32
+ msgstr "插入 Facebook 替換"
33
33
 
34
34
  msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
35
  msgid "With Facebook"
36
- msgstr ""
36
+ msgstr "使用 Facebook"
37
37
 
38
38
  msgctxt "The label for the insert image with Google Drive dropdown button."
39
39
  msgid "Insert with Google Drive"
40
- msgstr ""
40
+ msgstr "使用 Google 雲端硬碟插入"
41
41
 
42
42
  msgctxt "The label for the replace image with Google Drive dropdown button."
43
43
  msgid "Replace with Google Drive"
44
- msgstr ""
44
+ msgstr "使用 Google 雲端硬碟替換"
45
45
 
46
46
  msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
47
  msgid "With Google Drive"
48
- msgstr ""
48
+ msgstr "使用 Google 雲端硬碟"
49
49
 
50
50
  msgctxt "The label for the insert image with Google Photos dropdown button."
51
51
  msgid "Insert with Google Photos"
52
- msgstr ""
52
+ msgstr "使用 Google 相簿插入"
53
53
 
54
54
  msgctxt "The label for the replace image with Google Photos dropdown button."
55
55
  msgid "Replace with Google Photos"
56
- msgstr ""
56
+ msgstr "使用 Google 相簿替換"
57
57
 
58
58
  msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
59
  msgid "With Google Photos"
60
- msgstr ""
61
-
62
- msgctxt "The label for the insert image with Instagram dropdown button."
63
- msgid "Insert with Instagram"
64
- msgstr ""
65
-
66
- msgctxt "The label for the replace image with Instagram dropdown button."
67
- msgid "Replace with Instagram"
68
- msgstr ""
69
-
70
- msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
71
- msgid "With Instagram"
72
- msgstr ""
60
+ msgstr "使用 Google 相簿"
73
61
 
74
62
  msgctxt "The label for the insert image with OneDrive dropdown button."
75
63
  msgid "Insert with OneDrive"
76
- msgstr ""
64
+ msgstr "使用 OneDrive 插入"
77
65
 
78
66
  msgctxt "The label for the replace image with OneDrive dropdown button."
79
67
  msgid "Replace with OneDrive"
80
- msgstr ""
68
+ msgstr "使用 OneDrive 替換"
81
69
 
82
70
  msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
83
71
  msgid "With OneDrive"
84
- msgstr ""
72
+ msgstr "使用 OneDrive"
85
73
 
86
74
  msgctxt "The label for the replace image via URL dropdown button."
87
75
  msgid "Replace via URL"
88
- msgstr ""
76
+ msgstr "透過 URL 替換"
89
77
 
90
78
  msgctxt "The label for the image edit button and dialog."
91
79
  msgid "Edit Image (Uploadcare)"
92
- msgstr ""
80
+ msgstr "編輯圖片"
93
81
 
94
82
  msgctxt "The label shown in the image edit dialog when the image is being uploaded."
95
83
  msgid "Loading image..."
96
- msgstr ""
84
+ msgstr "正在載入圖片..."
97
85
 
98
86
  msgctxt "The main text shown in the image edit dialog when the image upload failed."
99
87
  msgid "Unable to load"
100
- msgstr ""
88
+ msgstr "無法上傳"
101
89
 
102
90
  msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
103
91
  msgid "We were unable to load the image due to network connection issues."
104
- msgstr ""
92
+ msgstr "由於網路連線問題,我們無法上傳影像。"
105
93
 
106
94
  msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
107
95
  msgid "Try again (Uploadcare)"
108
- msgstr ""
96
+ msgstr "重試"
109
97
 
110
98
  msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
111
99
  msgid "The image was not found. Its source may have been removed."
112
- msgstr ""
100
+ msgstr "找不到影像。影像來源可能已移除。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "44.2.0-alpha.0",
3
+ "version": "44.2.0-alpha.10",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,13 +23,13 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "44.2.0-alpha.0",
27
- "@ckeditor/ckeditor5-image": "44.2.0-alpha.0",
28
- "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.0",
29
- "@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
30
- "@ckeditor/ckeditor5-upload": "44.2.0-alpha.0",
31
- "@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
32
- "ckeditor5": "44.2.0-alpha.0",
26
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.10",
27
+ "@ckeditor/ckeditor5-image": "44.2.0-alpha.10",
28
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.10",
29
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.10",
30
+ "@ckeditor/ckeditor5-upload": "44.2.0-alpha.10",
31
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.10",
32
+ "ckeditor5": "44.2.0-alpha.10",
33
33
  "@uploadcare/file-uploader": "1.12.0",
34
34
  "@uploadcare/upload-client": "6.14.1"
35
35
  },
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1aec71,_0x107044){var _0x521cc3=_0x1147,_0xdf06f8=_0x1aec71();while(!![]){try{var _0x229df1=parseInt(_0x521cc3(0xe8))/0x1+-parseInt(_0x521cc3(0xe7))/0x2*(parseInt(_0x521cc3(0xe5))/0x3)+-parseInt(_0x521cc3(0xe6))/0x4+parseInt(_0x521cc3(0xe3))/0x5+parseInt(_0x521cc3(0xe9))/0x6+parseInt(_0x521cc3(0xea))/0x7*(-parseInt(_0x521cc3(0xe4))/0x8)+parseInt(_0x521cc3(0xeb))/0x9*(parseInt(_0x521cc3(0xe2))/0xa);if(_0x229df1===_0x107044)break;else _0xdf06f8['push'](_0xdf06f8['shift']());}catch(_0x2065cb){_0xdf06f8['push'](_0xdf06f8['shift']());}}}(_0x5076,0x49bec));function _0x1147(_0x2c8f69,_0x4515da){var _0x50766b=_0x5076();return _0x1147=function(_0x11475f,_0x363a35){_0x11475f=_0x11475f-0xe2;var _0x21b656=_0x50766b[_0x11475f];return _0x21b656;},_0x1147(_0x2c8f69,_0x4515da);}export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5076(){var _0x357d3b=['38TbtWbh','143985fTANRh','3455148JZVTEk','574TkmQYm','118863vEecXt','40vNUCfl','1193860yMXioP','44152lfzjWI','35958yofuuS','116364qqvrVS'];_0x5076=function(){return _0x357d3b;};return _0x5076();}import'./augmentation.js';
23
+ function _0x573b(_0x52073d,_0x1fc3da){var _0x37a7e5=_0x37a7();return _0x573b=function(_0x573bb2,_0x4afd40){_0x573bb2=_0x573bb2-0xd3;var _0xaf497c=_0x37a7e5[_0x573bb2];return _0xaf497c;},_0x573b(_0x52073d,_0x1fc3da);}(function(_0x79c9f,_0x3f949d){var _0x5023cc=_0x573b,_0x5ec471=_0x79c9f();while(!![]){try{var _0x3fc53b=parseInt(_0x5023cc(0xd7))/0x1*(-parseInt(_0x5023cc(0xd5))/0x2)+-parseInt(_0x5023cc(0xdd))/0x3*(parseInt(_0x5023cc(0xd8))/0x4)+parseInt(_0x5023cc(0xda))/0x5*(parseInt(_0x5023cc(0xdc))/0x6)+-parseInt(_0x5023cc(0xd4))/0x7+-parseInt(_0x5023cc(0xd3))/0x8+-parseInt(_0x5023cc(0xd9))/0x9*(-parseInt(_0x5023cc(0xdb))/0xa)+parseInt(_0x5023cc(0xd6))/0xb;if(_0x3fc53b===_0x3f949d)break;else _0x5ec471['push'](_0x5ec471['shift']());}catch(_0x5b3b5d){_0x5ec471['push'](_0x5ec471['shift']());}}}(_0x37a7,0x7a48d));export{default as Uploadcare}from'./uploadcare.js';function _0x37a7(){var _0x5bb159=['52NKpgUE','18TwDDrX','655yTXQeD','2705020HxOmnY','204VCTuXc','176331OcegdX','5291976MskNyj','5728030AhbuIs','1035574hqILwX','29888034znOSth','1VOfktd'];_0x37a7=function(){return _0x5bb159;};return _0x37a7();}export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24cb1a=_0x4ec6;(function(_0x1ae193,_0x30247b){const _0x596316=_0x4ec6,_0x14e85f=_0x1ae193();while(!![]){try{const _0x4f9397=-parseInt(_0x596316(0xea))/0x1+-parseInt(_0x596316(0x103))/0x2+parseInt(_0x596316(0xe3))/0x3+-parseInt(_0x596316(0xe2))/0x4+parseInt(_0x596316(0x11d))/0x5*(-parseInt(_0x596316(0x102))/0x6)+-parseInt(_0x596316(0xe8))/0x7*(parseInt(_0x596316(0x106))/0x8)+parseInt(_0x596316(0x10c))/0x9;if(_0x4f9397===_0x30247b)break;else _0x14e85f['push'](_0x14e85f['shift']());}catch(_0x4461b7){_0x14e85f['push'](_0x14e85f['shift']());}}}(_0x3b0d,0xea8e0));function _0x4ec6(_0x24e69f,_0xfae002){const _0x3b0d7d=_0x3b0d();return _0x4ec6=function(_0x4ec6d0,_0xc09dfc){_0x4ec6d0=_0x4ec6d0-0xe0;let _0x68232f=_0x3b0d7d[_0x4ec6d0];return _0x68232f;},_0x4ec6(_0x24e69f,_0xfae002);}import{icons as _0x29e8ff}from'ckeditor5/src/core.js';import{ObservableMixin as _0x46d8b7}from'ckeditor5/src/utils.js';import{Dialog as _0x92bbdc,DialogViewPosition as _0x37951c}from'ckeditor5/src/ui.js';import _0x13020b from'./uploadcareformview.js';import{UploadcareSource as _0x4bd164}from'../uploadcareconfig.js';import{getTranslation as _0x41834b}from'../utils/common-translations.js';function _0x3b0d(){const _0x3f18f7=['doneFlow','change','14QUZqVq','destroy','580862LvSymz','allEntries','done-click','width','focus','_initDialog','Insert','attributes','image','_editor','Local','_formView','ctxElement','selection','setCurrentActivity','setAttribute','removeAllFiles','Replace','linkHref','_dialog','model','element','hide','configElement','60qfJxLz','2512752iiUiPu','length','editing','7422064JqOZkY','imageBlock','get','text','execute','status','51648939wZtSiu','plugins','document','stopDelegating','isOpen','uuid','uploadCare','initFlow','EDITOR_TOP_CENTER','addEventListener','_insertAsset','getSelectedElement','detail','_editing','getAPI','show','_api','4615VNrJQe','stopListening','_type','_initListeners','insertImage','setSelection','view','source-list','_insertImage','imageInline','idle','imageUpload','getOutputCollectionState','imageInfo','6629804XzpsLm','1744200XKUjIQ','getLastPosition','removeSelectionAttribute'];_0x3b0d=function(){return _0x3f18f7;};return _0x3b0d();}import{getImageUrls as _0x3cd251,getImageDimension as _0x9cba0c}from'../utils/editingutils.js';import{isAncestor as _0x4494fd}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x46d8b7(){constructor(_0x3b4080,_0x5599c3,_0x21c313){const _0x134b6b=_0x4ec6;super(),this[_0x134b6b(0x11f)]=null,this[_0x134b6b(0xf5)]=null,this[_0x134b6b(0xf3)]=_0x3b4080,this[_0x134b6b(0x119)]=_0x5599c3,this[_0x134b6b(0xfd)]=_0x3b4080[_0x134b6b(0x10d)][_0x134b6b(0x108)](_0x92bbdc),this[_0x134b6b(0x11c)]=_0x5599c3[_0x134b6b(0xf6)][_0x134b6b(0x11a)](),this[_0x134b6b(0x11f)]=_0x21c313,this[_0x134b6b(0x119)][_0x134b6b(0x101)][_0x134b6b(0xf9)](_0x134b6b(0x124),this[_0x134b6b(0x11f)]),this[_0x134b6b(0xef)](),this[_0x134b6b(0x120)](),this[_0x134b6b(0x11c)][_0x134b6b(0x113)]();}[_0x24cb1a(0xe9)](){const _0x146029=_0x24cb1a;this[_0x146029(0xf5)]&&(this[_0x146029(0xf5)][_0x146029(0xe9)](),this[_0x146029(0xf5)]=null),this[_0x146029(0x11c)]&&this[_0x146029(0x11c)][_0x146029(0xe6)](),this[_0x146029(0x11e)](),this[_0x146029(0x10f)]();}[_0x24cb1a(0xef)](){const _0x1ba7e9=_0x24cb1a,{locale:_0x26de2e,model:_0x51d637}=this[_0x1ba7e9(0xf3)],_0x1c232=_0x51d637[_0x1ba7e9(0x10e)][_0x1ba7e9(0xf7)][_0x1ba7e9(0x117)](),_0x7338e5=_0x1c232&&(_0x1c232['is'](_0x1ba7e9(0xff),_0x1ba7e9(0x107))||_0x1c232['is'](_0x1ba7e9(0xff),_0x1ba7e9(0x126)));this[_0x1ba7e9(0xf5)]=new _0x13020b(_0x26de2e),this[_0x1ba7e9(0xfd)][_0x1ba7e9(0x11b)]({'id':_0x1ba7e9(0x112),'icon':_0x29e8ff[_0x1ba7e9(0x128)],'title':_0x41834b(_0x26de2e,this[_0x1ba7e9(0x11f)],_0x7338e5?_0x1ba7e9(0xfb):_0x1ba7e9(0xf0))[_0x1ba7e9(0x109)],'content':this[_0x1ba7e9(0xf5)],'position':_0x37951c[_0x1ba7e9(0x114)],'isModal':!0x0,'onShow':()=>{const _0x4d5773=_0x1ba7e9;this[_0x4d5773(0xf5)][_0x4d5773(0xee)]();},'onHide':()=>{const _0x3c101e=_0x1ba7e9;this[_0x3c101e(0x11c)][_0x3c101e(0xfa)](),this[_0x3c101e(0xf3)][_0x3c101e(0x105)][_0x3c101e(0x123)][_0x3c101e(0xee)](),this[_0x3c101e(0xe9)]();},'keystrokeHandlerOptions':{'filter':_0xd65055=>!_0x4494fd(_0xd65055,this[_0x1ba7e9(0xf5)][_0x1ba7e9(0xff)])}});}[_0x24cb1a(0x120)](){const _0x5668ec=_0x24cb1a;this[_0x5668ec(0x119)][_0x5668ec(0xf6)][_0x5668ec(0x115)](_0x5668ec(0xec),()=>{const _0x2bdae8=_0x5668ec,{allEntries:_0x1a967f}=this[_0x2bdae8(0x11c)][_0x2bdae8(0xe0)]();this[_0x2bdae8(0xf3)][_0x2bdae8(0xfe)][_0x2bdae8(0xe7)](_0x3587f0=>{const _0x235c7b=_0x2bdae8,_0x423801=_0x1a967f[_0x235c7b(0x104)];for(const _0x13f57c of _0x1a967f){const _0x3ecedd=_0x13f57c===_0x1a967f[_0x423801-0x1],{cdnUrl:_0x44bf02,fileInfo:_0x56d139}=_0x13f57c;if(!_0x44bf02||!_0x56d139)continue;const {width:_0x35b9d6,height:_0x2c6d0b}=_0x56d139[_0x235c7b(0xe1)],_0x4337e7=_0x9cba0c(_0x44bf02,_0x35b9d6,_0x2c6d0b),_0xb48557=_0x3cd251(_0x44bf02,_0x4337e7[_0x235c7b(0xed)]),_0x183698={'id':_0x56d139[_0x235c7b(0x111)],'type':_0x235c7b(0xf2),'attributes':{'imageDimension':_0x4337e7,..._0xb48557}};this[_0x235c7b(0x116)](_0x183698,_0x3ecedd,_0x3587f0);}}),this[_0x2bdae8(0xfd)][_0x2bdae8(0x100)]();}),this[_0x5668ec(0x119)][_0x5668ec(0xf6)][_0x5668ec(0x115)](_0x5668ec(0xe7),_0x1aca5f=>{const _0x310b99=_0x5668ec;_0x310b99(0x127)===_0x1aca5f[_0x310b99(0x118)][_0x310b99(0x10b)]&&!_0x1aca5f[_0x310b99(0x118)][_0x310b99(0xeb)][_0x310b99(0x104)]&&this[_0x310b99(0xfd)][_0x310b99(0x110)]&&(this[_0x310b99(0x11f)]===_0x4bd164[_0x310b99(0xf4)]?this[_0x310b99(0x11c)][_0x310b99(0xf8)](_0x4bd164[_0x310b99(0xf4)]):this[_0x310b99(0x11c)][_0x310b99(0x113)]());});}[_0x24cb1a(0x116)](_0x44ad7b,_0x2c37e9,_0x2ede66){const _0x771a61=_0x24cb1a,_0x170273=this[_0x771a61(0xf3)][_0x771a61(0xfe)][_0x771a61(0x10e)][_0x771a61(0xf7)],_0x1d6e6b=_0x170273[_0x771a61(0x117)](),_0x3954cd=!(!_0x1d6e6b||!_0x1d6e6b['is'](_0x771a61(0xff),_0x771a61(0x126)));_0x2ede66[_0x771a61(0xe5)](_0x771a61(0xfc)),this[_0x771a61(0x125)](_0x44ad7b,_0x3954cd),_0x2c37e9||_0x2ede66[_0x771a61(0x122)](_0x170273[_0x771a61(0xe4)]());}[_0x24cb1a(0x125)](_0x18de84,_0x3d7f70){const _0x2c6c8e=_0x24cb1a,_0x110fa7=this[_0x2c6c8e(0xf3)],{imageDimension:_0x3c3358,imageFallbackUrl:_0x26eb58,imageSources:_0x301551}=_0x18de84[_0x2c6c8e(0xf1)];_0x110fa7[_0x2c6c8e(0x10a)](_0x2c6c8e(0x121),{'imageType':_0x3d7f70?_0x2c6c8e(0x126):null,'source':{'uploadcareImageId':_0x18de84['id'],'src':_0x26eb58,'sources':_0x301551,..._0x3c3358}});}}
23
+ const _0x2d0b8e=_0x2092;(function(_0x429dc3,_0x552298){const _0x4257a6=_0x2092,_0x3f270c=_0x429dc3();while(!![]){try{const _0x1ab02e=parseInt(_0x4257a6(0xd6))/0x1+-parseInt(_0x4257a6(0xca))/0x2+-parseInt(_0x4257a6(0xe1))/0x3*(-parseInt(_0x4257a6(0xd4))/0x4)+-parseInt(_0x4257a6(0xe3))/0x5+-parseInt(_0x4257a6(0xc7))/0x6*(-parseInt(_0x4257a6(0x102))/0x7)+parseInt(_0x4257a6(0xf5))/0x8*(parseInt(_0x4257a6(0xee))/0x9)+-parseInt(_0x4257a6(0xfb))/0xa;if(_0x1ab02e===_0x552298)break;else _0x3f270c['push'](_0x3f270c['shift']());}catch(_0x194ecf){_0x3f270c['push'](_0x3f270c['shift']());}}}(_0x4e4c,0x73aa9));import{icons as _0x25d790}from'ckeditor5/src/core.js';import{ObservableMixin as _0x4c860e}from'ckeditor5/src/utils.js';import{Dialog as _0x23ac92,DialogViewPosition as _0x5619a2}from'ckeditor5/src/ui.js';import _0x1206dd from'./uploadcareformview.js';function _0x2092(_0x47716b,_0x185666){const _0x4e4c27=_0x4e4c();return _0x2092=function(_0x209211,_0xffcf6d){_0x209211=_0x209211-0xbb;let _0x397183=_0x4e4c27[_0x209211];return _0x397183;},_0x2092(_0x47716b,_0x185666);}import{UploadcareSource as _0x21fd7a}from'../uploadcareconfig.js';import{getTranslation as _0xad3a81}from'../utils/common-translations.js';import{getImageUrls as _0x44ad20,getImageDimension as _0x4c117f}from'../utils/editingutils.js';import{isAncestor as _0xb4d0aa}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x4c860e(){constructor(_0x5111d2,_0x2c0d93,_0x33c554){const _0x35d1b0=_0x2092;super(),this[_0x35d1b0(0xce)]=null,this[_0x35d1b0(0xd5)]=null,this[_0x35d1b0(0xf7)]=_0x5111d2,this[_0x35d1b0(0xfd)]=_0x2c0d93,this[_0x35d1b0(0xbc)]=_0x5111d2[_0x35d1b0(0xeb)][_0x35d1b0(0xe8)](_0x23ac92),this[_0x35d1b0(0xc2)]=_0x2c0d93[_0x35d1b0(0xf3)][_0x35d1b0(0xe6)](),this[_0x35d1b0(0xce)]=_0x33c554,this[_0x35d1b0(0xfd)][_0x35d1b0(0xbf)][_0x35d1b0(0xc3)](_0x35d1b0(0xdc),this[_0x35d1b0(0xce)]),this[_0x35d1b0(0xd1)](),this[_0x35d1b0(0xfe)](),this[_0x35d1b0(0xc2)][_0x35d1b0(0xf6)]();}[_0x2d0b8e(0xea)](){const _0x345371=_0x2d0b8e;this[_0x345371(0xd5)]&&(this[_0x345371(0xd5)][_0x345371(0xea)](),this[_0x345371(0xd5)]=null),this[_0x345371(0xc2)]&&this[_0x345371(0xc2)][_0x345371(0xf1)](),this[_0x345371(0xff)](),this[_0x345371(0xdf)]();}[_0x2d0b8e(0xd1)](){const _0x3276cf=_0x2d0b8e,{locale:_0x105dcb,model:_0x2f2ac1}=this[_0x3276cf(0xf7)],_0x42c2d2=_0x2f2ac1[_0x3276cf(0xcb)][_0x3276cf(0x100)][_0x3276cf(0xcf)](),_0x283f38=_0x42c2d2&&(_0x42c2d2['is'](_0x3276cf(0xf0),_0x3276cf(0xd8))||_0x42c2d2['is'](_0x3276cf(0xf0),_0x3276cf(0xe2)));this[_0x3276cf(0xd5)]=new _0x1206dd(_0x105dcb),this[_0x3276cf(0xbc)][_0x3276cf(0xf2)]({'id':_0x3276cf(0xfa),'icon':_0x25d790[_0x3276cf(0xe5)],'title':_0xad3a81(_0x105dcb,this[_0x3276cf(0xce)],_0x283f38?_0x3276cf(0xdb):_0x3276cf(0xc9))[_0x3276cf(0x101)],'content':this[_0x3276cf(0xd5)],'position':_0x5619a2[_0x3276cf(0x104)],'isModal':!0x0,'onShow':()=>{const _0x513430=_0x3276cf;this[_0x513430(0xd5)][_0x513430(0xc5)]();},'onHide':()=>{const _0x1a0019=_0x3276cf;this[_0x1a0019(0xc2)][_0x1a0019(0xf4)](),this[_0x1a0019(0xf7)][_0x1a0019(0xbd)][_0x1a0019(0xd7)][_0x1a0019(0xc5)](),this[_0x1a0019(0xea)]();},'keystrokeHandlerOptions':{'filter':_0xc9eaa3=>!_0xb4d0aa(_0xc9eaa3,this[_0x3276cf(0xd5)][_0x3276cf(0xf0)])}});}[_0x2d0b8e(0xfe)](){const _0x18e163=_0x2d0b8e;this[_0x18e163(0xfd)][_0x18e163(0xf3)][_0x18e163(0xe7)](_0x18e163(0xd3),()=>{const _0xa3edb4=_0x18e163,{allEntries:_0x34fe32}=this[_0xa3edb4(0xc2)][_0xa3edb4(0xde)]();this[_0xa3edb4(0xf7)][_0xa3edb4(0xdd)][_0xa3edb4(0xda)](_0x497a5f=>{const _0x191570=_0xa3edb4,_0x4d310d=_0x34fe32[_0x191570(0xe4)];for(const _0x29daee of _0x34fe32){const _0x636a60=_0x29daee===_0x34fe32[_0x4d310d-0x1],{cdnUrl:_0x256851,fileInfo:_0x23fddd}=_0x29daee;if(!_0x256851||!_0x23fddd)continue;const {width:_0x2fade1,height:_0x57d989}=_0x23fddd[_0x191570(0xd9)],_0x470276=_0x4c117f(_0x256851,_0x2fade1,_0x57d989),_0x37b404=_0x44ad20(_0x256851,_0x470276[_0x191570(0xbb)]),_0xbea506={'id':_0x23fddd[_0x191570(0xc4)],'type':_0x191570(0xec),'attributes':{'imageDimension':_0x470276,..._0x37b404}};this[_0x191570(0xf8)](_0xbea506,_0x636a60,_0x497a5f);}}),this[_0xa3edb4(0xbc)][_0xa3edb4(0xcd)]();}),this[_0x18e163(0xfd)][_0x18e163(0xf3)][_0x18e163(0xe7)](_0x18e163(0xda),_0x235922=>{const _0x519e41=_0x18e163;_0x519e41(0xed)===_0x235922[_0x519e41(0xc6)][_0x519e41(0xfc)]&&!_0x235922[_0x519e41(0xc6)][_0x519e41(0xd2)][_0x519e41(0xe4)]&&this[_0x519e41(0xbc)][_0x519e41(0xcc)]&&(this[_0x519e41(0xce)]===_0x21fd7a[_0x519e41(0xe0)]?this[_0x519e41(0xc2)][_0x519e41(0xc0)](_0x21fd7a[_0x519e41(0xe0)]):this[_0x519e41(0xc2)][_0x519e41(0xf6)]());});}[_0x2d0b8e(0xf8)](_0x5899da,_0x490a9d,_0x12520e){const _0x11a3d6=_0x2d0b8e,_0x21bf73=this[_0x11a3d6(0xf7)][_0x11a3d6(0xdd)][_0x11a3d6(0xcb)][_0x11a3d6(0x100)],_0x562e13=_0x21bf73[_0x11a3d6(0xcf)](),_0x4db243=!(!_0x562e13||!_0x562e13['is'](_0x11a3d6(0xf0),_0x11a3d6(0xe2)));_0x12520e[_0x11a3d6(0x103)](_0x11a3d6(0xf9)),this[_0x11a3d6(0xbe)](_0x5899da,_0x4db243),_0x490a9d||_0x12520e[_0x11a3d6(0xc1)](_0x21bf73[_0x11a3d6(0xc8)]());}[_0x2d0b8e(0xbe)](_0x116740,_0x5e15e0){const _0x44a98b=_0x2d0b8e,_0x1325ce=this[_0x44a98b(0xf7)],{imageDimension:_0x1fd049,imageFallbackUrl:_0x25cb53,imageSources:_0x46fe67}=_0x116740[_0x44a98b(0xef)];_0x1325ce[_0x44a98b(0xe9)](_0x44a98b(0xd0),{'imageType':_0x5e15e0?_0x44a98b(0xe2):null,'source':{'uploadcareImageId':_0x116740['id'],'src':_0x25cb53,'sources':_0x46fe67,..._0x1fd049}});}}function _0x4e4c(){const _0x3c8023=['_initDialog','allEntries','done-click','4jGxRum','_formView','658325uWWfQn','view','imageBlock','imageInfo','change','Replace','source-list','model','getOutputCollectionState','stopDelegating','Local','292509fShmwx','imageInline','3812520AeMjVb','length','imageUpload','getAPI','addEventListener','get','execute','destroy','plugins','image','idle','123129TLpTDY','attributes','element','doneFlow','show','ctxElement','removeAllFiles','312NpDGyf','initFlow','_editor','_insertAsset','linkHref','uploadCare','2372480RpXnoj','status','_editing','_initListeners','stopListening','selection','text','253897oNykvM','removeSelectionAttribute','EDITOR_TOP_CENTER','width','_dialog','editing','_insertImage','configElement','setCurrentActivity','setSelection','_api','setAttribute','uuid','focus','detail','144iXJGtn','getLastPosition','Insert','1372740muwevK','document','isOpen','hide','_type','getSelectedElement','insertImage'];_0x4e4c=function(){return _0x3c8023;};return _0x4e4c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x534ab3=_0x329f;function _0x329f(_0x38cecf,_0x12184a){var _0x1ec8e6=_0x1ec8();return _0x329f=function(_0x329f0f,_0x4dc44b){_0x329f0f=_0x329f0f-0x14e;var _0xe6f582=_0x1ec8e6[_0x329f0f];return _0xe6f582;},_0x329f(_0x38cecf,_0x12184a);}function _0x1ec8(){var _0xb9a60c=['div','1011790yIaPJa','200575KKrfdm','uploader','4563152wrMYGt','element','39880eJEnzd','focus','uc-light','uc-file-uploader-inline','16749pvLVrV','25akiylI','1183vIMtxI','979977zKKIcf','48yfQSFK','1215822LWHiuY','ck-reset_all-excluded','setTemplate','ck-uploadcare-theme','8WmBoID','ck-uploadcare-form','5890ghKZkz','getFocusableElement'];_0x1ec8=function(){return _0xb9a60c;};return _0x1ec8();}(function(_0x373018,_0x5861e2){var _0x14ba3a=_0x329f,_0x164b65=_0x373018();while(!![]){try{var _0x530c9e=-parseInt(_0x14ba3a(0x157))/0x1+parseInt(_0x14ba3a(0x156))/0x2+-parseInt(_0x14ba3a(0x162))/0x3*(parseInt(_0x14ba3a(0x151))/0x4)+-parseInt(_0x14ba3a(0x160))/0x5*(parseInt(_0x14ba3a(0x164))/0x6)+-parseInt(_0x14ba3a(0x161))/0x7*(parseInt(_0x14ba3a(0x15b))/0x8)+parseInt(_0x14ba3a(0x15f))/0x9*(parseInt(_0x14ba3a(0x153))/0xa)+parseInt(_0x14ba3a(0x159))/0xb*(parseInt(_0x14ba3a(0x163))/0xc);if(_0x530c9e===_0x5861e2)break;else _0x164b65['push'](_0x164b65['shift']());}catch(_0x20f980){_0x164b65['push'](_0x164b65['shift']());}}}(_0x1ec8,0x86b81));import _0xfe4316 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0xfe4316{constructor(_0x5c1386){var _0x3882c8=_0x329f;super(_0x5c1386),this[_0x3882c8(0x14f)]({'tag':_0x3882c8(0x155),'attributes':{'class':['ck',_0x3882c8(0x14e),_0x3882c8(0x152)],'tabindex':'-1'},'children':[{'tag':_0x3882c8(0x15e),'attributes':{'class':[_0x3882c8(0x15d),_0x3882c8(0x150)],'ctx-name':_0x3882c8(0x158)}},this[_0x3882c8(0x154)]()]});}[_0x534ab3(0x15c)](){var _0x21489d=_0x534ab3;this[_0x21489d(0x15a)][_0x21489d(0x15c)]();}}
23
+ var _0x629a23=_0x297d;(function(_0x42f8fb,_0xd123f9){var _0xa0af6d=_0x297d,_0x8a48f1=_0x42f8fb();while(!![]){try{var _0xc0fe34=parseInt(_0xa0af6d(0x6a))/0x1*(parseInt(_0xa0af6d(0x7a))/0x2)+parseInt(_0xa0af6d(0x6c))/0x3+-parseInt(_0xa0af6d(0x7d))/0x4*(-parseInt(_0xa0af6d(0x69))/0x5)+-parseInt(_0xa0af6d(0x6f))/0x6*(parseInt(_0xa0af6d(0x7c))/0x7)+parseInt(_0xa0af6d(0x74))/0x8*(-parseInt(_0xa0af6d(0x7e))/0x9)+parseInt(_0xa0af6d(0x79))/0xa*(-parseInt(_0xa0af6d(0x68))/0xb)+parseInt(_0xa0af6d(0x70))/0xc;if(_0xc0fe34===_0xd123f9)break;else _0x8a48f1['push'](_0x8a48f1['shift']());}catch(_0x2ab521){_0x8a48f1['push'](_0x8a48f1['shift']());}}}(_0x12dc,0xd376e));function _0x297d(_0xc450e8,_0x1f790f){var _0x12dc0f=_0x12dc();return _0x297d=function(_0x297d9f,_0xab8749){_0x297d9f=_0x297d9f-0x68;var _0x505a32=_0x12dc0f[_0x297d9f];return _0x505a32;},_0x297d(_0xc450e8,_0x1f790f);}import _0x42d90c from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x12dc(){var _0x386e5e=['10864164kDGAqU','element','uc-light','ck-uploadcare-form','6368bWFiAh','uploader','ck-reset_all-excluded','uc-file-uploader-inline','getFocusableElement','4866770vkmMDy','2ZHbMpV','focus','9873612BqMYUY','4zXGwRR','10611zwsJes','11blfhpn','2019885MmkFfY','1199263luXMDU','div','3579744DhmdhA','setTemplate','ck-uploadcare-theme','6bXZHyq'];_0x12dc=function(){return _0x386e5e;};return _0x12dc();}export default class S extends _0x42d90c{constructor(_0x1a4262){var _0x36d07a=_0x297d;super(_0x1a4262),this[_0x36d07a(0x6d)]({'tag':_0x36d07a(0x6b),'attributes':{'class':['ck',_0x36d07a(0x76),_0x36d07a(0x73)],'tabindex':'-1'},'children':[{'tag':_0x36d07a(0x77),'attributes':{'class':[_0x36d07a(0x72),_0x36d07a(0x6e)],'ctx-name':_0x36d07a(0x75)}},this[_0x36d07a(0x78)]()]});}[_0x629a23(0x7b)](){var _0x147b3d=_0x629a23;this[_0x147b3d(0x71)][_0x147b3d(0x7b)]();}}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x219dcc=_0x485a;(function(_0x3a84d6,_0x16bfcc){var _0x2151f9=_0x485a,_0x1b95dc=_0x3a84d6();while(!![]){try{var _0x3645df=-parseInt(_0x2151f9(0xb1))/0x1+-parseInt(_0x2151f9(0xad))/0x2+parseInt(_0x2151f9(0xbb))/0x3+parseInt(_0x2151f9(0xaf))/0x4*(parseInt(_0x2151f9(0xb4))/0x5)+parseInt(_0x2151f9(0xae))/0x6+-parseInt(_0x2151f9(0xac))/0x7+parseInt(_0x2151f9(0xb0))/0x8;if(_0x3645df===_0x16bfcc)break;else _0x1b95dc['push'](_0x1b95dc['shift']());}catch(_0x1a97fc){_0x1b95dc['push'](_0x1b95dc['shift']());}}}(_0x424d,0xc2be7));import{Plugin as _0x5f272b}from'ckeditor5/src/core.js';function _0x485a(_0x534eb7,_0x4c6afa){var _0x424d61=_0x424d();return _0x485a=function(_0x485a68,_0x5e0e34){_0x485a68=_0x485a68-0xaa;var _0x2380ac=_0x424d61[_0x485a68];return _0x2380ac;},_0x485a(_0x534eb7,_0x4c6afa);}function _0x424d(){var _0x18ce50=['define','Uploadcare','2500257IAYGnQ','isPremiumPlugin','isOfficialPlugin','uploadcare.uploader.sourceList','3163762zmTWEC','1630616ufOGfy','1925628GKNlAL','12mMvHvC','7187936omvyit','799578pWndau','requires','Local','1352790tTozQA','defineComponents','config','URL','pluginName'];_0x424d=function(){return _0x18ce50;};return _0x424d();}import _0x386113 from'./uploadcareui.js';import _0x2b911f from'./uploadcareediting.js';import{UploadcareSource as _0x50afed}from'./uploadcareconfig.js';import*as _0x35c770 from'@uploadcare/file-uploader';export default class u extends _0x5f272b{static get[_0x219dcc(0xb2)](){return[_0x2b911f,_0x386113];}static get[_0x219dcc(0xb8)](){var _0x3a0dde=_0x219dcc;return _0x3a0dde(0xba);}static get[_0x219dcc(0xaa)](){return!0x0;}static get[_0x219dcc(0xbc)](){return!0x0;}constructor(_0x22f00d){var _0x421d64=_0x219dcc;super(_0x22f00d),_0x22f00d[_0x421d64(0xb6)][_0x421d64(0xb9)](_0x421d64(0xab),[_0x50afed[_0x421d64(0xb3)],_0x50afed[_0x421d64(0xb7)]]),_0x35c770[_0x421d64(0xb5)](_0x35c770);}}
23
+ var _0x3bdab0=_0x580a;(function(_0xf9db3,_0x489ce7){var _0x137c40=_0x580a,_0x19ca8c=_0xf9db3();while(!![]){try{var _0x54d974=parseInt(_0x137c40(0x102))/0x1+parseInt(_0x137c40(0xf0))/0x2*(parseInt(_0x137c40(0xfe))/0x3)+parseInt(_0x137c40(0x100))/0x4+parseInt(_0x137c40(0xf9))/0x5+parseInt(_0x137c40(0xfb))/0x6+-parseInt(_0x137c40(0x104))/0x7*(parseInt(_0x137c40(0x103))/0x8)+parseInt(_0x137c40(0xfa))/0x9*(-parseInt(_0x137c40(0xfd))/0xa);if(_0x54d974===_0x489ce7)break;else _0x19ca8c['push'](_0x19ca8c['shift']());}catch(_0xde1da9){_0x19ca8c['push'](_0x19ca8c['shift']());}}}(_0x3315,0x5ae65));import{Plugin as _0x380012}from'ckeditor5/src/core.js';function _0x3315(){var _0x2fae92=['30ylwdpG','Uploadcare','2074424mzEdfk','pluginName','6410vtGidm','784PTwxjm','1722VijwoU','24278qNdlZq','URL','requires','Local','isOfficialPlugin','uploadcare.uploader.sourceList','define','isPremiumPlugin','defineComponents','2298460ZSUoGo','1089135YMEseT','3729000kZWFUN','config','110NtQsbT'];_0x3315=function(){return _0x2fae92;};return _0x3315();}import _0x11f4ba from'./uploadcareui.js';import _0x7e9663 from'./uploadcareediting.js';import{UploadcareSource as _0x143956}from'./uploadcareconfig.js';import*as _0x2f4a8a from'@uploadcare/file-uploader';function _0x580a(_0x43bee8,_0x4ef8a8){var _0x3315a4=_0x3315();return _0x580a=function(_0x580a18,_0x3abfd8){_0x580a18=_0x580a18-0xf0;var _0x19232f=_0x3315a4[_0x580a18];return _0x19232f;},_0x580a(_0x43bee8,_0x4ef8a8);}export default class u extends _0x380012{static get[_0x3bdab0(0xf2)](){return[_0x7e9663,_0x11f4ba];}static get[_0x3bdab0(0x101)](){var _0x34a2ad=_0x3bdab0;return _0x34a2ad(0xff);}static get[_0x3bdab0(0xf4)](){return!0x0;}static get[_0x3bdab0(0xf7)](){return!0x0;}constructor(_0xca77e5){var _0x23457d=_0x3bdab0;super(_0xca77e5),_0xca77e5[_0x23457d(0xfc)][_0x23457d(0xf6)](_0x23457d(0xf5),[_0x143956[_0x23457d(0xf3)],_0x143956[_0x23457d(0xf1)]]),_0x2f4a8a[_0x23457d(0xf8)](_0x2f4a8a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1287b6=_0x486e;(function(_0x1a545d,_0x3fa815){var _0x7a0c3d=_0x486e,_0x2abea3=_0x1a545d();while(!![]){try{var _0x57a56c=parseInt(_0x7a0c3d(0xeb))/0x1*(parseInt(_0x7a0c3d(0xe1))/0x2)+-parseInt(_0x7a0c3d(0xea))/0x3*(parseInt(_0x7a0c3d(0xda))/0x4)+parseInt(_0x7a0c3d(0xe4))/0x5*(-parseInt(_0x7a0c3d(0xee))/0x6)+parseInt(_0x7a0c3d(0xef))/0x7*(-parseInt(_0x7a0c3d(0xe0))/0x8)+parseInt(_0x7a0c3d(0xdf))/0x9*(parseInt(_0x7a0c3d(0xdc))/0xa)+parseInt(_0x7a0c3d(0xe5))/0xb+parseInt(_0x7a0c3d(0xf1))/0xc*(-parseInt(_0x7a0c3d(0xdb))/0xd);if(_0x57a56c===_0x3fa815)break;else _0x2abea3['push'](_0x2abea3['shift']());}catch(_0x240f2b){_0x2abea3['push'](_0x2abea3['shift']());}}}(_0x199e,0x97fa9));function _0x486e(_0x2a06ee,_0x3cf866){var _0x199e30=_0x199e();return _0x486e=function(_0x486eb3,_0x3cce95){_0x486eb3=_0x486eb3-0xd9;var _0x3a3a20=_0x199e30[_0x486eb3];return _0x3a3a20;},_0x486e(_0x2a06ee,_0x3cf866);}import{Command as _0x1ac256}from'ckeditor5/src/core.js';function _0x199e(){var _0xc64fed=['commands','insertImage','_controller','destroy','3jXieSU','6xVAqcX','get','_checkEnabled','30ctfFgN','14OgJZiS','_editing','3872472AZMIeX','refresh','editor','1696544cjSCRL','26WFhiOx','90yWJKam','plugins','isEnabled','1037583MCBzvJ','1486744JkocMJ','5730FxvgCc','execute','requires','63425RuHGOA','11796301HKMKeh'];_0x199e=function(){return _0xc64fed;};return _0x199e();}import{Dialog as _0x2228bb}from'ckeditor5/src/ui.js';import _0x541d86 from'./uploadcareediting.js';import _0x12c695 from'./ui/uploadcarecontroller.js';export default class l extends _0x1ac256{static get[_0x1287b6(0xe3)](){return[_0x2228bb,_0x541d86];}constructor(_0x2ea3f4){var _0x39afc1=_0x1287b6;super(_0x2ea3f4),this[_0x39afc1(0xe8)]=null,this[_0x39afc1(0xf0)]=_0x2ea3f4[_0x39afc1(0xdd)][_0x39afc1(0xec)](_0x541d86);}[_0x1287b6(0xf2)](){var _0x1ce7f6=_0x1287b6;this[_0x1ce7f6(0xde)]=this[_0x1ce7f6(0xed)]();}[_0x1287b6(0xe2)](_0x1259e4){var _0x114236=_0x1287b6;this[_0x114236(0xe8)]&&(this[_0x114236(0xe8)][_0x114236(0xe9)](),this[_0x114236(0xe8)]=null),this[_0x114236(0xe8)]=new _0x12c695(this[_0x114236(0xd9)],this[_0x114236(0xf0)],_0x1259e4);}[_0x1287b6(0xed)](){var _0xd3adeb=_0x1287b6;return this[_0xd3adeb(0xd9)][_0xd3adeb(0xe6)][_0xd3adeb(0xec)](_0xd3adeb(0xe7))[_0xd3adeb(0xde)];}}
23
+ var _0x513bf2=_0x4f27;(function(_0x19b328,_0x5a4ea2){var _0x78bcd8=_0x4f27,_0x2960ef=_0x19b328();while(!![]){try{var _0x5cc463=-parseInt(_0x78bcd8(0x156))/0x1*(-parseInt(_0x78bcd8(0x15a))/0x2)+-parseInt(_0x78bcd8(0x163))/0x3+-parseInt(_0x78bcd8(0x15c))/0x4*(-parseInt(_0x78bcd8(0x165))/0x5)+-parseInt(_0x78bcd8(0x159))/0x6*(parseInt(_0x78bcd8(0x157))/0x7)+-parseInt(_0x78bcd8(0x167))/0x8+parseInt(_0x78bcd8(0x15b))/0x9*(parseInt(_0x78bcd8(0x155))/0xa)+parseInt(_0x78bcd8(0x15e))/0xb;if(_0x5cc463===_0x5a4ea2)break;else _0x2960ef['push'](_0x2960ef['shift']());}catch(_0x115b09){_0x2960ef['push'](_0x2960ef['shift']());}}}(_0x4464,0x1d216));import{Command as _0x57be11}from'ckeditor5/src/core.js';import{Dialog as _0xad5374}from'ckeditor5/src/ui.js';function _0x4464(){var _0x3592af=['8963ctcoTv','7epkMTy','execute','1337946phsWmT','4raObPs','28926lSbViG','1936tRPGuy','requires','3681183MnGhqu','_checkEnabled','insertImage','_controller','destroy','565095gSXTBp','editor','675FYrudk','commands','872088TlgGlH','_editing','refresh','get','isEnabled','plugins','690hSbhJH'];_0x4464=function(){return _0x3592af;};return _0x4464();}function _0x4f27(_0x1317f9,_0x315b0e){var _0x446472=_0x4464();return _0x4f27=function(_0x4f274e,_0x21306b){_0x4f274e=_0x4f274e-0x150;var _0x1ffb35=_0x446472[_0x4f274e];return _0x1ffb35;},_0x4f27(_0x1317f9,_0x315b0e);}import _0xe213cd from'./uploadcareediting.js';import _0x115da2 from'./ui/uploadcarecontroller.js';export default class l extends _0x57be11{static get[_0x513bf2(0x15d)](){return[_0xad5374,_0xe213cd];}constructor(_0x2a31ab){var _0x192a32=_0x513bf2;super(_0x2a31ab),this[_0x192a32(0x161)]=null,this[_0x192a32(0x150)]=_0x2a31ab[_0x192a32(0x154)][_0x192a32(0x152)](_0xe213cd);}[_0x513bf2(0x151)](){var _0x5459ff=_0x513bf2;this[_0x5459ff(0x153)]=this[_0x5459ff(0x15f)]();}[_0x513bf2(0x158)](_0x574c8d){var _0x38a67c=_0x513bf2;this[_0x38a67c(0x161)]&&(this[_0x38a67c(0x161)][_0x38a67c(0x162)](),this[_0x38a67c(0x161)]=null),this[_0x38a67c(0x161)]=new _0x115da2(this[_0x38a67c(0x164)],this[_0x38a67c(0x150)],_0x574c8d);}[_0x513bf2(0x15f)](){var _0x5ebafc=_0x513bf2;return this[_0x5ebafc(0x164)][_0x5ebafc(0x166)][_0x5ebafc(0x152)](_0x5ebafc(0x160))[_0x5ebafc(0x153)];}}
@@ -35,7 +35,6 @@ import type { ConfigType } from '@uploadcare/file-uploader';
35
35
  * sourceList: [
36
36
  * 'local',
37
37
  * 'url',
38
- * 'instagram',
39
38
  * 'gdrive'
40
39
  * ],
41
40
  * },
@@ -48,7 +47,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
48
47
  *
49
48
  * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
50
49
  */
51
- export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
50
+ export interface UploadcareConfig {
52
51
  /**
53
52
  * The public key used for communication with the Uploadcare services.
54
53
  *
@@ -67,7 +66,6 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
67
66
  * * 'gdrive'
68
67
  * * 'facebook'
69
68
  * * 'gphotos'
70
- * * 'instagram'
71
69
  * * 'onedrive'
72
70
  *
73
71
  * Additionally, below options are not supported:
@@ -81,7 +79,7 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
81
79
  *
82
80
  * All other options documented in the Uploadcare documentation are supported.
83
81
  */
84
- uploader: UploadcareUploaderConfig;
82
+ uploader?: UploadcareUploaderConfig;
85
83
  /**
86
84
  * Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
87
85
  *
@@ -91,7 +89,7 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
91
89
  * Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
92
90
  * are not supported in the config options.
93
91
  */
94
- editor: UploadcareEditorConfig;
92
+ editor?: UploadcareEditorConfig;
95
93
  /**
96
94
  * Allows editing images that are not hosted in Uploadcare service.
97
95
  *
@@ -116,13 +114,13 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
116
114
  *
117
115
  * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
118
116
  */
119
- export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
117
+ export interface UploadcareUploaderConfig extends Partial<Omit<ConfigType, ExcludedKeys | 'sourceList'>> {
120
118
  /**
121
119
  * Comma-separated list of file sources.
122
120
  *
123
121
  * @default [ 'local', 'url' ]
124
122
  */
125
- sourceList?: Array<UploadcareSource>;
123
+ sourceList?: Array<UploadcareSourceValue>;
126
124
  }
127
125
  /**
128
126
  * Configuration for the Uploadcare Image Editor component.
@@ -148,9 +146,12 @@ export declare enum UploadcareSource {
148
146
  GDrive = "gdrive",
149
147
  Facebook = "facebook",
150
148
  GPhotos = "gphotos",
151
- Instagram = "instagram",
152
149
  OneDrive = "onedrive"
153
150
  }
151
+ /**
152
+ * Values for all available upload sources.
153
+ */
154
+ export type UploadcareSourceValue = `${UploadcareSource}`;
154
155
  /**
155
156
  * Image asset definition.
156
157
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bcc(){var _0x4fe68b=['local','1685708hPorNL','7CZogym','onedrive','Local','gphotos','4659032IWNiRb','6EJaPgc','6892056ERYCXr','40hUSfqk','Dropbox','1088676yZevuq','dropbox','facebook','3492110iAExlx','Facebook','gdrive','url','GDrive','URL','242494kVHuEM','OneDrive','556899JpGUVX','GPhotos','Instagram','instagram'];_0x4bcc=function(){return _0x4fe68b;};return _0x4bcc();}(function(_0x339218,_0x1dff9d){var _0x416413=_0x49fb,_0x25fa6a=_0x339218();while(!![]){try{var _0x523550=-parseInt(_0x416413(0x1e6))/0x1+-parseInt(_0x416413(0x1f3))/0x2*(parseInt(_0x416413(0x1e8))/0x3)+-parseInt(_0x416413(0x1ed))/0x4+-parseInt(_0x416413(0x1fa))/0x5+parseInt(_0x416413(0x1f7))/0x6*(-parseInt(_0x416413(0x1ee))/0x7)+-parseInt(_0x416413(0x1f2))/0x8+parseInt(_0x416413(0x1f4))/0x9*(parseInt(_0x416413(0x1f5))/0xa);if(_0x523550===_0x1dff9d)break;else _0x25fa6a['push'](_0x25fa6a['shift']());}catch(_0x492e0d){_0x25fa6a['push'](_0x25fa6a['shift']());}}}(_0x4bcc,0x5cca5));function _0x49fb(_0x2696a8,_0x19a1b0){var _0x4bcc8f=_0x4bcc();return _0x49fb=function(_0x49fb3a,_0x15be0e){_0x49fb3a=_0x49fb3a-0x1e4;var _0x7829e2=_0x4bcc8f[_0x49fb3a];return _0x7829e2;},_0x49fb(_0x2696a8,_0x19a1b0);}export var UploadcareSource;!function(_0x97d34d){var _0x453499=_0x49fb;_0x97d34d[_0x453499(0x1f0)]=_0x453499(0x1ec),_0x97d34d[_0x453499(0x1e5)]=_0x453499(0x1fd),_0x97d34d[_0x453499(0x1f6)]=_0x453499(0x1f8),_0x97d34d[_0x453499(0x1e4)]=_0x453499(0x1fc),_0x97d34d[_0x453499(0x1fb)]=_0x453499(0x1f9),_0x97d34d[_0x453499(0x1e9)]=_0x453499(0x1f1),_0x97d34d[_0x453499(0x1ea)]=_0x453499(0x1eb),_0x97d34d[_0x453499(0x1e7)]=_0x453499(0x1ef);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x5380(_0x1a8cdc,_0x2c4650){var _0x1264d9=_0x1264();return _0x5380=function(_0x5380a9,_0x575733){_0x5380a9=_0x5380a9-0xad;var _0x5e3ff6=_0x1264d9[_0x5380a9];return _0x5e3ff6;},_0x5380(_0x1a8cdc,_0x2c4650);}(function(_0x3df174,_0x3f8d57){var _0xb8f66=_0x5380,_0x3f4461=_0x3df174();while(!![]){try{var _0x5b53da=parseInt(_0xb8f66(0xb1))/0x1+-parseInt(_0xb8f66(0xb6))/0x2*(-parseInt(_0xb8f66(0xc4))/0x3)+-parseInt(_0xb8f66(0xba))/0x4*(parseInt(_0xb8f66(0xad))/0x5)+parseInt(_0xb8f66(0xb7))/0x6*(parseInt(_0xb8f66(0xaf))/0x7)+-parseInt(_0xb8f66(0xc1))/0x8*(-parseInt(_0xb8f66(0xb4))/0x9)+parseInt(_0xb8f66(0xb5))/0xa*(-parseInt(_0xb8f66(0xbe))/0xb)+parseInt(_0xb8f66(0xb2))/0xc;if(_0x5b53da===_0x3f8d57)break;else _0x3f4461['push'](_0x3f4461['shift']());}catch(_0x44b5e8){_0x3f4461['push'](_0x3f4461['shift']());}}}(_0x1264,0xeba93));function _0x1264(){var _0x1661c1=['5294703XLgeJU','gphotos','local','521585zZaZWr','facebook','2342193VHuEkS','OneDrive','69327SuMrSV','10205460ZVefEd','url','27OlExwL','18545890NCEMsi','2TXIgTF','18IugekT','Dropbox','dropbox','52pRLfBi','Facebook','GDrive','URL','11TLPbPQ','gdrive','Local','1299992INEkWA','onedrive','GPhotos'];_0x1264=function(){return _0x1661c1;};return _0x1264();}export var UploadcareSource;!function(_0x2cda2d){var _0x6d39d0=_0x5380;_0x2cda2d[_0x6d39d0(0xc0)]=_0x6d39d0(0xc6),_0x2cda2d[_0x6d39d0(0xbd)]=_0x6d39d0(0xb3),_0x2cda2d[_0x6d39d0(0xb8)]=_0x6d39d0(0xb9),_0x2cda2d[_0x6d39d0(0xbc)]=_0x6d39d0(0xbf),_0x2cda2d[_0x6d39d0(0xbb)]=_0x6d39d0(0xae),_0x2cda2d[_0x6d39d0(0xc3)]=_0x6d39d0(0xc5),_0x2cda2d[_0x6d39d0(0xb0)]=_0x6d39d0(0xc2);}(UploadcareSource||(UploadcareSource={}));