@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250213.0 → 0.0.0-nightly-next-20250214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/LICENSE.md +0 -5
  2. package/README.md +5 -16
  3. package/build/uploadcare.js +1 -2
  4. package/ckeditor5-metadata.json +1 -1
  5. package/dist/index.js +3 -3
  6. package/lang/contexts.json +3 -0
  7. package/package.json +9 -8
  8. package/src/index.js +1 -1
  9. package/src/ui/uploadcarecontroller.d.ts +2 -6
  10. package/src/ui/uploadcarecontroller.js +2 -2
  11. package/src/ui/uploadcareformview.js +1 -1
  12. package/src/uploadcare.js +1 -1
  13. package/src/uploadcarecommand.js +1 -1
  14. package/src/uploadcareconfig.d.ts +8 -9
  15. package/src/uploadcareconfig.js +1 -1
  16. package/src/uploadcareediting.js +1 -1
  17. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  18. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  19. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -4
  20. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  21. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  22. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  23. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  24. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  25. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  26. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  27. package/src/uploadcareimageedit.js +1 -1
  28. package/src/uploadcareui.js +1 -1
  29. package/src/uploadcareuploadadapter.js +1 -1
  30. package/src/utils/common-translations.js +1 -1
  31. package/src/utils/dialogfocusmanagerview.js +1 -1
  32. package/src/utils/editingutils.js +1 -1
  33. package/src/utils/isancestor.js +1 -1
  34. package/src/utils/uploadutils.js +1 -1
  35. package/build/translations/af.js +0 -1
  36. package/build/translations/ar.js +0 -1
  37. package/build/translations/ast.js +0 -1
  38. package/build/translations/az.js +0 -1
  39. package/build/translations/bg.js +0 -1
  40. package/build/translations/bn.js +0 -1
  41. package/build/translations/bs.js +0 -1
  42. package/build/translations/ca.js +0 -1
  43. package/build/translations/cs.js +0 -1
  44. package/build/translations/da.js +0 -1
  45. package/build/translations/de-ch.js +0 -1
  46. package/build/translations/de.js +0 -1
  47. package/build/translations/el.js +0 -1
  48. package/build/translations/en-au.js +0 -1
  49. package/build/translations/en-gb.js +0 -1
  50. package/build/translations/eo.js +0 -1
  51. package/build/translations/es-co.js +0 -1
  52. package/build/translations/es.js +0 -1
  53. package/build/translations/et.js +0 -1
  54. package/build/translations/eu.js +0 -1
  55. package/build/translations/fa.js +0 -1
  56. package/build/translations/fi.js +0 -1
  57. package/build/translations/fr.js +0 -1
  58. package/build/translations/gl.js +0 -1
  59. package/build/translations/gu.js +0 -1
  60. package/build/translations/he.js +0 -1
  61. package/build/translations/hi.js +0 -1
  62. package/build/translations/hr.js +0 -1
  63. package/build/translations/hu.js +0 -1
  64. package/build/translations/hy.js +0 -1
  65. package/build/translations/id.js +0 -1
  66. package/build/translations/it.js +0 -1
  67. package/build/translations/ja.js +0 -1
  68. package/build/translations/jv.js +0 -1
  69. package/build/translations/kk.js +0 -1
  70. package/build/translations/km.js +0 -1
  71. package/build/translations/kn.js +0 -1
  72. package/build/translations/ko.js +0 -1
  73. package/build/translations/ku.js +0 -1
  74. package/build/translations/lt.js +0 -1
  75. package/build/translations/lv.js +0 -1
  76. package/build/translations/ms.js +0 -1
  77. package/build/translations/nb.js +0 -1
  78. package/build/translations/ne.js +0 -1
  79. package/build/translations/nl.js +0 -1
  80. package/build/translations/no.js +0 -1
  81. package/build/translations/oc.js +0 -1
  82. package/build/translations/pl.js +0 -1
  83. package/build/translations/pt-br.js +0 -1
  84. package/build/translations/pt.js +0 -1
  85. package/build/translations/ro.js +0 -1
  86. package/build/translations/ru.js +0 -1
  87. package/build/translations/si.js +0 -1
  88. package/build/translations/sk.js +0 -1
  89. package/build/translations/sl.js +0 -1
  90. package/build/translations/sq.js +0 -1
  91. package/build/translations/sr-latn.js +0 -1
  92. package/build/translations/sr.js +0 -1
  93. package/build/translations/sv.js +0 -1
  94. package/build/translations/th.js +0 -1
  95. package/build/translations/ti.js +0 -1
  96. package/build/translations/tk.js +0 -1
  97. package/build/translations/tr.js +0 -1
  98. package/build/translations/tt.js +0 -1
  99. package/build/translations/ug.js +0 -1
  100. package/build/translations/uk.js +0 -1
  101. package/build/translations/ur.js +0 -1
  102. package/build/translations/uz.js +0 -1
  103. package/build/translations/vi.js +0 -1
  104. package/build/translations/zh-cn.js +0 -1
  105. package/build/translations/zh.js +0 -1
  106. package/dist/translations/af.d.ts +0 -8
  107. package/dist/translations/af.js +0 -23
  108. package/dist/translations/af.umd.js +0 -23
  109. package/dist/translations/ar.d.ts +0 -8
  110. package/dist/translations/ar.js +0 -23
  111. package/dist/translations/ar.umd.js +0 -23
  112. package/dist/translations/ast.d.ts +0 -8
  113. package/dist/translations/ast.js +0 -23
  114. package/dist/translations/ast.umd.js +0 -23
  115. package/dist/translations/az.d.ts +0 -8
  116. package/dist/translations/az.js +0 -23
  117. package/dist/translations/az.umd.js +0 -23
  118. package/dist/translations/bg.d.ts +0 -8
  119. package/dist/translations/bg.js +0 -23
  120. package/dist/translations/bg.umd.js +0 -23
  121. package/dist/translations/bn.d.ts +0 -8
  122. package/dist/translations/bn.js +0 -23
  123. package/dist/translations/bn.umd.js +0 -23
  124. package/dist/translations/bs.d.ts +0 -8
  125. package/dist/translations/bs.js +0 -23
  126. package/dist/translations/bs.umd.js +0 -23
  127. package/dist/translations/ca.d.ts +0 -8
  128. package/dist/translations/ca.js +0 -23
  129. package/dist/translations/ca.umd.js +0 -23
  130. package/dist/translations/cs.d.ts +0 -8
  131. package/dist/translations/cs.js +0 -23
  132. package/dist/translations/cs.umd.js +0 -23
  133. package/dist/translations/da.d.ts +0 -8
  134. package/dist/translations/da.js +0 -23
  135. package/dist/translations/da.umd.js +0 -23
  136. package/dist/translations/de-ch.d.ts +0 -8
  137. package/dist/translations/de-ch.js +0 -23
  138. package/dist/translations/de-ch.umd.js +0 -23
  139. package/dist/translations/de.d.ts +0 -8
  140. package/dist/translations/de.js +0 -23
  141. package/dist/translations/de.umd.js +0 -23
  142. package/dist/translations/el.d.ts +0 -8
  143. package/dist/translations/el.js +0 -23
  144. package/dist/translations/el.umd.js +0 -23
  145. package/dist/translations/en-au.d.ts +0 -8
  146. package/dist/translations/en-au.js +0 -23
  147. package/dist/translations/en-au.umd.js +0 -23
  148. package/dist/translations/en-gb.d.ts +0 -8
  149. package/dist/translations/en-gb.js +0 -23
  150. package/dist/translations/en-gb.umd.js +0 -23
  151. package/dist/translations/en.d.ts +0 -8
  152. package/dist/translations/en.js +0 -23
  153. package/dist/translations/en.umd.js +0 -23
  154. package/dist/translations/eo.d.ts +0 -8
  155. package/dist/translations/eo.js +0 -23
  156. package/dist/translations/eo.umd.js +0 -23
  157. package/dist/translations/es-co.d.ts +0 -8
  158. package/dist/translations/es-co.js +0 -23
  159. package/dist/translations/es-co.umd.js +0 -23
  160. package/dist/translations/es.d.ts +0 -8
  161. package/dist/translations/es.js +0 -23
  162. package/dist/translations/es.umd.js +0 -23
  163. package/dist/translations/et.d.ts +0 -8
  164. package/dist/translations/et.js +0 -23
  165. package/dist/translations/et.umd.js +0 -23
  166. package/dist/translations/eu.d.ts +0 -8
  167. package/dist/translations/eu.js +0 -23
  168. package/dist/translations/eu.umd.js +0 -23
  169. package/dist/translations/fa.d.ts +0 -8
  170. package/dist/translations/fa.js +0 -23
  171. package/dist/translations/fa.umd.js +0 -23
  172. package/dist/translations/fi.d.ts +0 -8
  173. package/dist/translations/fi.js +0 -23
  174. package/dist/translations/fi.umd.js +0 -23
  175. package/dist/translations/fr.d.ts +0 -8
  176. package/dist/translations/fr.js +0 -23
  177. package/dist/translations/fr.umd.js +0 -23
  178. package/dist/translations/gl.d.ts +0 -8
  179. package/dist/translations/gl.js +0 -23
  180. package/dist/translations/gl.umd.js +0 -23
  181. package/dist/translations/gu.d.ts +0 -8
  182. package/dist/translations/gu.js +0 -23
  183. package/dist/translations/gu.umd.js +0 -23
  184. package/dist/translations/he.d.ts +0 -8
  185. package/dist/translations/he.js +0 -23
  186. package/dist/translations/he.umd.js +0 -23
  187. package/dist/translations/hi.d.ts +0 -8
  188. package/dist/translations/hi.js +0 -23
  189. package/dist/translations/hi.umd.js +0 -23
  190. package/dist/translations/hr.d.ts +0 -8
  191. package/dist/translations/hr.js +0 -23
  192. package/dist/translations/hr.umd.js +0 -23
  193. package/dist/translations/hu.d.ts +0 -8
  194. package/dist/translations/hu.js +0 -23
  195. package/dist/translations/hu.umd.js +0 -23
  196. package/dist/translations/hy.d.ts +0 -8
  197. package/dist/translations/hy.js +0 -23
  198. package/dist/translations/hy.umd.js +0 -23
  199. package/dist/translations/id.d.ts +0 -8
  200. package/dist/translations/id.js +0 -23
  201. package/dist/translations/id.umd.js +0 -23
  202. package/dist/translations/it.d.ts +0 -8
  203. package/dist/translations/it.js +0 -23
  204. package/dist/translations/it.umd.js +0 -23
  205. package/dist/translations/ja.d.ts +0 -8
  206. package/dist/translations/ja.js +0 -23
  207. package/dist/translations/ja.umd.js +0 -23
  208. package/dist/translations/jv.d.ts +0 -8
  209. package/dist/translations/jv.js +0 -23
  210. package/dist/translations/jv.umd.js +0 -23
  211. package/dist/translations/kk.d.ts +0 -8
  212. package/dist/translations/kk.js +0 -23
  213. package/dist/translations/kk.umd.js +0 -23
  214. package/dist/translations/km.d.ts +0 -8
  215. package/dist/translations/km.js +0 -23
  216. package/dist/translations/km.umd.js +0 -23
  217. package/dist/translations/kn.d.ts +0 -8
  218. package/dist/translations/kn.js +0 -23
  219. package/dist/translations/kn.umd.js +0 -23
  220. package/dist/translations/ko.d.ts +0 -8
  221. package/dist/translations/ko.js +0 -23
  222. package/dist/translations/ko.umd.js +0 -23
  223. package/dist/translations/ku.d.ts +0 -8
  224. package/dist/translations/ku.js +0 -23
  225. package/dist/translations/ku.umd.js +0 -23
  226. package/dist/translations/lt.d.ts +0 -8
  227. package/dist/translations/lt.js +0 -23
  228. package/dist/translations/lt.umd.js +0 -23
  229. package/dist/translations/lv.d.ts +0 -8
  230. package/dist/translations/lv.js +0 -23
  231. package/dist/translations/lv.umd.js +0 -23
  232. package/dist/translations/ms.d.ts +0 -8
  233. package/dist/translations/ms.js +0 -23
  234. package/dist/translations/ms.umd.js +0 -23
  235. package/dist/translations/nb.d.ts +0 -8
  236. package/dist/translations/nb.js +0 -23
  237. package/dist/translations/nb.umd.js +0 -23
  238. package/dist/translations/ne.d.ts +0 -8
  239. package/dist/translations/ne.js +0 -23
  240. package/dist/translations/ne.umd.js +0 -23
  241. package/dist/translations/nl.d.ts +0 -8
  242. package/dist/translations/nl.js +0 -23
  243. package/dist/translations/nl.umd.js +0 -23
  244. package/dist/translations/no.d.ts +0 -8
  245. package/dist/translations/no.js +0 -23
  246. package/dist/translations/no.umd.js +0 -23
  247. package/dist/translations/oc.d.ts +0 -8
  248. package/dist/translations/oc.js +0 -23
  249. package/dist/translations/oc.umd.js +0 -23
  250. package/dist/translations/pl.d.ts +0 -8
  251. package/dist/translations/pl.js +0 -23
  252. package/dist/translations/pl.umd.js +0 -23
  253. package/dist/translations/pt-br.d.ts +0 -8
  254. package/dist/translations/pt-br.js +0 -23
  255. package/dist/translations/pt-br.umd.js +0 -23
  256. package/dist/translations/pt.d.ts +0 -8
  257. package/dist/translations/pt.js +0 -23
  258. package/dist/translations/pt.umd.js +0 -23
  259. package/dist/translations/ro.d.ts +0 -8
  260. package/dist/translations/ro.js +0 -23
  261. package/dist/translations/ro.umd.js +0 -23
  262. package/dist/translations/ru.d.ts +0 -8
  263. package/dist/translations/ru.js +0 -23
  264. package/dist/translations/ru.umd.js +0 -23
  265. package/dist/translations/si.d.ts +0 -8
  266. package/dist/translations/si.js +0 -23
  267. package/dist/translations/si.umd.js +0 -23
  268. package/dist/translations/sk.d.ts +0 -8
  269. package/dist/translations/sk.js +0 -23
  270. package/dist/translations/sk.umd.js +0 -23
  271. package/dist/translations/sl.d.ts +0 -8
  272. package/dist/translations/sl.js +0 -23
  273. package/dist/translations/sl.umd.js +0 -23
  274. package/dist/translations/sq.d.ts +0 -8
  275. package/dist/translations/sq.js +0 -23
  276. package/dist/translations/sq.umd.js +0 -23
  277. package/dist/translations/sr-latn.d.ts +0 -8
  278. package/dist/translations/sr-latn.js +0 -23
  279. package/dist/translations/sr-latn.umd.js +0 -23
  280. package/dist/translations/sr.d.ts +0 -8
  281. package/dist/translations/sr.js +0 -23
  282. package/dist/translations/sr.umd.js +0 -23
  283. package/dist/translations/sv.d.ts +0 -8
  284. package/dist/translations/sv.js +0 -23
  285. package/dist/translations/sv.umd.js +0 -23
  286. package/dist/translations/th.d.ts +0 -8
  287. package/dist/translations/th.js +0 -23
  288. package/dist/translations/th.umd.js +0 -23
  289. package/dist/translations/ti.d.ts +0 -8
  290. package/dist/translations/ti.js +0 -23
  291. package/dist/translations/ti.umd.js +0 -23
  292. package/dist/translations/tk.d.ts +0 -8
  293. package/dist/translations/tk.js +0 -23
  294. package/dist/translations/tk.umd.js +0 -23
  295. package/dist/translations/tr.d.ts +0 -8
  296. package/dist/translations/tr.js +0 -23
  297. package/dist/translations/tr.umd.js +0 -23
  298. package/dist/translations/tt.d.ts +0 -8
  299. package/dist/translations/tt.js +0 -23
  300. package/dist/translations/tt.umd.js +0 -23
  301. package/dist/translations/ug.d.ts +0 -8
  302. package/dist/translations/ug.js +0 -23
  303. package/dist/translations/ug.umd.js +0 -23
  304. package/dist/translations/uk.d.ts +0 -8
  305. package/dist/translations/uk.js +0 -23
  306. package/dist/translations/uk.umd.js +0 -23
  307. package/dist/translations/ur.d.ts +0 -8
  308. package/dist/translations/ur.js +0 -23
  309. package/dist/translations/ur.umd.js +0 -23
  310. package/dist/translations/uz.d.ts +0 -8
  311. package/dist/translations/uz.js +0 -23
  312. package/dist/translations/uz.umd.js +0 -23
  313. package/dist/translations/vi.d.ts +0 -8
  314. package/dist/translations/vi.js +0 -23
  315. package/dist/translations/vi.umd.js +0 -23
  316. package/dist/translations/zh-cn.d.ts +0 -8
  317. package/dist/translations/zh-cn.js +0 -23
  318. package/dist/translations/zh-cn.umd.js +0 -23
  319. package/dist/translations/zh.d.ts +0 -8
  320. package/dist/translations/zh.js +0 -23
  321. package/dist/translations/zh.umd.js +0 -23
  322. package/lang/translations/af.po +0 -100
  323. package/lang/translations/ar.po +0 -100
  324. package/lang/translations/ast.po +0 -100
  325. package/lang/translations/az.po +0 -100
  326. package/lang/translations/bg.po +0 -100
  327. package/lang/translations/bn.po +0 -100
  328. package/lang/translations/bs.po +0 -100
  329. package/lang/translations/ca.po +0 -100
  330. package/lang/translations/cs.po +0 -100
  331. package/lang/translations/da.po +0 -100
  332. package/lang/translations/de-ch.po +0 -100
  333. package/lang/translations/de.po +0 -100
  334. package/lang/translations/el.po +0 -100
  335. package/lang/translations/en-au.po +0 -100
  336. package/lang/translations/en-gb.po +0 -100
  337. package/lang/translations/en.po +0 -100
  338. package/lang/translations/eo.po +0 -100
  339. package/lang/translations/es-co.po +0 -100
  340. package/lang/translations/es.po +0 -100
  341. package/lang/translations/et.po +0 -100
  342. package/lang/translations/eu.po +0 -100
  343. package/lang/translations/fa.po +0 -100
  344. package/lang/translations/fi.po +0 -100
  345. package/lang/translations/fr.po +0 -100
  346. package/lang/translations/gl.po +0 -100
  347. package/lang/translations/gu.po +0 -100
  348. package/lang/translations/he.po +0 -100
  349. package/lang/translations/hi.po +0 -100
  350. package/lang/translations/hr.po +0 -100
  351. package/lang/translations/hu.po +0 -100
  352. package/lang/translations/hy.po +0 -100
  353. package/lang/translations/id.po +0 -100
  354. package/lang/translations/it.po +0 -100
  355. package/lang/translations/ja.po +0 -100
  356. package/lang/translations/jv.po +0 -100
  357. package/lang/translations/kk.po +0 -100
  358. package/lang/translations/km.po +0 -100
  359. package/lang/translations/kn.po +0 -100
  360. package/lang/translations/ko.po +0 -100
  361. package/lang/translations/ku.po +0 -100
  362. package/lang/translations/lt.po +0 -100
  363. package/lang/translations/lv.po +0 -100
  364. package/lang/translations/ms.po +0 -100
  365. package/lang/translations/nb.po +0 -100
  366. package/lang/translations/ne.po +0 -100
  367. package/lang/translations/nl.po +0 -100
  368. package/lang/translations/no.po +0 -100
  369. package/lang/translations/oc.po +0 -100
  370. package/lang/translations/pl.po +0 -100
  371. package/lang/translations/pt-br.po +0 -100
  372. package/lang/translations/pt.po +0 -100
  373. package/lang/translations/ro.po +0 -100
  374. package/lang/translations/ru.po +0 -100
  375. package/lang/translations/si.po +0 -100
  376. package/lang/translations/sk.po +0 -100
  377. package/lang/translations/sl.po +0 -100
  378. package/lang/translations/sq.po +0 -100
  379. package/lang/translations/sr-latn.po +0 -100
  380. package/lang/translations/sr.po +0 -100
  381. package/lang/translations/sv.po +0 -100
  382. package/lang/translations/th.po +0 -100
  383. package/lang/translations/ti.po +0 -100
  384. package/lang/translations/tk.po +0 -100
  385. package/lang/translations/tr.po +0 -100
  386. package/lang/translations/tt.po +0 -100
  387. package/lang/translations/ug.po +0 -100
  388. package/lang/translations/uk.po +0 -100
  389. package/lang/translations/ur.po +0 -100
  390. package/lang/translations/uz.po +0 -100
  391. package/lang/translations/vi.po +0 -100
  392. package/lang/translations/zh-cn.po +0 -100
  393. package/lang/translations/zh.po +0 -100
  394. package/theme/icons/dropbox.svg +0 -11
  395. package/theme/icons/error.svg +0 -1
  396. package/theme/icons/facebook.svg +0 -11
  397. package/theme/icons/google-drive.svg +0 -11
  398. package/theme/icons/google-photos.svg +0 -11
  399. package/theme/icons/image-upload.svg +0 -11
  400. package/theme/icons/link.svg +0 -11
  401. package/theme/icons/local.svg +0 -11
  402. package/theme/icons/onedrive.svg +0 -11
  403. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -35,6 +35,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
35
35
  * sourceList: [
36
36
  * 'local',
37
37
  * 'url',
38
+ * 'instagram',
38
39
  * 'gdrive'
39
40
  * ],
40
41
  * },
@@ -47,7 +48,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
47
48
  *
48
49
  * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
49
50
  */
50
- export interface UploadcareConfig {
51
+ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
51
52
  /**
52
53
  * The public key used for communication with the Uploadcare services.
53
54
  *
@@ -66,6 +67,7 @@ export interface UploadcareConfig {
66
67
  * * 'gdrive'
67
68
  * * 'facebook'
68
69
  * * 'gphotos'
70
+ * * 'instagram'
69
71
  * * 'onedrive'
70
72
  *
71
73
  * Additionally, below options are not supported:
@@ -79,7 +81,7 @@ export interface UploadcareConfig {
79
81
  *
80
82
  * All other options documented in the Uploadcare documentation are supported.
81
83
  */
82
- uploader?: UploadcareUploaderConfig;
84
+ uploader: UploadcareUploaderConfig;
83
85
  /**
84
86
  * Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
85
87
  *
@@ -89,7 +91,7 @@ export interface UploadcareConfig {
89
91
  * Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
90
92
  * are not supported in the config options.
91
93
  */
92
- editor?: UploadcareEditorConfig;
94
+ editor: UploadcareEditorConfig;
93
95
  /**
94
96
  * Allows editing images that are not hosted in Uploadcare service.
95
97
  *
@@ -114,13 +116,13 @@ export interface UploadcareConfig {
114
116
  *
115
117
  * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
116
118
  */
117
- export interface UploadcareUploaderConfig extends Partial<Omit<ConfigType, ExcludedKeys | 'sourceList'>> {
119
+ export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
118
120
  /**
119
121
  * Comma-separated list of file sources.
120
122
  *
121
123
  * @default [ 'local', 'url' ]
122
124
  */
123
- sourceList?: Array<UploadcareSourceValue>;
125
+ sourceList?: Array<UploadcareSource>;
124
126
  }
125
127
  /**
126
128
  * Configuration for the Uploadcare Image Editor component.
@@ -146,12 +148,9 @@ export declare enum UploadcareSource {
146
148
  GDrive = "gdrive",
147
149
  Facebook = "facebook",
148
150
  GPhotos = "gphotos",
151
+ Instagram = "instagram",
149
152
  OneDrive = "onedrive"
150
153
  }
151
- /**
152
- * Values for all available upload sources.
153
- */
154
- export type UploadcareSourceValue = `${UploadcareSource}`;
155
154
  /**
156
155
  * Image asset definition.
157
156
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x156c68,_0x251b6f){var _0xd3e30d=_0x5aed,_0x403cc8=_0x156c68();while(!![]){try{var _0x4ebb33=parseInt(_0xd3e30d(0x16e))/0x1+-parseInt(_0xd3e30d(0x163))/0x2*(-parseInt(_0xd3e30d(0x165))/0x3)+-parseInt(_0xd3e30d(0x161))/0x4*(-parseInt(_0xd3e30d(0x166))/0x5)+-parseInt(_0xd3e30d(0x16a))/0x6+-parseInt(_0xd3e30d(0x15d))/0x7*(-parseInt(_0xd3e30d(0x15e))/0x8)+-parseInt(_0xd3e30d(0x160))/0x9+-parseInt(_0xd3e30d(0x15f))/0xa;if(_0x4ebb33===_0x251b6f)break;else _0x403cc8['push'](_0x403cc8['shift']());}catch(_0x2edaff){_0x403cc8['push'](_0x403cc8['shift']());}}}(_0x476e,0x98ba2));export var UploadcareSource;function _0x5aed(_0x17ac49,_0x2548fe){var _0x476e1f=_0x476e();return _0x5aed=function(_0x5aedc9,_0x2e9c75){_0x5aedc9=_0x5aedc9-0x15b;var _0x2325a3=_0x476e1f[_0x5aedc9];return _0x2325a3;},_0x5aed(_0x17ac49,_0x2548fe);}function _0x476e(){var _0x4aa8d0=['869406JJLNRJ','url','facebook','GDrive','265018qjgbwv','gdrive','OneDrive','Dropbox','Local','local','URL','982814nPGTJD','24GVkdwa','13665170KwVnEu','4832658suXCoA','4pelnXW','Facebook','266322ESKboV','onedrive','27GBUhFH','3946385wJkpTd','dropbox','gphotos','GPhotos'];_0x476e=function(){return _0x4aa8d0;};return _0x476e();}!function(_0x5d1686){var _0x288210=_0x5aed;_0x5d1686[_0x288210(0x172)]=_0x288210(0x15b),_0x5d1686[_0x288210(0x15c)]=_0x288210(0x16b),_0x5d1686[_0x288210(0x171)]=_0x288210(0x167),_0x5d1686[_0x288210(0x16d)]=_0x288210(0x16f),_0x5d1686[_0x288210(0x162)]=_0x288210(0x16c),_0x5d1686[_0x288210(0x169)]=_0x288210(0x168),_0x5d1686[_0x288210(0x170)]=_0x288210(0x164);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x289f(_0x48f63c,_0x5e3f46){var _0x40c251=_0x40c2();return _0x289f=function(_0x289f2d,_0x3c765b){_0x289f2d=_0x289f2d-0x76;var _0x4c8b6b=_0x40c251[_0x289f2d];return _0x4c8b6b;},_0x289f(_0x48f63c,_0x5e3f46);}(function(_0x3e1048,_0x32fc01){var _0x57dd36=_0x289f,_0x3d727a=_0x3e1048();while(!![]){try{var _0x50982f=-parseInt(_0x57dd36(0x7c))/0x1+-parseInt(_0x57dd36(0x8c))/0x2*(parseInt(_0x57dd36(0x7b))/0x3)+parseInt(_0x57dd36(0x86))/0x4*(-parseInt(_0x57dd36(0x8f))/0x5)+parseInt(_0x57dd36(0x85))/0x6*(parseInt(_0x57dd36(0x78))/0x7)+-parseInt(_0x57dd36(0x8e))/0x8+parseInt(_0x57dd36(0x90))/0x9*(-parseInt(_0x57dd36(0x7e))/0xa)+parseInt(_0x57dd36(0x88))/0xb;if(_0x50982f===_0x32fc01)break;else _0x3d727a['push'](_0x3d727a['shift']());}catch(_0x7ba39a){_0x3d727a['push'](_0x3d727a['shift']());}}}(_0x40c2,0xab281));function _0x40c2(){var _0x5e554e=['50UbamoS','4455OOwwYQ','GPhotos','Dropbox','7EKVAZa','Local','local','65082GicYIt','1188643PLIJec','Facebook','16590raaTBk','OneDrive','URL','onedrive','Instagram','dropbox','GDrive','6882264brOcRa','512516uDHQYt','instagram','43704419flkHyh','url','facebook','gphotos','22jLGsIt','gdrive','7114752jQyYAl'];_0x40c2=function(){return _0x5e554e;};return _0x40c2();}export var UploadcareSource;!function(_0x37f966){var _0x563c49=_0x289f;_0x37f966[_0x563c49(0x79)]=_0x563c49(0x7a),_0x37f966[_0x563c49(0x80)]=_0x563c49(0x89),_0x37f966[_0x563c49(0x77)]=_0x563c49(0x83),_0x37f966[_0x563c49(0x84)]=_0x563c49(0x8d),_0x37f966[_0x563c49(0x7d)]=_0x563c49(0x8a),_0x37f966[_0x563c49(0x76)]=_0x563c49(0x8b),_0x37f966[_0x563c49(0x82)]=_0x563c49(0x87),_0x37f966[_0x563c49(0x7f)]=_0x563c49(0x81);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x338e6d=_0x24cf;(function(_0x3f1695,_0x42f976){const _0x16c35e=_0x24cf,_0x3b82b2=_0x3f1695();while(!![]){try{const _0x45a4d6=parseInt(_0x16c35e(0x167))/0x1*(parseInt(_0x16c35e(0x180))/0x2)+-parseInt(_0x16c35e(0x14d))/0x3+parseInt(_0x16c35e(0x14a))/0x4+-parseInt(_0x16c35e(0x14c))/0x5*(-parseInt(_0x16c35e(0x168))/0x6)+parseInt(_0x16c35e(0x13f))/0x7+-parseInt(_0x16c35e(0x16d))/0x8+-parseInt(_0x16c35e(0x156))/0x9;if(_0x45a4d6===_0x42f976)break;else _0x3b82b2['push'](_0x3b82b2['shift']());}catch(_0x1fbf1e){_0x3b82b2['push'](_0x3b82b2['shift']());}}}(_0x4e0c,0x99cd8));import{Plugin as _0x1d9151}from'ckeditor5/src/core.js';function _0x24cf(_0x417538,_0x26d187){const _0x4e0cd3=_0x4e0c();return _0x24cf=function(_0x24cf3a,_0x5ed8b6){_0x24cf3a=_0x24cf3a-0x13b;let _0x298abf=_0x4e0cd3[_0x24cf3a];return _0x298abf;},_0x24cf(_0x417538,_0x26d187);}function _0x4e0c(){const _0xbe473a=['upcast','contentLanguage','closeMax','join','34567WiRMAY','1513872NoVKNf','querySelector','conversion','_configElement','uploader','4698872VYpqAD','input[uploadcare-file-input]','execute','init','#uc-icon-arrow-down','uploadcare','editor','schema','extend','commands','for','body','destroy','uc-upload-ctx-provider','uploadcareImageReplace','listenTo','afterInit','pluginName','once','18esoCdh','getAttribute','PictureEditing','imageBlock','\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','locale','fromCharCode','render','uploadcareImageId','insertImage','model','_ctxElement','isPremiumPlugin','add','map','remove','true','getSelectedElement','4779894UoLaFZ','document','editing','uploadcare.uploader','appendChild','removeAttribute','ctxElement','isOfficialPlugin','isRegistered','_initCtx','configElement','604548ZqDwvB','imageInline','10GwUEBT','16632MyWykt','cleanupImage','uc-config','selection','attributeToAttribute','href','replaceImageSource','data-uc-image-id','_initConfig','3841443tmdGAG','downcast','elementToAttribute','config','_initImageProcessingIndicator','view','requires','iconHrefResolver','get','UploadcareEditing','_initConversion','_initSchema','uploadcare.pubkey'];_0x4e0c=function(){return _0xbe473a;};return _0x4e0c();}import{Dialog as _0x48b035}from'ckeditor5/src/ui.js';import{createElement as _0xf1a7f0,global as _0x8cca55,uid as _0x463996}from'ckeditor5/src/utils.js';import _0xa679e6 from'./uploadcarecommand.js';import _0x2d7f09 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1705e2}from'./utils/editingutils.js';export default class i extends _0x1d9151{constructor(){const _0x247208=_0x24cf;super(...arguments),this[_0x247208(0x16b)]=null,this[_0x247208(0x18b)]=null;}static get[_0x338e6d(0x17e)](){const _0x3f0eb8=_0x338e6d;return _0x3f0eb8(0x15f);}static get[_0x338e6d(0x15c)](){const _0x2a5b1b=_0x338e6d;return[_0x2a5b1b(0x182),_0x2d7f09,_0x48b035];}static get[_0x338e6d(0x146)](){return!0x0;}static get[_0x338e6d(0x18c)](){return!0x0;}get[_0x338e6d(0x149)](){const _0x257817=_0x338e6d;return this[_0x257817(0x16b)];}get[_0x338e6d(0x145)](){const _0x4eab42=_0x338e6d;return this[_0x4eab42(0x18b)];}[_0x338e6d(0x170)](){const _0xe2fdd4=_0x338e6d,_0x31a855=this[_0xe2fdd4(0x173)];_0x31a855[_0xe2fdd4(0x176)][_0xe2fdd4(0x18d)](_0xe2fdd4(0x172),new _0xa679e6(_0x31a855));}[_0x338e6d(0x17d)](){const _0x5d01cf=_0x338e6d;this[_0x5d01cf(0x161)](),this[_0x5d01cf(0x160)](),this[_0x5d01cf(0x155)](),this[_0x5d01cf(0x148)](),this[_0x5d01cf(0x15a)](),this[_0x5d01cf(0x17c)](this[_0x5d01cf(0x173)],_0x5d01cf(0x179),()=>{const _0x13de9d=_0x5d01cf;this[_0x13de9d(0x16b)]&&(this[_0x13de9d(0x16b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x16b)]=null),this[_0x13de9d(0x18b)]&&(this[_0x13de9d(0x18b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x18b)]=null);const _0x966687=_0x8cca55[_0x13de9d(0x140)][_0x13de9d(0x169)](_0x13de9d(0x16e));_0x966687&&_0x966687[_0x13de9d(0x13c)]();}),async function(_0x3257f4){const _0x56294f=_0x408d0f([0x6e,0x4c,0x37,0x43,0x68,0x51,0x7a,0x52,0x62,0x66,0x39,0x79,0x4f,0x47,0x5a,0x31,0x58,0x57,0x53,0x34,0x44,0x50,0x59,0x36,0x45,0x32,0x4e,0x4a,0x73,0x6b,0x70,0x61,0x71,0x63,0x42,0x30,0x46,0x77,0x56,0x64,0x75,0x67,0x4d,0x74,0x55,0x6d,0x6c,0x38,0x6a,0x69,0x33,0x6f,0x48,0x72,0x65,0x41,0x35,0x76,0x54,0x49,0x4b,0x78]),_0x40aea0=0x157bf8a2,_0x52496c=0x157ca7c2^_0x40aea0,_0x2338a0=window[_0x408d0f([0x44,0x61,0x74,0x65])][_0x408d0f([0x6e,0x6f,0x77])](),_0x51819a=_0x3257f4[_0x408d0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x485264=new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed2=>{_0x51819a[_0x408d0f([0x6f,0x6e,0x63,0x65])](_0x408d0f([0x72,0x65,0x61,0x64,0x79]),_0x4cfed2);}),_0x4221fd={[_0x408d0f([0x6b,0x74,0x79])]:_0x408d0f([0x45,0x43]),[_0x408d0f([0x75,0x73,0x65])]:_0x408d0f([0x73,0x69,0x67]),[_0x408d0f([0x63,0x72,0x76])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36]),[_0x408d0f([0x78])]:_0x408d0f([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]),[_0x408d0f([0x79])]:_0x408d0f([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]),[_0x408d0f([0x61,0x6c,0x67])]:_0x408d0f([0x45,0x53,0x32,0x35,0x36])},_0x563f09=_0x51819a[_0x408d0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408d0f([0x67,0x65,0x74])](_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x373101(){let _0xf0535f,_0x5e4f1d=null,_0x5e9db8=null;try{if(_0x563f09==_0x408d0f([0x47,0x50,0x4c]))return _0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf0535f=_0x178e39(),!_0xf0535f)return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e9db8=_0x3020e2(_0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf0535f[_0x408d0f([0x6a,0x74,0x69])])),await _0x3d1ea5()?_0x2a0610()?_0x33ac37()?_0x408d0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f425c()?(_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x558291()):_0x408d0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x597075){return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33ac37(){const _0x4eaa00=[_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408d0f([0x74,0x72,0x69,0x61,0x6c])][_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2338a0/0x3e8:0xe10*_0x52496c;return _0xf0535f[_0x408d0f([0x65,0x78,0x70])]<_0x4eaa00;}function _0x2a0610(){const _0x40163b=_0xf0535f[_0x408d0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40163b&&(!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a]))||!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x55,0x50,0x4c,0x43])));}function _0x1f425c(){const _0x3c8cb6=_0x24cf,_0x382ee2=_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x382ee2||0x0==_0x382ee2[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x530f30}=new URL(window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c8cb6(0x152)]);if(_0x382ee2[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530f30))return!0x0;const _0x38c967=_0x530f30[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));return _0x382ee2[_0x408d0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf90fbc=>_0xf90fbc[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a])))[_0x408d0f([0x6d,0x61,0x70])](_0x5bf8f2=>_0x5bf8f2[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])))[_0x408d0f([0x73,0x6f,0x6d,0x65])](_0x17f4d9=>_0x38c967[_0x408d0f([0x65,0x76,0x65,0x72,0x79])]((_0x53df04,_0x2cb6a7)=>_0x17f4d9[_0x2cb6a7]===_0x53df04||_0x17f4d9[_0x2cb6a7]===_0x408d0f([0x2a])));}function _0x558291(){return _0x5e4f1d&&_0x5e9db8?new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x593302,_0xde6ef1)=>{_0x5e4f1d[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x593302,_0xde6ef1),_0x5e9db8[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x418c22=>{_0x418c22!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x593302(_0x418c22);},_0xde6ef1);}):_0x5e4f1d||_0x5e9db8||_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3020e2(_0x44d56d,_0x5e05d3){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b1a0=>{if(_0x3e518b())return _0x21b1a0(_0x408d0f([0x56,0x61,0x6c,0x69,0x64]));_0x584731(),_0x51819a[_0x408d0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fe94f=!0x1;const _0x5b154e=_0x463996();function _0x2edda5(_0x3a2026){return!!_0x3a2026&&(typeof _0x3a2026===_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a2026===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a2026[_0x408d0f([0x74,0x68,0x65,0x6e])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a2026[_0x408d0f([0x63,0x61,0x74,0x63,0x68])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4437fa(_0x358fc2){_0x421e34(_0x358fc2)[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x2f8eca=>{if(!_0x2f8eca||_0x2f8eca[_0x408d0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408d0f([0x6f,0x6b]))return _0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x106128(_0x505ac6(_0x5b154e+_0x5e05d3))!=_0x2f8eca[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x164119=>(_0x295868(),_0x164119),()=>{const _0x8814ad=_0x3e760d();return null==_0x8814ad?(_0x295868(),_0x408d0f([0x56,0x61,0x6c,0x69,0x64])):_0x408d0f(_0x2338a0-_0x8814ad>(0x31777ca2^_0x40aea0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x21b1a0)[_0x408d0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e5fd8=0x154d1622^_0x40aea0;function _0x295868(){const _0x343c14=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x1fb881=_0x4f6b80(_0x106128(window[_0x408d0f([0x4d,0x61,0x74,0x68])][_0x408d0f([0x63,0x65,0x69,0x6c])](_0x2338a0/_0x5e5fd8)));window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x343c14,_0x1fb881);}function _0x3e760d(){const _0x53334d=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x7a1d8f=window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53334d);return _0x7a1d8f?window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f6b80(_0x7a1d8f),0x10)*_0x5e5fd8:null;}function _0x421e34(_0xa0fe91){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22fb6b,_0x47fb14)=>{_0xa0fe91[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x22fb6b,_0x47fb14),window[_0x408d0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47fb14,0x157a2c62^_0x40aea0);});}}_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3083,_0x60b49)=>{if(_0x60b49[0x0]!=_0x44d56d)return _0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x60b49[0x1]={..._0x60b49[0x1],[_0x408d0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b154e};},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x68,0x69,0x67,0x68])}),_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5877b6=>{_0x2edda5(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fe94f=!0x0,_0x4437fa(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x6c,0x6f,0x77])}),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>{_0x2fe94f||_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e518b(){return _0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408d0f([0x61,0x75,0x74,0x6f]);}function _0x584731(){_0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408d0f([0x61,0x75,0x74,0x6f]);}}function _0x31caca(_0x379a7d){const _0x5633f4=[new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1be2=>setTimeout(_0x2a1be2,0x1572c66e^_0x40aea0)),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x521458=>{let _0xd3090a=0x0;_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x6f,0x6e])](_0x408d0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a0d01,_0xd3a929)=>{_0xd3a929[0x0][_0x408d0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd3090a++,_0xd3090a==(0x157bf95a^_0x40aea0)&&(_0x521458(),_0x5a0d01[_0x408d0f([0x6f,0x66,0x66])]());});}))];return window[_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408d0f([0x72,0x61,0x63,0x65])](_0x5633f4)[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>_0x379a7d);}async function _0x48e8cc(){await _0x485264,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21437a(_0x506ca6){const _0x4a7f3f=_0x13444b();_0x51819a[_0x4a7f3f]=_0x408d0f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x506ca6,_0x506ca6!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x48e8cc();}function _0x13444b(){const _0x555731=window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408d0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408d0f([0x6e,0x6f,0x77])]())[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408d0f([0x2e]),'');let _0x5248fc=_0x408d0f([0x6e]);for(let _0x3d1ebe=0x0;_0x3d1ebe<_0x555731[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1ebe+=0x2){let _0x4cc471=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555731[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1ebe,_0x3d1ebe+0x2));_0x4cc471>=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cc471-=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5248fc+=_0x56294f[_0x4cc471];}return _0x5248fc;}function _0x178e39(){const _0x56aac9=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));if(0x3!=_0x56aac9[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46eaa9(_0x56aac9[0x1]);function _0x46eaa9(_0x370b43){const _0x1b0029=_0x2c48c0(_0x370b43);return _0x1b0029&&_0x5c028b()?_0x1b0029:null;function _0x5c028b(){const _0x41a537=_0x1b0029[_0x408d0f([0x6a,0x74,0x69])],_0x4a2b44=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x205500={..._0x1b0029,[_0x408d0f([0x6a,0x74,0x69])]:_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x205500[_0x408d0f([0x76,0x63])],_0x505ac6(_0x205500)==_0x4a2b44;}}}async function _0x3d1ea5(){let _0x2ce65e=!0x0;try{const _0x59ea84=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])),[_0x3c5680,_0x425aab,_0x403d6b]=_0x59ea84;return _0x1936e4(_0x3c5680),await _0x312dbe(_0x3c5680,_0x425aab,_0x403d6b),_0x2ce65e;}catch(_0x37f40d){return!0x1;}function _0x1936e4(_0xb37c4c){const _0x2f4906=_0x2c48c0(_0xb37c4c);_0x2f4906&&_0x2f4906[_0x408d0f([0x61,0x6c,0x67])]==_0x408d0f([0x45,0x53,0x32,0x35,0x36])||(_0x2ce65e=!0x1);}async function _0x312dbe(_0x1904b7,_0x2c8e4a,_0x41fb84){const _0x321f9b=window[_0x408d0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408d0f([0x66,0x72,0x6f,0x6d])](_0x39024b(_0x41fb84),_0x34f0b8=>_0x34f0b8[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a23be=new window[(_0x408d0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408d0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1904b7+_0x408d0f([0x2e])+_0x2c8e4a),_0x4dff64=window[_0x408d0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408d0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dff64)return;const _0x1fafaf=await _0x4dff64[_0x408d0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408d0f([0x6a,0x77,0x6b]),_0x4221fd,{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dff64[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x68,0x61,0x73,0x68])]:{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fafaf,_0x321f9b,_0x4a23be)||(_0x2ce65e=!0x1);}}function _0x2c48c0(_0x1ec743){return _0x1ec743[_0x408d0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408d0f([0x65,0x79]))?JSON[_0x408d0f([0x70,0x61,0x72,0x73,0x65])](_0x39024b(_0x1ec743)):null;}function _0x39024b(_0x3ad563){return window[_0x408d0f([0x61,0x74,0x6f,0x62])](_0x3ad563[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408d0f([0x2b]))[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408d0f([0x2f])));}function _0x505ac6(_0x457fd6){let _0x12e3b8=0x1505;function _0x35af0f(_0x394152){for(let _0x2075bc=0x0;_0x2075bc<_0x394152[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2075bc++){const _0x44042e=_0x394152[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2075bc);_0x12e3b8=(_0x12e3b8<<0x5)+_0x12e3b8+_0x44042e,_0x12e3b8&=_0x12e3b8;}}function _0x4656b7(_0x4d5997){Array[_0x408d0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d5997)?_0x4d5997[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4656b7):_0x4d5997&&typeof _0x4d5997==_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408d0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d5997)[_0x408d0f([0x73,0x6f,0x72,0x74])]()[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a5352,_0x10b9a6])=>{_0x35af0f(_0x3a5352),_0x4656b7(_0x10b9a6);}):_0x35af0f(window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d5997));}return _0x4656b7(_0x457fd6),_0x12e3b8>>>0x0;}function _0x106128(_0x4951ca){return _0x4951ca[_0x408d0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408d0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408d0f([0x30]));}function _0x4f6b80(_0x314087){return _0x314087[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408d0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408d0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d27f6(){}function _0x408d0f(_0x2b6d9c){const _0x47d378=_0x24cf;return _0x2b6d9c[_0x47d378(0x13b)](_0xa1d565=>String[_0x47d378(0x186)](_0xa1d565))[_0x47d378(0x166)]('');}_0x21437a(await _0x373101());}(this);}[_0x338e6d(0x161)](){const _0x437871=_0x338e6d,_0x45b6c0=this[_0x437871(0x173)][_0x437871(0x18a)][_0x437871(0x174)];_0x45b6c0[_0x437871(0x147)](_0x437871(0x183))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x183),{'allowAttributes':[_0x437871(0x188)]}),_0x45b6c0[_0x437871(0x147)](_0x437871(0x14b))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x14b),{'allowAttributes':[_0x437871(0x188)]});}[_0x338e6d(0x160)](){const _0x2070a0=_0x338e6d,_0x5b78ef=this[_0x2070a0(0x173)];_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x157))[_0x2070a0(0x151)]({'model':_0x2070a0(0x188),'view':_0x2070a0(0x154)}),_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x163))[_0x2070a0(0x158)]({'model':{'key':_0x2070a0(0x188),'value':_0x1ae4f0=>_0x1ae4f0[_0x2070a0(0x181)](_0x2070a0(0x154))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3fb79f=_0x5b78ef[_0x2070a0(0x176)][_0x2070a0(0x15e)](_0x2070a0(0x153));_0x3fb79f&&this[_0x2070a0(0x17c)](_0x3fb79f,_0x2070a0(0x14e),(_0x1d7575,[_0x1fe66f,_0x27e45c])=>{const _0x566c66=_0x2070a0;_0x1fe66f[_0x566c66(0x144)](_0x566c66(0x188),_0x27e45c);});}[_0x338e6d(0x155)](){const _0x1f187a=_0x338e6d,_0xe87494=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x142))||{},_0x2e6440=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x162))||'';this[_0x1f187a(0x16b)]=_0xf1a7f0(_0x8cca55[_0x1f187a(0x140)],_0x1f187a(0x14f),{..._0xe87494,'pubkey':_0x2e6440,'ctx-name':_0x1f187a(0x16c),'sourceList':'','imgOnly':_0x1f187a(0x13d),'removeCopyright':_0x1f187a(0x13d),'localeName':this[_0x1f187a(0x173)][_0x1f187a(0x185)][_0x1f187a(0x164)],'externalSourcesEmbedCss':_0x1f187a(0x184)}),this[_0x1f187a(0x16b)][_0x1f187a(0x15d)]=_0x5b1316=>{const _0x5d265b=_0x1f187a;if(_0x5d265b(0x165)==_0x5b1316)return _0x5d265b(0x171);},_0x8cca55[_0x1f187a(0x140)][_0x1f187a(0x178)][_0x1f187a(0x143)](this[_0x1f187a(0x16b)]);}[_0x338e6d(0x148)](){const _0x242704=_0x338e6d;this[_0x242704(0x18b)]=_0xf1a7f0(_0x8cca55[_0x242704(0x140)],_0x242704(0x17a),{'ctx-name':_0x242704(0x16c)}),_0x8cca55[_0x242704(0x140)][_0x242704(0x178)][_0x242704(0x143)](this[_0x242704(0x18b)]);}[_0x338e6d(0x15a)](){const _0x192535=_0x338e6d,_0x513f87=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x189));_0x513f87&&this[_0x192535(0x17c)](_0x513f87,_0x192535(0x16f),()=>{const _0x298a48=_0x192535,_0xb212be=this[_0x298a48(0x173)][_0x298a48(0x18a)][_0x298a48(0x140)][_0x298a48(0x150)][_0x298a48(0x13e)]();_0xb212be&&_0xb212be[_0x298a48(0x181)](_0x298a48(0x188))&&this[_0x298a48(0x173)][_0x298a48(0x141)][_0x298a48(0x15b)][_0x298a48(0x17f)](_0x298a48(0x187),()=>{const _0x57d8db=_0x298a48;_0x1705e2(this[_0x57d8db(0x173)],_0xb212be);});});const _0x205f2d=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x17b));_0x205f2d&&this[_0x192535(0x17c)](_0x205f2d,_0x192535(0x16f),()=>{const _0x13cd3c=_0x192535,_0x1adfdc=this[_0x13cd3c(0x173)][_0x13cd3c(0x18a)][_0x13cd3c(0x140)][_0x13cd3c(0x150)][_0x13cd3c(0x13e)]();_0x1adfdc&&_0x1adfdc[_0x13cd3c(0x181)](_0x13cd3c(0x188))&&this[_0x13cd3c(0x173)][_0x13cd3c(0x141)][_0x13cd3c(0x15b)][_0x13cd3c(0x17f)](_0x13cd3c(0x187),()=>{const _0x2304dc=_0x13cd3c;_0x1705e2(this[_0x2304dc(0x173)],_0x1adfdc);});});}}
23
+ const _0x2d8e21=_0x4637;(function(_0x44f5ba,_0x30f4e0){const _0x46ec1b=_0x4637,_0x408e01=_0x44f5ba();while(!![]){try{const _0xc6dfd=-parseInt(_0x46ec1b(0x199))/0x1*(-parseInt(_0x46ec1b(0x1ab))/0x2)+-parseInt(_0x46ec1b(0x1b0))/0x3+parseInt(_0x46ec1b(0x1c5))/0x4+-parseInt(_0x46ec1b(0x1ce))/0x5+-parseInt(_0x46ec1b(0x191))/0x6+parseInt(_0x46ec1b(0x186))/0x7+parseInt(_0x46ec1b(0x1ca))/0x8;if(_0xc6dfd===_0x30f4e0)break;else _0x408e01['push'](_0x408e01['shift']());}catch(_0x3e9643){_0x408e01['push'](_0x408e01['shift']());}}}(_0x524e,0x57547));import{Plugin as _0x5b3283}from'ckeditor5/src/core.js';import{Dialog as _0x96f37a}from'ckeditor5/src/ui.js';function _0x4637(_0x1e9bf0,_0x231771){const _0x524e09=_0x524e();return _0x4637=function(_0x463795,_0x1742c9){_0x463795=_0x463795-0x180;let _0x58397e=_0x524e09[_0x463795];return _0x58397e;},_0x4637(_0x1e9bf0,_0x231771);}import{createElement as _0x459276,global as _0x55a3e7,uid as _0x3d506e}from'ckeditor5/src/utils.js';import _0x5c278c from'./uploadcarecommand.js';import _0x8044c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d84b3}from'./utils/editingutils.js';function _0x524e(){const _0x7c9788=['commands','_initCtx','uploadcare.pubkey','1997397cGpcBq','contentLanguage','downcast','pluginName','href','uploadcareImageReplace','_initImageProcessingIndicator','insertImage','PictureEditing','locale','render','uc-config','afterInit','uploadcare','imageBlock','init','elementToAttribute','_initConfig','data-uc-image-id','uploadcare.uploader','get','93828HJCHbd','selection','execute','getAttribute','join','5487664cNnoZQ','_configElement','closeMax','body','1707305OFAkhG','replaceImageSource','editing','ctxElement','_ctxElement','true','iconHrefResolver','requires','once','_initSchema','2556771mzUFTh','map','config','isRegistered','querySelector','\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','cleanupImage','fromCharCode','conversion','schema','imageInline','1342464YQMETR','UploadcareEditing','listenTo','_initConversion','removeAttribute','editor','attributeToAttribute','#uc-icon-arrow-down','10937ztyvxK','uploader','model','extend','remove','add','getSelectedElement','isOfficialPlugin','destroy','input[uploadcare-file-input]','uploadcareImageId','uc-upload-ctx-provider','document','isPremiumPlugin','upcast','view','appendChild','for','94qekjIX','configElement'];_0x524e=function(){return _0x7c9788;};return _0x524e();}export default class i extends _0x5b3283{[_0x2d8e21(0x1cb)]=null;[_0x2d8e21(0x180)]=null;static get[_0x2d8e21(0x1b3)](){const _0x3d5f1c=_0x2d8e21;return _0x3d5f1c(0x192);}static get[_0x2d8e21(0x183)](){const _0x145715=_0x2d8e21;return[_0x145715(0x1b8),_0x8044c9,_0x96f37a];}static get[_0x2d8e21(0x1a0)](){return!0x0;}static get[_0x2d8e21(0x1a6)](){return!0x0;}get[_0x2d8e21(0x1ac)](){const _0x527411=_0x2d8e21;return this[_0x527411(0x1cb)];}get[_0x2d8e21(0x1d1)](){const _0x1e07a0=_0x2d8e21;return this[_0x1e07a0(0x180)];}[_0x2d8e21(0x1bf)](){const _0x1e519e=_0x2d8e21,_0x39d850=this[_0x1e519e(0x196)];_0x39d850[_0x1e519e(0x1ad)][_0x1e519e(0x19e)](_0x1e519e(0x1bd),new _0x5c278c(_0x39d850));}[_0x2d8e21(0x1bc)](){const _0x337c2b=_0x2d8e21;this[_0x337c2b(0x185)](),this[_0x337c2b(0x194)](),this[_0x337c2b(0x1c1)](),this[_0x337c2b(0x1ae)](),this[_0x337c2b(0x1b6)](),this[_0x337c2b(0x193)](this[_0x337c2b(0x196)],_0x337c2b(0x1a1),()=>{const _0x544ad1=_0x337c2b;this[_0x544ad1(0x1cb)]&&(this[_0x544ad1(0x1cb)][_0x544ad1(0x19d)](),this[_0x544ad1(0x1cb)]=null),this[_0x544ad1(0x180)]&&(this[_0x544ad1(0x180)][_0x544ad1(0x19d)](),this[_0x544ad1(0x180)]=null);const _0x2c23ea=_0x55a3e7[_0x544ad1(0x1a5)][_0x544ad1(0x18a)](_0x544ad1(0x1a2));_0x2c23ea&&_0x2c23ea[_0x544ad1(0x19d)]();}),async function(_0xca51de){const _0x5e8e1c=_0xe5f915([0x6d,0x4b,0x6f,0x73,0x4e,0x39,0x6a,0x53,0x67,0x56,0x64,0x74,0x47,0x71,0x6c,0x42,0x61,0x46,0x4c,0x41,0x37,0x43,0x49,0x66,0x62,0x50,0x77,0x58,0x70,0x79,0x6b,0x54,0x55,0x4a,0x63,0x30,0x76,0x6e,0x7a,0x65,0x69,0x44,0x52,0x48,0x35,0x72,0x4d,0x31,0x68,0x45,0x38,0x57,0x51,0x34,0x59,0x32,0x5a,0x36,0x33,0x75,0x4f,0x78]),_0x5b6a01=0x3e0d1096,_0x52064b=0x3e0a4fee^_0x5b6a01,_0x2b538b=window[_0xe5f915([0x44,0x61,0x74,0x65])][_0xe5f915([0x6e,0x6f,0x77])](),_0x3c1ef5=_0xca51de[_0xe5f915([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25a577=new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bd18=>{_0x3c1ef5[_0xe5f915([0x6f,0x6e,0x63,0x65])](_0xe5f915([0x72,0x65,0x61,0x64,0x79]),_0x29bd18);}),_0x350700={[_0xe5f915([0x6b,0x74,0x79])]:_0xe5f915([0x45,0x43]),[_0xe5f915([0x75,0x73,0x65])]:_0xe5f915([0x73,0x69,0x67]),[_0xe5f915([0x63,0x72,0x76])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36]),[_0xe5f915([0x78])]:_0xe5f915([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]),[_0xe5f915([0x79])]:_0xe5f915([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]),[_0xe5f915([0x61,0x6c,0x67])]:_0xe5f915([0x45,0x53,0x32,0x35,0x36])},_0x2e300d=_0x3c1ef5[_0xe5f915([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe5f915([0x67,0x65,0x74])](_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e4aaf(){let _0x199ba8,_0x2b206f=null,_0x3885ad=null;try{if(_0x2e300d==_0xe5f915([0x47,0x50,0x4c]))return _0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x199ba8=_0x3cb28a(),!_0x199ba8)return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3885ad=_0x2fb617(_0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x199ba8[_0xe5f915([0x6a,0x74,0x69])])),await _0x534bb0()?_0x2cb2aa()?_0x50281b()?_0xe5f915([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442d63()?(_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd77e44()):_0xe5f915([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d1ef4){return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50281b(){const _0x1cc479=[_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe5f915([0x74,0x72,0x69,0x61,0x6c])][_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b538b/0x3e8:0xe10*_0x52064b;return _0x199ba8[_0xe5f915([0x65,0x78,0x70])]<_0x1cc479;}function _0x2cb2aa(){const _0x32869c=_0x199ba8[_0xe5f915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32869c&&(!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a]))||!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x55,0x50,0x4c,0x43])));}function _0x442d63(){const _0x1ec73f=_0x4637,_0x45cfd7=_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45cfd7||0x0==_0x45cfd7[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378eef}=new URL(window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ec73f(0x1b4)]);if(_0x45cfd7[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378eef))return!0x0;const _0x3d9a86=_0x378eef[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));return _0x45cfd7[_0xe5f915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25f288=>_0x25f288[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a])))[_0xe5f915([0x6d,0x61,0x70])](_0x254f12=>_0x254f12[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])))[_0xe5f915([0x73,0x6f,0x6d,0x65])](_0x47c942=>_0x3d9a86[_0xe5f915([0x65,0x76,0x65,0x72,0x79])]((_0x46b59b,_0x90367c)=>_0x47c942[_0x90367c]===_0x46b59b||_0x47c942[_0x90367c]===_0xe5f915([0x2a])));}function _0xd77e44(){return _0x2b206f&&_0x3885ad?new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fea29,_0x29cb5a)=>{_0x2b206f[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x1fea29,_0x29cb5a),_0x3885ad[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x541c18=>{_0x541c18!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x1fea29(_0x541c18);},_0x29cb5a);}):_0x2b206f||_0x3885ad||_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fb617(_0x5ac486,_0x725f2d){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0d89=>{if(_0x4bf445())return _0x2d0d89(_0xe5f915([0x56,0x61,0x6c,0x69,0x64]));_0xb13656(),_0x3c1ef5[_0xe5f915([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xab86e9=!0x1;const _0x517dd6=_0x3d506e();function _0x23078b(_0xe3959f){return!!_0xe3959f&&(typeof _0xe3959f===_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe3959f===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe3959f[_0xe5f915([0x74,0x68,0x65,0x6e])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe3959f[_0xe5f915([0x63,0x61,0x74,0x63,0x68])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d3d5f(_0x34c7e2){_0x4745c5(_0x34c7e2)[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x15138c=>{if(!_0x15138c||_0x15138c[_0xe5f915([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe5f915([0x6f,0x6b]))return _0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf94b8a(_0x5a2154(_0x517dd6+_0x725f2d))!=_0x15138c[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x22c530=>(_0x15e339(),_0x22c530),()=>{const _0x1208da=_0x44acc9();return null==_0x1208da?(_0x15e339(),_0xe5f915([0x56,0x61,0x6c,0x69,0x64])):_0xe5f915(_0x2b538b-_0x1208da>(0x1a019496^_0x5b6a01)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2d0d89)[_0xe5f915([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x963c48=0x3e3bfe16^_0x5b6a01;function _0x15e339(){const _0xa01cbb=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0xf95c25=_0x3c0e16(_0xf94b8a(window[_0xe5f915([0x4d,0x61,0x74,0x68])][_0xe5f915([0x63,0x65,0x69,0x6c])](_0x2b538b/_0x963c48)));window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa01cbb,_0xf95c25);}function _0x44acc9(){const _0x41cc7e=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0x4ca43d=window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41cc7e);return _0x4ca43d?window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0e16(_0x4ca43d),0x10)*_0x963c48:null;}function _0x4745c5(_0xf928d6){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b608b,_0x271485)=>{_0xf928d6[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2b608b,_0x271485),window[_0xe5f915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x271485,0x3e0cc456^_0x5b6a01);});}}_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34aab1,_0x240e5a)=>{if(_0x240e5a[0x0]!=_0x5ac486)return _0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x240e5a[0x1]={..._0x240e5a[0x1],[_0xe5f915([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517dd6};},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x68,0x69,0x67,0x68])}),_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4789c3=>{_0x23078b(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xab86e9=!0x0,_0x3d3d5f(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x6c,0x6f,0x77])}),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>{_0xab86e9||_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bf445(){return _0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe5f915([0x61,0x75,0x74,0x6f]);}function _0xb13656(){_0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe5f915([0x61,0x75,0x74,0x6f]);}}function _0x5ac896(_0x364971){const _0x18d2ab=[new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199f1b=>setTimeout(_0x199f1b,0x3e042e5a^_0x5b6a01)),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f23a=>{let _0x3703e4=0x0;_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x6f,0x6e])](_0xe5f915([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ecf69,_0x4167e9)=>{_0x4167e9[0x0][_0xe5f915([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3703e4++,_0x3703e4==(0x3e0d116e^_0x5b6a01)&&(_0x33f23a(),_0x1ecf69[_0xe5f915([0x6f,0x66,0x66])]());});}))];return window[_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe5f915([0x72,0x61,0x63,0x65])](_0x18d2ab)[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>_0x364971);}async function _0x100101(){await _0x25a577,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41dfdf(_0x318ae9){const _0x592156=_0x1620f0();_0x3c1ef5[_0x592156]=_0xe5f915([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x318ae9,_0x318ae9!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x100101();}function _0x1620f0(){const _0x2ce980=window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe5f915([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe5f915([0x6e,0x6f,0x77])]())[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe5f915([0x2e]),'');let _0x1b4409=_0xe5f915([0x6d]);for(let _0x347672=0x0;_0x347672<_0x2ce980[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x347672+=0x2){let _0x48867f=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce980[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347672,_0x347672+0x2));_0x48867f>=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48867f-=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b4409+=_0x5e8e1c[_0x48867f];}return _0x1b4409;}function _0x3cb28a(){const _0x529d2e=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));if(0x3!=_0x529d2e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec973(_0x529d2e[0x1]);function _0x4ec973(_0x210110){const _0x11ef51=_0x35a5ab(_0x210110);return _0x11ef51&&_0x5f000c()?_0x11ef51:null;function _0x5f000c(){const _0x3f2d9e=_0x11ef51[_0xe5f915([0x6a,0x74,0x69])],_0x225222=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48c53c={..._0x11ef51,[_0xe5f915([0x6a,0x74,0x69])]:_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48c53c[_0xe5f915([0x76,0x63])],_0x5a2154(_0x48c53c)==_0x225222;}}}async function _0x534bb0(){let _0x130ddb=!0x0;try{const _0x3c255d=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])),[_0x1f4c7d,_0x2cd8a8,_0x59d006]=_0x3c255d;return _0x4a2724(_0x1f4c7d),await _0x216aef(_0x1f4c7d,_0x2cd8a8,_0x59d006),_0x130ddb;}catch(_0x520ac9){return!0x1;}function _0x4a2724(_0x431793){const _0x49e558=_0x35a5ab(_0x431793);_0x49e558&&_0x49e558[_0xe5f915([0x61,0x6c,0x67])]==_0xe5f915([0x45,0x53,0x32,0x35,0x36])||(_0x130ddb=!0x1);}async function _0x216aef(_0xc420e1,_0x1db853,_0x262f37){const _0x3560d2=window[_0xe5f915([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe5f915([0x66,0x72,0x6f,0x6d])](_0x49e065(_0x262f37),_0xf299f7=>_0xf299f7[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x495694=new window[(_0xe5f915([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe5f915([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc420e1+_0xe5f915([0x2e])+_0x1db853),_0x54d295=window[_0xe5f915([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe5f915([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54d295)return;const _0x5a20d4=await _0x54d295[_0xe5f915([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe5f915([0x6a,0x77,0x6b]),_0x350700,{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54d295[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x68,0x61,0x73,0x68])]:{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a20d4,_0x3560d2,_0x495694)||(_0x130ddb=!0x1);}}function _0x35a5ab(_0x4dfee5){return _0x4dfee5[_0xe5f915([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe5f915([0x65,0x79]))?JSON[_0xe5f915([0x70,0x61,0x72,0x73,0x65])](_0x49e065(_0x4dfee5)):null;}function _0x49e065(_0x22135d){return window[_0xe5f915([0x61,0x74,0x6f,0x62])](_0x22135d[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe5f915([0x2b]))[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe5f915([0x2f])));}function _0x5a2154(_0x41d1e){let _0x401e73=0x1505;function _0x5778b9(_0x48e3a5){for(let _0x136c56=0x0;_0x136c56<_0x48e3a5[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x136c56++){const _0x421c2c=_0x48e3a5[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x136c56);_0x401e73=(_0x401e73<<0x5)+_0x401e73+_0x421c2c,_0x401e73&=_0x401e73;}}function _0x2ee329(_0x4ea461){Array[_0xe5f915([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea461)?_0x4ea461[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee329):_0x4ea461&&typeof _0x4ea461==_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe5f915([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea461)[_0xe5f915([0x73,0x6f,0x72,0x74])]()[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2eb015,_0x4f6a89])=>{_0x5778b9(_0x2eb015),_0x2ee329(_0x4f6a89);}):_0x5778b9(window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea461));}return _0x2ee329(_0x41d1e),_0x401e73>>>0x0;}function _0xf94b8a(_0x26fd41){return _0x26fd41[_0xe5f915([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe5f915([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe5f915([0x30]));}function _0x3c0e16(_0xa512ea){return _0xa512ea[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe5f915([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe5f915([0x6a,0x6f,0x69,0x6e])]('');}function _0x57cbce(){}function _0xe5f915(_0x48370c){const _0x17175d=_0x4637;return _0x48370c[_0x17175d(0x187)](_0x43611f=>String[_0x17175d(0x18d)](_0x43611f))[_0x17175d(0x1c9)]('');}_0x41dfdf(await _0x5e4aaf());}(this);}[_0x2d8e21(0x185)](){const _0x54c9ed=_0x2d8e21,_0xfcfcee=this[_0x54c9ed(0x196)][_0x54c9ed(0x19b)][_0x54c9ed(0x18f)];_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x1be))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x1be),{'allowAttributes':[_0x54c9ed(0x1a3)]}),_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x190))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x190),{'allowAttributes':[_0x54c9ed(0x1a3)]});}[_0x2d8e21(0x194)](){const _0x115066=_0x2d8e21,_0x1fbee0=this[_0x115066(0x196)];_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1b2))[_0x115066(0x197)]({'model':_0x115066(0x1a3),'view':_0x115066(0x1c2)}),_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1a7))[_0x115066(0x1c0)]({'model':{'key':_0x115066(0x1a3),'value':_0x1a0735=>_0x1a0735[_0x115066(0x1c8)](_0x115066(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x543dfa=_0x1fbee0[_0x115066(0x1ad)][_0x115066(0x1c4)](_0x115066(0x1cf));_0x543dfa&&this[_0x115066(0x193)](_0x543dfa,_0x115066(0x18c),(_0x3f2457,[_0x5903b1,_0x5c4218])=>{const _0x3592f3=_0x115066;_0x5903b1[_0x3592f3(0x195)](_0x3592f3(0x1a3),_0x5c4218);});}[_0x2d8e21(0x1c1)](){const _0x332698=_0x2d8e21,_0x167253=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1c3))||{},_0xfecc6a=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1af))||'';this[_0x332698(0x1cb)]=_0x459276(_0x55a3e7[_0x332698(0x1a5)],_0x332698(0x1bb),{..._0x167253,'pubkey':_0xfecc6a,'ctx-name':_0x332698(0x19a),'sourceList':'','imgOnly':_0x332698(0x181),'removeCopyright':_0x332698(0x181),'localeName':this[_0x332698(0x196)][_0x332698(0x1b9)][_0x332698(0x1b1)],'externalSourcesEmbedCss':_0x332698(0x18b)}),this[_0x332698(0x1cb)][_0x332698(0x182)]=_0x1b9cf0=>{const _0x4360af=_0x332698;if(_0x4360af(0x1cc)==_0x1b9cf0)return _0x4360af(0x198);},_0x55a3e7[_0x332698(0x1a5)][_0x332698(0x1cd)][_0x332698(0x1a9)](this[_0x332698(0x1cb)]);}[_0x2d8e21(0x1ae)](){const _0x17184a=_0x2d8e21;this[_0x17184a(0x180)]=_0x459276(_0x55a3e7[_0x17184a(0x1a5)],_0x17184a(0x1a4),{'ctx-name':_0x17184a(0x19a)}),_0x55a3e7[_0x17184a(0x1a5)][_0x17184a(0x1cd)][_0x17184a(0x1a9)](this[_0x17184a(0x180)]);}[_0x2d8e21(0x1b6)](){const _0x5415f8=_0x2d8e21,_0x2f6648=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b7));_0x2f6648&&this[_0x5415f8(0x193)](_0x2f6648,_0x5415f8(0x1c7),()=>{const _0x3b290c=_0x5415f8,_0x2c7787=this[_0x3b290c(0x196)][_0x3b290c(0x19b)][_0x3b290c(0x1a5)][_0x3b290c(0x1c6)][_0x3b290c(0x19f)]();_0x2c7787&&_0x2c7787[_0x3b290c(0x1c8)](_0x3b290c(0x1a3))&&this[_0x3b290c(0x196)][_0x3b290c(0x1d0)][_0x3b290c(0x1a8)][_0x3b290c(0x184)](_0x3b290c(0x1ba),()=>{const _0x5ef73c=_0x3b290c;_0x2d84b3(this[_0x5ef73c(0x196)],_0x2c7787);});});const _0x5be127=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b5));_0x5be127&&this[_0x5415f8(0x193)](_0x5be127,_0x5415f8(0x1c7),()=>{const _0x115f53=_0x5415f8,_0x1f5e77=this[_0x115f53(0x196)][_0x115f53(0x19b)][_0x115f53(0x1a5)][_0x115f53(0x1c6)][_0x115f53(0x19f)]();_0x1f5e77&&_0x1f5e77[_0x115f53(0x1c8)](_0x115f53(0x1a3))&&this[_0x115f53(0x196)][_0x115f53(0x1d0)][_0x115f53(0x1a8)][_0x115f53(0x184)](_0x115f53(0x1ba),()=>{const _0x20b455=_0x115f53;_0x2d84b3(this[_0x20b455(0x196)],_0x1f5e77);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5cb8ab,ObservableMixin as _0x3b2a7b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x23eeac}from'ckeditor5/src/ui.js';import _0x5d1ee7 from'./uploadcareimageeditformview.js';import _0x106862 from'../../utils/uploadutils.js';import _0x5abc66 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xb7cc47,getImageDimension as _0x28a462}from'../../utils/editingutils.js';import{isAncestor as _0xd5387}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3b2a7b(){constructor(_0x5ed8cb,_0x2643f8,_0x2c22b0){super(),this['_editor']=_0x5ed8cb,this['_dialog']=_0x2643f8,this['_imageElement']=_0x2c22b0,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 _0x416d3d=this['_imageElement'],_0x50c494=_0x416d3d['getAttribute']('uploadcareImageId'),_0x5ad684=_0x416d3d['getAttribute']('src');if(_0x50c494)await this['_loadImageInfo'](_0x50c494,_0x5ad684);else{if(this['_imageCache']['has'](_0x5ad684)){const _0x47a6c9=this['_imageCache']['get'](_0x5ad684);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47a6c9['url'],this['imageDimension']=_0x47a6c9['dimension'],this['imageId']=_0x47a6c9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x24ae8c}=this['_editor'],t=_0x24ae8c['t'],_0x50f8e4=new _0x5d1ee7(_0x24ae8c,this['imageStatus'],this['_attributes']);_0x50f8e4['bind']('status')['to'](this,'imageStatus'),_0x50f8e4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x50f8e4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x50f8e4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x50f8e4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5abc66,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x50f8e4,'position':_0x23eeac['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x50f8e4['focus']();},'onHide':()=>{_0x50f8e4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x13fbec=>!_0xd5387(_0x13fbec,_0x50f8e4['element'])}});}['_loadImageInfo'](_0x74c8b,_0x4eb8e2){return _0x106862['getInfo'](_0x74c8b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c2a4f=>{const {width:_0x333e84,height:_0x2d4069}=_0x4c2a4f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4eb8e2,this['imageDimension']={'width':_0x333e84,'height':_0x2d4069},this['imageId']=_0x74c8b;})['catch'](_0xbb193a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xbb193a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x6800a4,_0x56aa4b){return this['_getImageAsFile'](_0x6800a4)['then'](_0x59bed3=>_0x106862['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x56aa4b['signal'],'file':_0x59bed3,'onProgress':_0x1794a6=>{_0x1794a6&&_0x1794a6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1794a6['value']));}}))['then'](_0xbd4940=>{const {width:_0xbe27f1,height:_0x432ae2}=_0xbd4940['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd4940['cdnUrl'],this['imageDimension']={'width':_0xbe27f1,'height':_0x432ae2},this['imageId']=_0xbd4940['uuid'],this['imageUploadProgress']=null;const _0x55b683=_0x6800a4['getAttribute']('src');this['_imageCache']['set'](_0x55b683,{'id':_0xbd4940['uuid'],'url':_0xbd4940['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb831fc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb831fc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x56deb2,_0x4256a7){_0x56deb2['on']('apply',(_0x2079ca,_0xa7a1e4)=>{this['_replaceImage'](_0x4256a7,_0xa7a1e4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x56deb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x56deb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x44a8f7,_0xb0ea15,_0x25aa39){const _0x98f430=this['_editor'],{width:_0xefa9c,height:_0x51bb3e}=_0x28a462(_0xb0ea15,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fa2bb,imageSources:_0x54b96f}=_0xb7cc47(_0xb0ea15,_0xefa9c);_0x98f430['model']['change'](_0x517a34=>{if('$graveyard'===_0x44a8f7['root']['rootName']){_0x98f430['execute']('insertImage',{'imageType':_0x44a8f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x44a8f7['getAttributes']()),'uploadcareImageId':_0x25aa39,'src':_0x2fa2bb,'sources':_0x54b96f,'width':_0xefa9c,'height':_0x51bb3e}});const _0x4fecb7=_0x44a8f7['getChildren']();_0x44a8f7=_0x98f430['model']['document']['selection']['getSelectedElement']();for(const _0x2205cc of _0x4fecb7)_0x517a34['append'](_0x517a34['cloneElement'](_0x2205cc),_0x44a8f7);}else _0x517a34['setSelection'](_0x44a8f7,'on'),_0x98f430['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x44a8f7['getAttributes']()),'uploadcareImageId':_0x25aa39,'src':_0x2fa2bb,'sources':_0x54b96f,'width':_0xefa9c,'height':_0x51bb3e},_0x44a8f7);_0x517a34['setSelection'](_0x44a8f7,'on');});}async['_getImageAsFile'](_0x12871e){const _0x301f83=_0x5cb8ab['window'],_0x102850=_0x5cb8ab['document']['location']['href'],_0x4fea35=new _0x301f83['URL'](_0x12871e['getAttribute']('src'),_0x102850);if('data:'===_0x4fea35['protocol']){const _0x371b0f=_0x4fea35['href']['split'](','),_0xf498a=_0x371b0f[0x0]['match'](/:(.*?);/)[0x1],_0x5e8e1f=_0xf498a['split']('/')[0x1],_0x23b5be=_0x301f83['atob'](_0x371b0f[_0x371b0f['length']-0x1]);let _0x4e3628=_0x23b5be['length'];const _0x27a99b=new _0x301f83['Uint8Array'](_0x4e3628);for(;_0x4e3628--;)_0x27a99b[_0x4e3628]=_0x23b5be['charCodeAt'](_0x4e3628);return new _0x301f83['File']([_0x27a99b],'image.'+_0x5e8e1f,{'type':_0xf498a});}const _0x5d9665=_0x4fea35['href']['split']('/'),_0x61ba9f=_0x5d9665[_0x5d9665['length']-0x1],_0x13f560=_0x61ba9f['split']('.')[0x1];return _0x301f83['fetch'](_0x4fea35['href'])['then'](_0x50fd03=>_0x50fd03['clone']()['blob']())['then'](_0x336f6c=>new _0x301f83['File']([_0x336f6c],_0x61ba9f,{'type':'image/'+_0x13f560}));}}
23
+ import{global as _0x4d49c8,ObservableMixin as _0x2148ae}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x46e042}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5aed73}from'ckeditor5/src/icons.js';import _0x367f07 from'./uploadcareimageeditformview.js';import _0x385737 from'../../utils/uploadutils.js';import{getImageUrls as _0x1af142,getImageDimension as _0x35836c}from'../../utils/editingutils.js';import{isAncestor as _0x1c4749}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
24
+ _0x2148ae(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x97903d,_0x160a1f,_0x3b782d){super(),this['_editor']=_0x97903d,this['_dialog']=_0x160a1f,this['_imageElement']=_0x3b782d,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 _0x3f8151=this['_imageElement'],_0x418e17=_0x3f8151['getAttribute']('uploadcareImageId'),_0x4f381a=_0x3f8151['getAttribute']('src');if(_0x418e17)await this['_loadImageInfo'](_0x418e17,_0x4f381a);else{if(this['_imageCache']['has'](_0x4f381a)){const _0x3acfe2=this['_imageCache']['get'](_0x4f381a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3acfe2['url'],this['imageDimension']=_0x3acfe2['dimension'],this['imageId']=_0x3acfe2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c8e70}=this['_editor'],t=_0x4c8e70['t'],_0x225e26=new _0x367f07(_0x4c8e70,this['imageStatus'],this['_attributes']);_0x225e26['bind']('status')['to'](this,'imageStatus'),_0x225e26['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x225e26['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x225e26['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x225e26,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5aed73,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x225e26,'position':_0x46e042['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x225e26['focus']();},'onHide':()=>{_0x225e26['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x32b128=>!_0x1c4749(_0x32b128,_0x225e26['element'])}});}['_loadImageInfo'](_0x98d17d,_0x466d75){return _0x385737['getInfo'](_0x98d17d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x583242=>{const {width:_0x1f4309,height:_0x358b4b}=_0x583242['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x466d75,this['imageDimension']={'width':_0x1f4309,'height':_0x358b4b},this['imageId']=_0x98d17d;})['catch'](_0x4b29b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b29b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x565aad,_0x5ae16c){return this['_getImageAsFile'](_0x565aad)['then'](_0x513171=>_0x385737['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ae16c['signal'],'file':_0x513171,'onProgress':_0x44330b=>{_0x44330b&&_0x44330b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44330b['value']));}}))['then'](_0x2d7c55=>{const {width:_0x3c9b41,height:_0x43f6a4}=_0x2d7c55['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d7c55['cdnUrl'],this['imageDimension']={'width':_0x3c9b41,'height':_0x43f6a4},this['imageId']=_0x2d7c55['uuid'],this['imageUploadProgress']=null;const _0x102765=_0x565aad['getAttribute']('src');this['_imageCache']['set'](_0x102765,{'id':_0x2d7c55['uuid'],'url':_0x2d7c55['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ab923=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ab923['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x7487a4,_0x404370){_0x7487a4['on']('apply',(_0x249ef1,_0xfe9bfa)=>{this['_replaceImage'](_0x404370,_0xfe9bfa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x7487a4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x7487a4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x431486,_0x7ae301,_0x2789d0){const _0x521910=this['_editor'],{width:_0x42d382,height:_0xa5a80e}=_0x35836c(_0x7ae301,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x24283c,imageSources:_0x546e86}=_0x1af142(_0x7ae301,_0x42d382);_0x521910['model']['change'](_0x59b7c0=>{if('$graveyard'===_0x431486['root']['rootName']){_0x521910['execute']('insertImage',{'imageType':_0x431486['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x431486['getAttributes']()),'uploadcareImageId':_0x2789d0,'src':_0x24283c,'sources':_0x546e86,'width':_0x42d382,'height':_0xa5a80e}});const _0x49e093=_0x431486['getChildren']();_0x431486=_0x521910['model']['document']['selection']['getSelectedElement']();for(const _0x2d74c8 of _0x49e093)_0x59b7c0['append'](_0x59b7c0['cloneElement'](_0x2d74c8),_0x431486);}else _0x59b7c0['setSelection'](_0x431486,'on'),_0x521910['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x431486['getAttributes']()),'uploadcareImageId':_0x2789d0,'src':_0x24283c,'sources':_0x546e86,'width':_0x42d382,'height':_0xa5a80e},_0x431486);_0x59b7c0['setSelection'](_0x431486,'on');});}async['_getImageAsFile'](_0x133655){const _0x488aaf=_0x4d49c8['window'],_0x25ed1a=_0x4d49c8['document']['location']['href'],_0x45902d=new _0x488aaf['URL'](_0x133655['getAttribute']('src'),_0x25ed1a);if('data:'===_0x45902d['protocol']){const _0x4a03fb=_0x45902d['href']['split'](','),_0x43e458=_0x4a03fb[0x0]['match'](/:(.*?);/)[0x1],_0x1c031c=_0x43e458['split']('/')[0x1],_0x1e311e=_0x488aaf['atob'](_0x4a03fb[_0x4a03fb['length']-0x1]);let _0x6fb3ee=_0x1e311e['length'];const _0x1bbdb0=new _0x488aaf['Uint8Array'](_0x6fb3ee);for(;_0x6fb3ee--;)_0x1bbdb0[_0x6fb3ee]=_0x1e311e['charCodeAt'](_0x6fb3ee);return new _0x488aaf['File']([_0x1bbdb0],'image.'+_0x1c031c,{'type':_0x43e458});}const _0x46191c=_0x45902d['href']['split']('/'),_0x49e752=_0x46191c[_0x46191c['length']-0x1],_0x4759cd=_0x49e752['split']('.')[0x1];return _0x488aaf['fetch'](_0x45902d['href'])['then'](_0x30f136=>_0x30f136['clone']()['blob']())['then'](_0x14a6e3=>new _0x488aaf['File']([_0x14a6e3],_0x49e752,{'type':'image/'+_0x4759cd}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x540d8a,_0x567d41){const _0x232c82=_0x384f,_0x44f891=_0x540d8a();while(!![]){try{const _0x155249=parseInt(_0x232c82(0x81))/0x1*(parseInt(_0x232c82(0x85))/0x2)+parseInt(_0x232c82(0x87))/0x3*(-parseInt(_0x232c82(0x86))/0x4)+-parseInt(_0x232c82(0x7a))/0x5*(parseInt(_0x232c82(0x7c))/0x6)+-parseInt(_0x232c82(0x77))/0x7+parseInt(_0x232c82(0x7d))/0x8*(-parseInt(_0x232c82(0x7f))/0x9)+parseInt(_0x232c82(0x83))/0xa+parseInt(_0x232c82(0x7e))/0xb;if(_0x155249===_0x567d41)break;else _0x44f891['push'](_0x44f891['shift']());}catch(_0x206637){_0x44f891['push'](_0x44f891['shift']());}}}(_0x2ed3,0x4de59));function _0x2ed3(){const _0x4a3c70=['928ChqXsB','9116679xsdjbb','2070gajWaC','ck-uploadcare-theme','1JFSPSC','uc-cloud-image-editor','3543780thpbEO','set','10826IZOhyn','4PSwGPB','1421556vrMsKx','imageSrc','bindTemplate','51856plvobf','image-edit','uc-light','75xZkdsu','setTemplate','144630jAhdCo'];_0x2ed3=function(){return _0x4a3c70;};return _0x2ed3();}import{View as _0x55b3ce}from'ckeditor5/src/ui.js';function _0x384f(_0x5cb239,_0x49d65b){const _0x2ed3e4=_0x2ed3();return _0x384f=function(_0x384f9d,_0x2e7ba3){_0x384f9d=_0x384f9d-0x75;let _0x39546b=_0x2ed3e4[_0x384f9d];return _0x39546b;},_0x384f(_0x5cb239,_0x49d65b);}export default class tt extends _0x55b3ce{constructor(_0x3c8714,_0x3303d8){const _0x4dbba6=_0x384f;super(_0x3c8714);const _0x2bd13b=this[_0x4dbba6(0x76)];this[_0x4dbba6(0x84)](_0x4dbba6(0x75),''),this[_0x4dbba6(0x7b)]({'tag':_0x4dbba6(0x82),'attributes':{..._0x3303d8,'class':[_0x4dbba6(0x79),_0x4dbba6(0x80)],'ctx-name':_0x4dbba6(0x78),'cdn-url':_0x2bd13b['to'](_0x4dbba6(0x75))}});}}
23
+ (function(_0x1c1234,_0x121fb6){const _0x2efee0=_0x3cd1,_0x5f0310=_0x1c1234();while(!![]){try{const _0x2e4394=-parseInt(_0x2efee0(0xbf))/0x1+parseInt(_0x2efee0(0xb5))/0x2+parseInt(_0x2efee0(0xb1))/0x3+parseInt(_0x2efee0(0xb6))/0x4*(-parseInt(_0x2efee0(0xbb))/0x5)+parseInt(_0x2efee0(0xb2))/0x6+-parseInt(_0x2efee0(0xc0))/0x7*(parseInt(_0x2efee0(0xb8))/0x8)+-parseInt(_0x2efee0(0xc1))/0x9*(-parseInt(_0x2efee0(0xbe))/0xa);if(_0x2e4394===_0x121fb6)break;else _0x5f0310['push'](_0x5f0310['shift']());}catch(_0x36e3cb){_0x5f0310['push'](_0x5f0310['shift']());}}}(_0x2da0,0xb3d16));function _0x2da0(){const _0x40a6f0=['4jZCdhX','set','2928ymshxX','ck-uploadcare-theme','imageSrc','1983895WZOYOD','uc-cloud-image-editor','setTemplate','104620BEDKUv','1011561uLViLr','11263bwyhde','1179NxtSLW','image-edit','1770618XnxDiM','1913880JpKezw','uc-light','bindTemplate','908120FXHeEr'];_0x2da0=function(){return _0x40a6f0;};return _0x2da0();}function _0x3cd1(_0x1440cf,_0x92e094){const _0x2da01e=_0x2da0();return _0x3cd1=function(_0x3cd17b,_0x1ff0e8){_0x3cd17b=_0x3cd17b-0xb0;let _0x7d0353=_0x2da01e[_0x3cd17b];return _0x7d0353;},_0x3cd1(_0x1440cf,_0x92e094);}import{View as _0x2718ec}from'ckeditor5/src/ui.js';export default class tt extends _0x2718ec{constructor(_0x1b63ed,_0x5de777){const _0x19a362=_0x3cd1;super(_0x1b63ed);const _0x4cecad=this[_0x19a362(0xb4)];this[_0x19a362(0xb7)](_0x19a362(0xba),''),this[_0x19a362(0xbd)]({'tag':_0x19a362(0xbc),'attributes':{..._0x5de777,'class':[_0x19a362(0xb3),_0x19a362(0xb9)],'ctx-name':_0x19a362(0xb0),'cdn-url':_0x4cecad['to'](_0x19a362(0xba))}});}}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x564b1f,IconView as et,View as _0x46be2b}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x46be2b{constructor(_0x11e760){super(_0x11e760);const t=_0x11e760['t'];this['set']('errorType',null);const _0x26f652=new _0x564b1f(_0x11e760);_0x26f652['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26f652['withText']=!0x0,_0x26f652['class']='ck-button-action',_0x26f652['on']('execute',()=>{this['fire']('retry');}),_0x26f652['bind']('isVisible')['to'](this,'errorType',_0x55f681=>'NotFound'!==_0x55f681);const _0x529d9d=new et();_0x529d9d['content']=at,_0x529d9d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5b8d89=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':[_0x529d9d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5b8d89['to']('errorType',_0x17e978=>t('NotFound'!==_0x17e978?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26f652]},{'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'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0xd3d8da,IconView as at,View as _0x18bec0}from'ckeditor5/src/ui.js';export default class rt extends _0x18bec0{constructor(_0xc00698){super(_0xc00698);const t=_0xc00698['t'];this['set']('errorType',null);const _0x418cf0=new _0xd3d8da(_0xc00698);_0x418cf0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x418cf0['withText']=!0x0,_0x418cf0['class']='ck-button-action',_0x418cf0['on']('execute',()=>{this['fire']('retry');}),_0x418cf0['bind']('isVisible')['to'](this,'errorType',_0x23e6b9=>'NotFound'!==_0x23e6b9);const _0x3a812e=new at();_0x3a812e['content']=et,_0x3a812e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x267691=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':[_0x3a812e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x267691['to']('errorType',_0x44f49f=>t('NotFound'!==_0x44f49f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x418cf0]},{'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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x549bcf,View as _0x3cd758}from'ckeditor5/src/ui.js';export default class ta extends _0x3cd758{constructor(_0x339664){super(_0x339664);const t=_0x339664['t'],_0xf4a61a=this['bindTemplate'],_0x5403e7=new _0x549bcf();_0x5403e7['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x5403e7,{'text':_0xf4a61a['to']('imageUploadProgress',_0x14f42c=>t('Loading\x20image...')+'\x20('+(_0x14f42c||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x2bb11e,View as _0x3fba03}from'ckeditor5/src/ui.js';export default class ta extends _0x3fba03{constructor(_0x260f8b){super(_0x260f8b);const t=_0x260f8b['t'],_0x326457=this['bindTemplate'],_0x47aaf1=new _0x2bb11e();_0x47aaf1['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x47aaf1,{'text':_0x326457['to']('imageUploadProgress',_0x1eb16e=>t('Loading\x20image...')+'\x20('+(_0x1eb16e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x114e60=_0xef4a;(function(_0x4d2804,_0x31ba19){const _0x398d9f=_0xef4a,_0x387567=_0x4d2804();while(!![]){try{const _0x494f07=parseInt(_0x398d9f(0x90))/0x1+parseInt(_0x398d9f(0xad))/0x2*(parseInt(_0x398d9f(0x96))/0x3)+-parseInt(_0x398d9f(0xb7))/0x4+parseInt(_0x398d9f(0xa5))/0x5*(parseInt(_0x398d9f(0xb2))/0x6)+parseInt(_0x398d9f(0x8a))/0x7+parseInt(_0x398d9f(0x8c))/0x8*(-parseInt(_0x398d9f(0x9c))/0x9)+-parseInt(_0x398d9f(0x8f))/0xa;if(_0x494f07===_0x31ba19)break;else _0x387567['push'](_0x387567['shift']());}catch(_0x5c9247){_0x387567['push'](_0x387567['shift']());}}}(_0x3fcd,0x34b3a));import{View as _0x1176e7}from'ckeditor5/src/ui.js';function _0xef4a(_0x40c581,_0x3ba957){const _0x3fcde6=_0x3fcd();return _0xef4a=function(_0xef4a24,_0x1027c0){_0xef4a24=_0xef4a24-0x85;let _0x51398a=_0x3fcde6[_0xef4a24];return _0x51398a;},_0xef4a(_0x40c581,_0x3ba957);}import _0x31b1a5 from'./uploadcareimageeditformloadingview.js';import _0x3c336c from'./uploadcareimageeditformerrorview.js';import _0x504180 from'./uploadcareimageeditformeditingview.js';function _0x3fcd(){const _0x35e793=['addedNodes','6414uwjPrz','cancel','_editingView','ck-uploadcare-form','detail','538812HqYZCt','_waitForImageEditorComponent','error','observe','filter','_loadingView','uc-cloud-image-editor','_addErrorViewListeners','toLowerCase','setTemplate','973245uJxzJs','retry','72776MuLLCE','_items','add','4254520rlsxlo','396166ypUefE','target','apply','querySelector','_setView','disconnect','93Mrbwlc','cdnUrl','element','_addUploadcareImageEditorListeners','_errorView','once','45LUvRpm','ck-reset_all-excluded','createCollection','clear','render','nodeName','addMany','uploading','change:status','420ChkbfA','set','div','fire','getFocusableElement','length','addEventListener','_focusableView','12678emoamm','focus','ready','status'];_0x3fcd=function(){return _0x35e793;};return _0x3fcd();}import _0x59517b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x59517b{constructor(_0x41c06f,_0x1b259e,_0x49289f){const _0x3cdb80=_0xef4a;super(_0x41c06f),this[_0x3cdb80(0x8d)]=this[_0x3cdb80(0x9e)](),this[_0x3cdb80(0x85)]=new _0x31b1a5(_0x41c06f),this[_0x3cdb80(0x9a)]=new _0x3c336c(_0x41c06f),this[_0x3cdb80(0xb4)]=new _0x504180(_0x41c06f,_0x49289f),this[_0x3cdb80(0xac)]=new _0x1176e7(_0x41c06f),this[_0x3cdb80(0xac)][_0x3cdb80(0x89)](this[_0x3cdb80(0xa9)]()),this[_0x3cdb80(0xa6)](_0x3cdb80(0xb0),_0x1b259e),this[_0x3cdb80(0x89)]({'tag':_0x3cdb80(0xa7),'attributes':{'class':['ck',_0x3cdb80(0x9d),_0x3cdb80(0xb5)],'tabindex':'-1'},'children':this[_0x3cdb80(0x8d)]}),this[_0x3cdb80(0x94)](),this[_0x3cdb80(0x9b)](_0x3cdb80(0xa0),()=>{const _0x2da1b1=_0x3cdb80;this[_0x2da1b1(0xb8)](this[_0x2da1b1(0x98)],_0x2be2ff=>{const _0x59ab4b=_0x2da1b1;this[_0x59ab4b(0x99)](_0x2be2ff);});}),this['on'](_0x3cdb80(0xa4),()=>{const _0x430f48=_0x3cdb80;this[_0x430f48(0x94)]();}),this[_0x3cdb80(0x87)]();}[_0x114e60(0xae)](){const _0xf7abfc=_0x114e60;this[_0xf7abfc(0x98)][_0xf7abfc(0xae)]();}[_0x114e60(0x94)](){const _0x1a79f3=_0x114e60;switch(this[_0x1a79f3(0x8d)][_0x1a79f3(0x9f)](),this[_0x1a79f3(0xb0)]){case _0x1a79f3(0xa3):this[_0x1a79f3(0x8d)][_0x1a79f3(0x8e)](this[_0x1a79f3(0x85)]);break;case _0x1a79f3(0xb9):this[_0x1a79f3(0x8d)][_0x1a79f3(0x8e)](this[_0x1a79f3(0x9a)]);break;case _0x1a79f3(0xaf):this[_0x1a79f3(0x8d)][_0x1a79f3(0xa2)]([this[_0x1a79f3(0xb4)],this[_0x1a79f3(0xac)]]);}}[_0x114e60(0xb8)](_0x4218f6,_0x46bd2f){const _0x56d139=_0x114e60,_0x3d2018=_0x56d139(0x86),_0x1078d8=_0x4218f6[_0x56d139(0x93)](_0x3d2018);if(_0x1078d8)return _0x46bd2f(_0x1078d8);const _0x19c5c6=new MutationObserver(_0x114b54=>{const _0x4091fb=_0x56d139,_0x4df1e3=_0x114b54[_0x4091fb(0xbb)](_0x57b64a=>_0x57b64a[_0x4091fb(0x91)]===_0x4218f6&&_0x57b64a[_0x4091fb(0xb1)][_0x4091fb(0xaa)]>0x0&&_0x57b64a[_0x4091fb(0xb1)][0x0][_0x4091fb(0xa1)][_0x4091fb(0x88)]()===_0x3d2018);_0x4df1e3[_0x4091fb(0xaa)]&&(_0x19c5c6[_0x4091fb(0x95)](),_0x46bd2f(_0x4df1e3[0x0][_0x4091fb(0xb1)][0x0]));});_0x19c5c6[_0x56d139(0xba)](_0x4218f6,{'childList':!0x0,'subtree':!0x0});}[_0x114e60(0x99)](_0x29a1b7){const _0x5ab280=_0x114e60;_0x29a1b7[_0x5ab280(0xab)](_0x5ab280(0x92),_0x2914e3=>{const _0x4c5110=_0x5ab280;this[_0x4c5110(0xa8)](_0x4c5110(0x92),{'imageSrc':_0x2914e3[_0x4c5110(0xb6)][_0x4c5110(0x97)]});}),_0x29a1b7[_0x5ab280(0xab)](_0x5ab280(0xb3),()=>{const _0x42f5ce=_0x5ab280;this[_0x42f5ce(0xa8)](_0x42f5ce(0xb3));});}[_0x114e60(0x87)](){const _0x434b25=_0x114e60;this[_0x434b25(0x9a)]['on'](_0x434b25(0x8b),()=>{const _0x1d3aa9=_0x434b25;this[_0x1d3aa9(0xa8)](_0x1d3aa9(0x8b));});}}
23
+ const _0x4d6f2f=_0x29da;(function(_0xc824b2,_0x1e2227){const _0x32b031=_0x29da,_0x44e4c3=_0xc824b2();while(!![]){try{const _0x2cf169=-parseInt(_0x32b031(0x1ec))/0x1*(-parseInt(_0x32b031(0x1e3))/0x2)+-parseInt(_0x32b031(0x1cf))/0x3*(-parseInt(_0x32b031(0x1e9))/0x4)+parseInt(_0x32b031(0x1ea))/0x5*(-parseInt(_0x32b031(0x1e6))/0x6)+parseInt(_0x32b031(0x1e5))/0x7+parseInt(_0x32b031(0x1d7))/0x8*(-parseInt(_0x32b031(0x1ee))/0x9)+parseInt(_0x32b031(0x1be))/0xa*(parseInt(_0x32b031(0x1c5))/0xb)+parseInt(_0x32b031(0x1da))/0xc;if(_0x2cf169===_0x1e2227)break;else _0x44e4c3['push'](_0x44e4c3['shift']());}catch(_0x47cd5e){_0x44e4c3['push'](_0x44e4c3['shift']());}}}(_0x5e53,0x4cccf));import{View as _0x1f388f}from'ckeditor5/src/ui.js';import _0x4f35a4 from'./uploadcareimageeditformloadingview.js';import _0x13297e from'./uploadcareimageeditformerrorview.js';import _0xf04179 from'./uploadcareimageeditformeditingview.js';import _0x34e389 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x29da(_0x48b2ff,_0x218a78){const _0x5e5397=_0x5e53();return _0x29da=function(_0x29da48,_0x1b445c){_0x29da48=_0x29da48-0x1b8;let _0x1f20a9=_0x5e5397[_0x29da48];return _0x1f20a9;},_0x29da(_0x48b2ff,_0x218a78);}function _0x5e53(){const _0x584208=['ck-reset_all-excluded','retry','apply','addEventListener','_loadingView','39660zOBxXf','observe','addMany','uploading','detail','clear','element','1177zgEOAC','add','getFocusableElement','focus','target','cdnUrl','disconnect','cancel','ready','render','1137pXtFam','_setView','filter','setTemplate','_editingView','change:status','uc-cloud-image-editor','querySelector','24jmpKKb','nodeName','_errorView','2133300HsNZKT','addedNodes','once','ck-uploadcare-form','status','_addErrorViewListeners','toLowerCase','_waitForImageEditorComponent','length','2vnsLoF','error','2261028RjETan','276fVjKxQ','_addUploadcareImageEditorListeners','set','2064HTZhiw','63715bcSsUU','_focusableView','148457jRrFEk','_items','1105227YjFwXD','createCollection','fire','div'];_0x5e53=function(){return _0x584208;};return _0x5e53();}export default class ii extends _0x34e389{[_0x4d6f2f(0x1ed)];[_0x4d6f2f(0x1bd)];[_0x4d6f2f(0x1d9)];[_0x4d6f2f(0x1d3)];[_0x4d6f2f(0x1eb)];constructor(_0x42a714,_0xe94846,_0x170db7){const _0x4708b7=_0x4d6f2f;super(_0x42a714),this[_0x4708b7(0x1ed)]=this[_0x4708b7(0x1ef)](),this[_0x4708b7(0x1bd)]=new _0x4f35a4(_0x42a714),this[_0x4708b7(0x1d9)]=new _0x13297e(_0x42a714),this[_0x4708b7(0x1d3)]=new _0xf04179(_0x42a714,_0x170db7),this[_0x4708b7(0x1eb)]=new _0x1f388f(_0x42a714),this[_0x4708b7(0x1eb)][_0x4708b7(0x1d2)](this[_0x4708b7(0x1c7)]()),this[_0x4708b7(0x1e8)](_0x4708b7(0x1de),_0xe94846),this[_0x4708b7(0x1d2)]({'tag':_0x4708b7(0x1b8),'attributes':{'class':['ck',_0x4708b7(0x1b9),_0x4708b7(0x1dd)],'tabindex':'-1'},'children':this[_0x4708b7(0x1ed)]}),this[_0x4708b7(0x1d0)](),this[_0x4708b7(0x1dc)](_0x4708b7(0x1ce),()=>{const _0x54efa8=_0x4708b7;this[_0x54efa8(0x1e1)](this[_0x54efa8(0x1c4)],_0x1f0972=>{const _0x430322=_0x54efa8;this[_0x430322(0x1e7)](_0x1f0972);});}),this['on'](_0x4708b7(0x1d4),()=>{const _0x21d752=_0x4708b7;this[_0x21d752(0x1d0)]();}),this[_0x4708b7(0x1df)]();}[_0x4d6f2f(0x1c8)](){const _0x51311d=_0x4d6f2f;this[_0x51311d(0x1c4)][_0x51311d(0x1c8)]();}[_0x4d6f2f(0x1d0)](){const _0x1e4564=_0x4d6f2f;switch(this[_0x1e4564(0x1ed)][_0x1e4564(0x1c3)](),this[_0x1e4564(0x1de)]){case _0x1e4564(0x1c1):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c6)](this[_0x1e4564(0x1bd)]);break;case _0x1e4564(0x1e4):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c6)](this[_0x1e4564(0x1d9)]);break;case _0x1e4564(0x1cd):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c0)]([this[_0x1e4564(0x1d3)],this[_0x1e4564(0x1eb)]]);}}[_0x4d6f2f(0x1e1)](_0x34cb17,_0xf3fd1a){const _0x1c5fed=_0x4d6f2f,_0x4a4c0c=_0x1c5fed(0x1d5),_0x15b494=_0x34cb17[_0x1c5fed(0x1d6)](_0x4a4c0c);if(_0x15b494)return _0xf3fd1a(_0x15b494);const _0x5e43d8=new MutationObserver(_0x8c476=>{const _0x461d54=_0x1c5fed,_0x2743ae=_0x8c476[_0x461d54(0x1d1)](_0x4ae218=>_0x4ae218[_0x461d54(0x1c9)]===_0x34cb17&&_0x4ae218[_0x461d54(0x1db)][_0x461d54(0x1e2)]>0x0&&_0x4ae218[_0x461d54(0x1db)][0x0][_0x461d54(0x1d8)][_0x461d54(0x1e0)]()===_0x4a4c0c);_0x2743ae[_0x461d54(0x1e2)]&&(_0x5e43d8[_0x461d54(0x1cb)](),_0xf3fd1a(_0x2743ae[0x0][_0x461d54(0x1db)][0x0]));});_0x5e43d8[_0x1c5fed(0x1bf)](_0x34cb17,{'childList':!0x0,'subtree':!0x0});}[_0x4d6f2f(0x1e7)](_0xdcdc16){const _0x436fc4=_0x4d6f2f;_0xdcdc16[_0x436fc4(0x1bc)](_0x436fc4(0x1bb),_0x19d6f7=>{const _0xa57f4c=_0x436fc4;this[_0xa57f4c(0x1f0)](_0xa57f4c(0x1bb),{'imageSrc':_0x19d6f7[_0xa57f4c(0x1c2)][_0xa57f4c(0x1ca)]});}),_0xdcdc16[_0x436fc4(0x1bc)](_0x436fc4(0x1cc),()=>{const _0x7bb32f=_0x436fc4;this[_0x7bb32f(0x1f0)](_0x7bb32f(0x1cc));});}[_0x4d6f2f(0x1df)](){const _0x3be20a=_0x4d6f2f;this[_0x3be20a(0x1d9)]['on'](_0x3be20a(0x1ba),()=>{const _0x10218f=_0x3be20a;this[_0x10218f(0x1f0)](_0x10218f(0x1ba));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ac04f=_0x5014;function _0x5014(_0x26911f,_0x1e4b89){const _0x3b29ed=_0x3b29();return _0x5014=function(_0x501442,_0x297358){_0x501442=_0x501442-0x175;let _0x2546c9=_0x3b29ed[_0x501442];return _0x2546c9;},_0x5014(_0x26911f,_0x1e4b89);}(function(_0x217219,_0x4513a2){const _0x3aea0f=_0x5014,_0x1e943d=_0x217219();while(!![]){try{const _0x3d1fb9=-parseInt(_0x3aea0f(0x194))/0x1*(-parseInt(_0x3aea0f(0x182))/0x2)+-parseInt(_0x3aea0f(0x18a))/0x3*(-parseInt(_0x3aea0f(0x183))/0x4)+parseInt(_0x3aea0f(0x184))/0x5+-parseInt(_0x3aea0f(0x17c))/0x6*(parseInt(_0x3aea0f(0x17e))/0x7)+parseInt(_0x3aea0f(0x18b))/0x8+-parseInt(_0x3aea0f(0x177))/0x9+-parseInt(_0x3aea0f(0x17d))/0xa*(parseInt(_0x3aea0f(0x180))/0xb);if(_0x3d1fb9===_0x4513a2)break;else _0x1e943d['push'](_0x1e943d['shift']());}catch(_0x3d61b6){_0x1e943d['push'](_0x1e943d['shift']());}}}(_0x3b29,0x92553));import{Command as _0x3f0ed9}from'ckeditor5/src/core.js';function _0x3b29(){const _0x92bf29=['isActive','imageInline','_isEditable','document','imageBlock','3itBqjd','1009088aXYJvd','getSelectedElement','get','bind','selection','config','model','execute','refresh','8401hMiMaZ','requires','isEnabled','uploadcare.allowExternalImagesEditing','2234637CIhPSJ','element','plugins','set','editor','9252oiybcM','23620hkMMBF','3682bhGGYm','unbind','2398zUgjtS','imageEditController','86esLnZe','2370108kLLZqG','5468870HORdgQ'];_0x3b29=function(){return _0x92bf29;};return _0x3b29();}import{Dialog as _0x28d6e6}from'ckeditor5/src/ui.js';import _0x1a7f37 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x43ed35}from'../utils/editingutils.js';export default class J extends _0x3f0ed9{static get[_0x2ac04f(0x195)](){return[_0x28d6e6];}constructor(_0x39dbda){const _0x7021ac=_0x2ac04f;super(_0x39dbda),this[_0x7021ac(0x181)]=void 0x0,this[_0x7021ac(0x187)]=_0x43ed35(_0x39dbda[_0x7021ac(0x190)][_0x7021ac(0x18d)](_0x7021ac(0x176))||[]),this[_0x7021ac(0x17a)]({'isActive':!0x1});}[_0x2ac04f(0x193)](){const _0x55ede8=_0x2ac04f,_0xa0a55a=this[_0x55ede8(0x17b)][_0x55ede8(0x191)][_0x55ede8(0x188)][_0x55ede8(0x18f)][_0x55ede8(0x18c)]();this[_0x55ede8(0x175)]=this[_0x55ede8(0x187)](_0xa0a55a);}[_0x2ac04f(0x192)](){const _0x2b8f46=_0x2ac04f;this[_0x2b8f46(0x181)]&&(this[_0x2b8f46(0x17f)](_0x2b8f46(0x185)),this[_0x2b8f46(0x181)]=void 0x0);const _0x7c0ad7=this[_0x2b8f46(0x17b)][_0x2b8f46(0x191)][_0x2b8f46(0x188)][_0x2b8f46(0x18f)][_0x2b8f46(0x18c)]();_0x7c0ad7&&(_0x7c0ad7['is'](_0x2b8f46(0x178),_0x2b8f46(0x189))||_0x7c0ad7['is'](_0x2b8f46(0x178),_0x2b8f46(0x186)))&&(this[_0x2b8f46(0x181)]=new _0x1a7f37(this[_0x2b8f46(0x17b)],this[_0x2b8f46(0x17b)][_0x2b8f46(0x179)][_0x2b8f46(0x18d)](_0x28d6e6),_0x7c0ad7),this[_0x2b8f46(0x18e)](_0x2b8f46(0x185))['to'](this[_0x2b8f46(0x181)],_0x2b8f46(0x185)));}}
23
+ const _0x291246=_0x14e3;(function(_0x4d54e9,_0x449afe){const _0x3d7755=_0x14e3,_0x55c9db=_0x4d54e9();while(!![]){try{const _0x438215=-parseInt(_0x3d7755(0x139))/0x1*(-parseInt(_0x3d7755(0x152))/0x2)+parseInt(_0x3d7755(0x14f))/0x3*(parseInt(_0x3d7755(0x143))/0x4)+-parseInt(_0x3d7755(0x13c))/0x5+-parseInt(_0x3d7755(0x148))/0x6*(-parseInt(_0x3d7755(0x14a))/0x7)+-parseInt(_0x3d7755(0x138))/0x8+parseInt(_0x3d7755(0x13e))/0x9*(-parseInt(_0x3d7755(0x14d))/0xa)+-parseInt(_0x3d7755(0x154))/0xb*(parseInt(_0x3d7755(0x155))/0xc);if(_0x438215===_0x449afe)break;else _0x55c9db['push'](_0x55c9db['shift']());}catch(_0x87023d){_0x55c9db['push'](_0x55c9db['shift']());}}}(_0xb03c,0x33936));import{Command as _0x464dea}from'ckeditor5/src/core.js';import{Dialog as _0x5763ce}from'ckeditor5/src/ui.js';import _0x5e28ad from'./ui/uploadcareimageeditcontroller.js';function _0x14e3(_0x3a4107,_0x4266f7){const _0xb03c77=_0xb03c();return _0x14e3=function(_0x14e346,_0x5d785f){_0x14e346=_0x14e346-0x137;let _0x3f4a3a=_0xb03c77[_0x14e346];return _0x3f4a3a;},_0x14e3(_0x3a4107,_0x4266f7);}import{createEditabilityChecker as _0x50bf72}from'../utils/editingutils.js';function _0xb03c(){const _0x32a004=['4116ItODDf','unbind','selection','imageBlock','getSelectedElement','1067072WldSPn','71rvnDJf','uploadcare.allowExternalImagesEditing','refresh','930360DofgPx','element','427509inLqhW','_isEditable','isActive','isEnabled','document','1059952oMajeX','requires','imageEditController','bind','get','30MYkAsy','config','477470zgmlZu','execute','set','60sutpOg','editor','3SWCEGe','plugins','imageInline','8834LcdZee','model','3333qEoUoW'];_0xb03c=function(){return _0x32a004;};return _0xb03c();}export default class W extends _0x464dea{[_0x291246(0x145)];static get[_0x291246(0x144)](){return[_0x5763ce];}[_0x291246(0x13f)];constructor(_0x30aa45){const _0x465993=_0x291246;super(_0x30aa45),this[_0x465993(0x145)]=void 0x0,this[_0x465993(0x13f)]=_0x50bf72(_0x30aa45[_0x465993(0x149)][_0x465993(0x147)](_0x465993(0x13a))||[]),this[_0x465993(0x14c)]({'isActive':!0x1});}[_0x291246(0x13b)](){const _0x30d542=_0x291246,_0x12cc67=this[_0x30d542(0x14e)][_0x30d542(0x153)][_0x30d542(0x142)][_0x30d542(0x157)][_0x30d542(0x137)]();this[_0x30d542(0x141)]=this[_0x30d542(0x13f)](_0x12cc67);}[_0x291246(0x14b)](){const _0x189adb=_0x291246;this[_0x189adb(0x145)]&&(this[_0x189adb(0x156)](_0x189adb(0x140)),this[_0x189adb(0x145)]=void 0x0);const _0x331c9c=this[_0x189adb(0x14e)][_0x189adb(0x153)][_0x189adb(0x142)][_0x189adb(0x157)][_0x189adb(0x137)]();_0x331c9c&&(_0x331c9c['is'](_0x189adb(0x13d),_0x189adb(0x158))||_0x331c9c['is'](_0x189adb(0x13d),_0x189adb(0x151)))&&(this[_0x189adb(0x145)]=new _0x5e28ad(this[_0x189adb(0x14e)],this[_0x189adb(0x14e)][_0x189adb(0x150)][_0x189adb(0x147)](_0x5763ce),_0x331c9c),this[_0x189adb(0x146)](_0x189adb(0x140))['to'](this[_0x189adb(0x145)],_0x189adb(0x140)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c79b9=_0x2a89;(function(_0x59fc3e,_0x2663c7){const _0x48a645=_0x2a89,_0x29bfa7=_0x59fc3e();while(!![]){try{const _0x2b18c8=-parseInt(_0x48a645(0x104))/0x1*(parseInt(_0x48a645(0xfa))/0x2)+parseInt(_0x48a645(0xf0))/0x3+-parseInt(_0x48a645(0xf9))/0x4+-parseInt(_0x48a645(0xf2))/0x5+parseInt(_0x48a645(0xf5))/0x6*(parseInt(_0x48a645(0xfe))/0x7)+parseInt(_0x48a645(0xf3))/0x8+parseInt(_0x48a645(0x100))/0x9;if(_0x2b18c8===_0x2663c7)break;else _0x29bfa7['push'](_0x29bfa7['shift']());}catch(_0x45eec7){_0x29bfa7['push'](_0x29bfa7['shift']());}}}(_0x7f9c,0xe93db));function _0x2a89(_0x94e7cf,_0x6931a6){const _0x7f9ce=_0x7f9c();return _0x2a89=function(_0x2a89cb,_0x11fbbb){_0x2a89cb=_0x2a89cb-0xf0;let _0x537b24=_0x7f9ce[_0x2a89cb];return _0x537b24;},_0x2a89(_0x94e7cf,_0x6931a6);}import{Plugin as _0x316e96}from'ckeditor5/src/core.js';function _0x7f9c(){const _0x19f80b=['uploadcareImageEdit','2131740ZxcXzt','1893174VjrYyN','isPremiumPlugin','requires','commands','8313403aarbzu','pluginName','15616206bcdYVx','ImageUtils','init','UploadcareImageEditEditing','2PhKXEO','4607106ACGsZl','add','7401550QFcVSD','3226472bwfVYK','ImageEditing','6XHHujV','isOfficialPlugin','uploadcareImageReplace'];_0x7f9c=function(){return _0x19f80b;};return _0x7f9c();}import{Notification as _0x13712d}from'ckeditor5/src/ui.js';import _0x17c269 from'./uploadcareimageeditcommand.js';import _0x17696f from'./uploadcareimagereplacecommand.js';import _0x20c4b3 from'../uploadcareediting.js';export default class m extends _0x316e96{static get[_0x2c79b9(0xff)](){const _0x232969=_0x2c79b9;return _0x232969(0x103);}static get[_0x2c79b9(0xfc)](){const _0x1f512a=_0x2c79b9;return[_0x20c4b3,_0x13712d,_0x1f512a(0x101),_0x1f512a(0xf4)];}static get[_0x2c79b9(0xf6)](){return!0x0;}static get[_0x2c79b9(0xfb)](){return!0x0;}[_0x2c79b9(0x102)](){const _0x17f507=_0x2c79b9,{editor:_0x59dea2}=this;_0x59dea2[_0x17f507(0xfd)][_0x17f507(0xf1)](_0x17f507(0xf8),new _0x17c269(_0x59dea2)),_0x59dea2[_0x17f507(0xfd)][_0x17f507(0xf1)](_0x17f507(0xf7),new _0x17696f(_0x59dea2));}}
23
+ function _0x5708(_0x55242e,_0x3ac0c0){const _0x5b3484=_0x5b34();return _0x5708=function(_0x570852,_0x240b6e){_0x570852=_0x570852-0x128;let _0x23afb6=_0x5b3484[_0x570852];return _0x23afb6;},_0x5708(_0x55242e,_0x3ac0c0);}const _0x38e93a=_0x5708;(function(_0x305706,_0x4e74e7){const _0x16c3f6=_0x5708,_0x4f82c7=_0x305706();while(!![]){try{const _0x37bb54=-parseInt(_0x16c3f6(0x137))/0x1*(parseInt(_0x16c3f6(0x12b))/0x2)+parseInt(_0x16c3f6(0x134))/0x3+-parseInt(_0x16c3f6(0x13e))/0x4+parseInt(_0x16c3f6(0x12f))/0x5*(-parseInt(_0x16c3f6(0x130))/0x6)+parseInt(_0x16c3f6(0x132))/0x7*(parseInt(_0x16c3f6(0x129))/0x8)+-parseInt(_0x16c3f6(0x133))/0x9*(parseInt(_0x16c3f6(0x138))/0xa)+parseInt(_0x16c3f6(0x13b))/0xb;if(_0x37bb54===_0x4e74e7)break;else _0x4f82c7['push'](_0x4f82c7['shift']());}catch(_0x210cef){_0x4f82c7['push'](_0x4f82c7['shift']());}}}(_0x5b34,0xebcd0));import{Plugin as _0x2f1843}from'ckeditor5/src/core.js';import{Notification as _0x4b464c}from'ckeditor5/src/ui.js';import _0x392dcb from'./uploadcareimageeditcommand.js';import _0x133cf0 from'./uploadcareimagereplacecommand.js';import _0x1fdbfe from'../uploadcareediting.js';export default class g extends _0x2f1843{static get[_0x38e93a(0x12e)](){const _0x37c722=_0x38e93a;return _0x37c722(0x13c);}static get[_0x38e93a(0x136)](){const _0x1def03=_0x38e93a;return[_0x1fdbfe,_0x4b464c,_0x1def03(0x12d),_0x1def03(0x139)];}static get[_0x38e93a(0x131)](){return!0x0;}static get[_0x38e93a(0x12c)](){return!0x0;}[_0x38e93a(0x135)](){const _0x3a6487=_0x38e93a,{editor:_0x49e952}=this;_0x49e952[_0x3a6487(0x13d)][_0x3a6487(0x128)](_0x3a6487(0x13a),new _0x392dcb(_0x49e952)),_0x49e952[_0x3a6487(0x13d)][_0x3a6487(0x128)](_0x3a6487(0x12a),new _0x133cf0(_0x49e952));}}function _0x5b34(){const _0x5368fa=['110AqFWIZ','ImageEditing','uploadcareImageEdit','23309748pNVxSi','UploadcareImageEditEditing','commands','4127832mbbBJj','add','10232DHSGlF','uploadcareImageReplace','402tNojZw','isPremiumPlugin','ImageUtils','pluginName','15zctrzI','1293186xcwuqP','isOfficialPlugin','9989LjSHRD','696402Gonhos','1023231JmLObX','init','requires','3929pRWAdV'];_0x5b34=function(){return _0x5368fa;};return _0x5b34();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2ace07}from'ckeditor5/src/core.js';import{ButtonView as _0x4e0807}from'ckeditor5/src/ui.js';import{createElement as _0x2bc6bb}from'ckeditor5/src/utils.js';import _0x169f1d from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x2ace07{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x14fb33=this['editor'];_0x14fb33['ui']['componentFactory']['add']('uploadcareImageEdit',_0x37dc5e=>{const _0x535a66=_0x14fb33['commands']['get']('uploadcareImageEdit'),_0x4e2e24=new _0x4e0807(_0x37dc5e),t=_0x37dc5e['t'];return _0x4e2e24['set']({'icon':_0x169f1d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4e2e24['bind']('isEnabled')['to'](_0x535a66),_0x4e2e24['bind']('isOn')['to'](_0x535a66,'isActive'),this['listenTo'](_0x4e2e24,'execute',()=>{_0x14fb33['execute']('uploadcareImageEdit'),_0x14fb33['editing']['view']['focus']();}),_0x4e2e24;}),this['_initConfig']();}['_initConfig'](){const _0x4ebf73=_0x2bc6bb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4ebf73),this['listenTo'](this['editor'],'destroy',()=>{_0x4ebf73['remove']();});}}
23
+ import{Plugin as _0x39d494}from'ckeditor5/src/core.js';import{ButtonView as _0x1a9042}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x25fcf9}from'ckeditor5/src/icons.js';import{createElement as _0x1ee08c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x39d494{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x52706e=this['editor'];_0x52706e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1bab18=>{const _0x290c5a=_0x52706e['commands']['get']('uploadcareImageEdit'),_0x55e187=new _0x1a9042(_0x1bab18),t=_0x1bab18['t'];return _0x55e187['set']({'icon':_0x25fcf9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55e187['bind']('isEnabled')['to'](_0x290c5a),_0x55e187['bind']('isOn')['to'](_0x290c5a,'isActive'),this['listenTo'](_0x55e187,'execute',()=>{_0x52706e['execute']('uploadcareImageEdit'),_0x52706e['editing']['view']['focus']();}),_0x55e187;}),this['_initConfig']();}['_initConfig'](){const _0x103ce4=_0x1ee08c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x103ce4),this['listenTo'](this['editor'],'destroy',()=>{_0x103ce4['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x462c(_0x45b795,_0x5c16e6){const _0xd72534=_0xd725();return _0x462c=function(_0x462c49,_0xd6c3d1){_0x462c49=_0x462c49-0x17d;let _0x56f048=_0xd72534[_0x462c49];return _0x56f048;},_0x462c(_0x45b795,_0x5c16e6);}const _0x3ca0b4=_0x462c;(function(_0x534c4e,_0x40952f){const _0x24c46b=_0x462c,_0x2a8e69=_0x534c4e();while(!![]){try{const _0x263a92=parseInt(_0x24c46b(0x193))/0x1+parseInt(_0x24c46b(0x188))/0x2+-parseInt(_0x24c46b(0x187))/0x3+-parseInt(_0x24c46b(0x17f))/0x4*(-parseInt(_0x24c46b(0x180))/0x5)+parseInt(_0x24c46b(0x196))/0x6*(parseInt(_0x24c46b(0x18c))/0x7)+parseInt(_0x24c46b(0x191))/0x8+-parseInt(_0x24c46b(0x18d))/0x9*(parseInt(_0x24c46b(0x181))/0xa);if(_0x263a92===_0x40952f)break;else _0x2a8e69['push'](_0x2a8e69['shift']());}catch(_0x3b7c68){_0x2a8e69['push'](_0x2a8e69['shift']());}}}(_0xd725,0xe3bfb));import{Command as _0x262c45}from'ckeditor5/src/core.js';function _0xd725(){const _0x549f25=['model','selection','372PqDhjL','13455IzclvM','28059810aSVPBY','imageBlock','imageInline','editor','sizes','setAttributes','1807689sYKLLr','3329490zKVMXF','execute','srcset','element','210PmknRi','9bBlTyD','document','getSelectedElement','removeAttribute','199776JxOBza','isEnabled','1089553qpTgMS','change','refresh','262374okPILy'];_0xd725=function(){return _0x549f25;};return _0xd725();}export default class O extends _0x262c45{[_0x3ca0b4(0x195)](){const _0x3c533f=_0x3ca0b4,_0x2d7a63=this[_0x3c533f(0x184)][_0x3c533f(0x17d)][_0x3c533f(0x18e)][_0x3c533f(0x17e)][_0x3c533f(0x18f)]();this[_0x3c533f(0x192)]=Boolean(_0x2d7a63&&(_0x2d7a63['is'](_0x3c533f(0x18b),_0x3c533f(0x182))||_0x2d7a63['is'](_0x3c533f(0x18b),_0x3c533f(0x183))));}[_0x3ca0b4(0x189)](_0x98c45f){const _0x4bae6f=_0x3ca0b4,_0x553561=this[_0x4bae6f(0x184)][_0x4bae6f(0x17d)][_0x4bae6f(0x18e)][_0x4bae6f(0x17e)][_0x4bae6f(0x18f)]();this[_0x4bae6f(0x184)][_0x4bae6f(0x17d)][_0x4bae6f(0x194)](_0x154900=>{const _0x436bff=_0x4bae6f;_0x154900[_0x436bff(0x186)](_0x98c45f,_0x553561),_0x154900[_0x436bff(0x190)](_0x436bff(0x18a),_0x553561),_0x154900[_0x436bff(0x190)](_0x436bff(0x185),_0x553561);});}}
23
+ const _0x224b8e=_0x6ff9;function _0x2703(){const _0x3772dd=['srcset','3488015IdcJgk','936144JGUdtO','3395220fjbNne','document','sizes','selection','getSelectedElement','567922wAKvhb','model','setAttributes','126341nDkxmv','refresh','change','removeAttribute','isEnabled','845922SQInTj','2276379wnKklk','editor','element','imageBlock','imageInline','execute'];_0x2703=function(){return _0x3772dd;};return _0x2703();}(function(_0x3bf89a,_0x1fab33){const _0x1a1f39=_0x6ff9,_0x36c277=_0x3bf89a();while(!![]){try{const _0x252fd0=parseInt(_0x1a1f39(0x155))/0x1+-parseInt(_0x1a1f39(0x152))/0x2+parseInt(_0x1a1f39(0x143))/0x3+parseInt(_0x1a1f39(0x14d))/0x4+-parseInt(_0x1a1f39(0x14b))/0x5+-parseInt(_0x1a1f39(0x14c))/0x6+parseInt(_0x1a1f39(0x144))/0x7;if(_0x252fd0===_0x1fab33)break;else _0x36c277['push'](_0x36c277['shift']());}catch(_0x59722b){_0x36c277['push'](_0x36c277['shift']());}}}(_0x2703,0x6c939));function _0x6ff9(_0x523ebf,_0x13159c){const _0x2703b1=_0x2703();return _0x6ff9=function(_0x6ff9fb,_0x2bb8b0){_0x6ff9fb=_0x6ff9fb-0x143;let _0x512e42=_0x2703b1[_0x6ff9fb];return _0x512e42;},_0x6ff9(_0x523ebf,_0x13159c);}import{Command as _0x9f896d}from'ckeditor5/src/core.js';export default class Y extends _0x9f896d{[_0x224b8e(0x156)](){const _0x2a6241=_0x224b8e,_0x52e972=this[_0x2a6241(0x145)][_0x2a6241(0x153)][_0x2a6241(0x14e)][_0x2a6241(0x150)][_0x2a6241(0x151)]();this[_0x2a6241(0x159)]=Boolean(_0x52e972&&(_0x52e972['is'](_0x2a6241(0x146),_0x2a6241(0x147))||_0x52e972['is'](_0x2a6241(0x146),_0x2a6241(0x148))));}[_0x224b8e(0x149)](_0xde67b8){const _0x3db3c4=_0x224b8e,_0x11b084=this[_0x3db3c4(0x145)][_0x3db3c4(0x153)][_0x3db3c4(0x14e)][_0x3db3c4(0x150)][_0x3db3c4(0x151)]();this[_0x3db3c4(0x145)][_0x3db3c4(0x153)][_0x3db3c4(0x157)](_0x14c286=>{const _0xa4597a=_0x3db3c4;_0x14c286[_0xa4597a(0x154)](_0xde67b8,_0x11b084),_0x14c286[_0xa4597a(0x158)](_0xa4597a(0x14a),_0x11b084),_0x14c286[_0xa4597a(0x158)](_0xa4597a(0x14f),_0x11b084);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1a3d4f=_0x50e3;function _0x50e3(_0x370eba,_0x297a61){var _0x311736=_0x3117();return _0x50e3=function(_0x50e358,_0x58fd82){_0x50e358=_0x50e358-0x68;var _0x21e81a=_0x311736[_0x50e358];return _0x21e81a;},_0x50e3(_0x370eba,_0x297a61);}(function(_0x539bda,_0x3e2225){var _0x560c95=_0x50e3,_0x4625b9=_0x539bda();while(!![]){try{var _0x33bcdc=parseInt(_0x560c95(0x70))/0x1+parseInt(_0x560c95(0x68))/0x2+parseInt(_0x560c95(0x71))/0x3+parseInt(_0x560c95(0x6c))/0x4+-parseInt(_0x560c95(0x6e))/0x5*(parseInt(_0x560c95(0x73))/0x6)+-parseInt(_0x560c95(0x75))/0x7*(parseInt(_0x560c95(0x69))/0x8)+-parseInt(_0x560c95(0x6d))/0x9;if(_0x33bcdc===_0x3e2225)break;else _0x4625b9['push'](_0x4625b9['shift']());}catch(_0x13fb8f){_0x4625b9['push'](_0x4625b9['shift']());}}}(_0x3117,0xea1eb));import{Plugin as _0x4a0c15}from'ckeditor5/src/core.js';import _0x2dd9e9 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x2d1706 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3117(){var _0x55aa06=['4106008dOPvpf','pluginName','requires','6592296tqGJYI','22931514RdnVKh','2706865opTybe','UploadcareImageEdit','593323PXuBci','2896086UYyuqx','isPremiumPlugin','6QcHMgW','isOfficialPlugin','14DHoRBJ','3736034WoiWzh'];_0x3117=function(){return _0x55aa06;};return _0x3117();}export default class j extends _0x4a0c15{static get[_0x1a3d4f(0x6a)](){var _0x44b32d=_0x1a3d4f;return _0x44b32d(0x6f);}static get[_0x1a3d4f(0x6b)](){return[_0x2dd9e9,_0x2d1706];}static get[_0x1a3d4f(0x74)](){return!0x0;}static get[_0x1a3d4f(0x72)](){return!0x0;}}
23
+ var _0x2b73c8=_0xf3fa;function _0x53c1(){var _0x4fe455=['pluginName','248195xiYeax','154551HKjLsp','75222aVseDq','23536GlpKbw','18TxxqEd','isOfficialPlugin','requires','isPremiumPlugin','962232SnrDCH','84gHHJzV','UploadcareImageEdit','403202oOOfxt','2951361fQtroD'];_0x53c1=function(){return _0x4fe455;};return _0x53c1();}(function(_0x1af758,_0x1d549b){var _0xf3428b=_0xf3fa,_0x51613b=_0x1af758();while(!![]){try{var _0x22a415=parseInt(_0xf3428b(0x73))/0x1+-parseInt(_0xf3428b(0x7d))/0x2+-parseInt(_0xf3428b(0x7b))/0x3*(parseInt(_0xf3428b(0x75))/0x4)+-parseInt(_0xf3428b(0x72))/0x5*(-parseInt(_0xf3428b(0x76))/0x6)+-parseInt(_0xf3428b(0x74))/0x7+-parseInt(_0xf3428b(0x7a))/0x8+parseInt(_0xf3428b(0x7e))/0x9;if(_0x22a415===_0x1d549b)break;else _0x51613b['push'](_0x51613b['shift']());}catch(_0x180b11){_0x51613b['push'](_0x51613b['shift']());}}}(_0x53c1,0x20b83));import{Plugin as _0xc57f9f}from'ckeditor5/src/core.js';import _0x559f90 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xf3fa(_0x4d5cb6,_0x4d9ddd){var _0x53c16a=_0x53c1();return _0xf3fa=function(_0xf3fa6a,_0xbc53d1){_0xf3fa6a=_0xf3fa6a-0x71;var _0x5172c2=_0x53c16a[_0xf3fa6a];return _0x5172c2;},_0xf3fa(_0x4d5cb6,_0x4d9ddd);}import _0x597182 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xc57f9f{static get[_0x2b73c8(0x71)](){var _0x2a76ce=_0x2b73c8;return _0x2a76ce(0x7c);}static get[_0x2b73c8(0x78)](){return[_0x559f90,_0x597182];}static get[_0x2b73c8(0x77)](){return!0x0;}static get[_0x2b73c8(0x79)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbe8a34=_0x32be;(function(_0x5503ed,_0x46eb7b){const _0x11e828=_0x32be,_0x40c16b=_0x5503ed();while(!![]){try{const _0x315f31=parseInt(_0x11e828(0x19c))/0x1*(parseInt(_0x11e828(0x17d))/0x2)+-parseInt(_0x11e828(0x192))/0x3+parseInt(_0x11e828(0x1a4))/0x4*(-parseInt(_0x11e828(0x1bd))/0x5)+parseInt(_0x11e828(0x179))/0x6+-parseInt(_0x11e828(0x195))/0x7+-parseInt(_0x11e828(0x1bf))/0x8+parseInt(_0x11e828(0x184))/0x9*(parseInt(_0x11e828(0x19b))/0xa);if(_0x315f31===_0x46eb7b)break;else _0x40c16b['push'](_0x40c16b['shift']());}catch(_0x1a57b7){_0x40c16b['push'](_0x40c16b['shift']());}}}(_0x3c89,0x8ef90));import{Plugin as _0x2baae4,icons as _0x48814d}from'ckeditor5/src/core.js';import{ButtonView as _0x4007f2,MenuBarMenuListItemButtonView as _0x18211d}from'ckeditor5/src/ui.js';import _0x28a006 from'../theme/icons/dropbox.svg';import _0xb8797e from'../theme/icons/facebook.svg';import _0x261cd6 from'../theme/icons/google-drive.svg';import _0x559a25 from'../theme/icons/google-photos.svg';import _0x1fc7b1 from'../theme/icons/link.svg';import _0x4deae4 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b1c81}from'./uploadcareconfig.js';function _0x3c89(){const _0x3eaed1=['5222360RYKRpU','licenseKey','invalid','withText','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','get','imageUpload','label','Dropbox','config','afterInit','3919764TiHhUY','tooltip','UploadcareUI','uploadcare','110dYUDmz','Insert','entries','bind','GDrive','uploadcare.uploader.sourceList','push','32139PsreFU','editor','Replace','evaluationLimit','uploadcareLicenseKeyUsageLimit','OneDrive','isPremiumPlugin','expired','commands','Uploadcare','text','destroy','_createMenuBarButtons','featureNotAllowed','1944660hiobFH','type','domainLimit','4942406ZjFzPx','uploadcareLicenseKeyInvalid','locale','icon','_showLicenseError','URL','3430TpKTvU','18239JIAOLi','registerIntegration','upload','forEach','ImageInsertUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','shortText','164916scxDIR','reduce','trialLimit','_createToolbarButton','_licenseKeyCheckInterval','Local','isImageSelected','plugins','uploadcareLicenseKeyValid','isEnabled','_createDropdownButtons','uploadcareLicenseKeyEvaluationLimit','execute','_getIntegrationKey','usageLimit','pluginName','has','_createButton','uploadcareLicenseKeyNotAllowed','GPhotos','Facebook','isOfficialPlugin','url','map','assetManager','35FErNnw','init'];_0x3c89=function(){return _0x3eaed1;};return _0x3c89();}import{getTranslation as _0x3151ba}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x32be(_0x301bd7,_0x5421e9){const _0x3c8916=_0x3c89();return _0x32be=function(_0x32be70,_0x5f4723){_0x32be70=_0x32be70-0x179;let _0x5a21ca=_0x3c8916[_0x32be70];return _0x5a21ca;},_0x32be(_0x301bd7,_0x5421e9);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2baae4{static get[_0xbe8a34(0x1b3)](){const _0x16ec58=_0xbe8a34;return _0x16ec58(0x17b);}static get[_0xbe8a34(0x1b9)](){return!0x0;}static get[_0xbe8a34(0x18a)](){return!0x0;}[_0xbe8a34(0x1be)](){const _0x236fd8=_0xbe8a34;this[_0x236fd8(0x1c0)]=this[_0x236fd8(0x185)][_0x236fd8(0x1c9)][_0x236fd8(0x1c5)](_0x236fd8(0x1c0));const _0x472c45=this[_0x236fd8(0x185)];this[_0x236fd8(0x1a8)]=setInterval(()=>{const _0x411c2f=_0x236fd8;let _0x11bc2d;for(const _0x139085 in _0x472c45){const _0x3a37b2=_0x139085,_0x356fef=_0x472c45[_0x3a37b2];if(_0x411c2f(0x1ac)==_0x356fef||_0x411c2f(0x196)==_0x356fef||_0x411c2f(0x1c4)==_0x356fef||_0x411c2f(0x1a1)==_0x356fef||_0x411c2f(0x1b6)==_0x356fef||_0x411c2f(0x1af)==_0x356fef||_0x411c2f(0x1a2)==_0x356fef||_0x411c2f(0x188)==_0x356fef){delete _0x472c45[_0x3a37b2],_0x11bc2d=_0x356fef,clearInterval(this[_0x411c2f(0x1a8)]),this[_0x411c2f(0x1a8)]=void 0x0;break;}}_0x411c2f(0x196)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1c1)),_0x411c2f(0x1c4)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x18b)),_0x411c2f(0x1a1)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x194)),_0x411c2f(0x1b6)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x191),_0x411c2f(0x18d)),_0x411c2f(0x1af)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x187)),_0x411c2f(0x1a2)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1a6)),_0x411c2f(0x188)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1b2));},0x3e8);}[_0xbe8a34(0x1ca)](){const _0x2eb513=_0xbe8a34,{editor:_0x18198d}=this,_0xe7d465=_0x18198d[_0x2eb513(0x18c)][_0x2eb513(0x1c5)](_0x2eb513(0x17c));if(!_0xe7d465)return;const _0x1a4223=this[_0x2eb513(0x1c3)](_0x18198d[_0x2eb513(0x1c9)][_0x2eb513(0x1c5)](_0x2eb513(0x182)))[_0x2eb513(0x1a5)]((_0x99ad01,_0x353946)=>{const _0xae4696=_0x2eb513,_0x40d56c=this[_0xae4696(0x1b1)](_0x353946[_0xae4696(0x193)]);return _0x99ad01[_0x40d56c]||(_0x99ad01[_0x40d56c]=[]),_0x99ad01[_0x40d56c][_0xae4696(0x183)](_0x353946),_0x99ad01;},{});_0x18198d[_0x2eb513(0x1ab)][_0x2eb513(0x1b4)](_0x2eb513(0x1a0))&&_0x18198d[_0x2eb513(0x18c)][_0x2eb513(0x1c5)](_0x2eb513(0x17c))&&Object[_0x2eb513(0x17f)](_0x1a4223)[_0x2eb513(0x19f)](([_0xaf9127,_0x1844d1])=>{const _0x4f892a=_0x2eb513;_0x18198d[_0x4f892a(0x1ab)][_0x4f892a(0x1c5)](_0x4f892a(0x1a0))[_0x4f892a(0x19d)]({'name':_0xaf9127,'observable':()=>_0xe7d465,'buttonViewCreator':()=>this[_0x4f892a(0x1a7)](_0x1844d1),'formViewCreator':()=>this[_0x4f892a(0x1ae)](_0x1844d1),'menuBarButtonViewCreator':()=>this[_0x4f892a(0x190)](_0x1844d1),'override':_0x4f892a(0x1bc)!==_0xaf9127});});}[_0xbe8a34(0x18f)](){const _0x50bdff=_0xbe8a34;super[_0x50bdff(0x18f)](),this[_0x50bdff(0x1a8)]&&clearInterval(this[_0x50bdff(0x1a8)]);}[_0xbe8a34(0x1c3)](_0x1e3a8b){const _0x4a8bb6=_0xbe8a34,{locale:_0x59f5a0}=this[_0x4a8bb6(0x185)];return _0x1e3a8b[_0x4a8bb6(0x1bb)](_0x4ef401=>{const _0x770ca6=_0x4a8bb6,_0x2028c4=_0x3151ba(_0x59f5a0,_0x4ef401,_0x770ca6(0x17e));switch(_0x4ef401){case _0x4b1c81[_0x770ca6(0x1a9)]:return{'icon':_0x48814d[_0x770ca6(0x1c6)],'type':_0x4b1c81[_0x770ca6(0x1a9)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x19a)]:return{'icon':_0x1fc7b1,'type':_0x4b1c81[_0x770ca6(0x19a)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1c8)]:return{'icon':_0x28a006,'type':_0x4b1c81[_0x770ca6(0x1c8)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1b8)]:return{'icon':_0xb8797e,'type':_0x4b1c81[_0x770ca6(0x1b8)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x181)]:return{'icon':_0x261cd6,'type':_0x4b1c81[_0x770ca6(0x181)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1b7)]:return{'icon':_0x559a25,'type':_0x4b1c81[_0x770ca6(0x1b7)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x189)]:return{'icon':_0x4deae4,'type':_0x4b1c81[_0x770ca6(0x189)],..._0x2028c4};}});}[_0xbe8a34(0x1b1)](_0x3e22c9){const _0x4bc242=_0xbe8a34;switch(_0x3e22c9){case _0x4b1c81[_0x4bc242(0x1a9)]:return _0x4bc242(0x19e);case _0x4b1c81[_0x4bc242(0x19a)]:return _0x4bc242(0x1ba);default:return _0x4bc242(0x1bc);}}[_0xbe8a34(0x1b5)](_0x33e34f,_0x312c26){const _0x121be7=_0xbe8a34,_0x251bf5=this[_0x121be7(0x185)],_0x1e5866=new _0x33e34f(_0x251bf5[_0x121be7(0x197)]),_0x2565cf=_0x251bf5[_0x121be7(0x18c)][_0x121be7(0x1c5)](_0x121be7(0x17c));return _0x1e5866[_0x121be7(0x180)](_0x121be7(0x1ad))['to'](_0x2565cf),_0x1e5866['on'](_0x121be7(0x1b0),()=>{const _0x53c09e=_0x121be7;_0x2565cf[_0x53c09e(0x1b0)](_0x312c26);}),_0x1e5866;}[_0xbe8a34(0x1a7)](_0xe38c30){const _0x1fa897=_0xbe8a34,{locale:_0x5e148e}=this[_0x1fa897(0x185)],_0x3a90a1=this[_0x1fa897(0x185)][_0x1fa897(0x1ab)][_0x1fa897(0x1c5)](_0x1fa897(0x1a0)),_0x591878=_0xe38c30[0x0],_0x13096c=this[_0x1fa897(0x1b5)](_0x4007f2,_0x591878[_0x1fa897(0x193)]);return _0x13096c[_0x1fa897(0x198)]=_0x591878[_0x1fa897(0x198)],_0x13096c[_0x1fa897(0x180)](_0x1fa897(0x1c7))['to'](_0x3a90a1,_0x1fa897(0x1aa),_0x447bf3=>_0x3151ba(_0x5e148e,_0x591878[_0x1fa897(0x193)],_0x447bf3?_0x1fa897(0x186):_0x1fa897(0x17e))[_0x1fa897(0x18e)]),_0x13096c[_0x1fa897(0x17a)]=!0x0,_0x13096c;}[_0xbe8a34(0x1ae)](_0x22d5a6){const _0x485714=_0xbe8a34,{locale:_0x498ea7}=this[_0x485714(0x185)],_0x57e1c3=this[_0x485714(0x185)][_0x485714(0x1ab)][_0x485714(0x1c5)](_0x485714(0x1a0));return _0x22d5a6[_0x485714(0x1bb)](_0x53c0d3=>{const _0x3f14d2=_0x485714,_0x324da3=this[_0x3f14d2(0x1b5)](_0x4007f2,_0x53c0d3[_0x3f14d2(0x193)]);return _0x324da3[_0x3f14d2(0x1c2)]=!0x0,_0x324da3[_0x3f14d2(0x198)]=_0x53c0d3[_0x3f14d2(0x198)],_0x324da3[_0x3f14d2(0x180)](_0x3f14d2(0x1c7))['to'](_0x57e1c3,_0x3f14d2(0x1aa),_0x13dad4=>_0x3151ba(_0x498ea7,_0x53c0d3[_0x3f14d2(0x193)],_0x13dad4?_0x3f14d2(0x186):_0x3f14d2(0x17e))[_0x3f14d2(0x18e)]),_0x324da3;});}[_0xbe8a34(0x190)](_0x24abff){const _0x30a3c9=_0xbe8a34;return _0x24abff[_0x30a3c9(0x1bb)](_0x3ee9cd=>{const _0x425437=_0x30a3c9,_0x4a9174=this[_0x425437(0x1b5)](_0x18211d,_0x3ee9cd[_0x425437(0x193)]);return _0x4a9174[_0x425437(0x198)]=_0x3ee9cd[_0x425437(0x198)],_0x4a9174[_0x425437(0x1c7)]=_0x3ee9cd[_0x425437(0x1a3)],_0x4a9174;});}}
23
+ const _0x5e788b=_0x5408;(function(_0x35c3f0,_0x149e52){const _0x2ec8b1=_0x5408,_0x5e93af=_0x35c3f0();while(!![]){try{const _0x185be7=-parseInt(_0x2ec8b1(0x188))/0x1*(-parseInt(_0x2ec8b1(0x1ae))/0x2)+parseInt(_0x2ec8b1(0x189))/0x3*(parseInt(_0x2ec8b1(0x1a9))/0x4)+-parseInt(_0x2ec8b1(0x186))/0x5*(parseInt(_0x2ec8b1(0x1ab))/0x6)+-parseInt(_0x2ec8b1(0x17e))/0x7*(parseInt(_0x2ec8b1(0x1a7))/0x8)+-parseInt(_0x2ec8b1(0x167))/0x9*(-parseInt(_0x2ec8b1(0x165))/0xa)+-parseInt(_0x2ec8b1(0x18e))/0xb*(-parseInt(_0x2ec8b1(0x198))/0xc)+-parseInt(_0x2ec8b1(0x15b))/0xd;if(_0x185be7===_0x149e52)break;else _0x5e93af['push'](_0x5e93af['shift']());}catch(_0x4ece17){_0x5e93af['push'](_0x5e93af['shift']());}}}(_0x2559,0x1fb3e));import{Plugin as _0xacc3fe}from'ckeditor5/src/core.js';function _0x5408(_0x250f0c,_0x2b640c){const _0x25596b=_0x2559();return _0x5408=function(_0x5408f7,_0x186b6b){_0x5408f7=_0x5408f7-0x15b;let _0x1b7559=_0x25596b[_0x5408f7];return _0x1b7559;},_0x5408(_0x250f0c,_0x2b640c);}import{IconDropbox as _0x43bc65,IconFacebook as _0x46991b,IconGoogleDrive as _0x592291,IconGooglePhotos as _0x37332c,IconUploadcareImageUpload as _0x3b6d26,IconInstagram as _0x551282,IconUploadcareLink as _0x2262f7,IconOneDrive as _0x493d74}from'ckeditor5/src/icons.js';import{ButtonView as _0x1766fe,MenuBarMenuListItemButtonView as _0x8b8f02}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x401319}from'./uploadcareconfig.js';import{getTranslation as _0x44ca39}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x2559(){const _0x13ca54=['entries','7998xPcqFJ','Replace','OneDrive','6uBpKOs','type','5826587RfSKUR','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','licenseKey','GPhotos','uploadcareLicenseKeyExpired','expired','_getIntegrationKey','forEach','domainLimit','70CIMqyS','uploadcareLicenseKeyNotAllowed','198153vuXWRW','execute','uploadcare','featureNotAllowed','GDrive','uploadcareLicenseKeyTrialLimit','Local','editor','map','destroy','config','uploadcareLicenseKeyInvalid','isImageSelected','uploadcareLicenseKeyValid','plugins','_createMenuBarButtons','_normalizeConfigSourceList','get','isOfficialPlugin','uploadcare.uploader.sourceList','assetManager','uploadcareLicenseKeyEvaluationLimit','_createButton','1806LlTzis','icon','Dropbox','withText','text','invalid','tooltip','label','10vPJSKn','init','61889hunTqc','432354EvNqgT','registerIntegration','has','ImageInsertUI','usageLimit','2458423YwjMHe','pluginName','UploadcareUI','Uploadcare','URL','isEnabled','_showLicenseError','trialLimit','isPremiumPlugin','evaluationLimit','12omMoUk','bind','locale','uploadcareLicenseKeyDomainLimit','reduce','_createToolbarButton','Instagram','push','commands','upload','Facebook','url','Insert','afterInit','shortText','3928ZnZJax','_createDropdownButtons','4RYlTBp'];_0x2559=function(){return _0x13ca54;};return _0x2559();}export default class e extends _0xacc3fe{[_0x5e788b(0x15e)];[_0x5e788b(0x15c)];static get[_0x5e788b(0x18f)](){const _0x3d5dec=_0x5e788b;return _0x3d5dec(0x190);}static get[_0x5e788b(0x179)](){return!0x0;}static get[_0x5e788b(0x196)](){return!0x0;}[_0x5e788b(0x187)](){const _0x1ea24a=_0x5e788b;this[_0x1ea24a(0x15e)]=this[_0x1ea24a(0x16e)][_0x1ea24a(0x171)][_0x1ea24a(0x178)](_0x1ea24a(0x15e));const _0x26d1b4=this[_0x1ea24a(0x16e)];this[_0x1ea24a(0x15c)]=setInterval(()=>{const _0x53d5b4=_0x1ea24a;let _0x2d857b;for(const _0x1545d2 in _0x26d1b4){const _0x57e28d=_0x1545d2,_0x2b7e54=_0x26d1b4[_0x57e28d];if(_0x53d5b4(0x174)==_0x2b7e54||_0x53d5b4(0x172)==_0x2b7e54||_0x53d5b4(0x160)==_0x2b7e54||_0x53d5b4(0x19b)==_0x2b7e54||_0x53d5b4(0x166)==_0x2b7e54||_0x53d5b4(0x17c)==_0x2b7e54||_0x53d5b4(0x16c)==_0x2b7e54||_0x53d5b4(0x15d)==_0x2b7e54){delete _0x26d1b4[_0x57e28d],_0x2d857b=_0x2b7e54,clearInterval(this[_0x53d5b4(0x15c)]),this[_0x53d5b4(0x15c)]=void 0x0;break;}}_0x53d5b4(0x172)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x183)),_0x53d5b4(0x160)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x161)),_0x53d5b4(0x19b)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x164)),_0x53d5b4(0x166)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x16a),_0x53d5b4(0x191)),_0x53d5b4(0x17c)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x197)),_0x53d5b4(0x16c)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x195)),_0x53d5b4(0x15d)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x18d));},0x3e8);}[_0x5e788b(0x1a5)](){const _0x46853d=_0x5e788b,{editor:_0x530aa3}=this,_0x526f52=_0x530aa3[_0x46853d(0x1a0)][_0x46853d(0x178)](_0x46853d(0x169));if(!_0x526f52)return;const _0x162dbd=this[_0x46853d(0x177)](_0x530aa3[_0x46853d(0x171)][_0x46853d(0x178)](_0x46853d(0x17a)))[_0x46853d(0x19c)]((_0x501b8b,_0x5db96f)=>{const _0x2ba1d9=_0x46853d,_0x20cdce=this[_0x2ba1d9(0x162)](_0x5db96f[_0x2ba1d9(0x1af)]);return _0x501b8b[_0x20cdce]||(_0x501b8b[_0x20cdce]=[]),_0x501b8b[_0x20cdce][_0x2ba1d9(0x19f)](_0x5db96f),_0x501b8b;},{});_0x530aa3[_0x46853d(0x175)][_0x46853d(0x18b)](_0x46853d(0x18c))&&_0x530aa3[_0x46853d(0x1a0)][_0x46853d(0x178)](_0x46853d(0x169))&&Object[_0x46853d(0x1aa)](_0x162dbd)[_0x46853d(0x163)](([_0x463eea,_0x1d772a])=>{const _0x6918bd=_0x46853d;_0x530aa3[_0x6918bd(0x175)][_0x6918bd(0x178)](_0x6918bd(0x18c))[_0x6918bd(0x18a)]({'name':_0x463eea,'observable':()=>_0x526f52,'buttonViewCreator':()=>this[_0x6918bd(0x19d)](_0x1d772a),'formViewCreator':()=>this[_0x6918bd(0x1a8)](_0x1d772a),'menuBarButtonViewCreator':()=>this[_0x6918bd(0x176)](_0x1d772a),'override':_0x6918bd(0x17b)!==_0x463eea});});}[_0x5e788b(0x170)](){const _0x15327c=_0x5e788b;super[_0x15327c(0x170)](),this[_0x15327c(0x15c)]&&clearInterval(this[_0x15327c(0x15c)]);}[_0x5e788b(0x177)](_0x1b6e60){const _0x40522c=_0x5e788b,{locale:_0x1e6fdd}=this[_0x40522c(0x16e)];return _0x1b6e60[_0x40522c(0x16f)](_0x2e7ddb=>{const _0x5f430c=_0x40522c,_0x4ef898=_0x44ca39(_0x1e6fdd,_0x2e7ddb,_0x5f430c(0x1a4));switch(_0x2e7ddb){case _0x401319[_0x5f430c(0x16d)]:return{'icon':_0x3b6d26,'type':_0x401319[_0x5f430c(0x16d)],..._0x4ef898};case _0x401319[_0x5f430c(0x192)]:return{'icon':_0x2262f7,'type':_0x401319[_0x5f430c(0x192)],..._0x4ef898};case _0x401319[_0x5f430c(0x180)]:return{'icon':_0x43bc65,'type':_0x401319[_0x5f430c(0x180)],..._0x4ef898};case _0x401319[_0x5f430c(0x1a2)]:return{'icon':_0x46991b,'type':_0x401319[_0x5f430c(0x1a2)],..._0x4ef898};case _0x401319[_0x5f430c(0x16b)]:return{'icon':_0x592291,'type':_0x401319[_0x5f430c(0x16b)],..._0x4ef898};case _0x401319[_0x5f430c(0x15f)]:return{'icon':_0x37332c,'type':_0x401319[_0x5f430c(0x15f)],..._0x4ef898};case _0x401319[_0x5f430c(0x19e)]:return{'icon':_0x551282,'type':_0x401319[_0x5f430c(0x19e)],..._0x4ef898};case _0x401319[_0x5f430c(0x1ad)]:return{'icon':_0x493d74,'type':_0x401319[_0x5f430c(0x1ad)],..._0x4ef898};}});}[_0x5e788b(0x162)](_0x1ab864){const _0x34b572=_0x5e788b;switch(_0x1ab864){case _0x401319[_0x34b572(0x16d)]:return _0x34b572(0x1a1);case _0x401319[_0x34b572(0x192)]:return _0x34b572(0x1a3);default:return _0x34b572(0x17b);}}[_0x5e788b(0x17d)](_0x568fdd,_0x73ba0e){const _0x1632c9=_0x5e788b,_0x4f2edc=this[_0x1632c9(0x16e)],_0x4eaac5=new _0x568fdd(_0x4f2edc[_0x1632c9(0x19a)]),_0x23f8a3=_0x4f2edc[_0x1632c9(0x1a0)][_0x1632c9(0x178)](_0x1632c9(0x169));return _0x4eaac5[_0x1632c9(0x199)](_0x1632c9(0x193))['to'](_0x23f8a3),_0x4eaac5['on'](_0x1632c9(0x168),()=>{const _0x94029a=_0x1632c9;_0x23f8a3[_0x94029a(0x168)](_0x73ba0e);}),_0x4eaac5;}[_0x5e788b(0x19d)](_0x1417cb){const _0x4c96f6=_0x5e788b,{locale:_0x5c41e8}=this[_0x4c96f6(0x16e)],_0x4f5d6e=this[_0x4c96f6(0x16e)][_0x4c96f6(0x175)][_0x4c96f6(0x178)](_0x4c96f6(0x18c)),_0x40d9d6=_0x1417cb[0x0],_0x403117=this[_0x4c96f6(0x17d)](_0x1766fe,_0x40d9d6[_0x4c96f6(0x1af)]);return _0x403117[_0x4c96f6(0x17f)]=_0x40d9d6[_0x4c96f6(0x17f)],_0x403117[_0x4c96f6(0x199)](_0x4c96f6(0x185))['to'](_0x4f5d6e,_0x4c96f6(0x173),_0x4d7291=>_0x44ca39(_0x5c41e8,_0x40d9d6[_0x4c96f6(0x1af)],_0x4d7291?_0x4c96f6(0x1ac):_0x4c96f6(0x1a4))[_0x4c96f6(0x182)]),_0x403117[_0x4c96f6(0x184)]=!0x0,_0x403117;}[_0x5e788b(0x1a8)](_0x4d2ea4){const _0x116c07=_0x5e788b,{locale:_0x467db7}=this[_0x116c07(0x16e)],_0x575cb3=this[_0x116c07(0x16e)][_0x116c07(0x175)][_0x116c07(0x178)](_0x116c07(0x18c));return _0x4d2ea4[_0x116c07(0x16f)](_0x466970=>{const _0x3ad910=_0x116c07,_0x3bbfcc=this[_0x3ad910(0x17d)](_0x1766fe,_0x466970[_0x3ad910(0x1af)]);return _0x3bbfcc[_0x3ad910(0x181)]=!0x0,_0x3bbfcc[_0x3ad910(0x17f)]=_0x466970[_0x3ad910(0x17f)],_0x3bbfcc[_0x3ad910(0x199)](_0x3ad910(0x185))['to'](_0x575cb3,_0x3ad910(0x173),_0x4c6f1e=>_0x44ca39(_0x467db7,_0x466970[_0x3ad910(0x1af)],_0x4c6f1e?_0x3ad910(0x1ac):_0x3ad910(0x1a4))[_0x3ad910(0x182)]),_0x3bbfcc;});}[_0x5e788b(0x176)](_0x5c4cd2){const _0x660af7=_0x5e788b;return _0x5c4cd2[_0x660af7(0x16f)](_0x13ebc8=>{const _0x128013=_0x660af7,_0x4c91f3=this[_0x128013(0x17d)](_0x8b8f02,_0x13ebc8[_0x128013(0x1af)]);return _0x4c91f3[_0x128013(0x17f)]=_0x13ebc8[_0x128013(0x17f)],_0x4c91f3[_0x128013(0x185)]=_0x13ebc8[_0x128013(0x1a6)],_0x4c91f3;});}}