@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250217.0 → 0.0.0-nightly-next-20250218.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 _0x4fc2(_0x4f4089,_0x14605c){var _0x4299d7=_0x4299();return _0x4fc2=function(_0x4fc2af,_0x1da782){_0x4fc2af=_0x4fc2af-0xf2;var _0x276791=_0x4299d7[_0x4fc2af];return _0x276791;},_0x4fc2(_0x4f4089,_0x14605c);}(function(_0x1a9ae2,_0x4a631a){var _0x4d2f70=_0x4fc2,_0xf850e4=_0x1a9ae2();while(!![]){try{var _0x18fedc=parseInt(_0x4d2f70(0x106))/0x1*(parseInt(_0x4d2f70(0x103))/0x2)+parseInt(_0x4d2f70(0xfe))/0x3*(-parseInt(_0x4d2f70(0xf9))/0x4)+-parseInt(_0x4d2f70(0x108))/0x5+parseInt(_0x4d2f70(0xf7))/0x6*(-parseInt(_0x4d2f70(0xf2))/0x7)+parseInt(_0x4d2f70(0xf8))/0x8+-parseInt(_0x4d2f70(0xf6))/0x9*(parseInt(_0x4d2f70(0xf3))/0xa)+parseInt(_0x4d2f70(0x104))/0xb;if(_0x18fedc===_0x4a631a)break;else _0xf850e4['push'](_0xf850e4['shift']());}catch(_0x492455){_0xf850e4['push'](_0xf850e4['shift']());}}}(_0x4299,0x534d9));export var UploadcareSource;function _0x4299(){var _0x4360be=['dropbox','gdrive','Local','25666ADXlac','11899305TWRxLM','GPhotos','10eDEcHh','facebook','1091730UPDNHb','URL','onedrive','1253KQvzXV','190RhKDOB','Facebook','local','47313DaRxpu','22782sASXwh','4077232WNLbQn','4pxQyJS','gphotos','OneDrive','url','GDrive','1141914tNbpVE','Dropbox'];_0x4299=function(){return _0x4360be;};return _0x4299();}!function(_0x4d7187){var _0x705219=_0x4fc2;_0x4d7187[_0x705219(0x102)]=_0x705219(0xf5),_0x4d7187[_0x705219(0x109)]=_0x705219(0xfc),_0x4d7187[_0x705219(0xff)]=_0x705219(0x100),_0x4d7187[_0x705219(0xfd)]=_0x705219(0x101),_0x4d7187[_0x705219(0xf4)]=_0x705219(0x107),_0x4d7187[_0x705219(0x105)]=_0x705219(0xfa),_0x4d7187[_0x705219(0xfb)]=_0x705219(0x10a);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x50cb(_0x81720f,_0x1a862d){var _0x1b677c=_0x1b67();return _0x50cb=function(_0x50cb79,_0x2dec76){_0x50cb79=_0x50cb79-0xb2;var _0x2cec6b=_0x1b677c[_0x50cb79];return _0x2cec6b;},_0x50cb(_0x81720f,_0x1a862d);}(function(_0x3c94fe,_0x83e7b4){var _0x46a013=_0x50cb,_0x4b33f8=_0x3c94fe();while(!![]){try{var _0x2b04bc=parseInt(_0x46a013(0xba))/0x1*(-parseInt(_0x46a013(0xc4))/0x2)+-parseInt(_0x46a013(0xbe))/0x3+parseInt(_0x46a013(0xbb))/0x4+-parseInt(_0x46a013(0xb3))/0x5+-parseInt(_0x46a013(0xb4))/0x6+parseInt(_0x46a013(0xbf))/0x7+-parseInt(_0x46a013(0xca))/0x8*(-parseInt(_0x46a013(0xb6))/0x9);if(_0x2b04bc===_0x83e7b4)break;else _0x4b33f8['push'](_0x4b33f8['shift']());}catch(_0x11fca0){_0x4b33f8['push'](_0x4b33f8['shift']());}}}(_0x1b67,0x19c0c));export var UploadcareSource;!function(_0x1cd89c){var _0xa6749c=_0x50cb;_0x1cd89c[_0xa6749c(0xc6)]=_0xa6749c(0xc5),_0x1cd89c[_0xa6749c(0xb2)]=_0xa6749c(0xc3),_0x1cd89c[_0xa6749c(0xc8)]=_0xa6749c(0xbc),_0x1cd89c[_0xa6749c(0xc7)]=_0xa6749c(0xb9),_0x1cd89c[_0xa6749c(0xc2)]=_0xa6749c(0xb5),_0x1cd89c[_0xa6749c(0xb7)]=_0xa6749c(0xb8),_0x1cd89c[_0xa6749c(0xc0)]=_0xa6749c(0xc9),_0x1cd89c[_0xa6749c(0xbd)]=_0xa6749c(0xc1);}(UploadcareSource||(UploadcareSource={}));function _0x1b67(){var _0x37b0d1=['10xjIfiu','local','Local','GDrive','Dropbox','instagram','224tSaOIf','URL','764385NkXEbW','251694ASFDiu','facebook','150543MvmyHe','GPhotos','gphotos','gdrive','3989jXowmZ','75832flozIF','dropbox','OneDrive','555324FUPEwQ','126343udghYb','Instagram','onedrive','Facebook','url'];_0x1b67=function(){return _0x37b0d1;};return _0x1b67();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a7e7f=_0x4d88;(function(_0x5e71ba,_0x2d4d38){const _0x340b22=_0x4d88,_0x45fb46=_0x5e71ba();while(!![]){try{const _0x1d649a=-parseInt(_0x340b22(0x1f7))/0x1+-parseInt(_0x340b22(0x1f0))/0x2*(-parseInt(_0x340b22(0x1fb))/0x3)+-parseInt(_0x340b22(0x232))/0x4*(parseInt(_0x340b22(0x1fc))/0x5)+parseInt(_0x340b22(0x21f))/0x6+-parseInt(_0x340b22(0x21e))/0x7*(parseInt(_0x340b22(0x239))/0x8)+-parseInt(_0x340b22(0x207))/0x9+parseInt(_0x340b22(0x22e))/0xa;if(_0x1d649a===_0x2d4d38)break;else _0x45fb46['push'](_0x45fb46['shift']());}catch(_0x4eab9a){_0x45fb46['push'](_0x45fb46['shift']());}}}(_0x54d3,0xdb2ae));import{Plugin as _0x234db6}from'ckeditor5/src/core.js';import{Dialog as _0x567cd6}from'ckeditor5/src/ui.js';import{createElement as _0xf78698,global as _0x176a6f,uid as _0x3500ed}from'ckeditor5/src/utils.js';function _0x54d3(){const _0x2d329e=['view','afterInit','href','uc-config','once','cleanupImage','pluginName','extend','commands','editing','insertImage','uploadcare.uploader','imageBlock','uploadcare.pubkey','schema','editor','ctxElement','get','map','attributeToAttribute','true','7TxXMnx','2761476cokuHU','getSelectedElement','uploadcare','configElement','conversion','_initSchema','downcast','getAttribute','_ctxElement','_configElement','isOfficialPlugin','appendChild','elementToAttribute','document','fromCharCode','24925990qfxpQk','imageInline','_initCtx','uploader','4lLmxQF','init','execute','add','requires','\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','data-uc-image-id','1067312FIDBue','_initConversion','model','removeAttribute','_initConfig','body','iconHrefResolver','isPremiumPlugin','uploadcareImageId','remove','destroy','746KvAKAY','config','#uc-icon-arrow-down','listenTo','selection','UploadcareEditing','locale','513655KleHLh','upcast','input[uploadcare-file-input]','for','6573wcDDwa','3976900QXTqBy','contentLanguage','join','uc-upload-ctx-provider','_initImageProcessingIndicator','uploadcareImageReplace','closeMax','PictureEditing','replaceImageSource','querySelector','isRegistered','12869361vzwAEJ','render'];_0x54d3=function(){return _0x2d329e;};return _0x54d3();}function _0x4d88(_0x48eb29,_0x143412){const _0x54d316=_0x54d3();return _0x4d88=function(_0x4d881f,_0x58a40e){_0x4d881f=_0x4d881f-0x1e7;let _0x406cb4=_0x54d316[_0x4d881f];return _0x406cb4;},_0x4d88(_0x48eb29,_0x143412);}import _0x14c894 from'./uploadcarecommand.js';import _0x378666 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2a54d4}from'./utils/editingutils.js';export default class i extends _0x234db6{constructor(){const _0x3082ee=_0x4d88;super(...arguments),this[_0x3082ee(0x228)]=null,this[_0x3082ee(0x227)]=null;}static get[_0x3a7e7f(0x20f)](){const _0x253745=_0x3a7e7f;return _0x253745(0x1f5);}static get[_0x3a7e7f(0x236)](){const _0x40b7e6=_0x3a7e7f;return[_0x40b7e6(0x203),_0x378666,_0x567cd6];}static get[_0x3a7e7f(0x229)](){return!0x0;}static get[_0x3a7e7f(0x1ec)](){return!0x0;}get[_0x3a7e7f(0x222)](){const _0x65c1fd=_0x3a7e7f;return this[_0x65c1fd(0x228)];}get[_0x3a7e7f(0x219)](){const _0x306bf3=_0x3a7e7f;return this[_0x306bf3(0x227)];}[_0x3a7e7f(0x233)](){const _0x54dd83=_0x3a7e7f,_0x18b0c6=this[_0x54dd83(0x218)];_0x18b0c6[_0x54dd83(0x211)][_0x54dd83(0x235)](_0x54dd83(0x221),new _0x14c894(_0x18b0c6));}[_0x3a7e7f(0x20a)](){const _0xbffed2=_0x3a7e7f;this[_0xbffed2(0x224)](),this[_0xbffed2(0x23a)](),this[_0xbffed2(0x1e9)](),this[_0xbffed2(0x230)](),this[_0xbffed2(0x200)](),this[_0xbffed2(0x1f3)](this[_0xbffed2(0x218)],_0xbffed2(0x1ef),()=>{const _0x37a913=_0xbffed2;this[_0x37a913(0x228)]&&(this[_0x37a913(0x228)][_0x37a913(0x1ee)](),this[_0x37a913(0x228)]=null),this[_0x37a913(0x227)]&&(this[_0x37a913(0x227)][_0x37a913(0x1ee)](),this[_0x37a913(0x227)]=null);const _0x2d71fd=_0x176a6f[_0x37a913(0x22c)][_0x37a913(0x205)](_0x37a913(0x1f9));_0x2d71fd&&_0x2d71fd[_0x37a913(0x1ee)]();}),async function(_0x97a0e7){const _0x2d97b1=_0x2fa505([0x6d,0x47,0x51,0x71,0x4e,0x62,0x53,0x6a,0x6e,0x69,0x31,0x54,0x68,0x59,0x67,0x70,0x33,0x41,0x4b,0x72,0x64,0x4d,0x36,0x55,0x46,0x58,0x4f,0x6b,0x35,0x38,0x42,0x6c,0x7a,0x52,0x34,0x79,0x43,0x65,0x4a,0x37,0x49,0x73,0x50,0x66,0x74,0x77,0x76,0x56,0x75,0x30,0x39,0x61,0x5a,0x44,0x78,0x57,0x48,0x32,0x4c,0x45,0x63,0x6f]),_0x2dd74b=0x4b44fa4d,_0x4e5185=0x4b43a58d^_0x2dd74b,_0x5d8668=window[_0x2fa505([0x44,0x61,0x74,0x65])][_0x2fa505([0x6e,0x6f,0x77])](),_0x41044d=_0x97a0e7[_0x2fa505([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31fb2b=new window[(_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a799c=>{_0x41044d[_0x2fa505([0x6f,0x6e,0x63,0x65])](_0x2fa505([0x72,0x65,0x61,0x64,0x79]),_0x5a799c);}),_0x6236f0={[_0x2fa505([0x6b,0x74,0x79])]:_0x2fa505([0x45,0x43]),[_0x2fa505([0x75,0x73,0x65])]:_0x2fa505([0x73,0x69,0x67]),[_0x2fa505([0x63,0x72,0x76])]:_0x2fa505([0x50,0x2d,0x32,0x35,0x36]),[_0x2fa505([0x78])]:_0x2fa505([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]),[_0x2fa505([0x79])]:_0x2fa505([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]),[_0x2fa505([0x61,0x6c,0x67])]:_0x2fa505([0x45,0x53,0x32,0x35,0x36])},_0x1fb8e6=_0x41044d[_0x2fa505([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fa505([0x67,0x65,0x74])](_0x2fa505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ac0c2(){let _0x295e5a,_0x2acd77=null,_0x4f408c=null;try{if(_0x1fb8e6==_0x2fa505([0x47,0x50,0x4c]))return _0x2fa505([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x295e5a=_0x26ccfc(),!_0x295e5a)return _0x2fa505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x295e5a[_0x2fa505([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f408c=_0x2ee0b8(_0x295e5a[_0x2fa505([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x295e5a[_0x2fa505([0x6a,0x74,0x69])])),await _0x1ff88c()?_0x49946e()?_0x32b62e()?_0x2fa505([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd49336()?(_0x295e5a[_0x2fa505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fa505([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2acd77=_0x522a1e(_0x2fa505([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x295e5a[_0x2fa505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fa505([0x74,0x72,0x69,0x61,0x6c])&&(_0x2acd77=_0x522a1e(_0x2fa505([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1fb3c3()):_0x2fa505([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fa505([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fa505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x563054){return _0x2fa505([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32b62e(){const _0x581011=[_0x2fa505([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fa505([0x74,0x72,0x69,0x61,0x6c])][_0x2fa505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x295e5a[_0x2fa505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d8668/0x3e8:0xe10*_0x4e5185;return _0x295e5a[_0x2fa505([0x65,0x78,0x70])]<_0x581011;}function _0x49946e(){const _0x3caac1=_0x295e5a[_0x2fa505([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3caac1&&(!!_0x3caac1[_0x2fa505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa505([0x2a]))||!!_0x3caac1[_0x2fa505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa505([0x55,0x50,0x4c,0x43])));}function _0xd49336(){const _0x5cc336=_0x4d88,_0x2acf9d=_0x295e5a[_0x2fa505([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2acf9d||0x0==_0x2acf9d[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cb3eb}=new URL(window[_0x2fa505([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5cc336(0x20b)]);if(_0x2acf9d[_0x2fa505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb3eb))return!0x0;const _0x5be953=_0x1cb3eb[_0x2fa505([0x73,0x70,0x6c,0x69,0x74])](_0x2fa505([0x2e]));return _0x2acf9d[_0x2fa505([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1436d7=>_0x1436d7[_0x2fa505([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa505([0x2a])))[_0x2fa505([0x6d,0x61,0x70])](_0x1e8cf3=>_0x1e8cf3[_0x2fa505([0x73,0x70,0x6c,0x69,0x74])](_0x2fa505([0x2e])))[_0x2fa505([0x73,0x6f,0x6d,0x65])](_0x5b824a=>_0x5be953[_0x2fa505([0x65,0x76,0x65,0x72,0x79])]((_0x24bd2d,_0x34c4ac)=>_0x5b824a[_0x34c4ac]===_0x24bd2d||_0x5b824a[_0x34c4ac]===_0x2fa505([0x2a])));}function _0x1fb3c3(){return _0x2acd77&&_0x4f408c?new window[(_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f3bcf,_0x2f9e98)=>{_0x2acd77[_0x2fa505([0x74,0x68,0x65,0x6e])](_0x4f3bcf,_0x2f9e98),_0x4f408c[_0x2fa505([0x74,0x68,0x65,0x6e])](_0xce0784=>{_0xce0784!=_0x2fa505([0x56,0x61,0x6c,0x69,0x64])&&_0x4f3bcf(_0xce0784);},_0x2f9e98);}):_0x2acd77||_0x4f408c||_0x2fa505([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ee0b8(_0x2287d3,_0xa76098){return new window[(_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a7c02=>{if(_0x5e1729())return _0x2a7c02(_0x2fa505([0x56,0x61,0x6c,0x69,0x64]));_0x5a150c(),_0x41044d[_0x2fa505([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fa505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31634e=!0x1;const _0x312aca=_0x3500ed();function _0x5a2854(_0x3bc191){return!!_0x3bc191&&(typeof _0x3bc191===_0x2fa505([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bc191===_0x2fa505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bc191[_0x2fa505([0x74,0x68,0x65,0x6e])]===_0x2fa505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bc191[_0x2fa505([0x63,0x61,0x74,0x63,0x68])]===_0x2fa505([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1636b9(_0x4e8eba){_0x288e7f(_0x4e8eba)[_0x2fa505([0x74,0x68,0x65,0x6e])](_0x288041=>{if(!_0x288041||_0x288041[_0x2fa505([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fa505([0x6f,0x6b]))return _0x2fa505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbb4e8(_0x1a4ec8(_0x312aca+_0xa76098))!=_0x288041[_0x2fa505([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fa505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fa505([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fa505([0x74,0x68,0x65,0x6e])](_0x4a9d09=>(_0x9c770b(),_0x4a9d09),()=>{const _0x7b1374=_0x4d8634();return null==_0x7b1374?(_0x9c770b(),_0x2fa505([0x56,0x61,0x6c,0x69,0x64])):_0x2fa505(_0x5d8668-_0x7b1374>(0x6f487e4d^_0x2dd74b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fa505([0x74,0x68,0x65,0x6e])](_0x2a7c02)[_0x2fa505([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a7c02(_0x2fa505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d78bf=0x4b7214cd^_0x2dd74b;function _0x9c770b(){const _0x9dbfae=_0x2fa505([0x6c,0x6c,0x63,0x74,0x2d])+_0xbb4e8(_0x1a4ec8(_0x2287d3)),_0x4a449e=_0x13abac(_0xbb4e8(window[_0x2fa505([0x4d,0x61,0x74,0x68])][_0x2fa505([0x63,0x65,0x69,0x6c])](_0x5d8668/_0x3d78bf)));window[_0x2fa505([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fa505([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9dbfae,_0x4a449e);}function _0x4d8634(){const _0x6ac67=_0x2fa505([0x6c,0x6c,0x63,0x74,0x2d])+_0xbb4e8(_0x1a4ec8(_0x2287d3)),_0x589e26=window[_0x2fa505([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fa505([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6ac67);return _0x589e26?window[_0x2fa505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13abac(_0x589e26),0x10)*_0x3d78bf:null;}function _0x288e7f(_0x146dd9){return new window[(_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cd19e,_0x1a6210)=>{_0x146dd9[_0x2fa505([0x74,0x68,0x65,0x6e])](_0x4cd19e,_0x1a6210),window[_0x2fa505([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a6210,0x4b452e8d^_0x2dd74b);});}}_0x41044d[_0x2fa505([0x6f,0x6e])](_0x2fa505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x172e60,_0x38030d)=>{if(_0x38030d[0x0]!=_0x2287d3)return _0x2a7c02(_0x2fa505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38030d[0x1]={..._0x38030d[0x1],[_0x2fa505([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x312aca};},{[_0x2fa505([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fa505([0x68,0x69,0x67,0x68])}),_0x41044d[_0x2fa505([0x6f,0x6e])](_0x2fa505([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa25e92=>{_0x5a2854(_0xa25e92[_0x2fa505([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31634e=!0x0,_0x1636b9(_0xa25e92[_0x2fa505([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fa505([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fa505([0x6c,0x6f,0x77])}),_0x31fb2b[_0x2fa505([0x74,0x68,0x65,0x6e])](()=>{_0x31634e||_0x2a7c02(_0x2fa505([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e1729(){return _0x41044d[_0x2fa505([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fa505([0x76,0x69,0x65,0x77])][_0x2fa505([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fa505([0x61,0x75,0x74,0x6f]);}function _0x5a150c(){_0x41044d[_0x2fa505([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fa505([0x76,0x69,0x65,0x77])][_0x2fa505([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fa505([0x61,0x75,0x74,0x6f]);}}function _0x522a1e(_0x451de5){const _0xdb2b=[new window[(_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20469f=>setTimeout(_0x20469f,0x4b4dc481^_0x2dd74b)),_0x31fb2b[_0x2fa505([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x252857=>{let _0x38ba5d=0x0;_0x41044d[_0x2fa505([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa505([0x6f,0x6e])](_0x2fa505([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34896b,_0x3947df)=>{_0x3947df[0x0][_0x2fa505([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38ba5d++,_0x38ba5d==(0x4b44fbb5^_0x2dd74b)&&(_0x252857(),_0x34896b[_0x2fa505([0x6f,0x66,0x66])]());});}))];return window[_0x2fa505([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fa505([0x72,0x61,0x63,0x65])](_0xdb2b)[_0x2fa505([0x74,0x68,0x65,0x6e])](()=>_0x451de5);}async function _0x451805(){await _0x31fb2b,_0x41044d[_0x2fa505([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa505([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x573c39,_0x41044d[_0x2fa505([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa505([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x573c39,_0x41044d[_0x2fa505([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fa505([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30d156(_0x35833d){const _0x2cb5a4=_0x5e2188();_0x41044d[_0x2cb5a4]=_0x2fa505([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35833d,_0x35833d!=_0x2fa505([0x56,0x61,0x6c,0x69,0x64])&&_0x451805();}function _0x5e2188(){const _0x5b1ced=window[_0x2fa505([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fa505([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fa505([0x6e,0x6f,0x77])]())[_0x2fa505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fa505([0x2e]),'');let _0x297f68=_0x2fa505([0x6d]);for(let _0x467f9c=0x0;_0x467f9c<_0x5b1ced[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x467f9c+=0x2){let _0x315986=window[_0x2fa505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b1ced[_0x2fa505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x467f9c,_0x467f9c+0x2));_0x315986>=_0x2d97b1[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x315986-=_0x2d97b1[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x297f68+=_0x2d97b1[_0x315986];}return _0x297f68;}function _0x26ccfc(){const _0x4665a6=_0x1fb8e6[_0x2fa505([0x73,0x70,0x6c,0x69,0x74])](_0x2fa505([0x2e]));if(0x3!=_0x4665a6[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x504ea7(_0x4665a6[0x1]);function _0x504ea7(_0x2c29b5){const _0xc036e1=_0x192fb9(_0x2c29b5);return _0xc036e1&&_0x19d833()?_0xc036e1:null;function _0x19d833(){const _0x304110=_0xc036e1[_0x2fa505([0x6a,0x74,0x69])],_0x316eab=window[_0x2fa505([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x304110[_0x2fa505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x304110[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cfd76={..._0xc036e1,[_0x2fa505([0x6a,0x74,0x69])]:_0x304110[_0x2fa505([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x304110[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cfd76[_0x2fa505([0x76,0x63])],_0x1a4ec8(_0x1cfd76)==_0x316eab;}}}async function _0x1ff88c(){let _0x3f5b9c=!0x0;try{const _0x5cdb42=_0x1fb8e6[_0x2fa505([0x73,0x70,0x6c,0x69,0x74])](_0x2fa505([0x2e])),[_0x12ee03,_0x1130b5,_0x40b596]=_0x5cdb42;return _0x23dd30(_0x12ee03),await _0x5cae0d(_0x12ee03,_0x1130b5,_0x40b596),_0x3f5b9c;}catch(_0x4e6e15){return!0x1;}function _0x23dd30(_0x32d37){const _0x43b84e=_0x192fb9(_0x32d37);_0x43b84e&&_0x43b84e[_0x2fa505([0x61,0x6c,0x67])]==_0x2fa505([0x45,0x53,0x32,0x35,0x36])||(_0x3f5b9c=!0x1);}async function _0x5cae0d(_0x362095,_0x41ec05,_0x112fbb){const _0x4155ba=window[_0x2fa505([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fa505([0x66,0x72,0x6f,0x6d])](_0x48aaf9(_0x112fbb),_0x1ea3c5=>_0x1ea3c5[_0x2fa505([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17d7e5=new window[(_0x2fa505([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fa505([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x362095+_0x2fa505([0x2e])+_0x41ec05),_0xc02760=window[_0x2fa505([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fa505([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc02760)return;const _0x4b261c=await _0xc02760[_0x2fa505([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fa505([0x6a,0x77,0x6b]),_0x6236f0,{[_0x2fa505([0x6e,0x61,0x6d,0x65])]:_0x2fa505([0x45,0x43,0x44,0x53,0x41]),[_0x2fa505([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fa505([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fa505([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc02760[_0x2fa505([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fa505([0x6e,0x61,0x6d,0x65])]:_0x2fa505([0x45,0x43,0x44,0x53,0x41]),[_0x2fa505([0x68,0x61,0x73,0x68])]:{[_0x2fa505([0x6e,0x61,0x6d,0x65])]:_0x2fa505([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b261c,_0x4155ba,_0x17d7e5)||(_0x3f5b9c=!0x1);}}function _0x192fb9(_0x3be760){return _0x3be760[_0x2fa505([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fa505([0x65,0x79]))?JSON[_0x2fa505([0x70,0x61,0x72,0x73,0x65])](_0x48aaf9(_0x3be760)):null;}function _0x48aaf9(_0x882fc1){return window[_0x2fa505([0x61,0x74,0x6f,0x62])](_0x882fc1[_0x2fa505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fa505([0x2b]))[_0x2fa505([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fa505([0x2f])));}function _0x1a4ec8(_0x1af294){let _0x11486a=0x1505;function _0x2f8a81(_0x3982df){for(let _0x1b71d4=0x0;_0x1b71d4<_0x3982df[_0x2fa505([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b71d4++){const _0x3efd40=_0x3982df[_0x2fa505([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b71d4);_0x11486a=(_0x11486a<<0x5)+_0x11486a+_0x3efd40,_0x11486a&=_0x11486a;}}function _0x303284(_0x4d71ce){Array[_0x2fa505([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d71ce)?_0x4d71ce[_0x2fa505([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x303284):_0x4d71ce&&typeof _0x4d71ce==_0x2fa505([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fa505([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d71ce)[_0x2fa505([0x73,0x6f,0x72,0x74])]()[_0x2fa505([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a3b7d,_0x4df02e])=>{_0x2f8a81(_0x2a3b7d),_0x303284(_0x4df02e);}):_0x2f8a81(window[_0x2fa505([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d71ce));}return _0x303284(_0x1af294),_0x11486a>>>0x0;}function _0xbb4e8(_0x11f7ed){return _0x11f7ed[_0x2fa505([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fa505([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fa505([0x30]));}function _0x13abac(_0x52d131){return _0x52d131[_0x2fa505([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fa505([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fa505([0x6a,0x6f,0x69,0x6e])]('');}function _0x573c39(){}function _0x2fa505(_0x5722c9){const _0x208066=_0x4d88;return _0x5722c9[_0x208066(0x21b)](_0x15f8ac=>String[_0x208066(0x22d)](_0x15f8ac))[_0x208066(0x1fe)]('');}_0x30d156(await _0x5ac0c2());}(this);}[_0x3a7e7f(0x224)](){const _0xe1522f=_0x3a7e7f,_0x26cf50=this[_0xe1522f(0x218)][_0xe1522f(0x1e7)][_0xe1522f(0x217)];_0x26cf50[_0xe1522f(0x206)](_0xe1522f(0x215))&&_0x26cf50[_0xe1522f(0x210)](_0xe1522f(0x215),{'allowAttributes':[_0xe1522f(0x1ed)]}),_0x26cf50[_0xe1522f(0x206)](_0xe1522f(0x22f))&&_0x26cf50[_0xe1522f(0x210)](_0xe1522f(0x22f),{'allowAttributes':[_0xe1522f(0x1ed)]});}[_0x3a7e7f(0x23a)](){const _0x44926a=_0x3a7e7f,_0x1be62c=this[_0x44926a(0x218)];_0x1be62c[_0x44926a(0x223)][_0x44926a(0x1fa)](_0x44926a(0x225))[_0x44926a(0x21c)]({'model':_0x44926a(0x1ed),'view':_0x44926a(0x238)}),_0x1be62c[_0x44926a(0x223)][_0x44926a(0x1fa)](_0x44926a(0x1f8))[_0x44926a(0x22b)]({'model':{'key':_0x44926a(0x1ed),'value':_0x6b8583=>_0x6b8583[_0x44926a(0x226)](_0x44926a(0x238))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4e33ba=_0x1be62c[_0x44926a(0x211)][_0x44926a(0x21a)](_0x44926a(0x204));_0x4e33ba&&this[_0x44926a(0x1f3)](_0x4e33ba,_0x44926a(0x20e),(_0x1a5322,[_0xb104e,_0x22c00e])=>{const _0x197490=_0x44926a;_0xb104e[_0x197490(0x1e8)](_0x197490(0x1ed),_0x22c00e);});}[_0x3a7e7f(0x1e9)](){const _0x34399f=_0x3a7e7f,_0x2a24fc=this[_0x34399f(0x218)][_0x34399f(0x1f1)][_0x34399f(0x21a)](_0x34399f(0x214))||{},_0x4ed3fc=this[_0x34399f(0x218)][_0x34399f(0x1f1)][_0x34399f(0x21a)](_0x34399f(0x216))||'';this[_0x34399f(0x228)]=_0xf78698(_0x176a6f[_0x34399f(0x22c)],_0x34399f(0x20c),{..._0x2a24fc,'pubkey':_0x4ed3fc,'ctx-name':_0x34399f(0x231),'sourceList':'','imgOnly':_0x34399f(0x21d),'removeCopyright':_0x34399f(0x21d),'localeName':this[_0x34399f(0x218)][_0x34399f(0x1f6)][_0x34399f(0x1fd)],'externalSourcesEmbedCss':_0x34399f(0x237)}),this[_0x34399f(0x228)][_0x34399f(0x1eb)]=_0x3c01d7=>{const _0x514893=_0x34399f;if(_0x514893(0x202)==_0x3c01d7)return _0x514893(0x1f2);},_0x176a6f[_0x34399f(0x22c)][_0x34399f(0x1ea)][_0x34399f(0x22a)](this[_0x34399f(0x228)]);}[_0x3a7e7f(0x230)](){const _0x414d66=_0x3a7e7f;this[_0x414d66(0x227)]=_0xf78698(_0x176a6f[_0x414d66(0x22c)],_0x414d66(0x1ff),{'ctx-name':_0x414d66(0x231)}),_0x176a6f[_0x414d66(0x22c)][_0x414d66(0x1ea)][_0x414d66(0x22a)](this[_0x414d66(0x227)]);}[_0x3a7e7f(0x200)](){const _0x7e1245=_0x3a7e7f,_0x3624b5=this[_0x7e1245(0x218)][_0x7e1245(0x211)][_0x7e1245(0x21a)](_0x7e1245(0x213));_0x3624b5&&this[_0x7e1245(0x1f3)](_0x3624b5,_0x7e1245(0x234),()=>{const _0x548fba=_0x7e1245,_0x25b7e6=this[_0x548fba(0x218)][_0x548fba(0x1e7)][_0x548fba(0x22c)][_0x548fba(0x1f4)][_0x548fba(0x220)]();_0x25b7e6&&_0x25b7e6[_0x548fba(0x226)](_0x548fba(0x1ed))&&this[_0x548fba(0x218)][_0x548fba(0x212)][_0x548fba(0x209)][_0x548fba(0x20d)](_0x548fba(0x208),()=>{const _0x21e1b9=_0x548fba;_0x2a54d4(this[_0x21e1b9(0x218)],_0x25b7e6);});});const _0x320fbf=this[_0x7e1245(0x218)][_0x7e1245(0x211)][_0x7e1245(0x21a)](_0x7e1245(0x201));_0x320fbf&&this[_0x7e1245(0x1f3)](_0x320fbf,_0x7e1245(0x234),()=>{const _0x1db98e=_0x7e1245,_0x1d3d86=this[_0x1db98e(0x218)][_0x1db98e(0x1e7)][_0x1db98e(0x22c)][_0x1db98e(0x1f4)][_0x1db98e(0x220)]();_0x1d3d86&&_0x1d3d86[_0x1db98e(0x226)](_0x1db98e(0x1ed))&&this[_0x1db98e(0x218)][_0x1db98e(0x212)][_0x1db98e(0x209)][_0x1db98e(0x20d)](_0x1db98e(0x208),()=>{const _0x3ff6c6=_0x1db98e;_0x2a54d4(this[_0x3ff6c6(0x218)],_0x1d3d86);});});}}
23
+ const _0x8c8228=_0x54f0;(function(_0x5663fe,_0x3ab358){const _0x296059=_0x54f0,_0x6de61b=_0x5663fe();while(!![]){try{const _0x1f2cd4=-parseInt(_0x296059(0xd4))/0x1+-parseInt(_0x296059(0xab))/0x2*(parseInt(_0x296059(0xa3))/0x3)+-parseInt(_0x296059(0xc3))/0x4*(-parseInt(_0x296059(0xeb))/0x5)+parseInt(_0x296059(0xe3))/0x6*(parseInt(_0x296059(0xc9))/0x7)+-parseInt(_0x296059(0xdd))/0x8*(-parseInt(_0x296059(0xb5))/0x9)+-parseInt(_0x296059(0x98))/0xa+parseInt(_0x296059(0xaa))/0xb*(parseInt(_0x296059(0xa6))/0xc);if(_0x1f2cd4===_0x3ab358)break;else _0x6de61b['push'](_0x6de61b['shift']());}catch(_0x2f710b){_0x6de61b['push'](_0x6de61b['shift']());}}}(_0x1009,0xc9f41));import{Plugin as _0x59b1fb}from'ckeditor5/src/core.js';function _0x1009(){const _0x42d697=['map','render','_initImageProcessingIndicator','\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','uploadcareImageId','document','afterInit','querySelector','12055734ywpdSa','uc-upload-ctx-provider','contentLanguage','replaceImageSource','#uc-icon-arrow-down','uc-config','appendChild','_ctxElement','data-uc-image-id','downcast','editor','once','commands','schema','492UeJqhL','editing','input[uploadcare-file-input]','requires','isPremiumPlugin','getAttribute','40516gexqJW','closeMax','getSelectedElement','_configElement','elementToAttribute','uploadcareImageReplace','isRegistered','pluginName','remove','insertImage','_initSchema','1551137RZIRIe','join','init','href','attributeToAttribute','execute','body','uploadcare','_initCtx','8FFGjpU','PictureEditing','upcast','locale','true','conversion','828jmTBmv','UploadcareEditing','selection','ctxElement','_initConversion','view','imageInline','listenTo','6430WDvzaE','add','uploadcare.pubkey','2873960UVutlC','iconHrefResolver','configElement','extend','uploadcare.uploader','uploader','cleanupImage','fromCharCode','removeAttribute','isOfficialPlugin','model','23319INNAnA','for','config','420myCuAh','destroy','imageBlock','get','257752BHlSTM','116bCWRbj','_initConfig'];_0x1009=function(){return _0x42d697;};return _0x1009();}import{Dialog as _0x208a63}from'ckeditor5/src/ui.js';import{createElement as _0x5a9a1b,global as _0x165b7c,uid as _0x3bc5b5}from'ckeditor5/src/utils.js';import _0x57d865 from'./uploadcarecommand.js';function _0x54f0(_0x32b06d,_0x2ccc84){const _0x10097f=_0x1009();return _0x54f0=function(_0x54f0a7,_0x408017){_0x54f0a7=_0x54f0a7-0x98;let _0x5c52b5=_0x10097f[_0x54f0a7];return _0x5c52b5;},_0x54f0(_0x32b06d,_0x2ccc84);}import _0x3b43b6 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1f5dbe}from'./utils/editingutils.js';export default class i extends _0x59b1fb{[_0x8c8228(0xcc)]=null;[_0x8c8228(0xbc)]=null;static get[_0x8c8228(0xd0)](){const _0x40b434=_0x8c8228;return _0x40b434(0xe4);}static get[_0x8c8228(0xc6)](){const _0x53fe87=_0x8c8228;return[_0x53fe87(0xde),_0x3b43b6,_0x208a63];}static get[_0x8c8228(0xa1)](){return!0x0;}static get[_0x8c8228(0xc7)](){return!0x0;}get[_0x8c8228(0x9a)](){const _0xdcad42=_0x8c8228;return this[_0xdcad42(0xcc)];}get[_0x8c8228(0xe6)](){const _0x2166de=_0x8c8228;return this[_0x2166de(0xbc)];}[_0x8c8228(0xd6)](){const _0x25c952=_0x8c8228,_0x382849=this[_0x25c952(0xbf)];_0x382849[_0x25c952(0xc1)][_0x25c952(0xec)](_0x25c952(0xdb),new _0x57d865(_0x382849));}[_0x8c8228(0xb3)](){const _0x261fef=_0x8c8228;this[_0x261fef(0xd3)](),this[_0x261fef(0xe7)](),this[_0x261fef(0xac)](),this[_0x261fef(0xdc)](),this[_0x261fef(0xaf)](),this[_0x261fef(0xea)](this[_0x261fef(0xbf)],_0x261fef(0xa7),()=>{const _0x3274bd=_0x261fef;this[_0x3274bd(0xcc)]&&(this[_0x3274bd(0xcc)][_0x3274bd(0xd1)](),this[_0x3274bd(0xcc)]=null),this[_0x3274bd(0xbc)]&&(this[_0x3274bd(0xbc)][_0x3274bd(0xd1)](),this[_0x3274bd(0xbc)]=null);const _0x1d943a=_0x165b7c[_0x3274bd(0xb2)][_0x3274bd(0xb4)](_0x3274bd(0xc5));_0x1d943a&&_0x1d943a[_0x3274bd(0xd1)]();}),async function(_0x4c2369){const _0xd66023=_0x36db0b([0x6e,0x6c,0x59,0x4e,0x76,0x44,0x45,0x46,0x66,0x74,0x51,0x33,0x30,0x62,0x4d,0x34,0x55,0x41,0x53,0x42,0x71,0x38,0x31,0x4f,0x56,0x5a,0x58,0x47,0x4a,0x39,0x77,0x61,0x67,0x50,0x37,0x68,0x6b,0x6a,0x48,0x32,0x52,0x79,0x70,0x72,0x65,0x73,0x36,0x78,0x49,0x4c,0x43,0x75,0x4b,0x7a,0x6d,0x69,0x6f,0x63,0x54,0x35,0x57,0x64]),_0x52ddcf=0x2b1f96f9,_0xb6f791=0x2b18c921^_0x52ddcf,_0xc98d06=window[_0x36db0b([0x44,0x61,0x74,0x65])][_0x36db0b([0x6e,0x6f,0x77])](),_0x4072cd=_0x4c2369[_0x36db0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x53f0e0=new window[(_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ee340=>{_0x4072cd[_0x36db0b([0x6f,0x6e,0x63,0x65])](_0x36db0b([0x72,0x65,0x61,0x64,0x79]),_0x3ee340);}),_0x1671c3={[_0x36db0b([0x6b,0x74,0x79])]:_0x36db0b([0x45,0x43]),[_0x36db0b([0x75,0x73,0x65])]:_0x36db0b([0x73,0x69,0x67]),[_0x36db0b([0x63,0x72,0x76])]:_0x36db0b([0x50,0x2d,0x32,0x35,0x36]),[_0x36db0b([0x78])]:_0x36db0b([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]),[_0x36db0b([0x79])]:_0x36db0b([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]),[_0x36db0b([0x61,0x6c,0x67])]:_0x36db0b([0x45,0x53,0x32,0x35,0x36])},_0x1efb19=_0x4072cd[_0x36db0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36db0b([0x67,0x65,0x74])](_0x36db0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42b9b3(){let _0x371169,_0x408e57=null,_0x2cc02f=null;try{if(_0x1efb19==_0x36db0b([0x47,0x50,0x4c]))return _0x36db0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x371169=_0x57ee0f(),!_0x371169)return _0x36db0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x371169[_0x36db0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cc02f=_0x9bc356(_0x371169[_0x36db0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x371169[_0x36db0b([0x6a,0x74,0x69])])),await _0x3ae6b3()?_0x7520ea()?_0x458a25()?_0x36db0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc07821()?(_0x371169[_0x36db0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36db0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x408e57=_0x1e491a(_0x36db0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x371169[_0x36db0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36db0b([0x74,0x72,0x69,0x61,0x6c])&&(_0x408e57=_0x1e491a(_0x36db0b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e5d8c()):_0x36db0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36db0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36db0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x68ca9){return _0x36db0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x458a25(){const _0x38b2e3=[_0x36db0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36db0b([0x74,0x72,0x69,0x61,0x6c])][_0x36db0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x371169[_0x36db0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc98d06/0x3e8:0xe10*_0xb6f791;return _0x371169[_0x36db0b([0x65,0x78,0x70])]<_0x38b2e3;}function _0x7520ea(){const _0x29b3ae=_0x371169[_0x36db0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29b3ae&&(!!_0x29b3ae[_0x36db0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36db0b([0x2a]))||!!_0x29b3ae[_0x36db0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36db0b([0x55,0x50,0x4c,0x43])));}function _0xc07821(){const _0x1b3185=_0x54f0,_0x12b5d8=_0x371169[_0x36db0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12b5d8||0x0==_0x12b5d8[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2481b8}=new URL(window[_0x36db0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1b3185(0xd7)]);if(_0x12b5d8[_0x36db0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2481b8))return!0x0;const _0x57e0b5=_0x2481b8[_0x36db0b([0x73,0x70,0x6c,0x69,0x74])](_0x36db0b([0x2e]));return _0x12b5d8[_0x36db0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1563a0=>_0x1563a0[_0x36db0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36db0b([0x2a])))[_0x36db0b([0x6d,0x61,0x70])](_0x40b45b=>_0x40b45b[_0x36db0b([0x73,0x70,0x6c,0x69,0x74])](_0x36db0b([0x2e])))[_0x36db0b([0x73,0x6f,0x6d,0x65])](_0x321d10=>_0x57e0b5[_0x36db0b([0x65,0x76,0x65,0x72,0x79])]((_0x30b21f,_0x37afa6)=>_0x321d10[_0x37afa6]===_0x30b21f||_0x321d10[_0x37afa6]===_0x36db0b([0x2a])));}function _0x5e5d8c(){return _0x408e57&&_0x2cc02f?new window[(_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f969c,_0x40b6cc)=>{_0x408e57[_0x36db0b([0x74,0x68,0x65,0x6e])](_0x5f969c,_0x40b6cc),_0x2cc02f[_0x36db0b([0x74,0x68,0x65,0x6e])](_0x483374=>{_0x483374!=_0x36db0b([0x56,0x61,0x6c,0x69,0x64])&&_0x5f969c(_0x483374);},_0x40b6cc);}):_0x408e57||_0x2cc02f||_0x36db0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9bc356(_0x300944,_0x1749ed){return new window[(_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3af8ad=>{if(_0x2ebc52())return _0x3af8ad(_0x36db0b([0x56,0x61,0x6c,0x69,0x64]));_0x4ec0bc(),_0x4072cd[_0x36db0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36db0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b77c0=!0x1;const _0x1c8156=_0x3bc5b5();function _0x4c1df0(_0x1f0a93){return!!_0x1f0a93&&(typeof _0x1f0a93===_0x36db0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f0a93===_0x36db0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f0a93[_0x36db0b([0x74,0x68,0x65,0x6e])]===_0x36db0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f0a93[_0x36db0b([0x63,0x61,0x74,0x63,0x68])]===_0x36db0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2da00e(_0xbf6a5a){_0x363c17(_0xbf6a5a)[_0x36db0b([0x74,0x68,0x65,0x6e])](_0x1de666=>{if(!_0x1de666||_0x1de666[_0x36db0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36db0b([0x6f,0x6b]))return _0x36db0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x507766(_0xfee38f(_0x1c8156+_0x1749ed))!=_0x1de666[_0x36db0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36db0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36db0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x36db0b([0x74,0x68,0x65,0x6e])](_0x1cb358=>(_0x16e1b8(),_0x1cb358),()=>{const _0x36c8f6=_0xb8b275();return null==_0x36c8f6?(_0x16e1b8(),_0x36db0b([0x56,0x61,0x6c,0x69,0x64])):_0x36db0b(_0xc98d06-_0x36c8f6>(0xf1312f9^_0x52ddcf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36db0b([0x74,0x68,0x65,0x6e])](_0x3af8ad)[_0x36db0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3af8ad(_0x36db0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c8c97=0x2b297879^_0x52ddcf;function _0x16e1b8(){const _0x35439f=_0x36db0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x507766(_0xfee38f(_0x300944)),_0x496245=_0x180570(_0x507766(window[_0x36db0b([0x4d,0x61,0x74,0x68])][_0x36db0b([0x63,0x65,0x69,0x6c])](_0xc98d06/_0x1c8c97)));window[_0x36db0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36db0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35439f,_0x496245);}function _0xb8b275(){const _0x6c937b=_0x36db0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x507766(_0xfee38f(_0x300944)),_0x31713c=window[_0x36db0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36db0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6c937b);return _0x31713c?window[_0x36db0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180570(_0x31713c),0x10)*_0x1c8c97:null;}function _0x363c17(_0x4b0be9){return new window[(_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x558d31,_0x3fe062)=>{_0x4b0be9[_0x36db0b([0x74,0x68,0x65,0x6e])](_0x558d31,_0x3fe062),window[_0x36db0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fe062,0x2b1e4239^_0x52ddcf);});}}_0x4072cd[_0x36db0b([0x6f,0x6e])](_0x36db0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x782531,_0x2ad6cf)=>{if(_0x2ad6cf[0x0]!=_0x300944)return _0x3af8ad(_0x36db0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ad6cf[0x1]={..._0x2ad6cf[0x1],[_0x36db0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c8156};},{[_0x36db0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36db0b([0x68,0x69,0x67,0x68])}),_0x4072cd[_0x36db0b([0x6f,0x6e])](_0x36db0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18d77d=>{_0x4c1df0(_0x18d77d[_0x36db0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b77c0=!0x0,_0x2da00e(_0x18d77d[_0x36db0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36db0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36db0b([0x6c,0x6f,0x77])}),_0x53f0e0[_0x36db0b([0x74,0x68,0x65,0x6e])](()=>{_0x1b77c0||_0x3af8ad(_0x36db0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ebc52(){return _0x4072cd[_0x36db0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36db0b([0x76,0x69,0x65,0x77])][_0x36db0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36db0b([0x61,0x75,0x74,0x6f]);}function _0x4ec0bc(){_0x4072cd[_0x36db0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36db0b([0x76,0x69,0x65,0x77])][_0x36db0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36db0b([0x61,0x75,0x74,0x6f]);}}function _0x1e491a(_0xea1676){const _0xe91e1a=[new window[(_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24c58e=>setTimeout(_0x24c58e,0x2b16a835^_0x52ddcf)),_0x53f0e0[_0x36db0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19faaf=>{let _0x36db08=0x0;_0x4072cd[_0x36db0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x36db0b([0x6f,0x6e])](_0x36db0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2aef40,_0x5a4712)=>{_0x5a4712[0x0][_0x36db0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36db08++,_0x36db08==(0x2b1f9701^_0x52ddcf)&&(_0x19faaf(),_0x2aef40[_0x36db0b([0x6f,0x66,0x66])]());});}))];return window[_0x36db0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36db0b([0x72,0x61,0x63,0x65])](_0xe91e1a)[_0x36db0b([0x74,0x68,0x65,0x6e])](()=>_0xea1676);}async function _0x6d022f(){await _0x53f0e0,_0x4072cd[_0x36db0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x36db0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52cd8f,_0x4072cd[_0x36db0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x36db0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52cd8f,_0x4072cd[_0x36db0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36db0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fe616(_0x1e5da7){const _0x410e4f=_0x3384ae();_0x4072cd[_0x410e4f]=_0x36db0b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e5da7,_0x1e5da7!=_0x36db0b([0x56,0x61,0x6c,0x69,0x64])&&_0x6d022f();}function _0x3384ae(){const _0x2092eb=window[_0x36db0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36db0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36db0b([0x6e,0x6f,0x77])]())[_0x36db0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36db0b([0x2e]),'');let _0x266285=_0x36db0b([0x6e]);for(let _0x56440a=0x0;_0x56440a<_0x2092eb[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56440a+=0x2){let _0x1674e7=window[_0x36db0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2092eb[_0x36db0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56440a,_0x56440a+0x2));_0x1674e7>=_0xd66023[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1674e7-=_0xd66023[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x266285+=_0xd66023[_0x1674e7];}return _0x266285;}function _0x57ee0f(){const _0x54dfd4=_0x1efb19[_0x36db0b([0x73,0x70,0x6c,0x69,0x74])](_0x36db0b([0x2e]));if(0x3!=_0x54dfd4[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xff5222(_0x54dfd4[0x1]);function _0xff5222(_0x13732b){const _0xf1b97b=_0x3fff07(_0x13732b);return _0xf1b97b&&_0x1ca8ee()?_0xf1b97b:null;function _0x1ca8ee(){const _0x3cca70=_0xf1b97b[_0x36db0b([0x6a,0x74,0x69])],_0x3e0c84=window[_0x36db0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cca70[_0x36db0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cca70[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50188a={..._0xf1b97b,[_0x36db0b([0x6a,0x74,0x69])]:_0x3cca70[_0x36db0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3cca70[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50188a[_0x36db0b([0x76,0x63])],_0xfee38f(_0x50188a)==_0x3e0c84;}}}async function _0x3ae6b3(){let _0x4ac84a=!0x0;try{const _0x2cfece=_0x1efb19[_0x36db0b([0x73,0x70,0x6c,0x69,0x74])](_0x36db0b([0x2e])),[_0x2a4fd9,_0x334e4a,_0xcfb0a0]=_0x2cfece;return _0x135db7(_0x2a4fd9),await _0x342d7e(_0x2a4fd9,_0x334e4a,_0xcfb0a0),_0x4ac84a;}catch(_0x395760){return!0x1;}function _0x135db7(_0x2261b8){const _0x57f93b=_0x3fff07(_0x2261b8);_0x57f93b&&_0x57f93b[_0x36db0b([0x61,0x6c,0x67])]==_0x36db0b([0x45,0x53,0x32,0x35,0x36])||(_0x4ac84a=!0x1);}async function _0x342d7e(_0x52f9f0,_0x5c3dac,_0x5d83ea){const _0x59cae0=window[_0x36db0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36db0b([0x66,0x72,0x6f,0x6d])](_0x4ab9b0(_0x5d83ea),_0x342299=>_0x342299[_0x36db0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcab322=new window[(_0x36db0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36db0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52f9f0+_0x36db0b([0x2e])+_0x5c3dac),_0xd123e2=window[_0x36db0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36db0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd123e2)return;const _0xa8ee58=await _0xd123e2[_0x36db0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36db0b([0x6a,0x77,0x6b]),_0x1671c3,{[_0x36db0b([0x6e,0x61,0x6d,0x65])]:_0x36db0b([0x45,0x43,0x44,0x53,0x41]),[_0x36db0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36db0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36db0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd123e2[_0x36db0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36db0b([0x6e,0x61,0x6d,0x65])]:_0x36db0b([0x45,0x43,0x44,0x53,0x41]),[_0x36db0b([0x68,0x61,0x73,0x68])]:{[_0x36db0b([0x6e,0x61,0x6d,0x65])]:_0x36db0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa8ee58,_0x59cae0,_0xcab322)||(_0x4ac84a=!0x1);}}function _0x3fff07(_0x285af8){return _0x285af8[_0x36db0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36db0b([0x65,0x79]))?JSON[_0x36db0b([0x70,0x61,0x72,0x73,0x65])](_0x4ab9b0(_0x285af8)):null;}function _0x4ab9b0(_0x48129b){return window[_0x36db0b([0x61,0x74,0x6f,0x62])](_0x48129b[_0x36db0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36db0b([0x2b]))[_0x36db0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36db0b([0x2f])));}function _0xfee38f(_0x4d4725){let _0x236cc8=0x1505;function _0x4fad44(_0x42209b){for(let _0x4d89f6=0x0;_0x4d89f6<_0x42209b[_0x36db0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d89f6++){const _0x110b0e=_0x42209b[_0x36db0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d89f6);_0x236cc8=(_0x236cc8<<0x5)+_0x236cc8+_0x110b0e,_0x236cc8&=_0x236cc8;}}function _0x35980b(_0xc7e7fa){Array[_0x36db0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc7e7fa)?_0xc7e7fa[_0x36db0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35980b):_0xc7e7fa&&typeof _0xc7e7fa==_0x36db0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36db0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc7e7fa)[_0x36db0b([0x73,0x6f,0x72,0x74])]()[_0x36db0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26bdd3,_0x1276c1])=>{_0x4fad44(_0x26bdd3),_0x35980b(_0x1276c1);}):_0x4fad44(window[_0x36db0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc7e7fa));}return _0x35980b(_0x4d4725),_0x236cc8>>>0x0;}function _0x507766(_0x1711ac){return _0x1711ac[_0x36db0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36db0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36db0b([0x30]));}function _0x180570(_0x5a7ecc){return _0x5a7ecc[_0x36db0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36db0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36db0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x52cd8f(){}function _0x36db0b(_0x1687da){const _0x3025ee=_0x54f0;return _0x1687da[_0x3025ee(0xad)](_0x47761a=>String[_0x3025ee(0x9f)](_0x47761a))[_0x3025ee(0xd5)]('');}_0x3fe616(await _0x42b9b3());}(this);}[_0x8c8228(0xd3)](){const _0x424c52=_0x8c8228,_0x3b464d=this[_0x424c52(0xbf)][_0x424c52(0xa2)][_0x424c52(0xc2)];_0x3b464d[_0x424c52(0xcf)](_0x424c52(0xa8))&&_0x3b464d[_0x424c52(0x9b)](_0x424c52(0xa8),{'allowAttributes':[_0x424c52(0xb1)]}),_0x3b464d[_0x424c52(0xcf)](_0x424c52(0xe9))&&_0x3b464d[_0x424c52(0x9b)](_0x424c52(0xe9),{'allowAttributes':[_0x424c52(0xb1)]});}[_0x8c8228(0xe7)](){const _0x34ebee=_0x8c8228,_0x2f7f0c=this[_0x34ebee(0xbf)];_0x2f7f0c[_0x34ebee(0xe2)][_0x34ebee(0xa4)](_0x34ebee(0xbe))[_0x34ebee(0xd8)]({'model':_0x34ebee(0xb1),'view':_0x34ebee(0xbd)}),_0x2f7f0c[_0x34ebee(0xe2)][_0x34ebee(0xa4)](_0x34ebee(0xdf))[_0x34ebee(0xcd)]({'model':{'key':_0x34ebee(0xb1),'value':_0x283ad8=>_0x283ad8[_0x34ebee(0xc8)](_0x34ebee(0xbd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x568067=_0x2f7f0c[_0x34ebee(0xc1)][_0x34ebee(0xa9)](_0x34ebee(0xb8));_0x568067&&this[_0x34ebee(0xea)](_0x568067,_0x34ebee(0x9e),(_0x3ce074,[_0x550d13,_0x5abc3b])=>{const _0xc896a7=_0x34ebee;_0x550d13[_0xc896a7(0xa0)](_0xc896a7(0xb1),_0x5abc3b);});}[_0x8c8228(0xac)](){const _0x30d1ba=_0x8c8228,_0x57f97a=this[_0x30d1ba(0xbf)][_0x30d1ba(0xa5)][_0x30d1ba(0xa9)](_0x30d1ba(0x9c))||{},_0x183d6c=this[_0x30d1ba(0xbf)][_0x30d1ba(0xa5)][_0x30d1ba(0xa9)](_0x30d1ba(0xed))||'';this[_0x30d1ba(0xcc)]=_0x5a9a1b(_0x165b7c[_0x30d1ba(0xb2)],_0x30d1ba(0xba),{..._0x57f97a,'pubkey':_0x183d6c,'ctx-name':_0x30d1ba(0x9d),'sourceList':'','imgOnly':_0x30d1ba(0xe1),'removeCopyright':_0x30d1ba(0xe1),'localeName':this[_0x30d1ba(0xbf)][_0x30d1ba(0xe0)][_0x30d1ba(0xb7)],'externalSourcesEmbedCss':_0x30d1ba(0xb0)}),this[_0x30d1ba(0xcc)][_0x30d1ba(0x99)]=_0x4d549c=>{const _0x29af5c=_0x30d1ba;if(_0x29af5c(0xca)==_0x4d549c)return _0x29af5c(0xb9);},_0x165b7c[_0x30d1ba(0xb2)][_0x30d1ba(0xda)][_0x30d1ba(0xbb)](this[_0x30d1ba(0xcc)]);}[_0x8c8228(0xdc)](){const _0x3a8510=_0x8c8228;this[_0x3a8510(0xbc)]=_0x5a9a1b(_0x165b7c[_0x3a8510(0xb2)],_0x3a8510(0xb6),{'ctx-name':_0x3a8510(0x9d)}),_0x165b7c[_0x3a8510(0xb2)][_0x3a8510(0xda)][_0x3a8510(0xbb)](this[_0x3a8510(0xbc)]);}[_0x8c8228(0xaf)](){const _0x182b42=_0x8c8228,_0x5973f9=this[_0x182b42(0xbf)][_0x182b42(0xc1)][_0x182b42(0xa9)](_0x182b42(0xd2));_0x5973f9&&this[_0x182b42(0xea)](_0x5973f9,_0x182b42(0xd9),()=>{const _0x541f11=_0x182b42,_0x3fc34f=this[_0x541f11(0xbf)][_0x541f11(0xa2)][_0x541f11(0xb2)][_0x541f11(0xe5)][_0x541f11(0xcb)]();_0x3fc34f&&_0x3fc34f[_0x541f11(0xc8)](_0x541f11(0xb1))&&this[_0x541f11(0xbf)][_0x541f11(0xc4)][_0x541f11(0xe8)][_0x541f11(0xc0)](_0x541f11(0xae),()=>{const _0x29adc9=_0x541f11;_0x1f5dbe(this[_0x29adc9(0xbf)],_0x3fc34f);});});const _0x241d37=this[_0x182b42(0xbf)][_0x182b42(0xc1)][_0x182b42(0xa9)](_0x182b42(0xce));_0x241d37&&this[_0x182b42(0xea)](_0x241d37,_0x182b42(0xd9),()=>{const _0x703e07=_0x182b42,_0x20d437=this[_0x703e07(0xbf)][_0x703e07(0xa2)][_0x703e07(0xb2)][_0x703e07(0xe5)][_0x703e07(0xcb)]();_0x20d437&&_0x20d437[_0x703e07(0xc8)](_0x703e07(0xb1))&&this[_0x703e07(0xbf)][_0x703e07(0xc4)][_0x703e07(0xe8)][_0x703e07(0xc0)](_0x703e07(0xae),()=>{const _0x939bdd=_0x703e07;_0x1f5dbe(this[_0x939bdd(0xbf)],_0x20d437);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4e42e3,ObservableMixin as _0x5215a9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ab7}from'ckeditor5/src/ui.js';import _0x56cded from'./uploadcareimageeditformview.js';import _0x470ce1 from'../../utils/uploadutils.js';import _0x47df8e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x18808b,getImageDimension as _0x311596}from'../../utils/editingutils.js';import{isAncestor as _0x3cf519}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x5215a9(){constructor(_0x1c7102,_0x3977a0,_0x583507){super(),this['_editor']=_0x1c7102,this['_dialog']=_0x3977a0,this['_imageElement']=_0x583507,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x5000de=this['_imageElement'],_0x367c8f=_0x5000de['getAttribute']('uploadcareImageId'),_0x230b21=_0x5000de['getAttribute']('src');if(_0x367c8f)await this['_loadImageInfo'](_0x367c8f,_0x230b21);else{if(this['_imageCache']['has'](_0x230b21)){const _0x372322=this['_imageCache']['get'](_0x230b21);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x372322['url'],this['imageDimension']=_0x372322['dimension'],this['imageId']=_0x372322['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ae6a0}=this['_editor'],t=_0x4ae6a0['t'],_0x56723a=new _0x56cded(_0x4ae6a0,this['imageStatus'],this['_attributes']);_0x56723a['bind']('status')['to'](this,'imageStatus'),_0x56723a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56723a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56723a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56723a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47df8e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56723a,'position':_0x219ab7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56723a['focus']();},'onHide':()=>{_0x56723a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15afe3=>!_0x3cf519(_0x15afe3,_0x56723a['element'])}});}['_loadImageInfo'](_0x317caa,_0x10337c){return _0x470ce1['getInfo'](_0x317caa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2e336b=>{const {width:_0x138f60,height:_0x5a566b}=_0x2e336b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10337c,this['imageDimension']={'width':_0x138f60,'height':_0x5a566b},this['imageId']=_0x317caa;})['catch'](_0x5e1cf7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e1cf7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1b3389,_0x382866){return this['_getImageAsFile'](_0x1b3389)['then'](_0x3b560e=>_0x470ce1['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x382866['signal'],'file':_0x3b560e,'onProgress':_0xf755c1=>{_0xf755c1&&_0xf755c1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xf755c1['value']));}}))['then'](_0x56bbcd=>{const {width:_0x2f0042,height:_0x44a02a}=_0x56bbcd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56bbcd['cdnUrl'],this['imageDimension']={'width':_0x2f0042,'height':_0x44a02a},this['imageId']=_0x56bbcd['uuid'],this['imageUploadProgress']=null;const _0x4b434a=_0x1b3389['getAttribute']('src');this['_imageCache']['set'](_0x4b434a,{'id':_0x56bbcd['uuid'],'url':_0x56bbcd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ab6cd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ab6cd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48908a,_0x5dc200){_0x48908a['on']('apply',(_0x293085,_0x514f0c)=>{this['_replaceImage'](_0x5dc200,_0x514f0c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48908a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48908a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5605af,_0x5c53e0,_0x46dfc2){const _0x4ab890=this['_editor'],{width:_0xf95b9a,height:_0x55515f}=_0x311596(_0x5c53e0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x20f049,imageSources:_0x5d484e}=_0x18808b(_0x5c53e0,_0xf95b9a);_0x4ab890['model']['change'](_0x347089=>{if('$graveyard'===_0x5605af['root']['rootName']){_0x4ab890['execute']('insertImage',{'imageType':_0x5605af['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5605af['getAttributes']()),'uploadcareImageId':_0x46dfc2,'src':_0x20f049,'sources':_0x5d484e,'width':_0xf95b9a,'height':_0x55515f}});const _0x2597c9=_0x5605af['getChildren']();_0x5605af=_0x4ab890['model']['document']['selection']['getSelectedElement']();for(const _0x42acf7 of _0x2597c9)_0x347089['append'](_0x347089['cloneElement'](_0x42acf7),_0x5605af);}else _0x347089['setSelection'](_0x5605af,'on'),_0x4ab890['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5605af['getAttributes']()),'uploadcareImageId':_0x46dfc2,'src':_0x20f049,'sources':_0x5d484e,'width':_0xf95b9a,'height':_0x55515f},_0x5605af);_0x347089['setSelection'](_0x5605af,'on');});}async['_getImageAsFile'](_0x3b03c2){const _0x2b2ac7=_0x4e42e3['window'],_0x237802=_0x4e42e3['document']['location']['href'],_0x3c3afa=new _0x2b2ac7['URL'](_0x3b03c2['getAttribute']('src'),_0x237802);if('data:'===_0x3c3afa['protocol']){const _0x383c9a=_0x3c3afa['href']['split'](','),_0x57fb17=_0x383c9a[0x0]['match'](/:(.*?);/)[0x1],_0x414835=_0x57fb17['split']('/')[0x1],_0x48bbd2=_0x2b2ac7['atob'](_0x383c9a[_0x383c9a['length']-0x1]);let _0x4cc791=_0x48bbd2['length'];const _0xacd165=new _0x2b2ac7['Uint8Array'](_0x4cc791);for(;_0x4cc791--;)_0xacd165[_0x4cc791]=_0x48bbd2['charCodeAt'](_0x4cc791);return new _0x2b2ac7['File']([_0xacd165],'image.'+_0x414835,{'type':_0x57fb17});}const _0x2e2107=_0x3c3afa['href']['split']('/'),_0x269bc6=_0x2e2107[_0x2e2107['length']-0x1],_0x492882=_0x269bc6['split']('.')[0x1];return _0x2b2ac7['fetch'](_0x3c3afa['href'])['then'](_0x47e370=>_0x47e370['clone']()['blob']())['then'](_0x53e748=>new _0x2b2ac7['File']([_0x53e748],_0x269bc6,{'type':'image/'+_0x492882}));}}
23
+ import{global as _0x2c45a9,ObservableMixin as _0x41e4d1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x58368d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ad650}from'ckeditor5/src/icons.js';import _0x29a778 from'./uploadcareimageeditformview.js';import _0x4dbd31 from'../../utils/uploadutils.js';import{getImageUrls as _0x5bc219,getImageDimension as _0x139fee}from'../../utils/editingutils.js';import{isAncestor as _0x1f097a}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
24
+ _0x41e4d1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a1ab1,_0x573b24,_0x39bbc6){super(),this['_editor']=_0x2a1ab1,this['_dialog']=_0x573b24,this['_imageElement']=_0x39bbc6,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 _0xfda93b=this['_imageElement'],_0x2f52ba=_0xfda93b['getAttribute']('uploadcareImageId'),_0x3164ed=_0xfda93b['getAttribute']('src');if(_0x2f52ba)await this['_loadImageInfo'](_0x2f52ba,_0x3164ed);else{if(this['_imageCache']['has'](_0x3164ed)){const _0x4df640=this['_imageCache']['get'](_0x3164ed);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4df640['url'],this['imageDimension']=_0x4df640['dimension'],this['imageId']=_0x4df640['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x34c139}=this['_editor'],t=_0x34c139['t'],_0x252417=new _0x29a778(_0x34c139,this['imageStatus'],this['_attributes']);_0x252417['bind']('status')['to'](this,'imageStatus'),_0x252417['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x252417['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x252417['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x252417,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ad650,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x252417,'position':_0x58368d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x252417['focus']();},'onHide':()=>{_0x252417['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x175ba8=>!_0x1f097a(_0x175ba8,_0x252417['element'])}});}['_loadImageInfo'](_0xd5255e,_0x4eed5d){return _0x4dbd31['getInfo'](_0xd5255e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x101780=>{const {width:_0x24b3f4,height:_0x2f0ce8}=_0x101780['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4eed5d,this['imageDimension']={'width':_0x24b3f4,'height':_0x2f0ce8},this['imageId']=_0xd5255e;})['catch'](_0x4d79ae=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d79ae['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f0ed0,_0x75bf7){return this['_getImageAsFile'](_0x3f0ed0)['then'](_0x151f01=>_0x4dbd31['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x75bf7['signal'],'file':_0x151f01,'onProgress':_0x47d350=>{_0x47d350&&_0x47d350['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x47d350['value']));}}))['then'](_0xe70caa=>{const {width:_0x53f925,height:_0x54a100}=_0xe70caa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe70caa['cdnUrl'],this['imageDimension']={'width':_0x53f925,'height':_0x54a100},this['imageId']=_0xe70caa['uuid'],this['imageUploadProgress']=null;const _0x17db90=_0x3f0ed0['getAttribute']('src');this['_imageCache']['set'](_0x17db90,{'id':_0xe70caa['uuid'],'url':_0xe70caa['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1f7f12=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f7f12['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2713b8,_0x58d6e5){_0x2713b8['on']('apply',(_0xce8199,_0x263f93)=>{this['_replaceImage'](_0x58d6e5,_0x263f93['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2713b8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2713b8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5485b6,_0x2bc941,_0x151c40){const _0xf9baf=this['_editor'],{width:_0x472822,height:_0x2f8711}=_0x139fee(_0x2bc941,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xe597bb,imageSources:_0x16f60c}=_0x5bc219(_0x2bc941,_0x472822);_0xf9baf['model']['change'](_0x150f88=>{if('$graveyard'===_0x5485b6['root']['rootName']){_0xf9baf['execute']('insertImage',{'imageType':_0x5485b6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5485b6['getAttributes']()),'uploadcareImageId':_0x151c40,'src':_0xe597bb,'sources':_0x16f60c,'width':_0x472822,'height':_0x2f8711}});const _0x19ba51=_0x5485b6['getChildren']();_0x5485b6=_0xf9baf['model']['document']['selection']['getSelectedElement']();for(const _0x6eadef of _0x19ba51)_0x150f88['append'](_0x150f88['cloneElement'](_0x6eadef),_0x5485b6);}else _0x150f88['setSelection'](_0x5485b6,'on'),_0xf9baf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5485b6['getAttributes']()),'uploadcareImageId':_0x151c40,'src':_0xe597bb,'sources':_0x16f60c,'width':_0x472822,'height':_0x2f8711},_0x5485b6);_0x150f88['setSelection'](_0x5485b6,'on');});}async['_getImageAsFile'](_0x177cb3){const _0x1f0fc5=_0x2c45a9['window'],_0x34eef5=_0x2c45a9['document']['location']['href'],_0x3bfdb9=new _0x1f0fc5['URL'](_0x177cb3['getAttribute']('src'),_0x34eef5);if('data:'===_0x3bfdb9['protocol']){const _0x5caea6=_0x3bfdb9['href']['split'](','),_0x4043bc=_0x5caea6[0x0]['match'](/:(.*?);/)[0x1],_0x467a91=_0x4043bc['split']('/')[0x1],_0x123387=_0x1f0fc5['atob'](_0x5caea6[_0x5caea6['length']-0x1]);let _0x5c244c=_0x123387['length'];const _0xedeec0=new _0x1f0fc5['Uint8Array'](_0x5c244c);for(;_0x5c244c--;)_0xedeec0[_0x5c244c]=_0x123387['charCodeAt'](_0x5c244c);return new _0x1f0fc5['File']([_0xedeec0],'image.'+_0x467a91,{'type':_0x4043bc});}const _0x205848=_0x3bfdb9['href']['split']('/'),_0x462c51=_0x205848[_0x205848['length']-0x1],_0x38d5f9=_0x462c51['split']('.')[0x1];return _0x1f0fc5['fetch'](_0x3bfdb9['href'])['then'](_0x1fb322=>_0x1fb322['clone']()['blob']())['then'](_0x35e4e2=>new _0x1f0fc5['File']([_0x35e4e2],_0x462c51,{'type':'image/'+_0x38d5f9}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xecbcbe,_0x2bc2f6){const _0x1e7bb4=_0x1585,_0x4c2b96=_0xecbcbe();while(!![]){try{const _0x153d6b=parseInt(_0x1e7bb4(0x1b6))/0x1*(-parseInt(_0x1e7bb4(0x1b5))/0x2)+-parseInt(_0x1e7bb4(0x1c3))/0x3*(-parseInt(_0x1e7bb4(0x1b8))/0x4)+parseInt(_0x1e7bb4(0x1b9))/0x5+-parseInt(_0x1e7bb4(0x1bc))/0x6*(-parseInt(_0x1e7bb4(0x1bb))/0x7)+-parseInt(_0x1e7bb4(0x1b4))/0x8+-parseInt(_0x1e7bb4(0x1c5))/0x9*(parseInt(_0x1e7bb4(0x1be))/0xa)+parseInt(_0x1e7bb4(0x1c1))/0xb;if(_0x153d6b===_0x2bc2f6)break;else _0x4c2b96['push'](_0x4c2b96['shift']());}catch(_0x1a8831){_0x4c2b96['push'](_0x4c2b96['shift']());}}}(_0x834d,0xf1d69));function _0x1585(_0x15b740,_0x56ca91){const _0x834d83=_0x834d();return _0x1585=function(_0x1585bc,_0x4686ba){_0x1585bc=_0x1585bc-0x1b4;let _0x478773=_0x834d83[_0x1585bc];return _0x478773;},_0x1585(_0x15b740,_0x56ca91);}function _0x834d(){const _0x3dd2c9=['imageSrc','1076024vGkAVT','11534qZoexe','193YzrOHN','set','107176iuqJOn','4485380zVpsiT','uc-cloud-image-editor','2660TYZhQM','9054YykwxF','bindTemplate','270TUKKRY','image-edit','ck-uploadcare-theme','16246945DaDwSb','setTemplate','3XPliQs','uc-light','245394aiBdCK'];_0x834d=function(){return _0x3dd2c9;};return _0x834d();}import{View as _0x2024cf}from'ckeditor5/src/ui.js';export default class tt extends _0x2024cf{constructor(_0x25f4cc,_0x3888fc){const _0x19c966=_0x1585;super(_0x25f4cc);const _0x1b90b3=this[_0x19c966(0x1bd)];this[_0x19c966(0x1b7)](_0x19c966(0x1c6),''),this[_0x19c966(0x1c2)]({'tag':_0x19c966(0x1ba),'attributes':{..._0x3888fc,'class':[_0x19c966(0x1c4),_0x19c966(0x1c0)],'ctx-name':_0x19c966(0x1bf),'cdn-url':_0x1b90b3['to'](_0x19c966(0x1c6))}});}}
23
+ function _0x52ea(_0x1a77c8,_0x4bb58e){const _0x29d555=_0x29d5();return _0x52ea=function(_0x52ea1e,_0x223f96){_0x52ea1e=_0x52ea1e-0xa6;let _0x1f3d16=_0x29d555[_0x52ea1e];return _0x1f3d16;},_0x52ea(_0x1a77c8,_0x4bb58e);}function _0x29d5(){const _0x22a4c2=['uc-cloud-image-editor','setTemplate','bindTemplate','ck-uploadcare-theme','12872FeEEWe','6172140YkdPpG','20151thHLvc','uc-light','imageSrc','6878606xnBBrJ','19616VZCqcq','66hvrmKe','4850845RTxhWj','1895636AoRrLS','set','852051XxepCf','image-edit'];_0x29d5=function(){return _0x22a4c2;};return _0x29d5();}(function(_0x1cb8b3,_0x10e275){const _0x16c92a=_0x52ea,_0x751015=_0x1cb8b3();while(!![]){try{const _0x4d6d26=-parseInt(_0x16c92a(0xaa))/0x1+-parseInt(_0x16c92a(0xa8))/0x2+-parseInt(_0x16c92a(0xa6))/0x3*(parseInt(_0x16c92a(0xb6))/0x4)+parseInt(_0x16c92a(0xa7))/0x5+-parseInt(_0x16c92a(0xb1))/0x6+-parseInt(_0x16c92a(0xb5))/0x7+-parseInt(_0x16c92a(0xb0))/0x8*(-parseInt(_0x16c92a(0xb2))/0x9);if(_0x4d6d26===_0x10e275)break;else _0x751015['push'](_0x751015['shift']());}catch(_0x3ac8f4){_0x751015['push'](_0x751015['shift']());}}}(_0x29d5,0x9f92f));import{View as _0x18459f}from'ckeditor5/src/ui.js';export default class tt extends _0x18459f{constructor(_0x5ca59b,_0x36d352){const _0x1d8e1c=_0x52ea;super(_0x5ca59b);const _0x24df5f=this[_0x1d8e1c(0xae)];this[_0x1d8e1c(0xa9)](_0x1d8e1c(0xb4),''),this[_0x1d8e1c(0xad)]({'tag':_0x1d8e1c(0xac),'attributes':{..._0x36d352,'class':[_0x1d8e1c(0xb3),_0x1d8e1c(0xaf)],'ctx-name':_0x1d8e1c(0xab),'cdn-url':_0x24df5f['to'](_0x1d8e1c(0xb4))}});}}
@@ -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 _0x5268aa,IconView as et,View as _0xbccccc}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0xbccccc{constructor(_0x5940ce){super(_0x5940ce);const t=_0x5940ce['t'];this['set']('errorType',null);const _0x43a354=new _0x5268aa(_0x5940ce);_0x43a354['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x43a354['withText']=!0x0,_0x43a354['class']='ck-button-action',_0x43a354['on']('execute',()=>{this['fire']('retry');}),_0x43a354['bind']('isVisible')['to'](this,'errorType',_0x576404=>'NotFound'!==_0x576404);const _0xa3076a=new et();_0xa3076a['content']=at,_0xa3076a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x151dce=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0xa3076a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x151dce['to']('errorType',_0x3cb395=>t('NotFound'!==_0x3cb395?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x43a354]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4e4d56,IconView as at,View as _0x1caad5}from'ckeditor5/src/ui.js';export default class rt extends _0x1caad5{constructor(_0x133fee){super(_0x133fee);const t=_0x133fee['t'];this['set']('errorType',null);const _0x2008a2=new _0x4e4d56(_0x133fee);_0x2008a2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2008a2['withText']=!0x0,_0x2008a2['class']='ck-button-action',_0x2008a2['on']('execute',()=>{this['fire']('retry');}),_0x2008a2['bind']('isVisible')['to'](this,'errorType',_0x106388=>'NotFound'!==_0x106388);const _0x2d5e4f=new at();_0x2d5e4f['content']=et,_0x2d5e4f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xb6a7e8=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':[_0x2d5e4f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xb6a7e8['to']('errorType',_0x31602e=>t('NotFound'!==_0x31602e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2008a2]},{'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 _0x298ea1,View as _0x15e8e3}from'ckeditor5/src/ui.js';export default class ta extends _0x15e8e3{constructor(_0x4a3f6f){super(_0x4a3f6f);const t=_0x4a3f6f['t'],_0x36032a=this['bindTemplate'],_0x55cc98=new _0x298ea1();_0x55cc98['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':[_0x55cc98,{'text':_0x36032a['to']('imageUploadProgress',_0x16adfa=>t('Loading\x20image...')+'\x20('+(_0x16adfa||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 _0x4ca7a8,View as _0x15282d}from'ckeditor5/src/ui.js';export default class ta extends _0x15282d{constructor(_0x5db058){super(_0x5db058);const t=_0x5db058['t'],_0x5f2625=this['bindTemplate'],_0x5e80c3=new _0x4ca7a8();_0x5e80c3['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':[_0x5e80c3,{'text':_0x5f2625['to']('imageUploadProgress',_0x5856ea=>t('Loading\x20image...')+'\x20('+(_0x5856ea||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 _0xbc7c5d=_0x8519;(function(_0x1518a2,_0x5ed2b5){const _0x46b351=_0x8519,_0x292210=_0x1518a2();while(!![]){try{const _0x1b0f5a=-parseInt(_0x46b351(0x1d5))/0x1*(-parseInt(_0x46b351(0x1d2))/0x2)+-parseInt(_0x46b351(0x1ad))/0x3+-parseInt(_0x46b351(0x1bc))/0x4*(-parseInt(_0x46b351(0x1cd))/0x5)+parseInt(_0x46b351(0x1b5))/0x6*(parseInt(_0x46b351(0x1bd))/0x7)+-parseInt(_0x46b351(0x1ae))/0x8*(-parseInt(_0x46b351(0x1c3))/0x9)+-parseInt(_0x46b351(0x1c5))/0xa+-parseInt(_0x46b351(0x1d8))/0xb;if(_0x1b0f5a===_0x5ed2b5)break;else _0x292210['push'](_0x292210['shift']());}catch(_0x3e790a){_0x292210['push'](_0x292210['shift']());}}}(_0x2559,0xb2da3));import{View as _0x2edc51}from'ckeditor5/src/ui.js';import _0xfb86b5 from'./uploadcareimageeditformloadingview.js';import _0x4aafe7 from'./uploadcareimageeditformerrorview.js';function _0x2559(){const _0x2d6799=['target','div','querySelector','75mparuD','once','observe','disconnect','getFocusableElement','6fHYpIo','apply','uploading','190943YXDMyI','setTemplate','length','8761467fLRSCg','cdnUrl','cancel','_addUploadcareImageEditorListeners','focus','ck-reset_all-excluded','_waitForImageEditorComponent','_setView','retry','uc-cloud-image-editor','_errorView','toLowerCase','change:status','1331811TzemZm','657144QtUIQx','set','element','addMany','nodeName','ck-uploadcare-form','addedNodes','2205996eDnLJe','fire','_addErrorViewListeners','detail','add','error','ready','276652TARDZN','21lYzBYk','_focusableView','_loadingView','_items','addEventListener','createCollection','27nkvWoc','_editingView','9866880lfYaES','status','filter','render','clear'];_0x2559=function(){return _0x2d6799;};return _0x2559();}import _0x660a13 from'./uploadcareimageeditformeditingview.js';function _0x8519(_0x2c04fa,_0x1620cb){const _0x2559c1=_0x2559();return _0x8519=function(_0x851933,_0x56ada3){_0x851933=_0x851933-0x1ab;let _0x31c201=_0x2559c1[_0x851933];return _0x31c201;},_0x8519(_0x2c04fa,_0x1620cb);}import _0x582099 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x582099{constructor(_0x51166a,_0x20a249,_0x1afcc7){const _0x5740bd=_0x8519;super(_0x51166a),this[_0x5740bd(0x1c0)]=this[_0x5740bd(0x1c2)](),this[_0x5740bd(0x1bf)]=new _0xfb86b5(_0x51166a),this[_0x5740bd(0x1e2)]=new _0x4aafe7(_0x51166a),this[_0x5740bd(0x1c4)]=new _0x660a13(_0x51166a,_0x1afcc7),this[_0x5740bd(0x1be)]=new _0x2edc51(_0x51166a),this[_0x5740bd(0x1be)][_0x5740bd(0x1d6)](this[_0x5740bd(0x1d1)]()),this[_0x5740bd(0x1af)](_0x5740bd(0x1c6),_0x20a249),this[_0x5740bd(0x1d6)]({'tag':_0x5740bd(0x1cb),'attributes':{'class':['ck',_0x5740bd(0x1dd),_0x5740bd(0x1b3)],'tabindex':'-1'},'children':this[_0x5740bd(0x1c0)]}),this[_0x5740bd(0x1df)](),this[_0x5740bd(0x1ce)](_0x5740bd(0x1c8),()=>{const _0x49af3f=_0x5740bd;this[_0x49af3f(0x1de)](this[_0x49af3f(0x1b0)],_0x271c71=>{const _0x3844b1=_0x49af3f;this[_0x3844b1(0x1db)](_0x271c71);});}),this['on'](_0x5740bd(0x1ac),()=>{const _0x358fe7=_0x5740bd;this[_0x358fe7(0x1df)]();}),this[_0x5740bd(0x1b7)]();}[_0xbc7c5d(0x1dc)](){const _0x102b57=_0xbc7c5d;this[_0x102b57(0x1b0)][_0x102b57(0x1dc)]();}[_0xbc7c5d(0x1df)](){const _0x2c8e34=_0xbc7c5d;switch(this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1c9)](),this[_0x2c8e34(0x1c6)]){case _0x2c8e34(0x1d4):this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1b9)](this[_0x2c8e34(0x1bf)]);break;case _0x2c8e34(0x1ba):this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1b9)](this[_0x2c8e34(0x1e2)]);break;case _0x2c8e34(0x1bb):this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1b1)]([this[_0x2c8e34(0x1c4)],this[_0x2c8e34(0x1be)]]);}}[_0xbc7c5d(0x1de)](_0x15f7c1,_0x55669a){const _0x55cc67=_0xbc7c5d,_0x4f5aae=_0x55cc67(0x1e1),_0x3ca8fc=_0x15f7c1[_0x55cc67(0x1cc)](_0x4f5aae);if(_0x3ca8fc)return _0x55669a(_0x3ca8fc);const _0x5db52c=new MutationObserver(_0x1bec15=>{const _0x3baa1e=_0x55cc67,_0x453a22=_0x1bec15[_0x3baa1e(0x1c7)](_0x2c1eca=>_0x2c1eca[_0x3baa1e(0x1ca)]===_0x15f7c1&&_0x2c1eca[_0x3baa1e(0x1b4)][_0x3baa1e(0x1d7)]>0x0&&_0x2c1eca[_0x3baa1e(0x1b4)][0x0][_0x3baa1e(0x1b2)][_0x3baa1e(0x1ab)]()===_0x4f5aae);_0x453a22[_0x3baa1e(0x1d7)]&&(_0x5db52c[_0x3baa1e(0x1d0)](),_0x55669a(_0x453a22[0x0][_0x3baa1e(0x1b4)][0x0]));});_0x5db52c[_0x55cc67(0x1cf)](_0x15f7c1,{'childList':!0x0,'subtree':!0x0});}[_0xbc7c5d(0x1db)](_0x112c68){const _0x1dae7a=_0xbc7c5d;_0x112c68[_0x1dae7a(0x1c1)](_0x1dae7a(0x1d3),_0x3b3b8b=>{const _0x33837b=_0x1dae7a;this[_0x33837b(0x1b6)](_0x33837b(0x1d3),{'imageSrc':_0x3b3b8b[_0x33837b(0x1b8)][_0x33837b(0x1d9)]});}),_0x112c68[_0x1dae7a(0x1c1)](_0x1dae7a(0x1da),()=>{const _0x54f413=_0x1dae7a;this[_0x54f413(0x1b6)](_0x54f413(0x1da));});}[_0xbc7c5d(0x1b7)](){const _0xd3bc5c=_0xbc7c5d;this[_0xd3bc5c(0x1e2)]['on'](_0xd3bc5c(0x1e0),()=>{const _0x24d428=_0xd3bc5c;this[_0x24d428(0x1b6)](_0x24d428(0x1e0));});}}
23
+ const _0x507677=_0x51c5;function _0x51c5(_0x5277b4,_0x181673){const _0x1536f5=_0x1536();return _0x51c5=function(_0x51c50f,_0x4ac138){_0x51c50f=_0x51c50f-0x188;let _0xc5a793=_0x1536f5[_0x51c50f];return _0xc5a793;},_0x51c5(_0x5277b4,_0x181673);}function _0x1536(){const _0x1f9a76=['clear','ready','_addUploadcareImageEditorListeners','uploading','1261494fPqQHE','change:status','27108873BeZABG','ck-uploadcare-form','element','11147672UfYlKV','4TrgguV','_errorView','_items','error','cdnUrl','addEventListener','704985xGUauU','setTemplate','8690556MaHlzv','detail','_waitForImageEditorComponent','addedNodes','_addErrorViewListeners','getFocusableElement','filter','length','disconnect','querySelector','render','createCollection','once','uc-cloud-image-editor','_setView','focus','ck-reset_all-excluded','add','toLowerCase','_loadingView','nodeName','div','apply','set','264131KNNizw','fire','addMany','_focusableView','cancel','retry','status','target','1910976hNEczi','_editingView','15VqhUMV','observe'];_0x1536=function(){return _0x1f9a76;};return _0x1536();}(function(_0x47fc64,_0x166b45){const _0x34816c=_0x51c5,_0x5a44f7=_0x47fc64();while(!![]){try{const _0x1601a8=parseInt(_0x34816c(0x1a2))/0x1*(-parseInt(_0x34816c(0x1b8))/0x2)+-parseInt(_0x34816c(0x188))/0x3+parseInt(_0x34816c(0x1aa))/0x4+parseInt(_0x34816c(0x1ac))/0x5*(parseInt(_0x34816c(0x1b2))/0x6)+-parseInt(_0x34816c(0x18a))/0x7+-parseInt(_0x34816c(0x1b7))/0x8+parseInt(_0x34816c(0x1b4))/0x9;if(_0x1601a8===_0x166b45)break;else _0x5a44f7['push'](_0x5a44f7['shift']());}catch(_0x5161fa){_0x5a44f7['push'](_0x5a44f7['shift']());}}}(_0x1536,0xb05bc));import{View as _0x2a2675}from'ckeditor5/src/ui.js';import _0x39a072 from'./uploadcareimageeditformloadingview.js';import _0x45ac24 from'./uploadcareimageeditformerrorview.js';import _0x5bff79 from'./uploadcareimageeditformeditingview.js';import _0x41ed22 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x41ed22{[_0x507677(0x1ba)];[_0x507677(0x19d)];[_0x507677(0x1b9)];[_0x507677(0x1ab)];[_0x507677(0x1a5)];constructor(_0x3a8739,_0xcbbb24,_0x409c83){const _0x258799=_0x507677;super(_0x3a8739),this[_0x258799(0x1ba)]=this[_0x258799(0x195)](),this[_0x258799(0x19d)]=new _0x39a072(_0x3a8739),this[_0x258799(0x1b9)]=new _0x45ac24(_0x3a8739),this[_0x258799(0x1ab)]=new _0x5bff79(_0x3a8739,_0x409c83),this[_0x258799(0x1a5)]=new _0x2a2675(_0x3a8739),this[_0x258799(0x1a5)][_0x258799(0x189)](this[_0x258799(0x18f)]()),this[_0x258799(0x1a1)](_0x258799(0x1a8),_0xcbbb24),this[_0x258799(0x189)]({'tag':_0x258799(0x19f),'attributes':{'class':['ck',_0x258799(0x19a),_0x258799(0x1b5)],'tabindex':'-1'},'children':this[_0x258799(0x1ba)]}),this[_0x258799(0x198)](),this[_0x258799(0x196)](_0x258799(0x194),()=>{const _0x16e9e8=_0x258799;this[_0x16e9e8(0x18c)](this[_0x16e9e8(0x1b6)],_0x4c80f7=>{const _0x4c4d64=_0x16e9e8;this[_0x4c4d64(0x1b0)](_0x4c80f7);});}),this['on'](_0x258799(0x1b3),()=>{const _0x22b0f5=_0x258799;this[_0x22b0f5(0x198)]();}),this[_0x258799(0x18e)]();}[_0x507677(0x199)](){const _0x424e8d=_0x507677;this[_0x424e8d(0x1b6)][_0x424e8d(0x199)]();}[_0x507677(0x198)](){const _0x1944bc=_0x507677;switch(this[_0x1944bc(0x1ba)][_0x1944bc(0x1ae)](),this[_0x1944bc(0x1a8)]){case _0x1944bc(0x1b1):this[_0x1944bc(0x1ba)][_0x1944bc(0x19b)](this[_0x1944bc(0x19d)]);break;case _0x1944bc(0x1bb):this[_0x1944bc(0x1ba)][_0x1944bc(0x19b)](this[_0x1944bc(0x1b9)]);break;case _0x1944bc(0x1af):this[_0x1944bc(0x1ba)][_0x1944bc(0x1a4)]([this[_0x1944bc(0x1ab)],this[_0x1944bc(0x1a5)]]);}}[_0x507677(0x18c)](_0x36d01c,_0x8eb35f){const _0x537fc3=_0x507677,_0x4ba56b=_0x537fc3(0x197),_0x2e5c75=_0x36d01c[_0x537fc3(0x193)](_0x4ba56b);if(_0x2e5c75)return _0x8eb35f(_0x2e5c75);const _0x44e9e7=new MutationObserver(_0x4cb38a=>{const _0x15665d=_0x537fc3,_0x1b39db=_0x4cb38a[_0x15665d(0x190)](_0x483100=>_0x483100[_0x15665d(0x1a9)]===_0x36d01c&&_0x483100[_0x15665d(0x18d)][_0x15665d(0x191)]>0x0&&_0x483100[_0x15665d(0x18d)][0x0][_0x15665d(0x19e)][_0x15665d(0x19c)]()===_0x4ba56b);_0x1b39db[_0x15665d(0x191)]&&(_0x44e9e7[_0x15665d(0x192)](),_0x8eb35f(_0x1b39db[0x0][_0x15665d(0x18d)][0x0]));});_0x44e9e7[_0x537fc3(0x1ad)](_0x36d01c,{'childList':!0x0,'subtree':!0x0});}[_0x507677(0x1b0)](_0x3eeead){const _0x84b042=_0x507677;_0x3eeead[_0x84b042(0x1bd)](_0x84b042(0x1a0),_0x2ea745=>{const _0xcaedaa=_0x84b042;this[_0xcaedaa(0x1a3)](_0xcaedaa(0x1a0),{'imageSrc':_0x2ea745[_0xcaedaa(0x18b)][_0xcaedaa(0x1bc)]});}),_0x3eeead[_0x84b042(0x1bd)](_0x84b042(0x1a6),()=>{const _0x280461=_0x84b042;this[_0x280461(0x1a3)](_0x280461(0x1a6));});}[_0x507677(0x18e)](){const _0x2f5b54=_0x507677;this[_0x2f5b54(0x1b9)]['on'](_0x2f5b54(0x1a7),()=>{const _0x3b190f=_0x2f5b54;this[_0x3b190f(0x1a3)](_0x3b190f(0x1a7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2855ba=_0x5711;(function(_0xc34810,_0x24c13c){const _0x31cc44=_0x5711,_0x3fc787=_0xc34810();while(!![]){try{const _0x4d6807=parseInt(_0x31cc44(0x118))/0x1*(-parseInt(_0x31cc44(0x113))/0x2)+parseInt(_0x31cc44(0x12f))/0x3+-parseInt(_0x31cc44(0x117))/0x4+parseInt(_0x31cc44(0x127))/0x5+-parseInt(_0x31cc44(0x124))/0x6+parseInt(_0x31cc44(0x11d))/0x7*(parseInt(_0x31cc44(0x11a))/0x8)+-parseInt(_0x31cc44(0x129))/0x9*(-parseInt(_0x31cc44(0x131))/0xa);if(_0x4d6807===_0x24c13c)break;else _0x3fc787['push'](_0x3fc787['shift']());}catch(_0x59028c){_0x3fc787['push'](_0x3fc787['shift']());}}}(_0x340d,0x5284c));import{Command as _0x22bd95}from'ckeditor5/src/core.js';function _0x5711(_0x565710,_0x12ca06){const _0x340d7d=_0x340d();return _0x5711=function(_0x571157,_0x8a2b0d){_0x571157=_0x571157-0x113;let _0x3ddbba=_0x340d7d[_0x571157];return _0x3ddbba;},_0x5711(_0x565710,_0x12ca06);}import{Dialog as _0x5f097f}from'ckeditor5/src/ui.js';import _0x4d7893 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xd81289}from'../utils/editingutils.js';export default class J extends _0x22bd95{static get[_0x2855ba(0x126)](){return[_0x5f097f];}constructor(_0x1a3963){const _0x591ead=_0x2855ba;super(_0x1a3963),this[_0x591ead(0x116)]=void 0x0,this[_0x591ead(0x11f)]=_0xd81289(_0x1a3963[_0x591ead(0x121)][_0x591ead(0x12b)](_0x591ead(0x12d))||[]),this[_0x591ead(0x125)]({'isActive':!0x1});}[_0x2855ba(0x120)](){const _0x3e9668=_0x2855ba,_0x773885=this[_0x3e9668(0x11e)][_0x3e9668(0x12e)][_0x3e9668(0x130)][_0x3e9668(0x12c)][_0x3e9668(0x128)]();this[_0x3e9668(0x123)]=this[_0x3e9668(0x11f)](_0x773885);}[_0x2855ba(0x122)](){const _0x5d0fe2=_0x2855ba;this[_0x5d0fe2(0x116)]&&(this[_0x5d0fe2(0x11c)](_0x5d0fe2(0x119)),this[_0x5d0fe2(0x116)]=void 0x0);const _0x13d0ab=this[_0x5d0fe2(0x11e)][_0x5d0fe2(0x12e)][_0x5d0fe2(0x130)][_0x5d0fe2(0x12c)][_0x5d0fe2(0x128)]();_0x13d0ab&&(_0x13d0ab['is'](_0x5d0fe2(0x115),_0x5d0fe2(0x114))||_0x13d0ab['is'](_0x5d0fe2(0x115),_0x5d0fe2(0x11b)))&&(this[_0x5d0fe2(0x116)]=new _0x4d7893(this[_0x5d0fe2(0x11e)],this[_0x5d0fe2(0x11e)][_0x5d0fe2(0x132)][_0x5d0fe2(0x12b)](_0x5f097f),_0x13d0ab),this[_0x5d0fe2(0x12a)](_0x5d0fe2(0x119))['to'](this[_0x5d0fe2(0x116)],_0x5d0fe2(0x119)));}}function _0x340d(){const _0x5eb431=['unbind','18214vzjpAe','editor','_isEditable','refresh','config','execute','isEnabled','885108xtqpoL','set','requires','2547525XmhmxI','getSelectedElement','145602tenTOJ','bind','get','selection','uploadcare.allowExternalImagesEditing','model','218586LCAKdu','document','410oVSFxW','plugins','1338202qaGfvK','imageBlock','element','imageEditController','790928srBZFD','1FIOjvA','isActive','328GqDNMu','imageInline'];_0x340d=function(){return _0x5eb431;};return _0x340d();}
23
+ function _0x489e(_0x582568,_0x3f6b4c){const _0x52cdbb=_0x52cd();return _0x489e=function(_0x489e5e,_0x4dbbbc){_0x489e5e=_0x489e5e-0x9f;let _0x488e38=_0x52cdbb[_0x489e5e];return _0x488e38;},_0x489e(_0x582568,_0x3f6b4c);}const _0x4da2ee=_0x489e;(function(_0x47a854,_0x2f19f2){const _0x31553f=_0x489e,_0x43954e=_0x47a854();while(!![]){try{const _0x4dd70b=-parseInt(_0x31553f(0xae))/0x1+parseInt(_0x31553f(0xb7))/0x2+-parseInt(_0x31553f(0xab))/0x3+parseInt(_0x31553f(0xa0))/0x4*(parseInt(_0x31553f(0x9f))/0x5)+-parseInt(_0x31553f(0xb4))/0x6*(-parseInt(_0x31553f(0xb6))/0x7)+-parseInt(_0x31553f(0xaa))/0x8*(-parseInt(_0x31553f(0xa4))/0x9)+-parseInt(_0x31553f(0xb9))/0xa;if(_0x4dd70b===_0x2f19f2)break;else _0x43954e['push'](_0x43954e['shift']());}catch(_0x574a40){_0x43954e['push'](_0x43954e['shift']());}}}(_0x52cd,0xe2e94));import{Command as _0x47566e}from'ckeditor5/src/core.js';function _0x52cd(){const _0x22b0b1=['4228572CpnLAl','execute','selection','33468oMbQnx','document','uploadcare.allowExternalImagesEditing','element','model','refresh','5658834IMEjeU','set','7hYDMVQ','1839980VbCSQa','isEnabled','12110690UEZrxU','bind','plugins','config','imageBlock','requires','31585EJbbPm','888ylOYOi','imageEditController','isActive','getSelectedElement','1430937IFGjbt','editor','imageInline','unbind','_isEditable','get','16DzsQeB'];_0x52cd=function(){return _0x22b0b1;};return _0x52cd();}import{Dialog as _0x33db57}from'ckeditor5/src/ui.js';import _0xeeabea from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5effea}from'../utils/editingutils.js';export default class W extends _0x47566e{[_0x4da2ee(0xa1)];static get[_0x4da2ee(0xbe)](){return[_0x33db57];}[_0x4da2ee(0xa8)];constructor(_0x1ed2ee){const _0x352b30=_0x4da2ee;super(_0x1ed2ee),this[_0x352b30(0xa1)]=void 0x0,this[_0x352b30(0xa8)]=_0x5effea(_0x1ed2ee[_0x352b30(0xbc)][_0x352b30(0xa9)](_0x352b30(0xb0))||[]),this[_0x352b30(0xb5)]({'isActive':!0x1});}[_0x4da2ee(0xb3)](){const _0xa7d035=_0x4da2ee,_0x2b0001=this[_0xa7d035(0xa5)][_0xa7d035(0xb2)][_0xa7d035(0xaf)][_0xa7d035(0xad)][_0xa7d035(0xa3)]();this[_0xa7d035(0xb8)]=this[_0xa7d035(0xa8)](_0x2b0001);}[_0x4da2ee(0xac)](){const _0x3315ea=_0x4da2ee;this[_0x3315ea(0xa1)]&&(this[_0x3315ea(0xa7)](_0x3315ea(0xa2)),this[_0x3315ea(0xa1)]=void 0x0);const _0x44828b=this[_0x3315ea(0xa5)][_0x3315ea(0xb2)][_0x3315ea(0xaf)][_0x3315ea(0xad)][_0x3315ea(0xa3)]();_0x44828b&&(_0x44828b['is'](_0x3315ea(0xb1),_0x3315ea(0xbd))||_0x44828b['is'](_0x3315ea(0xb1),_0x3315ea(0xa6)))&&(this[_0x3315ea(0xa1)]=new _0xeeabea(this[_0x3315ea(0xa5)],this[_0x3315ea(0xa5)][_0x3315ea(0xbb)][_0x3315ea(0xa9)](_0x33db57),_0x44828b),this[_0x3315ea(0xba)](_0x3315ea(0xa2))['to'](this[_0x3315ea(0xa1)],_0x3315ea(0xa2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cf9c8=_0x3631;(function(_0x1eb2ee,_0x5ae84f){const _0x31ace3=_0x3631,_0x59e3a0=_0x1eb2ee();while(!![]){try{const _0x592695=-parseInt(_0x31ace3(0x107))/0x1*(parseInt(_0x31ace3(0x11a))/0x2)+parseInt(_0x31ace3(0x10e))/0x3+-parseInt(_0x31ace3(0x112))/0x4+-parseInt(_0x31ace3(0x10a))/0x5+-parseInt(_0x31ace3(0x118))/0x6+parseInt(_0x31ace3(0x109))/0x7+-parseInt(_0x31ace3(0x110))/0x8*(-parseInt(_0x31ace3(0x117))/0x9);if(_0x592695===_0x5ae84f)break;else _0x59e3a0['push'](_0x59e3a0['shift']());}catch(_0x557bf4){_0x59e3a0['push'](_0x59e3a0['shift']());}}}(_0x4d11,0x9c5af));import{Plugin as _0x32edc5}from'ckeditor5/src/core.js';import{Notification as _0x256c05}from'ckeditor5/src/ui.js';function _0x3631(_0x734f4a,_0x4b3c96){const _0x4d1132=_0x4d11();return _0x3631=function(_0x3631ac,_0x3d9f74){_0x3631ac=_0x3631ac-0x106;let _0x128c1b=_0x4d1132[_0x3631ac];return _0x128c1b;},_0x3631(_0x734f4a,_0x4b3c96);}function _0x4d11(){const _0x2fc101=['isOfficialPlugin','2734407tzUmFQ','838308wZiLdI','add','146694cvjtyF','pluginName','6JTIrbA','init','8167999DCvjvV','4686890zpOwYQ','uploadcareImageEdit','requires','commands','184410hjyjQE','UploadcareImageEditEditing','56bOqTKw','isPremiumPlugin','4789916nwGDLc','ImageEditing','uploadcareImageReplace','ImageUtils'];_0x4d11=function(){return _0x2fc101;};return _0x4d11();}import _0x2ada79 from'./uploadcareimageeditcommand.js';import _0x2b9231 from'./uploadcareimagereplacecommand.js';import _0x32816d from'../uploadcareediting.js';export default class m extends _0x32edc5{static get[_0x4cf9c8(0x106)](){const _0x524afe=_0x4cf9c8;return _0x524afe(0x10f);}static get[_0x4cf9c8(0x10c)](){const _0xaea533=_0x4cf9c8;return[_0x32816d,_0x256c05,_0xaea533(0x115),_0xaea533(0x113)];}static get[_0x4cf9c8(0x116)](){return!0x0;}static get[_0x4cf9c8(0x111)](){return!0x0;}[_0x4cf9c8(0x108)](){const _0x2ff1a3=_0x4cf9c8,{editor:_0x35ee16}=this;_0x35ee16[_0x2ff1a3(0x10d)][_0x2ff1a3(0x119)](_0x2ff1a3(0x10b),new _0x2ada79(_0x35ee16)),_0x35ee16[_0x2ff1a3(0x10d)][_0x2ff1a3(0x119)](_0x2ff1a3(0x114),new _0x2b9231(_0x35ee16));}}
23
+ const _0x490f9e=_0x92fc;function _0x92fc(_0x3faaf6,_0x1fabe2){const _0x651eef=_0x651e();return _0x92fc=function(_0x92fc67,_0x2be192){_0x92fc67=_0x92fc67-0x132;let _0x14d20a=_0x651eef[_0x92fc67];return _0x14d20a;},_0x92fc(_0x3faaf6,_0x1fabe2);}function _0x651e(){const _0xb2d17c=['pluginName','73226tbTvam','commands','386350cNKjaM','186xbxjIm','33GqIVSf','UploadcareImageEditEditing','uploadcareImageReplace','isOfficialPlugin','96341DuZfom','1783935UJAMpC','uploadcareImageEdit','90PoSguS','isPremiumPlugin','ImageUtils','ImageEditing','541740PJXmqd','init','requires','8YhcigH','add','3843KxzGdh','589025SSDOOt'];_0x651e=function(){return _0xb2d17c;};return _0x651e();}(function(_0x44d99d,_0x2e719d){const _0x444d62=_0x92fc,_0x363054=_0x44d99d();while(!![]){try{const _0x26b14a=-parseInt(_0x444d62(0x137))/0x1+-parseInt(_0x444d62(0x13a))/0x2*(-parseInt(_0x444d62(0x134))/0x3)+parseInt(_0x444d62(0x146))/0x4+-parseInt(_0x444d62(0x135))/0x5+parseInt(_0x444d62(0x142))/0x6*(-parseInt(_0x444d62(0x13f))/0x7)+-parseInt(_0x444d62(0x132))/0x8*(-parseInt(_0x444d62(0x140))/0x9)+parseInt(_0x444d62(0x139))/0xa*(parseInt(_0x444d62(0x13b))/0xb);if(_0x26b14a===_0x2e719d)break;else _0x363054['push'](_0x363054['shift']());}catch(_0x5674ec){_0x363054['push'](_0x363054['shift']());}}}(_0x651e,0x29ccc));import{Plugin as _0xa39605}from'ckeditor5/src/core.js';import{Notification as _0x1ea2b7}from'ckeditor5/src/ui.js';import _0x20201d from'./uploadcareimageeditcommand.js';import _0x157b20 from'./uploadcareimagereplacecommand.js';import _0x564114 from'../uploadcareediting.js';export default class g extends _0xa39605{static get[_0x490f9e(0x136)](){const _0x353276=_0x490f9e;return _0x353276(0x13c);}static get[_0x490f9e(0x148)](){const _0x3eefa5=_0x490f9e;return[_0x564114,_0x1ea2b7,_0x3eefa5(0x144),_0x3eefa5(0x145)];}static get[_0x490f9e(0x13e)](){return!0x0;}static get[_0x490f9e(0x143)](){return!0x0;}[_0x490f9e(0x147)](){const _0x4ffb50=_0x490f9e,{editor:_0x58ef1e}=this;_0x58ef1e[_0x4ffb50(0x138)][_0x4ffb50(0x133)](_0x4ffb50(0x141),new _0x20201d(_0x58ef1e)),_0x58ef1e[_0x4ffb50(0x138)][_0x4ffb50(0x133)](_0x4ffb50(0x13d),new _0x157b20(_0x58ef1e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1bf320}from'ckeditor5/src/core.js';import{ButtonView as _0x10d1bb}from'ckeditor5/src/ui.js';import{createElement as _0x3b98b3}from'ckeditor5/src/utils.js';import _0x435816 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 _0x1bf320{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 _0x12ab8c=this['editor'];_0x12ab8c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1baba8=>{const _0x4c3bc8=_0x12ab8c['commands']['get']('uploadcareImageEdit'),_0x2894de=new _0x10d1bb(_0x1baba8),t=_0x1baba8['t'];return _0x2894de['set']({'icon':_0x435816,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2894de['bind']('isEnabled')['to'](_0x4c3bc8),_0x2894de['bind']('isOn')['to'](_0x4c3bc8,'isActive'),this['listenTo'](_0x2894de,'execute',()=>{_0x12ab8c['execute']('uploadcareImageEdit'),_0x12ab8c['editing']['view']['focus']();}),_0x2894de;}),this['_initConfig']();}['_initConfig'](){const _0x36093f=_0x3b98b3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x36093f),this['listenTo'](this['editor'],'destroy',()=>{_0x36093f['remove']();});}}
23
+ import{Plugin as _0x585caa}from'ckeditor5/src/core.js';import{ButtonView as _0x37008a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4da821}from'ckeditor5/src/icons.js';import{createElement as _0x2ae1e4}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 _0x585caa{['_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 _0x2313dc=this['editor'];_0x2313dc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7d5eb9=>{const _0x4adddb=_0x2313dc['commands']['get']('uploadcareImageEdit'),_0x389456=new _0x37008a(_0x7d5eb9),t=_0x7d5eb9['t'];return _0x389456['set']({'icon':_0x4da821,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x389456['bind']('isEnabled')['to'](_0x4adddb),_0x389456['bind']('isOn')['to'](_0x4adddb,'isActive'),this['listenTo'](_0x389456,'execute',()=>{_0x2313dc['execute']('uploadcareImageEdit'),_0x2313dc['editing']['view']['focus']();}),_0x389456;}),this['_initConfig']();}['_initConfig'](){const _0x2fb48b=_0x2ae1e4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2fb48b),this['listenTo'](this['editor'],'destroy',()=>{_0x2fb48b['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f3e74=_0x2b73;function _0x2b73(_0x5afc8e,_0x4474cc){const _0x2101f4=_0x2101();return _0x2b73=function(_0x2b730c,_0x10757a){_0x2b730c=_0x2b730c-0x1d4;let _0x246314=_0x2101f4[_0x2b730c];return _0x246314;},_0x2b73(_0x5afc8e,_0x4474cc);}(function(_0x167b70,_0x1621c7){const _0xef716d=_0x2b73,_0x166601=_0x167b70();while(!![]){try{const _0x5963ce=-parseInt(_0xef716d(0x1d5))/0x1*(parseInt(_0xef716d(0x1ee))/0x2)+-parseInt(_0xef716d(0x1ed))/0x3*(-parseInt(_0xef716d(0x1e9))/0x4)+parseInt(_0xef716d(0x1de))/0x5+-parseInt(_0xef716d(0x1ec))/0x6*(-parseInt(_0xef716d(0x1d4))/0x7)+parseInt(_0xef716d(0x1e6))/0x8+-parseInt(_0xef716d(0x1dc))/0x9*(-parseInt(_0xef716d(0x1e3))/0xa)+-parseInt(_0xef716d(0x1e4))/0xb;if(_0x5963ce===_0x1621c7)break;else _0x166601['push'](_0x166601['shift']());}catch(_0x2d779a){_0x166601['push'](_0x166601['shift']());}}}(_0x2101,0x9092b));function _0x2101(){const _0x223c05=['imageBlock','56FuALrl','element','execute','76938PPSRCr','184371IpZdKu','454clFaSA','21MqmeqY','1035kUOiom','document','sizes','getSelectedElement','isEnabled','refresh','imageInline','522zBlYzW','srcset','3594600vlTKov','change','removeAttribute','editor','model','8650AobvBI','22007799FKNHOq','selection','9278944KBetDN','setAttributes'];_0x2101=function(){return _0x223c05;};return _0x2101();}import{Command as _0x2b98b2}from'ckeditor5/src/core.js';export default class O extends _0x2b98b2{[_0x4f3e74(0x1da)](){const _0x4c0289=_0x4f3e74,_0x3e6da4=this[_0x4c0289(0x1e1)][_0x4c0289(0x1e2)][_0x4c0289(0x1d6)][_0x4c0289(0x1e5)][_0x4c0289(0x1d8)]();this[_0x4c0289(0x1d9)]=Boolean(_0x3e6da4&&(_0x3e6da4['is'](_0x4c0289(0x1ea),_0x4c0289(0x1e8))||_0x3e6da4['is'](_0x4c0289(0x1ea),_0x4c0289(0x1db))));}[_0x4f3e74(0x1eb)](_0x3b152a){const _0x42c68f=_0x4f3e74,_0xddedf4=this[_0x42c68f(0x1e1)][_0x42c68f(0x1e2)][_0x42c68f(0x1d6)][_0x42c68f(0x1e5)][_0x42c68f(0x1d8)]();this[_0x42c68f(0x1e1)][_0x42c68f(0x1e2)][_0x42c68f(0x1df)](_0x316d1d=>{const _0xa0c0ec=_0x42c68f;_0x316d1d[_0xa0c0ec(0x1e7)](_0x3b152a,_0xddedf4),_0x316d1d[_0xa0c0ec(0x1e0)](_0xa0c0ec(0x1dd),_0xddedf4),_0x316d1d[_0xa0c0ec(0x1e0)](_0xa0c0ec(0x1d7),_0xddedf4);});}}
23
+ function _0x2a9f(){const _0xc4f9d4=['360251FDsiHw','isEnabled','sizes','1208520AFTNzJ','document','element','44115LYomJB','srcset','execute','model','21OYZvdX','116hnsRjU','1371375ufROCt','getSelectedElement','7581753EePTiP','selection','948456TXyHEj','editor','imageBlock','setAttributes','imageInline','removeAttribute','refresh','344658LtWtyd','change'];_0x2a9f=function(){return _0xc4f9d4;};return _0x2a9f();}function _0x5379(_0x35c19d,_0x473def){const _0x2a9f62=_0x2a9f();return _0x5379=function(_0x53793c,_0x2f00ea){_0x53793c=_0x53793c-0x15a;let _0x8c68c2=_0x2a9f62[_0x53793c];return _0x8c68c2;},_0x5379(_0x35c19d,_0x473def);}const _0x46cbde=_0x5379;(function(_0x2b59f7,_0x4f0d37){const _0x1f7bed=_0x5379,_0x3c0dde=_0x2b59f7();while(!![]){try{const _0x2da8e5=-parseInt(_0x1f7bed(0x169))/0x1+-parseInt(_0x1f7bed(0x167))/0x2+-parseInt(_0x1f7bed(0x15c))/0x3+parseInt(_0x1f7bed(0x15b))/0x4*(parseInt(_0x1f7bed(0x16f))/0x5)+-parseInt(_0x1f7bed(0x160))/0x6+parseInt(_0x1f7bed(0x15a))/0x7*(parseInt(_0x1f7bed(0x16c))/0x8)+parseInt(_0x1f7bed(0x15e))/0x9;if(_0x2da8e5===_0x4f0d37)break;else _0x3c0dde['push'](_0x3c0dde['shift']());}catch(_0x19c8a6){_0x3c0dde['push'](_0x3c0dde['shift']());}}}(_0x2a9f,0x628f2));import{Command as _0x5c40a5}from'ckeditor5/src/core.js';export default class Y extends _0x5c40a5{[_0x46cbde(0x166)](){const _0x1a886a=_0x46cbde,_0x240636=this[_0x1a886a(0x161)][_0x1a886a(0x172)][_0x1a886a(0x16d)][_0x1a886a(0x15f)][_0x1a886a(0x15d)]();this[_0x1a886a(0x16a)]=Boolean(_0x240636&&(_0x240636['is'](_0x1a886a(0x16e),_0x1a886a(0x162))||_0x240636['is'](_0x1a886a(0x16e),_0x1a886a(0x164))));}[_0x46cbde(0x171)](_0x45e730){const _0x5ae9b3=_0x46cbde,_0x4cee33=this[_0x5ae9b3(0x161)][_0x5ae9b3(0x172)][_0x5ae9b3(0x16d)][_0x5ae9b3(0x15f)][_0x5ae9b3(0x15d)]();this[_0x5ae9b3(0x161)][_0x5ae9b3(0x172)][_0x5ae9b3(0x168)](_0x4f3136=>{const _0x201e4f=_0x5ae9b3;_0x4f3136[_0x201e4f(0x163)](_0x45e730,_0x4cee33),_0x4f3136[_0x201e4f(0x165)](_0x201e4f(0x170),_0x4cee33),_0x4f3136[_0x201e4f(0x165)](_0x201e4f(0x16b),_0x4cee33);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x59277b=_0x5409;function _0x8fe3(){var _0xed61cf=['1109409vxLoCl','149373pHxZGa','1986132najyoC','271mCzXxk','14508918LPCNhZ','UploadcareImageEdit','isOfficialPlugin','requires','6817408CYejHf','5558oCVRzI','pluginName','isPremiumPlugin','6931860eSsIuZ','4MuyTwj'];_0x8fe3=function(){return _0xed61cf;};return _0x8fe3();}(function(_0x390844,_0x256035){var _0x351f25=_0x5409,_0x495dfb=_0x390844();while(!![]){try{var _0x55b9dc=parseInt(_0x351f25(0xe0))/0x1*(parseInt(_0x351f25(0xe6))/0x2)+parseInt(_0x351f25(0xdd))/0x3*(parseInt(_0x351f25(0xdc))/0x4)+-parseInt(_0x351f25(0xdb))/0x5+parseInt(_0x351f25(0xdf))/0x6+-parseInt(_0x351f25(0xde))/0x7+-parseInt(_0x351f25(0xe5))/0x8+parseInt(_0x351f25(0xe1))/0x9;if(_0x55b9dc===_0x256035)break;else _0x495dfb['push'](_0x495dfb['shift']());}catch(_0x1e8d55){_0x495dfb['push'](_0x495dfb['shift']());}}}(_0x8fe3,0xc4d05));import{Plugin as _0x51aaf0}from'ckeditor5/src/core.js';function _0x5409(_0x4b9ac4,_0x5f1cfa){var _0x8fe31f=_0x8fe3();return _0x5409=function(_0x5409eb,_0x3a3325){_0x5409eb=_0x5409eb-0xd9;var _0x51b913=_0x8fe31f[_0x5409eb];return _0x51b913;},_0x5409(_0x4b9ac4,_0x5f1cfa);}import _0xad823c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xe5c6e4 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x51aaf0{static get[_0x59277b(0xd9)](){var _0x39f0e3=_0x59277b;return _0x39f0e3(0xe2);}static get[_0x59277b(0xe4)](){return[_0xad823c,_0xe5c6e4];}static get[_0x59277b(0xe3)](){return!0x0;}static get[_0x59277b(0xda)](){return!0x0;}}
23
+ function _0x8fa0(_0x55b70e,_0x326b1a){var _0x4378fe=_0x4378();return _0x8fa0=function(_0x8fa0b4,_0x449f68){_0x8fa0b4=_0x8fa0b4-0x143;var _0x1d77ec=_0x4378fe[_0x8fa0b4];return _0x1d77ec;},_0x8fa0(_0x55b70e,_0x326b1a);}function _0x4378(){var _0x483b1b=['47194NFCKbE','40580ieQXJg','26ejkHIE','231ziqimJ','isOfficialPlugin','187576mTvYPj','requires','1689721sGajvC','pluginName','117cforJQ','UploadcareImageEdit','isPremiumPlugin','1769040apZNmx','150vHyDmL','5106983CPqeQK','1902018lziETC'];_0x4378=function(){return _0x483b1b;};return _0x4378();}var _0xe71b71=_0x8fa0;(function(_0x5d1742,_0x30baeb){var _0x6743aa=_0x8fa0,_0x222ed6=_0x5d1742();while(!![]){try{var _0x419315=parseInt(_0x6743aa(0x144))/0x1*(-parseInt(_0x6743aa(0x146))/0x2)+parseInt(_0x6743aa(0x147))/0x3*(-parseInt(_0x6743aa(0x145))/0x4)+parseInt(_0x6743aa(0x150))/0x5+-parseInt(_0x6743aa(0x143))/0x6+-parseInt(_0x6743aa(0x152))/0x7+-parseInt(_0x6743aa(0x149))/0x8*(-parseInt(_0x6743aa(0x14d))/0x9)+-parseInt(_0x6743aa(0x151))/0xa*(-parseInt(_0x6743aa(0x14b))/0xb);if(_0x419315===_0x30baeb)break;else _0x222ed6['push'](_0x222ed6['shift']());}catch(_0x277eb2){_0x222ed6['push'](_0x222ed6['shift']());}}}(_0x4378,0x7f535));import{Plugin as _0x1a34c2}from'ckeditor5/src/core.js';import _0x2acd74 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1c03de from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1a34c2{static get[_0xe71b71(0x14c)](){var _0x3cd9bb=_0xe71b71;return _0x3cd9bb(0x14e);}static get[_0xe71b71(0x14a)](){return[_0x2acd74,_0x1c03de];}static get[_0xe71b71(0x148)](){return!0x0;}static get[_0xe71b71(0x14f)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c7c(){const _0x38619c=['uploadcareLicenseKeyInvalid','url','_normalizeConfigSourceList','destroy','icon','locale','entries','isImageSelected','2YQAUkP','Facebook','uploadcareLicenseKeyExpired','10036215pjNaRc','327795wYEIjx','OneDrive','featureNotAllowed','usageLimit','726855JBqCgg','uploadcare','invalid','URL','Insert','uploadcare.uploader.sourceList','type','_licenseKeyCheckInterval','isEnabled','execute','expired','imageUpload','uploadcareLicenseKeyNotAllowed','3008454DuMPgX','isPremiumPlugin','registerIntegration','4wPssyD','_getIntegrationKey','upload','2008692GniqVM','reduce','licenseKey','init','120104QVFtDN','uploadcareLicenseKeyTrialLimit','Replace','plugins','evaluationLimit','3951832FhOMJj','uploadcareLicenseKeyEvaluationLimit','ImageInsertUI','GPhotos','uploadcareLicenseKeyDomainLimit','config','push','Local','isOfficialPlugin','map','tooltip','withText','_createDropdownButtons','pluginName','uploadcareLicenseKeyUsageLimit','has','text','GDrive','_createMenuBarButtons','uploadcareLicenseKeyValid','UploadcareUI','editor','Uploadcare','shortText','trialLimit','_createToolbarButton','bind','get','_createButton','Dropbox','forEach','label','afterInit','assetManager','commands','_showLicenseError','domainLimit'];_0x3c7c=function(){return _0x38619c;};return _0x3c7c();}const _0x2b1acd=_0x39ee;(function(_0x236a09,_0x28864e){const _0x996c7b=_0x39ee,_0x40d74f=_0x236a09();while(!![]){try{const _0x50c408=parseInt(_0x996c7b(0x16d))/0x1*(parseInt(_0x996c7b(0x14e))/0x2)+parseInt(_0x996c7b(0x152))/0x3+parseInt(_0x996c7b(0x166))/0x4*(-parseInt(_0x996c7b(0x156))/0x5)+parseInt(_0x996c7b(0x163))/0x6+parseInt(_0x996c7b(0x169))/0x7+parseInt(_0x996c7b(0x121))/0x8+-parseInt(_0x996c7b(0x151))/0x9;if(_0x50c408===_0x28864e)break;else _0x40d74f['push'](_0x40d74f['shift']());}catch(_0x47bdab){_0x40d74f['push'](_0x40d74f['shift']());}}}(_0x3c7c,0x3d547));import{Plugin as _0x257cef,icons as _0x467937}from'ckeditor5/src/core.js';import{ButtonView as _0x25b910,MenuBarMenuListItemButtonView as _0x38d7ee}from'ckeditor5/src/ui.js';function _0x39ee(_0x13fd78,_0x1843b3){const _0x3c7c87=_0x3c7c();return _0x39ee=function(_0x39eebe,_0x1582f1){_0x39eebe=_0x39eebe-0x11f;let _0x9b6172=_0x3c7c87[_0x39eebe];return _0x9b6172;},_0x39ee(_0x13fd78,_0x1843b3);}import _0x3155b9 from'../theme/icons/dropbox.svg';import _0x4e48c9 from'../theme/icons/facebook.svg';import _0x5e4d5f from'../theme/icons/google-drive.svg';import _0x2a25ad from'../theme/icons/google-photos.svg';import _0x32eac5 from'../theme/icons/link.svg';import _0x5c6a8e from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x5f5cd3}from'./uploadcareconfig.js';import{getTranslation as _0x413ffa}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';export default class e extends _0x257cef{static get[_0x2b1acd(0x12e)](){const _0x69a7c5=_0x2b1acd;return _0x69a7c5(0x135);}static get[_0x2b1acd(0x129)](){return!0x0;}static get[_0x2b1acd(0x164)](){return!0x0;}[_0x2b1acd(0x16c)](){const _0x3ce2ca=_0x2b1acd;this[_0x3ce2ca(0x16b)]=this[_0x3ce2ca(0x136)][_0x3ce2ca(0x126)][_0x3ce2ca(0x13c)](_0x3ce2ca(0x16b));const _0xaa90ec=this[_0x3ce2ca(0x136)];this[_0x3ce2ca(0x15d)]=setInterval(()=>{const _0x131715=_0x3ce2ca;let _0x27ef4c;for(const _0x588f55 in _0xaa90ec){const _0x173e68=_0x588f55,_0x34d906=_0xaa90ec[_0x173e68];if(_0x131715(0x134)==_0x34d906||_0x131715(0x146)==_0x34d906||_0x131715(0x150)==_0x34d906||_0x131715(0x125)==_0x34d906||_0x131715(0x162)==_0x34d906||_0x131715(0x122)==_0x34d906||_0x131715(0x16e)==_0x34d906||_0x131715(0x12f)==_0x34d906){delete _0xaa90ec[_0x173e68],_0x27ef4c=_0x34d906,clearInterval(this[_0x131715(0x15d)]),this[_0x131715(0x15d)]=void 0x0;break;}}_0x131715(0x146)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x158)),_0x131715(0x150)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x160)),_0x131715(0x125)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x145)),_0x131715(0x162)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x154),_0x131715(0x137)),_0x131715(0x122)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x120)),_0x131715(0x16e)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x139)),_0x131715(0x12f)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x155));},0x3e8);}[_0x2b1acd(0x141)](){const _0x3e86fd=_0x2b1acd,{editor:_0x465f81}=this,_0x20a6fb=_0x465f81[_0x3e86fd(0x143)][_0x3e86fd(0x13c)](_0x3e86fd(0x157));if(!_0x20a6fb)return;const _0x473e27=this[_0x3e86fd(0x148)](_0x465f81[_0x3e86fd(0x126)][_0x3e86fd(0x13c)](_0x3e86fd(0x15b)))[_0x3e86fd(0x16a)]((_0x25b73d,_0x580c17)=>{const _0x378482=_0x3e86fd,_0x1bd4a6=this[_0x378482(0x167)](_0x580c17[_0x378482(0x15c)]);return _0x25b73d[_0x1bd4a6]||(_0x25b73d[_0x1bd4a6]=[]),_0x25b73d[_0x1bd4a6][_0x378482(0x127)](_0x580c17),_0x25b73d;},{});_0x465f81[_0x3e86fd(0x11f)][_0x3e86fd(0x130)](_0x3e86fd(0x123))&&_0x465f81[_0x3e86fd(0x143)][_0x3e86fd(0x13c)](_0x3e86fd(0x157))&&Object[_0x3e86fd(0x14c)](_0x473e27)[_0x3e86fd(0x13f)](([_0xa5b143,_0x31814a])=>{const _0x52e326=_0x3e86fd;_0x465f81[_0x52e326(0x11f)][_0x52e326(0x13c)](_0x52e326(0x123))[_0x52e326(0x165)]({'name':_0xa5b143,'observable':()=>_0x20a6fb,'buttonViewCreator':()=>this[_0x52e326(0x13a)](_0x31814a),'formViewCreator':()=>this[_0x52e326(0x12d)](_0x31814a),'menuBarButtonViewCreator':()=>this[_0x52e326(0x133)](_0x31814a),'override':_0x52e326(0x142)!==_0xa5b143});});}[_0x2b1acd(0x149)](){const _0x2ed66d=_0x2b1acd;super[_0x2ed66d(0x149)](),this[_0x2ed66d(0x15d)]&&clearInterval(this[_0x2ed66d(0x15d)]);}[_0x2b1acd(0x148)](_0x5dc52c){const _0x339863=_0x2b1acd,{locale:_0x531da4}=this[_0x339863(0x136)];return _0x5dc52c[_0x339863(0x12a)](_0x3e25cd=>{const _0x5c6459=_0x339863,_0x1d759d=_0x413ffa(_0x531da4,_0x3e25cd,_0x5c6459(0x15a));switch(_0x3e25cd){case _0x5f5cd3[_0x5c6459(0x128)]:return{'icon':_0x467937[_0x5c6459(0x161)],'type':_0x5f5cd3[_0x5c6459(0x128)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x159)]:return{'icon':_0x32eac5,'type':_0x5f5cd3[_0x5c6459(0x159)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x13e)]:return{'icon':_0x3155b9,'type':_0x5f5cd3[_0x5c6459(0x13e)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x14f)]:return{'icon':_0x4e48c9,'type':_0x5f5cd3[_0x5c6459(0x14f)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x132)]:return{'icon':_0x5e4d5f,'type':_0x5f5cd3[_0x5c6459(0x132)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x124)]:return{'icon':_0x2a25ad,'type':_0x5f5cd3[_0x5c6459(0x124)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x153)]:return{'icon':_0x5c6a8e,'type':_0x5f5cd3[_0x5c6459(0x153)],..._0x1d759d};}});}[_0x2b1acd(0x167)](_0x37bbc5){const _0x16f8f1=_0x2b1acd;switch(_0x37bbc5){case _0x5f5cd3[_0x16f8f1(0x128)]:return _0x16f8f1(0x168);case _0x5f5cd3[_0x16f8f1(0x159)]:return _0x16f8f1(0x147);default:return _0x16f8f1(0x142);}}[_0x2b1acd(0x13d)](_0x54c10a,_0x474f5d){const _0x329607=_0x2b1acd,_0x1f3d91=this[_0x329607(0x136)],_0x18f860=new _0x54c10a(_0x1f3d91[_0x329607(0x14b)]),_0xce73e4=_0x1f3d91[_0x329607(0x143)][_0x329607(0x13c)](_0x329607(0x157));return _0x18f860[_0x329607(0x13b)](_0x329607(0x15e))['to'](_0xce73e4),_0x18f860['on'](_0x329607(0x15f),()=>{const _0x36bbbd=_0x329607;_0xce73e4[_0x36bbbd(0x15f)](_0x474f5d);}),_0x18f860;}[_0x2b1acd(0x13a)](_0x341c05){const _0x45eb7d=_0x2b1acd,{locale:_0x3b25c1}=this[_0x45eb7d(0x136)],_0xe3f73c=this[_0x45eb7d(0x136)][_0x45eb7d(0x11f)][_0x45eb7d(0x13c)](_0x45eb7d(0x123)),_0x1db5b9=_0x341c05[0x0],_0xa91704=this[_0x45eb7d(0x13d)](_0x25b910,_0x1db5b9[_0x45eb7d(0x15c)]);return _0xa91704[_0x45eb7d(0x14a)]=_0x1db5b9[_0x45eb7d(0x14a)],_0xa91704[_0x45eb7d(0x13b)](_0x45eb7d(0x140))['to'](_0xe3f73c,_0x45eb7d(0x14d),_0x19df90=>_0x413ffa(_0x3b25c1,_0x1db5b9[_0x45eb7d(0x15c)],_0x19df90?_0x45eb7d(0x16f):_0x45eb7d(0x15a))[_0x45eb7d(0x131)]),_0xa91704[_0x45eb7d(0x12b)]=!0x0,_0xa91704;}[_0x2b1acd(0x12d)](_0x58b93c){const _0x27b8c4=_0x2b1acd,{locale:_0x27a69d}=this[_0x27b8c4(0x136)],_0x10b17a=this[_0x27b8c4(0x136)][_0x27b8c4(0x11f)][_0x27b8c4(0x13c)](_0x27b8c4(0x123));return _0x58b93c[_0x27b8c4(0x12a)](_0x667bbf=>{const _0x26cd57=_0x27b8c4,_0x574d5e=this[_0x26cd57(0x13d)](_0x25b910,_0x667bbf[_0x26cd57(0x15c)]);return _0x574d5e[_0x26cd57(0x12c)]=!0x0,_0x574d5e[_0x26cd57(0x14a)]=_0x667bbf[_0x26cd57(0x14a)],_0x574d5e[_0x26cd57(0x13b)](_0x26cd57(0x140))['to'](_0x10b17a,_0x26cd57(0x14d),_0x3a8969=>_0x413ffa(_0x27a69d,_0x667bbf[_0x26cd57(0x15c)],_0x3a8969?_0x26cd57(0x16f):_0x26cd57(0x15a))[_0x26cd57(0x131)]),_0x574d5e;});}[_0x2b1acd(0x133)](_0x337b6b){const _0x1790ba=_0x2b1acd;return _0x337b6b[_0x1790ba(0x12a)](_0x35a760=>{const _0x8dd9b8=_0x1790ba,_0x55330b=this[_0x8dd9b8(0x13d)](_0x38d7ee,_0x35a760[_0x8dd9b8(0x15c)]);return _0x55330b[_0x8dd9b8(0x14a)]=_0x35a760[_0x8dd9b8(0x14a)],_0x55330b[_0x8dd9b8(0x140)]=_0x35a760[_0x8dd9b8(0x138)],_0x55330b;});}}
23
+ const _0x11b573=_0x46e0;(function(_0x19d96d,_0x2af587){const _0x358c00=_0x46e0,_0x3fdee1=_0x19d96d();while(!![]){try{const _0xb94836=-parseInt(_0x358c00(0x171))/0x1+-parseInt(_0x358c00(0x17a))/0x2+parseInt(_0x358c00(0x16e))/0x3*(-parseInt(_0x358c00(0x182))/0x4)+parseInt(_0x358c00(0x140))/0x5+-parseInt(_0x358c00(0x143))/0x6*(-parseInt(_0x358c00(0x14d))/0x7)+parseInt(_0x358c00(0x180))/0x8+-parseInt(_0x358c00(0x16d))/0x9*(-parseInt(_0x358c00(0x13e))/0xa);if(_0xb94836===_0x2af587)break;else _0x3fdee1['push'](_0x3fdee1['shift']());}catch(_0x2cc4a0){_0x3fdee1['push'](_0x3fdee1['shift']());}}}(_0x3b8a,0xba6ca));import{Plugin as _0x294094}from'ckeditor5/src/core.js';function _0x3b8a(){const _0x4b98d0=['2553940bYibHe','config','init','6846gdYJrD','get','Insert','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','uploadcareLicenseKeyDomainLimit','URL','Dropbox','destroy','GPhotos','3780LHujQM','text','featureNotAllowed','pluginName','_createButton','execute','_createMenuBarButtons','plugins','isEnabled','uploadcare.uploader.sourceList','upload','_normalizeConfigSourceList','forEach','trialLimit','reduce','_createToolbarButton','commands','domainLimit','shortText','icon','has','expired','Uploadcare','invalid','uploadcareLicenseKeyEvaluationLimit','usageLimit','entries','licenseKey','url','isImageSelected','assetManager','isPremiumPlugin','139149ZYqGUv','16374AONreX','UploadcareUI','editor','157295naXTqO','withText','GDrive','uploadcare','bind','label','map','OneDrive','Instagram','1068550UechLK','_getIntegrationKey','isOfficialPlugin','Facebook','tooltip','evaluationLimit','3179872XVXPXk','uploadcareLicenseKeyInvalid','436TFEhck','uploadcareLicenseKeyTrialLimit','_showLicenseError','_licenseKeyCheckInterval','locale','Local','uploadcareLicenseKeyExpired','ImageInsertUI','afterInit','type','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','registerIntegration','push','340chdDNH','Replace'];_0x3b8a=function(){return _0x4b98d0;};return _0x3b8a();}import{IconDropbox as _0x3bb9cd,IconFacebook as _0x4c3831,IconGoogleDrive as _0x858ee3,IconGooglePhotos as _0x4c70ec,IconUploadcareImageUpload as _0xc68339,IconInstagram as _0x456f2b,IconUploadcareLink as _0x349808,IconOneDrive as _0x1c4968}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a5a84,MenuBarMenuListItemButtonView as _0x32f2c3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x29b6e6}from'./uploadcareconfig.js';function _0x46e0(_0x26c129,_0x2f5c7c){const _0x3b8a20=_0x3b8a();return _0x46e0=function(_0x46e0d6,_0x2f89af){_0x46e0d6=_0x46e0d6-0x13c;let _0x4c1d61=_0x3b8a20[_0x46e0d6];return _0x4c1d61;},_0x46e0(_0x26c129,_0x2f5c7c);}import{getTranslation as _0x436051}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';export default class e extends _0x294094{[_0x11b573(0x168)];[_0x11b573(0x185)];static get[_0x11b573(0x150)](){const _0x3bf759=_0x11b573;return _0x3bf759(0x16f);}static get[_0x11b573(0x17c)](){return!0x0;}static get[_0x11b573(0x16c)](){return!0x0;}[_0x11b573(0x142)](){const _0x5676bc=_0x11b573;this[_0x5676bc(0x168)]=this[_0x5676bc(0x170)][_0x5676bc(0x141)][_0x5676bc(0x144)](_0x5676bc(0x168));const _0x16cb44=this[_0x5676bc(0x170)];this[_0x5676bc(0x185)]=setInterval(()=>{const _0x93e774=_0x5676bc;let _0x253b87;for(const _0x3c7dfa in _0x16cb44){const _0x5b541f=_0x3c7dfa,_0x55bbf8=_0x16cb44[_0x5b541f];if(_0x93e774(0x18d)==_0x55bbf8||_0x93e774(0x181)==_0x55bbf8||_0x93e774(0x188)==_0x55bbf8||_0x93e774(0x148)==_0x55bbf8||_0x93e774(0x146)==_0x55bbf8||_0x93e774(0x165)==_0x55bbf8||_0x93e774(0x183)==_0x55bbf8||_0x93e774(0x18c)==_0x55bbf8){delete _0x16cb44[_0x5b541f],_0x253b87=_0x55bbf8,clearInterval(this[_0x93e774(0x185)]),this[_0x93e774(0x185)]=void 0x0;break;}}_0x93e774(0x181)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x164)),_0x93e774(0x188)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x162)),_0x93e774(0x148)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x15e)),_0x93e774(0x146)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x14f),_0x93e774(0x163)),_0x93e774(0x165)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x17f)),_0x93e774(0x183)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x15a)),_0x93e774(0x18c)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x166));},0x3e8);}[_0x11b573(0x18a)](){const _0x5ca118=_0x11b573,{editor:_0x565867}=this,_0x3db466=_0x565867[_0x5ca118(0x15d)][_0x5ca118(0x144)](_0x5ca118(0x174));if(!_0x3db466)return;const _0x485d9a=this[_0x5ca118(0x158)](_0x565867[_0x5ca118(0x141)][_0x5ca118(0x144)](_0x5ca118(0x156)))[_0x5ca118(0x15b)]((_0x461a53,_0x2b3b8b)=>{const _0x56f232=_0x5ca118,_0x13c49b=this[_0x56f232(0x17b)](_0x2b3b8b[_0x56f232(0x18b)]);return _0x461a53[_0x13c49b]||(_0x461a53[_0x13c49b]=[]),_0x461a53[_0x13c49b][_0x56f232(0x13d)](_0x2b3b8b),_0x461a53;},{});_0x565867[_0x5ca118(0x154)][_0x5ca118(0x161)](_0x5ca118(0x189))&&_0x565867[_0x5ca118(0x15d)][_0x5ca118(0x144)](_0x5ca118(0x174))&&Object[_0x5ca118(0x167)](_0x485d9a)[_0x5ca118(0x159)](([_0x6a53ac,_0x345481])=>{const _0x277108=_0x5ca118;_0x565867[_0x277108(0x154)][_0x277108(0x144)](_0x277108(0x189))[_0x277108(0x13c)]({'name':_0x6a53ac,'observable':()=>_0x3db466,'buttonViewCreator':()=>this[_0x277108(0x15c)](_0x345481),'formViewCreator':()=>this[_0x277108(0x147)](_0x345481),'menuBarButtonViewCreator':()=>this[_0x277108(0x153)](_0x345481),'override':_0x277108(0x16b)!==_0x6a53ac});});}[_0x11b573(0x14b)](){const _0x29edec=_0x11b573;super[_0x29edec(0x14b)](),this[_0x29edec(0x185)]&&clearInterval(this[_0x29edec(0x185)]);}[_0x11b573(0x158)](_0x527a87){const _0x5eeeb4=_0x11b573,{locale:_0x4ff76e}=this[_0x5eeeb4(0x170)];return _0x527a87[_0x5eeeb4(0x177)](_0x459bfc=>{const _0x55140f=_0x5eeeb4,_0x3f7805=_0x436051(_0x4ff76e,_0x459bfc,_0x55140f(0x145));switch(_0x459bfc){case _0x29b6e6[_0x55140f(0x187)]:return{'icon':_0xc68339,'type':_0x29b6e6[_0x55140f(0x187)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x149)]:return{'icon':_0x349808,'type':_0x29b6e6[_0x55140f(0x149)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x14a)]:return{'icon':_0x3bb9cd,'type':_0x29b6e6[_0x55140f(0x14a)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x17d)]:return{'icon':_0x4c3831,'type':_0x29b6e6[_0x55140f(0x17d)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x173)]:return{'icon':_0x858ee3,'type':_0x29b6e6[_0x55140f(0x173)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x14c)]:return{'icon':_0x4c70ec,'type':_0x29b6e6[_0x55140f(0x14c)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x179)]:return{'icon':_0x456f2b,'type':_0x29b6e6[_0x55140f(0x179)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x178)]:return{'icon':_0x1c4968,'type':_0x29b6e6[_0x55140f(0x178)],..._0x3f7805};}});}[_0x11b573(0x17b)](_0x131b10){const _0x2b3138=_0x11b573;switch(_0x131b10){case _0x29b6e6[_0x2b3138(0x187)]:return _0x2b3138(0x157);case _0x29b6e6[_0x2b3138(0x149)]:return _0x2b3138(0x169);default:return _0x2b3138(0x16b);}}[_0x11b573(0x151)](_0x2e6f83,_0x14a4db){const _0x158a6d=_0x11b573,_0x10b196=this[_0x158a6d(0x170)],_0x18ec1d=new _0x2e6f83(_0x10b196[_0x158a6d(0x186)]),_0x1f7c30=_0x10b196[_0x158a6d(0x15d)][_0x158a6d(0x144)](_0x158a6d(0x174));return _0x18ec1d[_0x158a6d(0x175)](_0x158a6d(0x155))['to'](_0x1f7c30),_0x18ec1d['on'](_0x158a6d(0x152),()=>{const _0x2b0938=_0x158a6d;_0x1f7c30[_0x2b0938(0x152)](_0x14a4db);}),_0x18ec1d;}[_0x11b573(0x15c)](_0x45979a){const _0x1edc1c=_0x11b573,{locale:_0x26b0c5}=this[_0x1edc1c(0x170)],_0x5370f3=this[_0x1edc1c(0x170)][_0x1edc1c(0x154)][_0x1edc1c(0x144)](_0x1edc1c(0x189)),_0x471fac=_0x45979a[0x0],_0x2382f8=this[_0x1edc1c(0x151)](_0x3a5a84,_0x471fac[_0x1edc1c(0x18b)]);return _0x2382f8[_0x1edc1c(0x160)]=_0x471fac[_0x1edc1c(0x160)],_0x2382f8[_0x1edc1c(0x175)](_0x1edc1c(0x176))['to'](_0x5370f3,_0x1edc1c(0x16a),_0x1b0ca9=>_0x436051(_0x26b0c5,_0x471fac[_0x1edc1c(0x18b)],_0x1b0ca9?_0x1edc1c(0x13f):_0x1edc1c(0x145))[_0x1edc1c(0x14e)]),_0x2382f8[_0x1edc1c(0x17e)]=!0x0,_0x2382f8;}[_0x11b573(0x147)](_0x47b2f5){const _0x446473=_0x11b573,{locale:_0x599a7c}=this[_0x446473(0x170)],_0x41ff37=this[_0x446473(0x170)][_0x446473(0x154)][_0x446473(0x144)](_0x446473(0x189));return _0x47b2f5[_0x446473(0x177)](_0x325aa0=>{const _0x53f0e4=_0x446473,_0x51753d=this[_0x53f0e4(0x151)](_0x3a5a84,_0x325aa0[_0x53f0e4(0x18b)]);return _0x51753d[_0x53f0e4(0x172)]=!0x0,_0x51753d[_0x53f0e4(0x160)]=_0x325aa0[_0x53f0e4(0x160)],_0x51753d[_0x53f0e4(0x175)](_0x53f0e4(0x176))['to'](_0x41ff37,_0x53f0e4(0x16a),_0x2a49e1=>_0x436051(_0x599a7c,_0x325aa0[_0x53f0e4(0x18b)],_0x2a49e1?_0x53f0e4(0x13f):_0x53f0e4(0x145))[_0x53f0e4(0x14e)]),_0x51753d;});}[_0x11b573(0x153)](_0x13cf93){const _0x4f5d0f=_0x11b573;return _0x13cf93[_0x4f5d0f(0x177)](_0x3ee24d=>{const _0x526680=_0x4f5d0f,_0x3a4ea8=this[_0x526680(0x151)](_0x32f2c3,_0x3ee24d[_0x526680(0x18b)]);return _0x3a4ea8[_0x526680(0x160)]=_0x3ee24d[_0x526680(0x160)],_0x3a4ea8[_0x526680(0x176)]=_0x3ee24d[_0x526680(0x15f)],_0x3a4ea8;});}}