@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.1 → 44.2.0-alpha.11

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 (318) hide show
  1. package/README.md +1 -1
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/en-gb.js +1 -1
  17. package/build/translations/eo.js +1 -1
  18. package/build/translations/es-co.js +1 -1
  19. package/build/translations/es.js +1 -1
  20. package/build/translations/et.js +1 -1
  21. package/build/translations/eu.js +1 -1
  22. package/build/translations/fa.js +1 -1
  23. package/build/translations/fi.js +1 -1
  24. package/build/translations/fr.js +1 -1
  25. package/build/translations/gl.js +1 -1
  26. package/build/translations/gu.js +1 -1
  27. package/build/translations/he.js +1 -1
  28. package/build/translations/hi.js +1 -1
  29. package/build/translations/hr.js +1 -1
  30. package/build/translations/hu.js +1 -1
  31. package/build/translations/hy.js +1 -1
  32. package/build/translations/id.js +1 -1
  33. package/build/translations/it.js +1 -1
  34. package/build/translations/ja.js +1 -1
  35. package/build/translations/jv.js +1 -1
  36. package/build/translations/kk.js +1 -1
  37. package/build/translations/km.js +1 -1
  38. package/build/translations/kn.js +1 -1
  39. package/build/translations/ko.js +1 -1
  40. package/build/translations/ku.js +1 -1
  41. package/build/translations/lt.js +1 -1
  42. package/build/translations/lv.js +1 -1
  43. package/build/translations/ms.js +1 -1
  44. package/build/translations/nb.js +1 -1
  45. package/build/translations/ne.js +1 -1
  46. package/build/translations/nl.js +1 -1
  47. package/build/translations/no.js +1 -1
  48. package/build/translations/oc.js +1 -1
  49. package/build/translations/pl.js +1 -1
  50. package/build/translations/pt-br.js +1 -1
  51. package/build/translations/pt.js +1 -1
  52. package/build/translations/ro.js +1 -1
  53. package/build/translations/ru.js +1 -1
  54. package/build/translations/si.js +1 -1
  55. package/build/translations/sk.js +1 -1
  56. package/build/translations/sl.js +1 -1
  57. package/build/translations/sq.js +1 -1
  58. package/build/translations/sr-latn.js +1 -1
  59. package/build/translations/sr.js +1 -1
  60. package/build/translations/sv.js +1 -1
  61. package/build/translations/th.js +1 -1
  62. package/build/translations/ti.js +1 -1
  63. package/build/translations/tk.js +1 -1
  64. package/build/translations/tr.js +1 -1
  65. package/build/translations/tt.js +1 -1
  66. package/build/translations/ug.js +1 -1
  67. package/build/translations/uk.js +1 -1
  68. package/build/translations/ur.js +1 -1
  69. package/build/translations/uz.js +1 -1
  70. package/build/translations/vi.js +1 -1
  71. package/build/translations/zh-cn.js +1 -1
  72. package/build/translations/zh.js +1 -1
  73. package/build/uploadcare.js +2 -2
  74. package/dist/index.js +3 -3
  75. package/dist/translations/af.js +1 -1
  76. package/dist/translations/af.umd.js +1 -1
  77. package/dist/translations/ar.js +1 -1
  78. package/dist/translations/ar.umd.js +1 -1
  79. package/dist/translations/ast.js +1 -1
  80. package/dist/translations/ast.umd.js +1 -1
  81. package/dist/translations/az.js +1 -1
  82. package/dist/translations/az.umd.js +1 -1
  83. package/dist/translations/bg.js +1 -1
  84. package/dist/translations/bg.umd.js +1 -1
  85. package/dist/translations/bn.js +1 -1
  86. package/dist/translations/bn.umd.js +1 -1
  87. package/dist/translations/bs.js +1 -1
  88. package/dist/translations/bs.umd.js +1 -1
  89. package/dist/translations/ca.js +1 -1
  90. package/dist/translations/ca.umd.js +1 -1
  91. package/dist/translations/cs.js +1 -1
  92. package/dist/translations/cs.umd.js +1 -1
  93. package/dist/translations/da.js +1 -1
  94. package/dist/translations/da.umd.js +1 -1
  95. package/dist/translations/de-ch.js +1 -1
  96. package/dist/translations/de-ch.umd.js +1 -1
  97. package/dist/translations/de.js +1 -1
  98. package/dist/translations/de.umd.js +1 -1
  99. package/dist/translations/el.js +1 -1
  100. package/dist/translations/el.umd.js +1 -1
  101. package/dist/translations/en-au.js +1 -1
  102. package/dist/translations/en-au.umd.js +1 -1
  103. package/dist/translations/en-gb.js +1 -1
  104. package/dist/translations/en-gb.umd.js +1 -1
  105. package/dist/translations/en.js +1 -1
  106. package/dist/translations/en.umd.js +1 -1
  107. package/dist/translations/eo.js +1 -1
  108. package/dist/translations/eo.umd.js +1 -1
  109. package/dist/translations/es-co.js +1 -1
  110. package/dist/translations/es-co.umd.js +1 -1
  111. package/dist/translations/es.js +1 -1
  112. package/dist/translations/es.umd.js +1 -1
  113. package/dist/translations/et.js +1 -1
  114. package/dist/translations/et.umd.js +1 -1
  115. package/dist/translations/eu.js +1 -1
  116. package/dist/translations/eu.umd.js +1 -1
  117. package/dist/translations/fa.js +1 -1
  118. package/dist/translations/fa.umd.js +1 -1
  119. package/dist/translations/fi.js +1 -1
  120. package/dist/translations/fi.umd.js +1 -1
  121. package/dist/translations/fr.js +1 -1
  122. package/dist/translations/fr.umd.js +1 -1
  123. package/dist/translations/gl.js +1 -1
  124. package/dist/translations/gl.umd.js +1 -1
  125. package/dist/translations/gu.js +1 -1
  126. package/dist/translations/gu.umd.js +1 -1
  127. package/dist/translations/he.js +1 -1
  128. package/dist/translations/he.umd.js +1 -1
  129. package/dist/translations/hi.js +1 -1
  130. package/dist/translations/hi.umd.js +1 -1
  131. package/dist/translations/hr.js +1 -1
  132. package/dist/translations/hr.umd.js +1 -1
  133. package/dist/translations/hu.js +1 -1
  134. package/dist/translations/hu.umd.js +1 -1
  135. package/dist/translations/hy.js +1 -1
  136. package/dist/translations/hy.umd.js +1 -1
  137. package/dist/translations/id.js +1 -1
  138. package/dist/translations/id.umd.js +1 -1
  139. package/dist/translations/it.js +1 -1
  140. package/dist/translations/it.umd.js +1 -1
  141. package/dist/translations/ja.js +1 -1
  142. package/dist/translations/ja.umd.js +1 -1
  143. package/dist/translations/jv.js +1 -1
  144. package/dist/translations/jv.umd.js +1 -1
  145. package/dist/translations/kk.js +1 -1
  146. package/dist/translations/kk.umd.js +1 -1
  147. package/dist/translations/km.js +1 -1
  148. package/dist/translations/km.umd.js +1 -1
  149. package/dist/translations/kn.js +1 -1
  150. package/dist/translations/kn.umd.js +1 -1
  151. package/dist/translations/ko.js +1 -1
  152. package/dist/translations/ko.umd.js +1 -1
  153. package/dist/translations/ku.js +1 -1
  154. package/dist/translations/ku.umd.js +1 -1
  155. package/dist/translations/lt.js +1 -1
  156. package/dist/translations/lt.umd.js +1 -1
  157. package/dist/translations/lv.js +1 -1
  158. package/dist/translations/lv.umd.js +1 -1
  159. package/dist/translations/ms.js +1 -1
  160. package/dist/translations/ms.umd.js +1 -1
  161. package/dist/translations/nb.js +1 -1
  162. package/dist/translations/nb.umd.js +1 -1
  163. package/dist/translations/ne.js +1 -1
  164. package/dist/translations/ne.umd.js +1 -1
  165. package/dist/translations/nl.js +1 -1
  166. package/dist/translations/nl.umd.js +1 -1
  167. package/dist/translations/no.js +1 -1
  168. package/dist/translations/no.umd.js +1 -1
  169. package/dist/translations/oc.js +1 -1
  170. package/dist/translations/oc.umd.js +1 -1
  171. package/dist/translations/pl.js +1 -1
  172. package/dist/translations/pl.umd.js +1 -1
  173. package/dist/translations/pt-br.js +1 -1
  174. package/dist/translations/pt-br.umd.js +1 -1
  175. package/dist/translations/pt.js +1 -1
  176. package/dist/translations/pt.umd.js +1 -1
  177. package/dist/translations/ro.js +1 -1
  178. package/dist/translations/ro.umd.js +1 -1
  179. package/dist/translations/ru.js +1 -1
  180. package/dist/translations/ru.umd.js +1 -1
  181. package/dist/translations/si.js +1 -1
  182. package/dist/translations/si.umd.js +1 -1
  183. package/dist/translations/sk.js +1 -1
  184. package/dist/translations/sk.umd.js +1 -1
  185. package/dist/translations/sl.js +1 -1
  186. package/dist/translations/sl.umd.js +1 -1
  187. package/dist/translations/sq.js +1 -1
  188. package/dist/translations/sq.umd.js +1 -1
  189. package/dist/translations/sr-latn.js +1 -1
  190. package/dist/translations/sr-latn.umd.js +1 -1
  191. package/dist/translations/sr.js +1 -1
  192. package/dist/translations/sr.umd.js +1 -1
  193. package/dist/translations/sv.js +1 -1
  194. package/dist/translations/sv.umd.js +1 -1
  195. package/dist/translations/th.js +1 -1
  196. package/dist/translations/th.umd.js +1 -1
  197. package/dist/translations/ti.js +1 -1
  198. package/dist/translations/ti.umd.js +1 -1
  199. package/dist/translations/tk.js +1 -1
  200. package/dist/translations/tk.umd.js +1 -1
  201. package/dist/translations/tr.js +1 -1
  202. package/dist/translations/tr.umd.js +1 -1
  203. package/dist/translations/tt.js +1 -1
  204. package/dist/translations/tt.umd.js +1 -1
  205. package/dist/translations/ug.js +1 -1
  206. package/dist/translations/ug.umd.js +1 -1
  207. package/dist/translations/uk.js +1 -1
  208. package/dist/translations/uk.umd.js +1 -1
  209. package/dist/translations/ur.js +1 -1
  210. package/dist/translations/ur.umd.js +1 -1
  211. package/dist/translations/uz.js +1 -1
  212. package/dist/translations/uz.umd.js +1 -1
  213. package/dist/translations/vi.js +1 -1
  214. package/dist/translations/vi.umd.js +1 -1
  215. package/dist/translations/zh-cn.js +1 -1
  216. package/dist/translations/zh-cn.umd.js +1 -1
  217. package/dist/translations/zh.js +1 -1
  218. package/dist/translations/zh.umd.js +1 -1
  219. package/lang/contexts.json +0 -3
  220. package/lang/translations/af.po +0 -12
  221. package/lang/translations/ar.po +22 -34
  222. package/lang/translations/ast.po +0 -12
  223. package/lang/translations/az.po +0 -12
  224. package/lang/translations/bg.po +22 -34
  225. package/lang/translations/bn.po +22 -34
  226. package/lang/translations/bs.po +0 -12
  227. package/lang/translations/ca.po +22 -34
  228. package/lang/translations/cs.po +22 -34
  229. package/lang/translations/da.po +22 -34
  230. package/lang/translations/de-ch.po +0 -12
  231. package/lang/translations/de.po +22 -34
  232. package/lang/translations/el.po +22 -34
  233. package/lang/translations/en-au.po +0 -12
  234. package/lang/translations/en-gb.po +0 -12
  235. package/lang/translations/en.po +0 -12
  236. package/lang/translations/eo.po +0 -12
  237. package/lang/translations/es-co.po +0 -12
  238. package/lang/translations/es.po +22 -34
  239. package/lang/translations/et.po +22 -34
  240. package/lang/translations/eu.po +0 -12
  241. package/lang/translations/fa.po +0 -12
  242. package/lang/translations/fi.po +22 -34
  243. package/lang/translations/fr.po +22 -34
  244. package/lang/translations/gl.po +0 -12
  245. package/lang/translations/gu.po +0 -12
  246. package/lang/translations/he.po +22 -34
  247. package/lang/translations/hi.po +22 -34
  248. package/lang/translations/hr.po +0 -12
  249. package/lang/translations/hu.po +22 -34
  250. package/lang/translations/hy.po +0 -12
  251. package/lang/translations/id.po +22 -34
  252. package/lang/translations/it.po +22 -34
  253. package/lang/translations/ja.po +22 -34
  254. package/lang/translations/jv.po +0 -12
  255. package/lang/translations/kk.po +0 -12
  256. package/lang/translations/km.po +0 -12
  257. package/lang/translations/kn.po +0 -12
  258. package/lang/translations/ko.po +22 -34
  259. package/lang/translations/ku.po +0 -12
  260. package/lang/translations/lt.po +22 -34
  261. package/lang/translations/lv.po +22 -34
  262. package/lang/translations/ms.po +22 -34
  263. package/lang/translations/nb.po +0 -12
  264. package/lang/translations/ne.po +0 -12
  265. package/lang/translations/nl.po +22 -34
  266. package/lang/translations/no.po +22 -34
  267. package/lang/translations/oc.po +0 -12
  268. package/lang/translations/pl.po +22 -34
  269. package/lang/translations/pt-br.po +22 -34
  270. package/lang/translations/pt.po +22 -34
  271. package/lang/translations/ro.po +22 -34
  272. package/lang/translations/ru.po +22 -34
  273. package/lang/translations/si.po +0 -12
  274. package/lang/translations/sk.po +22 -34
  275. package/lang/translations/sl.po +0 -12
  276. package/lang/translations/sq.po +0 -12
  277. package/lang/translations/sr-latn.po +0 -12
  278. package/lang/translations/sr.po +22 -34
  279. package/lang/translations/sv.po +22 -34
  280. package/lang/translations/th.po +22 -34
  281. package/lang/translations/ti.po +0 -12
  282. package/lang/translations/tk.po +0 -12
  283. package/lang/translations/tr.po +22 -34
  284. package/lang/translations/tt.po +0 -12
  285. package/lang/translations/ug.po +0 -12
  286. package/lang/translations/uk.po +22 -34
  287. package/lang/translations/ur.po +0 -12
  288. package/lang/translations/uz.po +0 -12
  289. package/lang/translations/vi.po +22 -34
  290. package/lang/translations/zh-cn.po +22 -34
  291. package/lang/translations/zh.po +22 -34
  292. package/package.json +8 -8
  293. package/src/index.js +1 -1
  294. package/src/ui/uploadcarecontroller.js +2 -2
  295. package/src/ui/uploadcareformview.js +1 -1
  296. package/src/uploadcare.js +1 -1
  297. package/src/uploadcarecommand.js +1 -1
  298. package/src/uploadcareconfig.d.ts +9 -8
  299. package/src/uploadcareconfig.js +1 -1
  300. package/src/uploadcareediting.js +1 -1
  301. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  302. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  303. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  304. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  305. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  306. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  307. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  308. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  309. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  310. package/src/uploadcareimageedit.js +1 -1
  311. package/src/uploadcareui.js +1 -1
  312. package/src/uploadcareuploadadapter.js +1 -1
  313. package/src/utils/common-translations.js +1 -1
  314. package/src/utils/dialogfocusmanagerview.js +1 -1
  315. package/src/utils/editingutils.js +1 -1
  316. package/src/utils/isancestor.js +1 -1
  317. package/src/utils/uploadutils.js +1 -1
  318. 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.1",
3
+ "version": "44.2.0-alpha.11",
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.1",
27
- "@ckeditor/ckeditor5-image": "44.2.0-alpha.1",
28
- "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.1",
29
- "@ckeditor/ckeditor5-ui": "44.2.0-alpha.1",
30
- "@ckeditor/ckeditor5-upload": "44.2.0-alpha.1",
31
- "@ckeditor/ckeditor5-utils": "44.2.0-alpha.1",
32
- "ckeditor5": "44.2.0-alpha.1",
26
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.11",
27
+ "@ckeditor/ckeditor5-image": "44.2.0-alpha.11",
28
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.11",
29
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.11",
30
+ "@ckeditor/ckeditor5-upload": "44.2.0-alpha.11",
31
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.11",
32
+ "ckeditor5": "44.2.0-alpha.11",
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(_0x241ff0,_0x97a54){var _0xa94bdb=_0x112c,_0x2b005c=_0x241ff0();while(!![]){try{var _0x19b94=parseInt(_0xa94bdb(0x76))/0x1+-parseInt(_0xa94bdb(0x77))/0x2+-parseInt(_0xa94bdb(0x74))/0x3+-parseInt(_0xa94bdb(0x75))/0x4+-parseInt(_0xa94bdb(0x79))/0x5+-parseInt(_0xa94bdb(0x73))/0x6+parseInt(_0xa94bdb(0x78))/0x7;if(_0x19b94===_0x97a54)break;else _0x2b005c['push'](_0x2b005c['shift']());}catch(_0x189b56){_0x2b005c['push'](_0x2b005c['shift']());}}}(_0x4144,0xc113f));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';function _0x112c(_0x25f6da,_0x77f5b0){var _0x4144b7=_0x4144();return _0x112c=function(_0x112c3b,_0x50dc21){_0x112c3b=_0x112c3b-0x73;var _0x602e94=_0x4144b7[_0x112c3b];return _0x602e94;},_0x112c(_0x25f6da,_0x77f5b0);}export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4144(){var _0x1918eb=['1516467FZGZkS','132698YimXZv','20013959ajEKVU','7100070eCoVQd','2745594NCafXM','827292PZgkoH','5460124hiEOyd'];_0x4144=function(){return _0x1918eb;};return _0x4144();}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';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 _0x479a51=_0x2abb;function _0x1a9d(){const _0x61e1f9=['insertImage','imageBlock','isOpen','source-list','removeSelectionAttribute','_dialog','uploadCare','_formView','_editing','getOutputCollectionState','stopDelegating','setCurrentActivity','doneFlow','image','destroy','EDITOR_TOP_CENTER','_api','attributes','194900QrJLmc','_insertAsset','configElement','show','Replace','focus','47448sHBLhT','183197bnJGon','stopListening','1703365VKjbQg','imageUpload','imageInfo','24UnoWjf','change','view','removeAllFiles','_editor','Insert','execute','imageInline','315comniu','document','text','297493GvFYKZ','getSelectedElement','6ZBBjWl','initFlow','172302dwOrgt','_insertImage','758774lvgaal','setAttribute','setSelection','hide','selection','addEventListener','ctxElement','width','getAPI','status','getLastPosition','idle','element','uuid','_type','detail','linkHref','_initListeners','plugins','length','_initDialog','editing','done-click','473CQuJdd','get','Local','allEntries','model'];_0x1a9d=function(){return _0x61e1f9;};return _0x1a9d();}(function(_0x1858e7,_0x59c5df){const _0x115773=_0x2abb,_0x3bf48e=_0x1858e7();while(!![]){try{const _0x108fe0=parseInt(_0x115773(0x20b))/0x1+-parseInt(_0x115773(0x221))/0x2+-parseInt(_0x115773(0x21f))/0x3*(parseInt(_0x115773(0x210))/0x4)+-parseInt(_0x115773(0x20d))/0x5+-parseInt(_0x115773(0x21d))/0x6*(-parseInt(_0x115773(0x21b))/0x7)+parseInt(_0x115773(0x20a))/0x8*(parseInt(_0x115773(0x218))/0x9)+-parseInt(_0x115773(0x204))/0xa*(-parseInt(_0x115773(0x1ed))/0xb);if(_0x108fe0===_0x59c5df)break;else _0x3bf48e['push'](_0x3bf48e['shift']());}catch(_0x380bd7){_0x3bf48e['push'](_0x3bf48e['shift']());}}}(_0x1a9d,0x3275f));import{icons as _0x597d39}from'ckeditor5/src/core.js';import{ObservableMixin as _0x451a4c}from'ckeditor5/src/utils.js';function _0x2abb(_0x440eed,_0x54b63c){const _0x1a9dd0=_0x1a9d();return _0x2abb=function(_0x2abb03,_0xfe7746){_0x2abb03=_0x2abb03-0x1d9;let _0x5b62d2=_0x1a9dd0[_0x2abb03];return _0x5b62d2;},_0x2abb(_0x440eed,_0x54b63c);}import{Dialog as _0x226136,DialogViewPosition as _0x17cbcd}from'ckeditor5/src/ui.js';import _0x4c2da5 from'./uploadcareformview.js';import{UploadcareSource as _0x425d04}from'../uploadcareconfig.js';import{getTranslation as _0x40f53d}from'../utils/common-translations.js';import{getImageUrls as _0x4f8b56,getImageDimension as _0xf1dbf8}from'../utils/editingutils.js';import{isAncestor as _0x11f81d}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x451a4c(){constructor(_0x3d2e32,_0x3409b8,_0x2d5cd5){const _0x268e62=_0x2abb;super(),this[_0x268e62(0x1e4)]=null,this[_0x268e62(0x1f9)]=null,this[_0x268e62(0x214)]=_0x3d2e32,this[_0x268e62(0x1fa)]=_0x3409b8,this[_0x268e62(0x1f7)]=_0x3d2e32[_0x268e62(0x1e8)][_0x268e62(0x1ee)](_0x226136),this[_0x268e62(0x202)]=_0x3409b8[_0x268e62(0x1dc)][_0x268e62(0x1de)](),this[_0x268e62(0x1e4)]=_0x2d5cd5,this[_0x268e62(0x1fa)][_0x268e62(0x206)][_0x268e62(0x222)](_0x268e62(0x1f5),this[_0x268e62(0x1e4)]),this[_0x268e62(0x1ea)](),this[_0x268e62(0x1e7)](),this[_0x268e62(0x202)][_0x268e62(0x21e)]();}[_0x479a51(0x200)](){const _0x695733=_0x479a51;this[_0x695733(0x1f9)]&&(this[_0x695733(0x1f9)][_0x695733(0x200)](),this[_0x695733(0x1f9)]=null),this[_0x695733(0x202)]&&this[_0x695733(0x202)][_0x695733(0x1fe)](),this[_0x695733(0x20c)](),this[_0x695733(0x1fc)]();}[_0x479a51(0x1ea)](){const _0x5ebc0b=_0x479a51,{locale:_0x2397bd,model:_0x5d00da}=this[_0x5ebc0b(0x214)],_0x36f05e=_0x5d00da[_0x5ebc0b(0x219)][_0x5ebc0b(0x1da)][_0x5ebc0b(0x21c)](),_0x419b1d=_0x36f05e&&(_0x36f05e['is'](_0x5ebc0b(0x1e2),_0x5ebc0b(0x1f3))||_0x36f05e['is'](_0x5ebc0b(0x1e2),_0x5ebc0b(0x217)));this[_0x5ebc0b(0x1f9)]=new _0x4c2da5(_0x2397bd),this[_0x5ebc0b(0x1f7)][_0x5ebc0b(0x207)]({'id':_0x5ebc0b(0x1f8),'icon':_0x597d39[_0x5ebc0b(0x20e)],'title':_0x40f53d(_0x2397bd,this[_0x5ebc0b(0x1e4)],_0x419b1d?_0x5ebc0b(0x208):_0x5ebc0b(0x215))[_0x5ebc0b(0x21a)],'content':this[_0x5ebc0b(0x1f9)],'position':_0x17cbcd[_0x5ebc0b(0x201)],'isModal':!0x0,'onShow':()=>{const _0x108870=_0x5ebc0b;this[_0x108870(0x1f9)][_0x108870(0x209)]();},'onHide':()=>{const _0x251c0e=_0x5ebc0b;this[_0x251c0e(0x202)][_0x251c0e(0x213)](),this[_0x251c0e(0x214)][_0x251c0e(0x1eb)][_0x251c0e(0x212)][_0x251c0e(0x209)](),this[_0x251c0e(0x200)]();},'keystrokeHandlerOptions':{'filter':_0x1da07a=>!_0x11f81d(_0x1da07a,this[_0x5ebc0b(0x1f9)][_0x5ebc0b(0x1e2)])}});}[_0x479a51(0x1e7)](){const _0x16d584=_0x479a51;this[_0x16d584(0x1fa)][_0x16d584(0x1dc)][_0x16d584(0x1db)](_0x16d584(0x1ec),()=>{const _0x25e1a5=_0x16d584,{allEntries:_0x2e795c}=this[_0x25e1a5(0x202)][_0x25e1a5(0x1fb)]();this[_0x25e1a5(0x214)][_0x25e1a5(0x1f1)][_0x25e1a5(0x211)](_0x442865=>{const _0x4df17c=_0x25e1a5,_0x5c6f57=_0x2e795c[_0x4df17c(0x1e9)];for(const _0x3e9530 of _0x2e795c){const _0x2fffff=_0x3e9530===_0x2e795c[_0x5c6f57-0x1],{cdnUrl:_0x43c95d,fileInfo:_0x51594a}=_0x3e9530;if(!_0x43c95d||!_0x51594a)continue;const {width:_0x1947b3,height:_0x38d3de}=_0x51594a[_0x4df17c(0x20f)],_0x11556d=_0xf1dbf8(_0x43c95d,_0x1947b3,_0x38d3de),_0x514b03=_0x4f8b56(_0x43c95d,_0x11556d[_0x4df17c(0x1dd)]),_0xdb05cb={'id':_0x51594a[_0x4df17c(0x1e3)],'type':_0x4df17c(0x1ff),'attributes':{'imageDimension':_0x11556d,..._0x514b03}};this[_0x4df17c(0x205)](_0xdb05cb,_0x2fffff,_0x442865);}}),this[_0x25e1a5(0x1f7)][_0x25e1a5(0x1d9)]();}),this[_0x16d584(0x1fa)][_0x16d584(0x1dc)][_0x16d584(0x1db)](_0x16d584(0x211),_0x1454f3=>{const _0x3a610f=_0x16d584;_0x3a610f(0x1e1)===_0x1454f3[_0x3a610f(0x1e5)][_0x3a610f(0x1df)]&&!_0x1454f3[_0x3a610f(0x1e5)][_0x3a610f(0x1f0)][_0x3a610f(0x1e9)]&&this[_0x3a610f(0x1f7)][_0x3a610f(0x1f4)]&&(this[_0x3a610f(0x1e4)]===_0x425d04[_0x3a610f(0x1ef)]?this[_0x3a610f(0x202)][_0x3a610f(0x1fd)](_0x425d04[_0x3a610f(0x1ef)]):this[_0x3a610f(0x202)][_0x3a610f(0x21e)]());});}[_0x479a51(0x205)](_0x461df2,_0x9b46d5,_0x45e5dd){const _0x5959c0=_0x479a51,_0x4fe9d7=this[_0x5959c0(0x214)][_0x5959c0(0x1f1)][_0x5959c0(0x219)][_0x5959c0(0x1da)],_0x2affb5=_0x4fe9d7[_0x5959c0(0x21c)](),_0x30cc8e=!(!_0x2affb5||!_0x2affb5['is'](_0x5959c0(0x1e2),_0x5959c0(0x217)));_0x45e5dd[_0x5959c0(0x1f6)](_0x5959c0(0x1e6)),this[_0x5959c0(0x220)](_0x461df2,_0x30cc8e),_0x9b46d5||_0x45e5dd[_0x5959c0(0x223)](_0x4fe9d7[_0x5959c0(0x1e0)]());}[_0x479a51(0x220)](_0x261e03,_0x5c5b3a){const _0x13d878=_0x479a51,_0x538db4=this[_0x13d878(0x214)],{imageDimension:_0x1a5988,imageFallbackUrl:_0x31a048,imageSources:_0x4417ef}=_0x261e03[_0x13d878(0x203)];_0x538db4[_0x13d878(0x216)](_0x13d878(0x1f2),{'imageType':_0x5c5b3a?_0x13d878(0x217):null,'source':{'uploadcareImageId':_0x261e03['id'],'src':_0x31a048,'sources':_0x4417ef,..._0x1a5988}});}}
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 _0x91d0d9=_0x1961;function _0x1961(_0x2bcc37,_0xa6adc2){var _0x4e2782=_0x4e27();return _0x1961=function(_0x19616f,_0x22551){_0x19616f=_0x19616f-0xfe;var _0x412e65=_0x4e2782[_0x19616f];return _0x412e65;},_0x1961(_0x2bcc37,_0xa6adc2);}function _0x4e27(){var _0x13fb16=['3915844LpQhPJ','div','ck-uploadcare-theme','50RplkMj','10guWpDQ','1276335svEoml','getFocusableElement','1143438hUMZPm','ck-uploadcare-form','element','uc-file-uploader-inline','15911jnPYqd','uc-light','ck-reset_all-excluded','uploader','30790nFhuBk','focus','1469214SyJmyr','setTemplate','448DTGZhV','614433WBkxOw'];_0x4e27=function(){return _0x13fb16;};return _0x4e27();}(function(_0x5b8757,_0x3e0c5b){var _0x1bebea=_0x1961,_0x5b3cea=_0x5b8757();while(!![]){try{var _0x4ddf62=parseInt(_0x1bebea(0xfe))/0x1+parseInt(_0x1bebea(0x10e))/0x2+-parseInt(_0x1bebea(0x104))/0x3+-parseInt(_0x1bebea(0xff))/0x4+-parseInt(_0x1bebea(0x103))/0x5*(-parseInt(_0x1bebea(0x106))/0x6)+parseInt(_0x1bebea(0x10a))/0x7*(parseInt(_0x1bebea(0x112))/0x8)+parseInt(_0x1bebea(0x110))/0x9*(parseInt(_0x1bebea(0x102))/0xa);if(_0x4ddf62===_0x3e0c5b)break;else _0x5b3cea['push'](_0x5b3cea['shift']());}catch(_0x3a8bb7){_0x5b3cea['push'](_0x5b3cea['shift']());}}}(_0x4e27,0x864c6));import _0x3912f7 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0x3912f7{constructor(_0x284620){var _0x3c45df=_0x1961;super(_0x284620),this[_0x3c45df(0x111)]({'tag':_0x3c45df(0x100),'attributes':{'class':['ck',_0x3c45df(0x10c),_0x3c45df(0x107)],'tabindex':'-1'},'children':[{'tag':_0x3c45df(0x109),'attributes':{'class':[_0x3c45df(0x10b),_0x3c45df(0x101)],'ctx-name':_0x3c45df(0x10d)}},this[_0x3c45df(0x105)]()]});}[_0x91d0d9(0x10f)](){var _0x265463=_0x91d0d9;this[_0x265463(0x108)][_0x265463(0x10f)]();}}
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 _0x3811d2=_0x565e;(function(_0xbd0b6c,_0x48bb6a){var _0x36b0d6=_0x565e,_0x386e78=_0xbd0b6c();while(!![]){try{var _0x37c9d4=-parseInt(_0x36b0d6(0x7c))/0x1*(parseInt(_0x36b0d6(0x84))/0x2)+-parseInt(_0x36b0d6(0x81))/0x3+parseInt(_0x36b0d6(0x72))/0x4*(-parseInt(_0x36b0d6(0x7d))/0x5)+-parseInt(_0x36b0d6(0x86))/0x6+parseInt(_0x36b0d6(0x80))/0x7+-parseInt(_0x36b0d6(0x79))/0x8*(-parseInt(_0x36b0d6(0x76))/0x9)+parseInt(_0x36b0d6(0x83))/0xa;if(_0x37c9d4===_0x48bb6a)break;else _0x386e78['push'](_0x386e78['shift']());}catch(_0x15d299){_0x386e78['push'](_0x386e78['shift']());}}}(_0x3707,0x9a091));import{Plugin as _0x1a7165}from'ckeditor5/src/core.js';import _0xe483d1 from'./uploadcareui.js';function _0x3707(){var _0x3881f6=['isOfficialPlugin','257984rCxezs','isPremiumPlugin','Uploadcare','73796WEQeOw','5230ZlYwLV','pluginName','URL','8691795pVaQTb','799404NJUWQJ','define','6969080nnLMof','2wsmAJm','requires','4082508SwerNe','2084hgkmpP','config','Local','uploadcare.uploader.sourceList','72HRfoOv','defineComponents'];_0x3707=function(){return _0x3881f6;};return _0x3707();}import _0x56ca44 from'./uploadcareediting.js';import{UploadcareSource as _0x44a55c}from'./uploadcareconfig.js';import*as _0x30194f from'@uploadcare/file-uploader';function _0x565e(_0x2361fb,_0x5859d7){var _0x3707dc=_0x3707();return _0x565e=function(_0x565eea,_0x14ce7f){_0x565eea=_0x565eea-0x72;var _0x55b3aa=_0x3707dc[_0x565eea];return _0x55b3aa;},_0x565e(_0x2361fb,_0x5859d7);}export default class u extends _0x1a7165{static get[_0x3811d2(0x85)](){return[_0x56ca44,_0xe483d1];}static get[_0x3811d2(0x7e)](){var _0x5b45b6=_0x3811d2;return _0x5b45b6(0x7b);}static get[_0x3811d2(0x78)](){return!0x0;}static get[_0x3811d2(0x7a)](){return!0x0;}constructor(_0x1986ce){var _0x15186f=_0x3811d2;super(_0x1986ce),_0x1986ce[_0x15186f(0x73)][_0x15186f(0x82)](_0x15186f(0x75),[_0x44a55c[_0x15186f(0x74)],_0x44a55c[_0x15186f(0x7f)]]),_0x30194f[_0x15186f(0x77)](_0x30194f);}}
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 _0x5abeea=_0xf3c6;(function(_0x288031,_0x3aa72a){var _0x2e3a6c=_0xf3c6,_0x3ca1b5=_0x288031();while(!![]){try{var _0x5a5447=-parseInt(_0x2e3a6c(0xed))/0x1+parseInt(_0x2e3a6c(0xe7))/0x2+parseInt(_0x2e3a6c(0xe9))/0x3+parseInt(_0x2e3a6c(0xe4))/0x4*(parseInt(_0x2e3a6c(0xec))/0x5)+parseInt(_0x2e3a6c(0xe5))/0x6+parseInt(_0x2e3a6c(0xf0))/0x7+-parseInt(_0x2e3a6c(0xf1))/0x8*(parseInt(_0x2e3a6c(0xdf))/0x9);if(_0x5a5447===_0x3aa72a)break;else _0x3ca1b5['push'](_0x3ca1b5['shift']());}catch(_0x4b2bd7){_0x3ca1b5['push'](_0x3ca1b5['shift']());}}}(_0x5b32,0xb2923));function _0x5b32(){var _0x248da0=['2459972jvEpzZ','isEnabled','22962jnPdzf','_controller','editor','10JTUsZv','1066414eQvAXX','execute','refresh','4582263OHpQXW','5904lezLJj','destroy','insertImage','plugins','23814RHKIof','_editing','requires','commands','_checkEnabled','1286972NEWZaY','7289124vFCIIU','get'];_0x5b32=function(){return _0x248da0;};return _0x5b32();}import{Command as _0x52da5e}from'ckeditor5/src/core.js';import{Dialog as _0x5e4916}from'ckeditor5/src/ui.js';import _0x3cc07d from'./uploadcareediting.js';import _0x3d5999 from'./ui/uploadcarecontroller.js';function _0xf3c6(_0x5ca455,_0x4c9c60){var _0x5b3233=_0x5b32();return _0xf3c6=function(_0xf3c688,_0x294ce6){_0xf3c688=_0xf3c688-0xdd;var _0x82adb8=_0x5b3233[_0xf3c688];return _0x82adb8;},_0xf3c6(_0x5ca455,_0x4c9c60);}export default class l extends _0x52da5e{static get[_0x5abeea(0xe1)](){return[_0x5e4916,_0x3cc07d];}constructor(_0x489d71){var _0x9c5c8f=_0x5abeea;super(_0x489d71),this[_0x9c5c8f(0xea)]=null,this[_0x9c5c8f(0xe0)]=_0x489d71[_0x9c5c8f(0xde)][_0x9c5c8f(0xe6)](_0x3cc07d);}[_0x5abeea(0xef)](){var _0x5538d9=_0x5abeea;this[_0x5538d9(0xe8)]=this[_0x5538d9(0xe3)]();}[_0x5abeea(0xee)](_0xf0598a){var _0x422a02=_0x5abeea;this[_0x422a02(0xea)]&&(this[_0x422a02(0xea)][_0x422a02(0xf2)](),this[_0x422a02(0xea)]=null),this[_0x422a02(0xea)]=new _0x3d5999(this[_0x422a02(0xeb)],this[_0x422a02(0xe0)],_0xf0598a);}[_0x5abeea(0xe3)](){var _0x311eae=_0x5abeea;return this[_0x311eae(0xeb)][_0x311eae(0xe2)][_0x311eae(0xe6)](_0x311eae(0xdd))[_0x311eae(0xe8)];}}
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(_0x282d29,_0x57762d){var _0x27260f=_0x5c1c,_0x51085b=_0x282d29();while(!![]){try{var _0x515a41=-parseInt(_0x27260f(0x1d7))/0x1+-parseInt(_0x27260f(0x1da))/0x2*(-parseInt(_0x27260f(0x1d3))/0x3)+parseInt(_0x27260f(0x1c8))/0x4+-parseInt(_0x27260f(0x1d4))/0x5+parseInt(_0x27260f(0x1d9))/0x6*(-parseInt(_0x27260f(0x1d8))/0x7)+parseInt(_0x27260f(0x1c6))/0x8+parseInt(_0x27260f(0x1cf))/0x9;if(_0x515a41===_0x57762d)break;else _0x51085b['push'](_0x51085b['shift']());}catch(_0x416dcc){_0x51085b['push'](_0x51085b['shift']());}}}(_0x1720,0x4fa0c));function _0x5c1c(_0x5b74c1,_0x33edbe){var _0x172083=_0x1720();return _0x5c1c=function(_0x5c1c6d,_0x2ac0b0){_0x5c1c6d=_0x5c1c6d-0x1c6;var _0x826dba=_0x172083[_0x5c1c6d];return _0x826dba;},_0x5c1c(_0x5b74c1,_0x33edbe);}export var UploadcareSource;!function(_0x158fcb){var _0xd54a6c=_0x5c1c;_0x158fcb[_0xd54a6c(0x1cd)]=_0xd54a6c(0x1cb),_0x158fcb[_0xd54a6c(0x1c9)]=_0xd54a6c(0x1d2),_0x158fcb[_0xd54a6c(0x1c7)]=_0xd54a6c(0x1d1),_0x158fcb[_0xd54a6c(0x1cc)]=_0xd54a6c(0x1de),_0x158fcb[_0xd54a6c(0x1d5)]=_0xd54a6c(0x1d0),_0x158fcb[_0xd54a6c(0x1dc)]=_0xd54a6c(0x1db),_0x158fcb[_0xd54a6c(0x1ce)]=_0xd54a6c(0x1dd),_0x158fcb[_0xd54a6c(0x1ca)]=_0xd54a6c(0x1d6);}(UploadcareSource||(UploadcareSource={}));function _0x1720(){var _0xc6da26=['gdrive','65200JpefhR','Dropbox','1055700rrGpwR','URL','OneDrive','local','GDrive','Local','Instagram','6333345ovOUNq','facebook','dropbox','url','3PRwVVH','5670cerAVA','Facebook','onedrive','645827ELEqog','3803464rEIcUl','6kRwZOa','1081378WxpujA','gphotos','GPhotos','instagram'];_0x1720=function(){return _0xc6da26;};return _0x1720();}
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={}));