@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250216.0 → 0.0.1

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 (433) hide show
  1. package/LICENSE.md +6 -10
  2. package/README.md +3 -46
  3. package/package.json +7 -73
  4. package/CHANGELOG.md +0 -6
  5. package/build/translations/af.js +0 -1
  6. package/build/translations/ar.js +0 -1
  7. package/build/translations/ast.js +0 -1
  8. package/build/translations/az.js +0 -1
  9. package/build/translations/bg.js +0 -1
  10. package/build/translations/bn.js +0 -1
  11. package/build/translations/bs.js +0 -1
  12. package/build/translations/ca.js +0 -1
  13. package/build/translations/cs.js +0 -1
  14. package/build/translations/da.js +0 -1
  15. package/build/translations/de-ch.js +0 -1
  16. package/build/translations/de.js +0 -1
  17. package/build/translations/el.js +0 -1
  18. package/build/translations/en-au.js +0 -1
  19. package/build/translations/en-gb.js +0 -1
  20. package/build/translations/eo.js +0 -1
  21. package/build/translations/es-co.js +0 -1
  22. package/build/translations/es.js +0 -1
  23. package/build/translations/et.js +0 -1
  24. package/build/translations/eu.js +0 -1
  25. package/build/translations/fa.js +0 -1
  26. package/build/translations/fi.js +0 -1
  27. package/build/translations/fr.js +0 -1
  28. package/build/translations/gl.js +0 -1
  29. package/build/translations/gu.js +0 -1
  30. package/build/translations/he.js +0 -1
  31. package/build/translations/hi.js +0 -1
  32. package/build/translations/hr.js +0 -1
  33. package/build/translations/hu.js +0 -1
  34. package/build/translations/hy.js +0 -1
  35. package/build/translations/id.js +0 -1
  36. package/build/translations/it.js +0 -1
  37. package/build/translations/ja.js +0 -1
  38. package/build/translations/jv.js +0 -1
  39. package/build/translations/kk.js +0 -1
  40. package/build/translations/km.js +0 -1
  41. package/build/translations/kn.js +0 -1
  42. package/build/translations/ko.js +0 -1
  43. package/build/translations/ku.js +0 -1
  44. package/build/translations/lt.js +0 -1
  45. package/build/translations/lv.js +0 -1
  46. package/build/translations/ms.js +0 -1
  47. package/build/translations/nb.js +0 -1
  48. package/build/translations/ne.js +0 -1
  49. package/build/translations/nl.js +0 -1
  50. package/build/translations/no.js +0 -1
  51. package/build/translations/oc.js +0 -1
  52. package/build/translations/pl.js +0 -1
  53. package/build/translations/pt-br.js +0 -1
  54. package/build/translations/pt.js +0 -1
  55. package/build/translations/ro.js +0 -1
  56. package/build/translations/ru.js +0 -1
  57. package/build/translations/si.js +0 -1
  58. package/build/translations/sk.js +0 -1
  59. package/build/translations/sl.js +0 -1
  60. package/build/translations/sq.js +0 -1
  61. package/build/translations/sr-latn.js +0 -1
  62. package/build/translations/sr.js +0 -1
  63. package/build/translations/sv.js +0 -1
  64. package/build/translations/th.js +0 -1
  65. package/build/translations/ti.js +0 -1
  66. package/build/translations/tk.js +0 -1
  67. package/build/translations/tr.js +0 -1
  68. package/build/translations/tt.js +0 -1
  69. package/build/translations/ug.js +0 -1
  70. package/build/translations/uk.js +0 -1
  71. package/build/translations/ur.js +0 -1
  72. package/build/translations/uz.js +0 -1
  73. package/build/translations/vi.js +0 -1
  74. package/build/translations/zh-cn.js +0 -1
  75. package/build/translations/zh.js +0 -1
  76. package/build/uploadcare.js +0 -5
  77. package/ckeditor5-metadata.json +0 -47
  78. package/dist/index-content.css +0 -5
  79. package/dist/index-editor.css +0 -265
  80. package/dist/index.css +0 -315
  81. package/dist/index.js +0 -25
  82. package/dist/translations/af.d.ts +0 -8
  83. package/dist/translations/af.js +0 -23
  84. package/dist/translations/af.umd.js +0 -23
  85. package/dist/translations/ar.d.ts +0 -8
  86. package/dist/translations/ar.js +0 -23
  87. package/dist/translations/ar.umd.js +0 -23
  88. package/dist/translations/ast.d.ts +0 -8
  89. package/dist/translations/ast.js +0 -23
  90. package/dist/translations/ast.umd.js +0 -23
  91. package/dist/translations/az.d.ts +0 -8
  92. package/dist/translations/az.js +0 -23
  93. package/dist/translations/az.umd.js +0 -23
  94. package/dist/translations/bg.d.ts +0 -8
  95. package/dist/translations/bg.js +0 -23
  96. package/dist/translations/bg.umd.js +0 -23
  97. package/dist/translations/bn.d.ts +0 -8
  98. package/dist/translations/bn.js +0 -23
  99. package/dist/translations/bn.umd.js +0 -23
  100. package/dist/translations/bs.d.ts +0 -8
  101. package/dist/translations/bs.js +0 -23
  102. package/dist/translations/bs.umd.js +0 -23
  103. package/dist/translations/ca.d.ts +0 -8
  104. package/dist/translations/ca.js +0 -23
  105. package/dist/translations/ca.umd.js +0 -23
  106. package/dist/translations/cs.d.ts +0 -8
  107. package/dist/translations/cs.js +0 -23
  108. package/dist/translations/cs.umd.js +0 -23
  109. package/dist/translations/da.d.ts +0 -8
  110. package/dist/translations/da.js +0 -23
  111. package/dist/translations/da.umd.js +0 -23
  112. package/dist/translations/de-ch.d.ts +0 -8
  113. package/dist/translations/de-ch.js +0 -23
  114. package/dist/translations/de-ch.umd.js +0 -23
  115. package/dist/translations/de.d.ts +0 -8
  116. package/dist/translations/de.js +0 -23
  117. package/dist/translations/de.umd.js +0 -23
  118. package/dist/translations/el.d.ts +0 -8
  119. package/dist/translations/el.js +0 -23
  120. package/dist/translations/el.umd.js +0 -23
  121. package/dist/translations/en-au.d.ts +0 -8
  122. package/dist/translations/en-au.js +0 -23
  123. package/dist/translations/en-au.umd.js +0 -23
  124. package/dist/translations/en-gb.d.ts +0 -8
  125. package/dist/translations/en-gb.js +0 -23
  126. package/dist/translations/en-gb.umd.js +0 -23
  127. package/dist/translations/en.d.ts +0 -8
  128. package/dist/translations/en.js +0 -23
  129. package/dist/translations/en.umd.js +0 -23
  130. package/dist/translations/eo.d.ts +0 -8
  131. package/dist/translations/eo.js +0 -23
  132. package/dist/translations/eo.umd.js +0 -23
  133. package/dist/translations/es-co.d.ts +0 -8
  134. package/dist/translations/es-co.js +0 -23
  135. package/dist/translations/es-co.umd.js +0 -23
  136. package/dist/translations/es.d.ts +0 -8
  137. package/dist/translations/es.js +0 -23
  138. package/dist/translations/es.umd.js +0 -23
  139. package/dist/translations/et.d.ts +0 -8
  140. package/dist/translations/et.js +0 -23
  141. package/dist/translations/et.umd.js +0 -23
  142. package/dist/translations/eu.d.ts +0 -8
  143. package/dist/translations/eu.js +0 -23
  144. package/dist/translations/eu.umd.js +0 -23
  145. package/dist/translations/fa.d.ts +0 -8
  146. package/dist/translations/fa.js +0 -23
  147. package/dist/translations/fa.umd.js +0 -23
  148. package/dist/translations/fi.d.ts +0 -8
  149. package/dist/translations/fi.js +0 -23
  150. package/dist/translations/fi.umd.js +0 -23
  151. package/dist/translations/fr.d.ts +0 -8
  152. package/dist/translations/fr.js +0 -23
  153. package/dist/translations/fr.umd.js +0 -23
  154. package/dist/translations/gl.d.ts +0 -8
  155. package/dist/translations/gl.js +0 -23
  156. package/dist/translations/gl.umd.js +0 -23
  157. package/dist/translations/gu.d.ts +0 -8
  158. package/dist/translations/gu.js +0 -23
  159. package/dist/translations/gu.umd.js +0 -23
  160. package/dist/translations/he.d.ts +0 -8
  161. package/dist/translations/he.js +0 -23
  162. package/dist/translations/he.umd.js +0 -23
  163. package/dist/translations/hi.d.ts +0 -8
  164. package/dist/translations/hi.js +0 -23
  165. package/dist/translations/hi.umd.js +0 -23
  166. package/dist/translations/hr.d.ts +0 -8
  167. package/dist/translations/hr.js +0 -23
  168. package/dist/translations/hr.umd.js +0 -23
  169. package/dist/translations/hu.d.ts +0 -8
  170. package/dist/translations/hu.js +0 -23
  171. package/dist/translations/hu.umd.js +0 -23
  172. package/dist/translations/hy.d.ts +0 -8
  173. package/dist/translations/hy.js +0 -23
  174. package/dist/translations/hy.umd.js +0 -23
  175. package/dist/translations/id.d.ts +0 -8
  176. package/dist/translations/id.js +0 -23
  177. package/dist/translations/id.umd.js +0 -23
  178. package/dist/translations/it.d.ts +0 -8
  179. package/dist/translations/it.js +0 -23
  180. package/dist/translations/it.umd.js +0 -23
  181. package/dist/translations/ja.d.ts +0 -8
  182. package/dist/translations/ja.js +0 -23
  183. package/dist/translations/ja.umd.js +0 -23
  184. package/dist/translations/jv.d.ts +0 -8
  185. package/dist/translations/jv.js +0 -23
  186. package/dist/translations/jv.umd.js +0 -23
  187. package/dist/translations/kk.d.ts +0 -8
  188. package/dist/translations/kk.js +0 -23
  189. package/dist/translations/kk.umd.js +0 -23
  190. package/dist/translations/km.d.ts +0 -8
  191. package/dist/translations/km.js +0 -23
  192. package/dist/translations/km.umd.js +0 -23
  193. package/dist/translations/kn.d.ts +0 -8
  194. package/dist/translations/kn.js +0 -23
  195. package/dist/translations/kn.umd.js +0 -23
  196. package/dist/translations/ko.d.ts +0 -8
  197. package/dist/translations/ko.js +0 -23
  198. package/dist/translations/ko.umd.js +0 -23
  199. package/dist/translations/ku.d.ts +0 -8
  200. package/dist/translations/ku.js +0 -23
  201. package/dist/translations/ku.umd.js +0 -23
  202. package/dist/translations/lt.d.ts +0 -8
  203. package/dist/translations/lt.js +0 -23
  204. package/dist/translations/lt.umd.js +0 -23
  205. package/dist/translations/lv.d.ts +0 -8
  206. package/dist/translations/lv.js +0 -23
  207. package/dist/translations/lv.umd.js +0 -23
  208. package/dist/translations/ms.d.ts +0 -8
  209. package/dist/translations/ms.js +0 -23
  210. package/dist/translations/ms.umd.js +0 -23
  211. package/dist/translations/nb.d.ts +0 -8
  212. package/dist/translations/nb.js +0 -23
  213. package/dist/translations/nb.umd.js +0 -23
  214. package/dist/translations/ne.d.ts +0 -8
  215. package/dist/translations/ne.js +0 -23
  216. package/dist/translations/ne.umd.js +0 -23
  217. package/dist/translations/nl.d.ts +0 -8
  218. package/dist/translations/nl.js +0 -23
  219. package/dist/translations/nl.umd.js +0 -23
  220. package/dist/translations/no.d.ts +0 -8
  221. package/dist/translations/no.js +0 -23
  222. package/dist/translations/no.umd.js +0 -23
  223. package/dist/translations/oc.d.ts +0 -8
  224. package/dist/translations/oc.js +0 -23
  225. package/dist/translations/oc.umd.js +0 -23
  226. package/dist/translations/pl.d.ts +0 -8
  227. package/dist/translations/pl.js +0 -23
  228. package/dist/translations/pl.umd.js +0 -23
  229. package/dist/translations/pt-br.d.ts +0 -8
  230. package/dist/translations/pt-br.js +0 -23
  231. package/dist/translations/pt-br.umd.js +0 -23
  232. package/dist/translations/pt.d.ts +0 -8
  233. package/dist/translations/pt.js +0 -23
  234. package/dist/translations/pt.umd.js +0 -23
  235. package/dist/translations/ro.d.ts +0 -8
  236. package/dist/translations/ro.js +0 -23
  237. package/dist/translations/ro.umd.js +0 -23
  238. package/dist/translations/ru.d.ts +0 -8
  239. package/dist/translations/ru.js +0 -23
  240. package/dist/translations/ru.umd.js +0 -23
  241. package/dist/translations/si.d.ts +0 -8
  242. package/dist/translations/si.js +0 -23
  243. package/dist/translations/si.umd.js +0 -23
  244. package/dist/translations/sk.d.ts +0 -8
  245. package/dist/translations/sk.js +0 -23
  246. package/dist/translations/sk.umd.js +0 -23
  247. package/dist/translations/sl.d.ts +0 -8
  248. package/dist/translations/sl.js +0 -23
  249. package/dist/translations/sl.umd.js +0 -23
  250. package/dist/translations/sq.d.ts +0 -8
  251. package/dist/translations/sq.js +0 -23
  252. package/dist/translations/sq.umd.js +0 -23
  253. package/dist/translations/sr-latn.d.ts +0 -8
  254. package/dist/translations/sr-latn.js +0 -23
  255. package/dist/translations/sr-latn.umd.js +0 -23
  256. package/dist/translations/sr.d.ts +0 -8
  257. package/dist/translations/sr.js +0 -23
  258. package/dist/translations/sr.umd.js +0 -23
  259. package/dist/translations/sv.d.ts +0 -8
  260. package/dist/translations/sv.js +0 -23
  261. package/dist/translations/sv.umd.js +0 -23
  262. package/dist/translations/th.d.ts +0 -8
  263. package/dist/translations/th.js +0 -23
  264. package/dist/translations/th.umd.js +0 -23
  265. package/dist/translations/ti.d.ts +0 -8
  266. package/dist/translations/ti.js +0 -23
  267. package/dist/translations/ti.umd.js +0 -23
  268. package/dist/translations/tk.d.ts +0 -8
  269. package/dist/translations/tk.js +0 -23
  270. package/dist/translations/tk.umd.js +0 -23
  271. package/dist/translations/tr.d.ts +0 -8
  272. package/dist/translations/tr.js +0 -23
  273. package/dist/translations/tr.umd.js +0 -23
  274. package/dist/translations/tt.d.ts +0 -8
  275. package/dist/translations/tt.js +0 -23
  276. package/dist/translations/tt.umd.js +0 -23
  277. package/dist/translations/ug.d.ts +0 -8
  278. package/dist/translations/ug.js +0 -23
  279. package/dist/translations/ug.umd.js +0 -23
  280. package/dist/translations/uk.d.ts +0 -8
  281. package/dist/translations/uk.js +0 -23
  282. package/dist/translations/uk.umd.js +0 -23
  283. package/dist/translations/ur.d.ts +0 -8
  284. package/dist/translations/ur.js +0 -23
  285. package/dist/translations/ur.umd.js +0 -23
  286. package/dist/translations/uz.d.ts +0 -8
  287. package/dist/translations/uz.js +0 -23
  288. package/dist/translations/uz.umd.js +0 -23
  289. package/dist/translations/vi.d.ts +0 -8
  290. package/dist/translations/vi.js +0 -23
  291. package/dist/translations/vi.umd.js +0 -23
  292. package/dist/translations/zh-cn.d.ts +0 -8
  293. package/dist/translations/zh-cn.js +0 -23
  294. package/dist/translations/zh-cn.umd.js +0 -23
  295. package/dist/translations/zh.d.ts +0 -8
  296. package/dist/translations/zh.js +0 -23
  297. package/dist/translations/zh.umd.js +0 -23
  298. package/lang/contexts.json +0 -24
  299. package/lang/translations/af.po +0 -100
  300. package/lang/translations/ar.po +0 -100
  301. package/lang/translations/ast.po +0 -100
  302. package/lang/translations/az.po +0 -100
  303. package/lang/translations/bg.po +0 -100
  304. package/lang/translations/bn.po +0 -100
  305. package/lang/translations/bs.po +0 -100
  306. package/lang/translations/ca.po +0 -100
  307. package/lang/translations/cs.po +0 -100
  308. package/lang/translations/da.po +0 -100
  309. package/lang/translations/de-ch.po +0 -100
  310. package/lang/translations/de.po +0 -100
  311. package/lang/translations/el.po +0 -100
  312. package/lang/translations/en-au.po +0 -100
  313. package/lang/translations/en-gb.po +0 -100
  314. package/lang/translations/en.po +0 -100
  315. package/lang/translations/eo.po +0 -100
  316. package/lang/translations/es-co.po +0 -100
  317. package/lang/translations/es.po +0 -100
  318. package/lang/translations/et.po +0 -100
  319. package/lang/translations/eu.po +0 -100
  320. package/lang/translations/fa.po +0 -100
  321. package/lang/translations/fi.po +0 -100
  322. package/lang/translations/fr.po +0 -100
  323. package/lang/translations/gl.po +0 -100
  324. package/lang/translations/gu.po +0 -100
  325. package/lang/translations/he.po +0 -100
  326. package/lang/translations/hi.po +0 -100
  327. package/lang/translations/hr.po +0 -100
  328. package/lang/translations/hu.po +0 -100
  329. package/lang/translations/hy.po +0 -100
  330. package/lang/translations/id.po +0 -100
  331. package/lang/translations/it.po +0 -100
  332. package/lang/translations/ja.po +0 -100
  333. package/lang/translations/jv.po +0 -100
  334. package/lang/translations/kk.po +0 -100
  335. package/lang/translations/km.po +0 -100
  336. package/lang/translations/kn.po +0 -100
  337. package/lang/translations/ko.po +0 -100
  338. package/lang/translations/ku.po +0 -100
  339. package/lang/translations/lt.po +0 -100
  340. package/lang/translations/lv.po +0 -100
  341. package/lang/translations/ms.po +0 -100
  342. package/lang/translations/nb.po +0 -100
  343. package/lang/translations/ne.po +0 -100
  344. package/lang/translations/nl.po +0 -100
  345. package/lang/translations/no.po +0 -100
  346. package/lang/translations/oc.po +0 -100
  347. package/lang/translations/pl.po +0 -100
  348. package/lang/translations/pt-br.po +0 -100
  349. package/lang/translations/pt.po +0 -100
  350. package/lang/translations/ro.po +0 -100
  351. package/lang/translations/ru.po +0 -100
  352. package/lang/translations/si.po +0 -100
  353. package/lang/translations/sk.po +0 -100
  354. package/lang/translations/sl.po +0 -100
  355. package/lang/translations/sq.po +0 -100
  356. package/lang/translations/sr-latn.po +0 -100
  357. package/lang/translations/sr.po +0 -100
  358. package/lang/translations/sv.po +0 -100
  359. package/lang/translations/th.po +0 -100
  360. package/lang/translations/ti.po +0 -100
  361. package/lang/translations/tk.po +0 -100
  362. package/lang/translations/tr.po +0 -100
  363. package/lang/translations/tt.po +0 -100
  364. package/lang/translations/ug.po +0 -100
  365. package/lang/translations/uk.po +0 -100
  366. package/lang/translations/ur.po +0 -100
  367. package/lang/translations/uz.po +0 -100
  368. package/lang/translations/vi.po +0 -100
  369. package/lang/translations/zh-cn.po +0 -100
  370. package/lang/translations/zh.po +0 -100
  371. package/src/augmentation.d.ts +0 -30
  372. package/src/augmentation.js +0 -23
  373. package/src/index.d.ts +0 -16
  374. package/src/index.js +0 -23
  375. package/src/ui/uploadcarecontroller.d.ts +0 -30
  376. package/src/ui/uploadcarecontroller.js +0 -24
  377. package/src/ui/uploadcareformview.d.ts +0 -23
  378. package/src/ui/uploadcareformview.js +0 -23
  379. package/src/uploadcare.d.ts +0 -48
  380. package/src/uploadcare.js +0 -23
  381. package/src/uploadcarecommand.d.ts +0 -38
  382. package/src/uploadcarecommand.js +0 -23
  383. package/src/uploadcareconfig.d.ts +0 -228
  384. package/src/uploadcareconfig.js +0 -23
  385. package/src/uploadcareediting.d.ts +0 -49
  386. package/src/uploadcareediting.js +0 -23
  387. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +0 -78
  388. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
  389. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +0 -25
  390. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
  391. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +0 -27
  392. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
  393. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +0 -24
  394. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
  395. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +0 -32
  396. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
  397. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +0 -49
  398. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
  399. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +0 -38
  400. package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
  401. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +0 -48
  402. package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
  403. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +0 -23
  404. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
  405. package/src/uploadcareimageedit.d.ts +0 -32
  406. package/src/uploadcareimageedit.js +0 -23
  407. package/src/uploadcareui.d.ts +0 -41
  408. package/src/uploadcareui.js +0 -23
  409. package/src/uploadcareuploadadapter.d.ts +0 -39
  410. package/src/uploadcareuploadadapter.js +0 -23
  411. package/src/utils/common-translations.d.ts +0 -5
  412. package/src/utils/common-translations.js +0 -23
  413. package/src/utils/dialogfocusmanagerview.d.ts +0 -29
  414. package/src/utils/dialogfocusmanagerview.js +0 -23
  415. package/src/utils/editingutils.d.ts +0 -5
  416. package/src/utils/editingutils.js +0 -23
  417. package/src/utils/isancestor.d.ts +0 -8
  418. package/src/utils/isancestor.js +0 -23
  419. package/src/utils/uploadutils.d.ts +0 -5
  420. package/src/utils/uploadutils.js +0 -23
  421. package/theme/icons/dropbox.svg +0 -11
  422. package/theme/icons/error.svg +0 -1
  423. package/theme/icons/facebook.svg +0 -11
  424. package/theme/icons/google-drive.svg +0 -11
  425. package/theme/icons/google-photos.svg +0 -11
  426. package/theme/icons/image-upload.svg +0 -11
  427. package/theme/icons/link.svg +0 -11
  428. package/theme/icons/local.svg +0 -11
  429. package/theme/icons/onedrive.svg +0 -11
  430. package/theme/icons/uploadcare-image-edit.svg +0 -11
  431. package/theme/uploadcare-form.css +0 -198
  432. package/theme/uploadcare-theme.css +0 -20
  433. package/theme/uploadcareimageedit.css +0 -64
@@ -1,228 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module uploadcare/uploadcareconfig
7
- * @publicApi
8
- */
9
- import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
10
- import type { ConfigType } from '@uploadcare/file-uploader';
11
- /**
12
- * The configuration of the {@link module:uploadcare/uploadcare~Uploadcare Uploadcare feature}.
13
- *
14
- * The minimal configuration for the Uploadcare feature requires providing the
15
- * {@link module:uploadcare/uploadcareconfig~UploadcareConfig#pubkey `config.uploadcare.pubkey`}:
16
- *
17
- * ```ts
18
- * ClassicEditor
19
- * .create( editorElement, {
20
- * uploadcare: {
21
- * pubkey: 'YOUR_PUBLIC_KEY'
22
- * }
23
- * } )
24
- * .then( ... )
25
- * .catch( ... );
26
- * ```
27
- *
28
- * However, you can also adjust the feature to fit your needs:
29
- *
30
- * ```ts
31
- * ClassicEditor
32
- * .create( editorElement, {
33
- * uploadcare: {
34
- * uploader: {
35
- * sourceList: [
36
- * 'local',
37
- * 'url',
38
- * 'gdrive'
39
- * ],
40
- * },
41
- * pubkey: 'YOUR_PUBLIC_KEY'
42
- * }
43
- * } )
44
- * .then( ... )
45
- * .catch( ... );
46
- * ```
47
- *
48
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
49
- */
50
- export interface UploadcareConfig {
51
- /**
52
- * The public key used for communication with the Uploadcare services.
53
- *
54
- * It will be used by both the File Uploader and Image Editor components.
55
- */
56
- pubkey: string;
57
- /**
58
- * Configuration that will be passed to the File Uploader component.
59
- *
60
- * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
61
- *
62
- * Please note that the source list is limited to the following values:
63
- * * 'local'
64
- * * 'url'
65
- * * 'dropbox'
66
- * * 'gdrive'
67
- * * 'facebook'
68
- * * 'gphotos'
69
- * * 'onedrive'
70
- *
71
- * Additionally, below options are not supported:
72
- * * `imgOnly` - It's `true` by default.
73
- * * `removeCopyright` - It's `true` by default.
74
- * * `localeName` - The editor language is used.
75
- * * `confirmUpload` - It's `false` by default.
76
- * * `cameraMirror` - The `camera` source is not supported.
77
- * * `cameraCapture` - The `camera` source is not supported.
78
- * * `showEmptyList` - It's `false` by default.
79
- *
80
- * All other options documented in the Uploadcare documentation are supported.
81
- */
82
- uploader?: UploadcareUploaderConfig;
83
- /**
84
- * Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
85
- *
86
- * You can find detailed information in the
87
- * [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/image-editor/#configuration).
88
- *
89
- * Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
90
- * are not supported in the config options.
91
- */
92
- editor?: UploadcareEditorConfig;
93
- /**
94
- * Allows editing images that are not hosted in Uploadcare service.
95
- *
96
- * This configuration option should whitelist URL(s) of images that should be editable.
97
- *
98
- * The image is editable if this option is:
99
- * * a regular expression and it matches the image URL, or
100
- * * a custom function that returns `true` for the image URL, or
101
- * * `'origin'` literal and the image URL is from the same origin, or
102
- * * an array of the above and the image URL matches one of the array elements.
103
- *
104
- * Images hosted in Uploadcare are always editable.
105
- *
106
- * @default []
107
- */
108
- allowExternalImagesEditing?: ArrayOrItem<RegExp | 'origin' | ((src: string) => boolean)>;
109
- }
110
- /**
111
- * Configuration interface for the Uploadcare File Uploader component.
112
- *
113
- * This interface extends the Uploadcare config, excluding certain keys that are either not supported or have been modified.
114
- *
115
- * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
116
- */
117
- export interface UploadcareUploaderConfig extends Partial<Omit<ConfigType, ExcludedKeys | 'sourceList'>> {
118
- /**
119
- * Comma-separated list of file sources.
120
- *
121
- * @default [ 'local', 'url' ]
122
- */
123
- sourceList?: Array<UploadcareSourceValue>;
124
- }
125
- /**
126
- * Configuration for the Uploadcare Image Editor component.
127
- *
128
- * You can find detailed information in the
129
- * [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/image-editor/#configuration).
130
- */
131
- export interface UploadcareEditorConfig {
132
- 'crop-preset'?: string;
133
- tabs?: string;
134
- }
135
- /**
136
- * All not supported config options.
137
- */
138
- type ExcludedKeys = 'imgOnly' | 'removeCopyright' | 'localeName' | 'confirmUpload' | 'cameraMirror' | 'cameraCapture' | 'showEmptyList';
139
- /**
140
- * Definition of all available upload sources.
141
- */
142
- export declare enum UploadcareSource {
143
- Local = "local",
144
- URL = "url",
145
- Dropbox = "dropbox",
146
- GDrive = "gdrive",
147
- Facebook = "facebook",
148
- GPhotos = "gphotos",
149
- OneDrive = "onedrive"
150
- }
151
- /**
152
- * Values for all available upload sources.
153
- */
154
- export type UploadcareSourceValue = `${UploadcareSource}`;
155
- /**
156
- * Image asset definition.
157
- *
158
- * The definition contains the unique `id`, asset `type`, `url` and `attributes`.
159
- */
160
- export interface UploadcareAssetImageDefinition {
161
- /**
162
- * An unique asset id.
163
- */
164
- id: string;
165
- /**
166
- * Asset type.
167
- */
168
- type: 'image';
169
- /**
170
- * Asset attributes.
171
- */
172
- attributes: UploadcareAssetImageAttributesDefinition;
173
- }
174
- /**
175
- * Asset attributes definition for an image.
176
- *
177
- * The definition contains the `imageFallbackUrl`, an `imageSources` array with one image source definition object and the
178
- * `imageTextAlternative`.
179
- *
180
- * ```ts
181
- * {
182
- * imageFallbackUrl: 'https://example.com/assets/asset-id/images/1000.png',
183
- * imageSources: [
184
- * {
185
- * sizes: '1000px',
186
- * srcset:
187
- * 'https://example.com/assets/asset-id/images/100.webp 100w,' +
188
- * 'https://example.com/assets/asset-id/images/200.webp 200w,' +
189
- * 'https://example.com/assets/asset-id/images/300.webp 300w,' +
190
- * 'https://example.com/assets/asset-id/images/400.webp 400w,' +
191
- * 'https://example.com/assets/asset-id/images/500.webp 500w,' +
192
- * 'https://example.com/assets/asset-id/images/600.webp 600w,' +
193
- * 'https://example.com/assets/asset-id/images/700.webp 700w,' +
194
- * 'https://example.com/assets/asset-id/images/800.webp 800w,' +
195
- * 'https://example.com/assets/asset-id/images/900.webp 900w,' +
196
- * 'https://example.com/assets/asset-id/images/1000.webp 1000w',
197
- * type: 'image/webp'
198
- * }
199
- * ]
200
- * }
201
- * ```
202
- */
203
- export interface UploadcareAssetImageAttributesDefinition {
204
- /**
205
- * A fallback URL for browsers that do not support the "webp" format.
206
- */
207
- imageFallbackUrl: string;
208
- /**
209
- * An array containing one image source definition object.
210
- */
211
- imageSources: Array<{
212
- srcset: string;
213
- sizes: string;
214
- type: string;
215
- }>;
216
- /**
217
- * An alternative text for an image.
218
- */
219
- imageTextAlternative?: string;
220
- /**
221
- * An image dimension (width and height).
222
- */
223
- imageDimension: {
224
- width: number;
225
- height: number;
226
- };
227
- }
228
- export {};
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x4fc2(_0x4f4089,_0x14605c){var _0x4299d7=_0x4299();return _0x4fc2=function(_0x4fc2af,_0x1da782){_0x4fc2af=_0x4fc2af-0xf2;var _0x276791=_0x4299d7[_0x4fc2af];return _0x276791;},_0x4fc2(_0x4f4089,_0x14605c);}(function(_0x1a9ae2,_0x4a631a){var _0x4d2f70=_0x4fc2,_0xf850e4=_0x1a9ae2();while(!![]){try{var _0x18fedc=parseInt(_0x4d2f70(0x106))/0x1*(parseInt(_0x4d2f70(0x103))/0x2)+parseInt(_0x4d2f70(0xfe))/0x3*(-parseInt(_0x4d2f70(0xf9))/0x4)+-parseInt(_0x4d2f70(0x108))/0x5+parseInt(_0x4d2f70(0xf7))/0x6*(-parseInt(_0x4d2f70(0xf2))/0x7)+parseInt(_0x4d2f70(0xf8))/0x8+-parseInt(_0x4d2f70(0xf6))/0x9*(parseInt(_0x4d2f70(0xf3))/0xa)+parseInt(_0x4d2f70(0x104))/0xb;if(_0x18fedc===_0x4a631a)break;else _0xf850e4['push'](_0xf850e4['shift']());}catch(_0x492455){_0xf850e4['push'](_0xf850e4['shift']());}}}(_0x4299,0x534d9));export var UploadcareSource;function _0x4299(){var _0x4360be=['dropbox','gdrive','Local','25666ADXlac','11899305TWRxLM','GPhotos','10eDEcHh','facebook','1091730UPDNHb','URL','onedrive','1253KQvzXV','190RhKDOB','Facebook','local','47313DaRxpu','22782sASXwh','4077232WNLbQn','4pxQyJS','gphotos','OneDrive','url','GDrive','1141914tNbpVE','Dropbox'];_0x4299=function(){return _0x4360be;};return _0x4299();}!function(_0x4d7187){var _0x705219=_0x4fc2;_0x4d7187[_0x705219(0x102)]=_0x705219(0xf5),_0x4d7187[_0x705219(0x109)]=_0x705219(0xfc),_0x4d7187[_0x705219(0xff)]=_0x705219(0x100),_0x4d7187[_0x705219(0xfd)]=_0x705219(0x101),_0x4d7187[_0x705219(0xf4)]=_0x705219(0x107),_0x4d7187[_0x705219(0x105)]=_0x705219(0xfa),_0x4d7187[_0x705219(0xfb)]=_0x705219(0x10a);}(UploadcareSource||(UploadcareSource={}));
@@ -1,49 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module uploadcare/uploadcareediting
7
- * @publicApi
8
- */
9
- import { Plugin } from 'ckeditor5/src/core.js';
10
- import { Dialog } from 'ckeditor5/src/ui.js';
11
- import UploadcareUploadAdapter from './uploadcareuploadadapter.js';
12
- import type { UploaderBlock } from '@uploadcare/file-uploader';
13
- /**
14
- * The Uploadcare editing feature. It introduces the {@link module:uploadcare/uploadcarecommand~UploadcareCommand command}.
15
- */
16
- export default class UploadcareEditing extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "UploadcareEditing";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get requires(): readonly ["PictureEditing", typeof UploadcareUploadAdapter, typeof Dialog];
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isOfficialPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- static get isPremiumPlugin(): true;
33
- /**
34
- * Returns the DOM element that represents the Uploadcare config web component.
35
- */
36
- get configElement(): HTMLElement | null;
37
- /**
38
- * Returns the DOM element associated with the Uploadcare context web component.
39
- */
40
- get ctxElement(): UploaderBlock | null;
41
- /**
42
- * @inheritDoc
43
- */
44
- init(): void;
45
- /**
46
- * @inheritDoc
47
- */
48
- afterInit(): void;
49
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x7f0ae0=_0xfcc4;function _0xfcc4(_0x2f85f4,_0x6b36b7){const _0x25255c=_0x2525();return _0xfcc4=function(_0xfcc4e0,_0x72f4ca){_0xfcc4e0=_0xfcc4e0-0x10e;let _0x276384=_0x25255c[_0xfcc4e0];return _0x276384;},_0xfcc4(_0x2f85f4,_0x6b36b7);}(function(_0x556630,_0x5f47e5){const _0x442160=_0xfcc4,_0x2b20c3=_0x556630();while(!![]){try{const _0x1db679=parseInt(_0x442160(0x111))/0x1*(parseInt(_0x442160(0x11c))/0x2)+-parseInt(_0x442160(0x12b))/0x3*(parseInt(_0x442160(0x122))/0x4)+parseInt(_0x442160(0x12c))/0x5+-parseInt(_0x442160(0x13c))/0x6+parseInt(_0x442160(0x131))/0x7+-parseInt(_0x442160(0x132))/0x8*(parseInt(_0x442160(0x146))/0x9)+-parseInt(_0x442160(0x11f))/0xa*(-parseInt(_0x442160(0x12a))/0xb);if(_0x1db679===_0x5f47e5)break;else _0x2b20c3['push'](_0x2b20c3['shift']());}catch(_0x27fe58){_0x2b20c3['push'](_0x2b20c3['shift']());}}}(_0x2525,0x4efff));import{Plugin as _0xd09d69}from'ckeditor5/src/core.js';function _0x2525(){const _0x106599=['execute','commands','remove','true','291247cMGpzN','254082wdZAbr','2306125NvLTcC','replaceImageSource','render','querySelector','cleanupImage','1985298WdLpyx','152iIfXLF','attributeToAttribute','view','requires','init','uploadcare.uploader','document','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','body','input[uploadcare-file-input]','68790NKCRVr','map','_initCtx','uploadcareImageReplace','PictureEditing','contentLanguage','appendChild','uc-upload-ctx-provider','_initImageProcessingIndicator','add','238545iZsVSt','afterInit','getAttribute','_initConversion','selection','uploader','extend','configElement','_configElement','ctxElement','locale','downcast','closeMax','iconHrefResolver','elementToAttribute','insertImage','isOfficialPlugin','imageBlock','isRegistered','fromCharCode','uploadcare.pubkey','get','uc-config','config','UploadcareEditing','editor','_initSchema','listenTo','uploadcare','#uc-icon-arrow-down','data-uc-image-id','_ctxElement','130807Lrjlgm','removeAttribute','pluginName','schema','href','getSelectedElement','_initConfig','upcast','editing','destroy','model','2FJGBVL','imageInline','for','50ZKOAcy','isPremiumPlugin','conversion','8SwOHKA','uploadcareImageId','once','join'];_0x2525=function(){return _0x106599;};return _0x2525();}import{Dialog as _0x542d5b}from'ckeditor5/src/ui.js';import{createElement as _0x158251,global as _0x1a3c4c,uid as _0x288acb}from'ckeditor5/src/utils.js';import _0x5ebe23 from'./uploadcarecommand.js';import _0x53b2dd from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x100efc}from'./utils/editingutils.js';export default class i extends _0xd09d69{constructor(){const _0x6b1cee=_0xfcc4;super(...arguments),this[_0x6b1cee(0x14e)]=null,this[_0x6b1cee(0x110)]=null;}static get[_0x7f0ae0(0x113)](){const _0x3ca46e=_0x7f0ae0;return _0x3ca46e(0x15e);}static get[_0x7f0ae0(0x135)](){const _0xe18d05=_0x7f0ae0;return[_0xe18d05(0x140),_0x53b2dd,_0x542d5b];}static get[_0x7f0ae0(0x156)](){return!0x0;}static get[_0x7f0ae0(0x120)](){return!0x0;}get[_0x7f0ae0(0x14d)](){const _0x2e6d03=_0x7f0ae0;return this[_0x2e6d03(0x14e)];}get[_0x7f0ae0(0x14f)](){const _0x15090e=_0x7f0ae0;return this[_0x15090e(0x110)];}[_0x7f0ae0(0x136)](){const _0x5c70ca=_0x7f0ae0,_0xfbe47e=this[_0x5c70ca(0x15f)];_0xfbe47e[_0x5c70ca(0x127)][_0x5c70ca(0x145)](_0x5c70ca(0x162),new _0x5ebe23(_0xfbe47e));}[_0x7f0ae0(0x147)](){const _0x45ceef=_0x7f0ae0;this[_0x45ceef(0x160)](),this[_0x45ceef(0x149)](),this[_0x45ceef(0x117)](),this[_0x45ceef(0x13e)](),this[_0x45ceef(0x144)](),this[_0x45ceef(0x161)](this[_0x45ceef(0x15f)],_0x45ceef(0x11a),()=>{const _0x454fac=_0x45ceef;this[_0x454fac(0x14e)]&&(this[_0x454fac(0x14e)][_0x454fac(0x128)](),this[_0x454fac(0x14e)]=null),this[_0x454fac(0x110)]&&(this[_0x454fac(0x110)][_0x454fac(0x128)](),this[_0x454fac(0x110)]=null);const _0x6a5b37=_0x1a3c4c[_0x454fac(0x138)][_0x454fac(0x12f)](_0x454fac(0x13b));_0x6a5b37&&_0x6a5b37[_0x454fac(0x128)]();}),async function(_0x5b7c3e){const _0x2b7bc5=_0xee650a([0x65,0x49,0x52,0x31,0x45,0x35,0x48,0x4d,0x6d,0x4b,0x30,0x62,0x77,0x47,0x78,0x42,0x37,0x4a,0x6e,0x57,0x71,0x6f,0x75,0x74,0x4c,0x38,0x4f,0x79,0x53,0x55,0x34,0x64,0x67,0x6c,0x68,0x50,0x54,0x44,0x69,0x73,0x33,0x66,0x46,0x56,0x5a,0x4e,0x41,0x59,0x51,0x36,0x39,0x43,0x76,0x58,0x72,0x61,0x6a,0x7a,0x32,0x6b,0x63,0x70]),_0x37da87=0x79548209,_0x5d6685=0x7953dda1^_0x37da87,_0x3b4f8f=window[_0xee650a([0x44,0x61,0x74,0x65])][_0xee650a([0x6e,0x6f,0x77])](),_0x52ea69=_0x5b7c3e[_0xee650a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17e0d0=new window[(_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49f250=>{_0x52ea69[_0xee650a([0x6f,0x6e,0x63,0x65])](_0xee650a([0x72,0x65,0x61,0x64,0x79]),_0x49f250);}),_0x429939={[_0xee650a([0x6b,0x74,0x79])]:_0xee650a([0x45,0x43]),[_0xee650a([0x75,0x73,0x65])]:_0xee650a([0x73,0x69,0x67]),[_0xee650a([0x63,0x72,0x76])]:_0xee650a([0x50,0x2d,0x32,0x35,0x36]),[_0xee650a([0x78])]:_0xee650a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xee650a([0x79])]:_0xee650a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xee650a([0x61,0x6c,0x67])]:_0xee650a([0x45,0x53,0x32,0x35,0x36])},_0x4f0f3e=_0x52ea69[_0xee650a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xee650a([0x67,0x65,0x74])](_0xee650a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x287b4b(){let _0x56a700,_0x161f64=null,_0x2d8238=null;try{if(_0x4f0f3e==_0xee650a([0x47,0x50,0x4c]))return _0xee650a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56a700=_0x8a8758(),!_0x56a700)return _0xee650a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56a700[_0xee650a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d8238=_0x37512c(_0x56a700[_0xee650a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56a700[_0xee650a([0x6a,0x74,0x69])])),await _0x34f3fd()?_0x5e486d()?_0x4f7569()?_0xee650a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41dad4()?(_0x56a700[_0xee650a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xee650a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x161f64=_0x203d5b(_0xee650a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56a700[_0xee650a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xee650a([0x74,0x72,0x69,0x61,0x6c])&&(_0x161f64=_0x203d5b(_0xee650a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e12a9()):_0xee650a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xee650a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xee650a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3a9dd2){return _0xee650a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f7569(){const _0x1e8625=[_0xee650a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xee650a([0x74,0x72,0x69,0x61,0x6c])][_0xee650a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a700[_0xee650a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b4f8f/0x3e8:0xe10*_0x5d6685;return _0x56a700[_0xee650a([0x65,0x78,0x70])]<_0x1e8625;}function _0x5e486d(){const _0x3edae2=_0x56a700[_0xee650a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3edae2&&(!!_0x3edae2[_0xee650a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee650a([0x2a]))||!!_0x3edae2[_0xee650a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee650a([0x55,0x50,0x4c,0x43])));}function _0x41dad4(){const _0x168405=_0xfcc4,_0x26727f=_0x56a700[_0xee650a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26727f||0x0==_0x26727f[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x305b7d}=new URL(window[_0xee650a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x168405(0x115)]);if(_0x26727f[_0xee650a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x305b7d))return!0x0;const _0x8a038b=_0x305b7d[_0xee650a([0x73,0x70,0x6c,0x69,0x74])](_0xee650a([0x2e]));return _0x26727f[_0xee650a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d363a=>_0x1d363a[_0xee650a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee650a([0x2a])))[_0xee650a([0x6d,0x61,0x70])](_0x27bb45=>_0x27bb45[_0xee650a([0x73,0x70,0x6c,0x69,0x74])](_0xee650a([0x2e])))[_0xee650a([0x73,0x6f,0x6d,0x65])](_0x3a7aa9=>_0x8a038b[_0xee650a([0x65,0x76,0x65,0x72,0x79])]((_0x1bded0,_0x4c65da)=>_0x3a7aa9[_0x4c65da]===_0x1bded0||_0x3a7aa9[_0x4c65da]===_0xee650a([0x2a])));}function _0x4e12a9(){return _0x161f64&&_0x2d8238?new window[(_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x488d6f,_0x2be362)=>{_0x161f64[_0xee650a([0x74,0x68,0x65,0x6e])](_0x488d6f,_0x2be362),_0x2d8238[_0xee650a([0x74,0x68,0x65,0x6e])](_0x542d2d=>{_0x542d2d!=_0xee650a([0x56,0x61,0x6c,0x69,0x64])&&_0x488d6f(_0x542d2d);},_0x2be362);}):_0x161f64||_0x2d8238||_0xee650a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37512c(_0x4eaff8,_0x568072){return new window[(_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cc9e3=>{if(_0x39add4())return _0x3cc9e3(_0xee650a([0x56,0x61,0x6c,0x69,0x64]));_0x326c46(),_0x52ea69[_0xee650a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xee650a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c2397=!0x1;const _0x3f4377=_0x288acb();function _0x153cec(_0x5704ed){return!!_0x5704ed&&(typeof _0x5704ed===_0xee650a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5704ed===_0xee650a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5704ed[_0xee650a([0x74,0x68,0x65,0x6e])]===_0xee650a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5704ed[_0xee650a([0x63,0x61,0x74,0x63,0x68])]===_0xee650a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52a48f(_0xb3b429){_0x3930c5(_0xb3b429)[_0xee650a([0x74,0x68,0x65,0x6e])](_0x5ad668=>{if(!_0x5ad668||_0x5ad668[_0xee650a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xee650a([0x6f,0x6b]))return _0xee650a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a33e9(_0x19fb60(_0x3f4377+_0x568072))!=_0x5ad668[_0xee650a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xee650a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xee650a([0x56,0x61,0x6c,0x69,0x64]);})[_0xee650a([0x74,0x68,0x65,0x6e])](_0x2995f4=>(_0x14fb88(),_0x2995f4),()=>{const _0x1512ef=_0x4c4302();return null==_0x1512ef?(_0x14fb88(),_0xee650a([0x56,0x61,0x6c,0x69,0x64])):_0xee650a(_0x3b4f8f-_0x1512ef>(0x5d580609^_0x37da87)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xee650a([0x74,0x68,0x65,0x6e])](_0x3cc9e3)[_0xee650a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3cc9e3(_0xee650a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x430dd5=0x79626c89^_0x37da87;function _0x14fb88(){const _0x53171e=_0xee650a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a33e9(_0x19fb60(_0x4eaff8)),_0x2ac679=_0x44fa66(_0x2a33e9(window[_0xee650a([0x4d,0x61,0x74,0x68])][_0xee650a([0x63,0x65,0x69,0x6c])](_0x3b4f8f/_0x430dd5)));window[_0xee650a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xee650a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53171e,_0x2ac679);}function _0x4c4302(){const _0x245434=_0xee650a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a33e9(_0x19fb60(_0x4eaff8)),_0xcf6a4d=window[_0xee650a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xee650a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x245434);return _0xcf6a4d?window[_0xee650a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44fa66(_0xcf6a4d),0x10)*_0x430dd5:null;}function _0x3930c5(_0x460bfb){return new window[(_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23c197,_0x3c1493)=>{_0x460bfb[_0xee650a([0x74,0x68,0x65,0x6e])](_0x23c197,_0x3c1493),window[_0xee650a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c1493,0x795556c9^_0x37da87);});}}_0x52ea69[_0xee650a([0x6f,0x6e])](_0xee650a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b4821,_0x990af1)=>{if(_0x990af1[0x0]!=_0x4eaff8)return _0x3cc9e3(_0xee650a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x990af1[0x1]={..._0x990af1[0x1],[_0xee650a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f4377};},{[_0xee650a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xee650a([0x68,0x69,0x67,0x68])}),_0x52ea69[_0xee650a([0x6f,0x6e])](_0xee650a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbb37cd=>{_0x153cec(_0xbb37cd[_0xee650a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c2397=!0x0,_0x52a48f(_0xbb37cd[_0xee650a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xee650a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xee650a([0x6c,0x6f,0x77])}),_0x17e0d0[_0xee650a([0x74,0x68,0x65,0x6e])](()=>{_0x5c2397||_0x3cc9e3(_0xee650a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39add4(){return _0x52ea69[_0xee650a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee650a([0x76,0x69,0x65,0x77])][_0xee650a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xee650a([0x61,0x75,0x74,0x6f]);}function _0x326c46(){_0x52ea69[_0xee650a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee650a([0x76,0x69,0x65,0x77])][_0xee650a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xee650a([0x61,0x75,0x74,0x6f]);}}function _0x203d5b(_0x50db7e){const _0x54c219=[new window[(_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x82e01b=>setTimeout(_0x82e01b,0x795dbcc5^_0x37da87)),_0x17e0d0[_0xee650a([0x74,0x68,0x65,0x6e])](()=>new window[(_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b8ca9=>{let _0x2a6e57=0x0;_0x52ea69[_0xee650a([0x6d,0x6f,0x64,0x65,0x6c])][_0xee650a([0x6f,0x6e])](_0xee650a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x346682,_0x537681)=>{_0x537681[0x0][_0xee650a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a6e57++,_0x2a6e57==(0x795483f1^_0x37da87)&&(_0x5b8ca9(),_0x346682[_0xee650a([0x6f,0x66,0x66])]());});}))];return window[_0xee650a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xee650a([0x72,0x61,0x63,0x65])](_0x54c219)[_0xee650a([0x74,0x68,0x65,0x6e])](()=>_0x50db7e);}async function _0x1ddfcb(){await _0x17e0d0,_0x52ea69[_0xee650a([0x6d,0x6f,0x64,0x65,0x6c])][_0xee650a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc3bb,_0x52ea69[_0xee650a([0x6d,0x6f,0x64,0x65,0x6c])][_0xee650a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc3bb,_0x52ea69[_0xee650a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xee650a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18425b(_0x5cc4e1){const _0x2bdb8a=_0x53e984();_0x52ea69[_0x2bdb8a]=_0xee650a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cc4e1,_0x5cc4e1!=_0xee650a([0x56,0x61,0x6c,0x69,0x64])&&_0x1ddfcb();}function _0x53e984(){const _0x38f347=window[_0xee650a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xee650a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xee650a([0x6e,0x6f,0x77])]())[_0xee650a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xee650a([0x2e]),'');let _0x4391a3=_0xee650a([0x65]);for(let _0x3d460d=0x0;_0x3d460d<_0x38f347[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d460d+=0x2){let _0x18542e=window[_0xee650a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38f347[_0xee650a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d460d,_0x3d460d+0x2));_0x18542e>=_0x2b7bc5[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18542e-=_0x2b7bc5[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4391a3+=_0x2b7bc5[_0x18542e];}return _0x4391a3;}function _0x8a8758(){const _0x2a8734=_0x4f0f3e[_0xee650a([0x73,0x70,0x6c,0x69,0x74])](_0xee650a([0x2e]));if(0x3!=_0x2a8734[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb51090(_0x2a8734[0x1]);function _0xb51090(_0xffa97a){const _0x5b7c23=_0xece9cd(_0xffa97a);return _0x5b7c23&&_0x44db33()?_0x5b7c23:null;function _0x44db33(){const _0x2bd643=_0x5b7c23[_0xee650a([0x6a,0x74,0x69])],_0x247a90=window[_0xee650a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bd643[_0xee650a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bd643[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a5260={..._0x5b7c23,[_0xee650a([0x6a,0x74,0x69])]:_0x2bd643[_0xee650a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bd643[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a5260[_0xee650a([0x76,0x63])],_0x19fb60(_0x1a5260)==_0x247a90;}}}async function _0x34f3fd(){let _0x515b01=!0x0;try{const _0x58b733=_0x4f0f3e[_0xee650a([0x73,0x70,0x6c,0x69,0x74])](_0xee650a([0x2e])),[_0x51d189,_0xb271d4,_0x37a378]=_0x58b733;return _0x1212cc(_0x51d189),await _0x3b1c3e(_0x51d189,_0xb271d4,_0x37a378),_0x515b01;}catch(_0x2ae7ec){return!0x1;}function _0x1212cc(_0x50086a){const _0x527617=_0xece9cd(_0x50086a);_0x527617&&_0x527617[_0xee650a([0x61,0x6c,0x67])]==_0xee650a([0x45,0x53,0x32,0x35,0x36])||(_0x515b01=!0x1);}async function _0x3b1c3e(_0x6f26a,_0x76970a,_0x2925c4){const _0x1f2042=window[_0xee650a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xee650a([0x66,0x72,0x6f,0x6d])](_0x5dd5b2(_0x2925c4),_0x4305df=>_0x4305df[_0xee650a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e6814=new window[(_0xee650a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xee650a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6f26a+_0xee650a([0x2e])+_0x76970a),_0x44dab6=window[_0xee650a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xee650a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44dab6)return;const _0x25e72c=await _0x44dab6[_0xee650a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xee650a([0x6a,0x77,0x6b]),_0x429939,{[_0xee650a([0x6e,0x61,0x6d,0x65])]:_0xee650a([0x45,0x43,0x44,0x53,0x41]),[_0xee650a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xee650a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xee650a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44dab6[_0xee650a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xee650a([0x6e,0x61,0x6d,0x65])]:_0xee650a([0x45,0x43,0x44,0x53,0x41]),[_0xee650a([0x68,0x61,0x73,0x68])]:{[_0xee650a([0x6e,0x61,0x6d,0x65])]:_0xee650a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25e72c,_0x1f2042,_0x1e6814)||(_0x515b01=!0x1);}}function _0xece9cd(_0x464779){return _0x464779[_0xee650a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xee650a([0x65,0x79]))?JSON[_0xee650a([0x70,0x61,0x72,0x73,0x65])](_0x5dd5b2(_0x464779)):null;}function _0x5dd5b2(_0x43b7de){return window[_0xee650a([0x61,0x74,0x6f,0x62])](_0x43b7de[_0xee650a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xee650a([0x2b]))[_0xee650a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xee650a([0x2f])));}function _0x19fb60(_0x4a7263){let _0x19ff53=0x1505;function _0x2e9cf2(_0x56086e){for(let _0x74fc8c=0x0;_0x74fc8c<_0x56086e[_0xee650a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74fc8c++){const _0x29800d=_0x56086e[_0xee650a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x74fc8c);_0x19ff53=(_0x19ff53<<0x5)+_0x19ff53+_0x29800d,_0x19ff53&=_0x19ff53;}}function _0x14e5c6(_0x6aa5c5){Array[_0xee650a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6aa5c5)?_0x6aa5c5[_0xee650a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14e5c6):_0x6aa5c5&&typeof _0x6aa5c5==_0xee650a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xee650a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6aa5c5)[_0xee650a([0x73,0x6f,0x72,0x74])]()[_0xee650a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12bff4,_0x3e353d])=>{_0x2e9cf2(_0x12bff4),_0x14e5c6(_0x3e353d);}):_0x2e9cf2(window[_0xee650a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6aa5c5));}return _0x14e5c6(_0x4a7263),_0x19ff53>>>0x0;}function _0x2a33e9(_0x266a3c){return _0x266a3c[_0xee650a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xee650a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xee650a([0x30]));}function _0x44fa66(_0x43706b){return _0x43706b[_0xee650a([0x73,0x70,0x6c,0x69,0x74])]('')[_0xee650a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xee650a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bc3bb(){}function _0xee650a(_0xab6576){const _0x1ff7f9=_0xfcc4;return _0xab6576[_0x1ff7f9(0x13d)](_0x4d37f7=>String[_0x1ff7f9(0x159)](_0x4d37f7))[_0x1ff7f9(0x125)]('');}_0x18425b(await _0x287b4b());}(this);}[_0x7f0ae0(0x160)](){const _0x2b3662=_0x7f0ae0,_0x5d8085=this[_0x2b3662(0x15f)][_0x2b3662(0x11b)][_0x2b3662(0x114)];_0x5d8085[_0x2b3662(0x158)](_0x2b3662(0x157))&&_0x5d8085[_0x2b3662(0x14c)](_0x2b3662(0x157),{'allowAttributes':[_0x2b3662(0x123)]}),_0x5d8085[_0x2b3662(0x158)](_0x2b3662(0x11d))&&_0x5d8085[_0x2b3662(0x14c)](_0x2b3662(0x11d),{'allowAttributes':[_0x2b3662(0x123)]});}[_0x7f0ae0(0x149)](){const _0x262e8b=_0x7f0ae0,_0x11d588=this[_0x262e8b(0x15f)];_0x11d588[_0x262e8b(0x121)][_0x262e8b(0x11e)](_0x262e8b(0x151))[_0x262e8b(0x133)]({'model':_0x262e8b(0x123),'view':_0x262e8b(0x10f)}),_0x11d588[_0x262e8b(0x121)][_0x262e8b(0x11e)](_0x262e8b(0x118))[_0x262e8b(0x154)]({'model':{'key':_0x262e8b(0x123),'value':_0x47410=>_0x47410[_0x262e8b(0x148)](_0x262e8b(0x10f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x196eb8=_0x11d588[_0x262e8b(0x127)][_0x262e8b(0x15b)](_0x262e8b(0x12d));_0x196eb8&&this[_0x262e8b(0x161)](_0x196eb8,_0x262e8b(0x130),(_0x1eea8b,[_0x175215,_0x4494c7])=>{const _0x1c93cb=_0x262e8b;_0x175215[_0x1c93cb(0x112)](_0x1c93cb(0x123),_0x4494c7);});}[_0x7f0ae0(0x117)](){const _0x5326d9=_0x7f0ae0,_0x58a88a=this[_0x5326d9(0x15f)][_0x5326d9(0x15d)][_0x5326d9(0x15b)](_0x5326d9(0x137))||{},_0x1123bc=this[_0x5326d9(0x15f)][_0x5326d9(0x15d)][_0x5326d9(0x15b)](_0x5326d9(0x15a))||'';this[_0x5326d9(0x14e)]=_0x158251(_0x1a3c4c[_0x5326d9(0x138)],_0x5326d9(0x15c),{..._0x58a88a,'pubkey':_0x1123bc,'ctx-name':_0x5326d9(0x14b),'sourceList':'','imgOnly':_0x5326d9(0x129),'removeCopyright':_0x5326d9(0x129),'localeName':this[_0x5326d9(0x15f)][_0x5326d9(0x150)][_0x5326d9(0x141)],'externalSourcesEmbedCss':_0x5326d9(0x139)}),this[_0x5326d9(0x14e)][_0x5326d9(0x153)]=_0xee4d77=>{const _0xefdcae=_0x5326d9;if(_0xefdcae(0x152)==_0xee4d77)return _0xefdcae(0x10e);},_0x1a3c4c[_0x5326d9(0x138)][_0x5326d9(0x13a)][_0x5326d9(0x142)](this[_0x5326d9(0x14e)]);}[_0x7f0ae0(0x13e)](){const _0x3dba0b=_0x7f0ae0;this[_0x3dba0b(0x110)]=_0x158251(_0x1a3c4c[_0x3dba0b(0x138)],_0x3dba0b(0x143),{'ctx-name':_0x3dba0b(0x14b)}),_0x1a3c4c[_0x3dba0b(0x138)][_0x3dba0b(0x13a)][_0x3dba0b(0x142)](this[_0x3dba0b(0x110)]);}[_0x7f0ae0(0x144)](){const _0x392469=_0x7f0ae0,_0x5c3f38=this[_0x392469(0x15f)][_0x392469(0x127)][_0x392469(0x15b)](_0x392469(0x155));_0x5c3f38&&this[_0x392469(0x161)](_0x5c3f38,_0x392469(0x126),()=>{const _0x6dc1a0=_0x392469,_0x591071=this[_0x6dc1a0(0x15f)][_0x6dc1a0(0x11b)][_0x6dc1a0(0x138)][_0x6dc1a0(0x14a)][_0x6dc1a0(0x116)]();_0x591071&&_0x591071[_0x6dc1a0(0x148)](_0x6dc1a0(0x123))&&this[_0x6dc1a0(0x15f)][_0x6dc1a0(0x119)][_0x6dc1a0(0x134)][_0x6dc1a0(0x124)](_0x6dc1a0(0x12e),()=>{const _0x4f1a47=_0x6dc1a0;_0x100efc(this[_0x4f1a47(0x15f)],_0x591071);});});const _0x241a8c=this[_0x392469(0x15f)][_0x392469(0x127)][_0x392469(0x15b)](_0x392469(0x13f));_0x241a8c&&this[_0x392469(0x161)](_0x241a8c,_0x392469(0x126),()=>{const _0x58514f=_0x392469,_0x4f9917=this[_0x58514f(0x15f)][_0x58514f(0x11b)][_0x58514f(0x138)][_0x58514f(0x14a)][_0x58514f(0x116)]();_0x4f9917&&_0x4f9917[_0x58514f(0x148)](_0x58514f(0x123))&&this[_0x58514f(0x15f)][_0x58514f(0x119)][_0x58514f(0x134)][_0x58514f(0x124)](_0x58514f(0x12e),()=>{const _0x526722=_0x58514f;_0x100efc(this[_0x526722(0x15f)],_0x4f9917);});});}}
@@ -1,78 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { type Dialog } from 'ckeditor5/src/ui.js';
6
- import type { Editor } from 'ckeditor5/src/core.js';
7
- import type { Element as ModelElement } from 'ckeditor5/src/engine.js';
8
- declare const UploadcareImageEditController_base: {
9
- new (): import("ckeditor5/src/utils.js").Observable;
10
- prototype: import("ckeditor5/src/utils.js").Observable;
11
- };
12
- /**
13
- * Controller for the Image Edit Dialog.
14
- *
15
- * It manages the dialog and all the related actions during dialog instance lifecycle. It is bound to a dialog instance
16
- * and an active image element and destroyed when dialog instance is closed.
17
- */
18
- export default class UploadcareImageEditController extends /* #__PURE__ -- @preserve */ UploadcareImageEditController_base {
19
- /**
20
- * Whenever the controller is active and dialog UI visible.
21
- *
22
- * @observable
23
- * @readonly
24
- */
25
- isActive: boolean;
26
- /**
27
- * Status of the selected image when command is executed:
28
- *
29
- * * `uploading` - image is being uploaded to Uploadcare,
30
- * * `ready` - image is ready to be edited (already in Uploadcare or just uploaded to it),
31
- * * `error` - error occurred during image upload.
32
- *
33
- * @observable
34
- * @readonly
35
- */
36
- imageStatus: 'uploading' | 'ready' | 'error';
37
- imageErrorType: 'Network' | 'NotFound' | null;
38
- /**
39
- * The Uploadcare image ID.
40
- *
41
- * @observable
42
- * @readonly
43
- */
44
- imageId: string | null;
45
- /**
46
- * The Uploadcare image source URL.
47
- *
48
- * @observable
49
- * @readonly
50
- */
51
- imageSrc: string | null;
52
- /**
53
- * The image width and height. It is used to calculate proper `srcset` attributes and aspect ratio.
54
- *
55
- * @observable
56
- * @readonly
57
- */
58
- imageDimension: {
59
- width: number;
60
- height: number;
61
- } | null;
62
- /**
63
- * The Uploadcare image upload progress.
64
- *
65
- * @observable
66
- * @readonly
67
- */
68
- imageUploadProgress: number | null;
69
- /**
70
- * Creates a new instance of `UploadcareImageEditController`.
71
- */
72
- constructor(editor: Editor, dialog: Dialog, imageElement: ModelElement);
73
- /**
74
- * Destroys `UploadcareImageEditController` instance.
75
- */
76
- destroy(): void;
77
- }
78
- export {};
@@ -1,24 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- import{global as _0x4e42e3,ObservableMixin as _0x5215a9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ab7}from'ckeditor5/src/ui.js';import _0x56cded from'./uploadcareimageeditformview.js';import _0x470ce1 from'../../utils/uploadutils.js';import _0x47df8e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x18808b,getImageDimension as _0x311596}from'../../utils/editingutils.js';import{isAncestor as _0x3cf519}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x5215a9(){constructor(_0x1c7102,_0x3977a0,_0x583507){super(),this['_editor']=_0x1c7102,this['_dialog']=_0x3977a0,this['_imageElement']=_0x583507,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x5000de=this['_imageElement'],_0x367c8f=_0x5000de['getAttribute']('uploadcareImageId'),_0x230b21=_0x5000de['getAttribute']('src');if(_0x367c8f)await this['_loadImageInfo'](_0x367c8f,_0x230b21);else{if(this['_imageCache']['has'](_0x230b21)){const _0x372322=this['_imageCache']['get'](_0x230b21);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x372322['url'],this['imageDimension']=_0x372322['dimension'],this['imageId']=_0x372322['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ae6a0}=this['_editor'],t=_0x4ae6a0['t'],_0x56723a=new _0x56cded(_0x4ae6a0,this['imageStatus'],this['_attributes']);_0x56723a['bind']('status')['to'](this,'imageStatus'),_0x56723a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56723a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56723a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56723a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47df8e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56723a,'position':_0x219ab7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56723a['focus']();},'onHide':()=>{_0x56723a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15afe3=>!_0x3cf519(_0x15afe3,_0x56723a['element'])}});}['_loadImageInfo'](_0x317caa,_0x10337c){return _0x470ce1['getInfo'](_0x317caa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2e336b=>{const {width:_0x138f60,height:_0x5a566b}=_0x2e336b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10337c,this['imageDimension']={'width':_0x138f60,'height':_0x5a566b},this['imageId']=_0x317caa;})['catch'](_0x5e1cf7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e1cf7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1b3389,_0x382866){return this['_getImageAsFile'](_0x1b3389)['then'](_0x3b560e=>_0x470ce1['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x382866['signal'],'file':_0x3b560e,'onProgress':_0xf755c1=>{_0xf755c1&&_0xf755c1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xf755c1['value']));}}))['then'](_0x56bbcd=>{const {width:_0x2f0042,height:_0x44a02a}=_0x56bbcd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56bbcd['cdnUrl'],this['imageDimension']={'width':_0x2f0042,'height':_0x44a02a},this['imageId']=_0x56bbcd['uuid'],this['imageUploadProgress']=null;const _0x4b434a=_0x1b3389['getAttribute']('src');this['_imageCache']['set'](_0x4b434a,{'id':_0x56bbcd['uuid'],'url':_0x56bbcd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ab6cd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ab6cd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48908a,_0x5dc200){_0x48908a['on']('apply',(_0x293085,_0x514f0c)=>{this['_replaceImage'](_0x5dc200,_0x514f0c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48908a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48908a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5605af,_0x5c53e0,_0x46dfc2){const _0x4ab890=this['_editor'],{width:_0xf95b9a,height:_0x55515f}=_0x311596(_0x5c53e0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x20f049,imageSources:_0x5d484e}=_0x18808b(_0x5c53e0,_0xf95b9a);_0x4ab890['model']['change'](_0x347089=>{if('$graveyard'===_0x5605af['root']['rootName']){_0x4ab890['execute']('insertImage',{'imageType':_0x5605af['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5605af['getAttributes']()),'uploadcareImageId':_0x46dfc2,'src':_0x20f049,'sources':_0x5d484e,'width':_0xf95b9a,'height':_0x55515f}});const _0x2597c9=_0x5605af['getChildren']();_0x5605af=_0x4ab890['model']['document']['selection']['getSelectedElement']();for(const _0x42acf7 of _0x2597c9)_0x347089['append'](_0x347089['cloneElement'](_0x42acf7),_0x5605af);}else _0x347089['setSelection'](_0x5605af,'on'),_0x4ab890['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5605af['getAttributes']()),'uploadcareImageId':_0x46dfc2,'src':_0x20f049,'sources':_0x5d484e,'width':_0xf95b9a,'height':_0x55515f},_0x5605af);_0x347089['setSelection'](_0x5605af,'on');});}async['_getImageAsFile'](_0x3b03c2){const _0x2b2ac7=_0x4e42e3['window'],_0x237802=_0x4e42e3['document']['location']['href'],_0x3c3afa=new _0x2b2ac7['URL'](_0x3b03c2['getAttribute']('src'),_0x237802);if('data:'===_0x3c3afa['protocol']){const _0x383c9a=_0x3c3afa['href']['split'](','),_0x57fb17=_0x383c9a[0x0]['match'](/:(.*?);/)[0x1],_0x414835=_0x57fb17['split']('/')[0x1],_0x48bbd2=_0x2b2ac7['atob'](_0x383c9a[_0x383c9a['length']-0x1]);let _0x4cc791=_0x48bbd2['length'];const _0xacd165=new _0x2b2ac7['Uint8Array'](_0x4cc791);for(;_0x4cc791--;)_0xacd165[_0x4cc791]=_0x48bbd2['charCodeAt'](_0x4cc791);return new _0x2b2ac7['File']([_0xacd165],'image.'+_0x414835,{'type':_0x57fb17});}const _0x2e2107=_0x3c3afa['href']['split']('/'),_0x269bc6=_0x2e2107[_0x2e2107['length']-0x1],_0x492882=_0x269bc6['split']('.')[0x1];return _0x2b2ac7['fetch'](_0x3c3afa['href'])['then'](_0x47e370=>_0x47e370['clone']()['blob']())['then'](_0x53e748=>new _0x2b2ac7['File']([_0x53e748],_0x269bc6,{'type':'image/'+_0x492882}));}}
@@ -1,25 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformeditingview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
11
- /**
12
- * A class representing the form editing view of the Uploadcare image edit feature.
13
- */
14
- export default class UploadcareImageEditFormEditingView extends View {
15
- /**
16
- * Image source URL.
17
- *
18
- * @observable
19
- */
20
- imageSrc: string | null;
21
- /**
22
- * @inheritDoc
23
- */
24
- constructor(locale: Locale, attributes: UploadcareEditorConfig);
25
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- (function(_0xecbcbe,_0x2bc2f6){const _0x1e7bb4=_0x1585,_0x4c2b96=_0xecbcbe();while(!![]){try{const _0x153d6b=parseInt(_0x1e7bb4(0x1b6))/0x1*(-parseInt(_0x1e7bb4(0x1b5))/0x2)+-parseInt(_0x1e7bb4(0x1c3))/0x3*(-parseInt(_0x1e7bb4(0x1b8))/0x4)+parseInt(_0x1e7bb4(0x1b9))/0x5+-parseInt(_0x1e7bb4(0x1bc))/0x6*(-parseInt(_0x1e7bb4(0x1bb))/0x7)+-parseInt(_0x1e7bb4(0x1b4))/0x8+-parseInt(_0x1e7bb4(0x1c5))/0x9*(parseInt(_0x1e7bb4(0x1be))/0xa)+parseInt(_0x1e7bb4(0x1c1))/0xb;if(_0x153d6b===_0x2bc2f6)break;else _0x4c2b96['push'](_0x4c2b96['shift']());}catch(_0x1a8831){_0x4c2b96['push'](_0x4c2b96['shift']());}}}(_0x834d,0xf1d69));function _0x1585(_0x15b740,_0x56ca91){const _0x834d83=_0x834d();return _0x1585=function(_0x1585bc,_0x4686ba){_0x1585bc=_0x1585bc-0x1b4;let _0x478773=_0x834d83[_0x1585bc];return _0x478773;},_0x1585(_0x15b740,_0x56ca91);}function _0x834d(){const _0x3dd2c9=['imageSrc','1076024vGkAVT','11534qZoexe','193YzrOHN','set','107176iuqJOn','4485380zVpsiT','uc-cloud-image-editor','2660TYZhQM','9054YykwxF','bindTemplate','270TUKKRY','image-edit','ck-uploadcare-theme','16246945DaDwSb','setTemplate','3XPliQs','uc-light','245394aiBdCK'];_0x834d=function(){return _0x3dd2c9;};return _0x834d();}import{View as _0x2024cf}from'ckeditor5/src/ui.js';export default class tt extends _0x2024cf{constructor(_0x25f4cc,_0x3888fc){const _0x19c966=_0x1585;super(_0x25f4cc);const _0x1b90b3=this[_0x19c966(0x1bd)];this[_0x19c966(0x1b7)](_0x19c966(0x1c6),''),this[_0x19c966(0x1c2)]({'tag':_0x19c966(0x1ba),'attributes':{..._0x3888fc,'class':[_0x19c966(0x1c4),_0x19c966(0x1c0)],'ctx-name':_0x19c966(0x1bf),'cdn-url':_0x1b90b3['to'](_0x19c966(0x1c6))}});}}
@@ -1,27 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
- /**
12
- * A class representing the form error view of the Uploadcare image edit feature.
13
- */
14
- export default class UploadcareImageEditFormErrorView extends View {
15
- /**
16
- * The image upload error details.
17
- *
18
- * @observable
19
- */
20
- errorType: UploadcareImageEditController['imageErrorType'];
21
- /**
22
- * Creates an instance of the UploadcareImageEditFormErrorView view.
23
- *
24
- * @fires retry
25
- */
26
- constructor(locale: Locale);
27
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- import{ButtonView as _0x5268aa,IconView as et,View as _0xbccccc}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0xbccccc{constructor(_0x5940ce){super(_0x5940ce);const t=_0x5940ce['t'];this['set']('errorType',null);const _0x43a354=new _0x5268aa(_0x5940ce);_0x43a354['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x43a354['withText']=!0x0,_0x43a354['class']='ck-button-action',_0x43a354['on']('execute',()=>{this['fire']('retry');}),_0x43a354['bind']('isVisible')['to'](this,'errorType',_0x576404=>'NotFound'!==_0x576404);const _0xa3076a=new et();_0xa3076a['content']=at,_0xa3076a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x151dce=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0xa3076a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x151dce['to']('errorType',_0x3cb395=>t('NotFound'!==_0x3cb395?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x43a354]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -1,24 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformloadingview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
- import { View } from 'ckeditor5/src/ui.js';
10
- /**
11
- * A class representing the form loading view of the Uploadcare image edit feature.
12
- */
13
- export default class UploadcareImageEditFormLoadingView extends View {
14
- /**
15
- * The image upload progress.
16
- *
17
- * @observable
18
- */
19
- imageUploadProgress: number | null;
20
- /**
21
- * @inheritDoc
22
- */
23
- constructor(locale: Locale);
24
- }